utils/node_modules/z-schema/dist/ZSchema-browser-min.js
2024-02-07 01:33:07 -05:00

2 lines
167 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ZSchema=e()}}(function(){return function a(o,s,l){function u(t,e){if(!s[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(d)return d(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var n=s[t]={exports:{}};o[t][0].call(n.exports,function(e){return u(o[t][1][e]||e)},n,n.exports,a,o,s,l)}return s[t].exports}for(var d="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,W,t){(function(H){(function(){var e="Expected a function",i="__lodash_hash_undefined__",r=1/0,n="[object Function]",a="[object GeneratorFunction]",o="[object Symbol]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,u=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,c=/^\[object .+?Constructor\]$/,t="object"==typeof H&&H&&H.Object===Object&&H,p="object"==typeof self&&self&&self.Object===Object&&self,h=t||p||Function("return this")();var m,v=Array.prototype,_=Function.prototype,g=Object.prototype,y=h["__core-js_shared__"],E=(m=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",A=_.toString,S=g.hasOwnProperty,b=g.toString,O=RegExp("^"+A.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=h.Symbol,I=v.splice,R=w(h,"Map"),$=w(Object,"create"),P=M?M.prototype:void 0,T=P?P.toString:void 0;function D(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function L(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function C(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function x(e,t){for(var r,i,n=e.length;n--;)if((r=e[n][0])===(i=t)||r!=r&&i!=i)return n;return-1}function N(e,t){for(var r,i=0,n=(t=function(e,t){if(Y(e))return!1;var r=typeof e;if("number"==r||"symbol"==r||"boolean"==r||null==e||G(e))return!0;return l.test(e)||!s.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:Y(r=t)?r:U(r)).length;null!=e&&i<n;)e=e[j(t[i++])];return i&&i==n?e:void 0}function B(e){return!(!K(e)||(t=e,E&&E in t))&&((i=K(r=e)?b.call(r):"")==n||i==a||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:c).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t,r,i}function F(e,t){var r,i,n=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof t?"string":"hash"]:n.map}function w(e,t){var r,i,n=(i=t,null==(r=e)?void 0:r[i]);return B(n)?n:void 0}D.prototype.clear=function(){this.__data__=$?$(null):{}},D.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},D.prototype.get=function(e){var t=this.__data__;if($){var r=t[e];return r===i?void 0:r}return S.call(t,e)?t[e]:void 0},D.prototype.has=function(e){var t=this.__data__;return $?void 0!==t[e]:S.call(t,e)},D.prototype.set=function(e,t){return this.__data__[e]=$&&void 0===t?i:t,this},L.prototype.clear=function(){this.__data__=[]},L.prototype.delete=function(e){var t=this.__data__,r=x(t,e);return!(r<0||(r==t.length-1?t.pop():I.call(t,r,1),0))},L.prototype.get=function(e){var t=this.__data__,r=x(t,e);return r<0?void 0:t[r][1]},L.prototype.has=function(e){return-1<x(this.__data__,e)},L.prototype.set=function(e,t){var r=this.__data__,i=x(r,e);return i<0?r.push([e,t]):r[i][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new D,map:new(R||L),string:new D}},C.prototype.delete=function(e){return F(this,e).delete(e)},C.prototype.get=function(e){return F(this,e).get(e)},C.prototype.has=function(e){return F(this,e).has(e)},C.prototype.set=function(e,t){return F(this,e).set(e,t),this};var U=Z(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(G(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-r?"-0":t}(t);var n=[];return u.test(e)&&n.push(""),e.replace(d,function(e,t,r,i){n.push(r?i.replace(f,"$1"):t||e)}),n});function j(e){if("string"==typeof e||G(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}function Z(n,a){if("function"!=typeof n||a&&"function"!=typeof a)throw new TypeError(e);var o=function(){var e=arguments,t=a?a.apply(this,e):e[0],r=o.cache;if(r.has(t))return r.get(t);var i=n.apply(this,e);return o.cache=r.set(t,i),i};return o.cache=new(Z.Cache||C),o}Z.Cache=C;var Y=Array.isArray;function K(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function G(e){return"symbol"==typeof e||!!(t=e)&&"object"==typeof t&&b.call(e)==o;var t}W.exports=function(e,t,r){var i=null==e?void 0:N(e,t);return void 0===i?r:i}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,Qe,et){(function(Je){(function(){var i="__lodash_hash_undefined__",E=1,_=2,r=9007199254740991,g="[object Arguments]",y="[object Array]",n="[object AsyncFunction]",A="[object Boolean]",S="[object Date]",b="[object Error]",a="[object Function]",o="[object GeneratorFunction]",O="[object Map]",M="[object Number]",s="[object Null]",I="[object Object]",l="[object Promise]",u="[object Proxy]",R="[object RegExp]",$="[object Set]",P="[object String]",T="[object Symbol]",d="[object Undefined]",f="[object WeakMap]",D="[object ArrayBuffer]",L="[object DataView]",c=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,t={};t["[object Float32Array]"]=t["[object Float64Array]"]=t["[object Int8Array]"]=t["[object Int16Array]"]=t["[object Int32Array]"]=t["[object Uint8Array]"]=t["[object Uint8ClampedArray]"]=t["[object Uint16Array]"]=t["[object Uint32Array]"]=!0,t[g]=t[y]=t[D]=t[A]=t[L]=t[S]=t[b]=t[a]=t[O]=t[M]=t[I]=t[R]=t[$]=t[P]=t[f]=!1;var e="object"==typeof Je&&Je&&Je.Object===Object&&Je,h="object"==typeof self&&self&&self.Object===Object&&self,m=e||h||Function("return this")(),v="object"==typeof et&&et&&!et.nodeType&&et,C=v&&"object"==typeof Qe&&Qe&&!Qe.nodeType&&Qe,x=C&&C.exports===v,N=x&&e.process,B=function(){try{return N&&N.binding&&N.binding("util")}catch(e){}}(),F=B&&B.isTypedArray;function w(e,t){for(var r=-1,i=null==e?0:e.length;++r<i;)if(t(e[r],r,e))return!0;return!1}function U(e){var r=-1,i=Array(e.size);return e.forEach(function(e,t){i[++r]=[t,e]}),i}function j(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var Z,Y,K,G=Array.prototype,H=Function.prototype,W=Object.prototype,k=m["__core-js_shared__"],V=H.toString,X=W.hasOwnProperty,z=(Z=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"",q=W.toString,J=RegExp("^"+V.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Q=x?m.Buffer:void 0,ee=m.Symbol,te=m.Uint8Array,re=W.propertyIsEnumerable,ie=G.splice,ne=ee?ee.toStringTag:void 0,ae=Object.getOwnPropertySymbols,oe=Q?Q.isBuffer:void 0,se=(Y=Object.keys,K=Object,function(e){return Y(K(e))}),le=Be(m,"DataView"),ue=Be(m,"Map"),de=Be(m,"Promise"),fe=Be(m,"Set"),ce=Be(m,"WeakMap"),pe=Be(Object,"create"),he=je(le),me=je(ue),ve=je(de),_e=je(fe),ge=je(ce),ye=ee?ee.prototype:void 0,Ee=ye?ye.valueOf:void 0;function Ae(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Oe(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new be;++t<r;)this.add(e[t])}function Me(e){var t=this.__data__=new Se(e);this.size=t.size}function Ie(e,t){var r=Ke(e),i=!r&&Ye(e),n=!r&&!i&&Ge(e),a=!r&&!i&&!n&&ze(e),o=r||i||n||a,s=o?function(e,t){for(var r=-1,i=Array(e);++r<e;)i[r]=t(r);return i}(e.length,String):[],l=s.length;for(var u in e)!t&&!X.call(e,u)||o&&("length"==u||n&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ue(u,l))||s.push(u);return s}function Re(e,t){for(var r=e.length;r--;)if(Ze(e[r][0],t))return r;return-1}function $e(e){return null==e?void 0===e?d:s:ne&&ne in Object(e)?function(e){var t=X.call(e,ne),r=e[ne];try{var i=!(e[ne]=void 0)}catch(e){}var n=q.call(e);i&&(t?e[ne]=r:delete e[ne]);return n}(e):(t=e,q.call(t));var t}function Pe(e){return Ve(e)&&$e(e)==g}function Te(e,t,r,i,n){return e===t||(null==e||null==t||!Ve(e)&&!Ve(t)?e!=e&&t!=t:function(e,t,r,i,n,a){var o=Ke(e),s=Ke(t),l=o?y:we(e),u=s?y:we(t),d=(l=l==g?I:l)==I,f=(u=u==g?I:u)==I,c=l==u;if(c&&Ge(e)){if(!Ge(t))return!1;d=!(o=!0)}if(c&&!d)return a||(a=new Me),o||ze(e)?Ce(e,t,r,i,n,a):function(e,t,r,i,n,a,o){switch(r){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case D:return!(e.byteLength!=t.byteLength||!a(new te(e),new te(t)));case A:case S:case M:return Ze(+e,+t);case b:return e.name==t.name&&e.message==t.message;case R:case P:return e==t+"";case O:var s=U;case $:var l=i&E;if(s||(s=j),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;i|=_,o.set(e,t);var d=Ce(s(e),s(t),i,n,a,o);return o.delete(e),d;case T:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}(e,t,l,r,i,n,a);if(!(r&E)){var p=d&&X.call(e,"__wrapped__"),h=f&&X.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return a||(a=new Me),n(m,v,r,i,a)}}return!!c&&(a||(a=new Me),function(e,t,r,i,n,a){var o=r&E,s=xe(e),l=s.length,u=xe(t).length;if(l!=u&&!o)return!1;for(var d=l;d--;){var f=s[d];if(!(o?f in t:X.call(t,f)))return!1}var c=a.get(e);if(c&&a.get(t))return c==t;var p=!0;a.set(e,t),a.set(t,e);for(var h=o;++d<l;){f=s[d];var m=e[f],v=t[f];if(i)var _=o?i(v,m,f,t,e,a):i(m,v,f,e,t,a);if(!(void 0===_?m===v||n(m,v,r,i,a):_)){p=!1;break}h||(h="constructor"==f)}if(p&&!h){var g=e.constructor,y=t.constructor;g!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}(e,t,r,i,n,a))}(e,t,r,i,Te,n))}function De(e){return!(!ke(e)||(t=e,z&&z in t))&&(He(e)?J:c).test(je(e));var t}function Le(e){if(r=(t=e)&&t.constructor,i="function"==typeof r&&r.prototype||W,t!==i)return se(e);var t,r,i,n=[];for(var a in Object(e))X.call(e,a)&&"constructor"!=a&&n.push(a);return n}function Ce(e,t,i,n,a,o){var r=i&E,s=e.length,l=t.length;if(s!=l&&!(r&&s<l))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var d=-1,f=!0,c=i&_?new Oe:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var p=e[d],h=t[d];if(n)var m=r?n(h,p,d,t,e,o):n(p,h,d,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(c){if(!w(t,function(e,t){if(r=t,!c.has(r)&&(p===e||a(p,e,i,n,o)))return c.push(t);var r})){f=!1;break}}else if(p!==h&&!a(p,h,i,n,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function xe(e){return r=Fe,i=qe(t=e),Ke(t)?i:function(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}(i,r(t));var t,r,i}function Ne(e,t){var r,i,n=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof t?"string":"hash"]:n.map}function Be(e,t){var r,i,n=(i=t,null==(r=e)?void 0:r[i]);return De(n)?n:void 0}Ae.prototype.clear=function(){this.__data__=pe?pe(null):{},this.size=0},Ae.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ae.prototype.get=function(e){var t=this.__data__;if(pe){var r=t[e];return r===i?void 0:r}return X.call(t,e)?t[e]:void 0},Ae.prototype.has=function(e){var t=this.__data__;return pe?void 0!==t[e]:X.call(t,e)},Ae.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=pe&&void 0===t?i:t,this},Se.prototype.clear=function(){this.__data__=[],this.size=0},Se.prototype.delete=function(e){var t=this.__data__,r=Re(t,e);return!(r<0||(r==t.length-1?t.pop():ie.call(t,r,1),--this.size,0))},Se.prototype.get=function(e){var t=this.__data__,r=Re(t,e);return r<0?void 0:t[r][1]},Se.prototype.has=function(e){return-1<Re(this.__data__,e)},Se.prototype.set=function(e,t){var r=this.__data__,i=Re(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(ue||Se),string:new Ae}},be.prototype.delete=function(e){var t=Ne(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Ne(this,e).get(e)},be.prototype.has=function(e){return Ne(this,e).has(e)},be.prototype.set=function(e,t){var r=Ne(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this},Oe.prototype.add=Oe.prototype.push=function(e){return this.__data__.set(e,i),this},Oe.prototype.has=function(e){return this.__data__.has(e)},Me.prototype.clear=function(){this.__data__=new Se,this.size=0},Me.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Me.prototype.get=function(e){return this.__data__.get(e)},Me.prototype.has=function(e){return this.__data__.has(e)},Me.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Se){var i=r.__data__;if(!ue||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new be(i)}return r.set(e,t),this.size=r.size,this};var Fe=ae?function(t){return null==t?[]:(t=Object(t),function(e,t){for(var r=-1,i=null==e?0:e.length,n=0,a=[];++r<i;){var o=e[r];t(o,r,e)&&(a[n++]=o)}return a}(ae(t),function(e){return re.call(t,e)}))}:function(){return[]},we=$e;function Ue(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||p.test(e))&&-1<e&&e%1==0&&e<t}function je(e){if(null!=e){try{return V.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ze(e,t){return e===t||e!=e&&t!=t}(le&&we(new le(new ArrayBuffer(1)))!=L||ue&&we(new ue)!=O||de&&we(de.resolve())!=l||fe&&we(new fe)!=$||ce&&we(new ce)!=f)&&(we=function(e){var t=$e(e),r=t==I?e.constructor:void 0,i=r?je(r):"";if(i)switch(i){case he:return L;case me:return O;case ve:return l;case _e:return $;case ge:return f}return t});var Ye=Pe(function(){return arguments}())?Pe:function(e){return Ve(e)&&X.call(e,"callee")&&!re.call(e,"callee")},Ke=Array.isArray;var Ge=oe||function(){return!1};function He(e){if(!ke(e))return!1;var t=$e(e);return t==a||t==o||t==n||t==u}function We(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=r}function ke(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ve(e){return null!=e&&"object"==typeof e}var Xe,ze=F?(Xe=F,function(e){return Xe(e)}):function(e){return Ve(e)&&We(e.length)&&!!t[$e(e)]};function qe(e){return null!=(t=e)&&We(t.length)&&!He(t)?Ie(e):Le(e);var t}Qe.exports=function(e,t){return Te(e,t)}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,r){var i,n,a=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(t){if(i===setTimeout)return setTimeout(t,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,d=[],f=!1,c=-1;function p(){f&&u&&(f=!1,u.length?d=u.concat(d):c=-1,d.length&&h())}function h(){if(!f){var e=l(p);f=!0;for(var t=d.length;t;){for(u=d,d=[];++c<t;)u&&u[c].run();c=-1,t=d.length}u=null,f=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function v(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];d.push(new m(e,t)),1!==d.length||f||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=v,a.addListener=v,a.once=v,a.off=v,a.removeListener=v,a.removeAllListeners=v,a.emit=v,a.prependListener=v,a.prependOnceListener=v,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],4:[function(e,t,r){"use strict";function o(e){return(o="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(r,"__esModule",{value:!0}),r.default=void 0;var i=He(e("./lib/toDate")),n=He(e("./lib/toFloat")),a=He(e("./lib/toInt")),s=He(e("./lib/toBoolean")),l=He(e("./lib/equals")),u=He(e("./lib/contains")),d=He(e("./lib/matches")),f=He(e("./lib/isEmail")),c=He(e("./lib/isURL")),p=He(e("./lib/isMACAddress")),h=He(e("./lib/isIP")),m=He(e("./lib/isIPRange")),v=He(e("./lib/isFQDN")),_=He(e("./lib/isDate")),g=He(e("./lib/isBoolean")),y=He(e("./lib/isLocale")),E=Ge(e("./lib/isAlpha")),A=Ge(e("./lib/isAlphanumeric")),S=He(e("./lib/isNumeric")),b=He(e("./lib/isPassportNumber")),O=He(e("./lib/isPort")),M=He(e("./lib/isLowercase")),I=He(e("./lib/isUppercase")),R=He(e("./lib/isIMEI")),$=He(e("./lib/isAscii")),P=He(e("./lib/isFullWidth")),T=He(e("./lib/isHalfWidth")),D=He(e("./lib/isVariableWidth")),L=He(e("./lib/isMultibyte")),C=He(e("./lib/isSemVer")),x=He(e("./lib/isSurrogatePair")),N=He(e("./lib/isInt")),B=Ge(e("./lib/isFloat")),F=He(e("./lib/isDecimal")),w=He(e("./lib/isHexadecimal")),U=He(e("./lib/isOctal")),j=He(e("./lib/isDivisibleBy")),Z=He(e("./lib/isHexColor")),Y=He(e("./lib/isRgbColor")),K=He(e("./lib/isHSL")),G=He(e("./lib/isISRC")),H=Ge(e("./lib/isIBAN")),W=He(e("./lib/isBIC")),k=He(e("./lib/isMD5")),V=He(e("./lib/isHash")),X=He(e("./lib/isJWT")),z=He(e("./lib/isJSON")),q=He(e("./lib/isEmpty")),J=He(e("./lib/isLength")),Q=He(e("./lib/isByteLength")),ee=He(e("./lib/isUUID")),te=He(e("./lib/isMongoId")),re=He(e("./lib/isAfter")),ie=He(e("./lib/isBefore")),ne=He(e("./lib/isIn")),ae=He(e("./lib/isCreditCard")),oe=He(e("./lib/isIdentityCard")),se=He(e("./lib/isEAN")),le=He(e("./lib/isISIN")),ue=He(e("./lib/isISBN")),de=He(e("./lib/isISSN")),fe=He(e("./lib/isTaxID")),ce=Ge(e("./lib/isMobilePhone")),pe=He(e("./lib/isEthereumAddress")),he=He(e("./lib/isCurrency")),me=He(e("./lib/isBtcAddress")),ve=He(e("./lib/isISO8601")),_e=He(e("./lib/isRFC3339")),ge=He(e("./lib/isISO31661Alpha2")),ye=He(e("./lib/isISO31661Alpha3")),Ee=He(e("./lib/isISO4217")),Ae=He(e("./lib/isBase32")),Se=He(e("./lib/isBase58")),be=He(e("./lib/isBase64")),Oe=He(e("./lib/isDataURI")),Me=He(e("./lib/isMagnetURI")),Ie=He(e("./lib/isMimeType")),Re=He(e("./lib/isLatLong")),$e=Ge(e("./lib/isPostalCode")),Pe=He(e("./lib/ltrim")),Te=He(e("./lib/rtrim")),De=He(e("./lib/trim")),Le=He(e("./lib/escape")),Ce=He(e("./lib/unescape")),xe=He(e("./lib/stripLow")),Ne=He(e("./lib/whitelist")),Be=He(e("./lib/blacklist")),Fe=He(e("./lib/isWhitelisted")),we=He(e("./lib/normalizeEmail")),Ue=He(e("./lib/isSlug")),je=He(e("./lib/isLicensePlate")),Ze=He(e("./lib/isStrongPassword")),Ye=He(e("./lib/isVAT"));function Ke(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Ke=function(){return e},e}function Ge(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=Ke();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function He(e){return e&&e.__esModule?e:{default:e}}var We={version:"13.7.0",toDate:i.default,toFloat:n.default,toInt:a.default,toBoolean:s.default,equals:l.default,contains:u.default,matches:d.default,isEmail:f.default,isURL:c.default,isMACAddress:p.default,isIP:h.default,isIPRange:m.default,isFQDN:v.default,isBoolean:g.default,isIBAN:H.default,isBIC:W.default,isAlpha:E.default,isAlphaLocales:E.locales,isAlphanumeric:A.default,isAlphanumericLocales:A.locales,isNumeric:S.default,isPassportNumber:b.default,isPort:O.default,isLowercase:M.default,isUppercase:I.default,isAscii:$.default,isFullWidth:P.default,isHalfWidth:T.default,isVariableWidth:D.default,isMultibyte:L.default,isSemVer:C.default,isSurrogatePair:x.default,isInt:N.default,isIMEI:R.default,isFloat:B.default,isFloatLocales:B.locales,isDecimal:F.default,isHexadecimal:w.default,isOctal:U.default,isDivisibleBy:j.default,isHexColor:Z.default,isRgbColor:Y.default,isHSL:K.default,isISRC:G.default,isMD5:k.default,isHash:V.default,isJWT:X.default,isJSON:z.default,isEmpty:q.default,isLength:J.default,isLocale:y.default,isByteLength:Q.default,isUUID:ee.default,isMongoId:te.default,isAfter:re.default,isBefore:ie.default,isIn:ne.default,isCreditCard:ae.default,isIdentityCard:oe.default,isEAN:se.default,isISIN:le.default,isISBN:ue.default,isISSN:de.default,isMobilePhone:ce.default,isMobilePhoneLocales:ce.locales,isPostalCode:$e.default,isPostalCodeLocales:$e.locales,isEthereumAddress:pe.default,isCurrency:he.default,isBtcAddress:me.default,isISO8601:ve.default,isRFC3339:_e.default,isISO31661Alpha2:ge.default,isISO31661Alpha3:ye.default,isISO4217:Ee.default,isBase32:Ae.default,isBase58:Se.default,isBase64:be.default,isDataURI:Oe.default,isMagnetURI:Me.default,isMimeType:Ie.default,isLatLong:Re.default,ltrim:Pe.default,rtrim:Te.default,trim:De.default,escape:Le.default,unescape:Ce.default,stripLow:xe.default,whitelist:Ne.default,blacklist:Be.default,isWhitelisted:Fe.default,normalizeEmail:we.default,toString:toString,isSlug:Ue.default,isStrongPassword:Ze.default,isTaxID:fe.default,isDate:_.default,isLicensePlate:je.default,isVAT:Ye.default,ibanLocales:H.locales};r.default=We,t.exports=r.default,t.exports.default=r.default},{"./lib/blacklist":6,"./lib/contains":7,"./lib/equals":8,"./lib/escape":9,"./lib/isAfter":10,"./lib/isAlpha":11,"./lib/isAlphanumeric":12,"./lib/isAscii":13,"./lib/isBIC":14,"./lib/isBase32":15,"./lib/isBase58":16,"./lib/isBase64":17,"./lib/isBefore":18,"./lib/isBoolean":19,"./lib/isBtcAddress":20,"./lib/isByteLength":21,"./lib/isCreditCard":22,"./lib/isCurrency":23,"./lib/isDataURI":24,"./lib/isDate":25,"./lib/isDecimal":26,"./lib/isDivisibleBy":27,"./lib/isEAN":28,"./lib/isEmail":29,"./lib/isEmpty":30,"./lib/isEthereumAddress":31,"./lib/isFQDN":32,"./lib/isFloat":33,"./lib/isFullWidth":34,"./lib/isHSL":35,"./lib/isHalfWidth":36,"./lib/isHash":37,"./lib/isHexColor":38,"./lib/isHexadecimal":39,"./lib/isIBAN":40,"./lib/isIMEI":41,"./lib/isIP":42,"./lib/isIPRange":43,"./lib/isISBN":44,"./lib/isISIN":45,"./lib/isISO31661Alpha2":46,"./lib/isISO31661Alpha3":47,"./lib/isISO4217":48,"./lib/isISO8601":49,"./lib/isISRC":50,"./lib/isISSN":51,"./lib/isIdentityCard":52,"./lib/isIn":53,"./lib/isInt":54,"./lib/isJSON":55,"./lib/isJWT":56,"./lib/isLatLong":57,"./lib/isLength":58,"./lib/isLicensePlate":59,"./lib/isLocale":60,"./lib/isLowercase":61,"./lib/isMACAddress":62,"./lib/isMD5":63,"./lib/isMagnetURI":64,"./lib/isMimeType":65,"./lib/isMobilePhone":66,"./lib/isMongoId":67,"./lib/isMultibyte":68,"./lib/isNumeric":69,"./lib/isOctal":70,"./lib/isPassportNumber":71,"./lib/isPort":72,"./lib/isPostalCode":73,"./lib/isRFC3339":74,"./lib/isRgbColor":75,"./lib/isSemVer":76,"./lib/isSlug":77,"./lib/isStrongPassword":78,"./lib/isSurrogatePair":79,"./lib/isTaxID":80,"./lib/isURL":81,"./lib/isUUID":82,"./lib/isUppercase":83,"./lib/isVAT":84,"./lib/isVariableWidth":85,"./lib/isWhitelisted":86,"./lib/ltrim":87,"./lib/matches":88,"./lib/normalizeEmail":89,"./lib/rtrim":90,"./lib/stripLow":91,"./lib/toBoolean":92,"./lib/toDate":93,"./lib/toFloat":94,"./lib/toInt":95,"./lib/trim":96,"./lib/unescape":97,"./lib/whitelist":104}],5:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.commaDecimal=r.dotDecimal=r.farsiLocales=r.arabicLocales=r.englishLocales=r.decimal=r.alphanumeric=r.alpha=void 0;var i={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[АЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i};r.alpha=i;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9АЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i};r.alphanumeric=n;var a={"en-US":".",ar:"٫"};r.decimal=a;var o=["AU","GB","HK","IN","NZ","ZA","ZM"];r.englishLocales=o;for(var s,l=0;l<o.length;l++)i[s="en-".concat(o[l])]=i["en-US"],n[s]=n["en-US"],a[s]=a["en-US"];var u=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];r.arabicLocales=u;for(var d,f=0;f<u.length;f++)i[d="ar-".concat(u[f])]=i.ar,n[d]=n.ar,a[d]=a.ar;var c=["IR","AF"];r.farsiLocales=c;for(var p,h=0;h<c.length;h++)n[p="fa-".concat(c[h])]=n.fa,a[p]=a.ar;var m=["ar-EG","ar-LB","ar-LY"];r.dotDecimal=m;var v=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];r.commaDecimal=v;for(var _=0;_<m.length;_++)a[m[_]]=a["en-US"];for(var g=0;g<v.length;g++)a[v[g]]=",";i["fr-CA"]=i["fr-FR"],n["fr-CA"]=n["fr-FR"],i["pt-BR"]=i["pt-PT"],n["pt-BR"]=n["pt-PT"],a["pt-BR"]=a["pt-PT"],i["pl-Pl"]=i["pl-PL"],n["pl-Pl"]=n["pl-PL"],a["pl-Pl"]=a["pl-PL"],i["fa-AF"]=i.fa},{}],6:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,n.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],7:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){if((0,i.default)(e),(r=(0,a.default)(r,s)).ignoreCase)return e.toLowerCase().split((0,n.default)(t).toLowerCase()).length>r.minOccurrences;return e.split((0,n.default)(t)).length>r.minOccurrences};var i=o(e("./util/assertString")),n=o(e("./util/toString")),a=o(e("./util/merge"));function o(e){return e&&e.__esModule?e:{default:e}}var s={ignoreCase:!1,minOccurrences:1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101,"./util/toString":103}],8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,n.default)(e),e===t};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],9:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],10:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),i=(0,a.default)(e);return!!(i&&r&&r<i)};var n=i(e("./util/assertString")),a=i(e("./toDate"));function i(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./toDate":93,"./util/assertString":99}],11:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(0,a.default)(e);var i=e,n=r.ignore;if(n)if(n instanceof RegExp)i=i.replace(n,"");else{if("string"!=typeof n)throw new Error("ignore should be instance of a String or RegExp");i=i.replace(new RegExp("[".concat(n.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in o.alpha)return o.alpha[t].test(i);throw new Error("Invalid locale '".concat(t,"'"))},r.locales=void 0;var i,a=(i=e("./util/assertString"))&&i.__esModule?i:{default:i},o=e("./alpha");var n=Object.keys(o.alpha);r.locales=n},{"./alpha":5,"./util/assertString":99}],12:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(0,a.default)(e);var i=e,n=r.ignore;if(n)if(n instanceof RegExp)i=i.replace(n,"");else{if("string"!=typeof n)throw new Error("ignore should be instance of a String or RegExp");i=i.replace(new RegExp("[".concat(n.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in o.alphanumeric)return o.alphanumeric[t].test(i);throw new Error("Invalid locale '".concat(t,"'"))},r.locales=void 0;var i,a=(i=e("./util/assertString"))&&i.__esModule?i:{default:i},o=e("./alpha");var n=Object.keys(o.alphanumeric);r.locales=n},{"./alpha":5,"./util/assertString":99}],13:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[\x00-\x7F]+$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],14:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),!!a.CountryCodes.has(e.slice(4,6).toUpperCase())&&o.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i},a=e("./isISO31661Alpha2");var o=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;t.exports=r.default,t.exports.default=r.default},{"./isISO31661Alpha2":46,"./util/assertString":99}],15:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if((0,n.default)(e),e.length%8==0&&a.test(e))return!0;return!1};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[A-Z2-7]+=*$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],16:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if((0,n.default)(e),a.test(e))return!0;return!1};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[A-HJ-NP-Za-km-z1-9]*$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],17:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e),t=(0,a.default)(t,l);var r=e.length;if(t.urlSafe)return s.test(e);if(r%4!=0||o.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]};var n=i(e("./util/assertString")),a=i(e("./util/merge"));function i(e){return e&&e.__esModule?e:{default:e}}var o=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,l={urlSafe:!1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],18:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),i=(0,a.default)(e);return!!(i&&r&&i<r)};var n=i(e("./util/assertString")),a=i(e("./toDate"));function i(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./toDate":93,"./util/assertString":99}],19:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:a;if((0,n.default)(e),t.loose)return s.includes(e.toLowerCase());return o.includes(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a={loose:!1},o=["true","false","1","0"],s=[].concat(o,["yes","no"]);t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],20:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if((0,n.default)(e),e.startsWith("bc1"))return a.test(e);return o.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^(bc1)[a-z0-9]{25,39}$/,o=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],21:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r,i;(0,a.default)(e),i="object"===o(t)?(r=t.min||0,t.max):(r=arguments[1],arguments[2]);var n=encodeURI(e).split(/%..|./).length-1;return r<=n&&(void 0===i||n<=i)};var i,a=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};function o(e){return(o="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)}t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],22:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){(0,s.default)(e);var t=e.replace(/[- ]+/g,"");if(!l.test(t))return!1;for(var r,i,n,a=0,o=t.length-1;0<=o;o--)r=t.substring(o,o+1),i=parseInt(r,10),a+=n&&10<=(i*=2)?i%10+1:i,n=!n;return!(a%10!=0||!t)};var i,s=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var l=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|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,15}|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}|^(81[0-9]{14,17}))$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],23:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,n.default)(e),function(e){var r="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach(function(e,t){0!==t&&(r="".concat(r,"|\\d{").concat(e,"}"))});var t="(".concat(e.symbol.replace(/\W/,function(e){return"\\".concat(e)}),")").concat(e.require_symbol?"":"?"),i="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),n="(".concat(["0","[1-9]\\d*",i].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(r,"))").concat(e.require_decimal?"":"?"),o=n+(e.allow_decimal||e.require_decimal?a:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?o+="-?":e.negative_sign_before_digits&&(o="-?"+o)),e.allow_negative_sign_placeholder?o="( (?!\\-))?".concat(o):e.allow_space_after_symbol?o=" ?".concat(o):e.allow_space_after_digits&&(o+="( (?!$))?"),e.symbol_after_digits?o+=t:o=t+o,e.allow_negatives&&(e.parens_for_negatives?o="(\\(".concat(o,"\\)|").concat(o,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(o="-?"+o)),new RegExp("^(?!-? )(?=.*\\d)".concat(o,"$"))}(t=(0,i.default)(t,o)).test(e)};var i=a(e("./util/merge")),n=a(e("./util/assertString"));function a(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],24:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){(0,s.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),i=r.shift();if("data:"!==i.substr(0,5))return!1;var n=i.substr(5);if(""!==n&&!l.test(n))return!1;for(var a=0;a<r.length;a++)if((a!==r.length-1||"base64"!==r[a].toLowerCase())&&!u.test(r[a]))return!1;for(var o=0;o<t.length;o++)if(!d.test(t[o]))return!1;return!0};var i,s=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var l=/^[a-z]+\/[a-z0-9\-\+]+$/i,u=/^[a-z\-]+=[a-z0-9\-]+$/i,d=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],25:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,r){r="string"==typeof r?(0,h.default)({format:r},v):(0,h.default)(r,v);if("string"==typeof t&&(p=r.format,/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(p))){var e,i=r.delimiters.find(function(e){return-1!==r.format.indexOf(e)}),n=r.strictMode?i:r.delimiters.find(function(e){return-1!==t.indexOf(e)}),a=function(e,t){for(var r=[],i=Math.min(e.length,t.length),n=0;n<i;n++)r.push([e[n],t[n]]);return r}(t.split(n),r.format.toLowerCase().split(i)),o={},s=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=m(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(a);try{for(s.s();!(e=s.n()).done;){var l=(f=e.value,c=2,function(e){if(Array.isArray(e))return e}(f)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],i=!0,n=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);i=!0);}catch(e){n=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(n)throw a}}return r}(f,c)||m(f,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1];if(u.length!==d.length)return!1;o[d.charAt(0)]=u}}catch(e){s.e(e)}finally{s.f()}return new Date("".concat(o.m,"/").concat(o.d,"/").concat(o.y)).getDate()===+o.d}var f,c;var p;return!r.strictMode&&"[object Date]"===Object.prototype.toString.call(t)&&isFinite(t)};var i,h=(i=e("./util/merge"))&&i.__esModule?i:{default:i};function m(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var v={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};t.exports=r.default,t.exports.default=r.default},{"./util/merge":101}],26:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,n.default)(e),(t=(0,i.default)(t,l)).locale in o.decimal)return!(0,a.default)(u,e.replace(/ /g,""))&&(r=t,new RegExp("^[-+]?([0-9]+)?(\\".concat(o.decimal[r.locale],"[0-9]{").concat(r.decimal_digits,"})").concat(r.force_decimal?"":"?","$"))).test(e);var r;throw new Error("Invalid locale '".concat(t.locale,"'"))};var i=s(e("./util/merge")),n=s(e("./util/assertString")),a=s(e("./util/includes")),o=e("./alpha");function s(e){return e&&e.__esModule?e:{default:e}}var l={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];t.exports=r.default,t.exports.default=r.default},{"./alpha":5,"./util/assertString":99,"./util/includes":100,"./util/merge":101}],27:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,i.default)(e),(0,n.default)(e)%parseInt(t,10)==0};var i=a(e("./util/assertString")),n=a(e("./toFloat"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./toFloat":94,"./util/assertString":99}],28:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){(0,a.default)(e);var t=Number(e.slice(-1));return l.test(e)&&t===(n=e,r=10-n.slice(0,-1).split("").map(function(e,t){return Number(e)*(r=n.length,i=t,r!==o&&r!==s?i%2==0?1:3:i%2==0?3:1);var r,i}).reduce(function(e,t){return e+t},0)%10,r<10?r:0);var n,r};var i,a=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var o=8,s=14,l=/^(\d{8}|\d{13}|\d{14})$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],29:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,m.default)(e),(t=(0,v.default)(t,E)).require_display_name||t.allow_display_name){var r=e.match(A);if(r){var i=r[1];if(e=e.replace(i,"").replace(/(^<|>$)/g,""),i.endsWith(" ")&&(i=i.substr(0,i.length-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;var r=t.split('"').length===t.split('\\"').length;if(!r)return!1}return!0}(i))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>R)return!1;var n=e.split("@"),a=n.pop(),o=a.toLowerCase();if(t.host_blacklist.includes(o))return!1;var s=n.join("@");if(t.domain_specific_validation&&("gmail.com"===o||"googlemail.com"===o)){var l=(s=s.toLowerCase()).split("+")[0];if(!(0,_.default)(l.replace(/\./g,""),{min:6,max:30}))return!1;for(var u=l.split("."),d=0;d<u.length;d++)if(!b.test(u[d]))return!1}if(!(!1!==t.ignore_max_length||(0,_.default)(s,{max:64})&&(0,_.default)(a,{max:254})))return!1;if(!(0,g.default)(a,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,y.default)(a)){if(!a.startsWith("[")||!a.endsWith("]"))return!1;var f=a.substr(1,a.length-2);if(0===f.length||!(0,y.default)(f))return!1}}if('"'===s[0])return s=s.slice(1,s.length-1),t.allow_utf8_local_part?I.test(s):O.test(s);for(var c=t.allow_utf8_local_part?M:S,p=s.split("."),h=0;h<p.length;h++)if(!c.test(p[h]))return!1;if(t.blacklisted_chars&&-1!==s.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var m=i(e("./util/assertString")),v=i(e("./util/merge")),_=i(e("./isByteLength")),g=i(e("./isFQDN")),y=i(e("./isIP"));function i(e){return e&&e.__esModule?e:{default:e}}var E={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[]},A=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,S=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,b=/^[a-z\d]+$/,O=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,M=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,I=/^([\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,R=254;t.exports=r.default,t.exports.default=r.default},{"./isByteLength":21,"./isFQDN":32,"./isIP":42,"./util/assertString":99,"./util/merge":101}],30:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,i.default)(e),0===((t=(0,n.default)(t,o)).ignore_whitespace?e.trim().length:e.length)};var i=a(e("./util/assertString")),n=a(e("./util/merge"));function a(e){return e&&e.__esModule?e:{default:e}}var o={ignore_whitespace:!1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],31:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^(0x)[0-9a-f]{40}$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],32:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e),(t=(0,a.default)(t,o)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(i))&&r.every(function(e){return!(63<e.length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var n=i(e("./util/assertString")),a=i(e("./util/merge"));function i(e){return e&&e.__esModule?e:{default:e}}var o={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],33:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?a.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var i=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||i>=t.min)&&(!t.hasOwnProperty("max")||i<=t.max)&&(!t.hasOwnProperty("lt")||i<t.lt)&&(!t.hasOwnProperty("gt")||i>t.gt)},r.locales=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i},a=e("./alpha");var o=Object.keys(a.decimal);r.locales=o},{"./alpha":5,"./util/assertString":99}],34:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)},r.fullWidth=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;r.fullWidth=a},{"./util/assertString":99}],35:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){(0,n.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return-1===t.indexOf(",")?o.test(t):a.test(t)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,o=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],36:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)},r.halfWidth=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;r.halfWidth=a},{"./util/assertString":99}],37:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,n.default)(e),new RegExp("^[a-fA-F0-9]{".concat(a[t],"}$")).test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],38:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],39:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^(0x|0h)?[0-9A-F]+$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],40:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,o.default)(e),i=e,n=i.replace(/[\s\-]+/gi,"").toUpperCase(),a=n.slice(0,2).toUpperCase(),a in s&&s[a].test(n)&&(t=e,r=t.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),1===(r.slice(4)+r.slice(0,4)).replace(/[A-Z]/g,function(e){return e.charCodeAt(0)-55}).match(/\d{1,7}/g).reduce(function(e,t){return Number(e+t)%97},""));var t,r;var i,n,a},r.locales=void 0;var i,o=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var s={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};var n=Object.keys(s);r.locales=n},{"./util/assertString":99}],41:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,l.default)(e);var r=u;(t=t||{}).allow_hyphens&&(r=d);if(!r.test(e))return!1;e=e.replace(/-/g,"");for(var i=0,n=2,a=0;a<14;a++){var o=e.substring(14-a-1,14-a),s=parseInt(o,10)*n;i+=10<=s?s%10+1:s,1===n?n+=1:n-=1}return(10-i%10)%10===parseInt(e.substring(14,15),10)};var i,l=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var u=/^[0-9]{15}$/,d=/^\d{2}-\d{6}-\d{6}-\d{1}$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],42:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";(0,n.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!s.test(t))return!1;var i=t.split(".").sort(function(e,t){return e-t});return i[3]<=255}if("6"===r)return!!u.test(t);return!1};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(a,"[.]){3}").concat(a),s=new RegExp("^".concat(o,"$")),l="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(l,":){7}(?:").concat(l,"|:)|")+"(?:".concat(l,":){6}(?:").concat(o,"|:").concat(l,"|:)|")+"(?:".concat(l,":){5}(?::").concat(o,"|(:").concat(l,"){1,2}|:)|")+"(?:".concat(l,":){4}(?:(:").concat(l,"){0,1}:").concat(o,"|(:").concat(l,"){1,3}|:)|")+"(?:".concat(l,":){3}(?:(:").concat(l,"){0,2}:").concat(o,"|(:").concat(l,"){1,4}|:)|")+"(?:".concat(l,":){2}(?:(:").concat(l,"){0,3}:").concat(o,"|(:").concat(l,"){1,5}|:)|")+"(?:".concat(l,":){1}(?:(:").concat(l,"){0,4}:").concat(o,"|(:").concat(l,"){1,6}|:)|")+"(?::((?::".concat(l,"){0,5}:").concat(o,"|(?::").concat(l,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],43:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";(0,n.default)(e);var r=e.split("/");if(2!==r.length)return!1;if(!o.test(r[1]))return!1;if(1<r[1].length&&r[1].startsWith("0"))return!1;if(!(0,a.default)(r[0],t))return!1;var i=null;switch(String(t)){case"4":i=s;break;case"6":i=l;break;default:i=(0,a.default)(r[0],"6")?l:s}return r[1]<=i&&0<=r[1]};var n=i(e("./util/assertString")),a=i(e("./isIP"));function i(e){return e&&e.__esModule?e:{default:e}}var o=/^\d{1,3}$/,s=32,l=128;t.exports=r.default,t.exports.default=r.default},{"./isIP":42,"./util/assertString":99}],44:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var i=t.replace(/[\s-]+/g,"");var n=0;var a;if("10"===r){if(!s.test(i))return!1;for(a=0;a<9;a++)n+=(a+1)*i.charAt(a);if("X"===i.charAt(9)?n+=100:n+=10*i.charAt(9),n%11==0)return!!i}else if("13"===r){if(!l.test(i))return!1;for(a=0;a<12;a++)n+=u[a%2]*i.charAt(a);if(i.charAt(12)-(10-n%10)%10==0)return!!i}return!1};var i,o=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var s=/^(?:[0-9]{9}X|[0-9]{10})$/,l=/^(?:[0-9]{13})$/,u=[1,3];t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],45:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if((0,c.default)(e),!p.test(e))return!1;for(var t=!0,r=0,i=e.length-2;0<=i;i--)if("A"<=e[i]&&e[i]<="Z")for(var n=e[i].charCodeAt(0)-55,a=n%10,o=Math.trunc(n/10),s=0,l=[a,o];s<l.length;s++){var u=l[s];r+=t?5<=u?1+2*(u-5):2*u:u,t=!t}else{var d=e[i].charCodeAt(0)-"0".charCodeAt(0);r+=t?5<=d?1+2*(d-5):2*d:d,t=!t}var f=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]===f};var i,c=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var p=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],46:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.has(e.toUpperCase())},r.CountryCodes=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);var o=a;r.CountryCodes=o},{"./util/assertString":99}],47:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.has(e.toUpperCase())};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],48:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.has(e.toUpperCase())},r.CurrencyCodes=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);var o=a;r.CurrencyCodes=o},{"./util/assertString":99}],49:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=t.strictSeparator?o.test(e):a.test(e);return r&&t.strict?s(e):r};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),i=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?i<=366:i<=365}var n=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),a=n[1],o=n[2],s=n[3],l=o?"0".concat(o).slice(-2):o,u=s?"0".concat(s).slice(-2):s,d=new Date("".concat(a,"-").concat(l||"01","-").concat(u||"01"));return!o||!s||d.getUTCFullYear()===a&&d.getUTCMonth()+1===o&&d.getUTCDate()===s};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],50:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],51:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,s.default)(e);var r=l;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var i=e.replace("-","").toUpperCase(),n=0,a=0;a<i.length;a++){var o=i[a];n+=("X"===o?10:+o)*(8-a)}return n%11==0};var i,s=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var l="^\\d{4}-?\\d{3}[\\dX]$";t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],52:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){{if((0,n.default)(e),t in o)return o[t](e);if("any"===t){for(var r in o)if(o.hasOwnProperty(r)){var i=o[r];if(i(e))return!0}return!1}}throw new Error("Invalid locale '".concat(t,"'"))};var n=i(e("./util/assertString")),a=i(e("./isInt"));function i(e){return e&&e.__esModule?e:{default:e}}var o={PL:function(e){(0,n.default)(e);var i={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,a.default)(e,{allow_leading_zeroes:!0})){var t=e.split("").slice(0,-1).reduce(function(e,t,r){return e+Number(t)*i[r+1]},0)%10,r=Number(e.charAt(e.length-1));if(0===t&&0===r||r===10-t)return!0}return!1},ES:function(e){(0,n.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var i=r.slice(0,-1).replace(/[X,Y,Z]/g,function(e){return t[e]});return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][i%23])},FI:function(e){if((0,n.default)(e),11!==e.length)return!1;if(!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;return"0123456789ABCDEFHJKLMNPRSTUVWXY"[(1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10))%31]===e.slice(10,11)},IN:function(e){var r=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],i=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],t=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(t))return!1;var n=0;return t.replace(/\s/g,"").split("").map(Number).reverse().forEach(function(e,t){n=r[n][i[t%8][e]]}),0===n},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).substr(e.length-6),0===parseInt(e.substr(3,6),10))return!1;for(var t=parseInt(e.substr(9,1),10),r=0,i=0;i<9;i++)r+=parseInt(e.substr(i,1),10)*(10-i);return(r%=11)<2&&t===r||2<=r&&t===11-r},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&-1<e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i))},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),i=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,n=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*i)%11)%11;return i===r[9]&&n===r[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,r=0;r<12;r++)t+=parseInt(e[r],10)*(13-r);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,i=t,n=0,a=0;a<i.length;a++)n+=9<(r=Number(i[a])*(a%2+1))?r-9:r;return n%10==0},"ar-LY":function(e){var t=e.trim();return!!/^(1|2)\d{11}$/.test(t)},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,r=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],a=["1","0","X","9","8","7","6","5","4","3","2"],o=function(e){return r.includes(e)},s=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),i=parseInt(e.substring(6),10),n=new Date(t,r-1,i);return!(n>new Date)&&(n.getFullYear()===t&&n.getMonth()===r-1&&n.getDate()===i)},l=function(e){return function(e){for(var t=e.substring(0,17),r=0,i=0;i<17;i++)r+=parseInt(t.charAt(i),10)*parseInt(n[i],10);return a[r%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;var i="19".concat(e.substring(6,12));return!!(t=s(i))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;var i=e.substring(6,14);return!!(t=s(i))&&l(e)}(t))},"zh-TW":function(e){var n={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},t=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(t)&&Array.from(t).reduce(function(e,t,r){if(0!==r)return 9===r?(10-e%10-Number(t))%10==0:e+Number(t)*(9-r);var i=n[t];return i%10*9+Math.floor(i/10)},0)}};t.exports=r.default,t.exports.default=r.default},{"./isInt":54,"./util/assertString":99}],53:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r;{if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,a.default)(t[r]));return 0<=i.indexOf(e)}if("object"===o(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return 0<=t.indexOf(e)}return!1};var n=i(e("./util/assertString")),a=i(e("./util/toString"));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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)}t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/toString":103}],54:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?l:u,i=!t.hasOwnProperty("min")||e>=t.min,n=!t.hasOwnProperty("max")||e<=t.max,a=!t.hasOwnProperty("lt")||e<t.lt,o=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&i&&n&&a&&o};var i,s=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var l=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,u=/^[-+]?[0-9]+$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],55:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e);try{t=(0,a.default)(t,s);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===o(i)}catch(e){}return!1};var n=i(e("./util/assertString")),a=i(e("./util/merge"));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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)}var s={allow_primitives:!1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],56:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){(0,i.default)(e);var t=e.split("."),r=t.length;if(3<r||r<2)return!1;return t.reduce(function(e,t){return e&&(0,n.default)(t,{urlSafe:!0})},!0)};var i=a(e("./util/assertString")),n=a(e("./isBase64"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./isBase64":17,"./util/assertString":99}],57:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,i.default)(e),t=(0,n.default)(t,d),!e.includes(","))return!1;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return!1;if(t.checkDMS)return l.test(r[0])&&u.test(r[1]);return o.test(r[0])&&s.test(r[1])};var i=a(e("./util/assertString")),n=a(e("./util/merge"));function a(e){return e&&e.__esModule?e:{default:e}}var o=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,l=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,d={checkDMS:!1};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],58:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r,i;(0,o.default)(e),i="object"===s(t)?(r=t.min||0,t.max):(r=arguments[1]||0,arguments[2]);var n=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],a=e.length-n.length;return r<=a&&(void 0===i||a<=i)};var i,o=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};function s(e){return(s="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)}t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],59:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){{if((0,n.default)(e),t in a)return a[t](e);if("any"===t){for(var r in a){var i=a[r];if(i(e))return!0}return!1}}throw new Error("Invalid locale '".concat(t,"'"))};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a={"cs-CZ":function(e){return/^(([ABCDEFHKIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|EE|FI|EM|EL|EN|PF|ED|EF|ER|AU|ZP|E|ES|NT|EU|FL|FO|FT|FF|F|FS|FD|FÜ|GE|G|GI|GF|GS|ZR|GG|GP|GR|NY|ZI|GÖ|GZ|GT|HA|HH|HM|HU|WL|HZ|WR|RN|HK|HD|HN|HS|GK|HE|HF|RZ|HI|HG|HO|HX|IK|IL|IN|J|JL|KL|KA|KS|KF|KE|KI|KT|KO|KN|KR|KC|KU|K|LD|LL|LA|L|OP|LM|LI|LB|LU|LÖ|HL|LG|MD|GN|MZ|MA|ML|MR|MY|AT|DM|MC|NZ|RM|RG|MM|ME|MB|MI|FG|DL|HC|MW|RL|MK|MG|MÜ|WS|MH|M|MS|NU|NB|ND|NM|NK|NW|NR|NI|NF|DZ|EB|OZ|TG|TO|N|OA|GM|OB|CA|EH|FW|OF|OL|OE|OG|BH|LR|OS|AA|GD|OH|KY|NP|WK|PB|PA|PE|PI|PS|P|PM|PR|RA|RV|RE|R|H|SB|WN|RS|RD|RT|BM|NE|GV|RP|SU|GL|RO|GÜ|RH|EG|RW|PN|SK|MQ|RU|SZ|RI|SL|SM|SC|HR|FZ|VS|SW|SN|CR|SE|SI|SO|LP|SG|NH|SP|IZ|ST|BF|TE|HV|OD|SR|S|AC|DW|ZW|TF|TS|TR|TÜ|UM|PZ|TP|UE|UN|UH|MN|KK|VB|V|AE|PL|RC|VG|GW|PW|VR|VK|KB|WA|WT|BE|WM|WE|AP|MO|WW|FB|WZ|WI|WB|JE|WF|WO|W|WÜ|BL|Z|GC)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(AIC|FDB|ABG|SLN|SAW|KLZ|BUL|ESB|NAB|SUL|WST|ABI|AZE|BTF|KÖT|DKB|FEU|ROT|ALZ|SMÜ|WER|AUR|NOR|DÜW|BRK|HAB|TÖL|WOR|BAD|BAR|BER|BIW|EBS|KEM|MÜB|PEG|BGL|BGD|REI|WIL|BKS|BIR|WAT|BOR|BOH|BOT|BRB|BLK|HHM|NEB|NMB|WSF|LEO|HDL|WMS|WZL|BÜS|CHA|KÖZ|ROD|WÜM|CLP|NEC|COC|ZEL|COE|CUX|DAH|LDS|DEG|DEL|RSL|DLG|DGF|LAN|HEI|MED|DON|KIB|ROK|JÜL|MON|SLE|EBE|EIC|HIG|WBS|BIT|PRÜ|LIB|EMD|WIT|ERH|HÖS|ERZ|ANA|ASZ|MAB|MEK|STL|SZB|FDS|HCH|HOR|WOL|FRG|GRA|WOS|FRI|FFB|GAP|GER|BRL|CLZ|GTH|NOH|HGW|GRZ|LÖB|NOL|WSW|DUD|HMÜ|OHA|KRU|HAL|HAM|HBS|QLB|HVL|NAU|HAS|EBN|GEO|HOH|HDH|ERK|HER|WAN|HEF|ROF|HBN|ALF|HSK|USI|NAI|REH|SAN|KÜN|ÖHR|HOL|WAR|ARN|BRG|GNT|HOG|WOH|KEH|MAI|PAR|RID|ROL|KLE|GEL|KUS|KYF|ART|SDH|LDK|DIL|MAL|VIB|LER|BNA|GHA|GRM|MTL|WUR|LEV|LIF|STE|WEL|LIP|VAI|LUP|HGN|LBZ|LWL|PCH|STB|DAN|MKK|SLÜ|MSP|TBB|MGH|MTK|BIN|MSH|EIL|HET|SGH|BID|MYK|MSE|MST|MÜR|WRN|MEI|GRH|RIE|MZG|MIL|OBB|BED|FLÖ|MOL|FRW|SEE|SRB|AIB|MOS|BCH|ILL|SOB|NMS|NEA|SEF|UFF|NEW|VOH|NDH|TDO|NWM|GDB|GVM|WIS|NOM|EIN|GAN|LAU|HEB|OHV|OSL|SFB|ERB|LOS|BSK|KEL|BSB|MEL|WTL|OAL|FÜS|MOD|OHZ|OPR|BÜR|PAF|PLÖ|CAS|GLA|REG|VIT|ECK|SIM|GOA|EMS|DIZ|GOH|RÜD|SWA|NES|KÖN|MET|LRO|BÜZ|DBR|ROS|TET|HRO|ROW|BRV|HIP|PAN|GRI|SHK|EIS|SRO|SOK|LBS|SCZ|MER|QFT|SLF|SLS|HOM|SLK|ASL|BBG|SBK|SFT|SHG|MGN|MEG|ZIG|SAD|NEN|OVI|SHA|BLB|SIG|SON|SPN|FOR|GUB|SPB|IGB|WND|STD|STA|SDL|OBG|HST|BOG|SHL|PIR|FTL|SEB|SÖM|SÜW|TIR|SAB|TUT|ANG|SDT|LÜN|LSZ|MHL|VEC|VER|VIE|OVL|ANK|OVP|SBG|UEM|UER|WLG|GMN|NVP|RDG|RÜG|DAU|FKB|WAF|WAK|SLZ|WEN|SOG|APD|WUG|GUN|ESW|WIZ|WES|DIN|BRA|BÜD|WHV|HWI|GHC|WTM|WOB|WUN|MAK|SEL|OCH|HOT|WDA)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)}};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],60:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e||a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],61:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),e===e.toLowerCase()};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],62:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,n.default)(e),t&&(t.no_colons||t.no_separators))return o.test(e);return a.test(e)||s.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,o=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],63:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[a-f0-9]{32}$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],64:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e.trim())};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],65:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)||o.test(e)||s.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,o=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],66:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(r,e,t){if((0,a.default)(r),t&&t.strictMode&&!r.startsWith("+"))return!1;{if(Array.isArray(e))return e.some(function(e){if(o.hasOwnProperty(e)){var t=o[e];if(t.test(r))return!0}return!1});if(e in o)return o[e].test(r);if(!e||"any"===e){for(var i in o)if(o.hasOwnProperty(i)){var n=o[i];if(n.test(r))return!0}return!1}}throw new Error("Invalid locale '".concat(e,"'"))},r.locales=void 0;var i,a=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var o={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)[1|3])([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|91|9[3-9])\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/};o["en-CA"]=o["en-US"],o["fr-CA"]=o["en-CA"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"],o["zh-MO"]=o["en-MO"],o["ga-IE"]=o["en-IE"],o["fr-CH"]=o["de-CH"],o["it-CH"]=o["fr-CH"];var n=Object.keys(o);r.locales=n},{"./util/assertString":99}],67:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,i.default)(e),(0,n.default)(e)&&24===e.length};var i=a(e("./util/assertString")),n=a(e("./isHexadecimal"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./isHexadecimal":39,"./util/assertString":99}],68:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/[^\x00-\x7F]/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],69:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,n.default)(e),t&&t.no_symbols)return o.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?a.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i},a=e("./alpha");var o=/^[0-9]+$/;t.exports=r.default,t.exports.default=r.default},{"./alpha":5,"./util/assertString":99}],70:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^(0o)?[0-7]+$/i;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],71:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in a&&a[t].test(r)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],72:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e,{min:0,max:65535})};var i,n=(i=e("./isInt"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./isInt":54}],73:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){{if((0,n.default)(e),t in l)return l[t].test(e);if("any"===t){for(var r in l)if(l.hasOwnProperty(r)){var i=l[r];if(i.test(e))return!0}return!1}}throw new Error("Invalid locale '".concat(t,"'"))},r.locales=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^\d{4}$/,o=/^\d{5}$/,s=/^\d{6}$/,l={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:o,DK:a,DO:o,DZ:o,EE:o,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:o,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:o,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:o,JP:/^\d{3}\-\d{4}$/,KE:o,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:o,MX:o,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:o,NL:/^\d{4}\s?[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:s,RU:s,SA:o,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:s,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:o,TN:a,TW:/^\d{3}(\d{2})?$/,UA:o,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:o},u=Object.keys(l);r.locales=u},{"./util/assertString":99}],74:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),c.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/([01][0-9]|2[0-3])/,o=/[0-5][0-9]/,s=new RegExp("[-+]".concat(a.source,":").concat(o.source)),l=new RegExp("([zZ]|".concat(s.source,")")),u=new RegExp("".concat(a.source,":").concat(o.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),d=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(u.source).concat(l.source)),c=new RegExp("^".concat(d.source,"[ tT]").concat(f.source,"$"));t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],75:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return(0,n.default)(e),t?a.test(e)||o.test(e)||s.test(e)||l.test(e):a.test(e)||o.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,o=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,l=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],76:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,i.default)(e),a.test(e)};var i=n(e("./util/assertString"));function n(e){return e&&e.__esModule?e:{default:e}}var a=(0,n(e("./util/multilineRegex")).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/multilineRegex":102}],77:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],78:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;(0,u.default)(e);var r=(i=e,o=i,s={},Array.from(o).forEach(function(e){s[e]?s[e]+=1:s[e]=1}),n=s,a={length:i.length,uniqueChars:Object.keys(n).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0},Object.keys(n).forEach(function(e){d.test(e)?a.uppercaseCount+=n[e]:f.test(e)?a.lowercaseCount+=n[e]:c.test(e)?a.numberCount+=n[e]:p.test(e)&&(a.symbolCount+=n[e])}),a);var i,n,a,o,s;if((t=(0,l.default)(t||{},h)).returnScore)return function(e,t){var r=0;r+=e.uniqueChars*t.pointsPerUnique,r+=(e.length-e.uniqueChars)*t.pointsPerRepeat,0<e.lowercaseCount&&(r+=t.pointsForContainingLower);0<e.uppercaseCount&&(r+=t.pointsForContainingUpper);0<e.numberCount&&(r+=t.pointsForContainingNumber);0<e.symbolCount&&(r+=t.pointsForContainingSymbol);return r}(r,t);return r.length>=t.minLength&&r.lowercaseCount>=t.minLowercase&&r.uppercaseCount>=t.minUppercase&&r.numberCount>=t.minNumbers&&r.symbolCount>=t.minSymbols};var l=i(e("./util/merge")),u=i(e("./util/assertString"));function i(e){return e&&e.__esModule?e:{default:e}}var d=/^[A-Z]$/,f=/^[a-z]$/,c=/^[0-9]$/,p=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,h={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99,"./util/merge":101}],79:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],80:[function(e,t,r){"use strict";function o(e){return(o="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(r,"__esModule",{value:!0}),r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US";(0,i.default)(e);var r=e.slice(0);if(t in f)return t in h&&(r=r.replace(h[t],"")),!!f[t].test(r)&&(!(t in c)||c[t](r));throw new Error("Invalid locale '".concat(t,"'"))};var i=n(e("./util/assertString")),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}r.default=e,t&&t.set(e,r);return r}(e("./util/algorithms")),v=n(e("./isDate"));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var d={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function _(e){for(var t=!1,r=!1,i=0;i<3;i++)if(!t&&/[AEIOU]/.test(e[i]))t=!0;else if(!r&&t&&"X"===e[i])r=!0;else if(0<i){if(t&&!r&&!/[AEIOU]/.test(e[i]))return!1;if(r&&!/X/.test(e[i]))return!1}return!0}var f={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};f["lb-LU"]=f["fr-LU"],f["lt-LT"]=f["et-EE"],f["nl-BE"]=f["fr-BE"];var c={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10);t=40<r?(r-=40,"20".concat(t)):20<r?(r-=20,"18".concat(t)):"19".concat(t),r<10&&(r="0".concat(r));var i="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,v.default)(i,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),a=[2,4,8,5,10,9,7,3,6],o=0,s=0;s<a.length;s++)o+=n[s]*a[s];return(o=o%11==10?0:o%11)===n[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=t<54?"20".concat(t):"19".concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r=parseInt(e.slice(2,4),10);if(50<r&&(r-=50),20<r){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));var i="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,v.default)(i,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var n=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===n))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return l.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=[],i=0;i<t.length-1;i++){r.push("");for(var n=0;n<t.length-1;n++)t[i]===t[n]&&(r[i]+=n)}if(2!==(r=r.filter(function(e){return 1<e.length})).length&&3!==r.length)return!1;if(3===r[0].length){for(var a=r[0].split("").map(function(e){return parseInt(e,10)}),o=0,s=0;s<a.length-1;s++)a[s]+1===a[s+1]&&(o+=1);if(2===o)return!1}return l.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=t<37?"20".concat(t):"19".concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(58<t))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,v.default)(r,"YYYY/MM/DD"))return!1;for(var i=e.split("").map(function(e){return parseInt(e,10)}),n=0,a=4,o=0;o<9;o++)n+=i[o]*a,1==(a-=1)&&(a=7);return 1!=(n%=11)&&(0===n?0===i[9]:i[9]===11-n)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map(function(e){return parseInt(e,10)}),r=0,i=1;i<t.length;i+=2)r+=t[i];for(var n=0;n<t.length;n+=2)t[n]<2?r+=1-t[n]:(r+=2*(t[n]-2)+5,4<t[n]&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=0,i=0;i<8;i++)r+=t[i]*Math.pow(2,8-i);return r%11%10===t[8]},"en-IE":function(e){var t=l.reverseMultiplyAndSum(e.split("").slice(0,7).map(function(e){return parseInt(e,10)}),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0==(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in d)d.hasOwnProperty(t)&&e.push.apply(e,a(d[t]));return e}().indexOf(e.substr(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&1<t.length){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2}t.splice(0,1,r)}else for(;t.length<9;)t.unshift(0);t=t.join("");var i=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][i]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,v.default)(r,"YYYY/MM/DD"))return!1;for(var i=e.split("").map(function(e){return parseInt(e,10)}),n=0,a=1,o=0;o<10;o++)n+=i[o]*a,10===(a+=1)&&(a=1);if(n%11==10){a=3;for(var s=n=0;s<10;s++)n+=i[s]*a,10===(a+=1)&&(a=1);if(n%11==10)return 0===i[10]}return n%11===i[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,v.default)(r,"YYYY/MM/DD"))return!1;var i=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return i<10?i===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][i-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,v.default)(t,"YY/MM/DD"))return!1}var r=97-parseInt(e.slice(0,9),10)%97,i=parseInt(e.slice(9,11),10);return r===i||(r=97-parseInt("2".concat(e.slice(0,9)),10)%97)===i},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,v.default)(t,"YYYY/MM/DD")&&!!l.luhnCheck(e.slice(0,12))&&l.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12]))},"hr-HR":function(e){return l.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=8,i=1;i<9;i++)r+=t[i]*(i+1);return r%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!_(t.slice(0,3)))return!1;if(!_(t.slice(3,6)))return!1;for(var r={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},i=0,n=[6,7,9,10,12,13,14];i<n.length;i++){var a=n[i];t[a]in r&&t.splice(a,1,r[t[a]])}var o={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],s=parseInt(t[9]+t[10],10);40<s&&(s-=40),s<10&&(s="0".concat(s));var l="".concat(t[6]).concat(t[7],"/").concat(o,"/").concat(s);if(!(0,v.default)(l,"YY/MM/DD"))return!1;for(var u=0,d=1;d<t.length-1;d+=2){var f=parseInt(t[d],10);isNaN(f)&&(f=t[d].charCodeAt(0)-65),u+=f}for(var c={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},p=0;p<t.length-1;p+=2){var h=0;if(t[p]in c)h=c[t[p]];else{var m=parseInt(t[p],10);h=2*m+1,4<m&&(h+=2)}u+=h}return String.fromCharCode(65+u%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"===t)return!0;if("00"!==e.slice(2,4)){var r=e.slice(4,6);switch(e[6]){case"0":r="18".concat(r);break;case"1":r="19".concat(r);break;default:r="20".concat(r)}var i="".concat(r,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,v.default)(i,"YYYY/MM/DD"))return!1}for(var n=1101,a=[1,6,3,7,9,10,5,8,4,2],o=0;o<e.length-1;o++)n-=parseInt(e[o],10)*a[o];return parseInt(e[10],10)===n%11},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var r=parseInt(t.join("").slice(0,5),10);if(32e3<r)return!1;if(r===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return l.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,i=0;i<t.length;i++)r+=parseInt(e[i],10)*t[i];return 10!=(r%=11)&&r===parseInt(e[9],10)}var n=e.slice(0,2),a=parseInt(e.slice(2,4),10);80<a?(n="18".concat(n),a-=80):60<a?(n="22".concat(n),a-=60):40<a?(n="21".concat(n),a-=40):20<a?(n="20".concat(n),a-=20):n="19".concat(n),a<10&&(a="0".concat(a));var o="".concat(n,"/").concat(a,"/").concat(e.slice(4,6));if(!(0,v.default)(o,"YYYY/MM/DD"))return!1;for(var s=0,l=1,u=0;u<e.length-1;u++)s+=parseInt(e[u],10)*l%10,10<(l+=2)?l=1:5===l&&(l+=2);return(s=10-s%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t,r;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var i=1;i<=9;i++)t+=parseInt(e.substring(i-1,i),10)*(11-i);if(10==(r=10*t%11)&&(r=0),r!==parseInt(e.substring(9,10),10))return!1;t=0;for(var n=1;n<=10;n++)t+=parseInt(e.substring(n-1,n),10)*(12-n);return 10==(r=10*t%11)&&(r=0),r===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var a=e.length-2,o=e.substring(0,a),s=e.substring(a),l=0,u=a-7,d=a;1<=d;d--)l+=o.charAt(a-d)*u,(u-=1)<2&&(u=9);var f=l%11<2?0:11-l%11;if(f!==parseInt(s.charAt(0),10))return!1;a+=1,o=e.substring(0,a),l=0,u=a-7;for(var c=a;1<=c;c--)l+=o.charAt(a-c)*u,(u-=1)<2&&(u=9);return(f=l%11<2?0:11-l%11)===parseInt(s.charAt(1),10)},"pt-PT":function(e){var t=11-l.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11;return 9<t?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"===e.slice(0,4))return!0;var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,v.default)(r,"YY/MM/DD"))return!1}else if(!(0,v.default)(r,"YYYY/MM/DD"))return!1;for(var i=e.split("").map(function(e){return parseInt(e,10)}),n=[2,7,9,1,4,6,3,5,8,2,7,9],a=0,o=0;o<n.length;o++)a+=i[o]*n[o];return a%11==10?1===i[12]:i[12]===a%11},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;var t=parseInt(e.slice(0,2),10);if(53<t)return!1;t=t<10?"190".concat(t):"19".concat(t);var r=parseInt(e.slice(2,4),10);50<r&&(r-=50),r<10&&(r="0".concat(r));var i="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,v.default)(i,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-l.reverseMultiplyAndSum(e.split("").slice(0,7).map(function(e){return parseInt(e,10)}),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);11<e.length&&(t=t.slice(2));var r="",i=t.slice(2,4),n=parseInt(t.slice(4,6),10);if(11<e.length)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&n<60){var a=(new Date).getFullYear().toString(),o=parseInt(a.slice(0,2),10);if(a=parseInt(a,10),"-"===e[6])r=parseInt("".concat(o).concat(r),10)>a?"".concat(o-1).concat(r):"".concat(o).concat(r);else if(r="".concat(o-1).concat(r),a-parseInt(r,10)<100)return!1}60<n&&(n-=60),n<10&&(n="0".concat(n));var s="".concat(r,"/").concat(i,"/").concat(n);if(8===s.length){if(!(0,v.default)(s,"YY/MM/DD"))return!1}else if(!(0,v.default)(s,"YYYY/MM/DD"))return!1;return l.luhnCheck(e.replace(/\W/,""))}};c["lb-LU"]=c["fr-LU"],c["lt-LT"]=c["et-EE"],c["nl-BE"]=c["fr-BE"];var p=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,h={"de-AT":p,"de-DE":/[\/\\]/g,"fr-BE":p};h["nl-BE"]=h["fr-BE"],t.exports=r.default,t.exports.default=r.default},{"./isDate":25,"./util/algorithms":98,"./util/assertString":99}],81:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,_.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,E.default)(t,S)).validate_length&&2083<=e.length)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var r,i,n,a,o,s,l,u;if(1<(l=(e=(l=(e=(l=e.split("#")).shift()).split("?")).shift()).split("://")).length){if(r=l.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;l[0]=e.substr(2)}}if(""===(e=l.join("://")))return!1;if(""===(e=(l=e.split("/")).shift())&&!t.require_host)return!0;if(1<(l=e.split("@")).length){if(t.disallow_auth)return!1;if(""===l[0])return!1;if(0<=(i=l.shift()).indexOf(":")&&2<i.split(":").length)return!1;var d=i.split(":"),f=(m=2,function(e){if(Array.isArray(e))return e}(h=d)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],i=!0,n=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);i=!0);}catch(e){n=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(n)throw a}}return r}}(h,m)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(h,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=f[0],p=f[1];if(""===c&&""===p)return!1}var h,m;a=l.join("@"),u=s=null;var v=a.match(b);v?(n="",u=v[1],s=v[2]||null):(l=a.split(":"),n=l.shift(),l.length&&(s=l.join(":")));if(null!==s&&0<s.length){if(o=parseInt(s,10),!/^[0-9]+$/.test(s)||o<=0||65535<o)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return O(n,t.host_whitelist);if(!((0,y.default)(n)||(0,g.default)(n,t)||u&&(0,y.default)(u,6)))return!1;if(n=n||u,t.host_blacklist&&O(n,t.host_blacklist))return!1;return!0};var _=i(e("./util/assertString")),g=i(e("./isFQDN")),y=i(e("./isIP")),E=i(e("./util/merge"));function i(e){return e&&e.__esModule?e:{default:e}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var S={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},b=/^\[([^\]]+)\](?::([0-9]+))?$/;function O(e,t){for(var r=0;r<t.length;r++){var i=t[r];if(e===i||(n=i,"[object RegExp]"===Object.prototype.toString.call(n)&&i.test(e)))return!0}var n;return!1}t.exports=r.default,t.exports.default=r.default},{"./isFQDN":32,"./isIP":42,"./util/assertString":99,"./util/merge":101}],82:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e);var r=a[[void 0,null].includes(t)?"all":t];return!!r&&r.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],83:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),e===e.toUpperCase()};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],84:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,n.default)(e),(0,n.default)(t),t in a)return a[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},r.vatMatchers=void 0;var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};var a={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/,IT:/^(IT)?[0-9]{11}$/,NL:/^(NL)?[0-9]{9}B[0-9]{2}$/};r.vatMatchers=a},{"./util/assertString":99}],85:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),a.fullWidth.test(e)&&o.halfWidth.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i},a=e("./isFullWidth"),o=e("./isHalfWidth");t.exports=r.default,t.exports.default=r.default},{"./isFullWidth":34,"./isHalfWidth":36,"./util/assertString":99}],86:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e);for(var r=e.length-1;0<=r;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],87:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,n.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],88:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){(0,n.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],89:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){t=(0,o.default)(t,s);var r=e.split("@"),i=r.pop(),n=[r.join("@"),i];if(n[1]=n[1].toLowerCase(),"gmail.com"===n[1]||"googlemail.com"===n[1]){if(t.gmail_remove_subaddress&&(n[0]=n[0].split("+")[0]),t.gmail_remove_dots&&(n[0]=n[0].replace(/\.+/g,c)),!n[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(n[0]=n[0].toLowerCase()),n[1]=t.gmail_convert_googlemaildotcom?"gmail.com":n[1]}else if(0<=l.indexOf(n[1])){if(t.icloud_remove_subaddress&&(n[0]=n[0].split("+")[0]),!n[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(n[0]=n[0].toLowerCase())}else if(0<=u.indexOf(n[1])){if(t.outlookdotcom_remove_subaddress&&(n[0]=n[0].split("+")[0]),!n[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(n[0]=n[0].toLowerCase())}else if(0<=d.indexOf(n[1])){if(t.yahoo_remove_subaddress){var a=n[0].split("-");n[0]=1<a.length?a.slice(0,-1).join("-"):a[0]}if(!n[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(n[0]=n[0].toLowerCase())}else 0<=f.indexOf(n[1])?((t.all_lowercase||t.yandex_lowercase)&&(n[0]=n[0].toLowerCase()),n[1]="yandex.ru"):t.all_lowercase&&(n[0]=n[0].toLowerCase());return n.join("@")};var i,o=(i=e("./util/merge"))&&i.__esModule?i:{default:i};var s={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},l=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],d=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],f=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(e){return 1<e.length?e:""}t.exports=r.default,t.exports.default=r.default},{"./util/merge":101}],90:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,n.default)(e),t){var r=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(r,"")}var i=e.length-1;for(;/\s/.test(e.charAt(i));)i-=1;return e.slice(0,i+1)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],91:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,i.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,n.default)(e,r)};var i=a(e("./util/assertString")),n=a(e("./blacklist"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./blacklist":6,"./util/assertString":99}],92:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,n.default)(e),t)return"1"===e||/^true$/i.test(e);return"0"!==e&&!/^false$/i.test(e)&&""!==e};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],93:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],94:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e)?parseFloat(e):NaN};var i,n=(i=e("./isFloat"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./isFloat":33}],95:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,n.default)(e),parseInt(e,t||10)};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],96:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,i.default)((0,n.default)(e,t),t)};var i=a(e("./rtrim")),n=a(e("./ltrim"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports=r.default,t.exports.default=r.default},{"./ltrim":87,"./rtrim":90}],97:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,n.default)(e),e.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],98:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.iso7064Check=function(e){for(var t=10,r=0;r<e.length-1;r++)t=(parseInt(e[r],10)+t)%10==0?9:(parseInt(e[r],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},r.luhnCheck=function(e){for(var t=0,r=!1,i=e.length-1;0<=i;i--){if(r){var n=2*parseInt(e[i],10);t+=9<n?n.toString().split("").map(function(e){return parseInt(e,10)}).reduce(function(e,t){return e+t},0):n}else t+=parseInt(e[i],10);r=!r}return t%10==0},r.reverseMultiplyAndSum=function(e,t){for(var r=0,i=0;i<e.length;i++)r+=e[i]*(t-i);return r},r.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],i=e.split("").reverse().join(""),n=0,a=0;a<i.length;a++)n=t[n][r[a%8][parseInt(i[a],10)]];return 0===n}},{}],99:[function(e,t,r){"use strict";function i(e){return(i="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(r,"__esModule",{value:!0}),r.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=i(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},t.exports=r.default,t.exports.default=r.default},{}],100:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=function(e,t){return e.some(function(e){return t===e})};r.default=i,t.exports=r.default,t.exports.default=r.default},{}],101:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},{}],102:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r=e.join("");return new RegExp(r,t)},t.exports=r.default,t.exports.default=r.default},{}],103:[function(e,t,r){"use strict";function i(e){return(i="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(r,"__esModule",{value:!0}),r.default=function(e){"object"===i(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},t.exports=r.default,t.exports.default=r.default},{}],104:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return(0,n.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var i,n=(i=e("./util/assertString"))&&i.__esModule?i:{default:i};t.exports=r.default,t.exports.default=r.default},{"./util/assertString":99}],105:[function(e,t,r){"use strict";t.exports={INVALID_TYPE:"Expected type {0} but found type {1}",INVALID_FORMAT:"Object didn't pass validation for format {0}: {1}",ENUM_MISMATCH:"No enum match for: {0}",ENUM_CASE_MISMATCH:"Enum does not match case for: {0}",ANY_OF_MISSING:"Data does not match any schemas from 'anyOf'",ONE_OF_MISSING:"Data does not match any schemas from 'oneOf'",ONE_OF_MULTIPLE:"Data is valid against more than one schema from 'oneOf'",NOT_PASSED:"Data matches schema from 'not'",ARRAY_LENGTH_SHORT:"Array is too short ({0}), minimum {1}",ARRAY_LENGTH_LONG:"Array is too long ({0}), maximum {1}",ARRAY_UNIQUE:"Array items are not unique (indexes {0} and {1})",ARRAY_ADDITIONAL_ITEMS:"Additional items not allowed",MULTIPLE_OF:"Value {0} is not a multiple of {1}",MINIMUM:"Value {0} is less than minimum {1}",MINIMUM_EXCLUSIVE:"Value {0} is equal or less than exclusive minimum {1}",MAXIMUM:"Value {0} is greater than maximum {1}",MAXIMUM_EXCLUSIVE:"Value {0} is equal or greater than exclusive maximum {1}",OBJECT_PROPERTIES_MINIMUM:"Too few properties defined ({0}), minimum {1}",OBJECT_PROPERTIES_MAXIMUM:"Too many properties defined ({0}), maximum {1}",OBJECT_MISSING_REQUIRED_PROPERTY:"Missing required property: {0}",OBJECT_ADDITIONAL_PROPERTIES:"Additional properties not allowed: {0}",OBJECT_DEPENDENCY_KEY:"Dependency failed - key must exist: {0} (due to key: {1})",MIN_LENGTH:"String is too short ({0} chars), minimum {1}",MAX_LENGTH:"String is too long ({0} chars), maximum {1}",PATTERN:"String does not match pattern {0}: {1}",KEYWORD_TYPE_EXPECTED:"Keyword '{0}' is expected to be of type '{1}'",KEYWORD_UNDEFINED_STRICT:"Keyword '{0}' must be defined in strict mode",KEYWORD_UNEXPECTED:"Keyword '{0}' is not expected to appear in the schema",KEYWORD_MUST_BE:"Keyword '{0}' must be {1}",KEYWORD_DEPENDENCY:"Keyword '{0}' requires keyword '{1}'",KEYWORD_PATTERN:"Keyword '{0}' is not a valid RegExp pattern: {1}",KEYWORD_VALUE_TYPE:"Each element of keyword '{0}' array must be a '{1}'",UNKNOWN_FORMAT:"There is no validation function for format '{0}'",CUSTOM_MODE_FORCE_PROPERTIES:"{0} must define at least one property if present",REF_UNRESOLVED:"Reference has not been resolved during compilation: {0}",UNRESOLVABLE_REFERENCE:"Reference could not be resolved: {0}",SCHEMA_NOT_REACHABLE:"Validator was not able to read schema with uri: {0}",SCHEMA_TYPE_EXPECTED:"Schema is expected to be of type 'object'",SCHEMA_NOT_AN_OBJECT:"Schema is not an object: {0}",ASYNC_TIMEOUT:"{0} asynchronous task(s) have timed out after {1} ms",PARENT_SCHEMA_VALIDATION_FAILED:"Schema failed to validate against its parent schema, see inner errors for details.",REMOTE_NOT_VALID:"Remote reference didn't compile successfully: {0}"}},{}],106:[function(e,t,r){var i=e("validator"),n={date:function(e){if("string"!=typeof e)return!0;var t=/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/.exec(e);return null!==t&&!(t[2]<"01"||"12"<t[2]||t[3]<"01"||"31"<t[3])},"date-time":function(e){if("string"!=typeof e)return!0;var t=e.toLowerCase().split("t");if(!n.date(t[0]))return!1;var r=/^([0-9]{2}):([0-9]{2}):([0-9]{2})(.[0-9]+)?(z|([+-][0-9]{2}:[0-9]{2}))$/.exec(t[1]);return null!==r&&!("23"<r[1]||"59"<r[2]||"59"<r[3])},email:function(e){return"string"!=typeof e||i.isEmail(e,{require_tld:!0})},hostname:function(e){if("string"!=typeof e)return!0;var t=/^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$/.test(e);if(t){if(255<e.length)return!1;for(var r=e.split("."),i=0;i<r.length;i++)if(63<r[i].length)return!1}return t},"host-name":function(e){return n.hostname.call(this,e)},ipv4:function(e){return"string"!=typeof e||i.isIP(e,4)},ipv6:function(e){return"string"!=typeof e||i.isIP(e,6)},regex:function(e){try{return RegExp(e),!0}catch(e){return!1}},uri:function(e){return this.options.strictUris?n["strict-uri"].apply(this,arguments):"string"!=typeof e||RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?").test(e)},"strict-uri":function(e){return"string"!=typeof e||i.isURL(e)}};t.exports=n},{validator:4}],107:[function(e,t,p){"use strict";var o=e("./FormatValidators"),s=e("./Report"),h=e("./Utils"),m=function(t,e){return t&&Array.isArray(t.includeErrors)&&0<t.includeErrors.length&&!e.some(function(e){return t.includeErrors.includes(e)})},u={multipleOf:function(e,t,r){if(!m(this.validateOptions,["MULTIPLE_OF"])&&"number"==typeof r){var i=String(t.multipleOf),n=Math.pow(10,i.length-i.indexOf(".")-1);"integer"!==h.whatIs(r*n/(t.multipleOf*n))&&e.addError("MULTIPLE_OF",[r,t.multipleOf],null,t)}},maximum:function(e,t,r){m(this.validateOptions,["MAXIMUM","MAXIMUM_EXCLUSIVE"])||"number"==typeof r&&(!0!==t.exclusiveMaximum?r>t.maximum&&e.addError("MAXIMUM",[r,t.maximum],null,t):r>=t.maximum&&e.addError("MAXIMUM_EXCLUSIVE",[r,t.maximum],null,t))},exclusiveMaximum:function(){},minimum:function(e,t,r){m(this.validateOptions,["MINIMUM","MINIMUM_EXCLUSIVE"])||"number"==typeof r&&(!0!==t.exclusiveMinimum?r<t.minimum&&e.addError("MINIMUM",[r,t.minimum],null,t):r<=t.minimum&&e.addError("MINIMUM_EXCLUSIVE",[r,t.minimum],null,t))},exclusiveMinimum:function(){},maxLength:function(e,t,r){m(this.validateOptions,["MAX_LENGTH"])||"string"==typeof r&&h.ucs2decode(r).length>t.maxLength&&e.addError("MAX_LENGTH",[r.length,t.maxLength],null,t)},minLength:function(e,t,r){m(this.validateOptions,["MIN_LENGTH"])||"string"==typeof r&&h.ucs2decode(r).length<t.minLength&&e.addError("MIN_LENGTH",[r.length,t.minLength],null,t)},pattern:function(e,t,r){m(this.validateOptions,["PATTERN"])||"string"==typeof r&&!1===RegExp(t.pattern).test(r)&&e.addError("PATTERN",[t.pattern,r],null,t)},additionalItems:function(e,t,r){m(this.validateOptions,["ARRAY_ADDITIONAL_ITEMS"])||Array.isArray(r)&&!1===t.additionalItems&&Array.isArray(t.items)&&r.length>t.items.length&&e.addError("ARRAY_ADDITIONAL_ITEMS",null,null,t)},items:function(){},maxItems:function(e,t,r){m(this.validateOptions,["ARRAY_LENGTH_LONG"])||Array.isArray(r)&&r.length>t.maxItems&&e.addError("ARRAY_LENGTH_LONG",[r.length,t.maxItems],null,t)},minItems:function(e,t,r){m(this.validateOptions,["ARRAY_LENGTH_SHORT"])||Array.isArray(r)&&r.length<t.minItems&&e.addError("ARRAY_LENGTH_SHORT",[r.length,t.minItems],null,t)},uniqueItems:function(e,t,r){if(!m(this.validateOptions,["ARRAY_UNIQUE"])&&Array.isArray(r)&&!0===t.uniqueItems){var i=[];!1===h.isUniqueArray(r,i)&&e.addError("ARRAY_UNIQUE",i,null,t)}},maxProperties:function(e,t,r){if(!m(this.validateOptions,["OBJECT_PROPERTIES_MAXIMUM"])&&"object"===h.whatIs(r)){var i=Object.keys(r).length;i>t.maxProperties&&e.addError("OBJECT_PROPERTIES_MAXIMUM",[i,t.maxProperties],null,t)}},minProperties:function(e,t,r){if(!m(this.validateOptions,["OBJECT_PROPERTIES_MINIMUM"])&&"object"===h.whatIs(r)){var i=Object.keys(r).length;i<t.minProperties&&e.addError("OBJECT_PROPERTIES_MINIMUM",[i,t.minProperties],null,t)}},required:function(e,t,r){if(!m(this.validateOptions,["OBJECT_MISSING_REQUIRED_PROPERTY"])&&"object"===h.whatIs(r))for(var i=t.required.length;i--;){var n=t.required[i];void 0===r[n]&&e.addError("OBJECT_MISSING_REQUIRED_PROPERTY",[n],null,t)}},additionalProperties:function(e,t,r){if(void 0===t.properties&&void 0===t.patternProperties)return u.properties.call(this,e,t,r)},patternProperties:function(e,t,r){if(void 0===t.properties)return u.properties.call(this,e,t,r)},properties:function(e,t,r){if(!m(this.validateOptions,["OBJECT_ADDITIONAL_PROPERTIES"])&&"object"===h.whatIs(r)){var i=void 0!==t.properties?t.properties:{},n=void 0!==t.patternProperties?t.patternProperties:{};if(!1===t.additionalProperties){var a=Object.keys(r),o=Object.keys(i),s=Object.keys(n);a=h.difference(a,o);for(var l=s.length;l--;)for(var u=RegExp(s[l]),d=a.length;d--;)!0===u.test(a[d])&&a.splice(d,1);if(0<a.length){var f=this.options.assumeAdditional.length;if(f)for(;f--;){var c=a.indexOf(this.options.assumeAdditional[f]);-1!==c&&a.splice(c,1)}var p=a.length;if(p)for(;p--;)e.addError("OBJECT_ADDITIONAL_PROPERTIES",[a[p]],null,t)}}}},dependencies:function(e,t,r){if(!m(this.validateOptions,["OBJECT_DEPENDENCY_KEY"])&&"object"===h.whatIs(r))for(var i=Object.keys(t.dependencies),n=i.length;n--;){var a=i[n];if(r[a]){var o=t.dependencies[a];if("object"===h.whatIs(o))p.validate.call(this,e,o,r);else for(var s=o.length;s--;){var l=o[s];void 0===r[l]&&e.addError("OBJECT_DEPENDENCY_KEY",[l,a],null,t)}}}},enum:function(e,t,r){if(!m(this.validateOptions,["ENUM_CASE_MISMATCH","ENUM_MISMATCH"])){for(var i=!1,n=!1,a=t.enum.length;a--;){if(h.areEqual(r,t.enum[a])){i=!0;break}h.areEqual(r,t.enum[a]),n=!0}if(!1===i){var o=n&&this.options.enumCaseInsensitiveComparison?"ENUM_CASE_MISMATCH":"ENUM_MISMATCH";e.addError(o,[r],null,t)}}},type:function(e,t,r){if(!m(this.validateOptions,["INVALID_TYPE"])){var i=h.whatIs(r);"string"==typeof t.type?i===t.type||"integer"===i&&"number"===t.type||e.addError("INVALID_TYPE",[t.type,i],null,t):-1!==t.type.indexOf(i)||"integer"===i&&-1!==t.type.indexOf("number")||e.addError("INVALID_TYPE",[t.type,i],null,t)}},allOf:function(e,t,r){for(var i=t.allOf.length;i--;){var n=p.validate.call(this,e,t.allOf[i],r);if(this.options.breakOnFirstError&&!1===n)break}},anyOf:function(e,t,r){for(var i=[],n=!1,a=t.anyOf.length;a--&&!1===n;){var o=new s(e);i.push(o),n=p.validate.call(this,o,t.anyOf[a],r)}!1===n&&e.addError("ANY_OF_MISSING",void 0,i,t)},oneOf:function(e,t,r){for(var i=0,n=[],a=t.oneOf.length;a--;){var o=new s(e,{maxErrors:1});n.push(o),!0===p.validate.call(this,o,t.oneOf[a],r)&&i++}0===i?e.addError("ONE_OF_MISSING",void 0,n,t):1<i&&e.addError("ONE_OF_MULTIPLE",null,null,t)},not:function(e,t,r){var i=new s(e);!0===p.validate.call(this,i,t.not,r)&&e.addError("NOT_PASSED",null,null,t)},definitions:function(){},format:function(r,i,n){var e=o[i.format];if("function"==typeof e){if(m(this.validateOptions,["INVALID_FORMAT"]))return;if(2===e.length){var a=h.clone(r.path);r.addAsyncTask(e,[n],function(e){if(!0!==e){var t=r.path;r.path=a,r.addError("INVALID_FORMAT",[i.format,n],null,i),r.path=t}})}else!0!==e.call(this,n)&&r.addError("INVALID_FORMAT",[i.format,n],null,i)}else!0!==this.options.ignoreUnknownFormats&&r.addError("UNKNOWN_FORMAT",[i.format],null,i)}};p.JsonValidators=u,p.validate=function(e,t,r){e.commonErrorMessage="JSON_OBJECT_VALIDATION_FAILED";var i=h.whatIs(t);if("object"!==i)return e.addError("SCHEMA_NOT_AN_OBJECT",[i],null,t),!1;var n=Object.keys(t);if(0===n.length)return!0;var a=!1;if(e.rootSchema||(e.rootSchema=t,a=!0),void 0!==t.$ref){for(var o=99;t.$ref&&0<o;){if(!t.__$refResolved){e.addError("REF_UNRESOLVED",[t.$ref],null,t);break}if(t.__$refResolved===t)break;t=t.__$refResolved,n=Object.keys(t),o--}if(0===o)throw new Error("Circular dependency by $ref references!")}var s=h.whatIs(r);if(t.type&&(n.splice(n.indexOf("type"),1),u.type.call(this,e,t,r),e.errors.length&&this.options.breakOnFirstError))return!1;for(var l=n.length;l--&&!(u[n[l]]&&(u[n[l]].call(this,e,t,r),e.errors.length&&this.options.breakOnFirstError)););return 0!==e.errors.length&&!1!==this.options.breakOnFirstError||("array"===s?function(e,t,r){var i=r.length;if(Array.isArray(t.items))for(;i--;)i<t.items.length?(e.path.push(i),p.validate.call(this,e,t.items[i],r[i]),e.path.pop()):"object"==typeof t.additionalItems&&(e.path.push(i),p.validate.call(this,e,t.additionalItems,r[i]),e.path.pop());else if("object"==typeof t.items)for(;i--;)e.path.push(i),p.validate.call(this,e,t.items,r[i]),e.path.pop()}.call(this,e,t,r):"object"===s&&function(e,t,r){var i=t.additionalProperties;!0!==i&&void 0!==i||(i={});for(var n=t.properties?Object.keys(t.properties):[],a=t.patternProperties?Object.keys(t.patternProperties):[],o=Object.keys(r),s=o.length;s--;){var l=o[s],u=r[l],d=[];-1!==n.indexOf(l)&&d.push(t.properties[l]);for(var f=a.length;f--;){var c=a[f];!0===RegExp(c).test(l)&&d.push(t.patternProperties[c])}for(0===d.length&&!1!==i&&d.push(i),f=d.length;f--;)e.path.push(l),p.validate.call(this,e,d[f],u),e.path.pop()}}.call(this,e,t,r)),"function"==typeof this.options.customValidator&&this.options.customValidator.call(this,e,t,r),a&&(e.rootSchema=void 0),0===e.errors.length}},{"./FormatValidators":106,"./Report":109,"./Utils":113}],108:[function(e,t,r){"function"!=typeof Number.isFinite&&(Number.isFinite=function(e){return"number"==typeof e&&(e==e&&e!==1/0&&e!==-1/0)})},{}],109:[function(e,t,r){(function(d){(function(){"use strict";var r=e("lodash.get"),n=e("./Errors"),f=e("./Utils");function i(e,t){this.parentReport=e instanceof i?e:void 0,this.options=e instanceof i?e.options:e||{},this.reportOptions=t||{},this.errors=[],this.path=[],this.asyncTasks=[],this.rootSchema=void 0,this.commonErrorMessage=void 0,this.json=void 0}i.prototype.isValid=function(){if(0<this.asyncTasks.length)throw new Error("Async tasks pending, can't answer isValid");return 0===this.errors.length},i.prototype.addAsyncTask=function(e,t,r){this.asyncTasks.push([e,t,r])},i.prototype.getAncestor=function(e){if(this.parentReport)return this.parentReport.getSchemaId()===e?this.parentReport:this.parentReport.getAncestor(e)},i.prototype.processAsyncTasks=function(e,r){var t=e||2e3,i=this.asyncTasks.length,n=i,a=!1,o=this;function s(){d.nextTick(function(){var e=0===o.errors.length,t=e?null:o.errors;r(t,e)})}function l(t){return function(e){a||(t(e),0==--i&&s())}}if(0===i||0<this.errors.length&&this.options.breakOnFirstError)s();else{for(;n--;){var u=this.asyncTasks[n];u[0].apply(null,u[1].concat(l(u[2])))}setTimeout(function(){0<i&&(a=!0,o.addError("ASYNC_TIMEOUT",[i,t]),r(o.errors,!1))},t)}},i.prototype.getPath=function(e){var t=[];return this.parentReport&&(t=t.concat(this.parentReport.path)),t=t.concat(this.path),!0!==e&&(t="#/"+t.map(function(e){return e=e.toString(),f.isAbsoluteUri(e)?"uri("+e+")":e.replace(/\~/g,"~0").replace(/\//g,"~1")}).join("/")),t},i.prototype.getSchemaId=function(){if(!this.rootSchema)return null;var e=[];for(this.parentReport&&(e=e.concat(this.parentReport.path)),e=e.concat(this.path);0<e.length;){var t=r(this.rootSchema,e);if(t&&t.id)return t.id;e.pop()}return this.rootSchema.id},i.prototype.hasError=function(e,t){for(var r=this.errors.length;r--;)if(this.errors[r].code===e){for(var i=!0,n=this.errors[r].params.length;n--;)this.errors[r].params[n]!==t[n]&&(i=!1);if(i)return i}return!1},i.prototype.addError=function(e,t,r,i){if(!e)throw new Error("No errorCode passed into addError()");this.addCustomError(e,n[e],t,r,i)},i.prototype.getJson=function(){for(var e=this;void 0===e.json;)if(void 0===(e=e.parentReport))return;return e.json},i.prototype.addCustomError=function(e,t,r,i,n){if(!(this.errors.length>=this.reportOptions.maxErrors)){if(!t)throw new Error("No errorMessage known for code "+e);for(var a=(r=r||[]).length;a--;){var o=f.whatIs(r[a]),s="object"===o||"null"===o?JSON.stringify(r[a]):r[a];t=t.replace("{"+a+"}",s)}var l={code:e,params:r,message:t,path:this.getPath(this.options.reportPathAsArray),schemaId:this.getSchemaId()};if(l[f.schemaSymbol]=n,l[f.jsonSymbol]=this.getJson(),n&&"string"==typeof n?l.description=n:n&&"object"==typeof n&&(n.title&&(l.title=n.title),n.description&&(l.description=n.description)),null!=i){for(Array.isArray(i)||(i=[i]),l.inner=[],a=i.length;a--;)for(var u=i[a],d=u.errors.length;d--;)l.inner.push(u.errors[d]);0===l.inner.length&&(l.inner=void 0)}this.errors.push(l)}},t.exports=i}).call(this)}).call(this,e("_process"))},{"./Errors":105,"./Utils":113,_process:3,"lodash.get":1}],110:[function(e,t,r){"use strict";var n=e("lodash.isequal"),_=e("./Report"),g=e("./SchemaCompilation"),y=e("./SchemaValidation"),a=e("./Utils");function E(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function A(e,t){if("object"==typeof e&&null!==e){if(!t)return e;if(e.id&&(e.id===t||"#"===e.id[0]&&e.id.substring(1)===t))return e;var r,i;if(Array.isArray(e)){for(r=e.length;r--;)if(i=A(e[r],t))return i}else{var n=Object.keys(e);for(r=n.length;r--;){var a=n[r];if(0!==a.indexOf("__$")&&(i=A(e[a],t)))return i}}}}r.cacheSchemaByUri=function(e,t){var r=E(e);r&&(this.cache[r]=t)},r.removeFromCacheByUri=function(e){var t=E(e);t&&delete this.cache[t]},r.checkCacheForUri=function(e){var t=E(e);return!!t&&null!=this.cache[t]},r.getSchema=function(e,t){return"object"==typeof t&&(t=r.getSchemaByReference.call(this,e,t)),"string"==typeof t&&(t=r.getSchemaByUri.call(this,e,t)),t},r.getSchemaByReference=function(e,t){for(var r=this.referenceCache.length;r--;)if(n(this.referenceCache[r][0],t))return this.referenceCache[r][1];var i=a.cloneDeep(t);return this.referenceCache.push([t,i]),i},r.getSchemaByUri=function(e,t,r){var i,n,a,o=E(t),s=-1===(n=(i=t).indexOf("#"))?void 0:i.slice(n+1),l=o?this.cache[o]:r;if(l&&o&&l!==r){var u;e.path.push(o);var d=e.getAncestor(l.id);if(d)u=d;else if(u=new _(e),g.compileSchema.call(this,u,l)){var f=this.options;try{this.options=l.__$validationOptions||this.options,y.validateSchema.call(this,u,l)}finally{this.options=f}}var c=u.isValid();if(c||e.addError("REMOTE_NOT_VALID",[t],u),e.path.pop(),!c)return}if(l&&s)for(var p=s.split("/"),h=0,m=p.length;l&&h<m;h++){var v=(a=p[h],decodeURIComponent(a).replace(/~[0-1]/g,function(e){return"~1"===e?"/":"~"}));l=0===h?A(l,v):l[v]}return l},r.getRemotePath=E},{"./Report":109,"./SchemaCompilation":111,"./SchemaValidation":112,"./Utils":113,"lodash.isequal":2}],111:[function(e,t,_){"use strict";var g=e("./Report"),y=e("./SchemaCache"),E=e("./Utils");function A(e,t){if(E.isAbsoluteUri(t))return t;var r,i=e.join(""),n=E.isAbsoluteUri(i),a=E.isRelativeUri(i),o=E.isRelativeUri(t);n&&o?(r=i.match(/\/[^\/]*$/))&&(i=i.slice(0,r.index+1)):a&&o?i="":(r=i.match(/[^#/]+$/))&&(i=i.slice(0,r.index));var s=i+t;return s=s.replace(/##/,"#")}var S=function(e,t){for(var r=t.length,i=0;r--;){var n=new g(e);_.compileSchema.call(this,n,t[r])&&i++,e.errors=e.errors.concat(n.errors)}return i};function b(e,t){for(var r=e.length;r--;)if(e[r].id===t)return e[r];return null}_.compileSchema=function(e,t){if(e.commonErrorMessage="SCHEMA_COMPILATION_FAILED","string"==typeof t){var r=y.getSchemaByUri.call(this,e,t);if(!r)return e.addError("SCHEMA_NOT_REACHABLE",[t]),!1;t=r}if(Array.isArray(t))return function(e,t){var r,i=0;do{for(var n=e.errors.length;n--;)"UNRESOLVABLE_REFERENCE"===e.errors[n].code&&e.errors.splice(n,1);for(r=i,i=S.call(this,e,t),n=t.length;n--;){var a=t[n];if(a.__$missingReferences){for(var o=a.__$missingReferences.length;o--;){var s=a.__$missingReferences[o],l=b(t,s.ref);l&&(s.obj["__"+s.key+"Resolved"]=l,a.__$missingReferences.splice(o,1))}0===a.__$missingReferences.length&&delete a.__$missingReferences}}}while(i!==t.length&&i!==r);return e.isValid()}.call(this,e,t);if(t.__$compiled&&t.id&&!1===y.checkCacheForUri.call(this,t.id)&&(t.__$compiled=void 0),t.__$compiled)return!0;t.id&&"string"==typeof t.id&&y.cacheSchemaByUri.call(this,t.id,t);var i=!1;e.rootSchema||(e.rootSchema=t,i=!0);var n=e.isValid();delete t.__$missingReferences;for(var a=function e(t,r,i,n){if(r=r||[],i=i||[],n=n||[],"object"!=typeof t||null===t)return r;var a;if("string"==typeof t.id&&i.push(t.id),"string"==typeof t.$ref&&void 0===t.__$refResolved&&r.push({ref:A(i,t.$ref),key:"$ref",obj:t,path:n.slice(0)}),"string"==typeof t.$schema&&void 0===t.__$schemaResolved&&r.push({ref:A(i,t.$schema),key:"$schema",obj:t,path:n.slice(0)}),Array.isArray(t))for(a=t.length;a--;)n.push(a.toString()),e(t[a],r,i,n),n.pop();else{var o=Object.keys(t);for(a=o.length;a--;)0!==o[a].indexOf("__$")&&(n.push(o[a]),e(t[o[a]],r,i,n),n.pop())}return"string"==typeof t.id&&i.pop(),r}.call(this,t),o=a.length;o--;){var s=a[o],l=y.getSchemaByUri.call(this,e,s.ref,t);if(!l){var u=this.getSchemaReader();if(u){var d=u(s.ref);if(d){d.id=s.ref;var f=new g(e);_.compileSchema.call(this,f,d)?l=y.getSchemaByUri.call(this,e,s.ref,t):e.errors=e.errors.concat(f.errors)}}}if(!l){var c=e.hasError("REMOTE_NOT_VALID",[s.ref]),p=E.isAbsoluteUri(s.ref),h=!1,m=!0===this.options.ignoreUnresolvableReferences;p&&(h=y.checkCacheForUri.call(this,s.ref)),c||m&&p||h||(Array.prototype.push.apply(e.path,s.path),e.addError("UNRESOLVABLE_REFERENCE",[s.ref]),e.path=e.path.slice(0,-s.path.length),n&&(t.__$missingReferences=t.__$missingReferences||[],t.__$missingReferences.push(s)))}s.obj["__"+s.key+"Resolved"]=l}var v=e.isValid();return v?t.__$compiled=!0:t.id&&"string"==typeof t.id&&y.removeFromCacheByUri.call(this,t.id),i&&(e.rootSchema=void 0),v}},{"./Report":109,"./SchemaCache":110,"./Utils":113}],112:[function(e,t,d){"use strict";var r=e("./FormatValidators"),f=e("./JsonValidation"),c=e("./Report"),p=e("./Utils"),h={$ref:function(e,t){"string"!=typeof t.$ref&&e.addError("KEYWORD_TYPE_EXPECTED",["$ref","string"])},$schema:function(e,t){"string"!=typeof t.$schema&&e.addError("KEYWORD_TYPE_EXPECTED",["$schema","string"])},multipleOf:function(e,t){"number"!=typeof t.multipleOf?e.addError("KEYWORD_TYPE_EXPECTED",["multipleOf","number"]):t.multipleOf<=0&&e.addError("KEYWORD_MUST_BE",["multipleOf","strictly greater than 0"])},maximum:function(e,t){"number"!=typeof t.maximum&&e.addError("KEYWORD_TYPE_EXPECTED",["maximum","number"])},exclusiveMaximum:function(e,t){"boolean"!=typeof t.exclusiveMaximum?e.addError("KEYWORD_TYPE_EXPECTED",["exclusiveMaximum","boolean"]):void 0===t.maximum&&e.addError("KEYWORD_DEPENDENCY",["exclusiveMaximum","maximum"])},minimum:function(e,t){"number"!=typeof t.minimum&&e.addError("KEYWORD_TYPE_EXPECTED",["minimum","number"])},exclusiveMinimum:function(e,t){"boolean"!=typeof t.exclusiveMinimum?e.addError("KEYWORD_TYPE_EXPECTED",["exclusiveMinimum","boolean"]):void 0===t.minimum&&e.addError("KEYWORD_DEPENDENCY",["exclusiveMinimum","minimum"])},maxLength:function(e,t){"integer"!==p.whatIs(t.maxLength)?e.addError("KEYWORD_TYPE_EXPECTED",["maxLength","integer"]):t.maxLength<0&&e.addError("KEYWORD_MUST_BE",["maxLength","greater than, or equal to 0"])},minLength:function(e,t){"integer"!==p.whatIs(t.minLength)?e.addError("KEYWORD_TYPE_EXPECTED",["minLength","integer"]):t.minLength<0&&e.addError("KEYWORD_MUST_BE",["minLength","greater than, or equal to 0"])},pattern:function(t,r){if("string"!=typeof r.pattern)t.addError("KEYWORD_TYPE_EXPECTED",["pattern","string"]);else try{RegExp(r.pattern)}catch(e){t.addError("KEYWORD_PATTERN",["pattern",r.pattern])}},additionalItems:function(e,t){var r=p.whatIs(t.additionalItems);"boolean"!==r&&"object"!==r?e.addError("KEYWORD_TYPE_EXPECTED",["additionalItems",["boolean","object"]]):"object"===r&&(e.path.push("additionalItems"),d.validateSchema.call(this,e,t.additionalItems),e.path.pop())},items:function(e,t){var r=p.whatIs(t.items);if("object"===r)e.path.push("items"),d.validateSchema.call(this,e,t.items),e.path.pop();else if("array"===r)for(var i=t.items.length;i--;)e.path.push("items"),e.path.push(i.toString()),d.validateSchema.call(this,e,t.items[i]),e.path.pop(),e.path.pop();else e.addError("KEYWORD_TYPE_EXPECTED",["items",["array","object"]]);!0===this.options.forceAdditional&&void 0===t.additionalItems&&Array.isArray(t.items)&&e.addError("KEYWORD_UNDEFINED_STRICT",["additionalItems"]),this.options.assumeAdditional&&void 0===t.additionalItems&&Array.isArray(t.items)&&(t.additionalItems=!1)},maxItems:function(e,t){"number"!=typeof t.maxItems?e.addError("KEYWORD_TYPE_EXPECTED",["maxItems","integer"]):t.maxItems<0&&e.addError("KEYWORD_MUST_BE",["maxItems","greater than, or equal to 0"])},minItems:function(e,t){"integer"!==p.whatIs(t.minItems)?e.addError("KEYWORD_TYPE_EXPECTED",["minItems","integer"]):t.minItems<0&&e.addError("KEYWORD_MUST_BE",["minItems","greater than, or equal to 0"])},uniqueItems:function(e,t){"boolean"!=typeof t.uniqueItems&&e.addError("KEYWORD_TYPE_EXPECTED",["uniqueItems","boolean"])},maxProperties:function(e,t){"integer"!==p.whatIs(t.maxProperties)?e.addError("KEYWORD_TYPE_EXPECTED",["maxProperties","integer"]):t.maxProperties<0&&e.addError("KEYWORD_MUST_BE",["maxProperties","greater than, or equal to 0"])},minProperties:function(e,t){"integer"!==p.whatIs(t.minProperties)?e.addError("KEYWORD_TYPE_EXPECTED",["minProperties","integer"]):t.minProperties<0&&e.addError("KEYWORD_MUST_BE",["minProperties","greater than, or equal to 0"])},required:function(e,t){if("array"!==p.whatIs(t.required))e.addError("KEYWORD_TYPE_EXPECTED",["required","array"]);else if(0===t.required.length)e.addError("KEYWORD_MUST_BE",["required","an array with at least one element"]);else{for(var r=t.required.length;r--;)"string"!=typeof t.required[r]&&e.addError("KEYWORD_VALUE_TYPE",["required","string"]);!1===p.isUniqueArray(t.required)&&e.addError("KEYWORD_MUST_BE",["required","an array with unique items"])}},additionalProperties:function(e,t){var r=p.whatIs(t.additionalProperties);"boolean"!==r&&"object"!==r?e.addError("KEYWORD_TYPE_EXPECTED",["additionalProperties",["boolean","object"]]):"object"===r&&(e.path.push("additionalProperties"),d.validateSchema.call(this,e,t.additionalProperties),e.path.pop())},properties:function(e,t){if("object"===p.whatIs(t.properties)){for(var r=Object.keys(t.properties),i=r.length;i--;){var n=r[i],a=t.properties[n];e.path.push("properties"),e.path.push(n),d.validateSchema.call(this,e,a),e.path.pop(),e.path.pop()}!0===this.options.forceAdditional&&void 0===t.additionalProperties&&e.addError("KEYWORD_UNDEFINED_STRICT",["additionalProperties"]),this.options.assumeAdditional&&void 0===t.additionalProperties&&(t.additionalProperties=!1),!0===this.options.forceProperties&&0===r.length&&e.addError("CUSTOM_MODE_FORCE_PROPERTIES",["properties"])}else e.addError("KEYWORD_TYPE_EXPECTED",["properties","object"])},patternProperties:function(t,e){if("object"===p.whatIs(e.patternProperties)){for(var r=Object.keys(e.patternProperties),i=r.length;i--;){var n=r[i],a=e.patternProperties[n];try{RegExp(n)}catch(e){t.addError("KEYWORD_PATTERN",["patternProperties",n])}t.path.push("patternProperties"),t.path.push(n.toString()),d.validateSchema.call(this,t,a),t.path.pop(),t.path.pop()}!0===this.options.forceProperties&&0===r.length&&t.addError("CUSTOM_MODE_FORCE_PROPERTIES",["patternProperties"])}else t.addError("KEYWORD_TYPE_EXPECTED",["patternProperties","object"])},dependencies:function(e,t){if("object"!==p.whatIs(t.dependencies))e.addError("KEYWORD_TYPE_EXPECTED",["dependencies","object"]);else for(var r=Object.keys(t.dependencies),i=r.length;i--;){var n=r[i],a=t.dependencies[n],o=p.whatIs(a);if("object"===o)e.path.push("dependencies"),e.path.push(n),d.validateSchema.call(this,e,a),e.path.pop(),e.path.pop();else if("array"===o){var s=a.length;for(0===s&&e.addError("KEYWORD_MUST_BE",["dependencies","not empty array"]);s--;)"string"!=typeof a[s]&&e.addError("KEYWORD_VALUE_TYPE",["dependensices","string"]);!1===p.isUniqueArray(a)&&e.addError("KEYWORD_MUST_BE",["dependencies","an array with unique items"])}else e.addError("KEYWORD_VALUE_TYPE",["dependencies","object or array"])}},enum:function(e,t){!1===Array.isArray(t.enum)?e.addError("KEYWORD_TYPE_EXPECTED",["enum","array"]):0===t.enum.length?e.addError("KEYWORD_MUST_BE",["enum","an array with at least one element"]):!1===p.isUniqueArray(t.enum)&&e.addError("KEYWORD_MUST_BE",["enum","an array with unique elements"])},type:function(e,t){var r=["array","boolean","integer","number","null","object","string"],i=r.join(","),n=Array.isArray(t.type);if(n){for(var a=t.type.length;a--;)-1===r.indexOf(t.type[a])&&e.addError("KEYWORD_TYPE_EXPECTED",["type",i]);!1===p.isUniqueArray(t.type)&&e.addError("KEYWORD_MUST_BE",["type","an object with unique properties"])}else"string"==typeof t.type?-1===r.indexOf(t.type)&&e.addError("KEYWORD_TYPE_EXPECTED",["type",i]):e.addError("KEYWORD_TYPE_EXPECTED",["type",["string","array"]]);!0===this.options.noEmptyStrings&&("string"===t.type||n&&-1!==t.type.indexOf("string"))&&void 0===t.minLength&&void 0===t.enum&&void 0===t.format&&(t.minLength=1),!0===this.options.noEmptyArrays&&("array"===t.type||n&&-1!==t.type.indexOf("array"))&&void 0===t.minItems&&(t.minItems=1),!0===this.options.forceProperties&&("object"===t.type||n&&-1!==t.type.indexOf("object"))&&void 0===t.properties&&void 0===t.patternProperties&&e.addError("KEYWORD_UNDEFINED_STRICT",["properties"]),!0===this.options.forceItems&&("array"===t.type||n&&-1!==t.type.indexOf("array"))&&void 0===t.items&&e.addError("KEYWORD_UNDEFINED_STRICT",["items"]),!0===this.options.forceMinItems&&("array"===t.type||n&&-1!==t.type.indexOf("array"))&&void 0===t.minItems&&e.addError("KEYWORD_UNDEFINED_STRICT",["minItems"]),!0===this.options.forceMaxItems&&("array"===t.type||n&&-1!==t.type.indexOf("array"))&&void 0===t.maxItems&&e.addError("KEYWORD_UNDEFINED_STRICT",["maxItems"]),!0===this.options.forceMinLength&&("string"===t.type||n&&-1!==t.type.indexOf("string"))&&void 0===t.minLength&&void 0===t.format&&void 0===t.enum&&void 0===t.pattern&&e.addError("KEYWORD_UNDEFINED_STRICT",["minLength"]),!0===this.options.forceMaxLength&&("string"===t.type||n&&-1!==t.type.indexOf("string"))&&void 0===t.maxLength&&void 0===t.format&&void 0===t.enum&&void 0===t.pattern&&e.addError("KEYWORD_UNDEFINED_STRICT",["maxLength"])},allOf:function(e,t){if(!1===Array.isArray(t.allOf))e.addError("KEYWORD_TYPE_EXPECTED",["allOf","array"]);else if(0===t.allOf.length)e.addError("KEYWORD_MUST_BE",["allOf","an array with at least one element"]);else for(var r=t.allOf.length;r--;)e.path.push("allOf"),e.path.push(r.toString()),d.validateSchema.call(this,e,t.allOf[r]),e.path.pop(),e.path.pop()},anyOf:function(e,t){if(!1===Array.isArray(t.anyOf))e.addError("KEYWORD_TYPE_EXPECTED",["anyOf","array"]);else if(0===t.anyOf.length)e.addError("KEYWORD_MUST_BE",["anyOf","an array with at least one element"]);else for(var r=t.anyOf.length;r--;)e.path.push("anyOf"),e.path.push(r.toString()),d.validateSchema.call(this,e,t.anyOf[r]),e.path.pop(),e.path.pop()},oneOf:function(e,t){if(!1===Array.isArray(t.oneOf))e.addError("KEYWORD_TYPE_EXPECTED",["oneOf","array"]);else if(0===t.oneOf.length)e.addError("KEYWORD_MUST_BE",["oneOf","an array with at least one element"]);else for(var r=t.oneOf.length;r--;)e.path.push("oneOf"),e.path.push(r.toString()),d.validateSchema.call(this,e,t.oneOf[r]),e.path.pop(),e.path.pop()},not:function(e,t){"object"!==p.whatIs(t.not)?e.addError("KEYWORD_TYPE_EXPECTED",["not","object"]):(e.path.push("not"),d.validateSchema.call(this,e,t.not),e.path.pop())},definitions:function(e,t){if("object"!==p.whatIs(t.definitions))e.addError("KEYWORD_TYPE_EXPECTED",["definitions","object"]);else for(var r=Object.keys(t.definitions),i=r.length;i--;){var n=r[i],a=t.definitions[n];e.path.push("definitions"),e.path.push(n),d.validateSchema.call(this,e,a),e.path.pop(),e.path.pop()}},format:function(e,t){"string"!=typeof t.format?e.addError("KEYWORD_TYPE_EXPECTED",["format","string"]):void 0===r[t.format]&&!0!==this.options.ignoreUnknownFormats&&e.addError("UNKNOWN_FORMAT",[t.format])},id:function(e,t){"string"!=typeof t.id&&e.addError("KEYWORD_TYPE_EXPECTED",["id","string"])},title:function(e,t){"string"!=typeof t.title&&e.addError("KEYWORD_TYPE_EXPECTED",["title","string"])},description:function(e,t){"string"!=typeof t.description&&e.addError("KEYWORD_TYPE_EXPECTED",["description","string"])},default:function(){}};d.validateSchema=function(e,t){if(e.commonErrorMessage="SCHEMA_VALIDATION_FAILED",Array.isArray(t))return function(e,t){for(var r=t.length;r--;)d.validateSchema.call(this,e,t[r]);return e.isValid()}.call(this,e,t);if(t.__$validated)return!0;var r=t.$schema&&t.id!==t.$schema;if(r)if(t.__$schemaResolved&&t.__$schemaResolved!==t){var i=new c(e);!1===f.validate.call(this,i,t.__$schemaResolved,t)&&e.addError("PARENT_SCHEMA_VALIDATION_FAILED",null,i)}else!0!==this.options.ignoreUnresolvableReferences&&e.addError("REF_UNRESOLVED",[t.$schema]);if(!0===this.options.noTypeless){if(void 0!==t.type){var n=[];Array.isArray(t.anyOf)&&(n=n.concat(t.anyOf)),Array.isArray(t.oneOf)&&(n=n.concat(t.oneOf)),Array.isArray(t.allOf)&&(n=n.concat(t.allOf)),n.forEach(function(e){e.type||(e.type=t.type)})}void 0===t.enum&&void 0===t.type&&void 0===t.anyOf&&void 0===t.oneOf&&void 0===t.not&&void 0===t.$ref&&e.addError("KEYWORD_UNDEFINED_STRICT",["type"])}for(var a=Object.keys(t),o=a.length;o--;){var s=a[o];0!==s.indexOf("__")&&(void 0!==h[s]?h[s].call(this,e,t):r||!0===this.options.noExtraKeywords&&e.addError("KEYWORD_UNEXPECTED",[s]))}if(!0===this.options.pedanticCheck){if(t.enum){var l=p.clone(t);for(delete l.enum,delete l.default,e.path.push("enum"),o=t.enum.length;o--;)e.path.push(o.toString()),f.validate.call(this,e,l,t.enum[o]),e.path.pop();e.path.pop()}t.default&&(e.path.push("default"),f.validate.call(this,e,t,t.default),e.path.pop())}var u=e.isValid();return u&&(t.__$validated=!0),u}},{"./FormatValidators":106,"./JsonValidation":107,"./Report":109,"./Utils":113}],113:[function(e,t,l){"use strict";l.jsonSymbol=Symbol.for("z-schema/json"),l.schemaSymbol=Symbol.for("z-schema/schema");var u=l.sortedKeys=function(e){return Object.keys(e).sort()};l.isAbsoluteUri=function(e){return/^https?:\/\//.test(e)},l.isRelativeUri=function(e){return/.+#/.test(e)},l.whatIs=function(e){var t=typeof e;return"object"===t?null===e?"null":Array.isArray(e)?"array":"object":"number"===t?Number.isFinite(e)?e%1==0?"integer":"number":Number.isNaN(e)?"not-a-number":"unknown-number":t},l.areEqual=function e(t,r,i){var n,a,o=(i=i||{}).caseInsensitiveComparison||!1;if(t===r)return!0;if(!0===o&&"string"==typeof t&&"string"==typeof r&&t.toUpperCase()===r.toUpperCase())return!0;if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;for(a=t.length,n=0;n<a;n++)if(!e(t[n],r[n],{caseInsensitiveComparison:o}))return!1;return!0}if("object"!==l.whatIs(t)||"object"!==l.whatIs(r))return!1;var s=u(t);if(!e(s,u(r),{caseInsensitiveComparison:o}))return!1;for(a=s.length,n=0;n<a;n++)if(!e(t[s[n]],r[s[n]],{caseInsensitiveComparison:o}))return!1;return!0},l.isUniqueArray=function(e,t){var r,i,n=e.length;for(r=0;r<n;r++)for(i=r+1;i<n;i++)if(l.areEqual(e[r],e[i]))return t&&t.push(r,i),!1;return!0},l.difference=function(e,t){for(var r=[],i=e.length;i--;)-1===t.indexOf(e[i])&&r.push(e[i]);return r},l.clone=function(e){if(void 0!==e){if("object"!=typeof e||null===e)return e;var t,r;if(Array.isArray(e))for(t=[],r=e.length;r--;)t[r]=e[r];else{t={};var i=Object.keys(e);for(r=i.length;r--;){var n=i[r];t[n]=e[n]}}return t}},l.cloneDeep=function(e){var s=0,l=new Map,u=[];return function e(t){if("object"!=typeof t||null===t)return t;var r,i,n;if(void 0!==(n=l.get(t)))return u[n];if(l.set(t,s++),Array.isArray(t))for(r=[],u.push(r),i=t.length;i--;)r[i]=e(t[i]);else{r={},u.push(r);var a=Object.keys(t);for(i=a.length;i--;){var o=a[i];r[o]=e(t[o])}}return r}(e)},l.ucs2decode=function(e){for(var t,r,i=[],n=0,a=e.length;n<a;)55296<=(t=e.charCodeAt(n++))&&t<=56319&&n<a?56320==(64512&(r=e.charCodeAt(n++)))?i.push(((1023&t)<<10)+(1023&r)+65536):(i.push(t),n--):i.push(t);return i}},{}],114:[function(e,s,t){(function(g){(function(){"use strict";e("./Polyfills");var f=e("lodash.get"),c=e("./Report"),r=e("./FormatValidators"),p=e("./JsonValidation"),h=e("./SchemaCache"),m=e("./SchemaCompilation"),v=e("./SchemaValidation"),_=e("./Utils"),i=e("./schemas/schema.json"),n=e("./schemas/hyper-schema.json"),a={asyncTimeout:2e3,forceAdditional:!1,assumeAdditional:!1,enumCaseInsensitiveComparison:!1,forceItems:!1,forceMinItems:!1,forceMaxItems:!1,forceMinLength:!1,forceMaxLength:!1,forceProperties:!1,ignoreUnresolvableReferences:!1,noExtraKeywords:!1,noTypeless:!1,noEmptyStrings:!1,noEmptyArrays:!1,strictUris:!1,strictMode:!1,reportPathAsArray:!1,breakOnFirstError:!1,pedanticCheck:!1,ignoreUnknownFormats:!1,customValidator:null};function o(e){var t;if("object"==typeof e){for(var r,i=Object.keys(e),n=i.length;n--;)if(r=i[n],void 0===a[r])throw new Error("Unexpected option passed to constructor: "+r);for(n=(i=Object.keys(a)).length;n--;)void 0===e[r=i[n]]&&(e[r]=_.clone(a[r]));t=e}else t=_.clone(a);return!0===t.strictMode&&(t.forceAdditional=!0,t.forceItems=!0,t.forceMaxLength=!0,t.forceProperties=!0,t.noExtraKeywords=!0,t.noTypeless=!0,t.noEmptyStrings=!0,t.noEmptyArrays=!0),t}function t(e){this.cache={},this.referenceCache=[],this.validateOptions={},this.options=o(e);var t=o({});this.setRemoteReference("http://json-schema.org/draft-04/schema",i,t),this.setRemoteReference("http://json-schema.org/draft-04/hyper-schema",n,t)}t.prototype.compileSchema=function(e){var t=new c(this.options);return e=h.getSchema.call(this,t,e),m.compileSchema.call(this,t,e),(this.lastReport=t).isValid()},t.prototype.validateSchema=function(e){if(Array.isArray(e)&&0===e.length)throw new Error(".validateSchema was called with an empty array");var t=new c(this.options);return e=h.getSchema.call(this,t,e),m.compileSchema.call(this,t,e)&&v.validateSchema.call(this,t,e),(this.lastReport=t).isValid()},t.prototype.validate=function(e,t,r,i){"function"===_.whatIs(r)&&(i=r,r={}),r||(r={}),this.validateOptions=r;var n=_.whatIs(t);if("string"!==n&&"object"!==n){var a=new Error("Invalid .validate call - schema must be a string or object but "+n+" was passed!");if(i)return void g.nextTick(function(){i(a,!1)});throw a}var o=!1,s=new c(this.options);if(s.json=e,"string"==typeof t){var l=t;if(!(t=h.getSchema.call(this,s,l)))throw new Error("Schema with id '"+l+"' wasn't found in the validator cache!")}else t=h.getSchema.call(this,s,t);var u=!1;o||(u=m.compileSchema.call(this,s,t)),u||(this.lastReport=s,o=!0);var d=!1;if(o||(d=v.validateSchema.call(this,s,t)),d||(this.lastReport=s,o=!0),r.schemaPath&&(s.rootSchema=t,!(t=f(t,r.schemaPath))))throw new Error("Schema path '"+r.schemaPath+"' wasn't found in the schema!");if(o||p.validate.call(this,s,t,e),!i){if(0<s.asyncTasks.length)throw new Error("This validation has async tasks and cannot be done in sync mode, please provide callback argument.");return(this.lastReport=s).isValid()}s.processAsyncTasks(this.options.asyncTimeout,i)},t.prototype.getLastError=function(){if(0===this.lastReport.errors.length)return null;var e=new Error;return e.name="z-schema validation error",e.message=this.lastReport.commonErrorMessage,e.details=this.lastReport.errors,e},t.prototype.getLastErrors=function(){return this.lastReport&&0<this.lastReport.errors.length?this.lastReport.errors:null},t.prototype.getMissingReferences=function(e){for(var t=[],r=(e=e||this.lastReport.errors).length;r--;){var i=e[r];if("UNRESOLVABLE_REFERENCE"===i.code){var n=i.params[0];-1===t.indexOf(n)&&t.push(n)}i.inner&&(t=t.concat(this.getMissingReferences(i.inner)))}return t},t.prototype.getMissingRemoteReferences=function(){for(var e=this.getMissingReferences(),t=[],r=e.length;r--;){var i=h.getRemotePath(e[r]);i&&-1===t.indexOf(i)&&t.push(i)}return t},t.prototype.setRemoteReference=function(e,t,r){t="string"==typeof t?JSON.parse(t):_.cloneDeep(t),r&&(t.__$validationOptions=o(r)),h.cacheSchemaByUri.call(this,e,t)},t.prototype.getResolvedSchema=function(e){var t=new c(this.options);e=h.getSchema.call(this,t,e),e=_.cloneDeep(e);var a=[],o=function(e){var t,r=_.whatIs(e);if(("object"===r||"array"===r)&&!e.___$visited){if(e.___$visited=!0,a.push(e),e.$ref&&e.__$refResolved){var i=e.__$refResolved,n=e;for(t in delete e.$ref,delete e.__$refResolved,i)i.hasOwnProperty(t)&&(n[t]=i[t])}for(t in e)e.hasOwnProperty(t)&&(0===t.indexOf("__$")?delete e[t]:o(e[t]))}};if(o(e),a.forEach(function(e){delete e.___$visited}),(this.lastReport=t).isValid())return e;throw this.getLastError()},t.prototype.setSchemaReader=function(e){return t.setSchemaReader(e)},t.prototype.getSchemaReader=function(){return t.schemaReader},t.schemaReader=void 0,t.setSchemaReader=function(e){t.schemaReader=e},t.registerFormat=function(e,t){r[e]=t},t.unregisterFormat=function(e){delete r[e]},t.getRegisteredFormats=function(){return Object.keys(r)},t.getDefaultOptions=function(){return _.cloneDeep(a)},t.schemaSymbol=_.schemaSymbol,t.jsonSymbol=_.jsonSymbol,s.exports=t}).call(this)}).call(this,e("_process"))},{"./FormatValidators":106,"./JsonValidation":107,"./Polyfills":108,"./Report":109,"./SchemaCache":110,"./SchemaCompilation":111,"./SchemaValidation":112,"./Utils":113,"./schemas/hyper-schema.json":115,"./schemas/schema.json":116,_process:3,"lodash.get":1}],115:[function(e,t,r){t.exports={$schema:"http://json-schema.org/draft-04/hyper-schema#",id:"http://json-schema.org/draft-04/hyper-schema#",title:"JSON Hyper-Schema",allOf:[{$ref:"http://json-schema.org/draft-04/schema#"}],properties:{additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}]},dependencies:{additionalProperties:{anyOf:[{$ref:"#"},{type:"array"}]}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}]},definitions:{additionalProperties:{$ref:"#"}},patternProperties:{additionalProperties:{$ref:"#"}},properties:{additionalProperties:{$ref:"#"}},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"},links:{type:"array",items:{$ref:"#/definitions/linkDescription"}},fragmentResolution:{type:"string"},media:{type:"object",properties:{type:{description:"A media type, as described in RFC 2046",type:"string"},binaryEncoding:{description:"A content encoding scheme, as described in RFC 2045",type:"string"}}},pathStart:{description:"Instances' URIs must start with this value for this schema to apply to them",type:"string",format:"uri"}},definitions:{schemaArray:{type:"array",items:{$ref:"#"}},linkDescription:{title:"Link Description Object",type:"object",required:["href","rel"],properties:{href:{description:"a URI template, as defined by RFC 6570, with the addition of the $, ( and ) characters for pre-processing",type:"string"},rel:{description:"relation to the target resource of the link",type:"string"},title:{description:"a title for the link",type:"string"},targetSchema:{description:"JSON Schema describing the link target",$ref:"#"},mediaType:{description:"media type (as defined by RFC 2046) describing the link target",type:"string"},method:{description:'method for requesting the target of the link (e.g. for HTTP this might be "GET" or "DELETE")',type:"string"},encType:{description:"The media type in which to submit data along with the request",type:"string",default:"application/json"},schema:{description:"Schema describing the data to submit along with the request",$ref:"#"}}}}}},{}],116:[function(e,t,r){t.exports={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}}},{}]},{},[105,106,107,108,109,110,111,112,113,114])(114)});
//# sourceMappingURL=ZSchema-browser-min.js.map