UNPKG

@alifd/field

Version:

Fields can be used to manage data when it comes to form data manipulation and validation. After being associated with a component, the form data can be automatically written back, read, and verified.

1 lines 1.07 MB
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=256)}([function(e,t,n){var r,a;e.exports=n(299)()},function(e,t,n){"use strict";e.exports=n(298)},function(e,t,n){"use strict";t.__esModule=!0;var r,a=o(n(261));function o(e){return e&&e.__esModule?e:{default:e}}t.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"ieVersion",function(){return m}),n.d(r,"isProduction",function(){return y}),n.d(r,"default",function(){return _});var a={};n.r(a),n.d(a,"deprecated",function(){return v}),n.d(a,"warning",function(){return g});var o={};n.r(o),n.d(o,"typeOf",function(){return L}),n.d(o,"isArrayLike",function(){return T}),n.d(o,"isPromise",function(){return S}),n.d(o,"isPlainObject",function(){return x}),n.d(o,"shallowEqual",function(){return D}),n.d(o,"each",function(){return Y}),n.d(o,"pickOthers",function(){return E}),n.d(o,"pickProps",function(){return O}),n.d(o,"pickAttrsWith",function(){return P}),n.d(o,"isNil",function(){return N}),n.d(o,"deepMerge",function(){return j}),n.d(o,"isFunctionComponent",function(){return H}),n.d(o,"isClassComponent",function(){return R}),n.d(o,"isReactFragment",function(){return A});var i={};n.r(i),n.d(i,"camelcase",function(){return I}),n.d(i,"hyphenate",function(){return F}),n.d(i,"template",function(){return V});var s={};n.r(s),n.d(s,"hasDOM",function(){return W}),n.d(s,"hasClass",function(){return z}),n.d(s,"addClass",function(){return B}),n.d(s,"removeClass",function(){return K}),n.d(s,"toggleClass",function(){return U}),n.d(s,"matches",function(){return G}),n.d(s,"getStyle",function(){return X}),n.d(s,"setStyle",function(){return ee}),n.d(s,"scrollbar",function(){return te}),n.d(s,"getOffset",function(){return ne}),n.d(s,"getPixels",function(){return re}),n.d(s,"getClosest",function(){return ae}),n.d(s,"getMatches",function(){return oe});var l={};n.r(l),n.d(l,"off",function(){return ie}),n.d(l,"on",function(){return se}),n.d(l,"once",function(){return le});var u={};n.r(u),n.d(u,"noop",function(){return ue}),n.d(u,"prevent",function(){return de}),n.d(u,"makeChain",function(){return ce}),n.d(u,"bindCtx",function(){return pe}),n.d(u,"promiseCall",function(){return fe}),n.d(u,"invoke",function(){return he}),n.d(u,"renderNode",function(){return me});var d={};n.r(d),n.d(d,"animation",function(){return be}),n.d(d,"transition",function(){return Me}),n.d(d,"flex",function(){return ke});var c={};n.r(c),n.d(c,"getFocusNodeList",function(){return Se}),n.d(c,"saveLastFocusNode",function(){return De}),n.d(c,"clearLastFocusNode",function(){return Ye}),n.d(c,"backLastFocusNode",function(){return Ce}),n.d(c,"limitTabRange",function(){return Ee});var p={};n.r(p),n.d(p,"randomId",function(){return Oe}),n.d(p,"escapeForId",function(){return Pe});var f=n(15),h=n.n(f),m="undefined"!=typeof document?document.documentMode:void 0,y=function e(){var t="production",n=!1;try{n=!0}catch(e){}return n},_={ieVersion:m,isProduction:y};function v(e,t,n){if(!y()&&"undefined"!=typeof console&&console.error)return console.error("Warning: [ "+e+" ] is deprecated at [ "+n+" ], use [ "+t+" ] instead of it.")}function g(e){if(!y()&&"undefined"!=typeof console&&console.error)return console.error("Warning: "+e)}var b=n(2),M=n.n(b),k=n(1),w=n.n(k);function L(e){return Object.prototype.toString.call(e).replace(/\[object\s|]/g,"")}function T(e){var t=!!e&&"length"in e&&e.length,n;return"Array"===L(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function S(e){return!!e&&("object"===(void 0===e?"undefined":h()(e))||"function"==typeof e)&&"function"==typeof e.then}function x(e){if("Object"!==L(e))return!1;var t=e.constructor;if("function"!=typeof t)return!1;var n=t.prototype;return"Object"===L(n)&&!!n.hasOwnProperty("isPrototypeOf")}function D(e,t,n){if(e===t)return!0;if(!e||!t||(void 0===e?"undefined":h()(e))+(void 0===t?"undefined":h()(t))!=="objectobject")return!1;var r=Object.keys(e),a=Object.keys(t),o=r.length;if(o!==a.length)return!1;for(var i="function"==typeof n,s=0;s<o;s++){var l=r[s];if(!Object.prototype.hasOwnProperty.call(t,l))return!1;var u=e[l],d=t[l],c=i?n(u,d,l):void 0;if(!1===c||void 0===c&&u!==d)return!1}return!0}function Y(e,t,n){var r=-1===n,a=e.length,o=void 0,i=r?a-1:0;if(T(e))for(;i<a&&i>=0&&!1!==(o=t.call(e[i],e[i],i));r?i--:i++);else for(i in e)if(e.hasOwnProperty(i)&&!1===(o=t.call(e[i],e[i],i)))break;return e}var C=function e(t,n,r){return r?n.indexOf(t)>-1:t in n};function E(e,t){var n={},r="Array"===L(e);for(var a in t)C(a,e,r)||(n[a]=t[a]);return n}function O(e,t){var n={},r="Array"===L(e);for(var a in t)C(a,e,r)&&(n[a]=t[a]);return n}function P(e,t){var n={};for(var r in e)r.match(t)&&(n[r]=e[r]);return n}function N(e){return null==e}function j(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var a=n.shift();if(x(e)||(e={}),x(e)&&x(a))for(var o in a){var i,s;if(x(a[o])&&!w.a.isValidElement(a[o]))e[o]||M()(e,((i={})[o]={},i)),x(e[o])||(e[o]=a[o]),j(e[o],a[o]);else M()(e,((s={})[o]=a[o],s))}return j.apply(void 0,[e].concat(n))}function H(e){return"Function"===L(e)&&e.prototype&&void 0===e.prototype.isReactComponent}function R(e){return"Function"===L(e)&&e.prototype&&void 0!==e.prototype.isReactComponent}function A(e){return!N(e)&&(e.type?e.type===w.a.Fragment:e===w.a.Fragment)}function I(e){return/-/.test(e)?e.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}):e||""}function F(e){var t=L(e);return"String"!==t?(g("[ hyphenate(str: string): string ] Expected arguments[0] to be a string but get a "+t+".It will return an empty string without any processing."),""):e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=L(e);return"String"!==n?(g("[ template(tpl: string, object: object): string ] Expected arguments[0] to be a string but get a "+n+".It will return an empty string without any processing."),""):e.replace(/\{[a-z]*\}/g,function(e){var n=e.substring(1,e.length-1);return t[n]||""})}var W="undefined"!=typeof window&&!!window.document&&!!document.createElement;function z(e,t){return!(!W||!e)&&(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)}function B(e,t,n){W&&e&&(e.classList?e.classList.add(t):!0!==n&&z(e,t)||(e.className+=" "+t))}function K(e,t,n){W&&e&&(e.classList?e.classList.remove(t):(!0===n||z(e,t))&&(e.className=e.className.replace(t,"").replace(/\s+/g," ").trim()))}function U(e,t){if(!W||!e)return!1;if(e.classList)return e.classList.toggle(t);var n=z(e,t);return n?K(e,t,!0):B(e,t,!0),!n}var G=function(){var e=null;if(W){var t=document.body||document.head;e=t.matches?"matches":t.webkitMatchesSelector?"webkitMatchesSelector":t.msMatchesSelector?"msMatchesSelector":t.mozMatchesSelector?"mozMatchesSelector":null}return function(t,n){return!(!W||!t)&&(!!e&&t[e](n))}}();function $(e){return e&&1===e.nodeType?window.getComputedStyle(e,null):{}}var J=/margin|padding|width|height|max|min|offset|size|top/i,q={left:1,top:1,right:1,bottom:1};function Q(e,t,n){if(t=t.toLowerCase(),"auto"===n){if("height"===t)return e.offsetHeight||0;if("width"===t)return e.offsetWidth||0}return t in q||(q[t]=J.test(t)),q[t]?parseFloat(n)||0:n}var Z={cssFloat:1,styleFloat:1,float:1};function X(e,t){if(!W||!e)return null;var n=$(e);return 1===arguments.length?n:Q(e,t=Z[t]?"cssFloat"in e.style?"cssFloat":"styleFloat":t,n.getPropertyValue(F(t))||e.style[I(t)])}function ee(e,t,n){if(!W||!e)return!1;"object"===(void 0===t?"undefined":h()(t))&&2===arguments.length?Y(t,function(t,n){return ee(e,n,t)}):(t=Z[t]?"cssFloat"in e.style?"cssFloat":"styleFloat":t,"number"==typeof n&&J.test(t)&&(n+="px"),e.style[I(t)]=n)}function te(){var e=document.createElement("div");e.className+="just-to-get-scrollbar-size",ee(e,{position:"absolute",width:"100px",height:"100px",overflow:"scroll",top:"-9999px"}),document.body&&document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth,n=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),{width:t,height:n}}function ne(e){var t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}}function re(e){var t=document.defaultView;if("number"==typeof+e&&!isNaN(+e))return+e;if("string"==typeof e){var n=/(\d+)px/,r=/(\d+)vh/;if(Array.isArray(e.match(n)))return+e.match(n)[1]||0;if(Array.isArray(e.match(r))){var a=t.innerHeight/100;return+e.match(r)[1]*a||0}}return 0}function ae(e,t){if(!W||!e)return null;if(Element.prototype.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(oe(e,t))return e;e=e.parentElement}while(null!==e);return null}function oe(e,t){return W&&e?Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):Element.prototype.webkitMatchesSelector?e.webkitMatchesSelector(t):null:null}function ie(e,t,n,r){e.removeEventListener&&e.removeEventListener(t,n,r||!1)}function se(e,t,n,r){return e.addEventListener&&e.addEventListener(t,n,r||!1),{off:function a(){return ie(e,t,n,r)}}}function le(e,t,n,r){return se(e,t,function a(){for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];n.apply(this,i),ie(e,t,a,r)},r)}var ue=function e(){},de=function e(){return!1};function ce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?t[0]:function e(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];for(var o=0,i=t.length;o<i;o++)t[o]&&t[o].apply&&t[o].apply(this,r)}}function pe(e,t,n){"string"==typeof t&&(t=[t]),n=n||e,t.forEach(function(t){n[t]=n[t].bind(e)})}function fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ue;return S(e)?e.then(function(e){return t(e),e}).catch(function(e){n(e)}):!1!==e?t(e):n(e)}function he(e,t,n){var r=e&&t in e?e[t]:void 0;return r&&r.apply(void 0,n)}function me(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=void 0!==e?e:t;return n&&!Array.isArray(n)&&(n=[n]),"function"==typeof r?r.apply(void 0,n):r}var ye,_e={WebkitTransition:"webkitTransitionEnd",OTransition:"oTransitionEnd",transition:"transitionend"};function ve(e){if(!W)return!1;var t=document.createElement("div"),n=!1;return Y(e,function(e,r){if(void 0!==t.style[r])return n={end:e},!1}),n}function ge(e){if(!W)return!1;var t=document.createElement("div"),n=!1;return Y(e,function(e,r){return Y(e,function(e){try{t.style[r]=e,n=n||t.style[r]===e}catch(e){}return!n}),!n}),n}var be=ve({WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",animation:"animationend"}),Me=ve(_e),ke=ge({display:["flex","-webkit-flex","-moz-flex","-ms-flexbox"]}),we={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGE_UP:33,PAGE_DOWN:34,ESCAPE:27,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,CONTROL:17,OPTION:18,CMD:91,COMMAND:91,DELETE:8};function Le(e){for(;e&&e!==document.body&&e!==document.documentElement;){if("none"===e.style.display||"hidden"===e.style.visibility)return!1;e=e.parentNode}return!0}function Te(e){var t=e.nodeName.toLowerCase(),n=parseInt(e.getAttribute("tabindex"),10),r=!isNaN(n)&&n>-1;return!!Le(e)&&("input"===t?!e.disabled&&"hidden"!==e.type:["select","textarea","button"].indexOf(t)>-1?!e.disabled:"a"===t&&e.getAttribute("href")||r)}function Se(e){var t=[],n;return Y(e.querySelectorAll("*"),function(e){if(Te(e)){var n=e.getAttribute("data-auto-focus")?"unshift":"push";t[n](e)}}),Te(e)&&t.unshift(e),t}var xe=null;function De(){xe=document.activeElement}function Ye(){xe=null}function Ce(){if(xe)try{xe.focus()}catch(e){}}function Ee(e,t){if(t.keyCode===we.TAB){var n=Se(e),r=n.length-1,a=n.indexOf(document.activeElement);if(a>-1){var o=a+(t.shiftKey?-1:1);o<0&&(o=r),o>r&&(o=0),n[o].focus(),t.preventDefault()}}}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e6,n=Math.ceil(Math.random()*t);return e?Pe(e)+"-"+n:n.toString(10)}function Pe(e){return e?("object"===(void 0===e?"undefined":h()(e))?e=JSON.stringify(e):"string"!=typeof e&&(e=String(e)),e.replace(/['"]/gm,"").replace(/[\s'"]/gm,"-")):""}var Ne=Date.now(),je=function(e){return(e=e||"")+(Ne++).toString(36)},He=n(65);n.d(t,"b",function(){return Re}),n.d(t,"c",function(){return Ae}),n.d(t,"d",function(){return Ie}),n.d(t,"f",function(){return Fe}),n.d(t,"i",function(){return Ve}),n.d(t,"j",function(){return We}),n.d(t,"k",function(){return ze}),n.d(t,"l",function(){return Be}),n.d(t,"e",function(){return Ke}),n.d(t,"g",function(){return Ue}),n.d(t,"a",function(){return Ge}),n.d(t,"h",function(){return $e});var Re=s,Ae=r,Ie=l,Fe=u,Ve=a,We=o,ze=i,Be=d,Ke=c,Ue=je,Ge=we,$e=p,Je=He.a},function(e,t,n){"use strict";t.__esModule=!0;var r,a=o(n(15));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r,a=u(n(291)),o,i=u(n(295)),s,l=u(n(15));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,l.default)(t)));e.prototype=(0,i.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,n){var r,a;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(a=function(){return o}.apply(t,r=[]))||(e.exports=a)}()},function(e,t,n){(function(e){var t,r,a;r=this,a=function(){"use strict";var r,a;function o(){return r.apply(null,arguments)}function i(e){r=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function c(e){return void 0===e}function p(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n=[],r;for(r=0;r<e.length;++r)n.push(t(e[r],r));return n}function m(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function y(e,t,n,r){return Jn(e,t,n,r,!0).utc()}function _(){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 v(e){return null==e._pf&&(e._pf={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}),e._pf}function g(e){if(null==e._isValid){var t=v(e),n=a.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function b(e){var t=y(NaN);return null!=e?m(v(t),e):v(t).userInvalidated=!0,t}a=Array.prototype.some?Array.prototype.some:function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var M=o.momentProperties=[],k=!1;function w(e,t){var n,r,a;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=v(t)),c(t._locale)||(e._locale=t._locale),M.length>0)for(n=0;n<M.length;n++)c(a=t[r=M[n]])||(e[r]=a);return e}function L(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,o.updateOffset(this),k=!1)}function T(e){return e instanceof L||null!=e&&null!=e._isAMomentObject}function S(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return m(function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r=[],a,i,s;for(i=0;i<arguments.length;i++){if(a="","object"==typeof arguments[i]){for(s in a+="\n["+i+"] ",arguments[0])u(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];r.push(a)}S(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var D={},Y;function C(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),D[e]||(S(t),D[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)u(e,n)&&(E(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n=m({},e),r;for(r in t)u(t,r)&&(l(e[r])&&l(t[r])?(n[r]={},m(n[r],e[r]),m(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)u(e,r)&&!u(t,r)&&l(e[r])&&(n[r]=m({},n[r]));return n}function N(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,Y=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var j={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function H(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return E(r)?r.call(t,n):r}function R(e,t,n){var r=""+Math.abs(e),a=t-r.length,o;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var A=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},V={};function W(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(V[e]=a),t&&(V[t[0]]=function(){return R(a.apply(this,arguments),t[1],t[2])}),n&&(V[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t=e.match(A),n,r;for(n=0,r=t.length;n<r;n++)V[t[n]]?t[n]=V[t[n]]:t[n]=z(t[n]);return function(n){var a="",o;for(o=0;o<r;o++)a+=E(t[o])?t[o].call(n,e):t[o];return a}}function K(e,t){return e.isValid()?(t=U(t,e.localeData()),F[t]=F[t]||B(t),F[t](e)):e.localeData().invalidDate()}function U(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;n>=0&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var G={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 $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(A).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var J="Invalid date";function q(){return this._invalidDate}var Q="%d",Z=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var ee={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 te(e,t,n,r){var a=this._relativeTime[n];return E(a)?a(e,t,n,r):a.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var re={};function ae(e,t){var n=e.toLowerCase();re[n]=re[n+"s"]=re[t]=e}function oe(e){return"string"==typeof e?re[e]||re[e.toLowerCase()]:void 0}function ie(e){var t={},n,r;for(r in e)u(e,r)&&(n=oe(r))&&(t[n]=e[r]);return t}var se={};function le(e,t){se[e]=t}function ue(e){var t=[],n;for(n in e)u(e,n)&&t.push({unit:n,priority:se[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function de(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function pe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function fe(e,t){return function(n){return null!=n?(me(this,e,n),o.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=pe(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),tt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ye(e){return E(this[e=oe(e)])?this[e]():this}function _e(e,t){if("object"==typeof e){var n=ue(e=ie(e)),r;for(r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(E(this[e=oe(e)]))return this[e](t);return this}var ve=/\d/,ge=/\d\d/,be=/\d{3}/,Me=/\d{4}/,ke=/[+-]?\d{6}/,we=/\d\d?/,Le=/\d\d\d\d?/,Te=/\d\d\d\d\d\d?/,Se=/\d{1,3}/,xe=/\d{1,4}/,De=/[+-]?\d{1,6}/,Ye=/\d+/,Ce=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Oe=/Z|[+-]\d\d(?::?\d\d)?/gi,Pe=/[+-]?\d+(\.\d{1,3})?/,Ne=/[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,je;function He(e,t,n){je[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Re(e,t){return u(je,e)?je[e](t._strict,t._locale):new RegExp(Ae(e))}function Ae(e){return Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}je={};var Fe={};function Ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),p(t)&&(r=function(e,n){n[t]=pe(e)}),n=0;n<e.length;n++)Fe[e[n]]=r}function We(e,t){Ve(e,function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)})}function ze(e,t,n){null!=t&&u(Fe,e)&&Fe[e](t,n._a,n,e)}var Be=0,Ke=1,Ue=2,Ge=3,$e=4,Je=5,qe=6,Qe=7,Ze=8,Xe;function et(e,t){return(e%t+t)%t}function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=et(t,12);return e+=(t-n)/12,1===n?de(e)?29:28:31-n%7%2}Xe=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},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),ae("month","M"),le("month",8),He("M",we),He("MM",we,ge),He("MMM",function(e,t){return t.monthsShortRegex(e)}),He("MMMM",function(e,t){return t.monthsRegex(e)}),Ve(["M","MM"],function(e,t){t[Ke]=pe(e)-1}),Ve(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[Ke]=a:v(n).invalidMonth=e});var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),at=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ot=Ne,it=Ne;function st(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||at).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone}function lt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[at.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=y([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=Xe.call(this._shortMonthsParse,i))?a:null:-1!==(a=Xe.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=Xe.call(this._shortMonthsParse,i))?a:-1!==(a=Xe.call(this._longMonthsParse,i))?a:null:-1!==(a=Xe.call(this._longMonthsParse,i))?a:-1!==(a=Xe.call(this._shortMonthsParse,i))?a:null}function dt(e,t,n){var r,a,o;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=y([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ct(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=pe(t);else if(!p(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pt(e){return null!=e?(ct(this,e),o.updateOffset(this,!0),this):he(this,"Month")}function ft(){return tt(this.year(),this.month())}function ht(e){return this._monthsParseExact?(u(this,"_monthsRegex")||yt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||yt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function yt(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],a,o;for(a=0;a<12;a++)o=y([2e3,a]),t.push(this.monthsShort(o,"")),n.push(this.months(o,"")),r.push(this.months(o,"")),r.push(this.monthsShort(o,""));for(t.sort(e),n.sort(e),r.sort(e),a=0;a<12;a++)t[a]=Ie(t[a]),n[a]=Ie(n[a]);for(a=0;a<24;a++)r[a]=Ie(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function _t(e){return de(e)?366:365}W("Y",0,0,function(){var e=this.year();return e<=9999?R(e,4):"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),ae("year","y"),le("year",1),He("Y",Ce),He("YY",we,ge),He("YYYY",xe,Me),He("YYYYY",De,ke),He("YYYYYY",De,ke),Ve(["YYYYY","YYYYYY"],Be),Ve("YYYY",function(e,t){t[Be]=2===e.length?o.parseTwoDigitYear(e):pe(e)}),Ve("YY",function(e,t){t[Be]=o.parseTwoDigitYear(e)}),Ve("Y",function(e,t){t[Be]=parseInt(e,10)}),o.parseTwoDigitYear=function(e){return pe(e)+(pe(e)>68?1900:2e3)};var vt=fe("FullYear",!0);function gt(){return de(this.year())}function bt(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function Mt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kt(e,t,n){var r=7+t-n,a;return-((7+Mt(e,0,r).getUTCDay()-t)%7)+r-1}function wt(e,t,n,r,a){var o,i,s=1+7*(t-1)+(7+n-r)%7+kt(e,r,a),l,u;return s<=0?u=_t(l=e-1)+s:s>_t(e)?(l=e+1,u=s-_t(e)):(l=e,u=s),{year:l,dayOfYear:u}}function Lt(e,t,n){var r=kt(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,o,i;return a<1?o=a+Tt(i=e.year()-1,t,n):a>Tt(e.year(),t,n)?(o=a-Tt(e.year(),t,n),i=e.year()+1):(i=e.year(),o=a),{week:o,year:i}}function Tt(e,t,n){var r=kt(e,t,n),a=kt(e+1,t,n);return(_t(e)-r+a)/7}function St(e){return Lt(e,this._week.dow,this._week.doy).week}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),ae("week","w"),ae("isoWeek","W"),le("week",5),le("isoWeek",5),He("w",we),He("ww",we,ge),He("W",we),He("WW",we,ge),We(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=pe(e)});var xt={dow:0,doy:6};function Dt(){return this._week.dow}function Yt(){return this._week.doy}function Ct(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=Lt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ot(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Nt(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),ae("day","d"),ae("weekday","e"),ae("isoWeekday","E"),le("day",11),le("weekday",11),le("isoWeekday",11),He("d",we),He("e",we),He("E",we),He("dd",function(e,t){return t.weekdaysMinRegex(e)}),He("ddd",function(e,t){return t.weekdaysShortRegex(e)}),He("dddd",function(e,t){return t.weekdaysRegex(e)}),We(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:v(n).invalidWeekday=e}),We(["d","e","E"],function(e,t,n,r){t[r]=pe(e)});var jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ht="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),At=Ne,It=Ne,Ft=Ne;function Vt(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Nt(n,this._week.dow):e?n[e.day()]:n}function Wt(e){return!0===e?Nt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zt(e){return!0===e?Nt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Bt(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=y([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Xe.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=Xe.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=Xe.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=Xe.call(this._weekdaysParse,i))?a:-1!==(a=Xe.call(this._shortWeekdaysParse,i))?a:-1!==(a=Xe.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=Xe.call(this._shortWeekdaysParse,i))?a:-1!==(a=Xe.call(this._weekdaysParse,i))?a:-1!==(a=Xe.call(this._minWeekdaysParse,i))?a:null:-1!==(a=Xe.call(this._minWeekdaysParse,i))?a:-1!==(a=Xe.call(this._weekdaysParse,i))?a:-1!==(a=Xe.call(this._shortWeekdaysParse,i))?a:null}function Kt(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Bt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=y([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ot(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 $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Jt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=At),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=It),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Qt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],a=[],o,i,s,l,u;for(o=0;o<7;o++)i=y([2e3,1]).day(o),s=Ie(this.weekdaysMin(i,"")),l=Ie(this.weekdaysShort(i,"")),u=Ie(this.weekdays(i,"")),t.push(s),n.push(l),r.push(u),a.push(s),a.push(l),a.push(u);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Xt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nn(e,t){return t._meridiemParse}function rn(e){return"p"===(e+"").toLowerCase().charAt(0)}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Xt),W("k",["kk",2],0,en),W("hmm",0,0,function(){return""+Xt.apply(this)+R(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Xt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),tn("a",!0),tn("A",!1),ae("hour","h"),le("hour",13),He("a",nn),He("A",nn),He("H",we),He("h",we),He("k",we),He("HH",we,ge),He("hh",we,ge),He("kk",we,ge),He("hmm",Le),He("hmmss",Te),He("Hmm",Le),He("Hmmss",Te),Ve(["H","HH"],Ge),Ve(["k","kk"],function(e,t,n){var r=pe(e);t[Ge]=24===r?0:r}),Ve(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Ve(["h","hh"],function(e,t,n){t[Ge]=pe(e),v(n).bigHour=!0}),Ve("hmm",function(e,t,n){var r=e.length-2;t[Ge]=pe(e.substr(0,r)),t[$e]=pe(e.substr(r)),v(n).bigHour=!0}),Ve("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Ge]=pe(e.substr(0,r)),t[$e]=pe(e.substr(r,2)),t[Je]=pe(e.substr(a)),v(n).bigHour=!0}),Ve("Hmm",function(e,t,n){var r=e.length-2;t[Ge]=pe(e.substr(0,r)),t[$e]=pe(e.substr(r))}),Ve("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Ge]=pe(e.substr(0,r)),t[$e]=pe(e.substr(r,2)),t[Je]=pe(e.substr(a))});var an=/[ap]\.?m?\.?/i,on=fe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ln={calendar:j,longDateFormat:G,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Z,relativeTime:ee,months:nt,monthsShort:rt,week:xt,weekdays:jt,weekdaysMin:Rt,weekdaysShort:Ht,meridiemParse:an},un={},dn={},cn;function pn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function hn(e){for(var t=0,n,r,a,o;t<e.length;){for(n=(o=fn(e[t]).split("-")).length,r=(r=fn(e[t+1]))?r.split("-"):null;n>0;){if(a=mn(o.slice(0,n).join("-")))return a;if(r&&r.length>=n&&pn(o,r)>=n-1)break;n--}t++}return cn}function mn(r){var a=null,o;if(void 0===un[r]&&void 0!==e&&e&&e.exports)try{a=cn._abbr,o=t,n(303)("./"+r),yn(a)}catch(e){un[r]=null}return un[r]}function yn(e,t){var n;return e&&((n=c(t)?gn(e):_n(e,t))?cn=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),cn._abbr}function _n(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])C("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."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new N(P(r,t)),dn[e]&&dn[e].forEach(function(e){_n(e.name,e.config)}),yn(e),un[e]}return delete un[e],null}function vn(e,t){if(null!=t){var n,r,a=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(P(un[e]._config,t)):(null!=(r=mn(e))&&(a=r._config),t=P(a,t),null==r&&(t.abbr=e),(n=new N(t)).parentLocale=un[e],un[e]=n),yn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===yn()&&yn(e)):null!=un[e]&&delete un[e]);return un[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return cn;if(!s(e)){if(t=mn(e))return t;e=[e]}return hn(e)}function bn(){return Y(un)}function Mn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[Ke]<0||n[Ke]>11?Ke:n[Ue]<1||n[Ue]>tt(n[Be],n[Ke])?Ue:n[Ge]<0||n[Ge]>24||24===n[Ge]&&(0!==n[$e]||0!==n[Je]||0!==n[qe])?Ge:n[$e]<0||n[$e]>59?$e:n[Je]<0||n[Je]>59?Je:n[qe]<0||n[qe]>999?qe:-1,v(e)._overflowDayOfYear&&(t<Be||t>Ue)&&(t=Ue),v(e)._overflowWeeks&&-1===t&&(t=Qe),v(e)._overflowWeekday&&-1===t&&(t=Ze),v(e).overflow=t),e}var kn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\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)?)?$/,Ln=/Z|[+-]\d\d(?::?\d\d)?/,Tn=[["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]],Sn=[["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/]],xn=/^\/?Date\((-?\d+)/i,Dn=/^(?:(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}))$/,Yn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Cn(e){var t,n,r=e._i,a=kn.exec(r)||wn.exec(r),o,i,s,l;if(a){for(v(e).iso=!0,t=0,n=Tn.length;t<n;t++)if(Tn[t][1].exec(a[1])){i=Tn[t][0],o=!1!==Tn[t][2];break}if(null==i)return void(e._isValid=!1);if(a[3]){for(t=0,n=Sn.length;t<n;t++)if(Sn[t][1].exec(a[3])){s=(a[2]||" ")+Sn[t][0];break}if(null==s)return void(e._isValid=!1)}if(!o&&null!=s)return void(e._isValid=!1);if(a[4]){if(!Ln.exec(a[4]))return void(e._isValid=!1);l="Z"}e._f=i+(s||"")+(l||""),Wn(e)}else e._isValid=!1}function En(e,t,n,r,a,o){var i=[On(e),rt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function On(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,n){var r,a;if(e&&Ht.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return v(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}function jn(e,t,n){if(e)return Yn[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o;return 60*((r-a)/100)+a}function Hn(e){var t=Dn.exec(Pn(e._i)),n;if(t){if(n=En(t[4],t[3],t[2],t[5],t[6],t[7]),!Nn(t[1],n,e))return;e._a=n,e._tzm=jn(t[8],t[9],t[10]),e._d=Mt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Rn(e){var t=xn.exec(e._i);null===t?(Cn(e),!1===e._isValid&&(delete e._isValid,Hn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function An(e,t,n){return null!=e?e:null!=t?t:n}function In(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fn(e){var t,n,r=[],a,o,i;if(!e._d){for(a=In(e),e._w&&null==e._a[Ue]&&null==e._a[Ke]&&Vn(e),null!=e._dayOfYear&&(i=An(e._a[Be],a[Be]),(e._dayOfYear>_t(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=Mt(i,0,e._dayOfYear),e._a[Ke]=n.getUTCMonth(),e._a[Ue]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ge]&&0===e._a[$e]&&0===e._a[Je]&&0===e._a[qe]&&(e._nextDay=!0,e._a[Ge]=0),e._d=(e._useUTC?Mt:bt).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(v(e).weekdayMismatch=!0)}}function Vn(e){var t,n,r,a,o,i,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,i=4,n=An(t.GG,e._a[Be],Lt(qn(),1,4).year),r=An(t.W,1),((a=An(t.E,1))<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,u=Lt(qn(),o,i),n=An(t.gg,e._a[Be],u.year),r=An(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>Tt(n,o,i)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=wt(n,r,a,o,i),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}function Wn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],v(e).empty=!0;var t=""+e._i,n,r,a,i,s,l=t.length,u=0,d;for(a=U(e._f,e._locale).match(A)||[],n=0;n<a.length;n++)i=a[n],(r=(t.match(Re(i,e))||[])[0])&&((s=t.substr(0,t.indexOf(r))).length>0&&v(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),u+=r.length),V[i]?(r?v(e).empty=!1:v(e).unusedTokens.push(i),ze(i,r,e)):e._strict&&!r&&v(e).unusedTokens.push(i);v(e).charsLeftOver=l-u,t.length>0&&v(e).unusedInput.push(t),e._a[Ge]<=12&&!0===v(e).bigHour&&e._a[Ge]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Ge]=zn(e._locale,e._a[Ge],e._meridiem),null!==(d=v(e).era)&&(e._a[Be]=e._locale.erasConvertYear(d,e._a[Be])),Fn(e),Mn(e)}else Hn(e);else Cn(e)}function zn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Bn(e){var t,n,r,a,o,i,s=!1;if(0===e._f.length)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<e._f.length;a++)o=0,i=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Wn(t),g(t)&&(i=!0),o+=v(t).charsLeftOver,o+=10*v(t).unusedTokens.length,v(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));m(e,n||t)}function Kn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Fn(e)}}function Un(e){var t=new L(Mn(Gn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gn(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new L(Mn(t)):(f(t)?e._d=t:s(n)?Bn(e):n?Wn(e):$n(e),g(e)||(e._d=null),e))}function $n(e){var t=e._i;c(t)?e._d=new Date(o.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Rn(e):s(t)?(e._a=h(t.slice(0),function(e){return parseInt(e,10)}),Fn(e)):l(t)?Kn(e):p(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Jn(e,t,n,r,a){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(l(e)&&d(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,Un(o)}function qn(e,t,n,r){return Jn(e,t,n,r,!1)}o.createFromInputFallback=x("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":""))}),o.ISO_8601=function(){},o.RFC_2822=function(){};var Qn=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()}),Zn=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()});function Xn(e,t){var n,r;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return qn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){var e;return Xn("isBefore",[].slice.call(arguments,0))}function tr(){var e;return Xn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ar(e){var t,n=!1,r;for(t in e)if(u(e,t)&&(-1===Xe.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<rr.length;++r)if(e[rr[r]]){if(n)return!1;parseFloat(e[rr[r]])!==pe(e[rr[r]])&&(n=!0)}return!0}function or(){return this._isValid}function ir(){return Yr(NaN)}function sr(e){var t=ie(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=ar(t),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=gn(),this._bubble()}function lr(e){return e instanceof sr}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dr(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0,i;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&pe(e[i])!==pe(t[i]))&&o++;return o+a}function cr(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+R(~~(e/60),2)+t+R(~~e%60,2)})}cr("Z",":"),cr("ZZ",""),He("Z",Oe),He("ZZ",Oe),Ve(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=fr(Oe,e)});var pr=/([\+\-]|\d\d)/gi;function fr(e,t){var n=(t||"").match(e),r,a,o;return null===n?null:0===(o=60*(a=((r=n[n.length-1]||[])+"").match(pr)||["-",0,0])[1]+pe(a[2]))?0:"+"===a[0]?o:-o}function hr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(T(e)||f(e)?e.valueOf():qn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):qn(e).local()}function mr(e){return-Math.round(e._d.getTimezoneOffset())}function yr(e,t,n){var r=this._offset||0,a;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(Oe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=mr(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?Nr(this,Yr(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:mr(this)}function _r(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function gr(e){return this._isUTC&&(this.utcOffset(0,e)