/*! For license information please see approveDataset.js.LICENSE.txt */ (()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var t=Object.freeze({});function n(e){return null==e}function r(e){return null!=e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function u(e){return"[object Object]"===s.call(e)}function c(e){return"[object RegExp]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(e,t){return y.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,$=w((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),x=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,A=w((function(e){return e.replace(C,"-$1").toLowerCase()}));var T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,K=G&&G.indexOf("edge/")>0,J=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===W),ee=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(Z)try{var re={};Object.defineProperty(re,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,re)}catch(e){}var ie=function(){return void 0===z&&(z=!Z&&!Y&&void 0!==e.g&&(e.g.process&&"server"===e.g.process.env.VUE_ENV)),z},ae=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,ue="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);se="undefined"!=typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=D,le=0,fe=function(){this.id=le++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){g(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!b(i,"default"))o=!1;else if(""===o||o===A(e)){var u=He(String,i.type);(u<0||s0&&(dt((s=vt(s,(t||"")+"_"+o))[0])&&dt(c)&&(l[u]=ye(c.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?dt(c)?l[u]=ye(c.text+s):""!==s&&l.push(ye(s)):dt(s)&&dt(c)?l[u]=ye(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),l.push(s)));return l}function pt(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),i=0;i0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&r&&r!==t&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=yt(n,u,e[u]))}else i={};for(var c in n)c in i||(i[c]=bt(n,c));return e&&Object.isExtensible(e)&&(e._normalized=i),H(i,"$stable",o),H(i,"$key",s),H(i,"$hasNormal",a),i}function yt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ft(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function bt(e,t){return function(){return e[t]}}function wt(e,t){var n,i,a,s,u;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(vn=function(){return pn.now()})}function hn(){var e,t;for(dn=vn(),ln=!0,on.sort((function(e,t){return e.id-t.id})),fn=0;fnfn&&on[n].id>e.id;)n--;on.splice(n+1,0,e)}else on.push(e);cn||(cn=!0,nt(hn))}}(this)},gn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Be(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},gn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},gn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},gn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var yn={enumerable:!0,configurable:!0,get:D,set:D};function bn(e,t,n){yn.get=function(){return this[t][n]},yn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,yn)}function wn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&Ce(!1);var a=function(a){i.push(a);var o=qe(a,t,n,e);ke(r,a,o),a in e||bn(e,"_props",a)};for(var o in t)a(o);Ce(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?D:T(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){ve();try{return e.call(t,t)}catch(e){return Be(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var a=n[i];0,r&&b(r,a)||R(a)||bn(e,"_data",a)}Te(t,!0)}(e):Te(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var i in t){var a=t[i],o="function"==typeof a?a:a.get;0,r||(n[i]=new gn(e,o||D,D,_n)),i in e||$n(e,i,a)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function En(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=Dn(o.componentOptions);s&&!t(s)&&Mn(n,a,r,i)}}}function Mn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,g(n,t)}!function(e){e.prototype._init=function(e){var n=this;n._uid=Tn++,n._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,e):n.$options=Pe(kn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Kt(e,t)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,i=r&&r.context;e.$slots=ht(n._renderChildren,i),e.$scopedSlots=t,e._c=function(t,n,r,i){return Ht(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Ht(e,t,n,r,i,!0)};var a=r&&r.data;ke(e,"$attrs",a&&a.attrs||t,null,!0),ke(e,"$listeners",n._parentListeners||t,null,!0)}(n),an(n,"beforeCreate"),function(e){var t=pt(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach((function(n){ke(e,n,t[n])})),Ce(!0))}(n),wn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),an(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(On),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Oe,e.prototype.$delete=Se,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return An(r,e,t,n);(n=n||{}).user=!0;var i=new gn(r,e,t,n);if(n.immediate)try{t.call(r,i.value)}catch(e){Be(e,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(On),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i1?k(n):n;for(var r=k(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;aparseInt(this.max)&&Mn(o,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:O,mergeOptions:Pe,defineReactive:ke},e.set=Oe,e.delete=Se,e.nextTick=nt,e.observable=function(e){return Te(e),e},e.options=Object.create(null),P.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Fn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Pe(this.options,e),this}}(e),Sn(e),function(e){P.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(On),Object.defineProperty(On.prototype,"$isServer",{get:ie}),Object.defineProperty(On.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(On,"FunctionalRenderContext",{value:Ft}),On.version="2.6.12";var jn=p("style,class"),Pn=p("input,textarea,option,select,progress"),Ln=function(e,t,n){return"value"===n&&Pn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},qn=p("contenteditable,draggable,spellcheck"),Un=p("events,caret,typing,plaintext-only"),Rn=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Hn="http://www.w3.org/1999/xlink",Bn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zn=function(e){return Bn(e)?e.slice(6,e.length):""},Vn=function(e){return null==e||!1===e};function Zn(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Yn(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Yn(t,n.data));return function(e,t){if(r(e)||r(t))return Wn(e,Gn(t));return""}(t.staticClass,t.class)}function Yn(e,t){return{staticClass:Wn(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Wn(e,t){return e?t?e+" "+t:e:t||""}function Gn(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,a=e.length;i-1?wr(e,t,n):Rn(t)?Vn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):qn(t)?e.setAttribute(t,function(e,t){return Vn(t)||"false"===t?"false":"contenteditable"===e&&Un(t)?t:"true"}(t,n)):Bn(t)?Vn(n)?e.removeAttributeNS(Hn,zn(t)):e.setAttributeNS(Hn,t,n):wr(e,t,n)}function wr(e,t,n){if(Vn(n))e.removeAttribute(t);else{if(X&&!Q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var _r={create:yr,update:yr};function $r(e,t){var i=t.elm,a=t.data,o=e.data;if(!(n(a.staticClass)&&n(a.class)&&(n(o)||n(o.staticClass)&&n(o.class)))){var s=Zn(t),u=i._transitionClasses;r(u)&&(s=Wn(s,Gn(u))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var xr,Cr,Ar,Tr,kr,Or,Sr={create:$r,update:$r},Dr=/[\w).+\-_$\]]/;function Nr(e){var t,n,r,i,a,o=!1,s=!1,u=!1,c=!1,l=0,f=0,d=0,v=0;for(r=0;r=0&&" "===(h=e.charAt(p));p--);h&&Dr.test(h)||(c=!0)}}else void 0===i?(v=r+1,i=e.slice(0,r).trim()):m();function m(){(a||(a=[])).push(e.slice(v,r).trim()),v=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==v&&m(),a)for(r=0;r-1?{exp:e.slice(0,Tr),key:'"'+e.slice(Tr+1)+'"'}:{exp:e,key:null};Cr=e,Tr=kr=Or=0;for(;!Wr();)Gr(Ar=Yr())?Qr(Ar):91===Ar&&Xr(Ar);return{exp:e.slice(0,kr),key:e.slice(kr+1,Or)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Yr(){return Cr.charCodeAt(++Tr)}function Wr(){return Tr>=xr}function Gr(e){return 34===e||39===e}function Xr(e){var t=1;for(kr=Tr;!Wr();)if(Gr(e=Yr()))Qr(e);else if(91===e&&t++,93===e&&t--,0===t){Or=Tr;break}}function Qr(e){for(var t=e;!Wr()&&(e=Yr())!==t;);}var Kr,Jr="__r";function ei(e,t,n){var r=Kr;return function i(){var a=t.apply(null,arguments);null!==a&&ri(e,i,n,r)}}var ti=We&&!(ee&&Number(ee[1])<=53);function ni(e,t,n,r){if(ti){var i=dn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Kr.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function ri(e,t,n,r){(r||Kr).removeEventListener(e,t._wrapper||t,n)}function ii(e,t){if(!n(e.data.on)||!n(t.data.on)){var i=t.data.on||{},a=e.data.on||{};Kr=t.elm,function(e){if(r(e.__r)){var t=X?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}r(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(i),ut(i,a,ni,ri,ei,t.context),Kr=void 0}}var ai,oi={create:ii,update:ii};function si(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,a,o=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(i in r(u.__ob__)&&(u=t.data.domProps=O({},u)),s)i in u||(o[i]="");for(i in u){if(a=u[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),a===s[i])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===i&&"PROGRESS"!==o.tagName){o._value=a;var c=n(a)?"":String(a);ui(o,c)&&(o.value=c)}else if("innerHTML"===i&&Kn(o.tagName)&&n(o.innerHTML)){(ai=ai||document.createElement("div")).innerHTML=""+a+"";for(var l=ai.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;l.firstChild;)o.appendChild(l.firstChild)}else if(a!==s[i])try{o[i]=a}catch(e){}}}}function ui(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return v(n)!==v(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ci={create:si,update:si},li=w((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function fi(e){var t=di(e.style);return e.staticStyle?O(e.staticStyle,t):t}function di(e){return Array.isArray(e)?S(e):"string"==typeof e?li(e):e}var vi,pi=/^--/,hi=/\s*!important$/,mi=function(e,t,n){if(pi.test(t))e.style.setProperty(t,n);else if(hi.test(n))e.style.setProperty(A(t),n.replace(hi,""),"important");else{var r=yi(t);if(Array.isArray(n))for(var i=0,a=n.length;i-1?t.split(_i).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function xi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_i).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Ci(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,Ai(e.name||"v")),O(t,e),t}return"string"==typeof e?Ai(e):void 0}}var Ai=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ti=Z&&!Q,ki="transition",Oi="animation",Si="transition",Di="transitionend",Ni="animation",Ei="animationend";Ti&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Si="WebkitTransition",Di="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ni="WebkitAnimation",Ei="webkitAnimationEnd"));var Mi=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ii(e){Mi((function(){Mi(e)}))}function Fi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),$i(e,t))}function ji(e,t){e._transitionClasses&&g(e._transitionClasses,t),xi(e,t)}function Pi(e,t,n){var r=qi(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===ki?Di:Ei,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=o&&c()};setTimeout((function(){u0&&(n=ki,l=o,f=a.length):t===Oi?c>0&&(n=Oi,l=c,f=u.length):f=(n=(l=Math.max(o,c))>0?o>c?ki:Oi:null)?n===ki?a.length:u.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ki&&Li.test(r[Si+"Property"])}}function Ui(e,t){for(;e.length1}function Zi(e,t){!0!==t.data.show&&Hi(t)}var Yi=function(e){var t,o,s={},u=e.modules,c=e.nodeOps;for(t=0;tp?b(e,n(i[g+1])?null:i[g+1].elm,i,v,g,a):v>g&&_(t,d,p)}(d,h,g,a,l):r(g)?(r(e.text)&&c.setTextContent(d,""),b(d,null,g,0,g.length-1,a)):r(h)?_(h,0,h.length-1):r(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),r(p)&&r(v=p.hook)&&r(v=v.postpatch)&&v(e,t)}}}function A(e,t,n){if(i(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var a=0;a-1,o.selected!==a&&(o.selected=a);else if(M(Ki(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Qi(e,t){return t.every((function(t){return!M(t,e)}))}function Ki(e){return"_value"in e?e._value:e.value}function Ji(e){e.target.composing=!0}function ea(e){e.target.composing&&(e.target.composing=!1,ta(e.target,"input"))}function ta(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function na(e){return!e.componentInstance||e.data&&e.data.transition?e:na(e.componentInstance._vnode)}var ra={model:Wi,show:{bind:function(e,t,n){var r=t.value,i=(n=na(n)).data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Hi(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=na(n)).data&&n.data.transition?(n.data.show=!0,r?Hi(n,(function(){e.style.display=e.__vOriginalDisplay})):Bi(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},ia={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function aa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?aa(Wt(t.children)):e}function oa(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[$(a)]=i[a];return t}function sa(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ua=function(e){return e.tag||Yt(e)},ca=function(e){return"show"===e.name},la={name:"transition",props:ia,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ua)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=aa(i);if(!o)return i;if(this._leaving)return sa(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=oa(this),c=this._vnode,l=aa(c);if(o.data.directives&&o.data.directives.some(ca)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!Yt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=O({},u);if("out-in"===r)return this._leaving=!0,ct(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),sa(e,i);if("in-out"===r){if(Yt(o))return c;var d,v=function(){d()};ct(u,"afterEnter",v),ct(u,"enterCancelled",v),ct(f,"delayLeave",(function(e){d=e}))}}return i}}},fa=O({tag:String,moveClass:String},ia);function da(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function va(e){e.data.newPos=e.elm.getBoundingClientRect()}function pa(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}delete fa.mode;var ha={Transition:la,TransitionGroup:{props:fa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=en(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=oa(this),s=0;s-1?tr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:tr[e]=/HTMLUnknownElement/.test(t.toString())},O(On.options.directives,ra),O(On.options.components,ha),On.prototype.__patch__=Z?Yi:D,On.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ge),an(e,"beforeMount"),r=function(){e._update(e._render(),n)},new gn(e,r,D,{before:function(){e._isMounted&&!e._isDestroyed&&an(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,an(e,"mounted")),e}(this,e=e&&Z?rr(e):void 0,t)},Z&&setTimeout((function(){q.devtools&&ae&&ae.emit("init",On)}),0);var ma=/\{\{((?:.|\r?\n)+?)\}\}/g,ga=/[-.*+?^${}()|[\]\/\\]/g,ya=w((function(e){var t=e[0].replace(ga,"\\$&"),n=e[1].replace(ga,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var ba={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Hr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Rr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var wa,_a={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Hr(e,"style");n&&(e.staticStyle=JSON.stringify(li(n)));var r=Rr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},$a=function(e){return(wa=wa||document.createElement("div")).innerHTML=e,wa.textContent},xa=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ca=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Aa=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ta=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ka=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Oa="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Sa="((?:"+Oa+"\\:)?"+Oa+")",Da=new RegExp("^<"+Sa),Na=/^\s*(\/?)>/,Ea=new RegExp("^<\\/"+Sa+"[^>]*>"),Ma=/^]+>/i,Ia=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},qa=/&(?:lt|gt|quot|amp|#39);/g,Ua=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ra=p("pre,textarea",!0),Ha=function(e,t){return e&&Ra(e)&&"\n"===t[0]};function Ba(e,t){var n=t?Ua:qa;return e.replace(n,(function(e){return La[e]}))}var za,Va,Za,Ya,Wa,Ga,Xa,Qa,Ka=/^@|^v-on:/,Ja=/^v-|^@|^:|^#/,eo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,to=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,no=/^\(|\)$/g,ro=/^\[.*\]$/,io=/:(.*)$/,ao=/^:|^\.|^v-bind:/,oo=/\.[^.\]]+(?=[^\]]*$)/g,so=/^v-slot(:|$)|^#/,uo=/[\r\n]/,co=/\s+/g,lo=w($a),fo="_empty_";function vo(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:wo(t),rawAttrsMap:{},parent:n,children:[]}}function po(e,t){za=t.warn||Mr,Ga=t.isPreTag||N,Xa=t.mustUseProp||N,Qa=t.getTagNamespace||N;var n=t.isReservedTag||N;(function(e){return!!e.component||!n(e.tag)}),Za=Ir(t.modules,"transformNode"),Ya=Ir(t.modules,"preTransformNode"),Wa=Ir(t.modules,"postTransformNode"),Va=t.delimiters;var r,i,a=[],o=!1!==t.preserveWhitespace,s=t.whitespace,u=!1,c=!1;function l(e){if(f(e),u||e.processed||(e=ho(e,t)),a.length||e===r||r.if&&(e.elseif||e.else)&&go(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)o=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&s.if&&go(s,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var o,s;e.children=e.children.filter((function(e){return!e.slotScope})),f(e),e.pre&&(u=!1),Ga(e.tag)&&(c=!1);for(var l=0;l]*>)","i")),d=e.replace(f,(function(e,n,r){return c=r.length,ja(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ha(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));u+=e.length-d.length,e=d,T(l,u-c,u)}else{var v=e.indexOf("<");if(0===v){if(Ia.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),u,u+p+3),x(p+3);continue}}if(Fa.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(Ma);if(m){x(m[0].length);continue}var g=e.match(Ea);if(g){var y=u;x(g[0].length),T(g[1],y,u);continue}var b=C();if(b){A(b),Ha(b.tagName,e)&&x(1);continue}}var w=void 0,_=void 0,$=void 0;if(v>=0){for(_=e.slice(v);!(Ea.test(_)||Da.test(_)||Ia.test(_)||Fa.test(_)||($=_.indexOf("<",1))<0);)v+=$,_=e.slice(v);w=e.substring(0,v)}v<0&&(w=e),w&&x(w.length),t.chars&&w&&t.chars(w,u-w.length,u)}if(e===n){t.chars&&t.chars(e);break}}function x(t){u+=t,e=e.substring(t)}function C(){var t=e.match(Da);if(t){var n,r,i={tagName:t[1],attrs:[],start:u};for(x(t[0].length);!(n=e.match(Na))&&(r=e.match(ka)||e.match(Ta));)r.start=u,x(r[0].length),r.end=u,i.attrs.push(r);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=u,i}}function A(e){var n=e.tagName,u=e.unarySlash;a&&("p"===r&&Aa(n)&&T(r),s(n)&&r===n&&T(n));for(var c=o(n)||!!u,l=e.attrs.length,f=new Array(l),d=0;d=0&&i[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=i.length-1;c>=o;c--)t.end&&t.end(i[c].tag,n,a);i.length=o,r=o&&i[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,a):"p"===s&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}T()}(e,{warn:za,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,s,f){var d=i&&i.ns||Qa(e);X&&"svg"===d&&(n=function(e){for(var t=[],n=0;nu&&(s.push(a=e.slice(u,i)),o.push(JSON.stringify(a)));var c=Nr(r[1].trim());o.push("_s("+c+")"),s.push({"@binding":c}),u=i+r[0].length}return u-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),Ur(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Zr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===a&&"radio"===o)!function(e,t,n){var r=n&&n.number,i=Rr(e,"value")||"null";Fr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Ur(e,"change",Zr(t,i),null,!0)}(e,r,i);else if("input"===a||"textarea"===a)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},a=i.lazy,o=i.number,s=i.trim,u=!a&&"range"!==r,c=a?"change":"range"===r?Jr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()");o&&(l="_n("+l+")");var f=Zr(t,l);u&&(f="if($event.target.composing)return;"+f);Fr(e,"value","("+t+")"),Ur(e,c,f,null,!0),(s||o)&&Ur(e,"blur","$forceUpdate()")}(e,r,i);else{if(!q.isReservedTag(a))return Vr(e,r,i),!1}return!0},text:function(e,t){t.value&&Fr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Fr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:xa,mustUseProp:Ln,canBeLeftOpenTag:Ca,isReservedTag:Jn,getTagNamespace:er,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Co)},Oo=w((function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function So(e,t){e&&(Ao=Oo(t.staticKeys||""),To=t.isReservedTag||N,Do(e),No(e,!1))}function Do(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||h(e.tag)||!To(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Ao)))}(e),1===e.type){if(!To(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,Mo=/\([^)]*?\);*$/,Io=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Fo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},jo={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Po=function(e){return"if("+e+")return null;"},Lo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Po("$event.target !== $event.currentTarget"),ctrl:Po("!$event.ctrlKey"),shift:Po("!$event.shiftKey"),alt:Po("!$event.altKey"),meta:Po("!$event.metaKey"),left:Po("'button' in $event && $event.button !== 0"),middle:Po("'button' in $event && $event.button !== 1"),right:Po("'button' in $event && $event.button !== 2")};function qo(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var a in e){var o=Uo(e[a]);e[a]&&e[a].dynamic?i+=a+","+o+",":r+='"'+a+'":'+o+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Uo(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Uo(e)})).join(",")+"]";var t=Io.test(e.value),n=Eo.test(e.value),r=Io.test(e.value.replace(Mo,""));if(e.modifiers){var i="",a="",o=[];for(var s in e.modifiers)if(Lo[s])a+=Lo[s],Fo[s]&&o.push(s);else if("exact"===s){var u=e.modifiers;a+=Po(["ctrl","shift","alt","meta"].filter((function(e){return!u[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(s);return o.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ro).join("&&")+")return null;"}(o)),a&&(i+=a),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ro(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Fo[e],r=jo[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ho={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:D},Bo=function(e){this.options=e,this.warn=e.warn||Mr,this.transforms=Ir(e.modules,"transformCode"),this.dataGenFns=Ir(e.modules,"genData"),this.directives=O(O({},Ho),e.directives);var t=e.isReservedTag||N;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function zo(e,t){var n=new Bo(t);return{render:"with(this){return "+(e?Vo(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Vo(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Zo(e,t);if(e.once&&!e.onceProcessed)return Yo(e,t);if(e.for&&!e.forProcessed)return Xo(e,t);if(e.if&&!e.ifProcessed)return Wo(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=es(e,t),i="_t("+n+(r?","+r:""),a=e.attrs||e.dynamicAttrs?rs((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:$(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!a&&!o||r||(i+=",null");a&&(i+=","+a);o&&(i+=(a?"":",null")+","+o);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:es(t,n,!0);return"_c("+e+","+Qo(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Qo(e,t));var i=e.inlineTemplate?null:es(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var a=0;a>>0}(o):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var a=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=zo(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+rs(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ko(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ko))}function Jo(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Wo(e,t,Jo,"null");if(e.for&&!e.forProcessed)return Xo(e,t,Jo);var r=e.slotScope===fo?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(es(e,t)||"undefined")+":undefined":es(e,t)||"undefined":Vo(e,t))+"}",a=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+a+"}"}function es(e,t,n,r,i){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?t.maybeComponent(o)?",1":",0":"";return""+(r||Vo)(o,t)+s}var u=n?function(e,t){for(var n=0,r=0;r':'
',us.innerHTML.indexOf(" ")>0}var ds=!!Z&&fs(!1),vs=!!Z&&fs(!0),ps=w((function(e){var t=rr(e);return t&&t.innerHTML})),hs=On.prototype.$mount;On.prototype.$mount=function(e,t){if((e=e&&rr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ps(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=ls(r,{outputSourceRange:!1,shouldDecodeNewlines:ds,shouldDecodeNewlinesForHref:vs,delimiters:n.delimiters,comments:n.comments},this),a=i.render,o=i.staticRenderFns;n.render=a,n.staticRenderFns=o}}return hs.call(this,e,t)},On.compile=ls;const ms=On;var gs=function(e){return Zs(["text","password","search","email","tel","url","textarea","number"],e.type)},ys=function(e){return Zs(["radio","checkbox"],e.type)},bs=function(e,t){return e.getAttribute("data-vv-"+t)},ws=function(e){return"isNaN"in Number?Number.isNaN(e):"number"==typeof e&&e!=e},_s=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.every((function(e){return null==e}))},$s=function(e,t){if(e instanceof RegExp&&t instanceof RegExp)return $s(e.source,t.source)&&$s(e.flags,t.flags);if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var n=0;n0;)t[n]=arguments[n+1];if(Ns(Object.assign))return Object.assign.apply(Object,[e].concat(t));if(null==e)throw new TypeError("Cannot convert undefined or null to object");var r=Object(e);return t.forEach((function(e){null!=e&&Object.keys(e).forEach((function(t){r[t]=e[t]}))})),r},Ps=0,Ls="{id}",qs=function(e,t){for(var n=Array.isArray(e)?e:Is(e),r=0;r=0&&e.maxLength<524288&&(t=Ts("max:"+e.maxLength,t)),e.minLength>0&&(t=Ts("min:"+e.minLength,t)),"number"===e.type&&(t=Ts("decimal",t),""!==e.min&&(t=Ts("min_value:"+e.min,t)),""!==e.max&&(t=Ts("max_value:"+e.max,t))),t;if(function(e){return Zs(["date","week","month","datetime-local","time"],e.type)}(e)){var n=e.step&&Number(e.step)<60?"HH:mm:ss":"HH:mm";if("date"===e.type)return Ts("date_format:yyyy-MM-dd",t);if("datetime-local"===e.type)return Ts("date_format:yyyy-MM-ddT"+n,t);if("month"===e.type)return Ts("date_format:yyyy-MM",t);if("week"===e.type)return Ts("date_format:yyyy-[W]WW",t);if("time"===e.type)return Ts("date_format:"+n,t)}return t},Vs=function(e){return Ns(Object.values)?Object.values(e):Object.keys(e).map((function(t){return e[t]}))},Zs=function(e,t){return-1!==e.indexOf(t)},Ys=function(e){return Array.isArray(e)&&0===e.length},Ws=function(e,t,n){Object.defineProperty(e,t,{configurable:!1,writable:!0,value:n})},Gs="en",Xs=function(e){void 0===e&&(e={}),this.container={},this.merge(e)},Qs={locale:{configurable:!0}};Qs.locale.get=function(){return Gs},Qs.locale.set=function(e){Gs=e||"en"},Xs.prototype.hasLocale=function(e){return!!this.container[e]},Xs.prototype.setDateFormat=function(e,t){this.container[e]||(this.container[e]={}),this.container[e].dateFormat=t},Xs.prototype.getDateFormat=function(e){return this.container[e]&&this.container[e].dateFormat?this.container[e].dateFormat:null},Xs.prototype.getMessage=function(e,t,n){var r=null;return r=this.hasMessage(e,t)?this.container[e].messages[t]:this._getDefaultMessage(e),Ns(r)?r.apply(void 0,n):r},Xs.prototype.getFieldMessage=function(e,t,n,r){if(!this.hasLocale(e))return this.getMessage(e,n,r);var i=this.container[e].custom&&this.container[e].custom[t];if(!i||!i[n])return this.getMessage(e,n,r);var a=i[n];return Ns(a)?a.apply(void 0,r):a},Xs.prototype._getDefaultMessage=function(e){return this.hasMessage(e,"_default")?this.container[e].messages._default:this.container.en.messages._default},Xs.prototype.getAttribute=function(e,t,n){return void 0===n&&(n=""),this.hasAttribute(e,t)?this.container[e].attributes[t]:n},Xs.prototype.hasMessage=function(e,t){return!!(this.hasLocale(e)&&this.container[e].messages&&this.container[e].messages[t])},Xs.prototype.hasAttribute=function(e,t){return!!(this.hasLocale(e)&&this.container[e].attributes&&this.container[e].attributes[t])},Xs.prototype.merge=function(e){Bs(this.container,e)},Xs.prototype.setMessage=function(e,t,n){this.hasLocale(e)||(this.container[e]={messages:{},attributes:{}}),this.container[e].messages||(this.container[e].messages={}),this.container[e].messages[t]=n},Xs.prototype.setAttribute=function(e,t,n){this.hasLocale(e)||(this.container[e]={messages:{},attributes:{}}),this.container[e].attributes[t]=n},Object.defineProperties(Xs.prototype,Qs);var Ks={default:new Xs({en:{messages:{},attributes:{},custom:{}}})},Js="default",eu=function(){};eu._checkDriverName=function(e){if(!e)throw Ss("you must provide a name to the dictionary driver")},eu.setDriver=function(e,t){void 0===t&&(t=null),this._checkDriverName(e),t&&(Ks[e]=t),Js=e},eu.getDriver=function(){return Ks[Js]};var tu=function e(t,n){void 0===t&&(t=null),void 0===n&&(n=null),this.vmId=n||null,this.items=t&&t instanceof e?t.items:[]};tu.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var e=this,t=0;return{next:function(){return{value:e.items[t++],done:t>e.items.length}}}},tu.prototype.add=function(e){var t;(t=this.items).push.apply(t,this._normalizeError(e))},tu.prototype._normalizeError=function(e){var t=this;return Array.isArray(e)?e.map((function(e){return e.scope=_s(e.scope)?null:e.scope,e.vmId=_s(e.vmId)?t.vmId||null:e.vmId,e})):(e.scope=_s(e.scope)?null:e.scope,e.vmId=_s(e.vmId)?this.vmId||null:e.vmId,[e])},tu.prototype.regenerate=function(){this.items.forEach((function(e){e.msg=Ns(e.regenerate)?e.regenerate():e.msg}))},tu.prototype.update=function(e,t){var n=Us(this.items,(function(t){return t.id===e}));if(n){var r=this.items.indexOf(n);this.items.splice(r,1),n.scope=t.scope,this.items.push(n)}},tu.prototype.all=function(e){var t=this;return this.items.filter((function(n){var r=!0,i=!0;return _s(e)||(r=n.scope===e),_s(t.vmId)||(i=n.vmId===t.vmId),i&&r})).map((function(e){return e.msg}))},tu.prototype.any=function(e){var t=this;return!!this.items.filter((function(n){var r=!0,i=!0;return _s(e)||(r=n.scope===e),_s(t.vmId)||(i=n.vmId===t.vmId),i&&r})).length},tu.prototype.clear=function(e){var t=this,n=_s(this.vmId)?function(){return!0}:function(e){return e.vmId===t.vmId},r=function(t){return t.scope===e};0===arguments.length?r=function(){return!0}:_s(e)&&(e=null);for(var i=0;i=9999&&(Ps=0,Ls=Ls.replace("{id}","_{id}")),Ps++,Ls.replace("{id}",String(Ps))),this.el=e.el,this.updated=!1,this.vmId=e.vmId,Ws(this,"dependencies",[]),Ws(this,"watchers",[]),Ws(this,"events",[]),this.delay=0,this.rules={},this.forceRequired=!1,this._cacheId(e),this.classNames=js({},_u.classNames),e=js({},_u,e),this._delay=_s(e.delay)?0:e.delay,this.validity=e.validity,this.aria=e.aria,this.flags=e.flags||{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1},Ws(this,"vm",e.vm),Ws(this,"componentInstance",e.component),this.ctorConfig=this.componentInstance?Cs("$options.$_veeValidate",this.componentInstance):void 0,this.update(e),this.initialValue=this.value,this.updated=!1},xu={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};xu.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){return Promise.resolve(!0)}}},xu.isRequired.get=function(){return!!this.rules.required||this.forceRequired},xu.isDisabled.get=function(){return!(!this.el||!this.el.disabled)},xu.alias.get=function(){if(this._alias)return this._alias;var e=null;return this.ctorConfig&&this.ctorConfig.alias&&(e=Ns(this.ctorConfig.alias)?this.ctorConfig.alias.call(this.componentInstance):this.ctorConfig.alias),!e&&this.el&&(e=bs(this.el,"as")),!e&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:e},xu.value.get=function(){if(Ns(this.getter))return this.getter()},xu.bails.get=function(){return this._bails},xu.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},$u.prototype.matches=function(e){var t=this;return!e||(e.id?this.id===e.id:!!(_s(e.vmId)?function(){return!0}:function(e){return e===t.vmId})(e.vmId)&&(void 0===e.name&&void 0===e.scope||(void 0===e.scope?this.name===e.name:void 0===e.name?this.scope===e.scope:e.name===this.name&&e.scope===this.scope)))},$u.prototype._cacheId=function(e){this.el&&!e.targetOf&&(this.el._veeValidateId=this.id)},$u.prototype.waitFor=function(e){this._waitingFor=e},$u.prototype.isWaitingFor=function(e){return this._waitingFor===e},$u.prototype.update=function(e){var t=this;if(this.targetOf=e.targetOf||null,this.immediate=e.immediate||this.immediate||!1,this.persist=e.persist||this.persist||!1,!_s(e.scope)&&e.scope!==this.scope&&Ns(this.validator.update)&&this.validator.update(this.id,{scope:e.scope}),this.scope=_s(e.scope)?_s(this.scope)?null:this.scope:e.scope,this.name=(_s(e.name)?e.name:String(e.name))||this.name||null,this.rules=void 0!==e.rules?ks(e.rules):this.rules,this._bails=void 0!==e.bails?e.bails:this._bails,this.model=e.model||this.model,this.listen=void 0!==e.listen?e.listen:this.listen,this.classes=!(!e.classes&&!this.classes)&&!this.componentInstance,this.classNames=Ds(e.classNames)?Bs(this.classNames,e.classNames):this.classNames,this.getter=Ns(e.getter)?e.getter:this.getter,this._alias=e.alias||this._alias,this.events=e.events?yu(e.events):this.events,this.delay=function(e,t,n){return"number"==typeof t?e.reduce((function(e,n){return e[n]=t,e}),{}):e.reduce((function(e,r){return"object"==typeof t&&r in t?(e[r]=t[r],e):"number"==typeof n?(e[r]=n,e):(e[r]=n&&n[r]||0,e)}),{})}(this.events,e.delay||this.delay,this._delay),this.updateDependencies(),this.addActionListeners(),void 0!==e.rules&&(this.flags.required=this.isRequired),0===Object.keys(e.rules||{}).length&&this.updated){var n=this.flags.validated;this.validator.validate("#"+this.id).then((function(){t.flags.validated=n}))}this.flags.validated&&void 0!==e.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},$u.prototype.reset=function(){var e=this;this._cancellationToken&&(this._cancellationToken.cancelled=!0,delete this._cancellationToken);var t={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};Object.keys(this.flags).filter((function(e){return"required"!==e})).forEach((function(n){e.flags[n]=t[n]})),this.initialValue=this.value,this.flags.changed=!1,this.addValueListeners(),this.addActionListeners(),this.updateClasses(!0),this.updateAriaAttrs(),this.updateCustomValidity()},$u.prototype.setFlags=function(e){var t=this,n={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(e).forEach((function(r){t.flags[r]=e[r],n[r]&&void 0===e[n[r]]&&(t.flags[n[r]]=!e[r])})),void 0===e.untouched&&void 0===e.touched&&void 0===e.dirty&&void 0===e.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},$u.prototype.updateDependencies=function(){var e=this;this.dependencies.forEach((function(e){return e.field.destroy()})),this.dependencies=[];var t=Object.keys(this.rules).reduce((function(t,n){return hu.isTargetRule(n)&&t.push({selector:e.rules[n][0],name:n}),t}),[]);t.length&&this.vm&&this.vm.$el&&t.forEach((function(t){var n=t.selector,r=t.name,i=e.vm.$refs[n],a=Array.isArray(i)?i[0]:i;if(a){var o={vm:e.vm,classes:e.classes,classNames:e.classNames,delay:e.delay,scope:e.scope,events:e.events.join("|"),immediate:e.immediate,targetOf:e.id};Ns(a.$watch)?(o.component=a,o.el=a.$el,o.getter=vu.resolveGetter(a.$el,a.$vnode)):(o.el=a,o.getter=vu.resolveGetter(a,{})),e.dependencies.push({name:r,field:new $u(o)})}}))},$u.prototype.unwatch=function(e){if(void 0===e&&(e=null),!e)return this.watchers.forEach((function(e){return e.unwatch()})),void(this.watchers=[]);this.watchers.filter((function(t){return e.test(t.tag)})).forEach((function(e){return e.unwatch()})),this.watchers=this.watchers.filter((function(t){return!e.test(t.tag)}))},$u.prototype.updateClasses=function(e){var t=this;if(void 0===e&&(e=!1),this.classes&&!this.isDisabled){var n=function(n){Ms(n,t.classNames.dirty,t.flags.dirty),Ms(n,t.classNames.pristine,t.flags.pristine),Ms(n,t.classNames.touched,t.flags.touched),Ms(n,t.classNames.untouched,t.flags.untouched),e&&(Ms(n,t.classNames.valid,!1),Ms(n,t.classNames.invalid,!1)),!_s(t.flags.valid)&&t.flags.validated&&Ms(n,t.classNames.valid,t.flags.valid),!_s(t.flags.invalid)&&t.flags.validated&&Ms(n,t.classNames.invalid,t.flags.invalid)};if(ys(this.el)){var r=document.querySelectorAll('input[name="'+this.el.name+'"]');Is(r).forEach(n)}else n(this.el)}},$u.prototype.addActionListeners=function(){var e=this;if(this.unwatch(/class/),this.el){var t=function(){e.flags.touched=!0,e.flags.untouched=!1,e.classes&&(Ms(e.el,e.classNames.touched,!0),Ms(e.el,e.classNames.untouched,!1)),e.unwatch(/^class_blur$/)},n=gs(this.el)?"input":"change",r=function(){e.flags.dirty=!0,e.flags.pristine=!1,e.classes&&(Ms(e.el,e.classNames.pristine,!1),Ms(e.el,e.classNames.dirty,!0)),e.unwatch(/^class_input$/)};if(this.componentInstance&&Ns(this.componentInstance.$once))return this.componentInstance.$once("input",r),this.componentInstance.$once("blur",t),this.watchers.push({tag:"class_input",unwatch:function(){e.componentInstance.$off("input",r)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){e.componentInstance.$off("blur",t)}});if(this.el){wu(this.el,n,r);var i=ys(this.el)?"change":"blur";wu(this.el,i,t),this.watchers.push({tag:"class_input",unwatch:function(){e.el.removeEventListener(n,r)}}),this.watchers.push({tag:"class_blur",unwatch:function(){e.el.removeEventListener(i,t)}})}}},$u.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!gs(this.el))&&this.value!==this.initialValue},$u.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model&&this.model.lazy?"change":gs(this.el)?"input":"change"},$u.prototype._determineEventList=function(e){var t=this;return!this.events.length||this.componentInstance||gs(this.el)?[].concat(this.events).map((function(e){return"input"===e&&t.model&&t.model.lazy?"change":e})):this.events.map((function(t){return"input"===t?e:t}))},$u.prototype.addValueListeners=function(){var e=this;if(this.unwatch(/^input_.+/),this.listen&&this.el){var t={cancelled:!1},n=this.targetOf?function(){var t=e.validator._resolveField("#"+e.targetOf);t&&t.flags.validated&&e.validator.validate("#"+e.targetOf)}:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];(0===n.length||gu(n[0]))&&(n[0]=e.value),e.flags.pending=!0,e._cancellationToken=t,e.validator.validate("#"+e.id,n[0])},r=this._determineInputEvent(),i=this._determineEventList(r);if(Zs(i,r)){var a=null,o=null,s=!1;if(this.model&&this.model.expression&&(a=this.vm,o=this.model.expression,s=!0),!o&&this.componentInstance&&this.componentInstance.$options.model&&(a=this.componentInstance,o=this.componentInstance.$options.model.prop||"value"),a&&o){var u=As(n,this.delay[r],t),c=a.$watch(o,u);this.watchers.push({tag:"input_model",unwatch:function(){e.vm.$nextTick((function(){c()}))}}),s&&(i=i.filter((function(e){return e!==r})))}}i.forEach((function(r){var i=As(n,e.delay[r],t);e._addComponentEventListener(r,i),e._addHTMLEventListener(r,i)}))}},$u.prototype._addComponentEventListener=function(e,t){var n=this;this.componentInstance&&(this.componentInstance.$on(e,t),this.watchers.push({tag:"input_vue",unwatch:function(){n.componentInstance.$off(e,t)}}))},$u.prototype._addHTMLEventListener=function(e,t){var n=this;if(this.el&&!this.componentInstance){var r=function(r){wu(r,e,t),n.watchers.push({tag:"input_native",unwatch:function(){r.removeEventListener(e,t)}})};if(r(this.el),ys(this.el)){var i=document.querySelectorAll('input[name="'+this.el.name+'"]');Is(i).forEach((function(e){e._veeValidateId&&e!==n.el||r(e)}))}}},$u.prototype.updateAriaAttrs=function(){var e=this;if(this.aria&&this.el&&Ns(this.el.setAttribute)){var t=function(t){t.setAttribute("aria-required",e.isRequired?"true":"false"),t.setAttribute("aria-invalid",e.flags.invalid?"true":"false")};if(ys(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');Is(n).forEach(t)}else t(this.el)}},$u.prototype.updateCustomValidity=function(){this.validity&&this.el&&Ns(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},$u.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach((function(e){return e.field.destroy()})),this.dependencies=[]},Object.defineProperties($u.prototype,xu);var Cu=function(e){void 0===e&&(e=[]),this.items=e||[],this.itemsById=this.items.reduce((function(e,t){return e[t.id]=t,e}),{})},Au={length:{configurable:!0}};Cu.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var e=this,t=0;return{next:function(){return{value:e.items[t++],done:t>e.items.length}}}},Au.length.get=function(){return this.items.length},Cu.prototype.find=function(e){return Us(this.items,(function(t){return t.matches(e)}))},Cu.prototype.findById=function(e){return this.itemsById[e]||null},Cu.prototype.filter=function(e){return Array.isArray(e)?this.items.filter((function(t){return e.some((function(e){return t.matches(e)}))})):this.items.filter((function(t){return t.matches(e)}))},Cu.prototype.map=function(e){return this.items.map(e)},Cu.prototype.remove=function(e){var t=null;if(!(t=e instanceof $u?e:this.find(e)))return null;var n=this.items.indexOf(t);return this.items.splice(n,1),delete this.itemsById[t.id],t},Cu.prototype.push=function(e){if(!(e instanceof $u))throw Ss("FieldBag only accepts instances of Field that has an id defined.");if(!e.id)throw Ss("Field id must be defined.");if(this.findById(e.id))throw Ss("Field with id "+e.id+" is already added.");this.items.push(e),this.itemsById[e.id]=e},Object.defineProperties(Cu.prototype,Au);var Tu=function(e,t){this.id=t._uid,this._base=e,this._paused=!1,this.errors=new tu(e.errors,this.id)},ku={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};ku.flags.get=function(){var e=this;return this._base.fields.items.filter((function(t){return t.vmId===e.id})).reduce((function(e,t){return t.scope&&(e["$"+t.scope]||(e["$"+t.scope]={}),e["$"+t.scope][t.name]=t.flags),e[t.name]=t.flags,e}),{})},ku.rules.get=function(){return this._base.rules},ku.fields.get=function(){return new Cu(this._base.fields.filter({vmId:this.id}))},ku.dictionary.get=function(){return this._base.dictionary},ku.locale.get=function(){return this._base.locale},ku.locale.set=function(e){this._base.locale=e},Tu.prototype.localize=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).localize.apply(e,t)},Tu.prototype.update=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).update.apply(e,t)},Tu.prototype.attach=function(e){var t=js({},e,{vmId:this.id});return this._base.attach(t)},Tu.prototype.pause=function(){this._paused=!0},Tu.prototype.resume=function(){this._paused=!1},Tu.prototype.remove=function(e){return this._base.remove(e)},Tu.prototype.detach=function(e,t){return this._base.detach(e,t,this.id)},Tu.prototype.extend=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).extend.apply(e,t)},Tu.prototype.validate=function(e,t,n){return void 0===n&&(n={}),this._paused?Promise.resolve(!0):this._base.validate(e,t,js({},{vmId:this.id},n||{}))},Tu.prototype.verify=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).verify.apply(e,t)},Tu.prototype.validateAll=function(e,t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateAll(e,js({},{vmId:this.id},t||{}))},Tu.prototype.validateScopes=function(e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateScopes(js({},{vmId:this.id},e||{}))},Tu.prototype.destroy=function(){delete this.id,delete this._base},Tu.prototype.reset=function(e){return this._base.reset(Object.assign({},e||{},{vmId:this.id}))},Tu.prototype.flag=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).flag.apply(e,t.concat([this.id]))},Tu.prototype._resolveField=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base)._resolveField.apply(e,t)},Object.defineProperties(Tu.prototype,ku);var Ou=null,Su=function(){return Ou},Du={provide:function(){return this.$validator&&!Rs(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!Rs(this.$vnode)&&!1!==this.$options.$__veeInject){this.$parent||au(this.$options.$_veeValidate||{});var e=ru(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Tu(Su(),this));var t,n=(t=this.$options.inject,!(!Ds(t)||!t.$validator));if(this.$validator||!e.inject||n||(this.$validator=new Tu(Su(),this)),n||this.$validator){if(!n&&this.$validator)this.$options._base.util.defineReactive(this.$validator,"errors",this.$validator.errors);this.$options.computed||(this.$options.computed={}),this.$options.computed[e.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[e.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce((function(e,t){return t.scope?(e["$"+t.scope]||(e["$"+t.scope]={}),e["$"+t.scope][t.name]=t.flags,e):(e[t.name]=t.flags,e)}),{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function Nu(e,t){return t&&t.$validator?t.$validator.fields.findById(e._veeValidateId):null}var Eu={bind:function(e,t,n){var r=n.context.$validator;if(r){var i=vu.generate(e,t,n);r.attach(i)}},inserted:function(e,t,n){var r=Nu(e,n.context),i=vu.resolveScope(e,t,n);r&&i!==r.scope&&(r.update({scope:i}),r.updated=!1)},update:function(e,t,n){var r=Nu(e,n.context);if(!(!r||r.updated&&$s(t.value,t.oldValue))){var i=vu.resolveScope(e,t,n),a=vu.resolveRules(e,t,n);r.update({scope:i,rules:a})}},unbind:function(e,t,n){var r=n.context,i=Nu(e,r);i&&r.$validator.detach(i)}},Mu=function(e,t,n){void 0===t&&(t={fastExit:!0}),void 0===n&&(n=null),this.errors=new tu,this.fields=new Cu,this._createFields(e),this.paused=!1,this.fastExit=!!_s(t&&t.fastExit)||t.fastExit,this.$vee=n||{_vm:{$nextTick:function(e){return Ns(e)?e():Promise.resolve()},$emit:function(){},$off:function(){}}}},Iu={rules:{configurable:!0},dictionary:{configurable:!0},flags:{configurable:!0},locale:{configurable:!0}},Fu={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Fu.rules.get=function(){return hu.rules},Iu.rules.get=function(){return hu.rules},Iu.dictionary.get=function(){return eu.getDriver()},Fu.dictionary.get=function(){return eu.getDriver()},Iu.flags.get=function(){return this.fields.items.reduce((function(e,t){var n;return t.scope?(e["$"+t.scope]=((n={})[t.name]=t.flags,n),e):(e[t.name]=t.flags,e)}),{})},Iu.locale.get=function(){return Mu.locale},Iu.locale.set=function(e){Mu.locale=e},Fu.locale.get=function(){return eu.getDriver().locale},Fu.locale.set=function(e){var t=e!==eu.getDriver().locale;eu.getDriver().locale=e,t&&Mu.$vee&&Mu.$vee._vm&&Mu.$vee._vm.$emit("localeChanged")},Mu.create=function(e,t){return new Mu(e,t)},Mu.extend=function(e,t,n){void 0===n&&(n={}),Mu._guardExtend(e,t);var r=t.options||{};Mu._merge(e,{validator:t,paramNames:n&&n.paramNames||t.paramNames,options:js({hasTarget:!1,immediate:!0},r,n||{})})},Mu.remove=function(e){hu.remove(e)},Mu.prototype.localize=function(e,t){Mu.localize(e,t)},Mu.localize=function(e,t){var n;if(Ds(e))eu.getDriver().merge(e);else{if(t){var r=e||t.name;t=js({},t),eu.getDriver().merge(((n={})[r]=t,n))}e&&(Mu.locale=e)}},Mu.prototype.attach=function(e){var t=this,n={name:e.name,scope:e.scope,persist:!0},r=e.persist?this.fields.find(n):null;r&&(e.flags=r.flags,r.destroy(),this.fields.remove(r));var i=e.initialValue,a=new $u(e);return this.fields.push(a),a.immediate?this.$vee._vm.$nextTick((function(){return t.validate("#"+a.id,i||a.value,{vmId:e.vmId})})):this._validate(a,i||a.value,{initial:!0}).then((function(e){a.flags.valid=e.valid,a.flags.invalid=!e.valid})),a},Mu.prototype.flag=function(e,t,n){void 0===n&&(n=null);var r=this._resolveField(e,void 0,n);r&&t&&r.setFlags(t)},Mu.prototype.detach=function(e,t,n){var r=Ns(e.destroy)?e:this._resolveField(e,t,n);r&&(r.persist||(r.destroy(),this.errors.remove(r.name,r.scope,r.vmId),this.fields.remove(r)))},Mu.prototype.extend=function(e,t,n){void 0===n&&(n={}),Mu.extend(e,t,n)},Mu.prototype.reset=function(e){var t=this;return this.$vee._vm.$nextTick().then((function(){return t.$vee._vm.$nextTick()})).then((function(){t.fields.filter(e).forEach((function(n){n.waitFor(null),n.reset(),t.errors.remove(n.name,n.scope,e&&e.vmId)}))}))},Mu.prototype.update=function(e,t){var n=t.scope;this._resolveField("#"+e)&&this.errors.update(e,{scope:n})},Mu.prototype.remove=function(e){Mu.remove(e)},Mu.prototype.validate=function(e,t,n){var r=this;void 0===n&&(n={});var i=n.silent,a=n.vmId;if(this.paused)return Promise.resolve(!0);if(_s(e))return this.validateScopes({silent:i,vmId:a});if("*"===e)return this.validateAll(void 0,{silent:i,vmId:a});if(/^(.+)\.\*$/.test(e)){var o=e.match(/^(.+)\.\*$/)[1];return this.validateAll(o)}var s=this._resolveField(e);if(!s)return this._handleFieldNotFound(e);i||(s.flags.pending=!0),void 0===t&&(t=s.value);var u=this._validate(s,t);return s.waitFor(u),u.then((function(e){return!i&&s.isWaitingFor(u)&&(s.waitFor(null),r._handleValidationResults([e],a)),e.valid}))},Mu.prototype.pause=function(){return this.paused=!0,this},Mu.prototype.resume=function(){return this.paused=!1,this},Mu.prototype.validateAll=function(e,t){var n=this;void 0===t&&(t={});var r=t.silent,i=t.vmId;if(this.paused)return Promise.resolve(!0);var a=null,o=!1;return"string"==typeof e?a={scope:e,vmId:i}:Ds(e)?(a=Object.keys(e).map((function(e){return{name:e,vmId:i,scope:null}})),o=!0):a=Array.isArray(e)?e.map((function(e){return"object"==typeof e?Object.assign({vmId:i},e):{name:e,vmId:i}})):{scope:null,vmId:i},Promise.all(this.fields.filter(a).map((function(t){return n._validate(t,o?e[t.name]:t.value)}))).then((function(e){return r||n._handleValidationResults(e,i),e.every((function(e){return e.valid}))}))},Mu.prototype.validateScopes=function(e){var t=this;void 0===e&&(e={});var n=e.silent,r=e.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:r}).map((function(e){return t._validate(e,e.value)}))).then((function(e){return n||t._handleValidationResults(e,r),e.every((function(e){return e.valid}))}))},Mu.prototype.verify=function(e,t,n){void 0===n&&(n={});var r={name:n&&n.name||"{field}",rules:ks(t),bails:Cs("bails",n,!0),forceRequired:!1,get isRequired(){return!!this.rules.required||this.forceRequired}},i=Object.keys(r.rules).filter(hu.isTargetRule);return i.length&&n&&Ds(n.values)&&(r.dependencies=i.map((function(e){var t=r.rules[e][0];return{name:e,field:{value:n.values[t]}}}))),this._validate(r,e).then((function(e){var t=[],n={};return e.errors.forEach((function(e){t.push(e.msg),n[e.rule]=e.msg})),{valid:e.valid,errors:t,failedRules:n}}))},Mu.prototype.destroy=function(){this.$vee._vm.$off("localeChanged")},Mu.prototype._createFields=function(e){var t=this;e&&Object.keys(e).forEach((function(n){var r=js({},{name:n,rules:e[n]});t.attach(r)}))},Mu.prototype._getDateFormat=function(e){var t=null;return e.date_format&&Array.isArray(e.date_format)&&(t=e.date_format[0]),t||eu.getDriver().getDateFormat(this.locale)},Mu.prototype._formatErrorMessage=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r=null);var i=this._getFieldDisplayName(e),a=this._getLocalizedParams(t,r);return eu.getDriver().getFieldMessage(this.locale,e.name,t.name,[i,a,n])},Mu.prototype._convertParamObjectToArray=function(e,t){if(Array.isArray(e))return e;var n=hu.getParamNames(t);return n&&Ds(e)?n.reduce((function(t,n){return n in e&&t.push(e[n]),t}),[]):e},Mu.prototype._getLocalizedParams=function(e,t){void 0===t&&(t=null);var n=this._convertParamObjectToArray(e.params,e.name);return e.options.hasTarget&&n&&n[0]?[t||eu.getDriver().getAttribute(this.locale,n[0],n[0])].concat(n.slice(1)):n},Mu.prototype._getFieldDisplayName=function(e){return e.alias||eu.getDriver().getAttribute(this.locale,e.name,e.name)},Mu.prototype._convertParamArrayToObj=function(e,t){var n=hu.getParamNames(t);if(!n)return e;if(Ds(e)){if(n.some((function(t){return-1!==Object.keys(e).indexOf(t)})))return e;e=[e]}return e.reduce((function(e,t,r){return e[n[r]]=t,e}),{})},Mu.prototype._test=function(e,t,n){var r=this,i=hu.getValidatorMethod(n.name),a=Array.isArray(n.params)?Is(n.params):n.params;a||(a=[]);var o=null;if(!i||"function"!=typeof i)return Promise.reject(Ss("No such validator '"+n.name+"' exists."));if(n.options.hasTarget&&e.dependencies){var s=Us(e.dependencies,(function(e){return e.name===n.name}));s&&(o=s.field.alias,a=[s.field.value].concat(a.slice(1)))}else"required"===n.name&&e.rejectsFalse&&(a=a.length?a:[!0]);if(n.options.isDate){var u=this._getDateFormat(e.rules);"date_format"!==n.name&&a.push(u)}var c=i(t,this._convertParamArrayToObj(a,n.name));return Ns(c.then)?c.then((function(t){var i=!0,a={};return Array.isArray(t)?i=t.every((function(e){return Ds(e)?e.valid:e})):(i=Ds(t)?t.valid:t,a=t.data),{valid:i,data:c.data,errors:i?[]:[r._createFieldError(e,n,a,o)]}})):(Ds(c)||(c={valid:c,data:{}}),{valid:c.valid,data:c.data,errors:c.valid?[]:[this._createFieldError(e,n,c.data,o)]})},Mu._merge=function(e,t){var n=t.validator,r=t.options,i=t.paramNames,a=Ns(n)?n:n.validate;n.getMessage&&eu.getDriver().setMessage(Mu.locale,e,n.getMessage),hu.add(e,{validate:a,options:r,paramNames:i})},Mu._guardExtend=function(e,t){if(!Ns(t)&&!Ns(t.validate))throw Ss("Extension Error: The validator '"+e+"' must be a function or have a 'validate' method.")},Mu.prototype._createFieldError=function(e,t,n,r){var i=this;return{id:e.id,vmId:e.vmId,field:e.name,msg:this._formatErrorMessage(e,t,n,r),rule:t.name,scope:e.scope,regenerate:function(){return i._formatErrorMessage(e,t,n,r)}}},Mu.prototype._resolveField=function(e,t,n){if("#"===e[0])return this.fields.findById(e.slice(1));if(!_s(t))return this.fields.find({name:e,scope:t,vmId:n});if(Zs(e,".")){var r=e.split("."),i=r[0],a=r.slice(1),o=this.fields.find({name:a.join("."),scope:i,vmId:n});if(o)return o}return this.fields.find({name:e,scope:null,vmId:n})},Mu.prototype._handleFieldNotFound=function(e,t){var n=_s(t)?e:(_s(t)?"":t+".")+e;return Promise.reject(Ss('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},Mu.prototype._handleValidationResults=function(e,t){var n=this,r=e.map((function(e){return{id:e.id}}));this.errors.removeById(r.map((function(e){return e.id}))),e.forEach((function(e){n.errors.remove(e.field,e.scope,t)}));var i=e.reduce((function(e,t){return e.push.apply(e,t.errors),e}),[]);this.errors.add(i),this.fields.filter(r).forEach((function(t){var n=Us(e,(function(e){return e.id===t.id}));t.setFlags({pending:!1,valid:n.valid,validated:!0})}))},Mu.prototype._shouldSkip=function(e,t){return!1!==e.bails&&(!(!e.isDisabled||!iu().useConstraintAttrs)||!e.isRequired&&(_s(t)||""===t||Ys(t)))},Mu.prototype._shouldBail=function(e){return void 0!==e.bails?e.bails:this.fastExit},Mu.prototype._validate=function(e,t,n){var r=this;void 0===n&&(n={});var i=n.initial,a=Object.keys(e.rules).filter(hu.isRequireRule);if(e.forceRequired=!1,a.forEach((function(n){var i=hu.getOptions(n),a=r._test(e,t,{name:n,params:e.rules[n],options:i});if(Ns(a.then))throw Ss("Require rules cannot be async");if(!Ds(a))throw Ss("Require rules has to return an object (see docs)");!0===a.data.required&&(e.forceRequired=!0)})),this._shouldSkip(e,t))return Promise.resolve({valid:!0,id:e.id,field:e.name,scope:e.scope,errors:[]});var o=[],s=[],u=!1;return Ns(e.checkValueChanged)&&(e.flags.changed=e.checkValueChanged()),Object.keys(e.rules).filter((function(e){return!i||!hu.has(e)||hu.isImmediate(e)})).some((function(n){var i=hu.getOptions(n),a=r._test(e,t,{name:n,params:e.rules[n],options:i});return Ns(a.then)?o.push(a):!a.valid&&r._shouldBail(e)?(s.push.apply(s,a.errors),u=!0):o.push(new Promise((function(e){return e(a)}))),u})),u?Promise.resolve({valid:!1,errors:s,id:e.id,field:e.name,scope:e.scope}):Promise.all(o).then((function(t){return t.reduce((function(e,t){var n;return t.valid||(n=e.errors).push.apply(n,t.errors),e.valid=e.valid&&t.valid,e}),{valid:!0,errors:s,id:e.id,field:e.name,scope:e.scope})}))},Object.defineProperties(Mu.prototype,Iu),Object.defineProperties(Mu,Fu);var ju=function(e){return Ds(e)?Object.keys(e).reduce((function(t,n){return t[n]=ju(e[n]),t}),{}):Ns(e)?e("{0}",["{1}","{2}","{3}"]):e},Pu=function(e,t){this.i18n=e,this.rootKey=t},Lu={locale:{configurable:!0}};Lu.locale.get=function(){return this.i18n.locale},Lu.locale.set=function(e){Os("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},Pu.prototype.getDateFormat=function(e){return this.i18n.getDateTimeFormat(e||this.locale)},Pu.prototype.setDateFormat=function(e,t){this.i18n.setDateTimeFormat(e||this.locale,t)},Pu.prototype.getMessage=function(e,t,n){var r=this.rootKey+".messages."+t,i=n;return Array.isArray(n)&&(i=[].concat.apply([],n)),this.i18n.te(r)?this.i18n.t(r,i):this.i18n.te(r,this.i18n.fallbackLocale)?this.i18n.t(r,this.i18n.fallbackLocale,i):this.i18n.t(this.rootKey+".messages._default",i)},Pu.prototype.getAttribute=function(e,t,n){void 0===n&&(n="");var r=this.rootKey+".attributes."+t;return this.i18n.te(r)?this.i18n.t(r):n},Pu.prototype.getFieldMessage=function(e,t,n,r){var i=this.rootKey+".custom."+t+"."+n;return this.i18n.te(i)?this.i18n.t(i,r):this.getMessage(e,n,r)},Pu.prototype.merge=function(e){var t=this;Object.keys(e).forEach((function(n){var r,i=Bs({},Cs(n+"."+t.rootKey,t.i18n.messages,{})),a=Bs(i,function(e){var t={};return e.messages&&(t.messages=ju(e.messages)),e.custom&&(t.custom=ju(e.custom)),e.attributes&&(t.attributes=e.attributes),_s(e.dateFormat)||(t.dateFormat=e.dateFormat),t}(e[n]));t.i18n.mergeLocaleMessage(n,((r={})[t.rootKey]=a,r)),a.dateFormat&&t.i18n.setDateTimeFormat(n,a.dateFormat)}))},Pu.prototype.setMessage=function(e,t,n){var r,i;this.merge(((i={})[e]={messages:(r={},r[t]=n,r)},i))},Pu.prototype.setAttribute=function(e,t,n){var r,i;this.merge(((i={})[e]={attributes:(r={},r[t]=n,r)},i))},Object.defineProperties(Pu.prototype,Lu);var qu,Uu,Ru,Hu={aggressive:function(){return{on:["input"]}},eager:function(e){return e.errors.length?{on:["input"]}:{on:["change","blur"]}},passive:function(){return{on:[]}},lazy:function(){return{on:["change"]}}},Bu=function(e,t){var n;this.configure(e),Ru=this,t&&(qu=t),this._validator=(n=new Mu(null,{fastExit:e&&e.fastExit},this),Ou=n,n),this._initVM(this.config),this._initI18n(this.config)},zu={i18nDriver:{configurable:!0},config:{configurable:!0}},Vu={i18nDriver:{configurable:!0},config:{configurable:!0}};Bu.setI18nDriver=function(e,t){eu.setDriver(e,t)},Bu.configure=function(e){au(e)},Bu.setMode=function(e,t){if(au({mode:e}),t){if(!Ns(t))throw new Error("A mode implementation must be a function");Hu[e]=t}},Bu.use=function(e,t){return void 0===t&&(t={}),Ns(e)?Ru?void e({Validator:Mu,ErrorBag:tu,Rules:Mu.rules},t):(Uu||(Uu=[]),void Uu.push({plugin:e,options:t})):Os("The plugin must be a callable function")},Bu.install=function(e,t){qu&&e===qu||(qu=e,Ru=new Bu(t),Mu.$vee=Ru,function(){try{var e=Object.defineProperty({},"passive",{get:function(){bu=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(e){bu=!1}}(),qu.mixin(Du),qu.directive("validate",Eu),Uu&&(Uu.forEach((function(e){var t=e.plugin,n=e.options;Bu.use(t,n)})),Uu=null))},zu.i18nDriver.get=function(){return eu.getDriver()},Vu.i18nDriver.get=function(){return eu.getDriver()},zu.config.get=function(){return iu()},Vu.config.get=function(){return iu()},Bu.prototype._initVM=function(e){var t=this;this._vm=new qu({data:function(){return{errors:t._validator.errors,fields:t._validator.fields}}})},Bu.prototype._initI18n=function(e){var t=this,n=e.dictionary,r=e.i18n,i=e.i18nRootKey,a=e.locale,o=function(){n&&t.i18nDriver.merge(n),t._validator.errors.regenerate()};r?(Bu.setI18nDriver("i18n",new Pu(r,i)),r._vm.$watch("locale",o)):"undefined"!=typeof window&&this._vm.$on("localeChanged",o),n&&this.i18nDriver.merge(n),a&&!r&&this._validator.localize(a)},Bu.prototype.configure=function(e){au(e)},Object.defineProperties(Bu.prototype,zu),Object.defineProperties(Bu,Vu),Bu.mixin=Du,Bu.directive=Eu,Bu.Validator=Mu,Bu.ErrorBag=tu;var Zu,Yu={name:"en",messages:{_default:function(e){return"The "+e+" value is not valid"},after:function(e,t){var n=t[0];return"The "+e+" must be after "+(t[1]?"or equal to ":"")+n},alpha:function(e){return"The "+e+" field may only contain alphabetic characters"},alpha_dash:function(e){return"The "+e+" field may contain alpha-numeric characters as well as dashes and underscores"},alpha_num:function(e){return"The "+e+" field may only contain alpha-numeric characters"},alpha_spaces:function(e){return"The "+e+" field may only contain alphabetic characters as well as spaces"},before:function(e,t){var n=t[0];return"The "+e+" must be before "+(t[1]?"or equal to ":"")+n},between:function(e,t){return"The "+e+" field must be between "+t[0]+" and "+t[1]},confirmed:function(e){return"The "+e+" confirmation does not match"},credit_card:function(e){return"The "+e+" field is invalid"},date_between:function(e,t){return"The "+e+" must be between "+t[0]+" and "+t[1]},date_format:function(e,t){return"The "+e+" must be in the format "+t[0]},decimal:function(e,t){void 0===t&&(t=[]);var n=t[0];return void 0===n&&(n="*"),"The "+e+" field must be numeric and may contain"+(n&&"*"!==n?" "+n:"")+" decimal points"},digits:function(e,t){return"The "+e+" field must be numeric and contains exactly "+t[0]+" digits"},dimensions:function(e,t){return"The "+e+" field must be "+t[0]+" pixels by "+t[1]+" pixels"},email:function(e){return"The "+e+" field must be a valid email"},excluded:function(e){return"The "+e+" field must be a valid value"},ext:function(e){return"The "+e+" field must be a valid file"},image:function(e){return"The "+e+" field must be an image"},included:function(e){return"The "+e+" field must be a valid value"},integer:function(e){return"The "+e+" field must be an integer"},ip:function(e){return"The "+e+" field must be a valid ip address"},ip_or_fqdn:function(e){return"The "+e+" field must be a valid ip address or FQDN"},length:function(e,t){var n=t[0],r=t[1];return r?"The "+e+" length must be between "+n+" and "+r:"The "+e+" length must be "+n},max:function(e,t){return"The "+e+" field may not be greater than "+t[0]+" characters"},max_value:function(e,t){return"The "+e+" field must be "+t[0]+" or less"},mimes:function(e){return"The "+e+" field must have a valid file type"},min:function(e,t){return"The "+e+" field must be at least "+t[0]+" characters"},min_value:function(e,t){return"The "+e+" field must be "+t[0]+" or more"},numeric:function(e){return"The "+e+" field may only contain numeric characters"},regex:function(e){return"The "+e+" field format is invalid"},required:function(e){return"The "+e+" field is required"},required_if:function(e,t){return"The "+e+" field is required when the "+t[0]+" field has this value"},size:function(e,t){return"The "+e+" size must be less than "+function(e){var t=1024,n=0==(e=Number(e)*t)?0:Math.floor(Math.log(e)/Math.log(t));return 1*(e/Math.pow(t,n)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}(t[0])},url:function(e){return"The "+e+" field is not a valid URL"}},attributes:{}};function Wu(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((Zu={})[Yu.name]=Yu,Zu));function Gu(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*n+t.getTime()%6e4}var Xu=36e5,Qu=6e4,Ku={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Ju(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=null==n.additionalDigits?2:Wu(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i=ec(e),a=tc(i.date,r),o=a.year,s=a.restDateString,u=nc(s,o);if(isNaN(u))return new Date(NaN);if(u){var c,l=u.getTime(),f=0;if(i.time&&(f=rc(i.time),isNaN(f)))return new Date(NaN);if(i.timezone){if(c=ic(i.timezone),isNaN(c))return new Date(NaN)}else c=Gu(new Date(l+f)),c=Gu(new Date(l+f+c));return new Date(l+f+c)}return new Date(NaN)}function ec(e){var t,n={},r=e.split(Ku.dateTimeDelimeter);if(Ku.plainTime.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1],Ku.timeZoneDelimeter.test(n.date)&&(n.date=e.split(Ku.timeZoneDelimeter)[0],t=e.substr(n.date.length,e.length))),t){var i=Ku.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function tc(e,t){var n,r=Ku.YYY[t],i=Ku.YYYYY[t];if(n=Ku.YYYY.exec(e)||i.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=Ku.YY.exec(e)||r.exec(e)){var o=n[1];return{year:100*parseInt(o,10),restDateString:e.slice(o.length)}}return{year:null}}function nc(e,t){if(null===t)return null;var n,r,i,a;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=Ku.MM.exec(e))return r=new Date(0),cc(t,i=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,i),r):new Date(NaN);if(n=Ku.DDD.exec(e)){r=new Date(0);var o=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=uc(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(n=Ku.MMDD.exec(e)){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return cc(t,i,s)?(r.setUTCFullYear(t,i,s),r):new Date(NaN)}if(n=Ku.Www.exec(e))return lc(t,a=parseInt(n[1],10)-1)?ac(t,a):new Date(NaN);if(n=Ku.WwwD.exec(e)){a=parseInt(n[1],10)-1;var u=parseInt(n[2],10)-1;return lc(t,a,u)?ac(t,a,u):new Date(NaN)}return null}function rc(e){var t,n,r;if(t=Ku.HH.exec(e))return fc(n=parseFloat(t[1].replace(",",".")))?n%24*Xu:NaN;if(t=Ku.HHMM.exec(e))return fc(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*Xu+r*Qu:NaN;if(t=Ku.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return fc(n,r,i)?n%24*Xu+r*Qu+1e3*i:NaN}return null}function ic(e){var t,n,r;if(t=Ku.timezoneZ.exec(e))return 0;if(t=Ku.timezoneHH.exec(e))return r=parseInt(t[2],10),dc()?(n=r*Xu,"+"===t[1]?-n:n):NaN;if(t=Ku.timezoneHHMM.exec(e)){r=parseInt(t[2],10);var i=parseInt(t[3],10);return dc(r,i)?(n=r*Xu+i*Qu,"+"===t[1]?-n:n):NaN}return 0}function ac(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}var oc=[31,28,31,30,31,30,31,31,30,31,30,31],sc=[31,29,31,30,31,30,31,31,30,31,30,31];function uc(e){return e%400==0||e%4==0&&e%100!=0}function cc(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=uc(e);if(r&&n>sc[t])return!1;if(!r&&n>oc[t])return!1}return!0}function lc(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function fc(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}function dc(e,t){return null==t||!(t<0||t>59)}function vc(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Ju(e,n).getTime(),i=Wu(t);return new Date(r+i)}function pc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ju(e,t);return!isNaN(n)}var hc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function mc(e){return function(t){var n=t||{},r=n.width?String(n.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var gc={date:mc({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:mc({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:mc({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},yc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function bc(e){return function(t,n){var r=n||{},i=r.width?String(r.width):e.defaultWidth;return("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues?e.formattingValues[i]||e.formattingValues[e.defaultFormattingWidth]:e.values[i]||e.values[e.defaultWidth])[e.argumentCallback?e.argumentCallback(t):t]}}function wc(e){return function(t,n){var r=String(t),i=n||{},a=i.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=r.match(o);if(!s)return null;var u,c=s[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(l)?l.findIndex((function(e){return e.test(r)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(l,(function(e){return e.test(r)})),u=e.valueCallback?e.valueCallback(u):u,{value:u=i.valueCallback?i.valueCallback(u):u,rest:r.slice(c.length)}}}var _c,$c={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof hc[e]?hc[e]:1===t?hc[e].one:hc[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:gc,formatRelative:function(e,t,n,r){return yc[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:bc({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:bc({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:bc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:bc({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:bc({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaulFormattingWidth:"wide"})},match:{ordinalNumber:(_c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},i=n.match(_c.matchPattern);if(!i)return null;var a=i[0],o=n.match(_c.parsePattern);if(!o)return null;var s=_c.valueCallback?_c.valueCallback(o[0]):o[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(a.length)}}),era:wc({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:wc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:wc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:wc({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wc({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},xc=864e5;function Cc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=1,r=Ju(e,t),i=r.getUTCDay(),a=(i=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Tc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ac(e,t),r=new Date(0);r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0);var i=Cc(r,t);return i}var kc=6048e5;function Oc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ju(e,t),r=Cc(n,t).getTime()-Tc(n,t).getTime();return Math.round(r/kc)+1}function Sc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:Wu(i),o=null==n.weekStartsOn?a:Wu(n.weekStartsOn);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=Ju(e,n),u=s.getUTCDay(),c=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(r+1,0,u),c.setUTCHours(0,0,0,0);var l=Sc(c,t),f=new Date(0);f.setUTCFullYear(r,0,u),f.setUTCHours(0,0,0,0);var d=Sc(f,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function Nc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.firstWeekContainsDate,a=null==i?1:Wu(i),o=null==n.firstWeekContainsDate?a:Wu(n.firstWeekContainsDate),s=Dc(e,t),u=new Date(0);u.setUTCFullYear(s,0,o),u.setUTCHours(0,0,0,0);var c=Sc(u,t);return c}var Ec=6048e5;function Mc(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ju(e,t),r=Sc(n,t).getTime()-Nc(n,t).getTime();return Math.round(r/Ec)+1}var Ic="midnight",Fc="noon",jc="morning",Pc="afternoon",Lc="evening",qc="night",Uc={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n,r){var i=e.getUTCFullYear(),a=i>0?i:1-i;return"yy"===t?Rc(a%100,2):"yo"===t?n.ordinalNumber(a,{unit:"year"}):Rc(a,t.length)},Y:function(e,t,n,r){var i=Dc(e,r),a=i>0?i:1-i;return"YY"===t?Rc(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):Rc(a,t.length)},R:function(e,t,n,r){return Rc(Ac(e,r),t.length)},u:function(e,t,n,r){return Rc(e.getUTCFullYear(),t.length)},Q:function(e,t,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return Rc(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return Rc(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n,r){var i=e.getUTCMonth();switch(t){case"M":return String(i+1);case"MM":return Rc(i+1,2);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n,r){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return Rc(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=Mc(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):Rc(i,t.length)},I:function(e,t,n,r){var i=Oc(e,r);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):Rc(i,t.length)},d:function(e,t,n,r){var i=e.getUTCDate();return"do"===t?n.ordinalNumber(i,{unit:"date"}):Rc(i,t.length)},D:function(e,t,n,r){var i=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ju(e,t),r=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime(),a=r-i;return Math.floor(a/xc)+1}(e,r);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):Rc(i,t.length)},E:function(e,t,n,r){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Rc(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Rc(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n,r){var i=e.getUTCDay(),a=0===i?7:i;switch(t){case"i":return String(a);case"ii":return Rc(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?Fc:0===i?Ic:i/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?Lc:i>=12?Pc:i>=4?jc:qc,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n,r){var i=e.getUTCHours()%12;return 0===i&&(i=12),"ho"===t?n.ordinalNumber(i,{unit:"hour"}):Rc(i,t.length)},H:function(e,t,n,r){var i=e.getUTCHours();return"Ho"===t?n.ordinalNumber(i,{unit:"hour"}):Rc(i,t.length)},K:function(e,t,n,r){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):Rc(i,t.length)},k:function(e,t,n,r){var i=e.getUTCHours();return 0===i&&(i=24),"ko"===t?n.ordinalNumber(i,{unit:"hour"}):Rc(i,t.length)},m:function(e,t,n,r){var i=e.getUTCMinutes();return"mo"===t?n.ordinalNumber(i,{unit:"minute"}):Rc(i,t.length)},s:function(e,t,n,r){var i=e.getUTCSeconds();return"so"===t?n.ordinalNumber(i,{unit:"second"}):Rc(i,t.length)},S:function(e,t,n,r){var i=t.length,a=e.getUTCMilliseconds();return Rc(Math.floor(a*Math.pow(10,i-3)),i)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return Bc(i);case"XXXX":case"XX":return Hc(i);case"XXXXX":case"XXX":default:return Hc(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return Bc(i);case"xxxx":case"xx":return Hc(i);case"xxxxx":case"xxx":default:return Hc(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+zc(i,":");case"OOOO":default:return"GMT"+Hc(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+zc(i,":");case"zzzz":default:return"GMT"+Hc(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return Rc(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return Rc((r._originalDate||e).getTime(),t.length)}};function Rc(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?"-":"+",i=Math.abs(e);return r+Rc(Math.floor(i/60),2)+n+Rc(i%60,2)}function Bc(e,t){return e%60==0?(e>0?"-":"+")+Rc(Math.abs(e)/60,2):Hc(e,t)}function zc(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;if(0===a)return n+String(i);var o=t||"";return n+String(i)+o+Rc(a,2)}function Vc(e,t,n){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Zc(e,t,n){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var Yc={p:Zc,P:function(e,t,n){var r,i=e.match(/(P+)(p+)?/),a=i[1],o=i[2];if(!o)return Vc(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",Vc(a,t)).replace("{{time}}",Zc(o,t))}};function Wc(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Wu(t);return vc(e,-r,n)}var Gc=["D","DD","YY","YYYY"];function Xc(e){return-1!==Gc.indexOf(e)}function Qc(e){throw new RangeError("`options.awareOfUnicodeTokens` must be set to `true` to use `"+e+"` token; see: https://git.io/fxCyr")}var Kc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,el=/^'(.*?)'?$/,tl=/''/g;function nl(e){return e.match(el)[1].replace(tl,"'")}function rl(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Ju(e,n),i=Ju(t,n);return r.getTime()>i.getTime()}function il(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Ju(e,n),i=Ju(t,n);return r.getTime()=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Ju(e,n),c=Wu(t),l=u.getUTCDay(),f=c%7,d=(f+7)%7,v=(d0,i=r?t:1-t;if(i<=50)n=e||100;else{var a=i+50;n=e+100*Math.floor(a/100)-(e>=a%100?100:0)}return r?n:1-n}var Ll=[31,28,31,30,31,30,31,31,30,31,30,31],ql=[31,29,31,30,31,30,31,31,30,31,30,31];function Ul(e){return e%400==0||e%4==0&&e%100!=0}var Rl={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n){return e.setUTCFullYear(1===t?10:-9,0,1),e.setUTCHours(0,0,0,0),e}},y:{priority:130,parse:function(e,t,n,r){var i=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return Il(4,e,i);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:i});default:return Il(t.length,e,i)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n){var r=Dc(e,n);if(t.isTwoDigitYear){var i=Pl(t.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a=r>0?t.year:1-t.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}},Y:{priority:130,parse:function(e,t,n,r){var i=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return Il(4,e,i);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:i});default:return Il(t.length,e,i)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n){var r=e.getUTCFullYear();if(t.isTwoDigitYear){var i=Pl(t.year,r);return e.setUTCFullYear(i,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Sc(e,n)}var a=r>0?t.year:1-t.year;return e.setUTCFullYear(a,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Sc(e,n)}},R:{priority:130,parse:function(e,t,n,r){return Fl("R"===t?4:t.length,e)},set:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),Cc(r)}},u:{priority:130,parse:function(e,t,n,r){return Fl("u"===t?4:t.length,e)},set:function(e,t,n){return e.setUTCFullYear(t,0,1),e.setUTCHours(0,0,0,0),e}},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return Il(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n){return e.setUTCMonth(3*(t-1),1),e.setUTCHours(0,0,0,0),e}},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return Il(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n){return e.setUTCMonth(3*(t-1),1),e.setUTCHours(0,0,0,0),e}},M:{priority:110,parse:function(e,t,n,r){var i=function(e){return e-1};switch(t){case"M":return Nl(sl,e,i);case"MM":return Il(2,e,i);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:i});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n){return e.setUTCMonth(t,1),e.setUTCHours(0,0,0,0),e}},L:{priority:110,parse:function(e,t,n,r){var i=function(e){return e-1};switch(t){case"L":return Nl(sl,e,i);case"LL":return Il(2,e,i);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:i});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n){return e.setUTCMonth(t,1),e.setUTCHours(0,0,0,0),e}},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return Nl(ll,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n){return Sc(function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Ju(e,n),i=Wu(t),a=Mc(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,t,n),n)}},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return Nl(ll,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n){return Cc(function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Ju(e,n),i=Wu(t),a=Oc(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,t,n),n)}},d:{priority:90,parse:function(e,t,n,r){switch(t){case"d":return Nl(ul,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Il(t.length,e)}},validate:function(e,t,n){var r=Ul(e.getUTCFullYear()),i=e.getUTCMonth();return r?t>=1&&t<=ql[i]:t>=1&&t<=Ll[i]},set:function(e,t,n){return e.setUTCDate(t),e.setUTCHours(0,0,0,0),e}},D:{priority:90,parse:function(e,t,n,r){switch(t){case"D":case"DD":return Nl(cl,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Il(t.length,e)}},validate:function(e,t,n){return Ul(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n){return e.setUTCMonth(0,t),e.setUTCHours(0,0,0,0),e}},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n){return(e=ol(e,t,n)).setUTCHours(0,0,0,0),e}},e:{priority:90,parse:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return Il(t.length,e,i);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:i});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n){return(e=ol(e,t,n)).setUTCHours(0,0,0,0),e}},c:{priority:90,parse:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return Il(t.length,e,i);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:i});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n){return(e=ol(e,t,n)).setUTCHours(0,0,0,0),e}},i:{priority:90,parse:function(e,t,n,r){var i=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return Il(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(e,{width:"short",context:"formatting",valueCallback:i})||n.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:i})||n.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:i})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(e,{width:"short",context:"formatting",valueCallback:i})||n.day(e,{width:"narrow",context:"formatting",valueCallback:i})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n){return(e=function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Wu(t);r%7==0&&(r-=7);var i=1,a=Ju(e,n),o=a.getUTCDay(),s=((r%7+7)%7=1&&t<=12},set:function(e,t,n){var r=e.getUTCHours()>=12;return r&&t<12?e.setUTCHours(t+12,0,0,0):r||12!==t?e.setUTCHours(t,0,0,0):e.setUTCHours(0,0,0,0),e}},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return Nl(fl,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n){return e.setUTCHours(t,0,0,0),e}},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return Nl(vl,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n){return e.getUTCHours()>=12&&t<12?e.setUTCHours(t+12,0,0,0):e.setUTCHours(t,0,0,0),e}},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return Nl(dl,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n){var r=t<=24?t%24:t;return e.setUTCHours(r,0,0,0),e}},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return Nl(hl,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n){return e.setUTCMinutes(t,0,0),e}},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return Nl(ml,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Il(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n){return e.setUTCSeconds(t,0),e}},S:{priority:40,parse:function(e,t,n,r){return Il(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n){return e.setUTCMilliseconds(t),e}},X:{priority:20,parse:function(e,t,n,r){switch(t){case"X":return El(Tl,e);case"XX":return El(kl,e);case"XXXX":return El(Ol,e);case"XXXXX":return El(Dl,e);case"XXX":default:return El(Sl,e)}},set:function(e,t,n){return new Date(e.getTime()-t)}},x:{priority:20,parse:function(e,t,n,r){switch(t){case"x":return El(Tl,e);case"xx":return El(kl,e);case"xxxx":return El(Ol,e);case"xxxxx":return El(Dl,e);case"xxx":default:return El(Sl,e)}},set:function(e,t,n){return new Date(e.getTime()-t)}},t:{priority:10,parse:function(e,t,n,r){return Ml(e)},set:function(e,t,n){return new Date(1e3*t)}},T:{priority:10,parse:function(e,t,n,r){return Ml(e)},set:function(e,t,n){return new Date(t)}}},Hl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Bl=/^'(.*?)'?$/,zl=/''/g,Vl=/\S/;function Zl(e){var t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}function Yl(e){return e.match(Bl)[1].replace(zl,"'")}function Wl(e,t){if("string"!=typeof e)return pc(e)?e:null;var n=function(e,t,n,r){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var i=String(e),a=String(t),o=r||{},s=o.locale||$c;if(!s.match)throw new RangeError("locale must contain match property");var u=s.options&&s.options.firstWeekContainsDate,c=null==u?1:Wu(u),l=null==o.firstWeekContainsDate?c:Wu(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=s.options&&s.options.weekStartsOn,d=null==f?0:Wu(f),v=null==o.weekStartsOn?d:Wu(o.weekStartsOn);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===a)return""===i?Ju(n,o):new Date(NaN);var p,h={firstWeekContainsDate:l,weekStartsOn:v,locale:s},m=[{priority:20,set:Zl,index:0}],g=a.match(Hl);for(p=0;p0&&Vl.test(i))return new Date(NaN);var $=m.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return m.filter((function(t){return t.priority===e})).reverse()})).map((function(e){return e[0]})),x=Ju(n,o);if(isNaN(x))return new Date(NaN);var C=Wc(x,Gu(x));for(p=0;p<$.length;p++){var A=$[p];if(A.validate&&!A.validate(C,A.value,h))return new Date(NaN);C=A.set(C,A.value,h)}return C}(e,t,new Date);return pc(n)&&function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=String(t),i=n||{},a=i.locale||$c,o=a.options&&a.options.firstWeekContainsDate,s=null==o?1:Wu(o),u=null==i.firstWeekContainsDate?s:Wu(i.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=a.options&&a.options.weekStartsOn,l=null==c?0:Wu(c),f=null==i.weekStartsOn?l:Wu(i.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!a.localize)throw new RangeError("locale must contain localize property");if(!a.formatLong)throw new RangeError("locale must contain formatLong property");var d=Ju(e,i);if(!pc(d,i))return"Invalid Date";var v=Gu(d),p=Wc(d,v,i),h={firstWeekContainsDate:u,weekStartsOn:f,locale:a,_originalDate:d};return r.match(Jc).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,Yc[t])(e,a.formatLong,h):e})).join("").match(Kc).map((function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return nl(e);var n=Uc[t];return n?(!i.awareOfUnicodeTokens&&Xc(e)&&Qc(e),n(p,e,a.localize,h)):e})).join("")}(n,t)===e?n:null}var Gl={validate:function(e,t){void 0===t&&(t={});var n=t.targetValue,r=t.inclusion;void 0===r&&(r=!1);var i=t.format;return void 0===i&&(i=r,r=!1),e=Wl(e,i),n=Wl(n,i),!(!e||!n)&&(rl(e,n)||r&&al(e,n))},options:{hasTarget:!0,isDate:!0},paramNames:["targetValue","inclusion","format"]},Xl={en:/^[A-Z]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[A-ZÆØÅ]*$/i,de:/^[A-ZÄÖÜß]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,it:/^[A-Z\xC0-\xFF]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ]*$/i,nl:/^[A-ZÉËÏÓÖÜ]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ru:/^[А-ЯЁ]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[A-ZČĆŽŠĐ]*$/i,sv:/^[A-ZÅÄÖ]*$/i,tr:/^[A-ZÇĞİıÖŞÜ]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,az:/^[A-ZÇƏĞİıÖŞÜ]*$/i},Ql={en:/^[A-Z\s]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\s]*$/i,da:/^[A-ZÆØÅ\s]*$/i,de:/^[A-ZÄÖÜß\s]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ\s]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی\s]*$/,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\s]*$/i,it:/^[A-Z\xC0-\xFF\s]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ\s]*$/i,nl:/^[A-ZÉËÏÓÖÜ\s]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ\s]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ\s]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s]*$/i,ru:/^[А-ЯЁ\s]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\s]*$/i,sr:/^[A-ZČĆŽŠĐ\s]*$/i,sv:/^[A-ZÅÄÖ\s]*$/i,tr:/^[A-ZÇĞİıÖŞÜ\s]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ\s]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\s]*$/,az:/^[A-ZÇƏĞİıÖŞÜ\s]*$/i},Kl={en:/^[0-9A-Z]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[0-9A-ZÆØÅ]$/i,de:/^[0-9A-ZÄÖÜß]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,fa:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,it:/^[0-9A-Z\xC0-\xFF]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ru:/^[0-9А-ЯЁ]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[0-9A-ZČĆŽŠĐ]*$/i,sv:/^[0-9A-ZÅÄÖ]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ]*$/i,uk:/^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,az:/^[0-9A-ZÇƏĞİıÖŞÜ]*$/i},Jl={en:/^[0-9A-Z_-]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ_-]*$/i,da:/^[0-9A-ZÆØÅ_-]*$/i,de:/^[0-9A-ZÄÖÜß_-]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ_-]*$/i,fa:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی_-]*$/,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ_-]*$/i,it:/^[0-9A-Z\xC0-\xFF_-]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ_-]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ_-]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ_-]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ_-]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ_-]*$/i,ru:/^[0-9А-ЯЁ_-]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ_-]*$/i,sr:/^[0-9A-ZČĆŽŠĐ_-]*$/i,sv:/^[0-9A-ZÅÄÖ_-]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ_-]*$/i,uk:/^[0-9А-ЩЬЮЯЄІЇҐ_-]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ_-]*$/,az:/^[0-9A-ZÇƏĞİıÖŞÜ_-]*$/i},ef=function(e,t){void 0===t&&(t={});var n=t.locale;return Array.isArray(e)?e.every((function(e){return ef(e,[n])})):n?(Xl[n]||Xl.en).test(e):Object.keys(Xl).some((function(t){return Xl[t].test(e)}))},tf={validate:ef,paramNames:["locale"]},nf=function(e,t){void 0===t&&(t={});var n=t.locale;return Array.isArray(e)?e.every((function(e){return nf(e,[n])})):n?(Jl[n]||Jl.en).test(e):Object.keys(Jl).some((function(t){return Jl[t].test(e)}))},rf={validate:nf,paramNames:["locale"]},af=function(e,t){void 0===t&&(t={});var n=t.locale;return Array.isArray(e)?e.every((function(e){return af(e,[n])})):n?(Kl[n]||Kl.en).test(e):Object.keys(Kl).some((function(t){return Kl[t].test(e)}))},of={validate:af,paramNames:["locale"]},sf=function(e,t){void 0===t&&(t={});var n=t.locale;return Array.isArray(e)?e.every((function(e){return sf(e,[n])})):n?(Ql[n]||Ql.en).test(e):Object.keys(Ql).some((function(t){return Ql[t].test(e)}))},uf={validate:sf,paramNames:["locale"]},cf={validate:function(e,t){void 0===t&&(t={});var n=t.targetValue,r=t.inclusion;void 0===r&&(r=!1);var i=t.format;return void 0===i&&(i=r,r=!1),e=Wl(e,i),n=Wl(n,i),!(!e||!n)&&(il(e,n)||r&&al(e,n))},options:{hasTarget:!0,isDate:!0},paramNames:["targetValue","inclusion","format"]},lf=function(e,t){void 0===t&&(t={});var n=t.min,r=t.max;return Array.isArray(e)?e.every((function(e){return lf(e,{min:n,max:r})})):Number(n)<=e&&Number(r)>=e},ff={validate:lf,paramNames:["min","max"]},df={validate:function(e,t){var n=t.targetValue;return String(e)===String(n)},options:{hasTarget:!0},paramNames:["targetValue"]};function vf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pf(e,t){return e(t={exports:{}},t.exports),t.exports}var hf=pf((function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t;throw t=null===e?"null":"object"===(t=n(e))&&e.constructor&&e.constructor.hasOwnProperty("name")?e.constructor.name:"a ".concat(t),new TypeError("Expected string but received ".concat(t,"."))}},e.exports=t.default,e.exports.default=t.default}));vf(hf);var mf=vf(pf((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.replace(/[- ]+/g,"");if(!r.test(t))return!1;for(var i,a,o,s=0,u=t.length-1;u>=0;u--)i=t.substring(u,u+1),a=parseInt(i,10),s+=o&&(a*=2)>=10?a%10+1:a,o=!o;return!(s%10!=0||!t)};var n=function(e){return e&&e.__esModule?e:{default:e}}(hf);var r=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default}))),gf={validate:function(e){return mf(String(e))}},yf={validate:function(e,t){void 0===t&&(t={});var n=t.min,r=t.max,i=t.inclusivity;void 0===i&&(i="()");var a=t.format;void 0===a&&(a=i,i="()");var o=Wl(String(n),a),s=Wl(String(r),a),u=Wl(String(e),a);return!!(o&&s&&u)&&("()"===i?rl(u,o)&&il(u,s):"(]"===i?rl(u,o)&&(al(u,s)||il(u,s)):"[)"===i?il(u,s)&&(al(u,o)||rl(u,o)):al(u,s)||al(u,o)||il(u,s)&&rl(u,o))},options:{isDate:!0},paramNames:["min","max","inclusivity","format"]},bf={validate:function(e,t){return!!Wl(e,t.format)},options:{isDate:!0},paramNames:["format"]},wf=function(e,t){void 0===t&&(t={});var n=t.decimals;void 0===n&&(n="*");var r=t.separator;if(void 0===r&&(r="."),_s(e)||""===e)return!1;if(Array.isArray(e))return e.every((function(e){return wf(e,{decimals:n,separator:r})}));if(0===Number(n))return/^-?\d*$/.test(e);if(!new RegExp("^[-+]?\\d*(\\"+r+"\\d"+("*"===n?"+":"{1,"+n+"}")+")?([eE]{1}[-]?\\d+)?$").test(e))return!1;var i=parseFloat(e);return i==i},_f={validate:wf,paramNames:["decimals","separator"]},$f=function(e,t){var n=t[0];if(Array.isArray(e))return e.every((function(e){return $f(e,[n])}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===Number(n)},xf={validate:$f},Cf=/\.(jpg|svg|jpeg|png|bmp|gif)$/i,Af={validate:function(e,t){var n=t[0],r=t[1],i=Fs(e).filter((function(e){return Cf.test(e.name)}));return 0!==i.length&&Promise.all(i.map((function(e){return function(e,t,n){var r=window.URL||window.webkitURL;return new Promise((function(i){var a=new Image;a.onerror=function(){return i({valid:!1})},a.onload=function(){return i({valid:a.width===Number(t)&&a.height===Number(n)})},a.src=r.createObjectURL(e)}))}(e,n,r)})))}},Tf=pf((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default}));vf(Tf);var kf=pf((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i,a;(0,n.default)(e),"object"===r(t)?(i=t.min||0,a=t.max):(i=arguments[1],a=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=i&&(void 0===a||o<=a)};var n=function(e){return e&&e.__esModule?e:{default:e}}(hf);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default}));vf(kf);var Of=pf((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,r.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));for(var i=e.split("."),o=0;o63)return!1;if(t.require_tld){var s=i.pop();if(!i.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(s))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(s))return!1}for(var u,c=0;c1&&void 0!==arguments[1]?arguments[1]:"";if((0,n.default)(t),!(a=String(a)))return e(t,4)||e(t,6);if("4"===a){if(!r.test(t))return!1;var o=t.split(".").sort((function(e,t){return e-t}));return o[3]<=255}if("6"===a){var s=t.split(":"),u=!1,c=e(s[s.length-1],4),l=c?7:8;if(s.length>l)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),u=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),u=!0);for(var f=0;f0&&f=1:s.length===l}return!1};var n=function(e){return e&&e.__esModule?e:{default:e}}(hf);var r=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,i=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default})),Nf=vf(Df),Ef=vf(pf((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,r.default)(t,u)).require_display_name||t.allow_display_name){var s=e.match(c);if(s)e=s[1];else if(t.require_display_name)return!1}var h=e.split("@"),m=h.pop(),g=h.join("@"),y=m.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===y||"googlemail.com"===y)){var b=(g=g.toLowerCase()).split("+")[0];if(!(0,i.default)(b.replace(".",""),{min:6,max:30}))return!1;for(var w=b.split("."),_=0;_$/i,l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,v=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default})));var Mf={validate:function(e,t){void 0===t&&(t={});var n=t.multiple;void 0===n&&(n=!1);var r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(t,["multiple"]);n&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()})));var i=js({},r);return Array.isArray(e)?e.every((function(e){return Ef(String(e),i)})):Ef(String(e),i)}},If=function(e,t){return Array.isArray(e)?e.every((function(e){return If(e,t)})):Is(t).some((function(t){return t==e}))},Ff={validate:If},jf={validate:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return!If.apply(void 0,e)}},Pf={validate:function(e,t){var n=new RegExp(".("+t.join("|")+")$","i");return Fs(e).every((function(e){return n.test(e.name)}))}},Lf={validate:function(e){return(Array.isArray(e)?e:[e]).every((function(e){return/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(e.name)}))}},qf={validate:function(e){return Array.isArray(e)?e.every((function(e){return/^-?[0-9]+$/.test(String(e))})):/^-?[0-9]+$/.test(String(e))}},Uf={validate:function(e,t){void 0===t&&(t={});var n=t.version;return void 0===n&&(n=4),_s(e)&&(e=""),Array.isArray(e)?e.every((function(e){return Nf(e,n)})):Nf(e,n)},paramNames:["version"]},Rf={validate:function(e){return _s(e)&&(e=""),Array.isArray(e)?e.every((function(e){return Nf(e,"")||Sf(e)})):Nf(e,"")||Sf(e)}},Hf={validate:function(e,t){return void 0===t&&(t=[]),e===t[0]}},Bf={validate:function(e,t){return void 0===t&&(t=[]),e!==t[0]}},zf={validate:function(e,t){var n=t[0],r=t[1];return void 0===r&&(r=void 0),!_s(e)&&(n=Number(n),"number"==typeof e&&(e=String(e)),e.length||(e=Is(e)),function(e,t,n){return void 0===n?e.length===t:(n=Number(n),e.length>=t&&e.length<=n)}(e,n,r))}},Vf=function(e,t){var n=t[0];return _s(e)?n>=0:Array.isArray(e)?e.every((function(e){return Vf(e,[n])})):String(e).length<=n},Zf={validate:Vf},Yf=function(e,t){var n=t[0];return!_s(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return Yf(e,[n])})):Number(e)<=n)},Wf={validate:Yf},Gf={validate:function(e,t){var n=new RegExp(t.join("|").replace("*",".+")+"$","i");return Fs(e).every((function(e){return n.test(e.type)}))}},Xf=function(e,t){var n=t[0];return!_s(e)&&(Array.isArray(e)?e.every((function(e){return Xf(e,[n])})):String(e).length>=n)},Qf={validate:Xf},Kf=function(e,t){var n=t[0];return!_s(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return Kf(e,[n])})):Number(e)>=n)},Jf={validate:Kf},ed=/^[٠١٢٣٤٥٦٧٨٩]+$/,td=/^[0-9]+$/,nd={validate:function(e){var t=function(e){var t=String(e);return td.test(t)||ed.test(t)};return Array.isArray(e)?e.every(t):t(e)}},rd=function(e,t){var n=t.expression;return"string"==typeof n&&(n=new RegExp(n)),Array.isArray(e)?e.every((function(e){return rd(e,{expression:n})})):n.test(String(e))},id={validate:rd,paramNames:["expression"]},ad={validate:function(e,t){void 0===t&&(t=[]);var n=t[0];return void 0===n&&(n=!1),!_s(e)&&!Ys(e)&&((!1!==e||!n)&&!!String(e).trim().length)}},od={validate:function(e,t){void 0===t&&(t=[]);var n=t[0],r=t.slice(1).includes(String(n).trim());if(!r)return{valid:!0,data:{required:r}};var i=Ys(e)||[!1,null,void 0].includes(e);return{valid:!(i=i||!String(e).trim().length),data:{required:r}}},options:{hasTarget:!0,computesRequired:!0}},sd={validate:function(e,t){var n=t[0];if(isNaN(n))return!1;var r=1024*Number(n);return Fs(e).every((function(e){return e.size<=r}))}},ud=vf(pf((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;var o,c,f,d,v,p,h,m;if(t=(0,a.default)(t,s),h=e.split("#"),e=h.shift(),h=e.split("?"),e=h.shift(),(h=e.split("://")).length>1){if(o=h.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(o))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;h[0]=e.substr(2)}}if(""===(e=h.join("://")))return!1;if(h=e.split("/"),""===(e=h.shift())&&!t.require_host)return!0;if((h=e.split("@")).length>1){if(t.disallow_auth)return!1;if((c=h.shift()).indexOf(":")>=0&&c.split(":").length>2)return!1}d=h.join("@"),p=null,m=null;var g=d.match(u);g?(f="",m=g[1],p=g[2]||null):(h=d.split(":"),f=h.shift(),h.length&&(p=h.join(":")));if(null!==p&&(v=parseInt(p,10),!/^[0-9]+$/.test(p)||v<=0||v>65535))return!1;if(!((0,i.default)(f)||(0,r.default)(f,t)||m&&(0,i.default)(m,6)))return!1;if(f=f||m,t.host_whitelist&&!l(f,t.host_whitelist))return!1;if(t.host_blacklist&&l(f,t.host_blacklist))return!1;return!0};var n=o(hf),r=o(Of),i=o(Df),a=o(Tf);function o(e){return e&&e.__esModule?e:{default:e}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function l(e,t){for(var n=0;n0&&this.syncValue(t[0]),this.validateSilent().then((function(t){return e.applyResult(t),t}))},validateSilent:function(){var e,t,n=this;return this.setFlags({pending:!0}),vd.verify(this.value,this.rules,{name:this.name,values:(e=this,t=e.$_veeObserver.refs,e.fieldDeps.reduce((function(e,n){return t[n]?(e[n]=t[n].value,e):e}),{})),bails:this.bails}).then((function(e){return n.setFlags({pending:!1}),n.isRequired||n.setFlags({valid:e.valid,invalid:!e.valid}),e}))},applyResult:function(e){var t=e.errors,n=e.failedRules;this.messages=t,this.failedRules=js({},n),this.setFlags({valid:!t.length,changed:this.value!==this.initialValue,invalid:!!t.length,validated:!0})},registerField:function(){vd||(vd=Su()||new Mu(null,{fastExit:iu().fastExit})),function(e){_s(e.id)&&e.id===e.vid&&(e.id=pd,pd++);var t=e.id,n=e.vid;if(e.isDeactivated||t===n&&e.$_veeObserver.refs[t])return;t!==n&&e.$_veeObserver.refs[t]===e&&e.$_veeObserver.unsubscribe({vid:t});e.$_veeObserver.subscribe(e),e.id=n}(this)}}};function md(e){return{errors:e.messages,flags:e.flags,classes:e.classes,valid:e.isValid,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return e.validate.apply(e,t)},aria:{"aria-invalid":e.flags.invalid?"true":"false","aria-required":e.isRequired?"true":"false"}}}function gd(e){return(Ns(e.mode)?e.mode:Hu[e.mode])({errors:e.messages,value:e.value,flags:e.flags})}function yd(e){this.initialized||(this.initialValue=e.value);var t=function(e,t){return!(e._ignoreImmediate||!e.immediate)||e.value!==t.value||!!e._needsValidation||!e.initialized&&void 0===t.value}(this,e);this._needsValidation=!1,this.value=e.value,this._ignoreImmediate=!0,t&&this.validateSilent().then(this.immediate||this.flags.validated?this.applyResult:function(e){return e})}function bd(e){var t=e.$veeHandler,n=gd(e);return t&&e.$veeDebounce===e.debounce||(t=As((function(){e.$nextTick((function(){var t=e.validateSilent();e._pendingValidation=t,t.then((function(n){t===e._pendingValidation&&(e.applyResult(n),e._pendingValidation=null)}))}))}),n.debounce||e.debounce),e.$veeHandler=t,e.$veeDebounce=e.debounce),{onInput:function(t){e.syncValue(t),e.setFlags({dirty:!0,pristine:!1})},onBlur:function(){e.setFlags({touched:!0,untouched:!1})},onValidate:t}}function wd(e){var t=ou(e);this._inputEventName=this._inputEventName||fu(e,t),yd.call(this,t);var n=bd(this),r=n.onInput,i=n.onBlur,a=n.onValidate;lu(e,this._inputEventName,r),lu(e,"blur",i),this.normalizedEvents.forEach((function(t){lu(e,t,a)})),this.initialized=!0}function _d(e,t,n){void 0===n&&(n=!0);var r=e.$_veeObserver.refs;if(e._veeWatchers||(e._veeWatchers={}),!r[t]&&n)return e.$once("hook:mounted",(function(){_d(e,t,!1)}));!Ns(e._veeWatchers[t])&&r[t]&&(e._veeWatchers[t]=r[t].$watch("value",(function(){e.flags.validated&&(e._needsValidation=!0,e.validate())})))}var $d={pristine:"every",dirty:"some",touched:"some",untouched:"every",valid:"every",invalid:"some",pending:"some",validated:"every"};var xd=0,Cd={name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},slim:{type:Boolean,default:!1}},data:function(){return{vid:"obs_"+xd++,refs:{},observers:[],persistedStore:{}}},computed:{ctx:function(){var e=this,t={errors:{},validate:function(t){var n=e.validate(t);return{then:function(e){return n.then((function(t){return t&&Ns(e)?Promise.resolve(e()):Promise.resolve(t)}))}}},reset:function(){return e.reset()}};return Vs(this.refs).concat(Object.keys(this.persistedStore).map((function(t){return{vid:t,flags:e.persistedStore[t].flags,messages:e.persistedStore[t].errors}})),this.observers).reduce((function(e,t){return Object.keys($d).forEach((function(n){var r,i,a=t.flags||t.ctx;n in e?e[n]=(r=e[n],i=a[n],[r,i][$d[n]]((function(e){return e}))):e[n]=a[n]})),e.errors[t.vid]=t.messages||Vs(t.ctx.errors).reduce((function(e,t){return e.concat(t)}),[]),e}),t)}},created:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},activated:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},deactivated:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},beforeDestroy:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},render:function(e){var t=this.$slots.default||this.$scopedSlots.default||[];return Ns(t)&&(t=t(this.ctx)),this.slim?du(e,t):e(this.tag,{on:this.$listeners,attrs:this.$attrs},t)},methods:{subscribe:function(e,t){var n;void 0===t&&(t="provider"),"observer"!==t?(this.refs=Object.assign({},this.refs,((n={})[e.vid]=e,n)),e.persist&&this.persistedStore[e.vid]&&this.restoreProviderState(e)):this.observers.push(e)},unsubscribe:function(e,t){var n=e.vid;void 0===t&&(t="provider"),"provider"===t&&this.removeProvider(n);var r=qs(this.observers,(function(e){return e.vid===n}));-1!==r&&this.observers.splice(r,1)},validate:function(e){void 0===e&&(e={silent:!1});var t=e.silent;return Promise.all(Vs(this.refs).map((function(e){return e[t?"validateSilent":"validate"]().then((function(e){return e.valid}))})).concat(this.observers.map((function(e){return e.validate({silent:t})})))).then((function(e){return e.every((function(e){return e}))}))},reset:function(){var e=this;return Object.keys(this.persistedStore).forEach((function(t){e.$delete(e.persistedStore,t)})),Vs(this.refs).concat(this.observers).forEach((function(e){return e.reset()}))},restoreProviderState:function(e){var t=this.persistedStore[e.vid];e.setFlags(t.flags),e.applyResult(t),this.$delete(this.persistedStore,e.vid)},removeProvider:function(e){var t,n=this.refs[e];n&&n.persist&&(this.persistedStore=js({},this.persistedStore,((t={})[e]={flags:n.flags,errors:n.messages,failedRules:n.failedRules},t))),this.$delete(this.refs,e)}}};Object.keys(ld).forEach((function(e){Mu.extend(e,ld[e].validate,js({},ld[e].options,{paramNames:ld[e].paramNames}))})),Mu.localize({en:Yu});Bu.version="2.2.15",Bu.mapFields=function(e){if(!e)return function(){return dd(this.$validator.flags)};var t=function(e){return Array.isArray(e)?e.reduce((function(e,t){return Zs(t,".")?e[t.split(".")[1]]=t:e[t]=t,e}),{}):e}(e);return Object.keys(t).reduce((function(e,n){var r=t[n];return e[n]=function(){if(this.$validator.flags[r])return this.$validator.flags[r];if("*"===t[n])return dd(this.$validator.flags,!1);if(r.indexOf(".")<=0)return{};var e=r.split("."),i=e[0],a=e.slice(1);return i=this.$validator.flags["$"+i],"*"===(a=a.join("."))&&i?dd(i):i&&i[a]?i[a]:{}},e}),{})},Bu.ValidationProvider=hd,Bu.ValidationObserver=Cd,Bu.withValidation=function(e,t){void 0===t&&(t=null);var n=Ns(e)?e.options:e;n.$__veeInject=!1;var r={name:(n.name||"AnonymousHoc")+"WithValidation",props:js({},hd.props),data:hd.data,computed:js({},hd.computed),methods:js({},hd.methods),$__veeInject:!1,beforeDestroy:hd.beforeDestroy,inject:hd.inject};t||(t=function(e){return e});var i=n.model&&n.model.event||"input";return r.render=function(e){var r;this.registerField();var a=md(this),o=js({},this.$listeners),s=ou(this.$vnode);this._inputEventName=this._inputEventName||fu(this.$vnode,s),yd.call(this,s);var u=bd(this),c=u.onInput,l=u.onBlur,f=u.onValidate;cu(o,i,c),cu(o,"blur",l),this.normalizedEvents.forEach((function(e,t){cu(o,e,f)}));var d,v,p=(uu(this.$vnode)||{prop:"value"}).prop,h=js({},this.$attrs,((r={})[p]=s.value,r),t(a));return e(n,{attrs:this.$attrs,props:h,on:o},(d=this.$slots,v=this.$vnode.context,Object.keys(d).reduce((function(e,t){return d[t].forEach((function(e){e.context||(d[t].context=v,e.data||(e.data={}),e.data.slot=t)})),e.concat(d[t])}),[])))},r};const Ad=Bu;ms.use(Ad);new ms({el:"#app1",data:function(){return{dataset:{firstName:"",reviewer_id:""},submitted:!1}},methods:{checkForm:function(e){this.submitted=!0,this.$validator.validate().then((function(e){if(e)return console.log("From Submitted!"),void document.getElementById("approveForm").submit()}))}}})})();