@nhtio/validation 1.20250720.0 → 1.20250813.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -1,14 +1,44 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>l(t({},`__esModule`,{value:!0}),e);function f(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function p(e){var t=f(e),n=t[0],r=t[1];return(n+r)*3/4-r}function m(e,t,n){return(t+n)*3/4-n}function h(e){var t,n=f(e),r=n[0],i=n[1],a=new C(m(e,r,i)),o=0,s=i>0?r-4:r,c;for(c=0;c<s;c+=4)t=S[e.charCodeAt(c)]<<18|S[e.charCodeAt(c+1)]<<12|S[e.charCodeAt(c+2)]<<6|S[e.charCodeAt(c+3)],a[o++]=t>>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=S[e.charCodeAt(c)]<<2|S[e.charCodeAt(c+1)]>>4,a[o++]=t&255),i===1&&(t=S[e.charCodeAt(c)]<<10|S[e.charCodeAt(c+1)]<<4|S[e.charCodeAt(c+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function g(e){return x[e>>18&63]+x[e>>12&63]+x[e>>6&63]+x[e&63]}function _(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(g(r));return i.join(``)}function v(e){for(var t,n=e.length,r=n%3,i=[],a=16383,o=0,s=n-r;o<s;o+=a)i.push(_(e,o,o+a>s?s:o+a));return r===1?(t=e[n-1],i.push(x[t>>2]+x[t<<4&63]+`==`)):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(x[t>>10]+x[t>>4&63]+x[t<<2&63]+`=`)),i.join(``)}var y,b,x,S,C,w,T,E,ee,D,O,k,A,j,M,N,te,ne,re,ie,ae,oe,P,F,se,ce=o(()=>{y={},b={},b.byteLength=p,b.toByteArray=h,b.fromByteArray=v,x=[],S=[],C=typeof Uint8Array<`u`?Uint8Array:Array,w=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;for(var e=0,t=w.length;e<t;++e)x[e]=w[e],S[w.charCodeAt(e)]=e;S[45]=62,S[95]=63,T={},T.read=function(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)},T.write=function(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128},function(e){let t=b,n=T,r=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;e.Buffer=u,e.SlowBuffer=S,e.INSPECT_MAX_BYTES=50;let i=2147483647;e.kMaxLength=i;let{Uint8Array:a,ArrayBuffer:o,SharedArrayBuffer:s}=globalThis;u.TYPED_ARRAY_SUPPORT=c(),!u.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function c(){try{let e=new a(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,`parent`,{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,`offset`,{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function l(e){if(e>i)throw RangeError(`The value "`+e+`" is invalid for option "size"`);let t=new a(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if(typeof e==`number`){if(typeof t==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return m(e)}return d(e,t,n)}u.poolSize=8192;function d(e,t,n){if(typeof e==`string`)return h(e,t);if(o.isView(e))return _(e);if(e==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e);if(Ee(e,o)||e&&Ee(e.buffer,o)||s!==void 0&&(Ee(e,s)||e&&Ee(e.buffer,s)))return v(e,t,n);if(typeof e==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return u.from(r,t,n);let i=y(e);if(i)return i;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==`function`)return u.from(e[Symbol.toPrimitive](`string`),t,n);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e)}u.from=function(e,t,n){return d(e,t,n)},Object.setPrototypeOf(u.prototype,a.prototype),Object.setPrototypeOf(u,a);function f(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be of type number`);if(e<0)throw RangeError(`The value "`+e+`" is invalid for option "size"`)}function p(e,t,n){return f(e),e<=0||t===void 0?l(e):typeof n==`string`?l(e).fill(t,n):l(e).fill(t)}u.alloc=function(e,t,n){return p(e,t,n)};function m(e){return f(e),l(e<0?0:x(e)|0)}u.allocUnsafe=function(e){return m(e)},u.allocUnsafeSlow=function(e){return m(e)};function h(e,t){if((typeof t!=`string`||t===``)&&(t=`utf8`),!u.isEncoding(t))throw TypeError(`Unknown encoding: `+t);let n=C(e,t)|0,r=l(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function g(e){let t=e.length<0?0:x(e.length)|0,n=l(t);for(let r=0;r<t;r+=1)n[r]=e[r]&255;return n}function _(e){if(Ee(e,a)){let t=new a(e);return v(t.buffer,t.byteOffset,t.byteLength)}return g(e)}function v(e,t,n){if(t<0||e.byteLength<t)throw RangeError(`"offset" is outside of buffer bounds`);if(e.byteLength<t+(n||0))throw RangeError(`"length" is outside of buffer bounds`);let r;return r=t===void 0&&n===void 0?new a(e):n===void 0?new a(e,t):new a(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function y(e){if(u.isBuffer(e)){let t=x(e.length)|0,n=l(t);return n.length===0||e.copy(n,0,0,t),n}if(e.length!==void 0)return typeof e.length!=`number`||De(e.length)?l(0):g(e);if(e.type===`Buffer`&&Array.isArray(e.data))return g(e.data)}function x(e){if(e>=i)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+i.toString(16)+` bytes`);return e|0}function S(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==u.prototype},u.compare=function(e,t){if(Ee(e,a)&&(e=u.from(e,e.offset,e.byteLength)),Ee(t,a)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return u.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;let r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(Ee(t,a))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):a.prototype.set.call(r,t,i);else if(u.isBuffer(t))t.copy(r,i);else throw TypeError(`"list" argument must be an Array of Buffers`);i+=t.length}return r};function C(e,t){if(u.isBuffer(e))return e.length;if(o.isView(e)||Ee(e,o))return e.byteLength;if(typeof e!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof e);let n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;let i=!1;for(;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:return xe(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return we(e).length;default:if(i)return r?-1:xe(e).length;t=(``+t).toLowerCase(),i=!0}}u.byteLength=C;function w(e,t,n){let r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return oe(this,t,n);case`utf8`:case`utf-8`:return te(this,t,n);case`ascii`:return ie(this,t,n);case`latin1`:case`binary`:return ae(this,t,n);case`base64`:return N(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return P(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}u.prototype._isBuffer=!0;function E(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}u.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let t=0;t<e;t+=2)E(this,t,t+1);return this},u.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let t=0;t<e;t+=4)E(this,t,t+3),E(this,t+1,t+2);return this},u.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let t=0;t<e;t+=8)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},u.prototype.toString=function(){let e=this.length;return e===0?``:arguments.length===0?te(this,0,e):w.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:u.compare(this,e)===0},u.prototype.inspect=function(){let t=``,n=e.INSPECT_MAX_BYTES;return t=this.toString(`hex`,0,n).replace(/(.{2})/g,`$1 `).trim(),this.length>n&&(t+=` ... `),`<Buffer `+t+`>`},r&&(u.prototype[r]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(Ee(e,a)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,s=n-t,c=Math.min(o,s),l=this.slice(r,i),d=e.slice(t,n);for(let e=0;e<c;++e)if(l[e]!==d[e]){o=l[e],s=d[e];break}return o<s?-1:s<o?1:0};function ee(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,De(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=u.from(t,r)),u.isBuffer(t))return t.length===0?-1:D(e,t,n,r,i);if(typeof t==`number`)return t&=255,typeof a.prototype.indexOf==`function`?i?a.prototype.indexOf.call(e,t,n):a.prototype.lastIndexOf.call(e,t,n):D(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function D(e,t,n,r,i){let a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}let l;if(i){let r=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,r===-1?0:l-r)){if(r===-1&&(r=l),l-r+1===s)return r*a}else r!==-1&&(l-=l-r),r=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){let n=!0;for(let r=0;r<s;r++)if(c(e,l+r)!==c(t,r)){n=!1;break}if(n)return l}return-1}u.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},u.prototype.indexOf=function(e,t,n){return ee(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return ee(this,e,t,n,!1)};function O(e,t,n,r){n=Number(n)||0;let i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;let a=t.length;r>a/2&&(r=a/2);let o;for(o=0;o<r;++o){let r=parseInt(t.substr(o*2,2),16);if(De(r))return o;e[n+o]=r}return o}function k(e,t,n,r){return Te(xe(t,e.length-n),e,n,r)}function A(e,t,n,r){return Te(Se(t),e,n,r)}function j(e,t,n,r){return Te(we(t),e,n,r)}function M(e,t,n,r){return Te(Ce(t,e.length-n),e,n,r)}u.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;let a=!1;for(;;)switch(r){case`hex`:return O(this,e,t,n);case`utf8`:case`utf-8`:return k(this,e,t,n);case`ascii`:case`latin1`:case`binary`:return A(this,e,t,n);case`base64`:return j(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return M(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function N(e,n,r){return n===0&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function te(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,s,c;switch(o){case 1:t<128&&(a=t);break;case 2:n=e[i+1],(n&192)==128&&(c=(t&31)<<6|n&63,c>127&&(a=c));break;case 3:n=e[i+1],r=e[i+2],(n&192)==128&&(r&192)==128&&(c=(t&15)<<12|(n&63)<<6|r&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(n&192)==128&&(r&192)==128&&(s&192)==128&&(c=(t&15)<<18|(n&63)<<12|(r&63)<<6|s&63,c>65535&&c<1114112&&(a=c))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|a&1023),r.push(a),i+=o}return re(r)}let ne=4096;function re(e){let t=e.length;if(t<=ne)return String.fromCharCode.apply(String,e);let n=``,r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ne));return n}function ie(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function ae(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function oe(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=``;for(let r=t;r<n;++r)i+=Oe[e[r]];return i}function P(e,t,n){let r=e.slice(t,n),i=``;for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+r[e+1]*256);return i}u.prototype.slice=function(e,t){let n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r};function F(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=ke(function(e){e>>>=0,_e(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ve(e,this.length-8);let r=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,i=this[++e]+this[++e]*2**8+this[++e]*2**16+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=ke(function(e){e>>>=0,_e(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ve(e,this.length-8);let r=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],i=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},u.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=ke(function(e){e>>>=0,_e(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ve(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),u.prototype.readBigInt64BE=ke(function(e){e>>>=0,_e(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ve(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),n.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),n.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),n.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),n.read(this,e,!1,52,8)};function se(e,t,n,r,i,a){if(!u.isBuffer(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;se(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=e&255;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;se(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=e&255;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,1,255,0),this[t]=e&255,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function ce(e,t,n,r,i){ge(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function le(e,t,n,r,i){ge(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}u.prototype.writeBigUInt64LE=ke(function(e,t=0){return ce(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),u.prototype.writeBigUInt64BE=ke(function(e,t=0){return le(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);se(this,e,t,n,r-1,-r)}let i=0,a=1,o=0;for(this[t]=e&255;++i<n&&(a*=256);)e<0&&o===0&&this[t+i-1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);se(this,e,t,n,r-1,-r)}let i=n-1,a=1,o=0;for(this[t+i]=e&255;--i>=0&&(a*=256);)e<0&&o===0&&this[t+i+1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||se(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},u.prototype.writeBigInt64LE=ke(function(e,t=0){return ce(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),u.prototype.writeBigInt64BE=ke(function(e,t=0){return le(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function ue(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function I(e,t,r,i,a){return t=+t,r>>>=0,a||ue(e,t,r,4),n.write(e,t,r,i,23,4),r+4}u.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)};function de(e,t,r,i,a){return t=+t,r>>>=0,a||ue(e,t,r,8),n.write(e,t,r,i,52,8),r+8}u.prototype.writeDoubleLE=function(e,t,n){return de(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return de(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw TypeError(`argument should be a Buffer`);if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`Index out of range`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&typeof a.prototype.copyWithin==`function`?this.copyWithin(t,n,r):a.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!u.isEncoding(r))throw TypeError(`Unknown encoding: `+r);if(e.length===1){let t=e.charCodeAt(0);(r===`utf8`&&t<128||r===`latin1`)&&(e=t)}}else typeof e==`number`?e&=255:typeof e==`boolean`&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;let i;if(typeof e==`number`)for(i=t;i<n;++i)this[i]=e;else{let a=u.isBuffer(e)?e:u.from(e,r),o=a.length;if(o===0)throw TypeError(`The value "`+e+`" is invalid for argument "value"`);for(i=0;i<n-t;++i)this[i+t]=a[i%o]}return this};let fe={};function pe(e,t,n){fe[e]=class extends n{constructor(){super(),Object.defineProperty(this,`message`,{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,`code`,{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}pe(`ERR_BUFFER_OUT_OF_BOUNDS`,function(e){return e?`${e} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),pe(`ERR_INVALID_ARG_TYPE`,function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),pe(`ERR_OUT_OF_RANGE`,function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=me(String(n)):typeof n==`bigint`&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=me(i)),i+=`n`),r+=` It must be ${t}. Received ${i}`,r},RangeError);function me(e){let t=``,n=e.length,r=e[0]===`-`?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function he(e,t,n){_e(t,`offset`),(e[t]===void 0||e[t+n]===void 0)&&ve(t,e.length-(n+1))}function ge(e,t,n,r,i,a){if(e>n||e<t){let r=typeof t==`bigint`?`n`:``,i;throw i=a>3?t===0||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(a+1)*8}${r}`:`>= -(2${r} ** ${(a+1)*8-1}${r}) and < 2 ** ${(a+1)*8-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new fe.ERR_OUT_OF_RANGE(`value`,i,e)}he(r,i,a)}function _e(e,t){if(typeof e!=`number`)throw new fe.ERR_INVALID_ARG_TYPE(t,`number`,e)}function ve(e,t,n){throw Math.floor(e)===e?t<0?new fe.ERR_BUFFER_OUT_OF_BOUNDS:new fe.ERR_OUT_OF_RANGE(n||`offset`,`>= ${n?1:0} and <= ${t}`,e):(_e(e,n),new fe.ERR_OUT_OF_RANGE(n||`offset`,`an integer`,e))}let ye=/[^+/0-9A-Za-z-_]/g;function be(e){if(e=e.split(`=`)[0],e=e.trim().replace(ye,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function xe(e,t){t||=1/0;let n,r=e.length,i=null,a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function Se(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function Ce(e,t){let n,r,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function we(e){return t.toByteArray(be(e))}function Te(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Ee(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function De(e){return e!==e}let Oe=function(){let e=`0123456789abcdef`,t=Array(256);for(let n=0;n<16;++n){let r=n*16;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function ke(e){return typeof BigInt>`u`?Ae:e}function Ae(){throw Error(`BigInt not supported`)}}(y),E=y.Buffer,ee=y.Blob,D=y.BlobOptions,O=y.Buffer,k=y.File,A=y.FileOptions,j=y.INSPECT_MAX_BYTES,M=y.SlowBuffer,N=y.TranscodeEncoding,te=y.atob,ne=y.btoa,re=y.constants,ie=y.isAscii,ae=y.isUtf8,oe=y.kMaxLength,P=y.kStringMaxLength,F=y.resolveObjectURL,se=y.transcode}),le=s((exports,t)=>{t.exports=function(...e){try{return JSON.stringify(...e)}catch(e){return`[Cannot display object: `+e.message+`]`}}}),ue=s((exports,t)=>{let n=le();t.exports=class extends Error{constructor(t){let r=t.filter(e=>e!==``).map(e=>typeof e==`string`?e:e instanceof Error?e.message:n(e));super(r.join(` `)||`Unknown error`),typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,exports.assert)}}}),I=s((exports,t)=>{let n=ue();t.exports=function(e,...t){if(!e)throw t.length===1&&t[0]instanceof Error?t[0]:new n(t)}}),de=s((exports,t)=>{let n=I(),r={};t.exports=function(e,t,i){if(t===!1||t==null)return e;i||={},typeof i==`string`&&(i={separator:i});let a=Array.isArray(t);n(!a||!i.separator,`Separator option is not valid for array-based chain`);let o=a?t:t.split(i.separator||`.`),s=e;for(let e=0;e<o.length;++e){let a=o[e],c=i.iterables&&r.iterables(s);if(Array.isArray(s)||c===`set`){let e=Number(a);Number.isInteger(e)&&(a=e<0?s.length+e:e)}if(!s||typeof s==`function`&&i.functions===!1||!c&&s[a]===void 0){n(!i.strict||e+1===o.length,`Missing segment`,a,`in reach path `,t),n(typeof s==`object`||i.functions===!0||typeof s!=`function`,`Invalid segment`,a,`in reach path `,t),s=i.default;break}s=c?c===`set`?[...s][a]:s.get(a):s[a]}return s},r.iterables=function(e){if(e instanceof Set)return`set`;if(e instanceof Map)return`map`}}),fe=s((exports,t)=>{ce();let n={};exports=t.exports={array:Array.prototype,buffer:E&&E.prototype,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([[`[object Error]`,exports.error],[`[object Map]`,exports.map],[`[object Promise]`,exports.promise],[`[object Set]`,exports.set],[`[object WeakMap]`,exports.weakMap],[`[object WeakSet]`,exports.weakSet]]),exports.getInternalProto=function(t){if(Array.isArray(t))return exports.array;if(E&&t instanceof E)return exports.buffer;if(t instanceof Date)return exports.date;if(t instanceof RegExp)return exports.regex;if(t instanceof Error)return exports.error;let r=Object.prototype.toString.call(t);return n.typeMap.get(r)||exports.generic}}),pe=s(exports=>{exports.keys=function(e,t={}){return t.symbols===!1?Object.getOwnPropertyNames(e):Reflect.ownKeys(e)}}),me=s((exports,t)=>{ce();let n=de(),r=fe(),i=pe(),a={needsProtoHack:new Set([r.set,r.map,r.weakSet,r.weakMap])};t.exports=a.clone=function(e,t={},n=null){if(typeof e!=`object`||!e)return e;let o=a.clone,s=n;if(t.shallow){if(t.shallow!==!0)return a.cloneWithShallow(e,t);o=e=>e}else if(s){let t=s.get(e);if(t)return t}else s=new Map;let c=r.getInternalProto(e);if(c===r.buffer)return E&&E.from(e);if(c===r.date)return new Date(e.getTime());if(c===r.regex)return new RegExp(e);let l=a.base(e,c,t);if(l===e)return e;if(s&&s.set(e,l),c===r.set)for(let n of e)l.add(o(n,t,s));else if(c===r.map)for(let[n,r]of e)l.set(n,o(r,t,s));let u=i.keys(e,t);for(let n of u){if(n===`__proto__`)continue;if(c===r.array&&n===`length`){l.length=e.length;continue}let i=Object.getOwnPropertyDescriptor(e,n);i?i.get||i.set?Object.defineProperty(l,n,i):i.enumerable?l[n]=o(e[n],t,s):Object.defineProperty(l,n,{enumerable:!1,writable:!0,configurable:!0,value:o(e[n],t,s)}):Object.defineProperty(l,n,{enumerable:!0,writable:!0,configurable:!0,value:o(e[n],t,s)})}return l},a.cloneWithShallow=function(e,t){let r=t.shallow;t=Object.assign({},t),t.shallow=!1;let i=new Map;for(let t of r){let r=n(e,t);(typeof r==`object`||typeof r==`function`)&&i.set(r,r)}return a.clone(e,t,i)},a.base=function(e,t,n){if(n.prototype===!1)return a.needsProtoHack.has(t)?new t.constructor:t===r.array?[]:{};let i=Object.getPrototypeOf(e);if(i&&i.isImmutable)return e;if(t===r.array){let e=[];return i!==t&&Object.setPrototypeOf(e,i),e}if(a.needsProtoHack.has(t)){let e=new i.constructor;return i!==t&&Object.setPrototypeOf(e,i),e}return Object.create(i)}}),he={};c(he,{browser:()=>Se,default:()=>ke,dependencies:()=>Te,description:()=>_e,devDependencies:()=>Ee,files:()=>Ce,keywords:()=>we,license:()=>Oe,main:()=>be,name:()=>ge,repository:()=>ye,scripts:()=>De,types:()=>xe,version:()=>ve});var ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae=o(()=>{ge=`joi`,_e=`Object schema validation`,ve=`17.13.3`,ye=`git://github.com/hapijs/joi`,be=`lib/index.js`,xe=`lib/index.d.ts`,Se=`dist/joi-browser.min.js`,Ce=[`lib/**/*`,`dist/*`],we=[`schema`,`validation`],Te={"@hapi/hoek":`^9.3.0`,"@hapi/topo":`^5.1.0`,"@sideway/address":`^4.1.5`,"@sideway/formula":`^3.0.1`,"@sideway/pinpoint":`^2.0.0`},Ee={"@hapi/bourne":`2.x.x`,"@hapi/code":`8.x.x`,"@hapi/joi-legacy-test":`npm:@hapi/joi@15.x.x`,"@hapi/lab":`^25.1.3`,"@types/node":`^14.18.63`,typescript:`4.3.x`},De={prepublishOnly:`cd browser && npm install && npm run build`,test:`lab -t 100 -a @hapi/code -L -Y`,"test-cov-html":`lab -r html -o coverage.html -a @hapi/code`},Oe=`BSD-3-Clause`,ke={name:ge,description:_e,version:ve,repository:ye,main:be,types:xe,browser:Se,files:Ce,keywords:we,dependencies:Te,devDependencies:Ee,scripts:De,license:Oe}}),je=s(exports=>{let t=$n(),n={};n.wrap=t.string().min(1).max(2).allow(!1),exports.preferences=t.object({allowUnknown:t.boolean(),abortEarly:t.boolean(),artifacts:t.boolean(),cache:t.boolean(),context:t.object(),convert:t.boolean(),dateFormat:t.valid(`date`,`iso`,`string`,`time`,`utc`),debug:t.boolean(),errors:{escapeHtml:t.boolean(),label:t.valid(`path`,`key`,!1),language:[t.string(),t.object().ref()],render:t.boolean(),stack:t.boolean(),wrap:{label:n.wrap,array:n.wrap,string:n.wrap}},externals:t.boolean(),messages:t.object(),noDefaults:t.boolean(),nonEnumerables:t.boolean(),presence:t.valid(`required`,`optional`,`forbidden`),skipFunctions:t.boolean(),stripUnknown:t.object({arrays:t.boolean(),objects:t.boolean()}).or(`arrays`,`objects`).allow(!0,!1),warnings:t.boolean()}).strict(),n.nameRx=/^[a-zA-Z0-9]\w*$/,n.rule=t.object({alias:t.array().items(t.string().pattern(n.nameRx)).single(),args:t.array().items(t.string(),t.object({name:t.string().pattern(n.nameRx).required(),ref:t.boolean(),assert:t.alternatives([t.function(),t.object().schema()]).conditional(`ref`,{is:!0,then:t.required()}),normalize:t.function(),message:t.string().when(`assert`,{is:t.function(),then:t.required()})})),convert:t.boolean(),manifest:t.boolean(),method:t.function().allow(!1),multi:t.boolean(),validate:t.function()}),exports.extension=t.object({type:t.alternatives([t.string(),t.object().regex()]).required(),args:t.function(),cast:t.object().pattern(n.nameRx,t.object({from:t.function().maxArity(1).required(),to:t.function().minArity(1).maxArity(2).required()})),base:t.object().schema().when(`type`,{is:t.object().regex(),then:t.forbidden()}),coerce:[t.function().maxArity(3),t.object({method:t.function().maxArity(3).required(),from:t.array().items(t.string()).single()})],flags:t.object().pattern(n.nameRx,t.object({setter:t.string(),default:t.any()})),manifest:{build:t.function().arity(2)},messages:[t.object(),t.string()],modifiers:t.object().pattern(n.nameRx,t.function().minArity(1).maxArity(2)),overrides:t.object().pattern(n.nameRx,t.function()),prepare:t.function().maxArity(3),rebuild:t.function().arity(1),rules:t.object().pattern(n.nameRx,n.rule),terms:t.object().pattern(n.nameRx,t.object({init:t.array().allow(null).required(),manifest:t.object().pattern(/.+/,[t.valid(`schema`,`single`),t.object({mapped:t.object({from:t.string().required(),to:t.string().required()}).required()})])})),validate:t.function().maxArity(3)}).strict(),exports.extensions=t.array().items(t.object(),t.function().arity(1)).strict(),n.desc={buffer:t.object({buffer:t.string()}),func:t.object({function:t.function().required(),options:{literal:!0}}),override:t.object({override:!0}),ref:t.object({ref:t.object({type:t.valid(`value`,`global`,`local`),path:t.array().required(),separator:t.string().length(1).allow(!1),ancestor:t.number().min(0).integer().allow(`root`),map:t.array().items(t.array().length(2)).min(1),adjust:t.function(),iterables:t.boolean(),in:t.boolean(),render:t.boolean()}).required()}),regex:t.object({regex:t.string().min(3)}),special:t.object({special:t.valid(`deep`).required()}),template:t.object({template:t.string().required(),options:t.object()}),value:t.object({value:t.alternatives([t.object(),t.array()]).required()})},n.desc.entity=t.alternatives([t.array().items(t.link(`...`)),t.boolean(),t.function(),t.number(),t.string(),n.desc.buffer,n.desc.func,n.desc.ref,n.desc.regex,n.desc.special,n.desc.template,n.desc.value,t.link(`/`)]),n.desc.values=t.array().items(null,t.boolean(),t.function(),t.number().allow(1/0,-1/0),t.string().allow(``),t.symbol(),n.desc.buffer,n.desc.func,n.desc.override,n.desc.ref,n.desc.regex,n.desc.template,n.desc.value),n.desc.messages=t.object().pattern(/.+/,[t.string(),n.desc.template,t.object().pattern(/.+/,[t.string(),n.desc.template])]),exports.description=t.object({type:t.string().required(),flags:t.object({cast:t.string(),default:t.any(),description:t.string(),empty:t.link(`/`),failover:n.desc.entity,id:t.string(),label:t.string(),only:!0,presence:[`optional`,`required`,`forbidden`],result:[`raw`,`strip`],strip:t.boolean(),unit:t.string()}).unknown(),preferences:{allowUnknown:t.boolean(),abortEarly:t.boolean(),artifacts:t.boolean(),cache:t.boolean(),convert:t.boolean(),dateFormat:[`date`,`iso`,`string`,`time`,`utc`],errors:{escapeHtml:t.boolean(),label:[`path`,`key`],language:[t.string(),n.desc.ref],wrap:{label:n.wrap,array:n.wrap}},externals:t.boolean(),messages:n.desc.messages,noDefaults:t.boolean(),nonEnumerables:t.boolean(),presence:[`required`,`optional`,`forbidden`],skipFunctions:t.boolean(),stripUnknown:t.object({arrays:t.boolean(),objects:t.boolean()}).or(`arrays`,`objects`).allow(!0,!1),warnings:t.boolean()},allow:n.desc.values,invalid:n.desc.values,rules:t.array().min(1).items({name:t.string().required(),args:t.object().min(1),keep:t.boolean(),message:[t.string(),n.desc.messages],warn:t.boolean()}),keys:t.object().pattern(/.*/,t.link(`/`)),link:n.desc.ref}).pattern(/^[a-z]\w*$/,t.any())}),Me=s((exports,t)=>{let n={};t.exports=function(e){if(!e)return``;let t=``;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);n.isSafe(i)?t+=e[r]:t+=n.escapeHtmlChar(i)}return t},n.escapeHtmlChar=function(e){let t=n.namedHtml.get(e);if(t)return t;if(e>=256)return`&#`+e+`;`;let r=e.toString(16).padStart(2,`0`);return`&#x${r};`},n.isSafe=function(e){return n.safeCharCodes.has(e)},n.namedHtml=new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[34,`&quot;`],[160,`&nbsp;`],[162,`&cent;`],[163,`&pound;`],[164,`&curren;`],[169,`&copy;`],[174,`&reg;`]]),n.safeCharCodes=function(){let e=new Set;for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||t===32||t===46||t===44||t===45||t===58||t===95)&&e.add(t);return e}()}),Ne=s(exports=>{let t={operators:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`<=`,`>`,`>=`,`==`,`!=`,`&&`,`||`,`??`],operatorCharacters:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`=`,`>`,`&`,`|`,`?`],operatorsOrder:[[`^`],[`*`,`/`,`%`],[`+`,`-`],[`<`,`<=`,`>`,`>=`],[`==`,`!=`],[`&&`],[`||`,`??`]],operatorsPrefix:[`!`,`n`],literals:{'"':`"`,"`":"`","'":`'`,"[":`]`},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol(`formula`),settings:Symbol(`settings`)};exports.Parser=class{constructor(e,n={}){if(!n[t.settings]&&n.constants)for(let e in n.constants){let t=n.constants[e];if(t!==null&&![`boolean`,`number`,`string`].includes(typeof t))throw Error(`Formula constant ${e} contains invalid ${typeof t} value type`)}this.settings=n[t.settings]?n:Object.assign({[t.settings]:!0,constants:{},functions:{}},n),this.single=null,this._parts=null,this._parse(e)}_parse(n){let r=[],i=``,a=0,o=!1,s=n=>{if(a)throw Error(`Formula missing closing parenthesis`);let s=r.length?r[r.length-1]:null;if(!(!o&&!i&&!n)){if(s&&s.type===`reference`&&n===`)`){s.type=`function`,s.value=this._subFormula(i,s.value),i=``;return}if(n===`)`){let t=new exports.Parser(i,this.settings);r.push({type:`segment`,value:t})}else if(o){if(o===`]`){r.push({type:`reference`,value:i}),i=``;return}r.push({type:`literal`,value:i})}else if(t.operatorCharacters.includes(i))s&&s.type===`operator`&&t.operators.includes(s.value+i)?s.value+=i:r.push({type:`operator`,value:i});else if(i.match(t.numberRx))r.push({type:`constant`,value:parseFloat(i)});else if(this.settings.constants[i]!==void 0)r.push({type:`constant`,value:this.settings.constants[i]});else{if(!i.match(t.tokenRx))throw Error(`Formula contains invalid token: ${i}`);r.push({type:`reference`,value:i})}i=``}};for(let e of n)o?e===o?(s(),o=!1):i+=e:a?e===`(`?(i+=e,++a):e===`)`?(--a,a?i+=e:s(e)):i+=e:e in t.literals?o=t.literals[e]:e===`(`?(s(),++a):t.operatorCharacters.includes(e)?(s(),i=e,s()):e===` `?s():i+=e;s(),r=r.map((e,t)=>e.type!==`operator`||e.value!==`-`||t&&r[t-1].type!==`operator`?e:{type:`operator`,value:`n`});let c=!1;for(let e of r){if(e.type===`operator`){if(t.operatorsPrefix.includes(e.value))continue;if(!c)throw Error(`Formula contains an operator in invalid position`);if(!t.operators.includes(e.value))throw Error(`Formula contains an unknown operator ${e.value}`)}else if(c)throw Error(`Formula missing expected operator`);c=!c}if(!c)throw Error(`Formula contains invalid trailing operator`);r.length===1&&[`reference`,`literal`,`constant`].includes(r[0].type)&&(this.single={type:r[0].type===`reference`?`reference`:`value`,value:r[0].value}),this._parts=r.map(e=>{if(e.type===`operator`)return t.operatorsPrefix.includes(e.value)?e:e.value;if(e.type!==`reference`)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw Error(`Formula contains invalid reference ${e.value}`);return this.settings.reference?this.settings.reference(e.value):t.reference(e.value)})}_subFormula(n,r){let i=this.settings.functions[r];if(typeof i!=`function`)throw Error(`Formula contains unknown function ${r}`);let a=[];if(n){let e=``,i=0,o=!1,s=()=>{if(!e)throw Error(`Formula contains function ${r} with invalid arguments ${n}`);a.push(e),e=``};for(let r=0;r<n.length;++r){let a=n[r];o?(e+=a,a===o&&(o=!1)):a in t.literals&&!i?(e+=a,o=t.literals[a]):a===`,`&&!i?s():(e+=a,a===`(`?++i:a===`)`&&--i)}s()}return a=a.map(t=>new exports.Parser(t,this.settings)),function(e){let t=[];for(let n of a)t.push(n.evaluate(e));return i.call(e,...t)}}evaluate(e){let n=this._parts.slice();for(let r=n.length-2;r>=0;--r){let i=n[r];if(i&&i.type===`operator`){let a=n[r+1];n.splice(r+1,1);let o=t.evaluate(a,e);n[r]=t.single(i.value,o)}}return t.operatorsOrder.forEach(r=>{for(let i=1;i<n.length-1;)if(r.includes(n[i])){let r=n[i],a=t.evaluate(n[i-1],e),o=t.evaluate(n[i+1],e);n.splice(i,2);let s=t.calculate(r,a,o);n[i-1]=s===0?0:s}else i+=2}),t.evaluate(n[0],e)}},exports.Parser.prototype[t.symbol]=!0,t.reference=function(e){return function(t){return t&&t[e]!==void 0?t[e]:null}},t.evaluate=function(e,n){return e===null?null:typeof e==`function`?e(n):e[t.symbol]?e.evaluate(n):e},t.single=function(e,t){if(e===`!`)return!t;let n=-t;return n===0?0:n},t.calculate=function(e,n,r){if(e===`??`)return t.exists(n)?n:r;if(typeof n==`string`||typeof r==`string`){if(e===`+`)return n=t.exists(n)?n:``,r=t.exists(r)?r:``,n+r}else switch(e){case`^`:return n**+r;case`*`:return n*r;case`/`:return n/r;case`%`:return n%r;case`+`:return n+r;case`-`:return n-r}switch(e){case`<`:return n<r;case`<=`:return n<=r;case`>`:return n>r;case`>=`:return n>=r;case`==`:return n===r;case`!=`:return n!==r;case`&&`:return n&&r;case`||`:return n||r}return null},t.exists=function(e){return e!=null}}),Pe=s(exports=>{let t=me(),n=ze(),r={annotations:Symbol(`annotations`)};exports.error=function(e){if(!this._original||typeof this._original!=`object`)return this.details[0].message;let i=e?``:`\x1B[31m`,a=e?``:`\x1B[41m`,o=e?``:`\x1B[0m`,s=t(this._original);for(let e=this.details.length-1;e>=0;--e){let t=e+1,i=this.details[e],a=i.path,o=s;for(let e=0;;++e){let s=a[e];if(n.isSchema(o)&&(o=o.clone()),e+1<a.length&&typeof o[s]!=`string`)o=o[s];else{let e=o[r.annotations]||{errors:{},missing:{}};o[r.annotations]=e;let n=s||i.context.key;o[s]===void 0?e.missing[n]=t:(e.errors[n]=e.errors[n]||[],e.errors[n].push(t));break}}}let c={key:/_\$key\$_([, \d]+)_\$end\$_"/g,missing:/"_\$miss\$_([^|]+)\|(\d+)_\$end\$_": "__missing__"/g,arrayIndex:/\s*"_\$idx\$_([, \d]+)_\$end\$_",?\n(.*)/g,specials:/"\[(NaN|Symbol.*|-?Infinity|function.*|\(.*)]"/g},l=r.safeStringify(s,2).replace(c.key,(e,t)=>`" ${i}[${t}]${o}`).replace(c.missing,(e,t,n)=>`${a}"${t}"${o}${i} [${n}]: -- missing --${o}`).replace(c.arrayIndex,(e,t,n)=>`\n${n} ${i}[${t}]${o}`).replace(c.specials,(e,t)=>t);l=`${l}\n${i}`;for(let e=0;e<this.details.length;++e){let t=e+1;l=`${l}\n[${t}] ${this.details[e].message}`}return l+=o,l},r.safeStringify=function(e,t){return JSON.stringify(e,r.serializer(),t)},r.serializer=function(){let e=[],t=[],n=(n,r)=>t[0]===r?`[Circular ~]`:`[Circular ~.`+e.slice(0,t.indexOf(r)).join(`.`)+`]`;return function(i,a){if(t.length>0){let r=t.indexOf(this);~r?(t.length=r+1,e.length=r+1,e[r]=i):(t.push(this),e.push(i)),~t.indexOf(a)&&(a=n.call(this,i,a))}else t.push(a);if(a){let e=a[r.annotations];if(e){if(Array.isArray(a)){let t=[];for(let n=0;n<a.length;++n)e.errors[n]&&t.push(`_$idx$_${e.errors[n].sort().join(`, `)}_$end$_`),t.push(a[n]);a=t}else{for(let t in e.errors)a[`${t}_$key$_${e.errors[t].sort().join(`, `)}_$end$_`]=a[t],a[t]=void 0;for(let t in e.missing)a[`_$miss$_${t}|${e.missing[t]}_$end$_`]=`__missing__`}return a}}return a===1/0||a===-1/0||Number.isNaN(a)||typeof a==`function`||typeof a==`symbol`?`[`+a.toString()+`]`:a}}}),Fe=s(exports=>{let t=Pe(),n=ze(),r=Le();exports.Report=class{constructor(t,n,r,i,a,o,s){if(this.code=t,this.flags=i,this.messages=a,this.path=o.path,this.prefs=s,this.state=o,this.value=n,this.message=null,this.template=null,this.local=r||{},this.local.label=exports.label(this.flags,this.state,this.prefs,this.messages),this.value!==void 0&&!this.local.hasOwnProperty(`value`)&&(this.local.value=this.value),this.path.length){let e=this.path[this.path.length-1];typeof e!=`object`&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&this.path.length===0){let e=this._template(this.template,`root`);e&&(this.local.label=e)}}toString(){if(this.message)return this.message;let e=this.code;if(!this.prefs.errors.render)return this.code;let t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return t===void 0?`Error code "${e}" is not defined, your custom type is missing the correct messages definition`:(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,``).trim()),this.message)}_template(t,n){return exports.template(this.value,t,n||this.code,this.state,this.prefs)}},exports.path=function(e){let t=``;for(let n of e){if(typeof n==`object`)continue;typeof n==`string`?(t&&(t+=`.`),t+=n):t+=`[${n}]`}return t},exports.template=function(e,t,i,a,o){if(!t)return;if(r.isTemplate(t))return i===`root`?null:t;let s=o.errors.language;if(n.isResolvable(s)&&(s=s.resolve(e,a,o)),s&&t[s]){if(t[s][i]!==void 0)return t[s][i];if(t[s][`*`]!==void 0)return t[s][`*`]}return t[i]?t[i]:t[`*`]},exports.label=function(t,n,r,i){if(!r.errors.label)return``;if(t.label)return t.label;let a=n.path;r.errors.label===`key`&&n.path.length>1&&(a=n.path.slice(-1));let o=exports.path(a);return o||exports.template(null,r.messages,`root`,n,r)||i&&exports.template(null,i,`root`,n,r)||`value`},exports.process=function(t,n,r){if(!t)return null;let{override:i,message:a,details:o}=exports.details(t);if(i)return i;if(r.errors.stack)return new exports.ValidationError(a,o,n);let s=Error.stackTraceLimit;Error.stackTraceLimit=0;let c=new exports.ValidationError(a,o,n);return Error.stackTraceLimit=s,c},exports.details=function(e,t={}){let n=[],r=[];for(let i of e){if(i instanceof Error){if(t.override!==!1)return{override:i};let e=i.toString();n.push(e),r.push({message:e,type:`override`,context:{error:i}});continue}let e=i.toString();n.push(e),r.push({message:e,path:i.path.filter(e=>typeof e!=`object`),type:i.code,context:i.local})}return n.length>1&&(n=[...new Set(n)]),{message:n.join(`. `),details:r}},exports.ValidationError=class extends Error{constructor(e,t,n){super(e),this._original=n,this.details=t}static isError(t){return t instanceof exports.ValidationError}},exports.ValidationError.prototype.isJoi=!0,exports.ValidationError.prototype.name=`ValidationError`,exports.ValidationError.prototype.annotate=t.error}),Ie=s(exports=>{let t=I(),n=me(),r=de(),i=ze(),a,o={symbol:Symbol(`ref`),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:`.`,type:`value`}};exports.create=function(e,n={}){t(typeof e==`string`,`Invalid reference key:`,e),i.assertOptions(n,[`adjust`,`ancestor`,`in`,`iterables`,`map`,`prefix`,`render`,`separator`]),t(!n.prefix||typeof n.prefix==`object`,`options.prefix must be of type object`);let r=Object.assign({},o.defaults,n);delete r.prefix;let a=r.separator,s=o.context(e,a,n.prefix);if(r.type=s.type,e=s.key,r.type===`value`)if(s.root&&(t(!a||e[0]!==a,`Cannot specify relative path with root prefix`),r.ancestor=`root`,e||=null),a&&a===e)e=null,r.ancestor=0;else if(r.ancestor!==void 0)t(!a||!e||e[0]!==a,`Cannot combine prefix with ancestor option`);else{let[t,n]=o.ancestor(e,a);n&&(e=e.slice(n),e===``&&(e=null)),r.ancestor=t}return r.path=a?e===null?[]:e.split(a):[e],new o.Ref(r)},exports.in=function(t,n={}){return exports.create(t,{...n,in:!0})},exports.isRef=function(e){return e?!!e[i.symbols.ref]:!1},o.Ref=class{constructor(e){t(typeof e==`object`,`Invalid reference construction`),i.assertOptions(e,[`adjust`,`ancestor`,`in`,`iterables`,`map`,`path`,`render`,`separator`,`type`,`depth`,`key`,`root`,`display`]),t([!1,void 0].includes(e.separator)||typeof e.separator==`string`&&e.separator.length===1,`Invalid separator`),t(!e.adjust||typeof e.adjust==`function`,`options.adjust must be a function`),t(!e.map||Array.isArray(e.map),`options.map must be an array`),t(!e.map||!e.adjust,`Cannot set both map and adjust options`),Object.assign(this,o.defaults,e),t(this.type===`value`||this.ancestor===void 0,`Non-value references cannot reference ancestors`),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(e,n,r,i,a={}){return t(!this.in||a.in,`Invalid in() reference usage`),this.type===`global`?this._resolve(r.context,n,a):this.type===`local`?this._resolve(i,n,a):this.ancestor?this.ancestor===`root`?this._resolve(n.ancestors[n.ancestors.length-1],n,a):(t(this.ancestor<=n.ancestors.length,`Invalid reference exceeds the schema root:`,this.display),this._resolve(n.ancestors[this.ancestor-1],n,a)):this._resolve(e,n,a)}_resolve(e,t,n){let i;if(this.type===`value`&&t.mainstay.shadow&&n.shadow!==!1&&(i=t.mainstay.shadow.get(this.absolute(t))),i===void 0&&(i=r(e,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(i=this.adjust(i)),this.map){let e=this.map.get(i);e!==void 0&&(i=e)}return t.mainstay&&t.mainstay.tracer.resolve(t,this,i),i}toString(){return this.display}absolute(e){return[...e.path.slice(0,-this.ancestor),...this.path]}clone(){return new o.Ref(this)}describe(){let e={path:this.path};this.type!==`value`&&(e.type=this.type),this.separator!==`.`&&(e.separator=this.separator),this.type===`value`&&this.ancestor!==1&&(e.ancestor=this.ancestor),this.map&&(e.map=[...this.map]);for(let t of[`adjust`,`iterables`,`render`])this[t]!==null&&this[t]!==void 0&&(e[t]=this[t]);return this.in!==!1&&(e.in=!0),{ref:e}}updateDisplay(){let e=this.key===null?``:this.key;if(this.type!==`value`){this.display=`ref:${this.type}:${e}`;return}if(!this.separator){this.display=`ref:${e}`;return}if(!this.ancestor){this.display=`ref:${this.separator}${e}`;return}if(this.ancestor===`root`){this.display=`ref:root:${e}`;return}if(this.ancestor===1){this.display=`ref:${e||`..`}`;return}let t=Array(this.ancestor+1).fill(this.separator).join(``);this.display=`ref:${t}${e||``}`}},o.Ref.prototype[i.symbols.ref]=!0,exports.build=function(e){return e=Object.assign({},o.defaults,e),e.type===`value`&&e.ancestor===void 0&&(e.ancestor=1),new o.Ref(e)},o.context=function(e,t,n={}){if(e=e.trim(),n){let r=n.global===void 0?`$`:n.global;if(r!==t&&e.startsWith(r))return{key:e.slice(r.length),type:`global`};let i=n.local===void 0?`#`:n.local;if(i!==t&&e.startsWith(i))return{key:e.slice(i.length),type:`local`};let a=n.root===void 0?`/`:n.root;if(a!==t&&e.startsWith(a))return{key:e.slice(a.length),type:`value`,root:!0}}return{key:e,type:`value`}},o.ancestor=function(e,t){if(!t||e[0]!==t)return[1,0];if(e[1]!==t)return[0,1];let n=2;for(;e[n]===t;)++n;return[n-1,n]},exports.toSibling=0,exports.toParent=1,exports.Manager=class{constructor(){this.refs=[]}register(t,n){if(t){if(n=n===void 0?exports.toParent:n,Array.isArray(t)){for(let e of t)this.register(e,n);return}if(i.isSchema(t)){for(let e of t._refs.refs)e.ancestor-n>=0&&this.refs.push({ancestor:e.ancestor-n,root:e.root});return}exports.isRef(t)&&t.type===`value`&&t.ancestor-n>=0&&this.refs.push({ancestor:t.ancestor-n,root:t.root}),a||=Le(),a.isTemplate(t)&&this.register(t.refs(),n)}}get length(){return this.refs.length}clone(){let t=new exports.Manager;return t.refs=n(this.refs),t}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}}),Le=s((exports,t)=>{let n=I(),r=me(),i=Me(),a=Ne(),o=ze(),s=Fe(),c=Ie(),l={symbol:Symbol(`template`),opens:Array(1e3).join(`\0`),closes:Array(1e3).join(``),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};t.exports=exports=l.Template=class{constructor(e,t){if(n(typeof e==`string`,`Template source must be a string`),n(!e.includes(`\0`)&&!e.includes(``),`Template source cannot contain reserved control characters`),this.source=e,this.rendered=e,this._template=null,t){let{functions:e,...i}=t;this._settings=Object.keys(i).length?r(i):void 0,this._functions=e,this._functions&&(n(Object.keys(this._functions).every(e=>typeof e==`string`),`Functions keys must be strings`),n(Object.values(this._functions).every(e=>typeof e==`function`),`Functions values must be functions`))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes(`{`))return;let e=l.encode(this.source),t=l.split(e),n=!1,r=[],i=t.shift();i&&r.push(i);for(let e of t){let t=e[0]!==`{`,i=t?`}`:`}}`,a=e.indexOf(i);if(a===-1||e[1]===`{`){r.push(`{${l.decode(e)}`);continue}let o=e.slice(t?0:1,a),s=o[0]===`:`;s&&(o=o.slice(1));let c=this._ref(l.decode(o),{raw:t,wrapped:s});r.push(c),typeof c!=`string`&&(n=!0);let u=e.slice(a+i.length);u&&r.push(l.decode(u))}if(!n){this.rendered=r.join(``);return}this._template=r}static date(e,t){return l.dateFormat[t.dateFormat].call(e)}describe(e={}){if(!this._settings&&e.compact)return this.source;let t={template:this.source};return this._settings&&(t.options=this._settings),this._functions&&(t.functions=this._functions),t}static build(e){return new l.Template(e.template,e.options||e.functions?{...e.options,functions:e.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(e){return e?!!e[o.symbols.template]:!1}refs(){if(!this._template)return;let e=[];for(let t of this._template)typeof t!=`string`&&e.push(...t.refs);return e}resolve(e,t,n,r){return this._template&&this._template.length===1?this._part(this._template[0],e,t,n,r,{}):this.render(e,t,n,r)}_part(e,...t){return e.ref?e.ref.resolve(...t):e.formula.evaluate(t)}render(e,t,n,r,a={}){if(!this.isDynamic())return this.rendered;let o=[];for(let s of this._template)if(typeof s==`string`)o.push(s);else{let c=this._part(s,e,t,n,r,a),u=l.stringify(c,e,t,n,r,a);if(u!==void 0){let e=s.raw||(a.errors&&a.errors.escapeHtml)===!1?u:i(u);o.push(l.wrap(e,s.wrapped&&n.errors.wrap.label))}}return o.join(``)}_ref(e,{raw:t,wrapped:n}){let r=[],i=e=>{let t=c.create(e,this._settings);return r.push(t),e=>{let n=t.resolve(...e);return n===void 0?null:n}};try{let t=this._functions?{...l.functions,...this._functions}:l.functions;var o=new a.Parser(e,{reference:i,functions:t,constants:l.constants})}catch(t){throw t.message=`Invalid template variable "${e}" fails due to: ${t.message}`,t}if(o.single){if(o.single.type===`reference`){let e=r[0];return{ref:e,raw:t,refs:r,wrapped:n||e.type===`local`&&e.key===`label`}}return l.stringify(o.single.value)}return{formula:o,raw:t,refs:r}}toString(){return this.source}},l.Template.prototype[o.symbols.template]=!0,l.Template.prototype.isImmutable=!0,l.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>l.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>l.closes.slice(0,t.length))},l.decode=function(e){return e.replace(/\u0000/g,`{`).replace(/\u0001/g,`}`)},l.split=function(e){let t=[],n=``;for(let r=0;r<e.length;++r){let i=e[r];if(i===`{`){let i=``;for(;r+1<e.length&&e[r+1]===`{`;)i+=`{`,++r;t.push(n),n=i}else n+=i}return t.push(n),t},l.wrap=function(e,t){return t?t.length===1?`${t}${e}${t}`:`${t[0]}${e}${t[1]}`:e},l.stringify=function(e,t,n,r,i,a={}){let o=typeof e,s=r&&r.errors&&r.errors.wrap||{},u=!1;if(c.isRef(e)&&e.render&&(u=e.in,e=e.resolve(t,n,r,i,{in:e.in,...a})),e===null)return`null`;if(o===`string`)return l.wrap(e,a.arrayItems&&s.string);if(o===`number`||o===`function`||o===`symbol`)return e.toString();if(o!==`object`)return JSON.stringify(e);if(e instanceof Date)return l.Template.date(e,r);if(e instanceof Map){let t=[];for(let[n,r]of e.entries())t.push(`${n.toString()} -> ${r.toString()}`);e=t}if(!Array.isArray(e))return e.toString();let d=[];for(let o of e)d.push(l.stringify(o,t,n,r,i,{arrayItems:!0,...a}));return l.wrap(d.join(`, `),!u&&s.array)},l.constants={true:!0,false:!1,null:null,second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3},l.functions={if(e,t,n){return e?t:n},length(e){return typeof e==`string`?e.length:!e||typeof e!=`object`?null:Array.isArray(e)?e.length:Object.keys(e).length},msg(e){let[t,n,r,i,a]=this,o=a.messages;if(!o)return``;let c=s.template(t,o[0],e,n,r)||s.template(t,o[1],e,n,r);return c?c.render(t,n,r,i,a):``},number(e){return typeof e==`number`?e:typeof e==`string`?parseFloat(e):typeof e==`boolean`?e?1:0:e instanceof Date?e.getTime():null}}}),Re=s(exports=>{let t=I(),n=me(),r=Le();exports.compile=function(e,i){if(typeof e==`string`)return t(!i,`Cannot set single message string`),new r(e);if(r.isTemplate(e))return t(!i,`Cannot set single message template`),e;for(let a in t(typeof e==`object`&&!Array.isArray(e),`Invalid message options`),i=i?n(i):{},e){let n=e[a];if(a===`root`||r.isTemplate(n)){i[a]=n;continue}if(typeof n==`string`){i[a]=new r(n);continue}t(typeof n==`object`&&!Array.isArray(n),`Invalid message for`,a);let o=a;for(a in i[o]=i[o]||{},n){let e=n[a];if(a===`root`||r.isTemplate(e)){i[o][a]=e;continue}t(typeof e==`string`,`Invalid message for`,a,`in`,o),i[o][a]=new r(e)}}return i},exports.decompile=function(e){let t={};for(let n in e){let i=e[n];if(n===`root`){t.root=i;continue}if(r.isTemplate(i)){t[n]=i.describe({compact:!0});continue}let a=n;for(n in t[a]={},i){let e=i[n];if(n===`root`){t[a].root=e;continue}t[a][n]=e.describe({compact:!0})}}return t},exports.merge=function(i,a){if(!i)return exports.compile(a);if(!a)return i;if(typeof a==`string`)return new r(a);if(r.isTemplate(a))return a;let o=n(i);for(let e in a){let n=a[e];if(e===`root`||r.isTemplate(n)){o[e]=n;continue}if(typeof n==`string`){o[e]=new r(n);continue}t(typeof n==`object`&&!Array.isArray(n),`Invalid message for`,e);let i=e;for(e in o[i]=o[i]||{},n){let a=n[e];if(e===`root`||r.isTemplate(a)){o[i][e]=a;continue}t(typeof a==`string`,`Invalid message for`,e,`in`,i),o[i][e]=new r(a)}}return o}}),ze=s(exports=>{let t=I(),n=ue(),r=(Ae(),d(he).default),i,a,o={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};exports.version=r.version,exports.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:`iso`,errors:{escapeHtml:!1,label:`path`,language:null,render:!0,stack:!1,wrap:{label:`"`,array:`[]`}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:`optional`,skipFunctions:!1,stripUnknown:!1,warnings:!1},exports.symbols={any:Symbol.for(`@hapi/joi/schema`),arraySingle:Symbol(`arraySingle`),deepDefault:Symbol(`deepDefault`),errors:Symbol(`errors`),literal:Symbol(`literal`),override:Symbol(`override`),parent:Symbol(`parent`),prefs:Symbol(`prefs`),ref:Symbol(`ref`),template:Symbol(`template`),values:Symbol(`values`)},exports.assertOptions=function(e,n,r=`Options`){t(e&&typeof e==`object`&&!Array.isArray(e),`Options must be of type object`);let i=Object.keys(e).filter(e=>!n.includes(e));t(i.length===0,`${r} contain unknown keys: ${i}`)},exports.checkPreferences=function(e){a||=je();let t=a.preferences.validate(e);if(t.error)throw new n([t.error.details[0].message])},exports.compare=function(e,t,n){switch(n){case`=`:return e===t;case`>`:return e>t;case`<`:return e<t;case`>=`:return e>=t;case`<=`:return e<=t}},exports.default=function(e,t){return e===void 0?t:e},exports.isIsoDate=function(e){return o.isoDate.test(e)},exports.isNumber=function(e){return typeof e==`number`&&!isNaN(e)},exports.isResolvable=function(t){return t?t[exports.symbols.ref]||t[exports.symbols.template]:!1},exports.isSchema=function(n,r={}){let i=n&&n[exports.symbols.any];return i?(t(r.legacy||i.version===exports.version,`Cannot mix different versions of joi schemas`),!0):!1},exports.isValues=function(t){return t[exports.symbols.values]},exports.limit=function(e){return Number.isSafeInteger(e)&&e>=0},exports.preferences=function(t,n){i||=Re(),t||={},n||={};let r=Object.assign({},t,n);return n.errors&&t.errors&&(r.errors=Object.assign({},t.errors,n.errors),r.errors.wrap=Object.assign({},t.errors.wrap,n.errors.wrap)),n.messages&&(r.messages=i.compile(n.messages,t.messages)),delete r[exports.symbols.prefs],r},exports.tryWithPath=function(e,t,n={}){try{return e()}catch(e){throw e.path===void 0?e.path=t:e.path=t+`.`+e.path,n.append&&(e.message=`${e.message} (${e.path})`),e}},exports.validateArg=function(t,n,{assert:r,message:i}){if(exports.isSchema(r)){let e=r.validate(t);return e.error?e.error.message:void 0}else if(!r(t))return n?`${n} ${i}`:i},exports.verifyFlat=function(e,n){for(let r of e)t(!Array.isArray(r),`Method no longer accepts array arguments:`,n)}}),Be=s(exports=>{let t=I(),n=me(),r=ze(),i={max:1e3,supported:new Set([`undefined`,`boolean`,`number`,`string`])};exports.provider={provision(e){return new i.Cache(e)}},i.Cache=class{constructor(e={}){r.assertOptions(e,[`max`]),t(e.max===void 0||e.max&&e.max>0&&isFinite(e.max),`Invalid max cache size`),this._max=e.max||i.max,this._map=new Map,this._list=new i.List}get length(){return this._map.size}set(e,t){if(e!==null&&!i.supported.has(typeof e))return;let n=this._map.get(e);if(n){n.value=t,this._list.first(n);return}n=this._list.unshift({key:e,value:t}),this._map.set(e,n),this._compact()}get(e){let t=this._map.get(e);if(t)return this._list.first(t),n(t.value)}_compact(){if(this._map.size>this._max){let e=this._list.pop();this._map.delete(e.key)}}},i.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||=e,e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){let{next:t,prev:n}=e;return t.prev=n,n&&(n.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}}}),Ve=s(exports=>{let t=I(),n=ze(),r=Ie(),i={};exports.schema=function(e,t,r={}){n.assertOptions(r,[`appendPath`,`override`]);try{return i.schema(e,t,r)}catch(e){throw r.appendPath&&e.path!==void 0&&(e.message=`${e.message} (${e.path})`),e}},i.schema=function(e,r,a){t(r!==void 0,`Invalid undefined schema`),Array.isArray(r)&&(t(r.length,`Invalid empty array schema`),r.length===1&&(r=r[0]));let o=(t,...n)=>a.override===!1?t.valid(...n):t.valid(e.override,...n);if(i.simple(r))return o(e,r);if(typeof r==`function`)return e.custom(r);if(t(typeof r==`object`,`Invalid schema content:`,typeof r),n.isResolvable(r))return o(e,r);if(n.isSchema(r))return r;if(Array.isArray(r)){for(let t of r)if(!i.simple(t))return e.alternatives().try(...r);return o(e,...r)}return r instanceof RegExp?e.string().regex(r):r instanceof Date?o(e.date(),r):(t(Object.getPrototypeOf(r)===Object.getPrototypeOf({}),`Schema can only contain plain objects`),e.object().keys(r))},exports.ref=function(e,t){return r.isRef(e)?e:r.create(e,t)},exports.compile=function(r,a,o={}){n.assertOptions(o,[`legacy`]);let s=a&&a[n.symbols.any];if(s)return t(o.legacy||s.version===n.version,`Cannot mix different versions of joi schemas:`,s.version,n.version),a;if(typeof a!=`object`||!o.legacy)return exports.schema(r,a,{appendPath:!0});let c=i.walk(a);return c?c.compile(c.root,a):exports.schema(r,a,{appendPath:!0})},i.walk=function(e){if(typeof e!=`object`)return null;if(Array.isArray(e)){for(let t of e){let e=i.walk(t);if(e)return e}return null}let r=e[n.symbols.any];if(r)return{root:e[r.root],compile:r.compile};for(let n in t(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),`Schema can only contain plain objects`),e){let t=i.walk(e[n]);if(t)return t}return null},i.simple=function(e){return e===null||[`boolean`,`string`,`number`].includes(typeof e)},exports.when=function(a,o,s){if(s===void 0&&(t(o&&typeof o==`object`,`Missing options`),s=o,o=r.create(`.`)),Array.isArray(s)&&(s={switch:s}),n.assertOptions(s,[`is`,`not`,`then`,`otherwise`,`switch`,`break`]),n.isSchema(o))return t(s.is===void 0,`"is" can not be used with a schema condition`),t(s.not===void 0,`"not" can not be used with a schema condition`),t(s.switch===void 0,`"switch" can not be used with a schema condition`),i.condition(a,{is:o,then:s.then,otherwise:s.otherwise,break:s.break});if(t(r.isRef(o)||typeof o==`string`,`Invalid condition:`,o),t(s.not===void 0||s.is===void 0,`Cannot combine "is" with "not"`),s.switch===void 0){let c=s;s.not!==void 0&&(c={is:s.not,then:s.otherwise,otherwise:s.then,break:s.break});let l=c.is===void 0?a.$_root.invalid(null,!1,0,``).required():a.$_compile(c.is);return t(c.then!==void 0||c.otherwise!==void 0,`options must have at least one of "then", "otherwise", or "switch"`),t(c.break===void 0||c.then===void 0||c.otherwise===void 0,`Cannot specify then, otherwise, and break all together`),s.is!==void 0&&!r.isRef(s.is)&&!n.isSchema(s.is)&&(l=l.required()),i.condition(a,{ref:exports.ref(o),is:l,then:c.then,otherwise:c.otherwise,break:c.break})}t(Array.isArray(s.switch),`"switch" must be an array`),t(s.is===void 0,`Cannot combine "switch" with "is"`),t(s.not===void 0,`Cannot combine "switch" with "not"`),t(s.then===void 0,`Cannot combine "switch" with "then"`);let c={ref:exports.ref(o),switch:[],break:s.break};for(let e=0;e<s.switch.length;++e){let i=s.switch[e],o=e===s.switch.length-1;n.assertOptions(i,o?[`is`,`then`,`otherwise`]:[`is`,`then`]),t(i.is!==void 0,`Switch statement missing "is"`),t(i.then!==void 0,`Switch statement missing "then"`);let l={is:a.$_compile(i.is),then:a.$_compile(i.then)};if(!r.isRef(i.is)&&!n.isSchema(i.is)&&(l.is=l.is.required()),o){t(s.otherwise===void 0||i.otherwise===void 0,`Cannot specify "otherwise" inside and outside a "switch"`);let e=s.otherwise===void 0?i.otherwise:s.otherwise;e!==void 0&&(t(c.break===void 0,`Cannot specify both otherwise and break`),l.otherwise=a.$_compile(e))}c.switch.push(l)}return c},i.condition=function(e,t){for(let n of[`then`,`otherwise`])t[n]===void 0?delete t[n]:t[n]=e.$_compile(t[n]);return t}}),He=s(exports=>{let t=I(),n=me(),r=ze(),i=Re(),a={};exports.type=function(e,o){let s=Object.getPrototypeOf(e),c=n(s),l=e._assign(Object.create(c)),u=Object.assign({},o);delete u.base,c._definition=u;let d=s._definition||{};u.messages=i.merge(d.messages,u.messages),u.properties=Object.assign({},d.properties,u.properties),l.type=u.type,u.flags=Object.assign({},d.flags,u.flags);let f=Object.assign({},d.terms);if(u.terms)for(let e in u.terms){let n=u.terms[e];t(l.$_terms[e]===void 0,`Invalid term override for`,u.type,e),l.$_terms[e]=n.init,f[e]=n}u.terms=f,u.args||=d.args,u.prepare=a.prepare(u.prepare,d.prepare),u.coerce&&(typeof u.coerce==`function`&&(u.coerce={method:u.coerce}),u.coerce.from&&!Array.isArray(u.coerce.from)&&(u.coerce={method:u.coerce.method,from:[].concat(u.coerce.from)})),u.coerce=a.coerce(u.coerce,d.coerce),u.validate=a.validate(u.validate,d.validate);let p=Object.assign({},d.rules);if(u.rules)for(let e in u.rules){let n=u.rules[e];t(typeof n==`object`,`Invalid rule definition for`,u.type,e);let i=n.method;if(i===void 0&&(i=function(){return this.$_addRule(e)}),i&&(t(!c[e],`Rule conflict in`,u.type,e),c[e]=i),t(!p[e],`Rule conflict in`,u.type,e),p[e]=n,n.alias){let e=[].concat(n.alias);for(let t of e)c[t]=n.method}n.args&&(n.argsByName=new Map,n.args=n.args.map(e=>(typeof e==`string`&&(e={name:e}),t(!n.argsByName.has(e.name),`Duplicated argument name`,e.name),r.isSchema(e.assert)&&(e.assert=e.assert.strict().label(e.name)),n.argsByName.set(e.name,e),e)))}u.rules=p;let m=Object.assign({},d.modifiers);if(u.modifiers)for(let e in u.modifiers){t(!c[e],`Rule conflict in`,u.type,e);let n=u.modifiers[e];t(typeof n==`function`,`Invalid modifier definition for`,u.type,e);let r=function(t){return this.rule({[e]:t})};c[e]=r,m[e]=n}if(u.modifiers=m,u.overrides){for(let e in c._super=s,l.$_super={},u.overrides)t(s[e],`Cannot override missing`,e),u.overrides[e][r.symbols.parent]=s[e],l.$_super[e]=s[e].bind(l);Object.assign(c,u.overrides)}u.cast=Object.assign({},d.cast,u.cast);let h=Object.assign({},d.manifest,u.manifest);return h.build=a.build(u.manifest&&u.manifest.build,d.manifest&&d.manifest.build),u.manifest=h,u.rebuild=a.rebuild(u.rebuild,d.rebuild),l},a.build=function(e,t){return!e||!t?e||t:function(n,r){return t(e(n,r),r)}},a.coerce=function(e,t){return!e||!t?e||t:{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(n,r){let i;if((!t.from||t.from.includes(typeof n))&&(i=t.method(n,r),i)){if(i.errors||i.value===void 0)return i;n=i.value}if(!e.from||e.from.includes(typeof n)){let t=e.method(n,r);if(t)return t}return i}}},a.prepare=function(e,t){return!e||!t?e||t:function(n,r){let i=e(n,r);if(i){if(i.errors||i.value===void 0)return i;n=i.value}return t(n,r)||i}},a.rebuild=function(e,t){return!e||!t?e||t:function(n){t(n),e(n)}},a.validate=function(e,t){return!e||!t?e||t:function(n,r){let i=t(n,r);if(i){if(i.errors&&(!Array.isArray(i.errors)||i.errors.length))return i;n=i.value}return e(n,r)||i}}}),Ue=s(exports=>{ce();let t=I(),n=me(),r=ze(),i=Re(),a=Ie(),o=Le(),s,c={};exports.describe=function(e){let a=e._definition,o={type:e.type,flags:{},rules:[]};for(let t in e._flags)t[0]!==`_`&&(o.flags[t]=c.describe(e._flags[t]));Object.keys(o.flags).length||delete o.flags,e._preferences&&(o.preferences=n(e._preferences,{shallow:[`messages`]}),delete o.preferences[r.symbols.prefs],o.preferences.messages&&(o.preferences.messages=i.decompile(o.preferences.messages))),e._valids&&(o.allow=e._valids.describe()),e._invalids&&(o.invalid=e._invalids.describe());for(let t of e._rules){let e=a.rules[t.name];if(e.manifest===!1)continue;let n={name:t.name};for(let e in a.modifiers)t[e]!==void 0&&(n[e]=c.describe(t[e]));if(t.args){for(let e in n.args={},t.args){let r=t.args[e];if(e===`options`&&!Object.keys(r).length)continue;n.args[e]=c.describe(r,{assign:e})}Object.keys(n.args).length||delete n.args}o.rules.push(n)}for(let n in o.rules.length||delete o.rules,e.$_terms){if(n[0]===`_`)continue;t(!o[n],`Cannot describe schema due to internal name conflict with`,n);let i=e.$_terms[n];if(!i)continue;if(i instanceof Map){i.size&&(o[n]=[...i.entries()]);continue}if(r.isValues(i)){o[n]=i.describe();continue}t(a.terms[n],`Term`,n,`missing configuration`);let s=a.terms[n].manifest,l=typeof s==`object`;if(!i.length&&!l)continue;let u=[];for(let e of i)u.push(c.describe(e));if(l){let{from:e,to:t}=s.mapped;o[n]={};for(let r of u)o[n][r[t]]=r[e];continue}if(s===`single`){t(u.length===1,`Term`,n,`contains more than one item`),o[n]=u[0];continue}o[n]=u}return c.validate(e.$_root,o),o},c.describe=function(e,t={}){if(Array.isArray(e))return e.map(c.describe);if(e===r.symbols.deepDefault)return{special:`deep`};if(typeof e!=`object`||!e)return e;if(t.assign===`options`)return n(e);if(E&&E.isBuffer(e))return{buffer:e.toString(`binary`)};if(e instanceof Date)return e.toISOString();if(e instanceof Error)return e;if(e instanceof RegExp)return t.assign===`regex`?e.toString():{regex:e.toString()};if(e[r.symbols.literal])return{function:e.literal};if(typeof e.describe==`function`)return t.assign===`ref`?e.describe().ref:e.describe();let i={};for(let t in e){let n=e[t];if(n===void 0)continue;i[t]=c.describe(n,{assign:t})}return i},exports.build=function(e,t){let n=new c.Builder(e);return n.parse(t)},c.Builder=class{constructor(e){this.joi=e}parse(e){c.validate(this.joi,e);let n=this.joi[e.type]()._bare(),r=n._definition;if(e.flags)for(let i in e.flags){let a=r.flags[i]&&r.flags[i].setter||i;t(typeof n[a]==`function`,`Invalid flag`,i,`for type`,e.type),n=n[a](this.build(e.flags[i]))}if(e.preferences&&(n=n.preferences(this.build(e.preferences))),e.allow&&(n=n.allow(...this.build(e.allow))),e.invalid&&(n=n.invalid(...this.build(e.invalid))),e.rules)for(let i of e.rules){t(typeof n[i.name]==`function`,`Invalid rule`,i.name,`for type`,e.type);let a=[];if(i.args){let n={};for(let e in i.args)n[e]=this.build(i.args[e],{assign:e});let o=Object.keys(n),s=r.rules[i.name].args;if(s){t(o.length<=s.length,`Invalid number of arguments for`,e.type,i.name,`(expected up to`,s.length,`, found`,o.length,`)`);for(let{name:e}of s)a.push(n[e])}else t(o.length===1,`Invalid number of arguments for`,e.type,i.name,`(expected up to 1, found`,o.length,`)`),a.push(n[o[0]])}n=n[i.name](...a);let o={};for(let e in r.modifiers)i[e]!==void 0&&(o[e]=this.build(i[e]));Object.keys(o).length&&(n=n.rule(o))}let i={};for(let n in e){if([`allow`,`flags`,`invalid`,`whens`,`preferences`,`rules`,`type`].includes(n))continue;t(r.terms[n],`Term`,n,`missing configuration`);let a=r.terms[n].manifest;if(a===`schema`){i[n]=e[n].map(e=>this.parse(e));continue}if(a===`values`){i[n]=e[n].map(e=>this.build(e));continue}if(a===`single`){i[n]=this.build(e[n]);continue}if(typeof a==`object`){for(let t in i[n]={},e[n]){let r=e[n][t];i[n][t]=this.parse(r)}continue}i[n]=this.build(e[n])}return e.whens&&(i.whens=e.whens.map(e=>this.build(e))),n=r.manifest.build(n,i),n.$_temp.ruleset=!1,n}build(e,i={}){if(e===null)return null;if(Array.isArray(e))return e.map(e=>this.build(e));if(e instanceof Error)return e;if(i.assign===`options`)return n(e);if(i.assign===`regex`)return c.regex(e);if(i.assign===`ref`)return a.build(e);if(typeof e!=`object`)return e;if(Object.keys(e).length===1){if(e.buffer)return t(E,`Buffers are not supported`),E&&E.from(e.buffer,`binary`);if(e.function)return{[r.symbols.literal]:!0,literal:e.function};if(e.override)return r.symbols.override;if(e.ref)return a.build(e.ref);if(e.regex)return c.regex(e.regex);if(e.special)return t([`deep`].includes(e.special),`Unknown special value`,e.special),r.symbols.deepDefault;if(e.value)return n(e.value)}if(e.type)return this.parse(e);if(e.template)return o.build(e);let s={};for(let t in e)s[t]=this.build(e[t],{assign:t});return s}},c.regex=function(e){let t=e.lastIndexOf(`/`),n=e.slice(1,t),r=e.slice(t+1);return new RegExp(n,r)},c.validate=function(e,t){s||=je(),e.assert(t,s.description)}}),We=s((exports,t)=>{ce();let n=fe(),r={mismatched:null};t.exports=function(e,t,n){return n=Object.assign({prototype:!0},n),!!r.isDeepEqual(e,t,n,[])},r.isDeepEqual=function(e,t,i,a){if(e===t)return e!==0||1/e==1/t;let o=typeof e;if(o!==typeof t||e===null||t===null)return!1;if(o===`function`){if(!i.deepFunction||e.toString()!==t.toString())return!1}else if(o!==`object`)return e!==e&&t!==t;let s=r.getSharedType(e,t,!!i.prototype);switch(s){case n.buffer:return E&&E.prototype.equals.call(e,t);case n.promise:return e===t;case n.regex:return e.toString()===t.toString();case r.mismatched:return!1}for(let n=a.length-1;n>=0;--n)if(a[n].isSame(e,t))return!0;a.push(new r.SeenEntry(e,t));try{return!!r.isDeepEqualObj(s,e,t,i,a)}finally{a.pop()}},r.getSharedType=function(e,t,i){if(i)return Object.getPrototypeOf(e)===Object.getPrototypeOf(t)?n.getInternalProto(e):r.mismatched;let a=n.getInternalProto(e);return a===n.getInternalProto(t)?a:r.mismatched},r.valueOf=function(e){let t=e.valueOf;if(t===void 0)return e;try{return t.call(e)}catch(e){return e}},r.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},r.isSetSimpleEqual=function(e,t){for(let n of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,n))return!1;return!0},r.isDeepEqualObj=function(e,t,i,a,o){let{isDeepEqual:s,valueOf:c,hasOwnEnumerableProperty:l}=r,{keys:u,getOwnPropertySymbols:d}=Object;if(e===n.array)if(a.part){for(let e of t)for(let t of i)if(s(e,t,a,o))return!0}else{if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!s(t[e],i[e],a,o))return!1;return!0}else if(e===n.set){if(t.size!==i.size)return!1;if(!r.isSetSimpleEqual(t,i)){let e=new Set(Set.prototype.values.call(i));for(let n of Set.prototype.values.call(t)){if(e.delete(n))continue;let t=!1;for(let r of e)if(s(n,r,a,o)){e.delete(r),t=!0;break}if(!t)return!1}}}else if(e===n.map){if(t.size!==i.size)return!1;for(let[e,n]of Map.prototype.entries.call(t))if(n===void 0&&!Map.prototype.has.call(i,e)||!s(n,Map.prototype.get.call(i,e),a,o))return!1}else if(e===n.error&&(t.name!==i.name||t.message!==i.message))return!1;let f=c(t),p=c(i);if((t!==f||i!==p)&&!s(f,p,a,o))return!1;let m=u(t);if(!a.part&&m.length!==u(i).length&&!a.skip)return!1;let h=0;for(let e of m){if(a.skip&&a.skip.includes(e)){i[e]===void 0&&++h;continue}if(!l(i,e)||!s(t[e],i[e],a,o))return!1}if(!a.part&&m.length-h!==u(i).length)return!1;if(a.symbols!==!1){let e=d(t),n=new Set(d(i));for(let r of e){if(!a.skip||!a.skip.includes(r)){if(l(t,r)){if(!l(i,r)||!s(t[r],i[r],a,o))return!1}else if(l(i,r))return!1}n.delete(r)}for(let e of n)if(l(i,e))return!1}return!0},r.SeenEntry=class{constructor(e,t){this.obj=e,this.ref=t}isSame(e,t){return this.obj===e&&this.ref===t}}}),Ge=s(exports=>{exports.location=function(e=0){let t=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;let n={};Error.captureStackTrace(n,this);let r=n.stack[e+1];return Error.prepareStackTrace=t,{filename:r.getFileName(),line:r.getLineNumber()}}}),Ke=s(exports=>{let t=We(),n=Ge(),r=Fe(),i={codes:{error:1,pass:2,full:3},labels:{0:`never used`,1:`always error`,2:`always pass`}};exports.setup=function(e){let t=function(){return e._tracer=e._tracer||new i.Tracer,e._tracer};e.trace=t,e[Symbol.for(`@hapi/lab/coverage/initialize`)]=t,e.untrace=()=>{e._tracer=null}},exports.location=function(e){return e.$_setFlag(`_tracerLocation`,n.location(2))},i.Tracer=class{constructor(){this.name=`Joi`,this._schemas=new Map}_register(e){let t=this._schemas.get(e);if(t)return t.store;let r=new i.Store(e),{filename:a,line:o}=e._flags._tracerLocation||n.location(5);return this._schemas.set(e,{filename:a,line:o,store:r}),r}_combine(e,t){for(let{store:n}of this._schemas.values())n._combine(e,t)}report(e){let t=[];for(let{filename:n,line:r,store:a}of this._schemas.values()){if(e&&e!==n)continue;let o=[],s=[];for(let[e,t]of a._sources.entries()){if(i.sub(t.paths,s))continue;if(!t.entry){o.push({status:`never reached`,paths:[...t.paths]}),s.push(...t.paths);continue}for(let n of[`valid`,`invalid`]){let r=e[`_${n}s`];if(!r)continue;let i=new Set(r._values),a=new Set(r._refs);for(let{value:e,ref:r}of t[n])i.delete(e),a.delete(r);(i.size||a.size)&&o.push({status:[...i,...[...a].map(e=>e.display)],rule:`${n}s`})}let n=e._rules.map(e=>e.name);for(let t of[`default`,`failover`])e._flags[t]!==void 0&&n.push(t);for(let e of n){let n=i.labels[t.rule[e]||0];if(n){let r={rule:e,status:n};t.paths.size&&(r.paths=[...t.paths]),o.push(r)}}}o.length&&t.push({filename:n,line:r,missing:o,severity:`error`,message:`Schema missing tests for ${o.map(i.message).join(`, `)}`})}return t.length?t:null}},i.Store=class{constructor(e){this.active=!0,this._sources=new Map,this._combos=new Map,this._scan(e)}debug(e,t,n,r){e.mainstay.debug&&e.mainstay.debug.push({type:t,name:n,result:r,path:e.path})}entry(e,t){i.debug(t,{type:`entry`}),this._record(e,e=>{e.entry=!0})}filter(e,t,n,r){i.debug(t,{type:n,...r}),this._record(e,e=>{e[n].add(r)})}log(e,t,n,r,a){i.debug(t,{type:n,name:r,result:a===`full`?`pass`:a}),this._record(e,e=>{e[n][r]=e[n][r]||0,e[n][r]|=i.codes[a]})}resolve(e,t,n){if(!e.mainstay.debug)return;let r={type:`resolve`,ref:t.display,to:n,path:e.path};e.mainstay.debug.push(r)}value(e,n,r,i,a){if(!e.mainstay.debug||t(r,i))return;let o={type:`value`,by:n,from:r,to:i,path:e.path};a&&(o.name=a),e.mainstay.debug.push(o)}_record(e,t){let n=this._sources.get(e);if(n){t(n);return}let r=this._combos.get(e);for(let e of r)this._record(e,t)}_scan(e,t){let n=t||[],r=this._sources.get(e);r||(r={paths:new Set,entry:!1,rule:{},valid:new Set,invalid:new Set},this._sources.set(e,r)),n.length&&r.paths.add(n);let a=(e,t)=>{let r=i.id(e,t);this._scan(e,n.concat(r))};e.$_modify({each:a,ref:!1})}_combine(e,t){this._combos.set(e,t)}},i.message=function(e){let t=e.paths?r.path(e.paths[0])+(e.rule?`:`:``):``;return`${t}${e.rule||``} (${e.status})`},i.id=function(e,{source:t,name:n,path:r,key:i}){return e._flags.id?e._flags.id:i||(n=`@${n}`,t===`terms`?[n,r[Math.min(r.length-1,1)]]:n)},i.sub=function(e,n){for(let r of e)for(let e of n)if(t(r.slice(0,e.length),e))return!0;return!1},i.debug=function(e,t){e.mainstay.debug&&(t.path=e.debug?[...e.path,e.debug]:e.path,e.mainstay.debug.push(t))}}),qe=s((exports,t)=>{ce();let n=I(),r=me(),i=pe(),a={};t.exports=a.merge=function(e,t,o){if(n(e&&typeof e==`object`,`Invalid target value: must be an object`),n(t==null||typeof t==`object`,`Invalid source value: must be null, undefined, or an object`),!t)return e;if(o=Object.assign({nullOverride:!0,mergeArrays:!0},o),Array.isArray(t)){n(Array.isArray(e),`Cannot merge array onto an object`),o.mergeArrays||(e.length=0);for(let n=0;n<t.length;++n)e.push(r(t[n],{symbols:o.symbols}));return e}let s=i.keys(t,o);for(let n=0;n<s.length;++n){let i=s[n];if(i===`__proto__`||!Object.prototype.propertyIsEnumerable.call(t,i))continue;let c=t[i];if(c&&typeof c==`object`){if(e[i]===c)continue;!e[i]||typeof e[i]!=`object`||Array.isArray(e[i])!==Array.isArray(c)||c instanceof Date||E&&E.isBuffer(c)||c instanceof RegExp?e[i]=r(c,{symbols:o.symbols}):a.merge(e[i],c,o)}else c==null?o.nullOverride&&(e[i]=c):e[i]=c}return e}}),Je=s(exports=>{let t=I(),n=ze(),r=Ie(),i={};exports.Ids=i.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){let e=new i.Ids;return e._byId=new Map(this._byId),e._byKey=new Map(this._byKey),e._schemaChain=this._schemaChain,e}concat(e){e._schemaChain&&(this._schemaChain=!0);for(let[n,r]of e._byId.entries())t(!this._byKey.has(n),`Schema id conflicts with existing key:`,n),this._byId.set(n,r);for(let[n,r]of e._byKey.entries())t(!this._byId.has(n),`Schema key conflicts with existing id:`,n),this._byKey.set(n,r)}fork(e,r,a){let o=this._collect(e);o.push({schema:a});let s=o.shift(),c={id:s.id,schema:r(s.schema)};t(n.isSchema(c.schema),`adjuster function failed to return a joi schema type`);for(let e of o)c={id:e.id,schema:i.fork(e.schema,c.id,c.schema)};return c.schema}labels(e,t=[]){let n=e[0],r=this._get(n);if(!r)return[...t,...e].join(`.`);let i=e.slice(1);return t=[...t,r.schema._flags.label||n],i.length?r.schema._ids.labels(i,t):t.join(`.`)}reach(e,n=[]){let r=e[0],i=this._get(r);t(i,`Schema does not contain path`,[...n,...e].join(`.`));let a=e.slice(1);return a.length?i.schema._ids.reach(a,[...n,r]):i.schema}register(e,{key:r}={}){if(!e||!n.isSchema(e))return;(e.$_property(`schemaChain`)||e._ids._schemaChain)&&(this._schemaChain=!0);let i=e._flags.id;if(i){let n=this._byId.get(i);t(!n||n.schema===e,`Cannot add different schemas with the same id:`,i),t(!this._byKey.has(i),`Schema id conflicts with existing key:`,i),this._byId.set(i,{schema:e,id:i})}r&&(t(!this._byKey.has(r),`Schema already contains key:`,r),t(!this._byId.has(r),`Schema key conflicts with existing id:`,r),this._byKey.set(r,{schema:e,id:r}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(e,n=[],r=[]){let i=e[0],a=this._get(i);t(a,`Schema does not contain path`,[...n,...e].join(`.`)),r=[a,...r];let o=e.slice(1);return o.length?a.schema._ids._collect(o,[...n,i],r):r}_get(e){return this._byId.get(e)||this._byKey.get(e)}},i.fork=function(t,n,r){let i=(e,{key:t})=>{if(n===(e._flags.id||t))return r},a=exports.schema(t,{each:i,ref:!1});return a?a.$_mutateRebuild():t},exports.schema=function(e,t){let n;for(let r in e._flags){if(r[0]===`_`)continue;let a=i.scan(e._flags[r],{source:`flags`,name:r},t);a!==void 0&&(n||=e.clone(),n._flags[r]=a)}for(let r=0;r<e._rules.length;++r){let a=e._rules[r],o=i.scan(a.args,{source:`rules`,name:a.name},t);if(o!==void 0){n||=e.clone();let t=Object.assign({},a);t.args=o,n._rules[r]=t;let i=n._singleRules.get(a.name);i===a&&n._singleRules.set(a.name,t)}}for(let r in e.$_terms){if(r[0]===`_`)continue;let a=i.scan(e.$_terms[r],{source:`terms`,name:r},t);a!==void 0&&(n||=e.clone(),n.$_terms[r]=a)}return n},i.scan=function(e,t,a,o,s){let c=o||[];if(typeof e!=`object`||!e)return;let l;if(Array.isArray(e)){for(let n=0;n<e.length;++n){let r=t.source===`terms`&&t.name===`keys`&&e[n].key,o=i.scan(e[n],t,a,[n,...c],r);o!==void 0&&(l||=e.slice(),l[n]=o)}return l}if(a.schema!==!1&&n.isSchema(e)||a.ref!==!1&&r.isRef(e)){let n=a.each(e,{...t,path:c,key:s});return n===e?void 0:n}for(let n in e){if(n[0]===`_`)continue;let r=i.scan(e[n],t,a,[n,...c],s);r!==void 0&&(l||=Object.assign({},e),l[n]=r)}return l}}),Ye=s((exports,t)=>{t.exports=function(){}}),Xe=s((exports,t)=>{let n=me(),r=de(),i=ze(),a={value:Symbol(`value`)};t.exports=a.State=class{constructor(e,t,n){this.path=e,this.ancestors=t,this.mainstay=n.mainstay,this.schemas=n.schemas,this.debug=null}localize(e,t=null,n=null){let r=new a.State(e,t,this);return n&&r.schemas&&(r.schemas=[a.schemas(n),...r.schemas]),r}nest(e,t){let n=new a.State(this.path,this.ancestors,this);return n.schemas=n.schemas&&[a.schemas(e),...n.schemas],n.debug=t,n}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new a.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=n(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},a.schemas=function(e){return i.isSchema(e)?{schema:e}:e},a.Shadow=class{constructor(){this._values=null}set(e,t,n){if(!e.length||n===`strip`&&typeof e[e.length-1]==`number`)return;this._values=this._values||new Map;let r=this._values;for(let t=0;t<e.length;++t){let n=e[t],i=r.get(n);i||(i=new Map,r.set(n,i)),r=i}r[a.value]=t}get(e){let t=this.node(e);if(t)return t[a.value]}node(e){if(this._values)return r(this._values,e,{iterables:!0})}override(e,t){if(!this._values)return;let n=e.slice(0,-1),i=e[e.length-1],a=r(this._values,n,{iterables:!0});if(t){a.set(i,t);return}a&&a.delete(i)}}}),Ze=s(exports=>{let t=I(),n=me(),r=Ye(),i=de(),a=ze(),o=Fe(),s=Xe(),c={result:Symbol(`result`)};exports.entry=function(e,n,r){let i=a.defaults;r&&(t(r.warnings===void 0,`Cannot override warnings preference in synchronous validation`),t(r.artifacts===void 0,`Cannot override artifacts preference in synchronous validation`),i=a.preferences(a.defaults,r));let s=c.entry(e,n,i);t(!s.mainstay.externals.length,`Schema with external rules must use validateAsync()`);let l={value:s.value};return s.error&&(l.error=s.error),s.mainstay.warnings.length&&(l.warning=o.details(s.mainstay.warnings)),s.mainstay.debug&&(l.debug=s.mainstay.debug),s.mainstay.artifacts&&(l.artifacts=s.mainstay.artifacts),l},exports.entryAsync=async function(e,t,n){let r=a.defaults;n&&(r=a.preferences(a.defaults,n));let s=c.entry(e,t,r),l=s.mainstay;if(s.error)throw l.debug&&(s.error.debug=l.debug),s.error;if(l.externals.length){let t=s.value,u=[];for(let s of l.externals){let d=s.state.path,f=s.schema.type===`link`?l.links.get(s.schema):null,p=t,m,h,g=d.length?[t]:[],_=d.length?i(e,d):e;if(d.length){m=d[d.length-1];let e=t;for(let t of d.slice(0,-1))e=e[t],g.unshift(e);h=g[0],p=h[m]}try{let e=(e,t)=>(f||s.schema).$_createError(e,p,t,s.state,r),i=await s.method(p,{schema:s.schema,linked:f,state:s.state,prefs:n,original:_,error:e,errorsArray:c.errorsArray,warn:(e,t)=>l.warnings.push((f||s.schema).$_createError(e,p,t,s.state,r)),message:(e,t)=>(f||s.schema).$_createError(`external`,p,t,s.state,r,{messages:e})});if(i===void 0||i===p)continue;if(i instanceof o.Report){if(l.tracer.log(s.schema,s.state,`rule`,`external`,`error`),u.push(i),r.abortEarly)break;continue}if(Array.isArray(i)&&i[a.symbols.errors]){if(l.tracer.log(s.schema,s.state,`rule`,`external`,`error`),u.push(...i),r.abortEarly)break;continue}h?(l.tracer.value(s.state,`rule`,p,i,`external`),h[m]=i):(l.tracer.value(s.state,`rule`,t,i,`external`),t=i)}catch(e){throw r.errors.label&&(e.message+=` (${s.label})`),e}}if(s.value=t,u.length)throw s.error=o.process(u,e,r),l.debug&&(s.error.debug=l.debug),s.error}if(!r.warnings&&!r.debug&&!r.artifacts)return s.value;let u={value:s.value};return l.warnings.length&&(u.warning=o.details(l.warnings)),l.debug&&(u.debug=l.debug),l.artifacts&&(u.artifacts=l.artifacts),u},c.Mainstay=class{constructor(e,t,n){this.externals=[],this.warnings=[],this.tracer=e,this.debug=t,this.links=n,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){let e=this._snapshots.pop();this.externals=e.externals,this.warnings=e.warnings}commit(){this._snapshots.pop()}},c.entry=function(t,n,r){let{tracer:i,cleanup:a}=c.tracer(n,r),l=r.debug?[]:null,u=n._ids._schemaChain?new Map:null,d=new c.Mainstay(i,l,u),f=n._ids._schemaChain?[{schema:n}]:null,p=new s([],[],{mainstay:d,schemas:f}),m=exports.validate(t,n,p,r);a&&n.$_root.untrace();let h=o.process(m.errors,t,r);return{value:m.value,error:h,mainstay:d}},c.tracer=function(e,n){return e.$_root._tracer?{tracer:e.$_root._tracer._register(e)}:n.debug?(t(e.$_root.trace,`Debug mode not supported`),{tracer:e.$_root.trace()._register(e),cleanup:!0}):{tracer:c.ignore}},exports.validate=function(e,t,n,r,i={}){if(t.$_terms.whens&&(t=t._generate(e,n,r).schema),t._preferences&&(r=c.prefs(t,r)),t._cache&&r.cache){let r=t._cache.get(e);if(n.mainstay.tracer.debug(n,`validate`,`cached`,!!r),r)return r}let o=(i,a,o)=>t.$_createError(i,e,a,o||n,r),s={original:e,prefs:r,schema:t,state:n,error:o,errorsArray:c.errorsArray,warn:(e,t,r)=>n.mainstay.warnings.push(o(e,t,r)),message:(i,a)=>t.$_createError(`custom`,e,a,n,r,{messages:i})};n.mainstay.tracer.entry(t,n);let l=t._definition;if(l.prepare&&e!==void 0&&r.convert){let t=l.prepare(e,s);if(t){if(n.mainstay.tracer.value(n,`prepare`,e,t.value),t.errors)return c.finalize(t.value,[].concat(t.errors),s);e=t.value}}if(l.coerce&&e!==void 0&&r.convert&&(!l.coerce.from||l.coerce.from.includes(typeof e))){let t=l.coerce.method(e,s);if(t){if(n.mainstay.tracer.value(n,`coerced`,e,t.value),t.errors)return c.finalize(t.value,[].concat(t.errors),s);e=t.value}}let u=t._flags.empty;u&&u.$_match(c.trim(e,t),n.nest(u),a.defaults)&&(n.mainstay.tracer.value(n,`empty`,e,void 0),e=void 0);let d=i.presence||t._flags.presence||(t._flags._endedSwitch?null:r.presence);if(e===void 0){if(d===`forbidden`)return c.finalize(e,null,s);if(d===`required`)return c.finalize(e,[t.$_createError(`any.required`,e,null,n,r)],s);if(d===`optional`){if(t._flags.default!==a.symbols.deepDefault)return c.finalize(e,null,s);n.mainstay.tracer.value(n,`default`,e,{}),e={}}}else if(d===`forbidden`)return c.finalize(e,[t.$_createError(`any.unknown`,e,null,n,r)],s);let f=[];if(t._valids){let i=t._valids.get(e,n,r,t._flags.insensitive);if(i)return r.convert&&(n.mainstay.tracer.value(n,`valids`,e,i.value),e=i.value),n.mainstay.tracer.filter(t,n,`valid`,i),c.finalize(e,null,s);if(t._flags.only){let i=t.$_createError(`any.only`,e,{valids:t._valids.values({display:!0})},n,r);if(r.abortEarly)return c.finalize(e,[i],s);f.push(i)}}if(t._invalids){let i=t._invalids.get(e,n,r,t._flags.insensitive);if(i){n.mainstay.tracer.filter(t,n,`invalid`,i);let a=t.$_createError(`any.invalid`,e,{invalids:t._invalids.values({display:!0})},n,r);if(r.abortEarly)return c.finalize(e,[a],s);f.push(a)}}if(l.validate){let t=l.validate(e,s);if(t&&(n.mainstay.tracer.value(n,`base`,e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return f.push(t.errors),c.finalize(e,f,s);if(t.errors.length)return f.push(...t.errors),c.finalize(e,f,s)}}return t._rules.length?c.rules(e,f,s):c.finalize(e,f,s)},c.rules=function(e,t,n){let{schema:r,state:i,prefs:o}=n;for(let s of r._rules){let l=r._definition.rules[s.method];if(l.convert&&o.convert){i.mainstay.tracer.log(r,i,`rule`,s.name,`full`);continue}let u,d=s.args;if(s._resolve.length){d=Object.assign({},d);for(let t of s._resolve){let n=l.argsByName.get(t),s=d[t].resolve(e,i,o),c=n.normalize?n.normalize(s):s,f=a.validateArg(c,null,n);if(f){u=r.$_createError(`any.ref`,s,{arg:t,ref:d[t],reason:f},i,o);break}d[t]=c}}u||=l.validate(e,n,d,s);let f=c.rule(u,s);if(f.errors){if(i.mainstay.tracer.log(r,i,`rule`,s.name,`error`),s.warn){i.mainstay.warnings.push(...f.errors);continue}if(o.abortEarly)return c.finalize(e,f.errors,n);t.push(...f.errors)}else i.mainstay.tracer.log(r,i,`rule`,s.name,`pass`),i.mainstay.tracer.value(i,`rule`,e,f.value,s.name),e=f.value}return c.finalize(e,t,n)},c.rule=function(e,t){return e instanceof o.Report?(c.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&e[a.symbols.errors]?(e.forEach(e=>c.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},c.error=function(e,t){return t.message&&e._setTemplate(t.message),e},c.finalize=function(e,n,r){n||=[];let{schema:i,state:a,prefs:s}=r;if(n.length){let t=c.default(`failover`,void 0,n,r);t!==void 0&&(a.mainstay.tracer.value(a,`failover`,e,t),e=t,n=[])}if(n.length&&i._flags.error)if(typeof i._flags.error==`function`){n=i._flags.error(n),Array.isArray(n)||(n=[n]);for(let e of n)t(e instanceof Error||e instanceof o.Report,`error() must return an Error object`)}else n=[i._flags.error];if(e===void 0){let t=c.default(`default`,e,n,r);a.mainstay.tracer.value(a,`default`,e,t),e=t}if(i._flags.cast&&e!==void 0){let t=i._definition.cast[i._flags.cast];if(t.from(e)){let n=t.to(e,r);a.mainstay.tracer.value(a,`cast`,e,n,i._flags.cast),e=n}}if(i.$_terms.externals&&s.externals&&s._externals!==!1)for(let{method:e}of i.$_terms.externals)a.mainstay.externals.push({method:e,schema:i,state:a,label:o.label(i._flags,a,s)});let l={value:e,errors:n.length?n:null};return i._flags.result&&(l.value=i._flags.result===`strip`?void 0:r.original,a.mainstay.tracer.value(a,i._flags.result,e,l.value),a.shadow(e,i._flags.result)),i._cache&&s.cache!==!1&&!i._refs.length&&i._cache.set(r.original,l),e!==void 0&&!l.errors&&i._flags.artifact!==void 0&&(a.mainstay.artifacts=a.mainstay.artifacts||new Map,a.mainstay.artifacts.has(i._flags.artifact)||a.mainstay.artifacts.set(i._flags.artifact,[]),a.mainstay.artifacts.get(i._flags.artifact).push(a.path)),l},c.prefs=function(e,t){let n=t===a.defaults;return n&&e._preferences[a.symbols.prefs]?e._preferences[a.symbols.prefs]:(t=a.preferences(t,e._preferences),n&&(e._preferences[a.symbols.prefs]=t),t)},c.default=function(e,t,r,i){let{schema:o,state:s,prefs:c}=i,l=o._flags[e];if(c.noDefaults||l===void 0)return t;if(s.mainstay.tracer.log(o,s,`rule`,e,`full`),!l)return l;if(typeof l==`function`){let t=l.length?[n(s.ancestors[0]),i]:[];try{return l(...t)}catch(t){r.push(o.$_createError(`any.${e}`,null,{error:t},s,c));return}}return typeof l==`object`?l[a.symbols.literal]?l.literal:a.isResolvable(l)?l.resolve(t,s,c):n(l):l},c.trim=function(e,t){if(typeof e!=`string`)return e;let n=t.$_getRule(`trim`);return!n||!n.args.enabled?e:e.trim()},c.ignore={active:!1,debug:r,entry:r,filter:r,log:r,resolve:r,value:r},c.errorsArray=function(){let e=[];return e[a.symbols.errors]=!0,e}}),Qe=s((exports,t)=>{let n=I(),r=We(),i=ze(),a={};t.exports=a.Values=class{constructor(e,t){this._values=new Set(e),this._refs=new Set(t),this._lowercase=a.lowercases(e),this._override=!1}get length(){return this._values.size+this._refs.size}add(e,t){if(i.isResolvable(e)){this._refs.has(e)||(this._refs.add(e),t&&t.register(e));return}this.has(e,null,null,!1)||(this._values.add(e),typeof e==`string`&&this._lowercase.set(e.toLowerCase(),e))}static merge(e,t,n){if(e||=new a.Values,t){if(t._override)return t.clone();for(let n of[...t._values,...t._refs])e.add(n)}if(n)for(let t of[...n._values,...n._refs])e.remove(t);return e.length?e:null}remove(e){if(i.isResolvable(e)){this._refs.delete(e);return}this._values.delete(e),typeof e==`string`&&this._lowercase.delete(e.toLowerCase())}has(e,t,n,r){return!!this.get(e,t,n,r)}get(e,t,n,i){if(!this.length)return!1;if(this._values.has(e))return{value:e};if(typeof e==`string`&&e&&i){let t=this._lowercase.get(e.toLowerCase());if(t)return{value:t}}if(!this._refs.size&&typeof e!=`object`)return!1;if(typeof e==`object`){for(let t of this._values)if(r(t,e))return{value:t}}if(t)for(let a of this._refs){let o=a.resolve(e,t,n,null,{in:!0});if(o===void 0)continue;let s=!a.in||typeof o!=`object`?[o]:Array.isArray(o)?o:Object.keys(o);for(let t of s){if(typeof t!=typeof e)continue;if(i&&e&&typeof e==`string`){if(t.toLowerCase()===e.toLowerCase())return{value:t,ref:a}}else if(r(t,e))return{value:t,ref:a}}}return!1}override(){this._override=!0}values(e){if(e&&e.display){let e=[];for(let t of[...this._values,...this._refs])t!==void 0&&e.push(t);return e}return Array.from([...this._values,...this._refs])}clone(){let e=new a.Values(this._values,this._refs);return e._override=this._override,e}concat(e){n(!e._override,`Cannot concat override set of values`);let t=new a.Values([...this._values,...e._values],[...this._refs,...e._refs]);return t._override=this._override,t}describe(){let e=[];this._override&&e.push({override:!0});for(let t of this._values.values())e.push(t&&typeof t==`object`?{value:t}:t);for(let t of this._refs.values())e.push(t.describe());return e}},a.Values.prototype[i.symbols.values]=!0,a.Values.prototype.slice=a.Values.prototype.clone,a.lowercases=function(e){let t=new Map;if(e)for(let n of e)typeof n==`string`&&t.set(n.toLowerCase(),n);return t}}),$e=s((exports,t)=>{let n=I(),r=me(),i=We(),a=qe(),o=Be(),s=ze(),c=Ve(),l=Fe(),u=He(),d=Ue(),f=Re(),p=Je(),m=Ie(),h=Ke(),g=Ze(),_=Qe(),v={};v.Base=class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new p.Ids,this._preferences=null,this._refs=new m.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return n(typeof d.describe==`function`,`Manifest functionality disabled`),d.describe(this)}allow(...e){return s.verifyFlat(e,`allow`),this._values(e,`_valids`)}alter(e){n(e&&typeof e==`object`&&!Array.isArray(e),`Invalid targets argument`),n(!this._inRuleset(),`Cannot set alterations inside a ruleset`);let t=this.clone();for(let r in t.$_terms.alterations=t.$_terms.alterations||[],e){let i=e[r];n(typeof i==`function`,`Alteration adjuster for`,r,`must be a function`),t.$_terms.alterations.push({target:r,adjuster:i})}return t.$_temp.ruleset=!1,t}artifact(e){return n(e!==void 0,`Artifact cannot be undefined`),n(!this._cache,`Cannot set an artifact with a rule cache`),this.$_setFlag(`artifact`,e)}cast(e){return n(e===!1||typeof e==`string`,`Invalid to value`),n(e===!1||this._definition.cast[e],`Type`,this.type,`does not support casting to`,e),this.$_setFlag(`cast`,e===!1?void 0:e)}default(e,t){return this._default(`default`,e,t)}description(e){return n(e&&typeof e==`string`,`Description must be a non-empty string`),this.$_setFlag(`description`,e)}empty(e){let t=this.clone();return e!==void 0&&(e=t.$_compile(e,{override:!1})),t.$_setFlag(`empty`,e,{clone:!1})}error(e){return n(e,`Missing error`),n(e instanceof Error||typeof e==`function`,`Must provide a valid Error object or a function`),this.$_setFlag(`error`,e)}example(e,t={}){return n(e!==void 0,`Missing example`),s.assertOptions(t,[`override`]),this._inner(`examples`,e,{single:!0,override:t.override})}external(e,t){return typeof e==`object`&&(n(!t,`Cannot combine options with description`),t=e.description,e=e.method),n(typeof e==`function`,`Method must be a function`),n(t===void 0||t&&typeof t==`string`,`Description must be a non-empty string`),this._inner(`externals`,{method:e,description:t},{single:!0})}failover(e,t){return this._default(`failover`,e,t)}forbidden(){return this.presence(`forbidden`)}id(e){return e?(n(typeof e==`string`,`id must be a non-empty string`),n(/^[^\.]+$/.test(e),`id cannot contain period character`),this.$_setFlag(`id`,e)):this.$_setFlag(`id`,void 0)}invalid(...e){return this._values(e,`_invalids`)}label(e){return n(e&&typeof e==`string`,`Label name must be a non-empty string`),this.$_setFlag(`label`,e)}meta(e){return n(e!==void 0,`Meta cannot be undefined`),this._inner(`metas`,e,{single:!0})}note(...e){n(e.length,`Missing notes`);for(let t of e)n(t&&typeof t==`string`,`Notes must be non-empty strings`);return this._inner(`notes`,e)}only(e=!0){return n(typeof e==`boolean`,`Invalid mode:`,e),this.$_setFlag(`only`,e)}optional(){return this.presence(`optional`)}prefs(e){n(e,`Missing preferences`),n(e.context===void 0,`Cannot override context`),n(e.externals===void 0,`Cannot override externals`),n(e.warnings===void 0,`Cannot override warnings`),n(e.debug===void 0,`Cannot override debug`),s.checkPreferences(e);let t=this.clone();return t._preferences=s.preferences(t._preferences,e),t}presence(e){return n([`optional`,`required`,`forbidden`].includes(e),`Unknown presence mode`,e),this.$_setFlag(`presence`,e)}raw(e=!0){return this.$_setFlag(`result`,e?`raw`:void 0)}result(e){return n([`raw`,`strip`].includes(e),`Unknown result mode`,e),this.$_setFlag(`result`,e)}required(){return this.presence(`required`)}strict(e){let t=this.clone(),n=e===void 0?!1:!e;return t._preferences=s.preferences(t._preferences,{convert:n}),t}strip(e=!0){return this.$_setFlag(`result`,e?`strip`:void 0)}tag(...e){n(e.length,`Missing tags`);for(let t of e)n(t&&typeof t==`string`,`Tags must be non-empty strings`);return this._inner(`tags`,e)}unit(e){return n(e&&typeof e==`string`,`Unit name must be a non-empty string`),this.$_setFlag(`unit`,e)}valid(...e){s.verifyFlat(e,`valid`);let t=this.allow(...e);return t.$_setFlag(`only`,!!t._valids,{clone:!1}),t}when(e,t){let r=this.clone();r.$_terms.whens||(r.$_terms.whens=[]);let i=c.when(r,e,t);if(![`any`,`link`].includes(r.type)){let e=i.is?[i]:i.switch;for(let t of e)n(!t.then||t.then.type===`any`||t.then.type===r.type,`Cannot combine`,r.type,`with`,t.then&&t.then.type),n(!t.otherwise||t.otherwise.type===`any`||t.otherwise.type===r.type,`Cannot combine`,r.type,`with`,t.otherwise&&t.otherwise.type)}return r.$_terms.whens.push(i),r.$_mutateRebuild()}cache(e){n(!this._inRuleset(),`Cannot set caching inside a ruleset`),n(!this._cache,`Cannot override schema cache`),n(this._flags.artifact===void 0,`Cannot cache a rule with an artifact`);let t=this.clone();return t._cache=e||o.provider.provision(),t.$_temp.ruleset=!1,t}clone(){let e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(e){n(s.isSchema(e),`Invalid schema object`),n(this.type===`any`||e.type===`any`||e.type===this.type,`Cannot merge type`,this.type,`with another type:`,e.type),n(!this._inRuleset(),`Cannot concatenate onto a schema with open ruleset`),n(!e._inRuleset(),`Cannot concatenate a schema with open ruleset`);let t=this.clone();if(this.type===`any`&&e.type!==`any`){let n=e.clone();for(let e of Object.keys(t))e!==`type`&&(n[e]=t[e]);t=n}t._ids.concat(e._ids),t._refs.register(e,m.toSibling),t._preferences=t._preferences?s.preferences(t._preferences,e._preferences):e._preferences,t._valids=_.merge(t._valids,e._valids,e._invalids),t._invalids=_.merge(t._invalids,e._invalids,e._valids);for(let n of e._singleRules.keys())t._singleRules.has(n)&&(t._rules=t._rules.filter(e=>e.keep||e.name!==n),t._singleRules.delete(n));for(let n of e._rules)e._definition.rules[n.method].multi||t._singleRules.set(n.name,n),t._rules.push(n);if(t._flags.empty&&e._flags.empty){t._flags.empty=t._flags.empty.concat(e._flags.empty);let n=Object.assign({},e._flags);delete n.empty,a(t._flags,n)}else if(e._flags.empty){t._flags.empty=e._flags.empty;let n=Object.assign({},e._flags);delete n.empty,a(t._flags,n)}else a(t._flags,e._flags);for(let n in e.$_terms){let r=e.$_terms[n];if(!r){t.$_terms[n]||(t.$_terms[n]=r);continue}if(!t.$_terms[n]){t.$_terms[n]=r.slice();continue}t.$_terms[n]=t.$_terms[n].concat(r)}return this.$_root._tracer&&this.$_root._tracer._combine(t,[this,e]),t.$_mutateRebuild()}extend(e){return n(!e.base,`Cannot extend type with another base`),u.type(this,e)}extract(e){return e=Array.isArray(e)?e:e.split(`.`),this._ids.reach(e)}fork(e,t){n(!this._inRuleset(),`Cannot fork inside a ruleset`);let r=this;for(let n of[].concat(e))n=Array.isArray(n)?n:n.split(`.`),r=r._ids.fork(n,t,r);return r.$_temp.ruleset=!1,r}rule(e){let t=this._definition;s.assertOptions(e,Object.keys(t.modifiers)),n(this.$_temp.ruleset!==!1,`Cannot apply rules to empty ruleset or the last rule added does not support rule properties`);let i=this.$_temp.ruleset===null?this._rules.length-1:this.$_temp.ruleset;n(i>=0&&i<this._rules.length,`Cannot apply rules to empty ruleset`);let a=this.clone();for(let o=i;o<a._rules.length;++o){let i=a._rules[o],s=r(i);for(let r in e)t.modifiers[r](s,e[r]),n(s.name===i.name,`Cannot change rule name`);a._rules[o]=s,a._singleRules.get(s.name)===i&&a._singleRules.set(s.name,s)}return a.$_temp.ruleset=!1,a.$_mutateRebuild()}get ruleset(){n(!this._inRuleset(),`Cannot start a new ruleset without closing the previous one`);let e=this.clone();return e.$_temp.ruleset=e._rules.length,e}get $(){return this.ruleset}tailor(e){e=[].concat(e),n(!this._inRuleset(),`Cannot tailor inside a ruleset`);let t=this;if(this.$_terms.alterations)for(let{target:r,adjuster:i}of this.$_terms.alterations)e.includes(r)&&(t=i(t),n(s.isSchema(t),`Alteration adjuster for`,r,`failed to return a schema object`));return t=t.$_modify({each:t=>t.tailor(e),ref:!1}),t.$_temp.ruleset=!1,t.$_mutateRebuild()}tracer(){return h.location?h.location(this):this}validate(e,t){return g.entry(e,this,t)}validateAsync(e,t){return g.entryAsync(e,this,t)}$_addRule(e){for(let t in typeof e==`string`&&(e={name:e}),n(e&&typeof e==`object`,`Invalid options`),n(e.name&&typeof e.name==`string`,`Invalid rule name`),e)n(t[0]!==`_`,`Cannot set private rule properties`);let t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;let r=this._definition.rules[t.method],i=t.args;n(r,`Unknown rule`,t.method);let a=this.clone();if(i)for(let e in n(Object.keys(i).length===1||Object.keys(i).length===this._definition.rules[t.name].args.length,`Invalid rule definition for`,this.type,t.name),i){let o=i[e];if(r.argsByName){let c=r.argsByName.get(e);if(c.ref&&s.isResolvable(o))t._resolve.push(e),a.$_mutateRegister(o);else if(c.normalize&&(o=c.normalize(o),i[e]=o),c.assert){let t=s.validateArg(o,e,c);n(!t,t,`or reference`)}}if(o===void 0){delete i[e];continue}i[e]=o}return r.multi||(a._ruleRemove(t.name,{clone:!1}),a._singleRules.set(t.name,t)),a.$_temp.ruleset===!1&&(a.$_temp.ruleset=null),r.priority?a._rules.unshift(t):a._rules.push(t),a}$_compile(e,t){return c.schema(this.$_root,e,t)}$_createError(e,t,n,r,i,a={}){let o=a.flags===!1?{}:this._flags,s=a.messages?f.merge(this._definition.messages,a.messages):this._definition.messages;return new l.Report(e,t,n,o,s,r,i)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split(`.`),this._ids.labels(e)}$_match(e,t,n,r){n=Object.assign({},n),n.abortEarly=!0,n._externals=!1,t.snapshot();let i=!g.validate(e,this,t,n,r).errors;return t.restore(),i}$_modify(e){return s.assertOptions(e,[`each`,`once`,`ref`,`schema`]),p.schema(this,e)||this}$_mutateRebuild(){n(!this._inRuleset(),`Cannot add this rule inside a ruleset`),this._refs.reset(),this._ids.reset();let e=(e,{source:t,name:n,path:r,key:i})=>{let a=this._definition[t][n]&&this._definition[t][n].register;a!==!1&&this.$_mutateRegister(e,{family:a,key:i})};return this.$_modify({each:e}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:n}={}){this._refs.register(e,t),this._ids.register(e,{key:n})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(e,t,r={}){n(e[0]===`_`||!this._inRuleset(),`Cannot set flag inside a ruleset`);let a=this._definition.flags[e]||{};if(i(t,a.default)&&(t=void 0),i(t,this._flags[e]))return this;let o=r.clone===!1?this:this.clone();return t===void 0?delete o._flags[e]:(o._flags[e]=t,o.$_mutateRegister(t)),e[0]!==`_`&&(o.$_temp.ruleset=!1),o}$_parent(e,...t){return this[e][s.symbols.parent].call(this,...t)}$_validate(e,t,n){return g.validate(e,this,t,n)}_assign(e){for(let t in e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=r(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={},this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;for(let t in e.$_super={},this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_bare(){let e=this.clone();e._reset();let t=e._definition.terms;for(let n in t){let r=t[n];e.$_terms[n]=r.init}return e.$_mutateRebuild()}_default(e,t,r={}){s.assertOptions(r,`literal`),n(t!==void 0,`Missing`,e,`value`),n(typeof t==`function`||!r.literal,`Only function value supports literal option`),typeof t==`function`&&r.literal&&(t={[s.symbols.literal]:!0,literal:t});let i=this.$_setFlag(e,t);return i}_generate(e,t,n){if(!this.$_terms.whens)return{schema:this};let r=[],i=[];for(let a=0;a<this.$_terms.whens.length;++a){let o=this.$_terms.whens[a];if(o.concat){r.push(o.concat),i.push(`${a}.concat`);continue}let s=o.ref?o.ref.resolve(e,t,n):e,c=o.is?[o]:o.switch,l=i.length;for(let l=0;l<c.length;++l){let{is:u,then:d,otherwise:f}=c[l],p=`${a}${o.switch?`.`+l:``}`;if(u.$_match(s,t.nest(u,`${p}.is`),n)){if(d){let a=t.localize([...t.path,`${p}.then`],t.ancestors,t.schemas),{schema:o,id:s}=d._generate(e,a,n);r.push(o),i.push(`${p}.then${s?`(${s})`:``}`);break}}else if(f){let a=t.localize([...t.path,`${p}.otherwise`],t.ancestors,t.schemas),{schema:o,id:s}=f._generate(e,a,n);r.push(o),i.push(`${p}.otherwise${s?`(${s})`:``}`);break}}if(o.break&&i.length>l)break}let a=i.join(`, `);if(t.mainstay.tracer.debug(t,`rule`,`when`,a),!a)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[a])return{schema:this.$_temp.whens[a],id:a};let o=this;this._definition.generate&&(o=this._definition.generate(this,e,t,n));for(let e of r)o=o.concat(e);return this.$_root._tracer&&this.$_root._tracer._combine(o,[this,...r]),this.$_temp.whens[a]=o,{schema:o,id:a}}_inner(e,t,r={}){n(!this._inRuleset(),`Cannot set ${e} inside a ruleset`);let i=this.clone();return(!i.$_terms[e]||r.override)&&(i.$_terms[e]=[]),r.single?i.$_terms[e].push(t):i.$_terms[e].push(...t),i.$_temp.ruleset=!1,i}_inRuleset(){return this.$_temp.ruleset!==null&&this.$_temp.ruleset!==!1}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;let n=t.clone===!1?this:this.clone();n._singleRules.delete(e);let r=[];for(let t=0;t<n._rules.length;++t){let i=n._rules[t];if(i.name===e&&!i.keep){n._inRuleset()&&t<n.$_temp.ruleset&&--n.$_temp.ruleset;continue}r.push(i)}return n._rules=r,n}_values(e,t){s.verifyFlat(e,t.slice(1,-1));let r=this.clone(),i=e[0]===s.symbols.override;if(i&&(e=e.slice(1)),!r[t]&&e.length?r[t]=new _:i&&(r[t]=e.length?new _:null,r.$_mutateRebuild()),!r[t])return r;i&&r[t].override();for(let i of e){n(i!==void 0,`Cannot call allow/valid/invalid with undefined`),n(i!==s.symbols.override,`Override must be the first value`);let e=t===`_invalids`?`_valids`:`_invalids`;r[e]&&(r[e].remove(i),r[e].length||(n(t===`_valids`||!r._flags.only,`Setting invalid value`,i,`leaves schema rejecting all values due to previous valid rule`),r[e]=null)),r[t].add(i,r._refs)}return r}},v.Base.prototype[s.symbols.any]={version:s.version,compile:c.compile,root:`$_root`},v.Base.prototype.isImmutable=!0,v.Base.prototype.deny=v.Base.prototype.invalid,v.Base.prototype.disallow=v.Base.prototype.invalid,v.Base.prototype.equal=v.Base.prototype.valid,v.Base.prototype.exist=v.Base.prototype.required,v.Base.prototype.not=v.Base.prototype.invalid,v.Base.prototype.options=v.Base.prototype.prefs,v.Base.prototype.preferences=v.Base.prototype.prefs,t.exports=new v.Base}),et=s((exports,t)=>{let n=I(),r=$e(),i=ze(),a=Re();t.exports=r.extend({type:`any`,flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(e,t){return n(typeof e==`function`,`Method must be a function`),n(t===void 0||t&&typeof t==`string`,`Description must be a non-empty string`),this.$_addRule({name:`custom`,args:{method:e,description:t}})},validate(e,t,{method:n}){try{return n(e,t)}catch(e){return t.error(`any.custom`,{error:e})}},args:[`method`,`description`],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(e){n(i.isSchema(e)&&e._flags.id,`Schema must be a schema with an id`);let t=this.clone();return t.$_terms.shared=t.$_terms.shared||[],t.$_terms.shared.push(e),t.$_mutateRegister(e),t}},warning:{method(e,t){return n(e&&typeof e==`string`,`Invalid warning code`),this.$_addRule({name:`warning`,args:{code:e,local:t},warn:!0})},validate(e,t,{code:n,local:r}){return t.error(n,r)},args:[`code`,`local`],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=a.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(let n in t){let r=t[n];if([`examples`,`externals`,`metas`,`notes`,`tags`].includes(n)){for(let t of r)e=e[n.slice(0,-1)](t);continue}if(n===`alterations`){let t={};for(let{target:e,adjuster:n}of r)t[e]=n;e=e.alter(t);continue}if(n===`whens`){for(let t of r){let{ref:n,is:r,not:i,then:a,otherwise:o,concat:s}=t;e=s?e.concat(s):n?e.when(n,{is:r,not:i,then:a,otherwise:o,switch:t.switch,break:t.break}):e.when(r,{then:a,otherwise:o,break:t.break})}continue}if(n===`shared`)for(let t of r)e=e.shared(t)}return e}},messages:{"any.custom":`{{#label}} failed custom validation because {{#error.message}}`,"any.default":`{{#label}} threw an error when running default method`,"any.failover":`{{#label}} threw an error when running failover method`,"any.invalid":`{{#label}} contains an invalid value`,"any.only":`{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}`,"any.ref":`{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}`,"any.required":`{{#label}} is required`,"any.unknown":`{{#label}} is not allowed`}})}),tt=s((exports,t)=>{let n=I(),r=qe(),i=et(),a=ze(),o=Ve(),s=Fe(),c=Ie(),l={};t.exports=i.extend({type:`alternatives`,flags:{match:{default:`any`}},terms:{matches:{init:[],register:c.toSibling}},args(e,...t){return t.length===1&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t)},validate(e,t){let{schema:n,error:i,state:a,prefs:o}=t;if(n._flags.match){let t=[],c=[];for(let r=0;r<n.$_terms.matches.length;++r){let i=n.$_terms.matches[r],s=a.nest(i.schema,`match.${r}`);s.snapshot();let l=i.schema.$_validate(e,s,o);l.errors?(c.push(l.errors),s.restore()):(t.push(l.value),s.commit())}if(t.length===0){let e={details:c.map(e=>s.details(e,{override:!1}))};return{errors:i(`alternatives.any`,e)}}if(n._flags.match===`one`)return t.length===1?{value:t[0]}:{errors:i(`alternatives.one`)};if(t.length!==n.$_terms.matches.length){let e={details:c.map(e=>s.details(e,{override:!1}))};return{errors:i(`alternatives.all`,e)}}let l=e=>e.$_terms.matches.some(e=>e.schema.type===`object`||e.schema.type===`alternatives`&&l(e.schema));return l(n)?{value:t.reduce((e,t)=>r(e,t,{mergeArrays:!1}))}:{value:t[t.length-1]}}let c=[];for(let t=0;t<n.$_terms.matches.length;++t){let r=n.$_terms.matches[t];if(r.schema){let n=a.nest(r.schema,`match.${t}`);n.snapshot();let i=r.schema.$_validate(e,n,o);if(!i.errors)return n.commit(),i;n.restore(),c.push({schema:r.schema,reports:i.errors});continue}let i=r.ref?r.ref.resolve(e,a,o):e,s=r.is?[r]:r.switch;for(let n=0;n<s.length;++n){let c=s[n],{is:l,then:u,otherwise:d}=c,f=`match.${t}${r.switch?`.`+n:``}`;if(l.$_match(i,a.nest(l,`${f}.is`),o)){if(u)return u.$_validate(e,a.nest(u,`${f}.then`),o)}else if(d)return d.$_validate(e,a.nest(d,`${f}.otherwise`),o)}}return l.errors(c,t)},rules:{conditional:{method(e,t){n(!this._flags._endedSwitch,`Unreachable condition`),n(!this._flags.match,`Cannot combine match mode`,this._flags.match,`with conditional rule`),n(t.break===void 0,`Cannot use break option with alternatives conditional`);let r=this.clone(),i=o.when(r,e,t),a=i.is?[i]:i.switch;for(let e of a)if(e.then&&e.otherwise){r.$_setFlag(`_endedSwitch`,!0,{clone:!1});break}return r.$_terms.matches.push(i),r.$_mutateRebuild()}},match:{method(e){if(n([`any`,`one`,`all`].includes(e),`Invalid alternatives match mode`,e),e!==`any`)for(let t of this.$_terms.matches)n(t.schema,`Cannot combine match mode`,e,`with conditional rules`);return this.$_setFlag(`match`,e)}},try:{method(...e){n(e.length,`Missing alternative schemas`),a.verifyFlat(e,`try`),n(!this._flags._endedSwitch,`Unreachable condition`);let t=this.clone();for(let n of e)t.$_terms.matches.push({schema:t.$_compile(n)});return t.$_mutateRebuild()}}},overrides:{label(e){let t=this.$_parent(`label`,e),n=(t,n)=>n.path[0]!==`is`&&typeof t._flags.label!=`string`?t.label(e):void 0;return t.$_modify({each:n,ref:!1})}},rebuild(e){let t=t=>{a.isSchema(t)&&t.type===`array`&&e.$_setFlag(`_arrayItems`,!0,{clone:!1})};e.$_modify({each:t})},manifest:{build(e,t){if(t.matches)for(let n of t.matches){let{schema:t,ref:r,is:i,not:a,then:o,otherwise:s}=n;e=t?e.try(t):r?e.conditional(r,{is:i,then:o,not:a,otherwise:s,switch:n.switch}):e.conditional(i,{then:o,otherwise:s})}return e}},messages:{"alternatives.all":`{{#label}} does not match all of the required types`,"alternatives.any":`{{#label}} does not match any of the allowed types`,"alternatives.match":`{{#label}} does not match any of the allowed types`,"alternatives.one":`{{#label}} matches more than one allowed type`,"alternatives.types":`{{#label}} must be one of {{#types}}`}}),l.errors=function(e,{error:t,state:n}){if(!e.length)return{errors:t(`alternatives.any`)};if(e.length===1)return{errors:e[0].reports};let r=new Set,i=[];for(let{reports:a,schema:o}of e){if(a.length>1)return l.unmatched(e,t);let c=a[0];if(!(c instanceof s.Report))return l.unmatched(e,t);if(c.state.path.length!==n.path.length){i.push({type:o.type,report:c});continue}if(c.code===`any.only`){for(let e of c.local.valids)r.add(e);continue}let[u,d]=c.code.split(`.`);d===`base`?c.code===`object.base`?r.add(c.local.type):r.add(u):i.push({type:o.type,report:c})}return i.length?i.length===1?{errors:i[0].report}:l.unmatched(e,t):{errors:t(`alternatives.types`,{types:[...r]})}},l.unmatched=function(e,t){let n=[];for(let t of e)n.push(...t.reports);return{errors:t(`alternatives.match`,s.details(n,{override:!1}))}}}),nt=s((exports,t)=>{let n=I(),r=We(),i=de(),a=et(),o=ze(),s=Ve(),c={};t.exports=a.extend({type:`array`,flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:`schema`},ordered:{init:[],manifest:`schema`},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:`object`,method(e,{schema:t,state:n,prefs:r}){if(!Array.isArray(e))return;let i=t.$_getRule(`sort`);if(i)return c.sort(t,e,i.args.options,n,r)}},validate(e,{schema:t,error:n}){if(!Array.isArray(e)){if(t._flags.single){let t=[e];return t[o.symbols.arraySingle]=!0,{value:t}}return{errors:n(`array.base`)}}if(!(!t.$_getRule(`items`)&&!t.$_terms.externals))return{value:e.slice()}},rules:{has:{method(e){e=this.$_compile(e,{appendPath:!0});let t=this.$_addRule({name:`has`,args:{schema:e}});return t.$_mutateRegister(e),t},validate(e,{state:t,prefs:n,error:r},{schema:i}){let a=[e,...t.ancestors];for(let r=0;r<e.length;++r){let o=t.localize([...t.path,r],a,i);if(i.$_match(e[r],o,n))return e}let o=i._flags.label;return o?r(`array.hasKnown`,{patternLabel:o}):r(`array.hasUnknown`,null)},multi:!0},items:{method(...e){o.verifyFlat(e,`items`);let t=this.$_addRule(`items`);for(let n=0;n<e.length;++n){let r=o.tryWithPath(()=>this.$_compile(e[n]),n,{append:!0});t.$_terms.items.push(r)}return t.$_mutateRebuild()},validate(e,{schema:t,error:n,state:r,prefs:i,errorsArray:a}){let s=t.$_terms._requireds.slice(),l=t.$_terms.ordered.slice(),u=[...t.$_terms._inclusions,...s],d=!e[o.symbols.arraySingle];delete e[o.symbols.arraySingle];let f=a(),p=e.length;for(let a=0;a<p;++a){let o=e[a],m=!1,h=!1,g=d?a:new Number(a),_=[...r.path,g];if(!t._flags.sparse&&o===void 0){if(f.push(n(`array.sparse`,{key:g,path:_,pos:a,value:void 0},r.localize(_))),i.abortEarly)return f;l.shift();continue}let v=[e,...r.ancestors];for(let e of t.$_terms._exclusions){if(!e.$_match(o,r.localize(_,v,e),i,{presence:`ignore`}))continue;if(f.push(n(`array.excludes`,{pos:a,value:o},r.localize(_))),i.abortEarly)return f;m=!0,l.shift();break}if(m)continue;if(t.$_terms.ordered.length){if(l.length){let s=l.shift(),u=s.$_validate(o,r.localize(_,v,s),i);if(u.errors){if(f.push(...u.errors),i.abortEarly)return f}else if(s._flags.result===`strip`)c.fastSplice(e,a),--a,--p;else if(!t._flags.sparse&&u.value===void 0){if(f.push(n(`array.sparse`,{key:g,path:_,pos:a,value:void 0},r.localize(_))),i.abortEarly)return f;continue}else e[a]=u.value;continue}else if(!t.$_terms.items.length){if(f.push(n(`array.orderedLength`,{pos:a,limit:t.$_terms.ordered.length})),i.abortEarly)return f;break}}let y=[],b=s.length;for(let l=0;l<b;++l){let u=r.localize(_,v,s[l]);u.snapshot();let d=s[l].$_validate(o,u,i);if(y[l]=d,!d.errors){if(u.commit(),e[a]=d.value,h=!0,c.fastSplice(s,l),--l,--b,!t._flags.sparse&&d.value===void 0&&(f.push(n(`array.sparse`,{key:g,path:_,pos:a,value:void 0},r.localize(_))),i.abortEarly))return f;break}u.restore()}if(h)continue;let x=i.stripUnknown&&!!i.stripUnknown.arrays||!1;b=u.length;for(let l of u){let u,d=s.indexOf(l);if(d!==-1)u=y[d];else{let s=r.localize(_,v,l);if(s.snapshot(),u=l.$_validate(o,s,i),!u.errors){s.commit(),l._flags.result===`strip`?(c.fastSplice(e,a),--a,--p):!t._flags.sparse&&u.value===void 0?(f.push(n(`array.sparse`,{key:g,path:_,pos:a,value:void 0},r.localize(_))),m=!0):e[a]=u.value,h=!0;break}s.restore()}if(b===1){if(x){c.fastSplice(e,a),--a,--p,h=!0;break}if(f.push(...u.errors),i.abortEarly)return f;m=!0;break}}if(!m&&(t.$_terms._inclusions.length||t.$_terms._requireds.length)&&!h){if(x){c.fastSplice(e,a),--a,--p;continue}if(f.push(n(`array.includes`,{pos:a,value:o},r.localize(_))),i.abortEarly)return f}}return s.length&&c.fillMissedErrors(t,f,s,e,r,i),l.length&&(c.fillOrderedErrors(t,f,l,e,r,i),f.length||c.fillDefault(l,e,r,i)),f.length?f:e},priority:!0,manifest:!1},length:{method(e){return this.$_addRule({name:`length`,args:{limit:e},operator:`=`})},validate(e,t,{limit:n},{name:r,operator:i,args:a}){return o.compare(e.length,n,i)?e:t.error(`array.`+r,{limit:a.limit,value:e})},args:[{name:`limit`,ref:!0,assert:o.limit,message:`must be a positive integer`}]},max:{method(e){return this.$_addRule({name:`max`,method:`length`,args:{limit:e},operator:`<=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`length`,args:{limit:e},operator:`>=`})}},ordered:{method(...e){o.verifyFlat(e,`ordered`);let t=this.$_addRule(`items`);for(let n=0;n<e.length;++n){let r=o.tryWithPath(()=>this.$_compile(e[n]),n,{append:!0});c.validateSingle(r,t),t.$_mutateRegister(r),t.$_terms.ordered.push(r)}return t.$_mutateRebuild()}},single:{method(e){let t=e===void 0?!0:!!e;return n(!t||!this._flags._arrayItems,`Cannot specify single rule when array has array items`),this.$_setFlag(`single`,t)}},sort:{method(e={}){o.assertOptions(e,[`by`,`order`]);let t={order:e.order||`ascending`};return e.by&&(t.by=s.ref(e.by,{ancestor:0}),n(!t.by.ancestor,`Cannot sort by ancestor`)),this.$_addRule({name:`sort`,args:{options:t}})},validate(e,{error:t,state:n,prefs:r,schema:i},{options:a}){let{value:o,errors:s}=c.sort(i,e,a,n,r);if(s)return s;for(let n=0;n<e.length;++n)if(e[n]!==o[n])return t(`array.sort`,{order:a.order,by:a.by?a.by.key:`value`});return e},convert:!0},sparse:{method(e){let t=e===void 0?!0:!!e;if(this._flags.sparse===t)return this;let n=t?this.clone():this.$_addRule(`items`);return n.$_setFlag(`sparse`,t,{clone:!1})}},unique:{method(e,t={}){n(!e||typeof e==`function`||typeof e==`string`,`comparator must be a function or a string`),o.assertOptions(t,[`ignoreUndefined`,`separator`]);let r={name:`unique`,args:{options:t,comparator:e}};if(e)if(typeof e==`string`){let n=o.default(t.separator,`.`);r.path=n?e.split(n):[e]}else r.comparator=e;return this.$_addRule(r)},validate(e,{state:t,error:a,schema:o},{comparator:s,options:c},{comparator:l,path:u}){let d={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),bigint:Object.create(null),object:new Map,function:new Map,custom:new Map},f=l||r,p=c.ignoreUndefined;for(let r=0;r<e.length;++r){let o=u?i(e[r],u):e[r],c=l?d.custom:d[typeof o];if(n(c,`Failed to find unique map container for type`,typeof o),c instanceof Map){let n=c.entries(),i;for(;!(i=n.next()).done;)if(f(i.value[0],o)){let n=t.localize([...t.path,r],[e,...t.ancestors]),o={pos:r,value:e[r],dupePos:i.value[1],dupeValue:e[i.value[1]]};return u&&(o.path=s),a(`array.unique`,o,n)}c.set(o,r)}else{if((!p||o!==void 0)&&c[o]!==void 0){let n={pos:r,value:e[r],dupePos:c[o],dupeValue:e[c[o]]};u&&(n.path=s);let i=t.localize([...t.path,r],[e,...t.ancestors]);return a(`array.unique`,n,i)}c[o]=r}}return e},args:[`comparator`,`options`],multi:!0}},cast:{set:{from:Array.isArray,to(e,t){return new Set(e)}}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(let t of e.$_terms.items)c.validateSingle(t,e),t._flags.presence===`required`?e.$_terms._requireds.push(t):t._flags.presence===`forbidden`?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(let t of e.$_terms.ordered)c.validateSingle(t,e)},manifest:{build(e,t){return t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e}},messages:{"array.base":`{{#label}} must be an array`,"array.excludes":`{{#label}} contains an excluded value`,"array.hasKnown":`{{#label}} does not contain at least one required match for type {:#patternLabel}`,"array.hasUnknown":`{{#label}} does not contain at least one required match`,"array.includes":`{{#label}} does not match any of the allowed types`,"array.includesRequiredBoth":`{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)`,"array.includesRequiredKnowns":`{{#label}} does not contain {{#knownMisses}}`,"array.includesRequiredUnknowns":`{{#label}} does not contain {{#unknownMisses}} required value(s)`,"array.length":`{{#label}} must contain {{#limit}} items`,"array.max":`{{#label}} must contain less than or equal to {{#limit}} items`,"array.min":`{{#label}} must contain at least {{#limit}} items`,"array.orderedLength":`{{#label}} must contain at most {{#limit}} items`,"array.sort":`{{#label}} must be sorted in {#order} order by {{#by}}`,"array.sort.mismatching":`{{#label}} cannot be sorted due to mismatching types`,"array.sort.unsupported":`{{#label}} cannot be sorted due to unsupported type {#type}`,"array.sparse":`{{#label}} must not be a sparse array item`,"array.unique":`{{#label}} contains a duplicate value`}}),c.fillMissedErrors=function(e,t,n,r,i,a){let o=[],s=0;for(let e of n){let t=e._flags.label;t?o.push(t):++s}o.length?s?t.push(e.$_createError(`array.includesRequiredBoth`,r,{knownMisses:o,unknownMisses:s},i,a)):t.push(e.$_createError(`array.includesRequiredKnowns`,r,{knownMisses:o},i,a)):t.push(e.$_createError(`array.includesRequiredUnknowns`,r,{unknownMisses:s},i,a))},c.fillOrderedErrors=function(e,t,n,r,i,a){let o=[];for(let e of n)e._flags.presence===`required`&&o.push(e);o.length&&c.fillMissedErrors(e,t,o,r,i,a)},c.fillDefault=function(e,t,n,r){let i=[],a=!0;for(let o=e.length-1;o>=0;--o){let s=e[o],c=[t,...n.ancestors],l=s.$_validate(void 0,n.localize(n.path,c,s),r).value;if(a){if(l===void 0)continue;a=!1}i.unshift(l)}i.length&&t.push(...i)},c.fastSplice=function(e,t){let n=t;for(;n<e.length;)e[n++]=e[n];--e.length},c.validateSingle=function(e,t){(e.type===`array`||e._flags._arrayItems)&&(n(!t._flags.single,`Cannot specify array item with single rule enabled`),t.$_setFlag(`_arrayItems`,!0,{clone:!1}))},c.sort=function(e,t,n,r,i){let a=n.order===`ascending`?1:-1,o=-1*a,s=a,l=(l,u)=>{let d=c.compare(l,u,o,s);if(d!==null||(n.by&&(l=n.by.resolve(l,r,i),u=n.by.resolve(u,r,i)),d=c.compare(l,u,o,s),d!==null))return d;let f=typeof l;if(f!==typeof u)throw e.$_createError(`array.sort.mismatching`,t,null,r,i);if(f!==`number`&&f!==`string`)throw e.$_createError(`array.sort.unsupported`,t,{type:f},r,i);return f===`number`?(l-u)*a:l<u?o:s};try{return{value:t.slice().sort(l)}}catch(e){return{errors:e}}},c.compare=function(e,t,n,r){return e===t?0:e===void 0?1:t===void 0?-1:e===null?r:t===null?n:null}}),rt=s((exports,t)=>{let n=I(),r=et(),i=ze(),a=Qe(),o={};o.isBool=function(e){return typeof e==`boolean`},t.exports=r.extend({type:`boolean`,flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:`values`},truthy:{init:null,manifest:`values`}},coerce(e,{schema:t}){if(typeof e!=`boolean`){if(typeof e==`string`){let n=t._flags.sensitive?e:e.toLowerCase();e=n===`true`?!0:n===`false`?!1:e}return typeof e!=`boolean`&&(e=t.$_terms.truthy&&t.$_terms.truthy.has(e,null,null,!t._flags.sensitive)||(t.$_terms.falsy&&t.$_terms.falsy.has(e,null,null,!t._flags.sensitive)?!1:e)),{value:e}}},validate(e,{error:t}){if(typeof e!=`boolean`)return{value:e,errors:t(`boolean.base`)}},rules:{truthy:{method(...e){i.verifyFlat(e,`truthy`);let t=this.clone();t.$_terms.truthy=t.$_terms.truthy||new a;for(let r=0;r<e.length;++r){let i=e[r];n(i!==void 0,`Cannot call truthy with undefined`),t.$_terms.truthy.add(i)}return t}},falsy:{method(...e){i.verifyFlat(e,`falsy`);let t=this.clone();t.$_terms.falsy=t.$_terms.falsy||new a;for(let r=0;r<e.length;++r){let i=e[r];n(i!==void 0,`Cannot call falsy with undefined`),t.$_terms.falsy.add(i)}return t}},sensitive:{method(e=!0){return this.$_setFlag(`sensitive`,e)}}},cast:{number:{from:o.isBool,to(e,t){return e?1:0}},string:{from:o.isBool,to(e,t){return e?`true`:`false`}}},manifest:{build(e,t){return t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e}},messages:{"boolean.base":`{{#label}} must be a boolean`}})}),it=s((exports,t)=>{let n=I(),r=et(),i=ze(),a=Le(),o={};o.isDate=function(e){return e instanceof Date},t.exports=r.extend({type:`date`,coerce:{from:[`number`,`string`],method(e,{schema:t}){return{value:o.parse(e,t._flags.format)||e}}},validate(e,{schema:t,error:n,prefs:r}){if(e instanceof Date&&!isNaN(e.getTime()))return;let i=t._flags.format;return!r.convert||!i||typeof e!=`string`?{value:e,errors:n(`date.base`)}:{value:e,errors:n(`date.format`,{format:i})}},rules:{compare:{method:!1,validate(e,t,{date:n},{name:r,operator:a,args:o}){let s=n===`now`?Date.now():n.getTime();return i.compare(e.getTime(),s,a)?e:t.error(`date.`+r,{limit:o.date,value:e})},args:[{name:`date`,ref:!0,normalize:e=>e===`now`?e:o.parse(e),assert:e=>e!==null,message:`must have a valid date format`}]},format:{method(e){return n([`iso`,`javascript`,`unix`].includes(e),`Unknown date format`,e),this.$_setFlag(`format`,e)}},greater:{method(e){return this.$_addRule({name:`greater`,method:`compare`,args:{date:e},operator:`>`})}},iso:{method(){return this.format(`iso`)}},less:{method(e){return this.$_addRule({name:`less`,method:`compare`,args:{date:e},operator:`<`})}},max:{method(e){return this.$_addRule({name:`max`,method:`compare`,args:{date:e},operator:`<=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`compare`,args:{date:e},operator:`>=`})}},timestamp:{method(e=`javascript`){return n([`javascript`,`unix`].includes(e),`"type" must be one of "javascript, unix"`),this.format(e)}}},cast:{number:{from:o.isDate,to(e,t){return e.getTime()}},string:{from:o.isDate,to(e,{prefs:t}){return a.date(e,t)}}},messages:{"date.base":`{{#label}} must be a valid date`,"date.format":`{{#label}} must be in {msg("date.format." + #format) || #format} format`,"date.greater":`{{#label}} must be greater than {{:#limit}}`,"date.less":`{{#label}} must be less than {{:#limit}}`,"date.max":`{{#label}} must be less than or equal to {{:#limit}}`,"date.min":`{{#label}} must be greater than or equal to {{:#limit}}`,"date.format.iso":`ISO 8601 date`,"date.format.javascript":`timestamp or number of milliseconds`,"date.format.unix":`timestamp or number of seconds`}}),o.parse=function(e,t){if(e instanceof Date)return e;if(typeof e!=`string`&&(isNaN(e)||!isFinite(e))||/^\s*$/.test(e))return null;if(t===`iso`)return i.isIsoDate(e)?o.date(e.toString()):null;let n=e;if(typeof e==`string`&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if(t===`javascript`)return o.date(1*e);if(t===`unix`)return o.date(1e3*e);if(typeof n==`string`)return null}return o.date(e)},o.date=function(e){let t=new Date(e);return isNaN(t.getTime())?null:t}}),at=s((exports,t)=>{let n=I(),r=me(),i=qe(),a=de(),o={};t.exports=function(e,t,a={}){if(n(e&&typeof e==`object`,`Invalid defaults value: must be an object`),n(!t||t===!0||typeof t==`object`,`Invalid source value: must be true, falsy or an object`),n(typeof a==`object`,`Invalid options: must be an object`),!t)return null;if(a.shallow)return o.applyToDefaultsWithShallow(e,t,a);let s=r(e);if(t===!0)return s;let c=a.nullOverride===void 0?!1:a.nullOverride;return i(s,t,{nullOverride:c,mergeArrays:!1})},o.applyToDefaultsWithShallow=function(e,t,s){let c=s.shallow;n(Array.isArray(c),`Invalid keys`);let l=new Map,u=t===!0?null:new Set;for(let n of c){n=Array.isArray(n)?n:n.split(`.`);let r=a(e,n);r&&typeof r==`object`?l.set(r,u&&a(t,n)||r):u&&u.add(n)}let d=r(e,{},l);if(!u)return d;for(let e of u)o.reachCopy(d,t,e);let f=s.nullOverride===void 0?!1:s.nullOverride;return i(d,t,{nullOverride:f,mergeArrays:!1})},o.reachCopy=function(e,t,n){for(let e of n){if(!(e in t))return;let n=t[e];if(typeof n!=`object`||!n)return;t=n}let r=t,i=e;for(let e=0;e<n.length-1;++e){let t=n[e];typeof i[t]!=`object`&&(i[t]={}),i=i[t]}i[n[n.length-1]]=r}}),ot=s(exports=>{let t=I(),n={};exports.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(e,n){n||={};let r=[].concat(n.before||[]),i=[].concat(n.after||[]),a=n.group||`?`,o=n.sort||0;t(!r.includes(a),`Item cannot come before itself: ${a}`),t(!r.includes(`?`),`Item cannot come before unassociated items`),t(!i.includes(a),`Item cannot come after itself: ${a}`),t(!i.includes(`?`),`Item cannot come after unassociated items`),Array.isArray(e)||(e=[e]);for(let t of e){let e={seq:this._items.length,sort:o,before:r,after:i,group:a,node:t};this._items.push(e)}if(!n.manual){let e=this._sort();t(e,`item`,a===`?`?``:`added into group ${a}`,`created a dependencies error`)}return this.nodes}merge(e){Array.isArray(e)||(e=[e]);for(let t of e)if(t)for(let e of t._items)this._items.push(Object.assign({},e));this._items.sort(n.mergeSort);for(let e=0;e<this._items.length;++e)this._items[e].seq=e;let r=this._sort();return t(r,`merge created a dependencies error`),this.nodes}sort(){let e=this._sort();return t(e,`sort created a dependencies error`),this.nodes}_sort(){let e={},t=Object.create(null),n=Object.create(null);for(let r of this._items){let i=r.seq,a=r.group;n[a]=n[a]||[],n[a].push(i),e[i]=r.before;for(let e of r.after)t[e]=t[e]||[],t[e].push(i)}for(let t in e){let r=[];for(let i in e[t]){let a=e[t][i];n[a]=n[a]||[],r.push(...n[a])}e[t]=r}for(let r in t)if(n[r])for(let i of n[r])e[i].push(...t[r]);let r={};for(let t in e){let n=e[t];for(let e of n)r[e]=r[e]||[],r[e].push(t)}let i={},a=[];for(let e=0;e<this._items.length;++e){let t=e;if(r[e]){t=null;for(let e=0;e<this._items.length;++e){if(i[e]===!0)continue;r[e]||(r[e]=[]);let n=r[e].length,a=0;for(let t=0;t<n;++t)i[r[e][t]]&&++a;if(a===n){t=e;break}}}t!==null&&(i[t]=!0,a.push(t))}if(a.length!==this._items.length)return!1;let o={};for(let e of this._items)o[e.seq]=e;this._items=[],this.nodes=[];for(let e of a){let t=o[e];this.nodes.push(t.node),this._items.push(t)}return!0}},n.mergeSort=(e,t)=>e.sort===t.sort?0:e.sort<t.sort?-1:1}),st=s((exports,t)=>{let n=at(),r=I(),i=me(),a=ot(),o=et(),s=ze(),c=Ve(),l=Fe(),u=Ie(),d=Le(),f={renameDefaults:{alias:!1,multiple:!1,override:!1}};t.exports=o.extend({type:`_keys`,properties:{typeof:`object`},flags:{unknown:{default:void 0}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:`schema`,to:`key`}}},patterns:{init:null},renames:{init:null}},args(e,t){return e.keys(t)},validate(e,{schema:t,error:n,state:r,prefs:i}){if(!e||typeof e!==t.$_property(`typeof`)||Array.isArray(e))return{value:e,errors:n(`object.base`,{type:t.$_property(`typeof`)})};if(!t.$_terms.renames&&!t.$_terms.dependencies&&!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.externals)return;e=f.clone(e,i);let a=[];if(t.$_terms.renames&&!f.rename(t,e,r,i,a)||!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:a};let o=new Set(Object.keys(e));if(t.$_terms.keys){let n=[e,...r.ancestors];for(let s of t.$_terms.keys){let t=s.key,c=e[t];o.delete(t);let l=r.localize([...r.path,t],n,s),u=s.schema.$_validate(c,l,i);if(u.errors){if(i.abortEarly)return{value:e,errors:u.errors};u.value!==void 0&&(e[t]=u.value),a.push(...u.errors)}else s.schema._flags.result===`strip`||u.value===void 0&&c!==void 0?delete e[t]:u.value!==void 0&&(e[t]=u.value)}}if(o.size||t._flags._hasPatternMatch){let n=f.unknown(t,e,o,a,r,i);if(n)return n}if(t.$_terms.dependencies)for(let n of t.$_terms.dependencies){if(n.key!==null&&f.isPresent(n.options)(n.key.resolve(e,r,i,null,{shadow:!1}))===!1)continue;let o=f.dependencies[n.rel](t,n,e,r,i);if(o){let n=t.$_createError(o.code,e,o.context,r,i);if(i.abortEarly)return{value:e,errors:n};a.push(n)}}return{value:e,errors:a}},rules:{and:{method(...e){return s.verifyFlat(e,`and`),f.dependency(this,`and`,null,e)}},append:{method(e){return e==null||Object.keys(e).length===0?this:this.keys(e)}},assert:{method(e,t,n){d.isTemplate(e)||(e=c.ref(e)),r(n===void 0||typeof n==`string`,`Message must be a string`),t=this.$_compile(t,{appendPath:!0});let i=this.$_addRule({name:`assert`,args:{subject:e,schema:t,message:n}});return i.$_mutateRegister(e),i.$_mutateRegister(t),i},validate(e,{error:t,prefs:n,state:r},{subject:i,schema:a,message:o}){let s=i.resolve(e,r,n),c=u.isRef(i)?i.absolute(r):[];return a.$_match(s,r.localize(c,[e,...r.ancestors],a),n)?e:t(`object.assert`,{subject:i,message:o})},args:[`subject`,`schema`,`message`],multi:!0},instance:{method(e,t){return r(typeof e==`function`,`constructor must be a function`),t||=e.name,this.$_addRule({name:`instance`,args:{constructor:e,name:t}})},validate(e,t,{constructor:n,name:r}){return e instanceof n?e:t.error(`object.instance`,{type:r,value:e})},args:[`constructor`,`name`]},keys:{method(e){r(e===void 0||typeof e==`object`,`Object schema must be a valid object`),r(!s.isSchema(e),`Object schema cannot be a joi schema`);let t=this.clone();if(!e)t.$_terms.keys=null;else if(!Object.keys(e).length)t.$_terms.keys=new f.Keys;else for(let n in t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new f.Keys,e)s.tryWithPath(()=>t.$_terms.keys.push({key:n,schema:this.$_compile(e[n])}),n);return t.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:`length`,args:{limit:e},operator:`=`})},validate(e,t,{limit:n},{name:r,operator:i,args:a}){return s.compare(Object.keys(e).length,n,i)?e:t.error(`object.`+r,{limit:a.limit,value:e})},args:[{name:`limit`,ref:!0,assert:s.limit,message:`must be a positive integer`}]},max:{method(e){return this.$_addRule({name:`max`,method:`length`,args:{limit:e},operator:`<=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`length`,args:{limit:e},operator:`>=`})}},nand:{method(...e){return s.verifyFlat(e,`nand`),f.dependency(this,`nand`,null,e)}},or:{method(...e){return s.verifyFlat(e,`or`),f.dependency(this,`or`,null,e)}},oxor:{method(...e){return f.dependency(this,`oxor`,null,e)}},pattern:{method(e,t,n={}){let i=e instanceof RegExp;i||(e=this.$_compile(e,{appendPath:!0})),r(t!==void 0,`Invalid rule`),s.assertOptions(n,[`fallthrough`,`matches`]),i&&r(!e.flags.includes(`g`)&&!e.flags.includes(`y`),`pattern should not use global or sticky mode`),t=this.$_compile(t,{appendPath:!0});let a=this.clone();a.$_terms.patterns=a.$_terms.patterns||[];let o={[i?`regex`:`schema`]:e,rule:t};return n.matches&&(o.matches=this.$_compile(n.matches),o.matches.type!==`array`&&(o.matches=o.matches.$_root.array().items(o.matches)),a.$_mutateRegister(o.matches),a.$_setFlag(`_hasPatternMatch`,!0,{clone:!1})),n.fallthrough&&(o.fallthrough=!0),a.$_terms.patterns.push(o),a.$_mutateRegister(t),a}},ref:{method(){return this.$_addRule(`ref`)},validate(e,t){return u.isRef(e)?e:t.error(`object.refType`,{value:e})}},regex:{method(){return this.$_addRule(`regex`)},validate(e,t){return e instanceof RegExp?e:t.error(`object.regex`,{value:e})}},rename:{method(e,t,i={}){r(typeof e==`string`||e instanceof RegExp,`Rename missing the from argument`),r(typeof t==`string`||t instanceof d,`Invalid rename to argument`),r(t!==e,`Cannot rename key to same name:`,e),s.assertOptions(i,[`alias`,`ignoreUndefined`,`override`,`multiple`]);let a=this.clone();a.$_terms.renames=a.$_terms.renames||[];for(let t of a.$_terms.renames)r(t.from!==e,`Cannot rename the same key multiple times`);return t instanceof d&&a.$_mutateRegister(t),a.$_terms.renames.push({from:e,to:t,options:n(f.renameDefaults,i)}),a}},schema:{method(e=`any`){return this.$_addRule({name:`schema`,args:{type:e}})},validate(e,t,{type:n}){return s.isSchema(e)&&(n===`any`||e.type===n)?e:t.error(`object.schema`,{type:n})}},unknown:{method(e){return this.$_setFlag(`unknown`,e!==!1)}},with:{method(e,t,n={}){return f.dependency(this,`with`,e,t,n)}},without:{method(e,t,n={}){return f.dependency(this,`without`,e,t,n)}},xor:{method(...e){return s.verifyFlat(e,`xor`),f.dependency(this,`xor`,null,e)}}},overrides:{default(e,t){return e===void 0&&(e=s.symbols.deepDefault),this.$_parent(`default`,e,t)}},rebuild(e){if(e.$_terms.keys){let t=new a.Sorter;for(let n of e.$_terms.keys)s.tryWithPath(()=>t.add(n,{after:n.schema.$_rootReferences(),group:n.key}),n.key);e.$_terms.keys=new f.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(let{rel:n,key:r=null,peers:i,options:a}of t.dependencies)e=f.dependency(e,n,r,i,a);if(t.patterns)for(let{regex:n,schema:r,rule:i,fallthrough:a,matches:o}of t.patterns)e=e.pattern(n||r,i,{fallthrough:a,matches:o});if(t.renames)for(let{from:n,to:r,options:i}of t.renames)e=e.rename(n,r,i);return e}},messages:{"object.and":`{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}`,"object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":`{{#label}} must be of type {{#type}}`,"object.instance":`{{#label}} must be an instance of {{:#type}}`,"object.length":`{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}`,"object.max":`{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}`,"object.min":`{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}`,"object.missing":`{{#label}} must contain at least one of {{#peersWithLabels}}`,"object.nand":`{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}`,"object.oxor":`{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}`,"object.pattern.match":`{{#label}} keys failed to match pattern requirements`,"object.refType":`{{#label}} must be a Joi reference`,"object.regex":`{{#label}} must be a RegExp object`,"object.rename.multiple":`{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}`,"object.rename.override":`{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists`,"object.schema":`{{#label}} must be a Joi schema of {{#type}} type`,"object.unknown":`{{#label}} is not allowed`,"object.with":`{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}`,"object.without":`{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}`,"object.xor":`{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}`}}),f.clone=function(e,t){if(typeof e==`object`){if(t.nonEnumerables)return i(e,{shallow:!0});let n=Object.create(Object.getPrototypeOf(e));return Object.assign(n,e),n}let n=function(...t){return e.apply(this,t)};return n.prototype=i(e.prototype),Object.defineProperty(n,`name`,{value:e.name,writable:!1}),Object.defineProperty(n,`length`,{value:e.length,writable:!1}),Object.assign(n,e),n},f.dependency=function(e,t,n,i,a){r(n===null||typeof n==`string`,t,`key must be a strings`),a||=i.length>1&&typeof i[i.length-1]==`object`?i.pop():{},s.assertOptions(a,[`separator`,`isPresent`]),i=[].concat(i);let o=s.default(a.separator,`.`),l=[];for(let e of i)r(typeof e==`string`,t,`peers must be strings`),l.push(c.ref(e,{separator:o,ancestor:0,prefix:!1}));n!==null&&(n=c.ref(n,{separator:o,ancestor:0,prefix:!1}));let u=e.clone();return u.$_terms.dependencies=u.$_terms.dependencies||[],u.$_terms.dependencies.push(new f.Dependency(t,n,l,i,a)),u},f.dependencies={and(e,t,n,r,i){let a=[],o=[],s=t.peers.length,c=f.isPresent(t.options);for(let e of t.peers)c(e.resolve(n,r,i,null,{shadow:!1}))===!1?a.push(e.key):o.push(e.key);if(a.length!==s&&o.length!==s)return{code:`object.and`,context:{present:o,presentWithLabels:f.keysToLabels(e,o),missing:a,missingWithLabels:f.keysToLabels(e,a)}}},nand(e,t,n,r,i){let a=[],o=f.isPresent(t.options);for(let e of t.peers)o(e.resolve(n,r,i,null,{shadow:!1}))&&a.push(e.key);if(a.length!==t.peers.length)return;let s=t.paths[0],c=t.paths.slice(1);return{code:`object.nand`,context:{main:s,mainWithLabel:f.keysToLabels(e,s),peers:c,peersWithLabels:f.keysToLabels(e,c)}}},or(e,t,n,r,i){let a=f.isPresent(t.options);for(let e of t.peers)if(a(e.resolve(n,r,i,null,{shadow:!1})))return;return{code:`object.missing`,context:{peers:t.paths,peersWithLabels:f.keysToLabels(e,t.paths)}}},oxor(e,t,n,r,i){let a=[],o=f.isPresent(t.options);for(let e of t.peers)o(e.resolve(n,r,i,null,{shadow:!1}))&&a.push(e.key);if(!a.length||a.length===1)return;let s={peers:t.paths,peersWithLabels:f.keysToLabels(e,t.paths)};return s.present=a,s.presentWithLabels=f.keysToLabels(e,a),{code:`object.oxor`,context:s}},with(e,t,n,r,i){let a=f.isPresent(t.options);for(let o of t.peers)if(a(o.resolve(n,r,i,null,{shadow:!1}))===!1)return{code:`object.with`,context:{main:t.key.key,mainWithLabel:f.keysToLabels(e,t.key.key),peer:o.key,peerWithLabel:f.keysToLabels(e,o.key)}}},without(e,t,n,r,i){let a=f.isPresent(t.options);for(let o of t.peers)if(a(o.resolve(n,r,i,null,{shadow:!1})))return{code:`object.without`,context:{main:t.key.key,mainWithLabel:f.keysToLabels(e,t.key.key),peer:o.key,peerWithLabel:f.keysToLabels(e,o.key)}}},xor(e,t,n,r,i){let a=[],o=f.isPresent(t.options);for(let e of t.peers)o(e.resolve(n,r,i,null,{shadow:!1}))&&a.push(e.key);if(a.length===1)return;let s={peers:t.paths,peersWithLabels:f.keysToLabels(e,t.paths)};return a.length===0?{code:`object.missing`,context:s}:(s.present=a,s.presentWithLabels=f.keysToLabels(e,a),{code:`object.xor`,context:s})}},f.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},f.isPresent=function(e){return typeof e.isPresent==`function`?e.isPresent:e=>e!==void 0},f.rename=function(e,t,n,r,i){let a={};for(let o of e.$_terms.renames){let s=[],c=typeof o.from!=`string`;if(!c)Object.prototype.hasOwnProperty.call(t,o.from)&&(t[o.from]!==void 0||!o.options.ignoreUndefined)&&s.push(o);else for(let e in t){if(t[e]===void 0&&o.options.ignoreUndefined||e===o.to)continue;let n=o.from.exec(e);if(!n)continue;s.push({from:e,to:o.to,match:n})}for(let l of s){let s=l.from,u=l.to;if(u instanceof d&&(u=u.render(t,n,r,l.match)),s===u)continue;if(!o.options.multiple&&a[u]&&(i.push(e.$_createError(`object.rename.multiple`,t,{from:s,to:u,pattern:c},n,r)),r.abortEarly)||Object.prototype.hasOwnProperty.call(t,u)&&!o.options.override&&!a[u]&&(i.push(e.$_createError(`object.rename.override`,t,{from:s,to:u,pattern:c},n,r)),r.abortEarly))return!1;t[s]===void 0?delete t[u]:t[u]=t[s],a[u]=!0,o.options.alias||delete t[s]}}return!0},f.unknown=function(e,t,n,r,i,a){if(e.$_terms.patterns){let o=!1,s=e.$_terms.patterns.map(e=>{if(e.matches)return o=!0,[]}),c=[t,...i.ancestors];for(let o of n){let l=t[o],u=[...i.path,o];for(let d=0;d<e.$_terms.patterns.length;++d){let f=e.$_terms.patterns[d];if(f.regex){let e=f.regex.test(o);if(i.mainstay.tracer.debug(i,`rule`,`pattern.${d}`,e?`pass`:`error`),!e)continue}else if(!f.schema.$_match(o,i.nest(f.schema,`pattern.${d}`),a))continue;n.delete(o);let p=i.localize(u,c,{schema:f.rule,key:o}),m=f.rule.$_validate(l,p,a);if(m.errors){if(a.abortEarly)return{value:t,errors:m.errors};r.push(...m.errors)}if(f.matches&&s[d].push(o),t[o]=m.value,!f.fallthrough)break}}if(o)for(let n=0;n<s.length;++n){let o=s[n];if(!o)continue;let u=e.$_terms.patterns[n].matches,d=i.localize(i.path,c,u),f=u.$_validate(o,d,a);if(f.errors){let n=l.details(f.errors,{override:!1});n.matches=o;let s=e.$_createError(`object.pattern.match`,t,n,i,a);if(a.abortEarly)return{value:t,errors:s};r.push(s)}}}if(!n.size||!e.$_terms.keys&&!e.$_terms.patterns)return;if(a.stripUnknown&&e._flags.unknown===void 0||a.skipFunctions){let e=a.stripUnknown?a.stripUnknown===!0?!0:!!a.stripUnknown.objects:!1;for(let r of n)e?(delete t[r],n.delete(r)):typeof t[r]==`function`&&n.delete(r)}let o=!s.default(e._flags.unknown,a.allowUnknown);if(o)for(let o of n){let n=i.localize([...i.path,o],[]),s=e.$_createError(`object.unknown`,t[o],{child:o},n,a,{flags:!1});if(a.abortEarly)return{value:t,errors:s};r.push(s)}},f.Dependency=class{constructor(e,t,n,r,i){this.rel=e,this.key=t,this.peers=n,this.paths=r,this.options=i}describe(){let e={rel:this.rel,peers:this.paths};return this.key!==null&&(e.key=this.key.key),this.peers[0].separator!==`.`&&(e.options={...e.options,separator:this.peers[0].separator}),this.options.isPresent&&(e.options={...e.options,isPresent:this.options.isPresent}),e}},f.Keys=class extends Array{concat(e){let t=this.slice(),n=new Map;for(let e=0;e<t.length;++e)n.set(t[e].key,e);for(let r of e){let e=r.key,i=n.get(e);i===void 0?t.push(r):t[i]={key:e,schema:t[i].schema.concat(r.schema)}}return t}}}),ct=s((exports,t)=>{let n=I(),r=st();t.exports=r.extend({type:`function`,properties:{typeof:`function`},rules:{arity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,`n must be a positive integer`),this.$_addRule({name:`arity`,args:{n:e}})},validate(e,t,{n}){return e.length===n?e:t.error(`function.arity`,{n})}},class:{method(){return this.$_addRule(`class`)},validate(e,t){return/^\s*class\s/.test(e.toString())?e:t.error(`function.class`,{value:e})}},minArity:{method(e){return n(Number.isSafeInteger(e)&&e>0,`n must be a strict positive integer`),this.$_addRule({name:`minArity`,args:{n:e}})},validate(e,t,{n}){return e.length>=n?e:t.error(`function.minArity`,{n})}},maxArity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,`n must be a positive integer`),this.$_addRule({name:`maxArity`,args:{n:e}})},validate(e,t,{n}){return e.length<=n?e:t.error(`function.maxArity`,{n})}}},messages:{"function.arity":`{{#label}} must have an arity of {{#n}}`,"function.class":`{{#label}} must be a class`,"function.maxArity":`{{#label}} must have an arity lesser or equal to {{#n}}`,"function.minArity":`{{#label}} must have an arity greater or equal to {{#n}}`}})}),lt=s((exports,t)=>{let n=I(),r=et(),i=ze(),a=Ve(),o=Fe(),s={};t.exports=r.extend({type:`link`,properties:{schemaChain:!0},terms:{link:{init:null,manifest:`single`,register:!1}},args(e,t){return e.ref(t)},validate(e,{schema:t,state:r,prefs:i}){n(t.$_terms.link,`Uninitialized link schema`);let a=s.generate(t,e,r,i),o=t.$_terms.link[0].ref;return a.$_validate(e,r.nest(a,`link:${o.display}:${a.type}`),i)},generate(e,t,n,r){return s.generate(e,t,n,r)},rules:{ref:{method(e){n(!this.$_terms.link,`Cannot reinitialize schema`),e=a.ref(e),n(e.type===`value`||e.type===`local`,`Invalid reference type:`,e.type),n(e.type===`local`||e.ancestor===`root`||e.ancestor>0,`Link cannot reference itself`);let t=this.clone();return t.$_terms.link=[{ref:e}],t}},relative:{method(e=!0){return this.$_setFlag(`relative`,e)}}},overrides:{concat(e){n(this.$_terms.link,`Uninitialized link schema`),n(i.isSchema(e),`Invalid schema object`),n(e.type!==`link`,`Cannot merge type link with another link`);let t=this.clone();return t.$_terms.whens||(t.$_terms.whens=[]),t.$_terms.whens.push({concat:e}),t.$_mutateRebuild()}},manifest:{build(e,t){return n(t.link,`Invalid link description missing link`),e.ref(t.link)}}}),s.generate=function(e,t,n,r){let i=n.mainstay.links.get(e);if(i)return i._generate(t,n,r).schema;let a=e.$_terms.link[0].ref,{perspective:o,path:c}=s.perspective(a,n);s.assert(o,`which is outside of schema boundaries`,a,e,n,r);try{i=c.length?o.$_reach(c):o}catch{s.assert(!1,`to non-existing schema`,a,e,n,r)}return s.assert(i.type!==`link`,`which is another link`,a,e,n,r),e._flags.relative||n.mainstay.links.set(e,i),i._generate(t,n,r).schema},s.perspective=function(e,t){if(e.type===`local`){for(let{schema:n,key:r}of t.schemas){let t=n._flags.id||r;if(t===e.path[0])return{perspective:n,path:e.path.slice(1)};if(n.$_terms.shared){for(let t of n.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}}return{perspective:null,path:null}}return e.ancestor===`root`?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},s.assert=function(e,t,r,i,a,s){e||n(!1,`"${o.label(i._flags,a,s)}" contains link reference "${r.display}" ${t}`)}}),ut=s((exports,t)=>{let n=I(),r=et(),i=ze(),a={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(e){let t=e.toString(),n=t.indexOf(`.`),r=t.indexOf(`e`);return(n<0?0:(r<0?t.length:r)-n-1)+(r<0?0:Math.max(0,-parseInt(t.slice(r+1))))}};t.exports=r.extend({type:`number`,flags:{unsafe:{default:!1}},coerce:{from:`string`,method(e,{schema:t,error:n}){let r=e.match(a.numberRx);if(!r)return;e=e.trim();let i={value:parseFloat(e)};if(i.value===0&&(i.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(a.extractSignificantDigits(e)!==a.extractSignificantDigits(String(i.value)))return i.errors=n(`number.unsafe`),i}else{let t=i.value.toString();if(t.match(/e/i))return i;if(t!==a.normalizeDecimal(e))return i.errors=n(`number.unsafe`),i}return i}},validate(e,{schema:t,error:n,prefs:r}){if(e===1/0||e===-1/0)return{value:e,errors:n(`number.infinity`)};if(!i.isNumber(e))return{value:e,errors:n(`number.base`)};let a={value:e};if(r.convert){let e=t.$_getRule(`precision`);if(e){let t=10**e.args.limit;a.value=Math.round(a.value*t)/t}}return a.value===0&&(a.value=0),!t._flags.unsafe&&(e>2**53-1||e<-(2**53-1))&&(a.errors=n(`number.unsafe`)),a},rules:{compare:{method:!1,validate(e,t,{limit:n},{name:r,operator:a,args:o}){return i.compare(e,n,a)?e:t.error(`number.`+r,{limit:o.limit,value:e})},args:[{name:`limit`,ref:!0,assert:i.isNumber,message:`must be a number`}]},greater:{method(e){return this.$_addRule({name:`greater`,method:`compare`,args:{limit:e},operator:`>`})}},integer:{method(){return this.$_addRule(`integer`)},validate(e,t){return Math.trunc(e)-e===0?e:t.error(`number.integer`)}},less:{method(e){return this.$_addRule({name:`less`,method:`compare`,args:{limit:e},operator:`<`})}},max:{method(e){return this.$_addRule({name:`max`,method:`compare`,args:{limit:e},operator:`<=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`compare`,args:{limit:e},operator:`>=`})}},multiple:{method(e){let t=typeof e==`number`?a.decimalPlaces(e):null,n=10**t;return this.$_addRule({name:`multiple`,args:{base:e,baseDecimalPlace:t,pfactor:n}})},validate(e,t,{base:n,baseDecimalPlace:r,pfactor:i},o){let s=a.decimalPlaces(e);return s>r?t.error(`number.multiple`,{multiple:o.args.base,value:e}):Math.round(i*e)%Math.round(i*n)===0?e:t.error(`number.multiple`,{multiple:o.args.base,value:e})},args:[{name:`base`,ref:!0,assert:e=>typeof e==`number`&&isFinite(e)&&e>0,message:`must be a positive number`},`baseDecimalPlace`,`pfactor`],multi:!0},negative:{method(){return this.sign(`negative`)}},port:{method(){return this.$_addRule(`port`)},validate(e,t){return Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error(`number.port`)}},positive:{method(){return this.sign(`positive`)}},precision:{method(e){return n(Number.isSafeInteger(e),`limit must be an integer`),this.$_addRule({name:`precision`,args:{limit:e}})},validate(e,t,{limit:n}){let r=e.toString().match(a.precisionRx),i=Math.max((r[1]?r[1].length:0)-(r[2]?parseInt(r[2],10):0),0);return i<=n?e:t.error(`number.precision`,{limit:n,value:e})},convert:!0},sign:{method(e){return n([`negative`,`positive`].includes(e),`Invalid sign`,e),this.$_addRule({name:`sign`,args:{sign:e}})},validate(e,t,{sign:n}){return n===`negative`&&e<0||n===`positive`&&e>0?e:t.error(`number.${n}`)}},unsafe:{method(e=!0){return n(typeof e==`boolean`,`enabled must be a boolean`),this.$_setFlag(`unsafe`,e)}}},cast:{string:{from:e=>typeof e==`number`,to(e,t){return e.toString()}}},messages:{"number.base":`{{#label}} must be a number`,"number.greater":`{{#label}} must be greater than {{#limit}}`,"number.infinity":`{{#label}} cannot be infinity`,"number.integer":`{{#label}} must be an integer`,"number.less":`{{#label}} must be less than {{#limit}}`,"number.max":`{{#label}} must be less than or equal to {{#limit}}`,"number.min":`{{#label}} must be greater than or equal to {{#limit}}`,"number.multiple":`{{#label}} must be a multiple of {{#multiple}}`,"number.negative":`{{#label}} must be a negative number`,"number.port":`{{#label}} must be a valid port`,"number.positive":`{{#label}} must be a positive number`,"number.precision":`{{#label}} must have no more than {{#limit}} decimal places`,"number.unsafe":`{{#label}} must be a safe number`}}),a.extractSignificantDigits=function(e){return e.replace(a.exponentialPartRegex,``).replace(a.dotRegex,``).replace(a.trailingZerosRegex,``).replace(a.leadingSignAndZerosRegex,``)},a.normalizeDecimal=function(e){return e=e.replace(/^\+/,``).replace(/\.0*$/,``).replace(/^(-?)\.([^\.]*)$/,`$10.$2`).replace(/^(-?)0+([0-9])/,`$1$2`),e.includes(`.`)&&e.endsWith(`0`)&&(e=e.replace(/0+$/,``)),e===`-0`?`0`:e}}),dt=s((exports,t)=>{let n=st();t.exports=n.extend({type:`object`,cast:{map:{from:e=>e&&typeof e==`object`,to(e,t){return new Map(Object.entries(e))}}}})}),ft={};c(ft,{URL:()=>vt,URLSearchParams:()=>_t});function pt(e,t,n){throw n=TypeError(e),n.code=t,n}function mt(e){pt(`Invalid URL: `+e,`ERR_INVALID_URL`)}function ht(e,t,n,r){n=`The "name" `,r=`argument`,e&&(n+=`and "value" `,r+=`s`),t<++e&&pt(n+r+` must be specified`,`ERR_MISSING_ARGS`)}function gt(e,t){var n,r=0,i={next:function(){return n=e[r++],{value:n,done:r>e.length}}};return t&&(i[Symbol.iterator]=function(){return i}),i}function _t(e,t){var n,r,i,a,o,s=this,c=[];try{a=!!Symbol.iterator}catch{a=!1}if(e){if(e.keys&&e.getAll)e.forEach(function(e,t){u(t,e)});else if(e.pop)for(r=0;r<e.length;r++)u.apply(0,e[r]);else if(typeof e==`object`)for(n in e)l(n,e[n]);else if(typeof e==`string`)for(e[0]==`?`&&(e=e.substring(1)),i=decodeURIComponent(e).split(`&`);n=i.shift();)r=n.indexOf(`=`),~r||(r=n.length),u(n.substring(0,r),n.substring(++r))}function l(e,t){for(ht(1,arguments.length),t=String(t),i=!1,r=c.length;r--;)o=c[r],o[0]==e&&(i?c.splice(r,1):(o[1]=t,i=!0));i||c.push([e,t]),f()}function u(e,t){ht(1,arguments.length),c.push([e,String(t)]),f()}function d(){for(o=``,r=0;r<c.length;r++)o&&(o+=`&`),o+=encodeURIComponent(c[r][0])+`=`+encodeURIComponent(c[r][1]);return o.replace(/%20/g,`+`)}function f(){t&&(t.search=c.length?`?`+d().replace(/=$/,``):``)}return s.append=u,s.delete=function(e){for(ht(0,arguments.length),r=c.length;r--;)c[r][0]==e&&c.splice(r,1);f()},s.entries=function(){return gt(c,a)},s.forEach=function(e){for(typeof e!=`function`&&pt(`Callback must be a function`,`ERR_INVALID_CALLBACK`),r=0;r<c.length;r++)e(c[r][1],c[r][0])},s.get=function(e){for(ht(0,arguments.length),r=0;r<c.length;r++)if(c[r][0]==e)return c[r][1];return null},s.getAll=function(e){for(ht(0,arguments.length),o=[],r=0;r<c.length;r++)c[r][0]==e&&o.push(c[r][1]);return o},s.has=function(e){for(ht(0,arguments.length),r=0;r<c.length;r++)if(c[r][0]==e)return!0;return!1},s.keys=function(){for(o=[],r=0;r<c.length;r++)o.push(c[r][0]);return gt(o,a)},s.set=l,s.sort=function(){for(i=[],o=[],r=0;r<c.length;i.push(c[r++][0]));for(i.sort();n=i.shift();)for(r=0;r<c.length;r++)if(c[r][0]==n){o.push(c.splice(r,1).shift());break}c=o,f()},s.toString=d,s.values=function(){for(o=[],r=0;r<c.length;r++)o.push(c[r][1]);return gt(o,a)},a&&(s[Symbol.iterator]=s.entries),s}function vt(e,t){var n=document.createElement(`a`),r=document.createElement(`a`),i=document.createElement(`input`),a,o,s=this,c=/(blob|ftp|wss?|https?):/;if(i.type=`url`,t=String(t||``).trim(),(i.value=t)&&!i.checkValidity())return mt(t);if(e=String(e).trim(),i.value=e||0,i.checkValidity())r.href=e;else if(t)r.href=t,e&&(o=e.match(/^\/+/),o&&o[0].length==2?r.href=r.protocol+e:/[?#]/.test(e[0])?r.href+=e:e[0]==`/`||r.pathname==`/`?r.href=r.origin+`/`+e.replace(/^\/+/,``):(a=r.pathname.split(`/`),t=e.replace(/^(\.\/)?/,``).split(`../`),r.href=r.origin+a.slice(0,Math.max(1,a.length-t.length)).concat(t.pop()).join(`/`)));else return mt(e);function l(e){return n.href=r.href,n.protocol=`http:`,e==`protocol`||e==`href`||c.test(r.protocol)?r[e]:e==`origin`?c.test(r.protocol)?r[e]:`null`:n[e]}function u(e,t,n,i){return i={enumerable:!0},t||(i.set=function(t){t!=null&&(r[e]=String(t),(e==`href`||e==`search`)&&(o=new _t(r.search,r)))}),i.get=n||function(){return l(e)},i}return o=new _t(r.search,r),s.toString=s.toJSON=r.toString.bind(r),Object.defineProperties(s,{href:u(`href`),protocol:u(`protocol`),username:u(`username`),password:u(`password`),hostname:u(`hostname`),host:u(`host`),port:u(`port`),search:u(`search`),hash:u(`hash`),pathname:u(`pathname`),origin:u(`origin`,1),searchParams:u(`searchParams`,1,function(){return o})})}var yt=o(()=>{}),bt=s(exports=>{exports.codes={EMPTY_STRING:`Address must be a non-empty string`,FORBIDDEN_UNICODE:`Address contains forbidden Unicode characters`,MULTIPLE_AT_CHAR:`Address cannot contain more than one @ character`,MISSING_AT_CHAR:`Address must contain one @ character`,EMPTY_LOCAL:`Address local part cannot be empty`,ADDRESS_TOO_LONG:`Address too long`,LOCAL_TOO_LONG:`Address local part too long`,EMPTY_LOCAL_SEGMENT:`Address local part contains empty dot-separated segment`,INVALID_LOCAL_CHARS:`Address local part contains invalid character`,DOMAIN_NON_EMPTY_STRING:`Domain must be a non-empty string`,DOMAIN_TOO_LONG:`Domain too long`,DOMAIN_INVALID_UNICODE_CHARS:`Domain contains forbidden Unicode characters`,DOMAIN_INVALID_CHARS:`Domain contains invalid character`,DOMAIN_INVALID_TLDS_CHARS:`Domain contains invalid tld character`,DOMAIN_SEGMENTS_COUNT:`Domain lacks the minimum required number of segments`,DOMAIN_SEGMENTS_COUNT_MAX:`Domain contains too many segments`,DOMAIN_FORBIDDEN_TLDS:`Domain uses forbidden TLD`,DOMAIN_EMPTY_SEGMENT:`Domain contains empty dot-separated segment`,DOMAIN_LONG_SEGMENT:`Domain contains dot-separated segment that is too long`},exports.code=function(t){return{code:t,error:exports.codes[t]}}}),xt=s(exports=>{let t=(yt(),d(ft)),n=bt(),r={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:t.URL||URL};exports.analyze=function(e,t={}){if(!e)return n.code(`DOMAIN_NON_EMPTY_STRING`);if(typeof e!=`string`)throw Error(`Invalid input: domain must be a string`);if(e.length>256)return n.code(`DOMAIN_TOO_LONG`);let i=!r.nonAsciiRx.test(e);if(!i){if(t.allowUnicode===!1)return n.code(`DOMAIN_INVALID_UNICODE_CHARS`);e=e.normalize(`NFC`)}if(r.domainControlRx.test(e))return n.code(`DOMAIN_INVALID_CHARS`);e=r.punycode(e),t.allowFullyQualified&&e[e.length-1]===`.`&&(e=e.slice(0,-1));let a=t.minDomainSegments||r.minDomainSegments,o=e.split(`.`);if(o.length<a)return n.code(`DOMAIN_SEGMENTS_COUNT`);if(t.maxDomainSegments&&o.length>t.maxDomainSegments)return n.code(`DOMAIN_SEGMENTS_COUNT_MAX`);let s=t.tlds;if(s){let e=o[o.length-1].toLowerCase();if(s.deny&&s.deny.has(e)||s.allow&&!s.allow.has(e))return n.code(`DOMAIN_FORBIDDEN_TLDS`)}for(let e=0;e<o.length;++e){let t=o[e];if(!t.length)return n.code(`DOMAIN_EMPTY_SEGMENT`);if(t.length>63)return n.code(`DOMAIN_LONG_SEGMENT`);if(e<o.length-1){if(!r.domainSegmentRx.test(t))return n.code(`DOMAIN_INVALID_CHARS`)}else if(!r.tldSegmentRx.test(t))return n.code(`DOMAIN_INVALID_TLDS_CHARS`)}return null},exports.isValid=function(t,n){return!exports.analyze(t,n)},r.punycode=function(e){e.includes(`%`)&&(e=e.replace(/%/g,`%25`));try{return new r.URL(`http://${e}`).host}catch{return e}}});function St(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function Ct(){throw Error(`setTimeout has not been defined`)}function wt(){throw Error(`clearTimeout has not been defined`)}function Tt(e){if(Nt===setTimeout)return setTimeout(e,0);if((Nt===Ct||!Nt)&&setTimeout)return Nt=setTimeout,setTimeout(e,0);try{return Nt(e,0)}catch{try{return Nt.call(null,e,0)}catch{return Nt.call(this,e,0)}}}function Et(e){if(Pt===clearTimeout)return clearTimeout(e);if((Pt===wt||!Pt)&&clearTimeout)return Pt=clearTimeout,clearTimeout(e);try{return Pt(e)}catch{try{return Pt.call(null,e)}catch{return Pt.call(this,e)}}}function Dt(){!It||!Lt||(It=!1,Lt.length?Ft=Lt.concat(Ft):Rt=-1,Ft.length&&Ot())}function Ot(){if(!It){var e=Tt(Dt);It=!0;for(var t=Ft.length;t;){for(Lt=Ft,Ft=[];++Rt<t;)Lt&&Lt[Rt].run();Rt=-1,t=Ft.length}Lt=null,It=!1,Et(e)}}function kt(e,t){this.fun=e,this.array=t}function At(){}var jt,Mt,Nt,Pt,Ft,It,Lt,Rt,zt,Bt,Vt=o(()=>{jt={exports:{}},Mt=jt.exports={},function(){try{Nt=typeof setTimeout==`function`?setTimeout:Ct}catch{Nt=Ct}try{Pt=typeof clearTimeout==`function`?clearTimeout:wt}catch{Pt=wt}}(),Ft=[],It=!1,Rt=-1,Mt.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ft.push(new kt(e,t)),Ft.length===1&&!It&&Tt(Ot)},kt.prototype.run=function(){this.fun.apply(null,this.array)},Mt.title=`browser`,Mt.browser=!0,Mt.env={},Mt.argv=[],Mt.version=``,Mt.versions={},Mt.on=At,Mt.addListener=At,Mt.once=At,Mt.off=At,Mt.removeListener=At,Mt.removeAllListeners=At,Mt.emit=At,Mt.prependListener=At,Mt.prependOnceListener=At,Mt.listeners=function(e){return[]},Mt.binding=function(e){throw Error(`process.binding is not supported`)},Mt.cwd=function(){return`/`},Mt.chdir=function(e){throw Error(`process.chdir is not supported`)},Mt.umask=function(){return 0},zt=jt.exports,Bt=St(zt)}),Ht=s((exports,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}}),Ut=s((exports,t)=>{var n=Ht();t.exports=function(){return n()&&!!Symbol.toStringTag}}),Wt=s((exports,t)=>{t.exports=Object}),Gt=s((exports,t)=>{t.exports=Error}),Kt=s((exports,t)=>{t.exports=EvalError}),qt=s((exports,t)=>{t.exports=RangeError}),Jt=s((exports,t)=>{t.exports=ReferenceError}),Yt=s((exports,t)=>{t.exports=SyntaxError}),Xt=s((exports,t)=>{t.exports=TypeError}),Zt=s((exports,t)=>{t.exports=URIError}),Qt=s((exports,t)=>{t.exports=Math.abs}),$t=s((exports,t)=>{t.exports=Math.floor}),en=s((exports,t)=>{t.exports=Math.max}),tn=s((exports,t)=>{t.exports=Math.min}),nn=s((exports,t)=>{t.exports=Math.pow}),rn=s((exports,t)=>{t.exports=Math.round}),an=s((exports,t)=>{t.exports=Number.isNaN||function(e){return e!==e}}),on=s((exports,t)=>{var n=an();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}}),sn=s((exports,t)=>{t.exports=Object.getOwnPropertyDescriptor}),cn=s((exports,t)=>{var n=sn();if(n)try{n([],`length`)}catch{n=null}t.exports=n}),ln=s((exports,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n}),un=s((exports,t)=>{var n=typeof Symbol<`u`&&Symbol,r=Ht();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}}),dn=s((exports,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null}),fn=s((exports,t)=>{var n=Wt();t.exports=n.getPrototypeOf||null}),pn=s((exports,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}}),mn=s((exports,t)=>{var n=pn();t.exports=Function.prototype.bind||n}),hn=s((exports,t)=>{t.exports=Function.prototype.call}),gn=s((exports,t)=>{t.exports=Function.prototype.apply}),_n=s((exports,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply}),vn=s((exports,t)=>{var n=mn(),r=gn(),i=hn(),a=_n();t.exports=a||n.call(i,r)}),yn=s((exports,t)=>{var n=mn(),r=Xt(),i=hn(),a=vn();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}}),bn=s((exports,t)=>{var n=yn(),r=cn(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1}),xn=s((exports,t)=>{var n=dn(),r=fn(),i=bn();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null}),Sn=s((exports,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty,i=mn();t.exports=i.call(n,r)}),Cn=s((exports,t)=>{var n,r=Wt(),i=Gt(),a=Kt(),o=qt(),s=Jt(),c=Yt(),l=Xt(),u=Zt(),d=Qt(),f=$t(),p=en(),m=tn(),h=nn(),g=rn(),_=on(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=cn(),x=ln(),S=function(){throw new l},C=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}}():S,w=un()(),T=xn(),E=fn(),ee=dn(),D=gn(),O=hn(),k={},A=typeof Uint8Array>`u`||!T?n:T(Uint8Array),j={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":k,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":A,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":D,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":ee};if(T)try{null.error}catch(e){var M=T(T(e));j[`%Error.prototype%`]=M}var N=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return j[t]=n,n},te={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},ne=mn(),re=Sn(),ie=ne.call(O,Array.prototype.concat),ae=ne.call(D,Array.prototype.splice),oe=ne.call(O,String.prototype.replace),P=ne.call(O,String.prototype.slice),F=ne.call(O,RegExp.prototype.exec),se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ce=/\\(\\)?/g,le=function(e){var t=P(e,0,1),n=P(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return oe(e,se,function(e,t,n,i){r[r.length]=n?oe(i,ce,`$1`):t||e}),r},ue=function(e,t){var n=e,r;if(re(te,n)&&(r=te[n],n=`%`+r[0]+`%`),re(j,n)){var i=j[n];if(i===k&&(i=N(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(F(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=le(e),r=n.length>0?n[0]:``,i=ue(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],ae(n,ie([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=P(p,0,1),h=P(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,re(j,a))o=j[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=re(o,p),o=o[p];f&&!s&&(j[a]=o)}}return o}}),wn=s((exports,t)=>{var n=Cn(),r=yn(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}}),Tn=s((exports,t)=>{var n=Ut()(),r=wn(),i=r(`Object.prototype.toString`),a=function(e){return n&&e&&typeof e==`object`&&Symbol.toStringTag in e?!1:i(e)===`[object Arguments]`},o=function(e){return a(e)?!0:typeof e==`object`&&!!e&&`length`in e&&typeof e.length==`number`&&e.length>=0&&i(e)!==`[object Array]`&&`callee`in e&&i(e.callee)===`[object Function]`},s=function(){return a(arguments)}();a.isLegacyArguments=o,t.exports=s?a:o}),En=s((exports,t)=>{var n=wn(),r=Ut()(),i=Sn(),a=cn(),o;if(r){var s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l};typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`),n=t&&i(t,`value`);if(!n)return!1;try{s(e,u)}catch(e){return e===c}}}else{var d=n(`Object.prototype.toString`),f=`[object RegExp]`;o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f}}t.exports=o}),Dn=s((exports,t)=>{var n=wn(),r=En(),i=n(`RegExp.prototype.exec`),a=Xt();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}}),On=s((exports,t)=>{var n=wn(),r=Dn(),i=r(/^\s*(?:function)?\*/),a=Ut()(),o=xn(),s=n(`Object.prototype.toString`),c=n(`Function.prototype.toString`),l=function(){if(!a)return!1;try{return Function(`return function*() {}`)()}catch{}},u;t.exports=function(e){if(typeof e!=`function`)return!1;if(i(c(e)))return!0;if(!a){var t=s(e);return t===`[object GeneratorFunction]`}if(!o)return!1;if(u===void 0){var n=l();u=n?o(n):!1}return o(e)===u}}),kn=s((exports,t)=>{var n=Function.prototype.toString,r=typeof Reflect==`object`&&Reflect!==null&&Reflect.apply,i,a;if(typeof r==`function`&&typeof Object.defineProperty==`function`)try{i=Object.defineProperty({},`length`,{get:function(){throw a}}),a={},r(function(){throw 42},null,i)}catch(e){e!==a&&(r=null)}else r=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch{return!1}},c=function(e){try{return s(e)?!1:(n.call(e),!0)}catch{return!1}},l=Object.prototype.toString,u=`[object Object]`,d=`[object Function]`,f=`[object GeneratorFunction]`,p=`[object HTMLAllCollection]`,m=`[object HTML document.all class]`,h=`[object HTMLCollection]`,g=typeof Symbol==`function`&&!!Symbol.toStringTag,_=!(0 in[,]),v=function(){return!1};if(typeof document==`object`){var y=document.all;l.call(y)===l.call(document.all)&&(v=function(e){if((_||!e)&&(e===void 0||typeof e==`object`))try{var t=l.call(e);return(t===p||t===m||t===h||t===u)&&e(``)==null}catch{}return!1})}t.exports=r?function(e){if(v(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;try{r(e,null,i)}catch(e){if(e!==a)return!1}return!s(e)&&c(e)}:function(e){if(v(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;if(g)return c(e);if(s(e))return!1;var t=l.call(e);return t!==d&&t!==f&&!/^\[object HTML/.test(t)?!1:c(e)}}),An=s((exports,t)=>{var n=kn(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,a=e.length;r<a;r++)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))},o=function(e,t,n){for(var r=0,i=e.length;r<i;r++)n==null?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},s=function(e,t,n){for(var r in e)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))};function c(e){return r.call(e)===`[object Array]`}t.exports=function(e,t,r){if(!n(t))throw TypeError(`iterator must be a function`);var i;arguments.length>=3&&(i=r),c(e)?a(e,t,i):typeof e==`string`?o(e,t,i):s(e,t,i)}}),jn=s((exports,t)=>{t.exports=[`Float16Array`,`Float32Array`,`Float64Array`,`Int8Array`,`Int16Array`,`Int32Array`,`Uint8Array`,`Uint8ClampedArray`,`Uint16Array`,`Uint32Array`,`BigInt64Array`,`BigUint64Array`]}),Mn=s((exports,t)=>{var n=jn(),r=typeof globalThis>`u`?global:globalThis;t.exports=function(){for(var e=[],t=0;t<n.length;t++)typeof r[n[t]]==`function`&&(e[e.length]=n[t]);return e}}),Nn=s((exports,t)=>{var n=ln(),r=Yt(),i=Xt(),a=cn();t.exports=function(e,t,o){if(!e||typeof e!=`object`&&typeof e!=`function`)throw new i("`obj` must be an object or a function`");if(typeof t!=`string`&&typeof t!=`symbol`)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,d=!!a&&a(e,t);if(n)n(e,t,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:o,writable:c===null&&d?d.writable:!c});else if(u||!s&&!c&&!l)e[t]=o;else throw new r(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}}),Pn=s((exports,t)=>{var n=ln(),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],`length`,{value:1}).length!==1}catch{return!0}},t.exports=r}),Fn=s((exports,t)=>{var n=Cn(),r=Nn(),i=Pn()(),a=cn(),o=Xt(),s=n(`%Math.floor%`);t.exports=function(e,t){if(typeof e!=`function`)throw new o("`fn` is not a function");if(typeof t!=`number`||t<0||t>4294967295||s(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],c=!0,l=!0;if(`length`in e&&a){var u=a(e,`length`);u&&!u.configurable&&(c=!1),u&&!u.writable&&(l=!1)}return(c||l||!n)&&(i?r(e,`length`,t,!0,!0):r(e,`length`,t)),e}}),In=s((exports,t)=>{var n=mn(),r=gn(),i=vn();t.exports=function(){return i(n,r,arguments)}}),Ln=s((exports,t)=>{var n=Fn(),r=ln(),i=yn(),a=In();t.exports=function(e){var t=i(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},r?r(t.exports,`apply`,{value:a}):t.exports.apply=a}),Rn=s((exports,t)=>{var n=An(),r=Mn(),i=Ln(),a=wn(),o=cn(),s=xn(),c=a(`Object.prototype.toString`),l=Ut()(),u=typeof globalThis>`u`?global:globalThis,d=r(),f=a(`String.prototype.slice`),p=a(`Array.prototype.indexOf`,!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},m={__proto__:null};l&&o&&s?n(d,function(e){var t=new u[e];if(Symbol.toStringTag in t&&s){var n=s(t),r=o(n,Symbol.toStringTag);if(!r&&n){var a=s(n);r=o(a,Symbol.toStringTag)}m[`$`+e]=i(r.get)}}):n(d,function(e){var t=new u[e],n=t.slice||t.set;n&&(m[`$`+e]=i(n))});var h=function(e){var t=!1;return n(m,function(n,r){if(!t)try{`$`+n(e)===r&&(t=f(r,1))}catch{}}),t},g=function(e){var t=!1;return n(m,function(n,r){if(!t)try{n(e),t=f(r,1)}catch{}}),t};t.exports=function(e){if(!e||typeof e!=`object`)return!1;if(!l){var t=f(c(e),8,-1);return p(d,t)>-1?t:t===`Object`?g(e):!1}return o?h(e):null}}),zn=s((exports,t)=>{var n=Rn();t.exports=function(e){return!!n(e)}}),Bn=s(exports=>{var t=Tn(),n=On(),r=Rn(),i=zn();function a(e){return e.call.bind(e)}var o=typeof BigInt<`u`,s=typeof Symbol<`u`,c=a(Object.prototype.toString),l=a(Number.prototype.valueOf),u=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);if(o)var f=a(BigInt.prototype.valueOf);if(s)var p=a(Symbol.prototype.valueOf);function m(e,t){if(typeof e!=`object`)return!1;try{return t(e),!0}catch{return!1}}exports.isArgumentsObject=t,exports.isGeneratorFunction=n,exports.isTypedArray=i;function h(e){return typeof Promise<`u`&&e instanceof Promise||typeof e==`object`&&!!e&&typeof e.then==`function`&&typeof e.catch==`function`}exports.isPromise=h;function g(e){return typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||ae(e)}exports.isArrayBufferView=g;function _(e){return r(e)===`Uint8Array`}exports.isUint8Array=_;function v(e){return r(e)===`Uint8ClampedArray`}exports.isUint8ClampedArray=v;function y(e){return r(e)===`Uint16Array`}exports.isUint16Array=y;function b(e){return r(e)===`Uint32Array`}exports.isUint32Array=b;function x(e){return r(e)===`Int8Array`}exports.isInt8Array=x;function S(e){return r(e)===`Int16Array`}exports.isInt16Array=S;function C(e){return r(e)===`Int32Array`}exports.isInt32Array=C;function w(e){return r(e)===`Float32Array`}exports.isFloat32Array=w;function T(e){return r(e)===`Float64Array`}exports.isFloat64Array=T;function E(e){return r(e)===`BigInt64Array`}exports.isBigInt64Array=E;function ee(e){return r(e)===`BigUint64Array`}exports.isBigUint64Array=ee;function D(e){return c(e)===`[object Map]`}D.working=typeof Map<`u`&&D(new Map);function O(e){return typeof Map>`u`?!1:D.working?D(e):e instanceof Map}exports.isMap=O;function k(e){return c(e)===`[object Set]`}k.working=typeof Set<`u`&&k(new Set);function A(e){return typeof Set>`u`?!1:k.working?k(e):e instanceof Set}exports.isSet=A;function j(e){return c(e)===`[object WeakMap]`}j.working=typeof WeakMap<`u`&&j(new WeakMap);function M(e){return typeof WeakMap>`u`?!1:j.working?j(e):e instanceof WeakMap}exports.isWeakMap=M;function N(e){return c(e)===`[object WeakSet]`}N.working=typeof WeakSet<`u`&&N(new WeakSet);function te(e){return N(e)}exports.isWeakSet=te;function ne(e){return c(e)===`[object ArrayBuffer]`}ne.working=typeof ArrayBuffer<`u`&&ne(new ArrayBuffer);function re(e){return typeof ArrayBuffer>`u`?!1:ne.working?ne(e):e instanceof ArrayBuffer}exports.isArrayBuffer=re;function ie(e){return c(e)===`[object DataView]`}ie.working=typeof ArrayBuffer<`u`&&typeof DataView<`u`&&ie(new DataView(new ArrayBuffer(1),0,1));function ae(e){return typeof DataView>`u`?!1:ie.working?ie(e):e instanceof DataView}exports.isDataView=ae;var oe=typeof SharedArrayBuffer<`u`?SharedArrayBuffer:void 0;function P(e){return c(e)===`[object SharedArrayBuffer]`}function F(e){return oe===void 0?!1:(P.working===void 0&&(P.working=P(new oe)),P.working?P(e):e instanceof oe)}exports.isSharedArrayBuffer=F;function se(e){return c(e)===`[object AsyncFunction]`}exports.isAsyncFunction=se;function ce(e){return c(e)===`[object Map Iterator]`}exports.isMapIterator=ce;function le(e){return c(e)===`[object Set Iterator]`}exports.isSetIterator=le;function ue(e){return c(e)===`[object Generator]`}exports.isGeneratorObject=ue;function I(e){return c(e)===`[object WebAssembly.Module]`}exports.isWebAssemblyCompiledModule=I;function de(e){return m(e,l)}exports.isNumberObject=de;function fe(e){return m(e,u)}exports.isStringObject=fe;function pe(e){return m(e,d)}exports.isBooleanObject=pe;function me(e){return o&&m(e,f)}exports.isBigIntObject=me;function he(e){return s&&m(e,p)}exports.isSymbolObject=he;function ge(e){return de(e)||fe(e)||pe(e)||me(e)||he(e)}exports.isBoxedPrimitive=ge;function _e(e){return typeof Uint8Array<`u`&&(re(e)||F(e))}exports.isAnyArrayBuffer=_e,[`isProxy`,`isExternal`,`isModuleNamespaceObject`].forEach(function(t){Object.defineProperty(exports,t,{enumerable:!1,value:function(){throw Error(t+` is not supported in userland`)}})})}),Vn=s((exports,t)=>{ce(),t.exports=function(e){return e instanceof E}}),Hn=s((exports,t)=>{typeof Object.create==`function`?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}}),Un=s((exports,t)=>{try{var n=Wn();if(typeof n.inherits!=`function`)throw``;t.exports=n.inherits}catch{t.exports=Hn()}}),Wn=s(exports=>{Vt();var t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},n=/%[sdj%]/g;exports.format=function(e){if(!x(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(` `)}for(var r=1,i=arguments,a=i.length,s=String(e).replace(n,function(e){if(e===`%%`)return`%`;if(r>=a)return e;switch(e){case`%s`:return String(i[r++]);case`%d`:return Number(i[r++]);case`%j`:try{return JSON.stringify(i[r++])}catch{return`[Circular]`}default:return e}}),c=i[r];r<a;c=i[++r])v(c)||!T(c)?s+=` `+c:s+=` `+o(c);return s},exports.deprecate=function(t,n){if(Bt!==void 0&&Bt.noDeprecation===!0)return t;if(Bt===void 0)return function(){return exports.deprecate(t,n).apply(this,arguments)};var r=!1;function i(){if(!r){if(Bt.throwDeprecation)throw Error(n);Bt.traceDeprecation?console.trace(n):console.error(n),r=!0}return t.apply(this,arguments)}return i};var r={},i=/^$/;if(Bt.env.NODE_DEBUG){var a=Bt.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,`\\$&`).replace(/\*/g,`.*`).replace(/,/g,`$|^`).toUpperCase(),i=RegExp(`^`+a+`$`,`i`)}exports.debuglog=function(t){if(t=t.toUpperCase(),!r[t])if(i.test(t)){var n=Bt.pid;r[t]=function(){var r=exports.format.apply(exports,arguments);console.error(`%s %d: %s`,t,n,r)}}else r[t]=function(){};return r[t]};function o(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),_(n)?r.showHidden=n:n&&exports._extend(r,n),C(r.showHidden)&&(r.showHidden=!1),C(r.depth)&&(r.depth=2),C(r.colors)&&(r.colors=!1),C(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),u(r,t,r.depth)}exports.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function s(e,t){var n=o.styles[t];return n?`\x1B[`+o.colors[n][0]+`m`+e+`\x1B[`+o.colors[n][1]+`m`:e}function c(e,t){return e}function l(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function u(t,n,r){if(t.customInspect&&n&&D(n.inspect)&&n.inspect!==exports.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i=n.inspect(r,t);return x(i)||(i=u(t,i,r)),i}var a=d(t,n);if(a)return a;var o=Object.keys(n),s=l(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),ee(n)&&(o.indexOf(`message`)>=0||o.indexOf(`description`)>=0))return f(n);if(o.length===0){if(D(n)){var c=n.name?`: `+n.name:``;return t.stylize(`[Function`+c+`]`,`special`)}if(w(n))return t.stylize(RegExp.prototype.toString.call(n),`regexp`);if(E(n))return t.stylize(Date.prototype.toString.call(n),`date`);if(ee(n))return f(n)}var _=``,v=!1,y=[`{`,`}`];if(g(n)&&(v=!0,y=[`[`,`]`]),D(n)){var b=n.name?`: `+n.name:``;_=` [Function`+b+`]`}if(w(n)&&(_=` `+RegExp.prototype.toString.call(n)),E(n)&&(_=` `+Date.prototype.toUTCString.call(n)),ee(n)&&(_=` `+f(n)),o.length===0&&(!v||n.length==0))return y[0]+_+y[1];if(r<0)return w(n)?t.stylize(RegExp.prototype.toString.call(n),`regexp`):t.stylize(`[Object]`,`special`);t.seen.push(n);var S;return S=v?p(t,n,r,s,o):o.map(function(e){return m(t,n,r,s,e,v)}),t.seen.pop(),h(S,_,y)}function d(e,t){if(C(t))return e.stylize(`undefined`,`undefined`);if(x(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(b(t))return e.stylize(``+t,`number`);if(_(t))return e.stylize(``+t,`boolean`);if(v(t))return e.stylize(`null`,`null`)}function f(e){return`[`+Error.prototype.toString.call(e)+`]`}function p(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)N(t,String(o))?a.push(m(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(m(e,t,n,r,i,!0))}),a}function m(e,t,n,r,i,a){var o,s,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),N(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=v(n)?u(e,c.value,null):u(e,c.value,n-1),s.indexOf(`
2
- `)>-1&&(s=a?s.split(`
3
- `).map(function(e){return` `+e}).join(`
1
+ var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__esmMin=(fn$1,res)=>()=>(fn$1&&(res=fn$1(fn$1=0)),res),__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=(target,all$1)=>{for(var name$1 in all$1)__defProp(target,name$1,{get:all$1[name$1],enumerable:!0})},__copyProps=(to,from,except,desc$1)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i$4=0,n$2=keys.length,key;i$4<n$2;i$4++)key=keys[i$4],!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:(k=>from[k]).bind(null,key),enumerable:!(desc$1=__getOwnPropDesc(from,key))||desc$1.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},`__esModule`,{value:!0}),mod);const json=root=>root,patch=root=>(root=json(root),root);function getLens$1(b64){var len$2=b64.length;if(len$2%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var validLen=b64.indexOf(`=`);validLen===-1&&(validLen=len$2);var placeHoldersLen=validLen===len$2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength$1(b64){var lens=getLens$1(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength$1(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray$1(b64){var tmp,lens=getLens$1(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr$1(_byteLength$1(b64,validLen,placeHoldersLen)),curByte=0,len$2=placeHoldersLen>0?validLen-4:validLen,i$4;for(i$4=0;i$4<len$2;i$4+=4)tmp=revLookup$1[b64.charCodeAt(i$4)]<<18|revLookup$1[b64.charCodeAt(i$4+1)]<<12|revLookup$1[b64.charCodeAt(i$4+2)]<<6|revLookup$1[b64.charCodeAt(i$4+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup$1[b64.charCodeAt(i$4)]<<2|revLookup$1[b64.charCodeAt(i$4+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup$1[b64.charCodeAt(i$4)]<<10|revLookup$1[b64.charCodeAt(i$4+1)]<<4|revLookup$1[b64.charCodeAt(i$4+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64$1(num){return lookup$1[num>>18&63]+lookup$1[num>>12&63]+lookup$1[num>>6&63]+lookup$1[num&63]}function encodeChunk$1(uint8,start,end){for(var tmp,output=[],i$4=start;i$4<end;i$4+=3)tmp=(uint8[i$4]<<16&16711680)+(uint8[i$4+1]<<8&65280)+(uint8[i$4+2]&255),output.push(tripletToBase64$1(tmp));return output.join(``)}function fromByteArray$1(uint8){for(var tmp,len$2=uint8.length,extraBytes=len$2%3,parts=[],maxChunkLength=16383,i$4=0,len2=len$2-extraBytes;i$4<len2;i$4+=maxChunkLength)parts.push(encodeChunk$1(uint8,i$4,i$4+maxChunkLength>len2?len2:i$4+maxChunkLength));return extraBytes===1?(tmp=uint8[len$2-1],parts.push(lookup$1[tmp>>2]+lookup$1[tmp<<4&63]+`==`)):extraBytes===2&&(tmp=(uint8[len$2-2]<<8)+uint8[len$2-1],parts.push(lookup$1[tmp>>10]+lookup$1[tmp>>4&63]+lookup$1[tmp<<2&63]+`=`)),parts.join(``)}var buffer$1,base64Js$1,lookup$1,revLookup$1,Arr$1,code$1,ieee754$1,Buffer$1,Blob$1,BlobOptions,Buffer$1$1,File,FileOptions,INSPECT_MAX_BYTES,SlowBuffer,TranscodeEncoding,atob$1,btoa$1,constants$1,isAscii,isUtf8,kMaxLength,kStringMaxLength,resolveObjectURL,transcode,init_dist$1=__esmMin(()=>{buffer$1={},base64Js$1={},base64Js$1.byteLength=byteLength$1,base64Js$1.toByteArray=toByteArray$1,base64Js$1.fromByteArray=fromByteArray$1,lookup$1=[],revLookup$1=[],Arr$1=typeof Uint8Array<`u`?Uint8Array:Array,code$1=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;for(var i$3=0,len$1=code$1.length;i$3<len$1;++i$3)lookup$1[i$3]=code$1[i$3],revLookup$1[code$1.charCodeAt(i$3)]=i$3;revLookup$1[45]=62,revLookup$1[95]=63,ieee754$1={},ieee754$1.read=function(buffer$2,offset$2,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i$4=isLE?nBytes-1:0,d=isLE?-1:1,s$2=buffer$2[offset$2+i$4];for(i$4+=d,e=s$2&(1<<-nBits)-1,s$2>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer$2[offset$2+i$4],i$4+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer$2[offset$2+i$4],i$4+=d,nBits-=8);if(e===0)e=1-eBias;else if(e===eMax)return m?NaN:(s$2?-1:1)*(1/0);else m+=2**mLen,e-=eBias;return(s$2?-1:1)*m*2**(e-mLen)},ieee754$1.write=function(buffer$2,value,offset$2,isLE,mLen,nBytes){var e,m,c$1,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?2**-24-2**-77:0,i$4=isLE?0:nBytes-1,d=isLE?1:-1,s$2=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c$1=2**-e)<1&&(e--,c$1*=2),e+eBias>=1?value+=rt/c$1:value+=rt*2**(1-eBias),value*c$1>=2&&(e++,c$1/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c$1-1)*2**mLen,e+=eBias):(m=value*2**(eBias-1)*2**mLen,e=0));mLen>=8;buffer$2[offset$2+i$4]=m&255,i$4+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer$2[offset$2+i$4]=e&255,i$4+=d,e/=256,eLen-=8);buffer$2[offset$2+i$4-d]|=s$2*128},function(exports$1){let base64=base64Js$1,ieee754$1$1=ieee754$1,customInspectSymbol=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;exports$1.Buffer=Buffer$2,exports$1.SlowBuffer=SlowBuffer$1,exports$1.INSPECT_MAX_BYTES=50;let K_MAX_LENGTH=2147483647;exports$1.kMaxLength=K_MAX_LENGTH;let{Uint8Array:GlobalUint8Array,ArrayBuffer:GlobalArrayBuffer,SharedArrayBuffer:GlobalSharedArrayBuffer}=globalThis;Buffer$2.TYPED_ARRAY_SUPPORT=typedArraySupport(),!Buffer$2.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{let arr=new GlobalUint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,GlobalUint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer$2.prototype,`parent`,{enumerable:!0,get:function(){if(Buffer$2.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer$2.prototype,`offset`,{enumerable:!0,get:function(){if(Buffer$2.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw RangeError(`The value "`+length+`" is invalid for option "size"`);let buf=new GlobalUint8Array(length);return Object.setPrototypeOf(buf,Buffer$2.prototype),buf}function Buffer$2(arg,encodingOrOffset,length){if(typeof arg==`number`){if(typeof encodingOrOffset==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer$2.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value==`string`)return fromString(value,encodingOrOffset);if(GlobalArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof value);if(isInstance(value,GlobalArrayBuffer)||value&&isInstance(value.buffer,GlobalArrayBuffer)||GlobalSharedArrayBuffer!==void 0&&(isInstance(value,GlobalSharedArrayBuffer)||value&&isInstance(value.buffer,GlobalSharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer$2.from(valueOf,encodingOrOffset,length);let b=fromObject(value);if(b)return b;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]==`function`)return Buffer$2.from(value[Symbol.toPrimitive](`string`),encodingOrOffset,length);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof value)}Buffer$2.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)},Object.setPrototypeOf(Buffer$2.prototype,GlobalUint8Array.prototype),Object.setPrototypeOf(Buffer$2,GlobalUint8Array);function assertSize(size){if(typeof size!=`number`)throw TypeError(`"size" argument must be of type number`);if(size<0)throw RangeError(`The value "`+size+`" is invalid for option "size"`)}function alloc(size,fill,encoding){return assertSize(size),size<=0||fill===void 0?createBuffer(size):typeof encoding==`string`?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill)}Buffer$2.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer$2.allocUnsafe=function(size){return allocUnsafe(size)},Buffer$2.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!=`string`||encoding===``)&&(encoding=`utf8`),!Buffer$2.isEncoding(encoding))throw TypeError(`Unknown encoding: `+encoding);let length=byteLength$2(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){let length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length);for(let i$4=0;i$4<length;i$4+=1)buf[i$4]=array[i$4]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,GlobalUint8Array)){let copy=new GlobalUint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw RangeError(`"offset" is outside of buffer bounds`);if(array.byteLength<byteOffset+(length||0))throw RangeError(`"length" is outside of buffer bounds`);let buf;return buf=byteOffset===void 0&&length===void 0?new GlobalUint8Array(array):length===void 0?new GlobalUint8Array(array,byteOffset):new GlobalUint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer$2.prototype),buf}function fromObject(obj){if(Buffer$2.isBuffer(obj)){let len$2=checked(obj.length)|0,buf=createBuffer(len$2);return buf.length===0||obj.copy(buf,0,0,len$2),buf}if(obj.length!==void 0)return typeof obj.length!=`number`||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type===`Buffer`&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+K_MAX_LENGTH.toString(16)+` bytes`);return length|0}function SlowBuffer$1(length){return+length!=length&&(length=0),Buffer$2.alloc(+length)}Buffer$2.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer$2.prototype},Buffer$2.compare=function(a,b){if(isInstance(a,GlobalUint8Array)&&(a=Buffer$2.from(a,a.offset,a.byteLength)),isInstance(b,GlobalUint8Array)&&(b=Buffer$2.from(b,b.offset,b.byteLength)),!Buffer$2.isBuffer(a)||!Buffer$2.isBuffer(b))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(a===b)return 0;let x$1=a.length,y=b.length;for(let i$4=0,len$2=Math.min(x$1,y);i$4<len$2;++i$4)if(a[i$4]!==b[i$4]){x$1=a[i$4],y=b[i$4];break}return x$1<y?-1:y<x$1?1:0},Buffer$2.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},Buffer$2.concat=function(list,length){if(!Array.isArray(list))throw TypeError(`"list" argument must be an Array of Buffers`);if(list.length===0)return Buffer$2.alloc(0);let i$4;if(length===void 0)for(length=0,i$4=0;i$4<list.length;++i$4)length+=list[i$4].length;let buffer$2=Buffer$2.allocUnsafe(length),pos=0;for(i$4=0;i$4<list.length;++i$4){let buf=list[i$4];if(isInstance(buf,GlobalUint8Array))pos+buf.length>buffer$2.length?(Buffer$2.isBuffer(buf)||(buf=Buffer$2.from(buf)),buf.copy(buffer$2,pos)):GlobalUint8Array.prototype.set.call(buffer$2,buf,pos);else if(Buffer$2.isBuffer(buf))buf.copy(buffer$2,pos);else throw TypeError(`"list" argument must be an Array of Buffers`);pos+=buf.length}return buffer$2};function byteLength$2(string,encoding){if(Buffer$2.isBuffer(string))return string.length;if(GlobalArrayBuffer.isView(string)||isInstance(string,GlobalArrayBuffer))return string.byteLength;if(typeof string!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof string);let len$2=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len$2===0)return 0;let loweredCase=!1;for(;;)switch(encoding){case`ascii`:case`latin1`:case`binary`:return len$2;case`utf8`:case`utf-8`:return utf8ToBytes(string).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return len$2*2;case`hex`:return len$2>>>1;case`base64`:return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(``+encoding).toLowerCase(),loweredCase=!0}}Buffer$2.byteLength=byteLength$2;function slowToString(encoding,start,end){let loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return``;for(encoding||=`utf8`;;)switch(encoding){case`hex`:return hexSlice(this,start,end);case`utf8`:case`utf-8`:return utf8Slice(this,start,end);case`ascii`:return asciiSlice(this,start,end);case`latin1`:case`binary`:return latin1Slice(this,start,end);case`base64`:return base64Slice(this,start,end);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return utf16leSlice(this,start,end);default:if(loweredCase)throw TypeError(`Unknown encoding: `+encoding);encoding=(encoding+``).toLowerCase(),loweredCase=!0}}Buffer$2.prototype._isBuffer=!0;function swap(b,n$2,m){let i$4=b[n$2];b[n$2]=b[m],b[m]=i$4}Buffer$2.prototype.swap16=function(){let len$2=this.length;if(len$2%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let i$4=0;i$4<len$2;i$4+=2)swap(this,i$4,i$4+1);return this},Buffer$2.prototype.swap32=function(){let len$2=this.length;if(len$2%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let i$4=0;i$4<len$2;i$4+=4)swap(this,i$4,i$4+3),swap(this,i$4+1,i$4+2);return this},Buffer$2.prototype.swap64=function(){let len$2=this.length;if(len$2%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let i$4=0;i$4<len$2;i$4+=8)swap(this,i$4,i$4+7),swap(this,i$4+1,i$4+6),swap(this,i$4+2,i$4+5),swap(this,i$4+3,i$4+4);return this},Buffer$2.prototype.toString=function(){let length=this.length;return length===0?``:arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)},Buffer$2.prototype.toLocaleString=Buffer$2.prototype.toString,Buffer$2.prototype.equals=function(b){if(!Buffer$2.isBuffer(b))throw TypeError(`Argument must be a Buffer`);return this===b?!0:Buffer$2.compare(this,b)===0},Buffer$2.prototype.inspect=function(){let str=``,max$3=exports$1.INSPECT_MAX_BYTES;return str=this.toString(`hex`,0,max$3).replace(/(.{2})/g,`$1 `).trim(),this.length>max$3&&(str+=` ... `),`<Buffer `+str+`>`},customInspectSymbol&&(Buffer$2.prototype[customInspectSymbol]=Buffer$2.prototype.inspect),Buffer$2.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,GlobalUint8Array)&&(target=Buffer$2.from(target,target.offset,target.byteLength)),!Buffer$2.isBuffer(target))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw RangeError(`out of range index`);if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;let x$1=thisEnd-thisStart,y=end-start,len$2=Math.min(x$1,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end);for(let i$4=0;i$4<len$2;++i$4)if(thisCopy[i$4]!==targetCopy[i$4]){x$1=thisCopy[i$4],y=targetCopy[i$4];break}return x$1<y?-1:y<x$1?1:0};function bidirectionalIndexOf(buffer$2,val,byteOffset,encoding,dir){if(buffer$2.length===0)return-1;if(typeof byteOffset==`string`?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer$2.length-1),byteOffset<0&&(byteOffset=buffer$2.length+byteOffset),byteOffset>=buffer$2.length){if(dir)return-1;byteOffset=buffer$2.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val==`string`&&(val=Buffer$2.from(val,encoding)),Buffer$2.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer$2,val,byteOffset,encoding,dir);if(typeof val==`number`)return val&=255,typeof GlobalUint8Array.prototype.indexOf==`function`?dir?GlobalUint8Array.prototype.indexOf.call(buffer$2,val,byteOffset):GlobalUint8Array.prototype.lastIndexOf.call(buffer$2,val,byteOffset):arrayIndexOf(buffer$2,[val],byteOffset,encoding,dir);throw TypeError(`val must be string, number or Buffer`)}function arrayIndexOf(arr,val,byteOffset,encoding,dir){let indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding===`ucs2`||encoding===`ucs-2`||encoding===`utf16le`||encoding===`utf-16le`)){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i$5){return indexSize===1?buf[i$5]:buf.readUInt16BE(i$5*indexSize)}let i$4;if(dir){let foundIndex=-1;for(i$4=byteOffset;i$4<arrLength;i$4++)if(read(arr,i$4)===read(val,foundIndex===-1?0:i$4-foundIndex)){if(foundIndex===-1&&(foundIndex=i$4),i$4-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i$4-=i$4-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i$4=byteOffset;i$4>=0;i$4--){let found=!0;for(let j$1=0;j$1<valLength;j$1++)if(read(arr,i$4+j$1)!==read(val,j$1)){found=!1;break}if(found)return i$4}return-1}Buffer$2.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1},Buffer$2.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)},Buffer$2.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset$2,length){offset$2=Number(offset$2)||0;let remaining=buf.length-offset$2;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;let strLen=string.length;length>strLen/2&&(length=strLen/2);let i$4;for(i$4=0;i$4<length;++i$4){let parsed=parseInt(string.substr(i$4*2,2),16);if(numberIsNaN(parsed))return i$4;buf[offset$2+i$4]=parsed}return i$4}function utf8Write(buf,string,offset$2,length){return blitBuffer(utf8ToBytes(string,buf.length-offset$2),buf,offset$2,length)}function asciiWrite(buf,string,offset$2,length){return blitBuffer(asciiToBytes(string),buf,offset$2,length)}function base64Write(buf,string,offset$2,length){return blitBuffer(base64ToBytes(string),buf,offset$2,length)}function ucs2Write(buf,string,offset$2,length){return blitBuffer(utf16leToBytes(string,buf.length-offset$2),buf,offset$2,length)}Buffer$2.prototype.write=function(string,offset$2,length,encoding){if(offset$2===void 0)encoding=`utf8`,length=this.length,offset$2=0;else if(length===void 0&&typeof offset$2==`string`)encoding=offset$2,length=this.length,offset$2=0;else if(isFinite(offset$2))offset$2>>>=0,isFinite(length)?(length>>>=0,encoding===void 0&&(encoding=`utf8`)):(encoding=length,length=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let remaining=this.length-offset$2;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset$2<0)||offset$2>this.length)throw RangeError(`Attempt to write outside buffer bounds`);encoding||=`utf8`;let loweredCase=!1;for(;;)switch(encoding){case`hex`:return hexWrite(this,string,offset$2,length);case`utf8`:case`utf-8`:return utf8Write(this,string,offset$2,length);case`ascii`:case`latin1`:case`binary`:return asciiWrite(this,string,offset$2,length);case`base64`:return base64Write(this,string,offset$2,length);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return ucs2Write(this,string,offset$2,length);default:if(loweredCase)throw TypeError(`Unknown encoding: `+encoding);encoding=(``+encoding).toLowerCase(),loweredCase=!0}},Buffer$2.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);let res=[],i$4=start;for(;i$4<end;){let firstByte=buf[i$4],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i$4+bytesPerSequence<=end){let secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i$4+1],(secondByte&192)==128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i$4+1],thirdByte=buf[i$4+2],(secondByte&192)==128&&(thirdByte&192)==128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i$4+1],thirdByte=buf[i$4+2],fourthByte=buf[i$4+3],(secondByte&192)==128&&(thirdByte&192)==128&&(fourthByte&192)==128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i$4+=bytesPerSequence}return decodeCodePointsArray(res)}let MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){let len$2=codePoints.length;if(len$2<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);let res=``,i$4=0;for(;i$4<len$2;)res+=String.fromCharCode.apply(String,codePoints.slice(i$4,i$4+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){let ret=``;end=Math.min(buf.length,end);for(let i$4=start;i$4<end;++i$4)ret+=String.fromCharCode(buf[i$4]&127);return ret}function latin1Slice(buf,start,end){let ret=``;end=Math.min(buf.length,end);for(let i$4=start;i$4<end;++i$4)ret+=String.fromCharCode(buf[i$4]);return ret}function hexSlice(buf,start,end){let len$2=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len$2)&&(end=len$2);let out=``;for(let i$4=start;i$4<end;++i$4)out+=hexSliceLookupTable[buf[i$4]];return out}function utf16leSlice(buf,start,end){let bytes=buf.slice(start,end),res=``;for(let i$4=0;i$4<bytes.length-1;i$4+=2)res+=String.fromCharCode(bytes[i$4]+bytes[i$4+1]*256);return res}Buffer$2.prototype.slice=function(start,end){let len$2=this.length;start=~~start,end=end===void 0?len$2:~~end,start<0?(start+=len$2,start<0&&(start=0)):start>len$2&&(start=len$2),end<0?(end+=len$2,end<0&&(end=0)):end>len$2&&(end=len$2),end<start&&(end=start);let newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer$2.prototype),newBuf};function checkOffset(offset$2,ext,length){if(offset$2%1!=0||offset$2<0)throw RangeError(`offset is not uint`);if(offset$2+ext>length)throw RangeError(`Trying to access beyond buffer length`)}Buffer$2.prototype.readUintLE=Buffer$2.prototype.readUIntLE=function(offset$2,byteLength$3,noAssert){offset$2>>>=0,byteLength$3>>>=0,noAssert||checkOffset(offset$2,byteLength$3,this.length);let val=this[offset$2],mul=1,i$4=0;for(;++i$4<byteLength$3&&(mul*=256);)val+=this[offset$2+i$4]*mul;return val},Buffer$2.prototype.readUintBE=Buffer$2.prototype.readUIntBE=function(offset$2,byteLength$3,noAssert){offset$2>>>=0,byteLength$3>>>=0,noAssert||checkOffset(offset$2,byteLength$3,this.length);let val=this[offset$2+--byteLength$3],mul=1;for(;byteLength$3>0&&(mul*=256);)val+=this[offset$2+--byteLength$3]*mul;return val},Buffer$2.prototype.readUint8=Buffer$2.prototype.readUInt8=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,1,this.length),this[offset$2]},Buffer$2.prototype.readUint16LE=Buffer$2.prototype.readUInt16LE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,2,this.length),this[offset$2]|this[offset$2+1]<<8},Buffer$2.prototype.readUint16BE=Buffer$2.prototype.readUInt16BE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,2,this.length),this[offset$2]<<8|this[offset$2+1]},Buffer$2.prototype.readUint32LE=Buffer$2.prototype.readUInt32LE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,4,this.length),(this[offset$2]|this[offset$2+1]<<8|this[offset$2+2]<<16)+this[offset$2+3]*16777216},Buffer$2.prototype.readUint32BE=Buffer$2.prototype.readUInt32BE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,4,this.length),this[offset$2]*16777216+(this[offset$2+1]<<16|this[offset$2+2]<<8|this[offset$2+3])},Buffer$2.prototype.readBigUInt64LE=defineBigIntMethod(function(offset$2){offset$2>>>=0,validateNumber(offset$2,`offset`);let first=this[offset$2],last=this[offset$2+7];(first===void 0||last===void 0)&&boundsError(offset$2,this.length-8);let lo=first+this[++offset$2]*2**8+this[++offset$2]*2**16+this[++offset$2]*2**24,hi=this[++offset$2]+this[++offset$2]*2**8+this[++offset$2]*2**16+last*2**24;return BigInt(lo)+(BigInt(hi)<<BigInt(32))}),Buffer$2.prototype.readBigUInt64BE=defineBigIntMethod(function(offset$2){offset$2>>>=0,validateNumber(offset$2,`offset`);let first=this[offset$2],last=this[offset$2+7];(first===void 0||last===void 0)&&boundsError(offset$2,this.length-8);let hi=first*2**24+this[++offset$2]*2**16+this[++offset$2]*2**8+this[++offset$2],lo=this[++offset$2]*2**24+this[++offset$2]*2**16+this[++offset$2]*2**8+last;return(BigInt(hi)<<BigInt(32))+BigInt(lo)}),Buffer$2.prototype.readIntLE=function(offset$2,byteLength$3,noAssert){offset$2>>>=0,byteLength$3>>>=0,noAssert||checkOffset(offset$2,byteLength$3,this.length);let val=this[offset$2],mul=1,i$4=0;for(;++i$4<byteLength$3&&(mul*=256);)val+=this[offset$2+i$4]*mul;return mul*=128,val>=mul&&(val-=2**(8*byteLength$3)),val},Buffer$2.prototype.readIntBE=function(offset$2,byteLength$3,noAssert){offset$2>>>=0,byteLength$3>>>=0,noAssert||checkOffset(offset$2,byteLength$3,this.length);let i$4=byteLength$3,mul=1,val=this[offset$2+--i$4];for(;i$4>0&&(mul*=256);)val+=this[offset$2+--i$4]*mul;return mul*=128,val>=mul&&(val-=2**(8*byteLength$3)),val},Buffer$2.prototype.readInt8=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,1,this.length),this[offset$2]&128?(255-this[offset$2]+1)*-1:this[offset$2]},Buffer$2.prototype.readInt16LE=function(offset$2,noAssert){offset$2>>>=0,noAssert||checkOffset(offset$2,2,this.length);let val=this[offset$2]|this[offset$2+1]<<8;return val&32768?val|4294901760:val},Buffer$2.prototype.readInt16BE=function(offset$2,noAssert){offset$2>>>=0,noAssert||checkOffset(offset$2,2,this.length);let val=this[offset$2+1]|this[offset$2]<<8;return val&32768?val|4294901760:val},Buffer$2.prototype.readInt32LE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,4,this.length),this[offset$2]|this[offset$2+1]<<8|this[offset$2+2]<<16|this[offset$2+3]<<24},Buffer$2.prototype.readInt32BE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,4,this.length),this[offset$2]<<24|this[offset$2+1]<<16|this[offset$2+2]<<8|this[offset$2+3]},Buffer$2.prototype.readBigInt64LE=defineBigIntMethod(function(offset$2){offset$2>>>=0,validateNumber(offset$2,`offset`);let first=this[offset$2],last=this[offset$2+7];(first===void 0||last===void 0)&&boundsError(offset$2,this.length-8);let val=this[offset$2+4]+this[offset$2+5]*2**8+this[offset$2+6]*2**16+(last<<24);return(BigInt(val)<<BigInt(32))+BigInt(first+this[++offset$2]*2**8+this[++offset$2]*2**16+this[++offset$2]*2**24)}),Buffer$2.prototype.readBigInt64BE=defineBigIntMethod(function(offset$2){offset$2>>>=0,validateNumber(offset$2,`offset`);let first=this[offset$2],last=this[offset$2+7];(first===void 0||last===void 0)&&boundsError(offset$2,this.length-8);let val=(first<<24)+this[++offset$2]*2**16+this[++offset$2]*2**8+this[++offset$2];return(BigInt(val)<<BigInt(32))+BigInt(this[++offset$2]*2**24+this[++offset$2]*2**16+this[++offset$2]*2**8+last)}),Buffer$2.prototype.readFloatLE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,4,this.length),ieee754$1$1.read(this,offset$2,!0,23,4)},Buffer$2.prototype.readFloatBE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,4,this.length),ieee754$1$1.read(this,offset$2,!1,23,4)},Buffer$2.prototype.readDoubleLE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,8,this.length),ieee754$1$1.read(this,offset$2,!0,52,8)},Buffer$2.prototype.readDoubleBE=function(offset$2,noAssert){return offset$2>>>=0,noAssert||checkOffset(offset$2,8,this.length),ieee754$1$1.read(this,offset$2,!1,52,8)};function checkInt(buf,value,offset$2,ext,max$3,min$1){if(!Buffer$2.isBuffer(buf))throw TypeError(`"buffer" argument must be a Buffer instance`);if(value>max$3||value<min$1)throw RangeError(`"value" argument is out of bounds`);if(offset$2+ext>buf.length)throw RangeError(`Index out of range`)}Buffer$2.prototype.writeUintLE=Buffer$2.prototype.writeUIntLE=function(value,offset$2,byteLength$3,noAssert){if(value=+value,offset$2>>>=0,byteLength$3>>>=0,!noAssert){let maxBytes=2**(8*byteLength$3)-1;checkInt(this,value,offset$2,byteLength$3,maxBytes,0)}let mul=1,i$4=0;for(this[offset$2]=value&255;++i$4<byteLength$3&&(mul*=256);)this[offset$2+i$4]=value/mul&255;return offset$2+byteLength$3},Buffer$2.prototype.writeUintBE=Buffer$2.prototype.writeUIntBE=function(value,offset$2,byteLength$3,noAssert){if(value=+value,offset$2>>>=0,byteLength$3>>>=0,!noAssert){let maxBytes=2**(8*byteLength$3)-1;checkInt(this,value,offset$2,byteLength$3,maxBytes,0)}let i$4=byteLength$3-1,mul=1;for(this[offset$2+i$4]=value&255;--i$4>=0&&(mul*=256);)this[offset$2+i$4]=value/mul&255;return offset$2+byteLength$3},Buffer$2.prototype.writeUint8=Buffer$2.prototype.writeUInt8=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,1,255,0),this[offset$2]=value&255,offset$2+1},Buffer$2.prototype.writeUint16LE=Buffer$2.prototype.writeUInt16LE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,2,65535,0),this[offset$2]=value&255,this[offset$2+1]=value>>>8,offset$2+2},Buffer$2.prototype.writeUint16BE=Buffer$2.prototype.writeUInt16BE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,2,65535,0),this[offset$2]=value>>>8,this[offset$2+1]=value&255,offset$2+2},Buffer$2.prototype.writeUint32LE=Buffer$2.prototype.writeUInt32LE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,4,4294967295,0),this[offset$2+3]=value>>>24,this[offset$2+2]=value>>>16,this[offset$2+1]=value>>>8,this[offset$2]=value&255,offset$2+4},Buffer$2.prototype.writeUint32BE=Buffer$2.prototype.writeUInt32BE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,4,4294967295,0),this[offset$2]=value>>>24,this[offset$2+1]=value>>>16,this[offset$2+2]=value>>>8,this[offset$2+3]=value&255,offset$2+4};function wrtBigUInt64LE(buf,value,offset$2,min$1,max$3){checkIntBI(value,min$1,max$3,buf,offset$2,7);let lo=Number(value&BigInt(4294967295));buf[offset$2++]=lo,lo>>=8,buf[offset$2++]=lo,lo>>=8,buf[offset$2++]=lo,lo>>=8,buf[offset$2++]=lo;let hi=Number(value>>BigInt(32)&BigInt(4294967295));return buf[offset$2++]=hi,hi>>=8,buf[offset$2++]=hi,hi>>=8,buf[offset$2++]=hi,hi>>=8,buf[offset$2++]=hi,offset$2}function wrtBigUInt64BE(buf,value,offset$2,min$1,max$3){checkIntBI(value,min$1,max$3,buf,offset$2,7);let lo=Number(value&BigInt(4294967295));buf[offset$2+7]=lo,lo>>=8,buf[offset$2+6]=lo,lo>>=8,buf[offset$2+5]=lo,lo>>=8,buf[offset$2+4]=lo;let hi=Number(value>>BigInt(32)&BigInt(4294967295));return buf[offset$2+3]=hi,hi>>=8,buf[offset$2+2]=hi,hi>>=8,buf[offset$2+1]=hi,hi>>=8,buf[offset$2]=hi,offset$2+8}Buffer$2.prototype.writeBigUInt64LE=defineBigIntMethod(function(value,offset$2=0){return wrtBigUInt64LE(this,value,offset$2,BigInt(0),BigInt(`0xffffffffffffffff`))}),Buffer$2.prototype.writeBigUInt64BE=defineBigIntMethod(function(value,offset$2=0){return wrtBigUInt64BE(this,value,offset$2,BigInt(0),BigInt(`0xffffffffffffffff`))}),Buffer$2.prototype.writeIntLE=function(value,offset$2,byteLength$3,noAssert){if(value=+value,offset$2>>>=0,!noAssert){let limit=2**(8*byteLength$3-1);checkInt(this,value,offset$2,byteLength$3,limit-1,-limit)}let i$4=0,mul=1,sub=0;for(this[offset$2]=value&255;++i$4<byteLength$3&&(mul*=256);)value<0&&sub===0&&this[offset$2+i$4-1]!==0&&(sub=1),this[offset$2+i$4]=(value/mul>>0)-sub&255;return offset$2+byteLength$3},Buffer$2.prototype.writeIntBE=function(value,offset$2,byteLength$3,noAssert){if(value=+value,offset$2>>>=0,!noAssert){let limit=2**(8*byteLength$3-1);checkInt(this,value,offset$2,byteLength$3,limit-1,-limit)}let i$4=byteLength$3-1,mul=1,sub=0;for(this[offset$2+i$4]=value&255;--i$4>=0&&(mul*=256);)value<0&&sub===0&&this[offset$2+i$4+1]!==0&&(sub=1),this[offset$2+i$4]=(value/mul>>0)-sub&255;return offset$2+byteLength$3},Buffer$2.prototype.writeInt8=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,1,127,-128),value<0&&(value=255+value+1),this[offset$2]=value&255,offset$2+1},Buffer$2.prototype.writeInt16LE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,2,32767,-32768),this[offset$2]=value&255,this[offset$2+1]=value>>>8,offset$2+2},Buffer$2.prototype.writeInt16BE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,2,32767,-32768),this[offset$2]=value>>>8,this[offset$2+1]=value&255,offset$2+2},Buffer$2.prototype.writeInt32LE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,4,2147483647,-2147483648),this[offset$2]=value&255,this[offset$2+1]=value>>>8,this[offset$2+2]=value>>>16,this[offset$2+3]=value>>>24,offset$2+4},Buffer$2.prototype.writeInt32BE=function(value,offset$2,noAssert){return value=+value,offset$2>>>=0,noAssert||checkInt(this,value,offset$2,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset$2]=value>>>24,this[offset$2+1]=value>>>16,this[offset$2+2]=value>>>8,this[offset$2+3]=value&255,offset$2+4},Buffer$2.prototype.writeBigInt64LE=defineBigIntMethod(function(value,offset$2=0){return wrtBigUInt64LE(this,value,offset$2,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),Buffer$2.prototype.writeBigInt64BE=defineBigIntMethod(function(value,offset$2=0){return wrtBigUInt64BE(this,value,offset$2,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function checkIEEE754(buf,value,offset$2,ext,max$3,min$1){if(offset$2+ext>buf.length||offset$2<0)throw RangeError(`Index out of range`)}function writeFloat(buf,value,offset$2,littleEndian,noAssert){return value=+value,offset$2>>>=0,noAssert||checkIEEE754(buf,value,offset$2,4),ieee754$1$1.write(buf,value,offset$2,littleEndian,23,4),offset$2+4}Buffer$2.prototype.writeFloatLE=function(value,offset$2,noAssert){return writeFloat(this,value,offset$2,!0,noAssert)},Buffer$2.prototype.writeFloatBE=function(value,offset$2,noAssert){return writeFloat(this,value,offset$2,!1,noAssert)};function writeDouble(buf,value,offset$2,littleEndian,noAssert){return value=+value,offset$2>>>=0,noAssert||checkIEEE754(buf,value,offset$2,8),ieee754$1$1.write(buf,value,offset$2,littleEndian,52,8),offset$2+8}Buffer$2.prototype.writeDoubleLE=function(value,offset$2,noAssert){return writeDouble(this,value,offset$2,!0,noAssert)},Buffer$2.prototype.writeDoubleBE=function(value,offset$2,noAssert){return writeDouble(this,value,offset$2,!1,noAssert)},Buffer$2.prototype.copy=function(target,targetStart,start,end){if(!Buffer$2.isBuffer(target))throw TypeError(`argument should be a Buffer`);if(start||=0,!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||=0,end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw RangeError(`targetStart out of bounds`);if(start<0||start>=this.length)throw RangeError(`Index out of range`);if(end<0)throw RangeError(`sourceEnd out of bounds`);end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);let len$2=end-start;return this===target&&typeof GlobalUint8Array.prototype.copyWithin==`function`?this.copyWithin(targetStart,start,end):GlobalUint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len$2},Buffer$2.prototype.fill=function(val,start,end,encoding){if(typeof val==`string`){if(typeof start==`string`?(encoding=start,start=0,end=this.length):typeof end==`string`&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!=`string`)throw TypeError(`encoding must be a string`);if(typeof encoding==`string`&&!Buffer$2.isEncoding(encoding))throw TypeError(`Unknown encoding: `+encoding);if(val.length===1){let code$2=val.charCodeAt(0);(encoding===`utf8`&&code$2<128||encoding===`latin1`)&&(val=code$2)}}else typeof val==`number`?val&=255:typeof val==`boolean`&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw RangeError(`Out of range index`);if(end<=start)return this;start>>>=0,end=end===void 0?this.length:end>>>0,val||=0;let i$4;if(typeof val==`number`)for(i$4=start;i$4<end;++i$4)this[i$4]=val;else{let bytes=Buffer$2.isBuffer(val)?val:Buffer$2.from(val,encoding),len$2=bytes.length;if(len$2===0)throw TypeError(`The value "`+val+`" is invalid for argument "value"`);for(i$4=0;i$4<end-start;++i$4)this[i$4+start]=bytes[i$4%len$2]}return this};let errors={};function E(sym,getMessage,Base$1){errors[sym]=class extends Base$1{constructor(){super(),Object.defineProperty(this,`message`,{value:getMessage.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${sym}]`,this.stack,delete this.name}get code(){return sym}set code(value){Object.defineProperty(this,`code`,{configurable:!0,enumerable:!0,value,writable:!0})}toString(){return`${this.name} [${sym}]: ${this.message}`}}}E(`ERR_BUFFER_OUT_OF_BOUNDS`,function(name$1){return name$1?`${name$1} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),E(`ERR_INVALID_ARG_TYPE`,function(name$1,actual){return`The "${name$1}" argument must be of type number. Received type ${typeof actual}`},TypeError),E(`ERR_OUT_OF_RANGE`,function(str,range,input){let msg=`The value of "${str}" is out of range.`,received=input;return Number.isInteger(input)&&Math.abs(input)>2**32?received=addNumericalSeparator(String(input)):typeof input==`bigint`&&(received=String(input),(input>BigInt(2)**BigInt(32)||input<-(BigInt(2)**BigInt(32)))&&(received=addNumericalSeparator(received)),received+=`n`),msg+=` It must be ${range}. Received ${received}`,msg},RangeError);function addNumericalSeparator(val){let res=``,i$4=val.length,start=val[0]===`-`?1:0;for(;i$4>=start+4;i$4-=3)res=`_${val.slice(i$4-3,i$4)}${res}`;return`${val.slice(0,i$4)}${res}`}function checkBounds(buf,offset$2,byteLength$3){validateNumber(offset$2,`offset`),(buf[offset$2]===void 0||buf[offset$2+byteLength$3]===void 0)&&boundsError(offset$2,buf.length-(byteLength$3+1))}function checkIntBI(value,min$1,max$3,buf,offset$2,byteLength$3){if(value>max$3||value<min$1){let n$2=typeof min$1==`bigint`?`n`:``,range;throw range=byteLength$3>3?min$1===0||min$1===BigInt(0)?`>= 0${n$2} and < 2${n$2} ** ${(byteLength$3+1)*8}${n$2}`:`>= -(2${n$2} ** ${(byteLength$3+1)*8-1}${n$2}) and < 2 ** ${(byteLength$3+1)*8-1}${n$2}`:`>= ${min$1}${n$2} and <= ${max$3}${n$2}`,new errors.ERR_OUT_OF_RANGE(`value`,range,value)}checkBounds(buf,offset$2,byteLength$3)}function validateNumber(value,name$1){if(typeof value!=`number`)throw new errors.ERR_INVALID_ARG_TYPE(name$1,`number`,value)}function boundsError(value,length,type){throw Math.floor(value)===value?length<0?new errors.ERR_BUFFER_OUT_OF_BOUNDS:new errors.ERR_OUT_OF_RANGE(type||`offset`,`>= ${type?1:0} and <= ${length}`,value):(validateNumber(value,type),new errors.ERR_OUT_OF_RANGE(type||`offset`,`an integer`,value))}let INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split(`=`)[0],str=str.trim().replace(INVALID_BASE64_RE,``),str.length<2)return``;for(;str.length%4!=0;)str+=`=`;return str}function utf8ToBytes(string,units){units||=1/0;let codePoint,length=string.length,leadSurrogate=null,bytes=[];for(let i$4=0;i$4<length;++i$4){if(codePoint=string.charCodeAt(i$4),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i$4+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if(--units<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw Error(`Invalid code point`)}return bytes}function asciiToBytes(str){let byteArray=[];for(let i$4=0;i$4<str.length;++i$4)byteArray.push(str.charCodeAt(i$4)&255);return byteArray}function utf16leToBytes(str,units){let c$1,hi,lo,byteArray=[];for(let i$4=0;i$4<str.length&&!((units-=2)<0);++i$4)c$1=str.charCodeAt(i$4),hi=c$1>>8,lo=c$1%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src$1,dst,offset$2,length){let i$4;for(i$4=0;i$4<length&&!(i$4+offset$2>=dst.length||i$4>=src$1.length);++i$4)dst[i$4+offset$2]=src$1[i$4];return i$4}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}let hexSliceLookupTable=function(){let alphabet=`0123456789abcdef`,table=Array(256);for(let i$4=0;i$4<16;++i$4){let i16=i$4*16;for(let j$1=0;j$1<16;++j$1)table[i16+j$1]=alphabet[i$4]+alphabet[j$1]}return table}();function defineBigIntMethod(fn$1){return typeof BigInt>`u`?BufferBigIntNotDefined:fn$1}function BufferBigIntNotDefined(){throw Error(`BigInt not supported`)}}(buffer$1),Buffer$1=buffer$1.Buffer,Blob$1=buffer$1.Blob,BlobOptions=buffer$1.BlobOptions,Buffer$1$1=buffer$1.Buffer,File=buffer$1.File,FileOptions=buffer$1.FileOptions,INSPECT_MAX_BYTES=buffer$1.INSPECT_MAX_BYTES,SlowBuffer=buffer$1.SlowBuffer,TranscodeEncoding=buffer$1.TranscodeEncoding,atob$1=buffer$1.atob,btoa$1=buffer$1.btoa,constants$1=buffer$1.constants,isAscii=buffer$1.isAscii,isUtf8=buffer$1.isUtf8,kMaxLength=buffer$1.kMaxLength,kStringMaxLength=buffer$1.kStringMaxLength,resolveObjectURL=buffer$1.resolveObjectURL,transcode=buffer$1.transcode}),require_stringify$1=__commonJSMin((exports,module)=>{module.exports=function(...args$1){try{return JSON.stringify(...args$1)}catch(err$1){return`[Cannot display object: `+err$1.message+`]`}}}),require_error=__commonJSMin((exports,module)=>{let Stringify$1=require_stringify$1();module.exports=class extends Error{constructor(args$1){let msgs=args$1.filter(arg=>arg!==``).map(arg=>typeof arg==`string`?arg:arg instanceof Error?arg.message:Stringify$1(arg));super(msgs.join(` `)||`Unknown error`),typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,exports.assert)}}}),require_assert$1=__commonJSMin((exports,module)=>{let AssertError$3=require_error();module.exports=function(condition,...args$1){if(!condition)throw args$1.length===1&&args$1[0]instanceof Error?args$1[0]:new AssertError$3(args$1)}}),require_reach$1=__commonJSMin((exports,module)=>{let Assert$35=require_assert$1(),internals$52={};module.exports=function(obj,chain,options){if(chain===!1||chain==null)return obj;options||={},typeof options==`string`&&(options={separator:options});let isChainArray=Array.isArray(chain);Assert$35(!isChainArray||!options.separator,`Separator option is not valid for array-based chain`);let path=isChainArray?chain:chain.split(options.separator||`.`),ref=obj;for(let i$4=0;i$4<path.length;++i$4){let key=path[i$4],type=options.iterables&&internals$52.iterables(ref);if(Array.isArray(ref)||type===`set`){let number=Number(key);Number.isInteger(number)&&(key=number<0?ref.length+number:number)}if(!ref||typeof ref==`function`&&options.functions===!1||!type&&ref[key]===void 0){Assert$35(!options.strict||i$4+1===path.length,`Missing segment`,key,`in reach path `,chain),Assert$35(typeof ref==`object`||options.functions===!0||typeof ref!=`function`,`Invalid segment`,key,`in reach path `,chain),ref=options.default;break}ref=type?type===`set`?[...ref][key]:ref.get(key):ref[key]}return ref},internals$52.iterables=function(ref){if(ref instanceof Set)return`set`;if(ref instanceof Map)return`map`}}),require_types$2=__commonJSMin((exports,module)=>{init_dist$1();let internals$51={};exports=module.exports={array:Array.prototype,buffer:Buffer$1&&Buffer$1.prototype,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},internals$51.typeMap=new Map([[`[object Error]`,exports.error],[`[object Map]`,exports.map],[`[object Promise]`,exports.promise],[`[object Set]`,exports.set],[`[object WeakMap]`,exports.weakMap],[`[object WeakSet]`,exports.weakSet]]),exports.getInternalProto=function(obj){if(Array.isArray(obj))return exports.array;if(Buffer$1&&obj instanceof Buffer$1)return exports.buffer;if(obj instanceof Date)return exports.date;if(obj instanceof RegExp)return exports.regex;if(obj instanceof Error)return exports.error;let objName=Object.prototype.toString.call(obj);return internals$51.typeMap.get(objName)||exports.generic}}),require_utils$1=__commonJSMin(exports=>{exports.keys=function(obj,options={}){return options.symbols===!1?Object.getOwnPropertyNames(obj):Reflect.ownKeys(obj)}}),require_clone$1=__commonJSMin((exports,module)=>{init_dist$1();let Reach$8=require_reach$1(),Types$3=require_types$2(),Utils$4=require_utils$1(),internals$50={needsProtoHack:new Set([Types$3.set,Types$3.map,Types$3.weakSet,Types$3.weakMap])};module.exports=internals$50.clone=function(obj,options={},_seen=null){if(typeof obj!=`object`||!obj)return obj;let clone$4=internals$50.clone,seen=_seen;if(options.shallow){if(options.shallow!==!0)return internals$50.cloneWithShallow(obj,options);clone$4=value=>value}else if(seen){let lookup$2=seen.get(obj);if(lookup$2)return lookup$2}else seen=new Map;let baseProto=Types$3.getInternalProto(obj);if(baseProto===Types$3.buffer)return Buffer$1&&Buffer$1.from(obj);if(baseProto===Types$3.date)return new Date(obj.getTime());if(baseProto===Types$3.regex)return new RegExp(obj);let newObj=internals$50.base(obj,baseProto,options);if(newObj===obj)return obj;if(seen&&seen.set(obj,newObj),baseProto===Types$3.set)for(let value of obj)newObj.add(clone$4(value,options,seen));else if(baseProto===Types$3.map)for(let[key,value]of obj)newObj.set(key,clone$4(value,options,seen));let keys=Utils$4.keys(obj,options);for(let key of keys){if(key===`__proto__`)continue;if(baseProto===Types$3.array&&key===`length`){newObj.length=obj.length;continue}let descriptor=Object.getOwnPropertyDescriptor(obj,key);descriptor?descriptor.get||descriptor.set?Object.defineProperty(newObj,key,descriptor):descriptor.enumerable?newObj[key]=clone$4(obj[key],options,seen):Object.defineProperty(newObj,key,{enumerable:!1,writable:!0,configurable:!0,value:clone$4(obj[key],options,seen)}):Object.defineProperty(newObj,key,{enumerable:!0,writable:!0,configurable:!0,value:clone$4(obj[key],options,seen)})}return newObj},internals$50.cloneWithShallow=function(source,options){let keys=options.shallow;options=Object.assign({},options),options.shallow=!1;let seen=new Map;for(let key of keys){let ref=Reach$8(source,key);(typeof ref==`object`||typeof ref==`function`)&&seen.set(ref,ref)}return internals$50.clone(source,options,seen)},internals$50.base=function(obj,baseProto,options){if(options.prototype===!1)return internals$50.needsProtoHack.has(baseProto)?new baseProto.constructor:baseProto===Types$3.array?[]:{};let proto=Object.getPrototypeOf(obj);if(proto&&proto.isImmutable)return obj;if(baseProto===Types$3.array){let newObj=[];return proto!==baseProto&&Object.setPrototypeOf(newObj,proto),newObj}if(internals$50.needsProtoHack.has(baseProto)){let newObj=new proto.constructor;return proto!==baseProto&&Object.setPrototypeOf(newObj,proto),newObj}return Object.create(proto)}}),package_exports={};__export(package_exports,{browser:()=>browser$1,default:()=>package_default,dependencies:()=>dependencies,description:()=>description,devDependencies:()=>devDependencies,files:()=>files,keywords:()=>keywords,license:()=>license,main:()=>main,name:()=>name,repository:()=>repository,scripts:()=>scripts,types:()=>types,version:()=>version$2});var name,description,version$2,repository,main,types,browser$1,files,keywords,dependencies,devDependencies,scripts,license,package_default,init_package=__esmMin(()=>{name=`joi`,description=`Object schema validation`,version$2=`17.13.3`,repository=`git://github.com/hapijs/joi`,main=`lib/index.js`,types=`lib/index.d.ts`,browser$1=`dist/joi-browser.min.js`,files=[`lib/**/*`,`dist/*`],keywords=[`schema`,`validation`],dependencies={"@hapi/hoek":`^9.3.0`,"@hapi/topo":`^5.1.0`,"@sideway/address":`^4.1.5`,"@sideway/formula":`^3.0.1`,"@sideway/pinpoint":`^2.0.0`},devDependencies={"@hapi/bourne":`2.x.x`,"@hapi/code":`8.x.x`,"@hapi/joi-legacy-test":`npm:@hapi/joi@15.x.x`,"@hapi/lab":`^25.1.3`,"@types/node":`^14.18.63`,typescript:`4.3.x`},scripts={prepublishOnly:`cd browser && npm install && npm run build`,test:`lab -t 100 -a @hapi/code -L -Y`,"test-cov-html":`lab -r html -o coverage.html -a @hapi/code`},license=`BSD-3-Clause`,package_default={name,description,version:version$2,repository,main,types,browser:browser$1,files,keywords,dependencies,devDependencies,scripts,license}}),require_schemas=__commonJSMin(exports=>{let Joi$1=require_lib$2(),internals$49={};internals$49.wrap=Joi$1.string().min(1).max(2).allow(!1),exports.preferences=Joi$1.object({allowUnknown:Joi$1.boolean(),abortEarly:Joi$1.boolean(),artifacts:Joi$1.boolean(),cache:Joi$1.boolean(),context:Joi$1.object(),convert:Joi$1.boolean(),dateFormat:Joi$1.valid(`date`,`iso`,`string`,`time`,`utc`),debug:Joi$1.boolean(),errors:{escapeHtml:Joi$1.boolean(),label:Joi$1.valid(`path`,`key`,!1),language:[Joi$1.string(),Joi$1.object().ref()],render:Joi$1.boolean(),stack:Joi$1.boolean(),wrap:{label:internals$49.wrap,array:internals$49.wrap,string:internals$49.wrap}},externals:Joi$1.boolean(),messages:Joi$1.object(),noDefaults:Joi$1.boolean(),nonEnumerables:Joi$1.boolean(),presence:Joi$1.valid(`required`,`optional`,`forbidden`),skipFunctions:Joi$1.boolean(),stripUnknown:Joi$1.object({arrays:Joi$1.boolean(),objects:Joi$1.boolean()}).or(`arrays`,`objects`).allow(!0,!1),warnings:Joi$1.boolean()}).strict(),internals$49.nameRx=/^[a-zA-Z0-9]\w*$/,internals$49.rule=Joi$1.object({alias:Joi$1.array().items(Joi$1.string().pattern(internals$49.nameRx)).single(),args:Joi$1.array().items(Joi$1.string(),Joi$1.object({name:Joi$1.string().pattern(internals$49.nameRx).required(),ref:Joi$1.boolean(),assert:Joi$1.alternatives([Joi$1.function(),Joi$1.object().schema()]).conditional(`ref`,{is:!0,then:Joi$1.required()}),normalize:Joi$1.function(),message:Joi$1.string().when(`assert`,{is:Joi$1.function(),then:Joi$1.required()})})),convert:Joi$1.boolean(),manifest:Joi$1.boolean(),method:Joi$1.function().allow(!1),multi:Joi$1.boolean(),validate:Joi$1.function()}),exports.extension=Joi$1.object({type:Joi$1.alternatives([Joi$1.string(),Joi$1.object().regex()]).required(),args:Joi$1.function(),cast:Joi$1.object().pattern(internals$49.nameRx,Joi$1.object({from:Joi$1.function().maxArity(1).required(),to:Joi$1.function().minArity(1).maxArity(2).required()})),base:Joi$1.object().schema().when(`type`,{is:Joi$1.object().regex(),then:Joi$1.forbidden()}),coerce:[Joi$1.function().maxArity(3),Joi$1.object({method:Joi$1.function().maxArity(3).required(),from:Joi$1.array().items(Joi$1.string()).single()})],flags:Joi$1.object().pattern(internals$49.nameRx,Joi$1.object({setter:Joi$1.string(),default:Joi$1.any()})),manifest:{build:Joi$1.function().arity(2)},messages:[Joi$1.object(),Joi$1.string()],modifiers:Joi$1.object().pattern(internals$49.nameRx,Joi$1.function().minArity(1).maxArity(2)),overrides:Joi$1.object().pattern(internals$49.nameRx,Joi$1.function()),prepare:Joi$1.function().maxArity(3),rebuild:Joi$1.function().arity(1),rules:Joi$1.object().pattern(internals$49.nameRx,internals$49.rule),terms:Joi$1.object().pattern(internals$49.nameRx,Joi$1.object({init:Joi$1.array().allow(null).required(),manifest:Joi$1.object().pattern(/.+/,[Joi$1.valid(`schema`,`single`),Joi$1.object({mapped:Joi$1.object({from:Joi$1.string().required(),to:Joi$1.string().required()}).required()})])})),validate:Joi$1.function().maxArity(3)}).strict(),exports.extensions=Joi$1.array().items(Joi$1.object(),Joi$1.function().arity(1)).strict(),internals$49.desc={buffer:Joi$1.object({buffer:Joi$1.string()}),func:Joi$1.object({function:Joi$1.function().required(),options:{literal:!0}}),override:Joi$1.object({override:!0}),ref:Joi$1.object({ref:Joi$1.object({type:Joi$1.valid(`value`,`global`,`local`),path:Joi$1.array().required(),separator:Joi$1.string().length(1).allow(!1),ancestor:Joi$1.number().min(0).integer().allow(`root`),map:Joi$1.array().items(Joi$1.array().length(2)).min(1),adjust:Joi$1.function(),iterables:Joi$1.boolean(),in:Joi$1.boolean(),render:Joi$1.boolean()}).required()}),regex:Joi$1.object({regex:Joi$1.string().min(3)}),special:Joi$1.object({special:Joi$1.valid(`deep`).required()}),template:Joi$1.object({template:Joi$1.string().required(),options:Joi$1.object()}),value:Joi$1.object({value:Joi$1.alternatives([Joi$1.object(),Joi$1.array()]).required()})},internals$49.desc.entity=Joi$1.alternatives([Joi$1.array().items(Joi$1.link(`...`)),Joi$1.boolean(),Joi$1.function(),Joi$1.number(),Joi$1.string(),internals$49.desc.buffer,internals$49.desc.func,internals$49.desc.ref,internals$49.desc.regex,internals$49.desc.special,internals$49.desc.template,internals$49.desc.value,Joi$1.link(`/`)]),internals$49.desc.values=Joi$1.array().items(null,Joi$1.boolean(),Joi$1.function(),Joi$1.number().allow(1/0,-1/0),Joi$1.string().allow(``),Joi$1.symbol(),internals$49.desc.buffer,internals$49.desc.func,internals$49.desc.override,internals$49.desc.ref,internals$49.desc.regex,internals$49.desc.template,internals$49.desc.value),internals$49.desc.messages=Joi$1.object().pattern(/.+/,[Joi$1.string(),internals$49.desc.template,Joi$1.object().pattern(/.+/,[Joi$1.string(),internals$49.desc.template])]),exports.description=Joi$1.object({type:Joi$1.string().required(),flags:Joi$1.object({cast:Joi$1.string(),default:Joi$1.any(),description:Joi$1.string(),empty:Joi$1.link(`/`),failover:internals$49.desc.entity,id:Joi$1.string(),label:Joi$1.string(),only:!0,presence:[`optional`,`required`,`forbidden`],result:[`raw`,`strip`],strip:Joi$1.boolean(),unit:Joi$1.string()}).unknown(),preferences:{allowUnknown:Joi$1.boolean(),abortEarly:Joi$1.boolean(),artifacts:Joi$1.boolean(),cache:Joi$1.boolean(),convert:Joi$1.boolean(),dateFormat:[`date`,`iso`,`string`,`time`,`utc`],errors:{escapeHtml:Joi$1.boolean(),label:[`path`,`key`],language:[Joi$1.string(),internals$49.desc.ref],wrap:{label:internals$49.wrap,array:internals$49.wrap}},externals:Joi$1.boolean(),messages:internals$49.desc.messages,noDefaults:Joi$1.boolean(),nonEnumerables:Joi$1.boolean(),presence:[`required`,`optional`,`forbidden`],skipFunctions:Joi$1.boolean(),stripUnknown:Joi$1.object({arrays:Joi$1.boolean(),objects:Joi$1.boolean()}).or(`arrays`,`objects`).allow(!0,!1),warnings:Joi$1.boolean()},allow:internals$49.desc.values,invalid:internals$49.desc.values,rules:Joi$1.array().min(1).items({name:Joi$1.string().required(),args:Joi$1.object().min(1),keep:Joi$1.boolean(),message:[Joi$1.string(),internals$49.desc.messages],warn:Joi$1.boolean()}),keys:Joi$1.object().pattern(/.*/,Joi$1.link(`/`)),link:internals$49.desc.ref}).pattern(/^[a-z]\w*$/,Joi$1.any())}),require_escapeHtml$1=__commonJSMin((exports,module)=>{let internals$48={};module.exports=function(input){if(!input)return``;let escaped=``;for(let i$4=0;i$4<input.length;++i$4){let charCode=input.charCodeAt(i$4);internals$48.isSafe(charCode)?escaped+=input[i$4]:escaped+=internals$48.escapeHtmlChar(charCode)}return escaped},internals$48.escapeHtmlChar=function(charCode){let namedEscape=internals$48.namedHtml.get(charCode);if(namedEscape)return namedEscape;if(charCode>=256)return`&#`+charCode+`;`;let hexValue=charCode.toString(16).padStart(2,`0`);return`&#x${hexValue};`},internals$48.isSafe=function(charCode){return internals$48.safeCharCodes.has(charCode)},internals$48.namedHtml=new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[34,`&quot;`],[160,`&nbsp;`],[162,`&cent;`],[163,`&pound;`],[164,`&curren;`],[169,`&copy;`],[174,`&reg;`]]),internals$48.safeCharCodes=function(){let safe=new Set;for(let i$4=32;i$4<123;++i$4)(i$4>=97||i$4>=65&&i$4<=90||i$4>=48&&i$4<=57||i$4===32||i$4===46||i$4===44||i$4===45||i$4===58||i$4===95)&&safe.add(i$4);return safe}()}),require_lib$5=__commonJSMin(exports=>{let internals$47={operators:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`<=`,`>`,`>=`,`==`,`!=`,`&&`,`||`,`??`],operatorCharacters:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`=`,`>`,`&`,`|`,`?`],operatorsOrder:[[`^`],[`*`,`/`,`%`],[`+`,`-`],[`<`,`<=`,`>`,`>=`],[`==`,`!=`],[`&&`],[`||`,`??`]],operatorsPrefix:[`!`,`n`],literals:{'"':`"`,"`":"`","'":`'`,"[":`]`},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol(`formula`),settings:Symbol(`settings`)};exports.Parser=class{constructor(string,options={}){if(!options[internals$47.settings]&&options.constants)for(let constant in options.constants){let value=options.constants[constant];if(value!==null&&![`boolean`,`number`,`string`].includes(typeof value))throw Error(`Formula constant ${constant} contains invalid ${typeof value} value type`)}this.settings=options[internals$47.settings]?options:Object.assign({[internals$47.settings]:!0,constants:{},functions:{}},options),this.single=null,this._parts=null,this._parse(string)}_parse(string){let parts=[],current=``,parenthesis=0,literal=!1,flush=inner=>{if(parenthesis)throw Error(`Formula missing closing parenthesis`);let last=parts.length?parts[parts.length-1]:null;if(!(!literal&&!current&&!inner)){if(last&&last.type===`reference`&&inner===`)`){last.type=`function`,last.value=this._subFormula(current,last.value),current=``;return}if(inner===`)`){let sub=new exports.Parser(current,this.settings);parts.push({type:`segment`,value:sub})}else if(literal){if(literal===`]`){parts.push({type:`reference`,value:current}),current=``;return}parts.push({type:`literal`,value:current})}else if(internals$47.operatorCharacters.includes(current))last&&last.type===`operator`&&internals$47.operators.includes(last.value+current)?last.value+=current:parts.push({type:`operator`,value:current});else if(current.match(internals$47.numberRx))parts.push({type:`constant`,value:parseFloat(current)});else if(this.settings.constants[current]!==void 0)parts.push({type:`constant`,value:this.settings.constants[current]});else{if(!current.match(internals$47.tokenRx))throw Error(`Formula contains invalid token: ${current}`);parts.push({type:`reference`,value:current})}current=``}};for(let c$1 of string)literal?c$1===literal?(flush(),literal=!1):current+=c$1:parenthesis?c$1===`(`?(current+=c$1,++parenthesis):c$1===`)`?(--parenthesis,parenthesis?current+=c$1:flush(c$1)):current+=c$1:c$1 in internals$47.literals?literal=internals$47.literals[c$1]:c$1===`(`?(flush(),++parenthesis):internals$47.operatorCharacters.includes(c$1)?(flush(),current=c$1,flush()):c$1===` `?flush():current+=c$1;flush(),parts=parts.map((part,i$4)=>part.type!==`operator`||part.value!==`-`||i$4&&parts[i$4-1].type!==`operator`?part:{type:`operator`,value:`n`});let operator=!1;for(let part of parts){if(part.type===`operator`){if(internals$47.operatorsPrefix.includes(part.value))continue;if(!operator)throw Error(`Formula contains an operator in invalid position`);if(!internals$47.operators.includes(part.value))throw Error(`Formula contains an unknown operator ${part.value}`)}else if(operator)throw Error(`Formula missing expected operator`);operator=!operator}if(!operator)throw Error(`Formula contains invalid trailing operator`);parts.length===1&&[`reference`,`literal`,`constant`].includes(parts[0].type)&&(this.single={type:parts[0].type===`reference`?`reference`:`value`,value:parts[0].value}),this._parts=parts.map(part=>{if(part.type===`operator`)return internals$47.operatorsPrefix.includes(part.value)?part:part.value;if(part.type!==`reference`)return part.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(part.value))throw Error(`Formula contains invalid reference ${part.value}`);return this.settings.reference?this.settings.reference(part.value):internals$47.reference(part.value)})}_subFormula(string,name$1){let method=this.settings.functions[name$1];if(typeof method!=`function`)throw Error(`Formula contains unknown function ${name$1}`);let args$1=[];if(string){let current=``,parenthesis=0,literal=!1,flush=()=>{if(!current)throw Error(`Formula contains function ${name$1} with invalid arguments ${string}`);args$1.push(current),current=``};for(let i$4=0;i$4<string.length;++i$4){let c$1=string[i$4];literal?(current+=c$1,c$1===literal&&(literal=!1)):c$1 in internals$47.literals&&!parenthesis?(current+=c$1,literal=internals$47.literals[c$1]):c$1===`,`&&!parenthesis?flush():(current+=c$1,c$1===`(`?++parenthesis:c$1===`)`&&--parenthesis)}flush()}return args$1=args$1.map(arg=>new exports.Parser(arg,this.settings)),function(context){let innerValues=[];for(let arg of args$1)innerValues.push(arg.evaluate(context));return method.call(context,...innerValues)}}evaluate(context){let parts=this._parts.slice();for(let i$4=parts.length-2;i$4>=0;--i$4){let part=parts[i$4];if(part&&part.type===`operator`){let current=parts[i$4+1];parts.splice(i$4+1,1);let value=internals$47.evaluate(current,context);parts[i$4]=internals$47.single(part.value,value)}}return internals$47.operatorsOrder.forEach(set=>{for(let i$4=1;i$4<parts.length-1;)if(set.includes(parts[i$4])){let operator=parts[i$4],left=internals$47.evaluate(parts[i$4-1],context),right=internals$47.evaluate(parts[i$4+1],context);parts.splice(i$4,2);let result=internals$47.calculate(operator,left,right);parts[i$4-1]=result===0?0:result}else i$4+=2}),internals$47.evaluate(parts[0],context)}},exports.Parser.prototype[internals$47.symbol]=!0,internals$47.reference=function(name$1){return function(context){return context&&context[name$1]!==void 0?context[name$1]:null}},internals$47.evaluate=function(part,context){return part===null?null:typeof part==`function`?part(context):part[internals$47.symbol]?part.evaluate(context):part},internals$47.single=function(operator,value){if(operator===`!`)return!value;let negative=-value;return negative===0?0:negative},internals$47.calculate=function(operator,left,right){if(operator===`??`)return internals$47.exists(left)?left:right;if(typeof left==`string`||typeof right==`string`){if(operator===`+`)return left=internals$47.exists(left)?left:``,right=internals$47.exists(right)?right:``,left+right}else switch(operator){case`^`:return left**+right;case`*`:return left*right;case`/`:return left/right;case`%`:return left%right;case`+`:return left+right;case`-`:return left-right}switch(operator){case`<`:return left<right;case`<=`:return left<=right;case`>`:return left>right;case`>=`:return left>=right;case`==`:return left===right;case`!=`:return left!==right;case`&&`:return left&&right;case`||`:return left||right}return null},internals$47.exists=function(value){return value!=null}}),require_annotate=__commonJSMin(exports=>{let Clone$15=require_clone$1(),Common$23=require_common(),internals$46={annotations:Symbol(`annotations`)};exports.error=function(stripColorCodes){if(!this._original||typeof this._original!=`object`)return this.details[0].message;let redFgEscape=stripColorCodes?``:`\x1B[31m`,redBgEscape=stripColorCodes?``:`\x1B[41m`,endColor=stripColorCodes?``:`\x1B[0m`,obj=Clone$15(this._original);for(let i$4=this.details.length-1;i$4>=0;--i$4){let pos=i$4+1,error=this.details[i$4],path=error.path,node=obj;for(let j$1=0;;++j$1){let seg=path[j$1];if(Common$23.isSchema(node)&&(node=node.clone()),j$1+1<path.length&&typeof node[seg]!=`string`)node=node[seg];else{let refAnnotations=node[internals$46.annotations]||{errors:{},missing:{}};node[internals$46.annotations]=refAnnotations;let cacheKey=seg||error.context.key;node[seg]===void 0?refAnnotations.missing[cacheKey]=pos:(refAnnotations.errors[cacheKey]=refAnnotations.errors[cacheKey]||[],refAnnotations.errors[cacheKey].push(pos));break}}}let replacers={key:/_\$key\$_([, \d]+)_\$end\$_"/g,missing:/"_\$miss\$_([^|]+)\|(\d+)_\$end\$_": "__missing__"/g,arrayIndex:/\s*"_\$idx\$_([, \d]+)_\$end\$_",?\n(.*)/g,specials:/"\[(NaN|Symbol.*|-?Infinity|function.*|\(.*)]"/g},message=internals$46.safeStringify(obj,2).replace(replacers.key,($0,$1)=>`" ${redFgEscape}[${$1}]${endColor}`).replace(replacers.missing,($0,$1,$2)=>`${redBgEscape}"${$1}"${endColor}${redFgEscape} [${$2}]: -- missing --${endColor}`).replace(replacers.arrayIndex,($0,$1,$2)=>`\n${$2} ${redFgEscape}[${$1}]${endColor}`).replace(replacers.specials,($0,$1)=>$1);message=`${message}\n${redFgEscape}`;for(let i$4=0;i$4<this.details.length;++i$4){let pos=i$4+1;message=`${message}\n[${pos}] ${this.details[i$4].message}`}return message+=endColor,message},internals$46.safeStringify=function(obj,spaces){return JSON.stringify(obj,internals$46.serializer(),spaces)},internals$46.serializer=function(){let keys=[],stack=[],cycleReplacer=(key,value)=>stack[0]===value?`[Circular ~]`:`[Circular ~.`+keys.slice(0,stack.indexOf(value)).join(`.`)+`]`;return function(key,value){if(stack.length>0){let thisPos=stack.indexOf(this);~thisPos?(stack.length=thisPos+1,keys.length=thisPos+1,keys[thisPos]=key):(stack.push(this),keys.push(key)),~stack.indexOf(value)&&(value=cycleReplacer.call(this,key,value))}else stack.push(value);if(value){let annotations=value[internals$46.annotations];if(annotations){if(Array.isArray(value)){let annotated=[];for(let i$4=0;i$4<value.length;++i$4)annotations.errors[i$4]&&annotated.push(`_$idx$_${annotations.errors[i$4].sort().join(`, `)}_$end$_`),annotated.push(value[i$4]);value=annotated}else{for(let errorKey in annotations.errors)value[`${errorKey}_$key$_${annotations.errors[errorKey].sort().join(`, `)}_$end$_`]=value[errorKey],value[errorKey]=void 0;for(let missingKey in annotations.missing)value[`_$miss$_${missingKey}|${annotations.missing[missingKey]}_$end$_`]=`__missing__`}return value}}return value===1/0||value===-1/0||Number.isNaN(value)||typeof value==`function`||typeof value==`symbol`?`[`+value.toString()+`]`:value}}}),require_errors$1=__commonJSMin(exports=>{let Annotate=require_annotate(),Common$22=require_common(),Template$6=require_template();exports.Report=class{constructor(code$2,value,local,flags,messages$2,state,prefs){if(this.code=code$2,this.flags=flags,this.messages=messages$2,this.path=state.path,this.prefs=prefs,this.state=state,this.value=value,this.message=null,this.template=null,this.local=local||{},this.local.label=exports.label(this.flags,this.state,this.prefs,this.messages),this.value!==void 0&&!this.local.hasOwnProperty(`value`)&&(this.local.value=this.value),this.path.length){let key=this.path[this.path.length-1];typeof key!=`object`&&(this.local.key=key)}}_setTemplate(template){if(this.template=template,!this.flags.label&&this.path.length===0){let localized=this._template(this.template,`root`);localized&&(this.local.label=localized)}}toString(){if(this.message)return this.message;let code$2=this.code;if(!this.prefs.errors.render)return this.code;let template=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return template===void 0?`Error code "${code$2}" is not defined, your custom type is missing the correct messages definition`:(this.message=template.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,``).trim()),this.message)}_template(messages$2,code$2){return exports.template(this.value,messages$2,code$2||this.code,this.state,this.prefs)}},exports.path=function(path){let label=``;for(let segment of path){if(typeof segment==`object`)continue;typeof segment==`string`?(label&&(label+=`.`),label+=segment):label+=`[${segment}]`}return label},exports.template=function(value,messages$2,code$2,state,prefs){if(!messages$2)return;if(Template$6.isTemplate(messages$2))return code$2===`root`?null:messages$2;let lang=prefs.errors.language;if(Common$22.isResolvable(lang)&&(lang=lang.resolve(value,state,prefs)),lang&&messages$2[lang]){if(messages$2[lang][code$2]!==void 0)return messages$2[lang][code$2];if(messages$2[lang][`*`]!==void 0)return messages$2[lang][`*`]}return messages$2[code$2]?messages$2[code$2]:messages$2[`*`]},exports.label=function(flags,state,prefs,messages$2){if(!prefs.errors.label)return``;if(flags.label)return flags.label;let path=state.path;prefs.errors.label===`key`&&state.path.length>1&&(path=state.path.slice(-1));let normalized=exports.path(path);return normalized||exports.template(null,prefs.messages,`root`,state,prefs)||messages$2&&exports.template(null,messages$2,`root`,state,prefs)||`value`},exports.process=function(errors,original,prefs){if(!errors)return null;let{override,message,details}=exports.details(errors);if(override)return override;if(prefs.errors.stack)return new exports.ValidationError(message,details,original);let limit=Error.stackTraceLimit;Error.stackTraceLimit=0;let validationError=new exports.ValidationError(message,details,original);return Error.stackTraceLimit=limit,validationError},exports.details=function(errors,options={}){let messages$2=[],details=[];for(let item of errors){if(item instanceof Error){if(options.override!==!1)return{override:item};let message$1=item.toString();messages$2.push(message$1),details.push({message:message$1,type:`override`,context:{error:item}});continue}let message=item.toString();messages$2.push(message),details.push({message,path:item.path.filter(v=>typeof v!=`object`),type:item.code,context:item.local})}return messages$2.length>1&&(messages$2=[...new Set(messages$2)]),{message:messages$2.join(`. `),details}},exports.ValidationError=class extends Error{constructor(message,details,original){super(message),this._original=original,this.details=details}static isError(err$1){return err$1 instanceof exports.ValidationError}},exports.ValidationError.prototype.isJoi=!0,exports.ValidationError.prototype.name=`ValidationError`,exports.ValidationError.prototype.annotate=Annotate.error}),require_ref$1=__commonJSMin(exports=>{let Assert$34=require_assert$1(),Clone$14=require_clone$1(),Reach$7=require_reach$1(),Common$21=require_common(),Template$5,internals$45={symbol:Symbol(`ref`),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:`.`,type:`value`}};exports.create=function(key,options={}){Assert$34(typeof key==`string`,`Invalid reference key:`,key),Common$21.assertOptions(options,[`adjust`,`ancestor`,`in`,`iterables`,`map`,`prefix`,`render`,`separator`]),Assert$34(!options.prefix||typeof options.prefix==`object`,`options.prefix must be of type object`);let ref=Object.assign({},internals$45.defaults,options);delete ref.prefix;let separator=ref.separator,context=internals$45.context(key,separator,options.prefix);if(ref.type=context.type,key=context.key,ref.type===`value`)if(context.root&&(Assert$34(!separator||key[0]!==separator,`Cannot specify relative path with root prefix`),ref.ancestor=`root`,key||=null),separator&&separator===key)key=null,ref.ancestor=0;else if(ref.ancestor!==void 0)Assert$34(!separator||!key||key[0]!==separator,`Cannot combine prefix with ancestor option`);else{let[ancestor,slice]=internals$45.ancestor(key,separator);slice&&(key=key.slice(slice),key===``&&(key=null)),ref.ancestor=ancestor}return ref.path=separator?key===null?[]:key.split(separator):[key],new internals$45.Ref(ref)},exports.in=function(key,options={}){return exports.create(key,{...options,in:!0})},exports.isRef=function(ref){return ref?!!ref[Common$21.symbols.ref]:!1},internals$45.Ref=class{constructor(options){Assert$34(typeof options==`object`,`Invalid reference construction`),Common$21.assertOptions(options,[`adjust`,`ancestor`,`in`,`iterables`,`map`,`path`,`render`,`separator`,`type`,`depth`,`key`,`root`,`display`]),Assert$34([!1,void 0].includes(options.separator)||typeof options.separator==`string`&&options.separator.length===1,`Invalid separator`),Assert$34(!options.adjust||typeof options.adjust==`function`,`options.adjust must be a function`),Assert$34(!options.map||Array.isArray(options.map),`options.map must be an array`),Assert$34(!options.map||!options.adjust,`Cannot set both map and adjust options`),Object.assign(this,internals$45.defaults,options),Assert$34(this.type===`value`||this.ancestor===void 0,`Non-value references cannot reference ancestors`),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(value,state,prefs,local,options={}){return Assert$34(!this.in||options.in,`Invalid in() reference usage`),this.type===`global`?this._resolve(prefs.context,state,options):this.type===`local`?this._resolve(local,state,options):this.ancestor?this.ancestor===`root`?this._resolve(state.ancestors[state.ancestors.length-1],state,options):(Assert$34(this.ancestor<=state.ancestors.length,`Invalid reference exceeds the schema root:`,this.display),this._resolve(state.ancestors[this.ancestor-1],state,options)):this._resolve(value,state,options)}_resolve(target,state,options){let resolved;if(this.type===`value`&&state.mainstay.shadow&&options.shadow!==!1&&(resolved=state.mainstay.shadow.get(this.absolute(state))),resolved===void 0&&(resolved=Reach$7(target,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(resolved=this.adjust(resolved)),this.map){let mapped=this.map.get(resolved);mapped!==void 0&&(resolved=mapped)}return state.mainstay&&state.mainstay.tracer.resolve(state,this,resolved),resolved}toString(){return this.display}absolute(state){return[...state.path.slice(0,-this.ancestor),...this.path]}clone(){return new internals$45.Ref(this)}describe(){let ref={path:this.path};this.type!==`value`&&(ref.type=this.type),this.separator!==`.`&&(ref.separator=this.separator),this.type===`value`&&this.ancestor!==1&&(ref.ancestor=this.ancestor),this.map&&(ref.map=[...this.map]);for(let key of[`adjust`,`iterables`,`render`])this[key]!==null&&this[key]!==void 0&&(ref[key]=this[key]);return this.in!==!1&&(ref.in=!0),{ref}}updateDisplay(){let key=this.key===null?``:this.key;if(this.type!==`value`){this.display=`ref:${this.type}:${key}`;return}if(!this.separator){this.display=`ref:${key}`;return}if(!this.ancestor){this.display=`ref:${this.separator}${key}`;return}if(this.ancestor===`root`){this.display=`ref:root:${key}`;return}if(this.ancestor===1){this.display=`ref:${key||`..`}`;return}let lead=Array(this.ancestor+1).fill(this.separator).join(``);this.display=`ref:${lead}${key||``}`}},internals$45.Ref.prototype[Common$21.symbols.ref]=!0,exports.build=function(desc$1){return desc$1=Object.assign({},internals$45.defaults,desc$1),desc$1.type===`value`&&desc$1.ancestor===void 0&&(desc$1.ancestor=1),new internals$45.Ref(desc$1)},internals$45.context=function(key,separator,prefix={}){if(key=key.trim(),prefix){let globalp=prefix.global===void 0?`$`:prefix.global;if(globalp!==separator&&key.startsWith(globalp))return{key:key.slice(globalp.length),type:`global`};let local=prefix.local===void 0?`#`:prefix.local;if(local!==separator&&key.startsWith(local))return{key:key.slice(local.length),type:`local`};let root=prefix.root===void 0?`/`:prefix.root;if(root!==separator&&key.startsWith(root))return{key:key.slice(root.length),type:`value`,root:!0}}return{key,type:`value`}},internals$45.ancestor=function(key,separator){if(!separator||key[0]!==separator)return[1,0];if(key[1]!==separator)return[0,1];let i$4=2;for(;key[i$4]===separator;)++i$4;return[i$4-1,i$4]},exports.toSibling=0,exports.toParent=1,exports.Manager=class{constructor(){this.refs=[]}register(source,target){if(source){if(target=target===void 0?exports.toParent:target,Array.isArray(source)){for(let ref of source)this.register(ref,target);return}if(Common$21.isSchema(source)){for(let item of source._refs.refs)item.ancestor-target>=0&&this.refs.push({ancestor:item.ancestor-target,root:item.root});return}exports.isRef(source)&&source.type===`value`&&source.ancestor-target>=0&&this.refs.push({ancestor:source.ancestor-target,root:source.root}),Template$5||=require_template(),Template$5.isTemplate(source)&&this.register(source.refs(),target)}}get length(){return this.refs.length}clone(){let copy=new exports.Manager;return copy.refs=Clone$14(this.refs),copy}reset(){this.refs=[]}roots(){return this.refs.filter(ref=>!ref.ancestor).map(ref=>ref.root)}}}),require_template=__commonJSMin((exports,module)=>{let Assert$33=require_assert$1(),Clone$13=require_clone$1(),EscapeHtml=require_escapeHtml$1(),Formula=require_lib$5(),Common$20=require_common(),Errors$9=require_errors$1(),Ref$7=require_ref$1(),internals$44={symbol:Symbol(`template`),opens:Array(1e3).join(`\0`),closes:Array(1e3).join(``),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};module.exports=exports=internals$44.Template=class{constructor(source,options){if(Assert$33(typeof source==`string`,`Template source must be a string`),Assert$33(!source.includes(`\0`)&&!source.includes(``),`Template source cannot contain reserved control characters`),this.source=source,this.rendered=source,this._template=null,options){let{functions,...opts}=options;this._settings=Object.keys(opts).length?Clone$13(opts):void 0,this._functions=functions,this._functions&&(Assert$33(Object.keys(this._functions).every(key=>typeof key==`string`),`Functions keys must be strings`),Assert$33(Object.values(this._functions).every(key=>typeof key==`function`),`Functions values must be functions`))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes(`{`))return;let encoded=internals$44.encode(this.source),parts=internals$44.split(encoded),refs=!1,processed=[],head=parts.shift();head&&processed.push(head);for(let part of parts){let raw=part[0]!==`{`,ender=raw?`}`:`}}`,end=part.indexOf(ender);if(end===-1||part[1]===`{`){processed.push(`{${internals$44.decode(part)}`);continue}let variable=part.slice(raw?0:1,end),wrapped=variable[0]===`:`;wrapped&&(variable=variable.slice(1));let dynamic=this._ref(internals$44.decode(variable),{raw,wrapped});processed.push(dynamic),typeof dynamic!=`string`&&(refs=!0);let rest=part.slice(end+ender.length);rest&&processed.push(internals$44.decode(rest))}if(!refs){this.rendered=processed.join(``);return}this._template=processed}static date(date,prefs){return internals$44.dateFormat[prefs.dateFormat].call(date)}describe(options={}){if(!this._settings&&options.compact)return this.source;let desc$1={template:this.source};return this._settings&&(desc$1.options=this._settings),this._functions&&(desc$1.functions=this._functions),desc$1}static build(desc$1){return new internals$44.Template(desc$1.template,desc$1.options||desc$1.functions?{...desc$1.options,functions:desc$1.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(template){return template?!!template[Common$20.symbols.template]:!1}refs(){if(!this._template)return;let refs=[];for(let part of this._template)typeof part!=`string`&&refs.push(...part.refs);return refs}resolve(value,state,prefs,local){return this._template&&this._template.length===1?this._part(this._template[0],value,state,prefs,local,{}):this.render(value,state,prefs,local)}_part(part,...args$1){return part.ref?part.ref.resolve(...args$1):part.formula.evaluate(args$1)}render(value,state,prefs,local,options={}){if(!this.isDynamic())return this.rendered;let parts=[];for(let part of this._template)if(typeof part==`string`)parts.push(part);else{let rendered=this._part(part,value,state,prefs,local,options),string=internals$44.stringify(rendered,value,state,prefs,local,options);if(string!==void 0){let result=part.raw||(options.errors&&options.errors.escapeHtml)===!1?string:EscapeHtml(string);parts.push(internals$44.wrap(result,part.wrapped&&prefs.errors.wrap.label))}}return parts.join(``)}_ref(content,{raw,wrapped}){let refs=[],reference=variable=>{let ref=Ref$7.create(variable,this._settings);return refs.push(ref),context=>{let resolved=ref.resolve(...context);return resolved===void 0?null:resolved}};try{let functions=this._functions?{...internals$44.functions,...this._functions}:internals$44.functions;var formula=new Formula.Parser(content,{reference,functions,constants:internals$44.constants})}catch(err$1){throw err$1.message=`Invalid template variable "${content}" fails due to: ${err$1.message}`,err$1}if(formula.single){if(formula.single.type===`reference`){let ref=refs[0];return{ref,raw,refs,wrapped:wrapped||ref.type===`local`&&ref.key===`label`}}return internals$44.stringify(formula.single.value)}return{formula,raw,refs}}toString(){return this.source}},internals$44.Template.prototype[Common$20.symbols.template]=!0,internals$44.Template.prototype.isImmutable=!0,internals$44.encode=function(string){return string.replace(/\\(\{+)/g,($0,$1)=>internals$44.opens.slice(0,$1.length)).replace(/\\(\}+)/g,($0,$1)=>internals$44.closes.slice(0,$1.length))},internals$44.decode=function(string){return string.replace(/\u0000/g,`{`).replace(/\u0001/g,`}`)},internals$44.split=function(string){let parts=[],current=``;for(let i$4=0;i$4<string.length;++i$4){let char=string[i$4];if(char===`{`){let next=``;for(;i$4+1<string.length&&string[i$4+1]===`{`;)next+=`{`,++i$4;parts.push(current),current=next}else current+=char}return parts.push(current),parts},internals$44.wrap=function(value,ends){return ends?ends.length===1?`${ends}${value}${ends}`:`${ends[0]}${value}${ends[1]}`:value},internals$44.stringify=function(value,original,state,prefs,local,options={}){let type=typeof value,wrap$1=prefs&&prefs.errors&&prefs.errors.wrap||{},skipWrap=!1;if(Ref$7.isRef(value)&&value.render&&(skipWrap=value.in,value=value.resolve(original,state,prefs,local,{in:value.in,...options})),value===null)return`null`;if(type===`string`)return internals$44.wrap(value,options.arrayItems&&wrap$1.string);if(type===`number`||type===`function`||type===`symbol`)return value.toString();if(type!==`object`)return JSON.stringify(value);if(value instanceof Date)return internals$44.Template.date(value,prefs);if(value instanceof Map){let pairs=[];for(let[key,sym]of value.entries())pairs.push(`${key.toString()} -> ${sym.toString()}`);value=pairs}if(!Array.isArray(value))return value.toString();let values=[];for(let item of value)values.push(internals$44.stringify(item,original,state,prefs,local,{arrayItems:!0,...options}));return internals$44.wrap(values.join(`, `),!skipWrap&&wrap$1.array)},internals$44.constants={true:!0,false:!1,null:null,second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3},internals$44.functions={if(condition,then,otherwise){return condition?then:otherwise},length(item){return typeof item==`string`?item.length:!item||typeof item!=`object`?null:Array.isArray(item)?item.length:Object.keys(item).length},msg(code$2){let[value,state,prefs,local,options]=this,messages$2=options.messages;if(!messages$2)return``;let template=Errors$9.template(value,messages$2[0],code$2,state,prefs)||Errors$9.template(value,messages$2[1],code$2,state,prefs);return template?template.render(value,state,prefs,local,options):``},number(value){return typeof value==`number`?value:typeof value==`string`?parseFloat(value):typeof value==`boolean`?value?1:0:value instanceof Date?value.getTime():null}}}),require_messages=__commonJSMin(exports=>{let Assert$32=require_assert$1(),Clone$12=require_clone$1(),Template$4=require_template();exports.compile=function(messages$2,target){if(typeof messages$2==`string`)return Assert$32(!target,`Cannot set single message string`),new Template$4(messages$2);if(Template$4.isTemplate(messages$2))return Assert$32(!target,`Cannot set single message template`),messages$2;for(let code$2 in Assert$32(typeof messages$2==`object`&&!Array.isArray(messages$2),`Invalid message options`),target=target?Clone$12(target):{},messages$2){let message=messages$2[code$2];if(code$2===`root`||Template$4.isTemplate(message)){target[code$2]=message;continue}if(typeof message==`string`){target[code$2]=new Template$4(message);continue}Assert$32(typeof message==`object`&&!Array.isArray(message),`Invalid message for`,code$2);let language=code$2;for(code$2 in target[language]=target[language]||{},message){let localized=message[code$2];if(code$2===`root`||Template$4.isTemplate(localized)){target[language][code$2]=localized;continue}Assert$32(typeof localized==`string`,`Invalid message for`,code$2,`in`,language),target[language][code$2]=new Template$4(localized)}}return target},exports.decompile=function(messages$2){let target={};for(let code$2 in messages$2){let message=messages$2[code$2];if(code$2===`root`){target.root=message;continue}if(Template$4.isTemplate(message)){target[code$2]=message.describe({compact:!0});continue}let language=code$2;for(code$2 in target[language]={},message){let localized=message[code$2];if(code$2===`root`){target[language].root=localized;continue}target[language][code$2]=localized.describe({compact:!0})}}return target},exports.merge=function(base,extended){if(!base)return exports.compile(extended);if(!extended)return base;if(typeof extended==`string`)return new Template$4(extended);if(Template$4.isTemplate(extended))return extended;let target=Clone$12(base);for(let code$2 in extended){let message=extended[code$2];if(code$2===`root`||Template$4.isTemplate(message)){target[code$2]=message;continue}if(typeof message==`string`){target[code$2]=new Template$4(message);continue}Assert$32(typeof message==`object`&&!Array.isArray(message),`Invalid message for`,code$2);let language=code$2;for(code$2 in target[language]=target[language]||{},message){let localized=message[code$2];if(code$2===`root`||Template$4.isTemplate(localized)){target[language][code$2]=localized;continue}Assert$32(typeof localized==`string`,`Invalid message for`,code$2,`in`,language),target[language][code$2]=new Template$4(localized)}}return target}}),require_common=__commonJSMin(exports=>{let Assert$31=require_assert$1(),AssertError$2=require_error(),Pkg=(init_package(),__toCommonJS(package_exports).default),Messages$4,Schemas$2,internals$43={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};exports.version=Pkg.version,exports.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:`iso`,errors:{escapeHtml:!1,label:`path`,language:null,render:!0,stack:!1,wrap:{label:`"`,array:`[]`}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:`optional`,skipFunctions:!1,stripUnknown:!1,warnings:!1},exports.symbols={any:Symbol.for(`@hapi/joi/schema`),arraySingle:Symbol(`arraySingle`),deepDefault:Symbol(`deepDefault`),errors:Symbol(`errors`),literal:Symbol(`literal`),override:Symbol(`override`),parent:Symbol(`parent`),prefs:Symbol(`prefs`),ref:Symbol(`ref`),template:Symbol(`template`),values:Symbol(`values`)},exports.assertOptions=function(options,keys,name$1=`Options`){Assert$31(options&&typeof options==`object`&&!Array.isArray(options),`Options must be of type object`);let unknownKeys=Object.keys(options).filter(k=>!keys.includes(k));Assert$31(unknownKeys.length===0,`${name$1} contain unknown keys: ${unknownKeys}`)},exports.checkPreferences=function(prefs){Schemas$2||=require_schemas();let result=Schemas$2.preferences.validate(prefs);if(result.error)throw new AssertError$2([result.error.details[0].message])},exports.compare=function(a,b,operator){switch(operator){case`=`:return a===b;case`>`:return a>b;case`<`:return a<b;case`>=`:return a>=b;case`<=`:return a<=b}},exports.default=function(value,defaultValue){return value===void 0?defaultValue:value},exports.isIsoDate=function(date){return internals$43.isoDate.test(date)},exports.isNumber=function(value){return typeof value==`number`&&!isNaN(value)},exports.isResolvable=function(obj){return obj?obj[exports.symbols.ref]||obj[exports.symbols.template]:!1},exports.isSchema=function(schema,options={}){let any=schema&&schema[exports.symbols.any];return any?(Assert$31(options.legacy||any.version===exports.version,`Cannot mix different versions of joi schemas`),!0):!1},exports.isValues=function(obj){return obj[exports.symbols.values]},exports.limit=function(value){return Number.isSafeInteger(value)&&value>=0},exports.preferences=function(target,source){Messages$4||=require_messages(),target||={},source||={};let merged=Object.assign({},target,source);return source.errors&&target.errors&&(merged.errors=Object.assign({},target.errors,source.errors),merged.errors.wrap=Object.assign({},target.errors.wrap,source.errors.wrap)),source.messages&&(merged.messages=Messages$4.compile(source.messages,target.messages)),delete merged[exports.symbols.prefs],merged},exports.tryWithPath=function(fn$1,key,options={}){try{return fn$1()}catch(err$1){throw err$1.path===void 0?err$1.path=key:err$1.path=key+`.`+err$1.path,options.append&&(err$1.message=`${err$1.message} (${err$1.path})`),err$1}},exports.validateArg=function(value,label,{assert:assert$4,message}){if(exports.isSchema(assert$4)){let result=assert$4.validate(value);return result.error?result.error.message:void 0}else if(!assert$4(value))return label?`${label} ${message}`:message},exports.verifyFlat=function(args$1,method){for(let arg of args$1)Assert$31(!Array.isArray(arg),`Method no longer accepts array arguments:`,method)}}),require_cache=__commonJSMin(exports=>{let Assert$30=require_assert$1(),Clone$11=require_clone$1(),Common$19=require_common(),internals$42={max:1e3,supported:new Set([`undefined`,`boolean`,`number`,`string`])};exports.provider={provision(options){return new internals$42.Cache(options)}},internals$42.Cache=class{constructor(options={}){Common$19.assertOptions(options,[`max`]),Assert$30(options.max===void 0||options.max&&options.max>0&&isFinite(options.max),`Invalid max cache size`),this._max=options.max||internals$42.max,this._map=new Map,this._list=new internals$42.List}get length(){return this._map.size}set(key,value){if(key!==null&&!internals$42.supported.has(typeof key))return;let node=this._map.get(key);if(node){node.value=value,this._list.first(node);return}node=this._list.unshift({key,value}),this._map.set(key,node),this._compact()}get(key){let node=this._map.get(key);if(node)return this._list.first(node),Clone$11(node.value)}_compact(){if(this._map.size>this._max){let node=this._list.pop();this._map.delete(node.key)}}},internals$42.List=class{constructor(){this.tail=null,this.head=null}unshift(node){return node.next=null,node.prev=this.head,this.head&&(this.head.next=node),this.head=node,this.tail||=node,node}first(node){node!==this.head&&(this._remove(node),this.unshift(node))}pop(){return this._remove(this.tail)}_remove(node){let{next,prev}=node;return next.prev=prev,prev&&(prev.next=next),node===this.tail&&(this.tail=next),node.prev=null,node.next=null,node}}}),require_compile=__commonJSMin(exports=>{let Assert$29=require_assert$1(),Common$18=require_common(),Ref$6=require_ref$1(),internals$41={};exports.schema=function(Joi$2,config,options={}){Common$18.assertOptions(options,[`appendPath`,`override`]);try{return internals$41.schema(Joi$2,config,options)}catch(err$1){throw options.appendPath&&err$1.path!==void 0&&(err$1.message=`${err$1.message} (${err$1.path})`),err$1}},internals$41.schema=function(Joi$2,config,options){Assert$29(config!==void 0,`Invalid undefined schema`),Array.isArray(config)&&(Assert$29(config.length,`Invalid empty array schema`),config.length===1&&(config=config[0]));let valid$2=(base,...values)=>options.override===!1?base.valid(...values):base.valid(Joi$2.override,...values);if(internals$41.simple(config))return valid$2(Joi$2,config);if(typeof config==`function`)return Joi$2.custom(config);if(Assert$29(typeof config==`object`,`Invalid schema content:`,typeof config),Common$18.isResolvable(config))return valid$2(Joi$2,config);if(Common$18.isSchema(config))return config;if(Array.isArray(config)){for(let item of config)if(!internals$41.simple(item))return Joi$2.alternatives().try(...config);return valid$2(Joi$2,...config)}return config instanceof RegExp?Joi$2.string().regex(config):config instanceof Date?valid$2(Joi$2.date(),config):(Assert$29(Object.getPrototypeOf(config)===Object.getPrototypeOf({}),`Schema can only contain plain objects`),Joi$2.object().keys(config))},exports.ref=function(id,options){return Ref$6.isRef(id)?id:Ref$6.create(id,options)},exports.compile=function(root,schema,options={}){Common$18.assertOptions(options,[`legacy`]);let any=schema&&schema[Common$18.symbols.any];if(any)return Assert$29(options.legacy||any.version===Common$18.version,`Cannot mix different versions of joi schemas:`,any.version,Common$18.version),schema;if(typeof schema!=`object`||!options.legacy)return exports.schema(root,schema,{appendPath:!0});let compiler=internals$41.walk(schema);return compiler?compiler.compile(compiler.root,schema):exports.schema(root,schema,{appendPath:!0})},internals$41.walk=function(schema){if(typeof schema!=`object`)return null;if(Array.isArray(schema)){for(let item of schema){let compiler=internals$41.walk(item);if(compiler)return compiler}return null}let any=schema[Common$18.symbols.any];if(any)return{root:schema[any.root],compile:any.compile};for(let key in Assert$29(Object.getPrototypeOf(schema)===Object.getPrototypeOf({}),`Schema can only contain plain objects`),schema){let compiler=internals$41.walk(schema[key]);if(compiler)return compiler}return null},internals$41.simple=function(value){return value===null||[`boolean`,`string`,`number`].includes(typeof value)},exports.when=function(schema,condition,options){if(options===void 0&&(Assert$29(condition&&typeof condition==`object`,`Missing options`),options=condition,condition=Ref$6.create(`.`)),Array.isArray(options)&&(options={switch:options}),Common$18.assertOptions(options,[`is`,`not`,`then`,`otherwise`,`switch`,`break`]),Common$18.isSchema(condition))return Assert$29(options.is===void 0,`"is" can not be used with a schema condition`),Assert$29(options.not===void 0,`"not" can not be used with a schema condition`),Assert$29(options.switch===void 0,`"switch" can not be used with a schema condition`),internals$41.condition(schema,{is:condition,then:options.then,otherwise:options.otherwise,break:options.break});if(Assert$29(Ref$6.isRef(condition)||typeof condition==`string`,`Invalid condition:`,condition),Assert$29(options.not===void 0||options.is===void 0,`Cannot combine "is" with "not"`),options.switch===void 0){let rule$1=options;options.not!==void 0&&(rule$1={is:options.not,then:options.otherwise,otherwise:options.then,break:options.break});let is=rule$1.is===void 0?schema.$_root.invalid(null,!1,0,``).required():schema.$_compile(rule$1.is);return Assert$29(rule$1.then!==void 0||rule$1.otherwise!==void 0,`options must have at least one of "then", "otherwise", or "switch"`),Assert$29(rule$1.break===void 0||rule$1.then===void 0||rule$1.otherwise===void 0,`Cannot specify then, otherwise, and break all together`),options.is!==void 0&&!Ref$6.isRef(options.is)&&!Common$18.isSchema(options.is)&&(is=is.required()),internals$41.condition(schema,{ref:exports.ref(condition),is,then:rule$1.then,otherwise:rule$1.otherwise,break:rule$1.break})}Assert$29(Array.isArray(options.switch),`"switch" must be an array`),Assert$29(options.is===void 0,`Cannot combine "switch" with "is"`),Assert$29(options.not===void 0,`Cannot combine "switch" with "not"`),Assert$29(options.then===void 0,`Cannot combine "switch" with "then"`);let rule={ref:exports.ref(condition),switch:[],break:options.break};for(let i$4=0;i$4<options.switch.length;++i$4){let test=options.switch[i$4],last=i$4===options.switch.length-1;Common$18.assertOptions(test,last?[`is`,`then`,`otherwise`]:[`is`,`then`]),Assert$29(test.is!==void 0,`Switch statement missing "is"`),Assert$29(test.then!==void 0,`Switch statement missing "then"`);let item={is:schema.$_compile(test.is),then:schema.$_compile(test.then)};if(!Ref$6.isRef(test.is)&&!Common$18.isSchema(test.is)&&(item.is=item.is.required()),last){Assert$29(options.otherwise===void 0||test.otherwise===void 0,`Cannot specify "otherwise" inside and outside a "switch"`);let otherwise=options.otherwise===void 0?test.otherwise:options.otherwise;otherwise!==void 0&&(Assert$29(rule.break===void 0,`Cannot specify both otherwise and break`),item.otherwise=schema.$_compile(otherwise))}rule.switch.push(item)}return rule},internals$41.condition=function(schema,condition){for(let key of[`then`,`otherwise`])condition[key]===void 0?delete condition[key]:condition[key]=schema.$_compile(condition[key]);return condition}}),require_extend=__commonJSMin(exports=>{let Assert$28=require_assert$1(),Clone$10=require_clone$1(),Common$17=require_common(),Messages$3=require_messages(),internals$40={};exports.type=function(from,options){let base=Object.getPrototypeOf(from),prototype=Clone$10(base),schema=from._assign(Object.create(prototype)),def=Object.assign({},options);delete def.base,prototype._definition=def;let parent=base._definition||{};def.messages=Messages$3.merge(parent.messages,def.messages),def.properties=Object.assign({},parent.properties,def.properties),schema.type=def.type,def.flags=Object.assign({},parent.flags,def.flags);let terms=Object.assign({},parent.terms);if(def.terms)for(let name$1 in def.terms){let term=def.terms[name$1];Assert$28(schema.$_terms[name$1]===void 0,`Invalid term override for`,def.type,name$1),schema.$_terms[name$1]=term.init,terms[name$1]=term}def.terms=terms,def.args||=parent.args,def.prepare=internals$40.prepare(def.prepare,parent.prepare),def.coerce&&(typeof def.coerce==`function`&&(def.coerce={method:def.coerce}),def.coerce.from&&!Array.isArray(def.coerce.from)&&(def.coerce={method:def.coerce.method,from:[].concat(def.coerce.from)})),def.coerce=internals$40.coerce(def.coerce,parent.coerce),def.validate=internals$40.validate(def.validate,parent.validate);let rules=Object.assign({},parent.rules);if(def.rules)for(let name$1 in def.rules){let rule=def.rules[name$1];Assert$28(typeof rule==`object`,`Invalid rule definition for`,def.type,name$1);let method=rule.method;if(method===void 0&&(method=function(){return this.$_addRule(name$1)}),method&&(Assert$28(!prototype[name$1],`Rule conflict in`,def.type,name$1),prototype[name$1]=method),Assert$28(!rules[name$1],`Rule conflict in`,def.type,name$1),rules[name$1]=rule,rule.alias){let aliases=[].concat(rule.alias);for(let alias of aliases)prototype[alias]=rule.method}rule.args&&(rule.argsByName=new Map,rule.args=rule.args.map(arg=>(typeof arg==`string`&&(arg={name:arg}),Assert$28(!rule.argsByName.has(arg.name),`Duplicated argument name`,arg.name),Common$17.isSchema(arg.assert)&&(arg.assert=arg.assert.strict().label(arg.name)),rule.argsByName.set(arg.name,arg),arg)))}def.rules=rules;let modifiers=Object.assign({},parent.modifiers);if(def.modifiers)for(let name$1 in def.modifiers){Assert$28(!prototype[name$1],`Rule conflict in`,def.type,name$1);let modifier=def.modifiers[name$1];Assert$28(typeof modifier==`function`,`Invalid modifier definition for`,def.type,name$1);let method=function(arg){return this.rule({[name$1]:arg})};prototype[name$1]=method,modifiers[name$1]=modifier}if(def.modifiers=modifiers,def.overrides){for(let override in prototype._super=base,schema.$_super={},def.overrides)Assert$28(base[override],`Cannot override missing`,override),def.overrides[override][Common$17.symbols.parent]=base[override],schema.$_super[override]=base[override].bind(schema);Object.assign(prototype,def.overrides)}def.cast=Object.assign({},parent.cast,def.cast);let manifest=Object.assign({},parent.manifest,def.manifest);return manifest.build=internals$40.build(def.manifest&&def.manifest.build,parent.manifest&&parent.manifest.build),def.manifest=manifest,def.rebuild=internals$40.rebuild(def.rebuild,parent.rebuild),schema},internals$40.build=function(child,parent){return!child||!parent?child||parent:function(obj,desc$1){return parent(child(obj,desc$1),desc$1)}},internals$40.coerce=function(child,parent){return!child||!parent?child||parent:{from:child.from&&parent.from?[...new Set([...child.from,...parent.from])]:null,method(value,helpers){let coerced;if((!parent.from||parent.from.includes(typeof value))&&(coerced=parent.method(value,helpers),coerced)){if(coerced.errors||coerced.value===void 0)return coerced;value=coerced.value}if(!child.from||child.from.includes(typeof value)){let own=child.method(value,helpers);if(own)return own}return coerced}}},internals$40.prepare=function(child,parent){return!child||!parent?child||parent:function(value,helpers){let prepared=child(value,helpers);if(prepared){if(prepared.errors||prepared.value===void 0)return prepared;value=prepared.value}return parent(value,helpers)||prepared}},internals$40.rebuild=function(child,parent){return!child||!parent?child||parent:function(schema){parent(schema),child(schema)}},internals$40.validate=function(child,parent){return!child||!parent?child||parent:function(value,helpers){let result=parent(value,helpers);if(result){if(result.errors&&(!Array.isArray(result.errors)||result.errors.length))return result;value=result.value}return child(value,helpers)||result}}}),require_manifest=__commonJSMin(exports=>{init_dist$1();let Assert$27=require_assert$1(),Clone$9=require_clone$1(),Common$16=require_common(),Messages$2=require_messages(),Ref$5=require_ref$1(),Template$3=require_template(),Schemas$1,internals$39={};exports.describe=function(schema){let def=schema._definition,desc$1={type:schema.type,flags:{},rules:[]};for(let flag in schema._flags)flag[0]!==`_`&&(desc$1.flags[flag]=internals$39.describe(schema._flags[flag]));Object.keys(desc$1.flags).length||delete desc$1.flags,schema._preferences&&(desc$1.preferences=Clone$9(schema._preferences,{shallow:[`messages`]}),delete desc$1.preferences[Common$16.symbols.prefs],desc$1.preferences.messages&&(desc$1.preferences.messages=Messages$2.decompile(desc$1.preferences.messages))),schema._valids&&(desc$1.allow=schema._valids.describe()),schema._invalids&&(desc$1.invalid=schema._invalids.describe());for(let rule of schema._rules){let ruleDef=def.rules[rule.name];if(ruleDef.manifest===!1)continue;let item={name:rule.name};for(let custom in def.modifiers)rule[custom]!==void 0&&(item[custom]=internals$39.describe(rule[custom]));if(rule.args){for(let key in item.args={},rule.args){let arg=rule.args[key];if(key===`options`&&!Object.keys(arg).length)continue;item.args[key]=internals$39.describe(arg,{assign:key})}Object.keys(item.args).length||delete item.args}desc$1.rules.push(item)}for(let term in desc$1.rules.length||delete desc$1.rules,schema.$_terms){if(term[0]===`_`)continue;Assert$27(!desc$1[term],`Cannot describe schema due to internal name conflict with`,term);let items=schema.$_terms[term];if(!items)continue;if(items instanceof Map){items.size&&(desc$1[term]=[...items.entries()]);continue}if(Common$16.isValues(items)){desc$1[term]=items.describe();continue}Assert$27(def.terms[term],`Term`,term,`missing configuration`);let manifest=def.terms[term].manifest,mapped=typeof manifest==`object`;if(!items.length&&!mapped)continue;let normalized=[];for(let item of items)normalized.push(internals$39.describe(item));if(mapped){let{from,to}=manifest.mapped;desc$1[term]={};for(let item of normalized)desc$1[term][item[to]]=item[from];continue}if(manifest===`single`){Assert$27(normalized.length===1,`Term`,term,`contains more than one item`),desc$1[term]=normalized[0];continue}desc$1[term]=normalized}return internals$39.validate(schema.$_root,desc$1),desc$1},internals$39.describe=function(item,options={}){if(Array.isArray(item))return item.map(internals$39.describe);if(item===Common$16.symbols.deepDefault)return{special:`deep`};if(typeof item!=`object`||!item)return item;if(options.assign===`options`)return Clone$9(item);if(Buffer$1&&Buffer$1.isBuffer(item))return{buffer:item.toString(`binary`)};if(item instanceof Date)return item.toISOString();if(item instanceof Error)return item;if(item instanceof RegExp)return options.assign===`regex`?item.toString():{regex:item.toString()};if(item[Common$16.symbols.literal])return{function:item.literal};if(typeof item.describe==`function`)return options.assign===`ref`?item.describe().ref:item.describe();let normalized={};for(let key in item){let value=item[key];if(value===void 0)continue;normalized[key]=internals$39.describe(value,{assign:key})}return normalized},exports.build=function(joi,desc$1){let builder=new internals$39.Builder(joi);return builder.parse(desc$1)},internals$39.Builder=class{constructor(joi){this.joi=joi}parse(desc$1){internals$39.validate(this.joi,desc$1);let schema=this.joi[desc$1.type]()._bare(),def=schema._definition;if(desc$1.flags)for(let flag in desc$1.flags){let setter=def.flags[flag]&&def.flags[flag].setter||flag;Assert$27(typeof schema[setter]==`function`,`Invalid flag`,flag,`for type`,desc$1.type),schema=schema[setter](this.build(desc$1.flags[flag]))}if(desc$1.preferences&&(schema=schema.preferences(this.build(desc$1.preferences))),desc$1.allow&&(schema=schema.allow(...this.build(desc$1.allow))),desc$1.invalid&&(schema=schema.invalid(...this.build(desc$1.invalid))),desc$1.rules)for(let rule of desc$1.rules){Assert$27(typeof schema[rule.name]==`function`,`Invalid rule`,rule.name,`for type`,desc$1.type);let args$1=[];if(rule.args){let built={};for(let key in rule.args)built[key]=this.build(rule.args[key],{assign:key});let keys=Object.keys(built),definition=def.rules[rule.name].args;if(definition){Assert$27(keys.length<=definition.length,`Invalid number of arguments for`,desc$1.type,rule.name,`(expected up to`,definition.length,`, found`,keys.length,`)`);for(let{name:name$1}of definition)args$1.push(built[name$1])}else Assert$27(keys.length===1,`Invalid number of arguments for`,desc$1.type,rule.name,`(expected up to 1, found`,keys.length,`)`),args$1.push(built[keys[0]])}schema=schema[rule.name](...args$1);let options={};for(let custom in def.modifiers)rule[custom]!==void 0&&(options[custom]=this.build(rule[custom]));Object.keys(options).length&&(schema=schema.rule(options))}let terms={};for(let key in desc$1){if([`allow`,`flags`,`invalid`,`whens`,`preferences`,`rules`,`type`].includes(key))continue;Assert$27(def.terms[key],`Term`,key,`missing configuration`);let manifest=def.terms[key].manifest;if(manifest===`schema`){terms[key]=desc$1[key].map(item=>this.parse(item));continue}if(manifest===`values`){terms[key]=desc$1[key].map(item=>this.build(item));continue}if(manifest===`single`){terms[key]=this.build(desc$1[key]);continue}if(typeof manifest==`object`){for(let name$1 in terms[key]={},desc$1[key]){let value=desc$1[key][name$1];terms[key][name$1]=this.parse(value)}continue}terms[key]=this.build(desc$1[key])}return desc$1.whens&&(terms.whens=desc$1.whens.map(when=>this.build(when))),schema=def.manifest.build(schema,terms),schema.$_temp.ruleset=!1,schema}build(desc$1,options={}){if(desc$1===null)return null;if(Array.isArray(desc$1))return desc$1.map(item=>this.build(item));if(desc$1 instanceof Error)return desc$1;if(options.assign===`options`)return Clone$9(desc$1);if(options.assign===`regex`)return internals$39.regex(desc$1);if(options.assign===`ref`)return Ref$5.build(desc$1);if(typeof desc$1!=`object`)return desc$1;if(Object.keys(desc$1).length===1){if(desc$1.buffer)return Assert$27(Buffer$1,`Buffers are not supported`),Buffer$1&&Buffer$1.from(desc$1.buffer,`binary`);if(desc$1.function)return{[Common$16.symbols.literal]:!0,literal:desc$1.function};if(desc$1.override)return Common$16.symbols.override;if(desc$1.ref)return Ref$5.build(desc$1.ref);if(desc$1.regex)return internals$39.regex(desc$1.regex);if(desc$1.special)return Assert$27([`deep`].includes(desc$1.special),`Unknown special value`,desc$1.special),Common$16.symbols.deepDefault;if(desc$1.value)return Clone$9(desc$1.value)}if(desc$1.type)return this.parse(desc$1);if(desc$1.template)return Template$3.build(desc$1);let normalized={};for(let key in desc$1)normalized[key]=this.build(desc$1[key],{assign:key});return normalized}},internals$39.regex=function(string){let end=string.lastIndexOf(`/`),exp=string.slice(1,end),flags=string.slice(end+1);return new RegExp(exp,flags)},internals$39.validate=function(joi,desc$1){Schemas$1||=require_schemas(),joi.assert(desc$1,Schemas$1.description)}}),require_deepEqual$1=__commonJSMin((exports,module)=>{init_dist$1();let Types$2=require_types$2(),internals$38={mismatched:null};module.exports=function(obj,ref,options){return options=Object.assign({prototype:!0},options),!!internals$38.isDeepEqual(obj,ref,options,[])},internals$38.isDeepEqual=function(obj,ref,options,seen){if(obj===ref)return obj!==0||1/obj==1/ref;let type=typeof obj;if(type!==typeof ref||obj===null||ref===null)return!1;if(type===`function`){if(!options.deepFunction||obj.toString()!==ref.toString())return!1}else if(type!==`object`)return obj!==obj&&ref!==ref;let instanceType=internals$38.getSharedType(obj,ref,!!options.prototype);switch(instanceType){case Types$2.buffer:return Buffer$1&&Buffer$1.prototype.equals.call(obj,ref);case Types$2.promise:return obj===ref;case Types$2.regex:return obj.toString()===ref.toString();case internals$38.mismatched:return!1}for(let i$4=seen.length-1;i$4>=0;--i$4)if(seen[i$4].isSame(obj,ref))return!0;seen.push(new internals$38.SeenEntry(obj,ref));try{return!!internals$38.isDeepEqualObj(instanceType,obj,ref,options,seen)}finally{seen.pop()}},internals$38.getSharedType=function(obj,ref,checkPrototype){if(checkPrototype)return Object.getPrototypeOf(obj)===Object.getPrototypeOf(ref)?Types$2.getInternalProto(obj):internals$38.mismatched;let type=Types$2.getInternalProto(obj);return type===Types$2.getInternalProto(ref)?type:internals$38.mismatched},internals$38.valueOf=function(obj){let objValueOf=obj.valueOf;if(objValueOf===void 0)return obj;try{return objValueOf.call(obj)}catch(err$1){return err$1}},internals$38.hasOwnEnumerableProperty=function(obj,key){return Object.prototype.propertyIsEnumerable.call(obj,key)},internals$38.isSetSimpleEqual=function(obj,ref){for(let entry of Set.prototype.values.call(obj))if(!Set.prototype.has.call(ref,entry))return!1;return!0},internals$38.isDeepEqualObj=function(instanceType,obj,ref,options,seen){let{isDeepEqual,valueOf,hasOwnEnumerableProperty}=internals$38,{keys,getOwnPropertySymbols}=Object;if(instanceType===Types$2.array)if(options.part){for(let objValue of obj)for(let refValue of ref)if(isDeepEqual(objValue,refValue,options,seen))return!0}else{if(obj.length!==ref.length)return!1;for(let i$4=0;i$4<obj.length;++i$4)if(!isDeepEqual(obj[i$4],ref[i$4],options,seen))return!1;return!0}else if(instanceType===Types$2.set){if(obj.size!==ref.size)return!1;if(!internals$38.isSetSimpleEqual(obj,ref)){let ref2=new Set(Set.prototype.values.call(ref));for(let objEntry of Set.prototype.values.call(obj)){if(ref2.delete(objEntry))continue;let found=!1;for(let refEntry of ref2)if(isDeepEqual(objEntry,refEntry,options,seen)){ref2.delete(refEntry),found=!0;break}if(!found)return!1}}}else if(instanceType===Types$2.map){if(obj.size!==ref.size)return!1;for(let[key,value]of Map.prototype.entries.call(obj))if(value===void 0&&!Map.prototype.has.call(ref,key)||!isDeepEqual(value,Map.prototype.get.call(ref,key),options,seen))return!1}else if(instanceType===Types$2.error&&(obj.name!==ref.name||obj.message!==ref.message))return!1;let valueOfObj=valueOf(obj),valueOfRef=valueOf(ref);if((obj!==valueOfObj||ref!==valueOfRef)&&!isDeepEqual(valueOfObj,valueOfRef,options,seen))return!1;let objKeys=keys(obj);if(!options.part&&objKeys.length!==keys(ref).length&&!options.skip)return!1;let skipped=0;for(let key of objKeys){if(options.skip&&options.skip.includes(key)){ref[key]===void 0&&++skipped;continue}if(!hasOwnEnumerableProperty(ref,key)||!isDeepEqual(obj[key],ref[key],options,seen))return!1}if(!options.part&&objKeys.length-skipped!==keys(ref).length)return!1;if(options.symbols!==!1){let objSymbols=getOwnPropertySymbols(obj),refSymbols=new Set(getOwnPropertySymbols(ref));for(let key of objSymbols){if(!options.skip||!options.skip.includes(key)){if(hasOwnEnumerableProperty(obj,key)){if(!hasOwnEnumerableProperty(ref,key)||!isDeepEqual(obj[key],ref[key],options,seen))return!1}else if(hasOwnEnumerableProperty(ref,key))return!1}refSymbols.delete(key)}for(let key of refSymbols)if(hasOwnEnumerableProperty(ref,key))return!1}return!0},internals$38.SeenEntry=class{constructor(obj,ref){this.obj=obj,this.ref=ref}isSame(obj,ref){return this.obj===obj&&this.ref===ref}}}),require_lib$4=__commonJSMin(exports=>{exports.location=function(depth=0){let orig=Error.prepareStackTrace;Error.prepareStackTrace=(ignore$1,stack)=>stack;let capture={};Error.captureStackTrace(capture,this);let line=capture.stack[depth+1];return Error.prepareStackTrace=orig,{filename:line.getFileName(),line:line.getLineNumber()}}}),require_trace=__commonJSMin(exports=>{let DeepEqual$4=require_deepEqual$1(),Pinpoint=require_lib$4(),Errors$8=require_errors$1(),internals$37={codes:{error:1,pass:2,full:3},labels:{0:`never used`,1:`always error`,2:`always pass`}};exports.setup=function(root){let trace=function(){return root._tracer=root._tracer||new internals$37.Tracer,root._tracer};root.trace=trace,root[Symbol.for(`@hapi/lab/coverage/initialize`)]=trace,root.untrace=()=>{root._tracer=null}},exports.location=function(schema){return schema.$_setFlag(`_tracerLocation`,Pinpoint.location(2))},internals$37.Tracer=class{constructor(){this.name=`Joi`,this._schemas=new Map}_register(schema){let existing=this._schemas.get(schema);if(existing)return existing.store;let store=new internals$37.Store(schema),{filename,line}=schema._flags._tracerLocation||Pinpoint.location(5);return this._schemas.set(schema,{filename,line,store}),store}_combine(merged,sources){for(let{store}of this._schemas.values())store._combine(merged,sources)}report(file){let coverage=[];for(let{filename,line,store}of this._schemas.values()){if(file&&file!==filename)continue;let missing=[],skipped=[];for(let[schema,log]of store._sources.entries()){if(internals$37.sub(log.paths,skipped))continue;if(!log.entry){missing.push({status:`never reached`,paths:[...log.paths]}),skipped.push(...log.paths);continue}for(let type of[`valid`,`invalid`]){let set=schema[`_${type}s`];if(!set)continue;let values=new Set(set._values),refs=new Set(set._refs);for(let{value,ref}of log[type])values.delete(value),refs.delete(ref);(values.size||refs.size)&&missing.push({status:[...values,...[...refs].map(ref=>ref.display)],rule:`${type}s`})}let rules=schema._rules.map(rule=>rule.name);for(let type of[`default`,`failover`])schema._flags[type]!==void 0&&rules.push(type);for(let name$1 of rules){let status=internals$37.labels[log.rule[name$1]||0];if(status){let report={rule:name$1,status};log.paths.size&&(report.paths=[...log.paths]),missing.push(report)}}}missing.length&&coverage.push({filename,line,missing,severity:`error`,message:`Schema missing tests for ${missing.map(internals$37.message).join(`, `)}`})}return coverage.length?coverage:null}},internals$37.Store=class{constructor(schema){this.active=!0,this._sources=new Map,this._combos=new Map,this._scan(schema)}debug(state,source,name$1,result){state.mainstay.debug&&state.mainstay.debug.push({type:source,name:name$1,result,path:state.path})}entry(schema,state){internals$37.debug(state,{type:`entry`}),this._record(schema,log=>{log.entry=!0})}filter(schema,state,source,value){internals$37.debug(state,{type:source,...value}),this._record(schema,log=>{log[source].add(value)})}log(schema,state,source,name$1,result){internals$37.debug(state,{type:source,name:name$1,result:result===`full`?`pass`:result}),this._record(schema,log=>{log[source][name$1]=log[source][name$1]||0,log[source][name$1]|=internals$37.codes[result]})}resolve(state,ref,to){if(!state.mainstay.debug)return;let log={type:`resolve`,ref:ref.display,to,path:state.path};state.mainstay.debug.push(log)}value(state,by,from,to,name$1){if(!state.mainstay.debug||DeepEqual$4(from,to))return;let log={type:`value`,by,from,to,path:state.path};name$1&&(log.name=name$1),state.mainstay.debug.push(log)}_record(schema,each){let log=this._sources.get(schema);if(log){each(log);return}let sources=this._combos.get(schema);for(let source of sources)this._record(source,each)}_scan(schema,_path){let path=_path||[],log=this._sources.get(schema);log||(log={paths:new Set,entry:!1,rule:{},valid:new Set,invalid:new Set},this._sources.set(schema,log)),path.length&&log.paths.add(path);let each=(sub,source)=>{let subId=internals$37.id(sub,source);this._scan(sub,path.concat(subId))};schema.$_modify({each,ref:!1})}_combine(merged,sources){this._combos.set(merged,sources)}},internals$37.message=function(item){let path=item.paths?Errors$8.path(item.paths[0])+(item.rule?`:`:``):``;return`${path}${item.rule||``} (${item.status})`},internals$37.id=function(schema,{source,name:name$1,path,key}){return schema._flags.id?schema._flags.id:key||(name$1=`@${name$1}`,source===`terms`?[name$1,path[Math.min(path.length-1,1)]]:name$1)},internals$37.sub=function(paths,skipped){for(let path of paths)for(let skip of skipped)if(DeepEqual$4(path.slice(0,skip.length),skip))return!0;return!1},internals$37.debug=function(state,event){state.mainstay.debug&&(event.path=state.debug?[...state.path,state.debug]:state.path,state.mainstay.debug.push(event))}}),require_merge$1=__commonJSMin((exports,module)=>{init_dist$1();let Assert$26=require_assert$1(),Clone$8=require_clone$1(),Utils$3=require_utils$1(),internals$36={};module.exports=internals$36.merge=function(target,source,options){if(Assert$26(target&&typeof target==`object`,`Invalid target value: must be an object`),Assert$26(source==null||typeof source==`object`,`Invalid source value: must be null, undefined, or an object`),!source)return target;if(options=Object.assign({nullOverride:!0,mergeArrays:!0},options),Array.isArray(source)){Assert$26(Array.isArray(target),`Cannot merge array onto an object`),options.mergeArrays||(target.length=0);for(let i$4=0;i$4<source.length;++i$4)target.push(Clone$8(source[i$4],{symbols:options.symbols}));return target}let keys=Utils$3.keys(source,options);for(let i$4=0;i$4<keys.length;++i$4){let key=keys[i$4];if(key===`__proto__`||!Object.prototype.propertyIsEnumerable.call(source,key))continue;let value=source[key];if(value&&typeof value==`object`){if(target[key]===value)continue;!target[key]||typeof target[key]!=`object`||Array.isArray(target[key])!==Array.isArray(value)||value instanceof Date||Buffer$1&&Buffer$1.isBuffer(value)||value instanceof RegExp?target[key]=Clone$8(value,{symbols:options.symbols}):internals$36.merge(target[key],value,options)}else value==null?options.nullOverride&&(target[key]=value):target[key]=value}return target}}),require_modify=__commonJSMin(exports=>{let Assert$25=require_assert$1(),Common$15=require_common(),Ref$4=require_ref$1(),internals$35={};exports.Ids=internals$35.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){let clone$4=new internals$35.Ids;return clone$4._byId=new Map(this._byId),clone$4._byKey=new Map(this._byKey),clone$4._schemaChain=this._schemaChain,clone$4}concat(source){source._schemaChain&&(this._schemaChain=!0);for(let[id,value]of source._byId.entries())Assert$25(!this._byKey.has(id),`Schema id conflicts with existing key:`,id),this._byId.set(id,value);for(let[key,value]of source._byKey.entries())Assert$25(!this._byId.has(key),`Schema key conflicts with existing id:`,key),this._byKey.set(key,value)}fork(path,adjuster,root){let chain=this._collect(path);chain.push({schema:root});let tail=chain.shift(),adjusted={id:tail.id,schema:adjuster(tail.schema)};Assert$25(Common$15.isSchema(adjusted.schema),`adjuster function failed to return a joi schema type`);for(let node of chain)adjusted={id:node.id,schema:internals$35.fork(node.schema,adjusted.id,adjusted.schema)};return adjusted.schema}labels(path,behind=[]){let current=path[0],node=this._get(current);if(!node)return[...behind,...path].join(`.`);let forward=path.slice(1);return behind=[...behind,node.schema._flags.label||current],forward.length?node.schema._ids.labels(forward,behind):behind.join(`.`)}reach(path,behind=[]){let current=path[0],node=this._get(current);Assert$25(node,`Schema does not contain path`,[...behind,...path].join(`.`));let forward=path.slice(1);return forward.length?node.schema._ids.reach(forward,[...behind,current]):node.schema}register(schema,{key}={}){if(!schema||!Common$15.isSchema(schema))return;(schema.$_property(`schemaChain`)||schema._ids._schemaChain)&&(this._schemaChain=!0);let id=schema._flags.id;if(id){let existing=this._byId.get(id);Assert$25(!existing||existing.schema===schema,`Cannot add different schemas with the same id:`,id),Assert$25(!this._byKey.has(id),`Schema id conflicts with existing key:`,id),this._byId.set(id,{schema,id})}key&&(Assert$25(!this._byKey.has(key),`Schema already contains key:`,key),Assert$25(!this._byId.has(key),`Schema key conflicts with existing id:`,key),this._byKey.set(key,{schema,id:key}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(path,behind=[],nodes=[]){let current=path[0],node=this._get(current);Assert$25(node,`Schema does not contain path`,[...behind,...path].join(`.`)),nodes=[node,...nodes];let forward=path.slice(1);return forward.length?node.schema._ids._collect(forward,[...behind,current],nodes):nodes}_get(id){return this._byId.get(id)||this._byKey.get(id)}},internals$35.fork=function(schema,id,replacement){let each=(item,{key})=>{if(id===(item._flags.id||key))return replacement},obj=exports.schema(schema,{each,ref:!1});return obj?obj.$_mutateRebuild():schema},exports.schema=function(schema,options){let obj;for(let name$1 in schema._flags){if(name$1[0]===`_`)continue;let result=internals$35.scan(schema._flags[name$1],{source:`flags`,name:name$1},options);result!==void 0&&(obj||=schema.clone(),obj._flags[name$1]=result)}for(let i$4=0;i$4<schema._rules.length;++i$4){let rule=schema._rules[i$4],result=internals$35.scan(rule.args,{source:`rules`,name:rule.name},options);if(result!==void 0){obj||=schema.clone();let clone$4=Object.assign({},rule);clone$4.args=result,obj._rules[i$4]=clone$4;let existingUnique=obj._singleRules.get(rule.name);existingUnique===rule&&obj._singleRules.set(rule.name,clone$4)}}for(let name$1 in schema.$_terms){if(name$1[0]===`_`)continue;let result=internals$35.scan(schema.$_terms[name$1],{source:`terms`,name:name$1},options);result!==void 0&&(obj||=schema.clone(),obj.$_terms[name$1]=result)}return obj},internals$35.scan=function(item,source,options,_path,_key){let path=_path||[];if(typeof item!=`object`||!item)return;let clone$4;if(Array.isArray(item)){for(let i$4=0;i$4<item.length;++i$4){let key=source.source===`terms`&&source.name===`keys`&&item[i$4].key,result=internals$35.scan(item[i$4],source,options,[i$4,...path],key);result!==void 0&&(clone$4||=item.slice(),clone$4[i$4]=result)}return clone$4}if(options.schema!==!1&&Common$15.isSchema(item)||options.ref!==!1&&Ref$4.isRef(item)){let result=options.each(item,{...source,path,key:_key});return result===item?void 0:result}for(let key in item){if(key[0]===`_`)continue;let result=internals$35.scan(item[key],source,options,[key,...path],_key);result!==void 0&&(clone$4||=Object.assign({},item),clone$4[key]=result)}return clone$4}}),require_ignore$1=__commonJSMin((exports,module)=>{module.exports=function(){}}),require_state=__commonJSMin((exports,module)=>{let Clone$7=require_clone$1(),Reach$6=require_reach$1(),Common$14=require_common(),internals$34={value:Symbol(`value`)};module.exports=internals$34.State=class{constructor(path,ancestors,state){this.path=path,this.ancestors=ancestors,this.mainstay=state.mainstay,this.schemas=state.schemas,this.debug=null}localize(path,ancestors=null,schema=null){let state=new internals$34.State(path,ancestors,this);return schema&&state.schemas&&(state.schemas=[internals$34.schemas(schema),...state.schemas]),state}nest(schema,debug$5){let state=new internals$34.State(this.path,this.ancestors,this);return state.schemas=state.schemas&&[internals$34.schemas(schema),...state.schemas],state.debug=debug$5,state}shadow(value,reason){this.mainstay.shadow=this.mainstay.shadow||new internals$34.Shadow,this.mainstay.shadow.set(this.path,value,reason)}snapshot(){this.mainstay.shadow&&(this._snapshot=Clone$7(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},internals$34.schemas=function(schema){return Common$14.isSchema(schema)?{schema}:schema},internals$34.Shadow=class{constructor(){this._values=null}set(path,value,reason){if(!path.length||reason===`strip`&&typeof path[path.length-1]==`number`)return;this._values=this._values||new Map;let node=this._values;for(let i$4=0;i$4<path.length;++i$4){let segment=path[i$4],next=node.get(segment);next||(next=new Map,node.set(segment,next)),node=next}node[internals$34.value]=value}get(path){let node=this.node(path);if(node)return node[internals$34.value]}node(path){if(this._values)return Reach$6(this._values,path,{iterables:!0})}override(path,node){if(!this._values)return;let parents=path.slice(0,-1),own=path[path.length-1],parent=Reach$6(this._values,parents,{iterables:!0});if(node){parent.set(own,node);return}parent&&parent.delete(own)}}}),require_validator=__commonJSMin(exports=>{let Assert$24=require_assert$1(),Clone$6=require_clone$1(),Ignore$1=require_ignore$1(),Reach$5=require_reach$1(),Common$13=require_common(),Errors$7=require_errors$1(),State=require_state(),internals$33={result:Symbol(`result`)};exports.entry=function(value,schema,prefs){let settings=Common$13.defaults;prefs&&(Assert$24(prefs.warnings===void 0,`Cannot override warnings preference in synchronous validation`),Assert$24(prefs.artifacts===void 0,`Cannot override artifacts preference in synchronous validation`),settings=Common$13.preferences(Common$13.defaults,prefs));let result=internals$33.entry(value,schema,settings);Assert$24(!result.mainstay.externals.length,`Schema with external rules must use validateAsync()`);let outcome={value:result.value};return result.error&&(outcome.error=result.error),result.mainstay.warnings.length&&(outcome.warning=Errors$7.details(result.mainstay.warnings)),result.mainstay.debug&&(outcome.debug=result.mainstay.debug),result.mainstay.artifacts&&(outcome.artifacts=result.mainstay.artifacts),outcome},exports.entryAsync=async function(value,schema,prefs){let settings=Common$13.defaults;prefs&&(settings=Common$13.preferences(Common$13.defaults,prefs));let result=internals$33.entry(value,schema,settings),mainstay=result.mainstay;if(result.error)throw mainstay.debug&&(result.error.debug=mainstay.debug),result.error;if(mainstay.externals.length){let root=result.value,errors=[];for(let external of mainstay.externals){let path=external.state.path,linked=external.schema.type===`link`?mainstay.links.get(external.schema):null,node=root,key,parent,ancestors=path.length?[root]:[],original=path.length?Reach$5(value,path):value;if(path.length){key=path[path.length-1];let current=root;for(let segment of path.slice(0,-1))current=current[segment],ancestors.unshift(current);parent=ancestors[0],node=parent[key]}try{let createError=(code$2,local)=>(linked||external.schema).$_createError(code$2,node,local,external.state,settings),output=await external.method(node,{schema:external.schema,linked,state:external.state,prefs,original,error:createError,errorsArray:internals$33.errorsArray,warn:(code$2,local)=>mainstay.warnings.push((linked||external.schema).$_createError(code$2,node,local,external.state,settings)),message:(messages$2,local)=>(linked||external.schema).$_createError(`external`,node,local,external.state,settings,{messages:messages$2})});if(output===void 0||output===node)continue;if(output instanceof Errors$7.Report){if(mainstay.tracer.log(external.schema,external.state,`rule`,`external`,`error`),errors.push(output),settings.abortEarly)break;continue}if(Array.isArray(output)&&output[Common$13.symbols.errors]){if(mainstay.tracer.log(external.schema,external.state,`rule`,`external`,`error`),errors.push(...output),settings.abortEarly)break;continue}parent?(mainstay.tracer.value(external.state,`rule`,node,output,`external`),parent[key]=output):(mainstay.tracer.value(external.state,`rule`,root,output,`external`),root=output)}catch(err$1){throw settings.errors.label&&(err$1.message+=` (${external.label})`),err$1}}if(result.value=root,errors.length)throw result.error=Errors$7.process(errors,value,settings),mainstay.debug&&(result.error.debug=mainstay.debug),result.error}if(!settings.warnings&&!settings.debug&&!settings.artifacts)return result.value;let outcome={value:result.value};return mainstay.warnings.length&&(outcome.warning=Errors$7.details(mainstay.warnings)),mainstay.debug&&(outcome.debug=mainstay.debug),mainstay.artifacts&&(outcome.artifacts=mainstay.artifacts),outcome},internals$33.Mainstay=class{constructor(tracer,debug$5,links){this.externals=[],this.warnings=[],this.tracer=tracer,this.debug=debug$5,this.links=links,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){let snapshot=this._snapshots.pop();this.externals=snapshot.externals,this.warnings=snapshot.warnings}commit(){this._snapshots.pop()}},internals$33.entry=function(value,schema,prefs){let{tracer,cleanup}=internals$33.tracer(schema,prefs),debug$5=prefs.debug?[]:null,links=schema._ids._schemaChain?new Map:null,mainstay=new internals$33.Mainstay(tracer,debug$5,links),schemas=schema._ids._schemaChain?[{schema}]:null,state=new State([],[],{mainstay,schemas}),result=exports.validate(value,schema,state,prefs);cleanup&&schema.$_root.untrace();let error=Errors$7.process(result.errors,value,prefs);return{value:result.value,error,mainstay}},internals$33.tracer=function(schema,prefs){return schema.$_root._tracer?{tracer:schema.$_root._tracer._register(schema)}:prefs.debug?(Assert$24(schema.$_root.trace,`Debug mode not supported`),{tracer:schema.$_root.trace()._register(schema),cleanup:!0}):{tracer:internals$33.ignore}},exports.validate=function(value,schema,state,prefs,overrides={}){if(schema.$_terms.whens&&(schema=schema._generate(value,state,prefs).schema),schema._preferences&&(prefs=internals$33.prefs(schema,prefs)),schema._cache&&prefs.cache){let result=schema._cache.get(value);if(state.mainstay.tracer.debug(state,`validate`,`cached`,!!result),result)return result}let createError=(code$2,local,localState)=>schema.$_createError(code$2,value,local,localState||state,prefs),helpers={original:value,prefs,schema,state,error:createError,errorsArray:internals$33.errorsArray,warn:(code$2,local,localState)=>state.mainstay.warnings.push(createError(code$2,local,localState)),message:(messages$2,local)=>schema.$_createError(`custom`,value,local,state,prefs,{messages:messages$2})};state.mainstay.tracer.entry(schema,state);let def=schema._definition;if(def.prepare&&value!==void 0&&prefs.convert){let prepared=def.prepare(value,helpers);if(prepared){if(state.mainstay.tracer.value(state,`prepare`,value,prepared.value),prepared.errors)return internals$33.finalize(prepared.value,[].concat(prepared.errors),helpers);value=prepared.value}}if(def.coerce&&value!==void 0&&prefs.convert&&(!def.coerce.from||def.coerce.from.includes(typeof value))){let coerced=def.coerce.method(value,helpers);if(coerced){if(state.mainstay.tracer.value(state,`coerced`,value,coerced.value),coerced.errors)return internals$33.finalize(coerced.value,[].concat(coerced.errors),helpers);value=coerced.value}}let empty=schema._flags.empty;empty&&empty.$_match(internals$33.trim(value,schema),state.nest(empty),Common$13.defaults)&&(state.mainstay.tracer.value(state,`empty`,value,void 0),value=void 0);let presence=overrides.presence||schema._flags.presence||(schema._flags._endedSwitch?null:prefs.presence);if(value===void 0){if(presence===`forbidden`)return internals$33.finalize(value,null,helpers);if(presence===`required`)return internals$33.finalize(value,[schema.$_createError(`any.required`,value,null,state,prefs)],helpers);if(presence===`optional`){if(schema._flags.default!==Common$13.symbols.deepDefault)return internals$33.finalize(value,null,helpers);state.mainstay.tracer.value(state,`default`,value,{}),value={}}}else if(presence===`forbidden`)return internals$33.finalize(value,[schema.$_createError(`any.unknown`,value,null,state,prefs)],helpers);let errors=[];if(schema._valids){let match$2=schema._valids.get(value,state,prefs,schema._flags.insensitive);if(match$2)return prefs.convert&&(state.mainstay.tracer.value(state,`valids`,value,match$2.value),value=match$2.value),state.mainstay.tracer.filter(schema,state,`valid`,match$2),internals$33.finalize(value,null,helpers);if(schema._flags.only){let report=schema.$_createError(`any.only`,value,{valids:schema._valids.values({display:!0})},state,prefs);if(prefs.abortEarly)return internals$33.finalize(value,[report],helpers);errors.push(report)}}if(schema._invalids){let match$2=schema._invalids.get(value,state,prefs,schema._flags.insensitive);if(match$2){state.mainstay.tracer.filter(schema,state,`invalid`,match$2);let report=schema.$_createError(`any.invalid`,value,{invalids:schema._invalids.values({display:!0})},state,prefs);if(prefs.abortEarly)return internals$33.finalize(value,[report],helpers);errors.push(report)}}if(def.validate){let base=def.validate(value,helpers);if(base&&(state.mainstay.tracer.value(state,`base`,value,base.value),value=base.value,base.errors)){if(!Array.isArray(base.errors))return errors.push(base.errors),internals$33.finalize(value,errors,helpers);if(base.errors.length)return errors.push(...base.errors),internals$33.finalize(value,errors,helpers)}}return schema._rules.length?internals$33.rules(value,errors,helpers):internals$33.finalize(value,errors,helpers)},internals$33.rules=function(value,errors,helpers){let{schema,state,prefs}=helpers;for(let rule of schema._rules){let definition=schema._definition.rules[rule.method];if(definition.convert&&prefs.convert){state.mainstay.tracer.log(schema,state,`rule`,rule.name,`full`);continue}let ret,args$1=rule.args;if(rule._resolve.length){args$1=Object.assign({},args$1);for(let key of rule._resolve){let resolver=definition.argsByName.get(key),resolved=args$1[key].resolve(value,state,prefs),normalized=resolver.normalize?resolver.normalize(resolved):resolved,invalid$1=Common$13.validateArg(normalized,null,resolver);if(invalid$1){ret=schema.$_createError(`any.ref`,resolved,{arg:key,ref:args$1[key],reason:invalid$1},state,prefs);break}args$1[key]=normalized}}ret||=definition.validate(value,helpers,args$1,rule);let result=internals$33.rule(ret,rule);if(result.errors){if(state.mainstay.tracer.log(schema,state,`rule`,rule.name,`error`),rule.warn){state.mainstay.warnings.push(...result.errors);continue}if(prefs.abortEarly)return internals$33.finalize(value,result.errors,helpers);errors.push(...result.errors)}else state.mainstay.tracer.log(schema,state,`rule`,rule.name,`pass`),state.mainstay.tracer.value(state,`rule`,value,result.value,rule.name),value=result.value}return internals$33.finalize(value,errors,helpers)},internals$33.rule=function(ret,rule){return ret instanceof Errors$7.Report?(internals$33.error(ret,rule),{errors:[ret],value:null}):Array.isArray(ret)&&ret[Common$13.symbols.errors]?(ret.forEach(report=>internals$33.error(report,rule)),{errors:ret,value:null}):{errors:null,value:ret}},internals$33.error=function(report,rule){return rule.message&&report._setTemplate(rule.message),report},internals$33.finalize=function(value,errors,helpers){errors||=[];let{schema,state,prefs}=helpers;if(errors.length){let failover=internals$33.default(`failover`,void 0,errors,helpers);failover!==void 0&&(state.mainstay.tracer.value(state,`failover`,value,failover),value=failover,errors=[])}if(errors.length&&schema._flags.error)if(typeof schema._flags.error==`function`){errors=schema._flags.error(errors),Array.isArray(errors)||(errors=[errors]);for(let error of errors)Assert$24(error instanceof Error||error instanceof Errors$7.Report,`error() must return an Error object`)}else errors=[schema._flags.error];if(value===void 0){let defaulted=internals$33.default(`default`,value,errors,helpers);state.mainstay.tracer.value(state,`default`,value,defaulted),value=defaulted}if(schema._flags.cast&&value!==void 0){let caster=schema._definition.cast[schema._flags.cast];if(caster.from(value)){let casted=caster.to(value,helpers);state.mainstay.tracer.value(state,`cast`,value,casted,schema._flags.cast),value=casted}}if(schema.$_terms.externals&&prefs.externals&&prefs._externals!==!1)for(let{method}of schema.$_terms.externals)state.mainstay.externals.push({method,schema,state,label:Errors$7.label(schema._flags,state,prefs)});let result={value,errors:errors.length?errors:null};return schema._flags.result&&(result.value=schema._flags.result===`strip`?void 0:helpers.original,state.mainstay.tracer.value(state,schema._flags.result,value,result.value),state.shadow(value,schema._flags.result)),schema._cache&&prefs.cache!==!1&&!schema._refs.length&&schema._cache.set(helpers.original,result),value!==void 0&&!result.errors&&schema._flags.artifact!==void 0&&(state.mainstay.artifacts=state.mainstay.artifacts||new Map,state.mainstay.artifacts.has(schema._flags.artifact)||state.mainstay.artifacts.set(schema._flags.artifact,[]),state.mainstay.artifacts.get(schema._flags.artifact).push(state.path)),result},internals$33.prefs=function(schema,prefs){let isDefaultOptions=prefs===Common$13.defaults;return isDefaultOptions&&schema._preferences[Common$13.symbols.prefs]?schema._preferences[Common$13.symbols.prefs]:(prefs=Common$13.preferences(prefs,schema._preferences),isDefaultOptions&&(schema._preferences[Common$13.symbols.prefs]=prefs),prefs)},internals$33.default=function(flag,value,errors,helpers){let{schema,state,prefs}=helpers,source=schema._flags[flag];if(prefs.noDefaults||source===void 0)return value;if(state.mainstay.tracer.log(schema,state,`rule`,flag,`full`),!source)return source;if(typeof source==`function`){let args$1=source.length?[Clone$6(state.ancestors[0]),helpers]:[];try{return source(...args$1)}catch(err$1){errors.push(schema.$_createError(`any.${flag}`,null,{error:err$1},state,prefs));return}}return typeof source==`object`?source[Common$13.symbols.literal]?source.literal:Common$13.isResolvable(source)?source.resolve(value,state,prefs):Clone$6(source):source},internals$33.trim=function(value,schema){if(typeof value!=`string`)return value;let trim=schema.$_getRule(`trim`);return!trim||!trim.args.enabled?value:value.trim()},internals$33.ignore={active:!1,debug:Ignore$1,entry:Ignore$1,filter:Ignore$1,log:Ignore$1,resolve:Ignore$1,value:Ignore$1},internals$33.errorsArray=function(){let errors=[];return errors[Common$13.symbols.errors]=!0,errors}}),require_values=__commonJSMin((exports,module)=>{let Assert$23=require_assert$1(),DeepEqual$3=require_deepEqual$1(),Common$12=require_common(),internals$32={};module.exports=internals$32.Values=class{constructor(values,refs){this._values=new Set(values),this._refs=new Set(refs),this._lowercase=internals$32.lowercases(values),this._override=!1}get length(){return this._values.size+this._refs.size}add(value,refs){if(Common$12.isResolvable(value)){this._refs.has(value)||(this._refs.add(value),refs&&refs.register(value));return}this.has(value,null,null,!1)||(this._values.add(value),typeof value==`string`&&this._lowercase.set(value.toLowerCase(),value))}static merge(target,source,remove){if(target||=new internals$32.Values,source){if(source._override)return source.clone();for(let item of[...source._values,...source._refs])target.add(item)}if(remove)for(let item of[...remove._values,...remove._refs])target.remove(item);return target.length?target:null}remove(value){if(Common$12.isResolvable(value)){this._refs.delete(value);return}this._values.delete(value),typeof value==`string`&&this._lowercase.delete(value.toLowerCase())}has(value,state,prefs,insensitive){return!!this.get(value,state,prefs,insensitive)}get(value,state,prefs,insensitive){if(!this.length)return!1;if(this._values.has(value))return{value};if(typeof value==`string`&&value&&insensitive){let found=this._lowercase.get(value.toLowerCase());if(found)return{value:found}}if(!this._refs.size&&typeof value!=`object`)return!1;if(typeof value==`object`){for(let item of this._values)if(DeepEqual$3(item,value))return{value:item}}if(state)for(let ref of this._refs){let resolved=ref.resolve(value,state,prefs,null,{in:!0});if(resolved===void 0)continue;let items=!ref.in||typeof resolved!=`object`?[resolved]:Array.isArray(resolved)?resolved:Object.keys(resolved);for(let item of items){if(typeof item!=typeof value)continue;if(insensitive&&value&&typeof value==`string`){if(item.toLowerCase()===value.toLowerCase())return{value:item,ref}}else if(DeepEqual$3(item,value))return{value:item,ref}}}return!1}override(){this._override=!0}values(options){if(options&&options.display){let values=[];for(let item of[...this._values,...this._refs])item!==void 0&&values.push(item);return values}return Array.from([...this._values,...this._refs])}clone(){let set=new internals$32.Values(this._values,this._refs);return set._override=this._override,set}concat(source){Assert$23(!source._override,`Cannot concat override set of values`);let set=new internals$32.Values([...this._values,...source._values],[...this._refs,...source._refs]);return set._override=this._override,set}describe(){let normalized=[];this._override&&normalized.push({override:!0});for(let value of this._values.values())normalized.push(value&&typeof value==`object`?{value}:value);for(let value of this._refs.values())normalized.push(value.describe());return normalized}},internals$32.Values.prototype[Common$12.symbols.values]=!0,internals$32.Values.prototype.slice=internals$32.Values.prototype.clone,internals$32.lowercases=function(from){let map=new Map;if(from)for(let value of from)typeof value==`string`&&map.set(value.toLowerCase(),value);return map}}),require_base=__commonJSMin((exports,module)=>{let Assert$22=require_assert$1(),Clone$5=require_clone$1(),DeepEqual$2=require_deepEqual$1(),Merge$3=require_merge$1(),Cache$1=require_cache(),Common$11=require_common(),Compile$5=require_compile(),Errors$6=require_errors$1(),Extend$1=require_extend(),Manifest$1=require_manifest(),Messages$1=require_messages(),Modify=require_modify(),Ref$3=require_ref$1(),Trace$1=require_trace(),Validator=require_validator(),Values$1=require_values(),internals$31={};internals$31.Base=class{constructor(type){this.type=type,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new Modify.Ids,this._preferences=null,this._refs=new Ref$3.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return Assert$22(typeof Manifest$1.describe==`function`,`Manifest functionality disabled`),Manifest$1.describe(this)}allow(...values){return Common$11.verifyFlat(values,`allow`),this._values(values,`_valids`)}alter(targets){Assert$22(targets&&typeof targets==`object`&&!Array.isArray(targets),`Invalid targets argument`),Assert$22(!this._inRuleset(),`Cannot set alterations inside a ruleset`);let obj=this.clone();for(let target in obj.$_terms.alterations=obj.$_terms.alterations||[],targets){let adjuster=targets[target];Assert$22(typeof adjuster==`function`,`Alteration adjuster for`,target,`must be a function`),obj.$_terms.alterations.push({target,adjuster})}return obj.$_temp.ruleset=!1,obj}artifact(id){return Assert$22(id!==void 0,`Artifact cannot be undefined`),Assert$22(!this._cache,`Cannot set an artifact with a rule cache`),this.$_setFlag(`artifact`,id)}cast(to){return Assert$22(to===!1||typeof to==`string`,`Invalid to value`),Assert$22(to===!1||this._definition.cast[to],`Type`,this.type,`does not support casting to`,to),this.$_setFlag(`cast`,to===!1?void 0:to)}default(value,options){return this._default(`default`,value,options)}description(desc$1){return Assert$22(desc$1&&typeof desc$1==`string`,`Description must be a non-empty string`),this.$_setFlag(`description`,desc$1)}empty(schema){let obj=this.clone();return schema!==void 0&&(schema=obj.$_compile(schema,{override:!1})),obj.$_setFlag(`empty`,schema,{clone:!1})}error(err$1){return Assert$22(err$1,`Missing error`),Assert$22(err$1 instanceof Error||typeof err$1==`function`,`Must provide a valid Error object or a function`),this.$_setFlag(`error`,err$1)}example(example,options={}){return Assert$22(example!==void 0,`Missing example`),Common$11.assertOptions(options,[`override`]),this._inner(`examples`,example,{single:!0,override:options.override})}external(method,description$1){return typeof method==`object`&&(Assert$22(!description$1,`Cannot combine options with description`),description$1=method.description,method=method.method),Assert$22(typeof method==`function`,`Method must be a function`),Assert$22(description$1===void 0||description$1&&typeof description$1==`string`,`Description must be a non-empty string`),this._inner(`externals`,{method,description:description$1},{single:!0})}failover(value,options){return this._default(`failover`,value,options)}forbidden(){return this.presence(`forbidden`)}id(id){return id?(Assert$22(typeof id==`string`,`id must be a non-empty string`),Assert$22(/^[^\.]+$/.test(id),`id cannot contain period character`),this.$_setFlag(`id`,id)):this.$_setFlag(`id`,void 0)}invalid(...values){return this._values(values,`_invalids`)}label(name$1){return Assert$22(name$1&&typeof name$1==`string`,`Label name must be a non-empty string`),this.$_setFlag(`label`,name$1)}meta(meta){return Assert$22(meta!==void 0,`Meta cannot be undefined`),this._inner(`metas`,meta,{single:!0})}note(...notes){Assert$22(notes.length,`Missing notes`);for(let note of notes)Assert$22(note&&typeof note==`string`,`Notes must be non-empty strings`);return this._inner(`notes`,notes)}only(mode=!0){return Assert$22(typeof mode==`boolean`,`Invalid mode:`,mode),this.$_setFlag(`only`,mode)}optional(){return this.presence(`optional`)}prefs(prefs){Assert$22(prefs,`Missing preferences`),Assert$22(prefs.context===void 0,`Cannot override context`),Assert$22(prefs.externals===void 0,`Cannot override externals`),Assert$22(prefs.warnings===void 0,`Cannot override warnings`),Assert$22(prefs.debug===void 0,`Cannot override debug`),Common$11.checkPreferences(prefs);let obj=this.clone();return obj._preferences=Common$11.preferences(obj._preferences,prefs),obj}presence(mode){return Assert$22([`optional`,`required`,`forbidden`].includes(mode),`Unknown presence mode`,mode),this.$_setFlag(`presence`,mode)}raw(enabled=!0){return this.$_setFlag(`result`,enabled?`raw`:void 0)}result(mode){return Assert$22([`raw`,`strip`].includes(mode),`Unknown result mode`,mode),this.$_setFlag(`result`,mode)}required(){return this.presence(`required`)}strict(enabled){let obj=this.clone(),convert=enabled===void 0?!1:!enabled;return obj._preferences=Common$11.preferences(obj._preferences,{convert}),obj}strip(enabled=!0){return this.$_setFlag(`result`,enabled?`strip`:void 0)}tag(...tags){Assert$22(tags.length,`Missing tags`);for(let tag of tags)Assert$22(tag&&typeof tag==`string`,`Tags must be non-empty strings`);return this._inner(`tags`,tags)}unit(name$1){return Assert$22(name$1&&typeof name$1==`string`,`Unit name must be a non-empty string`),this.$_setFlag(`unit`,name$1)}valid(...values){Common$11.verifyFlat(values,`valid`);let obj=this.allow(...values);return obj.$_setFlag(`only`,!!obj._valids,{clone:!1}),obj}when(condition,options){let obj=this.clone();obj.$_terms.whens||(obj.$_terms.whens=[]);let when=Compile$5.when(obj,condition,options);if(![`any`,`link`].includes(obj.type)){let conditions=when.is?[when]:when.switch;for(let item of conditions)Assert$22(!item.then||item.then.type===`any`||item.then.type===obj.type,`Cannot combine`,obj.type,`with`,item.then&&item.then.type),Assert$22(!item.otherwise||item.otherwise.type===`any`||item.otherwise.type===obj.type,`Cannot combine`,obj.type,`with`,item.otherwise&&item.otherwise.type)}return obj.$_terms.whens.push(when),obj.$_mutateRebuild()}cache(cache$2){Assert$22(!this._inRuleset(),`Cannot set caching inside a ruleset`),Assert$22(!this._cache,`Cannot override schema cache`),Assert$22(this._flags.artifact===void 0,`Cannot cache a rule with an artifact`);let obj=this.clone();return obj._cache=cache$2||Cache$1.provider.provision(),obj.$_temp.ruleset=!1,obj}clone(){let obj=Object.create(Object.getPrototypeOf(this));return this._assign(obj)}concat(source){Assert$22(Common$11.isSchema(source),`Invalid schema object`),Assert$22(this.type===`any`||source.type===`any`||source.type===this.type,`Cannot merge type`,this.type,`with another type:`,source.type),Assert$22(!this._inRuleset(),`Cannot concatenate onto a schema with open ruleset`),Assert$22(!source._inRuleset(),`Cannot concatenate a schema with open ruleset`);let obj=this.clone();if(this.type===`any`&&source.type!==`any`){let tmpObj=source.clone();for(let key of Object.keys(obj))key!==`type`&&(tmpObj[key]=obj[key]);obj=tmpObj}obj._ids.concat(source._ids),obj._refs.register(source,Ref$3.toSibling),obj._preferences=obj._preferences?Common$11.preferences(obj._preferences,source._preferences):source._preferences,obj._valids=Values$1.merge(obj._valids,source._valids,source._invalids),obj._invalids=Values$1.merge(obj._invalids,source._invalids,source._valids);for(let name$1 of source._singleRules.keys())obj._singleRules.has(name$1)&&(obj._rules=obj._rules.filter(target=>target.keep||target.name!==name$1),obj._singleRules.delete(name$1));for(let test of source._rules)source._definition.rules[test.method].multi||obj._singleRules.set(test.name,test),obj._rules.push(test);if(obj._flags.empty&&source._flags.empty){obj._flags.empty=obj._flags.empty.concat(source._flags.empty);let flags=Object.assign({},source._flags);delete flags.empty,Merge$3(obj._flags,flags)}else if(source._flags.empty){obj._flags.empty=source._flags.empty;let flags=Object.assign({},source._flags);delete flags.empty,Merge$3(obj._flags,flags)}else Merge$3(obj._flags,source._flags);for(let key in source.$_terms){let terms=source.$_terms[key];if(!terms){obj.$_terms[key]||(obj.$_terms[key]=terms);continue}if(!obj.$_terms[key]){obj.$_terms[key]=terms.slice();continue}obj.$_terms[key]=obj.$_terms[key].concat(terms)}return this.$_root._tracer&&this.$_root._tracer._combine(obj,[this,source]),obj.$_mutateRebuild()}extend(options){return Assert$22(!options.base,`Cannot extend type with another base`),Extend$1.type(this,options)}extract(path){return path=Array.isArray(path)?path:path.split(`.`),this._ids.reach(path)}fork(paths,adjuster){Assert$22(!this._inRuleset(),`Cannot fork inside a ruleset`);let obj=this;for(let path of[].concat(paths))path=Array.isArray(path)?path:path.split(`.`),obj=obj._ids.fork(path,adjuster,obj);return obj.$_temp.ruleset=!1,obj}rule(options){let def=this._definition;Common$11.assertOptions(options,Object.keys(def.modifiers)),Assert$22(this.$_temp.ruleset!==!1,`Cannot apply rules to empty ruleset or the last rule added does not support rule properties`);let start=this.$_temp.ruleset===null?this._rules.length-1:this.$_temp.ruleset;Assert$22(start>=0&&start<this._rules.length,`Cannot apply rules to empty ruleset`);let obj=this.clone();for(let i$4=start;i$4<obj._rules.length;++i$4){let original=obj._rules[i$4],rule=Clone$5(original);for(let name$1 in options)def.modifiers[name$1](rule,options[name$1]),Assert$22(rule.name===original.name,`Cannot change rule name`);obj._rules[i$4]=rule,obj._singleRules.get(rule.name)===original&&obj._singleRules.set(rule.name,rule)}return obj.$_temp.ruleset=!1,obj.$_mutateRebuild()}get ruleset(){Assert$22(!this._inRuleset(),`Cannot start a new ruleset without closing the previous one`);let obj=this.clone();return obj.$_temp.ruleset=obj._rules.length,obj}get $(){return this.ruleset}tailor(targets){targets=[].concat(targets),Assert$22(!this._inRuleset(),`Cannot tailor inside a ruleset`);let obj=this;if(this.$_terms.alterations)for(let{target,adjuster}of this.$_terms.alterations)targets.includes(target)&&(obj=adjuster(obj),Assert$22(Common$11.isSchema(obj),`Alteration adjuster for`,target,`failed to return a schema object`));return obj=obj.$_modify({each:item=>item.tailor(targets),ref:!1}),obj.$_temp.ruleset=!1,obj.$_mutateRebuild()}tracer(){return Trace$1.location?Trace$1.location(this):this}validate(value,options){return Validator.entry(value,this,options)}validateAsync(value,options){return Validator.entryAsync(value,this,options)}$_addRule(options){for(let key in typeof options==`string`&&(options={name:options}),Assert$22(options&&typeof options==`object`,`Invalid options`),Assert$22(options.name&&typeof options.name==`string`,`Invalid rule name`),options)Assert$22(key[0]!==`_`,`Cannot set private rule properties`);let rule=Object.assign({},options);rule._resolve=[],rule.method=rule.method||rule.name;let definition=this._definition.rules[rule.method],args$1=rule.args;Assert$22(definition,`Unknown rule`,rule.method);let obj=this.clone();if(args$1)for(let key in Assert$22(Object.keys(args$1).length===1||Object.keys(args$1).length===this._definition.rules[rule.name].args.length,`Invalid rule definition for`,this.type,rule.name),args$1){let arg=args$1[key];if(definition.argsByName){let resolver=definition.argsByName.get(key);if(resolver.ref&&Common$11.isResolvable(arg))rule._resolve.push(key),obj.$_mutateRegister(arg);else if(resolver.normalize&&(arg=resolver.normalize(arg),args$1[key]=arg),resolver.assert){let error=Common$11.validateArg(arg,key,resolver);Assert$22(!error,error,`or reference`)}}if(arg===void 0){delete args$1[key];continue}args$1[key]=arg}return definition.multi||(obj._ruleRemove(rule.name,{clone:!1}),obj._singleRules.set(rule.name,rule)),obj.$_temp.ruleset===!1&&(obj.$_temp.ruleset=null),definition.priority?obj._rules.unshift(rule):obj._rules.push(rule),obj}$_compile(schema,options){return Compile$5.schema(this.$_root,schema,options)}$_createError(code$2,value,local,state,prefs,options={}){let flags=options.flags===!1?{}:this._flags,messages$2=options.messages?Messages$1.merge(this._definition.messages,options.messages):this._definition.messages;return new Errors$6.Report(code$2,value,local,flags,messages$2,state,prefs)}$_getFlag(name$1){return this._flags[name$1]}$_getRule(name$1){return this._singleRules.get(name$1)}$_mapLabels(path){return path=Array.isArray(path)?path:path.split(`.`),this._ids.labels(path)}$_match(value,state,prefs,overrides){prefs=Object.assign({},prefs),prefs.abortEarly=!0,prefs._externals=!1,state.snapshot();let result=!Validator.validate(value,this,state,prefs,overrides).errors;return state.restore(),result}$_modify(options){return Common$11.assertOptions(options,[`each`,`once`,`ref`,`schema`]),Modify.schema(this,options)||this}$_mutateRebuild(){Assert$22(!this._inRuleset(),`Cannot add this rule inside a ruleset`),this._refs.reset(),this._ids.reset();let each=(item,{source,name:name$1,path,key})=>{let family=this._definition[source][name$1]&&this._definition[source][name$1].register;family!==!1&&this.$_mutateRegister(item,{family,key})};return this.$_modify({each}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(schema,{family,key}={}){this._refs.register(schema,family),this._ids.register(schema,{key})}$_property(name$1){return this._definition.properties[name$1]}$_reach(path){return this._ids.reach(path)}$_rootReferences(){return this._refs.roots()}$_setFlag(name$1,value,options={}){Assert$22(name$1[0]===`_`||!this._inRuleset(),`Cannot set flag inside a ruleset`);let flag=this._definition.flags[name$1]||{};if(DeepEqual$2(value,flag.default)&&(value=void 0),DeepEqual$2(value,this._flags[name$1]))return this;let obj=options.clone===!1?this:this.clone();return value===void 0?delete obj._flags[name$1]:(obj._flags[name$1]=value,obj.$_mutateRegister(value)),name$1[0]!==`_`&&(obj.$_temp.ruleset=!1),obj}$_parent(method,...args$1){return this[method][Common$11.symbols.parent].call(this,...args$1)}$_validate(value,state,prefs){return Validator.validate(value,this,state,prefs)}_assign(target){for(let key in target.type=this.type,target.$_root=this.$_root,target.$_temp=Object.assign({},this.$_temp),target.$_temp.whens={},target._ids=this._ids.clone(),target._preferences=this._preferences,target._valids=this._valids&&this._valids.clone(),target._invalids=this._invalids&&this._invalids.clone(),target._rules=this._rules.slice(),target._singleRules=Clone$5(this._singleRules,{shallow:!0}),target._refs=this._refs.clone(),target._flags=Object.assign({},this._flags),target._cache=null,target.$_terms={},this.$_terms)target.$_terms[key]=this.$_terms[key]?this.$_terms[key].slice():null;for(let override in target.$_super={},this.$_super)target.$_super[override]=this._super[override].bind(target);return target}_bare(){let obj=this.clone();obj._reset();let terms=obj._definition.terms;for(let name$1 in terms){let term=terms[name$1];obj.$_terms[name$1]=term.init}return obj.$_mutateRebuild()}_default(flag,value,options={}){Common$11.assertOptions(options,`literal`),Assert$22(value!==void 0,`Missing`,flag,`value`),Assert$22(typeof value==`function`||!options.literal,`Only function value supports literal option`),typeof value==`function`&&options.literal&&(value={[Common$11.symbols.literal]:!0,literal:value});let obj=this.$_setFlag(flag,value);return obj}_generate(value,state,prefs){if(!this.$_terms.whens)return{schema:this};let whens=[],ids=[];for(let i$4=0;i$4<this.$_terms.whens.length;++i$4){let when=this.$_terms.whens[i$4];if(when.concat){whens.push(when.concat),ids.push(`${i$4}.concat`);continue}let input=when.ref?when.ref.resolve(value,state,prefs):value,tests=when.is?[when]:when.switch,before=ids.length;for(let j$1=0;j$1<tests.length;++j$1){let{is,then,otherwise}=tests[j$1],baseId=`${i$4}${when.switch?`.`+j$1:``}`;if(is.$_match(input,state.nest(is,`${baseId}.is`),prefs)){if(then){let localState=state.localize([...state.path,`${baseId}.then`],state.ancestors,state.schemas),{schema:generated,id:id$1}=then._generate(value,localState,prefs);whens.push(generated),ids.push(`${baseId}.then${id$1?`(${id$1})`:``}`);break}}else if(otherwise){let localState=state.localize([...state.path,`${baseId}.otherwise`],state.ancestors,state.schemas),{schema:generated,id:id$1}=otherwise._generate(value,localState,prefs);whens.push(generated),ids.push(`${baseId}.otherwise${id$1?`(${id$1})`:``}`);break}}if(when.break&&ids.length>before)break}let id=ids.join(`, `);if(state.mainstay.tracer.debug(state,`rule`,`when`,id),!id)return{schema:this};if(!state.mainstay.tracer.active&&this.$_temp.whens[id])return{schema:this.$_temp.whens[id],id};let obj=this;this._definition.generate&&(obj=this._definition.generate(this,value,state,prefs));for(let when of whens)obj=obj.concat(when);return this.$_root._tracer&&this.$_root._tracer._combine(obj,[this,...whens]),this.$_temp.whens[id]=obj,{schema:obj,id}}_inner(type,values,options={}){Assert$22(!this._inRuleset(),`Cannot set ${type} inside a ruleset`);let obj=this.clone();return(!obj.$_terms[type]||options.override)&&(obj.$_terms[type]=[]),options.single?obj.$_terms[type].push(values):obj.$_terms[type].push(...values),obj.$_temp.ruleset=!1,obj}_inRuleset(){return this.$_temp.ruleset!==null&&this.$_temp.ruleset!==!1}_ruleRemove(name$1,options={}){if(!this._singleRules.has(name$1))return this;let obj=options.clone===!1?this:this.clone();obj._singleRules.delete(name$1);let filtered=[];for(let i$4=0;i$4<obj._rules.length;++i$4){let test=obj._rules[i$4];if(test.name===name$1&&!test.keep){obj._inRuleset()&&i$4<obj.$_temp.ruleset&&--obj.$_temp.ruleset;continue}filtered.push(test)}return obj._rules=filtered,obj}_values(values,key){Common$11.verifyFlat(values,key.slice(1,-1));let obj=this.clone(),override=values[0]===Common$11.symbols.override;if(override&&(values=values.slice(1)),!obj[key]&&values.length?obj[key]=new Values$1:override&&(obj[key]=values.length?new Values$1:null,obj.$_mutateRebuild()),!obj[key])return obj;override&&obj[key].override();for(let value of values){Assert$22(value!==void 0,`Cannot call allow/valid/invalid with undefined`),Assert$22(value!==Common$11.symbols.override,`Override must be the first value`);let other=key===`_invalids`?`_valids`:`_invalids`;obj[other]&&(obj[other].remove(value),obj[other].length||(Assert$22(key===`_valids`||!obj._flags.only,`Setting invalid value`,value,`leaves schema rejecting all values due to previous valid rule`),obj[other]=null)),obj[key].add(value,obj._refs)}return obj}},internals$31.Base.prototype[Common$11.symbols.any]={version:Common$11.version,compile:Compile$5.compile,root:`$_root`},internals$31.Base.prototype.isImmutable=!0,internals$31.Base.prototype.deny=internals$31.Base.prototype.invalid,internals$31.Base.prototype.disallow=internals$31.Base.prototype.invalid,internals$31.Base.prototype.equal=internals$31.Base.prototype.valid,internals$31.Base.prototype.exist=internals$31.Base.prototype.required,internals$31.Base.prototype.not=internals$31.Base.prototype.invalid,internals$31.Base.prototype.options=internals$31.Base.prototype.prefs,internals$31.Base.prototype.preferences=internals$31.Base.prototype.prefs,module.exports=new internals$31.Base}),require_any=__commonJSMin((exports,module)=>{let Assert$21=require_assert$1(),Base=require_base(),Common$10=require_common(),Messages=require_messages();module.exports=Base.extend({type:`any`,flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(method,description$1){return Assert$21(typeof method==`function`,`Method must be a function`),Assert$21(description$1===void 0||description$1&&typeof description$1==`string`,`Description must be a non-empty string`),this.$_addRule({name:`custom`,args:{method,description:description$1}})},validate(value,helpers,{method}){try{return method(value,helpers)}catch(err$1){return helpers.error(`any.custom`,{error:err$1})}},args:[`method`,`description`],multi:!0},messages:{method(messages$2){return this.prefs({messages:messages$2})}},shared:{method(schema){Assert$21(Common$10.isSchema(schema)&&schema._flags.id,`Schema must be a schema with an id`);let obj=this.clone();return obj.$_terms.shared=obj.$_terms.shared||[],obj.$_terms.shared.push(schema),obj.$_mutateRegister(schema),obj}},warning:{method(code$2,local){return Assert$21(code$2&&typeof code$2==`string`,`Invalid warning code`),this.$_addRule({name:`warning`,args:{code:code$2,local},warn:!0})},validate(value,helpers,{code:code$2,local}){return helpers.error(code$2,local)},args:[`code`,`local`],multi:!0}},modifiers:{keep(rule,enabled=!0){rule.keep=enabled},message(rule,message){rule.message=Messages.compile(message)},warn(rule,enabled=!0){rule.warn=enabled}},manifest:{build(obj,desc$1){for(let key in desc$1){let values=desc$1[key];if([`examples`,`externals`,`metas`,`notes`,`tags`].includes(key)){for(let value of values)obj=obj[key.slice(0,-1)](value);continue}if(key===`alterations`){let alter={};for(let{target,adjuster}of values)alter[target]=adjuster;obj=obj.alter(alter);continue}if(key===`whens`){for(let value of values){let{ref,is,not,then,otherwise,concat}=value;obj=concat?obj.concat(concat):ref?obj.when(ref,{is,not,then,otherwise,switch:value.switch,break:value.break}):obj.when(is,{then,otherwise,break:value.break})}continue}if(key===`shared`)for(let value of values)obj=obj.shared(value)}return obj}},messages:{"any.custom":`{{#label}} failed custom validation because {{#error.message}}`,"any.default":`{{#label}} threw an error when running default method`,"any.failover":`{{#label}} threw an error when running failover method`,"any.invalid":`{{#label}} contains an invalid value`,"any.only":`{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}`,"any.ref":`{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}`,"any.required":`{{#label}} is required`,"any.unknown":`{{#label}} is not allowed`}})}),require_alternatives=__commonJSMin((exports,module)=>{let Assert$20=require_assert$1(),Merge$2=require_merge$1(),Any$9=require_any(),Common$9=require_common(),Compile$4=require_compile(),Errors$5=require_errors$1(),Ref$2=require_ref$1(),internals$30={};module.exports=Any$9.extend({type:`alternatives`,flags:{match:{default:`any`}},terms:{matches:{init:[],register:Ref$2.toSibling}},args(schema,...schemas){return schemas.length===1&&Array.isArray(schemas[0])?schema.try(...schemas[0]):schema.try(...schemas)},validate(value,helpers){let{schema,error,state,prefs}=helpers;if(schema._flags.match){let matched=[],failed=[];for(let i$4=0;i$4<schema.$_terms.matches.length;++i$4){let item=schema.$_terms.matches[i$4],localState=state.nest(item.schema,`match.${i$4}`);localState.snapshot();let result=item.schema.$_validate(value,localState,prefs);result.errors?(failed.push(result.errors),localState.restore()):(matched.push(result.value),localState.commit())}if(matched.length===0){let context={details:failed.map(f=>Errors$5.details(f,{override:!1}))};return{errors:error(`alternatives.any`,context)}}if(schema._flags.match===`one`)return matched.length===1?{value:matched[0]}:{errors:error(`alternatives.one`)};if(matched.length!==schema.$_terms.matches.length){let context={details:failed.map(f=>Errors$5.details(f,{override:!1}))};return{errors:error(`alternatives.all`,context)}}let isAnyObj=alternative=>alternative.$_terms.matches.some(v=>v.schema.type===`object`||v.schema.type===`alternatives`&&isAnyObj(v.schema));return isAnyObj(schema)?{value:matched.reduce((acc,v)=>Merge$2(acc,v,{mergeArrays:!1}))}:{value:matched[matched.length-1]}}let errors=[];for(let i$4=0;i$4<schema.$_terms.matches.length;++i$4){let item=schema.$_terms.matches[i$4];if(item.schema){let localState=state.nest(item.schema,`match.${i$4}`);localState.snapshot();let result=item.schema.$_validate(value,localState,prefs);if(!result.errors)return localState.commit(),result;localState.restore(),errors.push({schema:item.schema,reports:result.errors});continue}let input=item.ref?item.ref.resolve(value,state,prefs):value,tests=item.is?[item]:item.switch;for(let j$1=0;j$1<tests.length;++j$1){let test=tests[j$1],{is,then,otherwise}=test,id=`match.${i$4}${item.switch?`.`+j$1:``}`;if(is.$_match(input,state.nest(is,`${id}.is`),prefs)){if(then)return then.$_validate(value,state.nest(then,`${id}.then`),prefs)}else if(otherwise)return otherwise.$_validate(value,state.nest(otherwise,`${id}.otherwise`),prefs)}}return internals$30.errors(errors,helpers)},rules:{conditional:{method(condition,options){Assert$20(!this._flags._endedSwitch,`Unreachable condition`),Assert$20(!this._flags.match,`Cannot combine match mode`,this._flags.match,`with conditional rule`),Assert$20(options.break===void 0,`Cannot use break option with alternatives conditional`);let obj=this.clone(),match$2=Compile$4.when(obj,condition,options),conditions=match$2.is?[match$2]:match$2.switch;for(let item of conditions)if(item.then&&item.otherwise){obj.$_setFlag(`_endedSwitch`,!0,{clone:!1});break}return obj.$_terms.matches.push(match$2),obj.$_mutateRebuild()}},match:{method(mode){if(Assert$20([`any`,`one`,`all`].includes(mode),`Invalid alternatives match mode`,mode),mode!==`any`)for(let match$2 of this.$_terms.matches)Assert$20(match$2.schema,`Cannot combine match mode`,mode,`with conditional rules`);return this.$_setFlag(`match`,mode)}},try:{method(...schemas){Assert$20(schemas.length,`Missing alternative schemas`),Common$9.verifyFlat(schemas,`try`),Assert$20(!this._flags._endedSwitch,`Unreachable condition`);let obj=this.clone();for(let schema of schemas)obj.$_terms.matches.push({schema:obj.$_compile(schema)});return obj.$_mutateRebuild()}}},overrides:{label(name$1){let obj=this.$_parent(`label`,name$1),each=(item,source)=>source.path[0]!==`is`&&typeof item._flags.label!=`string`?item.label(name$1):void 0;return obj.$_modify({each,ref:!1})}},rebuild(schema){let each=item=>{Common$9.isSchema(item)&&item.type===`array`&&schema.$_setFlag(`_arrayItems`,!0,{clone:!1})};schema.$_modify({each})},manifest:{build(obj,desc$1){if(desc$1.matches)for(let match$2 of desc$1.matches){let{schema,ref,is,not,then,otherwise}=match$2;obj=schema?obj.try(schema):ref?obj.conditional(ref,{is,then,not,otherwise,switch:match$2.switch}):obj.conditional(is,{then,otherwise})}return obj}},messages:{"alternatives.all":`{{#label}} does not match all of the required types`,"alternatives.any":`{{#label}} does not match any of the allowed types`,"alternatives.match":`{{#label}} does not match any of the allowed types`,"alternatives.one":`{{#label}} matches more than one allowed type`,"alternatives.types":`{{#label}} must be one of {{#types}}`}}),internals$30.errors=function(failures,{error,state}){if(!failures.length)return{errors:error(`alternatives.any`)};if(failures.length===1)return{errors:failures[0].reports};let valids=new Set,complex=[];for(let{reports,schema}of failures){if(reports.length>1)return internals$30.unmatched(failures,error);let report=reports[0];if(!(report instanceof Errors$5.Report))return internals$30.unmatched(failures,error);if(report.state.path.length!==state.path.length){complex.push({type:schema.type,report});continue}if(report.code===`any.only`){for(let valid$2 of report.local.valids)valids.add(valid$2);continue}let[type,code$2]=report.code.split(`.`);code$2===`base`?report.code===`object.base`?valids.add(report.local.type):valids.add(type):complex.push({type:schema.type,report})}return complex.length?complex.length===1?{errors:complex[0].report}:internals$30.unmatched(failures,error):{errors:error(`alternatives.types`,{types:[...valids]})}},internals$30.unmatched=function(failures,error){let errors=[];for(let failure of failures)errors.push(...failure.reports);return{errors:error(`alternatives.match`,Errors$5.details(errors,{override:!1}))}}}),require_array=__commonJSMin((exports,module)=>{let Assert$19=require_assert$1(),DeepEqual$1=require_deepEqual$1(),Reach$4=require_reach$1(),Any$8=require_any(),Common$8=require_common(),Compile$3=require_compile(),internals$29={};module.exports=Any$8.extend({type:`array`,flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:`schema`},ordered:{init:[],manifest:`schema`},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:`object`,method(value,{schema,state,prefs}){if(!Array.isArray(value))return;let sort$2=schema.$_getRule(`sort`);if(sort$2)return internals$29.sort(schema,value,sort$2.args.options,state,prefs)}},validate(value,{schema,error}){if(!Array.isArray(value)){if(schema._flags.single){let single=[value];return single[Common$8.symbols.arraySingle]=!0,{value:single}}return{errors:error(`array.base`)}}if(!(!schema.$_getRule(`items`)&&!schema.$_terms.externals))return{value:value.slice()}},rules:{has:{method(schema){schema=this.$_compile(schema,{appendPath:!0});let obj=this.$_addRule({name:`has`,args:{schema}});return obj.$_mutateRegister(schema),obj},validate(value,{state,prefs,error},{schema:has}){let ancestors=[value,...state.ancestors];for(let i$4=0;i$4<value.length;++i$4){let localState=state.localize([...state.path,i$4],ancestors,has);if(has.$_match(value[i$4],localState,prefs))return value}let patternLabel=has._flags.label;return patternLabel?error(`array.hasKnown`,{patternLabel}):error(`array.hasUnknown`,null)},multi:!0},items:{method(...schemas){Common$8.verifyFlat(schemas,`items`);let obj=this.$_addRule(`items`);for(let i$4=0;i$4<schemas.length;++i$4){let type=Common$8.tryWithPath(()=>this.$_compile(schemas[i$4]),i$4,{append:!0});obj.$_terms.items.push(type)}return obj.$_mutateRebuild()},validate(value,{schema,error,state,prefs,errorsArray}){let requireds=schema.$_terms._requireds.slice(),ordereds=schema.$_terms.ordered.slice(),inclusions=[...schema.$_terms._inclusions,...requireds],wasArray=!value[Common$8.symbols.arraySingle];delete value[Common$8.symbols.arraySingle];let errors=errorsArray(),il=value.length;for(let i$4=0;i$4<il;++i$4){let item=value[i$4],errored=!1,isValid=!1,key=wasArray?i$4:new Number(i$4),path=[...state.path,key];if(!schema._flags.sparse&&item===void 0){if(errors.push(error(`array.sparse`,{key,path,pos:i$4,value:void 0},state.localize(path))),prefs.abortEarly)return errors;ordereds.shift();continue}let ancestors=[value,...state.ancestors];for(let exclusion of schema.$_terms._exclusions){if(!exclusion.$_match(item,state.localize(path,ancestors,exclusion),prefs,{presence:`ignore`}))continue;if(errors.push(error(`array.excludes`,{pos:i$4,value:item},state.localize(path))),prefs.abortEarly)return errors;errored=!0,ordereds.shift();break}if(errored)continue;if(schema.$_terms.ordered.length){if(ordereds.length){let ordered=ordereds.shift(),res=ordered.$_validate(item,state.localize(path,ancestors,ordered),prefs);if(res.errors){if(errors.push(...res.errors),prefs.abortEarly)return errors}else if(ordered._flags.result===`strip`)internals$29.fastSplice(value,i$4),--i$4,--il;else if(!schema._flags.sparse&&res.value===void 0){if(errors.push(error(`array.sparse`,{key,path,pos:i$4,value:void 0},state.localize(path))),prefs.abortEarly)return errors;continue}else value[i$4]=res.value;continue}else if(!schema.$_terms.items.length){if(errors.push(error(`array.orderedLength`,{pos:i$4,limit:schema.$_terms.ordered.length})),prefs.abortEarly)return errors;break}}let requiredChecks=[],jl=requireds.length;for(let j$1=0;j$1<jl;++j$1){let localState=state.localize(path,ancestors,requireds[j$1]);localState.snapshot();let res=requireds[j$1].$_validate(item,localState,prefs);if(requiredChecks[j$1]=res,!res.errors){if(localState.commit(),value[i$4]=res.value,isValid=!0,internals$29.fastSplice(requireds,j$1),--j$1,--jl,!schema._flags.sparse&&res.value===void 0&&(errors.push(error(`array.sparse`,{key,path,pos:i$4,value:void 0},state.localize(path))),prefs.abortEarly))return errors;break}localState.restore()}if(isValid)continue;let stripUnknown=prefs.stripUnknown&&!!prefs.stripUnknown.arrays||!1;jl=inclusions.length;for(let inclusion of inclusions){let res,previousCheck=requireds.indexOf(inclusion);if(previousCheck!==-1)res=requiredChecks[previousCheck];else{let localState=state.localize(path,ancestors,inclusion);if(localState.snapshot(),res=inclusion.$_validate(item,localState,prefs),!res.errors){localState.commit(),inclusion._flags.result===`strip`?(internals$29.fastSplice(value,i$4),--i$4,--il):!schema._flags.sparse&&res.value===void 0?(errors.push(error(`array.sparse`,{key,path,pos:i$4,value:void 0},state.localize(path))),errored=!0):value[i$4]=res.value,isValid=!0;break}localState.restore()}if(jl===1){if(stripUnknown){internals$29.fastSplice(value,i$4),--i$4,--il,isValid=!0;break}if(errors.push(...res.errors),prefs.abortEarly)return errors;errored=!0;break}}if(!errored&&(schema.$_terms._inclusions.length||schema.$_terms._requireds.length)&&!isValid){if(stripUnknown){internals$29.fastSplice(value,i$4),--i$4,--il;continue}if(errors.push(error(`array.includes`,{pos:i$4,value:item},state.localize(path))),prefs.abortEarly)return errors}}return requireds.length&&internals$29.fillMissedErrors(schema,errors,requireds,value,state,prefs),ordereds.length&&(internals$29.fillOrderedErrors(schema,errors,ordereds,value,state,prefs),errors.length||internals$29.fillDefault(ordereds,value,state,prefs)),errors.length?errors:value},priority:!0,manifest:!1},length:{method(limit){return this.$_addRule({name:`length`,args:{limit},operator:`=`})},validate(value,helpers,{limit},{name:name$1,operator,args:args$1}){return Common$8.compare(value.length,limit,operator)?value:helpers.error(`array.`+name$1,{limit:args$1.limit,value})},args:[{name:`limit`,ref:!0,assert:Common$8.limit,message:`must be a positive integer`}]},max:{method(limit){return this.$_addRule({name:`max`,method:`length`,args:{limit},operator:`<=`})}},min:{method(limit){return this.$_addRule({name:`min`,method:`length`,args:{limit},operator:`>=`})}},ordered:{method(...schemas){Common$8.verifyFlat(schemas,`ordered`);let obj=this.$_addRule(`items`);for(let i$4=0;i$4<schemas.length;++i$4){let type=Common$8.tryWithPath(()=>this.$_compile(schemas[i$4]),i$4,{append:!0});internals$29.validateSingle(type,obj),obj.$_mutateRegister(type),obj.$_terms.ordered.push(type)}return obj.$_mutateRebuild()}},single:{method(enabled){let value=enabled===void 0?!0:!!enabled;return Assert$19(!value||!this._flags._arrayItems,`Cannot specify single rule when array has array items`),this.$_setFlag(`single`,value)}},sort:{method(options={}){Common$8.assertOptions(options,[`by`,`order`]);let settings={order:options.order||`ascending`};return options.by&&(settings.by=Compile$3.ref(options.by,{ancestor:0}),Assert$19(!settings.by.ancestor,`Cannot sort by ancestor`)),this.$_addRule({name:`sort`,args:{options:settings}})},validate(value,{error,state,prefs,schema},{options}){let{value:sorted,errors}=internals$29.sort(schema,value,options,state,prefs);if(errors)return errors;for(let i$4=0;i$4<value.length;++i$4)if(value[i$4]!==sorted[i$4])return error(`array.sort`,{order:options.order,by:options.by?options.by.key:`value`});return value},convert:!0},sparse:{method(enabled){let value=enabled===void 0?!0:!!enabled;if(this._flags.sparse===value)return this;let obj=value?this.clone():this.$_addRule(`items`);return obj.$_setFlag(`sparse`,value,{clone:!1})}},unique:{method(comparator,options={}){Assert$19(!comparator||typeof comparator==`function`||typeof comparator==`string`,`comparator must be a function or a string`),Common$8.assertOptions(options,[`ignoreUndefined`,`separator`]);let rule={name:`unique`,args:{options,comparator}};if(comparator)if(typeof comparator==`string`){let separator=Common$8.default(options.separator,`.`);rule.path=separator?comparator.split(separator):[comparator]}else rule.comparator=comparator;return this.$_addRule(rule)},validate(value,{state,error,schema},{comparator:raw,options},{comparator,path}){let found={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),bigint:Object.create(null),object:new Map,function:new Map,custom:new Map},compare$14=comparator||DeepEqual$1,ignoreUndefined=options.ignoreUndefined;for(let i$4=0;i$4<value.length;++i$4){let item=path?Reach$4(value[i$4],path):value[i$4],records=comparator?found.custom:found[typeof item];if(Assert$19(records,`Failed to find unique map container for type`,typeof item),records instanceof Map){let entries=records.entries(),current;for(;!(current=entries.next()).done;)if(compare$14(current.value[0],item)){let localState=state.localize([...state.path,i$4],[value,...state.ancestors]),context={pos:i$4,value:value[i$4],dupePos:current.value[1],dupeValue:value[current.value[1]]};return path&&(context.path=raw),error(`array.unique`,context,localState)}records.set(item,i$4)}else{if((!ignoreUndefined||item!==void 0)&&records[item]!==void 0){let context={pos:i$4,value:value[i$4],dupePos:records[item],dupeValue:value[records[item]]};path&&(context.path=raw);let localState=state.localize([...state.path,i$4],[value,...state.ancestors]);return error(`array.unique`,context,localState)}records[item]=i$4}}return value},args:[`comparator`,`options`],multi:!0}},cast:{set:{from:Array.isArray,to(value,helpers){return new Set(value)}}},rebuild(schema){schema.$_terms._inclusions=[],schema.$_terms._exclusions=[],schema.$_terms._requireds=[];for(let type of schema.$_terms.items)internals$29.validateSingle(type,schema),type._flags.presence===`required`?schema.$_terms._requireds.push(type):type._flags.presence===`forbidden`?schema.$_terms._exclusions.push(type):schema.$_terms._inclusions.push(type);for(let type of schema.$_terms.ordered)internals$29.validateSingle(type,schema)},manifest:{build(obj,desc$1){return desc$1.items&&(obj=obj.items(...desc$1.items)),desc$1.ordered&&(obj=obj.ordered(...desc$1.ordered)),obj}},messages:{"array.base":`{{#label}} must be an array`,"array.excludes":`{{#label}} contains an excluded value`,"array.hasKnown":`{{#label}} does not contain at least one required match for type {:#patternLabel}`,"array.hasUnknown":`{{#label}} does not contain at least one required match`,"array.includes":`{{#label}} does not match any of the allowed types`,"array.includesRequiredBoth":`{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)`,"array.includesRequiredKnowns":`{{#label}} does not contain {{#knownMisses}}`,"array.includesRequiredUnknowns":`{{#label}} does not contain {{#unknownMisses}} required value(s)`,"array.length":`{{#label}} must contain {{#limit}} items`,"array.max":`{{#label}} must contain less than or equal to {{#limit}} items`,"array.min":`{{#label}} must contain at least {{#limit}} items`,"array.orderedLength":`{{#label}} must contain at most {{#limit}} items`,"array.sort":`{{#label}} must be sorted in {#order} order by {{#by}}`,"array.sort.mismatching":`{{#label}} cannot be sorted due to mismatching types`,"array.sort.unsupported":`{{#label}} cannot be sorted due to unsupported type {#type}`,"array.sparse":`{{#label}} must not be a sparse array item`,"array.unique":`{{#label}} contains a duplicate value`}}),internals$29.fillMissedErrors=function(schema,errors,requireds,value,state,prefs){let knownMisses=[],unknownMisses=0;for(let required of requireds){let label=required._flags.label;label?knownMisses.push(label):++unknownMisses}knownMisses.length?unknownMisses?errors.push(schema.$_createError(`array.includesRequiredBoth`,value,{knownMisses,unknownMisses},state,prefs)):errors.push(schema.$_createError(`array.includesRequiredKnowns`,value,{knownMisses},state,prefs)):errors.push(schema.$_createError(`array.includesRequiredUnknowns`,value,{unknownMisses},state,prefs))},internals$29.fillOrderedErrors=function(schema,errors,ordereds,value,state,prefs){let requiredOrdereds=[];for(let ordered of ordereds)ordered._flags.presence===`required`&&requiredOrdereds.push(ordered);requiredOrdereds.length&&internals$29.fillMissedErrors(schema,errors,requiredOrdereds,value,state,prefs)},internals$29.fillDefault=function(ordereds,value,state,prefs){let overrides=[],trailingUndefined=!0;for(let i$4=ordereds.length-1;i$4>=0;--i$4){let ordered=ordereds[i$4],ancestors=[value,...state.ancestors],override=ordered.$_validate(void 0,state.localize(state.path,ancestors,ordered),prefs).value;if(trailingUndefined){if(override===void 0)continue;trailingUndefined=!1}overrides.unshift(override)}overrides.length&&value.push(...overrides)},internals$29.fastSplice=function(arr,i$4){let pos=i$4;for(;pos<arr.length;)arr[pos++]=arr[pos];--arr.length},internals$29.validateSingle=function(type,obj){(type.type===`array`||type._flags._arrayItems)&&(Assert$19(!obj._flags.single,`Cannot specify array item with single rule enabled`),obj.$_setFlag(`_arrayItems`,!0,{clone:!1}))},internals$29.sort=function(schema,value,settings,state,prefs){let order=settings.order===`ascending`?1:-1,aFirst=-1*order,bFirst=order,sort$2=(a,b)=>{let compare$14=internals$29.compare(a,b,aFirst,bFirst);if(compare$14!==null||(settings.by&&(a=settings.by.resolve(a,state,prefs),b=settings.by.resolve(b,state,prefs)),compare$14=internals$29.compare(a,b,aFirst,bFirst),compare$14!==null))return compare$14;let type=typeof a;if(type!==typeof b)throw schema.$_createError(`array.sort.mismatching`,value,null,state,prefs);if(type!==`number`&&type!==`string`)throw schema.$_createError(`array.sort.unsupported`,value,{type},state,prefs);return type===`number`?(a-b)*order:a<b?aFirst:bFirst};try{return{value:value.slice().sort(sort$2)}}catch(err$1){return{errors:err$1}}},internals$29.compare=function(a,b,aFirst,bFirst){return a===b?0:a===void 0?1:b===void 0?-1:a===null?bFirst:b===null?aFirst:null}}),require_boolean=__commonJSMin((exports,module)=>{let Assert$18=require_assert$1(),Any$7=require_any(),Common$7=require_common(),Values=require_values(),internals$28={};internals$28.isBool=function(value){return typeof value==`boolean`},module.exports=Any$7.extend({type:`boolean`,flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:`values`},truthy:{init:null,manifest:`values`}},coerce(value,{schema}){if(typeof value!=`boolean`){if(typeof value==`string`){let normalized=schema._flags.sensitive?value:value.toLowerCase();value=normalized===`true`?!0:normalized===`false`?!1:value}return typeof value!=`boolean`&&(value=schema.$_terms.truthy&&schema.$_terms.truthy.has(value,null,null,!schema._flags.sensitive)||(schema.$_terms.falsy&&schema.$_terms.falsy.has(value,null,null,!schema._flags.sensitive)?!1:value)),{value}}},validate(value,{error}){if(typeof value!=`boolean`)return{value,errors:error(`boolean.base`)}},rules:{truthy:{method(...values){Common$7.verifyFlat(values,`truthy`);let obj=this.clone();obj.$_terms.truthy=obj.$_terms.truthy||new Values;for(let i$4=0;i$4<values.length;++i$4){let value=values[i$4];Assert$18(value!==void 0,`Cannot call truthy with undefined`),obj.$_terms.truthy.add(value)}return obj}},falsy:{method(...values){Common$7.verifyFlat(values,`falsy`);let obj=this.clone();obj.$_terms.falsy=obj.$_terms.falsy||new Values;for(let i$4=0;i$4<values.length;++i$4){let value=values[i$4];Assert$18(value!==void 0,`Cannot call falsy with undefined`),obj.$_terms.falsy.add(value)}return obj}},sensitive:{method(enabled=!0){return this.$_setFlag(`sensitive`,enabled)}}},cast:{number:{from:internals$28.isBool,to(value,helpers){return value?1:0}},string:{from:internals$28.isBool,to(value,helpers){return value?`true`:`false`}}},manifest:{build(obj,desc$1){return desc$1.truthy&&(obj=obj.truthy(...desc$1.truthy)),desc$1.falsy&&(obj=obj.falsy(...desc$1.falsy)),obj}},messages:{"boolean.base":`{{#label}} must be a boolean`}})}),require_date=__commonJSMin((exports,module)=>{let Assert$17=require_assert$1(),Any$6=require_any(),Common$6=require_common(),Template$2=require_template(),internals$27={};internals$27.isDate=function(value){return value instanceof Date},module.exports=Any$6.extend({type:`date`,coerce:{from:[`number`,`string`],method(value,{schema}){return{value:internals$27.parse(value,schema._flags.format)||value}}},validate(value,{schema,error,prefs}){if(value instanceof Date&&!isNaN(value.getTime()))return;let format=schema._flags.format;return!prefs.convert||!format||typeof value!=`string`?{value,errors:error(`date.base`)}:{value,errors:error(`date.format`,{format})}},rules:{compare:{method:!1,validate(value,helpers,{date},{name:name$1,operator,args:args$1}){let to=date===`now`?Date.now():date.getTime();return Common$6.compare(value.getTime(),to,operator)?value:helpers.error(`date.`+name$1,{limit:args$1.date,value})},args:[{name:`date`,ref:!0,normalize:date=>date===`now`?date:internals$27.parse(date),assert:date=>date!==null,message:`must have a valid date format`}]},format:{method(format){return Assert$17([`iso`,`javascript`,`unix`].includes(format),`Unknown date format`,format),this.$_setFlag(`format`,format)}},greater:{method(date){return this.$_addRule({name:`greater`,method:`compare`,args:{date},operator:`>`})}},iso:{method(){return this.format(`iso`)}},less:{method(date){return this.$_addRule({name:`less`,method:`compare`,args:{date},operator:`<`})}},max:{method(date){return this.$_addRule({name:`max`,method:`compare`,args:{date},operator:`<=`})}},min:{method(date){return this.$_addRule({name:`min`,method:`compare`,args:{date},operator:`>=`})}},timestamp:{method(type=`javascript`){return Assert$17([`javascript`,`unix`].includes(type),`"type" must be one of "javascript, unix"`),this.format(type)}}},cast:{number:{from:internals$27.isDate,to(value,helpers){return value.getTime()}},string:{from:internals$27.isDate,to(value,{prefs}){return Template$2.date(value,prefs)}}},messages:{"date.base":`{{#label}} must be a valid date`,"date.format":`{{#label}} must be in {msg("date.format." + #format) || #format} format`,"date.greater":`{{#label}} must be greater than {{:#limit}}`,"date.less":`{{#label}} must be less than {{:#limit}}`,"date.max":`{{#label}} must be less than or equal to {{:#limit}}`,"date.min":`{{#label}} must be greater than or equal to {{:#limit}}`,"date.format.iso":`ISO 8601 date`,"date.format.javascript":`timestamp or number of milliseconds`,"date.format.unix":`timestamp or number of seconds`}}),internals$27.parse=function(value,format){if(value instanceof Date)return value;if(typeof value!=`string`&&(isNaN(value)||!isFinite(value))||/^\s*$/.test(value))return null;if(format===`iso`)return Common$6.isIsoDate(value)?internals$27.date(value.toString()):null;let original=value;if(typeof value==`string`&&/^[+-]?\d+(\.\d+)?$/.test(value)&&(value=parseFloat(value)),format){if(format===`javascript`)return internals$27.date(1*value);if(format===`unix`)return internals$27.date(1e3*value);if(typeof original==`string`)return null}return internals$27.date(value)},internals$27.date=function(value){let date=new Date(value);return isNaN(date.getTime())?null:date}}),require_applyToDefaults$1=__commonJSMin((exports,module)=>{let Assert$16=require_assert$1(),Clone$4=require_clone$1(),Merge$1=require_merge$1(),Reach$3=require_reach$1(),internals$26={};module.exports=function(defaults,source,options={}){if(Assert$16(defaults&&typeof defaults==`object`,`Invalid defaults value: must be an object`),Assert$16(!source||source===!0||typeof source==`object`,`Invalid source value: must be true, falsy or an object`),Assert$16(typeof options==`object`,`Invalid options: must be an object`),!source)return null;if(options.shallow)return internals$26.applyToDefaultsWithShallow(defaults,source,options);let copy=Clone$4(defaults);if(source===!0)return copy;let nullOverride=options.nullOverride===void 0?!1:options.nullOverride;return Merge$1(copy,source,{nullOverride,mergeArrays:!1})},internals$26.applyToDefaultsWithShallow=function(defaults,source,options){let keys=options.shallow;Assert$16(Array.isArray(keys),`Invalid keys`);let seen=new Map,merge$1=source===!0?null:new Set;for(let key of keys){key=Array.isArray(key)?key:key.split(`.`);let ref=Reach$3(defaults,key);ref&&typeof ref==`object`?seen.set(ref,merge$1&&Reach$3(source,key)||ref):merge$1&&merge$1.add(key)}let copy=Clone$4(defaults,{},seen);if(!merge$1)return copy;for(let key of merge$1)internals$26.reachCopy(copy,source,key);let nullOverride=options.nullOverride===void 0?!1:options.nullOverride;return Merge$1(copy,source,{nullOverride,mergeArrays:!1})},internals$26.reachCopy=function(dst,src$1,path){for(let segment of path){if(!(segment in src$1))return;let val=src$1[segment];if(typeof val!=`object`||!val)return;src$1=val}let value=src$1,ref=dst;for(let i$4=0;i$4<path.length-1;++i$4){let segment=path[i$4];typeof ref[segment]!=`object`&&(ref[segment]={}),ref=ref[segment]}ref[path[path.length-1]]=value}}),require_lib$3=__commonJSMin(exports=>{let Assert$15=require_assert$1(),internals$25={};exports.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(nodes,options){options||={};let before=[].concat(options.before||[]),after=[].concat(options.after||[]),group=options.group||`?`,sort$2=options.sort||0;Assert$15(!before.includes(group),`Item cannot come before itself: ${group}`),Assert$15(!before.includes(`?`),`Item cannot come before unassociated items`),Assert$15(!after.includes(group),`Item cannot come after itself: ${group}`),Assert$15(!after.includes(`?`),`Item cannot come after unassociated items`),Array.isArray(nodes)||(nodes=[nodes]);for(let node of nodes){let item={seq:this._items.length,sort:sort$2,before,after,group,node};this._items.push(item)}if(!options.manual){let valid$2=this._sort();Assert$15(valid$2,`item`,group===`?`?``:`added into group ${group}`,`created a dependencies error`)}return this.nodes}merge(others){Array.isArray(others)||(others=[others]);for(let other of others)if(other)for(let item of other._items)this._items.push(Object.assign({},item));this._items.sort(internals$25.mergeSort);for(let i$4=0;i$4<this._items.length;++i$4)this._items[i$4].seq=i$4;let valid$2=this._sort();return Assert$15(valid$2,`merge created a dependencies error`),this.nodes}sort(){let valid$2=this._sort();return Assert$15(valid$2,`sort created a dependencies error`),this.nodes}_sort(){let graph={},graphAfters=Object.create(null),groups=Object.create(null);for(let item of this._items){let seq=item.seq,group=item.group;groups[group]=groups[group]||[],groups[group].push(seq),graph[seq]=item.before;for(let after of item.after)graphAfters[after]=graphAfters[after]||[],graphAfters[after].push(seq)}for(let node in graph){let expandedGroups=[];for(let graphNodeItem in graph[node]){let group=graph[node][graphNodeItem];groups[group]=groups[group]||[],expandedGroups.push(...groups[group])}graph[node]=expandedGroups}for(let group in graphAfters)if(groups[group])for(let node of groups[group])graph[node].push(...graphAfters[group]);let ancestors={};for(let node in graph){let children=graph[node];for(let child of children)ancestors[child]=ancestors[child]||[],ancestors[child].push(node)}let visited={},sorted=[];for(let i$4=0;i$4<this._items.length;++i$4){let next=i$4;if(ancestors[i$4]){next=null;for(let j$1=0;j$1<this._items.length;++j$1){if(visited[j$1]===!0)continue;ancestors[j$1]||(ancestors[j$1]=[]);let shouldSeeCount=ancestors[j$1].length,seenCount=0;for(let k=0;k<shouldSeeCount;++k)visited[ancestors[j$1][k]]&&++seenCount;if(seenCount===shouldSeeCount){next=j$1;break}}}next!==null&&(visited[next]=!0,sorted.push(next))}if(sorted.length!==this._items.length)return!1;let seqIndex={};for(let item of this._items)seqIndex[item.seq]=item;this._items=[],this.nodes=[];for(let value of sorted){let sortedItem=seqIndex[value];this.nodes.push(sortedItem.node),this._items.push(sortedItem)}return!0}},internals$25.mergeSort=(a,b)=>a.sort===b.sort?0:a.sort<b.sort?-1:1}),require_keys=__commonJSMin((exports,module)=>{let ApplyToDefaults=require_applyToDefaults$1(),Assert$14=require_assert$1(),Clone$3=require_clone$1(),Topo=require_lib$3(),Any$5=require_any(),Common$5=require_common(),Compile$2=require_compile(),Errors$4=require_errors$1(),Ref$1=require_ref$1(),Template$1=require_template(),internals$24={renameDefaults:{alias:!1,multiple:!1,override:!1}};module.exports=Any$5.extend({type:`_keys`,properties:{typeof:`object`},flags:{unknown:{default:void 0}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:`schema`,to:`key`}}},patterns:{init:null},renames:{init:null}},args(schema,keys){return schema.keys(keys)},validate(value,{schema,error,state,prefs}){if(!value||typeof value!==schema.$_property(`typeof`)||Array.isArray(value))return{value,errors:error(`object.base`,{type:schema.$_property(`typeof`)})};if(!schema.$_terms.renames&&!schema.$_terms.dependencies&&!schema.$_terms.keys&&!schema.$_terms.patterns&&!schema.$_terms.externals)return;value=internals$24.clone(value,prefs);let errors=[];if(schema.$_terms.renames&&!internals$24.rename(schema,value,state,prefs,errors)||!schema.$_terms.keys&&!schema.$_terms.patterns&&!schema.$_terms.dependencies)return{value,errors};let unprocessed=new Set(Object.keys(value));if(schema.$_terms.keys){let ancestors=[value,...state.ancestors];for(let child of schema.$_terms.keys){let key=child.key,item=value[key];unprocessed.delete(key);let localState=state.localize([...state.path,key],ancestors,child),result=child.schema.$_validate(item,localState,prefs);if(result.errors){if(prefs.abortEarly)return{value,errors:result.errors};result.value!==void 0&&(value[key]=result.value),errors.push(...result.errors)}else child.schema._flags.result===`strip`||result.value===void 0&&item!==void 0?delete value[key]:result.value!==void 0&&(value[key]=result.value)}}if(unprocessed.size||schema._flags._hasPatternMatch){let early=internals$24.unknown(schema,value,unprocessed,errors,state,prefs);if(early)return early}if(schema.$_terms.dependencies)for(let dep of schema.$_terms.dependencies){if(dep.key!==null&&internals$24.isPresent(dep.options)(dep.key.resolve(value,state,prefs,null,{shadow:!1}))===!1)continue;let failed=internals$24.dependencies[dep.rel](schema,dep,value,state,prefs);if(failed){let report=schema.$_createError(failed.code,value,failed.context,state,prefs);if(prefs.abortEarly)return{value,errors:report};errors.push(report)}}return{value,errors}},rules:{and:{method(...peers){return Common$5.verifyFlat(peers,`and`),internals$24.dependency(this,`and`,null,peers)}},append:{method(schema){return schema==null||Object.keys(schema).length===0?this:this.keys(schema)}},assert:{method(subject,schema,message){Template$1.isTemplate(subject)||(subject=Compile$2.ref(subject)),Assert$14(message===void 0||typeof message==`string`,`Message must be a string`),schema=this.$_compile(schema,{appendPath:!0});let obj=this.$_addRule({name:`assert`,args:{subject,schema,message}});return obj.$_mutateRegister(subject),obj.$_mutateRegister(schema),obj},validate(value,{error,prefs,state},{subject,schema,message}){let about=subject.resolve(value,state,prefs),path=Ref$1.isRef(subject)?subject.absolute(state):[];return schema.$_match(about,state.localize(path,[value,...state.ancestors],schema),prefs)?value:error(`object.assert`,{subject,message})},args:[`subject`,`schema`,`message`],multi:!0},instance:{method(constructor,name$1){return Assert$14(typeof constructor==`function`,`constructor must be a function`),name$1||=constructor.name,this.$_addRule({name:`instance`,args:{constructor,name:name$1}})},validate(value,helpers,{constructor,name:name$1}){return value instanceof constructor?value:helpers.error(`object.instance`,{type:name$1,value})},args:[`constructor`,`name`]},keys:{method(schema){Assert$14(schema===void 0||typeof schema==`object`,`Object schema must be a valid object`),Assert$14(!Common$5.isSchema(schema),`Object schema cannot be a joi schema`);let obj=this.clone();if(!schema)obj.$_terms.keys=null;else if(!Object.keys(schema).length)obj.$_terms.keys=new internals$24.Keys;else for(let key in obj.$_terms.keys=obj.$_terms.keys?obj.$_terms.keys.filter(child=>!schema.hasOwnProperty(child.key)):new internals$24.Keys,schema)Common$5.tryWithPath(()=>obj.$_terms.keys.push({key,schema:this.$_compile(schema[key])}),key);return obj.$_mutateRebuild()}},length:{method(limit){return this.$_addRule({name:`length`,args:{limit},operator:`=`})},validate(value,helpers,{limit},{name:name$1,operator,args:args$1}){return Common$5.compare(Object.keys(value).length,limit,operator)?value:helpers.error(`object.`+name$1,{limit:args$1.limit,value})},args:[{name:`limit`,ref:!0,assert:Common$5.limit,message:`must be a positive integer`}]},max:{method(limit){return this.$_addRule({name:`max`,method:`length`,args:{limit},operator:`<=`})}},min:{method(limit){return this.$_addRule({name:`min`,method:`length`,args:{limit},operator:`>=`})}},nand:{method(...peers){return Common$5.verifyFlat(peers,`nand`),internals$24.dependency(this,`nand`,null,peers)}},or:{method(...peers){return Common$5.verifyFlat(peers,`or`),internals$24.dependency(this,`or`,null,peers)}},oxor:{method(...peers){return internals$24.dependency(this,`oxor`,null,peers)}},pattern:{method(pattern,schema,options={}){let isRegExp$1=pattern instanceof RegExp;isRegExp$1||(pattern=this.$_compile(pattern,{appendPath:!0})),Assert$14(schema!==void 0,`Invalid rule`),Common$5.assertOptions(options,[`fallthrough`,`matches`]),isRegExp$1&&Assert$14(!pattern.flags.includes(`g`)&&!pattern.flags.includes(`y`),`pattern should not use global or sticky mode`),schema=this.$_compile(schema,{appendPath:!0});let obj=this.clone();obj.$_terms.patterns=obj.$_terms.patterns||[];let config={[isRegExp$1?`regex`:`schema`]:pattern,rule:schema};return options.matches&&(config.matches=this.$_compile(options.matches),config.matches.type!==`array`&&(config.matches=config.matches.$_root.array().items(config.matches)),obj.$_mutateRegister(config.matches),obj.$_setFlag(`_hasPatternMatch`,!0,{clone:!1})),options.fallthrough&&(config.fallthrough=!0),obj.$_terms.patterns.push(config),obj.$_mutateRegister(schema),obj}},ref:{method(){return this.$_addRule(`ref`)},validate(value,helpers){return Ref$1.isRef(value)?value:helpers.error(`object.refType`,{value})}},regex:{method(){return this.$_addRule(`regex`)},validate(value,helpers){return value instanceof RegExp?value:helpers.error(`object.regex`,{value})}},rename:{method(from,to,options={}){Assert$14(typeof from==`string`||from instanceof RegExp,`Rename missing the from argument`),Assert$14(typeof to==`string`||to instanceof Template$1,`Invalid rename to argument`),Assert$14(to!==from,`Cannot rename key to same name:`,from),Common$5.assertOptions(options,[`alias`,`ignoreUndefined`,`override`,`multiple`]);let obj=this.clone();obj.$_terms.renames=obj.$_terms.renames||[];for(let rename of obj.$_terms.renames)Assert$14(rename.from!==from,`Cannot rename the same key multiple times`);return to instanceof Template$1&&obj.$_mutateRegister(to),obj.$_terms.renames.push({from,to,options:ApplyToDefaults(internals$24.renameDefaults,options)}),obj}},schema:{method(type=`any`){return this.$_addRule({name:`schema`,args:{type}})},validate(value,helpers,{type}){return Common$5.isSchema(value)&&(type===`any`||value.type===type)?value:helpers.error(`object.schema`,{type})}},unknown:{method(allow){return this.$_setFlag(`unknown`,allow!==!1)}},with:{method(key,peers,options={}){return internals$24.dependency(this,`with`,key,peers,options)}},without:{method(key,peers,options={}){return internals$24.dependency(this,`without`,key,peers,options)}},xor:{method(...peers){return Common$5.verifyFlat(peers,`xor`),internals$24.dependency(this,`xor`,null,peers)}}},overrides:{default(value,options){return value===void 0&&(value=Common$5.symbols.deepDefault),this.$_parent(`default`,value,options)}},rebuild(schema){if(schema.$_terms.keys){let topo=new Topo.Sorter;for(let child of schema.$_terms.keys)Common$5.tryWithPath(()=>topo.add(child,{after:child.schema.$_rootReferences(),group:child.key}),child.key);schema.$_terms.keys=new internals$24.Keys(...topo.nodes)}},manifest:{build(obj,desc$1){if(desc$1.keys&&(obj=obj.keys(desc$1.keys)),desc$1.dependencies)for(let{rel,key=null,peers,options}of desc$1.dependencies)obj=internals$24.dependency(obj,rel,key,peers,options);if(desc$1.patterns)for(let{regex,schema,rule,fallthrough,matches}of desc$1.patterns)obj=obj.pattern(regex||schema,rule,{fallthrough,matches});if(desc$1.renames)for(let{from,to,options}of desc$1.renames)obj=obj.rename(from,to,options);return obj}},messages:{"object.and":`{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}`,"object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":`{{#label}} must be of type {{#type}}`,"object.instance":`{{#label}} must be an instance of {{:#type}}`,"object.length":`{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}`,"object.max":`{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}`,"object.min":`{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}`,"object.missing":`{{#label}} must contain at least one of {{#peersWithLabels}}`,"object.nand":`{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}`,"object.oxor":`{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}`,"object.pattern.match":`{{#label}} keys failed to match pattern requirements`,"object.refType":`{{#label}} must be a Joi reference`,"object.regex":`{{#label}} must be a RegExp object`,"object.rename.multiple":`{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}`,"object.rename.override":`{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists`,"object.schema":`{{#label}} must be a Joi schema of {{#type}} type`,"object.unknown":`{{#label}} is not allowed`,"object.with":`{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}`,"object.without":`{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}`,"object.xor":`{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}`}}),internals$24.clone=function(value,prefs){if(typeof value==`object`){if(prefs.nonEnumerables)return Clone$3(value,{shallow:!0});let clone$5=Object.create(Object.getPrototypeOf(value));return Object.assign(clone$5,value),clone$5}let clone$4=function(...args$1){return value.apply(this,args$1)};return clone$4.prototype=Clone$3(value.prototype),Object.defineProperty(clone$4,`name`,{value:value.name,writable:!1}),Object.defineProperty(clone$4,`length`,{value:value.length,writable:!1}),Object.assign(clone$4,value),clone$4},internals$24.dependency=function(schema,rel,key,peers,options){Assert$14(key===null||typeof key==`string`,rel,`key must be a strings`),options||=peers.length>1&&typeof peers[peers.length-1]==`object`?peers.pop():{},Common$5.assertOptions(options,[`separator`,`isPresent`]),peers=[].concat(peers);let separator=Common$5.default(options.separator,`.`),paths=[];for(let peer of peers)Assert$14(typeof peer==`string`,rel,`peers must be strings`),paths.push(Compile$2.ref(peer,{separator,ancestor:0,prefix:!1}));key!==null&&(key=Compile$2.ref(key,{separator,ancestor:0,prefix:!1}));let obj=schema.clone();return obj.$_terms.dependencies=obj.$_terms.dependencies||[],obj.$_terms.dependencies.push(new internals$24.Dependency(rel,key,paths,peers,options)),obj},internals$24.dependencies={and(schema,dep,value,state,prefs){let missing=[],present=[],count=dep.peers.length,isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)isPresent(peer.resolve(value,state,prefs,null,{shadow:!1}))===!1?missing.push(peer.key):present.push(peer.key);if(missing.length!==count&&present.length!==count)return{code:`object.and`,context:{present,presentWithLabels:internals$24.keysToLabels(schema,present),missing,missingWithLabels:internals$24.keysToLabels(schema,missing)}}},nand(schema,dep,value,state,prefs){let present=[],isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)isPresent(peer.resolve(value,state,prefs,null,{shadow:!1}))&&present.push(peer.key);if(present.length!==dep.peers.length)return;let main$1=dep.paths[0],values=dep.paths.slice(1);return{code:`object.nand`,context:{main:main$1,mainWithLabel:internals$24.keysToLabels(schema,main$1),peers:values,peersWithLabels:internals$24.keysToLabels(schema,values)}}},or(schema,dep,value,state,prefs){let isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)if(isPresent(peer.resolve(value,state,prefs,null,{shadow:!1})))return;return{code:`object.missing`,context:{peers:dep.paths,peersWithLabels:internals$24.keysToLabels(schema,dep.paths)}}},oxor(schema,dep,value,state,prefs){let present=[],isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)isPresent(peer.resolve(value,state,prefs,null,{shadow:!1}))&&present.push(peer.key);if(!present.length||present.length===1)return;let context={peers:dep.paths,peersWithLabels:internals$24.keysToLabels(schema,dep.paths)};return context.present=present,context.presentWithLabels=internals$24.keysToLabels(schema,present),{code:`object.oxor`,context}},with(schema,dep,value,state,prefs){let isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)if(isPresent(peer.resolve(value,state,prefs,null,{shadow:!1}))===!1)return{code:`object.with`,context:{main:dep.key.key,mainWithLabel:internals$24.keysToLabels(schema,dep.key.key),peer:peer.key,peerWithLabel:internals$24.keysToLabels(schema,peer.key)}}},without(schema,dep,value,state,prefs){let isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)if(isPresent(peer.resolve(value,state,prefs,null,{shadow:!1})))return{code:`object.without`,context:{main:dep.key.key,mainWithLabel:internals$24.keysToLabels(schema,dep.key.key),peer:peer.key,peerWithLabel:internals$24.keysToLabels(schema,peer.key)}}},xor(schema,dep,value,state,prefs){let present=[],isPresent=internals$24.isPresent(dep.options);for(let peer of dep.peers)isPresent(peer.resolve(value,state,prefs,null,{shadow:!1}))&&present.push(peer.key);if(present.length===1)return;let context={peers:dep.paths,peersWithLabels:internals$24.keysToLabels(schema,dep.paths)};return present.length===0?{code:`object.missing`,context}:(context.present=present,context.presentWithLabels=internals$24.keysToLabels(schema,present),{code:`object.xor`,context})}},internals$24.keysToLabels=function(schema,keys){return Array.isArray(keys)?keys.map(key=>schema.$_mapLabels(key)):schema.$_mapLabels(keys)},internals$24.isPresent=function(options){return typeof options.isPresent==`function`?options.isPresent:resolved=>resolved!==void 0},internals$24.rename=function(schema,value,state,prefs,errors){let renamed={};for(let rename of schema.$_terms.renames){let matches=[],pattern=typeof rename.from!=`string`;if(!pattern)Object.prototype.hasOwnProperty.call(value,rename.from)&&(value[rename.from]!==void 0||!rename.options.ignoreUndefined)&&matches.push(rename);else for(let from in value){if(value[from]===void 0&&rename.options.ignoreUndefined||from===rename.to)continue;let match$2=rename.from.exec(from);if(!match$2)continue;matches.push({from,to:rename.to,match:match$2})}for(let match$2 of matches){let from=match$2.from,to=match$2.to;if(to instanceof Template$1&&(to=to.render(value,state,prefs,match$2.match)),from===to)continue;if(!rename.options.multiple&&renamed[to]&&(errors.push(schema.$_createError(`object.rename.multiple`,value,{from,to,pattern},state,prefs)),prefs.abortEarly)||Object.prototype.hasOwnProperty.call(value,to)&&!rename.options.override&&!renamed[to]&&(errors.push(schema.$_createError(`object.rename.override`,value,{from,to,pattern},state,prefs)),prefs.abortEarly))return!1;value[from]===void 0?delete value[to]:value[to]=value[from],renamed[to]=!0,rename.options.alias||delete value[from]}}return!0},internals$24.unknown=function(schema,value,unprocessed,errors,state,prefs){if(schema.$_terms.patterns){let hasMatches=!1,matches=schema.$_terms.patterns.map(pattern=>{if(pattern.matches)return hasMatches=!0,[]}),ancestors=[value,...state.ancestors];for(let key of unprocessed){let item=value[key],path=[...state.path,key];for(let i$4=0;i$4<schema.$_terms.patterns.length;++i$4){let pattern=schema.$_terms.patterns[i$4];if(pattern.regex){let match$2=pattern.regex.test(key);if(state.mainstay.tracer.debug(state,`rule`,`pattern.${i$4}`,match$2?`pass`:`error`),!match$2)continue}else if(!pattern.schema.$_match(key,state.nest(pattern.schema,`pattern.${i$4}`),prefs))continue;unprocessed.delete(key);let localState=state.localize(path,ancestors,{schema:pattern.rule,key}),result=pattern.rule.$_validate(item,localState,prefs);if(result.errors){if(prefs.abortEarly)return{value,errors:result.errors};errors.push(...result.errors)}if(pattern.matches&&matches[i$4].push(key),value[key]=result.value,!pattern.fallthrough)break}}if(hasMatches)for(let i$4=0;i$4<matches.length;++i$4){let match$2=matches[i$4];if(!match$2)continue;let stpm=schema.$_terms.patterns[i$4].matches,localState=state.localize(state.path,ancestors,stpm),result=stpm.$_validate(match$2,localState,prefs);if(result.errors){let details=Errors$4.details(result.errors,{override:!1});details.matches=match$2;let report=schema.$_createError(`object.pattern.match`,value,details,state,prefs);if(prefs.abortEarly)return{value,errors:report};errors.push(report)}}}if(!unprocessed.size||!schema.$_terms.keys&&!schema.$_terms.patterns)return;if(prefs.stripUnknown&&schema._flags.unknown===void 0||prefs.skipFunctions){let stripUnknown=prefs.stripUnknown?prefs.stripUnknown===!0?!0:!!prefs.stripUnknown.objects:!1;for(let key of unprocessed)stripUnknown?(delete value[key],unprocessed.delete(key)):typeof value[key]==`function`&&unprocessed.delete(key)}let forbidUnknown=!Common$5.default(schema._flags.unknown,prefs.allowUnknown);if(forbidUnknown)for(let unprocessedKey of unprocessed){let localState=state.localize([...state.path,unprocessedKey],[]),report=schema.$_createError(`object.unknown`,value[unprocessedKey],{child:unprocessedKey},localState,prefs,{flags:!1});if(prefs.abortEarly)return{value,errors:report};errors.push(report)}},internals$24.Dependency=class{constructor(rel,key,peers,paths,options){this.rel=rel,this.key=key,this.peers=peers,this.paths=paths,this.options=options}describe(){let desc$1={rel:this.rel,peers:this.paths};return this.key!==null&&(desc$1.key=this.key.key),this.peers[0].separator!==`.`&&(desc$1.options={...desc$1.options,separator:this.peers[0].separator}),this.options.isPresent&&(desc$1.options={...desc$1.options,isPresent:this.options.isPresent}),desc$1}},internals$24.Keys=class extends Array{concat(source){let result=this.slice(),keys=new Map;for(let i$4=0;i$4<result.length;++i$4)keys.set(result[i$4].key,i$4);for(let item of source){let key=item.key,pos=keys.get(key);pos===void 0?result.push(item):result[pos]={key,schema:result[pos].schema.concat(item.schema)}}return result}}}),require_function=__commonJSMin((exports,module)=>{let Assert$13=require_assert$1(),Keys$1=require_keys();module.exports=Keys$1.extend({type:`function`,properties:{typeof:`function`},rules:{arity:{method(n$2){return Assert$13(Number.isSafeInteger(n$2)&&n$2>=0,`n must be a positive integer`),this.$_addRule({name:`arity`,args:{n:n$2}})},validate(value,helpers,{n:n$2}){return value.length===n$2?value:helpers.error(`function.arity`,{n:n$2})}},class:{method(){return this.$_addRule(`class`)},validate(value,helpers){return/^\s*class\s/.test(value.toString())?value:helpers.error(`function.class`,{value})}},minArity:{method(n$2){return Assert$13(Number.isSafeInteger(n$2)&&n$2>0,`n must be a strict positive integer`),this.$_addRule({name:`minArity`,args:{n:n$2}})},validate(value,helpers,{n:n$2}){return value.length>=n$2?value:helpers.error(`function.minArity`,{n:n$2})}},maxArity:{method(n$2){return Assert$13(Number.isSafeInteger(n$2)&&n$2>=0,`n must be a positive integer`),this.$_addRule({name:`maxArity`,args:{n:n$2}})},validate(value,helpers,{n:n$2}){return value.length<=n$2?value:helpers.error(`function.maxArity`,{n:n$2})}}},messages:{"function.arity":`{{#label}} must have an arity of {{#n}}`,"function.class":`{{#label}} must be a class`,"function.maxArity":`{{#label}} must have an arity lesser or equal to {{#n}}`,"function.minArity":`{{#label}} must have an arity greater or equal to {{#n}}`}})}),require_link=__commonJSMin((exports,module)=>{let Assert$12=require_assert$1(),Any$4=require_any(),Common$4=require_common(),Compile$1=require_compile(),Errors$3=require_errors$1(),internals$23={};module.exports=Any$4.extend({type:`link`,properties:{schemaChain:!0},terms:{link:{init:null,manifest:`single`,register:!1}},args(schema,ref){return schema.ref(ref)},validate(value,{schema,state,prefs}){Assert$12(schema.$_terms.link,`Uninitialized link schema`);let linked=internals$23.generate(schema,value,state,prefs),ref=schema.$_terms.link[0].ref;return linked.$_validate(value,state.nest(linked,`link:${ref.display}:${linked.type}`),prefs)},generate(schema,value,state,prefs){return internals$23.generate(schema,value,state,prefs)},rules:{ref:{method(ref){Assert$12(!this.$_terms.link,`Cannot reinitialize schema`),ref=Compile$1.ref(ref),Assert$12(ref.type===`value`||ref.type===`local`,`Invalid reference type:`,ref.type),Assert$12(ref.type===`local`||ref.ancestor===`root`||ref.ancestor>0,`Link cannot reference itself`);let obj=this.clone();return obj.$_terms.link=[{ref}],obj}},relative:{method(enabled=!0){return this.$_setFlag(`relative`,enabled)}}},overrides:{concat(source){Assert$12(this.$_terms.link,`Uninitialized link schema`),Assert$12(Common$4.isSchema(source),`Invalid schema object`),Assert$12(source.type!==`link`,`Cannot merge type link with another link`);let obj=this.clone();return obj.$_terms.whens||(obj.$_terms.whens=[]),obj.$_terms.whens.push({concat:source}),obj.$_mutateRebuild()}},manifest:{build(obj,desc$1){return Assert$12(desc$1.link,`Invalid link description missing link`),obj.ref(desc$1.link)}}}),internals$23.generate=function(schema,value,state,prefs){let linked=state.mainstay.links.get(schema);if(linked)return linked._generate(value,state,prefs).schema;let ref=schema.$_terms.link[0].ref,{perspective,path}=internals$23.perspective(ref,state);internals$23.assert(perspective,`which is outside of schema boundaries`,ref,schema,state,prefs);try{linked=path.length?perspective.$_reach(path):perspective}catch{internals$23.assert(!1,`to non-existing schema`,ref,schema,state,prefs)}return internals$23.assert(linked.type!==`link`,`which is another link`,ref,schema,state,prefs),schema._flags.relative||state.mainstay.links.set(schema,linked),linked._generate(value,state,prefs).schema},internals$23.perspective=function(ref,state){if(ref.type===`local`){for(let{schema,key}of state.schemas){let id=schema._flags.id||key;if(id===ref.path[0])return{perspective:schema,path:ref.path.slice(1)};if(schema.$_terms.shared){for(let shared of schema.$_terms.shared)if(shared._flags.id===ref.path[0])return{perspective:shared,path:ref.path.slice(1)}}}return{perspective:null,path:null}}return ref.ancestor===`root`?{perspective:state.schemas[state.schemas.length-1].schema,path:ref.path}:{perspective:state.schemas[ref.ancestor]&&state.schemas[ref.ancestor].schema,path:ref.path}},internals$23.assert=function(condition,message,ref,schema,state,prefs){condition||Assert$12(!1,`"${Errors$3.label(schema._flags,state,prefs)}" contains link reference "${ref.display}" ${message}`)}}),require_number=__commonJSMin((exports,module)=>{let Assert$11=require_assert$1(),Any$3=require_any(),Common$3=require_common(),internals$22={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(value){let str=value.toString(),dindex=str.indexOf(`.`),eindex=str.indexOf(`e`);return(dindex<0?0:(eindex<0?str.length:eindex)-dindex-1)+(eindex<0?0:Math.max(0,-parseInt(str.slice(eindex+1))))}};module.exports=Any$3.extend({type:`number`,flags:{unsafe:{default:!1}},coerce:{from:`string`,method(value,{schema,error}){let matches=value.match(internals$22.numberRx);if(!matches)return;value=value.trim();let result={value:parseFloat(value)};if(result.value===0&&(result.value=0),!schema._flags.unsafe)if(value.match(/e/i)){if(internals$22.extractSignificantDigits(value)!==internals$22.extractSignificantDigits(String(result.value)))return result.errors=error(`number.unsafe`),result}else{let string=result.value.toString();if(string.match(/e/i))return result;if(string!==internals$22.normalizeDecimal(value))return result.errors=error(`number.unsafe`),result}return result}},validate(value,{schema,error,prefs}){if(value===1/0||value===-1/0)return{value,errors:error(`number.infinity`)};if(!Common$3.isNumber(value))return{value,errors:error(`number.base`)};let result={value};if(prefs.convert){let rule=schema.$_getRule(`precision`);if(rule){let precision=10**rule.args.limit;result.value=Math.round(result.value*precision)/precision}}return result.value===0&&(result.value=0),!schema._flags.unsafe&&(value>2**53-1||value<-(2**53-1))&&(result.errors=error(`number.unsafe`)),result},rules:{compare:{method:!1,validate(value,helpers,{limit},{name:name$1,operator,args:args$1}){return Common$3.compare(value,limit,operator)?value:helpers.error(`number.`+name$1,{limit:args$1.limit,value})},args:[{name:`limit`,ref:!0,assert:Common$3.isNumber,message:`must be a number`}]},greater:{method(limit){return this.$_addRule({name:`greater`,method:`compare`,args:{limit},operator:`>`})}},integer:{method(){return this.$_addRule(`integer`)},validate(value,helpers){return Math.trunc(value)-value===0?value:helpers.error(`number.integer`)}},less:{method(limit){return this.$_addRule({name:`less`,method:`compare`,args:{limit},operator:`<`})}},max:{method(limit){return this.$_addRule({name:`max`,method:`compare`,args:{limit},operator:`<=`})}},min:{method(limit){return this.$_addRule({name:`min`,method:`compare`,args:{limit},operator:`>=`})}},multiple:{method(base){let baseDecimalPlace=typeof base==`number`?internals$22.decimalPlaces(base):null,pfactor=10**baseDecimalPlace;return this.$_addRule({name:`multiple`,args:{base,baseDecimalPlace,pfactor}})},validate(value,helpers,{base,baseDecimalPlace,pfactor},options){let valueDecimalPlace=internals$22.decimalPlaces(value);return valueDecimalPlace>baseDecimalPlace?helpers.error(`number.multiple`,{multiple:options.args.base,value}):Math.round(pfactor*value)%Math.round(pfactor*base)===0?value:helpers.error(`number.multiple`,{multiple:options.args.base,value})},args:[{name:`base`,ref:!0,assert:value=>typeof value==`number`&&isFinite(value)&&value>0,message:`must be a positive number`},`baseDecimalPlace`,`pfactor`],multi:!0},negative:{method(){return this.sign(`negative`)}},port:{method(){return this.$_addRule(`port`)},validate(value,helpers){return Number.isSafeInteger(value)&&value>=0&&value<=65535?value:helpers.error(`number.port`)}},positive:{method(){return this.sign(`positive`)}},precision:{method(limit){return Assert$11(Number.isSafeInteger(limit),`limit must be an integer`),this.$_addRule({name:`precision`,args:{limit}})},validate(value,helpers,{limit}){let places=value.toString().match(internals$22.precisionRx),decimals=Math.max((places[1]?places[1].length:0)-(places[2]?parseInt(places[2],10):0),0);return decimals<=limit?value:helpers.error(`number.precision`,{limit,value})},convert:!0},sign:{method(sign$1){return Assert$11([`negative`,`positive`].includes(sign$1),`Invalid sign`,sign$1),this.$_addRule({name:`sign`,args:{sign:sign$1}})},validate(value,helpers,{sign:sign$1}){return sign$1===`negative`&&value<0||sign$1===`positive`&&value>0?value:helpers.error(`number.${sign$1}`)}},unsafe:{method(enabled=!0){return Assert$11(typeof enabled==`boolean`,`enabled must be a boolean`),this.$_setFlag(`unsafe`,enabled)}}},cast:{string:{from:value=>typeof value==`number`,to(value,helpers){return value.toString()}}},messages:{"number.base":`{{#label}} must be a number`,"number.greater":`{{#label}} must be greater than {{#limit}}`,"number.infinity":`{{#label}} cannot be infinity`,"number.integer":`{{#label}} must be an integer`,"number.less":`{{#label}} must be less than {{#limit}}`,"number.max":`{{#label}} must be less than or equal to {{#limit}}`,"number.min":`{{#label}} must be greater than or equal to {{#limit}}`,"number.multiple":`{{#label}} must be a multiple of {{#multiple}}`,"number.negative":`{{#label}} must be a negative number`,"number.port":`{{#label}} must be a valid port`,"number.positive":`{{#label}} must be a positive number`,"number.precision":`{{#label}} must have no more than {{#limit}} decimal places`,"number.unsafe":`{{#label}} must be a safe number`}}),internals$22.extractSignificantDigits=function(value){return value.replace(internals$22.exponentialPartRegex,``).replace(internals$22.dotRegex,``).replace(internals$22.trailingZerosRegex,``).replace(internals$22.leadingSignAndZerosRegex,``)},internals$22.normalizeDecimal=function(str){return str=str.replace(/^\+/,``).replace(/\.0*$/,``).replace(/^(-?)\.([^\.]*)$/,`$10.$2`).replace(/^(-?)0+([0-9])/,`$1$2`),str.includes(`.`)&&str.endsWith(`0`)&&(str=str.replace(/0+$/,``)),str===`-0`?`0`:str}}),require_object=__commonJSMin((exports,module)=>{let Keys=require_keys();module.exports=Keys.extend({type:`object`,cast:{map:{from:value=>value&&typeof value==`object`,to(value,helpers){return new Map(Object.entries(value))}}}})}),urlshim_exports={};__export(urlshim_exports,{URL:()=>URL$1,URLSearchParams:()=>URLSearchParams});function toErr(msg,code$2,err$1){throw err$1=TypeError(msg),err$1.code=code$2,err$1}function invalid(str){toErr(`Invalid URL: `+str,`ERR_INVALID_URL`)}function args(both,len$2,x$1,y){x$1=`The "name" `,y=`argument`,both&&(x$1+=`and "value" `,y+=`s`),len$2<++both&&toErr(x$1+y+` must be specified`,`ERR_MISSING_ARGS`)}function toIter(arr,supported){var val,j$1=0,iter={next:function(){return val=arr[j$1++],{value:val,done:j$1>arr.length}}};return supported&&(iter[Symbol.iterator]=function(){return iter}),iter}function URLSearchParams(init,ref){var k,i$4,x$1,supp,tmp,$=this,list=[];try{supp=!!Symbol.iterator}catch{supp=!1}if(init){if(init.keys&&init.getAll)init.forEach(function(v,k$1){toAppend(k$1,v)});else if(init.pop)for(i$4=0;i$4<init.length;i$4++)toAppend.apply(0,init[i$4]);else if(typeof init==`object`)for(k in init)toSet(k,init[k]);else if(typeof init==`string`)for(init[0]==`?`&&(init=init.substring(1)),x$1=decodeURIComponent(init).split(`&`);k=x$1.shift();)i$4=k.indexOf(`=`),~i$4||(i$4=k.length),toAppend(k.substring(0,i$4),k.substring(++i$4))}function toSet(key,val){for(args(1,arguments.length),val=String(val),x$1=!1,i$4=list.length;i$4--;)tmp=list[i$4],tmp[0]==key&&(x$1?list.splice(i$4,1):(tmp[1]=val,x$1=!0));x$1||list.push([key,val]),cascade()}function toAppend(key,val){args(1,arguments.length),list.push([key,String(val)]),cascade()}function toStr$4(){for(tmp=``,i$4=0;i$4<list.length;i$4++)tmp&&(tmp+=`&`),tmp+=encodeURIComponent(list[i$4][0])+`=`+encodeURIComponent(list[i$4][1]);return tmp.replace(/%20/g,`+`)}function cascade(){ref&&(ref.search=list.length?`?`+toStr$4().replace(/=$/,``):``)}return $.append=toAppend,$.delete=function(key){for(args(0,arguments.length),i$4=list.length;i$4--;)list[i$4][0]==key&&list.splice(i$4,1);cascade()},$.entries=function(){return toIter(list,supp)},$.forEach=function(fn$1){for(typeof fn$1!=`function`&&toErr(`Callback must be a function`,`ERR_INVALID_CALLBACK`),i$4=0;i$4<list.length;i$4++)fn$1(list[i$4][1],list[i$4][0])},$.get=function(key){for(args(0,arguments.length),i$4=0;i$4<list.length;i$4++)if(list[i$4][0]==key)return list[i$4][1];return null},$.getAll=function(key){for(args(0,arguments.length),tmp=[],i$4=0;i$4<list.length;i$4++)list[i$4][0]==key&&tmp.push(list[i$4][1]);return tmp},$.has=function(key){for(args(0,arguments.length),i$4=0;i$4<list.length;i$4++)if(list[i$4][0]==key)return!0;return!1},$.keys=function(){for(tmp=[],i$4=0;i$4<list.length;i$4++)tmp.push(list[i$4][0]);return toIter(tmp,supp)},$.set=toSet,$.sort=function(){for(x$1=[],tmp=[],i$4=0;i$4<list.length;x$1.push(list[i$4++][0]));for(x$1.sort();k=x$1.shift();)for(i$4=0;i$4<list.length;i$4++)if(list[i$4][0]==k){tmp.push(list.splice(i$4,1).shift());break}list=tmp,cascade()},$.toString=toStr$4,$.values=function(){for(tmp=[],i$4=0;i$4<list.length;i$4++)tmp.push(list[i$4][1]);return toIter(tmp,supp)},supp&&($[Symbol.iterator]=$.entries),$}function URL$1(url,base){var tmp=document.createElement(`a`),link=document.createElement(`a`),input=document.createElement(`input`),segs,usp,$=this,rgx=/(blob|ftp|wss?|https?):/;if(input.type=`url`,base=String(base||``).trim(),(input.value=base)&&!input.checkValidity())return invalid(base);if(url=String(url).trim(),input.value=url||0,input.checkValidity())link.href=url;else if(base)link.href=base,url&&(usp=url.match(/^\/+/),usp&&usp[0].length==2?link.href=link.protocol+url:/[?#]/.test(url[0])?link.href+=url:url[0]==`/`||link.pathname==`/`?link.href=link.origin+`/`+url.replace(/^\/+/,``):(segs=link.pathname.split(`/`),base=url.replace(/^(\.\/)?/,``).split(`../`),link.href=link.origin+segs.slice(0,Math.max(1,segs.length-base.length)).concat(base.pop()).join(`/`)));else return invalid(url);function proxy(key){return tmp.href=link.href,tmp.protocol=`http:`,key==`protocol`||key==`href`||rgx.test(link.protocol)?link[key]:key==`origin`?rgx.test(link.protocol)?link[key]:`null`:tmp[key]}function block$1(key,readonly,getter,out){return out={enumerable:!0},readonly||(out.set=function(val){val!=null&&(link[key]=String(val),(key==`href`||key==`search`)&&(usp=new URLSearchParams(link.search,link)))}),out.get=getter||function(){return proxy(key)},out}return usp=new URLSearchParams(link.search,link),$.toString=$.toJSON=link.toString.bind(link),Object.defineProperties($,{href:block$1(`href`),protocol:block$1(`protocol`),username:block$1(`username`),password:block$1(`password`),hostname:block$1(`hostname`),host:block$1(`host`),port:block$1(`port`),search:block$1(`search`),hash:block$1(`hash`),pathname:block$1(`pathname`),origin:block$1(`origin`,1),searchParams:block$1(`searchParams`,1,function(){return usp})})}var init_urlshim=__esmMin(()=>{}),require_errors=__commonJSMin(exports=>{exports.codes={EMPTY_STRING:`Address must be a non-empty string`,FORBIDDEN_UNICODE:`Address contains forbidden Unicode characters`,MULTIPLE_AT_CHAR:`Address cannot contain more than one @ character`,MISSING_AT_CHAR:`Address must contain one @ character`,EMPTY_LOCAL:`Address local part cannot be empty`,ADDRESS_TOO_LONG:`Address too long`,LOCAL_TOO_LONG:`Address local part too long`,EMPTY_LOCAL_SEGMENT:`Address local part contains empty dot-separated segment`,INVALID_LOCAL_CHARS:`Address local part contains invalid character`,DOMAIN_NON_EMPTY_STRING:`Domain must be a non-empty string`,DOMAIN_TOO_LONG:`Domain too long`,DOMAIN_INVALID_UNICODE_CHARS:`Domain contains forbidden Unicode characters`,DOMAIN_INVALID_CHARS:`Domain contains invalid character`,DOMAIN_INVALID_TLDS_CHARS:`Domain contains invalid tld character`,DOMAIN_SEGMENTS_COUNT:`Domain lacks the minimum required number of segments`,DOMAIN_SEGMENTS_COUNT_MAX:`Domain contains too many segments`,DOMAIN_FORBIDDEN_TLDS:`Domain uses forbidden TLD`,DOMAIN_EMPTY_SEGMENT:`Domain contains empty dot-separated segment`,DOMAIN_LONG_SEGMENT:`Domain contains dot-separated segment that is too long`},exports.code=function(code$2){return{code:code$2,error:exports.codes[code$2]}}}),require_domain=__commonJSMin(exports=>{let Url=(init_urlshim(),__toCommonJS(urlshim_exports)),Errors$2=require_errors(),internals$21={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:Url.URL||URL};exports.analyze=function(domain,options={}){if(!domain)return Errors$2.code(`DOMAIN_NON_EMPTY_STRING`);if(typeof domain!=`string`)throw Error(`Invalid input: domain must be a string`);if(domain.length>256)return Errors$2.code(`DOMAIN_TOO_LONG`);let ascii$2=!internals$21.nonAsciiRx.test(domain);if(!ascii$2){if(options.allowUnicode===!1)return Errors$2.code(`DOMAIN_INVALID_UNICODE_CHARS`);domain=domain.normalize(`NFC`)}if(internals$21.domainControlRx.test(domain))return Errors$2.code(`DOMAIN_INVALID_CHARS`);domain=internals$21.punycode(domain),options.allowFullyQualified&&domain[domain.length-1]===`.`&&(domain=domain.slice(0,-1));let minDomainSegments=options.minDomainSegments||internals$21.minDomainSegments,segments=domain.split(`.`);if(segments.length<minDomainSegments)return Errors$2.code(`DOMAIN_SEGMENTS_COUNT`);if(options.maxDomainSegments&&segments.length>options.maxDomainSegments)return Errors$2.code(`DOMAIN_SEGMENTS_COUNT_MAX`);let tlds$1=options.tlds;if(tlds$1){let tld=segments[segments.length-1].toLowerCase();if(tlds$1.deny&&tlds$1.deny.has(tld)||tlds$1.allow&&!tlds$1.allow.has(tld))return Errors$2.code(`DOMAIN_FORBIDDEN_TLDS`)}for(let i$4=0;i$4<segments.length;++i$4){let segment=segments[i$4];if(!segment.length)return Errors$2.code(`DOMAIN_EMPTY_SEGMENT`);if(segment.length>63)return Errors$2.code(`DOMAIN_LONG_SEGMENT`);if(i$4<segments.length-1){if(!internals$21.domainSegmentRx.test(segment))return Errors$2.code(`DOMAIN_INVALID_CHARS`)}else if(!internals$21.tldSegmentRx.test(segment))return Errors$2.code(`DOMAIN_INVALID_TLDS_CHARS`)}return null},exports.isValid=function(domain,options){return!exports.analyze(domain,options)},internals$21.punycode=function(domain){domain.includes(`%`)&&(domain=domain.replace(/%/g,`%25`));try{return new internals$21.URL(`http://${domain}`).host}catch{return domain}}});function getDefaultExportFromCjs(x$1){return x$1&&x$1.__esModule&&Object.prototype.hasOwnProperty.call(x$1,`default`)?x$1.default:x$1}function defaultSetTimout(){throw Error(`setTimeout has not been defined`)}function defaultClearTimeout(){throw Error(`clearTimeout has not been defined`)}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len$2=queue.length;len$2;){for(currentQueue=queue,queue=[];++queueIndex<len$2;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len$2=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}var browser,process,cachedSetTimeout,cachedClearTimeout,queue,draining,currentQueue,queueIndex,browserExports,process$1,init_dist=__esmMin(()=>{browser={exports:{}},process=browser.exports={},function(){try{cachedSetTimeout=typeof setTimeout==`function`?setTimeout:defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout=typeof clearTimeout==`function`?clearTimeout:defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}}(),queue=[],draining=!1,queueIndex=-1,process.nextTick=function(fun){var args$1=Array(arguments.length-1);if(arguments.length>1)for(var i$4=1;i$4<arguments.length;i$4++)args$1[i$4-1]=arguments[i$4];queue.push(new Item(fun,args$1)),queue.length===1&&!draining&&runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title=`browser`,process.browser=!0,process.env={},process.argv=[],process.version=``,process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name$1){return[]},process.binding=function(name$1){throw Error(`process.binding is not supported`)},process.cwd=function(){return`/`},process.chdir=function(dir){throw Error(`process.chdir is not supported`)},process.umask=function(){return 0},browserExports=browser.exports,process$1=getDefaultExportFromCjs(browserExports)}),require_shams$1=__commonJSMin((exports,module)=>{module.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var obj={},sym=Symbol(`test`),symObj=Object(sym);if(typeof sym==`string`||Object.prototype.toString.call(sym)!==`[object Symbol]`||Object.prototype.toString.call(symObj)!==`[object Symbol]`)return!1;var symVal=42;for(var _ in obj[sym]=symVal,obj)return!1;if(typeof Object.keys==`function`&&Object.keys(obj).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(obj).length!==0)return!1;var syms=Object.getOwnPropertySymbols(obj);if(syms.length!==1||syms[0]!==sym||!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(descriptor.value!==symVal||descriptor.enumerable!==!0)return!1}return!0}}),require_shams=__commonJSMin((exports,module)=>{var hasSymbols$1=require_shams$1();module.exports=function(){return hasSymbols$1()&&!!Symbol.toStringTag}}),require_es_object_atoms=__commonJSMin((exports,module)=>{module.exports=Object}),require_es_errors=__commonJSMin((exports,module)=>{module.exports=Error}),require_eval=__commonJSMin((exports,module)=>{module.exports=EvalError}),require_range$1=__commonJSMin((exports,module)=>{module.exports=RangeError}),require_ref=__commonJSMin((exports,module)=>{module.exports=ReferenceError}),require_syntax=__commonJSMin((exports,module)=>{module.exports=SyntaxError}),require_type=__commonJSMin((exports,module)=>{module.exports=TypeError}),require_uri$1=__commonJSMin((exports,module)=>{module.exports=URIError}),require_abs=__commonJSMin((exports,module)=>{module.exports=Math.abs}),require_floor=__commonJSMin((exports,module)=>{module.exports=Math.floor}),require_max=__commonJSMin((exports,module)=>{module.exports=Math.max}),require_min=__commonJSMin((exports,module)=>{module.exports=Math.min}),require_pow=__commonJSMin((exports,module)=>{module.exports=Math.pow}),require_round=__commonJSMin((exports,module)=>{module.exports=Math.round}),require_isNaN=__commonJSMin((exports,module)=>{module.exports=Number.isNaN||function(a){return a!==a}}),require_sign=__commonJSMin((exports,module)=>{var $isNaN=require_isNaN();module.exports=function(number){return $isNaN(number)||number===0?number:number<0?-1:1}}),require_gOPD=__commonJSMin((exports,module)=>{module.exports=Object.getOwnPropertyDescriptor}),require_gopd=__commonJSMin((exports,module)=>{var $gOPD$1=require_gOPD();if($gOPD$1)try{$gOPD$1([],`length`)}catch{$gOPD$1=null}module.exports=$gOPD$1}),require_es_define_property=__commonJSMin((exports,module)=>{var $defineProperty$4=Object.defineProperty||!1;if($defineProperty$4)try{$defineProperty$4({},`a`,{value:1})}catch{$defineProperty$4=!1}module.exports=$defineProperty$4}),require_has_symbols=__commonJSMin((exports,module)=>{var origSymbol=typeof Symbol<`u`&&Symbol,hasSymbolSham=require_shams$1();module.exports=function(){return typeof origSymbol!=`function`||typeof Symbol!=`function`||typeof origSymbol(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:hasSymbolSham()}}),require_Reflect_getPrototypeOf=__commonJSMin((exports,module)=>{module.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null}),require_Object_getPrototypeOf=__commonJSMin((exports,module)=>{var $Object$2=require_es_object_atoms();module.exports=$Object$2.getPrototypeOf||null}),require_implementation=__commonJSMin((exports,module)=>{var ERROR_MESSAGE=`Function.prototype.bind called on incompatible `,toStr$3=Object.prototype.toString,max$2=Math.max,funcType=`[object Function]`,concatty=function(a,b){for(var arr=[],i$4=0;i$4<a.length;i$4+=1)arr[i$4]=a[i$4];for(var j$1=0;j$1<b.length;j$1+=1)arr[j$1+a.length]=b[j$1];return arr},slicy=function(arrLike,offset$2){for(var arr=[],i$4=offset$2||0,j$1=0;i$4<arrLike.length;i$4+=1,j$1+=1)arr[j$1]=arrLike[i$4];return arr},joiny=function(arr,joiner){for(var str=``,i$4=0;i$4<arr.length;i$4+=1)str+=arr[i$4],i$4+1<arr.length&&(str+=joiner);return str};module.exports=function(that){var target=this;if(typeof target!=`function`||toStr$3.apply(target)!==funcType)throw TypeError(ERROR_MESSAGE+target);for(var args$1=slicy(arguments,1),bound,binder=function(){if(this instanceof bound){var result=target.apply(this,concatty(args$1,arguments));return Object(result)===result?result:this}return target.apply(that,concatty(args$1,arguments))},boundLength=max$2(0,target.length-args$1.length),boundArgs=[],i$4=0;i$4<boundLength;i$4++)boundArgs[i$4]=`$`+i$4;if(bound=Function(`binder`,`return function (`+joiny(boundArgs,`,`)+`){ return binder.apply(this,arguments); }`)(binder),target.prototype){var Empty=function(){};Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null}return bound}}),require_function_bind=__commonJSMin((exports,module)=>{var implementation=require_implementation();module.exports=Function.prototype.bind||implementation}),require_functionCall=__commonJSMin((exports,module)=>{module.exports=Function.prototype.call}),require_functionApply=__commonJSMin((exports,module)=>{module.exports=Function.prototype.apply}),require_reflectApply=__commonJSMin((exports,module)=>{module.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply}),require_actualApply=__commonJSMin((exports,module)=>{var bind$4=require_function_bind(),$apply$2=require_functionApply(),$call$2=require_functionCall(),$reflectApply=require_reflectApply();module.exports=$reflectApply||bind$4.call($call$2,$apply$2)}),require_call_bind_apply_helpers=__commonJSMin((exports,module)=>{var bind$3=require_function_bind(),$TypeError$4=require_type(),$call$1=require_functionCall(),$actualApply=require_actualApply();module.exports=function(args$1){if(args$1.length<1||typeof args$1[0]!=`function`)throw new $TypeError$4(`a function is required`);return $actualApply(bind$3,$call$1,args$1)}}),require_get=__commonJSMin((exports,module)=>{var callBind$1=require_call_bind_apply_helpers(),gOPD$3=require_gopd(),hasProtoAccessor;try{hasProtoAccessor=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var desc=!!hasProtoAccessor&&gOPD$3&&gOPD$3(Object.prototype,`__proto__`),$Object$1=Object,$getPrototypeOf=$Object$1.getPrototypeOf;module.exports=desc&&typeof desc.get==`function`?callBind$1([desc.get]):typeof $getPrototypeOf==`function`?function(value){return $getPrototypeOf(value==null?value:$Object$1(value))}:!1}),require_get_proto=__commonJSMin((exports,module)=>{var reflectGetProto=require_Reflect_getPrototypeOf(),originalGetProto=require_Object_getPrototypeOf(),getDunderProto=require_get();module.exports=reflectGetProto?function(O){return reflectGetProto(O)}:originalGetProto?function(O){if(!O||typeof O!=`object`&&typeof O!=`function`)throw TypeError(`getProto: not an object`);return originalGetProto(O)}:getDunderProto?function(O){return getDunderProto(O)}:null}),require_hasown=__commonJSMin((exports,module)=>{var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind$2=require_function_bind();module.exports=bind$2.call(call,$hasOwn)}),require_get_intrinsic=__commonJSMin((exports,module)=>{var undefined$1,$Object=require_es_object_atoms(),$Error=require_es_errors(),$EvalError=require_eval(),$RangeError=require_range$1(),$ReferenceError=require_ref(),$SyntaxError$1=require_syntax(),$TypeError$3=require_type(),$URIError=require_uri$1(),abs=require_abs(),floor=require_floor(),max$1=require_max(),min=require_min(),pow=require_pow(),round$1=require_round(),sign=require_sign(),$Function=Function,getEvalledConstructor=function(expressionSyntax){try{return $Function(`"use strict"; return (`+expressionSyntax+`).constructor;`)()}catch{}},$gOPD=require_gopd(),$defineProperty$3=require_es_define_property(),throwTypeError=function(){throw new $TypeError$3},ThrowTypeError=$gOPD?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD(arguments,`callee`).get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=require_has_symbols()(),getProto$2=require_get_proto(),$ObjectGPO=require_Object_getPrototypeOf(),$ReflectGPO=require_Reflect_getPrototypeOf(),$apply$1=require_functionApply(),$call=require_functionCall(),needsEval={},TypedArray=typeof Uint8Array>`u`||!getProto$2?undefined$1:getProto$2(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$2?getProto$2([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>`u`?undefined$1:Atomics,"%BigInt%":typeof BigInt>`u`?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":typeof Float16Array>`u`?undefined$1:Float16Array,"%Float32Array%":typeof Float32Array>`u`?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>`u`?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>`u`?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>`u`?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>`u`?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$2?getProto$2(getProto$2([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON==`object`?JSON:undefined$1,"%Map%":typeof Map>`u`?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>`u`||!hasSymbols||!getProto$2?undefined$1:getProto$2(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?undefined$1:Promise,"%Proxy%":typeof Proxy>`u`?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>`u`?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>`u`||!hasSymbols||!getProto$2?undefined$1:getProto$2(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$2?getProto$2(``[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$3,"%Uint8Array%":typeof Uint8Array>`u`?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>`u`?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>`u`?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>`u`?undefined$1:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply$1,"%Object.defineProperty%":$defineProperty$3,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max$1,"%Math.min%":min,"%Math.pow%":pow,"%Math.round%":round$1,"%Math.sign%":sign,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto$2)try{null.error}catch(e){var errorProto=getProto$2(getProto$2(e));INTRINSICS[`%Error.prototype%`]=errorProto}var doEval=function doEval$1(name$1){var value;if(name$1===`%AsyncFunction%`)value=getEvalledConstructor(`async function () {}`);else if(name$1===`%GeneratorFunction%`)value=getEvalledConstructor(`function* () {}`);else if(name$1===`%AsyncGeneratorFunction%`)value=getEvalledConstructor(`async function* () {}`);else if(name$1===`%AsyncGenerator%`){var fn$1=doEval$1(`%AsyncGeneratorFunction%`);fn$1&&(value=fn$1.prototype)}else if(name$1===`%AsyncIteratorPrototype%`){var gen=doEval$1(`%AsyncGenerator%`);gen&&getProto$2&&(value=getProto$2(gen.prototype))}return INTRINSICS[name$1]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},bind$1=require_function_bind(),hasOwn$1=require_hasown(),$concat=bind$1.call($call,Array.prototype.concat),$spliceApply=bind$1.call($apply$1,Array.prototype.splice),$replace=bind$1.call($call,String.prototype.replace),$strSlice=bind$1.call($call,String.prototype.slice),$exec$2=bind$1.call($call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if(first===`%`&&last!==`%`)throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(last===`%`&&first!==`%`)throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,function(match$2,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,`$1`):number||match$2}),result},getBaseIntrinsic=function(name$1,allowMissing){var intrinsicName=name$1,alias;if(hasOwn$1(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName=`%`+alias[0]+`%`),hasOwn$1(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),value===void 0&&!allowMissing)throw new $TypeError$3(`intrinsic `+name$1+` exists, but is not available. Please file an issue!`);return{alias,name:intrinsicName,value}}throw new $SyntaxError$1(`intrinsic `+name$1+` does not exist!`)};module.exports=function(name$1,allowMissing){if(typeof name$1!=`string`||name$1.length===0)throw new $TypeError$3(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof allowMissing!=`boolean`)throw new $TypeError$3(`"allowMissing" argument must be a boolean`);if($exec$2(/^%?[^%]*%?$/,name$1)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=stringToPath(name$1),intrinsicBaseName=parts.length>0?parts[0]:``,intrinsic=getBaseIntrinsic(`%`+intrinsicBaseName+`%`,allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i$4=1,isOwn=!0;i$4<parts.length;i$4+=1){var part=parts[i$4],first=$strSlice(part,0,1),last=$strSlice(part,-1);if((first===`"`||first===`'`||first==="`"||last===`"`||last===`'`||last==="`")&&first!==last)throw new $SyntaxError$1(`property names with quotes must have matching quotes`);if((part===`constructor`||!isOwn)&&(skipFurtherCaching=!0),intrinsicBaseName+=`.`+part,intrinsicRealName=`%`+intrinsicBaseName+`%`,hasOwn$1(INTRINSICS,intrinsicRealName))value=INTRINSICS[intrinsicRealName];else if(value!=null){if(!(part in value)){if(!allowMissing)throw new $TypeError$3(`base intrinsic for `+name$1+` exists, but the property is not available.`);return}if($gOPD&&i$4+1>=parts.length){var desc$1=$gOPD(value,part);isOwn=!!desc$1,value=isOwn&&`get`in desc$1&&!(`originalValue`in desc$1.get)?desc$1.get:value[part]}else isOwn=hasOwn$1(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}}),require_call_bound=__commonJSMin((exports,module)=>{var GetIntrinsic$1=require_get_intrinsic(),callBindBasic$1=require_call_bind_apply_helpers(),$indexOf$1=callBindBasic$1([GetIntrinsic$1(`%String.prototype.indexOf%`)]);module.exports=function(name$1,allowMissing){var intrinsic=GetIntrinsic$1(name$1,!!allowMissing);return typeof intrinsic==`function`&&$indexOf$1(name$1,`.prototype.`)>-1?callBindBasic$1([intrinsic]):intrinsic}}),require_is_arguments=__commonJSMin((exports,module)=>{var hasToStringTag$4=require_shams()(),callBound$4=require_call_bound(),$toString$2=callBound$4(`Object.prototype.toString`),isStandardArguments=function(value){return hasToStringTag$4&&value&&typeof value==`object`&&Symbol.toStringTag in value?!1:$toString$2(value)===`[object Arguments]`},isLegacyArguments=function(value){return isStandardArguments(value)?!0:typeof value==`object`&&!!value&&`length`in value&&typeof value.length==`number`&&value.length>=0&&$toString$2(value)!==`[object Array]`&&`callee`in value&&$toString$2(value.callee)===`[object Function]`},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments}),require_is_regex=__commonJSMin((exports,module)=>{var callBound$3=require_call_bound(),hasToStringTag$3=require_shams()(),hasOwn=require_hasown(),gOPD$2=require_gopd(),fn;if(hasToStringTag$3){var $exec$1=callBound$3(`RegExp.prototype.exec`),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker};typeof Symbol.toPrimitive==`symbol`&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker),fn=function(value){if(!value||typeof value!=`object`)return!1;var descriptor=gOPD$2(value,`lastIndex`),hasLastIndexDataProperty=descriptor&&hasOwn(descriptor,`value`);if(!hasLastIndexDataProperty)return!1;try{$exec$1(value,badStringifier)}catch(e){return e===isRegexMarker}}}else{var $toString$1=callBound$3(`Object.prototype.toString`),regexClass=`[object RegExp]`;fn=function(value){return!value||typeof value!=`object`&&typeof value!=`function`?!1:$toString$1(value)===regexClass}}module.exports=fn}),require_safe_regex_test=__commonJSMin((exports,module)=>{var callBound$2=require_call_bound(),isRegex=require_is_regex(),$exec=callBound$2(`RegExp.prototype.exec`),$TypeError$2=require_type();module.exports=function(regex){if(!isRegex(regex))throw new $TypeError$2("`regex` must be a RegExp");return function(s$2){return $exec(regex,s$2)!==null}}}),require_is_generator_function=__commonJSMin((exports,module)=>{var callBound$1=require_call_bound(),safeRegexTest=require_safe_regex_test(),isFnRegex=safeRegexTest(/^\s*(?:function)?\*/),hasToStringTag$2=require_shams()(),getProto$1=require_get_proto(),toStr$2=callBound$1(`Object.prototype.toString`),fnToStr$1=callBound$1(`Function.prototype.toString`),getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function(`return function*() {}`)()}catch{}},GeneratorFunction;module.exports=function(fn$1){if(typeof fn$1!=`function`)return!1;if(isFnRegex(fnToStr$1(fn$1)))return!0;if(!hasToStringTag$2){var str=toStr$2(fn$1);return str===`[object GeneratorFunction]`}if(!getProto$1)return!1;if(GeneratorFunction===void 0){var generatorFunc=getGeneratorFunc();GeneratorFunction=generatorFunc?getProto$1(generatorFunc):!1}return getProto$1(fn$1)===GeneratorFunction}}),require_is_callable=__commonJSMin((exports,module)=>{var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect==`object`&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply==`function`&&typeof Object.defineProperty==`function`)try{badArrayLike=Object.defineProperty({},`length`,{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass=`[object Object]`,fnClass=`[object Function]`,genClass=`[object GeneratorFunction]`,ddaClass=`[object HTMLAllCollection]`,ddaClass2=`[object HTML document.all class]`,ddaClass3=`[object HTMLCollection]`,hasToStringTag$1=typeof Symbol==`function`&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document==`object`){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(value===void 0||typeof value==`object`))try{var str=toStr$1.call(value);return(str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value(``)==null}catch{}return!1})}module.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||typeof value!=`function`&&typeof value!=`object`)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||typeof value!=`function`&&typeof value!=`object`)return!1;if(hasToStringTag$1)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr$1.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\[object HTML/.test(strClass)?!1:tryFunctionObject(value)}}),require_for_each=__commonJSMin((exports,module)=>{var isCallable=require_is_callable(),toStr=Object.prototype.toString,hasOwnProperty$3=Object.prototype.hasOwnProperty,forEachArray=function(array,iterator,receiver){for(var i$4=0,len$2=array.length;i$4<len$2;i$4++)hasOwnProperty$3.call(array,i$4)&&(receiver==null?iterator(array[i$4],i$4,array):iterator.call(receiver,array[i$4],i$4,array))},forEachString=function(string,iterator,receiver){for(var i$4=0,len$2=string.length;i$4<len$2;i$4++)receiver==null?iterator(string.charAt(i$4),i$4,string):iterator.call(receiver,string.charAt(i$4),i$4,string)},forEachObject=function(object,iterator,receiver){for(var k in object)hasOwnProperty$3.call(object,k)&&(receiver==null?iterator(object[k],k,object):iterator.call(receiver,object[k],k,object))};function isArray$1(x$1){return toStr.call(x$1)===`[object Array]`}module.exports=function(list,iterator,thisArg){if(!isCallable(iterator))throw TypeError(`iterator must be a function`);var receiver;arguments.length>=3&&(receiver=thisArg),isArray$1(list)?forEachArray(list,iterator,receiver):typeof list==`string`?forEachString(list,iterator,receiver):forEachObject(list,iterator,receiver)}}),require_possible_typed_array_names=__commonJSMin((exports,module)=>{module.exports=[`Float16Array`,`Float32Array`,`Float64Array`,`Int8Array`,`Int16Array`,`Int32Array`,`Uint8Array`,`Uint8ClampedArray`,`Uint16Array`,`Uint32Array`,`BigInt64Array`,`BigUint64Array`]}),require_available_typed_arrays=__commonJSMin((exports,module)=>{var possibleNames=require_possible_typed_array_names(),g$1=typeof globalThis>`u`?global:globalThis;module.exports=function(){for(var out=[],i$4=0;i$4<possibleNames.length;i$4++)typeof g$1[possibleNames[i$4]]==`function`&&(out[out.length]=possibleNames[i$4]);return out}}),require_define_data_property=__commonJSMin((exports,module)=>{var $defineProperty$2=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError$1=require_type(),gopd=require_gopd();module.exports=function(obj,property,value){if(!obj||typeof obj!=`object`&&typeof obj!=`function`)throw new $TypeError$1("`obj` must be an object or a function`");if(typeof property!=`string`&&typeof property!=`symbol`)throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new $TypeError$1("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6?arguments[6]:!1,desc$1=!!gopd&&gopd(obj,property);if($defineProperty$2)$defineProperty$2(obj,property,{configurable:nonConfigurable===null&&desc$1?desc$1.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc$1?desc$1.enumerable:!nonEnumerable,value,writable:nonWritable===null&&desc$1?desc$1.writable:!nonWritable});else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable)obj[property]=value;else throw new $SyntaxError(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}}),require_has_property_descriptors=__commonJSMin((exports,module)=>{var $defineProperty$1=require_es_define_property(),hasPropertyDescriptors=function(){return!!$defineProperty$1};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty$1)return null;try{return $defineProperty$1([],`length`,{value:1}).length!==1}catch{return!0}},module.exports=hasPropertyDescriptors}),require_set_function_length=__commonJSMin((exports,module)=>{var GetIntrinsic=require_get_intrinsic(),define$1=require_define_data_property(),hasDescriptors=require_has_property_descriptors()(),gOPD$1=require_gopd(),$TypeError=require_type(),$floor=GetIntrinsic(`%Math.floor%`);module.exports=function(fn$1,length){if(typeof fn$1!=`function`)throw new $TypeError("`fn` is not a function");if(typeof length!=`number`||length<0||length>4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if(`length`in fn$1&&gOPD$1){var desc$1=gOPD$1(fn$1,`length`);desc$1&&!desc$1.configurable&&(functionLengthIsConfigurable=!1),desc$1&&!desc$1.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define$1(fn$1,`length`,length,!0,!0):define$1(fn$1,`length`,length)),fn$1}}),require_applyBind=__commonJSMin((exports,module)=>{var bind=require_function_bind(),$apply=require_functionApply(),actualApply=require_actualApply();module.exports=function(){return actualApply(bind,$apply,arguments)}}),require_call_bind=__commonJSMin((exports,module)=>{var setFunctionLength=require_set_function_length(),$defineProperty=require_es_define_property(),callBindBasic=require_call_bind_apply_helpers(),applyBind=require_applyBind();module.exports=function(originalFunction){var func=callBindBasic(arguments),adjustedLength=originalFunction.length-(arguments.length-1);return setFunctionLength(func,1+(adjustedLength>0?adjustedLength:0),!0)},$defineProperty?$defineProperty(module.exports,`apply`,{value:applyBind}):module.exports.apply=applyBind}),require_which_typed_array=__commonJSMin((exports,module)=>{var forEach=require_for_each(),availableTypedArrays=require_available_typed_arrays(),callBind=require_call_bind(),callBound=require_call_bound(),gOPD=require_gopd(),getProto=require_get_proto(),$toString=callBound(`Object.prototype.toString`),hasToStringTag=require_shams()(),g=typeof globalThis>`u`?global:globalThis,typedArrays=availableTypedArrays(),$slice=callBound(`String.prototype.slice`),$indexOf=callBound(`Array.prototype.indexOf`,!0)||function(array,value){for(var i$4=0;i$4<array.length;i$4+=1)if(array[i$4]===value)return i$4;return-1},cache$1={__proto__:null};hasToStringTag&&gOPD&&getProto?forEach(typedArrays,function(typedArray){var arr=new g[typedArray];if(Symbol.toStringTag in arr&&getProto){var proto=getProto(arr),descriptor=gOPD(proto,Symbol.toStringTag);if(!descriptor&&proto){var superProto=getProto(proto);descriptor=gOPD(superProto,Symbol.toStringTag)}cache$1[`$`+typedArray]=callBind(descriptor.get)}}):forEach(typedArrays,function(typedArray){var arr=new g[typedArray],fn$1=arr.slice||arr.set;fn$1&&(cache$1[`$`+typedArray]=callBind(fn$1))});var tryTypedArrays=function(value){var found=!1;return forEach(cache$1,function(getter,typedArray){if(!found)try{`$`+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch{}}),found},trySlices=function(value){var found=!1;return forEach(cache$1,function(getter,name$1){if(!found)try{getter(value),found=$slice(name$1,1)}catch{}}),found};module.exports=function(value){if(!value||typeof value!=`object`)return!1;if(!hasToStringTag){var tag=$slice($toString(value),8,-1);return $indexOf(typedArrays,tag)>-1?tag:tag===`Object`?trySlices(value):!1}return gOPD?tryTypedArrays(value):null}}),require_is_typed_array=__commonJSMin((exports,module)=>{var whichTypedArray$1=require_which_typed_array();module.exports=function(value){return!!whichTypedArray$1(value)}}),require_types$1=__commonJSMin(exports=>{var isArgumentsObject=require_is_arguments(),isGeneratorFunction=require_is_generator_function(),whichTypedArray=require_which_typed_array(),isTypedArray=require_is_typed_array();function uncurryThis(f){return f.call.bind(f)}var BigIntSupported=typeof BigInt<`u`,SymbolSupported=typeof Symbol<`u`,ObjectToString=uncurryThis(Object.prototype.toString),numberValue=uncurryThis(Number.prototype.valueOf),stringValue=uncurryThis(String.prototype.valueOf),booleanValue=uncurryThis(Boolean.prototype.valueOf);if(BigIntSupported)var bigIntValue=uncurryThis(BigInt.prototype.valueOf);if(SymbolSupported)var symbolValue=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(value,prototypeValueOf){if(typeof value!=`object`)return!1;try{return prototypeValueOf(value),!0}catch{return!1}}exports.isArgumentsObject=isArgumentsObject,exports.isGeneratorFunction=isGeneratorFunction,exports.isTypedArray=isTypedArray;function isPromise$1(input){return typeof Promise<`u`&&input instanceof Promise||typeof input==`object`&&!!input&&typeof input.then==`function`&&typeof input.catch==`function`}exports.isPromise=isPromise$1;function isArrayBufferView(value){return typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(value):isTypedArray(value)||isDataView(value)}exports.isArrayBufferView=isArrayBufferView;function isUint8Array(value){return whichTypedArray(value)===`Uint8Array`}exports.isUint8Array=isUint8Array;function isUint8ClampedArray(value){return whichTypedArray(value)===`Uint8ClampedArray`}exports.isUint8ClampedArray=isUint8ClampedArray;function isUint16Array(value){return whichTypedArray(value)===`Uint16Array`}exports.isUint16Array=isUint16Array;function isUint32Array(value){return whichTypedArray(value)===`Uint32Array`}exports.isUint32Array=isUint32Array;function isInt8Array(value){return whichTypedArray(value)===`Int8Array`}exports.isInt8Array=isInt8Array;function isInt16Array(value){return whichTypedArray(value)===`Int16Array`}exports.isInt16Array=isInt16Array;function isInt32Array(value){return whichTypedArray(value)===`Int32Array`}exports.isInt32Array=isInt32Array;function isFloat32Array(value){return whichTypedArray(value)===`Float32Array`}exports.isFloat32Array=isFloat32Array;function isFloat64Array(value){return whichTypedArray(value)===`Float64Array`}exports.isFloat64Array=isFloat64Array;function isBigInt64Array(value){return whichTypedArray(value)===`BigInt64Array`}exports.isBigInt64Array=isBigInt64Array;function isBigUint64Array(value){return whichTypedArray(value)===`BigUint64Array`}exports.isBigUint64Array=isBigUint64Array;function isMapToString(value){return ObjectToString(value)===`[object Map]`}isMapToString.working=typeof Map<`u`&&isMapToString(new Map);function isMap(value){return typeof Map>`u`?!1:isMapToString.working?isMapToString(value):value instanceof Map}exports.isMap=isMap;function isSetToString(value){return ObjectToString(value)===`[object Set]`}isSetToString.working=typeof Set<`u`&&isSetToString(new Set);function isSet(value){return typeof Set>`u`?!1:isSetToString.working?isSetToString(value):value instanceof Set}exports.isSet=isSet;function isWeakMapToString(value){return ObjectToString(value)===`[object WeakMap]`}isWeakMapToString.working=typeof WeakMap<`u`&&isWeakMapToString(new WeakMap);function isWeakMap(value){return typeof WeakMap>`u`?!1:isWeakMapToString.working?isWeakMapToString(value):value instanceof WeakMap}exports.isWeakMap=isWeakMap;function isWeakSetToString(value){return ObjectToString(value)===`[object WeakSet]`}isWeakSetToString.working=typeof WeakSet<`u`&&isWeakSetToString(new WeakSet);function isWeakSet(value){return isWeakSetToString(value)}exports.isWeakSet=isWeakSet;function isArrayBufferToString(value){return ObjectToString(value)===`[object ArrayBuffer]`}isArrayBufferToString.working=typeof ArrayBuffer<`u`&&isArrayBufferToString(new ArrayBuffer);function isArrayBuffer(value){return typeof ArrayBuffer>`u`?!1:isArrayBufferToString.working?isArrayBufferToString(value):value instanceof ArrayBuffer}exports.isArrayBuffer=isArrayBuffer;function isDataViewToString(value){return ObjectToString(value)===`[object DataView]`}isDataViewToString.working=typeof ArrayBuffer<`u`&&typeof DataView<`u`&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1));function isDataView(value){return typeof DataView>`u`?!1:isDataViewToString.working?isDataViewToString(value):value instanceof DataView}exports.isDataView=isDataView;var SharedArrayBufferCopy=typeof SharedArrayBuffer<`u`?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(value){return ObjectToString(value)===`[object SharedArrayBuffer]`}function isSharedArrayBuffer(value){return SharedArrayBufferCopy===void 0?!1:(isSharedArrayBufferToString.working===void 0&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new SharedArrayBufferCopy)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(value):value instanceof SharedArrayBufferCopy)}exports.isSharedArrayBuffer=isSharedArrayBuffer;function isAsyncFunction(value){return ObjectToString(value)===`[object AsyncFunction]`}exports.isAsyncFunction=isAsyncFunction;function isMapIterator(value){return ObjectToString(value)===`[object Map Iterator]`}exports.isMapIterator=isMapIterator;function isSetIterator(value){return ObjectToString(value)===`[object Set Iterator]`}exports.isSetIterator=isSetIterator;function isGeneratorObject(value){return ObjectToString(value)===`[object Generator]`}exports.isGeneratorObject=isGeneratorObject;function isWebAssemblyCompiledModule(value){return ObjectToString(value)===`[object WebAssembly.Module]`}exports.isWebAssemblyCompiledModule=isWebAssemblyCompiledModule;function isNumberObject(value){return checkBoxedPrimitive(value,numberValue)}exports.isNumberObject=isNumberObject;function isStringObject(value){return checkBoxedPrimitive(value,stringValue)}exports.isStringObject=isStringObject;function isBooleanObject(value){return checkBoxedPrimitive(value,booleanValue)}exports.isBooleanObject=isBooleanObject;function isBigIntObject(value){return BigIntSupported&&checkBoxedPrimitive(value,bigIntValue)}exports.isBigIntObject=isBigIntObject;function isSymbolObject(value){return SymbolSupported&&checkBoxedPrimitive(value,symbolValue)}exports.isSymbolObject=isSymbolObject;function isBoxedPrimitive(value){return isNumberObject(value)||isStringObject(value)||isBooleanObject(value)||isBigIntObject(value)||isSymbolObject(value)}exports.isBoxedPrimitive=isBoxedPrimitive;function isAnyArrayBuffer(value){return typeof Uint8Array<`u`&&(isArrayBuffer(value)||isSharedArrayBuffer(value))}exports.isAnyArrayBuffer=isAnyArrayBuffer,[`isProxy`,`isExternal`,`isModuleNamespaceObject`].forEach(function(method){Object.defineProperty(exports,method,{enumerable:!1,value:function(){throw Error(method+` is not supported in userland`)}})})}),require_isBuffer=__commonJSMin((exports,module)=>{init_dist$1(),module.exports=function(arg){return arg instanceof Buffer$1}}),require_inherits_browser=__commonJSMin((exports,module)=>{typeof Object.create==`function`?module.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}}),require_inherits=__commonJSMin((exports,module)=>{try{var util=require_util();if(typeof util.inherits!=`function`)throw``;module.exports=util.inherits}catch{module.exports=require_inherits_browser()}}),require_util=__commonJSMin(exports=>{init_dist();var getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function(obj){for(var keys=Object.keys(obj),descriptors={},i$4=0;i$4<keys.length;i$4++)descriptors[keys[i$4]]=Object.getOwnPropertyDescriptor(obj,keys[i$4]);return descriptors},formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString$2(f)){for(var objects=[],i$4=0;i$4<arguments.length;i$4++)objects.push(inspect(arguments[i$4]));return objects.join(` `)}for(var i$4=1,args$1=arguments,len$2=args$1.length,str=String(f).replace(formatRegExp,function(x$2){if(x$2===`%%`)return`%`;if(i$4>=len$2)return x$2;switch(x$2){case`%s`:return String(args$1[i$4++]);case`%d`:return Number(args$1[i$4++]);case`%j`:try{return JSON.stringify(args$1[i$4++])}catch{return`[Circular]`}default:return x$2}}),x$1=args$1[i$4];i$4<len$2;x$1=args$1[++i$4])isNull(x$1)||!isObject(x$1)?str+=` `+x$1:str+=` `+inspect(x$1);return str},exports.deprecate=function(fn$1,msg){if(process$1!==void 0&&process$1.noDeprecation===!0)return fn$1;if(process$1===void 0)return function(){return exports.deprecate(fn$1,msg).apply(this,arguments)};var warned=!1;function deprecated(){if(!warned){if(process$1.throwDeprecation)throw Error(msg);process$1.traceDeprecation?console.trace(msg):console.error(msg),warned=!0}return fn$1.apply(this,arguments)}return deprecated};var debugs={},debugEnvRegex=/^$/;if(process$1.env.NODE_DEBUG){var debugEnv=process$1.env.NODE_DEBUG;debugEnv=debugEnv.replace(/[|\\{}()[\]^$+?.]/g,`\\$&`).replace(/\*/g,`.*`).replace(/,/g,`$|^`).toUpperCase(),debugEnvRegex=RegExp(`^`+debugEnv+`$`,`i`)}exports.debuglog=function(set){if(set=set.toUpperCase(),!debugs[set])if(debugEnvRegex.test(set)){var pid=process$1.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error(`%s %d: %s`,set,pid,msg)}}else debugs[set]=function(){};return debugs[set]};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined$2(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined$2(ctx.depth)&&(ctx.depth=2),isUndefined$2(ctx.colors)&&(ctx.colors=!1),isUndefined$2(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?`\x1B[`+inspect.colors[style][0]+`m`+str+`\x1B[`+inspect.colors[style][1]+`m`:str}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};return array.forEach(function(val,idx){hash[val]=!0}),hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);return isString$2(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=formatPrimitive(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=arrayToHash(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf(`message`)>=0||keys.indexOf(`description`)>=0))return formatError(value);if(keys.length===0){if(isFunction(value)){var name$1=value.name?`: `+value.name:``;return ctx.stylize(`[Function`+name$1+`]`,`special`)}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),`regexp`);if(isDate$2(value))return ctx.stylize(Date.prototype.toString.call(value),`date`);if(isError(value))return formatError(value)}var base=``,array=!1,braces=[`{`,`}`];if(isArray(value)&&(array=!0,braces=[`[`,`]`]),isFunction(value)){var n$2=value.name?`: `+value.name:``;base=` [Function`+n$2+`]`}if(isRegExp(value)&&(base=` `+RegExp.prototype.toString.call(value)),isDate$2(value)&&(base=` `+Date.prototype.toUTCString.call(value)),isError(value)&&(base=` `+formatError(value)),keys.length===0&&(!array||value.length==0))return braces[0]+base+braces[1];if(recurseTimes<0)return isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),`regexp`):ctx.stylize(`[Object]`,`special`);ctx.seen.push(value);var output;return output=array?formatArray(ctx,value,recurseTimes,visibleKeys,keys):keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)}),ctx.seen.pop(),reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined$2(value))return ctx.stylize(`undefined`,`undefined`);if(isString$2(value)){var simple$2=`'`+JSON.stringify(value).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return ctx.stylize(simple$2,`string`)}if(isNumber$2(value))return ctx.stylize(``+value,`number`);if(isBoolean(value))return ctx.stylize(``+value,`boolean`);if(isNull(value))return ctx.stylize(`null`,`null`)}function formatError(value){return`[`+Error.prototype.toString.call(value)+`]`}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i$4=0,l$2=value.length;i$4<l$2;++i$4)hasOwnProperty$2(value,String(i$4))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i$4),!0)):output.push(``);return keys.forEach(function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,!0))}),output}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name$1,str,desc$1;if(desc$1=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]},desc$1.get?str=desc$1.set?ctx.stylize(`[Getter/Setter]`,`special`):ctx.stylize(`[Getter]`,`special`):desc$1.set&&(str=ctx.stylize(`[Setter]`,`special`)),hasOwnProperty$2(visibleKeys,key)||(name$1=`[`+key+`]`),str||(ctx.seen.indexOf(desc$1.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc$1.value,null):formatValue(ctx,desc$1.value,recurseTimes-1),str.indexOf(`
2
+ `)>-1&&(str=array?str.split(`
3
+ `).map(function(line){return` `+line}).join(`
4
4
  `).slice(2):`
5
- `+s.split(`
6
- `).map(function(e){return` `+e}).join(`
7
- `))):s=e.stylize(`[Circular]`,`special`)),C(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function h(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf(`
8
- `)>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0);return i>60?n[0]+(t===``?``:t+`
9
- `)+` `+e.join(`,
10
- `)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}exports.types=Bn();function g(e){return Array.isArray(e)}exports.isArray=g;function _(e){return typeof e==`boolean`}exports.isBoolean=_;function v(e){return e===null}exports.isNull=v;function y(e){return e==null}exports.isNullOrUndefined=y;function b(e){return typeof e==`number`}exports.isNumber=b;function x(e){return typeof e==`string`}exports.isString=x;function S(e){return typeof e==`symbol`}exports.isSymbol=S;function C(e){return e===void 0}exports.isUndefined=C;function w(e){return T(e)&&k(e)===`[object RegExp]`}exports.isRegExp=w,exports.types.isRegExp=w;function T(e){return typeof e==`object`&&!!e}exports.isObject=T;function E(e){return T(e)&&k(e)===`[object Date]`}exports.isDate=E,exports.types.isDate=E;function ee(e){return T(e)&&(k(e)===`[object Error]`||e instanceof Error)}exports.isError=ee,exports.types.isNativeError=ee;function D(e){return typeof e==`function`}exports.isFunction=D;function O(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0}exports.isPrimitive=O,exports.isBuffer=Vn();function k(e){return Object.prototype.toString.call(e)}function A(e){return e<10?`0`+e.toString(10):e.toString(10)}var j=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function M(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(`:`);return[e.getDate(),j[e.getMonth()],t].join(` `)}exports.log=function(){console.log(`%s - %s`,M(),exports.format.apply(exports,arguments))},exports.inherits=Un(),exports._extend=function(e,t){if(!t||!T(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var te=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;exports.promisify=function(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(te&&e[te]){var n=e[te];if(typeof n!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(n,te,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),te&&Object.defineProperty(n,te,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,t(e))},exports.promisify.custom=te;function ne(e,t){if(!e){var n=Error(`Promise was rejected with a falsy value`);n.reason=e,e=n}return t(e)}function re(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);function n(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if(typeof r!=`function`)throw TypeError(`The last argument must be of type Function`);var i=this,a=function(){return r.apply(i,arguments)};e.apply(this,t).then(function(e){Bt.nextTick(a.bind(null,null,e))},function(e){Bt.nextTick(ne.bind(null,e,a))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,t(e)),n}exports.callbackify=re}),Gn=s(exports=>{let t=Wn(),n=xt(),r=bt(),i={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(t.TextEncoder||TextEncoder)};exports.analyze=function(e,t){return i.email(e,t)},exports.isValid=function(e,t){return!i.email(e,t)},i.email=function(e,t={}){if(typeof e!=`string`)throw Error(`Invalid input: email must be a string`);if(!e)return r.code(`EMPTY_STRING`);let a=!i.nonAsciiRx.test(e);if(!a){if(t.allowUnicode===!1)return r.code(`FORBIDDEN_UNICODE`);e=e.normalize(`NFC`)}let o=e.split(`@`);if(o.length!==2)return o.length>2?r.code(`MULTIPLE_AT_CHAR`):r.code(`MISSING_AT_CHAR`);let[s,c]=o;if(!s)return r.code(`EMPTY_LOCAL`);if(!t.ignoreLength){if(e.length>254)return r.code(`ADDRESS_TOO_LONG`);if(i.encoder.encode(s).length>64)return r.code(`LOCAL_TOO_LONG`)}return i.local(s,a)||n.analyze(c,t)},i.local=function(e,t){let n=e.split(`.`);for(let e of n){if(!e.length)return r.code(`EMPTY_LOCAL_SEGMENT`);if(t){if(!i.atextRx.test(e))return r.code(`INVALID_LOCAL_CHARS`);continue}for(let t of e){if(i.atextRx.test(t))continue;let e=i.binary(t);if(!i.atomRx.test(e))return r.code(`INVALID_LOCAL_CHARS`)}}},i.binary=function(e){return Array.from(i.encoder.encode(e)).map(e=>String.fromCharCode(e)).join(``)},i.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,i.atomRx=new RegExp([`(?:[\\xc2-\\xdf][\\x80-\\xbf])`,`(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})`,`(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})`].join(`|`))}),Kn=s((exports,t)=>{t.exports=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,`\\$&`)}}),qn=s(exports=>{let t=I(),n=Kn(),r={};r.generate=function(){let e={},t=`\\dA-Fa-f`,n=`[`+t+`]`,r=`\\w-\\.~`,i=`!\\$&'\\(\\)\\*\\+,;=`,a=`%`+t,o=r+a+i+`:@`,s=`[`+o+`]`,c=`(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;e.ipv4address=`(?:`+c+`\\.){3}(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;let l=n+`{1,4}`,u=`(?:`+l+`:[\\dA-Fa-f]{1,4}|`+e.ipv4address+`)`,d=`(?:`+l+`:){6}`+u,f=`::(?:`+l+`:){5}`+u,p=`(?:`+l+`)?::(?:[\\dA-Fa-f]{1,4}:){4}`+u,m=`(?:(?:`+l+`:){0,1}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){3}`+u,h=`(?:(?:`+l+`:){0,2}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){2}`+u,g=`(?:(?:`+l+`:){0,3}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}:`+u,_=`(?:(?:`+l+`:){0,4}[\\dA-Fa-f]{1,4})?::`+u,v=`(?:(?:`+l+`:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}`,y=`(?:(?:`+l+`:){0,6}[\\dA-Fa-f]{1,4})?::`;e.ipv4Cidr=`(?:\\d|[1-2]\\d|3[0-2])`,e.ipv6Cidr=`(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])`,e.ipv6address=`(?:`+d+`|`+f+`|`+p+`|`+m+`|`+h+`|`+g+`|`+_+`|(?:(?:[\\dA-Fa-f]{1,4}:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}|(?:(?:[\\dA-Fa-f]{1,4}:){0,6}[\\dA-Fa-f]{1,4})?::)`,e.ipvFuture=`v`+n+`+\\.[\\w-\\.~!\\$&'\\(\\)\\*\\+,;=:]+`,e.scheme=`[a-zA-Z][a-zA-Z\\d+-\\.]*`,e.schemeRegex=new RegExp(e.scheme);let b=`[`+r+a+i+`:]*`,x=`\\[(?:`+e.ipv6address+`|`+e.ipvFuture+`)\\]`,S=`[`+r+a+i+`]{1,255}`,C=`(?:`+x+`|`+e.ipv4address+`|[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=]{1,255})`,w=`\\d*`,T=`(?:`+b+`@)?`+C+`(?::\\d*)?`,E=`(?:`+b+`@)?(`+C+`)(?::\\d*)?`,ee=s+`*`,D=s+`+`,O=`[`+r+a+i+`@]+`,k=``,A=`(?:\\/`+ee+`)*`,j=`\\/(?:`+D+A+`)?`,M=D+A,N=O+A,te=`(?:\\/\\/\\/`+ee+A+`)`;return e.hierPart=`(?:(?:\\/\\/`+T+A+`)|`+j+`|`+M+`|`+te+`)`,e.hierPartCapture=`(?:(?:\\/\\/`+E+A+`)|`+j+`|`+M+`)`,e.relativeRef=`(?:(?:\\/\\/`+T+A+`)|`+j+`|`+N+`|)`,e.relativeRefCapture=`(?:(?:\\/\\/`+E+A+`)|`+j+`|`+N+`|)`,e.query=`[`+o+`\\/\\?]*(?=#|$)`,e.queryWithSquareBrackets=`[`+o+`\\[\\]\\/\\?]*(?=#|$)`,e.fragment=`[`+o+`\\/\\?]*`,e},r.rfc3986=r.generate(),exports.ip={v4Cidr:r.rfc3986.ipv4Cidr,v6Cidr:r.rfc3986.ipv6Cidr,ipv4:r.rfc3986.ipv4address,ipv6:r.rfc3986.ipv6address,ipvfuture:r.rfc3986.ipvFuture},r.createRegex=function(e){let i=r.rfc3986,a=e.allowQuerySquareBrackets?i.queryWithSquareBrackets:i.query,o=`(?:\\?`+a+`)?(?:#`+i.fragment+`)?`,s=e.domain?i.relativeRefCapture:i.relativeRef;if(e.relativeOnly)return r.wrap(s+o);let c=``;if(e.scheme){t(e.scheme instanceof RegExp||typeof e.scheme==`string`||Array.isArray(e.scheme),`scheme must be a RegExp, String, or Array`);let r=[].concat(e.scheme);t(r.length>=1,`scheme must have at least 1 scheme specified`);let a=[];for(let e=0;e<r.length;++e){let o=r[e];t(o instanceof RegExp||typeof o==`string`,`scheme at position `+e+` must be a RegExp or String`),o instanceof RegExp?a.push(o.source.toString()):(t(i.schemeRegex.test(o),`scheme at position `+e+` must be a valid scheme`),a.push(n(o)))}c=a.join(`|`)}let l=c?`(?:`+c+`)`:i.scheme,u=`(?:`+l+`:`+(e.domain?i.hierPartCapture:i.hierPart)+`)`,d=e.allowRelative?`(?:`+u+`|`+s+`)`:u;return r.wrap(d+o,c)},r.wrap=function(e,t){return e=`(?=.)(?!https?\:/(?:$|[^/]))(?!https?\:///)(?!https?\:[^/])${e}`,{raw:e,regex:RegExp(`^${e}$`),scheme:t}},r.uriRegex=r.createRegex({}),exports.regex=function(e={}){return e.scheme||e.allowRelative||e.relativeOnly||e.allowQuerySquareBrackets||e.domain?r.createRegex(e):r.uriRegex}}),Jn=s(exports=>{let t=I(),n=qn();exports.regex=function(e={}){t(e.cidr===void 0||typeof e.cidr==`string`,`options.cidr must be a string`);let r=e.cidr?e.cidr.toLowerCase():`optional`;t([`required`,`optional`,`forbidden`].includes(r),`options.cidr must be one of required, optional, forbidden`),t(e.version===void 0||typeof e.version==`string`||Array.isArray(e.version),`options.version must be a string or an array of string`);let i=e.version||[`ipv4`,`ipv6`,`ipvfuture`];Array.isArray(i)||(i=[i]),t(i.length>=1,`options.version must have at least 1 version specified`);for(let e=0;e<i.length;++e)t(typeof i[e]==`string`,`options.version must only contain strings`),i[e]=i[e].toLowerCase(),t([`ipv4`,`ipv6`,`ipvfuture`].includes(i[e]),`options.version contains unknown version `+i[e]+` - must be one of ipv4, ipv6, ipvfuture`);i=Array.from(new Set(i));let a=i.map(e=>{if(r===`forbidden`)return n.ip[e];let t=`\\/${e===`ipv4`?n.ip.v4Cidr:n.ip.v6Cidr}`;return r===`required`?`${n.ip[e]}${t}`:`${n.ip[e]}(?:${t})?`}),o=`(?:${a.join(`|`)})`,s=RegExp(`^${o}$`);return{cidr:r,versions:i,regex:s,raw:o}}}),Yn=s((exports,t)=>{let n={};n.tlds=`AAA.AARP.ABB.ABBOTT.ABBVIE.ABC.ABLE.ABOGADO.ABUDHABI.AC.ACADEMY.ACCENTURE.ACCOUNTANT.ACCOUNTANTS.ACO.ACTOR.AD.ADS.ADULT.AE.AEG.AERO.AETNA.AF.AFL.AFRICA.AG.AGAKHAN.AGENCY.AI.AIG.AIRBUS.AIRFORCE.AIRTEL.AKDN.AL.ALIBABA.ALIPAY.ALLFINANZ.ALLSTATE.ALLY.ALSACE.ALSTOM.AM.AMAZON.AMERICANEXPRESS.AMERICANFAMILY.AMEX.AMFAM.AMICA.AMSTERDAM.ANALYTICS.ANDROID.ANQUAN.ANZ.AO.AOL.APARTMENTS.APP.APPLE.AQ.AQUARELLE.AR.ARAB.ARAMCO.ARCHI.ARMY.ARPA.ART.ARTE.AS.ASDA.ASIA.ASSOCIATES.AT.ATHLETA.ATTORNEY.AU.AUCTION.AUDI.AUDIBLE.AUDIO.AUSPOST.AUTHOR.AUTO.AUTOS.AVIANCA.AW.AWS.AX.AXA.AZ.AZURE.BA.BABY.BAIDU.BANAMEX.BAND.BANK.BAR.BARCELONA.BARCLAYCARD.BARCLAYS.BAREFOOT.BARGAINS.BASEBALL.BASKETBALL.BAUHAUS.BAYERN.BB.BBC.BBT.BBVA.BCG.BCN.BD.BE.BEATS.BEAUTY.BEER.BENTLEY.BERLIN.BEST.BESTBUY.BET.BF.BG.BH.BHARTI.BI.BIBLE.BID.BIKE.BING.BINGO.BIO.BIZ.BJ.BLACK.BLACKFRIDAY.BLOCKBUSTER.BLOG.BLOOMBERG.BLUE.BM.BMS.BMW.BN.BNPPARIBAS.BO.BOATS.BOEHRINGER.BOFA.BOM.BOND.BOO.BOOK.BOOKING.BOSCH.BOSTIK.BOSTON.BOT.BOUTIQUE.BOX.BR.BRADESCO.BRIDGESTONE.BROADWAY.BROKER.BROTHER.BRUSSELS.BS.BT.BUILD.BUILDERS.BUSINESS.BUY.BUZZ.BV.BW.BY.BZ.BZH.CA.CAB.CAFE.CAL.CALL.CALVINKLEIN.CAM.CAMERA.CAMP.CANON.CAPETOWN.CAPITAL.CAPITALONE.CAR.CARAVAN.CARDS.CARE.CAREER.CAREERS.CARS.CASA.CASE.CASH.CASINO.CAT.CATERING.CATHOLIC.CBA.CBN.CBRE.CC.CD.CENTER.CEO.CERN.CF.CFA.CFD.CG.CH.CHANEL.CHANNEL.CHARITY.CHASE.CHAT.CHEAP.CHINTAI.CHRISTMAS.CHROME.CHURCH.CI.CIPRIANI.CIRCLE.CISCO.CITADEL.CITI.CITIC.CITY.CK.CL.CLAIMS.CLEANING.CLICK.CLINIC.CLINIQUE.CLOTHING.CLOUD.CLUB.CLUBMED.CM.CN.CO.COACH.CODES.COFFEE.COLLEGE.COLOGNE.COM.COMCAST.COMMBANK.COMMUNITY.COMPANY.COMPARE.COMPUTER.COMSEC.CONDOS.CONSTRUCTION.CONSULTING.CONTACT.CONTRACTORS.COOKING.COOL.COOP.CORSICA.COUNTRY.COUPON.COUPONS.COURSES.CPA.CR.CREDIT.CREDITCARD.CREDITUNION.CRICKET.CROWN.CRS.CRUISE.CRUISES.CU.CUISINELLA.CV.CW.CX.CY.CYMRU.CYOU.CZ.DABUR.DAD.DANCE.DATA.DATE.DATING.DATSUN.DAY.DCLK.DDS.DE.DEAL.DEALER.DEALS.DEGREE.DELIVERY.DELL.DELOITTE.DELTA.DEMOCRAT.DENTAL.DENTIST.DESI.DESIGN.DEV.DHL.DIAMONDS.DIET.DIGITAL.DIRECT.DIRECTORY.DISCOUNT.DISCOVER.DISH.DIY.DJ.DK.DM.DNP.DO.DOCS.DOCTOR.DOG.DOMAINS.DOT.DOWNLOAD.DRIVE.DTV.DUBAI.DUNLOP.DUPONT.DURBAN.DVAG.DVR.DZ.EARTH.EAT.EC.ECO.EDEKA.EDU.EDUCATION.EE.EG.EMAIL.EMERCK.ENERGY.ENGINEER.ENGINEERING.ENTERPRISES.EPSON.EQUIPMENT.ER.ERICSSON.ERNI.ES.ESQ.ESTATE.ET.EU.EUROVISION.EUS.EVENTS.EXCHANGE.EXPERT.EXPOSED.EXPRESS.EXTRASPACE.FAGE.FAIL.FAIRWINDS.FAITH.FAMILY.FAN.FANS.FARM.FARMERS.FASHION.FAST.FEDEX.FEEDBACK.FERRARI.FERRERO.FI.FIDELITY.FIDO.FILM.FINAL.FINANCE.FINANCIAL.FIRE.FIRESTONE.FIRMDALE.FISH.FISHING.FIT.FITNESS.FJ.FK.FLICKR.FLIGHTS.FLIR.FLORIST.FLOWERS.FLY.FM.FO.FOO.FOOD.FOOTBALL.FORD.FOREX.FORSALE.FORUM.FOUNDATION.FOX.FR.FREE.FRESENIUS.FRL.FROGANS.FRONTIER.FTR.FUJITSU.FUN.FUND.FURNITURE.FUTBOL.FYI.GA.GAL.GALLERY.GALLO.GALLUP.GAME.GAMES.GAP.GARDEN.GAY.GB.GBIZ.GD.GDN.GE.GEA.GENT.GENTING.GEORGE.GF.GG.GGEE.GH.GI.GIFT.GIFTS.GIVES.GIVING.GL.GLASS.GLE.GLOBAL.GLOBO.GM.GMAIL.GMBH.GMO.GMX.GN.GODADDY.GOLD.GOLDPOINT.GOLF.GOO.GOODYEAR.GOOG.GOOGLE.GOP.GOT.GOV.GP.GQ.GR.GRAINGER.GRAPHICS.GRATIS.GREEN.GRIPE.GROCERY.GROUP.GS.GT.GU.GUARDIAN.GUCCI.GUGE.GUIDE.GUITARS.GURU.GW.GY.HAIR.HAMBURG.HANGOUT.HAUS.HBO.HDFC.HDFCBANK.HEALTH.HEALTHCARE.HELP.HELSINKI.HERE.HERMES.HIPHOP.HISAMITSU.HITACHI.HIV.HK.HKT.HM.HN.HOCKEY.HOLDINGS.HOLIDAY.HOMEDEPOT.HOMEGOODS.HOMES.HOMESENSE.HONDA.HORSE.HOSPITAL.HOST.HOSTING.HOT.HOTELS.HOTMAIL.HOUSE.HOW.HR.HSBC.HT.HU.HUGHES.HYATT.HYUNDAI.IBM.ICBC.ICE.ICU.ID.IE.IEEE.IFM.IKANO.IL.IM.IMAMAT.IMDB.IMMO.IMMOBILIEN.IN.INC.INDUSTRIES.INFINITI.INFO.ING.INK.INSTITUTE.INSURANCE.INSURE.INT.INTERNATIONAL.INTUIT.INVESTMENTS.IO.IPIRANGA.IQ.IR.IRISH.IS.ISMAILI.IST.ISTANBUL.IT.ITAU.ITV.JAGUAR.JAVA.JCB.JE.JEEP.JETZT.JEWELRY.JIO.JLL.JM.JMP.JNJ.JO.JOBS.JOBURG.JOT.JOY.JP.JPMORGAN.JPRS.JUEGOS.JUNIPER.KAUFEN.KDDI.KE.KERRYHOTELS.KERRYLOGISTICS.KERRYPROPERTIES.KFH.KG.KH.KI.KIA.KIDS.KIM.KINDLE.KITCHEN.KIWI.KM.KN.KOELN.KOMATSU.KOSHER.KP.KPMG.KPN.KR.KRD.KRED.KUOKGROUP.KW.KY.KYOTO.KZ.LA.LACAIXA.LAMBORGHINI.LAMER.LANCASTER.LAND.LANDROVER.LANXESS.LASALLE.LAT.LATINO.LATROBE.LAW.LAWYER.LB.LC.LDS.LEASE.LECLERC.LEFRAK.LEGAL.LEGO.LEXUS.LGBT.LI.LIDL.LIFE.LIFEINSURANCE.LIFESTYLE.LIGHTING.LIKE.LILLY.LIMITED.LIMO.LINCOLN.LINK.LIPSY.LIVE.LIVING.LK.LLC.LLP.LOAN.LOANS.LOCKER.LOCUS.LOL.LONDON.LOTTE.LOTTO.LOVE.LPL.LPLFINANCIAL.LR.LS.LT.LTD.LTDA.LU.LUNDBECK.LUXE.LUXURY.LV.LY.MA.MADRID.MAIF.MAISON.MAKEUP.MAN.MANAGEMENT.MANGO.MAP.MARKET.MARKETING.MARKETS.MARRIOTT.MARSHALLS.MATTEL.MBA.MC.MCKINSEY.MD.ME.MED.MEDIA.MEET.MELBOURNE.MEME.MEMORIAL.MEN.MENU.MERCKMSD.MG.MH.MIAMI.MICROSOFT.MIL.MINI.MINT.MIT.MITSUBISHI.MK.ML.MLB.MLS.MM.MMA.MN.MO.MOBI.MOBILE.MODA.MOE.MOI.MOM.MONASH.MONEY.MONSTER.MORMON.MORTGAGE.MOSCOW.MOTO.MOTORCYCLES.MOV.MOVIE.MP.MQ.MR.MS.MSD.MT.MTN.MTR.MU.MUSEUM.MUSIC.MV.MW.MX.MY.MZ.NA.NAB.NAGOYA.NAME.NATURA.NAVY.NBA.NC.NE.NEC.NET.NETBANK.NETFLIX.NETWORK.NEUSTAR.NEW.NEWS.NEXT.NEXTDIRECT.NEXUS.NF.NFL.NG.NGO.NHK.NI.NICO.NIKE.NIKON.NINJA.NISSAN.NISSAY.NL.NO.NOKIA.NORTON.NOW.NOWRUZ.NOWTV.NP.NR.NRA.NRW.NTT.NU.NYC.NZ.OBI.OBSERVER.OFFICE.OKINAWA.OLAYAN.OLAYANGROUP.OLLO.OM.OMEGA.ONE.ONG.ONL.ONLINE.OOO.OPEN.ORACLE.ORANGE.ORG.ORGANIC.ORIGINS.OSAKA.OTSUKA.OTT.OVH.PA.PAGE.PANASONIC.PARIS.PARS.PARTNERS.PARTS.PARTY.PAY.PCCW.PE.PET.PF.PFIZER.PG.PH.PHARMACY.PHD.PHILIPS.PHONE.PHOTO.PHOTOGRAPHY.PHOTOS.PHYSIO.PICS.PICTET.PICTURES.PID.PIN.PING.PINK.PIONEER.PIZZA.PK.PL.PLACE.PLAY.PLAYSTATION.PLUMBING.PLUS.PM.PN.PNC.POHL.POKER.POLITIE.PORN.POST.PR.PRAMERICA.PRAXI.PRESS.PRIME.PRO.PROD.PRODUCTIONS.PROF.PROGRESSIVE.PROMO.PROPERTIES.PROPERTY.PROTECTION.PRU.PRUDENTIAL.PS.PT.PUB.PW.PWC.PY.QA.QPON.QUEBEC.QUEST.RACING.RADIO.RE.READ.REALESTATE.REALTOR.REALTY.RECIPES.RED.REDSTONE.REDUMBRELLA.REHAB.REISE.REISEN.REIT.RELIANCE.REN.RENT.RENTALS.REPAIR.REPORT.REPUBLICAN.REST.RESTAURANT.REVIEW.REVIEWS.REXROTH.RICH.RICHARDLI.RICOH.RIL.RIO.RIP.RO.ROCKS.RODEO.ROGERS.ROOM.RS.RSVP.RU.RUGBY.RUHR.RUN.RW.RWE.RYUKYU.SA.SAARLAND.SAFE.SAFETY.SAKURA.SALE.SALON.SAMSCLUB.SAMSUNG.SANDVIK.SANDVIKCOROMANT.SANOFI.SAP.SARL.SAS.SAVE.SAXO.SB.SBI.SBS.SC.SCB.SCHAEFFLER.SCHMIDT.SCHOLARSHIPS.SCHOOL.SCHULE.SCHWARZ.SCIENCE.SCOT.SD.SE.SEARCH.SEAT.SECURE.SECURITY.SEEK.SELECT.SENER.SERVICES.SEVEN.SEW.SEX.SEXY.SFR.SG.SH.SHANGRILA.SHARP.SHAW.SHELL.SHIA.SHIKSHA.SHOES.SHOP.SHOPPING.SHOUJI.SHOW.SI.SILK.SINA.SINGLES.SITE.SJ.SK.SKI.SKIN.SKY.SKYPE.SL.SLING.SM.SMART.SMILE.SN.SNCF.SO.SOCCER.SOCIAL.SOFTBANK.SOFTWARE.SOHU.SOLAR.SOLUTIONS.SONG.SONY.SOY.SPA.SPACE.SPORT.SPOT.SR.SRL.SS.ST.STADA.STAPLES.STAR.STATEBANK.STATEFARM.STC.STCGROUP.STOCKHOLM.STORAGE.STORE.STREAM.STUDIO.STUDY.STYLE.SU.SUCKS.SUPPLIES.SUPPLY.SUPPORT.SURF.SURGERY.SUZUKI.SV.SWATCH.SWISS.SX.SY.SYDNEY.SYSTEMS.SZ.TAB.TAIPEI.TALK.TAOBAO.TARGET.TATAMOTORS.TATAR.TATTOO.TAX.TAXI.TC.TCI.TD.TDK.TEAM.TECH.TECHNOLOGY.TEL.TEMASEK.TENNIS.TEVA.TF.TG.TH.THD.THEATER.THEATRE.TIAA.TICKETS.TIENDA.TIPS.TIRES.TIROL.TJ.TJMAXX.TJX.TK.TKMAXX.TL.TM.TMALL.TN.TO.TODAY.TOKYO.TOOLS.TOP.TORAY.TOSHIBA.TOTAL.TOURS.TOWN.TOYOTA.TOYS.TR.TRADE.TRADING.TRAINING.TRAVEL.TRAVELERS.TRAVELERSINSURANCE.TRUST.TRV.TT.TUBE.TUI.TUNES.TUSHU.TV.TVS.TW.TZ.UA.UBANK.UBS.UG.UK.UNICOM.UNIVERSITY.UNO.UOL.UPS.US.UY.UZ.VA.VACATIONS.VANA.VANGUARD.VC.VE.VEGAS.VENTURES.VERISIGN.VERSICHERUNG.VET.VG.VI.VIAJES.VIDEO.VIG.VIKING.VILLAS.VIN.VIP.VIRGIN.VISA.VISION.VIVA.VIVO.VLAANDEREN.VN.VODKA.VOLVO.VOTE.VOTING.VOTO.VOYAGE.VU.WALES.WALMART.WALTER.WANG.WANGGOU.WATCH.WATCHES.WEATHER.WEATHERCHANNEL.WEBCAM.WEBER.WEBSITE.WED.WEDDING.WEIBO.WEIR.WF.WHOSWHO.WIEN.WIKI.WILLIAMHILL.WIN.WINDOWS.WINE.WINNERS.WME.WOLTERSKLUWER.WOODSIDE.WORK.WORKS.WORLD.WOW.WS.WTC.WTF.XBOX.XEROX.XFINITY.XIHUAN.XIN.XN--11B4C3D.XN--1CK2E1B.XN--1QQW23A.XN--2SCRJ9C.XN--30RR7Y.XN--3BST00M.XN--3DS443G.XN--3E0B707E.XN--3HCRJ9C.XN--3PXU8K.XN--42C2D9A.XN--45BR5CYL.XN--45BRJ9C.XN--45Q11C.XN--4DBRK0CE.XN--4GBRIM.XN--54B7FTA0CC.XN--55QW42G.XN--55QX5D.XN--5SU34J936BGSG.XN--5TZM5G.XN--6FRZ82G.XN--6QQ986B3XL.XN--80ADXHKS.XN--80AO21A.XN--80AQECDR1A.XN--80ASEHDB.XN--80ASWG.XN--8Y0A063A.XN--90A3AC.XN--90AE.XN--90AIS.XN--9DBQ2A.XN--9ET52U.XN--9KRT00A.XN--B4W605FERD.XN--BCK1B9A5DRE4C.XN--C1AVG.XN--C2BR7G.XN--CCK2B3B.XN--CCKWCXETD.XN--CG4BKI.XN--CLCHC0EA0B2G2A9GCD.XN--CZR694B.XN--CZRS0T.XN--CZRU2D.XN--D1ACJ3B.XN--D1ALF.XN--E1A4C.XN--ECKVDTC9D.XN--EFVY88H.XN--FCT429K.XN--FHBEI.XN--FIQ228C5HS.XN--FIQ64B.XN--FIQS8S.XN--FIQZ9S.XN--FJQ720A.XN--FLW351E.XN--FPCRJ9C3D.XN--FZC2C9E2C.XN--FZYS8D69UVGM.XN--G2XX48C.XN--GCKR3F0F.XN--GECRJ9C.XN--GK3AT1E.XN--H2BREG3EVE.XN--H2BRJ9C.XN--H2BRJ9C8C.XN--HXT814E.XN--I1B6B1A6A2E.XN--IMR513N.XN--IO0A7I.XN--J1AEF.XN--J1AMH.XN--J6W193G.XN--JLQ480N2RG.XN--JVR189M.XN--KCRX77D1X4A.XN--KPRW13D.XN--KPRY57D.XN--KPUT3I.XN--L1ACC.XN--LGBBAT1AD8J.XN--MGB9AWBF.XN--MGBA3A3EJT.XN--MGBA3A4F16A.XN--MGBA7C0BBN0A.XN--MGBAAM7A8H.XN--MGBAB2BD.XN--MGBAH1A3HJKRD.XN--MGBAI9AZGQP6J.XN--MGBAYH7GPA.XN--MGBBH1A.XN--MGBBH1A71E.XN--MGBC0A9AZCG.XN--MGBCA7DZDO.XN--MGBCPQ6GPA1A.XN--MGBERP4A5D4AR.XN--MGBGU82A.XN--MGBI4ECEXP.XN--MGBPL2FH.XN--MGBT3DHD.XN--MGBTX2B.XN--MGBX4CD0AB.XN--MIX891F.XN--MK1BU44C.XN--MXTQ1M.XN--NGBC5AZD.XN--NGBE9E0A.XN--NGBRX.XN--NODE.XN--NQV7F.XN--NQV7FS00EMA.XN--NYQY26A.XN--O3CW4H.XN--OGBPF8FL.XN--OTU796D.XN--P1ACF.XN--P1AI.XN--PGBS0DH.XN--PSSY2U.XN--Q7CE6A.XN--Q9JYB4C.XN--QCKA1PMC.XN--QXA6A.XN--QXAM.XN--RHQV96G.XN--ROVU88B.XN--RVC1E0AM3E.XN--S9BRJ9C.XN--SES554G.XN--T60B56A.XN--TCKWE.XN--TIQ49XQYJ.XN--UNUP4Y.XN--VERMGENSBERATER-CTB.XN--VERMGENSBERATUNG-PWB.XN--VHQUV.XN--VUQ861B.XN--W4R85EL8FHU5DNRA.XN--W4RS40L.XN--WGBH1C.XN--WGBL6A.XN--XHQ521B.XN--XKC2AL3HYE2A.XN--XKC2DL3A5EE0H.XN--Y9A3AQ.XN--YFRO4I67O.XN--YGBI2AMMX.XN--ZFR164B.XXX.XYZ.YACHTS.YAHOO.YAMAXUN.YANDEX.YE.YODOBASHI.YOGA.YOKOHAMA.YOU.YOUTUBE.YT.YUN.ZA.ZAPPOS.ZARA.ZERO.ZIP.ZM.ZONE.ZUERICH.ZW`.split(`.`),t.exports=new Set(n.tlds.map(e=>e.toLowerCase()))}),Xn=s((exports,t)=>{ce();let n=I(),r=xt(),i=Gn(),a=Jn(),o=Kn(),s=Yn(),c=qn(),l=et(),u=ze(),d={tlds:s instanceof Set?{tlds:{allow:s,deny:null}}:!1,base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:a.regex({cidr:`forbidden`}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":`}`,"[":`]`,"(":`)`,"":``},guidVersions:{uuidv1:`1`,uuidv2:`2`,uuidv3:`3`,uuidv4:`4`,uuidv5:`5`,uuidv6:`6`,uuidv7:`7`,uuidv8:`8`},guidSeparators:new Set([void 0,!0,!1,`-`,`:`]),normalizationForms:[`NFC`,`NFD`,`NFKC`,`NFKD`]};t.exports=l.extend({type:`string`,flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:`string`,method(e,{schema:t,state:n,prefs:r}){let i=t.$_getRule(`normalize`);i&&(e=e.normalize(i.args.form));let a=t.$_getRule(`case`);a&&(e=a.args.direction===`upper`?e.toLocaleUpperCase():e.toLocaleLowerCase());let o=t.$_getRule(`trim`);if(o&&o.args.enabled&&(e=e.trim()),t.$_terms.replacements)for(let n of t.$_terms.replacements)e=e.replace(n.pattern,n.replacement);let s=t.$_getRule(`hex`);if(s&&s.args.options.byteAligned&&e.length%2!=0&&(e=`0${e}`),t.$_getRule(`isoDate`)){let t=d.isoDate(e);t&&(e=t)}if(t._flags.truncate){let i=t.$_getRule(`max`);if(i){let a=i.args.limit;if(u.isResolvable(a)&&(a=a.resolve(e,n,r),!u.limit(a)))return{value:e,errors:t.$_createError(`any.ref`,a,{ref:i.args.limit,arg:`limit`,reason:`must be a positive integer`},n,r)};e=e.slice(0,a)}}return{value:e}}},validate(e,{schema:t,error:n}){if(typeof e!=`string`)return{value:e,errors:n(`string.base`)};if(e===``){let r=t.$_getRule(`min`);return r&&r.args.limit===0?void 0:{value:e,errors:n(`string.empty`)}}},rules:{alphanum:{method(){return this.$_addRule(`alphanum`)},validate(e,t){return/^[a-zA-Z0-9]+$/.test(e)?e:t.error(`string.alphanum`)}},base64:{method(e={}){return u.assertOptions(e,[`paddingRequired`,`urlSafe`]),e={urlSafe:!1,paddingRequired:!0,...e},n(typeof e.paddingRequired==`boolean`,`paddingRequired must be boolean`),n(typeof e.urlSafe==`boolean`,`urlSafe must be boolean`),this.$_addRule({name:`base64`,args:{options:e}})},validate(e,t,{options:n}){let r=d.base64Regex[n.paddingRequired][n.urlSafe];return r.test(e)?e:t.error(`string.base64`)}},case:{method(e){return n([`lower`,`upper`].includes(e),`Invalid case:`,e),this.$_addRule({name:`case`,args:{direction:e}})},validate(e,t,{direction:n}){return n===`lower`&&e===e.toLocaleLowerCase()||n===`upper`&&e===e.toLocaleUpperCase()?e:t.error(`string.${n}case`)},convert:!0},creditCard:{method(){return this.$_addRule(`creditCard`)},validate(e,t){let n=e.length,r=0,i=1;for(;n--;){let t=e.charAt(n)*i;r+=t-(t>9)*9,i^=3}return r>0&&r%10==0?e:t.error(`string.creditCard`)}},dataUri:{method(e={}){return u.assertOptions(e,[`paddingRequired`]),e={paddingRequired:!0,...e},n(typeof e.paddingRequired==`boolean`,`paddingRequired must be boolean`),this.$_addRule({name:`dataUri`,args:{options:e}})},validate(e,t,{options:n}){let r=e.match(d.dataUriRegex);if(r){if(!r[2]||r[2]!==`base64`)return e;let t=d.base64Regex[n.paddingRequired].false;if(t.test(r[3]))return e}return t.error(`string.dataUri`)}},domain:{method(e){e&&u.assertOptions(e,[`allowFullyQualified`,`allowUnicode`,`maxDomainSegments`,`minDomainSegments`,`tlds`]);let t=d.addressOptions(e);return this.$_addRule({name:`domain`,args:{options:e},address:t})},validate(e,t,n,{address:i}){return r.isValid(e,i)?e:t.error(`string.domain`)}},email:{method(e={}){u.assertOptions(e,[`allowFullyQualified`,`allowUnicode`,`ignoreLength`,`maxDomainSegments`,`minDomainSegments`,`multiple`,`separator`,`tlds`]),n(e.multiple===void 0||typeof e.multiple==`boolean`,`multiple option must be an boolean`);let t=d.addressOptions(e),r=RegExp(`\\s*[${e.separator?o(e.separator):`,`}]\\s*`);return this.$_addRule({name:`email`,args:{options:e},regex:r,address:t})},validate(e,t,{options:n},{regex:r,address:a}){let o=n.multiple?e.split(r):[e],s=[];for(let e of o)i.isValid(e,a)||s.push(e);return s.length?t.error(`string.email`,{value:e,invalids:s}):e}},guid:{alias:`uuid`,method(e={}){u.assertOptions(e,[`version`,`separator`]);let t=``;if(e.version){let r=[].concat(e.version);n(r.length>=1,`version must have at least 1 valid version specified`);let i=new Set;for(let e=0;e<r.length;++e){let a=r[e];n(typeof a==`string`,`version at position `+e+` must be a string`);let o=d.guidVersions[a.toLowerCase()];n(o,`version at position `+e+` must be one of `+Object.keys(d.guidVersions).join(`, `)),n(!i.has(o),`version at position `+e+` must not be a duplicate`),t+=o,i.add(o)}}n(d.guidSeparators.has(e.separator),`separator must be one of true, false, "-", or ":"`);let r=e.separator===void 0?`[:-]?`:e.separator===!0?`[:-]`:e.separator===!1?`[]?`:`\\${e.separator}`,i=RegExp(`^([\\[{\\(]?)[0-9A-F]{8}(${r})[0-9A-F]{4}\\2?[${t||`0-9A-F`}][0-9A-F]{3}\\2?[${t?`89AB`:`0-9A-F`}][0-9A-F]{3}\\2?[0-9A-F]{12}([\\]}\\)]?)$`,`i`);return this.$_addRule({name:`guid`,args:{options:e},regex:i})},validate(e,t,n,{regex:r}){let i=r.exec(e);return!i||d.guidBrackets[i[1]]!==i[i.length-1]?t.error(`string.guid`):e}},hex:{method(e={}){return u.assertOptions(e,[`byteAligned`,`prefix`]),e={byteAligned:!1,prefix:!1,...e},n(typeof e.byteAligned==`boolean`,`byteAligned must be boolean`),n(typeof e.prefix==`boolean`||e.prefix===`optional`,`prefix must be boolean or "optional"`),this.$_addRule({name:`hex`,args:{options:e}})},validate(e,t,{options:n}){let r=n.prefix===`optional`?d.hexRegex.withOptionalPrefix:n.prefix===!0?d.hexRegex.withPrefix:d.hexRegex.withoutPrefix;return r.test(e)?n.byteAligned&&e.length%2!=0?t.error(`string.hexAlign`):e:t.error(`string.hex`)}},hostname:{method(){return this.$_addRule(`hostname`)},validate(e,t){return r.isValid(e,{minDomainSegments:1})||d.ipRegex.test(e)?e:t.error(`string.hostname`)}},insensitive:{method(){return this.$_setFlag(`insensitive`,!0)}},ip:{method(e={}){u.assertOptions(e,[`cidr`,`version`]);let{cidr:t,versions:n,regex:r}=a.regex(e),i=e.version?n:void 0;return this.$_addRule({name:`ip`,args:{options:{cidr:t,version:i}},regex:r})},validate(e,t,{options:n},{regex:r}){return r.test(e)?e:n.version?t.error(`string.ipVersion`,{value:e,cidr:n.cidr,version:n.version}):t.error(`string.ip`,{value:e,cidr:n.cidr})}},isoDate:{method(){return this.$_addRule(`isoDate`)},validate(e,{error:t}){return d.isoDate(e)?e:t(`string.isoDate`)}},isoDuration:{method(){return this.$_addRule(`isoDuration`)},validate(e,t){return d.isoDurationRegex.test(e)?e:t.error(`string.isoDuration`)}},length:{method(e,t){return d.length(this,`length`,e,`=`,t)},validate(e,t,{limit:n,encoding:r},{name:i,operator:a,args:o}){let s=r?E&&E.byteLength(e,r):e.length;return u.compare(s,n,a)?e:t.error(`string.`+i,{limit:o.limit,value:e,encoding:r})},args:[{name:`limit`,ref:!0,assert:u.limit,message:`must be a positive integer`},`encoding`]},lowercase:{method(){return this.case(`lower`)}},max:{method(e,t){return d.length(this,`max`,e,`<=`,t)},args:[`limit`,`encoding`]},min:{method(e,t){return d.length(this,`min`,e,`>=`,t)},args:[`limit`,`encoding`]},normalize:{method(e=`NFC`){return n(d.normalizationForms.includes(e),`normalization form must be one of `+d.normalizationForms.join(`, `)),this.$_addRule({name:`normalize`,args:{form:e}})},validate(e,{error:t},{form:n}){return e===e.normalize(n)?e:t(`string.normalize`,{value:e,form:n})},convert:!0},pattern:{alias:`regex`,method(e,t={}){n(e instanceof RegExp,`regex must be a RegExp`),n(!e.flags.includes(`g`)&&!e.flags.includes(`y`),`regex should not use global or sticky mode`),typeof t==`string`&&(t={name:t}),u.assertOptions(t,[`invert`,`name`]);let r=[`string.pattern`,t.invert?`.invert`:``,t.name?`.name`:`.base`].join(``);return this.$_addRule({name:`pattern`,args:{regex:e,options:t},errorCode:r})},validate(e,t,{regex:n,options:r},{errorCode:i}){let a=n.test(e);return a^r.invert?e:t.error(i,{name:r.name,regex:n,value:e})},args:[`regex`,`options`],multi:!0},replace:{method(e,t){typeof e==`string`&&(e=new RegExp(o(e),`g`)),n(e instanceof RegExp,`pattern must be a RegExp`),n(typeof t==`string`,`replacement must be a String`);let r=this.clone();return r.$_terms.replacements||(r.$_terms.replacements=[]),r.$_terms.replacements.push({pattern:e,replacement:t}),r}},token:{method(){return this.$_addRule(`token`)},validate(e,t){return/^\w+$/.test(e)?e:t.error(`string.token`)}},trim:{method(e=!0){return n(typeof e==`boolean`,`enabled must be a boolean`),this.$_addRule({name:`trim`,args:{enabled:e}})},validate(e,t,{enabled:n}){return!n||e===e.trim()?e:t.error(`string.trim`)},convert:!0},truncate:{method(e=!0){return n(typeof e==`boolean`,`enabled must be a boolean`),this.$_setFlag(`truncate`,e)}},uppercase:{method(){return this.case(`upper`)}},uri:{method(e={}){u.assertOptions(e,[`allowRelative`,`allowQuerySquareBrackets`,`domain`,`relativeOnly`,`scheme`,`encodeUri`]),e.domain&&u.assertOptions(e.domain,[`allowFullyQualified`,`allowUnicode`,`maxDomainSegments`,`minDomainSegments`,`tlds`]);let{regex:t,scheme:n}=c.regex(e),r=e.domain?d.addressOptions(e.domain):null;return this.$_addRule({name:`uri`,args:{options:e},regex:t,domain:r,scheme:n})},validate(e,t,{options:n},{regex:i,domain:a,scheme:o}){if([`http:/`,`https:/`].includes(e))return t.error(`string.uri`);let s=i.exec(e);if(!s&&t.prefs.convert&&n.encodeUri){let t=encodeURI(e);s=i.exec(t),s&&(e=t)}if(s){let i=s[1]||s[2];return a&&(!n.allowRelative||i)&&!r.isValid(i,a)?t.error(`string.domain`,{value:i}):e}return n.relativeOnly?t.error(`string.uriRelativeOnly`):n.scheme?t.error(`string.uriCustomScheme`,{scheme:o,value:e}):t.error(`string.uri`)}}},manifest:{build(e,t){if(t.replacements)for(let{pattern:n,replacement:r}of t.replacements)e=e.replace(n,r);return e}},messages:{"string.alphanum":`{{#label}} must only contain alpha-numeric characters`,"string.base":`{{#label}} must be a string`,"string.base64":`{{#label}} must be a valid base64 string`,"string.creditCard":`{{#label}} must be a credit card`,"string.dataUri":`{{#label}} must be a valid dataUri string`,"string.domain":`{{#label}} must contain a valid domain name`,"string.email":`{{#label}} must be a valid email`,"string.empty":`{{#label}} is not allowed to be empty`,"string.guid":`{{#label}} must be a valid GUID`,"string.hex":`{{#label}} must only contain hexadecimal characters`,"string.hexAlign":`{{#label}} hex decoded representation must be byte aligned`,"string.hostname":`{{#label}} must be a valid hostname`,"string.ip":`{{#label}} must be a valid ip address with a {{#cidr}} CIDR`,"string.ipVersion":`{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR`,"string.isoDate":`{{#label}} must be in iso format`,"string.isoDuration":`{{#label}} must be a valid ISO 8601 duration`,"string.length":`{{#label}} length must be {{#limit}} characters long`,"string.lowercase":`{{#label}} must only contain lowercase characters`,"string.max":`{{#label}} length must be less than or equal to {{#limit}} characters long`,"string.min":`{{#label}} length must be at least {{#limit}} characters long`,"string.normalize":`{{#label}} must be unicode normalized in the {{#form}} form`,"string.token":`{{#label}} must only contain alpha-numeric and underscore characters`,"string.pattern.base":`{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}`,"string.pattern.name":`{{#label}} with value {:[.]} fails to match the {{#name}} pattern`,"string.pattern.invert.base":`{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}`,"string.pattern.invert.name":`{{#label}} with value {:[.]} matches the inverted {{#name}} pattern`,"string.trim":`{{#label}} must not have leading or trailing whitespace`,"string.uri":`{{#label}} must be a valid uri`,"string.uriCustomScheme":`{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern`,"string.uriRelativeOnly":`{{#label}} must be a valid relative uri`,"string.uppercase":`{{#label}} must only contain uppercase characters`}}),d.addressOptions=function(e){if(!e)return d.tlds||e;if(n(e.minDomainSegments===void 0||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,`minDomainSegments must be a positive integer`),n(e.maxDomainSegments===void 0||Number.isSafeInteger(e.maxDomainSegments)&&e.maxDomainSegments>0,`maxDomainSegments must be a positive integer`),e.tlds===!1)return e;if(e.tlds===!0||e.tlds===void 0)return n(d.tlds,`Built-in TLD list disabled`),Object.assign({},e,d.tlds);n(typeof e.tlds==`object`,`tlds must be true, false, or an object`);let t=e.tlds.deny;if(t)return Array.isArray(t)&&(e=Object.assign({},e,{tlds:{deny:new Set(t)}})),n(e.tlds.deny instanceof Set,`tlds.deny must be an array, Set, or boolean`),n(!e.tlds.allow,`Cannot specify both tlds.allow and tlds.deny lists`),d.validateTlds(e.tlds.deny,`tlds.deny`),e;let r=e.tlds.allow;return r?r===!0?(n(d.tlds,`Built-in TLD list disabled`),Object.assign({},e,d.tlds)):(Array.isArray(r)&&(e=Object.assign({},e,{tlds:{allow:new Set(r)}})),n(e.tlds.allow instanceof Set,`tlds.allow must be an array, Set, or boolean`),d.validateTlds(e.tlds.allow,`tlds.allow`),e):e},d.validateTlds=function(e,t){for(let i of e)n(r.isValid(i,{minDomainSegments:1,maxDomainSegments:1}),`${t} must contain valid top level domain names`)},d.isoDate=function(e){if(!u.isIsoDate(e))return null;/.*T.*[+-]\d\d$/.test(e)&&(e+=`00`);let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},d.length=function(e,t,r,i,a){return n(!a||E&&E.isEncoding(a),`Invalid encoding:`,a),e.$_addRule({name:t,method:`length`,args:{limit:r,encoding:a},operator:i})}}),Zn=s((exports,t)=>{let n=I(),r=et(),i={};i.Map=class extends Map{slice(){return new i.Map(this)}},t.exports=r.extend({type:`symbol`,terms:{map:{init:new i.Map}},coerce:{method(e,{schema:t,error:n}){let r=t.$_terms.map.get(e);return r&&(e=r),!t._flags.only||typeof e==`symbol`?{value:e}:{value:e,errors:n(`symbol.map`,{map:t.$_terms.map})}}},validate(e,{error:t}){if(typeof e!=`symbol`)return{value:e,errors:t(`symbol.base`)}},rules:{map:{method(e){e&&!e[Symbol.iterator]&&typeof e==`object`&&(e=Object.entries(e)),n(e&&e[Symbol.iterator],`Iterable must be an iterable or object`);let t=this.clone(),r=[];for(let i of e){n(i&&i[Symbol.iterator],`Entry must be an iterable`);let[e,a]=i;n(typeof e!=`object`&&typeof e!=`function`&&typeof e!=`symbol`,`Key must not be of type object, function, or Symbol`),n(typeof a==`symbol`,`Value must be a Symbol`),t.$_terms.map.set(e,a),r.push(a)}return t.valid(...r)}}},manifest:{build(e,t){return t.map&&(e=e.map(t.map)),e}},messages:{"symbol.base":`{{#label}} must be a symbol`,"symbol.map":`{{#label}} must be one of {{#map}}`}})}),Qn=s((exports,t)=>{ce();let n=I(),r=et(),i=ze();t.exports=r.extend({type:`binary`,coerce:{from:[`string`,`object`],method(e,{schema:t}){if(typeof e==`string`||e!==null&&e.type===`Buffer`)try{return{value:E.from(e,t._flags.encoding)}}catch{}}},validate(e,{error:t}){if(!E.isBuffer(e))return{value:e,errors:t(`binary.base`)}},rules:{encoding:{method(e){return n(E.isEncoding(e),`Invalid encoding:`,e),this.$_setFlag(`encoding`,e)}},length:{method(e){return this.$_addRule({name:`length`,method:`length`,args:{limit:e},operator:`=`})},validate(e,t,{limit:n},{name:r,operator:a,args:o}){return i.compare(e.length,n,a)?e:t.error(`binary.`+r,{limit:o.limit,value:e})},args:[{name:`limit`,ref:!0,assert:i.limit,message:`must be a positive integer`}]},max:{method(e){return this.$_addRule({name:`max`,method:`length`,args:{limit:e},operator:`<=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`length`,args:{limit:e},operator:`>=`})}}},cast:{string:{from:e=>E.isBuffer(e),to(e,t){return e.toString()}}},messages:{"binary.base":`{{#label}} must be a buffer or a string`,"binary.length":`{{#label}} must be {{#limit}} bytes`,"binary.max":`{{#label}} must be less than or equal to {{#limit}} bytes`,"binary.min":`{{#label}} must be at least {{#limit}} bytes`}})}),$n=s((exports,t)=>{ce();let n=I(),r=me(),i=Be(),a=ze(),o=Ve(),s=Fe(),c=He(),l=Ue(),u=Ie(),d=Le(),f=Ke(),p,m={types:{alternatives:tt(),any:et(),array:nt(),boolean:rt(),date:it(),function:ct(),link:lt(),number:ut(),object:dt(),string:Xn(),symbol:Zn()},aliases:{alt:`alternatives`,bool:`boolean`,func:`function`}};E&&(m.types.binary=Qn()),m.root=function(){let e={_types:new Set(Object.keys(m.types))};for(let t of e._types)e[t]=function(...e){return n(!e.length||[`alternatives`,`link`,`object`].includes(t),`The`,t,`type does not allow arguments`),m.generate(this,m.types[t],e)};for(let t of[`allow`,`custom`,`disallow`,`equal`,`exist`,`forbidden`,`invalid`,`not`,`only`,`optional`,`options`,`prefs`,`preferences`,`required`,`strip`,`valid`,`when`])e[t]=function(...e){return this.any()[t](...e)};for(let t in Object.assign(e,m.methods),m.aliases){let n=m.aliases[t];e[t]=e[n]}return e.x=e.expression,f.setup&&f.setup(e),e},m.methods={ValidationError:s.ValidationError,version:a.version,cache:i.provider,assert(e,t,...n){m.assert(e,t,!0,n)},attempt(e,t,...n){return m.assert(e,t,!1,n)},build(e){return n(typeof l.build==`function`,`Manifest functionality disabled`),l.build(this,e)},checkPreferences(e){a.checkPreferences(e)},compile(e,t){return o.compile(this,e,t)},defaults(e){n(typeof e==`function`,`modifier must be a function`);let t=Object.assign({},this);for(let r of t._types){let i=e(t[r]());n(a.isSchema(i),`modifier must return a valid schema object`),t[r]=function(...e){return m.generate(this,i,e)}}return t},expression(...e){return new d(...e)},extend(...e){a.verifyFlat(e,`extend`),p||=je(),n(e.length,`You need to provide at least one extension`),this.assert(e,p.extensions);let t=Object.assign({},this);t._types=new Set(t._types);for(let r of e){typeof r==`function`&&(r=r(t)),this.assert(r,p.extension);let e=m.expandExtension(r,t);for(let r of e){n(t[r.type]===void 0||t._types.has(r.type),`Cannot override name`,r.type);let e=r.base||this.any(),i=c.type(e,r);t._types.add(r.type),t[r.type]=function(...e){return m.generate(this,i,e)}}}return t},isError:s.ValidationError.isError,isExpression:d.isTemplate,isRef:u.isRef,isSchema:a.isSchema,in(...e){return u.in(...e)},override:a.symbols.override,ref(...e){return u.create(...e)},types(){let e={};for(let t of this._types)e[t]=this[t]();for(let t in m.aliases)e[t]=this[t]();return e}},m.assert=function(e,t,n,i){let o=i[0]instanceof Error||typeof i[0]==`string`?i[0]:null,c=o===null?i[0]:i[1],l=t.validate(e,a.preferences({errors:{stack:!0}},c||{})),u=l.error;if(!u)return l.value;if(o instanceof Error)throw o;let d=n&&typeof u.annotate==`function`?u.annotate():u.message;throw u instanceof s.ValidationError||(u=r(u)),u.message=o?`${o} ${d}`:d,u},m.generate=function(e,t,r){return n(e,`Must be invoked on a Joi instance.`),t.$_root=e,!t._definition.args||!r.length?t:t._definition.args(t,...r)},m.expandExtension=function(e,t){if(typeof e.type==`string`)return[e];let n=[];for(let r of t._types)if(e.type.test(r)){let i=Object.assign({},e);i.type=r,i.base=t[r](),n.push(i)}return n},t.exports=m.root()}),er=20,tr=1,nr=1e6,rr=1e6,ir=-7,ar=21,or=!1,sr=`[big.js] `,cr=sr+`Invalid `,lr=cr+`decimal places`,ur=cr+`rounding mode`,dr=sr+`Division by zero`,L={},fr=void 0,pr=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function mr(){function e(t){var n=this;if(!(n instanceof e))return t===fr&&arguments.length===0?mr():new e(t);if(t instanceof e)n.s=t.s,n.e=t.e,n.c=t.c.slice();else{if(typeof t!=`string`){if(e.strict===!0&&typeof t!=`bigint`)throw TypeError(cr+`value`);t=t===0&&1/t<0?`-0`:String(t)}hr(n,t)}n.constructor=e}return e.prototype=L,e.DP=er,e.RM=tr,e.NE=ir,e.PE=ar,e.strict=or,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}function hr(e,t){var n,r,i;if(!pr.test(t))throw Error(cr+`number`);for(e.s=t.charAt(0)==`-`?(t=t.slice(1),-1):1,(n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),i=t.length,r=0;r<i&&t.charAt(r)==`0`;)++r;if(r==i)e.c=[e.e=0];else{for(;i>0&&t.charAt(--i)==`0`;);for(e.e=n-r-1,e.c=[],n=0;r<=i;)e.c[n++]=+t.charAt(r++)}return e}function gr(e,t,n,r){var i=e.c;if(n===fr&&(n=e.constructor.RM),n!==0&&n!==1&&n!==2&&n!==3)throw Error(ur);if(t<1)r=n===3&&(r||!!i[0])||t===0&&(n===1&&i[0]>=5||n===2&&(i[0]>5||i[0]===5&&(r||i[1]!==fr))),i.length=1,r?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(r=n===1&&i[t]>=5||n===2&&(i[t]>5||i[t]===5&&(r||i[t+1]!==fr||i[t-1]&1))||n===3&&(r||!!i[0]),i.length=t,r){for(;++i[--t]>9;)if(i[t]=0,t===0){++e.e,i.unshift(1);break}}for(t=i.length;!i[--t];)i.pop()}return e}function _r(e,t,n){var r=e.e,i=e.c.join(``),a=i.length;if(t)i=i.charAt(0)+(a>1?`.`+i.slice(1):``)+(r<0?`e`:`e+`)+r;else if(r<0){for(;++r;)i=`0`+i;i=`0.`+i}else if(r>0)if(++r>a)for(r-=a;r--;)i+=`0`;else r<a&&(i=i.slice(0,r)+`.`+i.slice(r));else a>1&&(i=i.charAt(0)+`.`+i.slice(1));return e.s<0&&n?`-`+i:i}L.abs=function(){var e=new this.constructor(this);return e.s=1,e},L.cmp=function(e){var t,n=this,r=n.c,i=(e=new n.constructor(e)).c,a=n.s,o=e.s,s=n.e,c=e.e;if(!r[0]||!i[0])return r[0]?a:i[0]?-o:0;if(a!=o)return a;if(t=a<0,s!=c)return s>c^t?1:-1;for(o=(s=r.length)<(c=i.length)?s:c,a=-1;++a<o;)if(r[a]!=i[a])return r[a]>i[a]^t?1:-1;return s==c?0:s>c^t?1:-1},L.div=function(e){var t=this,n=t.constructor,r=t.c,i=(e=new n(e)).c,a=t.s==e.s?1:-1,o=n.DP;if(o!==~~o||o<0||o>nr)throw Error(lr);if(!i[0])throw Error(dr);if(!r[0])return e.s=a,e.c=[e.e=0],e;var s,c,l,u,d,f=i.slice(),p=s=i.length,m=r.length,h=r.slice(0,s),g=h.length,_=e,v=_.c=[],y=0,b=o+(_.e=t.e-e.e)+1;for(_.s=a,a=b<0?0:b,f.unshift(0);g++<s;)h.push(0);do{for(l=0;l<10;l++){if(s!=(g=h.length))u=s>g?1:-1;else for(d=-1,u=0;++d<s;)if(i[d]!=h[d]){u=i[d]>h[d]?1:-1;break}if(u<0){for(c=g==s?i:f;g;){if(h[--g]<c[g]){for(d=g;d&&!h[--d];)h[d]=9;--h[d],h[g]+=10}h[g]-=c[g]}for(;!h[0];)h.shift()}else break}v[y++]=u?l:++l,h[0]&&u?h[g]=r[p]||0:h=[r[p]]}while((p++<m||h[0]!==fr)&&a--);return!v[0]&&y!=1&&(v.shift(),_.e--,b--),y>b&&gr(_,b,n.RM,h[0]!==fr),_},L.eq=function(e){return this.cmp(e)===0},L.gt=function(e){return this.cmp(e)>0},L.gte=function(e){return this.cmp(e)>-1},L.lt=function(e){return this.cmp(e)<0},L.lte=function(e){return this.cmp(e)<1},L.minus=L.sub=function(e){var t,n,r,i,a=this,o=a.constructor,s=a.s,c=(e=new o(e)).s;if(s!=c)return e.s=-c,a.plus(e);var l=a.c.slice(),u=a.e,d=e.c,f=e.e;if(!l[0]||!d[0])return d[0]?e.s=-c:l[0]?e=new o(a):e.s=1,e;if(s=u-f){for((i=s<0)?(s=-s,r=l):(f=u,r=d),r.reverse(),c=s;c--;)r.push(0);r.reverse()}else for(n=((i=l.length<d.length)?l:d).length,s=c=0;c<n;c++)if(l[c]!=d[c]){i=l[c]<d[c];break}if(i&&(r=l,l=d,d=r,e.s=-e.s),(c=(n=d.length)-(t=l.length))>0)for(;c--;)l[t++]=0;for(c=t;n>s;){if(l[--n]<d[n]){for(t=n;t&&!l[--t];)l[t]=9;--l[t],l[n]+=10}l[n]-=d[n]}for(;l[--c]===0;)l.pop();for(;l[0]===0;)l.shift(),--f;return l[0]||(e.s=1,l=[f=0]),e.c=l,e.e=f,e},L.mod=function(e){var t,n=this,r=n.constructor,i=n.s,a=(e=new r(e)).s;if(!e.c[0])throw Error(dr);return n.s=e.s=1,t=e.cmp(n)==1,n.s=i,e.s=a,t?new r(n):(i=r.DP,a=r.RM,r.DP=r.RM=0,n=n.div(e),r.DP=i,r.RM=a,this.minus(n.times(e)))},L.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},L.plus=L.add=function(e){var t,n,r,i=this,a=i.constructor;if(e=new a(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var o=i.e,s=i.c,c=e.e,l=e.c;if(!s[0]||!l[0])return l[0]||(s[0]?e=new a(i):e.s=i.s),e;if(s=s.slice(),t=o-c){for(t>0?(c=o,r=l):(t=-t,r=s),r.reverse();t--;)r.push(0);r.reverse()}for(s.length-l.length<0&&(r=l,l=s,s=r),t=l.length,n=0;t;s[t]%=10)n=(s[--t]=s[t]+l[t]+n)/10|0;for(n&&(s.unshift(n),++c),t=s.length;s[--t]===0;)s.pop();return e.c=s,e.e=c,e},L.pow=function(e){var t=this,n=new t.constructor(`1`),r=n,i=e<0;if(e!==~~e||e<-rr||e>rr)throw Error(cr+`exponent`);for(i&&(e=-e);e&1&&(r=r.times(t)),e>>=1,e;)t=t.times(t);return i?n.div(r):r},L.prec=function(e,t){if(e!==~~e||e<1||e>nr)throw Error(cr+`precision`);return gr(new this.constructor(this),e,t)},L.round=function(e,t){if(e===fr)e=0;else if(e!==~~e||e<-nr||e>nr)throw Error(lr);return gr(new this.constructor(this),e+this.e+1,t)},L.sqrt=function(){var e,t,n,r=this,i=r.constructor,a=r.s,o=r.e,s=new i(`0.5`);if(!r.c[0])return new i(r);if(a<0)throw Error(sr+`No square root`);a=Math.sqrt(+_r(r,!0,!0)),a===0||a===1/0?(t=r.c.join(``),t.length+o&1||(t+=`0`),a=Math.sqrt(t),o=((o+1)/2|0)-(o<0||o&1),e=new i((a==1/0?`5e`:(a=a.toExponential()).slice(0,a.indexOf(`e`)+1))+o)):e=new i(a+``),o=e.e+(i.DP+=4);do n=e,e=s.times(n.plus(r.div(n)));while(n.c.slice(0,o).join(``)!==e.c.slice(0,o).join(``));return gr(e,(i.DP-=4)+e.e+1,i.RM)},L.times=L.mul=function(e){var t,n=this,r=n.constructor,i=n.c,a=(e=new r(e)).c,o=i.length,s=a.length,c=n.e,l=e.e;if(e.s=n.s==e.s?1:-1,!i[0]||!a[0])return e.c=[e.e=0],e;for(e.e=c+l,o<s&&(t=i,i=a,a=t,l=o,o=s,s=l),t=Array(l=o+s);l--;)t[l]=0;for(c=s;c--;){for(s=0,l=o+c;l>c;)s=t[l]+a[c]*i[l-c-1]+s,t[l--]=s%10,s=s/10|0;t[l]=s}for(s?++e.e:t.shift(),c=t.length;!t[--c];)t.pop();return e.c=t,e},L.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==fr){if(e!==~~e||e<0||e>nr)throw Error(lr);for(n=gr(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return _r(n,!0,!!r)},L.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==fr){if(e!==~~e||e<0||e>nr)throw Error(lr);for(n=gr(new n.constructor(n),e+n.e+1,t),e=e+n.e+1;n.c.length<e;)n.c.push(0)}return _r(n,!1,!!r)},L.toJSON=L.toString=function(){var e=this,t=e.constructor;return _r(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},typeof Symbol<`u`&&(L[Symbol.for(`nodejs.util.inspect.custom`)]=L.toJSON),L.toNumber=function(){var e=+_r(this,!0,!0);if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(sr+`Imprecise conversion`);return e},L.toPrecision=function(e,t){var n=this,r=n.constructor,i=n.c[0];if(e!==fr){if(e!==~~e||e<1||e>nr)throw Error(cr+`precision`);for(n=gr(new r(n),e,t);n.c.length<e;)n.c.push(0)}return _r(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!i)},L.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(sr+`valueOf disallowed`);return _r(e,e.e<=t.NE||e.e>=t.PE,!0)};var vr=mr(),yr=vr;const br=(e,t,n)=>{switch(n){case`>`:return e.gt(t);case`<`:return e.lt(t);case`>=`:return e.gte(t);case`<=`:return e.lte(t);case`multiple`:return e.mod(t).eq(0);default:return!1}},xr=function(e){return{type:`bigint`,base:e.any(),coerce:{from:[`string`,`number`],method(e,t){if(typeof e==`bigint`)return{value:e};try{let n=yr(e.toString());return n.eq(n.round(0))?{value:BigInt(n.toString())}:{value:e,errors:[t.error(`bigint.base`,{value:String(e)})]}}catch{return{value:e,errors:[t.error(`bigint.base`,{value:String(e)})]}}}},messages:{"bigint.base":`"{{#label}}" must be a valid bigint`,"bigint.greater":`"{{#label}}" must be greater than {{#limit}}`,"bigint.less":`"{{#label}}" must be less than {{#limit}}`,"bigint.max":`"{{#label}}" must be less than or equal to {{#limit}}`,"bigint.min":`"{{#label}}" must be greater than or equal to {{#limit}}`,"bigint.multiple":`"{{#label}}" must be a multiple of {{#limit}}`,"bigint.negative":`"{{#label}}" must be a negative bigint`,"bigint.positive":`"{{#label}}" must be a positive bigint`},validate(e,{error:t}){return typeof e==`bigint`?{value:e}:{value:e,errors:t(`bigint.base`,{value:String(e)})}},rules:{compare:{method:!1,validate(e,t,{limit:n},{name:r,operator:i}){let a=yr(e.toString()),o=yr(n.toString()),s=br(a,o,i);return s?e:t.error(`bigint.`+r,{limit:n.toString(),value:e.toString()})},args:[{name:`limit`,ref:!0,assert:e=>typeof e==`bigint`,message:`must be a bigint`}]},greater:{method(e){return this.$_addRule({name:`greater`,method:`compare`,args:{limit:e},operator:`>`})}},less:{method(e){return this.$_addRule({name:`less`,method:`compare`,args:{limit:e},operator:`<`})}},max:{method(e){return this.$_addRule({name:`max`,method:`compare`,args:{limit:e},operator:`<=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`compare`,args:{limit:e},operator:`>=`})}},multiple:{method(e){return this.$_addRule({name:`multiple`,method:`compare`,args:{limit:e},operator:`multiple`})}},negative:{method(){return this.$_addRule(`negative`)},validate(e,t){return e>=0n?t.error(`bigint.negative`,{value:e.toString()}):e}},positive:{method(){return this.$_addRule(`positive`)},validate(e,t){return e<=0n?t.error(`bigint.positive`,{value:e.toString()}):e}}},cast:{string:{from:e=>typeof e==`bigint`,to(e){return e.toString()}}}}};var Sr=class extends Error{},Cr=class extends Sr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},wr=class extends Sr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},Tr=class extends Sr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Er=class extends Sr{},Dr=class extends Sr{constructor(e){super(`Invalid unit ${e}`)}},Or=class extends Sr{},kr=class extends Sr{constructor(){super(`Zone is an abstract class`)}};const R=`numeric`,Ar=`short`,jr=`long`,Mr={year:R,month:R,day:R},Nr={year:R,month:Ar,day:R},Pr={year:R,month:Ar,day:R,weekday:Ar},Fr={year:R,month:jr,day:R},Ir={year:R,month:jr,day:R,weekday:jr},Lr={hour:R,minute:R},Rr={hour:R,minute:R,second:R},zr={hour:R,minute:R,second:R,timeZoneName:Ar},Br={hour:R,minute:R,second:R,timeZoneName:jr},Vr={hour:R,minute:R,hourCycle:`h23`},Hr={hour:R,minute:R,second:R,hourCycle:`h23`},Ur={hour:R,minute:R,second:R,hourCycle:`h23`,timeZoneName:Ar},Wr={hour:R,minute:R,second:R,hourCycle:`h23`,timeZoneName:jr},Gr={year:R,month:R,day:R,hour:R,minute:R},Kr={year:R,month:R,day:R,hour:R,minute:R,second:R},qr={year:R,month:Ar,day:R,hour:R,minute:R},Jr={year:R,month:Ar,day:R,hour:R,minute:R,second:R},Yr={year:R,month:Ar,day:R,weekday:Ar,hour:R,minute:R},Xr={year:R,month:jr,day:R,hour:R,minute:R,timeZoneName:Ar},Zr={year:R,month:jr,day:R,hour:R,minute:R,second:R,timeZoneName:Ar},Qr={year:R,month:jr,day:R,weekday:jr,hour:R,minute:R,timeZoneName:jr},$r={year:R,month:jr,day:R,weekday:jr,hour:R,minute:R,second:R,timeZoneName:jr};var ei=class{get type(){throw new kr}get name(){throw new kr}get ianaName(){return this.name}get isUniversal(){throw new kr}offsetName(e,t){throw new kr}formatOffset(e,t){throw new kr}offset(e){throw new kr}equals(e){throw new kr}get isValid(){throw new kr}};let ti=null;var ni=class e extends ei{static get instance(){return ti===null&&(ti=new e),ti}get type(){return`system`}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return Ha(e,t,n)}formatOffset(e,t){return Ka(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type===`system`}get isValid(){return!0}};const ri=new Map;function ii(e){let t=ri.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,era:`short`}),ri.set(e,t)),t}const ai={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function oi(e,t){let n=e.format(t).replace(/\u200E/g,``),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,a,o,s,c,l,u]=r;return[o,i,a,s,c,l,u]}function si(e,t){let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let{type:t,value:i}=n[e],a=ai[t];t===`era`?r[a]=i:B(a)||(r[a]=parseInt(i,10))}return r}const ci=new Map;var li=class e extends ei{static create(t){let n=ci.get(t);return n===void 0&&ci.set(t,n=new e(t)),n}static resetCache(){ci.clear(),ri.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=e.isValidZone(t)}get type(){return`iana`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return Ha(e,t,n,this.name)}formatOffset(e,t){return Ka(this.offset(e),t)}offset(e){if(!this.valid)return NaN;let t=new Date(e);if(isNaN(t))return NaN;let n=ii(this.name),[r,i,a,o,s,c,l]=n.formatToParts?si(n,t):oi(n,t);o===`BC`&&(r=-Math.abs(r)+1);let u=s===24?0:s,d=Ra({year:r,month:i,day:a,hour:u,minute:c,second:l,millisecond:0}),f=+t,p=f%1e3;return f-=p>=0?p:1e3+p,(d-f)/(60*1e3)}equals(e){return e.type===`iana`&&e.name===this.name}get isValid(){return this.valid}};let ui={};function di(e,t={}){let n=JSON.stringify([e,t]),r=ui[n];return r||(r=new Intl.ListFormat(e,t),ui[n]=r),r}const fi=new Map;function pi(e,t={}){let n=JSON.stringify([e,t]),r=fi.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),fi.set(n,r)),r}const mi=new Map;function hi(e,t={}){let n=JSON.stringify([e,t]),r=mi.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),mi.set(n,r)),r}const gi=new Map;function _i(e,t={}){let{base:n,...r}=t,i=JSON.stringify([e,r]),a=gi.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),gi.set(i,a)),a}let vi=null;function yi(){return vi||(vi=new Intl.DateTimeFormat().resolvedOptions().locale,vi)}const bi=new Map;function xi(e){let t=bi.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),bi.set(e,t)),t}const Si=new Map;function Ci(e){let t=Si.get(e);if(!t){let n=new Intl.Locale(e);t=`getWeekInfo`in n?n.getWeekInfo():n.weekInfo,`minimalDays`in t||(t={...Ni,...t}),Si.set(e,t)}return t}function wi(e){let t=e.indexOf(`-x-`);t!==-1&&(e=e.substring(0,t));let n=e.indexOf(`-u-`);if(n===-1)return[e];{let t,r;try{t=pi(e).resolvedOptions(),r=e}catch{let i=e.substring(0,n);t=pi(i).resolvedOptions(),r=i}let{numberingSystem:i,calendar:a}=t;return[r,i,a]}}function Ti(e,t,n){return n||t?(e.includes(`-u-`)||(e+=`-u`),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}function Ei(e){let t=[];for(let n=1;n<=12;n++){let r=H.utc(2009,n,1);t.push(e(r))}return t}function Di(e){let t=[];for(let n=1;n<=7;n++){let r=H.utc(2016,11,13+n);t.push(e(r))}return t}function Oi(e,t,n,r){let i=e.listingMode();return i===`error`?null:i===`en`?n(t):r(t)}function ki(e){return e.numberingSystem&&e.numberingSystem!==`latn`?!1:e.numberingSystem===`latn`||!e.locale||e.locale.startsWith(`en`)||xi(e.locale).numberingSystem===`latn`}var Ai=class{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:r,floor:i,...a}=n;if(!t||Object.keys(a).length>0){let t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=hi(e,t)}}format(e){if(this.inf){let t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{let t=this.floor?Math.floor(e):Pa(e,3);return Aa(t,this.padTo)}}},ji=class{constructor(e,t,n){this.opts=n,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=e;else if(e.zone.type===`fixed`){let t=-1*(e.offset/60),n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;e.offset!==0&&li.create(n).valid?(r=n,this.dt=e):(r=`UTC`,this.dt=e.offset===0?e:e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type===`system`?this.dt=e:e.zone.type===`iana`?(this.dt=e,r=e.zone.name):(r=`UTC`,this.dt=e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||r,this.dtf=pi(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(``):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if(e.type===`timeZoneName`){let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}else return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Mi=class{constructor(e,t,n){this.opts={style:`long`,...n},!t&&xa()&&(this.rtf=_i(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):fo(t,e,this.opts.numeric,this.opts.style!==`long`)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}};const Ni={firstDay:1,minimalDays:4,weekend:[6,7]};var Pi=class e{static fromOpts(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,i,a=!1){let o=t||z.defaultLocale,s=o||(a?`en-US`:yi()),c=n||z.defaultNumberingSystem,l=r||z.defaultOutputCalendar,u=Da(i)||z.defaultWeekSettings;return new e(s,c,l,u,o)}static resetCache(){vi=null,fi.clear(),mi.clear(),gi.clear(),bi.clear(),Si.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:i}={}){return e.create(t,n,r,i)}constructor(e,t,n,r,i){let[a,o,s]=wi(e);this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.weekSettings=r,this.intl=Ti(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached??=ki(this),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem===`latn`)&&(this.outputCalendar===null||this.outputCalendar===`gregory`);return e&&t?`en`:`intl`}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Da(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Oi(this,e,Za,()=>{let n=this.intl===`ja`||this.intl.startsWith(`ja-`);t&=!n;let r=t?{month:e,day:`numeric`}:{month:e},i=t?`format`:`standalone`;if(!this.monthsCache[i][e]){let t=n?e=>this.dtFormatter(e,r).format():e=>this.extract(e,r,`month`);this.monthsCache[i][e]=Ei(t)}return this.monthsCache[i][e]})}weekdays(e,t=!1){return Oi(this,e,to,()=>{let n=t?{weekday:e,year:`numeric`,month:`long`,day:`numeric`}:{weekday:e},r=t?`format`:`standalone`;return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=Di(e=>this.extract(e,n,`weekday`))),this.weekdaysCache[r][e]})}meridiems(){return Oi(this,void 0,()=>no,()=>{if(!this.meridiemCache){let e={hour:`numeric`,hourCycle:`h12`};this.meridiemCache=[H.utc(2016,11,13,9),H.utc(2016,11,13,19)].map(t=>this.extract(t,e,`dayperiod`))}return this.meridiemCache})}eras(e){return Oi(this,e,oo,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[H.utc(-40,1,1),H.utc(2017,1,1)].map(e=>this.extract(e,t,`era`))),this.eraCache[e]})}extract(e,t,n){let r=this.dtFormatter(e,t),i=r.formatToParts(),a=i.find(e=>e.type.toLowerCase()===n);return a?a.value:null}numberFormatter(e={}){return new Ai(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new ji(e,this.intl,t)}relFormatter(e={}){return new Mi(this.intl,this.isEnglish(),e)}listFormatter(e={}){return di(this.intl,e)}isEnglish(){return this.locale===`en`||this.locale.toLowerCase()===`en-us`||xi(this.intl).locale.startsWith(`en-us`)}getWeekSettings(){return this.weekSettings?this.weekSettings:Sa()?Ci(this.locale):Ni}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}};let Fi=null;var Ii=class e extends ei{static get utcInstance(){return Fi===null&&(Fi=new e(0)),Fi}static instance(t){return t===0?e.utcInstance:new e(t)}static parseSpecifier(t){if(t){let n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(Ua(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return`fixed`}get name(){return this.fixed===0?`UTC`:`UTC${Ka(this.fixed,`narrow`)}`}get ianaName(){return this.fixed===0?`Etc/UTC`:`Etc/GMT${Ka(-this.fixed,`narrow`)}`}offsetName(){return this.name}formatOffset(e,t){return Ka(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type===`fixed`&&e.fixed===this.fixed}get isValid(){return!0}},Li=class extends ei{constructor(e){super(),this.zoneName=e}get type(){return`invalid`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return``}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function Ri(e,t){let n;if(B(e)||e===null)return t;if(e instanceof ei)return e;if(ya(e)){let n=e.toLowerCase();return n===`default`?t:n===`local`||n===`system`?ni.instance:n===`utc`||n===`gmt`?Ii.utcInstance:Ii.parseSpecifier(n)||li.create(e)}else if(_a(e))return Ii.instance(e);else if(typeof e==`object`&&`offset`in e&&typeof e.offset==`function`)return e;else return new Li(e)}const zi={arab:`[٠-٩]`,arabext:`[۰-۹]`,bali:`[᭐-᭙]`,beng:`[০-৯]`,deva:`[०-९]`,fullwide:`[0-9]`,gujr:`[૦-૯]`,hanidec:`[〇|一|二|三|四|五|六|七|八|九]`,khmr:`[០-៩]`,knda:`[೦-೯]`,laoo:`[໐-໙]`,limb:`[᥆-᥏]`,mlym:`[൦-൯]`,mong:`[᠐-᠙]`,mymr:`[၀-၉]`,orya:`[୦-୯]`,tamldec:`[௦-௯]`,telu:`[౦-౯]`,thai:`[๐-๙]`,tibt:`[༠-༩]`,latn:`\\d`},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Vi=zi.hanidec.replace(/[\[|\]]/g,``).split(``);function Hi(e){let t=parseInt(e,10);if(isNaN(t)){t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(e[n].search(zi.hanidec)!==-1)t+=Vi.indexOf(e[n]);else for(let e in Bi){let[n,i]=Bi[e];r>=n&&r<=i&&(t+=r-n)}}return parseInt(t,10)}else return t}const Ui=new Map;function Wi(){Ui.clear()}function Gi({numberingSystem:e},t=``){let n=e||`latn`,r=Ui.get(n);r===void 0&&(r=new Map,Ui.set(n,r));let i=r.get(t);return i===void 0&&(i=RegExp(`${zi[n]}${t}`),r.set(t,i)),i}let Ki=()=>Date.now(),qi=`system`,Ji=null,Yi=null,Xi=null,Zi=60,Qi,$i=null;var z=class{static get now(){return Ki}static set now(e){Ki=e}static set defaultZone(e){qi=e}static get defaultZone(){return Ri(qi,ni.instance)}static get defaultLocale(){return Ji}static set defaultLocale(e){Ji=e}static get defaultNumberingSystem(){return Yi}static set defaultNumberingSystem(e){Yi=e}static get defaultOutputCalendar(){return Xi}static set defaultOutputCalendar(e){Xi=e}static get defaultWeekSettings(){return $i}static set defaultWeekSettings(e){$i=Da(e)}static get twoDigitCutoffYear(){return Zi}static set twoDigitCutoffYear(e){Zi=e%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(e){Qi=e}static resetCaches(){Pi.resetCache(),li.resetCache(),H.resetCache(),Wi()}},ea=class{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}};const ta=[0,31,59,90,120,151,181,212,243,273,304,334],na=[0,31,60,91,121,152,182,213,244,274,305,335];function ra(e,t){return new ea(`unit out of range`,`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function ia(e,t,n){let r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);let i=r.getUTCDay();return i===0?7:i}function aa(e,t,n){return n+(Fa(e)?na:ta)[t-1]}function oa(e,t){let n=Fa(e)?na:ta,r=n.findIndex(e=>e<t),i=t-n[r];return{month:r+1,day:i}}function sa(e,t){return(e-t+7)%7+1}function ca(e,t=4,n=1){let{year:r,month:i,day:a}=e,o=aa(r,i,a),s=sa(ia(r,i,a),n),c=Math.floor((o-s+14-t)/7),l;return c<1?(l=r-1,c=Ba(l,t,n)):c>Ba(r,t,n)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:s,...qa(e)}}function la(e,t=4,n=1){let{weekYear:r,weekNumber:i,weekday:a}=e,o=sa(ia(r,1,t),n),s=Ia(r),c=i*7+a-o-7+t,l;c<1?(l=r-1,c+=Ia(l)):c>s?(l=r+1,c-=Ia(r)):l=r;let{month:u,day:d}=oa(l,c);return{year:l,month:u,day:d,...qa(e)}}function ua(e){let{year:t,month:n,day:r}=e,i=aa(t,n,r);return{year:t,ordinal:i,...qa(e)}}function da(e){let{year:t,ordinal:n}=e,{month:r,day:i}=oa(t,n);return{year:t,month:r,day:i,...qa(e)}}function fa(e,t){let n=!B(e.localWeekday)||!B(e.localWeekNumber)||!B(e.localWeekYear);if(n){let n=!B(e.weekday)||!B(e.weekNumber)||!B(e.weekYear);if(n)throw new Er(`Cannot mix locale-based week fields with ISO-based week fields`);return B(e.localWeekday)||(e.weekday=e.localWeekday),B(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),B(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function pa(e,t=4,n=1){let r=va(e.weekYear),i=Oa(e.weekNumber,1,Ba(e.weekYear,t,n)),a=Oa(e.weekday,1,7);return r?i?a?!1:ra(`weekday`,e.weekday):ra(`week`,e.weekNumber):ra(`weekYear`,e.weekYear)}function ma(e){let t=va(e.year),n=Oa(e.ordinal,1,Ia(e.year));return t?n?!1:ra(`ordinal`,e.ordinal):ra(`year`,e.year)}function ha(e){let t=va(e.year),n=Oa(e.month,1,12),r=Oa(e.day,1,La(e.year,e.month));return t?n?r?!1:ra(`day`,e.day):ra(`month`,e.month):ra(`year`,e.year)}function ga(e){let{hour:t,minute:n,second:r,millisecond:i}=e,a=Oa(t,0,23)||t===24&&n===0&&r===0&&i===0,o=Oa(n,0,59),s=Oa(r,0,59),c=Oa(i,0,999);return a?o?s?c?!1:ra(`millisecond`,i):ra(`second`,r):ra(`minute`,n):ra(`hour`,t)}function B(e){return e===void 0}function _a(e){return typeof e==`number`}function va(e){return typeof e==`number`&&e%1==0}function ya(e){return typeof e==`string`}function ba(e){return Object.prototype.toString.call(e)===`[object Date]`}function xa(){try{return typeof Intl<`u`&&!!Intl.RelativeTimeFormat}catch{return!1}}function Sa(){try{return typeof Intl<`u`&&!!Intl.Locale&&(`weekInfo`in Intl.Locale.prototype||`getWeekInfo`in Intl.Locale.prototype)}catch{return!1}}function Ca(e){return Array.isArray(e)?e:[e]}function wa(e,t,n){if(e.length!==0)return e.reduce((e,r)=>{let i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function Ta(e,t){return t.reduce((t,n)=>(t[n]=e[n],t),{})}function Ea(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Da(e){if(e==null)return null;if(typeof e!=`object`)throw new Or(`Week settings must be an object`);if(!Oa(e.firstDay,1,7)||!Oa(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Oa(e,1,7)))throw new Or(`Invalid week settings`);return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Oa(e,t,n){return va(e)&&e>=t&&e<=n}function ka(e,t){return e-t*Math.floor(e/t)}function Aa(e,t=2){let n=e<0,r;return r=n?`-`+(``+-e).padStart(t,`0`):(``+e).padStart(t,`0`),r}function ja(e){if(!(B(e)||e===null||e===``))return parseInt(e,10)}function Ma(e){if(!(B(e)||e===null||e===``))return parseFloat(e)}function Na(e){if(!(B(e)||e===null||e===``)){let t=parseFloat(`0.`+e)*1e3;return Math.floor(t)}}function Pa(e,t,n=`round`){let r=10**t;switch(n){case`expand`:return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case`trunc`:return Math.trunc(e*r)/r;case`round`:return Math.round(e*r)/r;case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:throw RangeError(`Value rounding ${n} is out of range`)}}function Fa(e){return e%4==0&&(e%100!=0||e%400==0)}function Ia(e){return Fa(e)?366:365}function La(e,t){let n=ka(t-1,12)+1,r=e+(t-n)/12;return n===2?Fa(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Ra(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function za(e,t,n){let r=sa(ia(e,1,t),n);return-r+t-1}function Ba(e,t=4,n=1){let r=za(e,t,n),i=za(e+1,t,n);return(Ia(e)-r+i)/7}function Va(e){return e>99?e:e>z.twoDigitCutoffYear?1900+e:2e3+e}function Ha(e,t,n,r=null){let i=new Date(e),a={hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`};r&&(a.timeZone=r);let o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(n,o).formatToParts(i).find(e=>e.type.toLowerCase()===`timezonename`);return s?s.value:null}function Ua(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);let r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return n*60+i}function Wa(e){let t=Number(e);if(typeof e==`boolean`||e===``||!Number.isFinite(t))throw new Or(`Invalid unit value ${e}`);return t}function Ga(e,t){let n={};for(let r in e)if(Ea(e,r)){let i=e[r];if(i==null)continue;n[t(r)]=Wa(i)}return n}function Ka(e,t){let n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?`+`:`-`;switch(t){case`short`:return`${i}${Aa(n,2)}:${Aa(r,2)}`;case`narrow`:return`${i}${n}${r>0?`:${r}`:``}`;case`techie`:return`${i}${Aa(n,2)}${Aa(r,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function qa(e){return Ta(e,[`hour`,`minute`,`second`,`millisecond`])}const Ja=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Ya=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Xa=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`];function Za(e){switch(e){case`narrow`:return[...Xa];case`short`:return[...Ya];case`long`:return[...Ja];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`];case`2-digit`:return[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`];default:return null}}const Qa=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],$a=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],eo=[`M`,`T`,`W`,`T`,`F`,`S`,`S`];function to(e){switch(e){case`narrow`:return[...eo];case`short`:return[...$a];case`long`:return[...Qa];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`];default:return null}}const no=[`AM`,`PM`],ro=[`Before Christ`,`Anno Domini`],io=[`BC`,`AD`],ao=[`B`,`A`];function oo(e){switch(e){case`narrow`:return[...ao];case`short`:return[...io];case`long`:return[...ro];default:return null}}function so(e){return no[e.hour<12?0:1]}function co(e,t){return to(t)[e.weekday-1]}function lo(e,t){return Za(t)[e.month-1]}function uo(e,t){return oo(t)[e.year<0?0:1]}function fo(e,t,n=`always`,r=!1){let i={years:[`year`,`yr.`],quarters:[`quarter`,`qtr.`],months:[`month`,`mo.`],weeks:[`week`,`wk.`],days:[`day`,`day`,`days`],hours:[`hour`,`hr.`],minutes:[`minute`,`min.`],seconds:[`second`,`sec.`]},a=[`hours`,`minutes`,`seconds`].indexOf(e)===-1;if(n===`auto`&&a){let n=e===`days`;switch(t){case 1:return n?`tomorrow`:`next ${i[e][0]}`;case-1:return n?`yesterday`:`last ${i[e][0]}`;case 0:return n?`today`:`this ${i[e][0]}`;default:}}let o=Object.is(t,-0)||t<0,s=Math.abs(t),c=s===1,l=i[e],u=r?c?l[1]:l[2]||l[1]:c?i[e][0]:e;return o?`${s} ${u} ago`:`in ${s} ${u}`}function po(e,t){let n=``;for(let r of e)r.literal?n+=r.val:n+=t(r.val);return n}const mo={D:Mr,DD:Nr,DDD:Fr,DDDD:Ir,t:Lr,tt:Rr,ttt:zr,tttt:Br,T:Vr,TT:Hr,TTT:Ur,TTTT:Wr,f:Gr,ff:qr,fff:Xr,ffff:Qr,F:Kr,FF:Jr,FFF:Zr,FFFF:$r};var ho=class e{static create(t,n={}){return new e(t,n)}static parseFormat(e){let t=null,n=``,r=!1,i=[];for(let a=0;a<e.length;a++){let o=e.charAt(a);o===`'`?((n.length>0||r)&&i.push({literal:r||/^\s+$/.test(n),val:n===``?`'`:n}),t=null,n=``,r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return mo[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem());let n=this.systemLoc.dtFormatter(e,{...this.opts,...t});return n.format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){let n=this.dtFormatter(e.start,t);return n.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return Aa(e,t);let r={...this.opts};return t>0&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(t,n){let r=this.loc.listingMode()===`en`,i=this.loc.outputCalendar&&this.loc.outputCalendar!==`gregory`,a=(e,n)=>this.loc.extract(t,e,n),o=e=>t.isOffsetFixed&&t.offset===0&&e.allowZ?`Z`:t.isValid?t.zone.formatOffset(t.ts,e.format):``,s=()=>r?so(t):a({hour:`numeric`,hourCycle:`h12`},`dayperiod`),c=(e,n)=>r?lo(t,e):a(n?{month:e}:{month:e,day:`numeric`},`month`),l=(e,n)=>r?co(t,e):a(n?{weekday:e}:{weekday:e,month:`long`,day:`numeric`},`weekday`),u=n=>{let r=e.macroTokenToFormatOpts(n);return r?this.formatWithSystemDefault(t,r):n},d=e=>r?uo(t,e):a({era:e},`era`),f=e=>{switch(e){case`S`:return this.num(t.millisecond);case`u`:case`SSS`:return this.num(t.millisecond,3);case`s`:return this.num(t.second);case`ss`:return this.num(t.second,2);case`uu`:return this.num(Math.floor(t.millisecond/10),2);case`uuu`:return this.num(Math.floor(t.millisecond/100));case`m`:return this.num(t.minute);case`mm`:return this.num(t.minute,2);case`h`:return this.num(t.hour%12==0?12:t.hour%12);case`hh`:return this.num(t.hour%12==0?12:t.hour%12,2);case`H`:return this.num(t.hour);case`HH`:return this.num(t.hour,2);case`Z`:return o({format:`narrow`,allowZ:this.opts.allowZ});case`ZZ`:return o({format:`short`,allowZ:this.opts.allowZ});case`ZZZ`:return o({format:`techie`,allowZ:this.opts.allowZ});case`ZZZZ`:return t.zone.offsetName(t.ts,{format:`short`,locale:this.loc.locale});case`ZZZZZ`:return t.zone.offsetName(t.ts,{format:`long`,locale:this.loc.locale});case`z`:return t.zoneName;case`a`:return s();case`d`:return i?a({day:`numeric`},`day`):this.num(t.day);case`dd`:return i?a({day:`2-digit`},`day`):this.num(t.day,2);case`c`:return this.num(t.weekday);case`ccc`:return l(`short`,!0);case`cccc`:return l(`long`,!0);case`ccccc`:return l(`narrow`,!0);case`E`:return this.num(t.weekday);case`EEE`:return l(`short`,!1);case`EEEE`:return l(`long`,!1);case`EEEEE`:return l(`narrow`,!1);case`L`:return i?a({month:`numeric`,day:`numeric`},`month`):this.num(t.month);case`LL`:return i?a({month:`2-digit`,day:`numeric`},`month`):this.num(t.month,2);case`LLL`:return c(`short`,!0);case`LLLL`:return c(`long`,!0);case`LLLLL`:return c(`narrow`,!0);case`M`:return i?a({month:`numeric`},`month`):this.num(t.month);case`MM`:return i?a({month:`2-digit`},`month`):this.num(t.month,2);case`MMM`:return c(`short`,!1);case`MMMM`:return c(`long`,!1);case`MMMMM`:return c(`narrow`,!1);case`y`:return i?a({year:`numeric`},`year`):this.num(t.year);case`yy`:return i?a({year:`2-digit`},`year`):this.num(t.year.toString().slice(-2),2);case`yyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,4);case`yyyyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,6);case`G`:return d(`short`);case`GG`:return d(`long`);case`GGGGG`:return d(`narrow`);case`kk`:return this.num(t.weekYear.toString().slice(-2),2);case`kkkk`:return this.num(t.weekYear,4);case`W`:return this.num(t.weekNumber);case`WW`:return this.num(t.weekNumber,2);case`n`:return this.num(t.localWeekNumber);case`nn`:return this.num(t.localWeekNumber,2);case`ii`:return this.num(t.localWeekYear.toString().slice(-2),2);case`iiii`:return this.num(t.localWeekYear,4);case`o`:return this.num(t.ordinal);case`ooo`:return this.num(t.ordinal,3);case`q`:return this.num(t.quarter);case`qq`:return this.num(t.quarter,2);case`X`:return this.num(Math.floor(t.ts/1e3));case`x`:return this.num(t.ts);default:return u(e)}};return po(e.parseFormat(n),f)}formatDurationFromString(t,n){let r=this.opts.signMode===`negativeLargestOnly`?-1:1,i=e=>{switch(e[0]){case`S`:return`milliseconds`;case`s`:return`seconds`;case`m`:return`minutes`;case`h`:return`hours`;case`d`:return`days`;case`w`:return`weeks`;case`M`:return`months`;case`y`:return`years`;default:return null}},a=(e,t)=>n=>{let a=i(n);if(a){let i=t.isNegativeDuration&&a!==t.largestUnit?r:1,o;return o=this.opts.signMode===`negativeLargestOnly`&&a!==t.largestUnit?`never`:this.opts.signMode===`all`?`always`:`auto`,this.num(e.get(a)*i,n.length,o)}else return n},o=e.parseFormat(n),s=o.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),c=t.shiftTo(...s.map(i).filter(e=>e)),l={isNegativeDuration:c<0,largestUnit:Object.keys(c.values)[0]};return po(o,a(c,l))}};const go=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _o(...e){let t=e.reduce((e,t)=>e+t.source,``);return RegExp(`^${t}$`)}function vo(...e){return t=>e.reduce(([e,n,r],i)=>{let[a,o,s]=i(t,r);return[{...e,...a},o||n,s]},[{},null,1]).slice(0,2)}function yo(e,...t){if(e==null)return[null,null];for(let[n,r]of t){let t=n.exec(e);if(t)return r(t)}return[null,null]}function bo(...e){return(t,n)=>{let r={},i;for(i=0;i<e.length;i++)r[e[i]]=ja(t[n+i]);return[r,null,n+i]}}const xo=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,So=`(?:${xo.source}?(?:\\[(${go.source})\\])?)?`,Co=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,wo=RegExp(`${Co.source}${So}`),To=RegExp(`(?:[Tt]${wo.source})?`),Eo=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Do=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Oo=/(\d{4})-?(\d{3})/,ko=bo(`weekYear`,`weekNumber`,`weekDay`),Ao=bo(`year`,`ordinal`),jo=/(\d{4})-(\d\d)-(\d\d)/,Mo=RegExp(`${Co.source} ?(?:${xo.source}|(${go.source}))?`),No=RegExp(`(?: ${Mo.source})?`);function Po(e,t,n){let r=e[t];return B(r)?n:ja(r)}function Fo(e,t){let n={year:Po(e,t),month:Po(e,t+1,1),day:Po(e,t+2,1)};return[n,null,t+3]}function Io(e,t){let n={hours:Po(e,t,0),minutes:Po(e,t+1,0),seconds:Po(e,t+2,0),milliseconds:Na(e[t+3])};return[n,null,t+4]}function Lo(e,t){let n=!e[t]&&!e[t+1],r=Ua(e[t+1],e[t+2]),i=n?null:Ii.instance(r);return[{},i,t+3]}function Ro(e,t){let n=e[t]?li.create(e[t]):null;return[{},n,t+1]}const zo=RegExp(`^T?${Co.source}$`),Bo=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vo(e){let[t,n,r,i,a,o,s,c,l]=e,u=t[0]===`-`,d=c&&c[0]===`-`,f=(e,t=!1)=>e!==void 0&&(t||e&&u)?-e:e;return[{years:f(Ma(n)),months:f(Ma(r)),weeks:f(Ma(i)),days:f(Ma(a)),hours:f(Ma(o)),minutes:f(Ma(s)),seconds:f(Ma(c),c===`-0`),milliseconds:f(Na(l),d)}]}const Ho={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Uo(e,t,n,r,i,a,o){let s={year:t.length===2?Va(ja(t)):ja(t),month:Ya.indexOf(n)+1,day:ja(r),hour:ja(i),minute:ja(a)};return o&&(s.second=ja(o)),e&&(s.weekday=e.length>3?Qa.indexOf(e)+1:$a.indexOf(e)+1),s}const Wo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Go(e){let[,t,n,r,i,a,o,s,c,l,u,d]=e,f=Uo(t,i,r,n,a,o,s),p;return p=c?Ho[c]:l?0:Ua(u,d),[f,new Ii(p)]}function Ko(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).trim()}const qo=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Jo=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yo=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Xo(e){let[,t,n,r,i,a,o,s]=e,c=Uo(t,i,r,n,a,o,s);return[c,Ii.utcInstance]}function Zo(e){let[,t,n,r,i,a,o,s]=e,c=Uo(t,s,n,r,i,a,o);return[c,Ii.utcInstance]}const Qo=_o(Eo,To),$o=_o(Do,To),es=_o(Oo,To),ts=_o(wo),ns=vo(Fo,Io,Lo,Ro),rs=vo(ko,Io,Lo,Ro),os=vo(Ao,Io,Lo,Ro),ss=vo(Io,Lo,Ro);function cs(e){return yo(e,[Qo,ns],[$o,rs],[es,os],[ts,ss])}function ls(e){return yo(Ko(e),[Wo,Go])}function us(e){return yo(e,[qo,Xo],[Jo,Xo],[Yo,Zo])}function ds(e){return yo(e,[Bo,Vo])}const fs=vo(Io);function ps(e){return yo(e,[zo,fs])}const ms=_o(jo,No),hs=_o(Mo),gs=vo(Io,Lo,Ro);function _s(e){return yo(e,[ms,ns],[hs,gs])}const vs=`Invalid Duration`,ys={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},bs={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...ys},xs=146097/400,Ss=146097/4800,Cs={years:{quarters:4,months:12,weeks:xs/7,days:xs,hours:xs*24,minutes:xs*24*60,seconds:xs*24*60*60,milliseconds:xs*24*60*60*1e3},quarters:{months:3,weeks:xs/28,days:xs/4,hours:xs*24/4,minutes:xs*24*60/4,seconds:xs*24*60*60/4,milliseconds:xs*24*60*60*1e3/4},months:{weeks:Ss/7,days:Ss,hours:Ss*24,minutes:Ss*24*60,seconds:Ss*24*60*60,milliseconds:Ss*24*60*60*1e3},...ys},ws=[`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],Ts=ws.slice(0).reverse();function Es(e,t,n=!1){let r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new As(r)}function Ds(e,t){let n=t.milliseconds??0;for(let r of Ts.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Os(e,t){let n=Ds(e,t)<0?-1:1;ws.reduceRight((r,i)=>{if(B(t[i]))return r;if(r){let a=t[r]*n,o=e[i][r],s=Math.floor(a/o);t[i]+=s*n,t[r]-=s*o*n}return i},null),ws.reduce((n,r)=>{if(B(t[r]))return n;if(n){let i=t[n]%1;t[n]-=i,t[r]+=i*e[n][r]}return r},null)}function ks(e){let t={};for(let[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}var As=class e{constructor(e){let t=e.conversionAccuracy===`longterm`||!1,n=t?Cs:bs;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||Pi.create(),this.conversionAccuracy=t?`longterm`:`casual`,this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,n){return e.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(typeof t!=`object`||!t)throw new Or(`Duration.fromObject: argument expected to be an object, got ${t===null?`null`:typeof t}`);return new e({values:Ga(t,e.normalizeUnit),loc:Pi.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(_a(t))return e.fromMillis(t);if(e.isDuration(t))return t;if(typeof t==`object`)return e.fromObject(t);throw new Or(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){let[r]=ds(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){let[r]=ps(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new Or(`need to specify a reason the Duration is invalid`);let r=t instanceof ea?t:new ea(t,n);if(z.throwOnInvalid)throw new Tr(r);return new e({invalid:r})}static normalizeUnit(e){let t={year:`years`,years:`years`,quarter:`quarters`,quarters:`quarters`,month:`months`,months:`months`,week:`weeks`,weeks:`weeks`,day:`days`,days:`days`,hour:`hours`,hours:`hours`,minute:`minutes`,minutes:`minutes`,second:`seconds`,seconds:`seconds`,millisecond:`milliseconds`,milliseconds:`milliseconds`}[e&&e.toLowerCase()];if(!t)throw new Dr(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let n={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?ho.create(this.loc,n).formatDurationFromString(this,e):vs}toHuman(e={}){if(!this.isValid)return vs;let t=e.showZeros!==!1,n=ws.map(n=>{let r=this.values[n];return B(r)||r===0&&!t?null:this.loc.numberFormatter({style:`unit`,unitDisplay:`long`,...e,unit:n.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:`conjunction`,style:e.listStyle||`narrow`,...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e=`P`;return this.years!==0&&(e+=this.years+`Y`),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+`M`),this.weeks!==0&&(e+=this.weeks+`W`),this.days!==0&&(e+=this.days+`D`),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+=`T`),this.hours!==0&&(e+=this.hours+`H`),this.minutes!==0&&(e+=this.minutes+`M`),(this.seconds!==0||this.milliseconds!==0)&&(e+=Pa(this.seconds+this.milliseconds/1e3,3)+`S`),e===`P`&&(e+=`T0S`),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:`extended`,...e,includeOffset:!1};let n=H.fromMillis(t,{zone:`UTC`});return n.toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Ds(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t),r={};for(let e of ws)(Ea(n.values,e)||Ea(this.values,e))&&(r[e]=n.get(e)+this.get(e));return Es(this,{values:r},!0)}minus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let n of Object.keys(this.values))t[n]=Wa(e(this.values[n],n));return Es(this,{values:t},!0)}get(t){return this[e.normalizeUnit(t)]}set(t){if(!this.isValid)return this;let n={...this.values,...Ga(t,e.normalizeUnit)};return Es(this,{values:n})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){let i=this.loc.clone({locale:e,numberingSystem:t}),a={loc:i,matrix:r,conversionAccuracy:n};return Es(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Os(this.matrix,e),Es(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=ks(this.normalize().shiftToAll().toObject());return Es(this,{values:e},!0)}shiftTo(...t){if(!this.isValid||t.length===0)return this;t=t.map(t=>e.normalizeUnit(t));let n={},r={},i=this.toObject(),a;for(let e of ws)if(t.indexOf(e)>=0){a=e;let t=0;for(let n in r)t+=this.matrix[n][e]*r[n],r[n]=0;_a(i[e])&&(t+=i[e]);let o=Math.trunc(t);n[e]=o,r[e]=(t*1e3-o*1e3)/1e3}else _a(i[e])&&(r[e]=i[e]);for(let e in r)r[e]!==0&&(n[a]+=e===a?r[e]:r[e]/this.matrix[a][e]);return Os(this.matrix,n),Es(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo(`years`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return Es(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=ks(this.values);return Es(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return e===void 0||e===0?t===void 0||t===0:e===t}for(let n of ws)if(!t(this.values[n],e.values[n]))return!1;return!0}};const js=`Invalid Interval`;function Ms(e,t){return!e||!e.isValid?Ns.invalid(`missing or invalid start`):!t||!t.isValid?Ns.invalid(`missing or invalid end`):t<e?Ns.invalid(`end before start`,`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}var Ns=class e{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new Or(`need to specify a reason the Interval is invalid`);let r=t instanceof ea?t:new ea(t,n);if(z.throwOnInvalid)throw new wr(r);return new e({invalid:r})}static fromDateTimes(t,n){let r=Ic(t),i=Ic(n),a=Ms(r,i);return a??new e({start:r,end:i})}static after(t,n){let r=As.fromDurationLike(n),i=Ic(t);return e.fromDateTimes(i,i.plus(r))}static before(t,n){let r=As.fromDurationLike(n),i=Ic(t);return e.fromDateTimes(i.minus(r),i)}static fromISO(t,n){let[r,i]=(t||``).split(`/`,2);if(r&&i){let t,a;try{t=H.fromISO(r,n),a=t.isValid}catch{a=!1}let o,s;try{o=H.fromISO(i,n),s=o.isValid}catch{s=!1}if(a&&s)return e.fromDateTimes(t,o);if(a){let r=As.fromISO(i,n);if(r.isValid)return e.after(t,r)}else if(s){let t=As.fromISO(r,n);if(t.isValid)return e.before(o,t)}}return e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e=`milliseconds`){return this.isValid?this.toDuration(e).get(e):NaN}count(e=`milliseconds`,t){if(!this.isValid)return NaN;let n=this.start.startOf(e,t),r;return r=t?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:t,end:n}={}){return this.isValid?e.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];let n=t.map(Ic).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:i}=this,a=0;for(;i<this.e;){let t=n[a]||this.e,o=+t>+this.e?this.e:t;r.push(e.fromDateTimes(i,o)),i=o,a+=1}return r}splitBy(t){let n=As.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as(`milliseconds`)===0)return[];let{s:r}=this,i=1,a,o=[];for(;r<this.e;){let t=this.start.plus(n.mapUnits(e=>e*i));a=+t>+this.e?this.e:t,o.push(e.fromDateTimes(r,a)),r=a,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(t){if(!this.isValid)return this;let n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;let n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)}static merge(e){let[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(t){let n=null,r=0,i=[],a=t.map(e=>[{time:e.s,type:`s`},{time:e.e,type:`e`}]),o=Array.prototype.concat(...a),s=o.sort((e,t)=>e.time-t.time);for(let t of s)r+=t.type===`s`?1:-1,r===1?n=t.time:(n&&+n!=+t.time&&i.push(e.fromDateTimes(n,t.time)),n=null);return e.merge(i)}difference(...t){return e.xor([this].concat(t)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:js}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Mr,t={}){return this.isValid?ho.create(this.s.loc.clone(t),e).formatInterval(this):js}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:js}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:js}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:js}toFormat(e,{separator:t=` – `}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:js}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):As.invalid(this.invalidReason)}mapEndpoints(t){return e.fromDateTimes(t(this.s),t(this.e))}},Ps=class{static hasDST(e=z.defaultZone){let t=H.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return li.isValidZone(e)}static normalizeZone(e){return Ri(e,z.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Pi.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Pi.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Pi.create(e)).getWeekendDays().slice()}static months(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||Pi.create(t,n,i)).months(e)}static monthsFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||Pi.create(t,n,i)).months(e,!0)}static weekdays(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Pi.create(t,n,null)).weekdays(e)}static weekdaysFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Pi.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Pi.create(e).meridiems()}static eras(e=`short`,{locale:t=null}={}){return Pi.create(t,null,`gregory`).eras(e)}static features(){return{relative:xa(),localeWeek:Sa()}}};function Fs(e,t){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf(`day`).valueOf(),r=n(t)-n(e);return Math.floor(As.fromMillis(r).as(`days`))}function Is(e,t,n){let r=[[`years`,(e,t)=>t.year-e.year],[`quarters`,(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],[`months`,(e,t)=>t.month-e.month+(t.year-e.year)*12],[`weeks`,(e,t)=>{let n=Fs(e,t);return(n-n%7)/7}],[`days`,Fs]],i={},a=e,o,s;for(let[c,l]of r)n.indexOf(c)>=0&&(o=c,i[c]=l(e,t),s=a.plus(i),s>t?(i[c]--,e=a.plus(i),e>t&&(s=e,i[c]--,e=a.plus(i))):e=s);return[e,i,s,o]}function Ls(e,t,n,r){let[i,a,o,s]=Is(e,t,n),c=t-i,l=n.filter(e=>[`hours`,`minutes`,`seconds`,`milliseconds`].indexOf(e)>=0);l.length===0&&(o<t&&(o=i.plus({[s]:1})),o!==i&&(a[s]=(a[s]||0)+c/(o-i)));let u=As.fromObject(a,r);return l.length>0?As.fromMillis(c,r).shiftTo(...l).plus(u):u}const Rs=`missing Intl.DateTimeFormat.formatToParts support`;function V(e,t=e=>e){return{regex:e,deser:([e])=>t(Hi(e))}}const zs=`\xA0`,Bs=`[ ${zs}]`,Vs=new RegExp(Bs,`g`);function Hs(e){return e.replace(/\./g,`\\.?`).replace(Vs,Bs)}function Us(e){return e.replace(/\./g,``).replace(Vs,` `).toLowerCase()}function Ws(e,t){return e===null?null:{regex:RegExp(e.map(Hs).join(`|`)),deser:([n])=>e.findIndex(e=>Us(n)===Us(e))+t}}function Gs(e,t){return{regex:e,deser:([,e,t])=>Ua(e,t),groups:t}}function Ks(e){return{regex:e,deser:([e])=>e}}function qs(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,`\\$&`)}function Js(e,t){let n=Gi(t),r=Gi(t,`{2}`),i=Gi(t,`{3}`),a=Gi(t,`{4}`),o=Gi(t,`{6}`),s=Gi(t,`{1,2}`),c=Gi(t,`{1,3}`),l=Gi(t,`{1,6}`),u=Gi(t,`{1,9}`),d=Gi(t,`{2,4}`),f=Gi(t,`{4,6}`),p=e=>({regex:RegExp(qs(e.val)),deser:([e])=>e,literal:!0}),m=m=>{if(e.literal)return p(m);switch(m.val){case`G`:return Ws(t.eras(`short`),0);case`GG`:return Ws(t.eras(`long`),0);case`y`:return V(l);case`yy`:return V(d,Va);case`yyyy`:return V(a);case`yyyyy`:return V(f);case`yyyyyy`:return V(o);case`M`:return V(s);case`MM`:return V(r);case`MMM`:return Ws(t.months(`short`,!0),1);case`MMMM`:return Ws(t.months(`long`,!0),1);case`L`:return V(s);case`LL`:return V(r);case`LLL`:return Ws(t.months(`short`,!1),1);case`LLLL`:return Ws(t.months(`long`,!1),1);case`d`:return V(s);case`dd`:return V(r);case`o`:return V(c);case`ooo`:return V(i);case`HH`:return V(r);case`H`:return V(s);case`hh`:return V(r);case`h`:return V(s);case`mm`:return V(r);case`m`:return V(s);case`q`:return V(s);case`qq`:return V(r);case`s`:return V(s);case`ss`:return V(r);case`S`:return V(c);case`SSS`:return V(i);case`u`:return Ks(u);case`uu`:return Ks(s);case`uuu`:return V(n);case`a`:return Ws(t.meridiems(),0);case`kkkk`:return V(a);case`kk`:return V(d,Va);case`W`:return V(s);case`WW`:return V(r);case`E`:case`c`:return V(n);case`EEE`:return Ws(t.weekdays(`short`,!1),1);case`EEEE`:return Ws(t.weekdays(`long`,!1),1);case`ccc`:return Ws(t.weekdays(`short`,!0),1);case`cccc`:return Ws(t.weekdays(`long`,!0),1);case`Z`:case`ZZ`:return Gs(RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case`ZZZ`:return Gs(RegExp(`([+-]${s.source})(${r.source})?`),2);case`z`:return Ks(/[a-z_+-/]{1,256}?/i);case` `:return Ks(/[^\S\n\r]/);default:return p(m)}},h=m(e)||{invalidReason:Rs};return h.token=e,h}const Ys={year:{"2-digit":`yy`,numeric:`yyyyy`},month:{numeric:`M`,"2-digit":`MM`,short:`MMM`,long:`MMMM`},day:{numeric:`d`,"2-digit":`dd`},weekday:{short:`EEE`,long:`EEEE`},dayperiod:`a`,dayPeriod:`a`,hour12:{numeric:`h`,"2-digit":`hh`},hour24:{numeric:`H`,"2-digit":`HH`},minute:{numeric:`m`,"2-digit":`mm`},second:{numeric:`s`,"2-digit":`ss`},timeZoneName:{long:`ZZZZZ`,short:`ZZZ`}};function Xs(e,t,n){let{type:r,value:i}=e;if(r===`literal`){let e=/^\s+$/.test(i);return{literal:!e,val:e?` `:i}}let a=t[r],o=r;r===`hour`&&(o=t.hour12==null?t.hourCycle==null?n.hour12?`hour12`:`hour24`:t.hourCycle===`h11`||t.hourCycle===`h12`?`hour12`:`hour24`:t.hour12?`hour12`:`hour24`);let s=Ys[o];if(typeof s==`object`&&(s=s[a]),s)return{literal:!1,val:s}}function Zs(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,``);return[`^${t}$`,e]}function Qs(e,t,n){let r=e.match(t);if(r){let e={},t=1;for(let i in n)if(Ea(n,i)){let a=n[i],o=a.groups?a.groups+1:1;!a.literal&&a.token&&(e[a.token.val[0]]=a.deser(r.slice(t,t+o))),t+=o}return[r,e]}else return[r,{}]}function $s(e){let t=e=>{switch(e){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:case`H`:return`hour`;case`d`:return`day`;case`o`:return`ordinal`;case`L`:case`M`:return`month`;case`y`:return`year`;case`E`:case`c`:return`weekday`;case`W`:return`weekNumber`;case`k`:return`weekYear`;case`q`:return`quarter`;default:return null}},n=null,r;B(e.z)||(n=li.create(e.z)),B(e.Z)||(n||=new Ii(e.Z),r=e.Z),B(e.q)||(e.M=(e.q-1)*3+1),B(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),B(e.u)||(e.S=Na(e.u));let i=Object.keys(e).reduce((n,r)=>{let i=t(r);return i&&(n[i]=e[r]),n},{});return[i,n,r]}let ec=null;function tc(){return ec||=H.fromMillis(1555555555555),ec}function nc(e,t){if(e.literal)return e;let n=ho.macroTokenToFormatOpts(e.val),r=sc(n,t);return r==null||r.includes(void 0)?e:r}function rc(e,t){return Array.prototype.concat(...e.map(e=>nc(e,t)))}var ic=class{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=rc(ho.parseFormat(t),e),this.units=this.tokens.map(t=>Js(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=Zs(this.units);this.regex=RegExp(e,`i`),this.handlers=t}}explainFromTokens(e){if(this.isValid){let[t,n]=Qs(e,this.regex,this.handlers),[r,i,a]=n?$s(n):[null,null,void 0];if(Ea(n,`a`)&&Ea(n,`H`))throw new Er(`Can't include meridiem when specifying 24-hour format`);return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:i,specificOffset:a}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function ac(e,t,n){let r=new ic(e,n);return r.explainFromTokens(t)}function oc(e,t,n){let{result:r,zone:i,specificOffset:a,invalidReason:o}=ac(e,t,n);return[r,i,a,o]}function sc(e,t){if(!e)return null;let n=ho.create(t,e),r=n.dtFormatter(tc()),i=r.formatToParts(),a=r.resolvedOptions();return i.map(t=>Xs(t,e,a))}const cc=`Invalid DateTime`,lc=864e13;function uc(e){return new ea(`unsupported zone`,`the zone "${e.name}" is not supported`)}function dc(e){return e.weekData===null&&(e.weekData=ca(e.c)),e.weekData}function fc(e){return e.localWeekData===null&&(e.localWeekData=ca(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function pc(e,t){let n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new H({...n,...t,old:n})}function mc(e,t,n){let r=e-t*60*1e3,i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*60*1e3;let a=n.offset(r);return i===a?[r,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function hc(e,t){e+=t*60*1e3;let n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function gc(e,t,n){return mc(Ra(e),t,n)}function _c(e,t){let n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:r,month:i,day:Math.min(e.c.day,La(r,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=As.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as(`milliseconds`),s=Ra(a),[c,l]=mc(s,n,e.zone);return o!==0&&(c+=o,l=e.zone.offset(c)),{ts:c,o:l}}function vc(e,t,n,r,i,a){let{setZone:o,zone:s}=n;if(e&&Object.keys(e).length!==0||t){let r=t||s,i=H.fromObject(e,{...n,zone:r,specificOffset:a});return o?i:i.setZone(s)}else return H.invalid(new ea(`unparsable`,`the input "${i}" can't be parsed as ${r}`))}function yc(e,t,n=!0){return e.isValid?ho.create(Pi.create(`en-US`),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function bc(e,t,n){let r=e.c.year>9999||e.c.year<0,i=``;if(r&&e.c.year>=0&&(i+=`+`),i+=Aa(e.c.year,r?6:4),n===`year`)return i;if(t){if(i+=`-`,i+=Aa(e.c.month),n===`month`)return i;i+=`-`}else if(i+=Aa(e.c.month),n===`month`)return i;return i+=Aa(e.c.day),i}function xc(e,t,n,r,i,a,o){let s=!n||e.c.millisecond!==0||e.c.second!==0,c=``;switch(o){case`day`:case`month`:case`year`:break;default:if(c+=Aa(e.c.hour),o===`hour`)break;if(t){if(c+=`:`,c+=Aa(e.c.minute),o===`minute`)break;s&&(c+=`:`,c+=Aa(e.c.second))}else{if(c+=Aa(e.c.minute),o===`minute`)break;s&&(c+=Aa(e.c.second))}if(o===`second`)break;s&&(!r||e.c.millisecond!==0)&&(c+=`.`,c+=Aa(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?c+=`Z`:e.o<0?(c+=`-`,c+=Aa(Math.trunc(-e.o/60)),c+=`:`,c+=Aa(Math.trunc(-e.o%60))):(c+=`+`,c+=Aa(Math.trunc(e.o/60)),c+=`:`,c+=Aa(Math.trunc(e.o%60)))),a&&(c+=`[`+e.zone.ianaName+`]`),c}const Sc={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Cc={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},wc={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Tc=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`],Ec=[`weekYear`,`weekNumber`,`weekday`,`hour`,`minute`,`second`,`millisecond`],Dc=[`year`,`ordinal`,`hour`,`minute`,`second`,`millisecond`];function Oc(e){let t={year:`year`,years:`year`,month:`month`,months:`month`,day:`day`,days:`day`,hour:`hour`,hours:`hour`,minute:`minute`,minutes:`minute`,quarter:`quarter`,quarters:`quarter`,second:`second`,seconds:`second`,millisecond:`millisecond`,milliseconds:`millisecond`,weekday:`weekday`,weekdays:`weekday`,weeknumber:`weekNumber`,weeksnumber:`weekNumber`,weeknumbers:`weekNumber`,weekyear:`weekYear`,weekyears:`weekYear`,ordinal:`ordinal`}[e.toLowerCase()];if(!t)throw new Dr(e);return t}function kc(e){switch(e.toLowerCase()){case`localweekday`:case`localweekdays`:return`localWeekday`;case`localweeknumber`:case`localweeknumbers`:return`localWeekNumber`;case`localweekyear`:case`localweekyears`:return`localWeekYear`;default:return Oc(e)}}function Ac(e){if(Pc===void 0&&(Pc=z.now()),e.type!==`iana`)return e.offset(Pc);let t=e.name,n=Fc.get(t);return n===void 0&&(n=e.offset(Pc),Fc.set(t,n)),n}function jc(e,t){let n=Ri(t.zone,z.defaultZone);if(!n.isValid)return H.invalid(uc(n));let r=Pi.fromObject(t),i,a;if(B(e.year))i=z.now();else{for(let t of Tc)B(e[t])&&(e[t]=Sc[t]);let t=ha(e)||ga(e);if(t)return H.invalid(t);let r=Ac(n);[i,a]=gc(e,r,n)}return new H({ts:i,zone:n,loc:r,o:a})}function Mc(e,t,n){let r=B(n.round)?!0:n.round,i=B(n.rounding)?`trunc`:n.rounding,a=(e,a)=>{e=Pa(e,r||n.calendary?0:2,n.calendary?`round`:i);let o=t.loc.clone(n).relFormatter(n);return o.format(e,a)},o=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return a(o(n.unit),n.unit);for(let e of n.units){let t=o(e);if(Math.abs(t)>=1)return a(t,e)}return a(e>t?-0:0,n.units[n.units.length-1])}function Nc(e){let t={},n;return e.length>0&&typeof e[e.length-1]==`object`?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}let Pc;const Fc=new Map;var H=class e{constructor(e){let t=e.zone||z.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new ea(`invalid input`):null)||(t.isValid?null:uc(t));this.ts=B(e.ts)?z.now():e.ts;let r=null,i=null;if(!n){let a=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(a)[r,i]=[e.old.c,e.old.o];else{let a=_a(e.o)&&!e.old?e.o:t.offset(this.ts);r=hc(this.ts,a),n=Number.isNaN(r.year)?new ea(`invalid input`):null,r=n?null:r,i=n?null:a}}this._zone=t,this.loc=e.loc||Pi.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}static now(){return new e({})}static local(){let[e,t]=Nc(arguments),[n,r,i,a,o,s,c]=t;return jc({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static utc(){let[e,t]=Nc(arguments),[n,r,i,a,o,s,c]=t;return e.zone=Ii.utcInstance,jc({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static fromJSDate(t,n={}){let r=ba(t)?t.valueOf():NaN;if(Number.isNaN(r))return e.invalid(`invalid input`);let i=Ri(n.zone,z.defaultZone);return i.isValid?new e({ts:r,zone:i,loc:Pi.fromObject(n)}):e.invalid(uc(i))}static fromMillis(t,n={}){if(_a(t))return t<-lc||t>lc?e.invalid(`Timestamp out of range`):new e({ts:t,zone:Ri(n.zone,z.defaultZone),loc:Pi.fromObject(n)});throw new Or(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(_a(t))return new e({ts:t*1e3,zone:Ri(n.zone,z.defaultZone),loc:Pi.fromObject(n)});throw new Or(`fromSeconds requires a numerical input`)}static fromObject(t,n={}){t||={};let r=Ri(n.zone,z.defaultZone);if(!r.isValid)return e.invalid(uc(r));let i=Pi.fromObject(n),a=Ga(t,kc),{minDaysInFirstWeek:o,startOfWeek:s}=fa(a,i),c=z.now(),l=B(n.specificOffset)?r.offset(c):n.specificOffset,u=!B(a.ordinal),d=!B(a.year),f=!B(a.month)||!B(a.day),p=d||f,m=a.weekYear||a.weekNumber;if((p||u)&&m)throw new Er(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(f&&u)throw new Er(`Can't mix ordinal dates with month/day`);let h=m||a.weekday&&!p,g,_,v=hc(c,l);h?(g=Ec,_=Cc,v=ca(v,o,s)):u?(g=Dc,_=wc,v=ua(v)):(g=Tc,_=Sc);let y=!1;for(let e of g){let t=a[e];B(t)?y?a[e]=_[e]:a[e]=v[e]:y=!0}let b=h?pa(a,o,s):u?ma(a):ha(a),x=b||ga(a);if(x)return e.invalid(x);let S=h?la(a,o,s):u?da(a):a,[C,w]=gc(S,l,r),T=new e({ts:C,zone:r,o:w,loc:i});return a.weekday&&p&&t.weekday!==T.weekday?e.invalid(`mismatched weekday`,`you can't specify both a weekday of ${a.weekday} and a date of ${T.toISO()}`):T.isValid?T:e.invalid(T.invalid)}static fromISO(e,t={}){let[n,r]=cs(e);return vc(n,r,t,`ISO 8601`,e)}static fromRFC2822(e,t={}){let[n,r]=ls(e);return vc(n,r,t,`RFC 2822`,e)}static fromHTTP(e,t={}){let[n,r]=us(e);return vc(n,r,t,`HTTP`,t)}static fromFormat(t,n,r={}){if(B(t)||B(n))throw new Or(`fromFormat requires an input string and a format`);let{locale:i=null,numberingSystem:a=null}=r,o=Pi.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[s,c,l,u]=oc(o,t,n);return u?e.invalid(u):vc(s,c,r,`format ${n}`,t,l)}static fromString(t,n,r={}){return e.fromFormat(t,n,r)}static fromSQL(e,t={}){let[n,r]=_s(e);return vc(n,r,t,`SQL`,e)}static invalid(t,n=null){if(!t)throw new Or(`need to specify a reason the DateTime is invalid`);let r=t instanceof ea?t:new ea(t,n);if(z.throwOnInvalid)throw new Cr(r);return new e({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let n=sc(e,Pi.fromObject(t));return n?n.map(e=>e?e.val:null).join(``):null}static expandFormat(e,t={}){let n=rc(ho.parseFormat(e),Pi.fromObject(t));return n.map(e=>e.val).join(``)}static resetCache(){Pc=void 0,Fc.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?dc(this).weekYear:NaN}get weekNumber(){return this.isValid?dc(this).weekNumber:NaN}get weekday(){return this.isValid?dc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?fc(this).weekday:NaN}get localWeekNumber(){return this.isValid?fc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?fc(this).weekYear:NaN}get ordinal(){return this.isValid?ua(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ps.months(`short`,{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ps.months(`long`,{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ps.weekdays(`short`,{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ps.weekdays(`long`,{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:`short`,locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:`long`,locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,t=6e4,n=Ra(this.c),r=this.zone.offset(n-e),i=this.zone.offset(n+e),a=this.zone.offset(n-r*t),o=this.zone.offset(n-i*t);if(a===o)return[this];let s=n-a*t,c=n-o*t,l=hc(s,a),u=hc(c,o);return l.hour===u.hour&&l.minute===u.minute&&l.second===u.second&&l.millisecond===u.millisecond?[pc(this,{ts:s}),pc(this,{ts:c})]:[this]}get isInLeapYear(){return Fa(this.year)}get daysInMonth(){return La(this.year,this.month)}get daysInYear(){return this.isValid?Ia(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ba(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ba(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:n,calendar:r}=ho.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(Ii.instance(e),t)}toLocal(){return this.setZone(z.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Ri(t,z.defaultZone),t.equals(this.zone))return this;if(t.isValid){let e=this.ts;if(n||r){let n=t.offset(this.ts),r=this.toObject();[e]=gc(r,n,t)}return pc(this,{ts:e,zone:t})}else return e.invalid(uc(t))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){let r=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n});return pc(this,{loc:r})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let t=Ga(e,kc),{minDaysInFirstWeek:n,startOfWeek:r}=fa(t,this.loc),i=!B(t.weekYear)||!B(t.weekNumber)||!B(t.weekday),a=!B(t.ordinal),o=!B(t.year),s=!B(t.month)||!B(t.day),c=o||s,l=t.weekYear||t.weekNumber;if((c||a)&&l)throw new Er(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(s&&a)throw new Er(`Can't mix ordinal dates with month/day`);let u;i?u=la({...ca(this.c,n,r),...t},n,r):B(t.ordinal)?(u={...this.toObject(),...t},B(t.day)&&(u.day=Math.min(La(u.year,u.month),u.day))):u=da({...ua(this.c),...t});let[d,f]=gc(u,this.o,this.zone);return pc(this,{ts:d,o:f})}plus(e){if(!this.isValid)return this;let t=As.fromDurationLike(e);return pc(this,_c(this,t))}minus(e){if(!this.isValid)return this;let t=As.fromDurationLike(e).negate();return pc(this,_c(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let n={},r=As.normalizeUnit(e);switch(r){case`years`:n.month=1;case`quarters`:case`months`:n.day=1;case`weeks`:case`days`:n.hour=0;case`hours`:n.minute=0;case`minutes`:n.second=0;case`seconds`:n.millisecond=0;break;case`milliseconds`:break}if(r===`weeks`)if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;if(r===`quarters`){let e=Math.ceil(this.month/3);n.month=(e-1)*3+1}return this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?ho.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):cc}toLocaleString(e=Mr,t={}){return this.isValid?ho.create(this.loc.clone(t),e).formatDateTime(this):cc}toLocaleParts(e={}){return this.isValid?ho.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e=`extended`,suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:i=!1,precision:a=`milliseconds`}={}){if(!this.isValid)return null;a=Oc(a);let o=e===`extended`,s=bc(this,o,a);return Tc.indexOf(a)>=3&&(s+=`T`),s+=xc(this,o,t,n,r,i,a),s}toISODate({format:e=`extended`,precision:t=`day`}={}){return this.isValid?bc(this,e===`extended`,Oc(t)):null}toISOWeekDate(){return yc(this,`kkkk-'W'WW-c`)}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:i=!1,format:a=`extended`,precision:o=`milliseconds`}={}){if(!this.isValid)return null;o=Oc(o);let s=r&&Tc.indexOf(o)>=3?`T`:``;return s+xc(this,a===`extended`,t,e,n,i,o)}toRFC2822(){return yc(this,`EEE, dd LLL yyyy HH:mm:ss ZZZ`,!1)}toHTTP(){return yc(this.toUTC(),`EEE, dd LLL yyyy HH:mm:ss 'GMT'`)}toSQLDate(){return this.isValid?bc(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r=`HH:mm:ss.SSS`;return(t||e)&&(n&&(r+=` `),t?r+=`z`:e&&(r+=`ZZ`)),yc(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():cc}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t=`milliseconds`,n={}){if(!this.isValid||!e.isValid)return As.invalid(`created by diffing an invalid DateTime`);let r={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=Ca(t).map(As.normalizeUnit),a=e.valueOf()>this.valueOf(),o=a?this:e,s=a?e:this,c=Ls(o,s,i,r);return a?c.negate():c}diffNow(t=`milliseconds`,n={}){return this.diff(e.now(),t,n)}until(e){return this.isValid?Ns.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;let r=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,n)<=r&&r<=i.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(t={}){if(!this.isValid)return null;let n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,i=[`years`,`months`,`days`,`hours`,`minutes`,`seconds`],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),Mc(n,this.plus(r),{...t,numeric:`always`,units:i,unit:a})}toRelativeCalendar(t={}){return this.isValid?Mc(t.base||e.fromObject({},{zone:this.zone}),this,{...t,numeric:`auto`,units:[`years`,`months`,`days`],calendary:!0}):null}static min(...t){if(!t.every(e.isDateTime))throw new Or(`min requires all arguments be DateTimes`);return wa(t,e=>e.valueOf(),Math.min)}static max(...t){if(!t.every(e.isDateTime))throw new Or(`max requires all arguments be DateTimes`);return wa(t,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){let{locale:r=null,numberingSystem:i=null}=n,a=Pi.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0});return ac(a,e,t)}static fromStringExplain(t,n,r={}){return e.fromFormatExplain(t,n,r)}static buildFormatParser(e,t={}){let{locale:n=null,numberingSystem:r=null}=t,i=Pi.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new ic(i,e)}static fromFormatParser(t,n,r={}){if(B(t)||B(n))throw new Or(`fromFormatParser requires an input string and a format parser`);let{locale:i=null,numberingSystem:a=null}=r,o=Pi.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!o.equals(n.locale))throw new Or(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);let{result:s,zone:c,specificOffset:l,invalidReason:u}=n.explainFromTokens(t);return u?e.invalid(u):vc(s,c,r,`format ${n.format}`,t,l)}static get DATE_SHORT(){return Mr}static get DATE_MED(){return Nr}static get DATE_MED_WITH_WEEKDAY(){return Pr}static get DATE_FULL(){return Fr}static get DATE_HUGE(){return Ir}static get TIME_SIMPLE(){return Lr}static get TIME_WITH_SECONDS(){return Rr}static get TIME_WITH_SHORT_OFFSET(){return zr}static get TIME_WITH_LONG_OFFSET(){return Br}static get TIME_24_SIMPLE(){return Vr}static get TIME_24_WITH_SECONDS(){return Hr}static get TIME_24_WITH_SHORT_OFFSET(){return Ur}static get TIME_24_WITH_LONG_OFFSET(){return Wr}static get DATETIME_SHORT(){return Gr}static get DATETIME_SHORT_WITH_SECONDS(){return Kr}static get DATETIME_MED(){return qr}static get DATETIME_MED_WITH_SECONDS(){return Jr}static get DATETIME_MED_WITH_WEEKDAY(){return Yr}static get DATETIME_FULL(){return Xr}static get DATETIME_FULL_WITH_SECONDS(){return Zr}static get DATETIME_HUGE(){return Qr}static get DATETIME_HUGE_WITH_SECONDS(){return $r}};function Ic(e){if(H.isDateTime(e))return e;if(e&&e.valueOf&&_a(e.valueOf()))return H.fromJSDate(e);if(e&&typeof e==`object`)return H.fromObject(e);throw new Or(`Unknown datetime argument: ${e}, of type ${typeof e}`)}var Lc=s((exports,t)=>{(function(n,r){typeof exports==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(exports,function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ee=E.prototype;return w.prototype=ee,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach(function(e){ee[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),w.extend=function(e,t){return e.$i||(e(t,E,w),e.$i=!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w})});const Rc=(e,t,n)=>{if(n!==void 0&&e instanceof n||n!==void 0&&typeof n[Symbol.hasInstance]==`function`&&n[Symbol.hasInstance](e))return!0;if(typeof e==`object`&&e){let n=e,r=n.constructor?.name;return r===t}return!1},zc=e=>e instanceof H?!0:typeof e!=`object`||!e||!(`isLuxonDateTime`in e)?!1:e.isLuxonDateTime===!0,Bc=e=>typeof e==`object`&&!!e&&!Array.isArray(e),Vc=e=>{if(!Bc(e))return!1;let t=Object.keys(e);if(t.length===0)return!1;let n=[`year`,`month`,`day`,`ordinal`,`weekYear`,`localWeekYear`,`weekNumber`,`localWeekNumber`,`weekday`,`localWeekday`,`hour`,`minute`,`second`,`millisecond`],r=t.filter(e=>!n.includes(e));return r.length>0?!1:t.every(t=>{let n=e[t];return typeof n==`number`||n===void 0})};var Hc=u(Lc());z.defaultZone=`utc`,z.defaultLocale=`en`,z.defaultWeekSettings={firstDay:7,minimalDays:4,weekend:[6,7]},z.throwOnInvalid=!1;const Uc={"datetime.base":`{{#label}} must be a datetime value`,"datetime.exactly":`{{#label}} must be a datetime exactly equal to {{#limit}}`,"datetime.equals":`{{#label}} must be a datetime equal to {{#limit}}`,"datetime.after":`{{#label}} must be a datetime after {{#limit}}`,"datetime.greater":`{{#label}} must be a datetime after {{#limit}}`,"datetime.before":`{{#label}} must be a datetime before {{#limit}}`,"datetime.less":`{{#label}} must be a datetime before {{#limit}}`,"datetime.afterOrEqual":`{{#label}} must be a datetime after or equal to {{#limit}}`,"datetime.min":`{{#label}} must be a datetime after or equal to {{#limit}}`,"datetime.beforeOrEqual":`{{#label}} must be a datetime before or equal to {{#limit}}`,"datetime.max":`{{#label}} must be a datetime before or equal to {{#limit}}`,"datetime.weekend":`{{#label}} is not a weekend`,"datetime.weekday":`{{#label}} is not a weekday`},Wc=(e,t,n)=>{switch(e=Gc(e),t=Gc(t),n){case`===`:return e.equals(t);case`=`:return e.hasSame(t,`millisecond`);case`>`:return e>t;case`<`:return e<t;case`>=`:return e>=t;case`<=`:return e<=t;default:return!1}},Gc=(e,t)=>{if(zc(e))return e;if(Rc(e,`Date`,Date))return H.fromJSDate(e);if(Rc(e,`Dayjs`,Hc.Dayjs)||Hc.default.isDayjs(e))return H.fromJSDate(e.toDate());if(Vc(e))return H.fromObject(e,{zone:`utc`});if(typeof e==`number`){let t=(0,Hc.default)(e);if(t.isValid())return H.fromJSDate(t.toDate(),{zone:`utc`})}if(typeof e==`string`){if(t){let n=H.fromFormat(e,t,{zone:`utc`});if(n.isValid)return n}let n=[H.fromISO,H.fromRFC2822,H.fromHTTP,H.fromSQL];for(let t of n){let n=t(e,{zone:`utc`});if(n.isValid)return n}let r=(0,Hc.default)(e);if(r.isValid())return H.fromJSDate(r.toDate(),{zone:`utc`})}return!1},Kc=(e,t)=>{let n=Gc(e);if(n){let{schema:e,prefs:r}=t;if(r.convert){let t=n;if(e._flags.setZone)switch(e._flags.setZone){case`utc`:t=t.toUTC();break;case`local`:t=t.toLocal();break;default:t=t.setZone(e._flags.setZone);break}if(e._flags.setLocale&&(t=t.setLocale(e._flags.setLocale)),e._flags.toFormat)if(Array.isArray(e._flags.toFormat)){let n=Array.from(e._flags.toFormat),r=n.shift();t=t[r](...n)}else typeof e._flags.toFormat==`string`&&(t=t.toFormat(e._flags.toFormat));return{value:t}}return{value:n}}return{value:e,errors:[t.error(`datetime.base`,{value:String(e)})]}},qc=function(e){return{type:`datetime`,base:e.any(),coerce:{from:[`string`,`number`,`date`,`object`],method:Kc},rules:{compare:{method:!1,validate(e,t,{limit:n},{name:r,operator:i}){let a=Gc(e),o=Gc(n);if(!a||!o)return t.error(`datetime.base`,{value:zc(e)?e.toLocaleString(H.DATETIME_MED):String(e)});let s=Wc(a,o,i);return s?e:t.error(`datetime.`+r,{limit:o.toLocaleString(H.DATETIME_MED),value:a.toLocaleString(H.DATETIME_MED)})},args:[{name:`limit`,ref:!0,assert:e=>zc(Gc(e)),message:`must be a datetime`}]},exactly:{method(e){return this.$_addRule({name:`exactly`,method:`compare`,args:{limit:e},operator:`===`})}},equals:{method(e){return this.$_addRule({name:`equals`,method:`compare`,args:{limit:e},operator:`=`})}},after:{method(e){return this.$_addRule({name:`after`,method:`compare`,args:{limit:e},operator:`>`})}},greater:{method(e){return this.$_addRule({name:`greater`,method:`compare`,args:{limit:e},operator:`>`})}},before:{method(e){return this.$_addRule({name:`before`,method:`compare`,args:{limit:e},operator:`<`})}},less:{method(e){return this.$_addRule({name:`less`,method:`compare`,args:{limit:e},operator:`<`})}},afterOrEqual:{method(e){return this.$_addRule({name:`afterOrEqual`,method:`compare`,args:{limit:e},operator:`>=`})}},min:{method(e){return this.$_addRule({name:`min`,method:`compare`,args:{limit:e},operator:`>=`})}},beforeOrEqual:{method(e){return this.$_addRule({name:`beforeOrEqual`,method:`compare`,args:{limit:e},operator:`<=`})}},max:{method(e){return this.$_addRule({name:`max`,method:`compare`,args:{limit:e},operator:`<=`})}},weekend:{method(){return this.$_addRule({name:`weekend`})},validate(e,t){let n=Gc(e);return n.isWeekend?e:t.error(`datetime.weekend`,{value:n.toLocaleString(H.DATE_MED)})}},weekday:{method(){return this.$_addRule({name:`weekday`})},validate(e,t){let n=Gc(e);return n.isWeekend?t.error(`datetime.weekday`,{value:n.toLocaleString(H.DATE_MED)}):e}},toUTC:{method(){return this.$_setFlag(`setZone`,`utc`)}},toLocal:{method(){return this.$_setFlag(`setZone`,`local`)}},setZone:{method(e){return this.$_setFlag(`setZone`,e)}},toFormat:{method(e){return this.$_setFlag(`toFormat`,e,{clone:!0})}},toLocalizedString:{method(e){return this.$_setFlag(`toFormat`,[`toLocaleString`,e],{clone:!0})}},toISO:{method(){return this.$_setFlag(`toFormat`,[`toISO`],{clone:!0})}},toISODate:{method(){return this.$_setFlag(`toFormat`,[`toISODate`],{clone:!0})}},toISOWeekDate:{method(){return this.$_setFlag(`toFormat`,[`toISOWeekDate`],{clone:!0})}},toISOTime:{method(){return this.$_setFlag(`toFormat`,[`toISOTime`],{clone:!0})}},toRFC2822:{method(){return this.$_setFlag(`toFormat`,[`toRFC2822`],{clone:!0})}},toHTTP:{method(){return this.$_setFlag(`toFormat`,[`toHTTP`],{clone:!0})}},toSQLDate:{method(){return this.$_setFlag(`toFormat`,[`toSQLDate`],{clone:!0})}},toSQLTime:{method(){return this.$_setFlag(`toFormat`,[`toSQLTime`],{clone:!0})}},toSQL:{method(){return this.$_setFlag(`toFormat`,[`toSQL`],{clone:!0})}},toMillis:{method(){return this.$_setFlag(`toFormat`,[`toMillis`],{clone:!0})}},toSeconds:{method(){return this.$_setFlag(`toFormat`,[`toSeconds`],{clone:!0})}},toUnixInteger:{method(){return this.$_setFlag(`toFormat`,[`toUnixInteger`],{clone:!0})}},toJSON:{method(){return this.$_setFlag(`toFormat`,[`toJSON`],{clone:!0})}},toBSON:{method(){return this.$_setFlag(`toFormat`,[`toBSON`],{clone:!0})}},toObject:{method(){return this.$_setFlag(`toFormat`,[`toObject`,{includeConfig:!1}],{clone:!0})}},toJSDate:{method(){return this.$_setFlag(`toFormat`,[`toJSDate`],{clone:!0})}},toRelative:{method(){return this.$_setFlag(`toFormat`,[`toRelative`],{clone:!0})}},setLocale:{method(e){return this.$_setFlag(`setLocale`,e)}}},messages:Uc}};var Jc={};c(Jc,{default:()=>Jh});function U(){return Vp.apply(null,arguments)}function Yc(e){Vp=e}function Xc(e){return e instanceof Array||Object.prototype.toString.call(e)===`[object Array]`}function Zc(e){return e!=null&&Object.prototype.toString.call(e)===`[object Object]`}function W(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qc(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;for(var t in e)if(W(e,t))return!1;return!0}function $c(e){return e===void 0}function el(e){return typeof e==`number`||Object.prototype.toString.call(e)===`[object Number]`}function tl(e){return e instanceof Date||Object.prototype.toString.call(e)===`[object Date]`}function nl(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function rl(e,t){for(var n in t)W(t,n)&&(e[n]=t[n]);return W(t,`toString`)&&(e.toString=t.toString),W(t,`valueOf`)&&(e.valueOf=t.valueOf),e}function il(e,t,n,r){return fd(e,t,n,r,!0).utc()}function al(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function G(e){return e._pf??=al(),e._pf}function ol(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=G(e),n=Hp.call(t.parsedDateParts,function(e){return e!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function sl(e){var t=il(NaN);return e==null?G(t).userInvalidated=!0:rl(G(t),e),t}function cl(e,t){var n,r,i,a=Up.length;if($c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),$c(t._i)||(e._i=t._i),$c(t._f)||(e._f=t._f),$c(t._l)||(e._l=t._l),$c(t._strict)||(e._strict=t._strict),$c(t._tzm)||(e._tzm=t._tzm),$c(t._isUTC)||(e._isUTC=t._isUTC),$c(t._offset)||(e._offset=t._offset),$c(t._pf)||(e._pf=G(t)),$c(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=Up[n],i=t[r],$c(i)||(e[r]=i);return e}function ll(e){cl(this,e),this._d=new Date(e._d==null?NaN:e._d.getTime()),this.isValid()||(this._d=new Date(NaN)),Wp===!1&&(Wp=!0,U.updateOffset(this),Wp=!1)}function ul(e){return e instanceof ll||e!=null&&e._isAMomentObject!=null}function dl(e){U.suppressDeprecationWarnings===!1&&typeof console<`u`&&console.warn&&console.warn(`Deprecation warning: `+e)}function fl(e,t){var n=!0;return rl(function(){if(U.deprecationHandler!=null&&U.deprecationHandler(null,e),n){var r=[],i,a,o,s=arguments.length;for(a=0;a<s;a++){if(i=``,typeof arguments[a]==`object`){for(o in i+=`
11
- [`+a+`] `,arguments[0])W(arguments[0],o)&&(i+=o+`: `+arguments[0][o]+`, `);i=i.slice(0,-2)}else i=arguments[a];r.push(i)}dl(e+`
12
- Arguments: `+Array.prototype.slice.call(r).join(``)+`
13
- `+Error().stack),n=!1}return t.apply(this,arguments)},t)}function pl(e,t){U.deprecationHandler!=null&&U.deprecationHandler(e,t),Gp[e]||(dl(t),Gp[e]=!0)}function ml(e){return typeof Function<`u`&&e instanceof Function||Object.prototype.toString.call(e)===`[object Function]`}function hl(e){var t,n;for(n in e)W(e,n)&&(t=e[n],ml(t)?this[n]=t:this[`_`+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+`|`+/\d{1,2}/.source)}function gl(e,t){var n=rl({},e),r;for(r in t)W(t,r)&&(Zc(e[r])&&Zc(t[r])?(n[r]={},rl(n[r],e[r]),rl(n[r],t[r])):t[r]==null?delete n[r]:n[r]=t[r]);for(r in e)W(e,r)&&!W(t,r)&&Zc(e[r])&&(n[r]=rl({},n[r]));return n}function _l(e){e!=null&&this.set(e)}function vl(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return ml(r)?r.call(t,n):r}function yl(e,t,n){var r=``+Math.abs(e),i=t-r.length,a=e>=0;return(a?n?`+`:``:`-`)+(10**Math.max(0,i)).toString().substr(1)+r}function K(e,t,n,r){var i=r;typeof r==`string`&&(i=function(){return this[r]()}),e&&(Zp[e]=i),t&&(Zp[t[0]]=function(){return yl(i.apply(this,arguments),t[1],t[2])}),n&&(Zp[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function bl(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,``):e.replace(/\\/g,``)}function xl(e){var t=e.match(Jp),n,r;for(n=0,r=t.length;n<r;n++)Zp[t[n]]?t[n]=Zp[t[n]]:t[n]=bl(t[n]);return function(n){var i=``,a;for(a=0;a<r;a++)i+=ml(t[a])?t[a].call(n,e):t[a];return i}}function Sl(e,t){return e.isValid()?(t=Cl(t,e.localeData()),Xp[t]=Xp[t]||xl(t),Xp[t](e)):e.localeData().invalidDate()}function Cl(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(Yp.lastIndex=0;n>=0&&Yp.test(e);)e=e.replace(Yp,r),Yp.lastIndex=0,--n;return e}function wl(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Jp).map(function(e){return e===`MMMM`||e===`MM`||e===`DD`||e===`dddd`?e.slice(1):e}).join(``),this._longDateFormat[e])}function Tl(){return this._invalidDate}function El(e){return this._ordinal.replace(`%d`,e)}function Dl(e,t,n,r){var i=this._relativeTime[n];return ml(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Ol(e,t){var n=this._relativeTime[e>0?`future`:`past`];return ml(n)?n(t):n.replace(/%s/i,t)}function kl(e){return typeof e==`string`?rm[e]||rm[e.toLowerCase()]:void 0}function Al(e){var t={},n,r;for(r in e)W(e,r)&&(n=kl(r),n&&(t[n]=e[r]));return t}function jl(e){var t=[],n;for(n in e)W(e,n)&&t.push({unit:n,priority:im[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function q(e,t,n){Cm[e]=ml(t)?t:function(e,r){return e&&n?n:t}}function Ml(e,t){return W(Cm,e)?Cm[e](t._strict,t._locale):new RegExp(Nl(e))}function Nl(e){return Pl(e.replace(`\\`,``).replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function Pl(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,`\\$&`)}function Fl(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function J(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Fl(t)),n}function Y(e,t){var n,r=t,i;for(typeof e==`string`&&(e=[e]),el(t)&&(r=function(e,n){n[t]=J(e)}),i=e.length,n=0;n<i;n++)wm[e[n]]=r}function Il(e,t){Y(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function Ll(e,t,n){t!=null&&W(wm,e)&&wm[e](t,n._a,n,e)}function Rl(e){return e%4==0&&e%100!=0||e%400==0}function zl(e){return Rl(e)?366:365}function Bl(){return Rl(this.year())}function Vl(e,t){return function(n){return n==null?Hl(this,e):(Ul(this,e,n),U.updateOffset(this,t),this)}}function Hl(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case`Milliseconds`:return r?n.getUTCMilliseconds():n.getMilliseconds();case`Seconds`:return r?n.getUTCSeconds():n.getSeconds();case`Minutes`:return r?n.getUTCMinutes():n.getMinutes();case`Hours`:return r?n.getUTCHours():n.getHours();case`Date`:return r?n.getUTCDate():n.getDate();case`Day`:return r?n.getUTCDay():n.getDay();case`Month`:return r?n.getUTCMonth():n.getMonth();case`FullYear`:return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ul(e,t,n){var r,i,a,o,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case`Milliseconds`:return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case`Seconds`:return void(i?r.setUTCSeconds(n):r.setSeconds(n));case`Minutes`:return void(i?r.setUTCMinutes(n):r.setMinutes(n));case`Hours`:return void(i?r.setUTCHours(n):r.setHours(n));case`Date`:return void(i?r.setUTCDate(n):r.setDate(n));case`FullYear`:break;default:return}a=n,o=e.month(),s=e.date(),s=s===29&&o===1&&!Rl(a)?28:s,i?r.setUTCFullYear(a,o,s):r.setFullYear(a,o,s)}}function Wl(e){return e=kl(e),ml(this[e])?this[e]():this}function Gl(e,t){if(typeof e==`object`){e=Al(e);var n=jl(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=kl(e),ml(this[e]))return this[e](t);return this}function Kl(e,t){return(e%t+t)%t}function ql(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Kl(t,12);return e+=(t-n)/12,n===1?Rl(e)?29:28:31-n%7%2}function Jl(e,t){return e?Xc(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Rm).test(t)?`format`:`standalone`][e.month()]:Xc(this._months)?this._months:this._months.standalone}function Yl(e,t){return e?Xc(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Rm.test(t)?`format`:`standalone`][e.month()]:Xc(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Xl(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=il([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,``).toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,``).toLocaleLowerCase();return n?t===`MMM`?(i=Fm.call(this._shortMonthsParse,o),i===-1?null:i):(i=Fm.call(this._longMonthsParse,o),i===-1?null:i):t===`MMM`?(i=Fm.call(this._shortMonthsParse,o),i===-1?(i=Fm.call(this._longMonthsParse,o),i===-1?null:i):i):(i=Fm.call(this._longMonthsParse,o),i===-1?(i=Fm.call(this._shortMonthsParse,o),i===-1?null:i):i)}function Zl(e,t,n){var r,i,a;if(this._monthsParseExact)return Xl.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=il([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp(`^`+this.months(i,``).replace(`.`,``)+`$`,`i`),this._shortMonthsParse[r]=RegExp(`^`+this.monthsShort(i,``).replace(`.`,``)+`$`,`i`)),!n&&!this._monthsParse[r]&&(a=`^`+this.months(i,``)+`|^`+this.monthsShort(i,``),this._monthsParse[r]=new RegExp(a.replace(`.`,``),`i`)),n&&t===`MMMM`&&this._longMonthsParse[r].test(e)||n&&t===`MMM`&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function Ql(e,t){if(!e.isValid())return e;if(typeof t==`string`){if(/^\d+$/.test(t))t=J(t);else if(t=e.localeData().monthsParse(t),!el(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,ql(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function $l(e){return e==null?Hl(this,`Month`):(Ql(this,e),U.updateOffset(this,!0),this)}function eu(){return ql(this.year(),this.month())}function tu(e){return this._monthsParseExact?(W(this,`_monthsRegex`)||ru.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(W(this,`_monthsShortRegex`)||(this._monthsShortRegex=zm),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function nu(e){return this._monthsParseExact?(W(this,`_monthsRegex`)||ru.call(this),e?this._monthsStrictRegex:this._monthsRegex):(W(this,`_monthsRegex`)||(this._monthsRegex=Bm),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ru(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i,a,o,s;for(i=0;i<12;i++)a=il([2e3,i]),o=Pl(this.monthsShort(a,``)),s=Pl(this.months(a,``)),t.push(o),n.push(s),r.push(s),r.push(o);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._monthsShortStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function iu(e,t,n,r,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function au(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ou(e,t,n){var r=7+t-n,i=(7+au(e,0,r).getUTCDay()-t)%7;return-i+r-1}function su(e,t,n,r,i){var a=(7+n-r)%7,o=ou(e,r,i),s=1+7*(t-1)+a+o,c,l;return s<=0?(c=e-1,l=zl(c)+s):s>zl(e)?(c=e+1,l=s-zl(e)):(c=e,l=s),{year:c,dayOfYear:l}}function cu(e,t,n){var r=ou(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,a,o;return i<1?(o=e.year()-1,a=i+lu(o,t,n)):i>lu(e.year(),t,n)?(a=i-lu(e.year(),t,n),o=e.year()+1):(o=e.year(),a=i),{week:a,year:o}}function lu(e,t,n){var r=ou(e,t,n),i=ou(e+1,t,n);return(zl(e)-r+i)/7}function uu(e){return cu(e,this._week.dow,this._week.doy).week}function du(){return this._week.dow}function fu(){return this._week.doy}function pu(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,`d`)}function mu(e){var t=cu(this,1,4).week;return e==null?t:this.add((e-t)*7,`d`)}function hu(e,t){return typeof e==`string`?isNaN(e)?(e=t.weekdaysParse(e),typeof e==`number`?e:null):parseInt(e,10):e}function gu(e,t){return typeof e==`string`?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function _u(e,t){return e.slice(t,7).concat(e.slice(0,t))}function vu(e,t){var n=Xc(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?`format`:`standalone`];return e===!0?_u(n,this._week.dow):e?n[e.day()]:n}function yu(e){return e===!0?_u(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function bu(e){return e===!0?_u(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function xu(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=il([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,``).toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,``).toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,``).toLocaleLowerCase();return n?t===`dddd`?(i=Fm.call(this._weekdaysParse,o),i===-1?null:i):t===`ddd`?(i=Fm.call(this._shortWeekdaysParse,o),i===-1?null:i):(i=Fm.call(this._minWeekdaysParse,o),i===-1?null:i):t===`dddd`?(i=Fm.call(this._weekdaysParse,o),i!==-1||(i=Fm.call(this._shortWeekdaysParse,o),i!==-1)?i:(i=Fm.call(this._minWeekdaysParse,o),i===-1?null:i)):t===`ddd`?(i=Fm.call(this._shortWeekdaysParse,o),i!==-1||(i=Fm.call(this._weekdaysParse,o),i!==-1)?i:(i=Fm.call(this._minWeekdaysParse,o),i===-1?null:i)):(i=Fm.call(this._minWeekdaysParse,o),i!==-1||(i=Fm.call(this._weekdaysParse,o),i!==-1)?i:(i=Fm.call(this._shortWeekdaysParse,o),i===-1?null:i))}function Su(e,t,n){var r,i,a;if(this._weekdaysParseExact)return xu.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=il([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp(`^`+this.weekdays(i,``).replace(`.`,`\\.?`)+`$`,`i`),this._shortWeekdaysParse[r]=RegExp(`^`+this.weekdaysShort(i,``).replace(`.`,`\\.?`)+`$`,`i`),this._minWeekdaysParse[r]=RegExp(`^`+this.weekdaysMin(i,``).replace(`.`,`\\.?`)+`$`,`i`)),this._weekdaysParse[r]||(a=`^`+this.weekdays(i,``)+`|^`+this.weekdaysShort(i,``)+`|^`+this.weekdaysMin(i,``),this._weekdaysParse[r]=new RegExp(a.replace(`.`,``),`i`)),n&&t===`dddd`&&this._fullWeekdaysParse[r].test(e)||n&&t===`ddd`&&this._shortWeekdaysParse[r].test(e)||n&&t===`dd`&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function Cu(e){if(!this.isValid())return e==null?NaN:this;var t=Hl(this,`Day`);return e==null?t:(e=hu(e,this.localeData()),this.add(e-t,`d`))}function wu(e){if(!this.isValid())return e==null?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,`d`)}function Tu(e){if(!this.isValid())return e==null?NaN:this;if(e!=null){var t=gu(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Eu(e){return this._weekdaysParseExact?(W(this,`_weekdaysRegex`)||ku.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(W(this,`_weekdaysRegex`)||(this._weekdaysRegex=Gm),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Du(e){return this._weekdaysParseExact?(W(this,`_weekdaysRegex`)||ku.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(W(this,`_weekdaysShortRegex`)||(this._weekdaysShortRegex=Km),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ou(e){return this._weekdaysParseExact?(W(this,`_weekdaysRegex`)||ku.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(W(this,`_weekdaysMinRegex`)||(this._weekdaysMinRegex=qm),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ku(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i=[],a,o,s,c,l;for(a=0;a<7;a++)o=il([2e3,1]).day(a),s=Pl(this.weekdaysMin(o,``)),c=Pl(this.weekdaysShort(o,``)),l=Pl(this.weekdays(o,``)),t.push(s),n.push(c),r.push(l),i.push(s),i.push(c),i.push(l);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=RegExp(`^(`+i.join(`|`)+`)`,`i`),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._weekdaysShortStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._weekdaysMinStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function Au(){return this.hours()%12||12}function ju(){return this.hours()||24}function Mu(e,t){K(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Nu(e,t){return t._meridiemParse}function Pu(e){return(e+``).toLowerCase().charAt(0)===`p`}function Fu(e,t,n){return e>11?n?`pm`:`PM`:n?`am`:`AM`}function Iu(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Lu(e){return e&&e.toLowerCase().replace(`_`,`-`)}function Ru(e){for(var t=0,n,r,i,a;t<e.length;){for(a=Lu(e[t]).split(`-`),n=a.length,r=Lu(e[t+1]),r=r?r.split(`-`):null;n>0;){if(i=Bu(a.slice(0,n).join(`-`)),i)return i;if(r&&r.length>=n&&Iu(a,r)>=n-1)break;n--}t++}return $m}function zu(e){return!!(e&&e.match(`^[^/\\\\]*$`))}function Bu(e){var t=null,n;if(Zm[e]===void 0&&typeof module<`u`&&module&&module.exports&&zu(e))try{t=$m._abbr,n=require,n(`./locale/`+e),Vu(t)}catch{Zm[e]=null}return Zm[e]}function Vu(e,t){var n;return e&&(n=$c(t)?Wu(e):Hu(e,t),n?$m=n:typeof console<`u`&&console.warn&&console.warn(`Locale `+e+` not found. Did you forget to load it?`)),$m._abbr}function Hu(e,t){if(t!==null){var n,r=Xm;if(t.abbr=e,Zm[e]!=null)pl(`defineLocaleOverride`,`use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.`),r=Zm[e]._config;else if(t.parentLocale!=null)if(Zm[t.parentLocale]!=null)r=Zm[t.parentLocale]._config;else if(n=Bu(t.parentLocale),n!=null)r=n._config;else return Qm[t.parentLocale]||(Qm[t.parentLocale]=[]),Qm[t.parentLocale].push({name:e,config:t}),null;return Zm[e]=new _l(gl(r,t)),Qm[e]&&Qm[e].forEach(function(e){Hu(e.name,e.config)}),Vu(e),Zm[e]}else return delete Zm[e],null}function Uu(e,t){if(t!=null){var n,r,i=Xm;Zm[e]!=null&&Zm[e].parentLocale!=null?Zm[e].set(gl(Zm[e]._config,t)):(r=Bu(e),r!=null&&(i=r._config),t=gl(i,t),r??(t.abbr=e),n=new _l(t),n.parentLocale=Zm[e],Zm[e]=n),Vu(e)}else Zm[e]!=null&&(Zm[e].parentLocale==null?Zm[e]!=null&&delete Zm[e]:(Zm[e]=Zm[e].parentLocale,e===Vu()&&Vu(e)));return Zm[e]}function Wu(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return $m;if(!Xc(e)){if(t=Bu(e),t)return t;e=[e]}return Ru(e)}function Gu(){return Kp(Zm)}function Ku(e){var t,n=e._a;return n&&G(e).overflow===-2&&(t=n[Em]<0||n[Em]>11?Em:n[Dm]<1||n[Dm]>ql(n[Tm],n[Em])?Dm:n[Om]<0||n[Om]>24||n[Om]===24&&(n[km]!==0||n[Am]!==0||n[jm]!==0)?Om:n[km]<0||n[km]>59?km:n[Am]<0||n[Am]>59?Am:n[jm]<0||n[jm]>999?jm:-1,G(e)._overflowDayOfYear&&(t<Tm||t>Dm)&&(t=Dm),G(e)._overflowWeeks&&t===-1&&(t=Mm),G(e)._overflowWeekday&&t===-1&&(t=Nm),G(e).overflow=t),e}function qu(e){var t,n,r=e._i,i=eh.exec(r)||th.exec(r),a,o,s,c,l=rh.length,u=ih.length;if(i){for(G(e).iso=!0,t=0,n=l;t<n;t++)if(rh[t][1].exec(i[1])){o=rh[t][0],a=rh[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(i[3]){for(t=0,n=u;t<n;t++)if(ih[t][1].exec(i[3])){s=(i[2]||` `)+ih[t][0];break}if(s==null){e._isValid=!1;return}}if(!a&&s!=null){e._isValid=!1;return}if(i[4])if(nh.exec(i[4]))c=`Z`;else{e._isValid=!1;return}e._f=o+(s||``)+(c||``),ad(e)}else e._isValid=!1}function Ju(e,t,n,r,i,a){var o=[Yu(e),Lm.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Yu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Xu(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).replace(/^\s\s*/,``).replace(/\s\s*$/,``)}function Zu(e,t,n){if(e){var r=Um.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return G(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Qu(e,t,n){if(e)return sh[e];if(t)return 0;var r=parseInt(n,10),i=r%100,a=(r-i)/100;return a*60+i}function $u(e){var t=oh.exec(Xu(e._i)),n;if(t){if(n=Ju(t[4],t[3],t[2],t[5],t[6],t[7]),!Zu(t[1],n,e))return;e._a=n,e._tzm=Qu(t[8],t[9],t[10]),e._d=au.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),G(e).rfc2822=!0}else e._isValid=!1}function ed(e){var t=ah.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(qu(e),e._isValid===!1)delete e._isValid;else return;if($u(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:U.createFromInputFallback(e)}function td(e,t,n){return e??t??n}function nd(e){var t=new Date(U.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function rd(e){var t,n,r=[],i,a,o;if(!e._d){for(i=nd(e),e._w&&e._a[Dm]==null&&e._a[Em]==null&&id(e),e._dayOfYear!=null&&(o=td(e._a[Tm],i[Tm]),(e._dayOfYear>zl(o)||e._dayOfYear===0)&&(G(e)._overflowDayOfYear=!0),n=au(o,0,e._dayOfYear),e._a[Em]=n.getUTCMonth(),e._a[Dm]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Om]===24&&e._a[km]===0&&e._a[Am]===0&&e._a[jm]===0&&(e._nextDay=!0,e._a[Om]=0),e._d=(e._useUTC?au:iu).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Om]=24),e._w&&e._w.d!==void 0&&e._w.d!==a&&(G(e).weekdayMismatch=!0)}}function id(e){var t,n,r,i,a,o,s,c,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,o=4,n=td(t.GG,e._a[Tm],cu(pd(),1,4).year),r=td(t.W,1),i=td(t.E,1),(i<1||i>7)&&(c=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,l=cu(pd(),a,o),n=td(t.gg,e._a[Tm],l.year),r=td(t.w,l.week),t.d==null?t.e==null?i=a:(i=t.e+a,(t.e<0||t.e>6)&&(c=!0)):(i=t.d,(i<0||i>6)&&(c=!0))),r<1||r>lu(n,a,o)?G(e)._overflowWeeks=!0:c==null?(s=su(n,r,i,a,o),e._a[Tm]=s.year,e._dayOfYear=s.dayOfYear):G(e)._overflowWeekday=!0}function ad(e){if(e._f===U.ISO_8601){qu(e);return}if(e._f===U.RFC_2822){$u(e);return}e._a=[],G(e).empty=!0;var t=``+e._i,n,r,i,a,o,s=t.length,c=0,l,u;for(i=Cl(e._f,e._locale).match(Jp)||[],u=i.length,n=0;n<u;n++)a=i[n],r=(t.match(Ml(a,e))||[])[0],r&&(o=t.substr(0,t.indexOf(r)),o.length>0&&G(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),c+=r.length),Zp[a]?(r?G(e).empty=!1:G(e).unusedTokens.push(a),Ll(a,r,e)):e._strict&&!r&&G(e).unusedTokens.push(a);G(e).charsLeftOver=s-c,t.length>0&&G(e).unusedInput.push(t),e._a[Om]<=12&&G(e).bigHour===!0&&e._a[Om]>0&&(G(e).bigHour=void 0),G(e).parsedDateParts=e._a.slice(0),G(e).meridiem=e._meridiem,e._a[Om]=od(e._locale,e._a[Om],e._meridiem),l=G(e).era,l!==null&&(e._a[Tm]=e._locale.erasConvertYear(l,e._a[Tm])),rd(e),Ku(e)}function od(e,t,n){var r;return n==null?t:e.meridiemHour==null?e.isPM==null?t:(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0),t):e.meridiemHour(t,n)}function sd(e){var t,n,r,i,a,o,s=!1,c=e._f.length;if(c===0){G(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<c;i++)a=0,o=!1,t=cl({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],ad(t),ol(t)&&(o=!0),a+=G(t).charsLeftOver,a+=G(t).unusedTokens.length*10,G(t).score=a,s?a<r&&(r=a,n=t):(r==null||a<r||o)&&(r=a,n=t,o&&(s=!0));rl(e,n||t)}function cd(e){if(!e._d){var t=Al(e._i),n=t.day===void 0?t.date:t.day;e._a=nl([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),rd(e)}}function ld(e){var t=new ll(Ku(ud(e)));return t._nextDay&&(t.add(1,`d`),t._nextDay=void 0),t}function ud(e){var t=e._i,n=e._f;return e._locale=e._locale||Wu(e._l),t===null||n===void 0&&t===``?sl({nullInput:!0}):(typeof t==`string`&&(e._i=t=e._locale.preparse(t)),ul(t)?new ll(Ku(t)):(tl(t)?e._d=t:Xc(n)?sd(e):n?ad(e):dd(e),ol(e)||(e._d=null),e))}function dd(e){var t=e._i;$c(t)?e._d=new Date(U.now()):tl(t)?e._d=new Date(t.valueOf()):typeof t==`string`?ed(e):Xc(t)?(e._a=nl(t.slice(0),function(e){return parseInt(e,10)}),rd(e)):Zc(t)?cd(e):el(t)?e._d=new Date(t):U.createFromInputFallback(e)}function fd(e,t,n,r,i){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Zc(e)&&Qc(e)||Xc(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,ld(a)}function pd(e,t,n,r){return fd(e,t,n,r,!1)}function md(e,t){var n,r;if(t.length===1&&Xc(t[0])&&(t=t[0]),!t.length)return pd();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function hd(){var e=[].slice.call(arguments,0);return md(`isBefore`,e)}function gd(){var e=[].slice.call(arguments,0);return md(`isAfter`,e)}function _d(e){var t,n=!1,r,i=dh.length;for(t in e)if(W(e,t)&&!(Fm.call(dh,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[dh[r]]){if(n)return!1;parseFloat(e[dh[r]])!==J(e[dh[r]])&&(n=!0)}return!0}function vd(){return this._isValid}function yd(){return zd(NaN)}function bd(e){var t=Al(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=_d(t),this._milliseconds=+u+l*1e3+c*6e4+s*1e3*60*60,this._days=+o+a*7,this._months=+i+r*3+n*12,this._data={},this._locale=Wu(),this._bubble()}function xd(e){return e instanceof bd}function Sd(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Cd(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&J(e[o])!==J(t[o]))&&a++;return a+i}function wd(e,t){K(e,0,0,function(){var e=this.utcOffset(),n=`+`;return e<0&&(e=-e,n=`-`),n+yl(~~(e/60),2)+t+yl(~~e%60,2)})}function Td(e,t){var n=(t||``).match(e),r,i,a;return n===null?null:(r=n[n.length-1]||[],i=(r+``).match(fh)||[`-`,0,0],a=+(i[1]*60)+J(i[2]),a===0?0:i[0]===`+`?a:-a)}function Ed(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(ul(e)||tl(e)?e.valueOf():pd(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),U.updateOffset(n,!1),n):pd(e).local()}function Dd(e){return-Math.round(e._d.getTimezoneOffset())}function Od(e,t,n){var r=this._offset||0,i;if(!this.isValid())return e==null?NaN:this;if(e!=null){if(typeof e==`string`){if(e=Td(vm,e),e===null)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Dd(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,`m`),r!==e&&(!t||this._changeInProgress?Wd(this,zd(e-r,`m`),1,!1):this._changeInProgress||(this._changeInProgress=!0,U.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Dd(this)}function kd(e,t){return e==null?-this.utcOffset():(typeof e!=`string`&&(e=-e),this.utcOffset(e,t),this)}function Ad(e){return this.utcOffset(0,e)}function jd(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dd(this),`m`)),this}function Md(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i==`string`){var e=Td(_m,this._i);e==null?this.utcOffset(0,!0):this.utcOffset(e)}return this}function Nd(e){return this.isValid()?(e=e?pd(e).utcOffset():0,(this.utcOffset()-e)%60==0):!1}function Pd(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Fd(){if(!$c(this._isDSTShifted))return this._isDSTShifted;var e={},t;return cl(e,this),e=ud(e),e._a?(t=e._isUTC?il(e._a):pd(e._a),this._isDSTShifted=this.isValid()&&Cd(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Id(){return this.isValid()?!this._isUTC:!1}function Ld(){return this.isValid()?this._isUTC:!1}function Rd(){return this.isValid()?this._isUTC&&this._offset===0:!1}function zd(e,t){var n=e,r=null,i,a,o;return xd(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:el(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=ph.exec(e))?(i=r[1]===`-`?-1:1,n={y:0,d:J(r[Dm])*i,h:J(r[Om])*i,m:J(r[km])*i,s:J(r[Am])*i,ms:J(Sd(r[jm]*1e3))*i}):(r=mh.exec(e))?(i=r[1]===`-`?-1:1,n={y:Bd(r[2],i),M:Bd(r[3],i),w:Bd(r[4],i),d:Bd(r[5],i),h:Bd(r[6],i),m:Bd(r[7],i),s:Bd(r[8],i)}):n==null?n={}:typeof n==`object`&&(`from`in n||`to`in n)&&(o=Hd(pd(n.from),pd(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),a=new bd(n),xd(e)&&W(e,`_locale`)&&(a._locale=e._locale),xd(e)&&W(e,`_isValid`)&&(a._isValid=e._isValid),a}function Bd(e,t){var n=e&&parseFloat(e.replace(`,`,`.`));return(isNaN(n)?0:n)*t}function Vd(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,`M`).isAfter(t)&&--n.months,n.milliseconds=t-+e.clone().add(n.months,`M`),n}function Hd(e,t){var n;return e.isValid()&&t.isValid()?(t=Ed(t,e),e.isBefore(t)?n=Vd(e,t):(n=Vd(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ud(e,t){return function(n,r){var i,a;return r!==null&&!isNaN(+r)&&(pl(t,`moment().`+t+`(period, number) is deprecated. Please use moment().`+t+`(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.`),a=n,n=r,r=a),i=zd(n,r),Wd(this,i,e),this}}function Wd(e,t,n,r){var i=t._milliseconds,a=Sd(t._days),o=Sd(t._months);e.isValid()&&(r??=!0,o&&Ql(e,Hl(e,`Month`)+o*n),a&&Ul(e,`Date`,Hl(e,`Date`)+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&U.updateOffset(e,a||o))}function Gd(e){return typeof e==`string`||e instanceof String}function Kd(e){return ul(e)||tl(e)||Gd(e)||el(e)||Jd(e)||qd(e)||e==null}function qd(e){var t=Zc(e)&&!Qc(e),n=!1,r=[`years`,`year`,`y`,`months`,`month`,`M`,`days`,`day`,`d`,`dates`,`date`,`D`,`hours`,`hour`,`h`,`minutes`,`minute`,`m`,`seconds`,`second`,`s`,`milliseconds`,`millisecond`,`ms`],i,a,o=r.length;for(i=0;i<o;i+=1)a=r[i],n||=W(e,a);return t&&n}function Jd(e){var t=Xc(e),n=!1;return t&&(n=e.filter(function(t){return!el(t)&&Gd(e)}).length===0),t&&n}function Yd(e){var t=Zc(e)&&!Qc(e),n=!1,r=[`sameDay`,`nextDay`,`lastDay`,`nextWeek`,`lastWeek`,`sameElse`],i,a;for(i=0;i<r.length;i+=1)a=r[i],n||=W(e,a);return t&&n}function Xd(e,t){var n=e.diff(t,`days`,!0);return n<-6?`sameElse`:n<-1?`lastWeek`:n<0?`lastDay`:n<1?`sameDay`:n<2?`nextDay`:n<7?`nextWeek`:`sameElse`}function Zd(e,t){arguments.length===1&&(arguments[0]?Kd(arguments[0])?(e=arguments[0],t=void 0):Yd(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||pd(),r=Ed(n,this).startOf(`day`),i=U.calendarFormat(this,r)||`sameElse`,a=t&&(ml(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,pd(n)))}function Qd(){return new ll(this)}function $d(e,t){var n=ul(e)?e:pd(e);return this.isValid()&&n.isValid()?(t=kl(t)||`millisecond`,t===`millisecond`?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function ef(e,t){var n=ul(e)?e:pd(e);return this.isValid()&&n.isValid()?(t=kl(t)||`millisecond`,t===`millisecond`?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function tf(e,t,n,r){var i=ul(e)?e:pd(e),a=ul(t)?t:pd(t);return this.isValid()&&i.isValid()&&a.isValid()?(r||=`()`,(r[0]===`(`?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===`)`?this.isBefore(a,n):!this.isAfter(a,n))):!1}function nf(e,t){var n=ul(e)?e:pd(e),r;return this.isValid()&&n.isValid()?(t=kl(t)||`millisecond`,t===`millisecond`?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function rf(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function af(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function sf(e,t,n){var r,i,a;if(!this.isValid()||(r=Ed(e,this),!r.isValid()))return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=kl(t),t){case`year`:a=cf(this,r)/12;break;case`month`:a=cf(this,r);break;case`quarter`:a=cf(this,r)/3;break;case`second`:a=(this-r)/1e3;break;case`minute`:a=(this-r)/6e4;break;case`hour`:a=(this-r)/36e5;break;case`day`:a=(this-r-i)/864e5;break;case`week`:a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:Fl(a)}function cf(e,t){if(e.date()<t.date())return-cf(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,`months`),i,a;return t-r<0?(i=e.clone().add(n-1,`months`),a=(t-r)/(r-i)):(i=e.clone().add(n+1,`months`),a=(t-r)/(i-r)),-(n+a)||0}function lf(){return this.clone().locale(`en`).format(`ddd MMM DD YYYY HH:mm:ss [GMT]ZZ`)}function uf(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Sl(n,t?`YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYYYY-MM-DD[T]HH:mm:ss.SSSZ`):ml(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace(`Z`,Sl(n,`Z`)):Sl(n,t?`YYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYY-MM-DD[T]HH:mm:ss.SSSZ`)}function df(){if(!this.isValid())return`moment.invalid(/* `+this._i+` */)`;var e=`moment`,t=``,n,r,i,a;return this.isLocal()||(e=this.utcOffset()===0?`moment.utc`:`moment.parseZone`,t=`Z`),n=`[`+e+`("]`,r=0<=this.year()&&this.year()<=9999?`YYYY`:`YYYYYY`,i=`-MM-DD[T]HH:mm:ss.SSS`,a=t+`[")]`,this.format(n+r+i+a)}function ff(e){e||=this.isUtc()?U.defaultFormatUtc:U.defaultFormat;var t=Sl(this,e);return this.localeData().postformat(t)}function pf(e,t){return this.isValid()&&(ul(e)&&e.isValid()||pd(e).isValid())?zd({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mf(e){return this.from(pd(),e)}function hf(e,t){return this.isValid()&&(ul(e)&&e.isValid()||pd(e).isValid())?zd({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gf(e){return this.to(pd(),e)}function _f(e){var t;return e===void 0?this._locale._abbr:(t=Wu(e),t!=null&&(this._locale=t),this)}function vf(){return this._locale}function yf(e,t){return(e%t+t)%t}function bf(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-xh:new Date(e,t,n).valueOf()}function xf(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-xh:Date.UTC(e,t,n)}function Sf(e){var t,n;if(e=kl(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?xf:bf,e){case`year`:t=n(this.year(),0,1);break;case`quarter`:t=n(this.year(),this.month()-this.month()%3,1);break;case`month`:t=n(this.year(),this.month(),1);break;case`week`:t=n(this.year(),this.month(),this.date()-this.weekday());break;case`isoWeek`:t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case`day`:case`date`:t=n(this.year(),this.month(),this.date());break;case`hour`:t=this._d.valueOf(),t-=yf(t+(this._isUTC?0:this.utcOffset()*yh),bh);break;case`minute`:t=this._d.valueOf(),t-=yf(t,yh);break;case`second`:t=this._d.valueOf(),t-=yf(t,vh);break}return this._d.setTime(t),U.updateOffset(this,!0),this}function Cf(e){var t,n;if(e=kl(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?xf:bf,e){case`year`:t=n(this.year()+1,0,1)-1;break;case`quarter`:t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case`month`:t=n(this.year(),this.month()+1,1)-1;break;case`week`:t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case`isoWeek`:t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case`day`:case`date`:t=n(this.year(),this.month(),this.date()+1)-1;break;case`hour`:t=this._d.valueOf(),t+=bh-yf(t+(this._isUTC?0:this.utcOffset()*yh),bh)-1;break;case`minute`:t=this._d.valueOf(),t+=yh-yf(t,yh)-1;break;case`second`:t=this._d.valueOf(),t+=vh-yf(t,vh)-1;break}return this._d.setTime(t),U.updateOffset(this,!0),this}function wf(){return this._d.valueOf()-(this._offset||0)*6e4}function Tf(){return Math.floor(this.valueOf()/1e3)}function Ef(){return new Date(this.valueOf())}function Df(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Of(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function kf(){return this.isValid()?this.toISOString():null}function Af(){return ol(this)}function jf(){return rl({},G(this))}function Mf(){return G(this).overflow}function Nf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Pf(e,t){var n,r,i,a=this._eras||Wu(`en`)._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case`string`:i=U(a[n].since).startOf(`day`),a[n].since=i.valueOf();break}switch(typeof a[n].until){case`undefined`:a[n].until=1/0;break;case`string`:i=U(a[n].until).startOf(`day`).valueOf(),a[n].until=i.valueOf();break}}return a}function Ff(e,t,n){var r,i,a=this.eras(),o,s,c;for(e=e.toUpperCase(),r=0,i=a.length;r<i;++r)if(o=a[r].name.toUpperCase(),s=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),n)switch(t){case`N`:case`NN`:case`NNN`:if(s===e)return a[r];break;case`NNNN`:if(o===e)return a[r];break;case`NNNNN`:if(c===e)return a[r];break}else if([o,s,c].indexOf(e)>=0)return a[r]}function If(e,t){var n=e.since<=e.until?1:-1;return t===void 0?U(e.since).year():U(e.since).year()+(t-e.offset)*n}function Lf(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return``}function Rf(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return``}function zf(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return``}function Bf(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf(`day`).valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-U(i[e].since).year())*n+i[e].offset;return this.year()}function Vf(e){return W(this,`_erasNameRegex`)||Jf.call(this),e?this._erasNameRegex:this._erasRegex}function Hf(e){return W(this,`_erasAbbrRegex`)||Jf.call(this),e?this._erasAbbrRegex:this._erasRegex}function Uf(e){return W(this,`_erasNarrowRegex`)||Jf.call(this),e?this._erasNarrowRegex:this._erasRegex}function Wf(e,t){return t.erasAbbrRegex(e)}function Gf(e,t){return t.erasNameRegex(e)}function Kf(e,t){return t.erasNarrowRegex(e)}function qf(e,t){return t._eraYearOrdinalRegex||hm}function Jf(){var e=[],t=[],n=[],r=[],i,a,o,s,c,l=this.eras();for(i=0,a=l.length;i<a;++i)o=Pl(l[i].name),s=Pl(l[i].abbr),c=Pl(l[i].narrow),t.push(o),e.push(s),n.push(c),r.push(o),r.push(s),r.push(c);this._erasRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._erasNameRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`),this._erasAbbrRegex=RegExp(`^(`+e.join(`|`)+`)`,`i`),this._erasNarrowRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`)}function Yf(e,t){K(0,[e,e.length],0,t)}function Xf(e){return np.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Zf(e){return np.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Qf(){return lu(this.year(),1,4)}function $f(){return lu(this.isoWeekYear(),1,4)}function ep(){var e=this.localeData()._week;return lu(this.year(),e.dow,e.doy)}function tp(){var e=this.localeData()._week;return lu(this.weekYear(),e.dow,e.doy)}function np(e,t,n,r,i){var a;return e==null?cu(this,r,i).year:(a=lu(e,r,i),t>a&&(t=a),rp.call(this,e,t,n,r,i))}function rp(e,t,n,r,i){var a=su(e,t,n,r,i),o=au(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function ip(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}function ap(e){var t=Math.round((this.clone().startOf(`day`)-this.clone().startOf(`year`))/864e5)+1;return e==null?t:this.add(e-t,`d`)}function op(e,t){t[jm]=J((`0.`+e)*1e3)}function sp(){return this._isUTC?`UTC`:``}function cp(){return this._isUTC?`Coordinated Universal Time`:``}function lp(e){return pd(e*1e3)}function up(){return pd.apply(null,arguments).parseZone()}function dp(e){return e}function fp(e,t,n,r){var i=Wu(),a=il().set(r,t);return i[n](a,e)}function pp(e,t,n){if(el(e)&&(t=e,e=void 0),e||=``,t!=null)return fp(e,t,n,`month`);var r,i=[];for(r=0;r<12;r++)i[r]=fp(e,r,n,`month`);return i}function mp(e,t,n,r){typeof e==`boolean`?(el(t)&&(n=t,t=void 0),t||=``):(t=e,n=t,e=!1,el(t)&&(n=t,t=void 0),t||=``);var i=Wu(),a=e?i._week.dow:0,o,s=[];if(n!=null)return fp(t,(n+a)%7,r,`day`);for(o=0;o<7;o++)s[o]=fp(t,(o+a)%7,r,`day`);return s}function hp(e,t){return pp(e,t,`months`)}function gp(e,t){return pp(e,t,`monthsShort`)}function _p(e,t,n){return mp(e,t,n,`weekdays`)}function vp(e,t,n){return mp(e,t,n,`weekdaysShort`)}function yp(e,t,n){return mp(e,t,n,`weekdaysMin`)}function bp(){var e=this._data;return this._milliseconds=Dh(this._milliseconds),this._days=Dh(this._days),this._months=Dh(this._months),e.milliseconds=Dh(e.milliseconds),e.seconds=Dh(e.seconds),e.minutes=Dh(e.minutes),e.hours=Dh(e.hours),e.months=Dh(e.months),e.years=Dh(e.years),this}function xp(e,t,n,r){var i=zd(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Sp(e,t){return xp(this,e,t,1)}function Cp(e,t){return xp(this,e,t,-1)}function wp(e){return e<0?Math.floor(e):Math.ceil(e)}function Tp(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,a,o,s,c;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=wp(Dp(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=Fl(e/1e3),r.seconds=i%60,a=Fl(i/60),r.minutes=a%60,o=Fl(a/60),r.hours=o%24,t+=Fl(o/24),c=Fl(Ep(t)),n+=c,t-=wp(Dp(c)),s=Fl(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function Ep(e){return e*4800/146097}function Dp(e){return e*146097/4800}function Op(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=kl(e),e===`month`||e===`quarter`||e===`year`)switch(t=this._days+r/864e5,n=this._months+Ep(t),e){case`month`:return n;case`quarter`:return n/3;case`year`:return n/12}else switch(t=this._days+Math.round(Dp(this._months)),e){case`week`:return t/7+r/6048e5;case`day`:return t+r/864e5;case`hour`:return t*24+r/36e5;case`minute`:return t*1440+r/6e4;case`second`:return t*86400+r/1e3;case`millisecond`:return Math.floor(t*864e5)+r;default:throw Error(`Unknown unit `+e)}}function kp(e){return function(){return this.as(e)}}function Ap(){return zd(this)}function jp(e){return e=kl(e),this.isValid()?this[e+`s`]():NaN}function Mp(e){return function(){return this.isValid()?this._data[e]:NaN}}function Np(){return Fl(this.days()/7)}function Pp(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Fp(e,t,n,r){var i=zd(e).abs(),a=Gh(i.as(`s`)),o=Gh(i.as(`m`)),s=Gh(i.as(`h`)),c=Gh(i.as(`d`)),l=Gh(i.as(`M`)),u=Gh(i.as(`w`)),d=Gh(i.as(`y`)),f=a<=n.ss&&[`s`,a]||a<n.s&&[`ss`,a]||o<=1&&[`m`]||o<n.m&&[`mm`,o]||s<=1&&[`h`]||s<n.h&&[`hh`,s]||c<=1&&[`d`]||c<n.d&&[`dd`,c];return n.w!=null&&(f=f||u<=1&&[`w`]||u<n.w&&[`ww`,u]),f=f||l<=1&&[`M`]||l<n.M&&[`MM`,l]||d<=1&&[`y`]||[`yy`,d],f[2]=t,f[3]=+e>0,f[4]=r,Pp.apply(null,f)}function Ip(e){return e===void 0?Gh:typeof e==`function`?(Gh=e,!0):!1}function Lp(e,t){return Kh[e]===void 0?!1:t===void 0?Kh[e]:(Kh[e]=t,e===`s`&&(Kh.ss=t-1),!0)}function Rp(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Kh,i,a;return typeof e==`object`&&(t=e,e=!1),typeof e==`boolean`&&(n=e),typeof t==`object`&&(r=Object.assign({},Kh,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),a=Fp(this,!n,r,i),n&&(a=i.pastFuture(+this,a)),i.postformat(a)}function zp(e){return(e>0)-(e<0)||+e}function Bp(){if(!this.isValid())return this.localeData().invalidDate();var e=qh(this._milliseconds)/1e3,t=qh(this._days),n=qh(this._months),r,i,a,o,s=this.asSeconds(),c,l,u,d;return s?(r=Fl(e/60),i=Fl(r/60),e%=60,r%=60,a=Fl(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,``):``,c=s<0?`-`:``,l=zp(this._months)===zp(s)?``:`-`,u=zp(this._days)===zp(s)?``:`-`,d=zp(this._milliseconds)===zp(s)?``:`-`,c+`P`+(a?l+a+`Y`:``)+(n?l+n+`M`:``)+(t?u+t+`D`:``)+(i||r||e?`T`:``)+(i?d+i+`H`:``)+(r?d+r+`M`:``)+(e?d+o+`S`:``)):`P0D`}var Vp,Hp,Up,Wp,Gp,Kp,qp,Jp,Yp,Xp,Zp,Qp,$p,em,tm,nm,rm,im,am,om,sm,cm,lm,X,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,km,Am,jm,Mm,Nm,Pm,Fm,Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km,qm,Jm,Ym,Xm,Zm,Qm,$m,eh,th,nh,rh,ih,ah,oh,sh,ch,lh,uh,dh,fh,ph,mh,hh,gh,_h,vh,yh,bh,xh,Sh,Ch,wh,Th,Eh,Z,Q,Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh,Rh,zh,Bh,Vh,Hh,Uh,Wh,Gh,Kh,qh,$,Jh,Yh=o(()=>{for(Hp=Array.prototype.some?Array.prototype.some:function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Up=U.momentProperties=[],Wp=!1,Gp={},U.suppressDeprecationWarnings=!1,U.deprecationHandler=null,Kp=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)W(e,t)&&n.push(t);return n},qp={sameDay:`[Today at] LT`,nextDay:`[Tomorrow at] LT`,nextWeek:`dddd [at] LT`,lastDay:`[Yesterday at] LT`,lastWeek:`[Last] dddd [at] LT`,sameElse:`L`},Jp=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Yp=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xp={},Zp={},Qp={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},$p=`Invalid date`,em=`%d`,tm=/\d{1,2}/,nm={future:`in %s`,past:`%s ago`,s:`a few seconds`,ss:`%d seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,w:`a week`,ww:`%d weeks`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`},rm={D:`date`,dates:`date`,date:`date`,d:`day`,days:`day`,day:`day`,e:`weekday`,weekdays:`weekday`,weekday:`weekday`,E:`isoWeekday`,isoweekdays:`isoWeekday`,isoweekday:`isoWeekday`,DDD:`dayOfYear`,dayofyears:`dayOfYear`,dayofyear:`dayOfYear`,h:`hour`,hours:`hour`,hour:`hour`,ms:`millisecond`,milliseconds:`millisecond`,millisecond:`millisecond`,m:`minute`,minutes:`minute`,minute:`minute`,M:`month`,months:`month`,month:`month`,Q:`quarter`,quarters:`quarter`,quarter:`quarter`,s:`second`,seconds:`second`,second:`second`,gg:`weekYear`,weekyears:`weekYear`,weekyear:`weekYear`,GG:`isoWeekYear`,isoweekyears:`isoWeekYear`,isoweekyear:`isoWeekYear`,w:`week`,weeks:`week`,week:`week`,W:`isoWeek`,isoweeks:`isoWeek`,isoweek:`isoWeek`,y:`year`,years:`year`,year:`year`},im={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},am=/\d/,om=/\d\d/,sm=/\d{3}/,cm=/\d{4}/,lm=/[+-]?\d{6}/,X=/\d\d?/,um=/\d\d\d\d?/,dm=/\d\d\d\d\d\d?/,fm=/\d{1,3}/,pm=/\d{1,4}/,mm=/[+-]?\d{1,6}/,hm=/\d+/,gm=/[+-]?\d+/,_m=/Z|[+-]\d\d:?\d\d/gi,vm=/Z|[+-]\d\d(?::?\d\d)?/gi,ym=/[+-]?\d+(\.\d{1,3})?/,bm=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,xm=/^[1-9]\d?/,Sm=/^([1-9]\d|\d)/,Cm={},wm={},Tm=0,Em=1,Dm=2,Om=3,km=4,Am=5,jm=6,Mm=7,Nm=8,K(`Y`,0,0,function(){var e=this.year();return e<=9999?yl(e,4):`+`+e}),K(0,[`YY`,2],0,function(){return this.year()%100}),K(0,[`YYYY`,4],0,`year`),K(0,[`YYYYY`,5],0,`year`),K(0,[`YYYYYY`,6,!0],0,`year`),q(`Y`,gm),q(`YY`,X,om),q(`YYYY`,pm,cm),q(`YYYYY`,mm,lm),q(`YYYYYY`,mm,lm),Y([`YYYYY`,`YYYYYY`],Tm),Y(`YYYY`,function(e,t){t[Tm]=e.length===2?U.parseTwoDigitYear(e):J(e)}),Y(`YY`,function(e,t){t[Tm]=U.parseTwoDigitYear(e)}),Y(`Y`,function(e,t){t[Tm]=parseInt(e,10)}),U.parseTwoDigitYear=function(e){return J(e)+(J(e)>68?1900:2e3)},Pm=Vl(`FullYear`,!0),Fm=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},K(`M`,[`MM`,2],`Mo`,function(){return this.month()+1}),K(`MMM`,0,0,function(e){return this.localeData().monthsShort(this,e)}),K(`MMMM`,0,0,function(e){return this.localeData().months(this,e)}),q(`M`,X,xm),q(`MM`,X,om),q(`MMM`,function(e,t){return t.monthsShortRegex(e)}),q(`MMMM`,function(e,t){return t.monthsRegex(e)}),Y([`M`,`MM`],function(e,t){t[Em]=J(e)-1}),Y([`MMM`,`MMMM`],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i==null?G(n).invalidMonth=e:t[Em]=i}),Im=`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),Lm=`Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec`.split(`_`),Rm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,zm=bm,Bm=bm,K(`w`,[`ww`,2],`wo`,`week`),K(`W`,[`WW`,2],`Wo`,`isoWeek`),q(`w`,X,xm),q(`ww`,X,om),q(`W`,X,xm),q(`WW`,X,om),Il([`w`,`ww`,`W`,`WW`],function(e,t,n,r){t[r.substr(0,1)]=J(e)}),Vm={dow:0,doy:6},K(`d`,0,`do`,`day`),K(`dd`,0,0,function(e){return this.localeData().weekdaysMin(this,e)}),K(`ddd`,0,0,function(e){return this.localeData().weekdaysShort(this,e)}),K(`dddd`,0,0,function(e){return this.localeData().weekdays(this,e)}),K(`e`,0,0,`weekday`),K(`E`,0,0,`isoWeekday`),q(`d`,X),q(`e`,X),q(`E`,X),q(`dd`,function(e,t){return t.weekdaysMinRegex(e)}),q(`ddd`,function(e,t){return t.weekdaysShortRegex(e)}),q(`dddd`,function(e,t){return t.weekdaysRegex(e)}),Il([`dd`,`ddd`,`dddd`],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i==null?G(n).invalidWeekday=e:t.d=i}),Il([`d`,`e`,`E`],function(e,t,n,r){t[r]=J(e)}),Hm=`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),Um=`Sun_Mon_Tue_Wed_Thu_Fri_Sat`.split(`_`),Wm=`Su_Mo_Tu_We_Th_Fr_Sa`.split(`_`),Gm=bm,Km=bm,qm=bm,K(`H`,[`HH`,2],0,`hour`),K(`h`,[`hh`,2],0,Au),K(`k`,[`kk`,2],0,ju),K(`hmm`,0,0,function(){return``+Au.apply(this)+yl(this.minutes(),2)}),K(`hmmss`,0,0,function(){return``+Au.apply(this)+yl(this.minutes(),2)+yl(this.seconds(),2)}),K(`Hmm`,0,0,function(){return``+this.hours()+yl(this.minutes(),2)}),K(`Hmmss`,0,0,function(){return``+this.hours()+yl(this.minutes(),2)+yl(this.seconds(),2)}),Mu(`a`,!0),Mu(`A`,!1),q(`a`,Nu),q(`A`,Nu),q(`H`,X,Sm),q(`h`,X,xm),q(`k`,X,xm),q(`HH`,X,om),q(`hh`,X,om),q(`kk`,X,om),q(`hmm`,um),q(`hmmss`,dm),q(`Hmm`,um),q(`Hmmss`,dm),Y([`H`,`HH`],Om),Y([`k`,`kk`],function(e,t,n){var r=J(e);t[Om]=r===24?0:r}),Y([`a`,`A`],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Y([`h`,`hh`],function(e,t,n){t[Om]=J(e),G(n).bigHour=!0}),Y(`hmm`,function(e,t,n){var r=e.length-2;t[Om]=J(e.substr(0,r)),t[km]=J(e.substr(r)),G(n).bigHour=!0}),Y(`hmmss`,function(e,t,n){var r=e.length-4,i=e.length-2;t[Om]=J(e.substr(0,r)),t[km]=J(e.substr(r,2)),t[Am]=J(e.substr(i)),G(n).bigHour=!0}),Y(`Hmm`,function(e,t,n){var r=e.length-2;t[Om]=J(e.substr(0,r)),t[km]=J(e.substr(r))}),Y(`Hmmss`,function(e,t,n){var r=e.length-4,i=e.length-2;t[Om]=J(e.substr(0,r)),t[km]=J(e.substr(r,2)),t[Am]=J(e.substr(i))}),Jm=/[ap]\.?m?\.?/i,Ym=Vl(`Hours`,!0),Xm={calendar:qp,longDateFormat:Qp,invalidDate:$p,ordinal:em,dayOfMonthOrdinalParse:tm,relativeTime:nm,months:Im,monthsShort:Lm,week:Vm,weekdays:Hm,weekdaysMin:Wm,weekdaysShort:Um,meridiemParse:Jm},Zm={},Qm={},eh=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,th=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,nh=/Z|[+-]\d\d(?::?\d\d)?/,rh=[[`YYYYYY-MM-DD`,/[+-]\d{6}-\d\d-\d\d/],[`YYYY-MM-DD`,/\d{4}-\d\d-\d\d/],[`GGGG-[W]WW-E`,/\d{4}-W\d\d-\d/],[`GGGG-[W]WW`,/\d{4}-W\d\d/,!1],[`YYYY-DDD`,/\d{4}-\d{3}/],[`YYYY-MM`,/\d{4}-\d\d/,!1],[`YYYYYYMMDD`,/[+-]\d{10}/],[`YYYYMMDD`,/\d{8}/],[`GGGG[W]WWE`,/\d{4}W\d{3}/],[`GGGG[W]WW`,/\d{4}W\d{2}/,!1],[`YYYYDDD`,/\d{7}/],[`YYYYMM`,/\d{6}/,!1],[`YYYY`,/\d{4}/,!1]],ih=[[`HH:mm:ss.SSSS`,/\d\d:\d\d:\d\d\.\d+/],[`HH:mm:ss,SSSS`,/\d\d:\d\d:\d\d,\d+/],[`HH:mm:ss`,/\d\d:\d\d:\d\d/],[`HH:mm`,/\d\d:\d\d/],[`HHmmss.SSSS`,/\d\d\d\d\d\d\.\d+/],[`HHmmss,SSSS`,/\d\d\d\d\d\d,\d+/],[`HHmmss`,/\d\d\d\d\d\d/],[`HHmm`,/\d\d\d\d/],[`HH`,/\d\d/]],ah=/^\/?Date\((-?\d+)/i,oh=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,sh={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60},U.createFromInputFallback=fl(`value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.`,function(e){e._d=new Date(e._i+(e._useUTC?` UTC`:``))}),U.ISO_8601=function(){},U.RFC_2822=function(){},ch=fl(`moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=pd.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:sl()}),lh=fl(`moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=pd.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:sl()}),uh=function(){return Date.now?Date.now():+new Date},dh=[`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`,`millisecond`],wd(`Z`,`:`),wd(`ZZ`,``),q(`Z`,vm),q(`ZZ`,vm),Y([`Z`,`ZZ`],function(e,t,n){n._useUTC=!0,n._tzm=Td(vm,e)}),fh=/([\+\-]|\d\d)/gi,U.updateOffset=function(){},ph=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mh=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,zd.fn=bd.prototype,zd.invalid=yd,hh=Ud(1,`add`),gh=Ud(-1,`subtract`),U.defaultFormat=`YYYY-MM-DDTHH:mm:ssZ`,U.defaultFormatUtc=`YYYY-MM-DDTHH:mm:ss[Z]`,_h=fl(`moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.`,function(e){return e===void 0?this.localeData():this.locale(e)}),vh=1e3,yh=60*vh,bh=60*yh,xh=146097*24*bh,K(`N`,0,0,`eraAbbr`),K(`NN`,0,0,`eraAbbr`),K(`NNN`,0,0,`eraAbbr`),K(`NNNN`,0,0,`eraName`),K(`NNNNN`,0,0,`eraNarrow`),K(`y`,[`y`,1],`yo`,`eraYear`),K(`y`,[`yy`,2],0,`eraYear`),K(`y`,[`yyy`,3],0,`eraYear`),K(`y`,[`yyyy`,4],0,`eraYear`),q(`N`,Wf),q(`NN`,Wf),q(`NNN`,Wf),q(`NNNN`,Gf),q(`NNNNN`,Kf),Y([`N`,`NN`,`NNN`,`NNNN`,`NNNNN`],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?G(n).era=i:G(n).invalidEra=e}),q(`y`,hm),q(`yy`,hm),q(`yyy`,hm),q(`yyyy`,hm),q(`yo`,qf),Y([`y`,`yy`,`yyy`,`yyyy`],Tm),Y([`yo`],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Tm]=n._locale.eraYearOrdinalParse(e,i):t[Tm]=parseInt(e,10)}),K(0,[`gg`,2],0,function(){return this.weekYear()%100}),K(0,[`GG`,2],0,function(){return this.isoWeekYear()%100}),Yf(`gggg`,`weekYear`),Yf(`ggggg`,`weekYear`),Yf(`GGGG`,`isoWeekYear`),Yf(`GGGGG`,`isoWeekYear`),q(`G`,gm),q(`g`,gm),q(`GG`,X,om),q(`gg`,X,om),q(`GGGG`,pm,cm),q(`gggg`,pm,cm),q(`GGGGG`,mm,lm),q(`ggggg`,mm,lm),Il([`gggg`,`ggggg`,`GGGG`,`GGGGG`],function(e,t,n,r){t[r.substr(0,2)]=J(e)}),Il([`gg`,`GG`],function(e,t,n,r){t[r]=U.parseTwoDigitYear(e)}),K(`Q`,0,`Qo`,`quarter`),q(`Q`,am),Y(`Q`,function(e,t){t[Em]=(J(e)-1)*3}),K(`D`,[`DD`,2],`Do`,`date`),q(`D`,X,xm),q(`DD`,X,om),q(`Do`,function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Y([`D`,`DD`],Dm),Y(`Do`,function(e,t){t[Dm]=J(e.match(X)[0])}),Sh=Vl(`Date`,!0),K(`DDD`,[`DDDD`,3],`DDDo`,`dayOfYear`),q(`DDD`,fm),q(`DDDD`,sm),Y([`DDD`,`DDDD`],function(e,t,n){n._dayOfYear=J(e)}),K(`m`,[`mm`,2],0,`minute`),q(`m`,X,Sm),q(`mm`,X,om),Y([`m`,`mm`],km),Ch=Vl(`Minutes`,!1),K(`s`,[`ss`,2],0,`second`),q(`s`,X,Sm),q(`ss`,X,om),Y([`s`,`ss`],Am),wh=Vl(`Seconds`,!1),K(`S`,0,0,function(){return~~(this.millisecond()/100)}),K(0,[`SS`,2],0,function(){return~~(this.millisecond()/10)}),K(0,[`SSS`,3],0,`millisecond`),K(0,[`SSSS`,4],0,function(){return this.millisecond()*10}),K(0,[`SSSSS`,5],0,function(){return this.millisecond()*100}),K(0,[`SSSSSS`,6],0,function(){return this.millisecond()*1e3}),K(0,[`SSSSSSS`,7],0,function(){return this.millisecond()*1e4}),K(0,[`SSSSSSSS`,8],0,function(){return this.millisecond()*1e5}),K(0,[`SSSSSSSSS`,9],0,function(){return this.millisecond()*1e6}),q(`S`,fm,am),q(`SS`,fm,om),q(`SSS`,fm,sm),Th=`SSSS`;Th.length<=9;Th+=`S`)q(Th,hm);for(Th=`S`;Th.length<=9;Th+=`S`)Y(Th,op);Eh=Vl(`Milliseconds`,!1),K(`z`,0,0,`zoneAbbr`),K(`zz`,0,0,`zoneName`),Z=ll.prototype,Z.add=hh,Z.calendar=Zd,Z.clone=Qd,Z.diff=sf,Z.endOf=Cf,Z.format=ff,Z.from=pf,Z.fromNow=mf,Z.to=hf,Z.toNow=gf,Z.get=Wl,Z.invalidAt=Mf,Z.isAfter=$d,Z.isBefore=ef,Z.isBetween=tf,Z.isSame=nf,Z.isSameOrAfter=rf,Z.isSameOrBefore=af,Z.isValid=Af,Z.lang=_h,Z.locale=_f,Z.localeData=vf,Z.max=lh,Z.min=ch,Z.parsingFlags=jf,Z.set=Gl,Z.startOf=Sf,Z.subtract=gh,Z.toArray=Df,Z.toObject=Of,Z.toDate=Ef,Z.toISOString=uf,Z.inspect=df,typeof Symbol<`u`&&Symbol.for!=null&&(Z[Symbol.for(`nodejs.util.inspect.custom`)]=function(){return`Moment<`+this.format()+`>`}),Z.toJSON=kf,Z.toString=lf,Z.unix=Tf,Z.valueOf=wf,Z.creationData=Nf,Z.eraName=Lf,Z.eraNarrow=Rf,Z.eraAbbr=zf,Z.eraYear=Bf,Z.year=Pm,Z.isLeapYear=Bl,Z.weekYear=Xf,Z.isoWeekYear=Zf,Z.quarter=Z.quarters=ip,Z.month=$l,Z.daysInMonth=eu,Z.week=Z.weeks=pu,Z.isoWeek=Z.isoWeeks=mu,Z.weeksInYear=ep,Z.weeksInWeekYear=tp,Z.isoWeeksInYear=Qf,Z.isoWeeksInISOWeekYear=$f,Z.date=Sh,Z.day=Z.days=Cu,Z.weekday=wu,Z.isoWeekday=Tu,Z.dayOfYear=ap,Z.hour=Z.hours=Ym,Z.minute=Z.minutes=Ch,Z.second=Z.seconds=wh,Z.millisecond=Z.milliseconds=Eh,Z.utcOffset=Od,Z.utc=Ad,Z.local=jd,Z.parseZone=Md,Z.hasAlignedHourOffset=Nd,Z.isDST=Pd,Z.isLocal=Id,Z.isUtcOffset=Ld,Z.isUtc=Rd,Z.isUTC=Rd,Z.zoneAbbr=sp,Z.zoneName=cp,Z.dates=fl(`dates accessor is deprecated. Use date instead.`,Sh),Z.months=fl(`months accessor is deprecated. Use month instead`,$l),Z.years=fl(`years accessor is deprecated. Use year instead`,Pm),Z.zone=fl(`moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/`,kd),Z.isDSTShifted=fl(`isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information`,Fd),Q=_l.prototype,Q.calendar=vl,Q.longDateFormat=wl,Q.invalidDate=Tl,Q.ordinal=El,Q.preparse=dp,Q.postformat=dp,Q.relativeTime=Dl,Q.pastFuture=Ol,Q.set=hl,Q.eras=Pf,Q.erasParse=Ff,Q.erasConvertYear=If,Q.erasAbbrRegex=Hf,Q.erasNameRegex=Vf,Q.erasNarrowRegex=Uf,Q.months=Jl,Q.monthsShort=Yl,Q.monthsParse=Zl,Q.monthsRegex=nu,Q.monthsShortRegex=tu,Q.week=uu,Q.firstDayOfYear=fu,Q.firstDayOfWeek=du,Q.weekdays=vu,Q.weekdaysMin=bu,Q.weekdaysShort=yu,Q.weekdaysParse=Su,Q.weekdaysRegex=Eu,Q.weekdaysShortRegex=Du,Q.weekdaysMinRegex=Ou,Q.isPM=Pu,Q.meridiem=Fu,Vu(`en`,{eras:[{since:`0001-01-01`,until:1/0,offset:1,name:`Anno Domini`,narrow:`AD`,abbr:`AD`},{since:`0000-12-31`,until:-1/0,offset:1,name:`Before Christ`,narrow:`BC`,abbr:`BC`}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=J(e%100/10)===1?`th`:t===1?`st`:t===2?`nd`:t===3?`rd`:`th`;return e+n}}),U.lang=fl(`moment.lang is deprecated. Use moment.locale instead.`,Vu),U.langData=fl(`moment.langData is deprecated. Use moment.localeData instead.`,Wu),Dh=Math.abs,Oh=kp(`ms`),kh=kp(`s`),Ah=kp(`m`),jh=kp(`h`),Mh=kp(`d`),Nh=kp(`w`),Ph=kp(`M`),Fh=kp(`Q`),Ih=kp(`y`),Lh=Oh,Rh=Mp(`milliseconds`),zh=Mp(`seconds`),Bh=Mp(`minutes`),Vh=Mp(`hours`),Hh=Mp(`days`),Uh=Mp(`months`),Wh=Mp(`years`),Gh=Math.round,Kh={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},qh=Math.abs,$=bd.prototype,$.isValid=vd,$.abs=bp,$.add=Sp,$.subtract=Cp,$.as=Op,$.asMilliseconds=Oh,$.asSeconds=kh,$.asMinutes=Ah,$.asHours=jh,$.asDays=Mh,$.asWeeks=Nh,$.asMonths=Ph,$.asQuarters=Fh,$.asYears=Ih,$.valueOf=Lh,$._bubble=Tp,$.clone=Ap,$.get=jp,$.milliseconds=Rh,$.seconds=zh,$.minutes=Bh,$.hours=Vh,$.days=Hh,$.weeks=Np,$.months=Uh,$.years=Wh,$.humanize=Rp,$.toISOString=Bp,$.toString=Bp,$.toJSON=Bp,$.locale=_f,$.localeData=vf,$.toIsoString=fl(`toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)`,Bp),$.lang=_h,K(`X`,0,0,`unix`),K(`x`,0,0,`valueOf`),q(`x`,gm),q(`X`,ym),Y(`X`,function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),Y(`x`,function(e,t,n){n._d=new Date(J(e))}),U.version=`2.30.1`,Yc(pd),U.fn=Z,U.min=hd,U.max=gd,U.now=uh,U.utc=il,U.unix=lp,U.months=hp,U.isDate=tl,U.locale=Vu,U.invalid=sl,U.duration=zd,U.isMoment=ul,U.weekdays=_p,U.parseZone=up,U.localeData=Wu,U.isDuration=xd,U.monthsShort=gp,U.weekdaysMin=yp,U.defineLocale=Hu,U.updateLocale=Uu,U.locales=Gu,U.weekdaysShort=vp,U.normalizeUnits=kl,U.relativeTimeRounding=Ip,U.relativeTimeThreshold=Lp,U.calendarFormat=Xd,U.prototype=Z,U.HTML5_FMT={DATETIME_LOCAL:`YYYY-MM-DDTHH:mm`,DATETIME_LOCAL_SECONDS:`YYYY-MM-DDTHH:mm:ss`,DATETIME_LOCAL_MS:`YYYY-MM-DDTHH:mm:ss.SSS`,DATE:`YYYY-MM-DD`,TIME:`HH:mm`,TIME_SECONDS:`HH:mm:ss`,TIME_MS:`HH:mm:ss.SSS`,WEEK:`GGGG-[W]WW`,MONTH:`YYYY-MM`},Jh=U}),Xh=s((exports,t)=>{let n=(Yh(),d(Jc));t.exports=e=>{let t={format:e.alternatives([e.string(),e.array().items(e.string().invalid(`iso`,`javascript`,`unix`))])};return{type:`date`,base:e.date(),coerce:{from:`string`,method:function(e,{schema:t}){let r=t.$_getFlag(`format`);if(!r)return;let i=t.$_getFlag(`utc`)?n.utc(e,r,!0):n(e,r,!0);if(i.isValid())return{value:i.toDate()}}},rules:{utc:{method:function(e=!0){return this.$_setFlag(`utc`,e)}}},overrides:{format:function(n){return e.attempt(n,t.format,`Invalid format`),[`iso`,`javascript`,`unix`].includes(n)?this.$_super.format(n):this.$_setFlag(`format`,n)}}}},t.exports.default=t.exports}),Zh=s((exports,t)=>{let n=`2.0.0`,r=256,i=2**53-1||9007199254740991,a=16,o=r-6,s=[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`];t.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:i,RELEASE_TYPES:s,SEMVER_SPEC_VERSION:n,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),Qh=s((exports,t)=>{Vt();let n=typeof Bt==`object`&&Bt.env&&Bt.env.NODE_DEBUG&&/\bsemver\b/i.test(Bt.env.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{};t.exports=n}),$h=s((exports,t)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=Zh(),a=Qh();exports=t.exports={};let o=exports.re=[],s=exports.safeRe=[],c=exports.src=[],l=exports.safeSrc=[],u=exports.t={},d=0,f=`[a-zA-Z0-9-]`,p=[[`\\s`,1],[`\\d`,i],[f,r]],m=e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},h=(e,t,n)=>{let r=m(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};h(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),h(`NUMERICIDENTIFIERLOOSE`,`\\d+`),h(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${f}*`),h(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),h(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h(`BUILDIDENTIFIER`,`${f}+`),h(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h(`FULL`,`^${c[u.FULLPLAIN]}$`),h(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),h(`GTLT`,`((?:<|>)?=?)`),h(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),h(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),h(`COERCERTL`,c[u.COERCE],!0),h(`COERCERTLFULL`,c[u.COERCEFULL],!0),h(`LONETILDE`,`(?:~>?)`),h(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace=`$1~`,h(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h(`LONECARET`,`(?:\\^)`),h(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),exports.caretTrimReplace=`$1^`,h(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace=`$1$2$3`,h(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h(`STAR`,`(<|>)?=?\\s*\\*`),h(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),h(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)}),eg=s((exports,t)=>{let n=Object.freeze({loose:!0}),r=Object.freeze({}),i=e=>e?typeof e==`object`?e:n:r;t.exports=i}),tg=s((exports,t)=>{let n=/^[0-9]+$/,r=(e,t)=>{let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},i=(e,t)=>r(t,e);t.exports={compareIdentifiers:r,rcompareIdentifiers:i}}),ng=s((exports,t)=>{let n=Qh(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=Zh(),{safeRe:a,t:o}=$h(),s=eg(),{compareIdentifiers:c}=tg();var l=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(t){if(n(`SemVer.compare`,this.version,this.options,t),!(t instanceof e)){if(typeof t==`string`&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),c(this.major,t.major)||c(this.minor,t.minor)||c(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];n===!1&&(r=[t]),c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}};t.exports=l}),rg=s((exports,t)=>{let n=ng(),r=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}};t.exports=r}),ig=s((exports,t)=>{let n=rg(),r=(e,t)=>{let r=n(e,t);return r?r.version:null};t.exports=r}),ag=s((exports,t)=>{let n=rg(),r=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,``),t);return r?r.version:null};t.exports=r}),og=s((exports,t)=>{let n=ng(),r=(e,t,r,i,a)=>{typeof r==`string`&&(a=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,a).version}catch{return null}};t.exports=r}),sg=s((exports,t)=>{let n=rg(),r=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),a=r.compare(i);if(a===0)return null;let o=a>0,s=o?r:i,c=o?i:r,l=!!s.prerelease.length,u=!!c.prerelease.length;if(u&&!l){if(!c.patch&&!c.minor)return`major`;if(c.compareMain(s)===0)return c.minor&&!c.patch?`minor`:`patch`}let d=l?`pre`:``;return r.major===i.major?r.minor===i.minor?r.patch===i.patch?`prerelease`:d+`patch`:d+`minor`:d+`major`};t.exports=r}),cg=s((exports,t)=>{let n=ng(),r=(e,t)=>new n(e,t).major;t.exports=r}),lg=s((exports,t)=>{let n=ng(),r=(e,t)=>new n(e,t).minor;t.exports=r}),ug=s((exports,t)=>{let n=ng(),r=(e,t)=>new n(e,t).patch;t.exports=r}),dg=s((exports,t)=>{let n=rg(),r=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null};t.exports=r}),fg=s((exports,t)=>{let n=ng(),r=(e,t,r)=>new n(e,r).compare(new n(t,r));t.exports=r}),pg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(t,e,r);t.exports=r}),mg=s((exports,t)=>{let n=fg(),r=(e,t)=>n(e,t,!0);t.exports=r}),hg=s((exports,t)=>{let n=ng(),r=(e,t,r)=>{let i=new n(e,r),a=new n(t,r);return i.compare(a)||i.compareBuild(a)};t.exports=r}),gg=s((exports,t)=>{let n=hg(),r=(e,t)=>e.sort((e,r)=>n(e,r,t));t.exports=r}),_g=s((exports,t)=>{let n=hg(),r=(e,t)=>e.sort((e,r)=>n(r,e,t));t.exports=r}),vg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(e,t,r)>0;t.exports=r}),yg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(e,t,r)<0;t.exports=r}),bg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(e,t,r)===0;t.exports=r}),xg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(e,t,r)!==0;t.exports=r}),Sg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(e,t,r)>=0;t.exports=r}),Cg=s((exports,t)=>{let n=fg(),r=(e,t,r)=>n(e,t,r)<=0;t.exports=r}),wg=s((exports,t)=>{let n=bg(),r=xg(),i=vg(),a=Sg(),o=yg(),s=Cg(),c=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}};t.exports=c}),Tg=s((exports,t)=>{let n=ng(),r=rg(),{safeRe:i,t:a}=$h(),o=(e,t)=>{if(e instanceof n)return e;if(typeof e==`number`&&(e=String(e)),typeof e!=`string`)return null;t||={};let o=null;if(!t.rtl)o=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let n=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],r;for(;(r=n.exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||r.index+r[0].length!==o.index+o[0].length)&&(o=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}if(o===null)return null;let s=o[2],c=o[3]||`0`,l=o[4]||`0`,u=t.includePrerelease&&o[5]?`-${o[5]}`:``,d=t.includePrerelease&&o[6]?`+${o[6]}`:``;return r(`${s}.${c}.${l}${u}${d}`,t)};t.exports=o}),Eg=s((exports,t)=>{var n=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){let n=this.delete(e);if(!n&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}};t.exports=n}),Dg=s((exports,t)=>{let n=/\s+/g;var r=class e{constructor(t,r){if(r=o(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof s)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!_(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&v(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=(this.options.includePrerelease&&h)|(this.options.loose&&g),n=t+`:`+e,r=a.get(n);if(r)return r;let i=this.options.loose,o=i?u[d.HYPHENRANGELOOSE]:u[d.HYPHENRANGE];e=e.replace(o,k(this.options.includePrerelease)),c(`hyphen replace`,e),e=e.replace(u[d.COMPARATORTRIM],f),c(`comparator trim`,e),e=e.replace(u[d.TILDETRIM],p),c(`tilde trim`,e),e=e.replace(u[d.CARETTRIM],m),c(`caret trim`,e);let l=e.split(` `).map(e=>b(e,this.options)).join(` `).split(/\s+/).map(e=>O(e,this.options));i&&(l=l.filter(e=>(c(`loose invalid filter`,e,this.options),!!e.match(u[d.COMPARATORLOOSE])))),c(`range list`,l);let v=new Map,y=l.map(e=>new s(e,this.options));for(let e of y){if(_(e))return[e];v.set(e.value,e)}v.size>1&&v.has(``)&&v.delete(``);let x=[...v.values()];return a.set(n,x),x}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>y(e,n)&&t.set.some(t=>y(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new l(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}};t.exports=r;let i=Eg(),a=new i,o=eg(),s=Og(),c=Qh(),l=ng(),{safeRe:u,t:d,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:m}=$h(),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:g}=Zh(),_=e=>e.value===`<0.0.0-0`,v=e=>e.value===``,y=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},b=(e,t)=>(c(`comp`,e,t),e=w(e,t),c(`caret`,e),e=S(e,t),c(`tildes`,e),e=E(e,t),c(`xrange`,e),e=D(e,t),c(`stars`,e),e),x=e=>!e||e.toLowerCase()===`x`||e===`*`,S=(e,t)=>e.trim().split(/\s+/).map(e=>C(e,t)).join(` `),C=(e,t)=>{let n=t.loose?u[d.TILDELOOSE]:u[d.TILDE];return e.replace(n,(t,n,r,i,a)=>{c(`tilde`,e,t,n,r,i,a);let o;return x(n)?o=``:x(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:x(i)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(c(`replaceTilde pr`,a),o=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,c(`tilde return`,o),o})},w=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(` `),T=(e,t)=>{c(`caret`,e,t);let n=t.loose?u[d.CARETLOOSE]:u[d.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,o)=>{c(`caret`,e,t,n,i,a,o);let s;return x(n)?s=``:x(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:x(a)?s=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:o?(c(`replaceCaret pr`,o),s=n===`0`?i===`0`?`>=${n}.${i}.${a}-${o} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${o} <${+n+1}.0.0-0`):(c(`no pr`),s=n===`0`?i===`0`?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),c(`caret return`,s),s})},E=(e,t)=>(c(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>ee(e,t)).join(` `)),ee=(e,t)=>{e=e.trim();let n=t.loose?u[d.XRANGELOOSE]:u[d.XRANGE];return e.replace(n,(n,r,i,a,o,s)=>{c(`xRange`,e,n,r,i,a,o,s);let l=x(i),u=l||x(a),d=u||x(o),f=d;return r===`=`&&f&&(r=``),s=t.includePrerelease?`-0`:``,l?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(u&&(a=0),o=0,r===`>`?(r=`>=`,u?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):r===`<=`&&(r=`<`,u?i=+i+1:a=+a+1),r===`<`&&(s=`-0`),n=`${r+i}.${a}.${o}${s}`):u?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`),c(`xRange return`,n),n})},D=(e,t)=>(c(`replaceStars`,e,t),e.trim().replace(u[d.STAR],``)),O=(e,t)=>(c(`replaceGTE0`,e,t),e.trim().replace(u[t.includePrerelease?d.GTE0PRE:d.GTE0],``)),k=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=x(r)?``:x(i)?`>=${r}.0.0${e?`-0`:``}`:x(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=x(l)?``:x(u)?`<${+l+1}.0.0-0`:x(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),A=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(c(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}}),Og=s((exports,t)=>{let n=Symbol(`SemVer ANY`);var r=class e{static get ANY(){return n}constructor(t,r){if(r=i(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),c(`comparator`,t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,c(`comp`,this)}parse(e){let t=this.options.loose?a[o.COMPARATORLOOSE]:a[o.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new l(e,this.options)}catch{return!1}return s(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new u(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new u(this.value,n).test(t.semver):(n=i(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||s(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||s(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};t.exports=r;let i=eg(),{safeRe:a,t:o}=$h(),s=wg(),c=Qh(),l=ng(),u=Dg()}),kg=s((exports,t)=>{let n=Dg(),r=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)};t.exports=r}),Ag=s((exports,t)=>{let n=Dg(),r=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(` `).trim().split(` `));t.exports=r}),jg=s((exports,t)=>{let n=ng(),r=Dg(),i=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===-1)&&(a=e,o=new n(a,i))}),a};t.exports=i}),Mg=s((exports,t)=>{let n=ng(),r=Dg(),i=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===1)&&(a=e,o=new n(a,i))}),a};t.exports=i}),Ng=s((exports,t)=>{let n=ng(),r=Dg(),i=vg(),a=(e,t)=>{e=new r(e,t);let a=new n(`0.0.0`);if(e.test(a)||(a=new n(`0.0.0-0`),e.test(a)))return a;a=null;for(let t=0;t<e.set.length;++t){let r=e.set[t],o=null;r.forEach(e=>{let t=new n(e.semver.version);switch(e.operator){case`>`:t.prerelease.length===0?t.patch++:t.prerelease.push(0),t.raw=t.format();case``:case`>=`:(!o||i(t,o))&&(o=t);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null};t.exports=a}),Pg=s((exports,t)=>{let n=Dg(),r=(e,t)=>{try{return new n(e,t).range||`*`}catch{return null}};t.exports=r}),Fg=s((exports,t)=>{let n=ng(),r=Og(),{ANY:i}=r,a=Dg(),o=kg(),s=vg(),c=yg(),l=Cg(),u=Sg(),d=(e,t,d,f)=>{e=new n(e,f),t=new a(t,f);let p,m,h,g,_;switch(d){case`>`:p=s,m=l,h=c,g=`>`,_=`>=`;break;case`<`:p=c,m=u,h=s,g=`<`,_=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(o(e,t,f))return!1;for(let n=0;n<t.set.length;++n){let a=t.set[n],o=null,s=null;if(a.forEach(e=>{e.semver===i&&(e=new r(`>=0.0.0`)),o||=e,s||=e,p(e.semver,o.semver,f)?o=e:h(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===_||(!s.operator||s.operator===g)&&m(e,s.semver)||s.operator===_&&h(e,s.semver))return!1}return!0};t.exports=d}),Ig=s((exports,t)=>{let n=Fg(),r=(e,t,r)=>n(e,t,`>`,r);t.exports=r}),Lg=s((exports,t)=>{let n=Fg(),r=(e,t,r)=>n(e,t,`<`,r);t.exports=r}),Rg=s((exports,t)=>{let n=Dg(),r=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r));t.exports=r}),zg=s((exports,t)=>{let n=kg(),r=fg();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort((e,t)=>r(e,t,i));for(let e of c){let r=n(e,t,i);r?(s=e,o||=e):(s&&a.push([o,s]),s=null,o=null)}o&&a.push([o,null]);let l=[];for(let[e,t]of a)e===t?l.push(e):!t&&e===c[0]?l.push(`*`):t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`);let u=l.join(` || `),d=typeof t.raw==`string`?t.raw:String(t);return u.length<d.length?u:t}}),Bg=s((exports,t)=>{let n=Dg(),r=Og(),{ANY:i}=r,a=kg(),o=fg(),s=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;OUTER:for(let n of e.set){for(let e of t.set){let t=u(n,e,r);if(i||=t!==null,t)continue OUTER}if(i)return!1}return!0},c=[new r(`>=0.0.0-0`)],l=[new r(`>=0.0.0`)],u=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(t.length===1&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}let r=new Set,s,u;for(let t of e)t.operator===`>`||t.operator===`>=`?s=d(s,t,n):t.operator===`<`||t.operator===`<=`?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;let p;if(s&&u&&(p=o(s.semver,u.semver,n),p>0||p===0&&(s.operator!==`>=`||u.operator!==`<=`)))return null;for(let e of r){if(s&&!a(e,String(s),n)||u&&!a(e,String(u),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let m,h,g,_,v=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:!1,y=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&u.operator===`<`&&v.prerelease[0]===0&&(v=!1);for(let e of t){if(_=_||e.operator===`>`||e.operator===`>=`,g=g||e.operator===`<`||e.operator===`<=`,s){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),e.operator===`>`||e.operator===`>=`){if(m=d(s,e,n),m===e&&m!==s)return!1}else if(s.operator===`>=`&&!a(s.semver,String(e),n))return!1}if(u){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),e.operator===`<`||e.operator===`<=`){if(h=f(u,e,n),h===e&&h!==u)return!1}else if(u.operator===`<=`&&!a(u.semver,String(e),n))return!1}if(!e.operator&&(u||s)&&p!==0)return!1}return!(s&&g&&!u&&p!==0||u&&_&&!s&&p!==0||y||v)},d=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r>0?e:r<0||t.operator===`>`&&e.operator===`>=`?t:e},f=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r<0?e:r>0||t.operator===`<`&&e.operator===`<=`?t:e};t.exports=s}),Vg=s((exports,t)=>{let n=$h(),r=Zh(),i=ng(),a=tg(),o=rg(),s=ig(),c=ag(),l=og(),u=sg(),d=cg(),f=lg(),p=ug(),m=dg(),h=fg(),g=pg(),_=mg(),v=hg(),y=gg(),b=_g(),x=vg(),S=yg(),C=bg(),w=xg(),T=Sg(),E=Cg(),ee=wg(),D=Tg(),O=Og(),k=Dg(),A=kg(),j=Ag(),M=jg(),N=Mg(),te=Ng(),ne=Pg(),re=Fg(),ie=Ig(),ae=Lg(),oe=Rg(),P=zg(),F=Bg();t.exports={parse:o,valid:s,clean:c,inc:l,diff:u,major:d,minor:f,patch:p,prerelease:m,compare:h,rcompare:g,compareLoose:_,compareBuild:v,sort:y,rsort:b,gt:x,lt:S,eq:C,neq:w,gte:T,lte:E,cmp:ee,coerce:D,Comparator:O,Range:k,satisfies:A,toComparators:j,maxSatisfying:M,minSatisfying:N,minVersion:te,validRange:ne,outside:re,gtr:ie,ltr:ae,intersects:oe,simplifyRange:P,subset:F,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}),Hg=Uint8Array,Ug=Uint16Array,Wg=Int32Array,Gg=new Hg([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Kg=new Hg([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),qg=new Hg([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Jg=function(e,t){for(var n=new Ug(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new Wg(n[30]),r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return{b:n,r:i}},Yg=Jg(Gg,2),Xg=Yg.b,Zg=Yg.r;Xg[28]=258,Zg[258]=28;for(var Qg=Jg(Kg,0),$g=Qg.b,e_=Qg.r,t_=new Ug(32768),n_=0;n_<32768;++n_){var r_=(n_&43690)>>1|(n_&21845)<<1;r_=(r_&52428)>>2|(r_&13107)<<2,r_=(r_&61680)>>4|(r_&3855)<<4,t_[n_]=((r_&65280)>>8|(r_&255)<<8)>>1}for(var i_=function(e,t,n){for(var r=e.length,i=0,a=new Ug(t);i<r;++i)e[i]&&++a[e[i]-1];var o=new Ug(t);for(i=1;i<t;++i)o[i]=o[i-1]+a[i-1]<<1;var s;if(n){s=new Ug(1<<t);var c=15-t;for(i=0;i<r;++i)if(e[i])for(var l=i<<4|e[i],u=t-e[i],d=o[e[i]-1]++<<u,f=d|(1<<u)-1;d<=f;++d)s[t_[d]>>c]=l}else for(s=new Ug(r),i=0;i<r;++i)e[i]&&(s[i]=t_[o[e[i]-1]++]>>15-e[i]);return s},a_=new Hg(288),n_=0;n_<144;++n_)a_[n_]=8;for(var n_=144;n_<256;++n_)a_[n_]=9;for(var n_=256;n_<280;++n_)a_[n_]=7;for(var n_=280;n_<288;++n_)a_[n_]=8;for(var o_=new Hg(32),n_=0;n_<32;++n_)o_[n_]=5;var s_=i_(a_,9,0),c_=i_(a_,9,1),l_=i_(o_,5,0),u_=i_(o_,5,1),d_=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},f_=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},p_=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},m_=function(e){return(e+7)/8|0},h_=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Hg(e.subarray(t,n))},g_=[`unexpected EOF`,`invalid block type`,`invalid length/literal`,`invalid distance`,`stream finished`,`no stream handler`,,`no callback`,`invalid UTF-8 data`,`extra field too long`,`date not in range 1980-2099`,`filename too long`,`stream finishing`,`invalid zip data`],__=function(e,t,n){var r=Error(t||g_[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,__),!n)throw r;return r},v_=function(e,t,n,r){var i=e.length,a=r?r.length:0;if(!i||t.f&&!t.l)return n||new Hg(0);var o=!n,s=o||t.i!=2,c=t.i;o&&(n=new Hg(i*3));var l=function(e){var t=n.length;if(e>t){var r=new Hg(Math.max(t*2,e));r.set(n),n=r}},u=t.f||0,d=t.p||0,f=t.b||0,p=t.l,m=t.d,h=t.m,g=t.n,_=i*8;do{if(!p){u=f_(e,d,1);var v=f_(e,d+1,3);if(d+=3,v)if(v==1)p=c_,m=u_,h=9,g=5;else if(v==2){var y=f_(e,d,31)+257,b=f_(e,d+10,15)+4,x=y+f_(e,d+5,31)+1;d+=14;for(var S=new Hg(x),C=new Hg(19),w=0;w<b;++w)C[qg[w]]=f_(e,d+w*3,7);d+=b*3;for(var T=d_(C),E=(1<<T)-1,ee=i_(C,T,1),w=0;w<x;){var D=ee[f_(e,d,E)];d+=D&15;var O=D>>4;if(O<16)S[w++]=O;else{var k=0,A=0;for(O==16?(A=3+f_(e,d,3),d+=2,k=S[w-1]):O==17?(A=3+f_(e,d,7),d+=3):O==18&&(A=11+f_(e,d,127),d+=7);A--;)S[w++]=k}}var j=S.subarray(0,y),M=S.subarray(y);h=d_(j),g=d_(M),p=i_(j,h,1),m=i_(M,g,1)}else __(1);else{var O=m_(d)+4,N=e[O-4]|e[O-3]<<8,te=O+N;if(te>i){c&&__(0);break}s&&l(f+N),n.set(e.subarray(O,te),f),t.b=f+=N,t.p=d=te*8,t.f=u;continue}if(d>_){c&&__(0);break}}s&&l(f+131072);for(var ne=(1<<h)-1,re=(1<<g)-1,ie=d;;ie=d){var k=p[p_(e,d)&ne],ae=k>>4;if(d+=k&15,d>_){c&&__(0);break}if(k||__(2),ae<256)n[f++]=ae;else if(ae==256){ie=d,p=null;break}else{var oe=ae-254;if(ae>264){var w=ae-257,P=Gg[w];oe=f_(e,d,(1<<P)-1)+Xg[w],d+=P}var F=m[p_(e,d)&re],se=F>>4;F||__(3),d+=F&15;var M=$g[se];if(se>3){var P=Kg[se];M+=p_(e,d)&(1<<P)-1,d+=P}if(d>_){c&&__(0);break}s&&l(f+131072);var ce=f+oe;if(f<M){var le=a-M,ue=Math.min(M,ce);for(le+f<0&&__(3);f<ue;++f)n[f]=r[le+f]}for(;f<ce;++f)n[f]=n[f-M]}}t.l=p,t.p=ie,t.b=f,t.f=u,p&&(u=1,t.m=h,t.d=m,t.n=g)}while(!u);return f!=n.length&&o?h_(n,0,f):n.subarray(0,f)},y_=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},b_=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},x_=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,a=n.slice();if(!i)return{t:O_,l:0};if(i==1){var o=new Hg(n[0].s+1);return o[n[0].s]=1,{t:o,l:1}}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var s=n[0],c=n[1],l=0,u=1,d=2;for(n[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=i-1;)s=n[n[l].f<n[d].f?l++:d++],c=n[l!=u&&n[l].f<n[d].f?l++:d++],n[u++]={s:-1,f:s.f+c.f,l:s,r:c};for(var f=a[0].s,r=1;r<i;++r)a[r].s>f&&(f=a[r].s);var p=new Ug(f+1),m=S_(n[u-1],p,0);if(m>t){var r=0,h=0,g=m-t,_=1<<g;for(a.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});r<i;++r){var v=a[r].s;if(p[v]>t)h+=_-(1<<m-p[v]),p[v]=t;else break}for(h>>=g;h>0;){var y=a[r].s;p[y]<t?h-=1<<t-p[y]++-1:++r}for(;r>=0&&h;--r){var b=a[r].s;p[b]==t&&(--p[b],++h)}m=t}return{t:new Hg(p),l:m}},S_=function(e,t,n){return e.s==-1?Math.max(S_(e.l,t,n+1),S_(e.r,t,n+1)):t[e.s]=n},C_=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Ug(++t),r=0,i=e[0],a=1,o=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=e[s]}return{c:n.subarray(0,r),n:t}},w_=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},T_=function(e,t,n){var r=n.length,i=m_(t+2);e[i]=r&255,e[i+1]=r>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var a=0;a<r;++a)e[i+a+4]=n[a];return(i+4+r)*8},E_=function(e,t,n,r,i,a,o,s,c,l,u){y_(t,u++,n),++i[256];for(var d=x_(i,15),f=d.t,p=d.l,m=x_(a,15),h=m.t,g=m.l,_=C_(f),v=_.c,y=_.n,b=C_(h),x=b.c,S=b.n,C=new Ug(19),w=0;w<v.length;++w)++C[v[w]&31];for(var w=0;w<x.length;++w)++C[x[w]&31];for(var T=x_(C,7),E=T.t,ee=T.l,D=19;D>4&&!E[qg[D-1]];--D);var O=l+5<<3,k=w_(i,a_)+w_(a,o_)+o,A=w_(i,f)+w_(a,h)+o+14+3*D+w_(C,E)+2*C[16]+3*C[17]+7*C[18];if(c>=0&&O<=k&&O<=A)return T_(t,u,e.subarray(c,c+l));var j,M,N,te;if(y_(t,u,1+(A<k)),u+=2,A<k){j=i_(f,p,0),M=f,N=i_(h,g,0),te=h;var ne=i_(E,ee,0);y_(t,u,y-257),y_(t,u+5,S-1),y_(t,u+10,D-4),u+=14;for(var w=0;w<D;++w)y_(t,u+3*w,E[qg[w]]);u+=3*D;for(var re=[v,x],ie=0;ie<2;++ie)for(var ae=re[ie],w=0;w<ae.length;++w){var oe=ae[w]&31;y_(t,u,ne[oe]),u+=E[oe],oe>15&&(y_(t,u,ae[w]>>5&127),u+=ae[w]>>12)}}else j=s_,M=a_,N=l_,te=o_;for(var w=0;w<s;++w){var P=r[w];if(P>255){var oe=P>>18&31;b_(t,u,j[oe+257]),u+=M[oe+257],oe>7&&(y_(t,u,P>>23&31),u+=Gg[oe]);var F=P&31;b_(t,u,N[F]),u+=te[F],F>3&&(b_(t,u,P>>5&8191),u+=Kg[F])}else b_(t,u,j[P]),u+=M[P]}return b_(t,u,j[256]),u+M[256]},D_=new Wg([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),O_=new Hg(0),k_=function(e,t,n,r,i,a){var o=a.z||e.length,s=new Hg(r+o+5*(1+Math.ceil(o/7e3))+i),c=s.subarray(r,s.length-i),l=a.l,u=(a.r||0)&7;if(t){u&&(c[0]=a.r>>3);for(var d=D_[t-1],f=d>>13,p=d&8191,m=(1<<n)-1,h=a.p||new Ug(32768),g=a.h||new Ug(m+1),_=Math.ceil(n/3),v=2*_,y=function(t){return(e[t]^e[t+1]<<_^e[t+2]<<v)&m},b=new Wg(25e3),x=new Ug(288),S=new Ug(32),C=0,w=0,T=a.i||0,E=0,ee=a.w||0,D=0;T+2<o;++T){var O=y(T),k=T&32767,A=g[O];if(h[k]=A,g[O]=k,ee<=T){var j=o-T;if((C>7e3||E>24576)&&(j>423||!l)){u=E_(e,c,0,b,x,S,w,E,D,T-D,u),E=C=w=0,D=T;for(var M=0;M<286;++M)x[M]=0;for(var M=0;M<30;++M)S[M]=0}var N=2,te=0,ne=p,re=k-A&32767;if(j>2&&O==y(T-re))for(var ie=Math.min(f,j)-1,ae=Math.min(32767,T),oe=Math.min(258,j);re<=ae&&--ne&&k!=A;){if(e[T+N]==e[T+N-re]){for(var P=0;P<oe&&e[T+P]==e[T+P-re];++P);if(P>N){if(N=P,te=re,P>ie)break;for(var F=Math.min(re,P-2),se=0,M=0;M<F;++M){var ce=T-re+M&32767,le=h[ce],ue=ce-le&32767;ue>se&&(se=ue,A=ce)}}}k=A,A=h[k],re+=k-A&32767}if(te){b[E++]=268435456|Zg[N]<<18|e_[te];var I=Zg[N]&31,de=e_[te]&31;w+=Gg[I]+Kg[de],++x[257+I],++S[de],ee=T+N,++C}else b[E++]=e[T],++x[e[T]]}}for(T=Math.max(T,ee);T<o;++T)b[E++]=e[T],++x[e[T]];u=E_(e,c,l,b,x,S,w,E,D,T-D,u),l||(a.r=u&7|c[u/8|0]<<3,u-=7,a.h=g,a.p=h,a.i=T,a.w=ee)}else{for(var T=a.w||0;T<o+l;T+=65535){var fe=T+65535;fe>=o&&(c[u/8|0]=l,fe=o),u=T_(c,u+1,e.subarray(T,fe))}a.i=o}return h_(s,0,r+m_(u)+i)},A_=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,a=n.length|0,o=0;o!=a;){for(var s=Math.min(o+2655,a);o<s;++o)i+=r+=n[o];r=(r&65535)+15*(r>>16),i=(i&65535)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(e&255)<<24|(e&65280)<<8|(t&255)<<8|t>>8}}},j_=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var a=t.dictionary.subarray(-32768),o=new Hg(a.length+e.length);o.set(a),o.set(e,a.length),e=o,i.w=a.length}return k_(e,t.level==null?6:t.level,t.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,r,i)},M_=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},N_=function(e,t){var n=t.level,r=n==0?0:n<6?1:n==9?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=A_();i.p(t.dictionary),M_(e,2,i.d())}},P_=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&__(6,`invalid zlib data`),(e[1]>>5&1)==+!t&&__(6,`invalid zlib data: `+(e[1]&32?`need`:`unexpected`)+` dictionary`),(e[1]>>3&4)+2};function F_(e,t){t||={};var n=A_();n.p(e);var r=j_(e,t,t.dictionary?6:2,4);return N_(r,t),M_(r,r.length-4,n.d()),r}function I_(e,t){return v_(e.subarray(P_(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var L_=typeof TextEncoder<`u`&&new TextEncoder,R_=typeof TextDecoder<`u`&&new TextDecoder,z_=0;try{R_.decode(O_,{stream:!0}),z_=1}catch{}var B_=function(e){for(var t=``,n=0;;){var r=e[n++],i=(r>127)+(r>223)+(r>239);if(n+i>e.length)return{s:t,r:h_(e,n-1)};i?i==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):i&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function V_(e,t){if(t){for(var n=new Hg(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(L_)return L_.encode(e);for(var i=e.length,a=new Hg(e.length+(e.length>>1)),o=0,s=function(e){a[o++]=e},r=0;r<i;++r){if(o+5>a.length){var c=new Hg(o+8+(i-r<<1));c.set(a),a=c}var l=e.charCodeAt(r);l<128||t?s(l):l<2048?(s(192|l>>6),s(128|l&63)):l>55295&&l<57344?(l=65536+(l&1047552)|e.charCodeAt(++r)&1023,s(240|l>>18),s(128|l>>12&63),s(128|l>>6&63),s(128|l&63)):(s(224|l>>12),s(128|l>>6&63),s(128|l&63))}return h_(a,0,o)}function H_(e,t){if(t){for(var n=``,r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else if(R_)return R_.decode(e);else{var i=B_(e),a=i.s,n=i.r;return n.length&&__(8),a}}var U_=u(Vg());const W_=e=>{let t=V_(e),n=F_(t,{level:9}),r=H_(n,!0);return btoa(r)},G_=e=>{let t=atob(e);if(t.startsWith(`xÚ`)){let e=V_(t,!0),n=I_(e);return H_(n)}return decodeURIComponent(escape(t))},K_=e=>e instanceof H?e:H.fromObject(e.c,{zone:e.zone}).setLocale(e.loc.locale),q_=e=>{let t=e.describe();for(let e in t.keys){if(t.keys[e]===void 0||t.keys[e].rules===void 0)continue;t.keys[e].rules=t.keys[e].rules.map(e=>{for(let t in e.args){let n=e.args[t];zc(n)&&(e.args[t]=K_(n).toJSDate())}return e})}let n=JSON.stringify({version:`1.20250720.0`,schema:t});return W_(n)},J_=e=>{let t=G_(e),n=JSON.parse(t);if(!Bc(n)||!(`version`in n)||!(`schema`in n)||typeof n.version!=`string`||!Bc(n.schema))throw TypeError(`Not a valid encoded schema`);let{version:r,schema:i}=n;if(U_.valid(`1.20250720.0`)){if(!U_.valid(U_.coerce(r)))throw TypeError(`Invalid schema version: ${r}`);if(U_.gt(U_.coerce(r),`1.20250720.0`))throw TypeError(`Schema version ${r} is not compatible with current version 1.20250720.0`)}return Z_.build(i)};var Y_=u($n()),X_=u(Xh());const Z_=Y_.default.extend(X_.default).extend(xr).extend(qc),Q_={EMPTY_STRING:`Address must be a non-empty string`,FORBIDDEN_UNICODE:`Address contains forbidden Unicode characters`,MULTIPLE_AT_CHAR:`Address cannot contain more than one @ character`,MISSING_AT_CHAR:`Address must contain one @ character`,EMPTY_LOCAL:`Address local part cannot be empty`,ADDRESS_TOO_LONG:`Address too long`,LOCAL_TOO_LONG:`Address local part too long`,EMPTY_LOCAL_SEGMENT:`Address local part contains empty dot-separated segment`,INVALID_LOCAL_CHARS:`Address local part contains invalid character`,DOMAIN_NON_EMPTY_STRING:`Domain must be a non-empty string`,DOMAIN_TOO_LONG:`Domain too long`,DOMAIN_INVALID_UNICODE_CHARS:`Domain contains forbidden Unicode characters`,DOMAIN_INVALID_CHARS:`Domain contains invalid character`,DOMAIN_INVALID_TLDS_CHARS:`Domain contains invalid tld character`,DOMAIN_SEGMENTS_COUNT:`Domain lacks the minimum required number of segments`,DOMAIN_SEGMENTS_COUNT_MAX:`Domain contains too many segments`,DOMAIN_FORBIDDEN_TLDS:`Domain uses forbidden TLD`,DOMAIN_EMPTY_SEGMENT:`Domain contains empty dot-separated segment`,DOMAIN_LONG_SEGMENT:`Domain contains dot-separated segment that is too long`};function $_(e){return{code:e,error:Q_[e]}}yt();const ev=2,tv=/[^\x00-\x7f]/,nv=/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,rv=/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,iv=/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,av=/^[a-zA-Z0-9_](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,ov=vt||URL;function sv(e){return!!e.allow}function cv(e,t={}){if(!e)return $_(`DOMAIN_NON_EMPTY_STRING`);if(typeof e!=`string`)throw Error(`Invalid input: domain must be a string`);if(e.length>256)return $_(`DOMAIN_TOO_LONG`);let n=!tv.test(e);if(!n){if(t.allowUnicode===!1)return $_(`DOMAIN_INVALID_UNICODE_CHARS`);e=e.normalize(`NFC`)}if(nv.test(e))return $_(`DOMAIN_INVALID_CHARS`);e=uv(e),t.allowFullyQualified&&e[e.length-1]===`.`&&(e=e.slice(0,-1));let r=t.minDomainSegments||ev,i=e.split(`.`);if(i.length<r)return $_(`DOMAIN_SEGMENTS_COUNT`);if(t.maxDomainSegments&&i.length>t.maxDomainSegments)return $_(`DOMAIN_SEGMENTS_COUNT_MAX`);let a=t.tlds;if(a){let e=i[i.length-1].toLowerCase();if(sv(a)){if(!a.allow.has(e))return $_(`DOMAIN_FORBIDDEN_TLDS`)}else if(a.deny.has(e))return $_(`DOMAIN_FORBIDDEN_TLDS`)}for(let e=0;e<i.length;++e){let n=i[e];if(!n.length)return $_(`DOMAIN_EMPTY_SEGMENT`);if(n.length>63)return $_(`DOMAIN_LONG_SEGMENT`);if(e<i.length-1){if(t.allowUnderscore){if(!av.test(n))return $_(`DOMAIN_INVALID_CHARS`)}else if(!iv.test(n))return $_(`DOMAIN_INVALID_CHARS`)}else if(!rv.test(n))return $_(`DOMAIN_INVALID_TLDS_CHARS`)}return null}function lv(e,t){return!cv(e,t)}function uv(e){e.includes(`%`)&&(e=e.replace(/%/g,`%25`));try{return new ov(`http://${e}`).host}catch{return e}}function dv(e){if(e){if(typeof e.tlds!=`object`)throw Error(`Invalid options: tlds must be a boolean or an object`);if(sv(e.tlds)){if(!(e.tlds.allow instanceof Set))throw Error(`Invalid options: tlds.allow must be a Set object or true`);if(e.tlds.deny)throw Error(`Invalid options: cannot specify both tlds.allow and tlds.deny lists`)}else if(!(e.tlds.deny instanceof Set))throw Error(`Invalid options: tlds.deny must be a Set object`)}}var fv=u(Wn());const pv=/[^\x00-\x7f]/,mv=new(fv.TextEncoder||TextEncoder);function hv(e,t){return _v(e,t)}function gv(e,t){return!_v(e,t)}function _v(e,t={}){if(typeof e!=`string`)throw Error(`Invalid input: email must be a string`);if(!e)return $_(`EMPTY_STRING`);let n=!pv.test(e);if(!n){if(t.allowUnicode===!1)return $_(`FORBIDDEN_UNICODE`);e=e.normalize(`NFC`)}let r=e.split(`@`);if(r.length!==2)return r.length>2?$_(`MULTIPLE_AT_CHAR`):$_(`MISSING_AT_CHAR`);let[i,a]=r;if(!i)return $_(`EMPTY_LOCAL`);if(!t.ignoreLength){if(e.length>254)return $_(`ADDRESS_TOO_LONG`);if(mv.encode(i).length>64)return $_(`LOCAL_TOO_LONG`)}return vv(i,n)||cv(a,t)}function vv(e,t){let n=e.split(`.`);for(let e of n){if(!e.length)return $_(`EMPTY_LOCAL_SEGMENT`);if(t){if(!bv.test(e))return $_(`INVALID_LOCAL_CHARS`);continue}for(let t of e){if(bv.test(t))continue;let e=yv(t);if(!xv.test(e))return $_(`INVALID_LOCAL_CHARS`)}}return null}function yv(e){return Array.from(mv.encode(e),e=>String.fromCharCode(e)).join(``)}const bv=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,xv=new RegExp([`(?:[\\xc2-\\xdf][\\x80-\\xbf])`,`(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})`,`(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})`].join(`|`));var Sv=s((exports,t)=>{t.exports=class extends Error{name=`AssertError`;constructor(e,t){super(e||`Unknown error`),typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,t)}}}),Cv=s((exports,t)=>{t.exports=function(...e){try{return JSON.stringify(...e)}catch(e){return`[Cannot display object: `+e.message+`]`}}}),wv=s((exports,t)=>{let n=Sv(),r=Cv(),i=t.exports=function(e,...t){if(e)return;if(t.length===1&&t[0]instanceof Error)throw t[0];let a=t.filter(e=>e!==``).map(e=>typeof e==`string`?e:e instanceof Error?e.message:r(e));throw new n(a.join(` `),i)}}),Tv=s((exports,t)=>{let n=wv(),r={};t.exports=function(e,t,i){if(t===!1||t==null)return e;i||={},typeof i==`string`&&(i={separator:i});let a=Array.isArray(t);n(!a||!i.separator,`Separator option is not valid for array-based chain`);let o=a?t:t.split(i.separator||`.`),s=e;for(let e=0;e<o.length;++e){let a=o[e],c=i.iterables&&r.iterables(s);if(Array.isArray(s)||c===`set`){let e=Number(a);Number.isInteger(e)&&(a=e<0?s.length+e:e)}if(!s||typeof s==`function`&&i.functions===!1||!c&&s[a]===void 0){n(!i.strict||e+1===o.length,`Missing segment`,a,`in reach path `,t),n(typeof s==`object`||i.functions===!0||typeof s!=`function`,`Invalid segment`,a,`in reach path `,t),s=i.default;break}s=c?c===`set`?[...s][a]:s.get(a):s[a]}return s},r.iterables=function(e){if(e instanceof Set)return`set`;if(e instanceof Map)return`map`}}),Ev=s((exports,t)=>{ce();let n={};exports=t.exports={array:Array.prototype,buffer:E&&E.prototype,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,url:URL.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([[`[object Error]`,exports.error],[`[object Map]`,exports.map],[`[object Promise]`,exports.promise],[`[object Set]`,exports.set],[`[object URL]`,exports.url],[`[object WeakMap]`,exports.weakMap],[`[object WeakSet]`,exports.weakSet]]),exports.getInternalProto=function(t){if(Array.isArray(t))return exports.array;if(E&&t instanceof E)return exports.buffer;if(t instanceof Date)return exports.date;if(t instanceof RegExp)return exports.regex;if(t instanceof Error)return exports.error;let r=Object.prototype.toString.call(t);return n.typeMap.get(r)||exports.generic}}),Dv=s(exports=>{exports.keys=function(e,t={}){return t.symbols===!1?Object.getOwnPropertyNames(e):Reflect.ownKeys(e)}}),Ov=s((exports,t)=>{ce();let n=Tv(),r=Ev(),i=Dv(),a={needsProtoHack:new Set([r.set,r.map,r.weakSet,r.weakMap]),structuredCloneExists:typeof structuredClone==`function`};t.exports=a.clone=function(e,t={},n=null){if(typeof e!=`object`||!e)return e;let o=a.clone,s=n;if(t.shallow){if(t.shallow!==!0)return a.cloneWithShallow(e,t);o=e=>e}else if(s){let t=s.get(e);if(t)return t}else s=new Map;let c=r.getInternalProto(e);switch(c){case r.buffer:return E?.from(e);case r.date:return new Date(e.getTime());case r.regex:case r.url:return new c.constructor(e)}let l=a.base(e,c,t);if(l===e)return e;if(s&&s.set(e,l),c===r.set)for(let n of e)l.add(o(n,t,s));else if(c===r.map)for(let[n,r]of e)l.set(n,o(r,t,s));let u=i.keys(e,t);for(let n of u){if(n===`__proto__`)continue;if(c===r.array&&n===`length`){l.length=e.length;continue}if(a.structuredCloneExists&&c===r.error&&n===`stack`)continue;let i=Object.getOwnPropertyDescriptor(e,n);i?i.get||i.set?Object.defineProperty(l,n,i):i.enumerable?l[n]=o(e[n],t,s):Object.defineProperty(l,n,{enumerable:!1,writable:!0,configurable:!0,value:o(e[n],t,s)}):Object.defineProperty(l,n,{enumerable:!0,writable:!0,configurable:!0,value:o(e[n],t,s)})}return l},a.cloneWithShallow=function(e,t){let r=t.shallow;t=Object.assign({},t),t.shallow=!1;let i=new Map;for(let t of r){let r=n(e,t);(typeof r==`object`||typeof r==`function`)&&i.set(r,r)}return a.clone(e,t,i)},a.base=function(e,t,n){if(n.prototype===!1)return a.needsProtoHack.has(t)?new t.constructor:t===r.array?[]:{};let i=Object.getPrototypeOf(e);if(i&&i.isImmutable)return e;if(t===r.array){let e=[];return i!==t&&Object.setPrototypeOf(e,i),e}else if(t===r.error&&a.structuredCloneExists&&(i===t||Error.isPrototypeOf(i.constructor))){let t=structuredClone(e);return Object.getPrototypeOf(t)!==i&&Object.setPrototypeOf(t,i),t}if(a.needsProtoHack.has(t)){let e=new i.constructor;return i!==t&&Object.setPrototypeOf(e,i),e}return Object.create(i)}}),kv=s((exports,t)=>{ce();let n=wv(),r=Ov(),i=Dv(),a={};t.exports=a.merge=function(e,t,o){if(n(e&&typeof e==`object`,`Invalid target value: must be an object`),n(t==null||typeof t==`object`,`Invalid source value: must be null, undefined, or an object`),!t)return e;if(o=Object.assign({nullOverride:!0,mergeArrays:!0},o),Array.isArray(t)){n(Array.isArray(e),`Cannot merge array onto an object`),o.mergeArrays||(e.length=0);for(let n=0;n<t.length;++n)e.push(r(t[n],{symbols:o.symbols}));return e}let s=i.keys(t,o);for(let n=0;n<s.length;++n){let i=s[n];if(i===`__proto__`||!Object.prototype.propertyIsEnumerable.call(t,i))continue;let c=t[i];if(c&&typeof c==`object`){if(e[i]===c)continue;!e[i]||typeof e[i]!=`object`||Array.isArray(e[i])!==Array.isArray(c)||c instanceof Date||E&&E.isBuffer(c)||c instanceof RegExp?e[i]=r(c,{symbols:o.symbols}):a.merge(e[i],c,o)}else c==null?o.nullOverride&&(e[i]=c):e[i]=c}return e}}),Av=s((exports,t)=>{let n=wv(),r=Ov(),i=kv(),a=Tv(),o={};t.exports=function(e,t,a={}){if(n(e&&typeof e==`object`,`Invalid defaults value: must be an object`),n(!t||t===!0||typeof t==`object`,`Invalid source value: must be true, falsy or an object`),n(typeof a==`object`,`Invalid options: must be an object`),!t)return null;if(a.shallow)return o.applyToDefaultsWithShallow(e,t,a);let s=r(e);if(t===!0)return s;let c=a.nullOverride===void 0?!1:a.nullOverride;return i(s,t,{nullOverride:c,mergeArrays:!1})},o.applyToDefaultsWithShallow=function(e,t,s){let c=s.shallow;n(Array.isArray(c),`Invalid keys`);let l=new Map,u=t===!0?null:new Set;for(let n of c){n=Array.isArray(n)?n:n.split(`.`);let r=a(e,n);r&&typeof r==`object`?l.set(r,u&&a(t,n)||r):u&&u.add(n)}let d=r(e,{},l);if(!u)return d;for(let e of u)o.reachCopy(d,t,e);let f=s.nullOverride===void 0?!1:s.nullOverride;return i(d,t,{nullOverride:f,mergeArrays:!1})},o.reachCopy=function(e,t,n){for(let e of n){if(!(e in t))return;let n=t[e];if(typeof n!=`object`||!n)return;t=n}let r=t,i=e;for(let e=0;e<n.length-1;++e){let t=n[e];typeof i[t]!=`object`&&(i[t]={}),i=i[t]}i[n[n.length-1]]=r}}),jv=s((exports,t)=>{Vt();let n={};t.exports=n.Bench=class{constructor(){this.ts=0,this.reset()}reset(){this.ts=n.Bench.now()}elapsed(){return n.Bench.now()-this.ts}static now(){let e=Bt.hrtime();return e[0]*1e3+e[1]/1e6}}}),Mv=s((exports,t)=>{t.exports=function(){}}),Nv=s((exports,t)=>{let n=Mv();t.exports=function(){return new Promise(n)}}),Pv=s((exports,t)=>{ce();let n=Ev(),r={mismatched:null};t.exports=function(e,t,n){return n=Object.assign({prototype:!0},n),!!r.isDeepEqual(e,t,n,[])},r.isDeepEqual=function(e,t,i,a){if(e===t)return e!==0||1/e==1/t;let o=typeof e;if(o!==typeof t||e===null||t===null)return!1;if(o===`function`){if(!i.deepFunction||e.toString()!==t.toString())return!1}else if(o!==`object`)return e!==e&&t!==t;let s=r.getSharedType(e,t,!!i.prototype);switch(s){case n.buffer:return E&&E.prototype.equals.call(e,t);case n.promise:return e===t;case n.regex:case n.url:return e.toString()===t.toString();case r.mismatched:return!1}for(let n=a.length-1;n>=0;--n)if(a[n].isSame(e,t))return!0;a.push(new r.SeenEntry(e,t));try{return!!r.isDeepEqualObj(s,e,t,i,a)}finally{a.pop()}},r.getSharedType=function(e,t,i){if(i)return Object.getPrototypeOf(e)===Object.getPrototypeOf(t)?n.getInternalProto(e):r.mismatched;let a=n.getInternalProto(e);return a===n.getInternalProto(t)?a:r.mismatched},r.valueOf=function(e){let t=e.valueOf;if(t===void 0)return e;try{return t.call(e)}catch(e){return e}},r.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},r.isSetSimpleEqual=function(e,t){for(let n of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,n))return!1;return!0},r.isDeepEqualObj=function(e,t,i,a,o){let{isDeepEqual:s,valueOf:c,hasOwnEnumerableProperty:l}=r,{keys:u,getOwnPropertySymbols:d}=Object;if(e===n.array)if(a.part){for(let e of t)for(let t of i)if(s(e,t,a,o))return!0}else{if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!s(t[e],i[e],a,o))return!1;return!0}else if(e===n.set){if(t.size!==i.size)return!1;if(!r.isSetSimpleEqual(t,i)){let e=new Set(Set.prototype.values.call(i));for(let n of Set.prototype.values.call(t)){if(e.delete(n))continue;let t=!1;for(let r of e)if(s(n,r,a,o)){e.delete(r),t=!0;break}if(!t)return!1}}}else if(e===n.map){if(t.size!==i.size)return!1;for(let[e,n]of Map.prototype.entries.call(t))if(n===void 0&&!Map.prototype.has.call(i,e)||!s(n,Map.prototype.get.call(i,e),a,o))return!1}else if(e===n.error&&(t.name!==i.name||t.message!==i.message))return!1;let f=c(t),p=c(i);if((t!==f||i!==p)&&!s(f,p,a,o))return!1;let m=u(t);if(!a.part&&m.length!==u(i).length&&!a.skip)return!1;let h=0;for(let e of m){if(a.skip&&a.skip.includes(e)){i[e]===void 0&&++h;continue}if(!l(i,e)||!s(t[e],i[e],a,o))return!1}if(!a.part&&m.length-h!==u(i).length)return!1;if(a.symbols!==!1){let e=d(t),n=new Set(d(i));for(let r of e){if(!a.skip?.includes(r)){if(l(t,r)){if(!l(i,r)||!s(t[r],i[r],a,o))return!1}else if(l(i,r))return!1}n.delete(r)}for(let e of n)if(l(i,e))return!1}return!0},r.SeenEntry=class{constructor(e,t){this.obj=e,this.ref=t}isSame(e,t){return this.obj===e&&this.ref===t}}}),Fv=s((exports,t)=>{t.exports=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,`\\$&`)}}),Iv=s((exports,t)=>{let n=wv(),r=Pv(),i=Fv(),a=Dv(),o={};t.exports=function(e,t,r={}){return typeof t!=`object`&&(t=[t]),n(!Array.isArray(t)||t.length,`Values array cannot be empty`),typeof e==`string`?o.string(e,t,r):Array.isArray(e)?o.array(e,t,r):(n(typeof e==`object`,`Reference must be string or an object`),o.object(e,t,r))},o.array=function(e,t,n){if(Array.isArray(t)||(t=[t]),!e.length||n.only&&n.once&&e.length!==t.length)return!1;let r,i=new Map;for(let e of t)if(!n.deep||!e||typeof e!=`object`){let t=i.get(e);t?++t.allowed:i.set(e,{allowed:1,hits:0})}else{r??=o.compare(n);let t=!1;for(let[n,a]of i.entries())if(r(n,e)){++a.allowed,t=!0;break}t||i.set(e,{allowed:1,hits:0})}let a=0;for(let t of e){let e;if(!n.deep||!t||typeof t!=`object`)e=i.get(t);else{r??=o.compare(n);for(let[n,a]of i.entries())if(r(n,t)){e=a;break}}if(e&&(++e.hits,++a,n.once&&e.hits>e.allowed))return!1}if(n.only&&a!==e.length)return!1;for(let e of i.values()){if(e.hits===e.allowed)continue;if(e.hits<e.allowed&&!n.part)return!1}return!!a},o.object=function(e,t,r){n(r.once===void 0,`Cannot use option once with object`);let i=a.keys(e,r);if(!i.length)return!1;if(Array.isArray(t))return o.array(i,t,r);let s=Object.getOwnPropertySymbols(t).filter(e=>t.propertyIsEnumerable(e)),c=[...Object.keys(t),...s],l=o.compare(r),u=new Set(c);for(let n of i){if(!u.has(n)){if(r.only)return!1;continue}if(!l(t[n],e[n]))return!1;u.delete(n)}return u.size?r.part?u.size<c.length:!1:!0},o.string=function(e,t,r){if(e===``)return t.length===1&&t[0]===``||!r.once&&!t.some(e=>e!==``);let a=new Map,o=[];for(let e of t)if(n(typeof e==`string`,`Cannot compare string reference to non-string value`),e){let t=a.get(e);t?++t.allowed:(a.set(e,{allowed:1,hits:0}),o.push(i(e)))}else if(r.once||r.only)return!1;if(!o.length)return!0;let s=RegExp(`(${o.join(`|`)})`,`g`),c=e.replace(s,(e,t)=>(++a.get(t).hits,``));if(r.only&&c)return!1;let l=!1;for(let e of a.values()){if(e.hits&&(l=!0),e.hits===e.allowed)continue;if(e.hits<e.allowed&&!r.part||r.once)return!1}return!!l},o.compare=function(e){if(!e.deep)return o.shallow;let t=e.only!==void 0,n=e.part!==void 0,i={prototype:t?e.only:n?!e.part:!1,part:t?!e.only:n?e.part:!1};return(e,t)=>r(e,t,i)},o.shallow=function(e,t){return e===t}}),Lv=s((exports,t)=>{let n=wv();t.exports=function(e){return n(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(e),`Bad attribute value (`+e+`)`),e.replace(/\\/g,`\\\\`).replace(/\"/g,`\\"`)}}),Rv=s((exports,t)=>{let n={};t.exports=function(e){if(!e)return``;let t=``;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);n.isSafe(i)?t+=e[r]:t+=n.escapeHtmlChar(i)}return t},n.escapeHtmlChar=function(e){let t=n.namedHtml.get(e);if(t)return t;if(e>=256)return`&#`+e+`;`;let r=e.toString(16).padStart(2,`0`);return`&#x${r};`},n.isSafe=function(e){return n.safeCharCodes.has(e)},n.namedHtml=new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[34,`&quot;`],[160,`&nbsp;`],[162,`&cent;`],[163,`&pound;`],[164,`&curren;`],[169,`&copy;`],[174,`&reg;`]]),n.safeCharCodes=function(){let e=new Set;for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||t===32||t===46||t===44||t===45||t===58||t===95)&&e.add(t);return e}()}),zv=s((exports,t)=>{let n={};t.exports=function(e){return e?e.replace(/[<>&\u2028\u2029]/g,n.escape):``},n.escape=function(e){return n.replacements.get(e)},n.replacements=new Map([[`<`,`\\u003c`],[`>`,`\\u003e`],[`&`,`\\u0026`],[`\u2028`,`\\u2028`],[`\u2029`,`\\u2029`]])}),Bv=s((exports,t)=>{let n={};t.exports=n.flatten=function(e,t){let r=t||[];for(let t of e)Array.isArray(t)?n.flatten(t,r):r.push(t);return r}}),Vv=s((exports,t)=>{let n={};t.exports=function(e,t,r={}){if(!e||!t)return r.first?null:[];let i=[],a=Array.isArray(e)?new Set(e):e,o=new Set;for(let e of t)if(n.has(a,e)&&!o.has(e)){if(r.first)return e;i.push(e),o.add(e)}return r.first?null:i},n.has=function(e,t){return typeof e.has==`function`?e.has(t):e[t]!==void 0}}),Hv=s((exports,t)=>{t.exports=function(e){return typeof e?.then==`function`}}),Uv=s((exports,t)=>{let n={wrapped:Symbol(`wrapped`)};t.exports=function(e){if(e[n.wrapped])return e;let t=!1,r=function(...n){t||(t=!0,e(...n))};return r[n.wrapped]=!0,r}}),Wv=s((exports,t)=>{let n=Tv();t.exports=function(e,t,r){return t.replace(/{([^{}]+)}/g,(t,i)=>{let a=n(e,i,r);return a??``})}}),Gv=s((exports,t)=>{let n={maxTimer:2**31-1};t.exports=function(e,t,r){if(typeof e==`bigint`&&(e=Number(e)),e>=2**53-1&&(e=1/0),typeof e!=`number`&&e!==void 0)throw TypeError(`Timeout must be a number or bigint`);return new Promise(i=>{let a=r?r.setTimeout:setTimeout,o=()=>{let r=Math.min(e,n.maxTimer);e-=r,a(()=>e>0?o():i(t),r)};e!==1/0&&o()})}}),Kv=u(Av(),1),qv=u(wv(),1),Jv=u(jv(),1),Yv=u(Nv(),1),Xv=u(Ov(),1),Zv=u(Iv(),1),Qv=u(Pv(),1),$v=u(Sv(),1),ey=u(Lv(),1),ty=u(Rv(),1),ny=u(zv(),1),ry=u(Fv(),1),iy=u(Bv(),1),ay=u(Mv(),1),oy=u(Vv(),1),sy=u(Hv(),1),cy=u(kv(),1),ly=u(Uv(),1),uy=u(Tv(),1),dy=u(Wv(),1),fy=u(Cv(),1),py=u(Gv(),1);function my(){let e={},t=`\\dA-Fa-f`,n=`[`+t+`]`,r=`\\w-\\.~`,i=`!\\$&'\\(\\)\\*\\+,;=`,a=`%`+t,o=r+a+i+`:@`,s=`[`+o+`]`,c=`(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;e.ipv4address=`(?:`+c+`\\.){3}(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;let l=n+`{1,4}`,u=`(?:`+l+`:[\\dA-Fa-f]{1,4}|`+e.ipv4address+`)`,d=`(?:`+l+`:){6}`+u,f=`::(?:`+l+`:){5}`+u,p=`(?:`+l+`)?::(?:[\\dA-Fa-f]{1,4}:){4}`+u,m=`(?:(?:`+l+`:){0,1}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){3}`+u,h=`(?:(?:`+l+`:){0,2}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){2}`+u,g=`(?:(?:`+l+`:){0,3}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}:`+u,_=`(?:(?:`+l+`:){0,4}[\\dA-Fa-f]{1,4})?::`+u,v=`(?:(?:`+l+`:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}`,y=`(?:(?:`+l+`:){0,6}[\\dA-Fa-f]{1,4})?::`;e.ipv4Cidr=`(?:\\d|[1-2]\\d|3[0-2])`,e.ipv6Cidr=`(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])`,e.ipv6address=`(?:`+d+`|`+f+`|`+p+`|`+m+`|`+h+`|`+g+`|`+_+`|(?:(?:[\\dA-Fa-f]{1,4}:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}|(?:(?:[\\dA-Fa-f]{1,4}:){0,6}[\\dA-Fa-f]{1,4})?::)`,e.ipvFuture=`v`+n+`+\\.[\\w-\\.~!\\$&'\\(\\)\\*\\+,;=:]+`,e.scheme=`[a-zA-Z][a-zA-Z\\d+-\\.]*`,e.schemeRegex=new RegExp(e.scheme);let b=`[`+r+a+i+`:]*`,x=`\\[(?:`+e.ipv6address+`|`+e.ipvFuture+`)\\]`,S=`[`+r+a+i+`]{1,255}`,C=`(?:`+x+`|`+e.ipv4address+`|[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=]{1,255})`,w=`\\d*`,T=`(?:`+b+`@)?`+C+`(?::\\d*)?`,E=`(?:`+b+`@)?(`+C+`)(?::\\d*)?`,ee=s+`*`,D=s+`+`,O=`[`+r+a+i+`@]+`,k=``,A=`(?:\\/`+ee+`)*`,j=`\\/(?:`+D+A+`)?`,M=D+A,N=O+A,te=`(?:\\/\\/\\/`+ee+A+`)`;return e.hierPart=`(?:(?:\\/\\/`+T+A+`)|`+j+`|`+M+`|`+te+`)`,e.hierPartCapture=`(?:(?:\\/\\/`+E+A+`)|`+j+`|`+M+`)`,e.relativeRef=`(?:(?:\\/\\/`+T+A+`)|`+j+`|`+N+`|)`,e.relativeRefCapture=`(?:(?:\\/\\/`+E+A+`)|`+j+`|`+N+`|)`,e.query=`[`+o+`\\/\\?]*(?=#|$)`,e.queryWithSquareBrackets=`[`+o+`\\[\\]\\/\\?]*(?=#|$)`,e.fragment=`[`+o+`\\/\\?]*`,e}const hy=my(),gy={v4Cidr:hy.ipv4Cidr,v6Cidr:hy.ipv6Cidr,ipv4:hy.ipv4address,ipv6:hy.ipv6address,ipvfuture:hy.ipvFuture};function _y(e){let t=hy,n=e.allowQuerySquareBrackets?t.queryWithSquareBrackets:t.query,r=`(?:\\?`+n+`)?(?:#`+t.fragment+`)?`,i=e.domain?t.relativeRefCapture:t.relativeRef;if(e.relativeOnly)return vy(i+r);let a=``;if(e.scheme){(0,qv.default)(e.scheme instanceof RegExp||typeof e.scheme==`string`||Array.isArray(e.scheme),`scheme must be a RegExp, String, or Array`);let n=[].concat(e.scheme);(0,qv.default)(n.length>=1,`scheme must have at least 1 scheme specified`);let r=[];for(let e=0;e<n.length;++e){let i=n[e];(0,qv.default)(i instanceof RegExp||typeof i==`string`,`scheme at position `+e+` must be a RegExp or String`),i instanceof RegExp?r.push(i.source.toString()):((0,qv.default)(t.schemeRegex.test(i),`scheme at position `+e+` must be a valid scheme`),r.push((0,ry.default)(i)))}a=r.join(`|`)}let o=a?`(?:`+a+`)`:t.scheme,s=`(?:`+o+`:`+(e.domain?t.hierPartCapture:t.hierPart)+`)`,c=e.allowRelative?`(?:`+s+`|`+i+`)`:s;return vy(c+r,a)}function vy(e,t=null){return e=`(?=.)(?!https?\:/(?:$|[^/]))(?!https?\:///)(?!https?\:[^/])${e}`,{raw:e,regex:RegExp(`^${e}$`),scheme:t}}const yy=_y({});function by(e={}){return e.scheme||e.allowRelative||e.relativeOnly||e.allowQuerySquareBrackets||e.domain?_y(e):yy}function xy(e={}){let t=e.cidr||`optional`;(0,qv.default)([`required`,`optional`,`forbidden`].includes(t),`options.cidr must be one of required, optional, forbidden`),(0,qv.default)(e.version===void 0||typeof e.version==`string`||Array.isArray(e.version),`options.version must be a string or an array of string`);let n=e.version||[`ipv4`,`ipv6`,`ipvfuture`];Array.isArray(n)||(n=[n]),(0,qv.default)(n.length>=1,`options.version must have at least 1 version specified`);for(let e of n)(0,qv.default)(typeof e==`string`&&e===e.toLowerCase(),`Invalid options.version value`),(0,qv.default)([`ipv4`,`ipv6`,`ipvfuture`].includes(e),`options.version contains unknown version `+e+` - must be one of ipv4, ipv6, ipvfuture`);n=Array.from(new Set(n));let r=n.map(e=>{if(t===`forbidden`)return gy[e];let n=`\\/${e===`ipv4`?gy.v4Cidr:gy.v6Cidr}`;return t===`required`?`${gy[e]}${n}`:`${gy[e]}(?:${n})?`}),i=`(?:${r.join(`|`)})`,a=RegExp(`^${i}$`);return{cidr:t,versions:n,regex:a,raw:i}}const Sy={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15},Cy={accept:12,reject:0,data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7]};function wy(e){let t=e.indexOf(`%`);if(t===-1)return e;let n=``,r=0,i=0,a=t,o=Cy.accept;for(;t>-1&&t<e.length;){let s=Ty(e[t+1],4),c=Ty(e[t+2],0),l=s|c,u=Cy.data[l];if(o=Cy.data[256+o+u],i=i<<6|l&Cy.data[364+u],o===Cy.accept){n+=e.slice(r,a),n+=i<=65535?String.fromCharCode(i):String.fromCharCode(55232+(i>>10),56320+(i&1023)),i=0,r=t+3,t=e.indexOf(`%`,r),a=t;continue}if(o===Cy.reject||(t+=3,t>=e.length||e[t]!==`%`))return null}return n+e.slice(r)}function Ty(e,t){let n=Sy[e];return n===void 0?255:n<<t}var Ey={};c(Ey,{analyzeDomain:()=>cv,analyzeEmail:()=>hv,errorCodes:()=>Q_,ipRegex:()=>xy,isDomainValid:()=>lv,isEmailValid:()=>gv,uriDecode:()=>wy,uriRegex:()=>by,validateDomainOptions:()=>dv});var Dy=s(exports=>{let t={operators:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`<=`,`>`,`>=`,`==`,`!=`,`&&`,`||`,`??`],operatorCharacters:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`=`,`>`,`&`,`|`,`?`],operatorsOrder:[[`^`],[`*`,`/`,`%`],[`+`,`-`],[`<`,`<=`,`>`,`>=`],[`==`,`!=`],[`&&`],[`||`,`??`]],operatorsPrefix:[`!`,`n`],literals:{'"':`"`,"`":"`","'":`'`,"[":`]`},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol(`formula`),settings:Symbol(`settings`)};exports.Parser=class{constructor(e,n={}){if(!n[t.settings]&&n.constants)for(let e in n.constants){let t=n.constants[e];if(t!==null&&![`boolean`,`number`,`string`].includes(typeof t))throw Error(`Formula constant ${e} contains invalid ${typeof t} value type`)}this.settings=n[t.settings]?n:Object.assign({[t.settings]:!0,constants:{},functions:{}},n),this.single=null,this._parts=null,this._parse(e)}_parse(n){let r=[],i=``,a=0,o=!1,s=n=>{if(a)throw Error(`Formula missing closing parenthesis`);let s=r.length?r[r.length-1]:null;if(!(!o&&!i&&!n)){if(s&&s.type===`reference`&&n===`)`){s.type=`function`,s.value=this._subFormula(i,s.value),i=``;return}if(n===`)`){let t=new exports.Parser(i,this.settings);r.push({type:`segment`,value:t})}else if(o){if(o===`]`){r.push({type:`reference`,value:i}),i=``;return}r.push({type:`literal`,value:i})}else if(t.operatorCharacters.includes(i))s&&s.type===`operator`&&t.operators.includes(s.value+i)?s.value+=i:r.push({type:`operator`,value:i});else if(i.match(t.numberRx))r.push({type:`constant`,value:parseFloat(i)});else if(this.settings.constants[i]!==void 0)r.push({type:`constant`,value:this.settings.constants[i]});else{if(!i.match(t.tokenRx))throw Error(`Formula contains invalid token: ${i}`);r.push({type:`reference`,value:i})}i=``}};for(let e of n)o?e===o?(s(),o=!1):i+=e:a?e===`(`?(i+=e,++a):e===`)`?(--a,a?i+=e:s(e)):i+=e:e in t.literals?o=t.literals[e]:e===`(`?(s(),++a):t.operatorCharacters.includes(e)?(s(),i=e,s()):e===` `?s():i+=e;s(),r=r.map((e,t)=>e.type!==`operator`||e.value!==`-`||t&&r[t-1].type!==`operator`?e:{type:`operator`,value:`n`});let c=!1;for(let e of r){if(e.type===`operator`){if(t.operatorsPrefix.includes(e.value))continue;if(!c)throw Error(`Formula contains an operator in invalid position`);if(!t.operators.includes(e.value))throw Error(`Formula contains an unknown operator ${e.value}`)}else if(c)throw Error(`Formula missing expected operator`);c=!c}if(!c)throw Error(`Formula contains invalid trailing operator`);r.length===1&&[`reference`,`literal`,`constant`].includes(r[0].type)&&(this.single={type:r[0].type===`reference`?`reference`:`value`,value:r[0].value}),this._parts=r.map(e=>{if(e.type===`operator`)return t.operatorsPrefix.includes(e.value)?e:e.value;if(e.type!==`reference`)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw Error(`Formula contains invalid reference ${e.value}`);return this.settings.reference?this.settings.reference(e.value):t.reference(e.value)})}_subFormula(n,r){let i=this.settings.functions[r];if(typeof i!=`function`)throw Error(`Formula contains unknown function ${r}`);let a=[];if(n){let e=``,i=0,o=!1,s=()=>{if(!e)throw Error(`Formula contains function ${r} with invalid arguments ${n}`);a.push(e),e=``};for(let r=0;r<n.length;++r){let a=n[r];o?(e+=a,a===o&&(o=!1)):a in t.literals&&!i?(e+=a,o=t.literals[a]):a===`,`&&!i?s():(e+=a,a===`(`?++i:a===`)`&&--i)}s()}return a=a.map(t=>new exports.Parser(t,this.settings)),function(e){let t=[];for(let n of a)t.push(n.evaluate(e));return i.call(e,...t)}}evaluate(e){let n=this._parts.slice();for(let r=n.length-2;r>=0;--r){let i=n[r];if(i&&i.type===`operator`){let a=n[r+1];n.splice(r+1,1);let o=t.evaluate(a,e);n[r]=t.single(i.value,o)}}return t.operatorsOrder.forEach(r=>{for(let i=1;i<n.length-1;)if(r.includes(n[i])){let r=n[i],a=t.evaluate(n[i-1],e),o=t.evaluate(n[i+1],e);n.splice(i,2);let s=t.calculate(r,a,o);n[i-1]=s===0?0:s}else i+=2}),t.evaluate(n[0],e)}},exports.Parser.prototype[t.symbol]=!0,t.reference=function(e){return function(t){return t&&t[e]!==void 0?t[e]:null}},t.evaluate=function(e,n){return e===null?null:typeof e==`function`?e(n):e[t.symbol]?e.evaluate(n):e},t.single=function(e,t){if(e===`!`)return!t;let n=-t;return n===0?0:n},t.calculate=function(e,n,r){if(e===`??`)return t.exists(n)?n:r;if(typeof n==`string`||typeof r==`string`){if(e===`+`)return n=t.exists(n)?n:``,r=t.exists(r)?r:``,n+r}else switch(e){case`^`:return n**+r;case`*`:return n*r;case`/`:return n/r;case`%`:return n%r;case`+`:return n+r;case`-`:return n-r}switch(e){case`<`:return n<r;case`<=`:return n<=r;case`>`:return n>r;case`>=`:return n>=r;case`==`:return n===r;case`!=`:return n!==r;case`&&`:return n&&r;case`||`:return n||r}return null},t.exists=function(e){return e!=null}}),Oy=s(exports=>{exports.location=function(e=0){let t=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;let n={};Error.captureStackTrace(n,this);let r=n.stack[e+1];return Error.prepareStackTrace=t,{filename:r.getFileName(),line:r.getLineNumber()}}});const ky=`AAA.AARP.ABB.ABBOTT.ABBVIE.ABC.ABLE.ABOGADO.ABUDHABI.AC.ACADEMY.ACCENTURE.ACCOUNTANT.ACCOUNTANTS.ACO.ACTOR.AD.ADS.ADULT.AE.AEG.AERO.AETNA.AF.AFL.AFRICA.AG.AGAKHAN.AGENCY.AI.AIG.AIRBUS.AIRFORCE.AIRTEL.AKDN.AL.ALIBABA.ALIPAY.ALLFINANZ.ALLSTATE.ALLY.ALSACE.ALSTOM.AM.AMAZON.AMERICANEXPRESS.AMERICANFAMILY.AMEX.AMFAM.AMICA.AMSTERDAM.ANALYTICS.ANDROID.ANQUAN.ANZ.AO.AOL.APARTMENTS.APP.APPLE.AQ.AQUARELLE.AR.ARAB.ARAMCO.ARCHI.ARMY.ARPA.ART.ARTE.AS.ASDA.ASIA.ASSOCIATES.AT.ATHLETA.ATTORNEY.AU.AUCTION.AUDI.AUDIBLE.AUDIO.AUSPOST.AUTHOR.AUTO.AUTOS.AW.AWS.AX.AXA.AZ.AZURE.BA.BABY.BAIDU.BANAMEX.BAND.BANK.BAR.BARCELONA.BARCLAYCARD.BARCLAYS.BAREFOOT.BARGAINS.BASEBALL.BASKETBALL.BAUHAUS.BAYERN.BB.BBC.BBT.BBVA.BCG.BCN.BD.BE.BEATS.BEAUTY.BEER.BERLIN.BEST.BESTBUY.BET.BF.BG.BH.BHARTI.BI.BIBLE.BID.BIKE.BING.BINGO.BIO.BIZ.BJ.BLACK.BLACKFRIDAY.BLOCKBUSTER.BLOG.BLOOMBERG.BLUE.BM.BMS.BMW.BN.BNPPARIBAS.BO.BOATS.BOEHRINGER.BOFA.BOM.BOND.BOO.BOOK.BOOKING.BOSCH.BOSTIK.BOSTON.BOT.BOUTIQUE.BOX.BR.BRADESCO.BRIDGESTONE.BROADWAY.BROKER.BROTHER.BRUSSELS.BS.BT.BUILD.BUILDERS.BUSINESS.BUY.BUZZ.BV.BW.BY.BZ.BZH.CA.CAB.CAFE.CAL.CALL.CALVINKLEIN.CAM.CAMERA.CAMP.CANON.CAPETOWN.CAPITAL.CAPITALONE.CAR.CARAVAN.CARDS.CARE.CAREER.CAREERS.CARS.CASA.CASE.CASH.CASINO.CAT.CATERING.CATHOLIC.CBA.CBN.CBRE.CC.CD.CENTER.CEO.CERN.CF.CFA.CFD.CG.CH.CHANEL.CHANNEL.CHARITY.CHASE.CHAT.CHEAP.CHINTAI.CHRISTMAS.CHROME.CHURCH.CI.CIPRIANI.CIRCLE.CISCO.CITADEL.CITI.CITIC.CITY.CK.CL.CLAIMS.CLEANING.CLICK.CLINIC.CLINIQUE.CLOTHING.CLOUD.CLUB.CLUBMED.CM.CN.CO.COACH.CODES.COFFEE.COLLEGE.COLOGNE.COM.COMMBANK.COMMUNITY.COMPANY.COMPARE.COMPUTER.COMSEC.CONDOS.CONSTRUCTION.CONSULTING.CONTACT.CONTRACTORS.COOKING.COOL.COOP.CORSICA.COUNTRY.COUPON.COUPONS.COURSES.CPA.CR.CREDIT.CREDITCARD.CREDITUNION.CRICKET.CROWN.CRS.CRUISE.CRUISES.CU.CUISINELLA.CV.CW.CX.CY.CYMRU.CYOU.CZ.DAD.DANCE.DATA.DATE.DATING.DATSUN.DAY.DCLK.DDS.DE.DEAL.DEALER.DEALS.DEGREE.DELIVERY.DELL.DELOITTE.DELTA.DEMOCRAT.DENTAL.DENTIST.DESI.DESIGN.DEV.DHL.DIAMONDS.DIET.DIGITAL.DIRECT.DIRECTORY.DISCOUNT.DISCOVER.DISH.DIY.DJ.DK.DM.DNP.DO.DOCS.DOCTOR.DOG.DOMAINS.DOT.DOWNLOAD.DRIVE.DTV.DUBAI.DUNLOP.DUPONT.DURBAN.DVAG.DVR.DZ.EARTH.EAT.EC.ECO.EDEKA.EDU.EDUCATION.EE.EG.EMAIL.EMERCK.ENERGY.ENGINEER.ENGINEERING.ENTERPRISES.EPSON.EQUIPMENT.ER.ERICSSON.ERNI.ES.ESQ.ESTATE.ET.EU.EUROVISION.EUS.EVENTS.EXCHANGE.EXPERT.EXPOSED.EXPRESS.EXTRASPACE.FAGE.FAIL.FAIRWINDS.FAITH.FAMILY.FAN.FANS.FARM.FARMERS.FASHION.FAST.FEDEX.FEEDBACK.FERRARI.FERRERO.FI.FIDELITY.FIDO.FILM.FINAL.FINANCE.FINANCIAL.FIRE.FIRESTONE.FIRMDALE.FISH.FISHING.FIT.FITNESS.FJ.FK.FLICKR.FLIGHTS.FLIR.FLORIST.FLOWERS.FLY.FM.FO.FOO.FOOD.FOOTBALL.FORD.FOREX.FORSALE.FORUM.FOUNDATION.FOX.FR.FREE.FRESENIUS.FRL.FROGANS.FRONTIER.FTR.FUJITSU.FUN.FUND.FURNITURE.FUTBOL.FYI.GA.GAL.GALLERY.GALLO.GALLUP.GAME.GAMES.GAP.GARDEN.GAY.GB.GBIZ.GD.GDN.GE.GEA.GENT.GENTING.GEORGE.GF.GG.GGEE.GH.GI.GIFT.GIFTS.GIVES.GIVING.GL.GLASS.GLE.GLOBAL.GLOBO.GM.GMAIL.GMBH.GMO.GMX.GN.GODADDY.GOLD.GOLDPOINT.GOLF.GOO.GOODYEAR.GOOG.GOOGLE.GOP.GOT.GOV.GP.GQ.GR.GRAINGER.GRAPHICS.GRATIS.GREEN.GRIPE.GROCERY.GROUP.GS.GT.GU.GUCCI.GUGE.GUIDE.GUITARS.GURU.GW.GY.HAIR.HAMBURG.HANGOUT.HAUS.HBO.HDFC.HDFCBANK.HEALTH.HEALTHCARE.HELP.HELSINKI.HERE.HERMES.HIPHOP.HISAMITSU.HITACHI.HIV.HK.HKT.HM.HN.HOCKEY.HOLDINGS.HOLIDAY.HOMEDEPOT.HOMEGOODS.HOMES.HOMESENSE.HONDA.HORSE.HOSPITAL.HOST.HOSTING.HOT.HOTELS.HOTMAIL.HOUSE.HOW.HR.HSBC.HT.HU.HUGHES.HYATT.HYUNDAI.IBM.ICBC.ICE.ICU.ID.IE.IEEE.IFM.IKANO.IL.IM.IMAMAT.IMDB.IMMO.IMMOBILIEN.IN.INC.INDUSTRIES.INFINITI.INFO.ING.INK.INSTITUTE.INSURANCE.INSURE.INT.INTERNATIONAL.INTUIT.INVESTMENTS.IO.IPIRANGA.IQ.IR.IRISH.IS.ISMAILI.IST.ISTANBUL.IT.ITAU.ITV.JAGUAR.JAVA.JCB.JE.JEEP.JETZT.JEWELRY.JIO.JLL.JM.JMP.JNJ.JO.JOBS.JOBURG.JOT.JOY.JP.JPMORGAN.JPRS.JUEGOS.JUNIPER.KAUFEN.KDDI.KE.KERRYHOTELS.KERRYPROPERTIES.KFH.KG.KH.KI.KIA.KIDS.KIM.KINDLE.KITCHEN.KIWI.KM.KN.KOELN.KOMATSU.KOSHER.KP.KPMG.KPN.KR.KRD.KRED.KUOKGROUP.KW.KY.KYOTO.KZ.LA.LACAIXA.LAMBORGHINI.LAMER.LAND.LANDROVER.LANXESS.LASALLE.LAT.LATINO.LATROBE.LAW.LAWYER.LB.LC.LDS.LEASE.LECLERC.LEFRAK.LEGAL.LEGO.LEXUS.LGBT.LI.LIDL.LIFE.LIFEINSURANCE.LIFESTYLE.LIGHTING.LIKE.LILLY.LIMITED.LIMO.LINCOLN.LINK.LIVE.LIVING.LK.LLC.LLP.LOAN.LOANS.LOCKER.LOCUS.LOL.LONDON.LOTTE.LOTTO.LOVE.LPL.LPLFINANCIAL.LR.LS.LT.LTD.LTDA.LU.LUNDBECK.LUXE.LUXURY.LV.LY.MA.MADRID.MAIF.MAISON.MAKEUP.MAN.MANAGEMENT.MANGO.MAP.MARKET.MARKETING.MARKETS.MARRIOTT.MARSHALLS.MATTEL.MBA.MC.MCKINSEY.MD.ME.MED.MEDIA.MEET.MELBOURNE.MEME.MEMORIAL.MEN.MENU.MERCKMSD.MG.MH.MIAMI.MICROSOFT.MIL.MINI.MINT.MIT.MITSUBISHI.MK.ML.MLB.MLS.MM.MMA.MN.MO.MOBI.MOBILE.MODA.MOE.MOI.MOM.MONASH.MONEY.MONSTER.MORMON.MORTGAGE.MOSCOW.MOTO.MOTORCYCLES.MOV.MOVIE.MP.MQ.MR.MS.MSD.MT.MTN.MTR.MU.MUSEUM.MUSIC.MV.MW.MX.MY.MZ.NA.NAB.NAGOYA.NAME.NAVY.NBA.NC.NE.NEC.NET.NETBANK.NETFLIX.NETWORK.NEUSTAR.NEW.NEWS.NEXT.NEXTDIRECT.NEXUS.NF.NFL.NG.NGO.NHK.NI.NICO.NIKE.NIKON.NINJA.NISSAN.NISSAY.NL.NO.NOKIA.NORTON.NOW.NOWRUZ.NOWTV.NP.NR.NRA.NRW.NTT.NU.NYC.NZ.OBI.OBSERVER.OFFICE.OKINAWA.OLAYAN.OLAYANGROUP.OLLO.OM.OMEGA.ONE.ONG.ONL.ONLINE.OOO.OPEN.ORACLE.ORANGE.ORG.ORGANIC.ORIGINS.OSAKA.OTSUKA.OTT.OVH.PA.PAGE.PANASONIC.PARIS.PARS.PARTNERS.PARTS.PARTY.PAY.PCCW.PE.PET.PF.PFIZER.PG.PH.PHARMACY.PHD.PHILIPS.PHONE.PHOTO.PHOTOGRAPHY.PHOTOS.PHYSIO.PICS.PICTET.PICTURES.PID.PIN.PING.PINK.PIONEER.PIZZA.PK.PL.PLACE.PLAY.PLAYSTATION.PLUMBING.PLUS.PM.PN.PNC.POHL.POKER.POLITIE.PORN.POST.PR.PRAXI.PRESS.PRIME.PRO.PROD.PRODUCTIONS.PROF.PROGRESSIVE.PROMO.PROPERTIES.PROPERTY.PROTECTION.PRU.PRUDENTIAL.PS.PT.PUB.PW.PWC.PY.QA.QPON.QUEBEC.QUEST.RACING.RADIO.RE.READ.REALESTATE.REALTOR.REALTY.RECIPES.RED.REDSTONE.REDUMBRELLA.REHAB.REISE.REISEN.REIT.RELIANCE.REN.RENT.RENTALS.REPAIR.REPORT.REPUBLICAN.REST.RESTAURANT.REVIEW.REVIEWS.REXROTH.RICH.RICHARDLI.RICOH.RIL.RIO.RIP.RO.ROCKS.RODEO.ROGERS.ROOM.RS.RSVP.RU.RUGBY.RUHR.RUN.RW.RWE.RYUKYU.SA.SAARLAND.SAFE.SAFETY.SAKURA.SALE.SALON.SAMSCLUB.SAMSUNG.SANDVIK.SANDVIKCOROMANT.SANOFI.SAP.SARL.SAS.SAVE.SAXO.SB.SBI.SBS.SC.SCB.SCHAEFFLER.SCHMIDT.SCHOLARSHIPS.SCHOOL.SCHULE.SCHWARZ.SCIENCE.SCOT.SD.SE.SEARCH.SEAT.SECURE.SECURITY.SEEK.SELECT.SENER.SERVICES.SEVEN.SEW.SEX.SEXY.SFR.SG.SH.SHANGRILA.SHARP.SHELL.SHIA.SHIKSHA.SHOES.SHOP.SHOPPING.SHOUJI.SHOW.SI.SILK.SINA.SINGLES.SITE.SJ.SK.SKI.SKIN.SKY.SKYPE.SL.SLING.SM.SMART.SMILE.SN.SNCF.SO.SOCCER.SOCIAL.SOFTBANK.SOFTWARE.SOHU.SOLAR.SOLUTIONS.SONG.SONY.SOY.SPA.SPACE.SPORT.SPOT.SR.SRL.SS.ST.STADA.STAPLES.STAR.STATEBANK.STATEFARM.STC.STCGROUP.STOCKHOLM.STORAGE.STORE.STREAM.STUDIO.STUDY.STYLE.SU.SUCKS.SUPPLIES.SUPPLY.SUPPORT.SURF.SURGERY.SUZUKI.SV.SWATCH.SWISS.SX.SY.SYDNEY.SYSTEMS.SZ.TAB.TAIPEI.TALK.TAOBAO.TARGET.TATAMOTORS.TATAR.TATTOO.TAX.TAXI.TC.TCI.TD.TDK.TEAM.TECH.TECHNOLOGY.TEL.TEMASEK.TENNIS.TEVA.TF.TG.TH.THD.THEATER.THEATRE.TIAA.TICKETS.TIENDA.TIPS.TIRES.TIROL.TJ.TJMAXX.TJX.TK.TKMAXX.TL.TM.TMALL.TN.TO.TODAY.TOKYO.TOOLS.TOP.TORAY.TOSHIBA.TOTAL.TOURS.TOWN.TOYOTA.TOYS.TR.TRADE.TRADING.TRAINING.TRAVEL.TRAVELERS.TRAVELERSINSURANCE.TRUST.TRV.TT.TUBE.TUI.TUNES.TUSHU.TV.TVS.TW.TZ.UA.UBANK.UBS.UG.UK.UNICOM.UNIVERSITY.UNO.UOL.UPS.US.UY.UZ.VA.VACATIONS.VANA.VANGUARD.VC.VE.VEGAS.VENTURES.VERISIGN.VERSICHERUNG.VET.VG.VI.VIAJES.VIDEO.VIG.VIKING.VILLAS.VIN.VIP.VIRGIN.VISA.VISION.VIVA.VIVO.VLAANDEREN.VN.VODKA.VOLVO.VOTE.VOTING.VOTO.VOYAGE.VU.WALES.WALMART.WALTER.WANG.WANGGOU.WATCH.WATCHES.WEATHER.WEATHERCHANNEL.WEBCAM.WEBER.WEBSITE.WED.WEDDING.WEIBO.WEIR.WF.WHOSWHO.WIEN.WIKI.WILLIAMHILL.WIN.WINDOWS.WINE.WINNERS.WME.WOLTERSKLUWER.WOODSIDE.WORK.WORKS.WORLD.WOW.WS.WTC.WTF.XBOX.XEROX.XIHUAN.XIN.XN--11B4C3D.XN--1CK2E1B.XN--1QQW23A.XN--2SCRJ9C.XN--30RR7Y.XN--3BST00M.XN--3DS443G.XN--3E0B707E.XN--3HCRJ9C.XN--3PXU8K.XN--42C2D9A.XN--45BR5CYL.XN--45BRJ9C.XN--45Q11C.XN--4DBRK0CE.XN--4GBRIM.XN--54B7FTA0CC.XN--55QW42G.XN--55QX5D.XN--5SU34J936BGSG.XN--5TZM5G.XN--6FRZ82G.XN--6QQ986B3XL.XN--80ADXHKS.XN--80AO21A.XN--80AQECDR1A.XN--80ASEHDB.XN--80ASWG.XN--8Y0A063A.XN--90A3AC.XN--90AE.XN--90AIS.XN--9DBQ2A.XN--9ET52U.XN--9KRT00A.XN--B4W605FERD.XN--BCK1B9A5DRE4C.XN--C1AVG.XN--C2BR7G.XN--CCK2B3B.XN--CCKWCXETD.XN--CG4BKI.XN--CLCHC0EA0B2G2A9GCD.XN--CZR694B.XN--CZRS0T.XN--CZRU2D.XN--D1ACJ3B.XN--D1ALF.XN--E1A4C.XN--ECKVDTC9D.XN--EFVY88H.XN--FCT429K.XN--FHBEI.XN--FIQ228C5HS.XN--FIQ64B.XN--FIQS8S.XN--FIQZ9S.XN--FJQ720A.XN--FLW351E.XN--FPCRJ9C3D.XN--FZC2C9E2C.XN--FZYS8D69UVGM.XN--G2XX48C.XN--GCKR3F0F.XN--GECRJ9C.XN--GK3AT1E.XN--H2BREG3EVE.XN--H2BRJ9C.XN--H2BRJ9C8C.XN--HXT814E.XN--I1B6B1A6A2E.XN--IMR513N.XN--IO0A7I.XN--J1AEF.XN--J1AMH.XN--J6W193G.XN--JLQ480N2RG.XN--JVR189M.XN--KCRX77D1X4A.XN--KPRW13D.XN--KPRY57D.XN--KPUT3I.XN--L1ACC.XN--LGBBAT1AD8J.XN--MGB9AWBF.XN--MGBA3A3EJT.XN--MGBA3A4F16A.XN--MGBA7C0BBN0A.XN--MGBAAM7A8H.XN--MGBAB2BD.XN--MGBAH1A3HJKRD.XN--MGBAI9AZGQP6J.XN--MGBAYH7GPA.XN--MGBBH1A.XN--MGBBH1A71E.XN--MGBC0A9AZCG.XN--MGBCA7DZDO.XN--MGBCPQ6GPA1A.XN--MGBERP4A5D4AR.XN--MGBGU82A.XN--MGBI4ECEXP.XN--MGBPL2FH.XN--MGBT3DHD.XN--MGBTX2B.XN--MGBX4CD0AB.XN--MIX891F.XN--MK1BU44C.XN--MXTQ1M.XN--NGBC5AZD.XN--NGBE9E0A.XN--NGBRX.XN--NODE.XN--NQV7F.XN--NQV7FS00EMA.XN--NYQY26A.XN--O3CW4H.XN--OGBPF8FL.XN--OTU796D.XN--P1ACF.XN--P1AI.XN--PGBS0DH.XN--PSSY2U.XN--Q7CE6A.XN--Q9JYB4C.XN--QCKA1PMC.XN--QXA6A.XN--QXAM.XN--RHQV96G.XN--ROVU88B.XN--RVC1E0AM3E.XN--S9BRJ9C.XN--SES554G.XN--T60B56A.XN--TCKWE.XN--TIQ49XQYJ.XN--UNUP4Y.XN--VERMGENSBERATER-CTB.XN--VERMGENSBERATUNG-PWB.XN--VHQUV.XN--VUQ861B.XN--W4R85EL8FHU5DNRA.XN--W4RS40L.XN--WGBH1C.XN--WGBL6A.XN--XHQ521B.XN--XKC2AL3HYE2A.XN--XKC2DL3A5EE0H.XN--Y9A3AQ.XN--YFRO4I67O.XN--YGBI2AMMX.XN--ZFR164B.XXX.XYZ.YACHTS.YAHOO.YAMAXUN.YANDEX.YE.YODOBASHI.YOGA.YOKOHAMA.YOU.YOUTUBE.YT.YUN.ZA.ZAPPOS.ZARA.ZERO.ZIP.ZM.ZONE.ZUERICH.ZW`.split(`.`),Ay=new Set(ky.map(e=>e.toLowerCase()));var jy=u(Dy()),My=u(Oy()),Ny=u($n());const Py=`1.20250720.0`;Object.defineProperty(exports,`ValidationError`,{enumerable:!0,get:function(){return Ny.ValidationError}}),Object.defineProperty(exports,`address`,{enumerable:!0,get:function(){return Ey}}),exports.decode=J_,exports.encode=q_,Object.defineProperty(exports,`formula`,{enumerable:!0,get:function(){return jy}}),Object.defineProperty(exports,`location`,{enumerable:!0,get:function(){return My.location}}),exports.tlds=Ay,exports.validator=Z_,exports.version=Py;
5
+ `+str.split(`
6
+ `).map(function(line){return` `+line}).join(`
7
+ `))):str=ctx.stylize(`[Circular]`,`special`)),isUndefined$2(name$1)){if(array&&key.match(/^\d+$/))return str;name$1=JSON.stringify(``+key),name$1.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name$1=name$1.slice(1,-1),name$1=ctx.stylize(name$1,`name`)):(name$1=name$1.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),name$1=ctx.stylize(name$1,`string`))}return name$1+`: `+str}function reduceToSingleString(output,base,braces){var numLinesEst=0,length=output.reduce(function(prev,cur){return numLinesEst++,cur.indexOf(`
8
+ `)>=0&&numLinesEst++,prev+cur.replace(/\u001b\[\d\d?m/g,``).length+1},0);return length>60?braces[0]+(base===``?``:base+`
9
+ `)+` `+output.join(`,
10
+ `)+` `+braces[1]:braces[0]+base+` `+output.join(`, `)+` `+braces[1]}exports.types=require_types$1();function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return typeof arg==`boolean`}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber$2(arg){return typeof arg==`number`}exports.isNumber=isNumber$2;function isString$2(arg){return typeof arg==`string`}exports.isString=isString$2;function isSymbol(arg){return typeof arg==`symbol`}exports.isSymbol=isSymbol;function isUndefined$2(arg){return arg===void 0}exports.isUndefined=isUndefined$2;function isRegExp(re$5){return isObject(re$5)&&objectToString(re$5)===`[object RegExp]`}exports.isRegExp=isRegExp,exports.types.isRegExp=isRegExp;function isObject(arg){return typeof arg==`object`&&!!arg}exports.isObject=isObject;function isDate$2(d){return isObject(d)&&objectToString(d)===`[object Date]`}exports.isDate=isDate$2,exports.types.isDate=isDate$2;function isError(e){return isObject(e)&&(objectToString(e)===`[object Error]`||e instanceof Error)}exports.isError=isError,exports.types.isNativeError=isError;function isFunction(arg){return typeof arg==`function`}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==`boolean`||typeof arg==`number`||typeof arg==`string`||typeof arg==`symbol`||arg===void 0}exports.isPrimitive=isPrimitive,exports.isBuffer=require_isBuffer();function objectToString(o){return Object.prototype.toString.call(o)}function pad(n$2){return n$2<10?`0`+n$2.toString(10):n$2.toString(10)}var months$2=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(`:`);return[d.getDate(),months$2[d.getMonth()],time].join(` `)}exports.log=function(){console.log(`%s - %s`,timestamp(),exports.format.apply(exports,arguments))},exports.inherits=require_inherits(),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i$4=keys.length;i$4--;)origin[keys[i$4]]=add[keys[i$4]];return origin};function hasOwnProperty$2(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}var kCustomPromisifiedSymbol=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;exports.promisify=function(original){if(typeof original!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(kCustomPromisifiedSymbol&&original[kCustomPromisifiedSymbol]){var fn$1=original[kCustomPromisifiedSymbol];if(typeof fn$1!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(fn$1,kCustomPromisifiedSymbol,{value:fn$1,enumerable:!1,writable:!1,configurable:!0}),fn$1}function fn$1(){for(var promiseResolve,promiseReject,promise=new Promise(function(resolve,reject){promiseResolve=resolve,promiseReject=reject}),args$1=[],i$4=0;i$4<arguments.length;i$4++)args$1.push(arguments[i$4]);args$1.push(function(err$1,value){err$1?promiseReject(err$1):promiseResolve(value)});try{original.apply(this,args$1)}catch(err$1){promiseReject(err$1)}return promise}return Object.setPrototypeOf(fn$1,Object.getPrototypeOf(original)),kCustomPromisifiedSymbol&&Object.defineProperty(fn$1,kCustomPromisifiedSymbol,{value:fn$1,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(fn$1,getOwnPropertyDescriptors(original))},exports.promisify.custom=kCustomPromisifiedSymbol;function callbackifyOnRejected(reason,cb){if(!reason){var newReason=Error(`Promise was rejected with a falsy value`);newReason.reason=reason,reason=newReason}return cb(reason)}function callbackify(original){if(typeof original!=`function`)throw TypeError(`The "original" argument must be of type Function`);function callbackified(){for(var args$1=[],i$4=0;i$4<arguments.length;i$4++)args$1.push(arguments[i$4]);var maybeCb=args$1.pop();if(typeof maybeCb!=`function`)throw TypeError(`The last argument must be of type Function`);var self$1=this,cb=function(){return maybeCb.apply(self$1,arguments)};original.apply(this,args$1).then(function(ret){process$1.nextTick(cb.bind(null,null,ret))},function(rej){process$1.nextTick(callbackifyOnRejected.bind(null,rej,cb))})}return Object.setPrototypeOf(callbackified,Object.getPrototypeOf(original)),Object.defineProperties(callbackified,getOwnPropertyDescriptors(original)),callbackified}exports.callbackify=callbackify}),require_email=__commonJSMin(exports=>{let Util=require_util(),Domain$1=require_domain(),Errors$1=require_errors(),internals$20={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(Util.TextEncoder||TextEncoder)};exports.analyze=function(email,options){return internals$20.email(email,options)},exports.isValid=function(email,options){return!internals$20.email(email,options)},internals$20.email=function(email,options={}){if(typeof email!=`string`)throw Error(`Invalid input: email must be a string`);if(!email)return Errors$1.code(`EMPTY_STRING`);let ascii$2=!internals$20.nonAsciiRx.test(email);if(!ascii$2){if(options.allowUnicode===!1)return Errors$1.code(`FORBIDDEN_UNICODE`);email=email.normalize(`NFC`)}let parts=email.split(`@`);if(parts.length!==2)return parts.length>2?Errors$1.code(`MULTIPLE_AT_CHAR`):Errors$1.code(`MISSING_AT_CHAR`);let[local,domain]=parts;if(!local)return Errors$1.code(`EMPTY_LOCAL`);if(!options.ignoreLength){if(email.length>254)return Errors$1.code(`ADDRESS_TOO_LONG`);if(internals$20.encoder.encode(local).length>64)return Errors$1.code(`LOCAL_TOO_LONG`)}return internals$20.local(local,ascii$2)||Domain$1.analyze(domain,options)},internals$20.local=function(local,ascii$2){let segments=local.split(`.`);for(let segment of segments){if(!segment.length)return Errors$1.code(`EMPTY_LOCAL_SEGMENT`);if(ascii$2){if(!internals$20.atextRx.test(segment))return Errors$1.code(`INVALID_LOCAL_CHARS`);continue}for(let char of segment){if(internals$20.atextRx.test(char))continue;let binary=internals$20.binary(char);if(!internals$20.atomRx.test(binary))return Errors$1.code(`INVALID_LOCAL_CHARS`)}}},internals$20.binary=function(char){return Array.from(internals$20.encoder.encode(char)).map(v=>String.fromCharCode(v)).join(``)},internals$20.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,internals$20.atomRx=new RegExp([`(?:[\\xc2-\\xdf][\\x80-\\xbf])`,`(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})`,`(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})`].join(`|`))}),require_escapeRegex$1=__commonJSMin((exports,module)=>{module.exports=function(string){return string.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,`\\$&`)}}),require_uri=__commonJSMin(exports=>{let Assert$10=require_assert$1(),EscapeRegex$2=require_escapeRegex$1(),internals$19={};internals$19.generate=function(){let rfc3986$1={},hexDigit=`\\dA-Fa-f`,hexDigitOnly=`[`+hexDigit+`]`,unreserved=`\\w-\\.~`,subDelims=`!\\$&'\\(\\)\\*\\+,;=`,pctEncoded=`%`+hexDigit,pchar=unreserved+pctEncoded+subDelims+`:@`,pcharOnly=`[`+pchar+`]`,decOctect=`(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;rfc3986$1.ipv4address=`(?:`+decOctect+`\\.){3}(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;let h16=hexDigitOnly+`{1,4}`,ls32=`(?:`+h16+`:[\\dA-Fa-f]{1,4}|`+rfc3986$1.ipv4address+`)`,IPv6SixHex=`(?:`+h16+`:){6}`+ls32,IPv6FiveHex=`::(?:`+h16+`:){5}`+ls32,IPv6FourHex=`(?:`+h16+`)?::(?:[\\dA-Fa-f]{1,4}:){4}`+ls32,IPv6ThreeHex=`(?:(?:`+h16+`:){0,1}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){3}`+ls32,IPv6TwoHex=`(?:(?:`+h16+`:){0,2}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){2}`+ls32,IPv6OneHex=`(?:(?:`+h16+`:){0,3}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}:`+ls32,IPv6NoneHex=`(?:(?:`+h16+`:){0,4}[\\dA-Fa-f]{1,4})?::`+ls32,IPv6NoneHex2=`(?:(?:`+h16+`:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}`,IPv6NoneHex3=`(?:(?:`+h16+`:){0,6}[\\dA-Fa-f]{1,4})?::`;rfc3986$1.ipv4Cidr=`(?:\\d|[1-2]\\d|3[0-2])`,rfc3986$1.ipv6Cidr=`(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])`,rfc3986$1.ipv6address=`(?:`+IPv6SixHex+`|`+IPv6FiveHex+`|`+IPv6FourHex+`|`+IPv6ThreeHex+`|`+IPv6TwoHex+`|`+IPv6OneHex+`|`+IPv6NoneHex+`|(?:(?:[\\dA-Fa-f]{1,4}:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}|(?:(?:[\\dA-Fa-f]{1,4}:){0,6}[\\dA-Fa-f]{1,4})?::)`,rfc3986$1.ipvFuture=`v`+hexDigitOnly+`+\\.[\\w-\\.~!\\$&'\\(\\)\\*\\+,;=:]+`,rfc3986$1.scheme=`[a-zA-Z][a-zA-Z\\d+-\\.]*`,rfc3986$1.schemeRegex=new RegExp(rfc3986$1.scheme);let userinfo=`[`+unreserved+pctEncoded+subDelims+`:]*`,IPLiteral=`\\[(?:`+rfc3986$1.ipv6address+`|`+rfc3986$1.ipvFuture+`)\\]`,regName=`[`+unreserved+pctEncoded+subDelims+`]{1,255}`,host=`(?:`+IPLiteral+`|`+rfc3986$1.ipv4address+`|[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=]{1,255})`,port=`\\d*`,authority=`(?:`+userinfo+`@)?`+host+`(?::\\d*)?`,authorityCapture=`(?:`+userinfo+`@)?(`+host+`)(?::\\d*)?`,segment=pcharOnly+`*`,segmentNz=pcharOnly+`+`,segmentNzNc=`[`+unreserved+pctEncoded+subDelims+`@]+`,pathEmpty=``,pathAbEmpty=`(?:\\/`+segment+`)*`,pathAbsolute=`\\/(?:`+segmentNz+pathAbEmpty+`)?`,pathRootless=segmentNz+pathAbEmpty,pathNoScheme=segmentNzNc+pathAbEmpty,pathAbNoAuthority=`(?:\\/\\/\\/`+segment+pathAbEmpty+`)`;return rfc3986$1.hierPart=`(?:(?:\\/\\/`+authority+pathAbEmpty+`)|`+pathAbsolute+`|`+pathRootless+`|`+pathAbNoAuthority+`)`,rfc3986$1.hierPartCapture=`(?:(?:\\/\\/`+authorityCapture+pathAbEmpty+`)|`+pathAbsolute+`|`+pathRootless+`)`,rfc3986$1.relativeRef=`(?:(?:\\/\\/`+authority+pathAbEmpty+`)|`+pathAbsolute+`|`+pathNoScheme+`|)`,rfc3986$1.relativeRefCapture=`(?:(?:\\/\\/`+authorityCapture+pathAbEmpty+`)|`+pathAbsolute+`|`+pathNoScheme+`|)`,rfc3986$1.query=`[`+pchar+`\\/\\?]*(?=#|$)`,rfc3986$1.queryWithSquareBrackets=`[`+pchar+`\\[\\]\\/\\?]*(?=#|$)`,rfc3986$1.fragment=`[`+pchar+`\\/\\?]*`,rfc3986$1},internals$19.rfc3986=internals$19.generate(),exports.ip={v4Cidr:internals$19.rfc3986.ipv4Cidr,v6Cidr:internals$19.rfc3986.ipv6Cidr,ipv4:internals$19.rfc3986.ipv4address,ipv6:internals$19.rfc3986.ipv6address,ipvfuture:internals$19.rfc3986.ipvFuture},internals$19.createRegex=function(options){let rfc=internals$19.rfc3986,query=options.allowQuerySquareBrackets?rfc.queryWithSquareBrackets:rfc.query,suffix=`(?:\\?`+query+`)?(?:#`+rfc.fragment+`)?`,relative=options.domain?rfc.relativeRefCapture:rfc.relativeRef;if(options.relativeOnly)return internals$19.wrap(relative+suffix);let customScheme=``;if(options.scheme){Assert$10(options.scheme instanceof RegExp||typeof options.scheme==`string`||Array.isArray(options.scheme),`scheme must be a RegExp, String, or Array`);let schemes=[].concat(options.scheme);Assert$10(schemes.length>=1,`scheme must have at least 1 scheme specified`);let selections=[];for(let i$4=0;i$4<schemes.length;++i$4){let scheme$1=schemes[i$4];Assert$10(scheme$1 instanceof RegExp||typeof scheme$1==`string`,`scheme at position `+i$4+` must be a RegExp or String`),scheme$1 instanceof RegExp?selections.push(scheme$1.source.toString()):(Assert$10(rfc.schemeRegex.test(scheme$1),`scheme at position `+i$4+` must be a valid scheme`),selections.push(EscapeRegex$2(scheme$1)))}customScheme=selections.join(`|`)}let scheme=customScheme?`(?:`+customScheme+`)`:rfc.scheme,absolute=`(?:`+scheme+`:`+(options.domain?rfc.hierPartCapture:rfc.hierPart)+`)`,prefix=options.allowRelative?`(?:`+absolute+`|`+relative+`)`:absolute;return internals$19.wrap(prefix+suffix,customScheme)},internals$19.wrap=function(raw,scheme){return raw=`(?=.)(?!https?\:/(?:$|[^/]))(?!https?\:///)(?!https?\:[^/])${raw}`,{raw,regex:RegExp(`^${raw}$`),scheme}},internals$19.uriRegex=internals$19.createRegex({}),exports.regex=function(options={}){return options.scheme||options.allowRelative||options.relativeOnly||options.allowQuerySquareBrackets||options.domain?internals$19.createRegex(options):internals$19.uriRegex}}),require_ip=__commonJSMin(exports=>{let Assert$9=require_assert$1(),Uri$1=require_uri();exports.regex=function(options={}){Assert$9(options.cidr===void 0||typeof options.cidr==`string`,`options.cidr must be a string`);let cidr=options.cidr?options.cidr.toLowerCase():`optional`;Assert$9([`required`,`optional`,`forbidden`].includes(cidr),`options.cidr must be one of required, optional, forbidden`),Assert$9(options.version===void 0||typeof options.version==`string`||Array.isArray(options.version),`options.version must be a string or an array of string`);let versions=options.version||[`ipv4`,`ipv6`,`ipvfuture`];Array.isArray(versions)||(versions=[versions]),Assert$9(versions.length>=1,`options.version must have at least 1 version specified`);for(let i$4=0;i$4<versions.length;++i$4)Assert$9(typeof versions[i$4]==`string`,`options.version must only contain strings`),versions[i$4]=versions[i$4].toLowerCase(),Assert$9([`ipv4`,`ipv6`,`ipvfuture`].includes(versions[i$4]),`options.version contains unknown version `+versions[i$4]+` - must be one of ipv4, ipv6, ipvfuture`);versions=Array.from(new Set(versions));let parts=versions.map(version$3=>{if(cidr===`forbidden`)return Uri$1.ip[version$3];let cidrpart=`\\/${version$3===`ipv4`?Uri$1.ip.v4Cidr:Uri$1.ip.v6Cidr}`;return cidr===`required`?`${Uri$1.ip[version$3]}${cidrpart}`:`${Uri$1.ip[version$3]}(?:${cidrpart})?`}),raw=`(?:${parts.join(`|`)})`,regex=RegExp(`^${raw}$`);return{cidr,versions,regex,raw}}}),require_tlds=__commonJSMin((exports,module)=>{let internals$18={};internals$18.tlds=`AAA.AARP.ABB.ABBOTT.ABBVIE.ABC.ABLE.ABOGADO.ABUDHABI.AC.ACADEMY.ACCENTURE.ACCOUNTANT.ACCOUNTANTS.ACO.ACTOR.AD.ADS.ADULT.AE.AEG.AERO.AETNA.AF.AFL.AFRICA.AG.AGAKHAN.AGENCY.AI.AIG.AIRBUS.AIRFORCE.AIRTEL.AKDN.AL.ALIBABA.ALIPAY.ALLFINANZ.ALLSTATE.ALLY.ALSACE.ALSTOM.AM.AMAZON.AMERICANEXPRESS.AMERICANFAMILY.AMEX.AMFAM.AMICA.AMSTERDAM.ANALYTICS.ANDROID.ANQUAN.ANZ.AO.AOL.APARTMENTS.APP.APPLE.AQ.AQUARELLE.AR.ARAB.ARAMCO.ARCHI.ARMY.ARPA.ART.ARTE.AS.ASDA.ASIA.ASSOCIATES.AT.ATHLETA.ATTORNEY.AU.AUCTION.AUDI.AUDIBLE.AUDIO.AUSPOST.AUTHOR.AUTO.AUTOS.AVIANCA.AW.AWS.AX.AXA.AZ.AZURE.BA.BABY.BAIDU.BANAMEX.BAND.BANK.BAR.BARCELONA.BARCLAYCARD.BARCLAYS.BAREFOOT.BARGAINS.BASEBALL.BASKETBALL.BAUHAUS.BAYERN.BB.BBC.BBT.BBVA.BCG.BCN.BD.BE.BEATS.BEAUTY.BEER.BENTLEY.BERLIN.BEST.BESTBUY.BET.BF.BG.BH.BHARTI.BI.BIBLE.BID.BIKE.BING.BINGO.BIO.BIZ.BJ.BLACK.BLACKFRIDAY.BLOCKBUSTER.BLOG.BLOOMBERG.BLUE.BM.BMS.BMW.BN.BNPPARIBAS.BO.BOATS.BOEHRINGER.BOFA.BOM.BOND.BOO.BOOK.BOOKING.BOSCH.BOSTIK.BOSTON.BOT.BOUTIQUE.BOX.BR.BRADESCO.BRIDGESTONE.BROADWAY.BROKER.BROTHER.BRUSSELS.BS.BT.BUILD.BUILDERS.BUSINESS.BUY.BUZZ.BV.BW.BY.BZ.BZH.CA.CAB.CAFE.CAL.CALL.CALVINKLEIN.CAM.CAMERA.CAMP.CANON.CAPETOWN.CAPITAL.CAPITALONE.CAR.CARAVAN.CARDS.CARE.CAREER.CAREERS.CARS.CASA.CASE.CASH.CASINO.CAT.CATERING.CATHOLIC.CBA.CBN.CBRE.CC.CD.CENTER.CEO.CERN.CF.CFA.CFD.CG.CH.CHANEL.CHANNEL.CHARITY.CHASE.CHAT.CHEAP.CHINTAI.CHRISTMAS.CHROME.CHURCH.CI.CIPRIANI.CIRCLE.CISCO.CITADEL.CITI.CITIC.CITY.CK.CL.CLAIMS.CLEANING.CLICK.CLINIC.CLINIQUE.CLOTHING.CLOUD.CLUB.CLUBMED.CM.CN.CO.COACH.CODES.COFFEE.COLLEGE.COLOGNE.COM.COMCAST.COMMBANK.COMMUNITY.COMPANY.COMPARE.COMPUTER.COMSEC.CONDOS.CONSTRUCTION.CONSULTING.CONTACT.CONTRACTORS.COOKING.COOL.COOP.CORSICA.COUNTRY.COUPON.COUPONS.COURSES.CPA.CR.CREDIT.CREDITCARD.CREDITUNION.CRICKET.CROWN.CRS.CRUISE.CRUISES.CU.CUISINELLA.CV.CW.CX.CY.CYMRU.CYOU.CZ.DABUR.DAD.DANCE.DATA.DATE.DATING.DATSUN.DAY.DCLK.DDS.DE.DEAL.DEALER.DEALS.DEGREE.DELIVERY.DELL.DELOITTE.DELTA.DEMOCRAT.DENTAL.DENTIST.DESI.DESIGN.DEV.DHL.DIAMONDS.DIET.DIGITAL.DIRECT.DIRECTORY.DISCOUNT.DISCOVER.DISH.DIY.DJ.DK.DM.DNP.DO.DOCS.DOCTOR.DOG.DOMAINS.DOT.DOWNLOAD.DRIVE.DTV.DUBAI.DUNLOP.DUPONT.DURBAN.DVAG.DVR.DZ.EARTH.EAT.EC.ECO.EDEKA.EDU.EDUCATION.EE.EG.EMAIL.EMERCK.ENERGY.ENGINEER.ENGINEERING.ENTERPRISES.EPSON.EQUIPMENT.ER.ERICSSON.ERNI.ES.ESQ.ESTATE.ET.EU.EUROVISION.EUS.EVENTS.EXCHANGE.EXPERT.EXPOSED.EXPRESS.EXTRASPACE.FAGE.FAIL.FAIRWINDS.FAITH.FAMILY.FAN.FANS.FARM.FARMERS.FASHION.FAST.FEDEX.FEEDBACK.FERRARI.FERRERO.FI.FIDELITY.FIDO.FILM.FINAL.FINANCE.FINANCIAL.FIRE.FIRESTONE.FIRMDALE.FISH.FISHING.FIT.FITNESS.FJ.FK.FLICKR.FLIGHTS.FLIR.FLORIST.FLOWERS.FLY.FM.FO.FOO.FOOD.FOOTBALL.FORD.FOREX.FORSALE.FORUM.FOUNDATION.FOX.FR.FREE.FRESENIUS.FRL.FROGANS.FRONTIER.FTR.FUJITSU.FUN.FUND.FURNITURE.FUTBOL.FYI.GA.GAL.GALLERY.GALLO.GALLUP.GAME.GAMES.GAP.GARDEN.GAY.GB.GBIZ.GD.GDN.GE.GEA.GENT.GENTING.GEORGE.GF.GG.GGEE.GH.GI.GIFT.GIFTS.GIVES.GIVING.GL.GLASS.GLE.GLOBAL.GLOBO.GM.GMAIL.GMBH.GMO.GMX.GN.GODADDY.GOLD.GOLDPOINT.GOLF.GOO.GOODYEAR.GOOG.GOOGLE.GOP.GOT.GOV.GP.GQ.GR.GRAINGER.GRAPHICS.GRATIS.GREEN.GRIPE.GROCERY.GROUP.GS.GT.GU.GUARDIAN.GUCCI.GUGE.GUIDE.GUITARS.GURU.GW.GY.HAIR.HAMBURG.HANGOUT.HAUS.HBO.HDFC.HDFCBANK.HEALTH.HEALTHCARE.HELP.HELSINKI.HERE.HERMES.HIPHOP.HISAMITSU.HITACHI.HIV.HK.HKT.HM.HN.HOCKEY.HOLDINGS.HOLIDAY.HOMEDEPOT.HOMEGOODS.HOMES.HOMESENSE.HONDA.HORSE.HOSPITAL.HOST.HOSTING.HOT.HOTELS.HOTMAIL.HOUSE.HOW.HR.HSBC.HT.HU.HUGHES.HYATT.HYUNDAI.IBM.ICBC.ICE.ICU.ID.IE.IEEE.IFM.IKANO.IL.IM.IMAMAT.IMDB.IMMO.IMMOBILIEN.IN.INC.INDUSTRIES.INFINITI.INFO.ING.INK.INSTITUTE.INSURANCE.INSURE.INT.INTERNATIONAL.INTUIT.INVESTMENTS.IO.IPIRANGA.IQ.IR.IRISH.IS.ISMAILI.IST.ISTANBUL.IT.ITAU.ITV.JAGUAR.JAVA.JCB.JE.JEEP.JETZT.JEWELRY.JIO.JLL.JM.JMP.JNJ.JO.JOBS.JOBURG.JOT.JOY.JP.JPMORGAN.JPRS.JUEGOS.JUNIPER.KAUFEN.KDDI.KE.KERRYHOTELS.KERRYLOGISTICS.KERRYPROPERTIES.KFH.KG.KH.KI.KIA.KIDS.KIM.KINDLE.KITCHEN.KIWI.KM.KN.KOELN.KOMATSU.KOSHER.KP.KPMG.KPN.KR.KRD.KRED.KUOKGROUP.KW.KY.KYOTO.KZ.LA.LACAIXA.LAMBORGHINI.LAMER.LANCASTER.LAND.LANDROVER.LANXESS.LASALLE.LAT.LATINO.LATROBE.LAW.LAWYER.LB.LC.LDS.LEASE.LECLERC.LEFRAK.LEGAL.LEGO.LEXUS.LGBT.LI.LIDL.LIFE.LIFEINSURANCE.LIFESTYLE.LIGHTING.LIKE.LILLY.LIMITED.LIMO.LINCOLN.LINK.LIPSY.LIVE.LIVING.LK.LLC.LLP.LOAN.LOANS.LOCKER.LOCUS.LOL.LONDON.LOTTE.LOTTO.LOVE.LPL.LPLFINANCIAL.LR.LS.LT.LTD.LTDA.LU.LUNDBECK.LUXE.LUXURY.LV.LY.MA.MADRID.MAIF.MAISON.MAKEUP.MAN.MANAGEMENT.MANGO.MAP.MARKET.MARKETING.MARKETS.MARRIOTT.MARSHALLS.MATTEL.MBA.MC.MCKINSEY.MD.ME.MED.MEDIA.MEET.MELBOURNE.MEME.MEMORIAL.MEN.MENU.MERCKMSD.MG.MH.MIAMI.MICROSOFT.MIL.MINI.MINT.MIT.MITSUBISHI.MK.ML.MLB.MLS.MM.MMA.MN.MO.MOBI.MOBILE.MODA.MOE.MOI.MOM.MONASH.MONEY.MONSTER.MORMON.MORTGAGE.MOSCOW.MOTO.MOTORCYCLES.MOV.MOVIE.MP.MQ.MR.MS.MSD.MT.MTN.MTR.MU.MUSEUM.MUSIC.MV.MW.MX.MY.MZ.NA.NAB.NAGOYA.NAME.NATURA.NAVY.NBA.NC.NE.NEC.NET.NETBANK.NETFLIX.NETWORK.NEUSTAR.NEW.NEWS.NEXT.NEXTDIRECT.NEXUS.NF.NFL.NG.NGO.NHK.NI.NICO.NIKE.NIKON.NINJA.NISSAN.NISSAY.NL.NO.NOKIA.NORTON.NOW.NOWRUZ.NOWTV.NP.NR.NRA.NRW.NTT.NU.NYC.NZ.OBI.OBSERVER.OFFICE.OKINAWA.OLAYAN.OLAYANGROUP.OLLO.OM.OMEGA.ONE.ONG.ONL.ONLINE.OOO.OPEN.ORACLE.ORANGE.ORG.ORGANIC.ORIGINS.OSAKA.OTSUKA.OTT.OVH.PA.PAGE.PANASONIC.PARIS.PARS.PARTNERS.PARTS.PARTY.PAY.PCCW.PE.PET.PF.PFIZER.PG.PH.PHARMACY.PHD.PHILIPS.PHONE.PHOTO.PHOTOGRAPHY.PHOTOS.PHYSIO.PICS.PICTET.PICTURES.PID.PIN.PING.PINK.PIONEER.PIZZA.PK.PL.PLACE.PLAY.PLAYSTATION.PLUMBING.PLUS.PM.PN.PNC.POHL.POKER.POLITIE.PORN.POST.PR.PRAMERICA.PRAXI.PRESS.PRIME.PRO.PROD.PRODUCTIONS.PROF.PROGRESSIVE.PROMO.PROPERTIES.PROPERTY.PROTECTION.PRU.PRUDENTIAL.PS.PT.PUB.PW.PWC.PY.QA.QPON.QUEBEC.QUEST.RACING.RADIO.RE.READ.REALESTATE.REALTOR.REALTY.RECIPES.RED.REDSTONE.REDUMBRELLA.REHAB.REISE.REISEN.REIT.RELIANCE.REN.RENT.RENTALS.REPAIR.REPORT.REPUBLICAN.REST.RESTAURANT.REVIEW.REVIEWS.REXROTH.RICH.RICHARDLI.RICOH.RIL.RIO.RIP.RO.ROCKS.RODEO.ROGERS.ROOM.RS.RSVP.RU.RUGBY.RUHR.RUN.RW.RWE.RYUKYU.SA.SAARLAND.SAFE.SAFETY.SAKURA.SALE.SALON.SAMSCLUB.SAMSUNG.SANDVIK.SANDVIKCOROMANT.SANOFI.SAP.SARL.SAS.SAVE.SAXO.SB.SBI.SBS.SC.SCB.SCHAEFFLER.SCHMIDT.SCHOLARSHIPS.SCHOOL.SCHULE.SCHWARZ.SCIENCE.SCOT.SD.SE.SEARCH.SEAT.SECURE.SECURITY.SEEK.SELECT.SENER.SERVICES.SEVEN.SEW.SEX.SEXY.SFR.SG.SH.SHANGRILA.SHARP.SHAW.SHELL.SHIA.SHIKSHA.SHOES.SHOP.SHOPPING.SHOUJI.SHOW.SI.SILK.SINA.SINGLES.SITE.SJ.SK.SKI.SKIN.SKY.SKYPE.SL.SLING.SM.SMART.SMILE.SN.SNCF.SO.SOCCER.SOCIAL.SOFTBANK.SOFTWARE.SOHU.SOLAR.SOLUTIONS.SONG.SONY.SOY.SPA.SPACE.SPORT.SPOT.SR.SRL.SS.ST.STADA.STAPLES.STAR.STATEBANK.STATEFARM.STC.STCGROUP.STOCKHOLM.STORAGE.STORE.STREAM.STUDIO.STUDY.STYLE.SU.SUCKS.SUPPLIES.SUPPLY.SUPPORT.SURF.SURGERY.SUZUKI.SV.SWATCH.SWISS.SX.SY.SYDNEY.SYSTEMS.SZ.TAB.TAIPEI.TALK.TAOBAO.TARGET.TATAMOTORS.TATAR.TATTOO.TAX.TAXI.TC.TCI.TD.TDK.TEAM.TECH.TECHNOLOGY.TEL.TEMASEK.TENNIS.TEVA.TF.TG.TH.THD.THEATER.THEATRE.TIAA.TICKETS.TIENDA.TIPS.TIRES.TIROL.TJ.TJMAXX.TJX.TK.TKMAXX.TL.TM.TMALL.TN.TO.TODAY.TOKYO.TOOLS.TOP.TORAY.TOSHIBA.TOTAL.TOURS.TOWN.TOYOTA.TOYS.TR.TRADE.TRADING.TRAINING.TRAVEL.TRAVELERS.TRAVELERSINSURANCE.TRUST.TRV.TT.TUBE.TUI.TUNES.TUSHU.TV.TVS.TW.TZ.UA.UBANK.UBS.UG.UK.UNICOM.UNIVERSITY.UNO.UOL.UPS.US.UY.UZ.VA.VACATIONS.VANA.VANGUARD.VC.VE.VEGAS.VENTURES.VERISIGN.VERSICHERUNG.VET.VG.VI.VIAJES.VIDEO.VIG.VIKING.VILLAS.VIN.VIP.VIRGIN.VISA.VISION.VIVA.VIVO.VLAANDEREN.VN.VODKA.VOLVO.VOTE.VOTING.VOTO.VOYAGE.VU.WALES.WALMART.WALTER.WANG.WANGGOU.WATCH.WATCHES.WEATHER.WEATHERCHANNEL.WEBCAM.WEBER.WEBSITE.WED.WEDDING.WEIBO.WEIR.WF.WHOSWHO.WIEN.WIKI.WILLIAMHILL.WIN.WINDOWS.WINE.WINNERS.WME.WOLTERSKLUWER.WOODSIDE.WORK.WORKS.WORLD.WOW.WS.WTC.WTF.XBOX.XEROX.XFINITY.XIHUAN.XIN.XN--11B4C3D.XN--1CK2E1B.XN--1QQW23A.XN--2SCRJ9C.XN--30RR7Y.XN--3BST00M.XN--3DS443G.XN--3E0B707E.XN--3HCRJ9C.XN--3PXU8K.XN--42C2D9A.XN--45BR5CYL.XN--45BRJ9C.XN--45Q11C.XN--4DBRK0CE.XN--4GBRIM.XN--54B7FTA0CC.XN--55QW42G.XN--55QX5D.XN--5SU34J936BGSG.XN--5TZM5G.XN--6FRZ82G.XN--6QQ986B3XL.XN--80ADXHKS.XN--80AO21A.XN--80AQECDR1A.XN--80ASEHDB.XN--80ASWG.XN--8Y0A063A.XN--90A3AC.XN--90AE.XN--90AIS.XN--9DBQ2A.XN--9ET52U.XN--9KRT00A.XN--B4W605FERD.XN--BCK1B9A5DRE4C.XN--C1AVG.XN--C2BR7G.XN--CCK2B3B.XN--CCKWCXETD.XN--CG4BKI.XN--CLCHC0EA0B2G2A9GCD.XN--CZR694B.XN--CZRS0T.XN--CZRU2D.XN--D1ACJ3B.XN--D1ALF.XN--E1A4C.XN--ECKVDTC9D.XN--EFVY88H.XN--FCT429K.XN--FHBEI.XN--FIQ228C5HS.XN--FIQ64B.XN--FIQS8S.XN--FIQZ9S.XN--FJQ720A.XN--FLW351E.XN--FPCRJ9C3D.XN--FZC2C9E2C.XN--FZYS8D69UVGM.XN--G2XX48C.XN--GCKR3F0F.XN--GECRJ9C.XN--GK3AT1E.XN--H2BREG3EVE.XN--H2BRJ9C.XN--H2BRJ9C8C.XN--HXT814E.XN--I1B6B1A6A2E.XN--IMR513N.XN--IO0A7I.XN--J1AEF.XN--J1AMH.XN--J6W193G.XN--JLQ480N2RG.XN--JVR189M.XN--KCRX77D1X4A.XN--KPRW13D.XN--KPRY57D.XN--KPUT3I.XN--L1ACC.XN--LGBBAT1AD8J.XN--MGB9AWBF.XN--MGBA3A3EJT.XN--MGBA3A4F16A.XN--MGBA7C0BBN0A.XN--MGBAAM7A8H.XN--MGBAB2BD.XN--MGBAH1A3HJKRD.XN--MGBAI9AZGQP6J.XN--MGBAYH7GPA.XN--MGBBH1A.XN--MGBBH1A71E.XN--MGBC0A9AZCG.XN--MGBCA7DZDO.XN--MGBCPQ6GPA1A.XN--MGBERP4A5D4AR.XN--MGBGU82A.XN--MGBI4ECEXP.XN--MGBPL2FH.XN--MGBT3DHD.XN--MGBTX2B.XN--MGBX4CD0AB.XN--MIX891F.XN--MK1BU44C.XN--MXTQ1M.XN--NGBC5AZD.XN--NGBE9E0A.XN--NGBRX.XN--NODE.XN--NQV7F.XN--NQV7FS00EMA.XN--NYQY26A.XN--O3CW4H.XN--OGBPF8FL.XN--OTU796D.XN--P1ACF.XN--P1AI.XN--PGBS0DH.XN--PSSY2U.XN--Q7CE6A.XN--Q9JYB4C.XN--QCKA1PMC.XN--QXA6A.XN--QXAM.XN--RHQV96G.XN--ROVU88B.XN--RVC1E0AM3E.XN--S9BRJ9C.XN--SES554G.XN--T60B56A.XN--TCKWE.XN--TIQ49XQYJ.XN--UNUP4Y.XN--VERMGENSBERATER-CTB.XN--VERMGENSBERATUNG-PWB.XN--VHQUV.XN--VUQ861B.XN--W4R85EL8FHU5DNRA.XN--W4RS40L.XN--WGBH1C.XN--WGBL6A.XN--XHQ521B.XN--XKC2AL3HYE2A.XN--XKC2DL3A5EE0H.XN--Y9A3AQ.XN--YFRO4I67O.XN--YGBI2AMMX.XN--ZFR164B.XXX.XYZ.YACHTS.YAHOO.YAMAXUN.YANDEX.YE.YODOBASHI.YOGA.YOKOHAMA.YOU.YOUTUBE.YT.YUN.ZA.ZAPPOS.ZARA.ZERO.ZIP.ZM.ZONE.ZUERICH.ZW`.split(`.`),module.exports=new Set(internals$18.tlds.map(tld=>tld.toLowerCase()))}),require_string=__commonJSMin((exports,module)=>{init_dist$1();let Assert$8=require_assert$1(),Domain=require_domain(),Email=require_email(),Ip=require_ip(),EscapeRegex$1=require_escapeRegex$1(),Tlds=require_tlds(),Uri=require_uri(),Any$2=require_any(),Common$2=require_common(),internals$17={tlds:Tlds instanceof Set?{tlds:{allow:Tlds,deny:null}}:!1,base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:Ip.regex({cidr:`forbidden`}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":`}`,"[":`]`,"(":`)`,"":``},guidVersions:{uuidv1:`1`,uuidv2:`2`,uuidv3:`3`,uuidv4:`4`,uuidv5:`5`,uuidv6:`6`,uuidv7:`7`,uuidv8:`8`},guidSeparators:new Set([void 0,!0,!1,`-`,`:`]),normalizationForms:[`NFC`,`NFD`,`NFKC`,`NFKD`]};module.exports=Any$2.extend({type:`string`,flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:`string`,method(value,{schema,state,prefs}){let normalize=schema.$_getRule(`normalize`);normalize&&(value=value.normalize(normalize.args.form));let casing=schema.$_getRule(`case`);casing&&(value=casing.args.direction===`upper`?value.toLocaleUpperCase():value.toLocaleLowerCase());let trim=schema.$_getRule(`trim`);if(trim&&trim.args.enabled&&(value=value.trim()),schema.$_terms.replacements)for(let replacement of schema.$_terms.replacements)value=value.replace(replacement.pattern,replacement.replacement);let hex=schema.$_getRule(`hex`);if(hex&&hex.args.options.byteAligned&&value.length%2!=0&&(value=`0${value}`),schema.$_getRule(`isoDate`)){let iso=internals$17.isoDate(value);iso&&(value=iso)}if(schema._flags.truncate){let rule=schema.$_getRule(`max`);if(rule){let limit=rule.args.limit;if(Common$2.isResolvable(limit)&&(limit=limit.resolve(value,state,prefs),!Common$2.limit(limit)))return{value,errors:schema.$_createError(`any.ref`,limit,{ref:rule.args.limit,arg:`limit`,reason:`must be a positive integer`},state,prefs)};value=value.slice(0,limit)}}return{value}}},validate(value,{schema,error}){if(typeof value!=`string`)return{value,errors:error(`string.base`)};if(value===``){let min$1=schema.$_getRule(`min`);return min$1&&min$1.args.limit===0?void 0:{value,errors:error(`string.empty`)}}},rules:{alphanum:{method(){return this.$_addRule(`alphanum`)},validate(value,helpers){return/^[a-zA-Z0-9]+$/.test(value)?value:helpers.error(`string.alphanum`)}},base64:{method(options={}){return Common$2.assertOptions(options,[`paddingRequired`,`urlSafe`]),options={urlSafe:!1,paddingRequired:!0,...options},Assert$8(typeof options.paddingRequired==`boolean`,`paddingRequired must be boolean`),Assert$8(typeof options.urlSafe==`boolean`,`urlSafe must be boolean`),this.$_addRule({name:`base64`,args:{options}})},validate(value,helpers,{options}){let regex=internals$17.base64Regex[options.paddingRequired][options.urlSafe];return regex.test(value)?value:helpers.error(`string.base64`)}},case:{method(direction){return Assert$8([`lower`,`upper`].includes(direction),`Invalid case:`,direction),this.$_addRule({name:`case`,args:{direction}})},validate(value,helpers,{direction}){return direction===`lower`&&value===value.toLocaleLowerCase()||direction===`upper`&&value===value.toLocaleUpperCase()?value:helpers.error(`string.${direction}case`)},convert:!0},creditCard:{method(){return this.$_addRule(`creditCard`)},validate(value,helpers){let i$4=value.length,sum=0,mul=1;for(;i$4--;){let char=value.charAt(i$4)*mul;sum+=char-(char>9)*9,mul^=3}return sum>0&&sum%10==0?value:helpers.error(`string.creditCard`)}},dataUri:{method(options={}){return Common$2.assertOptions(options,[`paddingRequired`]),options={paddingRequired:!0,...options},Assert$8(typeof options.paddingRequired==`boolean`,`paddingRequired must be boolean`),this.$_addRule({name:`dataUri`,args:{options}})},validate(value,helpers,{options}){let matches=value.match(internals$17.dataUriRegex);if(matches){if(!matches[2]||matches[2]!==`base64`)return value;let base64regex=internals$17.base64Regex[options.paddingRequired].false;if(base64regex.test(matches[3]))return value}return helpers.error(`string.dataUri`)}},domain:{method(options){options&&Common$2.assertOptions(options,[`allowFullyQualified`,`allowUnicode`,`maxDomainSegments`,`minDomainSegments`,`tlds`]);let address=internals$17.addressOptions(options);return this.$_addRule({name:`domain`,args:{options},address})},validate(value,helpers,args$1,{address}){return Domain.isValid(value,address)?value:helpers.error(`string.domain`)}},email:{method(options={}){Common$2.assertOptions(options,[`allowFullyQualified`,`allowUnicode`,`ignoreLength`,`maxDomainSegments`,`minDomainSegments`,`multiple`,`separator`,`tlds`]),Assert$8(options.multiple===void 0||typeof options.multiple==`boolean`,`multiple option must be an boolean`);let address=internals$17.addressOptions(options),regex=RegExp(`\\s*[${options.separator?EscapeRegex$1(options.separator):`,`}]\\s*`);return this.$_addRule({name:`email`,args:{options},regex,address})},validate(value,helpers,{options},{regex,address}){let emails=options.multiple?value.split(regex):[value],invalids=[];for(let email of emails)Email.isValid(email,address)||invalids.push(email);return invalids.length?helpers.error(`string.email`,{value,invalids}):value}},guid:{alias:`uuid`,method(options={}){Common$2.assertOptions(options,[`version`,`separator`]);let versionNumbers=``;if(options.version){let versions=[].concat(options.version);Assert$8(versions.length>=1,`version must have at least 1 valid version specified`);let set=new Set;for(let i$4=0;i$4<versions.length;++i$4){let version$3=versions[i$4];Assert$8(typeof version$3==`string`,`version at position `+i$4+` must be a string`);let versionNumber=internals$17.guidVersions[version$3.toLowerCase()];Assert$8(versionNumber,`version at position `+i$4+` must be one of `+Object.keys(internals$17.guidVersions).join(`, `)),Assert$8(!set.has(versionNumber),`version at position `+i$4+` must not be a duplicate`),versionNumbers+=versionNumber,set.add(versionNumber)}}Assert$8(internals$17.guidSeparators.has(options.separator),`separator must be one of true, false, "-", or ":"`);let separator=options.separator===void 0?`[:-]?`:options.separator===!0?`[:-]`:options.separator===!1?`[]?`:`\\${options.separator}`,regex=RegExp(`^([\\[{\\(]?)[0-9A-F]{8}(${separator})[0-9A-F]{4}\\2?[${versionNumbers||`0-9A-F`}][0-9A-F]{3}\\2?[${versionNumbers?`89AB`:`0-9A-F`}][0-9A-F]{3}\\2?[0-9A-F]{12}([\\]}\\)]?)$`,`i`);return this.$_addRule({name:`guid`,args:{options},regex})},validate(value,helpers,args$1,{regex}){let results=regex.exec(value);return!results||internals$17.guidBrackets[results[1]]!==results[results.length-1]?helpers.error(`string.guid`):value}},hex:{method(options={}){return Common$2.assertOptions(options,[`byteAligned`,`prefix`]),options={byteAligned:!1,prefix:!1,...options},Assert$8(typeof options.byteAligned==`boolean`,`byteAligned must be boolean`),Assert$8(typeof options.prefix==`boolean`||options.prefix===`optional`,`prefix must be boolean or "optional"`),this.$_addRule({name:`hex`,args:{options}})},validate(value,helpers,{options}){let re$5=options.prefix===`optional`?internals$17.hexRegex.withOptionalPrefix:options.prefix===!0?internals$17.hexRegex.withPrefix:internals$17.hexRegex.withoutPrefix;return re$5.test(value)?options.byteAligned&&value.length%2!=0?helpers.error(`string.hexAlign`):value:helpers.error(`string.hex`)}},hostname:{method(){return this.$_addRule(`hostname`)},validate(value,helpers){return Domain.isValid(value,{minDomainSegments:1})||internals$17.ipRegex.test(value)?value:helpers.error(`string.hostname`)}},insensitive:{method(){return this.$_setFlag(`insensitive`,!0)}},ip:{method(options={}){Common$2.assertOptions(options,[`cidr`,`version`]);let{cidr,versions,regex}=Ip.regex(options),version$3=options.version?versions:void 0;return this.$_addRule({name:`ip`,args:{options:{cidr,version:version$3}},regex})},validate(value,helpers,{options},{regex}){return regex.test(value)?value:options.version?helpers.error(`string.ipVersion`,{value,cidr:options.cidr,version:options.version}):helpers.error(`string.ip`,{value,cidr:options.cidr})}},isoDate:{method(){return this.$_addRule(`isoDate`)},validate(value,{error}){return internals$17.isoDate(value)?value:error(`string.isoDate`)}},isoDuration:{method(){return this.$_addRule(`isoDuration`)},validate(value,helpers){return internals$17.isoDurationRegex.test(value)?value:helpers.error(`string.isoDuration`)}},length:{method(limit,encoding){return internals$17.length(this,`length`,limit,`=`,encoding)},validate(value,helpers,{limit,encoding},{name:name$1,operator,args:args$1}){let length=encoding?Buffer$1&&Buffer$1.byteLength(value,encoding):value.length;return Common$2.compare(length,limit,operator)?value:helpers.error(`string.`+name$1,{limit:args$1.limit,value,encoding})},args:[{name:`limit`,ref:!0,assert:Common$2.limit,message:`must be a positive integer`},`encoding`]},lowercase:{method(){return this.case(`lower`)}},max:{method(limit,encoding){return internals$17.length(this,`max`,limit,`<=`,encoding)},args:[`limit`,`encoding`]},min:{method(limit,encoding){return internals$17.length(this,`min`,limit,`>=`,encoding)},args:[`limit`,`encoding`]},normalize:{method(form=`NFC`){return Assert$8(internals$17.normalizationForms.includes(form),`normalization form must be one of `+internals$17.normalizationForms.join(`, `)),this.$_addRule({name:`normalize`,args:{form}})},validate(value,{error},{form}){return value===value.normalize(form)?value:error(`string.normalize`,{value,form})},convert:!0},pattern:{alias:`regex`,method(regex,options={}){Assert$8(regex instanceof RegExp,`regex must be a RegExp`),Assert$8(!regex.flags.includes(`g`)&&!regex.flags.includes(`y`),`regex should not use global or sticky mode`),typeof options==`string`&&(options={name:options}),Common$2.assertOptions(options,[`invert`,`name`]);let errorCode$1=[`string.pattern`,options.invert?`.invert`:``,options.name?`.name`:`.base`].join(``);return this.$_addRule({name:`pattern`,args:{regex,options},errorCode:errorCode$1})},validate(value,helpers,{regex,options},{errorCode:errorCode$1}){let patternMatch=regex.test(value);return patternMatch^options.invert?value:helpers.error(errorCode$1,{name:options.name,regex,value})},args:[`regex`,`options`],multi:!0},replace:{method(pattern,replacement){typeof pattern==`string`&&(pattern=new RegExp(EscapeRegex$1(pattern),`g`)),Assert$8(pattern instanceof RegExp,`pattern must be a RegExp`),Assert$8(typeof replacement==`string`,`replacement must be a String`);let obj=this.clone();return obj.$_terms.replacements||(obj.$_terms.replacements=[]),obj.$_terms.replacements.push({pattern,replacement}),obj}},token:{method(){return this.$_addRule(`token`)},validate(value,helpers){return/^\w+$/.test(value)?value:helpers.error(`string.token`)}},trim:{method(enabled=!0){return Assert$8(typeof enabled==`boolean`,`enabled must be a boolean`),this.$_addRule({name:`trim`,args:{enabled}})},validate(value,helpers,{enabled}){return!enabled||value===value.trim()?value:helpers.error(`string.trim`)},convert:!0},truncate:{method(enabled=!0){return Assert$8(typeof enabled==`boolean`,`enabled must be a boolean`),this.$_setFlag(`truncate`,enabled)}},uppercase:{method(){return this.case(`upper`)}},uri:{method(options={}){Common$2.assertOptions(options,[`allowRelative`,`allowQuerySquareBrackets`,`domain`,`relativeOnly`,`scheme`,`encodeUri`]),options.domain&&Common$2.assertOptions(options.domain,[`allowFullyQualified`,`allowUnicode`,`maxDomainSegments`,`minDomainSegments`,`tlds`]);let{regex,scheme}=Uri.regex(options),domain=options.domain?internals$17.addressOptions(options.domain):null;return this.$_addRule({name:`uri`,args:{options},regex,domain,scheme})},validate(value,helpers,{options},{regex,domain,scheme}){if([`http:/`,`https:/`].includes(value))return helpers.error(`string.uri`);let match$2=regex.exec(value);if(!match$2&&helpers.prefs.convert&&options.encodeUri){let encoded=encodeURI(value);match$2=regex.exec(encoded),match$2&&(value=encoded)}if(match$2){let matched=match$2[1]||match$2[2];return domain&&(!options.allowRelative||matched)&&!Domain.isValid(matched,domain)?helpers.error(`string.domain`,{value:matched}):value}return options.relativeOnly?helpers.error(`string.uriRelativeOnly`):options.scheme?helpers.error(`string.uriCustomScheme`,{scheme,value}):helpers.error(`string.uri`)}}},manifest:{build(obj,desc$1){if(desc$1.replacements)for(let{pattern,replacement}of desc$1.replacements)obj=obj.replace(pattern,replacement);return obj}},messages:{"string.alphanum":`{{#label}} must only contain alpha-numeric characters`,"string.base":`{{#label}} must be a string`,"string.base64":`{{#label}} must be a valid base64 string`,"string.creditCard":`{{#label}} must be a credit card`,"string.dataUri":`{{#label}} must be a valid dataUri string`,"string.domain":`{{#label}} must contain a valid domain name`,"string.email":`{{#label}} must be a valid email`,"string.empty":`{{#label}} is not allowed to be empty`,"string.guid":`{{#label}} must be a valid GUID`,"string.hex":`{{#label}} must only contain hexadecimal characters`,"string.hexAlign":`{{#label}} hex decoded representation must be byte aligned`,"string.hostname":`{{#label}} must be a valid hostname`,"string.ip":`{{#label}} must be a valid ip address with a {{#cidr}} CIDR`,"string.ipVersion":`{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR`,"string.isoDate":`{{#label}} must be in iso format`,"string.isoDuration":`{{#label}} must be a valid ISO 8601 duration`,"string.length":`{{#label}} length must be {{#limit}} characters long`,"string.lowercase":`{{#label}} must only contain lowercase characters`,"string.max":`{{#label}} length must be less than or equal to {{#limit}} characters long`,"string.min":`{{#label}} length must be at least {{#limit}} characters long`,"string.normalize":`{{#label}} must be unicode normalized in the {{#form}} form`,"string.token":`{{#label}} must only contain alpha-numeric and underscore characters`,"string.pattern.base":`{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}`,"string.pattern.name":`{{#label}} with value {:[.]} fails to match the {{#name}} pattern`,"string.pattern.invert.base":`{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}`,"string.pattern.invert.name":`{{#label}} with value {:[.]} matches the inverted {{#name}} pattern`,"string.trim":`{{#label}} must not have leading or trailing whitespace`,"string.uri":`{{#label}} must be a valid uri`,"string.uriCustomScheme":`{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern`,"string.uriRelativeOnly":`{{#label}} must be a valid relative uri`,"string.uppercase":`{{#label}} must only contain uppercase characters`}}),internals$17.addressOptions=function(options){if(!options)return internals$17.tlds||options;if(Assert$8(options.minDomainSegments===void 0||Number.isSafeInteger(options.minDomainSegments)&&options.minDomainSegments>0,`minDomainSegments must be a positive integer`),Assert$8(options.maxDomainSegments===void 0||Number.isSafeInteger(options.maxDomainSegments)&&options.maxDomainSegments>0,`maxDomainSegments must be a positive integer`),options.tlds===!1)return options;if(options.tlds===!0||options.tlds===void 0)return Assert$8(internals$17.tlds,`Built-in TLD list disabled`),Object.assign({},options,internals$17.tlds);Assert$8(typeof options.tlds==`object`,`tlds must be true, false, or an object`);let deny=options.tlds.deny;if(deny)return Array.isArray(deny)&&(options=Object.assign({},options,{tlds:{deny:new Set(deny)}})),Assert$8(options.tlds.deny instanceof Set,`tlds.deny must be an array, Set, or boolean`),Assert$8(!options.tlds.allow,`Cannot specify both tlds.allow and tlds.deny lists`),internals$17.validateTlds(options.tlds.deny,`tlds.deny`),options;let allow=options.tlds.allow;return allow?allow===!0?(Assert$8(internals$17.tlds,`Built-in TLD list disabled`),Object.assign({},options,internals$17.tlds)):(Array.isArray(allow)&&(options=Object.assign({},options,{tlds:{allow:new Set(allow)}})),Assert$8(options.tlds.allow instanceof Set,`tlds.allow must be an array, Set, or boolean`),internals$17.validateTlds(options.tlds.allow,`tlds.allow`),options):options},internals$17.validateTlds=function(set,source){for(let tld of set)Assert$8(Domain.isValid(tld,{minDomainSegments:1,maxDomainSegments:1}),`${source} must contain valid top level domain names`)},internals$17.isoDate=function(value){if(!Common$2.isIsoDate(value))return null;/.*T.*[+-]\d\d$/.test(value)&&(value+=`00`);let date=new Date(value);return isNaN(date.getTime())?null:date.toISOString()},internals$17.length=function(schema,name$1,limit,operator,encoding){return Assert$8(!encoding||Buffer$1&&Buffer$1.isEncoding(encoding),`Invalid encoding:`,encoding),schema.$_addRule({name:name$1,method:`length`,args:{limit,encoding},operator})}}),require_symbol=__commonJSMin((exports,module)=>{let Assert$7=require_assert$1(),Any$1=require_any(),internals$16={};internals$16.Map=class extends Map{slice(){return new internals$16.Map(this)}},module.exports=Any$1.extend({type:`symbol`,terms:{map:{init:new internals$16.Map}},coerce:{method(value,{schema,error}){let lookup$2=schema.$_terms.map.get(value);return lookup$2&&(value=lookup$2),!schema._flags.only||typeof value==`symbol`?{value}:{value,errors:error(`symbol.map`,{map:schema.$_terms.map})}}},validate(value,{error}){if(typeof value!=`symbol`)return{value,errors:error(`symbol.base`)}},rules:{map:{method(iterable){iterable&&!iterable[Symbol.iterator]&&typeof iterable==`object`&&(iterable=Object.entries(iterable)),Assert$7(iterable&&iterable[Symbol.iterator],`Iterable must be an iterable or object`);let obj=this.clone(),symbols=[];for(let entry of iterable){Assert$7(entry&&entry[Symbol.iterator],`Entry must be an iterable`);let[key,value]=entry;Assert$7(typeof key!=`object`&&typeof key!=`function`&&typeof key!=`symbol`,`Key must not be of type object, function, or Symbol`),Assert$7(typeof value==`symbol`,`Value must be a Symbol`),obj.$_terms.map.set(key,value),symbols.push(value)}return obj.valid(...symbols)}}},manifest:{build(obj,desc$1){return desc$1.map&&(obj=obj.map(desc$1.map)),obj}},messages:{"symbol.base":`{{#label}} must be a symbol`,"symbol.map":`{{#label}} must be one of {{#map}}`}})}),require_binary=__commonJSMin((exports,module)=>{init_dist$1();let Assert$6=require_assert$1(),Any=require_any(),Common$1=require_common();module.exports=Any.extend({type:`binary`,coerce:{from:[`string`,`object`],method(value,{schema}){if(typeof value==`string`||value!==null&&value.type===`Buffer`)try{return{value:Buffer$1.from(value,schema._flags.encoding)}}catch{}}},validate(value,{error}){if(!Buffer$1.isBuffer(value))return{value,errors:error(`binary.base`)}},rules:{encoding:{method(encoding){return Assert$6(Buffer$1.isEncoding(encoding),`Invalid encoding:`,encoding),this.$_setFlag(`encoding`,encoding)}},length:{method(limit){return this.$_addRule({name:`length`,method:`length`,args:{limit},operator:`=`})},validate(value,helpers,{limit},{name:name$1,operator,args:args$1}){return Common$1.compare(value.length,limit,operator)?value:helpers.error(`binary.`+name$1,{limit:args$1.limit,value})},args:[{name:`limit`,ref:!0,assert:Common$1.limit,message:`must be a positive integer`}]},max:{method(limit){return this.$_addRule({name:`max`,method:`length`,args:{limit},operator:`<=`})}},min:{method(limit){return this.$_addRule({name:`min`,method:`length`,args:{limit},operator:`>=`})}}},cast:{string:{from:value=>Buffer$1.isBuffer(value),to(value,helpers){return value.toString()}}},messages:{"binary.base":`{{#label}} must be a buffer or a string`,"binary.length":`{{#label}} must be {{#limit}} bytes`,"binary.max":`{{#label}} must be less than or equal to {{#limit}} bytes`,"binary.min":`{{#label}} must be at least {{#limit}} bytes`}})}),require_lib$2=__commonJSMin((exports,module)=>{init_dist$1();let Assert$5=require_assert$1(),Clone$2=require_clone$1(),Cache=require_cache(),Common=require_common(),Compile=require_compile(),Errors=require_errors$1(),Extend=require_extend(),Manifest=require_manifest(),Ref=require_ref$1(),Template=require_template(),Trace=require_trace(),Schemas,internals$15={types:{alternatives:require_alternatives(),any:require_any(),array:require_array(),boolean:require_boolean(),date:require_date(),function:require_function(),link:require_link(),number:require_number(),object:require_object(),string:require_string(),symbol:require_symbol()},aliases:{alt:`alternatives`,bool:`boolean`,func:`function`}};Buffer$1&&(internals$15.types.binary=require_binary()),internals$15.root=function(){let root={_types:new Set(Object.keys(internals$15.types))};for(let type of root._types)root[type]=function(...args$1){return Assert$5(!args$1.length||[`alternatives`,`link`,`object`].includes(type),`The`,type,`type does not allow arguments`),internals$15.generate(this,internals$15.types[type],args$1)};for(let method of[`allow`,`custom`,`disallow`,`equal`,`exist`,`forbidden`,`invalid`,`not`,`only`,`optional`,`options`,`prefs`,`preferences`,`required`,`strip`,`valid`,`when`])root[method]=function(...args$1){return this.any()[method](...args$1)};for(let alias in Object.assign(root,internals$15.methods),internals$15.aliases){let target=internals$15.aliases[alias];root[alias]=root[target]}return root.x=root.expression,Trace.setup&&Trace.setup(root),root},internals$15.methods={ValidationError:Errors.ValidationError,version:Common.version,cache:Cache.provider,assert(value,schema,...args$1){internals$15.assert(value,schema,!0,args$1)},attempt(value,schema,...args$1){return internals$15.assert(value,schema,!1,args$1)},build(desc$1){return Assert$5(typeof Manifest.build==`function`,`Manifest functionality disabled`),Manifest.build(this,desc$1)},checkPreferences(prefs){Common.checkPreferences(prefs)},compile(schema,options){return Compile.compile(this,schema,options)},defaults(modifier){Assert$5(typeof modifier==`function`,`modifier must be a function`);let joi=Object.assign({},this);for(let type of joi._types){let schema=modifier(joi[type]());Assert$5(Common.isSchema(schema),`modifier must return a valid schema object`),joi[type]=function(...args$1){return internals$15.generate(this,schema,args$1)}}return joi},expression(...args$1){return new Template(...args$1)},extend(...extensions){Common.verifyFlat(extensions,`extend`),Schemas||=require_schemas(),Assert$5(extensions.length,`You need to provide at least one extension`),this.assert(extensions,Schemas.extensions);let joi=Object.assign({},this);joi._types=new Set(joi._types);for(let extension of extensions){typeof extension==`function`&&(extension=extension(joi)),this.assert(extension,Schemas.extension);let expanded=internals$15.expandExtension(extension,joi);for(let item of expanded){Assert$5(joi[item.type]===void 0||joi._types.has(item.type),`Cannot override name`,item.type);let base=item.base||this.any(),schema=Extend.type(base,item);joi._types.add(item.type),joi[item.type]=function(...args$1){return internals$15.generate(this,schema,args$1)}}}return joi},isError:Errors.ValidationError.isError,isExpression:Template.isTemplate,isRef:Ref.isRef,isSchema:Common.isSchema,in(...args$1){return Ref.in(...args$1)},override:Common.symbols.override,ref(...args$1){return Ref.create(...args$1)},types(){let types$1={};for(let type of this._types)types$1[type]=this[type]();for(let target in internals$15.aliases)types$1[target]=this[target]();return types$1}},internals$15.assert=function(value,schema,annotate,args$1){let message=args$1[0]instanceof Error||typeof args$1[0]==`string`?args$1[0]:null,options=message===null?args$1[0]:args$1[1],result=schema.validate(value,Common.preferences({errors:{stack:!0}},options||{})),error=result.error;if(!error)return result.value;if(message instanceof Error)throw message;let display=annotate&&typeof error.annotate==`function`?error.annotate():error.message;throw error instanceof Errors.ValidationError||(error=Clone$2(error)),error.message=message?`${message} ${display}`:display,error},internals$15.generate=function(root,schema,args$1){return Assert$5(root,`Must be invoked on a Joi instance.`),schema.$_root=root,!schema._definition.args||!args$1.length?schema:schema._definition.args(schema,...args$1)},internals$15.expandExtension=function(extension,joi){if(typeof extension.type==`string`)return[extension];let extended=[];for(let type of joi._types)if(extension.type.test(type)){let item=Object.assign({},extension);item.type=type,item.base=joi[type](),extended.push(item)}return extended},module.exports=internals$15.root()}),De=t$5=>{throw TypeError(t$5)},Ne=(t$5,o,r)=>o.has(t$5)||De(`Cannot `+r),M=(t$5,o,r)=>(Ne(t$5,o,`read from private field`),r?r.call(t$5):o.get(t$5)),ee=(t$5,o,r)=>o.has(t$5)?De(`Cannot add the same private member more than once`):o instanceof WeakSet?o.add(t$5):o.set(t$5,r),X=(t$5,o,r,u)=>(Ne(t$5,o,`write to private field`),u?u.call(t$5,r):o.set(t$5,r),r),ne=(t$5,o,r)=>(Ne(t$5,o,`access private method`),r),LuxonError$1=class extends Error{},InvalidDateTimeError$1=class extends LuxonError$1{constructor(o){super(`Invalid DateTime: ${o.toMessage()}`)}},InvalidIntervalError$1=class extends LuxonError$1{constructor(o){super(`Invalid Interval: ${o.toMessage()}`)}},InvalidDurationError$1=class extends LuxonError$1{constructor(o){super(`Invalid Duration: ${o.toMessage()}`)}},ConflictingSpecificationError$1=class extends LuxonError$1{},InvalidUnitError$1=class extends LuxonError$1{constructor(o){super(`Invalid unit ${o}`)}},InvalidArgumentError$1=class extends LuxonError$1{},ZoneIsAbstractError$1=class extends LuxonError$1{constructor(){super(`Zone is an abstract class`)}};const n$1=`numeric`,s$1=`short`,l$1=`long`,DATE_SHORT$1={year:n$1,month:n$1,day:n$1},DATE_MED$1={year:n$1,month:s$1,day:n$1},DATE_MED_WITH_WEEKDAY$1={year:n$1,month:s$1,day:n$1,weekday:s$1},DATE_FULL$1={year:n$1,month:l$1,day:n$1},DATE_HUGE$1={year:n$1,month:l$1,day:n$1,weekday:l$1},TIME_SIMPLE$1={hour:n$1,minute:n$1},TIME_WITH_SECONDS$1={hour:n$1,minute:n$1,second:n$1},TIME_WITH_SHORT_OFFSET$1={hour:n$1,minute:n$1,second:n$1,timeZoneName:s$1},TIME_WITH_LONG_OFFSET$1={hour:n$1,minute:n$1,second:n$1,timeZoneName:l$1},TIME_24_SIMPLE$1={hour:n$1,minute:n$1,hourCycle:`h23`},TIME_24_WITH_SECONDS$1={hour:n$1,minute:n$1,second:n$1,hourCycle:`h23`},TIME_24_WITH_SHORT_OFFSET$1={hour:n$1,minute:n$1,second:n$1,hourCycle:`h23`,timeZoneName:s$1},TIME_24_WITH_LONG_OFFSET$1={hour:n$1,minute:n$1,second:n$1,hourCycle:`h23`,timeZoneName:l$1},DATETIME_SHORT$1={year:n$1,month:n$1,day:n$1,hour:n$1,minute:n$1},DATETIME_SHORT_WITH_SECONDS$1={year:n$1,month:n$1,day:n$1,hour:n$1,minute:n$1,second:n$1},DATETIME_MED$1={year:n$1,month:s$1,day:n$1,hour:n$1,minute:n$1},DATETIME_MED_WITH_SECONDS$1={year:n$1,month:s$1,day:n$1,hour:n$1,minute:n$1,second:n$1},DATETIME_MED_WITH_WEEKDAY$1={year:n$1,month:s$1,day:n$1,weekday:s$1,hour:n$1,minute:n$1},DATETIME_FULL$1={year:n$1,month:l$1,day:n$1,hour:n$1,minute:n$1,timeZoneName:s$1},DATETIME_FULL_WITH_SECONDS$1={year:n$1,month:l$1,day:n$1,hour:n$1,minute:n$1,second:n$1,timeZoneName:s$1},DATETIME_HUGE$1={year:n$1,month:l$1,day:n$1,weekday:l$1,hour:n$1,minute:n$1,timeZoneName:l$1},DATETIME_HUGE_WITH_SECONDS$1={year:n$1,month:l$1,day:n$1,weekday:l$1,hour:n$1,minute:n$1,second:n$1,timeZoneName:l$1};var Zone$1=class{get type(){throw new ZoneIsAbstractError$1}get name(){throw new ZoneIsAbstractError$1}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError$1}offsetName(o,r){throw new ZoneIsAbstractError$1}formatOffset(o,r){throw new ZoneIsAbstractError$1}offset(o){throw new ZoneIsAbstractError$1}equals(o){throw new ZoneIsAbstractError$1}get isValid(){throw new ZoneIsAbstractError$1}};let singleton$1$1=null;var SystemZone$1=class SystemZone$1 extends Zone$1{static get instance(){return singleton$1$1===null&&(singleton$1$1=new SystemZone$1),singleton$1$1}get type(){return`system`}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(o,{format:r,locale:u}){return parseZoneInfo$1(o,r,u)}formatOffset(o,r){return formatOffset$1(this.offset(o),r)}offset(o){return-new Date(o).getTimezoneOffset()}equals(o){return o.type===`system`}get isValid(){return!0}};const dtfCache$1=new Map;function makeDTF$1(t$5){let o=dtfCache$1.get(t$5);return o===void 0&&(o=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:t$5,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,era:`short`}),dtfCache$1.set(t$5,o)),o}const typeToPos$1={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset$1(t$5,o){let r=t$5.format(o).replace(/\u200E/g,``),u=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,h,m,y,S,_,C,O]=u;return[y,h,m,S,_,C,O]}function partsOffset$1(t$5,o){let r=t$5.formatToParts(o),u=[];for(let h=0;h<r.length;h++){let{type:m,value:y}=r[h],S=typeToPos$1[m];m===`era`?u[S]=y:isUndefined$1(S)||(u[S]=parseInt(y,10))}return u}const ianaZoneCache$1=new Map;var IANAZone$1=class IANAZone$1 extends Zone$1{static create(o){let r=ianaZoneCache$1.get(o);return r===void 0&&ianaZoneCache$1.set(o,r=new IANAZone$1(o)),r}static resetCache(){ianaZoneCache$1.clear(),dtfCache$1.clear()}static isValidSpecifier(o){return this.isValidZone(o)}static isValidZone(o){if(!o)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:o}).format(),!0}catch{return!1}}constructor(o){super(),this.zoneName=o,this.valid=IANAZone$1.isValidZone(o)}get type(){return`iana`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(o,{format:r,locale:u}){return parseZoneInfo$1(o,r,u,this.name)}formatOffset(o,r){return formatOffset$1(this.offset(o),r)}offset(o){if(!this.valid)return NaN;let r=new Date(o);if(isNaN(r))return NaN;let u=makeDTF$1(this.name),[h,m,y,S,_,C,O]=u.formatToParts?partsOffset$1(u,r):hackyOffset$1(u,r);S===`BC`&&(h=-Math.abs(h)+1);let R$1=objToLocalTS$1({year:h,month:m,day:y,hour:_===24?0:_,minute:C,second:O,millisecond:0}),U=+r,F=U%1e3;return U-=F>=0?F:1e3+F,(R$1-U)/(60*1e3)}equals(o){return o.type===`iana`&&o.name===this.name}get isValid(){return this.valid}};let intlLFCache$1={};function getCachedLF$1(t$5,o={}){let r=JSON.stringify([t$5,o]),u=intlLFCache$1[r];return u||(u=new Intl.ListFormat(t$5,o),intlLFCache$1[r]=u),u}const intlDTCache$1=new Map;function getCachedDTF$1(t$5,o={}){let r=JSON.stringify([t$5,o]),u=intlDTCache$1.get(r);return u===void 0&&(u=new Intl.DateTimeFormat(t$5,o),intlDTCache$1.set(r,u)),u}const intlNumCache$1=new Map;function getCachedINF$1(t$5,o={}){let r=JSON.stringify([t$5,o]),u=intlNumCache$1.get(r);return u===void 0&&(u=new Intl.NumberFormat(t$5,o),intlNumCache$1.set(r,u)),u}const intlRelCache$1=new Map;function getCachedRTF$1(t$5,o={}){let{base:r,...u}=o,h=JSON.stringify([t$5,u]),m=intlRelCache$1.get(h);return m===void 0&&(m=new Intl.RelativeTimeFormat(t$5,o),intlRelCache$1.set(h,m)),m}let sysLocaleCache$1=null;function systemLocale$1(){return sysLocaleCache$1||(sysLocaleCache$1=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache$1)}const intlResolvedOptionsCache$1=new Map;function getCachedIntResolvedOptions$1(t$5){let o=intlResolvedOptionsCache$1.get(t$5);return o===void 0&&(o=new Intl.DateTimeFormat(t$5).resolvedOptions(),intlResolvedOptionsCache$1.set(t$5,o)),o}const weekInfoCache$1=new Map;function getCachedWeekInfo$1(t$5){let o=weekInfoCache$1.get(t$5);if(!o){let r=new Intl.Locale(t$5);o=`getWeekInfo`in r?r.getWeekInfo():r.weekInfo,`minimalDays`in o||(o={...fallbackWeekSettings$1,...o}),weekInfoCache$1.set(t$5,o)}return o}function parseLocaleString$1(t$5){let o=t$5.indexOf(`-x-`);o!==-1&&(t$5=t$5.substring(0,o));let r=t$5.indexOf(`-u-`);if(r===-1)return[t$5];{let u,h;try{u=getCachedDTF$1(t$5).resolvedOptions(),h=t$5}catch{let _=t$5.substring(0,r);u=getCachedDTF$1(_).resolvedOptions(),h=_}let{numberingSystem:m,calendar:y}=u;return[h,m,y]}}function intlConfigString$1(t$5,o,r){return(r||o)&&(t$5.includes(`-u-`)||(t$5+=`-u`),r&&(t$5+=`-ca-${r}`),o&&(t$5+=`-nu-${o}`)),t$5}function mapMonths$1(t$5){let o=[];for(let r=1;r<=12;r++){let u=DateTime$1.utc(2009,r,1);o.push(t$5(u))}return o}function mapWeekdays$1(t$5){let o=[];for(let r=1;r<=7;r++){let u=DateTime$1.utc(2016,11,13+r);o.push(t$5(u))}return o}function listStuff$1(t$5,o,r,u){let h=t$5.listingMode();return h===`error`?null:h===`en`?r(o):u(o)}function supportsFastNumbers$1(t$5){return t$5.numberingSystem&&t$5.numberingSystem!==`latn`?!1:t$5.numberingSystem===`latn`||!t$5.locale||t$5.locale.startsWith(`en`)||getCachedIntResolvedOptions$1(t$5.locale).numberingSystem===`latn`}var PolyNumberFormatter$1=class{constructor(o,r,u){this.padTo=u.padTo||0,this.floor=u.floor||!1;let{padTo:h,floor:m,...y}=u;if(!r||Object.keys(y).length>0){let S={useGrouping:!1,...u};u.padTo>0&&(S.minimumIntegerDigits=u.padTo),this.inf=getCachedINF$1(o,S)}}format(o){if(this.inf){let r=this.floor?Math.floor(o):o;return this.inf.format(r)}else{let r=this.floor?Math.floor(o):roundTo$1(o,3);return padStart$1(r,this.padTo)}}},PolyDateFormatter$1=class{constructor(o,r,u){this.opts=u,this.originalZone=void 0;let h;if(this.opts.timeZone)this.dt=o;else if(o.zone.type===`fixed`){let y=-1*(o.offset/60),S=y>=0?`Etc/GMT+${y}`:`Etc/GMT${y}`;o.offset!==0&&IANAZone$1.create(S).valid?(h=S,this.dt=o):(h=`UTC`,this.dt=o.offset===0?o:o.setZone(`UTC`).plus({minutes:o.offset}),this.originalZone=o.zone)}else o.zone.type===`system`?this.dt=o:o.zone.type===`iana`?(this.dt=o,h=o.zone.name):(h=`UTC`,this.dt=o.setZone(`UTC`).plus({minutes:o.offset}),this.originalZone=o.zone);let m={...this.opts};m.timeZone=m.timeZone||h,this.dtf=getCachedDTF$1(r,m)}format(){return this.originalZone?this.formatToParts().map(({value:o})=>o).join(``):this.dtf.format(this.dt.toJSDate())}formatToParts(){let o=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?o.map(r=>{if(r.type===`timeZoneName`){let u=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:u}}else return r}):o}resolvedOptions(){return this.dtf.resolvedOptions()}},PolyRelFormatter$1=class{constructor(o,r,u){this.opts={style:`long`,...u},!r&&hasRelative$1()&&(this.rtf=getCachedRTF$1(o,u))}format(o,r){return this.rtf?this.rtf.format(o,r):formatRelativeTime$1(r,o,this.opts.numeric,this.opts.style!==`long`)}formatToParts(o,r){return this.rtf?this.rtf.formatToParts(o,r):[]}};const fallbackWeekSettings$1={firstDay:1,minimalDays:4,weekend:[6,7]};var Locale$1=class Locale$1{static fromOpts(o){return Locale$1.create(o.locale,o.numberingSystem,o.outputCalendar,o.weekSettings,o.defaultToEN)}static create(o,r,u,h,m=!1){let y=o||Settings$1.defaultLocale,S=y||(m?`en-US`:systemLocale$1()),_=r||Settings$1.defaultNumberingSystem,C=u||Settings$1.defaultOutputCalendar,O=validateWeekSettings$1(h)||Settings$1.defaultWeekSettings;return new Locale$1(S,_,C,O,y)}static resetCache(){sysLocaleCache$1=null,intlDTCache$1.clear(),intlNumCache$1.clear(),intlRelCache$1.clear(),intlResolvedOptionsCache$1.clear(),weekInfoCache$1.clear()}static fromObject({locale:o,numberingSystem:r,outputCalendar:u,weekSettings:h}={}){return Locale$1.create(o,r,u,h)}constructor(o,r,u,h,m){let[y,S,_]=parseLocaleString$1(o);this.locale=y,this.numberingSystem=r||S||null,this.outputCalendar=u||_||null,this.weekSettings=h,this.intl=intlConfigString$1(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=m,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached??=supportsFastNumbers$1(this),this.fastNumbersCached}listingMode(){let o=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem===`latn`)&&(this.outputCalendar===null||this.outputCalendar===`gregory`);return o&&r?`en`:`intl`}clone(o){return!o||Object.getOwnPropertyNames(o).length===0?this:Locale$1.create(o.locale||this.specifiedLocale,o.numberingSystem||this.numberingSystem,o.outputCalendar||this.outputCalendar,validateWeekSettings$1(o.weekSettings)||this.weekSettings,o.defaultToEN||!1)}redefaultToEN(o={}){return this.clone({...o,defaultToEN:!0})}redefaultToSystem(o={}){return this.clone({...o,defaultToEN:!1})}months(o,r=!1){return listStuff$1(this,o,months$1,()=>{let u=r?{month:o,day:`numeric`}:{month:o},h=r?`format`:`standalone`;return this.monthsCache[h][o]||(this.monthsCache[h][o]=mapMonths$1(m=>this.extract(m,u,`month`))),this.monthsCache[h][o]})}weekdays(o,r=!1){return listStuff$1(this,o,weekdays$1,()=>{let u=r?{weekday:o,year:`numeric`,month:`long`,day:`numeric`}:{weekday:o},h=r?`format`:`standalone`;return this.weekdaysCache[h][o]||(this.weekdaysCache[h][o]=mapWeekdays$1(m=>this.extract(m,u,`weekday`))),this.weekdaysCache[h][o]})}meridiems(){return listStuff$1(this,void 0,()=>meridiems$1,()=>{if(!this.meridiemCache){let o={hour:`numeric`,hourCycle:`h12`};this.meridiemCache=[DateTime$1.utc(2016,11,13,9),DateTime$1.utc(2016,11,13,19)].map(r=>this.extract(r,o,`dayperiod`))}return this.meridiemCache})}eras(o){return listStuff$1(this,o,eras$1,()=>{let r={era:o};return this.eraCache[o]||(this.eraCache[o]=[DateTime$1.utc(-40,1,1),DateTime$1.utc(2017,1,1)].map(u=>this.extract(u,r,`era`))),this.eraCache[o]})}extract(o,r,u){let h=this.dtFormatter(o,r),m=h.formatToParts(),y=m.find(S=>S.type.toLowerCase()===u);return y?y.value:null}numberFormatter(o={}){return new PolyNumberFormatter$1(this.intl,o.forceSimple||this.fastNumbers,o)}dtFormatter(o,r={}){return new PolyDateFormatter$1(o,this.intl,r)}relFormatter(o={}){return new PolyRelFormatter$1(this.intl,this.isEnglish(),o)}listFormatter(o={}){return getCachedLF$1(this.intl,o)}isEnglish(){return this.locale===`en`||this.locale.toLowerCase()===`en-us`||getCachedIntResolvedOptions$1(this.intl).locale.startsWith(`en-us`)}getWeekSettings(){return this.weekSettings?this.weekSettings:hasLocaleWeekInfo$1()?getCachedWeekInfo$1(this.locale):fallbackWeekSettings$1}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(o){return this.locale===o.locale&&this.numberingSystem===o.numberingSystem&&this.outputCalendar===o.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}};let singleton$2=null;var FixedOffsetZone$1=class FixedOffsetZone$1 extends Zone$1{static get utcInstance(){return singleton$2===null&&(singleton$2=new FixedOffsetZone$1(0)),singleton$2}static instance(o){return o===0?FixedOffsetZone$1.utcInstance:new FixedOffsetZone$1(o)}static parseSpecifier(o){if(o){let r=o.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new FixedOffsetZone$1(signedOffset$1(r[1],r[2]))}return null}constructor(o){super(),this.fixed=o}get type(){return`fixed`}get name(){return this.fixed===0?`UTC`:`UTC${formatOffset$1(this.fixed,`narrow`)}`}get ianaName(){return this.fixed===0?`Etc/UTC`:`Etc/GMT${formatOffset$1(-this.fixed,`narrow`)}`}offsetName(){return this.name}formatOffset(o,r){return formatOffset$1(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(o){return o.type===`fixed`&&o.fixed===this.fixed}get isValid(){return!0}},InvalidZone$1=class extends Zone$1{constructor(o){super(),this.zoneName=o}get type(){return`invalid`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return``}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function normalizeZone$1(t$5,o){if(isUndefined$1(t$5)||t$5===null)return o;if(t$5 instanceof Zone$1)return t$5;if(isString$1(t$5)){let r=t$5.toLowerCase();return r===`default`?o:r===`local`||r===`system`?SystemZone$1.instance:r===`utc`||r===`gmt`?FixedOffsetZone$1.utcInstance:FixedOffsetZone$1.parseSpecifier(r)||IANAZone$1.create(t$5)}else return isNumber$1(t$5)?FixedOffsetZone$1.instance(t$5):typeof t$5==`object`&&`offset`in t$5&&typeof t$5.offset==`function`?t$5:new InvalidZone$1(t$5)}const numberingSystems$1={arab:`[٠-٩]`,arabext:`[۰-۹]`,bali:`[᭐-᭙]`,beng:`[০-৯]`,deva:`[०-९]`,fullwide:`[0-9]`,gujr:`[૦-૯]`,hanidec:`[〇|一|二|三|四|五|六|七|八|九]`,khmr:`[០-៩]`,knda:`[೦-೯]`,laoo:`[໐-໙]`,limb:`[᥆-᥏]`,mlym:`[൦-൯]`,mong:`[᠐-᠙]`,mymr:`[၀-၉]`,orya:`[୦-୯]`,tamldec:`[௦-௯]`,telu:`[౦-౯]`,thai:`[๐-๙]`,tibt:`[༠-༩]`,latn:`\\d`},numberingSystemsUTF16$1={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars$1=numberingSystems$1.hanidec.replace(/[\[|\]]/g,``).split(``);function parseDigits$1(t$5){let o=parseInt(t$5,10);if(isNaN(o)){o=``;for(let r=0;r<t$5.length;r++){let u=t$5.charCodeAt(r);if(t$5[r].search(numberingSystems$1.hanidec)!==-1)o+=hanidecChars$1.indexOf(t$5[r]);else for(let h in numberingSystemsUTF16$1){let[m,y]=numberingSystemsUTF16$1[h];u>=m&&u<=y&&(o+=u-m)}}return parseInt(o,10)}else return o}const digitRegexCache$1=new Map;function resetDigitRegexCache$1(){digitRegexCache$1.clear()}function digitRegex$1({numberingSystem:t$5},o=``){let r=t$5||`latn`,u=digitRegexCache$1.get(r);u===void 0&&(u=new Map,digitRegexCache$1.set(r,u));let h=u.get(o);return h===void 0&&(h=RegExp(`${numberingSystems$1[r]}${o}`),u.set(o,h)),h}let now$1=()=>Date.now(),defaultZone$1=`system`,defaultLocale$1=null,defaultNumberingSystem$1=null,defaultOutputCalendar$1=null,twoDigitCutoffYear$1=60,throwOnInvalid$1,defaultWeekSettings$1=null;var Settings$1=class{static get now(){return now$1}static set now(o){now$1=o}static set defaultZone(o){defaultZone$1=o}static get defaultZone(){return normalizeZone$1(defaultZone$1,SystemZone$1.instance)}static get defaultLocale(){return defaultLocale$1}static set defaultLocale(o){defaultLocale$1=o}static get defaultNumberingSystem(){return defaultNumberingSystem$1}static set defaultNumberingSystem(o){defaultNumberingSystem$1=o}static get defaultOutputCalendar(){return defaultOutputCalendar$1}static set defaultOutputCalendar(o){defaultOutputCalendar$1=o}static get defaultWeekSettings(){return defaultWeekSettings$1}static set defaultWeekSettings(o){defaultWeekSettings$1=validateWeekSettings$1(o)}static get twoDigitCutoffYear(){return twoDigitCutoffYear$1}static set twoDigitCutoffYear(o){twoDigitCutoffYear$1=o%100}static get throwOnInvalid(){return throwOnInvalid$1}static set throwOnInvalid(o){throwOnInvalid$1=o}static resetCaches(){Locale$1.resetCache(),IANAZone$1.resetCache(),DateTime$1.resetCache(),resetDigitRegexCache$1()}},Invalid$1=class{constructor(o,r){this.reason=o,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}};const nonLeapLadder$1=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder$1=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange$1(t$5,o){return new Invalid$1(`unit out of range`,`you specified ${o} (of type ${typeof o}) as a ${t$5}, which is invalid`)}function dayOfWeek$1(t$5,o,r){let u=new Date(Date.UTC(t$5,o-1,r));t$5<100&&t$5>=0&&u.setUTCFullYear(u.getUTCFullYear()-1900);let h=u.getUTCDay();return h===0?7:h}function computeOrdinal$1(t$5,o,r){return r+(isLeapYear$1(t$5)?leapLadder$1:nonLeapLadder$1)[o-1]}function uncomputeOrdinal$1(t$5,o){let r=isLeapYear$1(t$5)?leapLadder$1:nonLeapLadder$1,u=r.findIndex(m=>m<o),h=o-r[u];return{month:u+1,day:h}}function isoWeekdayToLocal$1(t$5,o){return(t$5-o+7)%7+1}function gregorianToWeek$1(t$5,o=4,r=1){let{year:u,month:h,day:m}=t$5,y=computeOrdinal$1(u,h,m),S=isoWeekdayToLocal$1(dayOfWeek$1(u,h,m),r),_=Math.floor((y-S+14-o)/7),C;return _<1?(C=u-1,_=weeksInWeekYear$1(C,o,r)):_>weeksInWeekYear$1(u,o,r)?(C=u+1,_=1):C=u,{weekYear:C,weekNumber:_,weekday:S,...timeObject$1(t$5)}}function weekToGregorian$1(t$5,o=4,r=1){let{weekYear:u,weekNumber:h,weekday:m}=t$5,y=isoWeekdayToLocal$1(dayOfWeek$1(u,1,o),r),S=daysInYear$1(u),_=h*7+m-y-7+o,C;_<1?(C=u-1,_+=daysInYear$1(C)):_>S?(C=u+1,_-=daysInYear$1(u)):C=u;let{month:O,day:I}=uncomputeOrdinal$1(C,_);return{year:C,month:O,day:I,...timeObject$1(t$5)}}function gregorianToOrdinal$1(t$5){let{year:o,month:r,day:u}=t$5,h=computeOrdinal$1(o,r,u);return{year:o,ordinal:h,...timeObject$1(t$5)}}function ordinalToGregorian$1(t$5){let{year:o,ordinal:r}=t$5,{month:u,day:h}=uncomputeOrdinal$1(o,r);return{year:o,month:u,day:h,...timeObject$1(t$5)}}function usesLocalWeekValues$1(t$5,o){if(!isUndefined$1(t$5.localWeekday)||!isUndefined$1(t$5.localWeekNumber)||!isUndefined$1(t$5.localWeekYear)){if(!isUndefined$1(t$5.weekday)||!isUndefined$1(t$5.weekNumber)||!isUndefined$1(t$5.weekYear))throw new ConflictingSpecificationError$1(`Cannot mix locale-based week fields with ISO-based week fields`);return isUndefined$1(t$5.localWeekday)||(t$5.weekday=t$5.localWeekday),isUndefined$1(t$5.localWeekNumber)||(t$5.weekNumber=t$5.localWeekNumber),isUndefined$1(t$5.localWeekYear)||(t$5.weekYear=t$5.localWeekYear),delete t$5.localWeekday,delete t$5.localWeekNumber,delete t$5.localWeekYear,{minDaysInFirstWeek:o.getMinDaysInFirstWeek(),startOfWeek:o.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function hasInvalidWeekData$1(t$5,o=4,r=1){let u=isInteger$1(t$5.weekYear),h=integerBetween$1(t$5.weekNumber,1,weeksInWeekYear$1(t$5.weekYear,o,r)),m=integerBetween$1(t$5.weekday,1,7);return u?h?m?!1:unitOutOfRange$1(`weekday`,t$5.weekday):unitOutOfRange$1(`week`,t$5.weekNumber):unitOutOfRange$1(`weekYear`,t$5.weekYear)}function hasInvalidOrdinalData$1(t$5){let o=isInteger$1(t$5.year),r=integerBetween$1(t$5.ordinal,1,daysInYear$1(t$5.year));return o?r?!1:unitOutOfRange$1(`ordinal`,t$5.ordinal):unitOutOfRange$1(`year`,t$5.year)}function hasInvalidGregorianData$1(t$5){let o=isInteger$1(t$5.year),r=integerBetween$1(t$5.month,1,12),u=integerBetween$1(t$5.day,1,daysInMonth$1(t$5.year,t$5.month));return o?r?u?!1:unitOutOfRange$1(`day`,t$5.day):unitOutOfRange$1(`month`,t$5.month):unitOutOfRange$1(`year`,t$5.year)}function hasInvalidTimeData$1(t$5){let{hour:o,minute:r,second:u,millisecond:h}=t$5,m=integerBetween$1(o,0,23)||o===24&&r===0&&u===0&&h===0,y=integerBetween$1(r,0,59),S=integerBetween$1(u,0,59),_=integerBetween$1(h,0,999);return m?y?S?_?!1:unitOutOfRange$1(`millisecond`,h):unitOutOfRange$1(`second`,u):unitOutOfRange$1(`minute`,r):unitOutOfRange$1(`hour`,o)}function isUndefined$1(t$5){return typeof t$5>`u`}function isNumber$1(t$5){return typeof t$5==`number`}function isInteger$1(t$5){return typeof t$5==`number`&&t$5%1==0}function isString$1(t$5){return typeof t$5==`string`}function isDate$1(t$5){return Object.prototype.toString.call(t$5)===`[object Date]`}function hasRelative$1(){try{return typeof Intl<`u`&&!!Intl.RelativeTimeFormat}catch{return!1}}function hasLocaleWeekInfo$1(){try{return typeof Intl<`u`&&!!Intl.Locale&&(`weekInfo`in Intl.Locale.prototype||`getWeekInfo`in Intl.Locale.prototype)}catch{return!1}}function maybeArray$1(t$5){return Array.isArray(t$5)?t$5:[t$5]}function bestBy$1(t$5,o,r){if(t$5.length!==0)return t$5.reduce((u,h)=>{let m=[o(h),h];return u&&r(u[0],m[0])===u[0]?u:m},null)[1]}function pick$1(t$5,o){return o.reduce((r,u)=>(r[u]=t$5[u],r),{})}function hasOwnProperty$1(t$5,o){return Object.prototype.hasOwnProperty.call(t$5,o)}function validateWeekSettings$1(t$5){if(t$5==null)return null;if(typeof t$5!=`object`)throw new InvalidArgumentError$1(`Week settings must be an object`);if(!integerBetween$1(t$5.firstDay,1,7)||!integerBetween$1(t$5.minimalDays,1,7)||!Array.isArray(t$5.weekend)||t$5.weekend.some(o=>!integerBetween$1(o,1,7)))throw new InvalidArgumentError$1(`Invalid week settings`);return{firstDay:t$5.firstDay,minimalDays:t$5.minimalDays,weekend:Array.from(t$5.weekend)}}function integerBetween$1(t$5,o,r){return isInteger$1(t$5)&&t$5>=o&&t$5<=r}function floorMod$1(t$5,o){return t$5-o*Math.floor(t$5/o)}function padStart$1(t$5,o=2){let r=t$5<0,u;return u=r?`-`+(``+-t$5).padStart(o,`0`):(``+t$5).padStart(o,`0`),u}function parseInteger$1(t$5){if(!(isUndefined$1(t$5)||t$5===null||t$5===``))return parseInt(t$5,10)}function parseFloating$1(t$5){if(!(isUndefined$1(t$5)||t$5===null||t$5===``))return parseFloat(t$5)}function parseMillis$1(t$5){if(!(isUndefined$1(t$5)||t$5===null||t$5===``)){let o=parseFloat(`0.`+t$5)*1e3;return Math.floor(o)}}function roundTo$1(t$5,o,r=!1){let u=10**o;return(r?Math.trunc:Math.round)(t$5*u)/u}function isLeapYear$1(t$5){return t$5%4==0&&(t$5%100!=0||t$5%400==0)}function daysInYear$1(t$5){return isLeapYear$1(t$5)?366:365}function daysInMonth$1(t$5,o){let r=floorMod$1(o-1,12)+1,u=t$5+(o-r)/12;return r===2?isLeapYear$1(u)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function objToLocalTS$1(t$5){let o=Date.UTC(t$5.year,t$5.month-1,t$5.day,t$5.hour,t$5.minute,t$5.second,t$5.millisecond);return t$5.year<100&&t$5.year>=0&&(o=new Date(o),o.setUTCFullYear(t$5.year,t$5.month-1,t$5.day)),+o}function firstWeekOffset$1(t$5,o,r){return-isoWeekdayToLocal$1(dayOfWeek$1(t$5,1,o),r)+o-1}function weeksInWeekYear$1(t$5,o=4,r=1){let u=firstWeekOffset$1(t$5,o,r),h=firstWeekOffset$1(t$5+1,o,r);return(daysInYear$1(t$5)-u+h)/7}function untruncateYear$1(t$5){return t$5>99?t$5:t$5>Settings$1.twoDigitCutoffYear?1900+t$5:2e3+t$5}function parseZoneInfo$1(t$5,o,r,u=null){let h=new Date(t$5),m={hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`};u&&(m.timeZone=u);let y={timeZoneName:o,...m},S=new Intl.DateTimeFormat(r,y).formatToParts(h).find(_=>_.type.toLowerCase()===`timezonename`);return S?S.value:null}function signedOffset$1(t$5,o){let r=parseInt(t$5,10);Number.isNaN(r)&&(r=0);let u=parseInt(o,10)||0,h=r<0||Object.is(r,-0)?-u:u;return r*60+h}function asNumber$1(t$5){let o=Number(t$5);if(typeof t$5==`boolean`||t$5===``||Number.isNaN(o))throw new InvalidArgumentError$1(`Invalid unit value ${t$5}`);return o}function normalizeObject$1(t$5,o){let r={};for(let u in t$5)if(hasOwnProperty$1(t$5,u)){let h=t$5[u];if(h==null)continue;r[o(u)]=asNumber$1(h)}return r}function formatOffset$1(t$5,o){let r=Math.trunc(Math.abs(t$5/60)),u=Math.trunc(Math.abs(t$5%60)),h=t$5>=0?`+`:`-`;switch(o){case`short`:return`${h}${padStart$1(r,2)}:${padStart$1(u,2)}`;case`narrow`:return`${h}${r}${u>0?`:${u}`:``}`;case`techie`:return`${h}${padStart$1(r,2)}${padStart$1(u,2)}`;default:throw RangeError(`Value format ${o} is out of range for property format`)}}function timeObject$1(t$5){return pick$1(t$5,[`hour`,`minute`,`second`,`millisecond`])}const monthsLong$1=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort$1=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],monthsNarrow$1=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`];function months$1(t$5){switch(t$5){case`narrow`:return[...monthsNarrow$1];case`short`:return[...monthsShort$1];case`long`:return[...monthsLong$1];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`];case`2-digit`:return[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`];default:return null}}const weekdaysLong$1=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],weekdaysShort$1=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],weekdaysNarrow$1=[`M`,`T`,`W`,`T`,`F`,`S`,`S`];function weekdays$1(t$5){switch(t$5){case`narrow`:return[...weekdaysNarrow$1];case`short`:return[...weekdaysShort$1];case`long`:return[...weekdaysLong$1];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`];default:return null}}const meridiems$1=[`AM`,`PM`],erasLong$1=[`Before Christ`,`Anno Domini`],erasShort$1=[`BC`,`AD`],erasNarrow$1=[`B`,`A`];function eras$1(t$5){switch(t$5){case`narrow`:return[...erasNarrow$1];case`short`:return[...erasShort$1];case`long`:return[...erasLong$1];default:return null}}function meridiemForDateTime$1(t$5){return meridiems$1[t$5.hour<12?0:1]}function weekdayForDateTime$1(t$5,o){return weekdays$1(o)[t$5.weekday-1]}function monthForDateTime$1(t$5,o){return months$1(o)[t$5.month-1]}function eraForDateTime$1(t$5,o){return eras$1(o)[t$5.year<0?0:1]}function formatRelativeTime$1(t$5,o,r=`always`,u=!1){let h={years:[`year`,`yr.`],quarters:[`quarter`,`qtr.`],months:[`month`,`mo.`],weeks:[`week`,`wk.`],days:[`day`,`day`,`days`],hours:[`hour`,`hr.`],minutes:[`minute`,`min.`],seconds:[`second`,`sec.`]},m=[`hours`,`minutes`,`seconds`].indexOf(t$5)===-1;if(r===`auto`&&m){let I=t$5===`days`;switch(o){case 1:return I?`tomorrow`:`next ${h[t$5][0]}`;case-1:return I?`yesterday`:`last ${h[t$5][0]}`;case 0:return I?`today`:`this ${h[t$5][0]}`}}let y=Object.is(o,-0)||o<0,S=Math.abs(o),_=S===1,C=h[t$5],O=u?_?C[1]:C[2]||C[1]:_?h[t$5][0]:t$5;return y?`${S} ${O} ago`:`in ${S} ${O}`}function stringifyTokens$1(t$5,o){let r=``;for(let u of t$5)u.literal?r+=u.val:r+=o(u.val);return r}const macroTokenToFormatOpts$1={D:DATE_SHORT$1,DD:DATE_MED$1,DDD:DATE_FULL$1,DDDD:DATE_HUGE$1,t:TIME_SIMPLE$1,tt:TIME_WITH_SECONDS$1,ttt:TIME_WITH_SHORT_OFFSET$1,tttt:TIME_WITH_LONG_OFFSET$1,T:TIME_24_SIMPLE$1,TT:TIME_24_WITH_SECONDS$1,TTT:TIME_24_WITH_SHORT_OFFSET$1,TTTT:TIME_24_WITH_LONG_OFFSET$1,f:DATETIME_SHORT$1,ff:DATETIME_MED$1,fff:DATETIME_FULL$1,ffff:DATETIME_HUGE$1,F:DATETIME_SHORT_WITH_SECONDS$1,FF:DATETIME_MED_WITH_SECONDS$1,FFF:DATETIME_FULL_WITH_SECONDS$1,FFFF:DATETIME_HUGE_WITH_SECONDS$1};var Formatter$1=class Formatter$1{static create(o,r={}){return new Formatter$1(o,r)}static parseFormat(o){let r=null,u=``,h=!1,m=[];for(let y=0;y<o.length;y++){let S=o.charAt(y);S===`'`?(u.length>0&&m.push({literal:h||/^\s+$/.test(u),val:u}),r=null,u=``,h=!h):h||S===r?u+=S:(u.length>0&&m.push({literal:/^\s+$/.test(u),val:u}),u=S,r=S)}return u.length>0&&m.push({literal:h||/^\s+$/.test(u),val:u}),m}static macroTokenToFormatOpts(o){return macroTokenToFormatOpts$1[o]}constructor(o,r){this.opts=r,this.loc=o,this.systemLoc=null}formatWithSystemDefault(o,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(o,{...this.opts,...r}).format()}dtFormatter(o,r={}){return this.loc.dtFormatter(o,{...this.opts,...r})}formatDateTime(o,r){return this.dtFormatter(o,r).format()}formatDateTimeParts(o,r){return this.dtFormatter(o,r).formatToParts()}formatInterval(o,r){return this.dtFormatter(o.start,r).dtf.formatRange(o.start.toJSDate(),o.end.toJSDate())}resolvedOptions(o,r){return this.dtFormatter(o,r).resolvedOptions()}num(o,r=0){if(this.opts.forceSimple)return padStart$1(o,r);let u={...this.opts};return r>0&&(u.padTo=r),this.loc.numberFormatter(u).format(o)}formatDateTimeFromString(o,r){let u=this.loc.listingMode()===`en`,h=this.loc.outputCalendar&&this.loc.outputCalendar!==`gregory`,m=(U,F)=>this.loc.extract(o,U,F),y=U=>o.isOffsetFixed&&o.offset===0&&U.allowZ?`Z`:o.isValid?o.zone.formatOffset(o.ts,U.format):``,S=()=>u?meridiemForDateTime$1(o):m({hour:`numeric`,hourCycle:`h12`},`dayperiod`),_=(U,F)=>u?monthForDateTime$1(o,U):m(F?{month:U}:{month:U,day:`numeric`},`month`),C=(U,F)=>u?weekdayForDateTime$1(o,U):m(F?{weekday:U}:{weekday:U,month:`long`,day:`numeric`},`weekday`),O=U=>{let F=Formatter$1.macroTokenToFormatOpts(U);return F?this.formatWithSystemDefault(o,F):U},I=U=>u?eraForDateTime$1(o,U):m({era:U},`era`),R$1=U=>{switch(U){case`S`:return this.num(o.millisecond);case`u`:case`SSS`:return this.num(o.millisecond,3);case`s`:return this.num(o.second);case`ss`:return this.num(o.second,2);case`uu`:return this.num(Math.floor(o.millisecond/10),2);case`uuu`:return this.num(Math.floor(o.millisecond/100));case`m`:return this.num(o.minute);case`mm`:return this.num(o.minute,2);case`h`:return this.num(o.hour%12==0?12:o.hour%12);case`hh`:return this.num(o.hour%12==0?12:o.hour%12,2);case`H`:return this.num(o.hour);case`HH`:return this.num(o.hour,2);case`Z`:return y({format:`narrow`,allowZ:this.opts.allowZ});case`ZZ`:return y({format:`short`,allowZ:this.opts.allowZ});case`ZZZ`:return y({format:`techie`,allowZ:this.opts.allowZ});case`ZZZZ`:return o.zone.offsetName(o.ts,{format:`short`,locale:this.loc.locale});case`ZZZZZ`:return o.zone.offsetName(o.ts,{format:`long`,locale:this.loc.locale});case`z`:return o.zoneName;case`a`:return S();case`d`:return h?m({day:`numeric`},`day`):this.num(o.day);case`dd`:return h?m({day:`2-digit`},`day`):this.num(o.day,2);case`c`:return this.num(o.weekday);case`ccc`:return C(`short`,!0);case`cccc`:return C(`long`,!0);case`ccccc`:return C(`narrow`,!0);case`E`:return this.num(o.weekday);case`EEE`:return C(`short`,!1);case`EEEE`:return C(`long`,!1);case`EEEEE`:return C(`narrow`,!1);case`L`:return h?m({month:`numeric`,day:`numeric`},`month`):this.num(o.month);case`LL`:return h?m({month:`2-digit`,day:`numeric`},`month`):this.num(o.month,2);case`LLL`:return _(`short`,!0);case`LLLL`:return _(`long`,!0);case`LLLLL`:return _(`narrow`,!0);case`M`:return h?m({month:`numeric`},`month`):this.num(o.month);case`MM`:return h?m({month:`2-digit`},`month`):this.num(o.month,2);case`MMM`:return _(`short`,!1);case`MMMM`:return _(`long`,!1);case`MMMMM`:return _(`narrow`,!1);case`y`:return h?m({year:`numeric`},`year`):this.num(o.year);case`yy`:return h?m({year:`2-digit`},`year`):this.num(o.year.toString().slice(-2),2);case`yyyy`:return h?m({year:`numeric`},`year`):this.num(o.year,4);case`yyyyyy`:return h?m({year:`numeric`},`year`):this.num(o.year,6);case`G`:return I(`short`);case`GG`:return I(`long`);case`GGGGG`:return I(`narrow`);case`kk`:return this.num(o.weekYear.toString().slice(-2),2);case`kkkk`:return this.num(o.weekYear,4);case`W`:return this.num(o.weekNumber);case`WW`:return this.num(o.weekNumber,2);case`n`:return this.num(o.localWeekNumber);case`nn`:return this.num(o.localWeekNumber,2);case`ii`:return this.num(o.localWeekYear.toString().slice(-2),2);case`iiii`:return this.num(o.localWeekYear,4);case`o`:return this.num(o.ordinal);case`ooo`:return this.num(o.ordinal,3);case`q`:return this.num(o.quarter);case`qq`:return this.num(o.quarter,2);case`X`:return this.num(Math.floor(o.ts/1e3));case`x`:return this.num(o.ts);default:return O(U)}};return stringifyTokens$1(Formatter$1.parseFormat(r),R$1)}formatDurationFromString(o,r){let u=_=>{switch(_[0]){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:return`hour`;case`d`:return`day`;case`w`:return`week`;case`M`:return`month`;case`y`:return`year`;default:return null}},h=_=>C=>{let O=u(C);return O?this.num(_.get(O),C.length):C},m=Formatter$1.parseFormat(r),y=m.reduce((_,{literal:C,val:O})=>C?_:_.concat(O),[]),S=o.shiftTo(...y.map(u).filter(_=>_));return stringifyTokens$1(m,h(S))}};const ianaRegex$1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes$1(...t$5){let o=t$5.reduce((r,u)=>r+u.source,``);return RegExp(`^${o}$`)}function combineExtractors$1(...t$5){return o=>t$5.reduce(([r,u,h],m)=>{let[y,S,_]=m(o,h);return[{...r,...y},S||u,_]},[{},null,1]).slice(0,2)}function parse$9(t$5,...o){if(t$5==null)return[null,null];for(let[r,u]of o){let h=r.exec(t$5);if(h)return u(h)}return[null,null]}function simpleParse$1(...t$5){return(o,r)=>{let u={},h;for(h=0;h<t$5.length;h++)u[t$5[h]]=parseInteger$1(o[r+h]);return[u,null,r+h]}}const offsetRegex$1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone$1=`(?:${offsetRegex$1.source}?(?:\\[(${ianaRegex$1.source})\\])?)?`,isoTimeBaseRegex$1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,isoTimeRegex$1=RegExp(`${isoTimeBaseRegex$1.source}${isoExtendedZone$1}`),isoTimeExtensionRegex$1=RegExp(`(?:T${isoTimeRegex$1.source})?`),isoYmdRegex$1=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,isoWeekRegex$1=/(\d{4})-?W(\d\d)(?:-?(\d))?/,isoOrdinalRegex$1=/(\d{4})-?(\d{3})/,extractISOWeekData$1=simpleParse$1(`weekYear`,`weekNumber`,`weekDay`),extractISOOrdinalData$1=simpleParse$1(`year`,`ordinal`),sqlYmdRegex$1=/(\d{4})-(\d\d)-(\d\d)/,sqlTimeRegex$1=RegExp(`${isoTimeBaseRegex$1.source} ?(?:${offsetRegex$1.source}|(${ianaRegex$1.source}))?`),sqlTimeExtensionRegex$1=RegExp(`(?: ${sqlTimeRegex$1.source})?`);function int$1(t$5,o,r){let u=t$5[o];return isUndefined$1(u)?r:parseInteger$1(u)}function extractISOYmd$1(t$5,o){return[{year:int$1(t$5,o),month:int$1(t$5,o+1,1),day:int$1(t$5,o+2,1)},null,o+3]}function extractISOTime$1(t$5,o){return[{hours:int$1(t$5,o,0),minutes:int$1(t$5,o+1,0),seconds:int$1(t$5,o+2,0),milliseconds:parseMillis$1(t$5[o+3])},null,o+4]}function extractISOOffset$1(t$5,o){let r=!t$5[o]&&!t$5[o+1],u=signedOffset$1(t$5[o+1],t$5[o+2]),h=r?null:FixedOffsetZone$1.instance(u);return[{},h,o+3]}function extractIANAZone$1(t$5,o){let r=t$5[o]?IANAZone$1.create(t$5[o]):null;return[{},r,o+1]}const isoTimeOnly$1=RegExp(`^T?${isoTimeBaseRegex$1.source}$`),isoDuration$1=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function extractISODuration$1(t$5){let[o,r,u,h,m,y,S,_,C]=t$5,O=o[0]===`-`,I=_&&_[0]===`-`,R$1=(U,F=!1)=>U!==void 0&&(F||U&&O)?-U:U;return[{years:R$1(parseFloating$1(r)),months:R$1(parseFloating$1(u)),weeks:R$1(parseFloating$1(h)),days:R$1(parseFloating$1(m)),hours:R$1(parseFloating$1(y)),minutes:R$1(parseFloating$1(S)),seconds:R$1(parseFloating$1(_),_===`-0`),milliseconds:R$1(parseMillis$1(C),I)}]}const obsOffsets$1={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings$1(t$5,o,r,u,h,m,y){let S={year:o.length===2?untruncateYear$1(parseInteger$1(o)):parseInteger$1(o),month:monthsShort$1.indexOf(r)+1,day:parseInteger$1(u),hour:parseInteger$1(h),minute:parseInteger$1(m)};return y&&(S.second=parseInteger$1(y)),t$5&&(S.weekday=t$5.length>3?weekdaysLong$1.indexOf(t$5)+1:weekdaysShort$1.indexOf(t$5)+1),S}const rfc2822$1=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822$1(t$5){let[,o,r,u,h,m,y,S,_,C,O,I]=t$5,R$1=fromStrings$1(o,h,u,r,m,y,S),U;return U=_?obsOffsets$1[_]:C?0:signedOffset$1(O,I),[R$1,new FixedOffsetZone$1(U)]}function preprocessRFC2822$1(t$5){return t$5.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).trim()}const rfc1123$1=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850$1=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii$1=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850$1(t$5){let[,o,r,u,h,m,y,S]=t$5;return[fromStrings$1(o,h,u,r,m,y,S),FixedOffsetZone$1.utcInstance]}function extractASCII$1(t$5){let[,o,r,u,h,m,y,S]=t$5;return[fromStrings$1(o,S,r,u,h,m,y),FixedOffsetZone$1.utcInstance]}const isoYmdWithTimeExtensionRegex$1=combineRegexes$1(isoYmdRegex$1,isoTimeExtensionRegex$1),isoWeekWithTimeExtensionRegex$1=combineRegexes$1(isoWeekRegex$1,isoTimeExtensionRegex$1),isoOrdinalWithTimeExtensionRegex$1=combineRegexes$1(isoOrdinalRegex$1,isoTimeExtensionRegex$1),isoTimeCombinedRegex$1=combineRegexes$1(isoTimeRegex$1),extractISOYmdTimeAndOffset$1=combineExtractors$1(extractISOYmd$1,extractISOTime$1,extractISOOffset$1,extractIANAZone$1),extractISOWeekTimeAndOffset$1=combineExtractors$1(extractISOWeekData$1,extractISOTime$1,extractISOOffset$1,extractIANAZone$1),extractISOOrdinalDateAndTime$1=combineExtractors$1(extractISOOrdinalData$1,extractISOTime$1,extractISOOffset$1,extractIANAZone$1),extractISOTimeAndOffset$1=combineExtractors$1(extractISOTime$1,extractISOOffset$1,extractIANAZone$1);function parseISODate$1(t$5){return parse$9(t$5,[isoYmdWithTimeExtensionRegex$1,extractISOYmdTimeAndOffset$1],[isoWeekWithTimeExtensionRegex$1,extractISOWeekTimeAndOffset$1],[isoOrdinalWithTimeExtensionRegex$1,extractISOOrdinalDateAndTime$1],[isoTimeCombinedRegex$1,extractISOTimeAndOffset$1])}function parseRFC2822Date$1(t$5){return parse$9(preprocessRFC2822$1(t$5),[rfc2822$1,extractRFC2822$1])}function parseHTTPDate$1(t$5){return parse$9(t$5,[rfc1123$1,extractRFC1123Or850$1],[rfc850$1,extractRFC1123Or850$1],[ascii$1,extractASCII$1])}function parseISODuration$1(t$5){return parse$9(t$5,[isoDuration$1,extractISODuration$1])}const extractISOTimeOnly$1=combineExtractors$1(extractISOTime$1);function parseISOTimeOnly$1(t$5){return parse$9(t$5,[isoTimeOnly$1,extractISOTimeOnly$1])}const sqlYmdWithTimeExtensionRegex$1=combineRegexes$1(sqlYmdRegex$1,sqlTimeExtensionRegex$1),sqlTimeCombinedRegex$1=combineRegexes$1(sqlTimeRegex$1),extractISOTimeOffsetAndIANAZone$1=combineExtractors$1(extractISOTime$1,extractISOOffset$1,extractIANAZone$1);function parseSQL$1(t$5){return parse$9(t$5,[sqlYmdWithTimeExtensionRegex$1,extractISOYmdTimeAndOffset$1],[sqlTimeCombinedRegex$1,extractISOTimeOffsetAndIANAZone$1])}const INVALID$2$1=`Invalid Duration`,lowOrderMatrix$1={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix$1={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix$1},daysInYearAccurate$1=146097/400,daysInMonthAccurate$1=146097/4800,accurateMatrix$1={years:{quarters:4,months:12,weeks:daysInYearAccurate$1/7,days:daysInYearAccurate$1,hours:daysInYearAccurate$1*24,minutes:daysInYearAccurate$1*24*60,seconds:daysInYearAccurate$1*24*60*60,milliseconds:daysInYearAccurate$1*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate$1/28,days:daysInYearAccurate$1/4,hours:daysInYearAccurate$1*24/4,minutes:daysInYearAccurate$1*24*60/4,seconds:daysInYearAccurate$1*24*60*60/4,milliseconds:daysInYearAccurate$1*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate$1/7,days:daysInMonthAccurate$1,hours:daysInMonthAccurate$1*24,minutes:daysInMonthAccurate$1*24*60,seconds:daysInMonthAccurate$1*24*60*60,milliseconds:daysInMonthAccurate$1*24*60*60*1e3},...lowOrderMatrix$1},orderedUnits$1$1=[`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],reverseUnits$1=orderedUnits$1$1.slice(0).reverse();function clone$1$1(t$5,o,r=!1){let u={values:r?o.values:{...t$5.values,...o.values||{}},loc:t$5.loc.clone(o.loc),conversionAccuracy:o.conversionAccuracy||t$5.conversionAccuracy,matrix:o.matrix||t$5.matrix};return new Duration$1(u)}function durationToMillis$1(t$5,o){let r=o.milliseconds??0;for(let u of reverseUnits$1.slice(1))o[u]&&(r+=o[u]*t$5[u].milliseconds);return r}function normalizeValues$1(t$5,o){let r=durationToMillis$1(t$5,o)<0?-1:1;orderedUnits$1$1.reduceRight((u,h)=>{if(isUndefined$1(o[h]))return u;if(u){let m=o[u]*r,y=t$5[h][u],S=Math.floor(m/y);o[h]+=S*r,o[u]-=S*y*r}return h},null),orderedUnits$1$1.reduce((u,h)=>{if(isUndefined$1(o[h]))return u;if(u){let m=o[u]%1;o[u]-=m,o[h]+=m*t$5[u][h]}return h},null)}function removeZeroes$1(t$5){let o={};for(let[r,u]of Object.entries(t$5))u!==0&&(o[r]=u);return o}var Duration$1=class Duration$1{constructor(o){let r=o.conversionAccuracy===`longterm`||!1,u=r?accurateMatrix$1:casualMatrix$1;o.matrix&&(u=o.matrix),this.values=o.values,this.loc=o.loc||Locale$1.create(),this.conversionAccuracy=r?`longterm`:`casual`,this.invalid=o.invalid||null,this.matrix=u,this.isLuxonDuration=!0}static fromMillis(o,r){return Duration$1.fromObject({milliseconds:o},r)}static fromObject(o,r={}){if(typeof o!=`object`||!o)throw new InvalidArgumentError$1(`Duration.fromObject: argument expected to be an object, got ${o===null?`null`:typeof o}`);return new Duration$1({values:normalizeObject$1(o,Duration$1.normalizeUnit),loc:Locale$1.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(o){if(isNumber$1(o))return Duration$1.fromMillis(o);if(Duration$1.isDuration(o))return o;if(typeof o==`object`)return Duration$1.fromObject(o);throw new InvalidArgumentError$1(`Unknown duration argument ${o} of type ${typeof o}`)}static fromISO(o,r){let[u]=parseISODuration$1(o);return u?Duration$1.fromObject(u,r):Duration$1.invalid(`unparsable`,`the input "${o}" can't be parsed as ISO 8601`)}static fromISOTime(o,r){let[u]=parseISOTimeOnly$1(o);return u?Duration$1.fromObject(u,r):Duration$1.invalid(`unparsable`,`the input "${o}" can't be parsed as ISO 8601`)}static invalid(o,r=null){if(!o)throw new InvalidArgumentError$1(`need to specify a reason the Duration is invalid`);let u=o instanceof Invalid$1?o:new Invalid$1(o,r);if(Settings$1.throwOnInvalid)throw new InvalidDurationError$1(u);return new Duration$1({invalid:u})}static normalizeUnit(o){let r={year:`years`,years:`years`,quarter:`quarters`,quarters:`quarters`,month:`months`,months:`months`,week:`weeks`,weeks:`weeks`,day:`days`,days:`days`,hour:`hours`,hours:`hours`,minute:`minutes`,minutes:`minutes`,second:`seconds`,seconds:`seconds`,millisecond:`milliseconds`,milliseconds:`milliseconds`}[o&&o.toLowerCase()];if(!r)throw new InvalidUnitError$1(o);return r}static isDuration(o){return o&&o.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(o,r={}){let u={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Formatter$1.create(this.loc,u).formatDurationFromString(this,o):INVALID$2$1}toHuman(o={}){if(!this.isValid)return INVALID$2$1;let r=orderedUnits$1$1.map(u=>{let h=this.values[u];return isUndefined$1(h)?null:this.loc.numberFormatter({style:`unit`,unitDisplay:`long`,...o,unit:u.slice(0,-1)}).format(h)}).filter(u=>u);return this.loc.listFormatter({type:`conjunction`,style:o.listStyle||`narrow`,...o}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let o=`P`;return this.years!==0&&(o+=this.years+`Y`),(this.months!==0||this.quarters!==0)&&(o+=this.months+this.quarters*3+`M`),this.weeks!==0&&(o+=this.weeks+`W`),this.days!==0&&(o+=this.days+`D`),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(o+=`T`),this.hours!==0&&(o+=this.hours+`H`),this.minutes!==0&&(o+=this.minutes+`M`),(this.seconds!==0||this.milliseconds!==0)&&(o+=roundTo$1(this.seconds+this.milliseconds/1e3,3)+`S`),o===`P`&&(o+=`T0S`),o}toISOTime(o={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(o={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:`extended`,...o,includeOffset:!1},DateTime$1.fromMillis(r,{zone:`UTC`}).toISOTime(o))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?durationToMillis$1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(o){if(!this.isValid)return this;let r=Duration$1.fromDurationLike(o),u={};for(let h of orderedUnits$1$1)(hasOwnProperty$1(r.values,h)||hasOwnProperty$1(this.values,h))&&(u[h]=r.get(h)+this.get(h));return clone$1$1(this,{values:u},!0)}minus(o){if(!this.isValid)return this;let r=Duration$1.fromDurationLike(o);return this.plus(r.negate())}mapUnits(o){if(!this.isValid)return this;let r={};for(let u of Object.keys(this.values))r[u]=asNumber$1(o(this.values[u],u));return clone$1$1(this,{values:r},!0)}get(o){return this[Duration$1.normalizeUnit(o)]}set(o){if(!this.isValid)return this;let r={...this.values,...normalizeObject$1(o,Duration$1.normalizeUnit)};return clone$1$1(this,{values:r})}reconfigure({locale:o,numberingSystem:r,conversionAccuracy:u,matrix:h}={}){let y={loc:this.loc.clone({locale:o,numberingSystem:r}),matrix:h,conversionAccuracy:u};return clone$1$1(this,y)}as(o){return this.isValid?this.shiftTo(o).get(o):NaN}normalize(){if(!this.isValid)return this;let o=this.toObject();return normalizeValues$1(this.matrix,o),clone$1$1(this,{values:o},!0)}rescale(){if(!this.isValid)return this;let o=removeZeroes$1(this.normalize().shiftToAll().toObject());return clone$1$1(this,{values:o},!0)}shiftTo(...o){if(!this.isValid||o.length===0)return this;o=o.map(y=>Duration$1.normalizeUnit(y));let r={},u={},h=this.toObject(),m;for(let y of orderedUnits$1$1)if(o.indexOf(y)>=0){m=y;let S=0;for(let C in u)S+=this.matrix[C][y]*u[C],u[C]=0;isNumber$1(h[y])&&(S+=h[y]);let _=Math.trunc(S);r[y]=_,u[y]=(S*1e3-_*1e3)/1e3}else isNumber$1(h[y])&&(u[y]=h[y]);for(let y in u)u[y]!==0&&(r[m]+=y===m?u[y]:u[y]/this.matrix[m][y]);return normalizeValues$1(this.matrix,r),clone$1$1(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo(`years`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`):this}negate(){if(!this.isValid)return this;let o={};for(let r of Object.keys(this.values))o[r]=this.values[r]===0?0:-this.values[r];return clone$1$1(this,{values:o},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(o){if(!this.isValid||!o.isValid||!this.loc.equals(o.loc))return!1;function r(u,h){return u===void 0||u===0?h===void 0||h===0:u===h}for(let u of orderedUnits$1$1)if(!r(this.values[u],o.values[u]))return!1;return!0}};const INVALID$1$1=`Invalid Interval`;function validateStartEnd$1(t$5,o){return!t$5||!t$5.isValid?Interval$1.invalid(`missing or invalid start`):!o||!o.isValid?Interval$1.invalid(`missing or invalid end`):o<t$5?Interval$1.invalid(`end before start`,`The end of an interval must be after its start, but you had start=${t$5.toISO()} and end=${o.toISO()}`):null}var Interval$1=class Interval$1{constructor(o){this.s=o.start,this.e=o.end,this.invalid=o.invalid||null,this.isLuxonInterval=!0}static invalid(o,r=null){if(!o)throw new InvalidArgumentError$1(`need to specify a reason the Interval is invalid`);let u=o instanceof Invalid$1?o:new Invalid$1(o,r);if(Settings$1.throwOnInvalid)throw new InvalidIntervalError$1(u);return new Interval$1({invalid:u})}static fromDateTimes(o,r){let u=friendlyDateTime$1(o),h=friendlyDateTime$1(r),m=validateStartEnd$1(u,h);return m??new Interval$1({start:u,end:h})}static after(o,r){let u=Duration$1.fromDurationLike(r),h=friendlyDateTime$1(o);return Interval$1.fromDateTimes(h,h.plus(u))}static before(o,r){let u=Duration$1.fromDurationLike(r),h=friendlyDateTime$1(o);return Interval$1.fromDateTimes(h.minus(u),h)}static fromISO(o,r){let[u,h]=(o||``).split(`/`,2);if(u&&h){let m,y;try{m=DateTime$1.fromISO(u,r),y=m.isValid}catch{y=!1}let S,_;try{S=DateTime$1.fromISO(h,r),_=S.isValid}catch{_=!1}if(y&&_)return Interval$1.fromDateTimes(m,S);if(y){let C=Duration$1.fromISO(h,r);if(C.isValid)return Interval$1.after(m,C)}else if(_){let C=Duration$1.fromISO(u,r);if(C.isValid)return Interval$1.before(S,C)}}return Interval$1.invalid(`unparsable`,`the input "${o}" can't be parsed as ISO 8601`)}static isInterval(o){return o&&o.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(o=`milliseconds`){return this.isValid?this.toDuration(o).get(o):NaN}count(o=`milliseconds`,r){if(!this.isValid)return NaN;let u=this.start.startOf(o,r),h;return h=r!=null&&r.useLocaleWeeks?this.end.reconfigure({locale:u.locale}):this.end,h=h.startOf(o,r),Math.floor(h.diff(u,o).get(o))+(h.valueOf()!==this.end.valueOf())}hasSame(o){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,o):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(o){return this.isValid?this.s>o:!1}isBefore(o){return this.isValid?this.e<=o:!1}contains(o){return this.isValid?this.s<=o&&this.e>o:!1}set({start:o,end:r}={}){return this.isValid?Interval$1.fromDateTimes(o||this.s,r||this.e):this}splitAt(...o){if(!this.isValid)return[];let r=o.map(friendlyDateTime$1).filter(y=>this.contains(y)).sort((y,S)=>y.toMillis()-S.toMillis()),u=[],{s:h}=this,m=0;for(;h<this.e;){let y=r[m]||this.e,S=+y>+this.e?this.e:y;u.push(Interval$1.fromDateTimes(h,S)),h=S,m+=1}return u}splitBy(o){let r=Duration$1.fromDurationLike(o);if(!this.isValid||!r.isValid||r.as(`milliseconds`)===0)return[];let{s:u}=this,h=1,m,y=[];for(;u<this.e;){let S=this.start.plus(r.mapUnits(_=>_*h));m=+S>+this.e?this.e:S,y.push(Interval$1.fromDateTimes(u,m)),u=m,h+=1}return y}divideEqually(o){return this.isValid?this.splitBy(this.length()/o).slice(0,o):[]}overlaps(o){return this.e>o.s&&this.s<o.e}abutsStart(o){return this.isValid?+this.e==+o.s:!1}abutsEnd(o){return this.isValid?+o.e==+this.s:!1}engulfs(o){return this.isValid?this.s<=o.s&&this.e>=o.e:!1}equals(o){return!this.isValid||!o.isValid?!1:this.s.equals(o.s)&&this.e.equals(o.e)}intersection(o){if(!this.isValid)return this;let r=this.s>o.s?this.s:o.s,u=this.e<o.e?this.e:o.e;return r>=u?null:Interval$1.fromDateTimes(r,u)}union(o){if(!this.isValid)return this;let r=this.s<o.s?this.s:o.s,u=this.e>o.e?this.e:o.e;return Interval$1.fromDateTimes(r,u)}static merge(o){let[r,u]=o.sort((h,m)=>h.s-m.s).reduce(([h,m],y)=>m?m.overlaps(y)||m.abutsStart(y)?[h,m.union(y)]:[h.concat([m]),y]:[h,y],[[],null]);return u&&r.push(u),r}static xor(o){let r=null,u=0,h=[],m=o.map(_=>[{time:_.s,type:`s`},{time:_.e,type:`e`}]),y=Array.prototype.concat(...m),S=y.sort((_,C)=>_.time-C.time);for(let _ of S)u+=_.type===`s`?1:-1,u===1?r=_.time:(r&&+r!=+_.time&&h.push(Interval$1.fromDateTimes(r,_.time)),r=null);return Interval$1.merge(h)}difference(...o){return Interval$1.xor([this].concat(o)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:INVALID$1$1}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(o=DATE_SHORT$1,r={}){return this.isValid?Formatter$1.create(this.s.loc.clone(r),o).formatInterval(this):INVALID$1$1}toISO(o){return this.isValid?`${this.s.toISO(o)}/${this.e.toISO(o)}`:INVALID$1$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1$1}toISOTime(o){return this.isValid?`${this.s.toISOTime(o)}/${this.e.toISOTime(o)}`:INVALID$1$1}toFormat(o,{separator:r=` – `}={}){return this.isValid?`${this.s.toFormat(o)}${r}${this.e.toFormat(o)}`:INVALID$1$1}toDuration(o,r){return this.isValid?this.e.diff(this.s,o,r):Duration$1.invalid(this.invalidReason)}mapEndpoints(o){return Interval$1.fromDateTimes(o(this.s),o(this.e))}},Info$1=class{static hasDST(o=Settings$1.defaultZone){let r=DateTime$1.now().setZone(o).set({month:12});return!o.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(o){return IANAZone$1.isValidZone(o)}static normalizeZone(o){return normalizeZone$1(o,Settings$1.defaultZone)}static getStartOfWeek({locale:o=null,locObj:r=null}={}){return(r||Locale$1.create(o)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:o=null,locObj:r=null}={}){return(r||Locale$1.create(o)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:o=null,locObj:r=null}={}){return(r||Locale$1.create(o)).getWeekendDays().slice()}static months(o=`long`,{locale:r=null,numberingSystem:u=null,locObj:h=null,outputCalendar:m=`gregory`}={}){return(h||Locale$1.create(r,u,m)).months(o)}static monthsFormat(o=`long`,{locale:r=null,numberingSystem:u=null,locObj:h=null,outputCalendar:m=`gregory`}={}){return(h||Locale$1.create(r,u,m)).months(o,!0)}static weekdays(o=`long`,{locale:r=null,numberingSystem:u=null,locObj:h=null}={}){return(h||Locale$1.create(r,u,null)).weekdays(o)}static weekdaysFormat(o=`long`,{locale:r=null,numberingSystem:u=null,locObj:h=null}={}){return(h||Locale$1.create(r,u,null)).weekdays(o,!0)}static meridiems({locale:o=null}={}){return Locale$1.create(o).meridiems()}static eras(o=`short`,{locale:r=null}={}){return Locale$1.create(r,null,`gregory`).eras(o)}static features(){return{relative:hasRelative$1(),localeWeek:hasLocaleWeekInfo$1()}}};function dayDiff$1(t$5,o){let r=h=>h.toUTC(0,{keepLocalTime:!0}).startOf(`day`).valueOf(),u=r(o)-r(t$5);return Math.floor(Duration$1.fromMillis(u).as(`days`))}function highOrderDiffs$1(t$5,o,r){let u=[[`years`,(_,C)=>C.year-_.year],[`quarters`,(_,C)=>C.quarter-_.quarter+(C.year-_.year)*4],[`months`,(_,C)=>C.month-_.month+(C.year-_.year)*12],[`weeks`,(_,C)=>{let O=dayDiff$1(_,C);return(O-O%7)/7}],[`days`,dayDiff$1]],h={},m=t$5,y,S;for(let[_,C]of u)r.indexOf(_)>=0&&(y=_,h[_]=C(t$5,o),S=m.plus(h),S>o?(h[_]--,t$5=m.plus(h),t$5>o&&(S=t$5,h[_]--,t$5=m.plus(h))):t$5=S);return[t$5,h,S,y]}function diff$2(t$5,o,r,u){let[h,m,y,S]=highOrderDiffs$1(t$5,o,r),_=o-h,C=r.filter(I=>[`hours`,`minutes`,`seconds`,`milliseconds`].indexOf(I)>=0);C.length===0&&(y<o&&(y=h.plus({[S]:1})),y!==h&&(m[S]=(m[S]||0)+_/(y-h)));let O=Duration$1.fromObject(m,u);return C.length>0?Duration$1.fromMillis(_,u).shiftTo(...C).plus(O):O}const MISSING_FTP$1=`missing Intl.DateTimeFormat.formatToParts support`;function intUnit$1(t$5,o=r=>r){return{regex:t$5,deser:([r])=>o(parseDigits$1(r))}}const NBSP$1=`\xA0`,spaceOrNBSP$1=`[ ${NBSP$1}]`,spaceOrNBSPRegExp$1=new RegExp(spaceOrNBSP$1,`g`);function fixListRegex$1(t$5){return t$5.replace(/\./g,`\\.?`).replace(spaceOrNBSPRegExp$1,spaceOrNBSP$1)}function stripInsensitivities$1(t$5){return t$5.replace(/\./g,``).replace(spaceOrNBSPRegExp$1,` `).toLowerCase()}function oneOf$1(t$5,o){return t$5===null?null:{regex:RegExp(t$5.map(fixListRegex$1).join(`|`)),deser:([r])=>t$5.findIndex(u=>stripInsensitivities$1(r)===stripInsensitivities$1(u))+o}}function offset$1(t$5,o){return{regex:t$5,deser:([,r,u])=>signedOffset$1(r,u),groups:o}}function simple$1(t$5){return{regex:t$5,deser:([o])=>o}}function escapeToken$1(t$5){return t$5.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,`\\$&`)}function unitForToken$1(t$5,o){let r=digitRegex$1(o),u=digitRegex$1(o,`{2}`),h=digitRegex$1(o,`{3}`),m=digitRegex$1(o,`{4}`),y=digitRegex$1(o,`{6}`),S=digitRegex$1(o,`{1,2}`),_=digitRegex$1(o,`{1,3}`),C=digitRegex$1(o,`{1,6}`),O=digitRegex$1(o,`{1,9}`),I=digitRegex$1(o,`{2,4}`),R$1=digitRegex$1(o,`{4,6}`),U=Y=>({regex:RegExp(escapeToken$1(Y.val)),deser:([K])=>K,literal:!0}),G=(Y=>{if(t$5.literal)return U(Y);switch(Y.val){case`G`:return oneOf$1(o.eras(`short`),0);case`GG`:return oneOf$1(o.eras(`long`),0);case`y`:return intUnit$1(C);case`yy`:return intUnit$1(I,untruncateYear$1);case`yyyy`:return intUnit$1(m);case`yyyyy`:return intUnit$1(R$1);case`yyyyyy`:return intUnit$1(y);case`M`:return intUnit$1(S);case`MM`:return intUnit$1(u);case`MMM`:return oneOf$1(o.months(`short`,!0),1);case`MMMM`:return oneOf$1(o.months(`long`,!0),1);case`L`:return intUnit$1(S);case`LL`:return intUnit$1(u);case`LLL`:return oneOf$1(o.months(`short`,!1),1);case`LLLL`:return oneOf$1(o.months(`long`,!1),1);case`d`:return intUnit$1(S);case`dd`:return intUnit$1(u);case`o`:return intUnit$1(_);case`ooo`:return intUnit$1(h);case`HH`:return intUnit$1(u);case`H`:return intUnit$1(S);case`hh`:return intUnit$1(u);case`h`:return intUnit$1(S);case`mm`:return intUnit$1(u);case`m`:return intUnit$1(S);case`q`:return intUnit$1(S);case`qq`:return intUnit$1(u);case`s`:return intUnit$1(S);case`ss`:return intUnit$1(u);case`S`:return intUnit$1(_);case`SSS`:return intUnit$1(h);case`u`:return simple$1(O);case`uu`:return simple$1(S);case`uuu`:return intUnit$1(r);case`a`:return oneOf$1(o.meridiems(),0);case`kkkk`:return intUnit$1(m);case`kk`:return intUnit$1(I,untruncateYear$1);case`W`:return intUnit$1(S);case`WW`:return intUnit$1(u);case`E`:case`c`:return intUnit$1(r);case`EEE`:return oneOf$1(o.weekdays(`short`,!1),1);case`EEEE`:return oneOf$1(o.weekdays(`long`,!1),1);case`ccc`:return oneOf$1(o.weekdays(`short`,!0),1);case`cccc`:return oneOf$1(o.weekdays(`long`,!0),1);case`Z`:case`ZZ`:return offset$1(RegExp(`([+-]${S.source})(?::(${u.source}))?`),2);case`ZZZ`:return offset$1(RegExp(`([+-]${S.source})(${u.source})?`),2);case`z`:return simple$1(/[a-z_+-/]{1,256}?/i);case` `:return simple$1(/[^\S\n\r]/);default:return U(Y)}})(t$5)||{invalidReason:MISSING_FTP$1};return G.token=t$5,G}const partTypeStyleToTokenVal$1={year:{"2-digit":`yy`,numeric:`yyyyy`},month:{numeric:`M`,"2-digit":`MM`,short:`MMM`,long:`MMMM`},day:{numeric:`d`,"2-digit":`dd`},weekday:{short:`EEE`,long:`EEEE`},dayperiod:`a`,dayPeriod:`a`,hour12:{numeric:`h`,"2-digit":`hh`},hour24:{numeric:`H`,"2-digit":`HH`},minute:{numeric:`m`,"2-digit":`mm`},second:{numeric:`s`,"2-digit":`ss`},timeZoneName:{long:`ZZZZZ`,short:`ZZZ`}};function tokenForPart$1(t$5,o,r){let{type:u,value:h}=t$5;if(u===`literal`){let _=/^\s+$/.test(h);return{literal:!_,val:_?` `:h}}let m=o[u],y=u;u===`hour`&&(y=o.hour12==null?o.hourCycle==null?r.hour12?`hour12`:`hour24`:o.hourCycle===`h11`||o.hourCycle===`h12`?`hour12`:`hour24`:o.hour12?`hour12`:`hour24`);let S=partTypeStyleToTokenVal$1[y];if(typeof S==`object`&&(S=S[m]),S)return{literal:!1,val:S}}function buildRegex$1(t$5){return[`^${t$5.map(r=>r.regex).reduce((r,u)=>`${r}(${u.source})`,``)}$`,t$5]}function match$1(t$5,o,r){let u=t$5.match(o);if(u){let h={},m=1;for(let y in r)if(hasOwnProperty$1(r,y)){let S=r[y],_=S.groups?S.groups+1:1;!S.literal&&S.token&&(h[S.token.val[0]]=S.deser(u.slice(m,m+_))),m+=_}return[u,h]}else return[u,{}]}function dateTimeFromMatches$1(t$5){let o=m=>{switch(m){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:case`H`:return`hour`;case`d`:return`day`;case`o`:return`ordinal`;case`L`:case`M`:return`month`;case`y`:return`year`;case`E`:case`c`:return`weekday`;case`W`:return`weekNumber`;case`k`:return`weekYear`;case`q`:return`quarter`;default:return null}},r=null,u;return isUndefined$1(t$5.z)||(r=IANAZone$1.create(t$5.z)),isUndefined$1(t$5.Z)||(r||=new FixedOffsetZone$1(t$5.Z),u=t$5.Z),isUndefined$1(t$5.q)||(t$5.M=(t$5.q-1)*3+1),isUndefined$1(t$5.h)||(t$5.h<12&&t$5.a===1?t$5.h+=12:t$5.h===12&&t$5.a===0&&(t$5.h=0)),t$5.G===0&&t$5.y&&(t$5.y=-t$5.y),isUndefined$1(t$5.u)||(t$5.S=parseMillis$1(t$5.u)),[Object.keys(t$5).reduce((m,y)=>{let S=o(y);return S&&(m[S]=t$5[y]),m},{}),r,u]}let dummyDateTimeCache$1=null;function getDummyDateTime$1(){return dummyDateTimeCache$1||=DateTime$1.fromMillis(1555555555555),dummyDateTimeCache$1}function maybeExpandMacroToken$1(t$5,o){if(t$5.literal)return t$5;let r=Formatter$1.macroTokenToFormatOpts(t$5.val),u=formatOptsToTokens$1(r,o);return u==null||u.includes(void 0)?t$5:u}function expandMacroTokens$1(t$5,o){return Array.prototype.concat(...t$5.map(r=>maybeExpandMacroToken$1(r,o)))}var TokenParser$1=class{constructor(o,r){if(this.locale=o,this.format=r,this.tokens=expandMacroTokens$1(Formatter$1.parseFormat(r),o),this.units=this.tokens.map(u=>unitForToken$1(u,o)),this.disqualifyingUnit=this.units.find(u=>u.invalidReason),!this.disqualifyingUnit){let[u,h]=buildRegex$1(this.units);this.regex=RegExp(u,`i`),this.handlers=h}}explainFromTokens(o){if(this.isValid){let[r,u]=match$1(o,this.regex,this.handlers),[h,m,y]=u?dateTimeFromMatches$1(u):[null,null,void 0];if(hasOwnProperty$1(u,`a`)&&hasOwnProperty$1(u,`H`))throw new ConflictingSpecificationError$1(`Can't include meridiem when specifying 24-hour format`);return{input:o,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:u,result:h,zone:m,specificOffset:y}}else return{input:o,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function explainFromTokens$1(t$5,o,r){return new TokenParser$1(t$5,r).explainFromTokens(o)}function parseFromTokens$1(t$5,o,r){let{result:u,zone:h,specificOffset:m,invalidReason:y}=explainFromTokens$1(t$5,o,r);return[u,h,m,y]}function formatOptsToTokens$1(t$5,o){if(!t$5)return null;let u=Formatter$1.create(o,t$5).dtFormatter(getDummyDateTime$1()),h=u.formatToParts(),m=u.resolvedOptions();return h.map(y=>tokenForPart$1(y,t$5,m))}const INVALID$4=`Invalid DateTime`,MAX_DATE$1=864e13;function unsupportedZone$1(t$5){return new Invalid$1(`unsupported zone`,`the zone "${t$5.name}" is not supported`)}function possiblyCachedWeekData$1(t$5){return t$5.weekData===null&&(t$5.weekData=gregorianToWeek$1(t$5.c)),t$5.weekData}function possiblyCachedLocalWeekData$1(t$5){return t$5.localWeekData===null&&(t$5.localWeekData=gregorianToWeek$1(t$5.c,t$5.loc.getMinDaysInFirstWeek(),t$5.loc.getStartOfWeek())),t$5.localWeekData}function clone$3(t$5,o){let r={ts:t$5.ts,zone:t$5.zone,c:t$5.c,o:t$5.o,loc:t$5.loc,invalid:t$5.invalid};return new DateTime$1({...r,...o,old:r})}function fixOffset$1(t$5,o,r){let u=t$5-o*60*1e3,h=r.offset(u);if(o===h)return[u,o];u-=(h-o)*60*1e3;let m=r.offset(u);return h===m?[u,h]:[t$5-Math.min(h,m)*60*1e3,Math.max(h,m)]}function tsToObj$1(t$5,o){t$5+=o*60*1e3;let r=new Date(t$5);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function objToTS$1(t$5,o,r){return fixOffset$1(objToLocalTS$1(t$5),o,r)}function adjustTime$1(t$5,o){let r=t$5.o,u=t$5.c.year+Math.trunc(o.years),h=t$5.c.month+Math.trunc(o.months)+Math.trunc(o.quarters)*3,m={...t$5.c,year:u,month:h,day:Math.min(t$5.c.day,daysInMonth$1(u,h))+Math.trunc(o.days)+Math.trunc(o.weeks)*7},y=Duration$1.fromObject({years:o.years-Math.trunc(o.years),quarters:o.quarters-Math.trunc(o.quarters),months:o.months-Math.trunc(o.months),weeks:o.weeks-Math.trunc(o.weeks),days:o.days-Math.trunc(o.days),hours:o.hours,minutes:o.minutes,seconds:o.seconds,milliseconds:o.milliseconds}).as(`milliseconds`),S=objToLocalTS$1(m),[_,C]=fixOffset$1(S,r,t$5.zone);return y!==0&&(_+=y,C=t$5.zone.offset(_)),{ts:_,o:C}}function parseDataToDateTime$1(t$5,o,r,u,h,m){let{setZone:y,zone:S}=r;if(t$5&&Object.keys(t$5).length!==0||o){let _=o||S,C=DateTime$1.fromObject(t$5,{...r,zone:_,specificOffset:m});return y?C:C.setZone(S)}else return DateTime$1.invalid(new Invalid$1(`unparsable`,`the input "${h}" can't be parsed as ${u}`))}function toTechFormat$1(t$5,o,r=!0){return t$5.isValid?Formatter$1.create(Locale$1.create(`en-US`),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t$5,o):null}function toISODate$1(t$5,o){let r=t$5.c.year>9999||t$5.c.year<0,u=``;return r&&t$5.c.year>=0&&(u+=`+`),u+=padStart$1(t$5.c.year,r?6:4),o?(u+=`-`,u+=padStart$1(t$5.c.month),u+=`-`,u+=padStart$1(t$5.c.day)):(u+=padStart$1(t$5.c.month),u+=padStart$1(t$5.c.day)),u}function toISOTime$1(t$5,o,r,u,h,m){let y=padStart$1(t$5.c.hour);return o?(y+=`:`,y+=padStart$1(t$5.c.minute),(t$5.c.millisecond!==0||t$5.c.second!==0||!r)&&(y+=`:`)):y+=padStart$1(t$5.c.minute),(t$5.c.millisecond!==0||t$5.c.second!==0||!r)&&(y+=padStart$1(t$5.c.second),(t$5.c.millisecond!==0||!u)&&(y+=`.`,y+=padStart$1(t$5.c.millisecond,3))),h&&(t$5.isOffsetFixed&&t$5.offset===0&&!m?y+=`Z`:t$5.o<0?(y+=`-`,y+=padStart$1(Math.trunc(-t$5.o/60)),y+=`:`,y+=padStart$1(Math.trunc(-t$5.o%60))):(y+=`+`,y+=padStart$1(Math.trunc(t$5.o/60)),y+=`:`,y+=padStart$1(Math.trunc(t$5.o%60)))),m&&(y+=`[`+t$5.zone.ianaName+`]`),y}const defaultUnitValues$1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues$1={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues$1={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits$2=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`],orderedWeekUnits$1=[`weekYear`,`weekNumber`,`weekday`,`hour`,`minute`,`second`,`millisecond`],orderedOrdinalUnits$1=[`year`,`ordinal`,`hour`,`minute`,`second`,`millisecond`];function normalizeUnit$1(t$5){let o={year:`year`,years:`year`,month:`month`,months:`month`,day:`day`,days:`day`,hour:`hour`,hours:`hour`,minute:`minute`,minutes:`minute`,quarter:`quarter`,quarters:`quarter`,second:`second`,seconds:`second`,millisecond:`millisecond`,milliseconds:`millisecond`,weekday:`weekday`,weekdays:`weekday`,weeknumber:`weekNumber`,weeksnumber:`weekNumber`,weeknumbers:`weekNumber`,weekyear:`weekYear`,weekyears:`weekYear`,ordinal:`ordinal`}[t$5.toLowerCase()];if(!o)throw new InvalidUnitError$1(t$5);return o}function normalizeUnitWithLocalWeeks$1(t$5){switch(t$5.toLowerCase()){case`localweekday`:case`localweekdays`:return`localWeekday`;case`localweeknumber`:case`localweeknumbers`:return`localWeekNumber`;case`localweekyear`:case`localweekyears`:return`localWeekYear`;default:return normalizeUnit$1(t$5)}}function guessOffsetForZone$1(t$5){if(zoneOffsetTs$1===void 0&&(zoneOffsetTs$1=Settings$1.now()),t$5.type!==`iana`)return t$5.offset(zoneOffsetTs$1);let o=t$5.name,r=zoneOffsetGuessCache$1.get(o);return r===void 0&&(r=t$5.offset(zoneOffsetTs$1),zoneOffsetGuessCache$1.set(o,r)),r}function quickDT$1(t$5,o){let r=normalizeZone$1(o.zone,Settings$1.defaultZone);if(!r.isValid)return DateTime$1.invalid(unsupportedZone$1(r));let u=Locale$1.fromObject(o),h,m;if(isUndefined$1(t$5.year))h=Settings$1.now();else{for(let _ of orderedUnits$2)isUndefined$1(t$5[_])&&(t$5[_]=defaultUnitValues$1[_]);let y=hasInvalidGregorianData$1(t$5)||hasInvalidTimeData$1(t$5);if(y)return DateTime$1.invalid(y);let S=guessOffsetForZone$1(r);[h,m]=objToTS$1(t$5,S,r)}return new DateTime$1({ts:h,zone:r,loc:u,o:m})}function diffRelative$1(t$5,o,r){let u=isUndefined$1(r.round)?!0:r.round,h=(y,S)=>(y=roundTo$1(y,u||r.calendary?0:2,!0),o.loc.clone(r).relFormatter(r).format(y,S)),m=y=>r.calendary?o.hasSame(t$5,y)?0:o.startOf(y).diff(t$5.startOf(y),y).get(y):o.diff(t$5,y).get(y);if(r.unit)return h(m(r.unit),r.unit);for(let y of r.units){let S=m(y);if(Math.abs(S)>=1)return h(S,y)}return h(t$5>o?-0:0,r.units[r.units.length-1])}function lastOpts$1(t$5){let o={},r;return t$5.length>0&&typeof t$5[t$5.length-1]==`object`?(o=t$5[t$5.length-1],r=Array.from(t$5).slice(0,t$5.length-1)):r=Array.from(t$5),[o,r]}let zoneOffsetTs$1;const zoneOffsetGuessCache$1=new Map;var DateTime$1=class DateTime$1{constructor(o){let r=o.zone||Settings$1.defaultZone,u=o.invalid||(Number.isNaN(o.ts)?new Invalid$1(`invalid input`):null)||(r.isValid?null:unsupportedZone$1(r));this.ts=isUndefined$1(o.ts)?Settings$1.now():o.ts;let h=null,m=null;if(!u)if(o.old&&o.old.ts===this.ts&&o.old.zone.equals(r))[h,m]=[o.old.c,o.old.o];else{let S=isNumber$1(o.o)&&!o.old?o.o:r.offset(this.ts);h=tsToObj$1(this.ts,S),u=Number.isNaN(h.year)?new Invalid$1(`invalid input`):null,h=u?null:h,m=u?null:S}this._zone=r,this.loc=o.loc||Locale$1.create(),this.invalid=u,this.weekData=null,this.localWeekData=null,this.c=h,this.o=m,this.isLuxonDateTime=!0}static now(){return new DateTime$1({})}static local(){let[o,r]=lastOpts$1(arguments),[u,h,m,y,S,_,C]=r;return quickDT$1({year:u,month:h,day:m,hour:y,minute:S,second:_,millisecond:C},o)}static utc(){let[o,r]=lastOpts$1(arguments),[u,h,m,y,S,_,C]=r;return o.zone=FixedOffsetZone$1.utcInstance,quickDT$1({year:u,month:h,day:m,hour:y,minute:S,second:_,millisecond:C},o)}static fromJSDate(o,r={}){let u=isDate$1(o)?o.valueOf():NaN;if(Number.isNaN(u))return DateTime$1.invalid(`invalid input`);let h=normalizeZone$1(r.zone,Settings$1.defaultZone);return h.isValid?new DateTime$1({ts:u,zone:h,loc:Locale$1.fromObject(r)}):DateTime$1.invalid(unsupportedZone$1(h))}static fromMillis(o,r={}){if(isNumber$1(o))return o<-MAX_DATE$1||o>MAX_DATE$1?DateTime$1.invalid(`Timestamp out of range`):new DateTime$1({ts:o,zone:normalizeZone$1(r.zone,Settings$1.defaultZone),loc:Locale$1.fromObject(r)});throw new InvalidArgumentError$1(`fromMillis requires a numerical input, but received a ${typeof o} with value ${o}`)}static fromSeconds(o,r={}){if(isNumber$1(o))return new DateTime$1({ts:o*1e3,zone:normalizeZone$1(r.zone,Settings$1.defaultZone),loc:Locale$1.fromObject(r)});throw new InvalidArgumentError$1(`fromSeconds requires a numerical input`)}static fromObject(o,r={}){o||={};let u=normalizeZone$1(r.zone,Settings$1.defaultZone);if(!u.isValid)return DateTime$1.invalid(unsupportedZone$1(u));let h=Locale$1.fromObject(r),m=normalizeObject$1(o,normalizeUnitWithLocalWeeks$1),{minDaysInFirstWeek:y,startOfWeek:S}=usesLocalWeekValues$1(m,h),_=Settings$1.now(),C=isUndefined$1(r.specificOffset)?u.offset(_):r.specificOffset,O=!isUndefined$1(m.ordinal),I=!isUndefined$1(m.year),R$1=!isUndefined$1(m.month)||!isUndefined$1(m.day),U=I||R$1,F=m.weekYear||m.weekNumber;if((U||O)&&F)throw new ConflictingSpecificationError$1(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(R$1&&O)throw new ConflictingSpecificationError$1(`Can't mix ordinal dates with month/day`);let G=F||m.weekday&&!U,Y,K,te$1=tsToObj$1(_,C);G?(Y=orderedWeekUnits$1,K=defaultWeekUnitValues$1,te$1=gregorianToWeek$1(te$1,y,S)):O?(Y=orderedOrdinalUnits$1,K=defaultOrdinalUnitValues$1,te$1=gregorianToOrdinal$1(te$1)):(Y=orderedUnits$2,K=defaultUnitValues$1);let de=!1;for(let re$5 of Y){let fe=m[re$5];isUndefined$1(fe)?de?m[re$5]=K[re$5]:m[re$5]=te$1[re$5]:de=!0}let me=G?hasInvalidWeekData$1(m,y,S):O?hasInvalidOrdinalData$1(m):hasInvalidGregorianData$1(m),q=me||hasInvalidTimeData$1(m);if(q)return DateTime$1.invalid(q);let ge=G?weekToGregorian$1(m,y,S):O?ordinalToGregorian$1(m):m,[ce,pe]=objToTS$1(ge,C,u),oe=new DateTime$1({ts:ce,zone:u,o:pe,loc:h});return m.weekday&&U&&o.weekday!==oe.weekday?DateTime$1.invalid(`mismatched weekday`,`you can't specify both a weekday of ${m.weekday} and a date of ${oe.toISO()}`):oe.isValid?oe:DateTime$1.invalid(oe.invalid)}static fromISO(o,r={}){let[u,h]=parseISODate$1(o);return parseDataToDateTime$1(u,h,r,`ISO 8601`,o)}static fromRFC2822(o,r={}){let[u,h]=parseRFC2822Date$1(o);return parseDataToDateTime$1(u,h,r,`RFC 2822`,o)}static fromHTTP(o,r={}){let[u,h]=parseHTTPDate$1(o);return parseDataToDateTime$1(u,h,r,`HTTP`,r)}static fromFormat(o,r,u={}){if(isUndefined$1(o)||isUndefined$1(r))throw new InvalidArgumentError$1(`fromFormat requires an input string and a format`);let{locale:h=null,numberingSystem:m=null}=u,y=Locale$1.fromOpts({locale:h,numberingSystem:m,defaultToEN:!0}),[S,_,C,O]=parseFromTokens$1(y,o,r);return O?DateTime$1.invalid(O):parseDataToDateTime$1(S,_,u,`format ${r}`,o,C)}static fromString(o,r,u={}){return DateTime$1.fromFormat(o,r,u)}static fromSQL(o,r={}){let[u,h]=parseSQL$1(o);return parseDataToDateTime$1(u,h,r,`SQL`,o)}static invalid(o,r=null){if(!o)throw new InvalidArgumentError$1(`need to specify a reason the DateTime is invalid`);let u=o instanceof Invalid$1?o:new Invalid$1(o,r);if(Settings$1.throwOnInvalid)throw new InvalidDateTimeError$1(u);return new DateTime$1({invalid:u})}static isDateTime(o){return o&&o.isLuxonDateTime||!1}static parseFormatForOpts(o,r={}){let u=formatOptsToTokens$1(o,Locale$1.fromObject(r));return u?u.map(h=>h?h.val:null).join(``):null}static expandFormat(o,r={}){return expandMacroTokens$1(Formatter$1.parseFormat(o),Locale$1.fromObject(r)).map(h=>h.val).join(``)}static resetCache(){zoneOffsetTs$1=void 0,zoneOffsetGuessCache$1.clear()}get(o){return this[o]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData$1(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData$1(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData$1(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData$1(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData$1(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData$1(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal$1(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info$1.months(`short`,{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info$1.months(`long`,{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info$1.weekdays(`short`,{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info$1.weekdays(`long`,{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:`short`,locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:`long`,locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let o=864e5,r=6e4,u=objToLocalTS$1(this.c),h=this.zone.offset(u-o),m=this.zone.offset(u+o),y=this.zone.offset(u-h*r),S=this.zone.offset(u-m*r);if(y===S)return[this];let _=u-y*r,C=u-S*r,O=tsToObj$1(_,y),I=tsToObj$1(C,S);return O.hour===I.hour&&O.minute===I.minute&&O.second===I.second&&O.millisecond===I.millisecond?[clone$3(this,{ts:_}),clone$3(this,{ts:C})]:[this]}get isInLeapYear(){return isLeapYear$1(this.year)}get daysInMonth(){return daysInMonth$1(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear$1(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear$1(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear$1(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(o={}){let{locale:r,numberingSystem:u,calendar:h}=Formatter$1.create(this.loc.clone(o),o).resolvedOptions(this);return{locale:r,numberingSystem:u,outputCalendar:h}}toUTC(o=0,r={}){return this.setZone(FixedOffsetZone$1.instance(o),r)}toLocal(){return this.setZone(Settings$1.defaultZone)}setZone(o,{keepLocalTime:r=!1,keepCalendarTime:u=!1}={}){if(o=normalizeZone$1(o,Settings$1.defaultZone),o.equals(this.zone))return this;if(o.isValid){let h=this.ts;if(r||u){let m=o.offset(this.ts),y=this.toObject();[h]=objToTS$1(y,m,o)}return clone$3(this,{ts:h,zone:o})}else return DateTime$1.invalid(unsupportedZone$1(o))}reconfigure({locale:o,numberingSystem:r,outputCalendar:u}={}){let h=this.loc.clone({locale:o,numberingSystem:r,outputCalendar:u});return clone$3(this,{loc:h})}setLocale(o){return this.reconfigure({locale:o})}set(o){if(!this.isValid)return this;let r=normalizeObject$1(o,normalizeUnitWithLocalWeeks$1),{minDaysInFirstWeek:u,startOfWeek:h}=usesLocalWeekValues$1(r,this.loc),m=!isUndefined$1(r.weekYear)||!isUndefined$1(r.weekNumber)||!isUndefined$1(r.weekday),y=!isUndefined$1(r.ordinal),S=!isUndefined$1(r.year),_=!isUndefined$1(r.month)||!isUndefined$1(r.day),C=S||_,O=r.weekYear||r.weekNumber;if((C||y)&&O)throw new ConflictingSpecificationError$1(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(_&&y)throw new ConflictingSpecificationError$1(`Can't mix ordinal dates with month/day`);let I;m?I=weekToGregorian$1({...gregorianToWeek$1(this.c,u,h),...r},u,h):isUndefined$1(r.ordinal)?(I={...this.toObject(),...r},isUndefined$1(r.day)&&(I.day=Math.min(daysInMonth$1(I.year,I.month),I.day))):I=ordinalToGregorian$1({...gregorianToOrdinal$1(this.c),...r});let[R$1,U]=objToTS$1(I,this.o,this.zone);return clone$3(this,{ts:R$1,o:U})}plus(o){if(!this.isValid)return this;let r=Duration$1.fromDurationLike(o);return clone$3(this,adjustTime$1(this,r))}minus(o){if(!this.isValid)return this;let r=Duration$1.fromDurationLike(o).negate();return clone$3(this,adjustTime$1(this,r))}startOf(o,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let u={},h=Duration$1.normalizeUnit(o);switch(h){case`years`:u.month=1;case`quarters`:case`months`:u.day=1;case`weeks`:case`days`:u.hour=0;case`hours`:u.minute=0;case`minutes`:u.second=0;case`seconds`:u.millisecond=0;break}if(h===`weeks`)if(r){let m=this.loc.getStartOfWeek(),{weekday:y}=this;y<m&&(u.weekNumber=this.weekNumber-1),u.weekday=m}else u.weekday=1;if(h===`quarters`){let m=Math.ceil(this.month/3);u.month=(m-1)*3+1}return this.set(u)}endOf(o,r){return this.isValid?this.plus({[o]:1}).startOf(o,r).minus(1):this}toFormat(o,r={}){return this.isValid?Formatter$1.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,o):INVALID$4}toLocaleString(o=DATE_SHORT$1,r={}){return this.isValid?Formatter$1.create(this.loc.clone(r),o).formatDateTime(this):INVALID$4}toLocaleParts(o={}){return this.isValid?Formatter$1.create(this.loc.clone(o),o).formatDateTimeParts(this):[]}toISO({format:o=`extended`,suppressSeconds:r=!1,suppressMilliseconds:u=!1,includeOffset:h=!0,extendedZone:m=!1}={}){if(!this.isValid)return null;let y=o===`extended`,S=toISODate$1(this,y);return S+=`T`,S+=toISOTime$1(this,y,r,u,h,m),S}toISODate({format:o=`extended`}={}){return this.isValid?toISODate$1(this,o===`extended`):null}toISOWeekDate(){return toTechFormat$1(this,`kkkk-'W'WW-c`)}toISOTime({suppressMilliseconds:o=!1,suppressSeconds:r=!1,includeOffset:u=!0,includePrefix:h=!1,extendedZone:m=!1,format:y=`extended`}={}){return this.isValid?(h?`T`:``)+toISOTime$1(this,y===`extended`,r,o,u,m):null}toRFC2822(){return toTechFormat$1(this,`EEE, dd LLL yyyy HH:mm:ss ZZZ`,!1)}toHTTP(){return toTechFormat$1(this.toUTC(),`EEE, dd LLL yyyy HH:mm:ss 'GMT'`)}toSQLDate(){return this.isValid?toISODate$1(this,!0):null}toSQLTime({includeOffset:o=!0,includeZone:r=!1,includeOffsetSpace:u=!0}={}){let h=`HH:mm:ss.SSS`;return(r||o)&&(u&&(h+=` `),r?h+=`z`:o&&(h+=`ZZ`)),toTechFormat$1(this,h,!0)}toSQL(o={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(o)}`:null}toString(){return this.isValid?this.toISO():INVALID$4}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(o={}){if(!this.isValid)return{};let r={...this.c};return o.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(o,r=`milliseconds`,u={}){if(!this.isValid||!o.isValid)return Duration$1.invalid(`created by diffing an invalid DateTime`);let h={locale:this.locale,numberingSystem:this.numberingSystem,...u},m=maybeArray$1(r).map(Duration$1.normalizeUnit),y=o.valueOf()>this.valueOf(),S=y?this:o,_=y?o:this,C=diff$2(S,_,m,h);return y?C.negate():C}diffNow(o=`milliseconds`,r={}){return this.diff(DateTime$1.now(),o,r)}until(o){return this.isValid?Interval$1.fromDateTimes(this,o):this}hasSame(o,r,u){if(!this.isValid)return!1;let h=o.valueOf(),m=this.setZone(o.zone,{keepLocalTime:!0});return m.startOf(r,u)<=h&&h<=m.endOf(r,u)}equals(o){return this.isValid&&o.isValid&&this.valueOf()===o.valueOf()&&this.zone.equals(o.zone)&&this.loc.equals(o.loc)}toRelative(o={}){if(!this.isValid)return null;let r=o.base||DateTime$1.fromObject({},{zone:this.zone}),u=o.padding?this<r?-o.padding:o.padding:0,h=[`years`,`months`,`days`,`hours`,`minutes`,`seconds`],m=o.unit;return Array.isArray(o.unit)&&(h=o.unit,m=void 0),diffRelative$1(r,this.plus(u),{...o,numeric:`always`,units:h,unit:m})}toRelativeCalendar(o={}){return this.isValid?diffRelative$1(o.base||DateTime$1.fromObject({},{zone:this.zone}),this,{...o,numeric:`auto`,units:[`years`,`months`,`days`],calendary:!0}):null}static min(...o){if(!o.every(DateTime$1.isDateTime))throw new InvalidArgumentError$1(`min requires all arguments be DateTimes`);return bestBy$1(o,r=>r.valueOf(),Math.min)}static max(...o){if(!o.every(DateTime$1.isDateTime))throw new InvalidArgumentError$1(`max requires all arguments be DateTimes`);return bestBy$1(o,r=>r.valueOf(),Math.max)}static fromFormatExplain(o,r,u={}){let{locale:h=null,numberingSystem:m=null}=u,y=Locale$1.fromOpts({locale:h,numberingSystem:m,defaultToEN:!0});return explainFromTokens$1(y,o,r)}static fromStringExplain(o,r,u={}){return DateTime$1.fromFormatExplain(o,r,u)}static buildFormatParser(o,r={}){let{locale:u=null,numberingSystem:h=null}=r,m=Locale$1.fromOpts({locale:u,numberingSystem:h,defaultToEN:!0});return new TokenParser$1(m,o)}static fromFormatParser(o,r,u={}){if(isUndefined$1(o)||isUndefined$1(r))throw new InvalidArgumentError$1(`fromFormatParser requires an input string and a format parser`);let{locale:h=null,numberingSystem:m=null}=u,y=Locale$1.fromOpts({locale:h,numberingSystem:m,defaultToEN:!0});if(!y.equals(r.locale))throw new InvalidArgumentError$1(`fromFormatParser called with a locale of ${y}, but the format parser was created for ${r.locale}`);let{result:S,zone:_,specificOffset:C,invalidReason:O}=r.explainFromTokens(o);return O?DateTime$1.invalid(O):parseDataToDateTime$1(S,_,u,`format ${r.format}`,o,C)}static get DATE_SHORT(){return DATE_SHORT$1}static get DATE_MED(){return DATE_MED$1}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY$1}static get DATE_FULL(){return DATE_FULL$1}static get DATE_HUGE(){return DATE_HUGE$1}static get TIME_SIMPLE(){return TIME_SIMPLE$1}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS$1}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET$1}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET$1}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE$1}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS$1}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET$1}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET$1}static get DATETIME_SHORT(){return DATETIME_SHORT$1}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS$1}static get DATETIME_MED(){return DATETIME_MED$1}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS$1}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY$1}static get DATETIME_FULL(){return DATETIME_FULL$1}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS$1}static get DATETIME_HUGE(){return DATETIME_HUGE$1}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS$1}};function friendlyDateTime$1(t$5){if(DateTime$1.isDateTime(t$5))return t$5;if(t$5&&t$5.valueOf&&isNumber$1(t$5.valueOf()))return DateTime$1.fromJSDate(t$5);if(t$5&&typeof t$5==`object`)return DateTime$1.fromObject(t$5);throw new InvalidArgumentError$1(`Unknown datetime argument: ${t$5}, of type ${typeof t$5}`)}const countries=Object.freeze(new Map([[`AD`,`Andorra`],[`AE`,`United Arab Emirates`],[`AF`,`Afghanistan`],[`AG`,`Antigua and Barbuda`],[`AI`,`Anguilla`],[`AL`,`Albania`],[`AM`,`Armenia`],[`AO`,`Angola`],[`AQ`,`Antarctica`],[`AR`,`Argentina`],[`AS`,`American Samoa`],[`AT`,`Austria`],[`AU`,`Australia`],[`AW`,`Aruba`],[`AX`,`Aland Islands`],[`AZ`,`Azerbaijan`],[`BA`,`Bosnia and Herzegovina`],[`BB`,`Barbados`],[`BD`,`Bangladesh`],[`BE`,`Belgium`],[`BF`,`Burkina Faso`],[`BG`,`Bulgaria`],[`BH`,`Bahrain`],[`BI`,`Burundi`],[`BJ`,`Benin`],[`BL`,`Saint Barthelemy`],[`BM`,`Bermuda`],[`BN`,`Brunei`],[`BO`,`Bolivia`],[`BQ`,`Bonaire, Saint Eustatius and Saba`],[`BR`,`Brazil`],[`BS`,`Bahamas`],[`BT`,`Bhutan`],[`BV`,`Bouvet Island`],[`BW`,`Botswana`],[`BY`,`Belarus`],[`BZ`,`Belize`],[`CA`,`Canada`],[`CC`,`Cocos Islands`],[`CD`,`Democratic Republic of the Congo`],[`CF`,`Central African Republic`],[`CG`,`Republic of the Congo`],[`CH`,`Switzerland`],[`CI`,`Ivory Coast`],[`CK`,`Cook Islands`],[`CL`,`Chile`],[`CM`,`Cameroon`],[`CN`,`China`],[`CO`,`Colombia`],[`CR`,`Costa Rica`],[`CU`,`Cuba`],[`CV`,`Cape Verde`],[`CW`,`Curacao`],[`CX`,`Christmas Island`],[`CY`,`Cyprus`],[`CZ`,`Czech Republic`],[`DE`,`Germany`],[`DJ`,`Djibouti`],[`DK`,`Denmark`],[`DM`,`Dominica`],[`DO`,`Dominican Republic`],[`DZ`,`Algeria`],[`EC`,`Ecuador`],[`EE`,`Estonia`],[`EG`,`Egypt`],[`EH`,`Western Sahara`],[`ER`,`Eritrea`],[`ES`,`Spain`],[`ET`,`Ethiopia`],[`FI`,`Finland`],[`FJ`,`Fiji`],[`FK`,`Falkland Islands`],[`FM`,`Micronesia`],[`FO`,`Faroe Islands`],[`FR`,`France`],[`GA`,`Gabon`],[`GB`,`United Kingdom`],[`GD`,`Grenada`],[`GE`,`Georgia`],[`GF`,`French Guiana`],[`GG`,`Guernsey`],[`GH`,`Ghana`],[`GI`,`Gibraltar`],[`GL`,`Greenland`],[`GM`,`Gambia`],[`GN`,`Guinea`],[`GP`,`Guadeloupe`],[`GQ`,`Equatorial Guinea`],[`GR`,`Greece`],[`GS`,`South Georgia and the South Sandwich Islands`],[`GT`,`Guatemala`],[`GU`,`Guam`],[`GW`,`Guinea-Bissau`],[`GY`,`Guyana`],[`HK`,`Hong Kong`],[`HM`,`Heard Island and McDonald Islands`],[`HN`,`Honduras`],[`HR`,`Croatia`],[`HT`,`Haiti`],[`HU`,`Hungary`],[`ID`,`Indonesia`],[`IE`,`Ireland`],[`IL`,`Israel`],[`IM`,`Isle of Man`],[`IN`,`India`],[`IO`,`British Indian Ocean Territory`],[`IQ`,`Iraq`],[`IR`,`Iran`],[`IS`,`Iceland`],[`IT`,`Italy`],[`JE`,`Jersey`],[`JM`,`Jamaica`],[`JO`,`Jordan`],[`JP`,`Japan`],[`KE`,`Kenya`],[`KG`,`Kyrgyzstan`],[`KH`,`Cambodia`],[`KI`,`Kiribati`],[`KM`,`Comoros`],[`KN`,`Saint Kitts and Nevis`],[`KP`,`North Korea`],[`KR`,`South Korea`],[`KW`,`Kuwait`],[`KY`,`Cayman Islands`],[`KZ`,`Kazakhstan`],[`LA`,`Laos`],[`LB`,`Lebanon`],[`LC`,`Saint Lucia`],[`LI`,`Liechtenstein`],[`LK`,`Sri Lanka`],[`LR`,`Liberia`],[`LS`,`Lesotho`],[`LT`,`Lithuania`],[`LU`,`Luxembourg`],[`LV`,`Latvia`],[`LY`,`Libya`],[`MA`,`Morocco`],[`MC`,`Monaco`],[`MD`,`Moldova`],[`ME`,`Montenegro`],[`MF`,`Saint Martin`],[`MG`,`Madagascar`],[`MH`,`Marshall Islands`],[`MK`,`Macedonia`],[`ML`,`Mali`],[`MM`,`Myanmar`],[`MN`,`Mongolia`],[`MO`,`Macao`],[`MP`,`Northern Mariana Islands`],[`MQ`,`Martinique`],[`MR`,`Mauritania`],[`MS`,`Montserrat`],[`MT`,`Malta`],[`MU`,`Mauritius`],[`MV`,`Maldives`],[`MW`,`Malawi`],[`MX`,`Mexico`],[`MY`,`Malaysia`],[`MZ`,`Mozambique`],[`NA`,`Namibia`],[`NC`,`New Caledonia`],[`NE`,`Niger`],[`NF`,`Norfolk Island`],[`NG`,`Nigeria`],[`NI`,`Nicaragua`],[`NL`,`Netherlands`],[`NO`,`Norway`],[`NP`,`Nepal`],[`NR`,`Nauru`],[`NU`,`Niue`],[`NZ`,`New Zealand`],[`OM`,`Oman`],[`PA`,`Panama`],[`PE`,`Peru`],[`PF`,`French Polynesia`],[`PG`,`Papua New Guinea`],[`PH`,`Philippines`],[`PK`,`Pakistan`],[`PL`,`Poland`],[`PM`,`Saint Pierre and Miquelon`],[`PN`,`Pitcairn`],[`PR`,`Puerto Rico`],[`PS`,`Palestinian Territory`],[`PT`,`Portugal`],[`PW`,`Palau`],[`PY`,`Paraguay`],[`QA`,`Qatar`],[`RE`,`Reunion`],[`RO`,`Romania`],[`RS`,`Serbia`],[`RU`,`Russia`],[`RW`,`Rwanda`],[`SA`,`Saudi Arabia`],[`SB`,`Solomon Islands`],[`SC`,`Seychelles`],[`SD`,`Sudan`],[`SE`,`Sweden`],[`SG`,`Singapore`],[`SH`,`Saint Helena`],[`SI`,`Slovenia`],[`SJ`,`Svalbard and Jan Mayen`],[`SK`,`Slovakia`],[`SL`,`Sierra Leone`],[`SM`,`San Marino`],[`SN`,`Senegal`],[`SO`,`Somalia`],[`SR`,`Suriname`],[`SS`,`South Sudan`],[`ST`,`Sao Tome and Principe`],[`SV`,`El Salvador`],[`SX`,`Sint Maarten`],[`SY`,`Syria`],[`SZ`,`Swaziland`],[`TC`,`Turks and Caicos Islands`],[`TD`,`Chad`],[`TF`,`French Southern Territories`],[`TG`,`Togo`],[`TH`,`Thailand`],[`TJ`,`Tajikistan`],[`TK`,`Tokelau`],[`TL`,`East Timor`],[`TM`,`Turkmenistan`],[`TN`,`Tunisia`],[`TO`,`Tonga`],[`TR`,`Turkey`],[`TT`,`Trinidad and Tobago`],[`TV`,`Tuvalu`],[`TW`,`Taiwan`],[`TZ`,`Tanzania`],[`UA`,`Ukraine`],[`UG`,`Uganda`],[`UM`,`United States Minor Outlying Islands`],[`US`,`United States`],[`UY`,`Uruguay`],[`UZ`,`Uzbekistan`],[`VA`,`Vatican`],[`VC`,`Saint Vincent and the Grenadines`],[`VE`,`Venezuela`],[`VG`,`British Virgin Islands`],[`VI`,`U.S. Virgin Islands`],[`VN`,`Vietnam`],[`VU`,`Vanuatu`],[`WF`,`Wallis and Futuna`],[`WS`,`Samoa`],[`XK`,`Kosovo`],[`YE`,`Yemen`],[`YT`,`Mayotte`],[`ZA`,`South Africa`],[`ZM`,`Zambia`],[`ZW`,`Zimbabwe`]])),timezones=Object.freeze(new Map([[`AD`,`Europe/Andorra`],[`AE`,`Asia/Dubai`],[`AF`,`Asia/Kabul`],[`AG`,`America/Antigua`],[`AI`,`America/Anguilla`],[`AL`,`Europe/Tirane`],[`AM`,`Asia/Yerevan`],[`AO`,`Africa/Luanda`],[`AQ`,`Antarctica/Casey`],[`AR`,`America/Argentina/Buenos_Aires`],[`AS`,`Pacific/Pago_Pago`],[`AT`,`Europe/Vienna`],[`AU`,`Australia/Sydney`],[`AW`,`America/Aruba`],[`AX`,`Europe/Mariehamn`],[`AZ`,`Asia/Baku`],[`BA`,`Europe/Sarajevo`],[`BB`,`America/Barbados`],[`BD`,`Asia/Dhaka`],[`BE`,`Europe/Brussels`],[`BF`,`Africa/Ouagadougou`],[`BG`,`Europe/Sofia`],[`BH`,`Asia/Bahrain`],[`BI`,`Africa/Bujumbura`],[`BJ`,`Africa/Porto-Novo`],[`BL`,`America/St_Barthelemy`],[`BM`,`Atlantic/Bermuda`],[`BN`,`Asia/Brunei`],[`BO`,`America/La_Paz`],[`BQ`,`America/Kralendijk`],[`BR`,`America/Sao_Paulo`],[`BS`,`America/Nassau`],[`BT`,`Asia/Thimphu`],[`BW`,`Africa/Gaborone`],[`BY`,`Europe/Minsk`],[`BZ`,`America/Belize`],[`CA`,`America/Toronto`],[`CC`,`Indian/Cocos`],[`CD`,`Africa/Kinshasa`],[`CF`,`Africa/Bangui`],[`CG`,`Africa/Brazzaville`],[`CH`,`Europe/Zurich`],[`CI`,`Africa/Abidjan`],[`CK`,`Pacific/Rarotonga`],[`CL`,`America/Santiago`],[`CM`,`Africa/Douala`],[`CN`,`Asia/Shanghai`],[`CO`,`America/Bogota`],[`CR`,`America/Costa_Rica`],[`CU`,`America/Havana`],[`CV`,`Atlantic/Cape_Verde`],[`CW`,`America/Curacao`],[`CX`,`Indian/Christmas`],[`CY`,`Asia/Nicosia`],[`CZ`,`Europe/Prague`],[`DE`,`Europe/Berlin`],[`DJ`,`Africa/Djibouti`],[`DK`,`Europe/Copenhagen`],[`DM`,`America/Dominica`],[`DO`,`America/Santo_Domingo`],[`DZ`,`Africa/Algiers`],[`EC`,`America/Guayaquil`],[`EE`,`Europe/Tallinn`],[`EG`,`Africa/Cairo`],[`EH`,`Africa/El_Aaiun`],[`ER`,`Africa/Asmara`],[`ES`,`Europe/Madrid`],[`ET`,`Africa/Addis_Ababa`],[`FI`,`Europe/Helsinki`],[`FJ`,`Pacific/Fiji`],[`FK`,`Atlantic/Stanley`],[`FM`,`Pacific/Pohnpei`],[`FO`,`Atlantic/Faroe`],[`FR`,`Europe/Paris`],[`GA`,`Africa/Libreville`],[`GB`,`Europe/London`],[`GD`,`America/Grenada`],[`GE`,`Asia/Tbilisi`],[`GF`,`America/Cayenne`],[`GG`,`Europe/Guernsey`],[`GH`,`Africa/Accra`],[`GI`,`Europe/Gibraltar`],[`GL`,`America/Godthab`],[`GM`,`Africa/Banjul`],[`GN`,`Africa/Conakry`],[`GP`,`America/Guadeloupe`],[`GQ`,`Africa/Malabo`],[`GR`,`Europe/Athens`],[`GS`,`Atlantic/South_Georgia`],[`GT`,`America/Guatemala`],[`GU`,`Pacific/Guam`],[`GW`,`Africa/Bissau`],[`GY`,`America/Guyana`],[`HK`,`Asia/Hong_Kong`],[`HN`,`America/Tegucigalpa`],[`HR`,`Europe/Zagreb`],[`HT`,`America/Port-au-Prince`],[`HU`,`Europe/Budapest`],[`ID`,`Asia/Jakarta`],[`IE`,`Europe/Dublin`],[`IL`,`Asia/Jerusalem`],[`IM`,`Europe/Isle_of_Man`],[`IN`,`Asia/Kolkata`],[`IO`,`Indian/Chagos`],[`IQ`,`Asia/Baghdad`],[`IR`,`Asia/Tehran`],[`IS`,`Atlantic/Reykjavik`],[`IT`,`Europe/Rome`],[`JE`,`Europe/Jersey`],[`JM`,`America/Jamaica`],[`JO`,`Asia/Amman`],[`JP`,`Asia/Tokyo`],[`KE`,`Africa/Nairobi`],[`KG`,`Asia/Bishkek`],[`KH`,`Asia/Phnom_Penh`],[`KI`,`Pacific/Tarawa`],[`KM`,`Indian/Comoro`],[`KN`,`America/St_Kitts`],[`KP`,`Asia/Pyongyang`],[`KR`,`Asia/Seoul`],[`KW`,`Asia/Kuwait`],[`KY`,`America/Cayman`],[`KZ`,`Asia/Almaty`],[`LA`,`Asia/Vientiane`],[`LB`,`Asia/Beirut`],[`LC`,`America/St_Lucia`],[`LI`,`Europe/Vaduz`],[`LK`,`Asia/Colombo`],[`LR`,`Africa/Monrovia`],[`LS`,`Africa/Maseru`],[`LT`,`Europe/Vilnius`],[`LU`,`Europe/Luxembourg`],[`LV`,`Europe/Riga`],[`LY`,`Africa/Tripoli`],[`MA`,`Africa/Casablanca`],[`MC`,`Europe/Monaco`],[`MD`,`Europe/Chisinau`],[`ME`,`Europe/Podgorica`],[`MF`,`America/Marigot`],[`MG`,`Indian/Antananarivo`],[`MH`,`Pacific/Majuro`],[`MK`,`Europe/Skopje`],[`ML`,`Africa/Bamako`],[`MM`,`Asia/Yangon`],[`MN`,`Asia/Ulaanbaatar`],[`MO`,`Asia/Macau`],[`MP`,`Pacific/Saipan`],[`MQ`,`America/Martinique`],[`MR`,`Africa/Nouakchott`],[`MS`,`America/Montserrat`],[`MT`,`Europe/Malta`],[`MU`,`Indian/Mauritius`],[`MV`,`Indian/Maldives`],[`MW`,`Africa/Blantyre`],[`MX`,`America/Mexico_City`],[`MY`,`Asia/Kuala_Lumpur`],[`MZ`,`Africa/Maputo`],[`NA`,`Africa/Windhoek`],[`NC`,`Pacific/Noumea`],[`NE`,`Africa/Niamey`],[`NF`,`Pacific/Norfolk`],[`NG`,`Africa/Lagos`],[`NI`,`America/Managua`],[`NL`,`Europe/Amsterdam`],[`NO`,`Europe/Oslo`],[`NP`,`Asia/Kathmandu`],[`NR`,`Pacific/Nauru`],[`NU`,`Pacific/Niue`],[`NZ`,`Pacific/Auckland`],[`OM`,`Asia/Muscat`],[`PA`,`America/Panama`],[`PE`,`America/Lima`],[`PF`,`Pacific/Tahiti`],[`PG`,`Pacific/Port_Moresby`],[`PH`,`Asia/Manila`],[`PK`,`Asia/Karachi`],[`PL`,`Europe/Warsaw`],[`PM`,`America/Miquelon`],[`PN`,`Pacific/Pitcairn`],[`PR`,`America/Puerto_Rico`],[`PS`,`Asia/Gaza`],[`PT`,`Europe/Lisbon`],[`PW`,`Pacific/Palau`],[`PY`,`America/Asuncion`],[`QA`,`Asia/Qatar`],[`RE`,`Indian/Reunion`],[`RO`,`Europe/Bucharest`],[`RS`,`Europe/Belgrade`],[`RU`,`Europe/Moscow`],[`RW`,`Africa/Kigali`],[`SA`,`Asia/Riyadh`],[`SB`,`Pacific/Guadalcanal`],[`SC`,`Indian/Mahe`],[`SD`,`Africa/Khartoum`],[`SE`,`Europe/Stockholm`],[`SG`,`Asia/Singapore`],[`SH`,`Atlantic/St_Helena`],[`SI`,`Europe/Ljubljana`],[`SJ`,`Arctic/Longyearbyen`],[`SK`,`Europe/Bratislava`],[`SL`,`Africa/Freetown`],[`SM`,`Europe/San_Marino`],[`SN`,`Africa/Dakar`],[`SO`,`Africa/Mogadishu`],[`SR`,`America/Paramaribo`],[`SS`,`Africa/Juba`],[`ST`,`Africa/Sao_Tome`],[`SV`,`America/El_Salvador`],[`SX`,`America/Lower_Princes`],[`SY`,`Asia/Damascus`],[`SZ`,`Africa/Mbabane`],[`TC`,`America/Grand_Turk`],[`TD`,`Africa/Ndjamena`],[`TF`,`Indian/Kerguelen`],[`TG`,`Africa/Lome`],[`TH`,`Asia/Bangkok`],[`TJ`,`Asia/Dushanbe`],[`TK`,`Pacific/Fakaofo`],[`TL`,`Asia/Dili`],[`TM`,`Asia/Ashgabat`],[`TN`,`Africa/Tunis`],[`TO`,`Pacific/Tongatapu`],[`TR`,`Europe/Istanbul`],[`TT`,`America/Port_of_Spain`],[`TV`,`Pacific/Funafuti`],[`TW`,`Asia/Taipei`],[`TZ`,`Africa/Dar_es_Salaam`],[`UA`,`Europe/Kiev`],[`UG`,`Africa/Kampala`],[`UM`,`Pacific/Wake`],[`US`,`America/New_York`],[`UY`,`America/Montevideo`],[`UZ`,`Asia/Tashkent`],[`VA`,`Europe/Vatican`],[`VC`,`America/St_Vincent`],[`VE`,`America/Caracas`],[`VG`,`America/Tortola`],[`VI`,`America/St_Thomas`],[`VN`,`Asia/Ho_Chi_Minh`],[`VU`,`Pacific/Efate`],[`WF`,`Pacific/Wallis`],[`WS`,`Pacific/Apia`],[`YE`,`Asia/Aden`],[`YT`,`Indian/Mayotte`],[`ZA`,`Africa/Johannesburg`],[`ZM`,`Africa/Lusaka`],[`ZW`,`Africa/Harare`]])),getNumberOrUndefined=t$5=>{let o=Number(t$5);return Number.isNaN(o)?void 0:o},isos=Object.freeze(new Set([...countries.keys()]));function getCountriesWithSpecificTime(t$5,o,r){let u={minute:t$5};typeof o==`object`?u={...o}:o!==void 0&&(u.hourOfDay=o,r&&(u={...u,...r}));let h={year:getNumberOrUndefined(u.year),month:getNumberOrUndefined(u.monthOfYear),day:getNumberOrUndefined(u.dayOfMonth),hour:getNumberOrUndefined(u.hourOfDay),minute:getNumberOrUndefined(u.minute),second:0,millisecond:0},m=DateTime$1.fromObject(h),y=[],_=Object.keys(h).filter(C=>typeof h[C]<`u`&&![`second`,`millisecond`].includes(C));return timezones.forEach((C,O)=>{let I=DateTime$1.now().setZone(C);_.filter(U=>{let F=m.toObject()[U],G=I.toObject()[U];return F===G}).length===_.length&&y.push(O)}),y}const areaCodeMap={201:`US`,202:`US`,203:`US`,204:`CA`,205:`US`,206:`US`,207:`US`,208:`US`,209:`US`,210:`US`,212:`US`,213:`US`,214:`US`,215:`US`,216:`US`,217:`US`,218:`US`,219:`US`,220:`US`,223:`US`,224:`US`,225:`US`,226:`CA`,227:`US`,228:`US`,229:`US`,231:`US`,234:`US`,236:`CA`,239:`US`,240:`US`,242:`BS`,246:`BB`,248:`US`,249:`CA`,250:`CA`,251:`US`,252:`US`,253:`US`,254:`US`,256:`US`,260:`US`,262:`US`,263:`CA`,264:`AI`,267:`US`,268:`AG`,269:`US`,270:`US`,272:`US`,276:`US`,279:`US`,281:`US`,283:`US`,284:`VG`,289:`CA`,301:`US`,302:`US`,303:`US`,304:`US`,305:`US`,306:`CA`,307:`US`,308:`US`,309:`US`,310:`US`,312:`US`,313:`US`,314:`US`,315:`US`,316:`US`,317:`US`,318:`US`,319:`US`,320:`US`,321:`US`,323:`US`,325:`US`,326:`US`,329:`US`,330:`US`,331:`US`,332:`US`,334:`US`,336:`US`,337:`US`,339:`US`,340:`VI`,341:`US`,343:`CA`,345:`KY`,346:`US`,347:`US`,350:`US`,351:`US`,352:`US`,354:`CA`,360:`US`,361:`US`,364:`US`,365:`CA`,367:`CA`,368:`CA`,369:`US`,380:`US`,382:`CA`,385:`US`,386:`US`,401:`US`,402:`US`,403:`CA`,404:`US`,405:`US`,406:`US`,407:`US`,408:`US`,409:`US`,410:`US`,412:`US`,413:`US`,414:`US`,415:`US`,416:`CA`,417:`US`,418:`CA`,419:`US`,423:`US`,424:`US`,425:`US`,428:`CA`,430:`US`,431:`CA`,432:`US`,434:`US`,435:`US`,437:`CA`,438:`CA`,440:`US`,441:`BM`,442:`US`,443:`US`,445:`US`,447:`US`,448:`US`,450:`CA`,458:`US`,463:`US`,464:`US`,468:`CA`,469:`US`,470:`US`,473:`GD`,474:`CA`,475:`US`,478:`US`,479:`US`,480:`US`,484:`US`,500:`US`,501:`US`,502:`US`,503:`US`,504:`US`,505:`US`,506:`CA`,507:`US`,508:`US`,509:`US`,510:`US`,512:`US`,513:`US`,514:`CA`,515:`US`,516:`US`,517:`US`,518:`US`,519:`CA`,520:`US`,521:`US`,522:`US`,525:`US`,526:`US`,527:`US`,528:`US`,529:`US`,530:`US`,531:`US`,533:`US`,534:`US`,539:`US`,540:`US`,541:`US`,544:`US`,548:`CA`,551:`US`,557:`US`,559:`US`,561:`US`,562:`US`,563:`US`,564:`US`,566:`US`,567:`US`,570:`US`,571:`US`,572:`US`,573:`US`,574:`US`,575:`US`,577:`US`,579:`CA`,580:`US`,581:`CA`,582:`US`,584:`CA`,585:`US`,586:`US`,587:`CA`,588:`US`,600:`CA`,601:`US`,602:`US`,603:`US`,604:`CA`,605:`US`,606:`US`,607:`US`,608:`US`,609:`US`,610:`US`,612:`US`,613:`CA`,614:`US`,615:`US`,616:`US`,617:`US`,618:`US`,619:`US`,620:`US`,622:`CA`,623:`US`,626:`US`,628:`US`,629:`US`,630:`US`,631:`US`,636:`US`,639:`CA`,640:`US`,641:`US`,646:`US`,647:`CA`,649:`TC`,650:`US`,651:`US`,656:`US`,657:`US`,658:`JM`,659:`US`,660:`US`,661:`US`,662:`US`,664:`MS`,667:`US`,669:`US`,670:`MP`,671:`GU`,672:`CA`,678:`US`,680:`US`,681:`US`,682:`US`,683:`CA`,684:`AS`,689:`US`,701:`US`,702:`US`,703:`US`,704:`US`,705:`CA`,706:`US`,707:`US`,708:`US`,709:`CA`,712:`US`,713:`US`,714:`US`,715:`US`,716:`US`,717:`US`,718:`US`,719:`US`,720:`US`,721:`SX`,724:`US`,725:`US`,726:`US`,727:`US`,731:`US`,732:`US`,734:`US`,737:`US`,740:`US`,742:`CA`,743:`US`,747:`US`,753:`CA`,754:`US`,757:`US`,758:`LC`,760:`US`,762:`US`,763:`US`,765:`US`,767:`DM`,769:`US`,770:`US`,771:`US`,772:`US`,773:`US`,774:`US`,775:`US`,778:`CA`,779:`US`,780:`CA`,781:`US`,782:`CA`,784:`VC`,785:`US`,786:`US`,787:`PR`,800:`US`,801:`US`,802:`US`,803:`US`,804:`US`,805:`US`,806:`US`,807:`CA`,808:`US`,809:`DO`,810:`US`,812:`US`,813:`US`,814:`US`,815:`US`,816:`US`,817:`US`,818:`US`,819:`CA`,820:`US`,825:`CA`,826:`US`,828:`US`,829:`DO`,830:`US`,831:`US`,832:`US`,833:`US`,835:`US`,838:`US`,839:`US`,840:`US`,843:`US`,844:`US`,845:`US`,847:`US`,848:`US`,849:`DO`,850:`US`,854:`US`,855:`US`,856:`US`,857:`US`,858:`US`,859:`US`,860:`US`,862:`US`,863:`US`,864:`US`,865:`US`,866:`US`,867:`CA`,868:`TT`,869:`KN`,870:`US`,872:`US`,873:`CA`,876:`JM`,877:`US`,878:`US`,888:`US`,900:`US`,901:`US`,902:`CA`,903:`US`,904:`US`,905:`CA`,906:`US`,907:`US`,908:`US`,909:`US`,910:`US`,912:`US`,913:`US`,914:`US`,915:`US`,916:`US`,917:`US`,918:`US`,919:`US`,920:`US`,925:`US`,928:`US`,929:`US`,930:`US`,931:`US`,934:`US`,936:`US`,937:`US`,938:`US`,939:`PR`,940:`US`,941:`US`,943:`US`,945:`US`,947:`US`,948:`US`,949:`US`,951:`US`,952:`US`,954:`US`,956:`US`,959:`US`,970:`US`,971:`US`,972:`US`,973:`US`,978:`US`,979:`US`,980:`US`,984:`US`,985:`US`,986:`US`,989:`US`},nanpaCountries=[`US`,`CA`,`BS`,`BB`,`AI`,`AG`,`VG`,`VI`,`KY`,`BM`,`GD`,`TC`,`JM`,`MS`,`MP`,`GU`,`AS`,`SX`,`LC`,`DM`,`VC`,`PR`,`DO`,`TT`,`KN`];for(var commonjsGlobal=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},allCountries=[[`Afghanistan (‫افغانستان‬‎)`,`af`,`93`,`+..-..-...-....`],[`Åland Islands`,`ax`,`358`,``],[`Albania (Shqipëri)`,`al`,`355`,`+...(...)...-...`],[`Algeria (‫الجزائر‬‎)`,`dz`,`213`,`+...-..-...-....`],[`American Samoa`,`as`,`1684`,`+.(...)...-....`],[`Andorra`,`ad`,`376`,`+...-...-...`],[`Angola`,`ao`,`244`,`+...(...)...-...`],[`Anguilla`,`ai`,`1264`,`+.(...)...-....`],[`Antarctica`,`aq`,`672`,``],[`Antigua and Barbuda`,`ag`,`1268`,`+.(...)...-....`],[`Argentina`,`ar`,`54`,`+..(...)...-....`],[`Armenia (Հայաստան)`,`am`,`374`,`+...-..-...-...`],[`Aruba`,`aw`,`297`,`+...-...-....`],[`Australia`,`au`,`61`,`+.. ... ... ...`],[`Austria (Österreich)`,`at`,`43`,`+..(...)...-....`],[`Azerbaijan (Azərbaycan)`,`az`,`994`,`+...-..-...-..-..`],[`Bahamas`,`bs`,`1242`,`+.(...)...-....`],[`Bahrain (‫البحرين‬‎)`,`bh`,`973`,`+...-....-....`],[`Bangladesh (বাংলাদেশ)`,`bd`,`880`,`+...-..-...-...`],[`Barbados`,`bb`,`1246`,`+.(...)...-....`],[`Belarus (Беларусь)`,`by`,`375`,`+...(..)...-..-..`],[`Belgium (België)`,`be`,`32`,`+.. ... .. .. ..`],[`Belize`,`bz`,`501`,`+...-...-....`],[`Benin (Bénin)`,`bj`,`229`,`+...-..-..-....`],[`Bermuda`,`bm`,`1441`,`+.(...)...-....`],[`Bhutan (འབྲུག)`,`bt`,`975`,`+...-.-...-...`],[`Bolivia`,`bo`,`591`,`+...-.-...-....`],[`Bosnia and Herzegovina (Босна и Херцеговина)`,`ba`,`387`,`+...-..-....`],[`Botswana`,`bw`,`267`,`+...-..-...-...`],[`Bouvet Island`,`bv`,`47`,``],[`Brazil (Brasil)`,`br`,`55`,`+..-..-....-....`],[`British Indian Ocean Territory`,`io`,`246`,`+...-...-....`],[`British Virgin Islands`,`vg`,`1284`,`+.(...)...-....`],[`Brunei`,`bn`,`673`,`+...-...-....`],[`Bulgaria (България)`,`bg`,`359`,`+...(...)...-...`],[`Burkina Faso`,`bf`,`226`,`+...-..-..-....`],[`Burundi (Uburundi)`,`bi`,`257`,`+...-..-..-....`],[`Cambodia (កម្ពុជា)`,`kh`,`855`,`+...-..-...-...`],[`Cameroon (Cameroun)`,`cm`,`237`,`+...-....-....`],[`Canada`,`ca`,`1`,`+. (...) ...-....`,1,`204.236.249.250.289.306.343.365.387.403.416.418.431.437.438.450.506.514.519.548.579.581.587.604.613.639.647.672.705.709.742.778.780.782.807.819.825.867.873.902.905`.split(`.`)],[`Cape Verde (Kabu Verdi)`,`cv`,`238`,`+...(...)..-..`],[`Caribbean Netherlands`,`bq`,`599`,`+...-...-....`,1],[`Cayman Islands`,`ky`,`1345`,`+.(...)...-....`],[`Central African Republic (République centrafricaine)`,`cf`,`236`,`+...-..-..-....`],[`Chad (Tchad)`,`td`,`235`,`+...-..-..-..-..`],[`Chile`,`cl`,`56`,`+..-.-....-....`],[`China (中国)`,`cn`,`86`,`+.. ..-........`],[`Christmas Island`,`cx`,`61`,``],[`Cocos (Keeling) Islands`,`cc`,`61`,``],[`Colombia`,`co`,`57`,`+..(...)...-....`],[`Comoros (‫جزر القمر‬‎)`,`km`,`269`,`+...-..-.....`],[`Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)`,`cd`,`243`,`+...(...)...-...`],[`Congo (Republic) (Congo-Brazzaville)`,`cg`,`242`,`+...-..-...-....`],[`Cook Islands`,`ck`,`682`,`+...-..-...`],[`Costa Rica`,`cr`,`506`,`+... ....-....`],[`Côte d’Ivoire`,`ci`,`225`,`+...-..-...-...`],[`Croatia (Hrvatska)`,`hr`,`385`,`+...-..-...-...`],[`Cuba`,`cu`,`53`,`+..-.-...-....`],[`Curaçao`,`cw`,`599`,`+...-...-....`,0],[`Cyprus (Κύπρος)`,`cy`,`357`,`+...-..-...-...`],[`Czech Republic (Česká republika)`,`cz`,`420`,`+...(...)...-...`],[`Denmark (Danmark)`,`dk`,`45`,`+.. .. .. .. ..`],[`Djibouti`,`dj`,`253`,`+...-..-..-..-..`],[`Dominica`,`dm`,`1767`,`+.(...)...-....`],[`Dominican Republic (República Dominicana)`,`do`,`1`,`+.(...)...-....`,2,[`809`,`829`,`849`]],[`Ecuador`,`ec`,`593`,`+...-.-...-....`],[`Egypt (‫مصر‬‎)`,`eg`,`20`,`+..(...)...-....`],[`El Salvador`,`sv`,`503`,`+... ....-....`],[`Equatorial Guinea (Guinea Ecuatorial)`,`gq`,`240`,`+...-..-...-....`],[`Eritrea`,`er`,`291`,`+...-.-...-...`],[`Estonia (Eesti)`,`ee`,`372`,`+...-...-....`],[`Ethiopia`,`et`,`251`,`+...-..-...-....`],[`Falkland Islands (Islas Malvinas)`,`fk`,`500`,`+...-.....`],[`Faroe Islands (Føroyar)`,`fo`,`298`,`+...-...-...`],[`Fiji`,`fj`,`679`,`+...-..-.....`],[`Finland (Suomi)`,`fi`,`358`,`+... .. .... ....`],[`France`,`fr`,`33`,`+.. . .. .. .. ..`],[`French Guiana (Guyane française)`,`gf`,`594`,`+...-.....-....`],[`French Polynesia (Polynésie française)`,`pf`,`689`,`+...-..-..-..`],[`French Southern and Antarctic Lands`,`tf`,`262`,``],[`Gabon`,`ga`,`241`,`+...-.-..-..-..`],[`Gambia`,`gm`,`220`,`+...(...)..-..`],[`Georgia (საქართველო)`,`ge`,`995`,`+...(...)...-...`],[`Germany (Deutschland)`,`de`,`49`,`+.. ... .......`],[`Ghana (Gaana)`,`gh`,`233`,`+...(...)...-...`],[`Gibraltar`,`gi`,`350`,`+...-...-.....`],[`Greece (Ελλάδα)`,`gr`,`30`,`+..(...)...-....`],[`Greenland (Kalaallit Nunaat)`,`gl`,`299`,`+...-..-..-..`],[`Grenada`,`gd`,`1473`,`+.(...)...-....`],[`Guadeloupe`,`gp`,`590`,``,0],[`Guam`,`gu`,`1671`,`+.(...)...-....`],[`Guatemala`,`gt`,`502`,`+... ....-....`],[`Guernsey`,`gg`,`44`,``],[`Guinea (Guinée)`,`gn`,`224`,`+...-..-...-...`],[`Guinea-Bissau (Guiné Bissau)`,`gw`,`245`,`+...-.-......`],[`Guyana`,`gy`,`592`,`+...-...-....`],[`Haiti`,`ht`,`509`,`+... ....-....`],[`Heard Island and McDonald Islands`,`hm`,`672`,``],[`Honduras`,`hn`,`504`,`+...-....-....`],[`Hong Kong (香港)`,`hk`,`852`,`+... .... ....`],[`Hungary (Magyarország)`,`hu`,`36`,`+..(...)...-...`],[`Iceland (Ísland)`,`is`,`354`,`+... ... ....`],[`India (भारत)`,`in`,`91`,`+.. .....-.....`],[`Indonesia`,`id`,`62`,`+..-..-...-..`],[`Iran (‫ایران‬‎)`,`ir`,`98`,`+..(...)...-....`],[`Iraq (‫العراق‬‎)`,`iq`,`964`,`+...(...)...-....`],[`Ireland`,`ie`,`353`,`+... .. .......`],[`Isle of Man`,`im`,`44`,``],[`Israel (‫ישראל‬‎)`,`il`,`972`,`+...-.-...-....`],[`Italy (Italia)`,`it`,`39`,`+.. ... ......`,0],[`Jamaica`,`jm`,`1876`,`+.(...)...-....`],[`Japan (日本)`,`jp`,`81`,`+.. ... .. ....`],[`Jersey`,`je`,`44`,``],[`Jordan (‫الأردن‬‎)`,`jo`,`962`,`+...-.-....-....`],[`Kazakhstan (Казахстан)`,`kz`,`7`,`+. ... ...-..-..`,1],[`Kenya`,`ke`,`254`,`+...-...-......`],[`Kiribati`,`ki`,`686`,`+...-..-...`],[`Kosovo`,`xk`,`383`,``],[`Kuwait (‫الكويت‬‎)`,`kw`,`965`,`+...-....-....`],[`Kyrgyzstan (Кыргызстан)`,`kg`,`996`,`+...(...)...-...`],[`Laos (ລາວ)`,`la`,`856`,`+...-..-...-...`],[`Latvia (Latvija)`,`lv`,`371`,`+...-..-...-...`],[`Lebanon (‫لبنان‬‎)`,`lb`,`961`,`+...-.-...-...`],[`Lesotho`,`ls`,`266`,`+...-.-...-....`],[`Liberia`,`lr`,`231`,`+...-..-...-...`],[`Libya (‫ليبيا‬‎)`,`ly`,`218`,`+...-..-...-...`],[`Liechtenstein`,`li`,`423`,`+...(...)...-....`],[`Lithuania (Lietuva)`,`lt`,`370`,`+...(...)..-...`],[`Luxembourg`,`lu`,`352`,`+...(...)...-...`],[`Macau (澳門)`,`mo`,`853`,`+...-....-....`],[`Macedonia (FYROM) (Македонија)`,`mk`,`389`,`+...-..-...-...`],[`Madagascar (Madagasikara)`,`mg`,`261`,`+...-..-..-.....`],[`Malawi`,`mw`,`265`,`+...-.-....-....`],[`Malaysia`,`my`,`60`,`+.. ..-....-....`],[`Maldives`,`mv`,`960`,`+...-...-....`],[`Mali`,`ml`,`223`,`+...-..-..-....`],[`Malta`,`mt`,`356`,`+...-....-....`],[`Marshall Islands`,`mh`,`692`,`+...-...-....`],[`Martinique`,`mq`,`596`,`+...(...)..-..-..`],[`Mauritania (‫موريتانيا‬‎)`,`mr`,`222`,`+...-..-..-....`],[`Mauritius (Moris)`,`mu`,`230`,`+...-...-....`],[`Mayotte`,`yt`,`262`,``],[`Mexico (México)`,`mx`,`52`,`+..-..-..-....`],[`Micronesia`,`fm`,`691`,`+...-...-....`],[`Moldova (Republica Moldova)`,`md`,`373`,`+...-....-....`],[`Monaco`,`mc`,`377`,`+...-..-...-...`],[`Mongolia (Монгол)`,`mn`,`976`,`+...-..-..-....`],[`Montenegro (Crna Gora)`,`me`,`382`,`+...-..-...-...`],[`Montserrat`,`ms`,`1664`,`+.(...)...-....`],[`Morocco (‫المغرب‬‎)`,`ma`,`212`,`+...-..-....-...`],[`Mozambique (Moçambique)`,`mz`,`258`,`+...-..-...-...`],[`Myanmar (Burma) (မြန်မာ)`,`mm`,`95`,`+..-...-...`],[`Namibia (Namibië)`,`na`,`264`,`+...-..-...-....`],[`Nauru`,`nr`,`674`,`+...-...-....`],[`Nepal (नेपाल)`,`np`,`977`,`+...-..-...-...`],[`Netherlands (Nederland)`,`nl`,`31`,`+.. .. ........`],[`New Caledonia (Nouvelle-Calédonie)`,`nc`,`687`,`+...-..-....`],[`New Zealand`,`nz`,`64`,`+.. ...-...-....`],[`Nicaragua`,`ni`,`505`,`+...-....-....`],[`Niger (Nijar)`,`ne`,`227`,`+...-..-..-....`],[`Nigeria`,`ng`,`234`,`+...-..-...-..`],[`Niue`,`nu`,`683`,`+...-....`],[`Norfolk Island`,`nf`,`672`,`+...-...-...`],[`North Korea (조선 민주주의 인민 공화국)`,`kp`,`850`,`+...-...-...`],[`Northern Mariana Islands`,`mp`,`1670`,`+.(...)...-....`],[`Norway (Norge)`,`no`,`47`,`+.. ... .. ...`],[`Oman (‫عُمان‬‎)`,`om`,`968`,`+...-..-...-...`],[`Pakistan (‫پاکستان‬‎)`,`pk`,`92`,`+.. ...-.......`],[`Palau`,`pw`,`680`,`+...-...-....`],[`Palestine (‫فلسطين‬‎)`,`ps`,`970`,`+...-..-...-....`],[`Panama (Panamá)`,`pa`,`507`,`+...-...-....`],[`Papua New Guinea`,`pg`,`675`,`+...(...)..-...`],[`Paraguay`,`py`,`595`,`+...(...)...-...`],[`Peru (Perú)`,`pe`,`51`,`+..(...)...-...`],[`Philippines`,`ph`,`63`,`+.. ... ....`],[`Pitcairn Islands`,`pn`,`64`,``],[`Poland (Polska)`,`pl`,`48`,`+.. ...-...-...`],[`Portugal`,`pt`,`351`,`+...-..-...-....`],[`Puerto Rico`,`pr`,`1`,`+. (...) ...-....`,3,[`787`,`939`]],[`Qatar (‫قطر‬‎)`,`qa`,`974`,`+...-....-....`],[`Réunion (La Réunion)`,`re`,`262`,`+...-.....-....`],[`Romania (România)`,`ro`,`40`,`+..-..-...-....`],[`Russia (Россия)`,`ru`,`7`,`+. ... ...-..-..`,0],[`Rwanda`,`rw`,`250`,`+...(...)...-...`],[`Saint Barthélemy (Saint-Barthélemy)`,`bl`,`590`,``,1],[`Saint Helena`,`sh`,`290`],[`Saint Kitts and Nevis`,`kn`,`1869`,`+.(...)...-....`],[`Saint Lucia`,`lc`,`1758`,`+.(...)...-....`],[`Saint Martin (Saint-Martin (partie française))`,`mf`,`590`,``,2],[`Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)`,`pm`,`508`],[`Saint Vincent and the Grenadines`,`vc`,`1784`,`+.(...)...-....`],[`Samoa`,`ws`,`685`,`+...-..-....`],[`San Marino`,`sm`,`378`,`+...-....-......`],[`São Tomé and Príncipe (São Tomé e Príncipe)`,`st`,`239`,`+...-..-.....`],[`Saudi Arabia (‫المملكة العربية السعودية‬‎)`,`sa`,`966`,`+...-..-...-....`],[`Senegal (Sénégal)`,`sn`,`221`,`+...-..-...-....`],[`Serbia (Србија)`,`rs`,`381`,`+...-..-...-....`],[`Seychelles`,`sc`,`248`,`+...-.-...-...`],[`Sierra Leone`,`sl`,`232`,`+...-..-......`],[`Singapore`,`sg`,`65`,`+.. ....-....`],[`Sint Maarten`,`sx`,`1721`,`+.(...)...-....`],[`Slovakia (Slovensko)`,`sk`,`421`,`+...(...)...-...`],[`Slovenia (Slovenija)`,`si`,`386`,`+...-..-...-...`],[`Solomon Islands`,`sb`,`677`,`+...-.....`],[`Somalia (Soomaaliya)`,`so`,`252`,`+...-.-...-...`],[`South Africa`,`za`,`27`,`+..-..-...-....`],[`South Georgia and the South Sandwich Islands`,`gs`,`500`,``],[`South Korea (대한민국)`,`kr`,`82`,`+..-..-...-....`],[`South Sudan (‫جنوب السودان‬‎)`,`ss`,`211`,`+...-..-...-....`],[`Spain (España)`,`es`,`34`,`+.. ... ... ...`],[`Sri Lanka (ශ්‍රී ලංකාව)`,`lk`,`94`,`+..-..-...-....`],[`Sudan (‫السودان‬‎)`,`sd`,`249`,`+...-..-...-....`],[`Suriname`,`sr`,`597`,`+...-...-...`],[`Svalbard and Jan Mayen`,`sj`,`47`,``],[`Swaziland`,`sz`,`268`,`+...-..-..-....`],[`Sweden (Sverige)`,`se`,`46`,`+.. .. ... .. ..`],[`Switzerland (Schweiz)`,`ch`,`41`,`+.. .. ... .. ..`],[`Syria (‫سوريا‬‎)`,`sy`,`963`,`+...-..-....-...`],[`Taiwan (台灣)`,`tw`,`886`,`+...-....-....`],[`Tajikistan`,`tj`,`992`,`+...-..-...-....`],[`Tanzania`,`tz`,`255`,`+...-..-...-....`],[`Thailand (ไทย)`,`th`,`66`,`+..-..-...-...`],[`Timor-Leste`,`tl`,`670`,`+...-...-....`],[`Togo`,`tg`,`228`,`+...-..-...-...`],[`Tokelau`,`tk`,`690`,`+...-....`],[`Tonga`,`to`,`676`,`+...-.....`],[`Trinidad and Tobago`,`tt`,`1868`,`+.(...)...-....`],[`Tunisia (‫تونس‬‎)`,`tn`,`216`,`+...-..-...-...`],[`Turkey (Türkiye)`,`tr`,`90`,`+.. ... ... .. ..`],[`Turkmenistan`,`tm`,`993`,`+...-.-...-....`],[`Turks and Caicos Islands`,`tc`,`1649`,`+.(...)...-....`],[`Tuvalu`,`tv`,`688`,`+...-.....`],[`U.S. Virgin Islands`,`vi`,`1340`,`+.(...)...-....`],[`Uganda`,`ug`,`256`,`+...(...)...-...`],[`Ukraine (Україна)`,`ua`,`380`,`+...(..)...-..-..`],[`United Arab Emirates (‫الإمارات العربية المتحدة‬‎)`,`ae`,`971`,`+...-.-...-....`],[`United Kingdom`,`gb`,`44`,`+.. .... ......`],[`United States`,`us`,`1`,`+. (...) ...-....`,0],[`United States Minor Outlying Islands`,`um`,`1`,``,2],[`Uruguay`,`uy`,`598`,`+...-.-...-..-..`],[`Uzbekistan (Oʻzbekiston)`,`uz`,`998`,`+...-..-...-....`],[`Vanuatu`,`vu`,`678`,`+...-.....`],[`Vatican City (Città del Vaticano)`,`va`,`39`,`+.. .. .... ....`,1],[`Venezuela`,`ve`,`58`,`+..(...)...-....`],[`Vietnam (Việt Nam)`,`vn`,`84`,`+..-..-....-...`],[`Wallis and Futuna`,`wf`,`681`,`+...-..-....`],[`Western Sahara`,`eh`,`212`,`+...-..-....`],[`Yemen (‫اليمن‬‎)`,`ye`,`967`,`+...-.-...-...`],[`Zambia`,`zm`,`260`,`+...-..-...-....`],[`Zimbabwe`,`zw`,`263`,`+...-.-......`]],allCountryCodes={},iso2Lookup={},addCountryCode=function(t$5,o,r){o in allCountryCodes||(allCountryCodes[o]=[]);var u=r||0;allCountryCodes[o][u]=t$5},i$1=0;i$1<allCountries.length;i$1++){var c=allCountries[i$1];if(allCountries[i$1]={name:c[0],iso2:c[1],dialCode:c[2],priority:c[4]||0},c[3]&&(allCountries[i$1].format=c[3]),c[5]){allCountries[i$1].hasAreaCodes=!0;for(var j=0;j<c[5].length;j++){var dialCode=c[2]+c[5][j];addCountryCode(c[1],dialCode)}}iso2Lookup[allCountries[i$1].iso2]=i$1,addCountryCode(c[1],c[2],c[4])}var country_telephone_data={allCountries,iso2Lookup,allCountryCodes};function commonjsRequire(t$5){throw Error(`Could not dynamically require "`+t$5+`". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.`)}var libphonenumber={exports:{}};libphonenumber.exports,function(module$1,exports$1){(function(t$5){module$1.exports=t$5()})(function(){return function(){function t$5(o,r,u){function h(S,_){if(!r[S]){if(!o[S]){var C=typeof commonjsRequire==`function`&&commonjsRequire;if(!_&&C)return C(S,!0);if(m)return m(S,!0);var O=Error(`Cannot find module '`+S+`'`);throw O.code=`MODULE_NOT_FOUND`,O}var I=r[S]={exports:{}};o[S][0].call(I.exports,function(R$1){var U=o[S][1][R$1];return h(U||R$1)},I,I.exports,t$5,o,r,u)}return r[S].exports}for(var m=typeof commonjsRequire==`function`&&commonjsRequire,y=0;y<u.length;y++)h(u[y]);return h}return t$5}()({1:[function(require$1,module$2,exports$2){(function(global$1){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(t$5){return t$5.raw=t$5},$jscomp.createTemplateTagFirstArgWithRaw=function(t$5,o){return t$5.raw=o,t$5},$jscomp.arrayIteratorImpl=function(t$5){var o=0;return function(){return o<t$5.length?{done:!1,value:t$5[o++]}:{done:!0}}},$jscomp.arrayIterator=function(t$5){return{next:$jscomp.arrayIteratorImpl(t$5)}},$jscomp.makeIterator=function(t$5){var o=typeof Symbol<`u`&&Symbol.iterator&&t$5[Symbol.iterator];return o?o.call(t$5):$jscomp.arrayIterator(t$5)},$jscomp.arrayFromIterator=function(t$5){for(var o,r=[];!(o=t$5.next()).done;)r.push(o.value);return r},$jscomp.arrayFromIterable=function(t$5){return t$5 instanceof Array?t$5:$jscomp.arrayFromIterator($jscomp.makeIterator(t$5))},$jscomp.checkStringArgs=function(t$5,o,r){if(t$5==null)throw TypeError(`The 'this' value for String.prototype.`+r+` must not be null or undefined`);if(o instanceof RegExp)throw TypeError(`First argument to String.prototype.`+r+` must not be a regular expression`);return t$5+``},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties==`function`?Object.defineProperty:function(t$5,o,r){return t$5==Array.prototype||t$5==Object.prototype||(t$5[o]=r.value),t$5},$jscomp.getGlobal=function(t$5){t$5=[typeof globalThis==`object`&&globalThis,t$5,typeof window==`object`&&window,typeof self==`object`&&self,typeof global$1==`object`&&global$1];for(var o=0;o<t$5.length;++o){var r=t$5[o];if(r&&r.Math==Math)return r}throw Error(`Cannot find global object`)},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE=typeof Symbol==`function`&&typeof Symbol(`x`)==`symbol`,$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX=`$jscp$`,$jscomp.polyfill=function(t$5,o,r,u){o&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t$5,o,r,u):$jscomp.polyfillUnisolated(t$5,o,r,u))},$jscomp.polyfillUnisolated=function(t$5,o,r,u){for(r=$jscomp.global,t$5=t$5.split(`.`),u=0;u<t$5.length-1;u++){var h=t$5[u];if(!(h in r))return;r=r[h]}t$5=t$5[t$5.length-1],u=r[t$5],o=o(u),o!=u&&o!=null&&$jscomp.defineProperty(r,t$5,{configurable:!0,writable:!0,value:o})},$jscomp.polyfillIsolated=function(t$5,o,r,u){var h=t$5.split(`.`);t$5=h.length===1,u=h[0],u=!t$5&&u in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var m=0;m<h.length-1;m++){var y=h[m];if(!(y in u))return;u=u[y]}h=h[h.length-1],r=$jscomp.IS_SYMBOL_NATIVE&&r===`es6`?u[h]:null,o=o(r),o!=null&&(t$5?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:o}):o!==r&&($jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+h,h=$jscomp.propertyToPolyfillSymbol[h],$jscomp.defineProperty(u,h,{configurable:!0,writable:!0,value:o})))},$jscomp.polyfill(`String.prototype.endsWith`,function(t$5){return t$5||function(o,r){var u=$jscomp.checkStringArgs(this,o,`endsWith`);o+=``,r===void 0&&(r=u.length),r=Math.max(0,Math.min(r|0,u.length));for(var h=o.length;0<h&&0<r;)if(u[--r]!=o[--h])return!1;return 0>=h}},`es6`,`es3`),$jscomp.findInternal=function(t$5,o,r){t$5 instanceof String&&(t$5=String(t$5));for(var u=t$5.length,h=0;h<u;h++){var m=t$5[h];if(o.call(r,m,h,t$5))return{i:h,v:m}}return{i:-1,v:void 0}},$jscomp.polyfill(`Array.prototype.find`,function(t$5){return t$5||function(o,r){return $jscomp.findInternal(this,o,r).v}},`es6`,`es3`),$jscomp.polyfill(`String.prototype.startsWith`,function(t$5){return t$5||function(o,r){var u=$jscomp.checkStringArgs(this,o,`startsWith`);o+=``;var h=u.length,m=o.length;r=Math.max(0,Math.min(r|0,u.length));for(var y=0;y<m&&r<h;)if(u[r++]!=o[y++])return!1;return y>=m}},`es6`,`es3`),$jscomp.polyfill(`String.prototype.repeat`,function(t$5){return t$5||function(o){var r=$jscomp.checkStringArgs(this,null,`repeat`);if(0>o||1342177279<o)throw RangeError(`Invalid count value`);o|=0;for(var u=``;o;)o&1&&(u+=r),(o>>>=1)&&(r+=r);return u}},`es6`,`es3`),$jscomp.initSymbol=function(){},$jscomp.polyfill(`Symbol`,function(t$5){if(t$5)return t$5;var o=function(h,m){this.$jscomp$symbol$id_=h,$jscomp.defineProperty(this,`description`,{configurable:!0,writable:!0,value:m})};o.prototype.toString=function(){return this.$jscomp$symbol$id_};var r=0,u=function(h){if(this instanceof u)throw TypeError(`Symbol is not a constructor`);return new o(`jscomp_symbol_`+(h||``)+`_`+ r++,h)};return u},`es6`,`es3`),$jscomp.polyfill(`Symbol.iterator`,function(t$5){if(t$5)return t$5;t$5=Symbol(`Symbol.iterator`);for(var o=`Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array`.split(` `),r=0;r<o.length;r++){var u=$jscomp.global[o[r]];typeof u==`function`&&typeof u.prototype[t$5]!=`function`&&$jscomp.defineProperty(u.prototype,t$5,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return t$5},`es6`,`es3`),$jscomp.iteratorPrototype=function(t$5){return t$5={next:t$5},t$5[Symbol.iterator]=function(){return this},t$5},$jscomp.iteratorFromArray=function(t$5,o){t$5 instanceof String&&(t$5+=``);var r=0,u=!1,h={next:function(){if(!u&&r<t$5.length){var m=r++;return{value:o(m,t$5[m]),done:!1}}return u=!0,{done:!0,value:void 0}}};return h[Symbol.iterator]=function(){return h},h},$jscomp.polyfill(`Array.prototype.keys`,function(t$5){return t$5||function(){return $jscomp.iteratorFromArray(this,function(o){return o})}},`es6`,`es3`),$jscomp.polyfill(`Object.is`,function(t$5){return t$5||function(o,r){return o===r?o!==0||1/o==1/r:o!==o&&r!==r}},`es6`,`es3`),$jscomp.polyfill(`Array.prototype.includes`,function(t$5){return t$5||function(o,r){var u=this;u instanceof String&&(u=String(u));var h=u.length;for(r||=0,0>r&&(r=Math.max(r+h,0));r<h;r++){var m=u[r];if(m===o||Object.is(m,o))return!0}return!1}},`es7`,`es3`),$jscomp.polyfill(`String.prototype.includes`,function(t$5){return t$5||function(o,r){return $jscomp.checkStringArgs(this,o,`includes`).indexOf(o,r||0)!==-1}},`es6`,`es3`);var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.exportPath_=function(t$5,o,r,u){t$5=t$5.split(`.`),u||=goog.global,t$5[0]in u||typeof u.execScript>`u`||u.execScript(`var `+t$5[0]);for(var h;t$5.length&&(h=t$5.shift());)if(t$5.length||o===void 0)u=u[h]&&u[h]!==Object.prototype[h]?u[h]:u[h]={};else if(!r&&goog.isObject(o)&&goog.isObject(u[h]))for(var m in o)o.hasOwnProperty(m)&&(u[h][m]=o[m]);else u[h]=o},goog.define=function(t$5,o){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,u=goog.global.CLOSURE_DEFINES;r&&r.nodeType===void 0&&Object.prototype.hasOwnProperty.call(r,t$5)?o=r[t$5]:u&&u.nodeType===void 0&&Object.prototype.hasOwnProperty.call(u,t$5)&&(o=u[t$5])}return o},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE=`en`,goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(t$5){if(goog.isInModuleLoader_())throw Error(`goog.provide cannot be used within a module.`);if(!COMPILED&&goog.isProvided_(t$5))throw Error(`Namespace "`+t$5+`" already declared.`);goog.constructNamespace_(t$5)},goog.constructNamespace_=function(t$5,o,r){if(!COMPILED){delete goog.implicitNamespaces_[t$5];for(var u=t$5;(u=u.substring(0,u.lastIndexOf(`.`)))&&!goog.getObjectByName(u);)goog.implicitNamespaces_[u]=!0}goog.exportPath_(t$5,o,r)},goog.getScriptNonce=function(t$5){return t$5&&t$5!=goog.global?goog.getScriptNonce_(t$5.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(t$5){return(t$5=t$5.querySelector&&t$5.querySelector(`script[nonce]`))&&(t$5=t$5.nonce||t$5.getAttribute(`nonce`))&&goog.NONCE_PATTERN_.test(t$5)?t$5:``},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(t$5){if(typeof t$5!=`string`||!t$5||t$5.search(goog.VALID_MODULE_RE_)==-1)throw Error(`Invalid module identifier`);if(!goog.isInGoogModuleLoader_())throw Error(`Module `+t$5+` has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.`);if(goog.moduleLoaderState_.moduleName)throw Error(`goog.module may only be called once per module.`);if(goog.moduleLoaderState_.moduleName=t$5,!COMPILED){if(goog.isProvided_(t$5))throw Error(`Namespace "`+t$5+`" already declared.`);delete goog.implicitNamespaces_[t$5]}},goog.module.get=function(t$5){return goog.module.getInternal_(t$5)},goog.module.getInternal_=function(t$5){if(!COMPILED){if(t$5 in goog.loadedModules_)return goog.loadedModules_[t$5].exports;if(!goog.implicitNamespaces_[t$5])return t$5=goog.getObjectByName(t$5),t$5??null}return null},goog.ModuleType={ES6:`es6`,GOOG:`goog`},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var t$5=goog.global.$jscomp;return t$5&&typeof t$5.getCurrentModulePath==`function`?!!t$5.getCurrentModulePath():!1},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error(`goog.module.declareLegacyNamespace must be called from within a goog.module`);if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error(`goog.module must be called prior to goog.module.declareLegacyNamespace.`);goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(t$5){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error(`goog.declareModuleId may only be called from within an ES6 module`);if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error(`goog.declareModuleId may only be called once per module.`);if(t$5 in goog.loadedModules_)throw Error(`Module with namespace "`+t$5+`" already exists.`)}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t$5;else{var o=goog.global.$jscomp;if(!o||typeof o.getCurrentModulePath!=`function`)throw Error(`Module with namespace "`+t$5+`" has been loaded incorrectly.`);o=o.require(o.getCurrentModulePath()),goog.loadedModules_[t$5]={exports:o,type:goog.ModuleType.ES6,moduleId:t$5}}},goog.setTestOnly=function(t$5){if(goog.DISALLOW_TEST_ONLY_CODE)throw t$5||=``,Error(`Importing test-only code into non-debug environment`+(t$5?`: `+t$5:`.`))},goog.forwardDeclare=function(t$5){},COMPILED||(goog.isProvided_=function(t$5){return t$5 in goog.loadedModules_||!goog.implicitNamespaces_[t$5]&&goog.getObjectByName(t$5)!=null},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(t$5,o){t$5=t$5.split(`.`),o||=goog.global;for(var r=0;r<t$5.length;r++)if(o=o[t$5[r]],o==null)return null;return o},goog.addDependency=function(t$5,o,r,u){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(t$5,o,r,u)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(t$5){goog.global.console&&goog.global.console.error(t$5)},goog.require=function(t$5){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(t$5),goog.isProvided_(t$5)){if(goog.isInModuleLoader_())return goog.module.getInternal_(t$5)}else if(goog.ENABLE_DEBUG_LOADER){var o=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(t$5)}finally{goog.moduleLoaderState_=o}}return null}},goog.requireType=function(t$5){return{}},goog.basePath=``,goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error(`unimplemented abstract method`)},goog.addSingletonGetter=function(t$5){t$5.instance_=void 0,t$5.getInstance=function(){return t$5.instance_?t$5.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t$5),t$5.instance_=new t$5)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE=`detect`,goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE=``,goog.TRANSPILER=`transpile.js`,goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval(`"use strict";let x = 1; function f() { return typeof x; };f() == "number";`)}catch{a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(t$5){return`(function(){`+t$5+`
11
+ ;})();
12
+ `},goog.loadModule=function(t$5){var o=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:``,declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var r={},u=r;if(typeof t$5==`function`)u=t$5.call(void 0,u);else if(typeof t$5==`string`)goog.useSafari10Workaround()&&(t$5=goog.workaroundSafari10EvalBug(t$5)),u=goog.loadModuleFromSource_.call(void 0,u,t$5);else throw Error(`Invalid module definition`);var h=goog.moduleLoaderState_.moduleName;if(typeof h==`string`&&h)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(h,u,r!==u):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof u==`object`&&u&&Object.seal(u),goog.loadedModules_[h]={exports:u,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error(`Invalid module name "`+h+`"`)}finally{goog.moduleLoaderState_=o}},goog.loadModuleFromSource_=function(a,b){return eval(b),a},goog.normalizePath_=function(t$5){t$5=t$5.split(`/`);for(var o=0;o<t$5.length;)t$5[o]==`.`?t$5.splice(o,1):o&&t$5[o]==`..`&&t$5[o-1]&&t$5[o-1]!=`..`?t$5.splice(--o,2):o++;return t$5.join(`/`)},goog.loadFileSync_=function(t$5){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(t$5);try{var o=new goog.global.XMLHttpRequest;return o.open(`get`,t$5,!1),o.send(),o.status==0||o.status==200?o.responseText:null}catch{return null}},goog.transpile_=function(t$5,o,r){var u=goog.global.$jscomp;u||(goog.global.$jscomp=u={});var h=u.transpile;if(!h){var m=goog.basePath+goog.TRANSPILER,y=goog.loadFileSync_(m);if(y){if(function(){(0,eval)(y+`
13
+ //# sourceURL=`+m)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error(`The transpiler did not properly export the "transpile" method. $gwtExport: `+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,u=goog.global.$jscomp,h=u.transpile}}return h||=u.transpile=function(S,_){return goog.logToConsole_(_+` requires transpilation but no transpiler was found.`),S},h(t$5,o,r)},goog.typeOf=function(t$5){var o=typeof t$5;return o==`object`?t$5?Array.isArray(t$5)?`array`:o:`null`:o},goog.isArrayLike=function(t$5){var o=goog.typeOf(t$5);return o==`array`||o==`object`&&typeof t$5.length==`number`},goog.isDateLike=function(t$5){return goog.isObject(t$5)&&typeof t$5.getFullYear==`function`},goog.isObject=function(t$5){var o=typeof t$5;return o==`object`&&t$5!=null||o==`function`},goog.getUid=function(t$5){return Object.prototype.hasOwnProperty.call(t$5,goog.UID_PROPERTY_)&&t$5[goog.UID_PROPERTY_]||(t$5[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(t$5){return!!t$5[goog.UID_PROPERTY_]},goog.removeUid=function(t$5){t$5!==null&&`removeAttribute`in t$5&&t$5.removeAttribute(goog.UID_PROPERTY_);try{delete t$5[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_=`closure_uid_`+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(t$5){var o=goog.typeOf(t$5);if(o==`object`||o==`array`){if(typeof t$5.clone==`function`)return t$5.clone();for(var r in o=o==`array`?[]:{},t$5)o[r]=goog.cloneObject(t$5[r]);return o}return t$5},goog.bindNative_=function(t$5,o,r){return t$5.call.apply(t$5.bind,arguments)},goog.bindJs_=function(t$5,o,r){if(!t$5)throw Error();if(2<arguments.length){var u=Array.prototype.slice.call(arguments,2);return function(){var h=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(h,u),t$5.apply(o,h)}}return function(){return t$5.apply(o,arguments)}},goog.bind=function(t$5,o,r){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf(`native code`)!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(t$5,o){var r=Array.prototype.slice.call(arguments,1);return function(){var u=r.slice();return u.push.apply(u,arguments),t$5.apply(this,u)}},goog.mixin=function(t$5,o){for(var r in o)t$5[r]=o[r]},goog.now=function(){return Date.now()},goog.globalEval=function(t$5){(0,eval)(t$5)},goog.getCssName=function(t$5,o){if(String(t$5).charAt(0)==`.`)throw Error(`className passed in goog.getCssName must not start with ".". You passed: `+t$5);var r=function(h){return goog.cssNameMapping_[h]||h},u=function(h){h=h.split(`-`);for(var m=[],y=0;y<h.length;y++)m.push(r(h[y]));return m.join(`-`)};return u=goog.cssNameMapping_?goog.cssNameMappingStyle_==`BY_WHOLE`?r:u:function(h){return h},t$5=o?t$5+`-`+u(o):u(t$5),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(t$5):t$5},goog.setCssNameMapping=function(t$5,o){goog.cssNameMapping_=t$5,goog.cssNameMappingStyle_=o},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(t$5,o,r){return r&&r.html&&(t$5=t$5.replace(/</g,`&lt;`)),r&&r.unescapeHtmlEntities&&(t$5=t$5.replace(/&lt;/g,`<`).replace(/&gt;/g,`>`).replace(/&apos;/g,`'`).replace(/&quot;/g,`"`).replace(/&amp;/g,`&`)),o&&(t$5=t$5.replace(/\{\$([^}]+)}/g,function(u,h){return o!=null&&h in o?o[h]:u})),t$5},goog.getMsgWithFallback=function(t$5,o){return t$5},goog.exportSymbol=function(t$5,o,r){goog.exportPath_(t$5,o,!0,r)},goog.exportProperty=function(t$5,o,r){t$5[o]=r},goog.inherits=function(t$5,o){function r(){}r.prototype=o.prototype,t$5.superClass_=o.prototype,t$5.prototype=new r,t$5.prototype.constructor=t$5,t$5.base=function(u,h,m){for(var y=Array(arguments.length-2),S=2;S<arguments.length;S++)y[S-2]=arguments[S];return o.prototype[h].apply(u,y)}},goog.scope=function(t$5){if(goog.isInModuleLoader_())throw Error(`goog.scope is not supported within a module.`);t$5.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(t$5,o){var r=o.constructor,u=o.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error(`cannot instantiate an interface (no constructor defined).`)}),r=goog.defineClass.createSealingConstructor_(r,t$5),t$5&&goog.inherits(r,t$5),delete o.constructor,delete o.statics,goog.defineClass.applyProperties_(r.prototype,o),u!=null&&(u instanceof Function?u(r):goog.defineClass.applyProperties_(r,u)),r},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(t$5,o){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var r=t$5.apply(this,arguments)||this;return r[goog.UID_PROPERTY_]=r[goog.UID_PROPERTY_],r}:t$5},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_=`constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf`.split(` `),goog.defineClass.applyProperties_=function(t$5,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t$5[r]=o[r]);for(var u=0;u<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;u++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[u],Object.prototype.hasOwnProperty.call(o,r)&&(t$5[r]=o[r])},!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var t$5=goog.global.document;return t$5!=null&&`write`in t$5},goog.isDocumentLoading_=function(){var t$5=goog.global.document;return t$5.attachEvent?t$5.readyState!=`complete`:t$5.readyState==`loading`},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH!=null&&typeof goog.global.CLOSURE_BASE_PATH==`string`)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var t$5=goog.global.document,o=t$5.currentScript;for(t$5=o?[o]:t$5.getElementsByTagName(`SCRIPT`),o=t$5.length-1;0<=o;--o){var r=t$5[o].src,u=r.lastIndexOf(`?`);if(u=u==-1?r.length:u,r.substr(u-7,7)==`base.js`){goog.basePath=r.substr(0,u-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t$5,o){e?d[t$5]=!0:o()?(c$1=t$5,d[t$5]=!1):e=d[t$5]=!0}function b(g$2){try{return!!eval(g$2)}catch{return!1}}var c$1=`es3`,d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:``;return a(`es5`,function(){return b(`[1,].length==1`)}),a(`es6`,function(){return f.match(/Edge\/(\d+)(\.\d)*/i)?!1:b(`(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()`)}),a(`es7`,function(){return b(`2 ** 2 == 4`)}),a(`es8`,function(){return b(`async () => 1, true`)}),a(`es9`,function(){return b(`({...rest} = {}), true`)}),a(`es_next`,function(){return!1}),{target:c$1,map:d}},goog.Transpiler.prototype.needsTranspile=function(t$5,o){if(goog.TRANSPILE==`always`)return!0;if(goog.TRANSPILE==`never`)return!1;if(!this.requiresTranspilation_){var r=this.createRequiresTranspilation_();this.requiresTranspilation_=r.map,this.transpilationTarget_=this.transpilationTarget_||r.target}if(t$5 in this.requiresTranspilation_)return this.requiresTranspilation_[t$5]?!0:!(!goog.inHtmlDocument_()||o!=`es6`||`noModule`in goog.global.document.createElement(`script`));throw Error(`Unknown language mode: `+t$5)},goog.Transpiler.prototype.transpile=function(t$5,o){return goog.transpile_(t$5,o,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(t$5){return t$5.replace(/<\/(SCRIPT)/gi,`\\x3c/$1`)},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(t$5,o){function r(){u&&(goog.global.setTimeout(u,0),u=null)}var u=o;if(t$5.length){o=[];for(var h=0;h<t$5.length;h++){var m=this.getPathFromDeps_(t$5[h]);if(!m)throw Error(`Unregonized namespace: `+t$5[h]);o.push(this.dependencies_[m])}m=goog.require;var y=0;for(h=0;h<t$5.length;h++)m(t$5[h]),o[h].onLoad(function(){++y==t$5.length&&r()})}else r()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+`deps.js`),`deps.js`,[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(t$5,o){(t$5=this.getPathFromDeps_(t$5))&&(o||this.areDepsLoaded_(this.dependencies_[t$5].requires))&&(o=this.deferredCallbacks_[t$5])&&(delete this.deferredCallbacks_[t$5],o())},goog.DebugLoader_.prototype.setDependencyFactory=function(t$5){this.factory_=t$5},goog.DebugLoader_.prototype.load_=function(t$5){if(this.getPathFromDeps_(t$5)){var o=this,r=[],u=function(h){var m=o.getPathFromDeps_(h);if(!m)throw Error(`Bad dependency path or symbol: `+h);if(!o.written_[m]){for(o.written_[m]=!0,h=o.dependencies_[m],m=0;m<h.requires.length;m++)goog.isProvided_(h.requires[m])||u(h.requires[m]);r.push(h)}};u(t$5),t$5=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(r),this.paused_||t$5||this.loadDeps_()}else throw t$5=`goog.require could not find: `+t$5,goog.logToConsole_(t$5),Error(t$5)},goog.DebugLoader_.prototype.loadDeps_=function(){for(var t$5=this,o=this.paused_;this.depsToLoad_.length&&!o;)(function(){var r=!1,u=t$5.depsToLoad_.shift(),h=!1;t$5.loading_(u);var m={pause:function(){if(r)throw Error(`Cannot call pause after the call to load.`);o=!0},resume:function(){r?t$5.resume_():o=!1},loaded:function(){if(h)throw Error(`Double call to loaded.`);h=!0,t$5.loaded_(u)},pending:function(){for(var y=[],S=0;S<t$5.loadingDeps_.length;S++)y.push(t$5.loadingDeps_[S]);return y},setModuleState:function(y){goog.moduleLoaderState_={type:y,moduleName:``,declareLegacyNamespace:!1}},registerEs6ModuleExports:function(y,S,_){_&&(goog.loadedModules_[_]={exports:S,type:goog.ModuleType.ES6,moduleId:_||``})},registerGoogModuleExports:function(y,S){goog.loadedModules_[y]={exports:S,type:goog.ModuleType.GOOG,moduleId:y}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(y){if(r)throw Error(`Cannot register with defer after the call to load.`);t$5.defer_(u,y)},areDepsLoaded:function(){return t$5.areDepsLoaded_(u.requires)}};try{u.load(m)}finally{r=!0}})();o&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(t$5){this.loadingDeps_.push(t$5)},goog.DebugLoader_.prototype.loaded_=function(t$5){for(var o=0;o<this.loadingDeps_.length;o++)if(this.loadingDeps_[o]==t$5){this.loadingDeps_.splice(o,1);break}for(o=0;o<this.deferredQueue_.length;o++)if(this.deferredQueue_[o]==t$5.path){this.deferredQueue_.splice(o,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);t$5.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(t$5){for(var o=0;o<t$5.length;o++){var r=this.getPathFromDeps_(t$5[o]);if(!r||!(r in this.deferredCallbacks_||goog.isProvided_(t$5[o])))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(t$5){return t$5 in this.idToPath_?this.idToPath_[t$5]:t$5 in this.dependencies_?t$5:null},goog.DebugLoader_.prototype.defer_=function(t$5,o){this.deferredCallbacks_[t$5.path]=o,this.deferredQueue_.push(t$5.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(t$5,o,r){},goog.LoadController.prototype.setModuleState=function(t$5){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(t$5){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(t$5,o,r,u,h){this.path=t$5,this.relativePath=o,this.provides=r,this.requires=u,this.loadFlags=h,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var t$5=this.path,o=t$5.indexOf(`://`);return 0<=o&&(t$5=t$5.substring(o+3),o=t$5.indexOf(`/`),0<=o&&(t$5=t$5.substring(o+1))),t$5},goog.Dependency.prototype.onLoad=function(t$5){this.loaded_?t$5():this.loadCallbacks_.push(t$5)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var t$5=this.loadCallbacks_;this.loadCallbacks_=[];for(var o=0;o<t$5.length;o++)t$5[o]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(t$5){var o=Math.random().toString(32);return goog.Dependency.callbackMap_[o]=t$5,o},goog.Dependency.unregisterCallback_=function(t$5){delete goog.Dependency.callbackMap_[t$5]},goog.Dependency.callback_=function(t$5,o){if(t$5 in goog.Dependency.callbackMap_){for(var r=goog.Dependency.callbackMap_[t$5],u=[],h=1;h<arguments.length;h++)u.push(arguments[h]);r.apply(void 0,u)}else throw Error(`Callback key `+t$5+` does not exist (was base.js loaded more than once?).`)},goog.Dependency.prototype.load=function(t$5){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t$5.loaded():t$5.pause();else if(goog.inHtmlDocument_()){var o=goog.global.document;if(o.readyState==`complete`&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path)){t$5.loaded();return}throw Error(`Cannot write "`+this.path+`" after document load`)}var r=goog.getScriptNonce();if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var u=function(S){S.readyState&&S.readyState!=`complete`?S.onload=u:(goog.Dependency.unregisterCallback_(h),t$5.loaded())},h=goog.Dependency.registerCallback_(u);r=r?` nonce="`+r+`"`:``;var m=`<script src="`+this.path+`"`+r+(goog.Dependency.defer_?` defer`:``)+` id="script-`+h+`"><\/script>`;m+=`<script`+r+`>`,m=goog.Dependency.defer_?m+(`document.getElementById('script-`+h+`').onload = function() {
14
+ goog.Dependency.callback_('`+h+`', this);
15
+ };
16
+ `):m+(`goog.Dependency.callback_('`+h+`', document.getElementById('script-`+h+`'));`),m+=`<\/script>`,o.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(m):m)}else{var y=o.createElement(`script`);y.defer=goog.Dependency.defer_,y.async=!1,r&&(y.nonce=r),goog.DebugLoader_.IS_OLD_IE_?(t$5.pause(),y.onreadystatechange=function(){(y.readyState==`loaded`||y.readyState==`complete`)&&(t$5.loaded(),t$5.resume())}):y.onload=function(){y.onload=null,t$5.loaded()},y.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,o.head.appendChild(y)}}else goog.logToConsole_(`Cannot use default debug loader outside of HTML documents.`),this.relativePath==`deps.js`?(goog.logToConsole_(`Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true.`),t$5.loaded()):t$5.pause()},goog.Es6ModuleDependency=function(t$5,o,r,u,h){goog.Dependency.call(this,t$5,o,r,u,h)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(t$5){function o(C,O){var I=``,R$1=goog.getScriptNonce();R$1&&(I=` nonce="`+R$1+`"`),C=O?`<script type="module" crossorigin`+I+`>`+O+`<\/script>`:`<script type="module" crossorigin src="`+C+`"`+I+`><\/script>`,u.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(C):C)}function r(C,O){var I=u.createElement(`script`);I.defer=!0,I.async=!1,I.type=`module`,I.setAttribute(`crossorigin`,!0);var R$1=goog.getScriptNonce();R$1&&(I.nonce=R$1),O?I.text=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(O):O:I.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(C):C,u.head.appendChild(I)}if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t$5.loaded():t$5.pause();else if(goog.inHtmlDocument_()){var u=goog.global.document,h=this;if(goog.isDocumentLoading_()){var m=o;goog.Dependency.defer_=!0}else m=r;var y=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(y),t$5.setModuleState(goog.ModuleType.ES6)});m(void 0,`goog.Dependency.callback_("`+y+`")`),m(this.path,void 0);var S=goog.Dependency.registerCallback_(function(C){goog.Dependency.unregisterCallback_(S),t$5.registerEs6ModuleExports(h.path,C,goog.moduleLoaderState_.moduleName)});m(void 0,`import * as m from "`+this.path+`"; goog.Dependency.callback_("`+S+`", m)`);var _=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(_),t$5.clearModuleState(),t$5.loaded()});m(void 0,`goog.Dependency.callback_("`+_+`")`)}else goog.logToConsole_(`Cannot use default debug loader outside of HTML documents.`),t$5.pause()},goog.TransformedDependency=function(t$5,o,r,u,h){goog.Dependency.call(this,t$5,o,r,u,h),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!(`noModule`in goog.global.document.createElement(`script`))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(t$5){function o(){h.contents_=goog.loadFileSync_(h.path),h.contents_&&(h.contents_=h.transform(h.contents_),h.contents_&&(h.contents_+=`
17
+ //# sourceURL=`+h.path))}function r(){if(h.lazyFetch_&&o(),h.contents_){m&&t$5.setModuleState(goog.ModuleType.ES6);try{var O=h.contents_;if(h.contents_=null,goog.globalEval(O),m)var I=goog.moduleLoaderState_.moduleName}finally{m&&t$5.clearModuleState()}m&&goog.global.$jscomp.require.ensure([h.getPathName()],function(){t$5.registerEs6ModuleExports(h.path,goog.global.$jscomp.require(h.getPathName()),I)}),t$5.loaded()}}function u(){var O=goog.global.document,I=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(I),r()}),R$1=goog.getScriptNonce();R$1=`<script`+(R$1?` nonce="`+R$1+`"`:``)+`>`+goog.protectScriptTag_(`goog.Dependency.callback_("`+I+`");`)+`<\/script>`,O.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(R$1):R$1)}var h=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)o(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT(``,this.contents_)?(this.contents_=null,t$5.loaded()):t$5.pause();else{var m=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||o();var y=1<t$5.pending().length,S=y&&goog.DebugLoader_.IS_OLD_IE_;if(y=goog.Dependency.defer_&&(y||goog.isDocumentLoading_()),S||y)t$5.defer(function(){r()});else{var _=goog.global.document;if(S=goog.inHtmlDocument_()&&`ActiveXObject`in goog.global,m&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!S){goog.Dependency.defer_=!0,t$5.pause();var C=_.onreadystatechange;_.onreadystatechange=function(){_.readyState==`interactive`&&(_.onreadystatechange=C,r(),t$5.resume()),typeof C==`function`&&C.apply(void 0,arguments)}}else !goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?u():r()}}},goog.TransformedDependency.prototype.transform=function(t$5){},goog.TranspiledDependency=function(t$5,o,r,u,h,m){goog.TransformedDependency.call(this,t$5,o,r,u,h),this.transpiler=m},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(t$5){return this.transpiler.transpile(t$5,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(t$5,o,r,u,h){goog.TransformedDependency.call(this,t$5,o,r,u,h)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(t$5){return t$5},goog.GoogModuleDependency=function(t$5,o,r,u,h,m,y){goog.TransformedDependency.call(this,t$5,o,r,u,h),this.needsTranspile_=m,this.transpiler_=y},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(t$5){return this.needsTranspile_&&(t$5=this.transpiler_.transpile(t$5,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&goog.global.JSON!==void 0?`goog.loadModule(`+goog.global.JSON.stringify(t$5+`
18
+ //# sourceURL=`+this.path+`
19
+ `)+`);`:`goog.loadModule(function(exports) {"use strict";`+t$5+`
20
+ ;return exports});
21
+ //# sourceURL=`+this.path+`
22
+ `},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(t$5,o,r,u){o||=[],t$5=t$5.replace(/\\/g,`/`);var h=goog.normalizePath_(goog.basePath+t$5);for(u&&typeof u!=`boolean`||(u=u?{module:goog.ModuleType.GOOG}:{}),r=this.factory_.createDependency(h,t$5,o,r,u,goog.transpiler_.needsTranspile(u.lang||`es3`,u.module)),this.dependencies_[h]=r,r=0;r<o.length;r++)this.idToPath_[o[r]]=h;this.idToPath_[t$5]=h},goog.DependencyFactory=function(t$5){this.transpiler=t$5},goog.DependencyFactory.prototype.createDependency=function(t$5,o,r,u,h,m){return h.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(t$5,o,r,u,h,m,this.transpiler):m?new goog.TranspiledDependency(t$5,o,r,u,h,this.transpiler):h.module==goog.ModuleType.ES6?goog.TRANSPILE==`never`&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(t$5,o,r,u,h):new goog.Es6ModuleDependency(t$5,o,r,u,h):new goog.Dependency(t$5,o,r,u,h)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(t$5){goog.debugLoader_.setDependencyFactory(t$5)},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+`#base`):null,goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(t$5,o){goog.debugLoader_.bootstrap(t$5,o)}),goog.TRUSTED_TYPES_POLICY_NAME=`goog`,goog.identity_=function(t$5){return t$5},goog.createTrustedTypesPolicy=function(t$5){var o=null,r=goog.global.trustedTypes;if(!r||!r.createPolicy)return o;try{o=r.createPolicy(t$5,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(u){goog.logToConsole_(u.message)}return o},goog.debug={};function module$contents$goog$debug$Error_DebugError(t$5){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var o=Error().stack;o&&(this.stack=o)}t$5&&(this.message=String(t$5)),this.reportErrorToServer=!0}goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name=`CustomError`,goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(t$5,o){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(t$5,o)),this.messagePattern=t$5},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name=`AssertionError`,goog.asserts.DEFAULT_ERROR_HANDLER=function(t$5){throw t$5},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(t$5,o){t$5=t$5.split(`%s`);for(var r=``,u=t$5.length-1,h=0;h<u;h++)r+=t$5[h]+(h<o.length?o[h]:`%s`);return r+t$5[u]},goog.asserts.doAssertFailure_=function(t$5,o,r,u){var h=`Assertion failed`;if(r){h+=`: `+r;var m=u}else t$5&&(h+=`: `+t$5,m=o);t$5=new goog.asserts.AssertionError(``+h,m||[]),goog.asserts.errorHandler_(t$5)},goog.asserts.setErrorHandler=function(t$5){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=t$5)},goog.asserts.assert=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&!t$5&&goog.asserts.doAssertFailure_(``,null,o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertExists=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&t$5==null&&goog.asserts.doAssertFailure_(`Expected to exist: %s.`,[t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.fail=function(t$5,o){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError(`Failure`+(t$5?`: `+t$5:``),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&typeof t$5!=`number`&&goog.asserts.doAssertFailure_(`Expected number but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertString=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&typeof t$5!=`string`&&goog.asserts.doAssertFailure_(`Expected string but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertFunction=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&typeof t$5!=`function`&&goog.asserts.doAssertFailure_(`Expected function but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertObject=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(t$5)&&goog.asserts.doAssertFailure_(`Expected object but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertArray=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(t$5)&&goog.asserts.doAssertFailure_(`Expected array but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertBoolean=function(t$5,o,r){return goog.asserts.ENABLE_ASSERTS&&typeof t$5!=`boolean`&&goog.asserts.doAssertFailure_(`Expected boolean but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertElement=function(t$5,o,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(t$5)&&t$5.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_(`Expected Element but got %s: %s.`,[goog.typeOf(t$5),t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertInstanceof=function(t$5,o,r,u){return!goog.asserts.ENABLE_ASSERTS||t$5 instanceof o||goog.asserts.doAssertFailure_(`Expected instanceof %s but got %s.`,[goog.asserts.getType_(o),goog.asserts.getType_(t$5)],r,Array.prototype.slice.call(arguments,3)),t$5},goog.asserts.assertFinite=function(t$5,o,r){return!goog.asserts.ENABLE_ASSERTS||typeof t$5==`number`&&isFinite(t$5)||goog.asserts.doAssertFailure_(`Expected %s to be a finite number but it is not.`,[t$5],o,Array.prototype.slice.call(arguments,2)),t$5},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var t$5 in Object.prototype)goog.asserts.fail(t$5+` should not be enumerable in Object.prototype.`)},goog.asserts.getType_=function(t$5){return t$5 instanceof Function?t$5.displayName||t$5.name||`unknown type name`:t$5 instanceof Object?t$5.constructor.displayName||t$5.constructor.name||Object.prototype.toString.call(t$5):t$5===null?`null`:typeof t$5},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;function module$contents$goog$array_peek(t$5){return t$5[t$5.length-1]}goog.array.peek=module$contents$goog$array_peek,goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(t$5,o,r){return goog.asserts.assert(t$5.length!=null),Array.prototype.indexOf.call(t$5,o,r)}:function(t$5,o,r){if(r=r==null?0:0>r?Math.max(0,t$5.length+r):r,typeof t$5==`string`)return typeof o!=`string`||o.length!=1?-1:t$5.indexOf(o,r);for(;r<t$5.length;r++)if(r in t$5&&t$5[r]===o)return r;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(t$5,o,r){return goog.asserts.assert(t$5.length!=null),Array.prototype.lastIndexOf.call(t$5,o,r??t$5.length-1)}:function(t$5,o,r){if(r??=t$5.length-1,0>r&&(r=Math.max(0,t$5.length+r)),typeof t$5==`string`)return typeof o!=`string`||o.length!=1?-1:t$5.lastIndexOf(o,r);for(;0<=r;r--)if(r in t$5&&t$5[r]===o)return r;return-1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(t$5,o,r){goog.asserts.assert(t$5.length!=null),Array.prototype.forEach.call(t$5,o,r)}:function(t$5,o,r){for(var u=t$5.length,h=typeof t$5==`string`?t$5.split(``):t$5,m=0;m<u;m++)m in h&&o.call(r,h[m],m,t$5)};goog.array.forEach=module$contents$goog$array_forEach;function module$contents$goog$array_forEachRight(t$5,o,r){var u=t$5.length,h=typeof t$5==`string`?t$5.split(``):t$5;for(--u;0<=u;--u)u in h&&o.call(r,h[u],u,t$5)}goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(t$5,o,r){return goog.asserts.assert(t$5.length!=null),Array.prototype.filter.call(t$5,o,r)}:function(t$5,o,r){for(var u=t$5.length,h=[],m=0,y=typeof t$5==`string`?t$5.split(``):t$5,S=0;S<u;S++)if(S in y){var _=y[S];o.call(r,_,S,t$5)&&(h[m++]=_)}return h};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(t$5,o,r){return goog.asserts.assert(t$5.length!=null),Array.prototype.map.call(t$5,o,r)}:function(t$5,o,r){for(var u=t$5.length,h=Array(u),m=typeof t$5==`string`?t$5.split(``):t$5,y=0;y<u;y++)y in m&&(h[y]=o.call(r,m[y],y,t$5));return h};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(t$5,o,r,u){return goog.asserts.assert(t$5.length!=null),u&&(o=goog.bind(o,u)),Array.prototype.reduce.call(t$5,o,r)}:function(t$5,o,r,u){var h=r;return module$contents$goog$array_forEach(t$5,function(m,y){h=o.call(u,h,m,y,t$5)}),h};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(t$5,o,r,u){return goog.asserts.assert(t$5.length!=null),goog.asserts.assert(o!=null),u&&(o=goog.bind(o,u)),Array.prototype.reduceRight.call(t$5,o,r)}:function(t$5,o,r,u){var h=r;return module$contents$goog$array_forEachRight(t$5,function(m,y){h=o.call(u,h,m,y,t$5)}),h};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(t$5,o,r){return goog.asserts.assert(t$5.length!=null),Array.prototype.some.call(t$5,o,r)}:function(t$5,o,r){for(var u=t$5.length,h=typeof t$5==`string`?t$5.split(``):t$5,m=0;m<u;m++)if(m in h&&o.call(r,h[m],m,t$5))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(t$5,o,r){return goog.asserts.assert(t$5.length!=null),Array.prototype.every.call(t$5,o,r)}:function(t$5,o,r){for(var u=t$5.length,h=typeof t$5==`string`?t$5.split(``):t$5,m=0;m<u;m++)if(m in h&&!o.call(r,h[m],m,t$5))return!1;return!0};goog.array.every=module$contents$goog$array_every;function module$contents$goog$array_count(t$5,o,r){var u=0;return module$contents$goog$array_forEach(t$5,function(h,m,y){o.call(r,h,m,y)&&++u},r),u}goog.array.count=module$contents$goog$array_count;function module$contents$goog$array_find(t$5,o,r){return o=module$contents$goog$array_findIndex(t$5,o,r),0>o?null:typeof t$5==`string`?t$5.charAt(o):t$5[o]}goog.array.find=module$contents$goog$array_find;function module$contents$goog$array_findIndex(t$5,o,r){for(var u=t$5.length,h=typeof t$5==`string`?t$5.split(``):t$5,m=0;m<u;m++)if(m in h&&o.call(r,h[m],m,t$5))return m;return-1}goog.array.findIndex=module$contents$goog$array_findIndex;function module$contents$goog$array_findRight(t$5,o,r){return o=module$contents$goog$array_findIndexRight(t$5,o,r),0>o?null:typeof t$5==`string`?t$5.charAt(o):t$5[o]}goog.array.findRight=module$contents$goog$array_findRight;function module$contents$goog$array_findIndexRight(t$5,o,r){var u=t$5.length,h=typeof t$5==`string`?t$5.split(``):t$5;for(--u;0<=u;u--)if(u in h&&o.call(r,h[u],u,t$5))return u;return-1}goog.array.findIndexRight=module$contents$goog$array_findIndexRight;function module$contents$goog$array_contains(t$5,o){return 0<=module$contents$goog$array_indexOf(t$5,o)}goog.array.contains=module$contents$goog$array_contains;function module$contents$goog$array_isEmpty(t$5){return t$5.length==0}goog.array.isEmpty=module$contents$goog$array_isEmpty;function module$contents$goog$array_clear(t$5){if(!Array.isArray(t$5))for(var o=t$5.length-1;0<=o;o--)delete t$5[o];t$5.length=0}goog.array.clear=module$contents$goog$array_clear;function module$contents$goog$array_insert(t$5,o){module$contents$goog$array_contains(t$5,o)||t$5.push(o)}goog.array.insert=module$contents$goog$array_insert;function module$contents$goog$array_insertAt(t$5,o,r){module$contents$goog$array_splice(t$5,r,0,o)}goog.array.insertAt=module$contents$goog$array_insertAt;function module$contents$goog$array_insertArrayAt(t$5,o,r){goog.partial(module$contents$goog$array_splice,t$5,r,0).apply(null,o)}goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt;function module$contents$goog$array_insertBefore(t$5,o,r){var u;arguments.length==2||0>(u=module$contents$goog$array_indexOf(t$5,r))?t$5.push(o):module$contents$goog$array_insertAt(t$5,o,u)}goog.array.insertBefore=module$contents$goog$array_insertBefore;function module$contents$goog$array_remove(t$5,o){o=module$contents$goog$array_indexOf(t$5,o);var r;return(r=0<=o)&&module$contents$goog$array_removeAt(t$5,o),r}goog.array.remove=module$contents$goog$array_remove;function module$contents$goog$array_removeLast(t$5,o){return o=module$contents$goog$array_lastIndexOf(t$5,o),0<=o?(module$contents$goog$array_removeAt(t$5,o),!0):!1}goog.array.removeLast=module$contents$goog$array_removeLast;function module$contents$goog$array_removeAt(t$5,o){return goog.asserts.assert(t$5.length!=null),Array.prototype.splice.call(t$5,o,1).length==1}goog.array.removeAt=module$contents$goog$array_removeAt;function module$contents$goog$array_removeIf(t$5,o,r){return o=module$contents$goog$array_findIndex(t$5,o,r),0<=o?(module$contents$goog$array_removeAt(t$5,o),!0):!1}goog.array.removeIf=module$contents$goog$array_removeIf;function module$contents$goog$array_removeAllIf(t$5,o,r){var u=0;return module$contents$goog$array_forEachRight(t$5,function(h,m){o.call(r,h,m,t$5)&&module$contents$goog$array_removeAt(t$5,m)&&u++}),u}goog.array.removeAllIf=module$contents$goog$array_removeAllIf;function module$contents$goog$array_concat(t$5){return Array.prototype.concat.apply([],arguments)}goog.array.concat=module$contents$goog$array_concat;function module$contents$goog$array_join(t$5){return Array.prototype.concat.apply([],arguments)}goog.array.join=module$contents$goog$array_join;function module$contents$goog$array_toArray(t$5){var o=t$5.length;if(0<o){for(var r=Array(o),u=0;u<o;u++)r[u]=t$5[u];return r}return[]}var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;goog.array.clone=module$contents$goog$array_clone;function module$contents$goog$array_extend(t$5,o){for(var r=1;r<arguments.length;r++){var u=arguments[r];if(goog.isArrayLike(u)){var h=t$5.length||0,m=u.length||0;t$5.length=h+m;for(var y=0;y<m;y++)t$5[h+y]=u[y]}else t$5.push(u)}}goog.array.extend=module$contents$goog$array_extend;function module$contents$goog$array_splice(t$5,o,r,u){return goog.asserts.assert(t$5.length!=null),Array.prototype.splice.apply(t$5,module$contents$goog$array_slice(arguments,1))}goog.array.splice=module$contents$goog$array_splice;function module$contents$goog$array_slice(t$5,o,r){return goog.asserts.assert(t$5.length!=null),2>=arguments.length?Array.prototype.slice.call(t$5,o):Array.prototype.slice.call(t$5,o,r)}goog.array.slice=module$contents$goog$array_slice;function module$contents$goog$array_removeDuplicates(t$5,o,r){o||=t$5;var u=function(_){return goog.isObject(_)?`o`+goog.getUid(_):(typeof _).charAt(0)+_};r||=u,u={};for(var h=0,m=0;m<t$5.length;){var y=t$5[m++],S=r(y);Object.prototype.hasOwnProperty.call(u,S)||(u[S]=!0,o[h++]=y)}o.length=h}goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates;function module$contents$goog$array_binarySearch(t$5,o,r){return module$contents$goog$array_binarySearch_(t$5,r||module$contents$goog$array_defaultCompare,!1,o)}goog.array.binarySearch=module$contents$goog$array_binarySearch;function module$contents$goog$array_binarySelect(t$5,o,r){return module$contents$goog$array_binarySearch_(t$5,o,!0,void 0,r)}goog.array.binarySelect=module$contents$goog$array_binarySelect;function module$contents$goog$array_binarySearch_(t$5,o,r,u,h){for(var m=0,y=t$5.length,S;m<y;){var _=m+(y-m>>>1),C=r?o.call(h,t$5[_],_,t$5):o(u,t$5[_]);0<C?m=_+1:(y=_,S=!C)}return S?m:-m-1}function module$contents$goog$array_sort(t$5,o){t$5.sort(o||module$contents$goog$array_defaultCompare)}goog.array.sort=module$contents$goog$array_sort;function module$contents$goog$array_stableSort(t$5,o){for(var r=Array(t$5.length),u=0;u<t$5.length;u++)r[u]={index:u,value:t$5[u]};var h=o||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(r,function(m,y){return h(m.value,y.value)||m.index-y.index}),u=0;u<t$5.length;u++)t$5[u]=r[u].value}goog.array.stableSort=module$contents$goog$array_stableSort;function module$contents$goog$array_sortByKey(t$5,o,r){var u=r||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(t$5,function(h,m){return u(o(h),o(m))})}goog.array.sortByKey=module$contents$goog$array_sortByKey;function module$contents$goog$array_sortObjectsByKey(t$5,o,r){module$contents$goog$array_sortByKey(t$5,function(u){return u[o]},r)}goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey;function module$contents$goog$array_isSorted(t$5,o,r){o||=module$contents$goog$array_defaultCompare;for(var u=1;u<t$5.length;u++){var h=o(t$5[u-1],t$5[u]);if(0<h||h==0&&r)return!1}return!0}goog.array.isSorted=module$contents$goog$array_isSorted;function module$contents$goog$array_equals(t$5,o,r){if(!goog.isArrayLike(t$5)||!goog.isArrayLike(o)||t$5.length!=o.length)return!1;var u=t$5.length;r||=module$contents$goog$array_defaultCompareEquality;for(var h=0;h<u;h++)if(!r(t$5[h],o[h]))return!1;return!0}goog.array.equals=module$contents$goog$array_equals;function module$contents$goog$array_compare3(t$5,o,r){r||=module$contents$goog$array_defaultCompare;for(var u=Math.min(t$5.length,o.length),h=0;h<u;h++){var m=r(t$5[h],o[h]);if(m!=0)return m}return module$contents$goog$array_defaultCompare(t$5.length,o.length)}goog.array.compare3=module$contents$goog$array_compare3;function module$contents$goog$array_defaultCompare(t$5,o){return t$5>o?1:t$5<o?-1:0}goog.array.defaultCompare=module$contents$goog$array_defaultCompare;function module$contents$goog$array_inverseDefaultCompare(t$5,o){return-module$contents$goog$array_defaultCompare(t$5,o)}goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare;function module$contents$goog$array_defaultCompareEquality(t$5,o){return t$5===o}goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality;function module$contents$goog$array_binaryInsert(t$5,o,r){return r=module$contents$goog$array_binarySearch(t$5,o,r),0>r?(module$contents$goog$array_insertAt(t$5,o,-(r+1)),!0):!1}goog.array.binaryInsert=module$contents$goog$array_binaryInsert;function module$contents$goog$array_binaryRemove(t$5,o,r){return o=module$contents$goog$array_binarySearch(t$5,o,r),0<=o?module$contents$goog$array_removeAt(t$5,o):!1}goog.array.binaryRemove=module$contents$goog$array_binaryRemove;function module$contents$goog$array_bucket(t$5,o,r){for(var u={},h=0;h<t$5.length;h++){var m=t$5[h],y=o.call(r,m,h,t$5);y!==void 0&&(u[y]||(u[y]=[])).push(m)}return u}goog.array.bucket=module$contents$goog$array_bucket;function module$contents$goog$array_toObject(t$5,o,r){var u={};return module$contents$goog$array_forEach(t$5,function(h,m){u[o.call(r,h,m,t$5)]=h}),u}goog.array.toObject=module$contents$goog$array_toObject;function module$contents$goog$array_range(t$5,o,r){var u=[],h=0,m=t$5;if(r||=1,o!==void 0&&(h=t$5,m=o),0>r*(m-h))return[];if(0<r)for(t$5=h;t$5<m;t$5+=r)u.push(t$5);else for(t$5=h;t$5>m;t$5+=r)u.push(t$5);return u}goog.array.range=module$contents$goog$array_range;function module$contents$goog$array_repeat(t$5,o){for(var r=[],u=0;u<o;u++)r[u]=t$5;return r}goog.array.repeat=module$contents$goog$array_repeat;function module$contents$goog$array_flatten(t$5){for(var o=[],r=0;r<arguments.length;r++){var u=arguments[r];if(Array.isArray(u))for(var h=0;h<u.length;h+=8192){var m=module$contents$goog$array_slice(u,h,h+8192);m=module$contents$goog$array_flatten.apply(null,m);for(var y=0;y<m.length;y++)o.push(m[y])}else o.push(u)}return o}goog.array.flatten=module$contents$goog$array_flatten;function module$contents$goog$array_rotate(t$5,o){return goog.asserts.assert(t$5.length!=null),t$5.length&&(o%=t$5.length,0<o?Array.prototype.unshift.apply(t$5,t$5.splice(-o,o)):0>o&&Array.prototype.push.apply(t$5,t$5.splice(0,-o))),t$5}goog.array.rotate=module$contents$goog$array_rotate;function module$contents$goog$array_moveItem(t$5,o,r){goog.asserts.assert(0<=o&&o<t$5.length),goog.asserts.assert(0<=r&&r<t$5.length),o=Array.prototype.splice.call(t$5,o,1),Array.prototype.splice.call(t$5,r,0,o[0])}goog.array.moveItem=module$contents$goog$array_moveItem;function module$contents$goog$array_zip(t$5){if(!arguments.length)return[];for(var o=[],r=arguments[0].length,u=1;u<arguments.length;u++)arguments[u].length<r&&(r=arguments[u].length);for(u=0;u<r;u++){for(var h=[],m=0;m<arguments.length;m++)h.push(arguments[m][u]);o.push(h)}return o}goog.array.zip=module$contents$goog$array_zip;function module$contents$goog$array_shuffle(t$5,o){o||=Math.random;for(var r=t$5.length-1;0<r;r--){var u=Math.floor(o()*(r+1)),h=t$5[r];t$5[r]=t$5[u],t$5[u]=h}}goog.array.shuffle=module$contents$goog$array_shuffle;function module$contents$goog$array_copyByIndex(t$5,o){var r=[];return module$contents$goog$array_forEach(o,function(u){r.push(t$5[u])}),r}goog.array.copyByIndex=module$contents$goog$array_copyByIndex;function module$contents$goog$array_concatMap(t$5,o,r){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(t$5,o,r))}goog.array.concatMap=module$contents$goog$array_concatMap,goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(t$5){if(goog.asserts.ENABLE_ASSERTS){var o=goog.dom.asserts.getWindow_(t$5);o&&(!t$5||!(t$5 instanceof o.Location)&&t$5 instanceof o.Element)&&goog.asserts.fail(`Argument is not a Location (or a non-Element mock); got: %s`,goog.dom.asserts.debugStringForType_(t$5))}return t$5},goog.dom.asserts.assertIsElementType_=function(t$5,o){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(t$5);r&&typeof r[o]<`u`&&(t$5&&(t$5 instanceof r[o]||!(t$5 instanceof r.Location||t$5 instanceof r.Element))||goog.asserts.fail(`Argument is not a %s (or a non-Element, non-Location mock); got: %s`,o,goog.dom.asserts.debugStringForType_(t$5)))}return t$5},goog.dom.asserts.assertIsHTMLAnchorElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLAnchorElement`)},goog.dom.asserts.assertIsHTMLButtonElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLButtonElement`)},goog.dom.asserts.assertIsHTMLLinkElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLLinkElement`)},goog.dom.asserts.assertIsHTMLImageElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLImageElement`)},goog.dom.asserts.assertIsHTMLAudioElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLAudioElement`)},goog.dom.asserts.assertIsHTMLVideoElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLVideoElement`)},goog.dom.asserts.assertIsHTMLInputElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLInputElement`)},goog.dom.asserts.assertIsHTMLTextAreaElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLTextAreaElement`)},goog.dom.asserts.assertIsHTMLCanvasElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLCanvasElement`)},goog.dom.asserts.assertIsHTMLEmbedElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLEmbedElement`)},goog.dom.asserts.assertIsHTMLFormElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLFormElement`)},goog.dom.asserts.assertIsHTMLFrameElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLFrameElement`)},goog.dom.asserts.assertIsHTMLIFrameElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLIFrameElement`)},goog.dom.asserts.assertIsHTMLObjectElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLObjectElement`)},goog.dom.asserts.assertIsHTMLScriptElement=function(t$5){return goog.dom.asserts.assertIsElementType_(t$5,`HTMLScriptElement`)},goog.dom.asserts.debugStringForType_=function(t$5){if(goog.isObject(t$5))try{return t$5.constructor.displayName||t$5.constructor.name||Object.prototype.toString.call(t$5)}catch{return`<object could not be stringified>`}else return t$5===void 0?`undefined`:t$5===null?`null`:typeof t$5},goog.dom.asserts.getWindow_=function(t$5){try{var o=t$5&&t$5.ownerDocument,r=o&&(o.defaultView||o.parentWindow);if(r||=goog.global,r.Element&&r.Location)return r}catch{}return null},goog.dom.HtmlElement=function(){},goog.functions={},goog.functions.constant=function(t$5){return function(){return t$5}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(t$5,o){return t$5},goog.functions.error=function(t$5){return function(){throw Error(t$5)}},goog.functions.fail=function(t$5){return function(){throw t$5}},goog.functions.lock=function(t$5,o){return o||=0,function(){return t$5.apply(this,Array.prototype.slice.call(arguments,0,o))}},goog.functions.nth=function(t$5){return function(){return arguments[t$5]}},goog.functions.partialRight=function(t$5,o){var r=Array.prototype.slice.call(arguments,1);return function(){var u=this;u===goog.global&&(u=void 0);var h=Array.prototype.slice.call(arguments);return h.push.apply(h,r),t$5.apply(u,h)}},goog.functions.withReturnValue=function(t$5,o){return goog.functions.sequence(t$5,goog.functions.constant(o))},goog.functions.equalTo=function(t$5,o){return function(r){return o?t$5==r:t$5===r}},goog.functions.compose=function(t$5,o){var r=arguments,u=r.length;return function(){var h;u&&(h=r[u-1].apply(this,arguments));for(var m=u-2;0<=m;m--)h=r[m].call(this,h);return h}},goog.functions.sequence=function(t$5){var o=arguments,r=o.length;return function(){for(var u,h=0;h<r;h++)u=o[h].apply(this,arguments);return u}},goog.functions.and=function(t$5){var o=arguments,r=o.length;return function(){for(var u=0;u<r;u++)if(!o[u].apply(this,arguments))return!1;return!0}},goog.functions.or=function(t$5){var o=arguments,r=o.length;return function(){for(var u=0;u<r;u++)if(o[u].apply(this,arguments))return!0;return!1}},goog.functions.not=function(t$5){return function(){return!t$5.apply(this,arguments)}},goog.functions.create=function(t$5,o){var r=function(){};return r.prototype=t$5.prototype,r=new r,t$5.apply(r,Array.prototype.slice.call(arguments,1)),r},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(t$5){var o=!1,r;return function(){return goog.functions.CACHE_RETURN_VALUE?(o||(r=t$5(),o=!0),r):t$5()}},goog.functions.once=function(t$5){var o=t$5;return function(){if(o){var r=o;o=null,r()}}},goog.functions.debounce=function(t$5,o,r){var u=0;return function(h){goog.global.clearTimeout(u);var m=arguments;u=goog.global.setTimeout(function(){t$5.apply(r,m)},o)}},goog.functions.throttle=function(t$5,o,r){var u=0,h=!1,m=[],y=function(){u=0,h&&(h=!1,S())},S=function(){u=goog.global.setTimeout(y,o),t$5.apply(r,m)};return function(_){m=arguments,u?h=!0:S()}},goog.functions.rateLimit=function(t$5,o,r){var u=0,h=function(){u=0};return function(m){u||(u=goog.global.setTimeout(h,o),t$5.apply(r,arguments))}},goog.functions.isFunction=function(t$5){return typeof t$5==`function`},goog.dom.TagName=function(){},goog.dom.TagName.cast=function(t$5,o){return t$5},goog.dom.TagName.prototype.toString=function(){},goog.dom.TagName.A=`A`,goog.dom.TagName.ABBR=`ABBR`,goog.dom.TagName.ACRONYM=`ACRONYM`,goog.dom.TagName.ADDRESS=`ADDRESS`,goog.dom.TagName.APPLET=`APPLET`,goog.dom.TagName.AREA=`AREA`,goog.dom.TagName.ARTICLE=`ARTICLE`,goog.dom.TagName.ASIDE=`ASIDE`,goog.dom.TagName.AUDIO=`AUDIO`,goog.dom.TagName.B=`B`,goog.dom.TagName.BASE=`BASE`,goog.dom.TagName.BASEFONT=`BASEFONT`,goog.dom.TagName.BDI=`BDI`,goog.dom.TagName.BDO=`BDO`,goog.dom.TagName.BIG=`BIG`,goog.dom.TagName.BLOCKQUOTE=`BLOCKQUOTE`,goog.dom.TagName.BODY=`BODY`,goog.dom.TagName.BR=`BR`,goog.dom.TagName.BUTTON=`BUTTON`,goog.dom.TagName.CANVAS=`CANVAS`,goog.dom.TagName.CAPTION=`CAPTION`,goog.dom.TagName.CENTER=`CENTER`,goog.dom.TagName.CITE=`CITE`,goog.dom.TagName.CODE=`CODE`,goog.dom.TagName.COL=`COL`,goog.dom.TagName.COLGROUP=`COLGROUP`,goog.dom.TagName.COMMAND=`COMMAND`,goog.dom.TagName.DATA=`DATA`,goog.dom.TagName.DATALIST=`DATALIST`,goog.dom.TagName.DD=`DD`,goog.dom.TagName.DEL=`DEL`,goog.dom.TagName.DETAILS=`DETAILS`,goog.dom.TagName.DFN=`DFN`,goog.dom.TagName.DIALOG=`DIALOG`,goog.dom.TagName.DIR=`DIR`,goog.dom.TagName.DIV=`DIV`,goog.dom.TagName.DL=`DL`,goog.dom.TagName.DT=`DT`,goog.dom.TagName.EM=`EM`,goog.dom.TagName.EMBED=`EMBED`,goog.dom.TagName.FIELDSET=`FIELDSET`,goog.dom.TagName.FIGCAPTION=`FIGCAPTION`,goog.dom.TagName.FIGURE=`FIGURE`,goog.dom.TagName.FONT=`FONT`,goog.dom.TagName.FOOTER=`FOOTER`,goog.dom.TagName.FORM=`FORM`,goog.dom.TagName.FRAME=`FRAME`,goog.dom.TagName.FRAMESET=`FRAMESET`,goog.dom.TagName.H1=`H1`,goog.dom.TagName.H2=`H2`,goog.dom.TagName.H3=`H3`,goog.dom.TagName.H4=`H4`,goog.dom.TagName.H5=`H5`,goog.dom.TagName.H6=`H6`,goog.dom.TagName.HEAD=`HEAD`,goog.dom.TagName.HEADER=`HEADER`,goog.dom.TagName.HGROUP=`HGROUP`,goog.dom.TagName.HR=`HR`,goog.dom.TagName.HTML=`HTML`,goog.dom.TagName.I=`I`,goog.dom.TagName.IFRAME=`IFRAME`,goog.dom.TagName.IMG=`IMG`,goog.dom.TagName.INPUT=`INPUT`,goog.dom.TagName.INS=`INS`,goog.dom.TagName.ISINDEX=`ISINDEX`,goog.dom.TagName.KBD=`KBD`,goog.dom.TagName.KEYGEN=`KEYGEN`,goog.dom.TagName.LABEL=`LABEL`,goog.dom.TagName.LEGEND=`LEGEND`,goog.dom.TagName.LI=`LI`,goog.dom.TagName.LINK=`LINK`,goog.dom.TagName.MAIN=`MAIN`,goog.dom.TagName.MAP=`MAP`,goog.dom.TagName.MARK=`MARK`,goog.dom.TagName.MATH=`MATH`,goog.dom.TagName.MENU=`MENU`,goog.dom.TagName.MENUITEM=`MENUITEM`,goog.dom.TagName.META=`META`,goog.dom.TagName.METER=`METER`,goog.dom.TagName.NAV=`NAV`,goog.dom.TagName.NOFRAMES=`NOFRAMES`,goog.dom.TagName.NOSCRIPT=`NOSCRIPT`,goog.dom.TagName.OBJECT=`OBJECT`,goog.dom.TagName.OL=`OL`,goog.dom.TagName.OPTGROUP=`OPTGROUP`,goog.dom.TagName.OPTION=`OPTION`,goog.dom.TagName.OUTPUT=`OUTPUT`,goog.dom.TagName.P=`P`,goog.dom.TagName.PARAM=`PARAM`,goog.dom.TagName.PICTURE=`PICTURE`,goog.dom.TagName.PRE=`PRE`,goog.dom.TagName.PROGRESS=`PROGRESS`,goog.dom.TagName.Q=`Q`,goog.dom.TagName.RP=`RP`,goog.dom.TagName.RT=`RT`,goog.dom.TagName.RTC=`RTC`,goog.dom.TagName.RUBY=`RUBY`,goog.dom.TagName.S=`S`,goog.dom.TagName.SAMP=`SAMP`,goog.dom.TagName.SCRIPT=`SCRIPT`,goog.dom.TagName.SECTION=`SECTION`,goog.dom.TagName.SELECT=`SELECT`,goog.dom.TagName.SMALL=`SMALL`,goog.dom.TagName.SOURCE=`SOURCE`,goog.dom.TagName.SPAN=`SPAN`,goog.dom.TagName.STRIKE=`STRIKE`,goog.dom.TagName.STRONG=`STRONG`,goog.dom.TagName.STYLE=`STYLE`,goog.dom.TagName.SUB=`SUB`,goog.dom.TagName.SUMMARY=`SUMMARY`,goog.dom.TagName.SUP=`SUP`,goog.dom.TagName.SVG=`SVG`,goog.dom.TagName.TABLE=`TABLE`,goog.dom.TagName.TBODY=`TBODY`,goog.dom.TagName.TD=`TD`,goog.dom.TagName.TEMPLATE=`TEMPLATE`,goog.dom.TagName.TEXTAREA=`TEXTAREA`,goog.dom.TagName.TFOOT=`TFOOT`,goog.dom.TagName.TH=`TH`,goog.dom.TagName.THEAD=`THEAD`,goog.dom.TagName.TIME=`TIME`,goog.dom.TagName.TITLE=`TITLE`,goog.dom.TagName.TR=`TR`,goog.dom.TagName.TRACK=`TRACK`,goog.dom.TagName.TT=`TT`,goog.dom.TagName.U=`U`,goog.dom.TagName.UL=`UL`,goog.dom.TagName.VAR=`VAR`,goog.dom.TagName.VIDEO=`VIDEO`,goog.dom.TagName.WBR=`WBR`,goog.object={},goog.object.forEach=function(t$5,o,r){for(var u in t$5)o.call(r,t$5[u],u,t$5)},goog.object.filter=function(t$5,o,r){var u={},h;for(h in t$5)o.call(r,t$5[h],h,t$5)&&(u[h]=t$5[h]);return u},goog.object.map=function(t$5,o,r){var u={},h;for(h in t$5)u[h]=o.call(r,t$5[h],h,t$5);return u},goog.object.some=function(t$5,o,r){for(var u in t$5)if(o.call(r,t$5[u],u,t$5))return!0;return!1},goog.object.every=function(t$5,o,r){for(var u in t$5)if(!o.call(r,t$5[u],u,t$5))return!1;return!0},goog.object.getCount=function(t$5){var o=0,r;for(r in t$5)o++;return o},goog.object.getAnyKey=function(t$5){for(var o in t$5)return o},goog.object.getAnyValue=function(t$5){for(var o in t$5)return t$5[o]},goog.object.contains=function(t$5,o){return goog.object.containsValue(t$5,o)},goog.object.getValues=function(t$5){var o=[],r=0,u;for(u in t$5)o[r++]=t$5[u];return o},goog.object.getKeys=function(t$5){var o=[],r=0,u;for(u in t$5)o[r++]=u;return o},goog.object.getValueByKeys=function(t$5,o){var r=goog.isArrayLike(o),u=r?o:arguments;for(r=r?0:1;r<u.length;r++){if(t$5==null)return;t$5=t$5[u[r]]}return t$5},goog.object.containsKey=function(t$5,o){return t$5!==null&&o in t$5},goog.object.containsValue=function(t$5,o){for(var r in t$5)if(t$5[r]==o)return!0;return!1},goog.object.findKey=function(t$5,o,r){for(var u in t$5)if(o.call(r,t$5[u],u,t$5))return u},goog.object.findValue=function(t$5,o,r){return(o=goog.object.findKey(t$5,o,r))&&t$5[o]},goog.object.isEmpty=function(t$5){for(var o in t$5)return!1;return!0},goog.object.clear=function(t$5){for(var o in t$5)delete t$5[o]},goog.object.remove=function(t$5,o){var r;return(r=o in t$5)&&delete t$5[o],r},goog.object.add=function(t$5,o,r){if(t$5!==null&&o in t$5)throw Error(`The object already contains the key "`+o+`"`);goog.object.set(t$5,o,r)},goog.object.get=function(t$5,o,r){return t$5!==null&&o in t$5?t$5[o]:r},goog.object.set=function(t$5,o,r){t$5[o]=r},goog.object.setIfUndefined=function(t$5,o,r){return o in t$5?t$5[o]:t$5[o]=r},goog.object.setWithReturnValueIfNotSet=function(t$5,o,r){return o in t$5?t$5[o]:(r=r(),t$5[o]=r)},goog.object.equals=function(t$5,o){for(var r in t$5)if(!(r in o)||t$5[r]!==o[r])return!1;for(var u in o)if(!(u in t$5))return!1;return!0},goog.object.clone=function(t$5){var o={},r;for(r in t$5)o[r]=t$5[r];return o},goog.object.unsafeClone=function(t$5){if(!t$5||typeof t$5!=`object`)return t$5;if(typeof t$5.clone==`function`)return t$5.clone();var o=Array.isArray(t$5)?[]:typeof ArrayBuffer!=`function`||typeof ArrayBuffer.isView!=`function`||!ArrayBuffer.isView(t$5)||t$5 instanceof DataView?{}:new t$5.constructor(t$5.length),r;for(r in t$5)o[r]=goog.object.unsafeClone(t$5[r]);return o},goog.object.transpose=function(t$5){var o={},r;for(r in t$5)o[t$5[r]]=r;return o},goog.object.PROTOTYPE_FIELDS_=`constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf`.split(` `),goog.object.extend=function(t$5,o){for(var r,u,h=1;h<arguments.length;h++){for(r in u=arguments[h],u)t$5[r]=u[r];for(var m=0;m<goog.object.PROTOTYPE_FIELDS_.length;m++)r=goog.object.PROTOTYPE_FIELDS_[m],Object.prototype.hasOwnProperty.call(u,r)&&(t$5[r]=u[r])}},goog.object.create=function(t$5){var o=arguments.length;if(o==1&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(o%2)throw Error(`Uneven number of arguments`);for(var r={},u=0;u<o;u+=2)r[arguments[u]]=arguments[u+1];return r},goog.object.createSet=function(t$5){var o=arguments.length;if(o==1&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},u=0;u<o;u++)r[arguments[u]]=!0;return r},goog.object.createImmutableView=function(t$5){var o=t$5;return Object.isFrozen&&!Object.isFrozen(t$5)&&(o=Object.create(t$5),Object.freeze(o)),o},goog.object.isImmutableView=function(t$5){return!!Object.isFrozen&&Object.isFrozen(t$5)},goog.object.getAllPropertyNames=function(t$5,o,r){if(!t$5)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(t$5);for(var u={};t$5&&(t$5!==Object.prototype||o)&&(t$5!==Function.prototype||r);){for(var h=Object.getOwnPropertyNames(t$5),m=0;m<h.length;m++)u[h[m]]=!0;t$5=Object.getPrototypeOf(t$5)}return goog.object.getKeys(u)},goog.object.getSuperClass=function(t$5){return(t$5=Object.getPrototypeOf(t$5.prototype))&&t$5.constructor},goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(t$5){return goog.dom.tags.VOID_TAGS_[t$5]===!0},goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(t$5,o){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=t$5===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&o||``,this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return`Const{`+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+`}`}),goog.string.Const.unwrap=function(t$5){return t$5 instanceof goog.string.Const&&t$5.constructor===goog.string.Const&&t$5.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?t$5.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail(`expected object of type Const, got '`+t$5+`'`),`type_error:Const`)},goog.string.Const.from=function(t$5){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,t$5)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(``),goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse=function(){return goog.TRUSTED_TYPES_POLICY_NAME?(goog.html.trustedtypes.cachedPolicy_===void 0&&(goog.html.trustedtypes.cachedPolicy_=goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+`#html`)),goog.html.trustedtypes.cachedPolicy_):null};var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeScript_SafeScript=function(t$5,o){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=o===module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE?t$5:``,this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeScript_SafeScript.fromConstant=function(t$5){return t$5=goog.string.Const.unwrap(t$5),t$5.length===0?module$contents$goog$html$SafeScript_SafeScript.EMPTY:module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t$5)},module$contents$goog$html$SafeScript_SafeScript.fromConstantAndArgs=function(t$5,o){for(var r=[],u=1;u<arguments.length;u++)r.push(module$contents$goog$html$SafeScript_SafeScript.stringify_(arguments[u]));return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(`(`+goog.string.Const.unwrap(t$5)+`)(`+r.join(`, `)+`);`)},module$contents$goog$html$SafeScript_SafeScript.fromJson=function(t$5){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(t$5))},module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},module$contents$goog$html$SafeScript_SafeScript.unwrap=function(t$5){return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(t$5).toString()},module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript=function(t$5){return t$5 instanceof module$contents$goog$html$SafeScript_SafeScript&&t$5.constructor===module$contents$goog$html$SafeScript_SafeScript?t$5.privateDoNotAccessOrElseSafeScriptWrappedValue_:((0,goog.asserts.fail)(`expected object of type SafeScript, got '`+t$5+`' of type `+goog.typeOf(t$5)),`type_error:SafeScript`)},module$contents$goog$html$SafeScript_SafeScript.stringify_=function(t$5){return JSON.stringify(t$5).replace(/</g,`\\x3c`)},module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(t$5){var o=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return t$5=o?o.createScript(t$5):t$5,new module$contents$goog$html$SafeScript_SafeScript(t$5,module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeScript_SafeScript.prototype.toString=function(){return`SafeScript{`+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+`}`}),module$contents$goog$html$SafeScript_SafeScript.EMPTY=function(){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(``)}(),goog.html.SafeScript=module$contents$goog$html$SafeScript_SafeScript,goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(t$5){return goog.fs.url.getUrlObject_().createObjectURL(t$5)},goog.fs.url.revokeObjectUrl=function(t$5){goog.fs.url.getUrlObject_().revokeObjectURL(t$5)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(t$5){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(t$5){},goog.fs.url.getUrlObject_=function(){var t$5=goog.fs.url.findUrlObject_();if(t$5!=null)return t$5;throw Error(`This browser doesn't seem to support blob URLs`)},goog.fs.url.findUrlObject_=function(){return goog.global.URL!==void 0&&goog.global.URL.createObjectURL!==void 0?goog.global.URL:goog.global.webkitURL!==void 0&&goog.global.webkitURL.createObjectURL!==void 0?goog.global.webkitURL:goog.global.createObjectURL===void 0?null:goog.global},goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null},goog.fs.blob={},goog.fs.blob.getBlob=function(t$5){var o=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(o!==void 0){o=new o;for(var r=0;r<arguments.length;r++)o.append(arguments[r]);return o.getBlob()}return goog.fs.blob.getBlobWithProperties(module$contents$goog$array_toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(t$5,o,r){var u=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(u!==void 0){u=new u;for(var h=0;h<t$5.length;h++)u.append(t$5[h],r);return u.getBlob(o)}if(goog.global.Blob!==void 0)return u={},o&&(u.type=o),r&&(u.endings=r),new Blob(t$5,u);throw Error(`This browser doesn't seem to support creating Blobs`)},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()==`ar`||goog.LOCALE.substring(0,2).toLowerCase()==`fa`||goog.LOCALE.substring(0,2).toLowerCase()==`he`||goog.LOCALE.substring(0,2).toLowerCase()==`iw`||goog.LOCALE.substring(0,2).toLowerCase()==`ps`||goog.LOCALE.substring(0,2).toLowerCase()==`sd`||goog.LOCALE.substring(0,2).toLowerCase()==`ug`||goog.LOCALE.substring(0,2).toLowerCase()==`ur`||goog.LOCALE.substring(0,2).toLowerCase()==`yi`)&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)==`-`||goog.LOCALE.substring(2,3)==`_`)||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()==`ckb`&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)==`-`||goog.LOCALE.substring(3,4)==`_`)||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)==`-`||goog.LOCALE.substring(2,3)==`_`)&&(goog.LOCALE.substring(3,7).toLowerCase()==`adlm`||goog.LOCALE.substring(3,7).toLowerCase()==`arab`||goog.LOCALE.substring(3,7).toLowerCase()==`hebr`||goog.LOCALE.substring(3,7).toLowerCase()==`nkoo`||goog.LOCALE.substring(3,7).toLowerCase()==`rohg`||goog.LOCALE.substring(3,7).toLowerCase()==`thaa`)||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)==`-`||goog.LOCALE.substring(3,4)==`_`)&&(goog.LOCALE.substring(4,8).toLowerCase()==`adlm`||goog.LOCALE.substring(4,8).toLowerCase()==`arab`||goog.LOCALE.substring(4,8).toLowerCase()==`hebr`||goog.LOCALE.substring(4,8).toLowerCase()==`nkoo`||goog.LOCALE.substring(4,8).toLowerCase()==`rohg`||goog.LOCALE.substring(4,8).toLowerCase()==`thaa`),goog.i18n.bidi.Format={LRE:`‪`,RLE:`‫`,PDF:`‬`,LRM:`‎`,RLM:`‏`},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT=`right`,goog.i18n.bidi.LEFT=`left`,goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(t$5,o){return typeof t$5==`number`?0<t$5?goog.i18n.bidi.Dir.LTR:0>t$5?goog.i18n.bidi.Dir.RTL:o?null:goog.i18n.bidi.Dir.NEUTRAL:t$5==null?null:t$5?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_=`A-Za-zÀ-ÖØ-öø-ʸ̀-֐ऀ-῿‎Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-﬜︀-﹯﻽-￿`,goog.i18n.bidi.rtlChars_=`֑-ۯۺ-ࣿ‏\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ`,goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(t$5,o){return o?t$5.replace(goog.i18n.bidi.htmlSkipReg_,``):t$5},goog.i18n.bidi.rtlCharReg_=RegExp(`[`+goog.i18n.bidi.rtlChars_+`]`),goog.i18n.bidi.ltrCharReg_=RegExp(`[`+goog.i18n.bidi.ltrChars_+`]`),goog.i18n.bidi.hasAnyRtl=function(t$5,o){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(t$5,o){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o))},goog.i18n.bidi.ltrRe_=RegExp(`^[`+goog.i18n.bidi.ltrChars_+`]`),goog.i18n.bidi.rtlRe_=RegExp(`^[`+goog.i18n.bidi.rtlChars_+`]`),goog.i18n.bidi.isRtlChar=function(t$5){return goog.i18n.bidi.rtlRe_.test(t$5)},goog.i18n.bidi.isLtrChar=function(t$5){return goog.i18n.bidi.ltrRe_.test(t$5)},goog.i18n.bidi.isNeutralChar=function(t$5){return!goog.i18n.bidi.isLtrChar(t$5)&&!goog.i18n.bidi.isRtlChar(t$5)},goog.i18n.bidi.ltrDirCheckRe_=RegExp(`^[^`+goog.i18n.bidi.rtlChars_+`]*[`+goog.i18n.bidi.ltrChars_+`]`),goog.i18n.bidi.rtlDirCheckRe_=RegExp(`^[^`+goog.i18n.bidi.ltrChars_+`]*[`+goog.i18n.bidi.rtlChars_+`]`),goog.i18n.bidi.startsWithRtl=function(t$5,o){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(t$5,o){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(t$5,o){return t$5=goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o),goog.i18n.bidi.isRequiredLtrRe_.test(t$5)||!goog.i18n.bidi.hasAnyLtr(t$5)&&!goog.i18n.bidi.hasAnyRtl(t$5)},goog.i18n.bidi.ltrExitDirCheckRe_=RegExp(`[`+goog.i18n.bidi.ltrChars_+`][^`+goog.i18n.bidi.rtlChars_+`]*$`),goog.i18n.bidi.rtlExitDirCheckRe_=RegExp(`[`+goog.i18n.bidi.rtlChars_+`][^`+goog.i18n.bidi.ltrChars_+`]*$`),goog.i18n.bidi.endsWithLtr=function(t$5,o){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(t$5,o){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(t$5){return goog.i18n.bidi.rtlLocalesRe_.test(t$5)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(t$5,o){return o=(o===void 0?goog.i18n.bidi.hasAnyRtl(t$5):o)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,t$5.replace(goog.i18n.bidi.bracketGuardTextRe_,o+`$&`+o)},goog.i18n.bidi.enforceRtlInHtml=function(t$5){return t$5.charAt(0)==`<`?t$5.replace(/<\w+/,`$& dir=rtl`):`
23
+ <span dir=rtl>`+t$5+`</span>`},goog.i18n.bidi.enforceRtlInText=function(t$5){return goog.i18n.bidi.Format.RLE+t$5+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(t$5){return t$5.charAt(0)==`<`?t$5.replace(/<\w+/,`$& dir=ltr`):`
24
+ <span dir=ltr>`+t$5+`</span>`},goog.i18n.bidi.enforceLtrInText=function(t$5){return goog.i18n.bidi.Format.LRE+t$5+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(t$5){return t$5.replace(goog.i18n.bidi.dimensionsRe_,`:$1 $4 $3 $2`).replace(goog.i18n.bidi.leftRe_,`%%%%`).replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(t$5){return t$5.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,`$1״`).replace(goog.i18n.bidi.singleQuoteSubstituteRe_,`$1׳`)},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(t$5,o){var r=0,u=0,h=!1;for(t$5=goog.i18n.bidi.stripHtmlIfNeeded_(t$5,o).split(goog.i18n.bidi.wordSeparatorRe_),o=0;o<t$5.length;o++){var m=t$5[o];goog.i18n.bidi.startsWithRtl(m)?(r++,u++):goog.i18n.bidi.isRequiredLtrRe_.test(m)?h=!0:goog.i18n.bidi.hasAnyLtr(m)?u++:goog.i18n.bidi.hasNumeralsRe_.test(m)&&(h=!0)}return u==0?h?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/u>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(t$5,o){return goog.i18n.bidi.estimateDirection(t$5,o)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(t$5,o){t$5&&(o=goog.i18n.bidi.toDir(o))&&(t$5.style.textAlign=o==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,t$5.dir=o==goog.i18n.bidi.Dir.RTL?`rtl`:`ltr`)},goog.i18n.bidi.setElementDirByTextDirectionality=function(t$5,o){switch(goog.i18n.bidi.estimateDirection(o)){case goog.i18n.bidi.Dir.LTR:t$5.dir!==`ltr`&&(t$5.dir=`ltr`);break;case goog.i18n.bidi.Dir.RTL:t$5.dir!==`rtl`&&(t$5.dir=`rtl`);break;default:t$5.removeAttribute(`dir`)}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(t$5,o){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=o===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_?t$5:``},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(t$5,o){var r=goog.html.TrustedResourceUrl.unwrap(this);r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r);var u=r[3]||``;return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_(`?`,r[2]||``,t$5)+goog.html.TrustedResourceUrl.stringifyParams_(`#`,u,o))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return`TrustedResourceUrl{`+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+`}`}),goog.html.TrustedResourceUrl.unwrap=function(t$5){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t$5).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(t$5){return t$5 instanceof goog.html.TrustedResourceUrl&&t$5.constructor===goog.html.TrustedResourceUrl?t$5.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail(`expected object of type TrustedResourceUrl, got '`+t$5+`' of type `+goog.typeOf(t$5)),`type_error:TrustedResourceUrl`)},goog.html.TrustedResourceUrl.format=function(t$5,o){var r=goog.string.Const.unwrap(t$5);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error(`Invalid TrustedResourceUrl format: `+r);return t$5=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(u,h){if(!Object.prototype.hasOwnProperty.call(o,h))throw Error(`Found marker, "`+h+`", in format string, "`+r+`", but no valid label mapping found in args: `+JSON.stringify(o));return u=o[h],u instanceof goog.string.Const?goog.string.Const.unwrap(u):encodeURIComponent(String(u))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(t$5,o,r,u){return goog.html.TrustedResourceUrl.format(t$5,o).cloneWithParams(r,u)},goog.html.TrustedResourceUrl.fromConstant=function(t$5){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t$5))},goog.html.TrustedResourceUrl.fromConstants=function(t$5){for(var o=``,r=0;r<t$5.length;r++)o+=goog.string.Const.unwrap(t$5[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.fromSafeScript=function(t$5){return t$5=goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(t$5)],`text/javascript`),t$5=goog.fs.url.createObjectUrl(t$5),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(t$5){var o=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return t$5=o?o.createScriptURL(t$5):t$5,new goog.html.TrustedResourceUrl(t$5,goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.TrustedResourceUrl.stringifyParams_=function(t$5,o,r){if(r==null)return o;if(typeof r==`string`)return r?t$5+encodeURIComponent(r):``;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var h=r[u];h=Array.isArray(h)?h:[h];for(var m=0;m<h.length;m++){var y=h[m];y!=null&&(o||=t$5,o+=(o.length>t$5.length?`&`:``)+encodeURIComponent(u)+`=`+encodeURIComponent(String(y)))}}return o},goog.string.internal={},goog.string.internal.startsWith=function(t$5,o){return t$5.lastIndexOf(o,0)==0},goog.string.internal.endsWith=function(t$5,o){var r=t$5.length-o.length;return 0<=r&&t$5.indexOf(o,r)==r},goog.string.internal.caseInsensitiveStartsWith=function(t$5,o){return goog.string.internal.caseInsensitiveCompare(o,t$5.substr(0,o.length))==0},goog.string.internal.caseInsensitiveEndsWith=function(t$5,o){return goog.string.internal.caseInsensitiveCompare(o,t$5.substr(t$5.length-o.length,o.length))==0},goog.string.internal.caseInsensitiveEquals=function(t$5,o){return t$5.toLowerCase()==o.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(t$5){return/^[\s\xa0]*$/.test(t$5)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(t$5){return t$5.trim()}:function(t$5){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t$5)[1]},goog.string.internal.caseInsensitiveCompare=function(t$5,o){return t$5=String(t$5).toLowerCase(),o=String(o).toLowerCase(),t$5<o?-1:t$5==o?0:1},goog.string.internal.newLineToBr=function(t$5,o){return t$5.replace(/(\r\n|\r|\n)/g,o?`<br />`:`<br>`)},goog.string.internal.htmlEscape=function(t$5,o){if(o)t$5=t$5.replace(goog.string.internal.AMP_RE_,`&amp;`).replace(goog.string.internal.LT_RE_,`&lt;`).replace(goog.string.internal.GT_RE_,`&gt;`).replace(goog.string.internal.QUOT_RE_,`&quot;`).replace(goog.string.internal.SINGLE_QUOTE_RE_,`&#39;`).replace(goog.string.internal.NULL_RE_,`&#0;`);else{if(!goog.string.internal.ALL_RE_.test(t$5))return t$5;t$5.indexOf(`&`)!=-1&&(t$5=t$5.replace(goog.string.internal.AMP_RE_,`&amp;`)),t$5.indexOf(`<`)!=-1&&(t$5=t$5.replace(goog.string.internal.LT_RE_,`&lt;`)),t$5.indexOf(`>`)!=-1&&(t$5=t$5.replace(goog.string.internal.GT_RE_,`&gt;`)),t$5.indexOf(`"`)!=-1&&(t$5=t$5.replace(goog.string.internal.QUOT_RE_,`&quot;`)),t$5.indexOf(`'`)!=-1&&(t$5=t$5.replace(goog.string.internal.SINGLE_QUOTE_RE_,`&#39;`)),t$5.indexOf(`\0`)!=-1&&(t$5=t$5.replace(goog.string.internal.NULL_RE_,`&#0;`))}return t$5},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(t$5,o){return goog.string.internal.newLineToBr(t$5.replace(/ /g,` &#160;`),o)},goog.string.internal.contains=function(t$5,o){return t$5.indexOf(o)!=-1},goog.string.internal.caseInsensitiveContains=function(t$5,o){return goog.string.internal.contains(t$5.toLowerCase(),o.toLowerCase())},goog.string.internal.compareVersions=function(t$5,o){var r=0;t$5=goog.string.internal.trim(String(t$5)).split(`.`),o=goog.string.internal.trim(String(o)).split(`.`);for(var u=Math.max(t$5.length,o.length),h=0;r==0&&h<u;h++){var m=t$5[h]||``,y=o[h]||``;do{if(m=/(\d*)(\D*)(.*)/.exec(m)||[``,``,``,``],y=/(\d*)(\D*)(.*)/.exec(y)||[``,``,``,``],m[0].length==0&&y[0].length==0)break;r=m[1].length==0?0:parseInt(m[1],10);var S=y[1].length==0?0:parseInt(y[1],10);r=goog.string.internal.compareElements_(r,S)||goog.string.internal.compareElements_(m[2].length==0,y[2].length==0)||goog.string.internal.compareElements_(m[2],y[2]),m=m[3],y=y[3]}while(r==0)}return r},goog.string.internal.compareElements_=function(t$5,o){return t$5<o?-1:t$5>o?1:0},goog.html.SafeUrl=function(t$5,o){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=o===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_?t$5:``},goog.html.SafeUrl.INNOCUOUS_STRING=`about:invalid#zClosurez`,goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return`SafeUrl{`+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+`}`}),goog.html.SafeUrl.unwrap=function(t$5){return t$5 instanceof goog.html.SafeUrl&&t$5.constructor===goog.html.SafeUrl?t$5.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail(`expected object of type SafeUrl, got '`+t$5+`' of type `+goog.typeOf(t$5)),`type_error:SafeUrl`)},goog.html.SafeUrl.fromConstant=function(t$5){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t$5))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(t$5){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(t$5)},goog.html.SafeUrl.fromBlob=function(t$5){return t$5=goog.html.SafeUrl.isSafeMimeType(t$5.type)?goog.fs.url.createObjectUrl(t$5):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SafeUrl.revokeObjectUrl=function(t$5){t$5=t$5.getTypedStringValue(),t$5!==goog.html.SafeUrl.INNOCUOUS_STRING&&goog.fs.url.revokeObjectUrl(t$5)},goog.html.SafeUrl.fromMediaSource=function(t$5){return goog.asserts.assert(`MediaSource`in goog.global,`No support for MediaSource`),t$5=t$5 instanceof MediaSource?goog.fs.url.createObjectUrl(t$5):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.tryFromDataUrl=function(t$5){t$5=String(t$5),t$5=t$5.replace(/(%0A|%0D)/g,``);var o=t$5.match(goog.html.DATA_URL_PATTERN_);return o&&goog.html.SafeUrl.isSafeMimeType(o[1])?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5):null},goog.html.SafeUrl.fromDataUrl=function(t$5){return goog.html.SafeUrl.tryFromDataUrl(t$5)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.fromTelUrl=function(t$5){return goog.string.internal.caseInsensitiveStartsWith(t$5,`tel:`)||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(t$5){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(t$5))||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(t$5){return goog.string.internal.caseInsensitiveStartsWith(t$5,`fb-messenger://share`)||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SafeUrl.fromWhatsAppUrl=function(t$5){return goog.string.internal.caseInsensitiveStartsWith(t$5,`whatsapp://send`)||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SafeUrl.fromSmsUrl=function(t$5){return goog.string.internal.caseInsensitiveStartsWith(t$5,`sms:`)&&goog.html.SafeUrl.isSmsUrlBodyValid_(t$5)||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(t$5){var o=t$5.indexOf(`#`);if(0<o&&(t$5=t$5.substring(0,o)),o=t$5.match(/[?&]body=/gi),!o)return!0;if(1<o.length)return!1;if(t$5=t$5.match(/[?&]body=([^&]*)/)[1],!t$5)return!0;try{decodeURIComponent(t$5)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(t$5)},goog.html.SafeUrl.fromSshUrl=function(t$5){return goog.string.internal.caseInsensitiveStartsWith(t$5,`ssh://`)||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(t$5,o){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,t$5,o)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(t$5,o){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,t$5,o)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(t$5,o){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,t$5,o)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(t$5,o,r){return(t$5=t$5.exec(o))?(t$5=t$5[1],(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(u){return goog.string.Const.unwrap(u)})).indexOf(t$5)==-1&&(o=goog.html.SafeUrl.INNOCUOUS_STRING)):o=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromTrustedResourceUrl=function(t$5){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(t$5))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.trySanitize=function(t$5){return t$5 instanceof goog.html.SafeUrl?t$5:(t$5=typeof t$5==`object`&&t$5.implementsGoogStringTypedString?t$5.getTypedStringValue():String(t$5),goog.html.SAFE_URL_PATTERN_.test(t$5)?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5):goog.html.SafeUrl.tryFromDataUrl(t$5))},goog.html.SafeUrl.sanitize=function(t$5){return goog.html.SafeUrl.trySanitize(t$5)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.sanitizeAssertUnchanged=function(t$5,o){return t$5 instanceof goog.html.SafeUrl?t$5:(t$5=typeof t$5==`object`&&t$5.implementsGoogStringTypedString?t$5.getTypedStringValue():String(t$5),o&&/^data:/i.test(t$5)&&(o=goog.html.SafeUrl.fromDataUrl(t$5),o.getTypedStringValue()==t$5)?o:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(t$5),`%s does not match the safe URL pattern`,t$5)||(t$5=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t$5)))},goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(t$5){return new goog.html.SafeUrl(t$5,goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeUrl.INNOCUOUS_URL=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(`about:blank`),goog.html.SafeStyle=function(t$5,o){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=o===goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_?t$5:``},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.fromConstant=function(t$5){return t$5=goog.string.Const.unwrap(t$5),t$5.length===0?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(t$5,`;`),`Last character of style string is not ';': `+t$5),goog.asserts.assert(goog.string.internal.contains(t$5,`:`),`Style string must contain at least one ':', to specify a "name: value" pair: `+t$5),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t$5))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return`SafeStyle{`+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+`}`}),goog.html.SafeStyle.unwrap=function(t$5){return t$5 instanceof goog.html.SafeStyle&&t$5.constructor===goog.html.SafeStyle?t$5.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail(`expected object of type SafeStyle, got '`+t$5+`' of type `+goog.typeOf(t$5)),`type_error:SafeStyle`)},goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(t$5){return new goog.html.SafeStyle(t$5,goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(``),goog.html.SafeStyle.INNOCUOUS_STRING=`zClosurez`,goog.html.SafeStyle.create=function(t$5){var o=``,r;for(r in t$5)if(Object.prototype.hasOwnProperty.call(t$5,r)){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error(`Name allows only [-_a-zA-Z0-9], got: `+r);var u=t$5[r];u!=null&&(u=Array.isArray(u)?module$contents$goog$array_map(u,goog.html.SafeStyle.sanitizePropertyValue_).join(` `):goog.html.SafeStyle.sanitizePropertyValue_(u),o+=r+`:`+u+`;`)}return o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(t$5){if(t$5 instanceof goog.html.SafeUrl)return`url("`+goog.html.SafeUrl.unwrap(t$5).replace(/</g,`%3c`).replace(/[\\"]/g,`\\$&`)+`")`;if(t$5=t$5 instanceof goog.string.Const?goog.string.Const.unwrap(t$5):goog.html.SafeStyle.sanitizePropertyValueString_(String(t$5)),/[{;}]/.test(t$5))throw new goog.asserts.AssertionError(`Value does not allow [{;}], got: %s.`,[t$5]);return t$5},goog.html.SafeStyle.sanitizePropertyValueString_=function(t$5){var o=t$5.replace(goog.html.SafeStyle.FUNCTIONS_RE_,`$1`).replace(goog.html.SafeStyle.FUNCTIONS_RE_,`$1`).replace(goog.html.SafeStyle.URL_RE_,`url`);if(goog.html.SafeStyle.VALUE_RE_.test(o)){if(goog.html.SafeStyle.COMMENT_RE_.test(t$5))return goog.asserts.fail(`String value disallows comments, got: `+t$5),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedQuotes_(t$5))return goog.asserts.fail(`String value requires balanced quotes, got: `+t$5),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedSquareBrackets_(t$5))return goog.asserts.fail(`String value requires balanced square brackets and one identifier per pair of brackets, got: `+t$5),goog.html.SafeStyle.INNOCUOUS_STRING}else return goog.asserts.fail(`String value allows only `+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+` and simple functions, got: `+t$5),goog.html.SafeStyle.INNOCUOUS_STRING;return goog.html.SafeStyle.sanitizeUrl_(t$5)},goog.html.SafeStyle.hasBalancedQuotes_=function(t$5){for(var o=!0,r=!0,u=0;u<t$5.length;u++){var h=t$5.charAt(u);h==`'`&&r?o=!o:h==`"`&&o&&(r=!r)}return o&&r},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(t$5){for(var o=!0,r=/^[-_a-zA-Z0-9]$/,u=0;u<t$5.length;u++){var h=t$5.charAt(u);if(h==`]`){if(o)return!1;o=!0}else if(h==`[`){if(!o)return!1;o=!1}else if(!o&&!r.test(h))return!1}return o},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=`[-,."'%_!# a-zA-Z0-9\\[\\]]`,goog.html.SafeStyle.VALUE_RE_=RegExp(`^`+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+`+$`),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_=`calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?`.split(` `),goog.html.SafeStyle.FUNCTIONS_RE_=RegExp(`\\b(`+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join(`|`)+`)\\([-+*/0-9a-z.%\\[\\], ]+\\)`,`g`),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(t$5){return t$5.replace(goog.html.SafeStyle.URL_RE_,function(o,r,u,h){var m=``;return u=u.replace(/^(['"])(.*)\1$/,function(y,S,_){return m=S,_}),o=goog.html.SafeUrl.sanitize(u).getTypedStringValue(),r+m+o+m+h})},goog.html.SafeStyle.concat=function(t$5){var o=``,r=function(u){Array.isArray(u)?module$contents$goog$array_forEach(u,r):o+=goog.html.SafeStyle.unwrap(u)};return module$contents$goog$array_forEach(arguments,r),o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY};var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet=function(t$5,o){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=o===module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE?t$5:``,this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule=function(t$5,o){if((0,goog.string.internal.contains)(t$5,`<`))throw Error(`Selector does not allow '<', got: `+t$5);var r=t$5.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,``);if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error(`Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: `+t$5);if(!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(r))throw Error(`() and [] in selector must be balanced, got: `+t$5);return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),t$5=t$5+`{`+goog.html.SafeStyle.unwrap(o).replace(/</g,`\\3C `)+`}`,module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t$5)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_=function(t$5){for(var o={"(":`)`,"[":`]`},r=[],u=0;u<t$5.length;u++){var h=t$5[u];if(o[h])r.push(o[h]);else if(goog.object.contains(o,h)&&r.pop()!=h)return!1}return r.length==0},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat=function(t$5){var o=``,r=function(u){Array.isArray(u)?module$contents$goog$array_forEach(u,r):o+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(u)};return module$contents$goog$array_forEach(arguments,r),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant=function(t$5){return t$5=goog.string.Const.unwrap(t$5),t$5.length===0?module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY:((0,goog.asserts.assert)(!(0,goog.string.internal.contains)(t$5,`<`),`Forbidden '<' character in style sheet string: `+t$5),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t$5))},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap=function(t$5){return t$5 instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet&&t$5.constructor===module$contents$goog$html$SafeStyleSheet_SafeStyleSheet?t$5.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:((0,goog.asserts.fail)(`expected object of type SafeStyleSheet, got '`+t$5+`' of type `+goog.typeOf(t$5)),`type_error:SafeStyleSheet`)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(t$5){return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(t$5,module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString=function(){return`SafeStyleSheet{`+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+`}`}),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(``),goog.html.SafeStyleSheet=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet,goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var t$5=goog.labs.userAgent.util.getNavigator_();return(t$5&&=t$5.userAgent)?t$5:``},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(t$5){goog.labs.userAgent.util.userAgent_=t$5||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(t$5){var o=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(o,t$5)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(t$5){var o=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(o,t$5)},goog.labs.userAgent.util.extractVersionTuples=function(t$5){for(var o=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[],u;u=o.exec(t$5);)r.push([u[1],u[2],u[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent(`Opera`)},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent(`Trident`)||goog.labs.userAgent.util.matchUserAgent(`MSIE`)},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent(`Edge`)},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent(`Edg/`)},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent(`OPR`)},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent(`Firefox`)||goog.labs.userAgent.util.matchUserAgent(`FxiOS`)},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent(`Safari`)&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent(`Android`))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent(`Coast`)},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent(`iPad`)||goog.labs.userAgent.util.matchUserAgent(`iPhone`))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent(`AppleWebKit`)},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent(`Chrome`)||goog.labs.userAgent.util.matchUserAgent(`CriOS`))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent(`Android`)&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent(`Silk`)},goog.labs.userAgent.browser.getVersion=function(){function t$5(h){return h=module$contents$goog$array_find(h,u),r[h]||``}var o=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(o);o=goog.labs.userAgent.util.extractVersionTuples(o);var r={};module$contents$goog$array_forEach(o,function(h){r[h[0]]=h[1]});var u=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?t$5([`Version`,`Opera`]):goog.labs.userAgent.browser.isEdge()?t$5([`Edge`]):goog.labs.userAgent.browser.isEdgeChromium()?t$5([`Edg`]):goog.labs.userAgent.browser.isChrome()?t$5([`Chrome`,`CriOS`,`HeadlessChrome`]):(o=o[2])&&o[1]||``},goog.labs.userAgent.browser.isVersionOrHigher=function(t$5){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),t$5)},goog.labs.userAgent.browser.getIEVersion_=function(t$5){var o=/rv: *([\d\.]*)/.exec(t$5);if(o&&o[1])return o[1];o=``;var r=/MSIE +([\d\.]+)/.exec(t$5);if(r&&r[1])if(t$5=/Trident\/(\d.\d)/.exec(t$5),r[1]==`7.0`)if(t$5&&t$5[1])switch(t$5[1]){case`4.0`:o=`8.0`;break;case`5.0`:o=`9.0`;break;case`6.0`:o=`10.0`;break;case`7.0`:o=`11.0`}else o=`7.0`;else o=r[1];return o},goog.html.SafeHtml=function(t$5,o,r){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=r===goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_?t$5:``,this.dir_=o},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return`SafeHtml{`+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+`}`}),goog.html.SafeHtml.unwrap=function(t$5){return goog.html.SafeHtml.unwrapTrustedHTML(t$5).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(t$5){return t$5 instanceof goog.html.SafeHtml&&t$5.constructor===goog.html.SafeHtml?t$5.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail(`expected object of type SafeHtml, got '`+t$5+`' of type `+goog.typeOf(t$5)),`type_error:SafeHtml`)},goog.html.SafeHtml.htmlEscape=function(t$5){if(t$5 instanceof goog.html.SafeHtml)return t$5;var o=typeof t$5==`object`,r=null;return o&&t$5.implementsGoogI18nBidiDirectionalString&&(r=t$5.getDirection()),t$5=o&&t$5.implementsGoogStringTypedString?t$5.getTypedStringValue():String(t$5),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(t$5),r)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(t$5){return t$5 instanceof goog.html.SafeHtml?t$5:(t$5=goog.html.SafeHtml.htmlEscape(t$5),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(t$5)),t$5.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(t$5){return t$5 instanceof goog.html.SafeHtml?t$5:(t$5=goog.html.SafeHtml.htmlEscape(t$5),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(t$5)),t$5.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(t$5){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(`<!--`+goog.string.internal.htmlEscape(t$5)+`-->`,null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_=goog.object.createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagName.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT,goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE),goog.html.SafeHtml.create=function(t$5,o,r){return goog.html.SafeHtml.verifyTagName(String(t$5)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(t$5),o,r)},goog.html.SafeHtml.verifyTagName=function(t$5){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(t$5))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Invalid tag name <`+t$5+`>.`:``);if(t$5.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Tag name <`+t$5+`> is not allowed for SafeHtml.`:``)},goog.html.SafeHtml.createIframe=function(t$5,o,r,u){t$5&&goog.html.TrustedResourceUrl.unwrap(t$5);var h={};return h.src=t$5||null,h.srcdoc=o&&goog.html.SafeHtml.unwrap(o),t$5=goog.html.SafeHtml.combineAttributes(h,{sandbox:``},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(`iframe`,t$5,u)},goog.html.SafeHtml.createSandboxIframe=function(t$5,o,r,u){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`The browser does not support sandboxed iframes.`:``);var h={};return h.src=t$5?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t$5)):null,h.srcdoc=o||null,h.sandbox=``,t$5=goog.html.SafeHtml.combineAttributes(h,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(`iframe`,t$5,u)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&`sandbox`in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(t$5,o){return goog.html.TrustedResourceUrl.unwrap(t$5),t$5=goog.html.SafeHtml.combineAttributes({src:t$5},{},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(`script`,t$5)},goog.html.SafeHtml.createScript=function(t$5,o){for(var r in o)if(Object.prototype.hasOwnProperty.call(o,r)){var u=r.toLowerCase();if(u==`language`||u==`src`||u==`text`||u==`type`)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Cannot set "`+u+`" attribute`:``)}for(r=``,t$5=module$contents$goog$array_concat(t$5),u=0;u<t$5.length;u++)r+=module$contents$goog$html$SafeScript_SafeScript.unwrap(t$5[u]);return t$5=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(`script`,o,t$5)},goog.html.SafeHtml.createStyle=function(t$5,o){o=goog.html.SafeHtml.combineAttributes({type:`text/css`},{},o);var r=``;t$5=module$contents$goog$array_concat(t$5);for(var u=0;u<t$5.length;u++)r+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(t$5[u]);return t$5=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(`style`,o,t$5)},goog.html.SafeHtml.createMetaRefresh=function(t$5,o){return t$5=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t$5)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(t$5,`;`)&&(t$5=`'`+t$5.replace(/'/g,`%27`)+`'`),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(`meta`,{"http-equiv":`refresh`,content:(o||0)+`; url=`+t$5})},goog.html.SafeHtml.getAttrNameAndValue_=function(t$5,o,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if(o.toLowerCase()==`style`)if(goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)r=goog.html.SafeHtml.getStyleValue_(r);else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Attribute "style" not supported.`:``);else{if(/^on/i.test(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Attribute "`+o+`" requires goog.string.Const value, "`+r+`" given.`:``);if(o.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else if(typeof r==`string`)r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Attribute "`+o+`" on tag "`+t$5+`" requires goog.html.SafeUrl, goog.string.Const, or string, value "`+r+`" given.`:``)}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert(typeof r==`string`||typeof r==`number`,`String or number value expected, got `+typeof r+` with value: `+r),o+`="`+goog.string.internal.htmlEscape(String(r))+`"`},goog.html.SafeHtml.getStyleValue_=function(t$5){if(!goog.isObject(t$5))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`The "style" attribute requires goog.html.SafeStyle or map of style properties, `+typeof t$5+` given: `+t$5:``);return t$5 instanceof goog.html.SafeStyle||(t$5=goog.html.SafeStyle.create(t$5)),goog.html.SafeStyle.unwrap(t$5)},goog.html.SafeHtml.createWithDir=function(t$5,o,r,u){return o=goog.html.SafeHtml.create(o,r,u),o.dir_=t$5,o},goog.html.SafeHtml.join=function(t$5,o){t$5=goog.html.SafeHtml.htmlEscape(t$5);var r=t$5.getDirection(),u=[],h=function(m){Array.isArray(m)?module$contents$goog$array_forEach(m,h):(m=goog.html.SafeHtml.htmlEscape(m),u.push(goog.html.SafeHtml.unwrap(m)),m=m.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=m:m!=goog.i18n.bidi.Dir.NEUTRAL&&r!=m&&(r=null))};return module$contents$goog$array_forEach(o,h),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(u.join(goog.html.SafeHtml.unwrap(t$5)),r)},goog.html.SafeHtml.concat=function(t$5){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(t$5,o){var r=goog.html.SafeHtml.concat(module$contents$goog$array_slice(arguments,1));return r.dir_=t$5,r},goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(t$5,o){var r=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return t$5=r?r.createHTML(t$5):t$5,new goog.html.SafeHtml(t$5,o,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(t$5,o,r){var u=null,h=`<`+t$5+goog.html.SafeHtml.stringifyAttributes(t$5,o);return r==null?r=[]:Array.isArray(r)||(r=[r]),goog.dom.tags.isVoidTag(t$5.toLowerCase())?(goog.asserts.assert(!r.length,`Void tag <`+t$5+`> does not allow content.`),h+=`>`):(u=goog.html.SafeHtml.concat(r),h+=`>`+goog.html.SafeHtml.unwrap(u)+`</`+t$5+`>`,u=u.getDirection()),(t$5=o&&o.dir)&&(u=/^(ltr|rtl|auto)$/i.test(t$5)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(h,u)},goog.html.SafeHtml.stringifyAttributes=function(t$5,o){var r=``;if(o){for(var u in o)if(Object.prototype.hasOwnProperty.call(o,u)){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(u))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Invalid attribute name "`+u+`".`:``);var h=o[u];h!=null&&(r+=` `+goog.html.SafeHtml.getAttrNameAndValue_(t$5,u,h))}}return r},goog.html.SafeHtml.combineAttributes=function(t$5,o,r){var u={},h;for(h in t$5)Object.prototype.hasOwnProperty.call(t$5,h)&&(goog.asserts.assert(h.toLowerCase()==h,`Must be lower case`),u[h]=t$5[h]);for(h in o)Object.prototype.hasOwnProperty.call(o,h)&&(goog.asserts.assert(h.toLowerCase()==h,`Must be lower case`),u[h]=o[h]);if(r){for(h in r)if(Object.prototype.hasOwnProperty.call(r,h)){var m=h.toLowerCase();if(m in t$5)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?`Cannot override "`+m+`" attribute, got "`+h+`" with value "`+r[h]+`"`:``);m in o&&delete u[m],u[h]=r[h]}}return u},goog.html.SafeHtml.DOCTYPE_HTML=function(){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(`<!DOCTYPE html>`,goog.i18n.bidi.Dir.NEUTRAL)}(),goog.html.SafeHtml.EMPTY=new goog.html.SafeHtml(goog.global.trustedTypes&&goog.global.trustedTypes.emptyHTML||``,goog.i18n.bidi.Dir.NEUTRAL,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_),goog.html.SafeHtml.BR=function(){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(`<br>`,goog.i18n.bidi.Dir.NEUTRAL)}(),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(t$5,o,r){return goog.asserts.assertString(goog.string.Const.unwrap(t$5),`must provide justification`),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t$5)),`must provide non-empty justification`),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,r||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(t$5,o){return goog.asserts.assertString(goog.string.Const.unwrap(t$5),`must provide justification`),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t$5)),`must provide non-empty justification`),module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(t$5,o){return goog.asserts.assertString(goog.string.Const.unwrap(t$5),`must provide justification`),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t$5)),`must provide non-empty justification`),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(t$5,o){return goog.asserts.assertString(goog.string.Const.unwrap(t$5),`must provide justification`),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t$5)),`must provide non-empty justification`),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(t$5,o){return goog.asserts.assertString(goog.string.Const.unwrap(t$5),`must provide justification`),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t$5)),`must provide non-empty justification`),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(t$5,o){return goog.asserts.assertString(goog.string.Const.unwrap(t$5),`must provide justification`),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t$5)),`must provide non-empty justification`),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:`afterbegin`,AFTEREND:`afterend`,BEFOREBEGIN:`beforebegin`,BEFOREEND:`beforeend`},goog.dom.safe.insertAdjacentHtml=function(t$5,o,r){t$5.insertAdjacentHTML(o,goog.html.SafeHtml.unwrapTrustedHTML(r))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>`u`)return!1;var t$5=document.createElement(`div`),o=document.createElement(`div`);return o.appendChild(document.createElement(`div`)),t$5.appendChild(o),goog.DEBUG&&!t$5.firstChild?!1:(o=t$5.firstChild.firstChild,t$5.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!o.parentElement)}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(t$5,o){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;t$5.lastChild;)t$5.removeChild(t$5.lastChild);t$5.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(o)},goog.dom.safe.setInnerHtml=function(t$5,o){if(goog.asserts.ENABLE_ASSERTS&&t$5.tagName){var r=t$5.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error(`goog.dom.safe.setInnerHtml cannot be used to set content of `+t$5.tagName+`.`)}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(t$5,o)},goog.dom.safe.setInnerHtmlFromConstant=function(t$5,o){goog.dom.safe.setInnerHtml(t$5,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from(`Constant HTML to be immediatelly used.`),goog.string.Const.unwrap(o)))},goog.dom.safe.setOuterHtml=function(t$5,o){t$5.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(o)},goog.dom.safe.setFormElementAction=function(t$5,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),goog.dom.asserts.assertIsHTMLFormElement(t$5).action=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setButtonFormAction=function(t$5,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),goog.dom.asserts.assertIsHTMLButtonElement(t$5).formAction=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setInputFormAction=function(t$5,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),goog.dom.asserts.assertIsHTMLInputElement(t$5).formAction=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setStyle=function(t$5,o){t$5.style.cssText=goog.html.SafeStyle.unwrap(o)},goog.dom.safe.documentWrite=function(t$5,o){t$5.write(goog.html.SafeHtml.unwrapTrustedHTML(o))},goog.dom.safe.setAnchorHref=function(t$5,o){goog.dom.asserts.assertIsHTMLAnchorElement(t$5),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t$5.href=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setImageSrc=function(t$5,o){if(goog.dom.asserts.assertIsHTMLImageElement(t$5),!(o instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(o);o=goog.html.SafeUrl.sanitizeAssertUnchanged(o,r)}t$5.src=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setAudioSrc=function(t$5,o){if(goog.dom.asserts.assertIsHTMLAudioElement(t$5),!(o instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(o);o=goog.html.SafeUrl.sanitizeAssertUnchanged(o,r)}t$5.src=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setVideoSrc=function(t$5,o){if(goog.dom.asserts.assertIsHTMLVideoElement(t$5),!(o instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(o);o=goog.html.SafeUrl.sanitizeAssertUnchanged(o,r)}t$5.src=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.setEmbedSrc=function(t$5,o){goog.dom.asserts.assertIsHTMLEmbedElement(t$5),t$5.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o)},goog.dom.safe.setFrameSrc=function(t$5,o){goog.dom.asserts.assertIsHTMLFrameElement(t$5),t$5.src=goog.html.TrustedResourceUrl.unwrap(o)},goog.dom.safe.setIframeSrc=function(t$5,o){goog.dom.asserts.assertIsHTMLIFrameElement(t$5),t$5.src=goog.html.TrustedResourceUrl.unwrap(o)},goog.dom.safe.setIframeSrcdoc=function(t$5,o){goog.dom.asserts.assertIsHTMLIFrameElement(t$5),t$5.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(o)},goog.dom.safe.setLinkHrefAndRel=function(t$5,o,r){goog.dom.asserts.assertIsHTMLLinkElement(t$5),t$5.rel=r,goog.string.internal.caseInsensitiveContains(r,`stylesheet`)?(goog.asserts.assert(o instanceof goog.html.TrustedResourceUrl,`URL must be TrustedResourceUrl because "rel" contains "stylesheet"`),t$5.href=goog.html.TrustedResourceUrl.unwrap(o)):t$5.href=o instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(o):o instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(o):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(o))},goog.dom.safe.setObjectData=function(t$5,o){goog.dom.asserts.assertIsHTMLObjectElement(t$5),t$5.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o)},goog.dom.safe.setScriptSrc=function(t$5,o){goog.dom.asserts.assertIsHTMLScriptElement(t$5),t$5.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o),goog.dom.safe.setNonceForScriptElement_(t$5)},goog.dom.safe.setScriptContent=function(t$5,o){goog.dom.asserts.assertIsHTMLScriptElement(t$5),t$5.textContent=module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(o),goog.dom.safe.setNonceForScriptElement_(t$5)},goog.dom.safe.setNonceForScriptElement_=function(t$5){var o=goog.getScriptNonce(t$5.ownerDocument&&t$5.ownerDocument.defaultView);o&&t$5.setAttribute(`nonce`,o)},goog.dom.safe.setLocationHref=function(t$5,o){goog.dom.asserts.assertIsLocation(t$5),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t$5.href=goog.html.SafeUrl.unwrap(o)},goog.dom.safe.assignLocation=function(t$5,o){goog.dom.asserts.assertIsLocation(t$5),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t$5.assign(goog.html.SafeUrl.unwrap(o))},goog.dom.safe.replaceLocation=function(t$5,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t$5.replace(goog.html.SafeUrl.unwrap(o))},goog.dom.safe.openInWindow=function(t$5,o,r,u,h){return t$5=t$5 instanceof goog.html.SafeUrl?t$5:goog.html.SafeUrl.sanitizeAssertUnchanged(t$5),o||=goog.global,r=r instanceof goog.string.Const?goog.string.Const.unwrap(r):r||``,o.open(goog.html.SafeUrl.unwrap(t$5),r,u,h)},goog.dom.safe.parseFromStringHtml=function(t$5,o){return goog.dom.safe.parseFromString(t$5,o,`text/html`)},goog.dom.safe.parseFromString=function(t$5,o,r){return t$5.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(o),r)},goog.dom.safe.createImageFromBlob=function(t$5){if(!/^image\/.*/g.test(t$5.type))throw Error(`goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.`);var o=goog.global.URL.createObjectURL(t$5);return t$5=new goog.global.Image,t$5.onload=function(){goog.global.URL.revokeObjectURL(o)},goog.dom.safe.setImageSrc(t$5,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from(`Image blob URL.`),o)),t$5},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:`\xA0`},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(t$5,o){for(var r=t$5.split(`%s`),u=``,h=Array.prototype.slice.call(arguments,1);h.length&&1<r.length;)u+=r.shift()+h.shift();return u+r.join(`%s`)},goog.string.collapseWhitespace=function(t$5){return t$5.replace(/[\s\xa0]+/g,` `).replace(/^\s+|\s+$/g,``)},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(t$5){return t$5.length==0},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(t$5){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(t$5))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(t$5){return!/[^\t\n\r ]/.test(t$5)},goog.string.isAlpha=function(t$5){return!/[^a-zA-Z]/.test(t$5)},goog.string.isNumeric=function(t$5){return!/[^0-9]/.test(t$5)},goog.string.isAlphaNumeric=function(t$5){return!/[^a-zA-Z0-9]/.test(t$5)},goog.string.isSpace=function(t$5){return t$5==` `},goog.string.isUnicodeChar=function(t$5){return t$5.length==1&&` `<=t$5&&`~`>=t$5||`€`<=t$5&&`�`>=t$5},goog.string.stripNewlines=function(t$5){return t$5.replace(/(\r\n|\r|\n)+/g,` `)},goog.string.canonicalizeNewlines=function(t$5){return t$5.replace(/(\r\n|\r|\n)/g,`
25
+ `)},goog.string.normalizeWhitespace=function(t$5){return t$5.replace(/\xa0|\s/g,` `)},goog.string.normalizeSpaces=function(t$5){return t$5.replace(/\xa0|[ \t]+/g,` `)},goog.string.collapseBreakingSpaces=function(t$5){return t$5.replace(/[\t\r\n ]+/g,` `).replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,``)},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(t$5){return t$5.replace(/^[\s\xa0]+/,``)},goog.string.trimRight=function(t$5){return t$5.replace(/[\s\xa0]+$/,``)},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(t$5,o,r){if(t$5==o)return 0;if(!t$5)return-1;if(!o)return 1;for(var u=t$5.toLowerCase().match(r),h=o.toLowerCase().match(r),m=Math.min(u.length,h.length),y=0;y<m;y++){r=u[y];var S=h[y];if(r!=S)return t$5=parseInt(r,10),!isNaN(t$5)&&(o=parseInt(S,10),!isNaN(o)&&t$5-o)?t$5-o:r<S?-1:1}return u.length==h.length?t$5<o?-1:1:u.length-h.length},goog.string.intAwareCompare=function(t$5,o){return goog.string.numberAwareCompare_(t$5,o,/\d+|\D+/g)},goog.string.floatAwareCompare=function(t$5,o){return goog.string.numberAwareCompare_(t$5,o,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(t$5){return encodeURIComponent(String(t$5))},goog.string.urlDecode=function(t$5){return decodeURIComponent(t$5.replace(/\+/g,` `))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(t$5,o){return t$5=goog.string.internal.htmlEscape(t$5,o),goog.string.DETECT_DOUBLE_ESCAPING&&(t$5=t$5.replace(goog.string.E_RE_,`&#101;`)),t$5},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(t$5){return goog.string.contains(t$5,`&`)?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&`document`in goog.global?goog.string.unescapeEntitiesUsingDom_(t$5):goog.string.unescapePureXmlEntities_(t$5):t$5},goog.string.unescapeEntitiesWithDocument=function(t$5,o){return goog.string.contains(t$5,`&`)?goog.string.unescapeEntitiesUsingDom_(t$5,o):t$5},goog.string.unescapeEntitiesUsingDom_=function(t$5,o){var r={"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`},u=o?o.createElement(`div`):goog.global.document.createElement(`div`);return t$5.replace(goog.string.HTML_ENTITY_PATTERN_,function(h,m){var y=r[h];return y||(m.charAt(0)==`#`&&(m=+(`0`+m.substr(1)),isNaN(m)||(y=String.fromCharCode(m))),y||(goog.dom.safe.setInnerHtml(u,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from(`Single HTML entity.`),h+` `)),y=u.firstChild.nodeValue.slice(0,-1)),r[h]=y)})},goog.string.unescapePureXmlEntities_=function(t$5){return t$5.replace(/&([^;]+);/g,function(o,r){switch(r){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;case`quot`:return`"`;default:return r.charAt(0)!=`#`||(r=+(`0`+r.substr(1)),isNaN(r))?o:String.fromCharCode(r)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(t$5,o){return goog.string.newLineToBr(t$5.replace(/ /g,` &#160;`),o)},goog.string.preserveSpaces=function(t$5){return t$5.replace(/(^|[\n ]) /g,`$1`+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(t$5,o){for(var r=o.length,u=0;u<r;u++){var h=r==1?o:o.charAt(u);if(t$5.charAt(0)==h&&t$5.charAt(t$5.length-1)==h)return t$5.substring(1,t$5.length-1)}return t$5},goog.string.truncate=function(t$5,o,r){return r&&(t$5=goog.string.unescapeEntities(t$5)),t$5.length>o&&(t$5=t$5.substring(0,o-3)+`...`),r&&(t$5=goog.string.htmlEscape(t$5)),t$5},goog.string.truncateMiddle=function(t$5,o,r,u){if(r&&(t$5=goog.string.unescapeEntities(t$5)),u&&t$5.length>o){u>o&&(u=o);var h=t$5.length-u;t$5=t$5.substring(0,o-u)+`...`+t$5.substring(h)}else t$5.length>o&&(u=Math.floor(o/2),h=t$5.length-u,t$5=t$5.substring(0,u+o%2)+`...`+t$5.substring(h));return r&&(t$5=goog.string.htmlEscape(t$5)),t$5},goog.string.specialEscapeChars_={"\0":`\\0`,"\b":`\\b`,"\f":`\\f`,"\n":`\\n`,"\r":`\\r`," ":`\\t`,"\v":`\\x0B`,'"':`\\"`,"\\":`\\\\`,"<":`\\u003C`},goog.string.jsEscapeCache_={"'":`\\'`},goog.string.quote=function(t$5){t$5=String(t$5);for(var o=[`"`],r=0;r<t$5.length;r++){var u=t$5.charAt(r),h=u.charCodeAt(0);o[r+1]=goog.string.specialEscapeChars_[u]||(31<h&&127>h?u:goog.string.escapeChar(u))}return o.push(`"`),o.join(``)},goog.string.escapeString=function(t$5){for(var o=[],r=0;r<t$5.length;r++)o[r]=goog.string.escapeChar(t$5.charAt(r));return o.join(``)},goog.string.escapeChar=function(t$5){if(t$5 in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[t$5];if(t$5 in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[t$5]=goog.string.specialEscapeChars_[t$5];var o=t$5.charCodeAt(0);if(31<o&&127>o)var r=t$5;else 256>o?(r=`\\x`,(16>o||256<o)&&(r+=`0`)):(r=`\\u`,4096>o&&(r+=`0`)),r+=o.toString(16).toUpperCase();return goog.string.jsEscapeCache_[t$5]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(t$5,o){return t$5&&o?t$5.split(o).length-1:0},goog.string.removeAt=function(t$5,o,r){var u=t$5;return 0<=o&&o<t$5.length&&0<r&&(u=t$5.substr(0,o)+t$5.substr(o+r,t$5.length-o-r)),u},goog.string.remove=function(t$5,o){return t$5.replace(o,``)},goog.string.removeAll=function(t$5,o){return o=new RegExp(goog.string.regExpEscape(o),`g`),t$5.replace(o,``)},goog.string.replaceAll=function(t$5,o,r){return o=new RegExp(goog.string.regExpEscape(o),`g`),t$5.replace(o,r.replace(/\$/g,`$$$$`))},goog.string.regExpEscape=function(t$5){return String(t$5).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,`\\$1`).replace(/\x08/g,`\\x08`)},goog.string.repeat=String.prototype.repeat?function(t$5,o){return t$5.repeat(o)}:function(t$5,o){return Array(o+1).join(t$5)},goog.string.padNumber=function(t$5,o,r){return t$5=r===void 0?String(t$5):t$5.toFixed(r),r=t$5.indexOf(`.`),r==-1&&(r=t$5.length),goog.string.repeat(`0`,Math.max(0,o-r))+t$5},goog.string.makeSafe=function(t$5){return t$5==null?``:String(t$5)},goog.string.buildString=function(t$5){return Array.prototype.join.call(arguments,``)},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(t$5){for(var o=0,r=0;r<t$5.length;++r)o=31*o+t$5.charCodeAt(r)>>>0;return o},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return`goog_`+ goog.string.uniqueStringCounter_++},goog.string.toNumber=function(t$5){var o=Number(t$5);return o==0&&goog.string.isEmptyOrWhitespace(t$5)?NaN:o},goog.string.isLowerCamelCase=function(t$5){return/^[a-z]+([A-Z][a-z]*)*$/.test(t$5)},goog.string.isUpperCamelCase=function(t$5){return/^([A-Z][a-z]*)+$/.test(t$5)},goog.string.toCamelCase=function(t$5){return String(t$5).replace(/\-([a-z])/g,function(o,r){return r.toUpperCase()})},goog.string.toSelectorCase=function(t$5){return String(t$5).replace(/([A-Z])/g,`-$1`).toLowerCase()},goog.string.toTitleCase=function(t$5,o){return o=typeof o==`string`?goog.string.regExpEscape(o):`\\s`,t$5.replace(RegExp(`(^`+(o?`|[`+o+`]+`:``)+`)([a-z])`,`g`),function(r,u,h){return u+h.toUpperCase()})},goog.string.capitalize=function(t$5){return String(t$5.charAt(0)).toUpperCase()+String(t$5.substr(1)).toLowerCase()},goog.string.parseInt=function(t$5){return isFinite(t$5)&&(t$5=String(t$5)),typeof t$5==`string`?/^\s*-?0x/i.test(t$5)?parseInt(t$5,16):parseInt(t$5,10):NaN},goog.string.splitLimit=function(t$5,o,r){t$5=t$5.split(o);for(var u=[];0<r&&t$5.length;)u.push(t$5.shift()),r--;return t$5.length&&u.push(t$5.join(o)),u},goog.string.lastComponent=function(t$5,o){if(o)typeof o==`string`&&(o=[o]);else return t$5;for(var r=-1,u=0;u<o.length;u++)if(o[u]!=``){var h=t$5.lastIndexOf(o[u]);h>r&&(r=h)}return r==-1?t$5:t$5.slice(r+1)},goog.string.editDistance=function(t$5,o){var r=[],u=[];if(t$5==o)return 0;if(!t$5.length||!o.length)return Math.max(t$5.length,o.length);for(var h=0;h<o.length+1;h++)r[h]=h;for(h=0;h<t$5.length;h++){u[0]=h+1;for(var m=0;m<o.length;m++)u[m+1]=Math.min(u[m]+1,r[m+1]+1,r[m]+ +(t$5[h]!=o[m]));for(m=0;m<r.length;m++)r[m]=u[m]}return u[o.length]},goog.proto2={},goog.proto2.Descriptor=function(t$5,o,r){for(this.messageType_=t$5,this.name_=o.name||null,this.fullName_=o.fullName||null,this.containingType_=o.containingType,this.fields_={},t$5=0;t$5<r.length;t$5++)o=r[t$5],this.fields_[o.getTag()]=o},goog.proto2.Descriptor.prototype.getName=function(){return this.name_},goog.proto2.Descriptor.prototype.getFullName=function(){return this.fullName_},goog.proto2.Descriptor.prototype.getContainingType=function(){return this.containingType_?this.containingType_.getDescriptor():null},goog.proto2.Descriptor.prototype.getFields=function(){var t$5=goog.object.getValues(this.fields_);return module$contents$goog$array_sort(t$5,function(o,r){return o.getTag()-r.getTag()}),t$5},goog.proto2.Descriptor.prototype.getFieldsMap=function(){return this.fields_},goog.proto2.Descriptor.prototype.findFieldByName=function(t$5){return goog.object.findValue(this.fields_,function(o,r,u){return o.getName()==t$5})||null},goog.proto2.Descriptor.prototype.findFieldByTag=function(t$5){return goog.asserts.assert(goog.string.isNumeric(t$5)),this.fields_[parseInt(t$5,10)]||null},goog.proto2.Descriptor.prototype.createMessageInstance=function(){return new this.messageType_},goog.proto2.FieldDescriptor=function(t$5,o,r){switch(this.parent_=t$5,goog.asserts.assert(goog.string.isNumeric(o)),this.tag_=o,this.name_=r.name,this.isPacked_=!!r.packed,this.isRepeated_=!!r.repeated,this.isRequired_=!!r.required,this.fieldType_=r.fieldType,this.nativeType_=r.type,this.deserializationConversionPermitted_=!1,this.fieldType_){case goog.proto2.FieldDescriptor.FieldType.INT64:case goog.proto2.FieldDescriptor.FieldType.UINT64:case goog.proto2.FieldDescriptor.FieldType.FIXED64:case goog.proto2.FieldDescriptor.FieldType.SFIXED64:case goog.proto2.FieldDescriptor.FieldType.SINT64:case goog.proto2.FieldDescriptor.FieldType.FLOAT:case goog.proto2.FieldDescriptor.FieldType.DOUBLE:this.deserializationConversionPermitted_=!0}this.defaultValue_=r.defaultValue},goog.proto2.FieldDescriptor.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.FieldDescriptor.prototype.getTag=function(){return this.tag_},goog.proto2.FieldDescriptor.prototype.getContainingType=function(){return this.parent_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.getName=function(){return this.name_},goog.proto2.FieldDescriptor.prototype.getDefaultValue=function(){if(this.defaultValue_===void 0){var t$5=this.nativeType_;if(t$5===Boolean)this.defaultValue_=!1;else if(t$5===Number)this.defaultValue_=0;else if(t$5===String)this.defaultValue_=this.deserializationConversionPermitted_?`0`:``;else return new t$5}return this.defaultValue_},goog.proto2.FieldDescriptor.prototype.getFieldType=function(){return this.fieldType_},goog.proto2.FieldDescriptor.prototype.getNativeType=function(){return this.nativeType_},goog.proto2.FieldDescriptor.prototype.deserializationConversionPermitted=function(){return this.deserializationConversionPermitted_},goog.proto2.FieldDescriptor.prototype.getFieldMessageType=function(){return this.nativeType_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.isCompositeType=function(){return this.fieldType_==goog.proto2.FieldDescriptor.FieldType.MESSAGE||this.fieldType_==goog.proto2.FieldDescriptor.FieldType.GROUP},goog.proto2.FieldDescriptor.prototype.isPacked=function(){return this.isPacked_},goog.proto2.FieldDescriptor.prototype.isRepeated=function(){return this.isRepeated_},goog.proto2.FieldDescriptor.prototype.isRequired=function(){return this.isRequired_},goog.proto2.FieldDescriptor.prototype.isOptional=function(){return!this.isRepeated_&&!this.isRequired_},goog.proto2.Message=function(){this.values_={},this.fields_=this.getDescriptor().getFieldsMap(),this.deserializedFields_=this.lazyDeserializer_=null},goog.proto2.Message.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.Message.prototype.initializeForLazyDeserializer=function(t$5,o){this.lazyDeserializer_=t$5,this.values_=o,this.deserializedFields_={}},goog.proto2.Message.prototype.setUnknown=function(t$5,o){goog.asserts.assert(!this.fields_[t$5],`Field is not unknown in this message`),goog.asserts.assert(1<=t$5,`Tag `+t$5+` has value "`+o+`" in descriptor `+this.getDescriptor().getName()),goog.asserts.assert(o!==null,`Value cannot be null`),this.values_[t$5]=o,this.deserializedFields_&&delete this.deserializedFields_[t$5]},goog.proto2.Message.prototype.forEachUnknown=function(t$5,o){for(var r in o||=this,this.values_){var u=Number(r);this.fields_[u]||t$5.call(o,u,this.values_[r])}},goog.proto2.Message.prototype.getDescriptor=goog.abstractMethod,goog.proto2.Message.prototype.has=function(t$5){return goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.has$Value(t$5.getTag())},goog.proto2.Message.prototype.arrayOf=function(t$5){return goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.array$Values(t$5.getTag())},goog.proto2.Message.prototype.countOf=function(t$5){return goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.count$Values(t$5.getTag())},goog.proto2.Message.prototype.get=function(t$5,o){return goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.get$Value(t$5.getTag(),o)},goog.proto2.Message.prototype.getOrDefault=function(t$5,o){return goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.get$ValueOrDefault(t$5.getTag(),o)},goog.proto2.Message.prototype.set=function(t$5,o){goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.set$Value(t$5.getTag(),o)},goog.proto2.Message.prototype.add=function(t$5,o){goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.add$Value(t$5.getTag(),o)},goog.proto2.Message.prototype.clear=function(t$5){goog.asserts.assert(t$5.getContainingType()==this.getDescriptor(),`The current message does not contain the given field`),this.clear$Field(t$5.getTag())},goog.proto2.Message.prototype.equals=function(t$5){if(!t$5||this.constructor!=t$5.constructor)return!1;for(var o=this.getDescriptor().getFields(),r=0;r<o.length;r++){var u=o[r],h=u.getTag();if(this.has$Value(h)!=t$5.has$Value(h))return!1;if(this.has$Value(h)){var m=u.isCompositeType(),y=this.getValueForTag_(h);if(h=t$5.getValueForTag_(h),u.isRepeated()){if(y.length!=h.length)return!1;for(u=0;u<y.length;u++){var S=y[u],_=h[u];if(m?!S.equals(_):S!=_)return!1}}else if(m?!y.equals(h):y!=h)return!1}}return!0},goog.proto2.Message.prototype.copyFrom=function(t$5){goog.asserts.assert(this.constructor==t$5.constructor,`The source message must have the same type.`),this!=t$5&&(this.values_={},this.deserializedFields_&&={},this.mergeFrom(t$5))},goog.proto2.Message.prototype.mergeFrom=function(t$5){goog.asserts.assert(this.constructor==t$5.constructor,`The source message must have the same type.`);for(var o=this.getDescriptor().getFields(),r=0;r<o.length;r++){var u=o[r],h=u.getTag();if(t$5.has$Value(h)){this.deserializedFields_&&delete this.deserializedFields_[u.getTag()];var m=u.isCompositeType();if(u.isRepeated()){u=t$5.array$Values(h);for(var y=0;y<u.length;y++)this.add$Value(h,m?u[y].clone():u[y])}else u=t$5.getValueForTag_(h),m?(m=this.getValueForTag_(h))?m.mergeFrom(u):this.set$Value(h,u.clone()):this.set$Value(h,u)}}},goog.proto2.Message.prototype.clone=function(){var t$5=new this.constructor;return t$5.copyFrom(this),t$5},goog.proto2.Message.prototype.initDefaults=function(t$5){for(var o=this.getDescriptor().getFields(),r=0;r<o.length;r++){var u=o[r],h=u.getTag(),m=u.isCompositeType();if(this.has$Value(h)||u.isRepeated()||(m?this.values_[h]=new(u.getNativeType()):t$5&&(this.values_[h]=u.getDefaultValue())),m)if(u.isRepeated())for(u=this.array$Values(h),h=0;h<u.length;h++)u[h].initDefaults(t$5);else this.get$Value(h).initDefaults(t$5)}},goog.proto2.Message.prototype.has$Value=function(t$5){return this.values_[t$5]!=null},goog.proto2.Message.prototype.getValueForTag_=function(t$5){var o=this.values_[t$5];return o==null?null:this.lazyDeserializer_?t$5 in this.deserializedFields_?this.deserializedFields_[t$5]:(o=this.lazyDeserializer_.deserializeField(this,this.fields_[t$5],o),this.deserializedFields_[t$5]=o):o},goog.proto2.Message.prototype.get$Value=function(t$5,o){var r=this.getValueForTag_(t$5);return this.fields_[t$5].isRepeated()?(t$5=o||0,goog.asserts.assert(0<=t$5&&t$5<r.length,`Given index %s is out of bounds. Repeated field length: %s`,t$5,r.length),r[t$5]):r},goog.proto2.Message.prototype.get$ValueOrDefault=function(t$5,o){return this.has$Value(t$5)?this.get$Value(t$5,o):this.fields_[t$5].getDefaultValue()},goog.proto2.Message.prototype.array$Values=function(t$5){return this.getValueForTag_(t$5)||[]},goog.proto2.Message.prototype.count$Values=function(t$5){return this.fields_[t$5].isRepeated()?this.has$Value(t$5)?this.values_[t$5].length:0:this.has$Value(t$5)?1:0},goog.proto2.Message.prototype.set$Value=function(t$5,o){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[t$5],o),this.values_[t$5]=o,this.deserializedFields_&&(this.deserializedFields_[t$5]=o)},goog.proto2.Message.prototype.add$Value=function(t$5,o){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[t$5],o),this.values_[t$5]||(this.values_[t$5]=[]),this.values_[t$5].push(o),this.deserializedFields_&&delete this.deserializedFields_[t$5]},goog.proto2.Message.prototype.checkFieldType_=function(t$5,o){t$5.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM?goog.asserts.assertNumber(o):goog.asserts.assert(Object(o).constructor==t$5.getNativeType())},goog.proto2.Message.prototype.clear$Field=function(t$5){delete this.values_[t$5],this.deserializedFields_&&delete this.deserializedFields_[t$5]},goog.proto2.Message.createDescriptor=function(t$5,o){var r=[],u=o[0],h;for(h in o)h!=0&&r.push(new goog.proto2.FieldDescriptor(t$5,h,o[h]));return new goog.proto2.Descriptor(t$5,u,r)},goog.proto2.Serializer=function(){},goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS=!1,goog.proto2.Serializer.prototype.serialize=goog.abstractMethod,goog.proto2.Serializer.prototype.getSerializedValue=function(t$5,o){return t$5.isCompositeType()?this.serialize(o):typeof o!=`number`||isFinite(o)?o:o.toString()},goog.proto2.Serializer.prototype.deserialize=function(t$5,o){return t$5=t$5.createMessageInstance(),this.deserializeTo(t$5,o),goog.asserts.assert(t$5 instanceof goog.proto2.Message),t$5},goog.proto2.Serializer.prototype.deserializeTo=goog.abstractMethod,goog.proto2.Serializer.prototype.getDeserializedValue=function(t$5,o){if(t$5.isCompositeType())return o instanceof goog.proto2.Message?o:this.deserialize(t$5.getFieldMessageType(),o);if(t$5.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM)return goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS&&typeof o==`string`&&(t$5=t$5.getNativeType(),t$5.hasOwnProperty(o))?t$5[o]:typeof o==`string`&&goog.proto2.Serializer.INTEGER_REGEX.test(o)&&(t$5=Number(o),0<t$5)?t$5:o;if(!t$5.deserializationConversionPermitted())return o;if(t$5=t$5.getNativeType(),t$5===String){if(typeof o==`number`)return String(o)}else if(t$5===Number&&typeof o==`string`&&(o===`Infinity`||o===`-Infinity`||o===`NaN`||goog.proto2.Serializer.INTEGER_REGEX.test(o)))return Number(o);return o},goog.proto2.Serializer.INTEGER_REGEX=/^-?[0-9]+$/,goog.proto2.LazyDeserializer=function(){},goog.inherits(goog.proto2.LazyDeserializer,goog.proto2.Serializer),goog.proto2.LazyDeserializer.prototype.deserialize=function(t$5,o){return t$5=t$5.createMessageInstance(),t$5.initializeForLazyDeserializer(this,o),goog.asserts.assert(t$5 instanceof goog.proto2.Message),t$5},goog.proto2.LazyDeserializer.prototype.deserializeTo=function(t$5,o){throw Error(`Unimplemented`)},goog.proto2.LazyDeserializer.prototype.deserializeField=goog.abstractMethod,goog.proto2.PbLiteSerializer=function(){},goog.inherits(goog.proto2.PbLiteSerializer,goog.proto2.LazyDeserializer),goog.proto2.PbLiteSerializer.prototype.zeroIndexing_=!1,goog.proto2.PbLiteSerializer.prototype.setZeroIndexed=function(t$5){this.zeroIndexing_=t$5},goog.proto2.PbLiteSerializer.prototype.serialize=function(t$5){for(var o=t$5.getDescriptor().getFields(),r=[],u=this.zeroIndexing_,h=0;h<o.length;h++){var m=o[h];if(t$5.has(m)){var y=m.getTag();if(y=u?y-1:y,m.isRepeated()){r[y]=[];for(var S=0;S<t$5.countOf(m);S++)r[y][S]=this.getSerializedValue(m,t$5.get(m,S))}else r[y]=this.getSerializedValue(m,t$5.get(m))}}return t$5.forEachUnknown(function(_,C){r[u?_-1:_]=C}),r},goog.proto2.PbLiteSerializer.prototype.deserializeField=function(t$5,o,r){if(r==null)return r;if(o.isRepeated()){t$5=[],goog.asserts.assert(Array.isArray(r),`Value must be array: %s`,r);for(var u=0;u<r.length;u++)t$5[u]=this.getDeserializedValue(o,r[u]);return t$5}return this.getDeserializedValue(o,r)},goog.proto2.PbLiteSerializer.prototype.getSerializedValue=function(t$5,o){return t$5.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?o?1:0:goog.proto2.Serializer.prototype.getSerializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.getDeserializedValue=function(t$5,o){return t$5.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?(goog.asserts.assert(typeof o==`number`||typeof o==`boolean`,`Value is expected to be a number or boolean`),!!o):goog.proto2.Serializer.prototype.getDeserializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.deserialize=function(t$5,o){var r=o;if(this.zeroIndexing_)for(var u in r=[],o)r[parseInt(u,10)+1]=o[u];return goog.proto2.PbLiteSerializer.superClass_.deserialize.call(this,t$5,r)},goog.string.StringBuffer=function(t$5,o){t$5!=null&&this.append.apply(this,arguments)},goog.string.StringBuffer.prototype.buffer_=``,goog.string.StringBuffer.prototype.set=function(t$5){this.buffer_=``+t$5},goog.string.StringBuffer.prototype.append=function(t$5,o,r){if(this.buffer_+=String(t$5),o!=null)for(var u=1;u<arguments.length;u++)this.buffer_+=arguments[u];return this},goog.string.StringBuffer.prototype.clear=function(){this.buffer_=``},goog.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length},goog.string.StringBuffer.prototype.toString=function(){return this.buffer_};var i18n={phonenumbers:{}};i18n.phonenumbers.NumberFormat=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.NumberFormat,goog.proto2.Message),i18n.phonenumbers.NumberFormat.descriptor_=null,i18n.phonenumbers.NumberFormat.prototype.getPattern=function(){return this.get$Value(1)},i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.NumberFormat.prototype.setPattern=function(t$5){this.set$Value(1,t$5)},i18n.phonenumbers.NumberFormat.prototype.hasPattern=function(){return this.has$Value(1)},i18n.phonenumbers.NumberFormat.prototype.patternCount=function(){return this.count$Values(1)},i18n.phonenumbers.NumberFormat.prototype.clearPattern=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getFormat=function(){return this.get$Value(2)},i18n.phonenumbers.NumberFormat.prototype.getFormatOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.NumberFormat.prototype.setFormat=function(t$5){this.set$Value(2,t$5)},i18n.phonenumbers.NumberFormat.prototype.hasFormat=function(){return this.has$Value(2)},i18n.phonenumbers.NumberFormat.prototype.formatCount=function(){return this.count$Values(2)},i18n.phonenumbers.NumberFormat.prototype.clearFormat=function(){this.clear$Field(2)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPattern=function(t$5){return this.get$Value(3,t$5)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPatternOrDefault=function(t$5){return this.get$ValueOrDefault(3,t$5)},i18n.phonenumbers.NumberFormat.prototype.addLeadingDigitsPattern=function(t$5){this.add$Value(3,t$5)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternArray=function(){return this.array$Values(3)},i18n.phonenumbers.NumberFormat.prototype.hasLeadingDigitsPattern=function(){return this.has$Value(3)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternCount=function(){return this.count$Values(3)},i18n.phonenumbers.NumberFormat.prototype.clearLeadingDigitsPattern=function(){this.clear$Field(3)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRule=function(){return this.get$Value(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixFormattingRule=function(t$5){this.set$Value(4,t$5)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixFormattingRule=function(){return this.has$Value(4)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixFormattingRuleCount=function(){return this.count$Values(4)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixFormattingRule=function(){this.clear$Field(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormatting=function(){return this.get$Value(6)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormattingOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixOptionalWhenFormatting=function(t$5){this.set$Value(6,t$5)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixOptionalWhenFormatting=function(){return this.has$Value(6)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixOptionalWhenFormattingCount=function(){return this.count$Values(6)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixOptionalWhenFormatting=function(){this.clear$Field(6)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRule=function(){return this.get$Value(5)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.NumberFormat.prototype.setDomesticCarrierCodeFormattingRule=function(t$5){this.set$Value(5,t$5)},i18n.phonenumbers.NumberFormat.prototype.hasDomesticCarrierCodeFormattingRule=function(){return this.has$Value(5)},i18n.phonenumbers.NumberFormat.prototype.domesticCarrierCodeFormattingRuleCount=function(){return this.count$Values(5)},i18n.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumberDesc=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumberDesc,goog.proto2.Message),i18n.phonenumbers.PhoneNumberDesc.descriptor_=null,i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPatternOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberPattern=function(t$5){this.set$Value(2,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberPattern=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.nationalNumberPatternCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberPattern=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength=function(t$5){return this.get$Value(9,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthOrDefault=function(t$5){return this.get$ValueOrDefault(9,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLength=function(t$5){this.add$Value(9,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthArray=function(){return this.array$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLength=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLength=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnly=function(t$5){return this.get$Value(10,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnlyOrDefault=function(t$5){return this.get$ValueOrDefault(10,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLengthLocalOnly=function(t$5){this.add$Value(10,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyArray=function(){return this.array$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLengthLocalOnly=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLengthLocalOnly=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumberOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.setExampleNumber=function(t$5){this.set$Value(6,t$5)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.exampleNumberCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadata,goog.proto2.Message),i18n.phonenumbers.PhoneMetadata.descriptor_=null,i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDescOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneMetadata.prototype.setGeneralDesc=function(t$5){this.set$Value(1,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasGeneralDesc=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.generalDescCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadata.prototype.clearGeneralDesc=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLine=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLineOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneMetadata.prototype.setFixedLine=function(t$5){this.set$Value(2,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasFixedLine=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.fixedLineCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneMetadata.prototype.clearFixedLine=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneMetadata.prototype.getMobile=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.getMobileOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneMetadata.prototype.setMobile=function(t$5){this.set$Value(3,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasMobile=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.mobileCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneMetadata.prototype.clearMobile=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFree=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFreeOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneMetadata.prototype.setTollFree=function(t$5){this.set$Value(4,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasTollFree=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.tollFreeCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneMetadata.prototype.clearTollFree=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRate=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRateOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneMetadata.prototype.setPremiumRate=function(t$5){this.set$Value(5,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasPremiumRate=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.premiumRateCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneMetadata.prototype.clearPremiumRate=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCost=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCostOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneMetadata.prototype.setSharedCost=function(t$5){this.set$Value(6,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasSharedCost=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.sharedCostCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneMetadata.prototype.clearSharedCost=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumber=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumberOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneMetadata.prototype.setPersonalNumber=function(t$5){this.set$Value(7,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasPersonalNumber=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.personalNumberCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneMetadata.prototype.clearPersonalNumber=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneMetadata.prototype.getVoip=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.getVoipOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneMetadata.prototype.setVoip=function(t$5){this.set$Value(8,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoip=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.voipCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoip=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneMetadata.prototype.getPager=function(){return this.get$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.getPagerOrDefault=function(){return this.get$ValueOrDefault(21)},i18n.phonenumbers.PhoneMetadata.prototype.setPager=function(t$5){this.set$Value(21,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasPager=function(){return this.has$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.pagerCount=function(){return this.count$Values(21)},i18n.phonenumbers.PhoneMetadata.prototype.clearPager=function(){this.clear$Field(21)},i18n.phonenumbers.PhoneMetadata.prototype.getUan=function(){return this.get$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.getUanOrDefault=function(){return this.get$ValueOrDefault(25)},i18n.phonenumbers.PhoneMetadata.prototype.setUan=function(t$5){this.set$Value(25,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasUan=function(){return this.has$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.uanCount=function(){return this.count$Values(25)},i18n.phonenumbers.PhoneMetadata.prototype.clearUan=function(){this.clear$Field(25)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergency=function(){return this.get$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergencyOrDefault=function(){return this.get$ValueOrDefault(27)},i18n.phonenumbers.PhoneMetadata.prototype.setEmergency=function(t$5){this.set$Value(27,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasEmergency=function(){return this.has$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.emergencyCount=function(){return this.count$Values(27)},i18n.phonenumbers.PhoneMetadata.prototype.clearEmergency=function(){this.clear$Field(27)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemail=function(){return this.get$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemailOrDefault=function(){return this.get$ValueOrDefault(28)},i18n.phonenumbers.PhoneMetadata.prototype.setVoicemail=function(t$5){this.set$Value(28,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoicemail=function(){return this.has$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.voicemailCount=function(){return this.count$Values(28)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoicemail=function(){this.clear$Field(28)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCode=function(){return this.get$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCodeOrDefault=function(){return this.get$ValueOrDefault(29)},i18n.phonenumbers.PhoneMetadata.prototype.setShortCode=function(t$5){this.set$Value(29,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasShortCode=function(){return this.has$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.shortCodeCount=function(){return this.count$Values(29)},i18n.phonenumbers.PhoneMetadata.prototype.clearShortCode=function(){this.clear$Field(29)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRate=function(){return this.get$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRateOrDefault=function(){return this.get$ValueOrDefault(30)},i18n.phonenumbers.PhoneMetadata.prototype.setStandardRate=function(t$5){this.set$Value(30,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasStandardRate=function(){return this.has$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.standardRateCount=function(){return this.count$Values(30)},i18n.phonenumbers.PhoneMetadata.prototype.clearStandardRate=function(){this.clear$Field(30)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecific=function(){return this.get$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecificOrDefault=function(){return this.get$ValueOrDefault(31)},i18n.phonenumbers.PhoneMetadata.prototype.setCarrierSpecific=function(t$5){this.set$Value(31,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasCarrierSpecific=function(){return this.has$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.carrierSpecificCount=function(){return this.count$Values(31)},i18n.phonenumbers.PhoneMetadata.prototype.clearCarrierSpecific=function(){this.clear$Field(31)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServices=function(){return this.get$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServicesOrDefault=function(){return this.get$ValueOrDefault(33)},i18n.phonenumbers.PhoneMetadata.prototype.setSmsServices=function(t$5){this.set$Value(33,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasSmsServices=function(){return this.has$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.smsServicesCount=function(){return this.count$Values(33)},i18n.phonenumbers.PhoneMetadata.prototype.clearSmsServices=function(){this.clear$Field(33)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDialling=function(){return this.get$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDiallingOrDefault=function(){return this.get$ValueOrDefault(24)},i18n.phonenumbers.PhoneMetadata.prototype.setNoInternationalDialling=function(t$5){this.set$Value(24,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasNoInternationalDialling=function(){return this.has$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.noInternationalDiallingCount=function(){return this.count$Values(24)},i18n.phonenumbers.PhoneMetadata.prototype.clearNoInternationalDialling=function(){this.clear$Field(24)},i18n.phonenumbers.PhoneMetadata.prototype.getId=function(){return this.get$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.getIdOrDefault=function(){return this.get$ValueOrDefault(9)},i18n.phonenumbers.PhoneMetadata.prototype.setId=function(t$5){this.set$Value(9,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasId=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.idCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneMetadata.prototype.clearId=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCode=function(){return this.get$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(10)},i18n.phonenumbers.PhoneMetadata.prototype.setCountryCode=function(t$5){this.set$Value(10,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasCountryCode=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.countryCodeCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneMetadata.prototype.clearCountryCode=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefix=function(){return this.get$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(11)},i18n.phonenumbers.PhoneMetadata.prototype.setInternationalPrefix=function(t$5){this.set$Value(11,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasInternationalPrefix=function(){return this.has$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.internationalPrefixCount=function(){return this.count$Values(11)},i18n.phonenumbers.PhoneMetadata.prototype.clearInternationalPrefix=function(){this.clear$Field(11)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefix=function(){return this.get$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(17)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredInternationalPrefix=function(t$5){this.set$Value(17,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredInternationalPrefix=function(){return this.has$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.preferredInternationalPrefixCount=function(){return this.count$Values(17)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredInternationalPrefix=function(){this.clear$Field(17)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefix=function(){return this.get$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixOrDefault=function(){return this.get$ValueOrDefault(12)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefix=function(t$5){this.set$Value(12,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix=function(){return this.has$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixCount=function(){return this.count$Values(12)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefix=function(){this.clear$Field(12)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefix=function(){return this.get$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefixOrDefault=function(){return this.get$ValueOrDefault(13)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredExtnPrefix=function(t$5){this.set$Value(13,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredExtnPrefix=function(){return this.has$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.preferredExtnPrefixCount=function(){return this.count$Values(13)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredExtnPrefix=function(){this.clear$Field(13)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsing=function(){return this.get$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsingOrDefault=function(){return this.get$ValueOrDefault(15)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixForParsing=function(t$5){this.set$Value(15,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixForParsing=function(){return this.has$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixForParsingCount=function(){return this.count$Values(15)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixForParsing=function(){this.clear$Field(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRule=function(){return this.get$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRuleOrDefault=function(){return this.get$ValueOrDefault(16)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixTransformRule=function(t$5){this.set$Value(16,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixTransformRule=function(){return this.has$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixTransformRuleCount=function(){return this.count$Values(16)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixTransformRule=function(){this.clear$Field(16)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePattern=function(){return this.get$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePatternOrDefault=function(){return this.get$ValueOrDefault(18)},i18n.phonenumbers.PhoneMetadata.prototype.setSameMobileAndFixedLinePattern=function(t$5){this.set$Value(18,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasSameMobileAndFixedLinePattern=function(){return this.has$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.sameMobileAndFixedLinePatternCount=function(){return this.count$Values(18)},i18n.phonenumbers.PhoneMetadata.prototype.clearSameMobileAndFixedLinePattern=function(){this.clear$Field(18)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormat=function(t$5){return this.get$Value(19,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormatOrDefault=function(t$5){return this.get$ValueOrDefault(19,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.addNumberFormat=function(t$5){this.add$Value(19,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatArray=function(){return this.array$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.hasNumberFormat=function(){return this.has$Value(19)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatCount=function(){return this.count$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.clearNumberFormat=function(){this.clear$Field(19)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormat=function(t$5){return this.get$Value(20,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormatOrDefault=function(t$5){return this.get$ValueOrDefault(20,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.addIntlNumberFormat=function(t$5){this.add$Value(20,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatArray=function(){return this.array$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.hasIntlNumberFormat=function(){return this.has$Value(20)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatCount=function(){return this.count$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.clearIntlNumberFormat=function(){this.clear$Field(20)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCode=function(){return this.get$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCodeOrDefault=function(){return this.get$ValueOrDefault(22)},i18n.phonenumbers.PhoneMetadata.prototype.setMainCountryForCode=function(t$5){this.set$Value(22,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasMainCountryForCode=function(){return this.has$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.mainCountryForCodeCount=function(){return this.count$Values(22)},i18n.phonenumbers.PhoneMetadata.prototype.clearMainCountryForCode=function(){this.clear$Field(22)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigits=function(){return this.get$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigitsOrDefault=function(){return this.get$ValueOrDefault(23)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingDigits=function(t$5){this.set$Value(23,t$5)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingDigits=function(){return this.has$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.leadingDigitsCount=function(){return this.count$Values(23)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingDigits=function(){this.clear$Field(23)},i18n.phonenumbers.PhoneMetadataCollection=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadataCollection,goog.proto2.Message),i18n.phonenumbers.PhoneMetadataCollection.descriptor_=null,i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadata=function(t$5){return this.get$Value(1,t$5)},i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadataOrDefault=function(t$5){return this.get$ValueOrDefault(1,t$5)},i18n.phonenumbers.PhoneMetadataCollection.prototype.addMetadata=function(t$5){this.add$Value(1,t$5)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataArray=function(){return this.array$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.hasMetadata=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getDescriptor=function(){var t$5=i18n.phonenumbers.NumberFormat.descriptor_;return t$5||(i18n.phonenumbers.NumberFormat.descriptor_=t$5=goog.proto2.Message.createDescriptor(i18n.phonenumbers.NumberFormat,{0:{name:`NumberFormat`,fullName:`i18n.phonenumbers.NumberFormat`},1:{name:`pattern`,required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},2:{name:`format`,required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},3:{name:`leading_digits_pattern`,repeated:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:`national_prefix_formatting_rule`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:`national_prefix_optional_when_formatting`,fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},5:{name:`domestic_carrier_code_formatting_rule`,fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t$5},i18n.phonenumbers.NumberFormat.getDescriptor=i18n.phonenumbers.NumberFormat.prototype.getDescriptor,i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor=function(){var t$5=i18n.phonenumbers.PhoneNumberDesc.descriptor_;return t$5||(i18n.phonenumbers.PhoneNumberDesc.descriptor_=t$5=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumberDesc,{0:{name:`PhoneNumberDesc`,fullName:`i18n.phonenumbers.PhoneNumberDesc`},2:{name:`national_number_pattern`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},9:{name:`possible_length`,repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},10:{name:`possible_length_local_only`,repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},6:{name:`example_number`,fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t$5},i18n.phonenumbers.PhoneNumberDesc.getDescriptor=i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor=function(){var t$5=i18n.phonenumbers.PhoneMetadata.descriptor_;return t$5||(i18n.phonenumbers.PhoneMetadata.descriptor_=t$5=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadata,{0:{name:`PhoneMetadata`,fullName:`i18n.phonenumbers.PhoneMetadata`},1:{name:`general_desc`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},2:{name:`fixed_line`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},3:{name:`mobile`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},4:{name:`toll_free`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},5:{name:`premium_rate`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},6:{name:`shared_cost`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},7:{name:`personal_number`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},8:{name:`voip`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},21:{name:`pager`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},25:{name:`uan`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},27:{name:`emergency`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},28:{name:`voicemail`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},29:{name:`short_code`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},30:{name:`standard_rate`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},31:{name:`carrier_specific`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},33:{name:`sms_services`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},24:{name:`no_international_dialling`,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},9:{name:`id`,required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},10:{name:`country_code`,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},11:{name:`international_prefix`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},17:{name:`preferred_international_prefix`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},12:{name:`national_prefix`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},13:{name:`preferred_extn_prefix`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},15:{name:`national_prefix_for_parsing`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},16:{name:`national_prefix_transform_rule`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},18:{name:`same_mobile_and_fixed_line_pattern`,fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},19:{name:`number_format`,repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},20:{name:`intl_number_format`,repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},22:{name:`main_country_for_code`,fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},23:{name:`leading_digits`,fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t$5},i18n.phonenumbers.PhoneMetadata.getDescriptor=i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor=function(){var t$5=i18n.phonenumbers.PhoneMetadataCollection.descriptor_;return t$5||(i18n.phonenumbers.PhoneMetadataCollection.descriptor_=t$5=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadataCollection,{0:{name:`PhoneMetadataCollection`,fullName:`i18n.phonenumbers.PhoneMetadataCollection`},1:{name:`metadata`,repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneMetadata}})),t$5},i18n.phonenumbers.PhoneMetadataCollection.getDescriptor=i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor,i18n.phonenumbers.PhoneNumber=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumber,goog.proto2.Message),i18n.phonenumbers.PhoneNumber.descriptor_=null,i18n.phonenumbers.PhoneNumber.prototype.getCountryCode=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCode=function(t$5){this.set$Value(1,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumber=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumber.prototype.setNationalNumber=function(t$5){this.set$Value(2,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasNationalNumber=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.nationalNumberCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumber.prototype.clearNationalNumber=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumber.prototype.getExtension=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.getExtensionOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneNumber.prototype.setExtension=function(t$5){this.set$Value(3,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasExtension=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.extensionCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneNumber.prototype.clearExtension=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZero=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZeroOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneNumber.prototype.setItalianLeadingZero=function(t$5){this.set$Value(4,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasItalianLeadingZero=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.italianLeadingZeroCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneNumber.prototype.clearItalianLeadingZero=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZeros=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZerosOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneNumber.prototype.setNumberOfLeadingZeros=function(t$5){this.set$Value(8,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasNumberOfLeadingZeros=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.numberOfLeadingZerosCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneNumber.prototype.clearNumberOfLeadingZeros=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneNumber.prototype.getRawInput=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.getRawInputOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneNumber.prototype.setRawInput=function(t$5){this.set$Value(5,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasRawInput=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.rawInputCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneNumber.prototype.clearRawInput=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSource=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSourceOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCodeSource=function(t$5){this.set$Value(6,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCodeSource=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeSourceCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCodeSource=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCode=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCodeOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneNumber.prototype.setPreferredDomesticCarrierCode=function(t$5){this.set$Value(7,t$5)},i18n.phonenumbers.PhoneNumber.prototype.hasPreferredDomesticCarrierCode=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.preferredDomesticCarrierCodeCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneNumber.prototype.clearPreferredDomesticCarrierCode=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneNumber.CountryCodeSource={UNSPECIFIED:0,FROM_NUMBER_WITH_PLUS_SIGN:1,FROM_NUMBER_WITH_IDD:5,FROM_NUMBER_WITHOUT_PLUS_SIGN:10,FROM_DEFAULT_COUNTRY:20},i18n.phonenumbers.PhoneNumber.prototype.getDescriptor=function(){var t$5=i18n.phonenumbers.PhoneNumber.descriptor_;return t$5||(i18n.phonenumbers.PhoneNumber.descriptor_=t$5=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumber,{0:{name:`PhoneNumber`,fullName:`i18n.phonenumbers.PhoneNumber`},1:{name:`country_code`,required:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},2:{name:`national_number`,required:!0,fieldType:goog.proto2.Message.FieldType.UINT64,type:Number},3:{name:`extension`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:`italian_leading_zero`,fieldType:goog.proto2.Message.FieldType.BOOL,type:Boolean},8:{name:`number_of_leading_zeros`,fieldType:goog.proto2.Message.FieldType.INT32,defaultValue:1,type:Number},5:{name:`raw_input`,fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:`country_code_source`,fieldType:goog.proto2.Message.FieldType.ENUM,defaultValue:i18n.phonenumbers.PhoneNumber.CountryCodeSource.UNSPECIFIED,type:i18n.phonenumbers.PhoneNumber.CountryCodeSource},7:{name:`preferred_domestic_carrier_code`,fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t$5},i18n.phonenumbers.PhoneNumber.ctor=i18n.phonenumbers.PhoneNumber,i18n.phonenumbers.PhoneNumber.ctor.getDescriptor=i18n.phonenumbers.PhoneNumber.prototype.getDescriptor,i18n.phonenumbers.metadata={},i18n.phonenumbers.metadata.countryCodeToRegionCodeMap={1:`US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI`.split(` `),7:[`RU`,`KZ`],20:[`EG`],27:[`ZA`],30:[`GR`],31:[`NL`],32:[`BE`],33:[`FR`],34:[`ES`],36:[`HU`],39:[`IT`,`VA`],40:[`RO`],41:[`CH`],43:[`AT`],44:[`GB`,`GG`,`IM`,`JE`],45:[`DK`],46:[`SE`],47:[`NO`,`SJ`],48:[`PL`],49:[`DE`],51:[`PE`],52:[`MX`],53:[`CU`],54:[`AR`],55:[`BR`],56:[`CL`],57:[`CO`],58:[`VE`],60:[`MY`],61:[`AU`,`CC`,`CX`],62:[`ID`],63:[`PH`],64:[`NZ`],65:[`SG`],66:[`TH`],81:[`JP`],82:[`KR`],84:[`VN`],86:[`CN`],90:[`TR`],91:[`IN`],92:[`PK`],93:[`AF`],94:[`LK`],95:[`MM`],98:[`IR`],211:[`SS`],212:[`MA`,`EH`],213:[`DZ`],216:[`TN`],218:[`LY`],220:[`GM`],221:[`SN`],222:[`MR`],223:[`ML`],224:[`GN`],225:[`CI`],226:[`BF`],227:[`NE`],228:[`TG`],229:[`BJ`],230:[`MU`],231:[`LR`],232:[`SL`],233:[`GH`],234:[`NG`],235:[`TD`],236:[`CF`],237:[`CM`],238:[`CV`],239:[`ST`],240:[`GQ`],241:[`GA`],242:[`CG`],243:[`CD`],244:[`AO`],245:[`GW`],246:[`IO`],247:[`AC`],248:[`SC`],249:[`SD`],250:[`RW`],251:[`ET`],252:[`SO`],253:[`DJ`],254:[`KE`],255:[`TZ`],256:[`UG`],257:[`BI`],258:[`MZ`],260:[`ZM`],261:[`MG`],262:[`RE`,`YT`],263:[`ZW`],264:[`NA`],265:[`MW`],266:[`LS`],267:[`BW`],268:[`SZ`],269:[`KM`],290:[`SH`,`TA`],291:[`ER`],297:[`AW`],298:[`FO`],299:[`GL`],350:[`GI`],351:[`PT`],352:[`LU`],353:[`IE`],354:[`IS`],355:[`AL`],356:[`MT`],357:[`CY`],358:[`FI`,`AX`],359:[`BG`],370:[`LT`],371:[`LV`],372:[`EE`],373:[`MD`],374:[`AM`],375:[`BY`],376:[`AD`],377:[`MC`],378:[`SM`],380:[`UA`],381:[`RS`],382:[`ME`],383:[`XK`],385:[`HR`],386:[`SI`],387:[`BA`],389:[`MK`],420:[`CZ`],421:[`SK`],423:[`LI`],500:[`FK`],501:[`BZ`],502:[`GT`],503:[`SV`],504:[`HN`],505:[`NI`],506:[`CR`],507:[`PA`],508:[`PM`],509:[`HT`],590:[`GP`,`BL`,`MF`],591:[`BO`],592:[`GY`],593:[`EC`],594:[`GF`],595:[`PY`],596:[`MQ`],597:[`SR`],598:[`UY`],599:[`CW`,`BQ`],670:[`TL`],672:[`NF`],673:[`BN`],674:[`NR`],675:[`PG`],676:[`TO`],677:[`SB`],678:[`VU`],679:[`FJ`],680:[`PW`],681:[`WF`],682:[`CK`],683:[`NU`],685:[`WS`],686:[`KI`],687:[`NC`],688:[`TV`],689:[`PF`],690:[`TK`],691:[`FM`],692:[`MH`],800:[`001`],808:[`001`],850:[`KP`],852:[`HK`],853:[`MO`],855:[`KH`],856:[`LA`],870:[`001`],878:[`001`],880:[`BD`],881:[`001`],882:[`001`],883:[`001`],886:[`TW`],888:[`001`],960:[`MV`],961:[`LB`],962:[`JO`],963:[`SY`],964:[`IQ`],965:[`KW`],966:[`SA`],967:[`YE`],968:[`OM`],970:[`PS`],971:[`AE`],972:[`IL`],973:[`BH`],974:[`QA`],975:[`BT`],976:[`MN`],977:[`NP`],979:[`001`],992:[`TJ`],993:[`TM`],994:[`AZ`],995:[`GE`],996:[`KG`],998:[`UZ`]},i18n.phonenumbers.metadata.countryToMetadata={AC:[,[,,`(?:[01589]\\d|[46])\\d{4}`,,,,,,,[5,6]],[,,`6[2-467]\\d{3}`,,,,`62889`,,,[5]],[,,`4\\d{4}`,,,,`40123`,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AC`,247,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`(?:0[1-9]|[1589]\\d)\\d{4}`,,,,`542011`,,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,`(?:1|6\\d)\\d{7}|[135-9]\\d{5}`,,,,,,,[6,8,9]],[,,`[78]\\d{5}`,,,,`712345`,,,[6]],[,,`690\\d{6}|[356]\\d{5}`,,,,`312345`,,,[6,9]],[,,`180[02]\\d{4}`,,,,`18001234`,,,[8]],[,,`[19]\\d{5}`,,,,`912345`,,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AD`,376,`00`,,,,,,,,[[,`(\\d{3})(\\d{3})`,`$1 $2`,[`[135-9]`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`1`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]]],,[,,,,,,,,,[-1]],,,[,,`1800\\d{4}`,,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,`(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}`,,,,,,,[5,6,7,8,9,10,11,12]],[,,`[2-4679][2-8]\\d{6}`,,,,`22345678`,,,[8],[7]],[,,`5[024-68]\\d{7}`,,,,`501234567`,,,[9]],[,,`400\\d{6}|800\\d{2,9}`,,,,`800123456`],[,,`900[02]\\d{5}`,,,,`900234567`,,,[9]],[,,`700[05]\\d{5}`,,,,`700012345`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AE`,971,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2,9})`,`$1 $2`,[`60|8`]],[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[236]|[479][2-8]`],`0$1`],[,`(\\d{3})(\\d)(\\d{5})`,`$1 $2 $3`,[`[479]`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`5`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`600[25]\\d{5}`,,,,`600212345`,,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,`[2-7]\\d{8}`,,,,,,,[9],[7]],[,,`(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}`,,,,`234567890`,,,,[7]],[,,`7\\d{8}`,,,,`701234567`,,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AF`,93,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[1-9]`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`]],[[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,`(?:268|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}`,,,,`2684601234`,,,,[7]],[,,`268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}`,,,,`2684641234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,`26848[01]\\d{4}`,,,,`2684801234`,,,,[7]],`AG`,1,`011`,`1`,,,`([457]\\d{6})$|1`,`268$1`,,,,,[,,`26840[69]\\d{4}`,,,,`2684061234`,,,,[7]],,`268`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,`(?:264|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`264(?:292|4(?:6[12]|9[78]))\\d{4}`,,,,`2644612345`,,,,[7]],[,,`264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}`,,,,`2642351234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`AI`,1,`011`,`1`,,,`([2457]\\d{6})$|1`,`264$1`,,,,,[,,`264724\\d{4}`,,,,`2647241234`,,,,[7]],,`264`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,`(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}`,,,,,,,[6,7,8,9],[5]],[,,`4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}`,,,,`22345678`,,,[8],[5,6,7]],[,,`6(?:[78][2-9]|9\\d)\\d{6}`,,,,`672123456`,,,[9]],[,,`800\\d{4}`,,,,`8001234`,,,[7]],[,,`900[1-9]\\d\\d`,,,,`900123`,,,[6]],[,,`808[1-9]\\d\\d`,,,,`808123`,,,[6]],[,,`700[2-9]\\d{4}`,,,,`70021234`,,,[8]],[,,,,,,,,,[-1]],`AL`,355,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3,4})`,`$1 $2`,[`80|9`],`0$1`],[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`4[2-6]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2358][2-5]|4`],`0$1`],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`[23578]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`6`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,`(?:[1-489]\\d|55|60|77)\\d{6}`,,,,,,,[8],[5,6]],[,,`(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}`,,,,`10123456`,,,,[5,6]],[,,`(?:33|4[1349]|55|77|88|9[13-9])\\d{6}`,,,,`77123456`],[,,`800\\d{5}`,,,,`80012345`],[,,`90[016]\\d{5}`,,,,`90012345`],[,,`80[1-4]\\d{5}`,,,,`80112345`],[,,,,,,,,,[-1]],[,,`60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}`,,,,`60271234`],`AM`,374,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`[89]0`],`0 $1`],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`2|3[12]`],`(0$1)`],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`1|47`],`(0$1)`],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`[3-9]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,`[29]\\d{8}`,,,,,,,[9]],[,,`2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}`,,,,`222123456`],[,,`9[1-79]\\d{7}`,,,,`923123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AO`,244,`00`,,,,,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[29]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,`(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}`,,,,,,,[10,11],[6,7,8]],[,,`3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68])))\\d{6}|(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}`,,,,`1123456789`,,,[10],[6,7,8]],[,,`93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68]))))\\d{6}|9(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|9(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|9(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}`,,,,`91123456789`,,,,[6,7,8]],[,,`800\\d{7,8}`,,,,`8001234567`],[,,`60[04579]\\d{7}`,,,,`6001234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AR`,54,`00`,`0`,,,`0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?`,`9$1`,,,[[,`(\\d{3})`,`$1`,[`0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911`]],[,`(\\d{2})(\\d{4})`,`$1-$2`,[`[1-9]`]],[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-9]`]],[,`(\\d{4})(\\d{4})`,`$1-$2`,[`[1-8]`]],[,`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2-$3`,[`2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])`,`2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)`,`2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]`,`2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]`],`0$1`,,1],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`1`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[68]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[23]`],`0$1`,,1],[,`(\\d)(\\d{4})(\\d{2})(\\d{4})`,`$2 15-$3-$4`,[`9(?:2[2-469]|3[3-578])`,`9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))`,`9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)`,`9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]`,`9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]`],`0$1`],[,`(\\d)(\\d{2})(\\d{4})(\\d{4})`,`$2 15-$3-$4`,[`91`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{5})`,`$1-$2-$3`,[`8`],`0$1`],[,`(\\d)(\\d{3})(\\d{3})(\\d{4})`,`$2 15-$3-$4`,[`9`],`0$1`]],[[,`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2-$3`,[`2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])`,`2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)`,`2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]`,`2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]`],`0$1`,,1],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`1`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[68]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[23]`],`0$1`,,1],[,`(\\d)(\\d{4})(\\d{2})(\\d{4})`,`$1 $2 $3-$4`,[`9(?:2[2-469]|3[3-578])`,`9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))`,`9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)`,`9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]`,`9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]`]],[,`(\\d)(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3-$4`,[`91`]],[,`(\\d{3})(\\d{3})(\\d{5})`,`$1-$2-$3`,[`8`],`0$1`],[,`(\\d)(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3-$4`,[`9`]]],[,,,,,,,,,[-1]],,,[,,`810\\d{7}`,,,,,,,[10]],[,,`810\\d{7}`,,,,`8101234567`,,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,`(?:[58]\\d\\d|684|900)\\d{7}`,,,,,,,[10],[7]],[,,`6846(?:22|33|44|55|77|88|9[19])\\d{4}`,,,,`6846221234`,,,,[7]],[,,`684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}`,,,,`6847331234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`AS`,1,`011`,`1`,,,`([267]\\d{6})$|1`,`684$1`,,,,,[,,,,,,,,,[-1]],,`684`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,`1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}`,,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,`1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}`,,,,`1234567890`,,,,[3]],[,,`6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}`,,,,`664123456`,,,[7,8,9,10,11,12,13]],[,,`800\\d{6,10}`,,,,`800123456`,,,[9,10,11,12,13]],[,,`(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}`,,,,`900123456`,,,[9,10,11,12,13]],[,,`8(?:10|2[018])\\d{6,10}|828\\d{5}`,,,,`810123456`,,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,`5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}`,,,,`780123456`,,,[5,6,7,8,9,10,11,12,13]],`AT`,43,`00`,`0`,,,`0`,,,,[[,`(\\d{4})`,`$1`,[`14`]],[,`(\\d)(\\d{3,12})`,`$1 $2`,[`1(?:11|[2-9])`],`0$1`],[,`(\\d{3})(\\d{2})`,`$1 $2`,[`517`],`0$1`],[,`(\\d{2})(\\d{3,5})`,`$1 $2`,[`5[079]`],`0$1`],[,`(\\d{6})`,`$1`,[`[18]`]],[,`(\\d{3})(\\d{3,10})`,`$1 $2`,[`(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]`],`0$1`],[,`(\\d{4})(\\d{3,9})`,`$1 $2`,[`[2-467]|5[2-6]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`5`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4,7})`,`$1 $2 $3`,[`5`],`0$1`]],[[,`(\\d)(\\d{3,12})`,`$1 $2`,[`1(?:11|[2-9])`],`0$1`],[,`(\\d{3})(\\d{2})`,`$1 $2`,[`517`],`0$1`],[,`(\\d{2})(\\d{3,5})`,`$1 $2`,[`5[079]`],`0$1`],[,`(\\d{3})(\\d{3,10})`,`$1 $2`,[`(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]`],`0$1`],[,`(\\d{4})(\\d{3,9})`,`$1 $2`,[`[2-467]|5[2-6]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`5`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4,7})`,`$1 $2 $3`,[`5`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,`1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}`,,,,,,,[5,6,7,8,9,10,12]],[,,`(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}`,,,,`212345678`,,,[9],[8]],[,,`4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,,,,`412345678`,,,[9]],[,,`180(?:0\\d{3}|2)\\d{3}`,,,,`1800123456`,,,[7,10]],[,,`190[0-26]\\d{6}`,,,,`1900123456`,,,[10]],[,,`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,,,,`1300123456`,,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,,,,`147101234`,,,[9]],`AU`,61,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`0`,,,`(183[12])|0`,,`0011`,,[[,`(\\d{2})(\\d{3,4})`,`$1 $2`,[`16`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`13`]],[,`(\\d{3})(\\d{3})`,`$1 $2`,[`19`]],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`180`,`1802`]],[,`(\\d{4})(\\d{3,4})`,`$1 $2`,[`19`]],[,`(\\d{2})(\\d{3})(\\d{2,4})`,`$1 $2 $3`,[`16`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`14|4`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[2378]`],`(0$1)`,`$CC ($1)`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:30|[89])`]],[,`(\\d{4})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`130`]]],[[,`(\\d{2})(\\d{3,4})`,`$1 $2`,[`16`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2,4})`,`$1 $2 $3`,[`16`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`14|4`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[2378]`],`(0$1)`,`$CC ($1)`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:30|[89])`]]],[,,`163\\d{2,6}`,,,,`1631234`,,,[5,6,7,8,9]],1,,[,,`1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}`,,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,`(?:[25-79]\\d\\d|800)\\d{4}`,,,,,,,[7]],[,,`5(?:2\\d|8[1-9])\\d{4}`,,,,`5212345`],[,,`(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}`,,,,`5601234`],[,,`800\\d{4}`,,,,`8001234`],[,,`900\\d{4}`,,,,`9001234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:28\\d|501)\\d{4}`,,,,`5011234`],`AW`,297,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[25-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,`2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}`,,,,,,,[5,6,7,8,9,10,11,12]],[,,`18[1-8]\\d{3,6}`,,,,`181234567`,,,[6,7,8,9]],[,,`4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}`,,,,`412345678`,,,[6,7,8,9,10]],[,,`800\\d{4,6}`,,,,`800123456`,,,[7,8,9]],[,,`[67]00\\d{5,6}`,,,,`600123456`,,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AX`,358,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`0`,,,`0`,,`00`,,,,[,,,,,,,,,[-1]],,`18`,[,,,,,,,,,[-1]],[,,`20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}`,,,,`10112345`],,,[,,,,,,,,,[-1]]],AZ:[,[,,`365\\d{6}|(?:[124579]\\d|60|88)\\d{7}`,,,,,,,[9],[7]],[,,`(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}`,,,,`123123456`,,,,[7]],[,,`36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}`,,,,`401234567`],[,,`88\\d{7}`,,,,`881234567`],[,,`900200\\d{3}`,,,,`900200123`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`AZ`,994,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[1-9]`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`90`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[28]|2|365|46`,`1[28]|2|365[45]|46`,`1[28]|2|365(?:4|5[02])|46`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[13-9]`],`0$1`]],[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`90`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[28]|2|365|46`,`1[28]|2|365[45]|46`,`1[28]|2|365(?:4|5[02])|46`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[13-9]`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,`6\\d{8}|(?:[35689]\\d|49|70)\\d{6}`,,,,,,,[8,9],[6]],[,,`(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}`,,,,`30212345`,,,[8],[6]],[,,`6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}`,,,,`61123456`],[,,`8[08]\\d{6}`,,,,`80123456`,,,[8]],[,,`9[0246]\\d{6}`,,,,`90123456`,,,[8]],[,,`8[12]\\d{6}`,,,,`82123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BA`,387,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})`,`$1-$2`,[`[2-9]`]],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6[1-3]|[7-9]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2-$3`,[`[3-5]|6[56]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`6`],`0$1`]],[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6[1-3]|[7-9]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2-$3`,[`[3-5]|6[56]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`6`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}`,,,,`70341234`,,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,`(?:246|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}`,,,,`2464123456`,,,,[7]],[,,`246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}`,,,,`2462501234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`(?:246976|900[2-9]\\d\\d)\\d{4}`,,,,`9002123456`,,,,[7]],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,`24631\\d{5}`,,,,`2463101234`,,,,[7]],`BB`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`246$1`,,,,,[,,,,,,,,,[-1]],,`246`,[,,,,,,,,,[-1]],[,,`246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}`,,,,`2464301234`,,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,`[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}`,,,,,,,[6,7,8,9,10]],[,,`(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}`,,,,`27111234`],[,,`(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}`,,,,`1812345678`,,,[10]],[,,`80[03]\\d{7}`,,,,`8001234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}`,,,,`9604123456`,,,[10]],`BD`,880,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{4,6})`,`$1-$2`,[`31[5-8]|[459]1`],`0$1`],[,`(\\d{3})(\\d{3,7})`,`$1-$2`,[`3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]`],`0$1`],[,`(\\d{4})(\\d{3,6})`,`$1-$2`,[`[13-9]|2[23]`],`0$1`],[,`(\\d)(\\d{7,8})`,`$1-$2`,[`2`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,`4\\d{8}|[1-9]\\d{7}`,,,,,,,[8,9]],[,,`80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}`,,,,`12345678`,,,[8]],[,,`4[5-9]\\d{7}`,,,,`470123456`,,,[9]],[,,`800[1-9]\\d{4}`,,,,`80012345`,,,[8]],[,,`(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}`,,,,`90012345`,,,[8]],[,,`7879\\d{4}`,,,,`78791234`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BE`,32,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`(?:80|9)0`],`0$1`],[,`(\\d)(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[239]|4[23]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[15-8]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`4`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}`,,,,`78102345`,,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,`[025-7]\\d{7}`,,,,,,,[8]],[,,`2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}`,,,,`20491234`],[,,`(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}`,,,,`70123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BF`,226,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[025-7]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,`00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}`,,,,,,,[6,7,8,9,12],[4,5]],[,,`2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}`,,,,`2123456`,,,[6,7,8],[4,5]],[,,`(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}`,,,,`43012345`,,,[8,9]],[,,`(?:00800\\d\\d|800)\\d{5}`,,,,`80012345`,,,[8,12]],[,,`90\\d{6}`,,,,`90123456`,,,[8]],[,,`700\\d{5}`,,,,`70012345`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BG`,359,`00`,`0`,,,`0`,,,,[[,`(\\d{6})`,`$1`,[`1`]],[,`(\\d)(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`2`],`0$1`],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`43[1-6]|70[1-9]`],`0$1`],[,`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`(?:70|8)0`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3`,[`43[1-7]|7`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[48]|9[08]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`]],[[,`(\\d)(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`2`],`0$1`],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`43[1-6]|70[1-9]`],`0$1`],[,`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`(?:70|8)0`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3`,[`43[1-7]|7`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[48]|9[08]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,`[136-9]\\d{7}`,,,,,,,[8]],[,,`(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}`,,,,`17001234`],[,,`(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}`,,,,`36001234`],[,,`8[02369]\\d{6}`,,,,`80123456`],[,,`(?:87|9[0-8])\\d{6}`,,,,`90123456`],[,,`84\\d{6}`,,,,`84123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BH`,973,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[13679]|8[02-4679]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,`(?:[267]\\d|31)\\d{6}`,,,,,,,[8]],[,,`(?:22|31)\\d{6}`,,,,`22201234`],[,,`(?:29|[67][125-9])\\d{6}`,,,,`79561234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BI`,257,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2367]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,`(?:01\\d|[24-689])\\d{7}`,,,,,,,[8,10]],[,,`2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}`,,,,`0120211234`],[,,`(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}`,,,,`0195123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`857[58]\\d{4}`,,,,`85751234`,,,[8]],`BJ`,229,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-689]`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`0`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`81\\d{6}`,,,,`81123456`,,,[8]],,,[,,,,,,,,,[-1]]],BL:[,[,,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,,,,,,,[9]],[,,`590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}`,,,,`590271234`],[,,`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}`,,,,`690001234`],[,,`80[0-5]\\d{6}`,,,,`800012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}`,,,,`976012345`],`BL`,590,`00`,`0`,,,`0`,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,`(?:441|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}`,,,,`4414123456`,,,,[7]],[,,`441(?:[2378]\\d|5[0-39]|9[02])\\d{5}`,,,,`4413701234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`BM`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`441$1`,,,,,[,,,,,,,,,[-1]],,`441`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,`[2-578]\\d{6}`,,,,,,,[7]],[,,`22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}`,,,,`2345678`],[,,`(?:22[89]|[78]\\d\\d)\\d{4}`,,,,`7123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`5[34]\\d{5}`,,,,`5345678`],`BN`,673,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-578]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,`8001\\d{5}|(?:[2-467]\\d|50)\\d{6}`,,,,,,,[8,9],[7]],[,,`(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}`,,,,`22123456`,,,[8],[7]],[,,`[67]\\d{7}`,,,,`71234567`,,,[8]],[,,`8001[07]\\d{4}`,,,,`800171234`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`50\\d{6}`,,,,`50123456`,,,[8],[7]],`BO`,591,`00(?:1\\d)?`,`0`,,,`0(1\\d)?`,,,,[[,`(\\d)(\\d{7})`,`$1 $2`,[`[235]|4[46]`],,`0$CC $1`],[,`(\\d{8})`,`$1`,[`[67]`],,`0$CC $1`],[,`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`8`],,`0$CC $1`]],,[,,,,,,,,,[-1]],,,[,,`8001[07]\\d{4}`,,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,`(?:[34]1|7\\d)\\d{5}`,,,,,,,[7]],[,,`(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}`,,,,`7151234`],[,,`(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}`,,,,`3181234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BQ`,599,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,`[347]`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,`(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}`,,,,,,,[8,9,10,11]],[,,`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}`,,,,`1123456789`,,,[10],[8]],[,,`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}`,,,,`11961234567`,,,[10,11],[8,9]],[,,`800\\d{6,7}`,,,,`800123456`,,,[9,10]],[,,`300\\d{6}|[59]00\\d{6,7}`,,,,`300123456`,,,[9,10]],[,,`(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}`,,,,`40041234`,,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BR`,55,`00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)`,`0`,,,`(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?`,`$2`,,,[[,`(\\d{3,6})`,`$1`,[`1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610`]],[,`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37)`,`4(?:02|37)0|[34]00`]],[,`(\\d{4})(\\d{4})`,`$1-$2`,[`[2-57]`,`[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))`]],[,`(\\d{3})(\\d{2,3})(\\d{4})`,`$1 $2 $3`,[`(?:[358]|90)0`],`0$1`],[,`(\\d{5})(\\d{4})`,`$1-$2`,[`9`]],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]`],`($1)`,`0 $CC ($1)`],[,`(\\d{2})(\\d{5})(\\d{4})`,`$1 $2-$3`,[`[16][1-9]|[2-57-9]`],`($1)`,`0 $CC ($1)`]],[[,`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37)`,`4(?:02|37)0|[34]00`]],[,`(\\d{3})(\\d{2,3})(\\d{4})`,`$1 $2 $3`,[`(?:[358]|90)0`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]`],`($1)`,`0 $CC ($1)`],[,`(\\d{2})(\\d{5})(\\d{4})`,`$1 $2-$3`,[`[16][1-9]|[2-57-9]`],`($1)`,`0 $CC ($1)`]],[,,,,,,,,,[-1]],,,[,,`30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}`,,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,`(?:242|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}`,,,,`2423456789`,,,,[7]],[,,`242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}`,,,,`2423591234`,,,,[7]],[,,`242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`,,,,[7]],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`BS`,1,`011`,`1`,,,`([3-8]\\d{6})$|1`,`242$1`,,,,,[,,,,,,,,,[-1]],,`242`,[,,,,,,,,,[-1]],[,,`242225\\d{4}`,,,,`2422250123`],,,[,,,,,,,,,[-1]]],BT:[,[,,`[17]\\d{7}|[2-8]\\d{6}`,,,,,,,[7,8],[6]],[,,`(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}`,,,,`2345678`,,,[7],[6]],[,,`(?:1[67]|77)\\d{6}`,,,,`17123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BT`,975,`00`,,,,,,,,[[,`(\\d{3})(\\d{3})`,`$1 $2`,[`[2-7]`]],[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-68]|7[246]`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|7`]]],[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-68]|7[246]`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|7`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,`(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}`,,,,,,,[7,8,10]],[,,`(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}`,,,,`2401234`,,,[7]],[,,`(?:321|7[1-8]\\d)\\d{5}`,,,,`71123456`,,,[8]],[,,`(?:0800|800\\d)\\d{6}`,,,,`0800012345`,,,[10]],[,,`90\\d{5}`,,,,`9012345`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}`,,,,`79101234`,,,[8]],`BW`,267,`00`,,,,,,,,[[,`(\\d{2})(\\d{5})`,`$1 $2`,[`90`]],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[24-6]|3[15-9]`]],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[37]`]],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`0`]],[,`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,`(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}`,,,,,,,[6,7,8,9,10,11],[5]],[,,`(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}`,,,,`152450911`,,,[9],[5,6,7]],[,,`(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}`,,,,`294911911`,,,[9]],[,,`800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}`,,,,`8011234567`],[,,`(?:810|902)\\d{7}`,,,,`9021234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`249\\d{6}`,,,,`249123456`,,,[9]],`BY`,375,`810`,`8`,,,`0|80?`,,`8~10`,,[[,`(\\d{3})(\\d{3})`,`$1 $2`,[`800`],`8 $1`],[,`(\\d{3})(\\d{2})(\\d{2,4})`,`$1 $2 $3`,[`800`],`8 $1`],[,`(\\d{4})(\\d{2})(\\d{3})`,`$1 $2-$3`,[`1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])`,`1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])`],`8 0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`1(?:[56]|7[467])|2[1-3]`],`8 0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[1-4]`],`8 0$1`],[,`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[89]`],`8 $1`]],,[,,,,,,,,,[-1]],,,[,,`800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}`],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,`(?:0800\\d|[2-8])\\d{6}`,,,,,,,[7,11]],[,,`(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}`,,,,`2221234`,,,[7]],[,,`6[0-35-7]\\d{5}`,,,,`6221234`,,,[7]],[,,`0800\\d{7}`,,,,`08001234123`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`BZ`,501,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-8]`]],[,`(\\d)(\\d{3})(\\d{4})(\\d{3})`,`$1-$2-$3-$4`,[`0`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,`[2-9]\\d{9}|3\\d{6}`,,,,,,,[7,10]],[,,`(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}`,,,,`5062345678`,,,[10],[7]],[,,`(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}`,,,,`5062345678`,,,[10],[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`,,,[10]],[,,`900[2-9]\\d{6}`,,,,`9002123456`,,,[10]],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}`,,,,`5002345678`,,,[10]],[,,`600[2-9]\\d{6}`,,,,`6002012345`,,,[10]],`CA`,1,`011`,`1`,,,`1`,,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`310\\d{4}`,,,,`3101234`,,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,`1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}`,,,,,,,[6,7,8,9,10,12]],[,,`8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}`,,,,`891621234`,,,[9],[8]],[,,`4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,,,,`412345678`,,,[9]],[,,`180(?:0\\d{3}|2)\\d{3}`,,,,`1800123456`,,,[7,10]],[,,`190[0-26]\\d{6}`,,,,`1900123456`,,,[10]],[,,`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,,,,`1300123456`,,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,,,,`147101234`,,,[9]],`CC`,61,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`0`,,,`([59]\\d{7})$|0`,`8$1`,`0011`,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,`(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}`,,,,,,,[7,8,9,10]],[,,`(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}`,,,,`1234567`],[,,`88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}`,,,,`991234567`,,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CD`,243,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`88`],`0$1`],[,`(\\d{2})(\\d{5})`,`$1 $2`,[`[1-6]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`5`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,`(?:[27]\\d{3}|8776)\\d{4}`,,,,,,,[8]],[,,`2[12]\\d{6}`,,,,`21612345`],[,,`7[024-7]\\d{6}`,,,,`70012345`],[,,,,,,,,,[-1]],[,,`8776\\d{4}`,,,,`87761234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CF`,236,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[278]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,`222\\d{6}|(?:0\\d|80)\\d{7}`,,,,,,,[9]],[,,`222[1-589]\\d{5}`,,,,`222123456`],[,,`026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}`,,,,`061234567`],[,,,,,,,,,[-1]],[,,`80[0-2]\\d{6}`,,,,`800123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CG`,242,`00`,,,,,,,,[[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`8`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[02]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,`8\\d{11}|[2-9]\\d{8}`,,,,,,,[9,12]],[,,`(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}`,,,,`212345678`,,,[9]],[,,`(?:6[89]|7[235-9])\\d{7}`,,,,`781234567`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`90[016]\\d{6}`,,,,`900123456`,,,[9]],[,,`84[0248]\\d{6}`,,,,`840123456`,,,[9]],[,,`878\\d{6}`,,,,`878123456`,,,[9]],[,,,,,,,,,[-1]],`CH`,41,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8[047]|90`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-79]|81`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`8`],`0$1`]],,[,,`74[0248]\\d{6}`,,,,`740123456`,,,[9]],,,[,,,,,,,,,[-1]],[,,`5[18]\\d{7}`,,,,`581234567`,,,[9]],,,[,,`860\\d{9}`,,,,`860123456789`,,,[12]]],CI:[,[,,`[02]\\d{9}`,,,,,,,[10]],[,,`2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}`,,,,`2123456789`],[,,`0[157]\\d{8}`,,,,`0123456789`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CI`,225,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d)(\\d{5})`,`$1 $2 $3 $4`,[`2`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3 $4`,[`0`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,`[2-578]\\d{4}`,,,,,,,[5]],[,,`(?:2\\d|3[13-7]|4[1-5])\\d{3}`,,,,`21234`],[,,`[578]\\d{4}`,,,,`71234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CK`,682,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})`,`$1 $2`,[`[2-578]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,`12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}`,,,,,,,[9,10,11]],[,,`2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}`,,,,`221234567`,,,[9]],[,,`2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}`,,,,`221234567`,,,[9]],[,,`(?:123|8)00\\d{6}`,,,,`800123456`,,,[9,11]],[,,,,,,,,,[-1]],[,,`600\\d{7,8}`,,,,`6001234567`,,,[10,11]],[,,,,,,,,,[-1]],[,,`44\\d{7}`,,,,`441234567`,,,[9]],`CL`,56,`(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0`,,,,,,,1,[[,`(\\d{4})`,`$1`,[`1(?:[03-589]|21)|[29]0|78`]],[,`(\\d{5})(\\d{4})`,`$1 $2`,[`219`,`2196`],`($1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`44`]],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[1-36]`],`($1)`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`9[2-9]`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])`],`($1)`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`60|8`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`60`]]],[[,`(\\d{5})(\\d{4})`,`$1 $2`,[`219`,`2196`],`($1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`44`]],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[1-36]`],`($1)`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`9[2-9]`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])`],`($1)`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`60|8`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`60`]]],[,,,,,,,,,[-1]],,,[,,`600\\d{7,8}`,,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,`[26]\\d{8}|88\\d{6,7}`,,,,,,,[8,9]],[,,`2(?:22|33)\\d{6}`,,,,`222123456`,,,[9]],[,,`(?:24[23]|6(?:[25-9]\\d|40))\\d{6}`,,,,`671234567`,,,[9]],[,,`88\\d{6,7}`,,,,`88012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CM`,237,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`88`]],[,`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[26]|88`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,`(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}`,,,,,,,[7,8,9,10,11,12],[5,6]],[,,`(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))`,,,,`1012345678`,,,[7,8,9,10,11],[5,6]],[,,`1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}`,,,,`13123456789`,,,[11]],[,,`(?:(?:10|21)8|8)00\\d{7}`,,,,`8001234567`,,,[10,12]],[,,`16[08]\\d{5}`,,,,`16812345`,,,[8]],[,,`10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}`,,,,`4001234567`,,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CN`,86,`00|1(?:[12]\\d|79)\\d\\d00`,`0`,,,`(1(?:[12]\\d|79)\\d\\d)|0`,,`00`,,[[,`(\\d{5,6})`,`$1`,[`1(?:00|2[13])|9[56]`,`1(?:00|2(?:1|39))|9[56]`,`1(?:00|2(?:1|395))|9[56]`]],[,`(\\d{5,6})`,`$1`,[`1(?:0|23)|781|[1-9]12`,`1(?:0|23)|7812|[1-9]123`,`1(?:0|23(?:[0-8]|9[0-46-9]))|78123|[1-9]123`]],[,`(\\d{2})(\\d{5,6})`,`$1 $2`,[`(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]`,`(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123`],`0$1`,`$CC $1`],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[1-9]`,`1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])`,`1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|[3-9]`,`1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))`,`1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:0(?:[0-689]|7[0-79])|1[01459]|2[0-489]|[46]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`16[08]`]],[,`(\\d{3})(\\d{5,6})`,`$1 $2`,[`3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]`,`(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]`,`85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])`,`85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])`],`0$1`,`$CC $1`],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[1-9]`,`1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]`,`1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])`,`1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`(?:4|80)0`]],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`10|2(?:[02-57-9]|1[1-9])`,`10|2(?:[02-57-9]|1[1-9])`,`10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{7,8})`,`$1 $2`,[`9`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`80`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[3-578]`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`1[3-9]`],,`$CC $1`],[,`(\\d{2})(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`[12]`],`0$1`,,1]],[[,`(\\d{2})(\\d{5,6})`,`$1 $2`,[`(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]`,`(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123`],`0$1`,`$CC $1`],[,`(\\d{3})(\\d{5,6})`,`$1 $2`,[`3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]`,`(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]`,`85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])`,`85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])`],`0$1`,`$CC $1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`(?:4|80)0`]],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`10|2(?:[02-57-9]|1[1-9])`,`10|2(?:[02-57-9]|1[1-9])`,`10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{7,8})`,`$1 $2`,[`9`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`80`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[3-578]`],`0$1`,`$CC $1`,1],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`1[3-9]`],,`$CC $1`],[,`(\\d{2})(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`[12]`],`0$1`,,1]],[,,,,,,,,,[-1]],,,[,,`(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}`,,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,`(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}`,,,,,,,[8,10,11],[4,7]],[,,`601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[124-7][2-9]|8[1-9]))\\d{6}`,,,,`6012345678`,,,[8,10],[4,7]],[,,`333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}`,,,,`3211234567`,,,[10]],[,,`1800\\d{7}`,,,,`18001234567`,,,[11]],[,,`(?:19(?:0[01]|4[78])|901)\\d{7}`,,,,`19001234567`,,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CO`,57,`00(?:4(?:[14]4|56)|[579])`,`0`,,,`0([3579]|4(?:[14]4|56))?`,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`46`]],[,`(\\d{3})(\\d{7})`,`$1 $2`,[`6|90`],`($1)`,`0$CC $1`],[,`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|91`],,`0$CC $1`],[,`(\\d)(\\d{3})(\\d{7})`,`$1-$2-$3`,[`1`],`0$1`]],[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`46`]],[,`(\\d{3})(\\d{7})`,`$1 $2`,[`6|90`],`($1)`,`0$CC $1`],[,`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|91`],,`0$CC $1`],[,`(\\d)(\\d{3})(\\d{7})`,`$1 $2 $3`,[`1`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,`(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}`,,,,,,,[8,10]],[,,`210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}`,,,,`22123456`,,,[8]],[,,`(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}`,,,,`83123456`,,,[8]],[,,`800\\d{7}`,,,,`8001234567`,,,[10]],[,,`90[059]\\d{7}`,,,,`9001234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:210[0-6]|4\\d{3}|5100)\\d{4}`,,,,`40001234`,,,[8]],`CR`,506,`00`,,,,`(19(?:0[0-2468]|1[09]|20|66|77|99))`,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-7]|8[3-9]`],,`$CC $1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[89]`],,`$CC $1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,`(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}`,,,,,,,[6,7,8,10],[4,5]],[,,`(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}`,,,,`71234567`,,,,[4,5]],[,,`(?:5\\d|6[2-4])\\d{6}`,,,,`51234567`,,,[8]],[,,`800\\d{7}`,,,,`8001234567`,,,[10]],[,,,,,,,,,[-1]],[,,`807\\d{7}`,,,,`8071234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CU`,53,`119`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{4,6})`,`$1 $2`,[`2[1-4]|[34]`],`(0$1)`],[,`(\\d)(\\d{6,7})`,`$1 $2`,[`7`],`(0$1)`],[,`(\\d)(\\d{7})`,`$1 $2`,[`[56]`],`0$1`],[,`(\\d{3})(\\d{7})`,`$1 $2`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,`(?:[2-59]\\d\\d|800)\\d{4}`,,,,,,,[7]],[,,`2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}`,,,,`2211234`],[,,`(?:36|5[1-389]|9\\d)\\d{5}`,,,,`9911234`],[,,`800\\d{4}`,,,,`8001234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:3[3-5]|4[356])\\d{5}`,,,,`3401234`],`CV`,238,`0`,,,,,,,,[[,`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-589]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,`(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}`,,,,,,,[7,8]],[,,`9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}`,,,,`94351234`],[,,`953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}`,,,,`95181234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`60[0-2]\\d{4}`,,,,`6001234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`CW`,599,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[3467]`]],[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9[4-8]`]]],,[,,`955\\d{5}`,,,,`95581234`,,,[8]],1,`[69]`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,`1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}`,,,,,,,[6,7,8,9,10,12]],[,,`8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}`,,,,`891641234`,,,[9],[8]],[,,`4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}`,,,,`412345678`,,,[9]],[,,`180(?:0\\d{3}|2)\\d{3}`,,,,`1800123456`,,,[7,10]],[,,`190[0-26]\\d{6}`,,,,`1900123456`,,,[10]],[,,`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,,,,`1300123456`,,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,,,,`147101234`,,,[9]],`CX`,61,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`0`,,,`([59]\\d{7})$|0`,`8$1`,`0011`,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,`(?:[279]\\d|[58]0)\\d{6}`,,,,,,,[8]],[,,`2[2-6]\\d{6}`,,,,`22345678`],[,,`9(?:10|[4-79]\\d)\\d{5}`,,,,`96123456`],[,,`800\\d{5}`,,,,`80001234`],[,,`90[09]\\d{5}`,,,,`90012345`],[,,`80[1-9]\\d{5}`,,,,`80112345`],[,,`700\\d{5}`,,,,`70012345`],[,,,,,,,,,[-1]],`CY`,357,`00`,,,,,,,,[[,`(\\d{2})(\\d{6})`,`$1 $2`,[`[257-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`(?:50|77)\\d{6}`,,,,`77123456`],,,[,,,,,,,,,[-1]]],CZ:[,[,,`(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}`,,,,,,,[9,10,11,12]],[,,`(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}`,,,,`212345678`,,,[9]],[,,`(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}`,,,,`601123456`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`9(?:0[05689]|76)\\d{6}`,,,,`900123456`,,,[9]],[,,`8[134]\\d{7}`,,,,`811234567`,,,[9]],[,,`70[01]\\d{6}`,,,,`700123456`,,,[9]],[,,`9[17]0\\d{6}`,,,,`910123456`,,,[9]],`CZ`,420,`00`,,,,,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-8]|9[015-7]`]],[,`(\\d{2})(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`96`]],[,`(\\d{2})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`9`]],[,`(\\d{3})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`9`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`9(?:5\\d|7[2-4])\\d{6}`,,,,`972123456`,,,[9]],,,[,,`9(?:3\\d{9}|6\\d{7,10})`,,,,`93123456789`]],DE:[,[,,`[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}`,,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,`32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}`,,,,`30123456`,,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,`16[023]\\d{7,8}|1(?:5310|7[0-57-9]\\d)\\d{6}|1(?:5[0-25-9]|76)\\d{8}`,,,,`15123456789`,,,[10,11]],[,,`800\\d{7,12}`,,,,`8001234567890`,,,[10,11,12,13,14,15]],[,,`(?:137[7-9]|900(?:[135]|9\\d))\\d{6}`,,,,`9001234567`,,,[10,11]],[,,`180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}`,,,,`18012345`,,,[7,8,9,10,11,12,13,14]],[,,`700\\d{8}`,,,,`70012345678`,,,[11]],[,,,,,,,,,[-1]],`DE`,49,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3,13})`,`$1 $2`,[`3[02]|40|[68]9`],`0$1`],[,`(\\d{3})(\\d{3,12})`,`$1 $2`,[`2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1`,`2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1`],`0$1`],[,`(\\d{4})(\\d{2,11})`,`$1 $2`,[`[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]`,`[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]`],`0$1`],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`138`],`0$1`],[,`(\\d{5})(\\d{2,10})`,`$1 $2`,[`3`],`0$1`],[,`(\\d{3})(\\d{5,11})`,`$1 $2`,[`181`],`0$1`],[,`(\\d{3})(\\d)(\\d{4,10})`,`$1 $2 $3`,[`1(?:3|80)|9`],`0$1`],[,`(\\d{3})(\\d{7,8})`,`$1 $2`,[`1[67]`],`0$1`],[,`(\\d{3})(\\d{7,12})`,`$1 $2`,[`8`],`0$1`],[,`(\\d{5})(\\d{6})`,`$1 $2`,[`185`,`1850`,`18500`],`0$1`],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`],[,`(\\d{4})(\\d{7})`,`$1 $2`,[`18[68]`],`0$1`],[,`(\\d{4})(\\d{7})`,`$1 $2`,[`15[1279]`],`0$1`],[,`(\\d{5})(\\d{6})`,`$1 $2`,[`15[03568]`,`15(?:[0568]|31)`],`0$1`],[,`(\\d{3})(\\d{8})`,`$1 $2`,[`18`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{7,8})`,`$1 $2 $3`,[`1(?:6[023]|7)`],`0$1`],[,`(\\d{4})(\\d{2})(\\d{7})`,`$1 $2 $3`,[`15[279]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{8})`,`$1 $2 $3`,[`15`],`0$1`]],,[,,`16(?:4\\d{1,10}|[89]\\d{1,11})`,,,,`16412345`,,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,`18(?:1\\d{5,11}|[2-9]\\d{8})`,,,,`18500123456`,,,[8,9,10,11,12,13,14]],,,[,,`1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}`,,,,`177991234567`,,,[12,13]]],DJ:[,[,,`(?:2\\d|77)\\d{6}`,,,,,,,[8]],[,,`2(?:1[2-5]|7[45])\\d{5}`,,,,`21360003`],[,,`77\\d{6}`,,,,`77831001`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`DJ`,253,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[27]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,`[2-9]\\d{7}`,,,,,,,[8]],[,,`(?:(?:2\\d|9[1-46-9])\\d|3(?:[0-37]\\d|4[013]|5[0-58]|6[01347-9]|8[0-8]|9[0-79])|4(?:[0-25]\\d|[34][02-9]|6[013-579]|7[013579]|8[0-47]|9[0-27])|5(?:[0-36]\\d|4[0146-9]|5[03-57-9]|7[0568]|8[0-358]|9[0-69])|6(?:[013578]\\d|2[0-68]|4[02-8]|6[01689]|9[015689])|7(?:[0-69]\\d|7[03-9]|8[0147])|8(?:[16-9]\\d|2[0-58]))\\d{5}`,,,,`32123456`],[,,`(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}`,,,,`34412345`],[,,`80\\d{6}`,,,,`80123456`],[,,`90\\d{6}`,,,,`90123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`DK`,45,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,`(?:[58]\\d\\d|767|900)\\d{7}`,,,,,,,[10],[7]],[,,`767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}`,,,,`7674201234`,,,,[7]],[,,`767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}`,,,,`7672251234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`DM`,1,`011`,`1`,,,`([2-7]\\d{6})$|1`,`767$1`,,,,,[,,,,,,,,,[-1]],,`767`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,`(?:[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}`,,,,`8092345678`,,,,[7]],[,,`8[024]9[2-9]\\d{6}`,,,,`8092345678`,,,,[7]],[,,`8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`DO`,1,`011`,`1`,,,`1`,,,,,,[,,,,,,,,,[-1]],,`8001|8[024]9`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,`(?:[1-4]|[5-79]\\d|80)\\d{7}`,,,,,,,[8,9]],[,,`9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}`,,,,`12345678`],[,,`(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}`,,,,`551234567`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`80[3-689]1\\d{5}`,,,,`808123456`,,,[9]],[,,`80[12]1\\d{5}`,,,,`801123456`,,,[9]],[,,,,,,,,,[-1]],[,,`98[23]\\d{6}`,,,,`983123456`,,,[9]],`DZ`,213,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[1-4]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`9`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-8]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,`1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}`,,,,,,,[8,9,10,11],[7]],[,,`[2-7][2-7]\\d{6}`,,,,`22123456`,,,[8],[7]],[,,`964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}`,,,,`991234567`,,,[9]],[,,`1800\\d{7}|1[78]00\\d{6}`,,,,`18001234567`,,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`[2-7]890\\d{4}`,,,,`28901234`,,,[8]],`EC`,593,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-7]`]],[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[2-7]`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1`]]],[[,`(\\d)(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[2-7]`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,`8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}`,,,,,,,[7,8,10]],[,,`(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}`,,,,`3212345`,,,[7]],[,,`(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}`,,,,`51234567`,,,[7,8]],[,,`800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}`,,,,`80012345`],[,,`(?:40\\d\\d|900)\\d{4}`,,,,`9001234`,,,[7,8]],[,,,,,,,,,[-1]],[,,`70[0-2]\\d{5}`,,,,`70012345`,,,[8]],[,,,,,,,,,[-1]],`EE`,372,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88`,`[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88`]],[,`(\\d{4})(\\d{3,4})`,`$1 $2`,[`[45]|8(?:00|[1-49])`,`[45]|8(?:00[1-9]|[1-49])`]],[,`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`7`]],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,`800[2-9]\\d{3}`,,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,`[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}`,,,,,,,[8,9,10],[6,7]],[,,`13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}`,,,,`234567890`,,,[8,9],[6,7]],[,,`1[0-25]\\d{8}`,,,,`1001234567`,,,[10]],[,,`800\\d{7}`,,,,`8001234567`,,,[10]],[,,`900\\d{7}`,,,,`9001234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`EG`,20,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{7,8})`,`$1 $2`,[`[23]`],`0$1`],[,`(\\d{2})(\\d{6,7})`,`$1 $2`,[`1[35]|[4-6]|8[2468]|9[235-7]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`],`0$1`],[,`(\\d{2})(\\d{8})`,`$1 $2`,[`1`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,`[5-8]\\d{8}`,,,,,,,[9]],[,,`528[89]\\d{5}`,,,,`528812345`],[,,`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}`,,,,`650123456`],[,,`80[0-7]\\d{6}`,,,,`801234567`],[,,`89\\d{7}`,,,,`891234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}`,,,,`592401234`],`EH`,212,`00`,`0`,,,`0`,,,,,,[,,,,,,,,,[-1]],,`528[89]`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,`[178]\\d{6}`,,,,,,,[7],[6]],[,,`(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}`,,,,`8370362`,,,,[6]],[,,`(?:17[1-3]|7\\d\\d)\\d{4}`,,,,`7123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`ER`,291,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[178]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,`[5-9]\\d{8}`,,,,,,,[9]],[,,`96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}`,,,,`810123456`],[,,`(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}`,,,,`612345678`],[,,`[89]00\\d{6}`,,,,`800123456`],[,,`80[367]\\d{6}`,,,,`803123456`],[,,`90[12]\\d{6}`,,,,`901123456`],[,,`70\\d{7}`,,,,`701234567`],[,,,,,,,,,[-1]],`ES`,34,`00`,,,,,,,,[[,`(\\d{4})`,`$1`,[`905`]],[,`(\\d{6})`,`$1`,[`[79]9`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]00`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-9]`]]],[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]00`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-9]`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`51\\d{7}`,,,,`511234567`],,,[,,,,,,,,,[-1]]],ET:[,[,,`(?:11|[2-579]\\d)\\d{7}`,,,,,,,[9],[7]],[,,`11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}`,,,,`111112345`,,,,[7]],[,,`700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}`,,,,`911234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`ET`,251,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-579]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,`[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}`,,,,,,,[5,6,7,8,9,10,11,12]],[,,`1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}`,,,,`131234567`,,,[5,6,7,8,9]],[,,`4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}`,,,,`412345678`,,,[6,7,8,9,10]],[,,`800\\d{4,6}`,,,,`800123456`,,,[7,8,9]],[,,`[67]00\\d{5,6}`,,,,`600123456`,,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`FI`,358,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`0`,,,`0`,,`00`,,[[,`(\\d{5})`,`$1`,[`75[12]`],`0$1`],[,`(\\d{5})`,`$1`,[`20[2-59]`],`0$1`],[,`(\\d{6})`,`$1`,[`11`]],[,`(\\d{3})(\\d{3,7})`,`$1 $2`,[`(?:[1-3]0|[68])0|70[07-9]`],`0$1`],[,`(\\d{2})(\\d{4,8})`,`$1 $2`,[`[14]|2[09]|50|7[135]`],`0$1`],[,`(\\d{2})(\\d{6,10})`,`$1 $2`,[`7`],`0$1`],[,`(\\d)(\\d{4,9})`,`$1 $2`,[`(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9`],`0$1`]],[[,`(\\d{5})`,`$1`,[`20[2-59]`],`0$1`],[,`(\\d{3})(\\d{3,7})`,`$1 $2`,[`(?:[1-3]0|[68])0|70[07-9]`],`0$1`],[,`(\\d{2})(\\d{4,8})`,`$1 $2`,[`[14]|2[09]|50|7[135]`],`0$1`],[,`(\\d{2})(\\d{6,10})`,`$1 $2`,[`7`],`0$1`],[,`(\\d)(\\d{4,9})`,`$1 $2`,[`(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9`],`0$1`]],[,,,,,,,,,[-1]],1,`1[03-79]|[2-9]`,[,,`20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}`],[,,`20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}`,,,,`10112345`],,,[,,,,,,,,,[-1]]],FJ:[,[,,`45\\d{5}|(?:0800\\d|[235-9])\\d{6}`,,,,,,,[7,11]],[,,`603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}`,,,,`3212345`,,,[7]],[,,`(?:[279]\\d|45|5[01568]|8[034679])\\d{5}`,,,,`7012345`,,,[7]],[,,`0800\\d{7}`,,,,`08001234567`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`FJ`,679,`0(?:0|52)`,,,,,,`00`,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[235-9]|45`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,`[2-7]\\d{4}`,,,,,,,[5]],[,,`[2-47]\\d{4}`,,,,`31234`],[,,`[56]\\d{4}`,,,,`51234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`FK`,500,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,`(?:[39]\\d\\d|820)\\d{4}`,,,,,,,[7]],[,,`31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}`,,,,`3201234`],[,,`31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}`,,,,`3501234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`FM`,691,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[389]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,`[2-9]\\d{5}`,,,,,,,[6]],[,,`(?:20|[34]\\d|8[19])\\d{4}`,,,,`201234`],[,,`(?:[27][1-9]|5\\d|9[16])\\d{4}`,,,,`211234`],[,,`80[257-9]\\d{3}`,,,,`802123`],[,,`90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d`,,,,`901123`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:6[0-36]|88)\\d{4}`,,,,`601234`],`FO`,298,`00`,,,,`(10(?:01|[12]0|88))`,,,,[[,`(\\d{6})`,`$1`,[`[2-9]`],,`$CC $1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,`[1-9]\\d{8}`,,,,,,,[9]],[,,`(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}`,,,,`123456789`],[,,`(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}`,,,,`612345678`],[,,`80[0-5]\\d{6}`,,,,`801234567`],[,,`836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}`,,,,`891123456`],[,,`8(?:1[01]|2[0156]|4[024]|84)\\d{6}`,,,,`884012345`],[,,,,,,,,,[-1]],[,,`9\\d{8}`,,,,`912345678`],`FR`,33,`00`,`0`,,,`0`,,,,[[,`(\\d{4})`,`$1`,[`10`]],[,`(\\d{3})(\\d{3})`,`$1 $2`,[`1`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0 $1`],[,`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[1-79]`],`0$1`]],[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0 $1`],[,`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[1-79]`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`80[6-9]\\d{6}`,,,,`806123456`],,,[,,,,,,,,,[-1]]],GA:[,[,,`(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}`,,,,,,,[7,8]],[,,`[01]1\\d{6}`,,,,`01441234`,,,[8]],[,,`(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}`,,,,`06031234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`GA`,241,`00`,,,,`0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})`,`$1`,,,[[,`(\\d)(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-7]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`0`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`11|[67]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,`[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}`,,,,,,,[7,9,10],[4,5,6,8]],[,,`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}`,,,,`1212345678`,,,[9,10],[4,5,6,7,8]],[,,`7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}`,,,,`7400123456`,,,[10]],[,,`80[08]\\d{7}|800\\d{6}|8001111`,,,,`8001234567`],[,,`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d`,,,,`9012345678`,,,[7,10]],[,,,,,,,,,[-1]],[,,`70\\d{8}`,,,,`7012345678`,,,[10]],[,,`56\\d{8}`,,,,`5612345678`,,,[10]],`GB`,44,`00`,`0`,` x`,,`0`,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`800`,`8001`,`80011`,`800111`,`8001111`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`845`,`8454`,`84546`,`845464`],`0$1`],[,`(\\d{3})(\\d{6})`,`$1 $2`,[`800`],`0$1`],[,`(\\d{5})(\\d{4,5})`,`$1 $2`,[`1(?:38|5[23]|69|76|94)`,`1(?:(?:38|69)7|5(?:24|39)|768|946)`,`1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)`],`0$1`],[,`(\\d{4})(\\d{5,6})`,`$1 $2`,[`1(?:[2-69][02-9]|[78])`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[25]|7(?:0|6[02-9])`,`[25]|7(?:0|6(?:[03-9]|2[356]))`],`0$1`],[,`(\\d{4})(\\d{6})`,`$1 $2`,[`7`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1389]`],`0$1`]],,[,,`76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}`,,,,`7640123456`,,,[10]],1,,[,,,,,,,,,[-1]],[,,`(?:3[0347]|55)\\d{8}`,,,,`5512345678`,,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,`(?:473|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[579]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}`,,,,`4732691234`,,,,[7]],[,,`473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}`,,,,`4734031234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`GD`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`473$1`,,,,,[,,,,,,,,,[-1]],,`473`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,`(?:[3-57]\\d\\d|800)\\d{6}`,,,,,,,[9],[6,7]],[,,`(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}`,,,,`322123456`,,,,[6,7]],[,,`5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}`,,,,`555123456`],[,,`800\\d{6}`,,,,`800123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`70[67]\\d{6}`,,,,`706123456`],`GE`,995,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`70`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`32`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[57]`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[348]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,`70[67]\\d{6}`],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,`(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}`,,,,,,,[9]],[,,`594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}`,,,,`594101234`],[,,`(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}`,,,,`694201234`],[,,`80[0-5]\\d{6}`,,,,`800012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}`,,,,`976012345`],`GF`,594,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]|9[47]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[89]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,`(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?`,,,,,,,[7,9,10],[6]],[,,`1481[25-9]\\d{5}`,,,,`1481256789`,,,[10],[6]],[,,`7(?:(?:781|839)\\d|911[17])\\d{5}`,,,,`7781123456`,,,[10]],[,,`80[08]\\d{7}|800\\d{6}|8001111`,,,,`8001234567`],[,,`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d`,,,,`9012345678`,,,[7,10]],[,,,,,,,,,[-1]],[,,`70\\d{8}`,,,,`7012345678`,,,[10]],[,,`56\\d{8}`,,,,`5612345678`,,,[10]],`GG`,44,`00`,`0`,,,`([25-9]\\d{5})$|0`,`1481$1`,,,,,[,,`76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}`,,,,`7640123456`,,,[10]],,,[,,,,,,,,,[-1]],[,,`(?:3[0347]|55)\\d{8}`,,,,`5512345678`,,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,`(?:[235]\\d{3}|800)\\d{5}`,,,,,,,[8,9],[7]],[,,`3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}`,,,,`302345678`,,,[9],[7]],[,,`(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}`,,,,`231234567`,,,[9]],[,,`800\\d{5}`,,,,`80012345`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`GH`,233,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[237]|8[0-2]`]],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[235]`],`0$1`]],[[,`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[235]`],`0$1`]],[,,,,,,,,,[-1]],,,[,,`800\\d{5}`,,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,`(?:[25]\\d|60)\\d{6}`,,,,,,,[8]],[,,`2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}`,,,,`20012345`],[,,`5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}`,,,,`57123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`GI`,350,`00`,,,,,,,,[[,`(\\d{3})(\\d{5})`,`$1 $2`,[`2`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,`(?:19|[2-689]\\d|70)\\d{4}`,,,,,,,[6]],[,,`(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}`,,,,`321000`],[,,`[245]\\d{5}`,,,,`221234`],[,,`80\\d{4}`,,,,`801234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`3[89]\\d{4}`,,,,`381234`],`GL`,299,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`19|[2-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,`[2-9]\\d{6}`,,,,,,,[7]],[,,`(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}`,,,,`5661234`],[,,`(?:[23679]\\d|4[015]|5[0-489])\\d{5}`,,,,`3012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`GM`,220,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,`722\\d{6}|(?:3|6\\d)\\d{7}`,,,,,,,[8,9]],[,,`3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}`,,,,`30241234`,,,[8]],[,,`6[0-356]\\d{7}`,,,,`601123456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`722\\d{6}`,,,,`722123456`,,,[9]],`GN`,224,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`3`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[67]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,,,,,,,[9]],[,,`590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}`,,,,`590201234`],[,,`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}`,,,,`690001234`],[,,`80[0-5]\\d{6}`,,,,`800012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}`,,,,`976012345`],`GP`,590,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-79]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,`222\\d{6}|(?:3\\d|55|[89]0)\\d{7}`,,,,,,,[9]],[,,`33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}`,,,,`333091234`],[,,`(?:222|55\\d)\\d{6}`,,,,`222123456`],[,,`80\\d[1-9]\\d{5}`,,,,`800123456`],[,,`90\\d[1-9]\\d{5}`,,,,`900123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`GQ`,240,`00`,,,,,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235]`]],[,`(\\d{3})(\\d{6})`,`$1 $2`,[`[89]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,`5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}`,,,,,,,[10,11,12]],[,,`2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}`,,,,`2123456789`,,,[10]],[,,`68[57-9]\\d{7}|(?:69|94)\\d{8}`,,,,`6912345678`,,,[10]],[,,`800\\d{7,9}`,,,,`8001234567`],[,,`90[19]\\d{7}`,,,,`9091234567`,,,[10]],[,,`8(?:0[16]|12|[27]5|50)\\d{7}`,,,,`8011234567`,,,[10]],[,,`70\\d{8}`,,,,`7012345678`,,,[10]],[,,,,,,,,,[-1]],`GR`,30,`00`,,,,,,,,[[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`21|7`]],[,`(\\d{4})(\\d{6})`,`$1 $2`,[`2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2689]`]],[,`(\\d{3})(\\d{3,4})(\\d{5})`,`$1 $2 $3`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`5005000\\d{3}`,,,,`5005000123`,,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,`80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}`,,,,,,,[8,11]],[,,`[267][2-9]\\d{6}`,,,,`22456789`,,,[8]],[,,`(?:[3-5]\\d\\d|80[0-4])\\d{5}`,,,,`51234567`,,,[8]],[,,`18[01]\\d{8}`,,,,`18001112222`,,,[11]],[,,`19\\d{9}`,,,,`19001112222`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`GT`,502,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-8]`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,`(?:[58]\\d\\d|671|900)\\d{7}`,,,,,,,[10],[7]],[,,`671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}`,,,,`6713001234`,,,,[7]],[,,`671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}`,,,,`6713001234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`GU`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`671$1`,,1,,,[,,,,,,,,,[-1]],,`671`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,`[49]\\d{8}|4\\d{6}`,,,,,,,[7,9]],[,,`443\\d{6}`,,,,`443201234`,,,[9]],[,,`9(?:5\\d|6[569]|77)\\d{6}`,,,,`955012345`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`40\\d{5}`,,,,`4012345`,,,[7]],`GW`,245,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`40`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,`(?:[2-8]\\d{3}|9008)\\d{3}`,,,,,,,[7]],[,,`(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}`,,,,`2201234`],[,,`510\\d{4}|(?:6\\d|7[0-5])\\d{5}`,,,,`6091234`],[,,`(?:289|8(?:00|6[28]|88|99))\\d{4}`,,,,`2891234`],[,,`9008\\d{3}`,,,,`9008123`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`515\\d{4}`,,,,`5151234`],`GY`,592,`001`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,`8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}`,,,,,,,[5,6,7,8,9,11]],[,,`(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}`,,,,`21234567`,,,[8]],[,,`(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|7(?:4[0-2]|6[0-5]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[05])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-49]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}`,,,,`51234567`,,,[8]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`900(?:[0-24-9]\\d{7}|3\\d{1,4})`,,,,`90012345678`,,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,`8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}`,,,,`81123456`,,,[8]],[,,,,,,,,,[-1]],`HK`,852,`00(?:30|5[09]|[126-9]?)`,,,,,,`00`,,[[,`(\\d{3})(\\d{2,5})`,`$1 $2`,[`900`,`9003`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-7]|8[1-4]|9(?:0[1-9]|[1-8])`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]],[,`(\\d{3})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`9`]]],,[,,`7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}`,,,,`71123456`,,,[8]],,,[,,,,,,,,,[-1]],[,,`30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}`,,,,`30161234`,,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,`8\\d{10}|[237-9]\\d{7}`,,,,,,,[8,11]],[,,`2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}`,,,,`22123456`,,,[8]],[,,`[37-9]\\d{7}`,,,,`91234567`,,,[8]],[,,`8002\\d{7}`,,,,`80021234567`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`HN`,504,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1-$2`,[`[237-9]`]],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`8`]]],[[,`(\\d{4})(\\d{4})`,`$1-$2`,[`[237-9]`]]],[,,,,,,,,,[-1]],,,[,,`8002\\d{7}`,,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,`(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}`,,,,,,,[6,7,8,9]],[,,`1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}`,,,,`12345678`,,,[8,9],[6,7]],[,,`9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}`,,,,`921234567`,,,[8,9]],[,,`80\\d{5,7}`,,,,`800123456`,,,[7,8,9]],[,,`6[01459]\\d{6}|6[01]\\d{4,5}`,,,,`611234`,,,[6,7,8]],[,,,,,,,,,[-1]],[,,`7[45]\\d{6}`,,,,`74123456`,,,[8]],[,,,,,,,,,[-1]],`HR`,385,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`6[01]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`8`],`0$1`],[,`(\\d)(\\d{4})(\\d{3})`,`$1 $2 $3`,[`1`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`6|7[245]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`9`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-57]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`62\\d{6,7}|72\\d{6}`,,,,`62123456`,,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,`(?:[2-489]\\d|55)\\d{6}`,,,,,,,[8]],[,,`2(?:2\\d|5[1-5]|81|9[149])\\d{5}`,,,,`22453300`],[,,`(?:[34]\\d|55)\\d{6}`,,,,`34101234`],[,,`8\\d{7}`,,,,`80012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}`,,,,`98901234`],`HT`,509,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[2-589]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,`[235-7]\\d{8}|[1-9]\\d{7}`,,,,,,,[8,9],[6,7]],[,,`(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}`,,,,`12345678`,,,[8],[6,7]],[,,`(?:[257]0|3[01])\\d{7}`,,,,`201234567`,,,[9]],[,,`(?:[48]0\\d|680[29])\\d{5}`,,,,`80123456`],[,,`9[01]\\d{6}`,,,,`90123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`21\\d{7}`,,,,`211234567`,,,[9]],`HU`,36,`00`,`06`,,,`06`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`(06 $1)`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]`],`(06 $1)`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-9]`],`06 $1`]],,[,,,,,,,,,[-1]],,,[,,`(?:[48]0\\d|680[29])\\d{5}`],[,,`38\\d{7}`,,,,`381234567`,,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,`00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}`,,,,,,,[7,8,9,10,11,12,13,14,15,16,17],[5,6]],[,,`2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}`,,,,`218350123`,,,[7,8,9,10,11],[5,6]],[,,`8[1-35-9]\\d{7,10}`,,,,`812345678`,,,[9,10,11,12]],[,,`00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}`,,,,`8001234567`,,,[8,9,10,11,12,13,14,15,16,17]],[,,`809\\d{7}`,,,,`8091234567`,,,[10]],[,,`804\\d{7}`,,,,`8041234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`ID`,62,`00[89]`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`15`]],[,`(\\d{2})(\\d{5,9})`,`$1 $2`,[`2[124]|[36]1`],`(0$1)`],[,`(\\d{3})(\\d{5,7})`,`$1 $2`,[`800`],`0$1`],[,`(\\d{3})(\\d{5,8})`,`$1 $2`,[`[2-79]`],`(0$1)`],[,`(\\d{3})(\\d{3,4})(\\d{3})`,`$1-$2-$3`,[`8[1-35-9]`],`0$1`],[,`(\\d{3})(\\d{6,8})`,`$1 $2`,[`1`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`804`],`0$1`],[,`(\\d{3})(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`80`],`0$1`],[,`(\\d{3})(\\d{4})(\\d{4,5})`,`$1-$2-$3`,[`8`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})(\\d{2,8})`,`$1 $2 $3 $4`,[`001`]],[,`(\\d{2})(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`0`]]],[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`15`]],[,`(\\d{2})(\\d{5,9})`,`$1 $2`,[`2[124]|[36]1`],`(0$1)`],[,`(\\d{3})(\\d{5,7})`,`$1 $2`,[`800`],`0$1`],[,`(\\d{3})(\\d{5,8})`,`$1 $2`,[`[2-79]`],`(0$1)`],[,`(\\d{3})(\\d{3,4})(\\d{3})`,`$1-$2-$3`,[`8[1-35-9]`],`0$1`],[,`(\\d{3})(\\d{6,8})`,`$1 $2`,[`1`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`804`],`0$1`],[,`(\\d{3})(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`80`],`0$1`],[,`(\\d{3})(\\d{4})(\\d{4,5})`,`$1-$2-$3`,[`8`],`0$1`]],[,,,,,,,,,[-1]],,,[,,`001803\\d{5,11}|(?:007803\\d|8071)\\d{6}`,,,,,,,[10,11,12,13,14,15,16,17]],[,,`(?:1500|8071\\d{3})\\d{3}`,,,,`8071123456`,,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,`(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}`,,,,,,,[7,8,9,10],[5,6]],[,,`(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}`,,,,`2212345`,,,,[5,6]],[,,`8(?:22|[35-9]\\d)\\d{6}`,,,,`850123456`,,,[9]],[,,`1800\\d{6}`,,,,`1800123456`,,,[10]],[,,`15(?:1[2-8]|[2-8]0|9[089])\\d{6}`,,,,`1520123456`,,,[10]],[,,`18[59]0\\d{6}`,,,,`1850123456`,,,[10]],[,,`700\\d{6}`,,,,`700123456`,,,[9]],[,,`76\\d{7}`,,,,`761234567`,,,[9]],`IE`,353,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{5})`,`$1 $2`,[`2[24-9]|47|58|6[237-9]|9[35-9]`],`(0$1)`],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`[45]0`],`(0$1)`],[,`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`1`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2569]|4[1-69]|7[14]`],`(0$1)`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`70`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`81`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[78]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`4`],`(0$1)`],[,`(\\d{2})(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,`18[59]0\\d{6}`,,,,,,,[10]],[,,`818\\d{6}`,,,,`818123456`,,,[9]],,,[,,`88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}`,,,,`8551234567`,,,[10]]],IL:[,[,,`1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}`,,,,,,,[7,8,9,10,11,12]],[,,`153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}`,,,,`21234567`,,,[8,11,12],[7]],[,,`55(?:410|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}`,,,,`502345678`,,,[9]],[,,`1(?:255|80[019]\\d{3})\\d{3}`,,,,`1800123456`,,,[7,10]],[,,`1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}`,,,,`1919123456`,,,[8,10]],[,,`1700\\d{6}`,,,,`1700123456`,,,[10]],[,,,,,,,,,[-1]],[,,`7(?:38(?:0\\d|5[0-2569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}`,,,,`771234567`,,,[9]],`IL`,972,`0(?:0|1[2-9])`,`0`,,,`0`,,,,[[,`(\\d{4})(\\d{3})`,`$1-$2`,[`125`]],[,`(\\d{4})(\\d{2})(\\d{2})`,`$1-$2-$3`,[`121`]],[,`(\\d)(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[2-489]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`12`]],[,`(\\d{4})(\\d{6})`,`$1-$2`,[`159`]],[,`(\\d)(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3-$4`,[`1[7-9]`]],[,`(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})`,`$1-$2 $3-$4`,[`15`]]],,[,,,,,,,,,[-1]],,,[,,`1700\\d{6}`,,,,,,,[10]],[,,`1599\\d{6}`,,,,`1599123456`,,,[10]],,,[,,`151\\d{8,9}`,,,,`15112340000`,,,[11,12]]],IM:[,[,,`1624\\d{6}|(?:[3578]\\d|90)\\d{8}`,,,,,,,[10],[6]],[,,`1624(?:230|[5-8]\\d\\d)\\d{3}`,,,,`1624756789`,,,,[6]],[,,`76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}`,,,,`7924123456`],[,,`808162\\d{4}`,,,,`8081624567`],[,,`8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}`,,,,`9016247890`],[,,,,,,,,,[-1]],[,,`70\\d{8}`,,,,`7012345678`],[,,`56\\d{8}`,,,,`5612345678`],`IM`,44,`00`,`0`,,,`([25-8]\\d{5})$|0`,`1624$1`,,,,,[,,,,,,,,,[-1]],,`74576|(?:16|7[56])24`,[,,,,,,,,,[-1]],[,,`3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}`,,,,`5512345678`],,,[,,,,,,,,,[-1]]],IN:[,[,,`(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}`,,,,,,,[8,9,10,11,12,13],[6,7]],[,,`2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}`,,,,`7410410123`,,,[10],[6,7,8]],[,,`(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}`,,,,`8123456789`,,,[10]],[,,`000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))`,,,,`1800123456`],[,,`186[12]\\d{9}`,,,,`1861123456789`,,,[13]],[,,`1860\\d{7}`,,,,`18603451234`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`IN`,91,`00`,`0`,,,`0`,,,,[[,`(\\d{7})`,`$1`,[`575`]],[,`(\\d{8})`,`$1`,[`5(?:0|2[23]|3[03]|[67]1|88)`,`5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)`,`5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)`],,,1],[,`(\\d{4})(\\d{4,5})`,`$1 $2`,[`180`,`1800`],,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`140`],,,1],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`11|2[02]|33|4[04]|79[1-7]|80[2-46]`,`11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])`,`11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]`],`0$1`,,1],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807`,`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]`,`1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]`],`0$1`,,1],[,`(\\d{5})(\\d{5})`,`$1 $2`,[`[6-9]`],`0$1`,,1],[,`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`1(?:6|8[06])`,`1(?:6|8[06]0)`],,,1],[,`(\\d{3})(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`0`]],[,`(\\d{4})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`18`],,,1]],[[,`(\\d{8})`,`$1`,[`5(?:0|2[23]|3[03]|[67]1|88)`,`5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)`,`5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)`],,,1],[,`(\\d{4})(\\d{4,5})`,`$1 $2`,[`180`,`1800`],,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`140`],,,1],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`11|2[02]|33|4[04]|79[1-7]|80[2-46]`,`11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])`,`11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]`,`1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]`],`0$1`,,1],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807`,`1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]`,`1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]`],`0$1`,,1],[,`(\\d{5})(\\d{5})`,`$1 $2`,[`[6-9]`],`0$1`,,1],[,`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`1(?:6|8[06])`,`1(?:6|8[06]0)`],,,1],[,`(\\d{4})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`18`],,,1]],[,,,,,,,,,[-1]],,,[,,`1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}`],[,,`140\\d{7}`,,,,`1409305260`,,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,`3\\d{6}`,,,,,,,[7]],[,,`37\\d{5}`,,,,`3709100`],[,,`38\\d{5}`,,,,`3801234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`IO`,246,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`3`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,`(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}`,,,,,,,[8,9,10],[6,7]],[,,`1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}`,,,,`12345678`,,,[8,9],[6,7]],[,,`7[3-9]\\d{8}`,,,,`7912345678`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`IQ`,964,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-6]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,`[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}`,,,,,,,[4,5,6,7,10],[8]],[,,`(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}`,,,,`2123456789`,,,[6,7,10],[4,5,8]],[,,`9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}`,,,,`9123456789`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`IR`,98,`00`,`0`,,,`0`,,,,[[,`(\\d{4,5})`,`$1`,[`96`],`0$1`],[,`(\\d{2})(\\d{4,5})`,`$1 $2`,[`(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`9`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[1-8]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,`9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))`,,,,,,,[4,5,10]],[,,`96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])`,,,,`9601`,,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,`(?:38\\d|[4-9])\\d{6}`,,,,,,,[7,9]],[,,`(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}`,,,,`4101234`,,,[7]],[,,`(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}`,,,,`6111234`],[,,`80[0-8]\\d{4}`,,,,`8001234`,,,[7]],[,,`90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}`,,,,`9001234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`49[0-24-79]\\d{4}`,,,,`4921234`,,,[7]],`IS`,354,`00|1(?:0(?:01|[12]0)|100)`,,,,,,`00`,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-9]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`3`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`809\\d{4}`,,,,`8091234`,,,[7]],,,[,,`(?:689|8(?:7[18]|80)|95[48])\\d{4}`,,,,`6891234`,,,[7]]],IT:[,[,,`0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?`,,,,,,,[6,7,8,9,10,11,12]],[,,`0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`,,,,`0212345678`,,,[6,7,8,9,10,11]],[,,`3[2-9]\\d{7,8}|(?:31|43)\\d{8}`,,,,`3123456789`,,,[9,10]],[,,`80(?:0\\d{3}|3)\\d{3}`,,,,`800123456`,,,[6,9]],[,,`(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}`,,,,`899123456`,,,[6,8,9,10]],[,,`84(?:[08]\\d{3}|[17])\\d{3}`,,,,`848123456`,,,[6,9]],[,,`1(?:78\\d|99)\\d{6}`,,,,`1781234567`,,,[9,10]],[,,`55\\d{8}`,,,,`5512345678`,,,[10]],`IT`,39,`00`,,,,,,,,[[,`(\\d{4,5})`,`$1`,[`1(?:0|9[246])`,`1(?:0|9(?:2[2-9]|[46]))`]],[,`(\\d{6})`,`$1`,[`1(?:1|92)`]],[,`(\\d{2})(\\d{4,6})`,`$1 $2`,[`0[26]`]],[,`(\\d{3})(\\d{3,6})`,`$1 $2`,[`0[13-57-9][0159]|8(?:03|4[17]|9[2-5])`,`0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))`]],[,`(\\d{4})(\\d{2,6})`,`$1 $2`,[`0(?:[13-579][2-46-8]|8[236-8])`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`894`]],[,`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[26]|5`]],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1(?:44|[679])|[378]|43`]],[,`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[13-57-9][0159]|14`]],[,`(\\d{2})(\\d{4})(\\d{5})`,`$1 $2 $3`,[`0[26]`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]],[,`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`3`]]],[[,`(\\d{2})(\\d{4,6})`,`$1 $2`,[`0[26]`]],[,`(\\d{3})(\\d{3,6})`,`$1 $2`,[`0[13-57-9][0159]|8(?:03|4[17]|9[2-5])`,`0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))`]],[,`(\\d{4})(\\d{2,6})`,`$1 $2`,[`0(?:[13-579][2-46-8]|8[236-8])`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`894`]],[,`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[26]|5`]],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1(?:44|[679])|[378]|43`]],[,`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[13-57-9][0159]|14`]],[,`(\\d{2})(\\d{4})(\\d{5})`,`$1 $2 $3`,[`0[26]`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]],[,`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`3`]]],[,,,,,,,,,[-1]],1,,[,,`848\\d{6}`,,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,`3[2-8]\\d{9,10}`,,,,`33101234501`,,,[11,12]]],JE:[,[,,`1534\\d{6}|(?:[3578]\\d|90)\\d{8}`,,,,,,,[10],[6]],[,,`1534[0-24-8]\\d{5}`,,,,`1534456789`,,,,[6]],[,,`7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}`,,,,`7797712345`],[,,`80(?:07(?:35|81)|8901)\\d{4}`,,,,`8007354567`],[,,`(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}`,,,,`9018105678`],[,,,,,,,,,[-1]],[,,`701511\\d{4}`,,,,`7015115678`],[,,`56\\d{8}`,,,,`5612345678`],`JE`,44,`00`,`0`,,,`([0-24-8]\\d{5})$|0`,`1534$1`,,,,,[,,`76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}`,,,,`7640123456`],,,[,,,,,,,,,[-1]],[,,`(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}`,,,,`5512345678`],,,[,,,,,,,,,[-1]]],JM:[,[,,`(?:[58]\\d\\d|658|900)\\d{7}`,,,,,,,[10],[7]],[,,`8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}`,,,,`8765230123`,,,,[7]],[,,`(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}`,,,,`8762101234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`JM`,1,`011`,`1`,,,`1`,,,,,,[,,,,,,,,,[-1]],,`658|876`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,`(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}`,,,,,,,[8,9]],[,,`87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}`,,,,`62001234`,,,[8]],[,,`7(?:[78][0-25-9]|9\\d)\\d{6}`,,,,`790123456`,,,[9]],[,,`80\\d{6}`,,,,`80012345`,,,[8]],[,,`9\\d{7}`,,,,`90012345`,,,[8]],[,,`85\\d{6}`,,,,`85012345`,,,[8]],[,,`70\\d{7}`,,,,`700123456`,,,[9]],[,,,,,,,,,[-1]],`JO`,962,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2356]|87`],`(0$1)`],[,`(\\d{3})(\\d{5,6})`,`$1 $2`,[`[89]`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`70`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`]],,[,,`74(?:66|77)\\d{5}`,,,,`746612345`,,,[9]],,,[,,,,,,,,,[-1]],[,,`8(?:10|8\\d)\\d{5}`,,,,`88101234`,,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,`00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}`,,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,`(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}`,,,,`312345678`,,,[9]],[,,`[7-9]0[1-9]\\d{7}`,,,,`9012345678`,,,[10]],[,,`00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}`,,,,`120123456`],[,,`990\\d{6}`,,,,`990123456`,,,[9]],[,,,,,,,,,[-1]],[,,`60\\d{7}`,,,,`601234567`,,,[9]],[,,`50[1-9]\\d{7}`,,,,`5012345678`,,,[10]],`JP`,81,`010`,`0`,,,`(000[259]\\d{6})$|(?:(?:003768)0?)|0`,`$1`,,,[[,`(\\d{4})(\\d{4})`,`$1-$2`,[`007`,`0077`,`00777`,`00777[01]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`(?:12|57|99)0`],`0$1`],[,`(\\d{4})(\\d)(\\d{4})`,`$1-$2-$3`,[`1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`60`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[36]|4(?:2[09]|7[01])`,`[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3`,[`[14]|[289][2-9]|5[3-9]|7[2-4679]`],`0$1`],[,`(\\d{4})(\\d{2})(\\d{3,4})`,`$1-$2-$3`,[`007`,`0077`]],[,`(\\d{4})(\\d{2})(\\d{4})`,`$1-$2-$3`,[`008`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`800`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[257-9]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3,4})`,`$1-$2-$3`,[`0`]],[,`(\\d{4})(\\d{4})(\\d{4,5})`,`$1-$2-$3`,[`0`]],[,`(\\d{4})(\\d{5})(\\d{5,6})`,`$1-$2-$3`,[`0`]],[,`(\\d{4})(\\d{6})(\\d{6,7})`,`$1-$2-$3`,[`0`]]],[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`(?:12|57|99)0`],`0$1`],[,`(\\d{4})(\\d)(\\d{4})`,`$1-$2-$3`,[`1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`60`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[36]|4(?:2[09]|7[01])`,`[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3`,[`[14]|[289][2-9]|5[3-9]|7[2-4679]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`800`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[257-9]`],`0$1`]],[,,`20\\d{8}`,,,,`2012345678`,,,[10]],,,[,,`00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}`],[,,`570\\d{6}`,,,,`570123456`,,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,`(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}`,,,,,,,[7,8,9,10]],[,,`(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}`,,,,`202012345`,,,[7,8,9]],[,,`(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}`,,,,`712123456`,,,[9]],[,,`800[02-8]\\d{5,6}`,,,,`800223456`,,,[9,10]],[,,`900[02-9]\\d{5}`,,,,`900223456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`KE`,254,`000`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{5,7})`,`$1 $2`,[`[24-6]`],`0$1`],[,`(\\d{3})(\\d{6})`,`$1 $2`,[`[17]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[89]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,`8\\d{9}|[235-9]\\d{8}`,,,,,,,[9,10],[5,6]],[,,`312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}`,,,,`312123456`,,,[9],[5,6]],[,,`312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}`,,,,`700123456`,,,[9]],[,,`800\\d{6,7}`,,,,`800123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`KG`,996,`00`,`0`,,,`0`,,,,[[,`(\\d{4})(\\d{5})`,`$1 $2`,[`3(?:1[346]|[24-79])`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235-79]|88`],`0$1`],[,`(\\d{3})(\\d{3})(\\d)(\\d{2,3})`,`$1 $2 $3 $4`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,`1\\d{9}|[1-9]\\d{7,8}`,,,,,,,[8,9,10],[6,7]],[,,`23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})`,,,,`23756789`,,,[8,9],[6,7]],[,,`(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}`,,,,`91234567`,,,[8,9]],[,,`1800(?:1\\d|2[019])\\d{4}`,,,,`1800123456`,,,[10]],[,,`1900(?:1\\d|2[09])\\d{4}`,,,,`1900123456`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`KH`,855,`00[14-9]`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-9]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,`(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}`,,,,,,,[5,8]],[,,`(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}`,,,,`31234`],[,,`(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}`,,,,`72001234`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`30(?:0[01]\\d\\d|12(?:11|20))\\d\\d`,,,,`30010000`,,,[8]],`KI`,686,`00`,`0`,,,`0`,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,`[3478]\\d{6}`,,,,,,,[7],[4]],[,,`7[4-7]\\d{5}`,,,,`7712345`,,,,[4]],[,,`[34]\\d{6}`,,,,`3212345`],[,,,,,,,,,[-1]],[,,`8\\d{6}`,,,,`8001234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`KM`,269,`00`,,,,,,,,[[,`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[3478]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,`(?:[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}`,,,,`8692361234`,,,,[7]],[,,`869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}`,,,,`8697652917`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`KN`,1,`011`,`1`,,,`([2-7]\\d{6})$|1`,`869$1`,,,,,[,,,,,,,,,[-1]],,`869`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,`85\\d{6}|(?:19\\d|[2-7])\\d{7}`,,,,,,,[8,10],[6,7]],[,,`(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}`,,,,`21234567`,,,,[6,7]],[,,`19[1-3]\\d{7}`,,,,`1921234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`KP`,850,`00|99`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`],`0$1`],[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,`238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}`,,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,`00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}`,,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,`(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}`,,,,`22123456`,,,[5,6,8,9,10],[3,4,7]],[,,`1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}`,,,,`1020000000`,,,[9,10]],[,,`00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}`,,,,`801234567`,,,[9,11,12,13,14]],[,,`60[2-9]\\d{6}`,,,,`602345678`,,,[9]],[,,,,,,,,,[-1]],[,,`50\\d{8,9}`,,,,`5012345678`,,,[10,11]],[,,`70\\d{8}`,,,,`7012345678`,,,[10]],`KR`,82,`00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))`,`0`,,,`0(8(?:[1-46-8]|5\\d\\d))?`,,,,[[,`(\\d{5})`,`$1`,[`1[016-9]1`,`1[016-9]11`,`1[016-9]114`],`0$1`],[,`(\\d{2})(\\d{3,4})`,`$1-$2`,[`(?:3[1-3]|[46][1-4]|5[1-5])1`],`0$1`,`0$CC-$1`],[,`(\\d{4})(\\d{4})`,`$1-$2`,[`1`]],[,`(\\d)(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`2`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[36]0|8`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`[1346]|5[1-5]`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`,`0$CC-$1`],[,`(\\d{5})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`003`,`0030`]],[,`(\\d{2})(\\d{5})(\\d{4})`,`$1-$2-$3`,[`5`],`0$1`,`0$CC-$1`],[,`(\\d{5})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0`]],[,`(\\d{5})(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`0`]]],[[,`(\\d{2})(\\d{3,4})`,`$1-$2`,[`(?:3[1-3]|[46][1-4]|5[1-5])1`],`0$1`,`0$CC-$1`],[,`(\\d{4})(\\d{4})`,`$1-$2`,[`1`]],[,`(\\d)(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`2`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[36]0|8`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`[1346]|5[1-5]`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`,`0$CC-$1`],[,`(\\d{2})(\\d{5})(\\d{4})`,`$1-$2-$3`,[`5`],`0$1`,`0$CC-$1`]],[,,`15\\d{7,8}`,,,,`1523456789`,,,[9,10]],,,[,,`00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})`,,,,,,,[11,12,13,14]],[,,`1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}`,,,,`15441234`,,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,`18\\d{5}|(?:[2569]\\d|41)\\d{6}`,,,,,,,[7,8]],[,,`2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}`,,,,`22345678`,,,[8]],[,,`(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}`,,,,`50012345`,,,[8]],[,,`18\\d{5}`,,,,`1801234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`KW`,965,`00`,,,,,,,,[[,`(\\d{4})(\\d{3,4})`,`$1 $2`,[`[169]|2(?:[235]|4[1-35-9])|52`]],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`[245]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,`(?:345|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}`,,,,`3452221234`,,,,[7]],[,,`345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}`,,,,`3453231234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`(?:345976|900[2-9]\\d\\d)\\d{4}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`KY`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`345$1`,,,,,[,,`345849\\d{4}`,,,,`3458491234`],,`345`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,`(?:33622|8\\d{8})\\d{5}|[78]\\d{9}`,,,,,,,[10,14],[5,6,7]],[,,`(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}`,,,,`7123456789`,,,[10],[5,6,7]],[,,`7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}`,,,,`7710009998`,,,[10]],[,,`8(?:00|108\\d{3})\\d{7}`,,,,`8001234567`],[,,`809\\d{7}`,,,,`8091234567`,,,[10]],[,,,,,,,,,[-1]],[,,`808\\d{7}`,,,,`8081234567`,,,[10]],[,,`751\\d{7}`,,,,`7511234567`,,,[10]],`KZ`,7,`810`,`8`,,,`8`,,`8~10`,,,,[,,,,,,,,,[-1]],,`33|7`,[,,`751\\d{7}`,,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,`[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}`,,,,,,,[8,9,10],[6]],[,,`(?:2[13]|[35-7][14]|41|8[1468])\\d{6}`,,,,`21212862`,,,[8],[6]],[,,`208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}`,,,,`2023123456`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LA`,856,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2[13]|3[14]|[4-8]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`30[0135-9]`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`30[0135-9]\\d{6}`,,,,`301234567`,,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,`[27-9]\\d{7}|[13-9]\\d{6}`,,,,,,,[7,8]],[,,`7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}`,,,,`1123456`],[,,`793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}`,,,,`71123456`],[,,,,,,,,,[-1]],[,,`9[01]\\d{6}`,,,,`90123456`,,,[8]],[,,`80\\d{6}`,,,,`80123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LB`,961,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[27-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,`(?:[58]\\d\\d|758|900)\\d{7}`,,,,,,,[10],[7]],[,,`758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}`,,,,`7584305678`,,,,[7]],[,,`758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}`,,,,`7582845678`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`LC`,1,`011`,`1`,,,`([2-8]\\d{6})$|1`,`758$1`,,,,,[,,,,,,,,,[-1]],,`758`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,`[68]\\d{8}|(?:[2378]\\d|90)\\d{5}`,,,,,,,[7,9]],[,,`(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}`,,,,`2345678`,,,[7]],[,,`(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}`,,,,`660234567`],[,,`8002[28]\\d\\d|80(?:05\\d|9)\\d{4}`,,,,`8002222`],[,,`90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d`,,,,`9002222`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LI`,423,`00`,`0`,,,`(1001)|0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2379]|8(?:0[09]|7)`,`[2379]|8(?:0(?:02|9)|7)`],,`$CC $1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`69`],,`$CC $1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`],,`$CC $1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`870(?:28|87)\\d\\d`,,,,`8702812`,,,[7]],,,[,,`697(?:42|56|[78]\\d)\\d{4}`,,,,`697861234`,,,[9]]],LK:[,[,,`[1-9]\\d{8}`,,,,,,,[9],[7]],[,,`(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}`,,,,`112345678`,,,,[7]],[,,`7(?:[0-25-8]\\d|4[0-4])\\d{6}`,,,,`712345678`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LK`,94,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[1-689]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`1973\\d{5}`,,,,`197312345`],,,[,,,,,,,,,[-1]]],LR:[,[,,`(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}`,,,,,,,[7,8,9]],[,,`2\\d{7}`,,,,`21234567`,,,[8]],[,,`(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}`,,,,`770123456`,,,[7,9]],[,,,,,,,,,[-1]],[,,`332(?:02|[34]\\d)\\d{4}`,,,,`332021234`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LR`,231,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`4[67]|[56]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-578]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,`(?:[256]\\d\\d|800)\\d{5}`,,,,,,,[8]],[,,`2\\d{7}`,,,,`22123456`],[,,`[56]\\d{7}`,,,,`50123456`],[,,`800[1256]\\d{4}`,,,,`80021234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LS`,266,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[2568]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,`(?:[3469]\\d|52|[78]0)\\d{6}`,,,,,,,[8]],[,,`(?:3[1478]|4[124-6]|52)\\d{6}`,,,,`31234567`],[,,`6\\d{7}`,,,,`61234567`],[,,`80[02]\\d{5}`,,,,`80012345`],[,,`9(?:0[0239]|10)\\d{5}`,,,,`90012345`],[,,`808\\d{5}`,,,,`80812345`],[,,`70[05]\\d{5}`,,,,`70012345`],[,,`[89]01\\d{5}`,,,,`80123456`],`LT`,370,`00`,`0`,,,`[08]`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`52[0-7]`],`(0-$1)`,,1],[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`[7-9]`],`0 $1`,,1],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`37|4(?:[15]|6[1-8])`],`(0-$1)`,,1],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`[3-6]`],`(0-$1)`,,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`70[67]\\d{5}`,,,,`70712345`],,,[,,,,,,,,,[-1]]],LU:[,[,,`35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}`,,,,,,,[4,5,6,7,8,9,10,11]],[,,`(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}`,,,,`27123456`],[,,`6(?:[269][18]|5[1568]|7[189]|81)\\d{6}`,,,,`628123456`,,,[9]],[,,`800\\d{5}`,,,,`80012345`,,,[8]],[,,`90[015]\\d{5}`,,,,`90012345`,,,[8]],[,,`801\\d{5}`,,,,`80112345`,,,[8]],[,,,,,,,,,[-1]],[,,`20(?:1\\d{5}|[2-689]\\d{1,7})`,,,,`20201234`,,,[4,5,6,7,8,9,10]],`LU`,352,`00`,,,,`(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)`,,,,[[,`(\\d{2})(\\d{3})`,`$1 $2`,[`2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])`],,`$CC $1`],[,`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])`],,`$CC $1`],[,`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`20[2-689]`],,`$CC $1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4`,[`2(?:[0367]|4[3-8])`],,`$CC $1`],[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`80[01]|90[015]`],,`$CC $1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`20`],,`$CC $1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`],,`$CC $1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4 $5`,[`2(?:[0367]|4[3-8])`],,`$CC $1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})`,`$1 $2 $3 $4`,[`[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]`],,`$CC $1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,`(?:[268]\\d|90)\\d{6}`,,,,,,,[8]],[,,`6\\d{7}`,,,,`63123456`],[,,`23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}`,,,,`21234567`],[,,`80\\d{6}`,,,,`80123456`],[,,`90\\d{6}`,,,,`90123456`],[,,`81\\d{6}`,,,,`81123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LV`,371,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[269]|8[01]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,`[2-9]\\d{8}`,,,,,,,[9],[7]],[,,`(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}`,,,,`212345678`,,,,[7]],[,,`9[1-6]\\d{7}`,,,,`912345678`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`LY`,218,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{7})`,`$1-$2`,[`[2-9]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,`[5-8]\\d{8}`,,,,,,,[9]],[,,`5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}`,,,,`520123456`],[,,`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}`,,,,`650123456`],[,,`80[0-7]\\d{6}`,,,,`801234567`],[,,`89\\d{7}`,,,,`891234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}`,,,,`592401234`],`MA`,212,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`5[45]`],`0$1`],[,`(\\d{4})(\\d{5})`,`$1-$2`,[`5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1-$2`,[`8`],`0$1`],[,`(\\d{3})(\\d{6})`,`$1-$2`,[`[5-7]`],`0$1`]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,`(?:[3489]|6\\d)\\d{7}`,,,,,,,[8,9]],[,,`(?:870|9[2-47-9]\\d)\\d{5}`,,,,`99123456`,,,[8]],[,,`4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}`,,,,`612345678`],[,,`(?:800|90\\d)\\d{5}`,,,,`90123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MC`,377,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3`,[`87`]],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`4`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[389]`]],[,`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`6`],`0$1`]],[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`4`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[389]`]],[,`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`6`],`0$1`]],[,,,,,,,,,[-1]],,,[,,`8[07]0\\d{5}`,,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,`(?:[235-7]\\d|[89]0)\\d{6}`,,,,,,,[8]],[,,`(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}`,,,,`22212345`],[,,`562\\d{5}|(?:6\\d|7[16-9])\\d{6}`,,,,`62112345`],[,,`800\\d{5}`,,,,`80012345`],[,,`90[056]\\d{5}`,,,,`90012345`],[,,`808\\d{5}`,,,,`80812345`],[,,,,,,,,,[-1]],[,,`3[08]\\d{6}`,,,,`30123456`],`MD`,373,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{5})`,`$1 $2`,[`[89]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`22|3`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`[25-7]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`803\\d{5}`,,,,`80312345`],,,[,,,,,,,,,[-1]]],ME:[,[,,`(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}`,,,,,,,[8,9],[6]],[,,`(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}`,,,,`30234567`,,,[8],[6]],[,,`6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}`,,,,`67622901`,,,[8]],[,,`80(?:[0-2578]|9\\d)\\d{5}`,,,,`80080002`],[,,`9(?:4[1568]|5[178])\\d{5}`,,,,`94515151`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`78[1-49]\\d{5}`,,,,`78108780`,,,[8]],`ME`,382,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-9]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`77[1-9]\\d{5}`,,,,`77273012`,,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,,,,,,,[9]],[,,`590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}`,,,,`590271234`],[,,`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}`,,,,`690001234`],[,,`80[0-5]\\d{6}`,,,,`800012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}`,,,,`976012345`],`MF`,590,`00`,`0`,,,`0`,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,`[23]\\d{8}`,,,,,,,[9],[7]],[,,`2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}`,,,,`202123456`,,,,[7]],[,,`3[2-47-9]\\d{7}`,,,,`321234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`22\\d{7}`,,,,`221234567`],`MG`,261,`00`,`0`,,,`([24-9]\\d{6})$|0`,`20$1`,,,[[,`(\\d{2})(\\d{2})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,`329\\d{4}|(?:[256]\\d|45)\\d{5}`,,,,,,,[7]],[,,`(?:247|528|625)\\d{4}`,,,,`2471234`],[,,`(?:(?:23|54)5|329|45[35-8])\\d{4}`,,,,`2351234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`635\\d{4}`,,,,`6351234`],`MH`,692,`011`,`1`,,,`1`,,,,[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-6]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,`[2-578]\\d{7}`,,,,,,,[8],[6,7]],[,,`(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}`,,,,`22012345`,,,,[6,7]],[,,`7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}`,,,,`72345678`],[,,`800\\d{5}`,,,,`80012345`],[,,`5\\d{7}`,,,,`50012345`],[,,`8(?:0[1-9]|[1-9]\\d)\\d{5}`,,,,`80123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MK`,389,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2|34[47]|4(?:[37]7|5[47]|64)`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[347]`],`0$1`],[,`(\\d{3})(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[58]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,`[24-9]\\d{7}`,,,,,,,[8]],[,,`2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}`,,,,`20212345`],[,,`2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}`,,,,`65012345`],[,,`80\\d{6}`,,,,`80012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`ML`,223,`00`,,,,,,,,[[,`(\\d{4})`,`$1`,[`67[057-9]|74[045]`,`67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-9]`]]],[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-9]`]]],[,,,,,,,,,[-1]],,,[,,`80\\d{6}`],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,`1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}`,,,,,,,[6,7,8,9,10],[5]],[,,`(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}`,,,,`1234567`,,,[6,7,8,9],[5]],[,,`(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}`,,,,`92123456`,,,[7,8,9,10]],[,,`80080(?:0[1-9]|2\\d)\\d{3}`,,,,`8008001234`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`1333\\d{4}|[12]468\\d{4}`,,,,`13331234`,,,[8]],`MM`,95,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{2})(\\d{3})`,`$1 $2 $3`,[`16|2`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]`],`0$1`],[,`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[12]|452|678|86`,`[12]|452|6788|86`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[4-7]|8[1-35]`],`0$1`],[,`(\\d)(\\d{3})(\\d{4,6})`,`$1 $2 $3`,[`9(?:2[0-4]|[35-9]|4[137-9])`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`],[,`(\\d)(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`92`],`0$1`],[,`(\\d)(\\d{5})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,`[12]\\d{7,9}|[5-9]\\d{7}`,,,,,,,[8,9,10],[4,5,6]],[,,`[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}`,,,,`53123456`,,,,[4,5,6]],[,,`(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}`,,,,`88123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}`,,,,`75123456`,,,[8]],`MN`,976,`001`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[12]1`],`0$1`],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[5-9]`]],[,`(\\d{3})(\\d{5,6})`,`$1 $2`,[`[12]2[1-3]`],`0$1`],[,`(\\d{4})(\\d{5,6})`,`$1 $2`,[`[12](?:27|3[2-8]|4[2-68]|5[1-4689])`,`[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]`],`0$1`],[,`(\\d{5})(\\d{4,5})`,`$1 $2`,[`[12]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,`0800\\d{3}|(?:28|[68]\\d)\\d{6}`,,,,,,,[7,8]],[,,`(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}`,,,,`28212345`,,,[8]],[,,`6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}`,,,,`66123456`,,,[8]],[,,`0800\\d{3}`,,,,`0800501`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MO`,853,`00`,,,,,,,,[[,`(\\d{4})(\\d{3})`,`$1 $2`,[`0`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[268]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,`[58]\\d{9}|(?:67|90)0\\d{7}`,,,,,,,[10],[7]],[,,`670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}`,,,,`6702345678`,,,,[7]],[,,`670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}`,,,,`6702345678`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`MP`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`670$1`,,1,,,[,,,,,,,,,[-1]],,`670`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,`(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}`,,,,,,,[9]],[,,`(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}`,,,,`596301234`],[,,`(?:69[67]\\d\\d|7091[0-3])\\d{4}`,,,,`696201234`],[,,`80[0-5]\\d{6}`,,,,`800012345`],[,,`8[129]\\d{7}`,,,,`810123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}`,,,,`976612345`],`MQ`,596,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-79]|8(?:0[6-9]|[36])`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,`(?:[2-4]\\d\\d|800)\\d{5}`,,,,,,,[8]],[,,`(?:25[08]|35\\d|45[1-7])\\d{5}`,,,,`35123456`],[,,`[2-4][0-46-9]\\d{6}`,,,,`22123456`],[,,`800\\d{5}`,,,,`80012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MR`,222,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-48]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,`(?:[58]\\d\\d|664|900)\\d{7}`,,,,,,,[10],[7]],[,,`6644(?:1[0-3]|91)\\d{4}`,,,,`6644912345`,,,,[7]],[,,`664(?:3(?:49|9[1-6])|49[2-6])\\d{4}`,,,,`6644923456`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`MS`,1,`011`,`1`,,,`([34]\\d{6})$|1`,`664$1`,,,,,[,,,,,,,,,[-1]],,`664`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,`3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}`,,,,,,,[8]],[,,`20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}`,,,,`21001234`],[,,`(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}`,,,,`96961234`],[,,`800(?:02|[3467]\\d)\\d{3}`,,,,`80071234`],[,,`5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}`,,,,`50037123`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`3550\\d{4}`,,,,`35501234`],`MT`,356,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[2357-9]`]]],,[,,`7117\\d{4}`,,,,`71171234`],,,[,,,,,,,,,[-1]],[,,`501\\d{5}`,,,,`50112345`],,,[,,,,,,,,,[-1]]],MU:[,[,,`(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}`,,,,,,,[7,8,10]],[,,`(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}`,,,,`54480123`,,,[7,8]],[,,`5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}`,,,,`52512345`,,,[8]],[,,`802\\d{7}|80[0-2]\\d{4}`,,,,`8001234`,,,[7,10]],[,,`30\\d{5}`,,,,`3012345`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`3(?:20|9\\d)\\d{4}`,,,,`3201234`,,,[7]],`MU`,230,`0(?:0|[24-7]0|3[03])`,,,,,,`020`,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-46]|8[013]`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[57]`]],[,`(\\d{5})(\\d{5})`,`$1 $2`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,`(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}`,,,,,,,[7,10]],[,,`(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}`,,,,`6701234`,,,[7]],[,,`(?:46[46]|[79]\\d\\d)\\d{4}`,,,,`7712345`,,,[7]],[,,`800\\d{7}`,,,,`8001234567`,,,[10]],[,,`900\\d{7}`,,,,`9001234567`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MV`,960,`0(?:0|19)`,,,,,,`00`,,[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[34679]`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`4(?:0[01]|50)\\d{4}`,,,,`4001234`,,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,`(?:[1289]\\d|31|77)\\d{7}|1\\d{6}`,,,,,,,[7,9]],[,,`(?:1[2-9]|2[12]\\d\\d)\\d{5}`,,,,`1234567`],[,,`111\\d{6}|(?:31|77|[89][89])\\d{7}`,,,,`991234567`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MW`,265,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1[2-9]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[137-9]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,`[2-9]\\d{9}`,,,,,,,[10],[7,8]],[,,`657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}`,,,,`2001234567`,,,,[7,8]],[,,`657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}`,,,,`2221234567`,,,,[7,8]],[,,`8(?:00|88)\\d{7}`,,,,`8001234567`],[,,`900\\d{7}`,,,,`9001234567`],[,,`300\\d{7}`,,,,`3001234567`],[,,`500\\d{7}`,,,,`5001234567`],[,,,,,,,,,[-1]],`MX`,52,`0[09]`,,,,,,`00`,,[[,`(\\d{5})`,`$1`,[`53`]],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`33|5[56]|81`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-9]`]]],[[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`33|5[56]|81`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-9]`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,`1\\d{8,9}|(?:3\\d|[4-9])\\d{7}`,,,,,,,[8,9,10],[6,7]],[,,`4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}`,,,,`323856789`,,,[8,9],[6,7]],[,,`1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}`,,,,`123456789`,,,[9,10]],[,,`1[378]00\\d{6}`,,,,`1300123456`,,,[10]],[,,`1600\\d{6}`,,,,`1600123456`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}`,,,,`1546012345`,,,[10]],`MY`,60,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1-$2 $3`,[`[4-79]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1-$2 $3`,[`1(?:[02469]|[378][1-9]|53)|8`,`1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8`],`0$1`],[,`(\\d)(\\d{4})(\\d{4})`,`$1-$2 $3`,[`3`],`0$1`],[,`(\\d)(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3-$4`,[`1(?:[367]|80)`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2 $3`,[`15`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2 $3`,[`1`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,`(?:2|8\\d)\\d{7}`,,,,,,,[8,9]],[,,`2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}`,,,,`21123456`,,,[8]],[,,`8[2-79]\\d{7}`,,,,`821234567`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`MZ`,258,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2|8[2-79]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,`[68]\\d{7,8}`,,,,,,,[8,9]],[,,`64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}`,,,,`61221234`],[,,`(?:60|8[1245])\\d{7}`,,,,`811234567`,,,[9]],[,,`80\\d{7}`,,,,`800123456`,,,[9]],[,,`8701\\d{5}`,,,,`870123456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`8(?:3\\d\\d|86)\\d{5}`,,,,`88612345`],`NA`,264,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`88`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`6`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`87`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,`(?:050|[2-57-9]\\d\\d)\\d{3}`,,,,,,,[6]],[,,`(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}`,,,,`201234`],[,,`(?:5[0-4]|[79]\\d|8[0-79])\\d{4}`,,,,`751234`],[,,`050\\d{3}`,,,,`050012`],[,,`36\\d{4}`,,,,`366711`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NC`,687,`00`,,,,,,,,[[,`(\\d{3})`,`$1`,[`5[6-8]`]],[,`(\\d{2})(\\d{2})(\\d{2})`,`$1.$2.$3`,[`[02-57-9]`]]],[[,`(\\d{2})(\\d{2})(\\d{2})`,`$1.$2.$3`,[`[02-57-9]`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,`[027-9]\\d{7}`,,,,,,,[8]],[,,`2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}`,,,,`20201234`],[,,`(?:23|7[0467]|[89]\\d)\\d{6}`,,,,`93123456`],[,,`08\\d{6}`,,,,`08123456`],[,,`09\\d{6}`,,,,`09123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NE`,227,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`08`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[089]|2[013]|7[0467]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,`[13]\\d{5}`,,,,,,,[6],[5]],[,,`(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}`,,,,`106609`,,,,[5]],[,,`(?:14|3[58])\\d{4}`,,,,`381234`,,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NF`,672,`00`,,,,`([0-258]\\d{4})$`,`3$1`,,,[[,`(\\d{2})(\\d{4})`,`$1 $2`,[`1[0-3]`]],[,`(\\d)(\\d{5})`,`$1 $2`,[`[13]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,`38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}`,,,,,,,[8,10,11,12,13,14],[6,7]],[,,`(?:20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])|38)\\d{6}`,,,,`2033123456`,,,[8,10],[6,7]],[,,`(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}`,,,,`8021234567`,,,[10]],[,,`800\\d{7,11}`,,,,`80017591759`,,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NG`,234,`009`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`3`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[7-9]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`20[129]`],`0$1`],[,`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`[78]`],`0$1`],[,`(\\d{3})(\\d{5})(\\d{5,6})`,`$1 $2 $3`,[`[78]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`700\\d{7,11}`,,,,`7001234567`,,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,`(?:1800|[25-8]\\d{3})\\d{4}`,,,,,,,[8]],[,,`2\\d{7}`,,,,`21234567`],[,,`(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}`,,,,`81234567`],[,,`1800\\d{4}`,,,,`18001234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NI`,505,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[125-8]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,`(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}`,,,,,,,[5,6,7,8,9,10,11]],[,,`(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}`,,,,`101234567`,,,[9]],[,,`(?:6[1-58]|970\\d)\\d{7}`,,,,`612345678`,,,[9,11]],[,,`800\\d{4,7}`,,,,`8001234`,,,[7,8,9,10]],[,,`90[069]\\d{4,7}`,,,,`9061234`,,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:85|91)\\d{7}`,,,,`851234567`,,,[9]],`NL`,31,`00`,`0`,,,`0`,,,,[[,`(\\d{4})`,`$1`,[`1[238]|[34]`]],[,`(\\d{2})(\\d{3,4})`,`$1 $2`,[`14`]],[,`(\\d{6})`,`$1`,[`1`]],[,`(\\d{3})(\\d{4,7})`,`$1 $2`,[`[89]0`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`66`],`0$1`],[,`(\\d)(\\d{8})`,`$1 $2`,[`6`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1[16-8]|2[259]|3[124]|4[17-9]|5[124679]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-578]|91`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`,[`9`],`0$1`]],[[,`(\\d{3})(\\d{4,7})`,`$1 $2`,[`[89]0`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`66`],`0$1`],[,`(\\d)(\\d{8})`,`$1 $2`,[`6`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1[16-8]|2[259]|3[124]|4[17-9]|5[124679]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-578]|91`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`,[`9`],`0$1`]],[,,`66\\d{7}`,,,,`662345678`,,,[9]],,,[,,`140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d`,,,,,,,[5,6]],[,,`140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d`,,,,`14020`,,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,`(?:0|[2-9]\\d{3})\\d{4}`,,,,,,,[5,8]],[,,`(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}`,,,,`21234567`,,,[8]],[,,`(?:4[015-8]|9\\d)\\d{6}`,,,,`40612345`,,,[8]],[,,`80[01]\\d{5}`,,,,`80012345`,,,[8]],[,,`82[09]\\d{5}`,,,,`82012345`,,,[8]],[,,`810(?:0[0-6]|[2-8]\\d)\\d{3}`,,,,`81021234`,,,[8]],[,,`880\\d{5}`,,,,`88012345`,,,[8]],[,,`85[0-5]\\d{5}`,,,,`85012345`,,,[8]],`NO`,47,`00`,,,,,,,,[[,`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`8`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-79]`]]],,[,,,,,,,,,[-1]],1,`[02-689]|7[0-8]`,[,,,,,,,,,[-1]],[,,`(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}`,,,,`02000`],,,[,,`81[23]\\d{5}`,,,,`81212345`,,,[8]]],NP:[,[,,`(?:1\\d|9)\\d{9}|[1-9]\\d{7}`,,,,,,,[8,10,11],[6,7]],[,,`(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}`,,,,`14567890`,,,[8],[6,7]],[,,`9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}`,,,,`9841234567`,,,[10]],[,,`1(?:66001|800\\d\\d)\\d{5}`,,,,`16600101234`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NP`,977,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{7})`,`$1-$2`,[`1[2-6]`],`0$1`],[,`(\\d{2})(\\d{6})`,`$1-$2`,[`1[01]|[2-8]|9(?:[1-59]|[67][2-6])`],`0$1`],[,`(\\d{3})(\\d{7})`,`$1-$2`,[`9`]],[,`(\\d{4})(\\d{2})(\\d{5})`,`$1-$2-$3`,[`1`]]],[[,`(\\d)(\\d{7})`,`$1-$2`,[`1[2-6]`],`0$1`],[,`(\\d{2})(\\d{6})`,`$1-$2`,[`1[01]|[2-8]|9(?:[1-59]|[67][2-6])`],`0$1`],[,`(\\d{3})(\\d{7})`,`$1-$2`,[`9`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,`(?:444|(?:55|8\\d)\\d|666)\\d{4}`,,,,,,,[7]],[,,`444\\d{4}`,,,,`4441234`],[,,`(?:55[3-9]|666|8\\d\\d)\\d{4}`,,,,`5551234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NR`,674,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-68]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,`(?:[4-7]|888\\d)\\d{3}`,,,,,,,[4,7]],[,,`[47]\\d{3}`,,,,`7012`,,,[4]],[,,`(?:[56]|888[1-9])\\d{3}`,,,,`8884012`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`NU`,683,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,`[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}`,,,,,,,[5,6,7,8,9,10]],[,,`240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}`,,,,`32345678`,,,[8],[7]],[,,`2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}`,,,,`211234567`,,,[8,9,10]],[,,`508\\d{6,7}|80\\d{6,8}`,,,,`800123456`,,,[8,9,10]],[,,`(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}`,,,,`900123456`,,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,`70\\d{7}`,,,,`701234567`,,,[9]],[,,,,,,,,,[-1]],`NZ`,64,`0(?:0|161)`,`0`,,,`0`,,`00`,,[[,`(\\d{2})(\\d{3,8})`,`$1 $2`,[`8[1-79]`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`50[036-8]|8|90`,`50(?:[0367]|88)|8|90`],`0$1`],[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`24|[346]|7[2-57-9]|9[2-9]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2(?:10|74)|[589]`],`0$1`],[,`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`1|2[028]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,5})`,`$1 $2 $3`,[`2(?:[169]|7[0-35-9])|7`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}`,,,,`83012378`],,,[,,,,,,,,,[-1]]],OM:[,[,,`(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}`,,,,,,,[7,8,9]],[,,`2[1-6]\\d{6}`,,,,`23123456`,,,[8]],[,,`(?:1505|90[1-9]\\d)\\d{4}|(?:7[126-9]|9[1-9])\\d{6}`,,,,`92123456`,,,[8]],[,,`8007\\d{4,5}|(?:500|800[05])\\d{4}`,,,,`80071234`],[,,`900\\d{5}`,,,,`90012345`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`OM`,968,`00`,,,,,,,,[[,`(\\d{3})(\\d{4,6})`,`$1 $2`,[`[58]`]],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`2`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[179]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,`(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}`,,,,,,,[7,8,10,11]],[,,`(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}`,,,,`2001234`,,,[7]],[,,`(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}`,,,,`61234567`,,,[7,8]],[,,`800\\d{4,5}|(?:00800|800\\d)\\d{6}`,,,,`8001234`],[,,`(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}`,,,,`8601234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`PA`,507,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[1-57-9]`]],[,`(\\d{4})(\\d{4})`,`$1-$2`,[`[68]`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,`(?:[14-8]|9\\d)\\d{7}`,,,,,,,[8,9],[6,7]],[,,`(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}`,,,,`11234567`,,,[8],[6,7]],[,,`9\\d{8}`,,,,`912345678`,,,[9]],[,,`800\\d{5}`,,,,`80012345`,,,[8]],[,,`805\\d{5}`,,,,`80512345`,,,[8]],[,,`801\\d{5}`,,,,`80112345`,,,[8]],[,,`80[24]\\d{5}`,,,,`80212345`,,,[8]],[,,,,,,,,,[-1]],`PE`,51,`00|19(?:1[124]|77|90)00`,`0`,` Anexo `,,`0`,,`00`,,[[,`(\\d{3})(\\d{5})`,`$1 $2`,[`80`],`(0$1)`],[,`(\\d)(\\d{7})`,`$1 $2`,[`1`],`(0$1)`],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`[4-8]`],`(0$1)`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,`4\\d{5}(?:\\d{2})?|8\\d{7,8}`,,,,,,,[6,8,9]],[,,`4(?:0[4-689]|9[4-68])\\d{5}`,,,,`40412345`,,,[8]],[,,`8[7-9]\\d{6}`,,,,`87123456`,,,[8]],[,,`80[0-5]\\d{6}`,,,,`800012345`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`499\\d{5}`,,,,`49901234`,,,[8]],`PF`,689,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`44`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`4|8[7-9]`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,`44\\d{4}`,,,,,,,[6]],[,,`44\\d{4}`,,,,`440123`,,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,`(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}`,,,,,,,[7,8]],[,,`(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}`,,,,`3123456`,,,[7]],[,,`(?:7\\d|8[1-38])\\d{6}`,,,,`70123456`,,,[8]],[,,`180\\d{4}`,,,,`1801234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`2(?:0[0-57]|7[568])\\d{4}`,,,,`2751234`,,,[7]],`PG`,675,`00|140[1-3]`,,,,,,`00`,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`18|[2-69]|85`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[78]`]]],,[,,`27[01]\\d{4}`,,,,`2700123`,,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,`(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}`,,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,`(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}`,,,,`232345678`,,,[6,8,9,10],[4,5,7]],[,,`(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}`,,,,`9051234567`,,,[10]],[,,`1800\\d{7,9}`,,,,`180012345678`,,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`PH`,63,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{5})`,`$1 $2`,[`2`],`(0$1)`],[,`(\\d{4})(\\d{4,6})`,`$1 $2`,[`3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2`,`3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))`],`(0$1)`],[,`(\\d{5})(\\d{4})`,`$1 $2`,[`346|4(?:27|9[35])|883`,`3469|4(?:279|9(?:30|56))|8834`],`(0$1)`],[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[3-7]|8[2-8]`],`(0$1)`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[,`(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`1`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,`122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}`,,,,,,,[8,9,10,11,12],[5,6,7]],[,,`(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}`,,,,`2123456789`,,,[9,10],[5,6,7,8]],[,,`3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}`,,,,`3012345678`,,,[10]],[,,`800\\d{5}(?:\\d{3})?`,,,,`80012345`,,,[8,11]],[,,`900\\d{5}`,,,,`90012345`,,,[8]],[,,,,,,,,,[-1]],[,,`122\\d{6}`,,,,`122044444`,,,[9]],[,,,,,,,,,[-1]],`PK`,92,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})(\\d{2,7})`,`$1 $2 $3`,[`[89]0`],`0$1`],[,`(\\d{4})(\\d{5})`,`$1 $2`,[`1`]],[,`(\\d{3})(\\d{6,7})`,`$1 $2`,[`2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])`,`9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]`],`(0$1)`],[,`(\\d{2})(\\d{7,8})`,`$1 $2`,[`(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]`],`(0$1)`],[,`(\\d{5})(\\d{5})`,`$1 $2`,[`58`],`(0$1)`],[,`(\\d{3})(\\d{7})`,`$1 $2`,[`3`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91`],`(0$1)`],[,`(\\d{3})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[24-9]`],`(0$1)`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}`,,,,`21111825888`,,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,`(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}`,,,,,,,[6,7,8,9,10]],[,,`47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))`,,,,`123456789`,,,[7,9]],[,,`21(?:1[013-5]|2\\d|3[4-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}`,,,,`512345678`,,,[9]],[,,`800\\d{6,7}`,,,,`800123456`,,,[9,10]],[,,`70[01346-8]\\d{6}`,,,,`701234567`,,,[9]],[,,`801\\d{6}`,,,,`801234567`,,,[9]],[,,,,,,,,,[-1]],[,,`39\\d{7}`,,,,`391234567`,,,[9]],`PL`,48,`00`,,,,,,,,[[,`(\\d{5})`,`$1`,[`19`]],[,`(\\d{3})(\\d{3})`,`$1 $2`,[`11|20|64`]],[,`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1`,`(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19`]],[,`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`64`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)`]],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[2-8]|[2-7]|8[1-79]|9[145]`]],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`8`]]],,[,,`64\\d{4,7}`,,,,`641234567`,,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,`804\\d{6}`,,,,`804123456`,,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,`[45]\\d{5}|(?:708|8\\d\\d)\\d{6}`,,,,,,,[6,9]],[,,`(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}`,,,,`430123`],[,,`(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}`,,,,`551234`],[,,`80[0-5]\\d{6}`,,,,`800012345`,,,[9]],[,,`8[129]\\d{7}`,,,,`810123456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`PM`,508,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[45]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`7`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,`(?:[589]\\d\\d|787)\\d{7}`,,,,,,,[10],[7]],[,,`(?:787|939)[2-9]\\d{6}`,,,,`7872345678`,,,,[7]],[,,`(?:787|939)[2-9]\\d{6}`,,,,`7872345678`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`PR`,1,`011`,`1`,,,`1`,,,1,,,[,,,,,,,,,[-1]],,`787|939`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,`[2489]2\\d{6}|(?:1\\d|5)\\d{8}`,,,,,,,[8,9,10],[7]],[,,`(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}`,,,,`22234567`,,,[8],[7]],[,,`5[69]\\d{7}`,,,,`599123456`,,,[9]],[,,`1800\\d{6}`,,,,`1800123456`,,,[10]],[,,,,,,,,,[-1]],[,,`1700\\d{6}`,,,,`1700123456`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`PS`,970,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2489]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`5`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,`1693\\d{5}|(?:[26-9]\\d|30)\\d{7}`,,,,,,,[9]],[,,`2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}`,,,,`212345678`],[,,`6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}`,,,,`912345678`],[,,`80[02]\\d{6}`,,,,`800123456`],[,,`(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}`,,,,`760123456`],[,,`80(?:8\\d|9[1579])\\d{5}`,,,,`808123456`],[,,`884[0-4689]\\d{5}`,,,,`884123456`],[,,`30\\d{7}`,,,,`301234567`],`PT`,351,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2[12]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`16|[236-9]`]]],,[,,`6(?:222\\d|8988)\\d{4}`,,,,`622212345`],,,[,,,,,,,,,[-1]],[,,`70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}`,,,,`707123456`],,,[,,`600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}`,,,,`600110000`]],PW:[,[,,`(?:[24-8]\\d\\d|345|900)\\d{4}`,,,,,,,[7]],[,,`(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}`,,,,`2771234`],[,,`(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}`,,,,`6201234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`PW`,680,`01[12]`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,`59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}`,,,,,,,[6,7,8,9,10,11],[5]],[,,`(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}`,,,,`212345678`,,,[7,8,9],[5,6]],[,,`9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}`,,,,`961456789`,,,[9]],[,,`9800\\d{5,7}`,,,,`98000123456`,,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`8700[0-4]\\d{4}`,,,,`870012345`,,,[9]],`PY`,595,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3,6})`,`$1 $2`,[`[2-9]0`],`0$1`],[,`(\\d{2})(\\d{5})`,`$1 $2`,[`[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]`],`(0$1)`],[,`(\\d{3})(\\d{4,5})`,`$1 $2`,[`2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`87`]],[,`(\\d{3})(\\d{6})`,`$1 $2`,[`9(?:[5-79]|8[1-7])`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-8]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`[2-9]0\\d{4,7}`,,,,`201234567`,,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,`800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}`,,,,,,,[7,8,9,11]],[,,`4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}`,,,,`44123456`,,,[8]],[,,`[35-7]\\d{7}`,,,,`33123456`,,,[8]],[,,`800\\d{4}|(?:0080[01]|800)\\d{6}`,,,,`8001234`,,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`QA`,974,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`2[16]|8`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]],,[,,`2[16]\\d{5}`,,,,`2123456`,,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,`709\\d{6}|(?:26|[689]\\d)\\d{7}`,,,,,,,[9]],[,,`26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}`,,,,`262161234`],[,,`(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}`,,,,`692123456`],[,,`80\\d{7}`,,,,`801234567`],[,,`89[1-37-9]\\d{6}`,,,,`891123456`],[,,`8(?:1[019]|2[0156]|84|90)\\d{6}`,,,,`810123456`],[,,,,,,,,,[-1]],[,,`9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}`,,,,`939901234`],`RE`,262,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-9]`],`0$1`]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,`(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}`,,,,,,,[6,9]],[,,`[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d`,,,,`211234567`],[,,`(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}`,,,,`712034567`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`90[0136]\\d{6}`,,,,`900123456`,,,[9]],[,,`801\\d{6}`,,,,`801123456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`RO`,40,`00`,`0`,` int `,,`0`,,,,[[,`(\\d{3})(\\d{3})`,`$1 $2`,[`2[3-6]`,`2[3-6]\\d9`],`0$1`],[,`(\\d{2})(\\d{4})`,`$1 $2`,[`219|31`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[23]1`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[236-9]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`(?:37\\d|80[578])\\d{6}`,,,,`372123456`,,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,`38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}`,,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,`(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}`,,,,`10234567`,,,[7,8,9,10,11,12],[4,5,6]],[,,`6(?:[0-689]|7\\d)\\d{6,7}`,,,,`601234567`,,,[8,9,10]],[,,`800\\d{3,9}`,,,,`80012345`],[,,`(?:78\\d|90[0169])\\d{3,7}`,,,,`90012345`,,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`RS`,381,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3,9})`,`$1 $2`,[`(?:2[389]|39)0|[7-9]`],`0$1`],[,`(\\d{2})(\\d{5,10})`,`$1 $2`,[`[1-36]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`7[06]\\d{4,10}`,,,,`700123456`],,,[,,,,,,,,,[-1]]],RU:[,[,,`8\\d{13}|[347-9]\\d{9}`,,,,,,,[10,14],[7]],[,,`(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}`,,,,`3011234567`,,,[10],[7]],[,,`9\\d{9}`,,,,`9123456789`,,,[10]],[,,`8(?:0[04]|108\\d{3})\\d{7}`,,,,`8001234567`],[,,`80[39]\\d{7}`,,,,`8091234567`,,,[10]],[,,,,,,,,,[-1]],[,,`808\\d{7}`,,,,`8081234567`,,,[10]],[,,,,,,,,,[-1]],`RU`,7,`810`,`8`,,,`8`,,`8~10`,,[[,`(\\d{3})(\\d{2})(\\d{2})`,`$1-$2-$3`,[`[0-79]`]],[,`(\\d{4})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`7(?:1[0-8]|2[1-9])`,`7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))`,`7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2`],`8 ($1)`,,1],[,`(\\d{5})(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`7(?:1[0-68]|2[1-9])`,`7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))`,`7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]`],`8 ($1)`,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`8 ($1)`,,1],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[349]|8(?:[02-7]|1[1-8])`],`8 ($1)`,,1],[,`(\\d{4})(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`8`],`8 ($1)`]],[[,`(\\d{4})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`7(?:1[0-8]|2[1-9])`,`7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))`,`7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2`],`8 ($1)`,,1],[,`(\\d{5})(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`7(?:1[0-68]|2[1-9])`,`7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))`,`7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]`],`8 ($1)`,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`8 ($1)`,,1],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[349]|8(?:[02-7]|1[1-8])`],`8 ($1)`,,1],[,`(\\d{4})(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`8`],`8 ($1)`]],[,,,,,,,,,[-1]],1,`3[04-689]|[489]`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,`(?:06|[27]\\d\\d|[89]00)\\d{6}`,,,,,,,[8,9]],[,,`(?:06|2[23568]\\d)\\d{6}`,,,,`250123456`],[,,`7[237-9]\\d{7}`,,,,`720123456`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`900\\d{6}`,,,,`900123456`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`RW`,250,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`0`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[7-9]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,`92\\d{7}|(?:[15]|8\\d)\\d{8}`,,,,,,,[9,10],[7]],[,,`1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}`,,,,`112345678`,,,[9],[7]],[,,`579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}`,,,,`512345678`,,,[9]],[,,`800\\d{7}`,,,,`8001234567`,,,[10]],[,,`925\\d{6}`,,,,`925012345`,,,[9]],[,,`920\\d{6}`,,,,`920012345`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SA`,966,`00`,`0`,,,`0`,,,,[[,`(\\d{4})(\\d{5})`,`$1 $2`,[`9`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`5`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`81`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`811\\d{7}`,,,,`8110123456`,,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,`[6-9]\\d{6}|[1-6]\\d{4}`,,,,,,,[5,7]],[,,`(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}`,,,,`40123`,,,[5]],[,,`48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}`,,,,`7421234`],[,,`1[38]\\d{3}`,,,,`18123`,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`5[12]\\d{3}`,,,,`51123`,,,[5]],`SB`,677,`0[01]`,,,,,,,,[[,`(\\d{2})(\\d{5})`,`$1 $2`,[`6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,`(?:[2489]\\d|64)\\d{5}`,,,,,,,[7]],[,,`4[2-46]\\d{5}`,,,,`4217123`],[,,`2[125-8]\\d{5}`,,,,`2510123`],[,,`800[08]\\d{3}`,,,,`8000000`],[,,`85\\d{5}`,,,,`8512345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`971\\d{4}|(?:64|95)\\d{5}`,,,,`6412345`],`SC`,248,`010|0[0-2]`,,,,,,`00`,,[[,`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[246]|9[57]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,`[19]\\d{8}`,,,,,,,[9]],[,,`1(?:5\\d|8[35-7])\\d{6}`,,,,`153123456`],[,,`(?:1[0-2]|9[0-3569])\\d{7}`,,,,`911231234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SD`,249,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[19]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,`(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}`,,,,,,,[6,7,8,9,10,12]],[,,`(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}`,,,,`8123456`,,,[7,8,9]],[,,`7[02369]\\d{7}`,,,,`701234567`,,,[9]],[,,`20\\d{4,7}`,,,,`20123456`,,,[6,7,8,9]],[,,`649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}`,,,,`9001234567`,,,[7,8,9,10]],[,,`77[0-7]\\d{6}`,,,,`771234567`,,,[9]],[,,`75[1-8]\\d{6}`,,,,`751234567`,,,[9]],[,,,,,,,,,[-1]],`SE`,46,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{2,3})(\\d{2})`,`$1-$2 $3`,[`20`],`0$1`],[,`(\\d{3})(\\d{4})`,`$1-$2`,[`9(?:00|39|44|9)`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})`,`$1-$2 $3`,[`[12][136]|3[356]|4[0246]|6[03]|90[1-9]`],`0$1`],[,`(\\d)(\\d{2,3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`],[,`(\\d{3})(\\d{2,3})(\\d{2})`,`$1-$2 $3`,[`1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])`],`0$1`],[,`(\\d{3})(\\d{2,3})(\\d{3})`,`$1-$2 $3`,[`9(?:00|39|44)`],`0$1`],[,`(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`10|7`],`0$1`],[,`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{3})`,`$1-$2 $3 $4`,[`9`],`0$1`],[,`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4 $5`,[`[26]`],`0$1`]],[[,`(\\d{2})(\\d{2,3})(\\d{2})`,`$1 $2 $3`,[`20`]],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`9(?:00|39|44|9)`]],[,`(\\d{2})(\\d{3})(\\d{2})`,`$1 $2 $3`,[`[12][136]|3[356]|4[0246]|6[03]|90[1-9]`]],[,`(\\d)(\\d{2,3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[,`(\\d{3})(\\d{2,3})(\\d{2})`,`$1 $2 $3`,[`1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])`]],[,`(\\d{3})(\\d{2,3})(\\d{3})`,`$1 $2 $3`,[`9(?:00|39|44)`]],[,`(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]`]],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`10|7`]],[,`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`9`]],[,`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[26]`]]],[,,`74[02-9]\\d{6}`,,,,`740123456`,,,[9]],,,[,,,,,,,,,[-1]],[,,`10[1-8]\\d{6}`,,,,`102345678`,,,[9]],,,[,,`(?:25[245]|67[3-68])\\d{9}`,,,,`254123456789`,,,[12]]],SG:[,[,,`(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}`,,,,,,,[8,10,11]],[,,`662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}`,,,,`61234567`,,,[8]],[,,`896[0-4]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-5])|9[0-8]\\d)\\d{5}`,,,,`81234567`,,,[8]],[,,`(?:18|8)00\\d{7}`,,,,`18001234567`,,,[10,11]],[,,`1900\\d{7}`,,,,`19001234567`,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:3[12]\\d|666)\\d{5}`,,,,`31234567`,,,[8]],`SG`,65,`0[0-3]\\d`,,,,,,,,[[,`(\\d{4,5})`,`$1`,[`1[013-9]|77`,`1(?:[013-8]|9(?:0[1-9]|[1-9]))|77`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[369]|8(?:0[1-9]|[1-9])`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]],[,`(\\d{4})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`7`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]],[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[369]|8(?:0[1-9]|[1-9])`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]],[,`(\\d{4})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`7`]],[,`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`7000\\d{7}`,,,,`70001234567`,,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,`(?:[256]\\d|8)\\d{3}`,,,,,,,[4,5]],[,,`2(?:[0-57-9]\\d|6[4-9])\\d\\d`,,,,`22158`],[,,`[56]\\d{4}`,,,,`51234`,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`262\\d\\d`,,,,`26212`,,,[5]],`SH`,290,`00`,,,,,,,,,,[,,,,,,,,,[-1]],1,`[256]`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,`[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}`,,,,,,,[5,6,7,8]],[,,`(?:[1-357][2-8]|4[24-8])\\d{6}`,,,,`12345678`,,,[8],[7]],[,,`65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}`,,,,`31234567`,,,[8]],[,,`80\\d{4,6}`,,,,`80123456`,,,[6,7,8]],[,,`89[1-3]\\d{2,5}|90\\d{4,6}`,,,,`90123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}`,,,,`59012345`,,,[8]],`SI`,386,`00|10(?:22|66|88|99)`,`0`,,,`0`,,`00`,,[[,`(\\d{2})(\\d{3,6})`,`$1 $2`,[`8[09]|9`],`0$1`],[,`(\\d{3})(\\d{5})`,`$1 $2`,[`59|8`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[37][01]|4[0139]|51|6`],`0$1`],[,`(\\d)(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[1-57]`],`(0$1)`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,`0\\d{4}|(?:[489]\\d|79)\\d{6}`,,,,,,,[5,8]],[,,`79\\d{6}`,,,,`79123456`,,,[8]],[,,`(?:4[015-8]|9\\d)\\d{6}`,,,,`41234567`,,,[8]],[,,`80[01]\\d{5}`,,,,`80012345`,,,[8]],[,,`82[09]\\d{5}`,,,,`82012345`,,,[8]],[,,`810(?:0[0-6]|[2-8]\\d)\\d{3}`,,,,`81021234`,,,[8]],[,,`880\\d{5}`,,,,`88012345`,,,[8]],[,,`85[0-5]\\d{5}`,,,,`85012345`,,,[8]],`SJ`,47,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,`79`,[,,,,,,,,,[-1]],[,,`(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}`,,,,`02000`],,,[,,`81[23]\\d{5}`,,,,`81212345`,,,[8]]],SK:[,[,,`[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}`,,,,,,,[6,7,9]],[,,`(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d`,,,,`221234567`],[,,`909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}`,,,,`912123456`,,,[9]],[,,`800\\d{6}`,,,,`800123456`,,,[9]],[,,`9(?:00|[78]\\d)\\d{6}`,,,,`900123456`,,,[9]],[,,`8[5-9]\\d{7}`,,,,`850123456`,,,[9]],[,,,,,,,,,[-1]],[,,`6(?:02|5[0-4]|9[0-6])\\d{6}`,,,,`690123456`,,,[9]],`SK`,421,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{2})(\\d{3,4})`,`$1 $2 $3`,[`21`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`[3-5][1-8]1`,`[3-5][1-8]1[67]`],`0$1`],[,`(\\d{4})(\\d{3})`,`$1 $2`,[`909`,`9090`],`0$1`],[,`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1/$2 $3 $4`,[`2`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[689]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1/$2 $3 $4`,[`[3-5]`],`0$1`]],[[,`(\\d)(\\d{2})(\\d{3,4})`,`$1 $2 $3`,[`21`],`0$1`],[,`(\\d{2})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`[3-5][1-8]1`,`[3-5][1-8]1[67]`],`0$1`],[,`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1/$2 $3 $4`,[`2`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[689]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1/$2 $3 $4`,[`[3-5]`],`0$1`]],[,,`9090\\d{3}`,,,,`9090123`,,,[7]],,,[,,`9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}`,,,,,,,[7,9]],[,,`96\\d{7}`,,,,`961234567`,,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,`(?:[237-9]\\d|66)\\d{6}`,,,,,,,[8],[6]],[,,`22[2-4][2-9]\\d{4}`,,,,`22221234`,,,,[6]],[,,`(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}`,,,,`25123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SL`,232,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{6})`,`$1 $2`,[`[236-9]`],`(0$1)`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,`(?:0549|[5-7]\\d)\\d{6}`,,,,,,,[8,10],[6]],[,,`0549(?:8[0157-9]|9\\d)\\d{4}`,,,,`0549886377`,,,[10],[6]],[,,`6[16]\\d{6}`,,,,`66661212`,,,[8]],[,,,,,,,,,[-1]],[,,`7[178]\\d{6}`,,,,`71123456`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`5[158]\\d{6}`,,,,`58001110`,,,[8]],`SM`,378,`00`,,,,`([89]\\d{5})$`,`0549$1`,,,[[,`(\\d{6})`,`$1`,[`[89]`]],[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]`]],[,`(\\d{4})(\\d{6})`,`$1 $2`,[`0`]]],[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]`]],[,`(\\d{4})(\\d{6})`,`$1 $2`,[`0`]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,`(?:[378]\\d|93)\\d{7}`,,,,,,,[9]],[,,`3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}`,,,,`301012345`],[,,`7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[36]|[4-7]\\d|8[35]))\\d{5}`,,,,`701234567`],[,,`800\\d{6}`,,,,`800123456`],[,,`88[4689]\\d{6}`,,,,`884123456`],[,,`81[02468]\\d{6}`,,,,`810123456`],[,,,,,,,,,[-1]],[,,`(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}`,,,,`933301234`],`SN`,221,`00`,,,,,,,,[[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[379]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,`[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}`,,,,,,,[6,7,8,9]],[,,`(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}`,,,,`4012345`,,,[6,7]],[,,`(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}`,,,,`71123456`,,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SO`,252,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{4})`,`$1 $2`,[`8[125]`]],[,`(\\d{6})`,`$1`,[`[134]`]],[,`(\\d)(\\d{6})`,`$1 $2`,[`[15]|2[0-79]|3[0-46-8]|4[0-7]`]],[,`(\\d)(\\d{7})`,`$1 $2`,[`(?:2|90)4|[67]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[348]|64|79|90`]],[,`(\\d{2})(\\d{5,7})`,`$1 $2`,[`1|28|6[0-35-9]|77|9[2-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,`(?:[2-5]|68|[78]\\d)\\d{5}`,,,,,,,[6,7]],[,,`(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}`,,,,`211234`],[,,`(?:7[124-7]|8[124-9])\\d{5}`,,,,`7412345`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`56\\d{4}`,,,,`561234`,,,[6]],`SR`,597,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})`,`$1-$2-$3`,[`56`]],[,`(\\d{3})(\\d{3})`,`$1-$2`,[`[2-5]`]],[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[6-8]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,`[19]\\d{8}`,,,,,,,[9]],[,,`1[89]\\d{7}`,,,,`181234567`],[,,`(?:12|9[1257-9])\\d{7}`,,,,`977123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SS`,211,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[19]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,`(?:22|9\\d)\\d{5}`,,,,,,,[7]],[,,`22\\d{5}`,,,,`2221234`],[,,`900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}`,,,,`9812345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`ST`,239,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[29]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,`[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?`,,,,,,,[7,8,11]],[,,`2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}`,,,,`21234567`,,,[8]],[,,`[67]\\d{7}`,,,,`70123456`,,,[8]],[,,`800\\d{8}|80[01]\\d{4}`,,,,`8001234`,,,[7,11]],[,,`900\\d{4}(?:\\d{4})?`,,,,`9001234`,,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SV`,503,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[89]`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[267]`]],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[89]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,`7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`7215(?:4[2-8]|8[239]|9[056])\\d{4}`,,,,`7215425678`,,,,[7]],[,,`7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}`,,,,`7215205678`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002123456`],[,,`900[2-9]\\d{6}`,,,,`9002123456`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`SX`,1,`011`,`1`,,,`(5\\d{6})$|1`,`721$1`,,,,,[,,,,,,,,,[-1]],,`721`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,`[1-359]\\d{8}|[1-5]\\d{7}`,,,,,,,[8,9],[6,7]],[,,`21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}`,,,,`112345678`,,,,[6,7]],[,,`(?:50|9[1-689])\\d{7}`,,,,`944567890`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`SY`,963,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-4]|5[1-3]`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[59]`],`0$1`,,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,`0800\\d{4}|(?:[237]\\d|900)\\d{6}`,,,,,,,[8,9]],[,,`[23][2-5]\\d{6}`,,,,`22171234`,,,[8]],[,,`7[6-9]\\d{6}`,,,,`76123456`,,,[8]],[,,`0800\\d{4}`,,,,`08001234`,,,[8]],[,,`900\\d{6}`,,,,`900012345`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`70\\d{6}`,,,,`70012345`,,,[8]],`SZ`,268,`00`,,,,,,,,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[0237]`]],[,`(\\d{5})(\\d{4})`,`$1 $2`,[`9`]]],,[,,,,,,,,,[-1]],,,[,,`0800\\d{4}`,,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,`8\\d{3}`,,,,,,,[4]],[,,`8\\d{3}`,,,,`8999`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TA`,290,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,`8`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,`(?:[58]\\d\\d|649|900)\\d{7}`,,,,,,,[10],[7]],[,,`649(?:266|712|9(?:4\\d|50))\\d{4}`,,,,`6497121234`,,,,[7]],[,,`649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}`,,,,`6492311234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,`649(?:71[01]|966)\\d{4}`,,,,`6497101234`,,,,[7]],`TC`,1,`011`,`1`,,,`([2-479]\\d{6})$|1`,`649$1`,,,,,[,,,,,,,,,[-1]],,`649`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,`(?:22|[689]\\d|77)\\d{6}`,,,,,,,[8]],[,,`22(?:[37-9]0|5[0-5]|6[89])\\d{4}`,,,,`22501234`],[,,`(?:[69]\\d|77|8[56])\\d{6}`,,,,`63012345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TD`,235,`00|16`,,,,,,`00`,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,`[279]\\d{7}`,,,,,,,[8]],[,,`2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}`,,,,`22212345`],[,,`(?:7[0-29]|9[0-36-9])\\d{6}`,,,,`90112345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TG`,228,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[279]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,`(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}`,,,,,,,[8,9,10,13]],[,,`(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}`,,,,`21234567`,,,[8]],[,,`67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}`,,,,`812345678`,,,[9]],[,,`(?:001800\\d|1800)\\d{6}`,,,,`1800123456`,,,[10,13]],[,,`1900\\d{6}`,,,,`1900123456`,,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`6[08]\\d{7}`,,,,`601234567`,,,[9]],`TH`,66,`00[1-9]`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[13-9]`],`0$1`],[,`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,`[0-57-9]\\d{8}`,,,,,,,[9],[3,5,6,7]],[,,`(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}`,,,,`372123456`,,,,[3,5,6,7]],[,,`(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0178]|2[02]|[34]0|5[05]|7[01578]|8[078])\\d{7}`,,,,`917123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TJ`,992,`810`,,,,,,`8~10`,,[[,`(\\d{6})(\\d)(\\d{2})`,`$1 $2 $3`,[`331`,`3317`]],[,`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`44[02-479]|[34]7`]],[,`(\\d{4})(\\d)(\\d{4})`,`$1 $2 $3`,[`3(?:[1245]|3[12])`]],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[0-57-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,`[2-47]\\d{3,6}`,,,,,,,[4,5,6,7]],[,,`(?:2[2-4]|[34]\\d)\\d{2,5}`,,,,`3101`],[,,`7[2-4]\\d{2,5}`,,,,`7290`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TK`,690,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,`7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}`,,,,,,,[7,8]],[,,`(?:2[1-5]|3[1-9]|4[1-4])\\d{5}`,,,,`2112345`,,,[7]],[,,`7[2-8]\\d{6}`,,,,`77212345`,,,[8]],[,,`80\\d{5}`,,,,`8012345`,,,[7]],[,,`90\\d{5}`,,,,`9012345`,,,[7]],[,,,,,,,,,[-1]],[,,`70\\d{5}`,,,,`7012345`,,,[7]],[,,,,,,,,,[-1]],`TL`,670,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-489]|70`]],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`7`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,`(?:[1-6]\\d|71)\\d{6}`,,,,,,,[8]],[,,`(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}`,,,,`12345678`],[,,`(?:6\\d|71)\\d{6}`,,,,`66123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TM`,993,`810`,`8`,,,`8`,,`8~10`,,[[,`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`12`],`(8 $1)`],[,`(\\d{3})(\\d)(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[1-5]`],`(8 $1)`],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`[67]`],`8 $1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,`[2-57-9]\\d{7}`,,,,,,,[8]],[,,`81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}`,,,,`30010123`],[,,`3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}`,,,,`20123456`],[,,`8010\\d{4}`,,,,`80101234`],[,,`88\\d{6}`,,,,`88123456`],[,,`8[12]10\\d{4}`,,,,`81101234`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TN`,216,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-57-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,`(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}`,,,,,,,[5,7]],[,,`(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}`,,,,`20123`,,,[5]],[,,`(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}`,,,,`7715123`,,,[7]],[,,`0800\\d{3}`,,,,`0800222`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`55[0-37-9]\\d{4}`,,,,`5510123`,,,[7]],`TO`,676,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})`,`$1-$2`,[`[2-4]|50|6[09]|7[0-24-69]|8[05]`]],[,`(\\d{4})(\\d{3})`,`$1 $2`,[`0`]],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[5-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,`4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}`,,,,,,,[7,10,12,13]],[,,`(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}`,,,,`2123456789`,,,[10]],[,,`561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}`,,,,`5012345678`,,,[10]],[,,`8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})`,,,,`8001234567`,,,[10,12,13]],[,,`(?:8[89]8|900)\\d{7}`,,,,`9001234567`,,,[10]],[,,,,,,,,,[-1]],[,,`592(?:21[12]|461)\\d{4}`,,,,`5922121234`,,,[10]],[,,`850\\d{7}`,,,,`8500123456`,,,[10]],`TR`,90,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d)(\\d{3})`,`$1 $2 $3`,[`444`],,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`512|8[01589]|90`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`5(?:[0-59]|61)`,`5(?:[0-59]|61[06])`,`5(?:[0-59]|61[06]1)`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24][1-8]|3[1-9]`],`(0$1)`,,1],[,`(\\d{3})(\\d{3})(\\d{6,7})`,`$1 $2 $3`,[`80`],`0$1`,,1]],[[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`512|8[01589]|90`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`5(?:[0-59]|61)`,`5(?:[0-59]|61[06])`,`5(?:[0-59]|61[06]1)`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24][1-8]|3[1-9]`],`(0$1)`,,1],[,`(\\d{3})(\\d{3})(\\d{6,7})`,`$1 $2 $3`,[`80`],`0$1`,,1]],[,,`512\\d{7}`,,,,`5123456789`,,,[10]],,,[,,`(?:444|811\\d{3})\\d{4}`,,,,,,,[7,10]],[,,`444\\d{4}`,,,,`4441444`,,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,`(?:[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}`,,,,`8682211234`,,,,[7]],[,,`868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}`,,,,`8682911234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`TT`,1,`011`,`1`,,,`([2-46-8]\\d{6})$|1`,`868$1`,,,,,[,,,,,,,,,[-1]],,`868`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,`868619\\d{4}`,,,,`8686191234`,,,,[7]]],TV:[,[,,`(?:2|7\\d\\d|90)\\d{4}`,,,,,,,[5,6,7]],[,,`2[02-9]\\d{3}`,,,,`20123`,,,[5]],[,,`(?:7[01]\\d|90)\\d{4}`,,,,`901234`,,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`TV`,688,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})`,`$1 $2`,[`2`]],[,`(\\d{2})(\\d{4})`,`$1 $2`,[`90`]],[,`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,`[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}`,,,,,,,[7,8,9,10,11]],[,,`(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}`,,,,`221234567`,,,[8,9]],[,,`(?:40001[0-2]|9[0-8]\\d{4})\\d{3}`,,,,`912345678`,,,[9]],[,,`80[0-79]\\d{6}|800\\d{5}`,,,,`800123456`,,,[8,9]],[,,`20(?:[013-9]\\d\\d|2)\\d{4}`,,,,`203123456`,,,[7,9]],[,,,,,,,,,[-1]],[,,`99\\d{7}`,,,,`990123456`,,,[9]],[,,`7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}`,,,,`7012345678`,,,[10,11]],`TW`,886,`0(?:0[25-79]|19)`,`0`,`#`,,`0`,,,,[[,`(\\d{2})(\\d)(\\d{4})`,`$1 $2 $3`,[`202`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[258]0`],`0$1`],[,`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]`,`[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`],`0$1`],[,`(\\d{2})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`7`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`50[0-46-9]\\d{6}`,,,,`500123456`,,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,`(?:[25-8]\\d|41|90)\\d{7}`,,,,,,,[9]],[,,`2[2-8]\\d{7}`,,,,`222345678`],[,,`(?:6[125-9]|7[13-9])\\d{7}`,,,,`621234567`],[,,`80[08]\\d{6}`,,,,`800123456`],[,,`90\\d{7}`,,,,`900123456`],[,,`8(?:40|6[01])\\d{6}`,,,,`840123456`],[,,,,,,,,,[-1]],[,,`41\\d{7}`,,,,`412345678`],`TZ`,255,`00[056]`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[89]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[24]`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`5`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[67]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,`(?:8(?:[04]0|6[01])|90\\d)\\d{6}`],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,`[89]\\d{9}|[3-9]\\d{8}`,,,,,,,[9,10],[5,6,7]],[,,`(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}`,,,,`311234567`,,,[9],[5,6,7]],[,,`790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}`,,,,`501234567`,,,[9]],[,,`800[1-8]\\d{5,6}`,,,,`800123456`],[,,`900[239]\\d{5,6}`,,,,`900212345`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`89[1-579]\\d{6}`,,,,`891234567`,,,[9]],`UA`,380,`00`,`0`,,,`0`,,`0~0`,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]`,`6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]`],`0$1`],[,`(\\d{4})(\\d{5})`,`$1 $2`,[`3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])`,`3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[3-7]|89|9[1-9]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[89]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,`800\\d{6}|(?:[29]0|[347]\\d)\\d{7}`,,,,,,,[9],[5,6,7]],[,,`20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}`,,,,`312345678`,,,,[5,6,7]],[,,`72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-6]|9[89])\\d{6}`,,,,`712345678`],[,,`800[1-3]\\d{5}`,,,,`800123456`],[,,`90[1-3]\\d{6}`,,,,`901123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`UG`,256,`00[057]`,`0`,,,`0`,,,,[[,`(\\d{4})(\\d{5})`,`$1 $2`,[`202`,`2024`],`0$1`],[,`(\\d{3})(\\d{6})`,`$1 $2`,[`[27-9]|4(?:6[45]|[7-9])`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`[34]`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,`[2-9]\\d{9}|3\\d{6}`,,,,,,,[10],[7]],[,,`(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}`,,,,`2015550123`,,,,[7]],[,,`(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}`,,,,`2015550123`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,`305209\\d{4}`,,,,`3052090123`,,,,[7]],`US`,1,`011`,`1`,,,`1`,,,1,[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`310`],,,1],[,`(\\d{3})(\\d{4})`,`$1-$2`,[`[24-9]|3(?:[02-9]|1[1-9])`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`($1) $2-$3`,[`[2-9]`],,,1]],[[,`(\\d{3})(\\d{4})`,`$1-$2`,[`310`],,,1],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[2-9]`]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,`0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}`,,,,,,,[6,7,8,9,10,11,12,13]],[,,`(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}`,,,,`21231234`,,,[8],[7]],[,,`9[1-9]\\d{6}`,,,,`94231234`,,,[8]],[,,`0004\\d{2,9}|(?:405|80[05])\\d{4}`,,,,`8001234`],[,,`90[0-8]\\d{4}`,,,,`9001234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`UY`,598,`0(?:0|1[3-9]\\d)`,`0`,` int. `,,`0`,,`00`,,[[,`(\\d{3})(\\d{3,4})`,`$1 $2`,[`0`]],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[49]0|8`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`],[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[124]`]],[,`(\\d{3})(\\d{3})(\\d{2,4})`,`$1 $2 $3`,[`0`]],[,`(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})`,`$1 $2 $3 $4`,[`0`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,`(?:20|33|[5-79]\\d|88)\\d{7}`,,,,,,,[9]],[,,`(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}`,,,,`669050123`],[,,`(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}`,,,,`912345678`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`UZ`,998,`00`,,,,,,,,[[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[235-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,`0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}`,,,,,,,[6,7,8,9,10,11,12]],[,,`06698\\d{1,6}`,,,,`0669812345`,,,[6,7,8,9,10,11]],[,,`3[1-9]\\d{8}|3[2-9]\\d{7}`,,,,`3123456789`,,,[9,10]],[,,`80(?:0\\d{3}|3)\\d{3}`,,,,`800123456`,,,[6,9]],[,,`(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}`,,,,`899123456`,,,[6,8,9,10]],[,,`84(?:[08]\\d{3}|[17])\\d{3}`,,,,`848123456`,,,[6,9]],[,,`1(?:78\\d|99)\\d{6}`,,,,`1781234567`,,,[9,10]],[,,`55\\d{8}`,,,,`5512345678`,,,[10]],`VA`,39,`00`,,,,,,,,,,[,,,,,,,,,[-1]],,`06698`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,`3[2-8]\\d{9,10}`,,,,`33101234501`,,,[11,12]]],VC:[,[,,`(?:[58]\\d\\d|784|900)\\d{7}`,,,,,,,[10],[7]],[,,`784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}`,,,,`7842661234`,,,,[7]],[,,`784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}`,,,,`7844301234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,`78451[0-2]\\d{4}`,,,,`7845101234`,,,,[7]],`VC`,1,`011`,`1`,,,`([2-7]\\d{6})$|1`,`784$1`,,,,,[,,,,,,,,,[-1]],,`784`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,`[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}`,,,,,,,[10],[7]],[,,`(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}`,,,,`2121234567`,,,,[7]],[,,`4(?:1[24-8]|2[46])\\d{7}`,,,,`4121234567`],[,,`800\\d{7}`,,,,`8001234567`],[,,`90[01]\\d{7}`,,,,`9001234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`VE`,58,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{7})`,`$1-$2`,[`[24-689]`],`0$1`,`$CC $1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`501\\d{7}`,,,,`5010123456`,,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,`(?:284|[58]\\d\\d|900)\\d{7}`,,,,,,,[10],[7]],[,,`284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}`,,,,`2842291234`,,,,[7]],[,,`284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}`,,,,`2843001234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`VG`,1,`011`,`1`,,,`([2-578]\\d{6})$|1`,`284$1`,,,,,[,,,,,,,,,[-1]],,`284`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,`[58]\\d{9}|(?:34|90)0\\d{7}`,,,,,,,[10],[7]],[,,`340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}`,,,,`3406421234`,,,,[7]],[,,`340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}`,,,,`3406421234`,,,,[7]],[,,`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,,,,`8002345678`],[,,`900[2-9]\\d{6}`,,,,`9002345678`],[,,,,,,,,,[-1]],[,,`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}`,,,,`5002345678`],[,,,,,,,,,[-1]],`VI`,1,`011`,`1`,,,`([2-9]\\d{6})$|1`,`340$1`,,1,,,[,,,,,,,,,[-1]],,`340`,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,`[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}`,,,,,,,[7,8,9,10]],[,,`2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}`,,,,`2101234567`,,,[10]],[,,`(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}`,,,,`912345678`,,,[9]],[,,`1800\\d{4,6}|12(?:0[13]|28)\\d{4}`,,,,`1800123456`,,,[8,9,10]],[,,`1900\\d{4,6}`,,,,`1900123456`,,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`672\\d{6}`,,,,`672012345`,,,[9]],`VN`,84,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[17]99`],`0$1`,,1],[,`(\\d{2})(\\d{5})`,`$1 $2`,[`80`],`0$1`,,1],[,`(\\d{3})(\\d{4,5})`,`$1 $2`,[`69`],`0$1`,,1],[,`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1`],,,1],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`6`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[357-9]`],`0$1`,,1],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[48]`],`0$1`,,1],[,`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`,,1]],[[,`(\\d{2})(\\d{5})`,`$1 $2`,[`80`],`0$1`,,1],[,`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1`],,,1],[,`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`6`],`0$1`,,1],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[357-9]`],`0$1`,,1],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[48]`],`0$1`,,1],[,`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`,,1]],[,,,,,,,,,[-1]],,,[,,`[17]99\\d{4}|69\\d{5,6}`,,,,,,,[7,8]],[,,`(?:[17]99|80\\d)\\d{4}|69\\d{5,6}`,,,,`1992000`,,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,`[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}`,,,,,,,[5,7]],[,,`(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}`,,,,`22123`,,,[5]],[,,`(?:[58]\\d|7[013-7])\\d{5}`,,,,`5912345`,,,[7]],[,,`81[18]\\d\\d`,,,,`81123`,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:0[1-9]|1[01])\\d{4}`,,,,`9010123`,,,[7]],`VU`,678,`00`,,,,,,,,[[,`(\\d{3})(\\d{4})`,`$1 $2`,[`[57-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`(?:3[03]|900\\d)\\d{3}`,,,,`30123`],,,[,,,,,,,,,[-1]]],WF:[,[,,`(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}`,,,,,,,[6,9]],[,,`72\\d{4}`,,,,`721234`,,,[6]],[,,`(?:72|8[23])\\d{4}`,,,,`821234`,,,[6]],[,,`80[0-5]\\d{6}`,,,,`800012345`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9[23]\\d{4}`,,,,`921234`,,,[6]],`WF`,681,`00`,,,,,,,,[[,`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[47-9]`]],[,`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,`[48]0\\d{4}`,,,,`401234`,,,[6]]],WS:[,[,,`(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}`,,,,,,,[5,6,7,10]],[,,`6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}`,,,,`22123`,,,[5,6]],[,,`(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}`,,,,`7212345`,,,[7,10]],[,,`800\\d{3}`,,,,`800123`,,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`WS`,685,`0`,,,,,,,,[[,`(\\d{5})`,`$1`,[`[2-5]|6[1-9]`]],[,`(\\d{3})(\\d{3,7})`,`$1 $2`,[`[68]`]],[,`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,`2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}`,,,,,,,[8,9,10,11,12]],[,,`38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})`,,,,`28012345`],[,,`4[3-9]\\d{6}`,,,,`43201234`,,,[8]],[,,`800\\d{5}`,,,,`80001234`,,,[8]],[,,`900\\d{5}`,,,,`90001234`,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`XK`,383,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{5})`,`$1 $2`,[`[89]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-4]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2|39`],`0$1`],[,`(\\d{2})(\\d{7,10})`,`$1 $2`,[`3`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,`(?:1|7\\d)\\d{7}|[1-7]\\d{6}`,,,,,,,[7,8,9],[6]],[,,`78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}`,,,,`1234567`,,,[7,8],[6]],[,,`7[01378]\\d{7}`,,,,`712345678`,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`YE`,967,`00`,`0`,,,`0`,,,,[[,`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-6]|7(?:[24-6]|8[0-7])`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`7`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,`7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}`,,,,,,,[9]],[,,`269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}`,,,,`269601234`],[,,`(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}`,,,,`639012345`],[,,`80\\d{7}`,,,,`801234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`9(?:(?:39|47)8[01]|769\\d)\\d{4}`,,,,`939801234`],`YT`,262,`00`,`0`,,,`0`,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,`[1-79]\\d{8}|8\\d{4,9}`,,,,,,,[5,6,7,8,9,10]],[,,`(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}`,,,,`101234567`,,,[9]],[,,`(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}`,,,,`711234567`,,,[5,6,7,8,9]],[,,`80\\d{7}`,,,,`801234567`,,,[9]],[,,`(?:86[2-9]|9[0-2]\\d)\\d{6}`,,,,`862345678`,,,[9]],[,,`860\\d{6}`,,,,`860123456`,,,[9]],[,,,,,,,,,[-1]],[,,`87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}`,,,,`871234567`,,,[9]],`ZA`,27,`00`,`0`,,,`0`,,,,[[,`(\\d{2})(\\d{3,4})`,`$1 $2`,[`8[1-4]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`8[1-4]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`860`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-9]`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`861\\d{6,7}`,,,,`861123456`,,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,`800\\d{6}|(?:21|63|[79]\\d)\\d{7}`,,,,,,,[9],[6]],[,,`21[1-8]\\d{6}`,,,,`211234567`,,,,[6]],[,,`(?:7[5-79]|9[5-8])\\d{7}`,,,,`955123456`],[,,`800\\d{6}`,,,,`800123456`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`63\\d{7}`,,,,`630123456`],`ZM`,260,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3})`,`$1 $2`,[`[1-9]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`[79]`],`0$1`]],[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`[79]`],`0$1`]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,`2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}`,,,,,,,[5,6,7,8,9,10],[3,4]],[,,`(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}`,,,,`1312345`,,,,[3,4]],[,,`7(?:[1278]\\d|3[1-9])\\d{6}`,,,,`712345678`,,,[9]],[,,`80(?:[01]\\d|20|8[0-8])\\d{3}`,,,,`8001234`,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`86(?:1[12]|22|30|44|55|77|8[368])\\d{6}`,,,,`8686123456`,,,[10]],`ZW`,263,`00`,`0`,,,`0`,,,,[[,`(\\d{3})(\\d{3,5})`,`$1 $2`,[`2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]`],`0$1`],[,`(\\d)(\\d{3})(\\d{2,4})`,`$1 $2 $3`,[`[49]`],`0$1`],[,`(\\d{3})(\\d{4})`,`$1 $2`,[`80`],`0$1`],[,`(\\d{2})(\\d{7})`,`$1 $2`,[`24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2`,`2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]`],`(0$1)`],[,`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`],[,`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)`,`2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)`],`0$1`],[,`(\\d{4})(\\d{6})`,`$1 $2`,[`8`],`0$1`],[,`(\\d{2})(\\d{3,5})`,`$1 $2`,[`1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]`],`0$1`],[,`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`29[013-9]|39|54`],`0$1`],[,`(\\d{4})(\\d{3,5})`,`$1 $2`,[`(?:25|54)8`,`258|5483`],`0$1`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,`(?:00|[1-9]\\d)\\d{6}`,,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:00|[1-9]\\d)\\d{6}`,,,,`12345678`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`001`,800,,,,,,,,1,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`\\d`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,`[1-9]\\d{7}`,,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`[1-9]\\d{7}`,,,,`12345678`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`001`,808,,,,,,,,1,[[,`(\\d{4})(\\d{4})`,`$1 $2`,[`[1-9]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,`7\\d{11}|[235-7]\\d{8}`,,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,`(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}`,,,,`301234567`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`2\\d{8}`,,,,`201234567`,,,[9]],`001`,870,,,,,,,,,[[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235-7]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,`10\\d{10}`,,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`10\\d{10}`,,,,`101234567890`],`001`,878,,,,,,,,1,[[,`(\\d{2})(\\d{5})(\\d{5})`,`$1 $2 $3`,[`1`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,`6\\d{9}|[0-36-9]\\d{8}`,,,,,,,[9,10]],[,,,,,,,,,[-1]],[,,`6\\d{9}|[0-36-9]\\d{8}`,,,,`612345678`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`001`,881,,,,,,,,,[[,`(\\d)(\\d{3})(\\d{5})`,`$1 $2 $3`,[`[0-37-9]`]],[,`(\\d)(\\d{3})(\\d{5,6})`,`$1 $2 $3`,[`6`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,`[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?`,,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,`342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}`,,,,`3421234`,,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}`,,,,`390123456789`],`001`,882,,,,,,,,,[[,`(\\d{2})(\\d{5})`,`$1 $2`,[`16|342`]],[,`(\\d{2})(\\d{6})`,`$1 $2`,[`49`]],[,`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`1[36]|9`]],[,`(\\d{2})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`3[23]`]],[,`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`16`]],[,`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`10|23|3(?:[15]|4[57])|4|51`]],[,`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`34`]],[,`(\\d{2})(\\d{4,5})(\\d{5})`,`$1 $2 $3`,[`[1-35]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,`348[57]\\d{7}`,,,,`34851234567`,,,[11]]],883:[,[,,`(?:[1-4]\\d|51)\\d{6,10}`,,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}`,,,,`510012345`],`001`,883,,,,,,,,1,[[,`(\\d{3})(\\d{3})(\\d{2,8})`,`$1 $2 $3`,[`[14]|2[24-689]|3[02-689]|51[24-9]`]],[,`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`510`]],[,`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`21`]],[,`(\\d{4})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`51[13]`]],[,`(\\d{3})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[235]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,`\\d{11}`,,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`001`,888,,,,,,,,1,[[,`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,`\\d{11}`,,,,`12345678901`],,,[,,,,,,,,,[-1]]],979:[,[,,`[1359]\\d{8}`,,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,`[1359]\\d{8}`,,,,`123456789`,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],`001`,979,,,,,,,,1,[[,`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[1359]`]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]},i18n.phonenumbers.PhoneNumberUtil=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.PhoneNumberUtil),i18n.phonenumbers.Error={INVALID_COUNTRY_CODE:`Invalid country calling code`,NOT_A_NUMBER:`The string supplied did not seem to be a phone number`,TOO_SHORT_AFTER_IDD:`Phone number too short after IDD`,TOO_SHORT_NSN:`The string supplied is too short to be a phone number`,TOO_LONG:`The string supplied is too long to be a phone number`},i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_=1,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_=2,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_=17,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_=3,i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_=250,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_=`ZZ`,i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_={54:`9`},i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_=[52,54,55],i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN=`+`,i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_=`*`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_=`;ext=`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_=`tel:`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_=`;phone-context=`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_=`;isub=`,i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS={0:`0`,1:`1`,2:`2`,3:`3`,4:`4`,5:`5`,6:`6`,7:`7`,8:`8`,9:`9`,"0":`0`,"1":`1`,"2":`2`,"3":`3`,"4":`4`,"5":`5`,"6":`6`,"7":`7`,"8":`8`,"9":`9`,"٠":`0`,"١":`1`,"٢":`2`,"٣":`3`,"٤":`4`,"٥":`5`,"٦":`6`,"٧":`7`,"٨":`8`,"٩":`9`,"۰":`0`,"۱":`1`,"۲":`2`,"۳":`3`,"۴":`4`,"۵":`5`,"۶":`6`,"۷":`7`,"۸":`8`,"۹":`9`},i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_={0:`0`,1:`1`,2:`2`,3:`3`,4:`4`,5:`5`,6:`6`,7:`7`,8:`8`,9:`9`,"+":i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN,"*":`*`,"#":`#`},i18n.phonenumbers.PhoneNumberUtil.ALPHA_MAPPINGS_={A:`2`,B:`2`,C:`2`,D:`3`,E:`3`,F:`3`,G:`4`,H:`4`,I:`4`,J:`5`,K:`5`,L:`5`,M:`6`,N:`6`,O:`6`,P:`7`,Q:`7`,R:`7`,S:`7`,T:`8`,U:`8`,V:`8`,W:`9`,X:`9`,Y:`9`,Z:`9`},i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_={0:`0`,1:`1`,2:`2`,3:`3`,4:`4`,5:`5`,6:`6`,7:`7`,8:`8`,9:`9`,"0":`0`,"1":`1`,"2":`2`,"3":`3`,"4":`4`,"5":`5`,"6":`6`,"7":`7`,"8":`8`,"9":`9`,"٠":`0`,"١":`1`,"٢":`2`,"٣":`3`,"٤":`4`,"٥":`5`,"٦":`6`,"٧":`7`,"٨":`8`,"٩":`9`,"۰":`0`,"۱":`1`,"۲":`2`,"۳":`3`,"۴":`4`,"۵":`5`,"۶":`6`,"۷":`7`,"۸":`8`,"۹":`9`,A:`2`,B:`2`,C:`2`,D:`3`,E:`3`,F:`3`,G:`4`,H:`4`,I:`4`,J:`5`,K:`5`,L:`5`,M:`6`,N:`6`,O:`6`,P:`7`,Q:`7`,R:`7`,S:`7`,T:`8`,U:`8`,V:`8`,W:`9`,X:`9`,Y:`9`,Z:`9`},i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_={0:`0`,1:`1`,2:`2`,3:`3`,4:`4`,5:`5`,6:`6`,7:`7`,8:`8`,9:`9`,A:`A`,B:`B`,C:`C`,D:`D`,E:`E`,F:`F`,G:`G`,H:`H`,I:`I`,J:`J`,K:`K`,L:`L`,M:`M`,N:`N`,O:`O`,P:`P`,Q:`Q`,R:`R`,S:`S`,T:`T`,U:`U`,V:`V`,W:`W`,X:`X`,Y:`Y`,Z:`Z`,a:`A`,b:`B`,c:`C`,d:`D`,e:`E`,f:`F`,g:`G`,h:`H`,i:`I`,j:`J`,k:`K`,l:`L`,m:`M`,n:`N`,o:`O`,p:`P`,q:`Q`,r:`R`,s:`S`,t:`T`,u:`U`,v:`V`,w:`W`,x:`X`,y:`Y`,z:`Z`,"-":`-`,"-":`-`,"‐":`-`,"‑":`-`,"‒":`-`,"–":`-`,"—":`-`,"―":`-`,"−":`-`,"/":`/`,"/":`/`," ":` `," ":` `,"⁠":` `,".":`.`,".":`.`},i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION=`-x‐-―−ー--/ \xA0­​⁠ ()()[].\\[\\]/~⁓∼~`,i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_=`0-90-9٠-٩۰-۹`,i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_=`A-Za-z`,i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_=`++`,i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN=RegExp(`[`+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+`]+`),i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN=RegExp(`^[`+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+`]+`),i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_=`[`+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+`]+`,i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN=RegExp(`([`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`])`),i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_=RegExp(`[`+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]`),i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_=/[\\\/] *x/,i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_=RegExp(`[^`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+`#]+$`),i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_=/(?:.*?[A-Za-z]){3}.*/,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_=`[`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]{`+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_+`}`,i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_=`[`+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+`]*(?:[`+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+`]*[`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]){3,}[`+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]*`,i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_=` ext. `,i18n.phonenumbers.PhoneNumberUtil.RFC3966_VISUAL_SEPARATOR_=`[\\-\\.\\(\\)]?`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_=`([`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]|`+i18n.phonenumbers.PhoneNumberUtil.RFC3966_VISUAL_SEPARATOR_+`)`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_=`^\\`+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_+`*[`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]`+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_+`*$`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_=new RegExp(i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_),i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_=i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_,i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINLABEL_=`[`+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+`]+((\\-)*[`+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+`])*`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_TOPLABEL_=`[`+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+`]+((\\-)*[`+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+`])*`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_=`^(`+i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINLABEL_+`\\.)*`+i18n.phonenumbers.PhoneNumberUtil.RFC3966_TOPLABEL_+`\\.?$`,i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_PATTERN_=new RegExp(i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_),i18n.phonenumbers.PhoneNumberUtil.extnDigits_=function(t$5){return`([`+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+`]{1,`+t$5+`})`},i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_=function(){var t$5=i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.extnDigits_(`20`),o=`[ \xA0\\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[ \xA0\\t,-]*`+i18n.phonenumbers.PhoneNumberUtil.extnDigits_(`20`)+`#?`,r=`[ \xA0\\t,]*(?:[xx##~~]|int|int)[:\\..]?[ \xA0\\t,-]*`+i18n.phonenumbers.PhoneNumberUtil.extnDigits_(`9`)+`#?`,u=`[- ]+`+i18n.phonenumbers.PhoneNumberUtil.extnDigits_(`6`)+`#`,h=`[ \xA0\\t]*(?:,{2}|;)[:\\..]?[ \xA0\\t,-]*`+i18n.phonenumbers.PhoneNumberUtil.extnDigits_(`15`)+`#?`,m=`[ \xA0\\t]*(?:,)+[:\\..]?[ \xA0\\t,-]*`+i18n.phonenumbers.PhoneNumberUtil.extnDigits_(`9`)+`#?`;return t$5+`|`+o+`|`+r+`|`+u+`|`+h+`|`+m},i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_=RegExp(`(?:`+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+`)$`,`i`),i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_=RegExp(`^`+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_+`$|^`+i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_+`(?:`+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+`)?$`,`i`),i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_=/\D+/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_=/(\$\d)/,i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_=/\$NP/,i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_=/\$FG/,i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_=/\$CC/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_=/^\(?\$1\)?$/,i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY=`001`,i18n.phonenumbers.PhoneNumberFormat={E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3},i18n.phonenumbers.PhoneNumberType={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1},i18n.phonenumbers.PhoneNumberUtil.MatchType={NOT_A_NUMBER:0,NO_MATCH:1,SHORT_NSN_MATCH:2,NSN_MATCH:3,EXACT_MATCH:4},i18n.phonenumbers.PhoneNumberUtil.ValidationResult={IS_POSSIBLE:0,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,INVALID_LENGTH:5,TOO_LONG:3},i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber=function(t$5){var o=t$5.search(i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_);return 0<=o?(t$5=t$5.substring(o),t$5=t$5.replace(i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_,``),o=t$5.search(i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_),0<=o&&(t$5=t$5.substring(0,o))):t$5=``,t$5},i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber=function(t$5){return t$5.length<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_?!1:i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_,t$5)},i18n.phonenumbers.PhoneNumberUtil.normalize=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,t$5)?i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t$5,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!0):i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(t$5)},i18n.phonenumbers.PhoneNumberUtil.normalizeSB_=function(t$5){var o=i18n.phonenumbers.PhoneNumberUtil.normalize(t$5.toString());t$5.clear(),t$5.append(o)},i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t$5,i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS,!0)},i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t$5,i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0)},i18n.phonenumbers.PhoneNumberUtil.convertAlphaCharactersInNumber=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t$5,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!1)},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfGeographicalAreaCode=function(t$5){var o=this.getMetadataForRegion(this.getRegionCodeForNumber(t$5));return o!=null&&(o.hasNationalPrefix()||t$5.hasItalianLeadingZero())&&this.isNumberGeographical(t$5)?this.getLengthOfNationalDestinationCode(t$5):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfNationalDestinationCode=function(t$5){if(t$5.hasExtension()){var o=t$5.clone();o.clearExtension()}else o=t$5;return o=this.format(o,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_),o[0].length==0&&o.shift(),2>=o.length?0:this.getNumberType(t$5)==i18n.phonenumbers.PhoneNumberType.MOBILE&&(t$5=i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken(t$5.getCountryCodeOrDefault()),t$5!=``)?o[2].length+t$5.length:o[1].length},i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_[t$5]||``},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter(function(t$5){return isNaN(t$5)})},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedGlobalNetworkCallingCodes=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter(function(t$5){return!isNaN(t$5)}).map(function(t$5){return parseInt(t$5,10)})},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedCallingCodes=function(){var t$5=Object.keys(i18n.phonenumbers.metadata.countryCodeToRegionCodeMap);return[].concat($jscomp.arrayFromIterable(this.getSupportedGlobalNetworkCallingCodes()),$jscomp.arrayFromIterable(t$5.map(function(o){return parseInt(o,10)})))},i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_=function(t$5){return t$5!=null&&(t$5.possibleLengthCount()!=1||t$5.possibleLengthArray()[0]!=-1)},i18n.phonenumbers.PhoneNumberUtil.descHasData_=function(t$5){return t$5!=null&&(t$5.hasExampleNumber()||i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(t$5)||t$5.hasNationalNumberPattern())},i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_=function(t$5){var o=[];return goog.object.forEach(i18n.phonenumbers.PhoneNumberType,function(r){if(r!=i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE&&r!=i18n.phonenumbers.PhoneNumberType.UNKNOWN){var u=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t$5,r);i18n.phonenumbers.PhoneNumberUtil.descHasData_(u)&&o.push(r)}}),o},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForRegion=function(t$5){return this.isValidRegionCode_(t$5)?i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(this.getMetadataForRegion(t$5)):[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForNonGeoEntity=function(t$5){return t$5=this.getMetadataForNonGeographicalRegion(t$5),t$5==null?[]:i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(t$5)},i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_=function(t$5,o,r){for(var u=new goog.string.StringBuffer,h,m,y=t$5.length,S=0;S<y;++S)h=t$5.charAt(S),m=o[h.toUpperCase()],m==null?r||u.append(h):u.append(m);return u.toString()},i18n.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly=function(t$5){return t$5.length==0||i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_.test(t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberGeographical=function(t$5){var o=this.getNumberType(t$5);return o==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||o==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE||i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_.includes(t$5.getCountryCodeOrDefault())&&o==i18n.phonenumbers.PhoneNumberType.MOBILE},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidRegionCode_=function(t$5){return t$5!=null&&isNaN(t$5)&&t$5.toUpperCase()in i18n.phonenumbers.metadata.countryToMetadata},i18n.phonenumbers.PhoneNumberUtil.prototype.hasValidCountryCallingCode_=function(t$5){return t$5 in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap},i18n.phonenumbers.PhoneNumberUtil.prototype.format=function(t$5,o){if(t$5.getNationalNumber()==0&&t$5.hasRawInput()){var r=t$5.getRawInputOrDefault();if(0<r.length)return r}r=t$5.getCountryCodeOrDefault();var u=this.getNationalSignificantNumber(t$5);if(o==i18n.phonenumbers.PhoneNumberFormat.E164)return this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.E164,u,``);if(!this.hasValidCountryCallingCode_(r))return u;var h=this.getRegionCodeForCountryCode(r);return h=this.getMetadataForRegionOrCallingCode_(r,h),t$5=this.maybeGetFormattedExtension_(t$5,h,o),u=this.formatNsn_(u,h,o),this.prefixNumberWithCountryCallingCode_(r,o,u,t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatByPattern=function(t$5,o,r){var u=t$5.getCountryCodeOrDefault(),h=this.getNationalSignificantNumber(t$5);if(!this.hasValidCountryCallingCode_(u))return h;var m=this.getRegionCodeForCountryCode(u);m=this.getMetadataForRegionOrCallingCode_(u,m);var y=this.chooseFormattingPatternForNumber_(r,h);if(y!=null){if(r=y.clone(),y=y.getNationalPrefixFormattingRuleOrDefault(),0<y.length){var S=m.getNationalPrefixOrDefault();0<S.length?(y=y.replace(i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_,S).replace(i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_,`$1`),r.setNationalPrefixFormattingRule(y)):r.clearNationalPrefixFormattingRule()}h=this.formatNsnUsingPattern_(h,r,o)}return t$5=this.maybeGetFormattedExtension_(t$5,m,o),this.prefixNumberWithCountryCallingCode_(u,o,h,t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithCarrierCode=function(t$5,o){var r=t$5.getCountryCodeOrDefault(),u=this.getNationalSignificantNumber(t$5);if(!this.hasValidCountryCallingCode_(r))return u;var h=this.getRegionCodeForCountryCode(r);return h=this.getMetadataForRegionOrCallingCode_(r,h),t$5=this.maybeGetFormattedExtension_(t$5,h,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),o=this.formatNsn_(u,h,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,o),this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,o,t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegionOrCallingCode_=function(t$5,o){return i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==o?this.getMetadataForNonGeographicalRegion(t$5):this.getMetadataForRegion(o)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithPreferredCarrierCode=function(t$5,o){return this.formatNationalNumberWithCarrierCode(t$5,0<t$5.getPreferredDomesticCarrierCodeOrDefault().length?t$5.getPreferredDomesticCarrierCodeOrDefault():o)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing=function(t$5,o,r){var u=t$5.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(u))return t$5.hasRawInput()?t$5.getRawInputOrDefault():``;var h=``;t$5=t$5.clone(),t$5.clearExtension();var m=this.getRegionCodeForCountryCode(u),y=this.getNumberType(t$5),S=y!=i18n.phonenumbers.PhoneNumberType.UNKNOWN;if(o==m)h=y==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||y==i18n.phonenumbers.PhoneNumberType.MOBILE||y==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE,m==`BR`&&h?h=0<t$5.getPreferredDomesticCarrierCodeOrDefault().length?this.formatNationalNumberWithPreferredCarrierCode(t$5,``):``:u==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_?(o=this.getMetadataForRegion(o),h=this.canBeInternationallyDialled(t$5)&&this.testNumberLength_(this.getNationalSignificantNumber(t$5),o)!=i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT?this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)):h=(m==i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY||(m==`MX`||m==`CL`||m==`UZ`)&&h)&&this.canBeInternationallyDialled(t$5)?this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);else if(S&&this.canBeInternationallyDialled(t$5))return r?this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.E164);return r?h:i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(h)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryCallingNumber=function(t$5,o){if(!this.isValidRegionCode_(o))return this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);var r=t$5.getCountryCodeOrDefault(),u=this.getNationalSignificantNumber(t$5);if(!this.hasValidCountryCallingCode_(r))return u;if(r==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(o))return r+` `+this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)}else if(r==this.getCountryCodeForValidRegion_(o))return this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);var h=this.getMetadataForRegion(o),m=h.getInternationalPrefixOrDefault();return o=``,h.hasPreferredInternationalPrefix()?o=h.getPreferredInternationalPrefixOrDefault():i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,m)&&(o=m),h=this.getRegionCodeForCountryCode(r),h=this.getMetadataForRegionOrCallingCode_(r,h),u=this.formatNsn_(u,h,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),t$5=this.maybeGetFormattedExtension_(t$5,h,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<o.length?o+` `+r+` `+u+t$5:this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,u,t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat=function(t$5,o){if(t$5.hasRawInput()&&!this.hasFormattingPatternForNumber_(t$5))return t$5.getRawInputOrDefault();if(!t$5.hasCountryCodeSource())return this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);switch(t$5.getCountryCodeSource()){case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN:o=this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:o=this.formatOutOfCountryCallingNumber(t$5,o);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN:o=this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).substring(1);break;default:var r=this.getRegionCodeForCountryCode(t$5.getCountryCodeOrDefault()),u=this.getNddPrefixForRegion(r,!0);if(o=this.format(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),u!=null&&u.length!=0&&!this.rawInputContainsNationalPrefix_(t$5.getRawInputOrDefault(),u,r)&&(r=this.getMetadataForRegion(r),u=this.getNationalSignificantNumber(t$5),r=this.chooseFormattingPatternForNumber_(r.numberFormatArray(),u),r!=null)){u=r.getNationalPrefixFormattingRuleOrDefault();var h=u.indexOf(`$1`);0>=h||(u=u.substring(0,h),u=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(u),u.length!=0&&(o=r.clone(),o.clearNationalPrefixFormattingRule(),o=this.formatByPattern(t$5,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,[o])))}}return t$5=t$5.getRawInputOrDefault(),o!=null&&0<t$5.length&&(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(o),u=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(t$5),r!=u&&(o=t$5)),o},i18n.phonenumbers.PhoneNumberUtil.prototype.rawInputContainsNationalPrefix_=function(t$5,o,r){if(t$5=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(t$5),goog.string.startsWith(t$5,o))try{return this.isValidNumber(this.parse(t$5.substring(o.length),r))}catch{}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.hasFormattingPatternForNumber_=function(t$5){var o=t$5.getCountryCodeOrDefault(),r=this.getRegionCodeForCountryCode(o);return o=this.getMetadataForRegionOrCallingCode_(o,r),o==null?!1:(t$5=this.getNationalSignificantNumber(t$5),this.chooseFormattingPatternForNumber_(o.numberFormatArray(),t$5)!=null)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryKeepingAlphaChars=function(t$5,o){var r=t$5.getRawInputOrDefault();if(r.length==0)return this.formatOutOfCountryCallingNumber(t$5,o);var u=t$5.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(u))return r;r=i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(r,i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_,!0);var h=this.getNationalSignificantNumber(t$5);if(3<h.length){var m=r.indexOf(h.substring(0,3));m!=-1&&(r=r.substring(m))}if(m=this.getMetadataForRegion(o),u==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(o))return u+` `+r}else if(m!=null&&u==this.getCountryCodeForValidRegion_(o))return u=this.chooseFormattingPatternForNumber_(m.numberFormatArray(),h),u==null?r:(u=u.clone(),u.setPattern(`(\\d+)(.*)`),u.setFormat(`$1$2`),this.formatNsnUsingPattern_(r,u,i18n.phonenumbers.PhoneNumberFormat.NATIONAL));return o=``,m!=null&&(o=m.getInternationalPrefixOrDefault(),o=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,o)?o:m.getPreferredInternationalPrefixOrDefault()),m=this.getRegionCodeForCountryCode(u),m=this.getMetadataForRegionOrCallingCode_(u,m),t$5=this.maybeGetFormattedExtension_(t$5,m,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<o.length?o+` `+u+` `+r+t$5:this.prefixNumberWithCountryCallingCode_(u,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,r,t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber=function(t$5){if(!t$5.hasNationalNumber())return``;var o=``+t$5.getNationalNumber();return t$5.hasItalianLeadingZero()&&t$5.getItalianLeadingZero()&&0<t$5.getNumberOfLeadingZerosOrDefault()?Array(t$5.getNumberOfLeadingZerosOrDefault()+1).join(`0`)+o:o},i18n.phonenumbers.PhoneNumberUtil.prototype.prefixNumberWithCountryCallingCode_=function(t$5,o,r,u){switch(o){case i18n.phonenumbers.PhoneNumberFormat.E164:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+t$5+r+u;case i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+t$5+` `+r+u;case i18n.phonenumbers.PhoneNumberFormat.RFC3966:return i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+t$5+`-`+r+u;default:return r+u}},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsn_=function(t$5,o,r,u){return o=o.intlNumberFormatArray().length==0||r==i18n.phonenumbers.PhoneNumberFormat.NATIONAL?o.numberFormatArray():o.intlNumberFormatArray(),o=this.chooseFormattingPatternForNumber_(o,t$5),o==null?t$5:this.formatNsnUsingPattern_(t$5,o,r,u)},i18n.phonenumbers.PhoneNumberUtil.prototype.chooseFormattingPatternForNumber_=function(t$5,o){for(var r,u=t$5.length,h=0;h<u;++h){r=t$5[h];var m=r.leadingDigitsPatternCount();if((m==0||o.search(r.getLeadingDigitsPattern(m-1))==0)&&(m=new RegExp(r.getPattern()),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(m,o)))return r}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsnUsingPattern_=function(t$5,o,r,u){var h=o.getFormatOrDefault(),m=new RegExp(o.getPattern()),y=o.getDomesticCarrierCodeFormattingRuleOrDefault();return r==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&u!=null&&0<u.length&&0<y.length?(o=y.replace(i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_,u),h=h.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,o),t$5=t$5.replace(m,h)):(o=o.getNationalPrefixFormattingRuleOrDefault(),t$5=r==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&o!=null&&0<o.length?t$5.replace(m,h.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,o)):t$5.replace(m,h)),r==i18n.phonenumbers.PhoneNumberFormat.RFC3966&&(t$5=t$5.replace(RegExp(`^`+i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_),``),t$5=t$5.replace(new RegExp(i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_,`g`),`-`)),t$5},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber=function(t$5){return this.getExampleNumberForType(t$5,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType=function(t$5,o){if(!this.isValidRegionCode_(t$5))return null;o=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(this.getMetadataForRegion(t$5),o);try{if(o.hasExampleNumber())return this.parse(o.getExampleNumber(),t$5)}catch{}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForNonGeoEntity=function(t$5){var o=this.getMetadataForNonGeographicalRegion(t$5);if(o!=null&&(o=[o.getMobile(),o.getTollFree(),o.getSharedCost(),o.getVoip(),o.getVoicemail(),o.getUan(),o.getPremiumRate()].find(function(r,u){return r.hasExampleNumber()}),o!==void 0))try{return this.parse(`+`+t$5+o.getExampleNumber(),`ZZ`)}catch{}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeGetFormattedExtension_=function(t$5,o,r){return t$5.hasExtension()&&t$5.getExtension().length!=0?r==i18n.phonenumbers.PhoneNumberFormat.RFC3966?i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+t$5.getExtension():o.hasPreferredExtnPrefix()?o.getPreferredExtnPrefix()+t$5.getExtensionOrDefault():i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_+t$5.getExtensionOrDefault():``},i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_=function(t$5,o){switch(o){case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:return t$5.getPremiumRate();case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:return t$5.getTollFree();case i18n.phonenumbers.PhoneNumberType.MOBILE:return t$5.getMobile();case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:return t$5.getFixedLine();case i18n.phonenumbers.PhoneNumberType.SHARED_COST:return t$5.getSharedCost();case i18n.phonenumbers.PhoneNumberType.VOIP:return t$5.getVoip();case i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:return t$5.getPersonalNumber();case i18n.phonenumbers.PhoneNumberType.PAGER:return t$5.getPager();case i18n.phonenumbers.PhoneNumberType.UAN:return t$5.getUan();case i18n.phonenumbers.PhoneNumberType.VOICEMAIL:return t$5.getVoicemail();default:return t$5.getGeneralDesc()}},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberType=function(t$5){var o=this.getRegionCodeForNumber(t$5);return o=this.getMetadataForRegionOrCallingCode_(t$5.getCountryCodeOrDefault(),o),o==null?i18n.phonenumbers.PhoneNumberType.UNKNOWN:(t$5=this.getNationalSignificantNumber(t$5),this.getNumberTypeHelper_(t$5,o))},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberTypeHelper_=function(t$5,o){return this.isNumberMatchingDesc_(t$5,o.getGeneralDesc())?this.isNumberMatchingDesc_(t$5,o.getPremiumRate())?i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:this.isNumberMatchingDesc_(t$5,o.getTollFree())?i18n.phonenumbers.PhoneNumberType.TOLL_FREE:this.isNumberMatchingDesc_(t$5,o.getSharedCost())?i18n.phonenumbers.PhoneNumberType.SHARED_COST:this.isNumberMatchingDesc_(t$5,o.getVoip())?i18n.phonenumbers.PhoneNumberType.VOIP:this.isNumberMatchingDesc_(t$5,o.getPersonalNumber())?i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:this.isNumberMatchingDesc_(t$5,o.getPager())?i18n.phonenumbers.PhoneNumberType.PAGER:this.isNumberMatchingDesc_(t$5,o.getUan())?i18n.phonenumbers.PhoneNumberType.UAN:this.isNumberMatchingDesc_(t$5,o.getVoicemail())?i18n.phonenumbers.PhoneNumberType.VOICEMAIL:this.isNumberMatchingDesc_(t$5,o.getFixedLine())?o.getSameMobileAndFixedLinePattern()||this.isNumberMatchingDesc_(t$5,o.getMobile())?i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:i18n.phonenumbers.PhoneNumberType.FIXED_LINE:!o.getSameMobileAndFixedLinePattern()&&this.isNumberMatchingDesc_(t$5,o.getMobile())?i18n.phonenumbers.PhoneNumberType.MOBILE:i18n.phonenumbers.PhoneNumberType.UNKNOWN:i18n.phonenumbers.PhoneNumberType.UNKNOWN},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion=function(t$5){if(t$5==null)return null;t$5=t$5.toUpperCase();var o=this.regionToMetadataMap[t$5];if(o==null){o=new goog.proto2.PbLiteSerializer;var r=i18n.phonenumbers.metadata.countryToMetadata[t$5];if(r==null)return null;o=o.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),r),this.regionToMetadataMap[t$5]=o}return o},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForNonGeographicalRegion=function(t$5){return this.getMetadataForRegion(``+t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatchingDesc_=function(t$5,o){var r=t$5.length;return 0<o.possibleLengthCount()&&o.possibleLengthArray().indexOf(r)==-1?!1:i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(o.getNationalNumberPatternOrDefault(),t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber=function(t$5){var o=this.getRegionCodeForNumber(t$5);return this.isValidNumberForRegion(t$5,o)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumberForRegion=function(t$5,o){var r=t$5.getCountryCodeOrDefault(),u=this.getMetadataForRegionOrCallingCode_(r,o);return u==null||i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY!=o&&r!=this.getCountryCodeForValidRegion_(o)?!1:(t$5=this.getNationalSignificantNumber(t$5),this.getNumberTypeHelper_(t$5,u)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber=function(t$5){if(t$5==null)return null;var o=t$5.getCountryCodeOrDefault();return o=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[o],o==null?null:o.length==1?o[0]:this.getRegionCodeForNumberFromRegionList_(t$5,o)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumberFromRegionList_=function(t$5,o){t$5=this.getNationalSignificantNumber(t$5);for(var r,u=o.length,h=0;h<u;h++){r=o[h];var m=this.getMetadataForRegion(r);if(m.hasLeadingDigits()){if(t$5.search(m.getLeadingDigits())==0)return r}else if(this.getNumberTypeHelper_(t$5,m)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)return r}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForCountryCode=function(t$5){return t$5=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t$5],t$5==null?i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_:t$5[0]},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodesForCountryCode=function(t$5){return t$5=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t$5],t$5??[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForRegion=function(t$5){return this.isValidRegionCode_(t$5)?this.getCountryCodeForValidRegion_(t$5):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForValidRegion_=function(t$5){var o=this.getMetadataForRegion(t$5);if(o==null)throw Error(`Invalid region code: `+t$5);return o.getCountryCodeOrDefault()},i18n.phonenumbers.PhoneNumberUtil.prototype.getNddPrefixForRegion=function(t$5,o){return t$5=this.getMetadataForRegion(t$5),t$5==null||(t$5=t$5.getNationalPrefixOrDefault(),t$5.length==0)?null:(o&&(t$5=t$5.replace(`~`,``)),t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNANPACountry=function(t$5){return t$5!=null&&i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_].includes(t$5.toUpperCase())},i18n.phonenumbers.PhoneNumberUtil.prototype.isAlphaNumber=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(t$5)?(t$5=new goog.string.StringBuffer(t$5),this.maybeStripExtension(t$5),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,t$5.toString())):!1},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumber=function(t$5){return t$5=this.isPossibleNumberWithReason(t$5),t$5==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||t$5==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForType=function(t$5,o){return t$5=this.isPossibleNumberForTypeWithReason(t$5,o),t$5==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||t$5==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLength_=function(t$5,o){return this.testNumberLengthForType_(t$5,o,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLengthForType_=function(t$5,o,r){var u=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(o,r),h=u.possibleLengthCount()==0?o.getGeneralDesc().possibleLengthArray():u.possibleLengthArray();if(u=u.possibleLengthLocalOnlyArray(),r==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE)if(i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(o,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)))r=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(o,i18n.phonenumbers.PhoneNumberType.MOBILE),i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(r)&&(h=h.concat(r.possibleLengthCount()==0?o.getGeneralDesc().possibleLengthArray():r.possibleLengthArray()),h.sort(),u.length==0?u=r.possibleLengthLocalOnlyArray():(u=u.concat(r.possibleLengthLocalOnlyArray()),u.sort()));else return this.testNumberLengthForType_(t$5,o,i18n.phonenumbers.PhoneNumberType.MOBILE);return h[0]==-1?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH:(t$5=t$5.length,-1<u.indexOf(t$5)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY:(o=h[0],o==t$5?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:o>t$5?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT:h[h.length-1]<t$5?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG:-1<h.indexOf(t$5,1)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH))},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberWithReason=function(t$5){return this.isPossibleNumberForTypeWithReason(t$5,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForTypeWithReason=function(t$5,o){var r=this.getNationalSignificantNumber(t$5);if(t$5=t$5.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(t$5))return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_COUNTRY_CODE;var u=this.getRegionCodeForCountryCode(t$5);return t$5=this.getMetadataForRegionOrCallingCode_(t$5,u),this.testNumberLengthForType_(r,t$5,o)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberString=function(t$5,o){try{return this.isPossibleNumber(this.parse(t$5,o))}catch{return!1}},i18n.phonenumbers.PhoneNumberUtil.prototype.truncateTooLongNumber=function(t$5){if(this.isValidNumber(t$5))return!0;var o=t$5.clone(),r=t$5.getNationalNumberOrDefault();do if(r=Math.floor(r/10),o.setNationalNumber(r),r==0||this.isPossibleNumberWithReason(o)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT)return!1;while(!this.isValidNumber(o));return t$5.setNationalNumber(r),!0},i18n.phonenumbers.PhoneNumberUtil.prototype.extractCountryCode=function(t$5,o){if(t$5=t$5.toString(),t$5.length==0||t$5.charAt(0)==`0`)return 0;for(var r,u=t$5.length,h=1;h<=i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_&&h<=u;++h)if(r=parseInt(t$5.substring(0,h),10),r in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap)return o.append(t$5.substring(h)),r;return 0},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeExtractCountryCode=function(t$5,o,r,u,h){if(t$5.length==0)return 0;t$5=new goog.string.StringBuffer(t$5);var m;if(o!=null&&(m=o.getInternationalPrefix()),m??=`NonMatch`,m=this.maybeStripInternationalPrefixAndNormalize(t$5,m),u&&h.setCountryCodeSource(m),m!=i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY){if(t$5.getLength()<=i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_AFTER_IDD);if(o=this.extractCountryCode(t$5,r),o!=0)return h.setCountryCode(o),o;throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)}if(o!=null){m=o.getCountryCodeOrDefault();var y=``+m,S=t$5.toString();if(goog.string.startsWith(S,y)&&(y=new goog.string.StringBuffer(S.substring(y.length)),S=o.getGeneralDesc(),S=new RegExp(S.getNationalNumberPatternOrDefault()),this.maybeStripNationalPrefixAndCarrierCode(y,o,null),y=y.toString(),!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(S,t$5.toString())&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(S,y)||this.testNumberLength_(t$5.toString(),o)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG))return r.append(y),u&&h.setCountryCodeSource(i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN),h.setCountryCode(m),m}return h.setCountryCode(0),0},i18n.phonenumbers.PhoneNumberUtil.prototype.parsePrefixAsIdd_=function(t$5,o){var r=o.toString();if(r.search(t$5)==0){t$5=r.match(t$5)[0].length;var u=r.substring(t$5).match(i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN);return u&&u[1]!=null&&0<u[1].length&&i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(u[1])==`0`?!1:(o.clear(),o.append(r.substring(t$5)),!0)}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripInternationalPrefixAndNormalize=function(t$5,o){var r=t$5.toString();return r.length==0?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY:i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(r)?(r=r.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,``),t$5.clear(),t$5.append(i18n.phonenumbers.PhoneNumberUtil.normalize(r)),i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN):(o=new RegExp(o),i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(t$5),this.parsePrefixAsIdd_(o,t$5)?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripNationalPrefixAndCarrierCode=function(t$5,o,r){var u=t$5.toString(),h=u.length,m=o.getNationalPrefixForParsing();if(h==0||m==null||m.length==0)return!1;var y=RegExp(`^(?:`+m+`)`);if(h=y.exec(u)){m=new RegExp(o.getGeneralDesc().getNationalNumberPatternOrDefault());var S=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(m,u),_=h.length-1;if(o=o.getNationalPrefixTransformRule(),o==null||o.length==0||h[_]==null||h[_].length==0){if(S&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(m,u.substring(h[0].length)))return!1;r!=null&&0<_&&h[_]!=null&&r.append(h[1]),t$5.set(u.substring(h[0].length))}else{if(u=u.replace(y,o),S&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(m,u))return!1;r!=null&&0<_&&r.append(h[1]),t$5.set(u)}return!0}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripExtension=function(t$5){var o=t$5.toString(),r=o.search(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_);if(0<=r&&i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(o.substring(0,r))){for(var u=o.match(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_),h=u.length,m=1;m<h;++m)if(u[m]!=null&&0<u[m].length)return t$5.clear(),t$5.append(o.substring(0,r)),u[m]}return``},i18n.phonenumbers.PhoneNumberUtil.prototype.checkRegionForParsing_=function(t$5,o){return this.isValidRegionCode_(o)||t$5!=null&&0<t$5.length&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.parse=function(t$5,o){return this.parseHelper_(t$5,o,!1,!0)},i18n.phonenumbers.PhoneNumberUtil.prototype.parseAndKeepRawInput=function(t$5,o){if(!this.isValidRegionCode_(o)&&0<t$5.length&&t$5.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN)throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);return this.parseHelper_(t$5,o,!0,!0)},i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_=function(t$5,o){if(1<t$5.length&&t$5.charAt(0)==`0`){o.setItalianLeadingZero(!0);for(var r=1;r<t$5.length-1&&t$5.charAt(r)==`0`;)r++;r!=1&&o.setNumberOfLeadingZeros(r)}},i18n.phonenumbers.PhoneNumberUtil.prototype.parseHelper_=function(t$5,o,r,u){if(t$5==null)throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(t$5.length>i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_)throw Error(i18n.phonenumbers.Error.TOO_LONG);var h=new goog.string.StringBuffer;if(this.buildNationalNumberForParsing_(t$5,h),!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(h.toString()))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(u&&!this.checkRegionForParsing_(h.toString(),o))throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);u=new i18n.phonenumbers.PhoneNumber,r&&u.setRawInput(t$5),t$5=this.maybeStripExtension(h),0<t$5.length&&u.setExtension(t$5);var m=this.getMetadataForRegion(o);t$5=new goog.string.StringBuffer;var y=0,S=h.toString();try{y=this.maybeExtractCountryCode(S,m,t$5,r,u)}catch(_){if(_.message==i18n.phonenumbers.Error.INVALID_COUNTRY_CODE&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(S)){if(S=S.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,``),y=this.maybeExtractCountryCode(S,m,t$5,r,u),y==0)throw _}else throw _}if(y==0?(i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(h),t$5.append(h.toString()),o==null?r&&u.clearCountryCodeSource():(y=m.getCountryCodeOrDefault(),u.setCountryCode(y))):(h=this.getRegionCodeForCountryCode(y),h!=o&&(m=this.getMetadataForRegionOrCallingCode_(y,h))),t$5.getLength()<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_||(m!=null&&(o=new goog.string.StringBuffer,h=new goog.string.StringBuffer(t$5.toString()),this.maybeStripNationalPrefixAndCarrierCode(h,m,o),m=this.testNumberLength_(h.toString(),m),y=i18n.phonenumbers.PhoneNumberUtil.ValidationResult,m!=y.TOO_SHORT&&m!=y.IS_POSSIBLE_LOCAL_ONLY&&m!=y.INVALID_LENGTH&&(t$5=h,r&&0<o.toString().length&&u.setPreferredDomesticCarrierCode(o.toString()))),r=t$5.toString(),t$5=r.length,t$5<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_))throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(t$5>i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_LONG);return i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_(r,u),u.setNationalNumber(parseInt(r,10)),u},i18n.phonenumbers.PhoneNumberUtil.prototype.extractPhoneContext_=function(t$5){var o=t$5.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);if(o===-1)return null;if(o+=i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_.length,o>=t$5.length)return``;var r=t$5.indexOf(`;`,o);return r===-1?t$5.substring(o):t$5.substring(o,r)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPhoneContextValid_=function(t$5){if(t$5==null)return!0;if(t$5.length===0)return!1;var o=i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.exec(t$5);return t$5=i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_PATTERN_.exec(t$5),o!==null||t$5!==null},i18n.phonenumbers.PhoneNumberUtil.prototype.buildNationalNumberForParsing_=function(t$5,o){var r=i18n.phonenumbers.PhoneNumberUtil.prototype.extractPhoneContext_(t$5);if(!i18n.phonenumbers.PhoneNumberUtil.prototype.isPhoneContextValid_(r))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(r!=null){r.charAt(0)===i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&o.append(r),r=t$5.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_),r=0<=r?r+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_.length:0;var u=t$5.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);o.append(t$5.substring(r,u))}else o.append(i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(t$5??``));t$5=o.toString(),r=t$5.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_),0<r&&(o.clear(),o.append(t$5.substring(0,r)))},i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_=function(t$5){var o=new i18n.phonenumbers.PhoneNumber;return o.setCountryCode(t$5.getCountryCodeOrDefault()),o.setNationalNumber(t$5.getNationalNumberOrDefault()),0<t$5.getExtensionOrDefault().length&&o.setExtension(t$5.getExtensionOrDefault()),t$5.getItalianLeadingZero()&&(o.setItalianLeadingZero(!0),o.setNumberOfLeadingZeros(t$5.getNumberOfLeadingZerosOrDefault())),o},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatch=function(t$5,o){if(typeof t$5==`string`)try{var r=this.parse(t$5,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)}catch(m){if(m.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER;if(typeof o!=`string`){var u=this.getRegionCodeForCountryCode(o.getCountryCodeOrDefault());if(u!=i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_){try{r=this.parse(t$5,u)}catch{return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}var h=this.isNumberMatch(r,o);return h==i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:h}}try{r=this.parseHelper_(t$5,null,!1,!1)}catch{return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}}else r=t$5.clone();if(typeof o==`string`)try{return h=this.parse(o,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_),this.isNumberMatch(t$5,h)}catch(m){return m.message==i18n.phonenumbers.Error.INVALID_COUNTRY_CODE?this.isNumberMatch(o,r):i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}else h=o.clone();return t$5=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(r),h=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(h),t$5.hasExtension()&&h.hasExtension()&&t$5.getExtension()!=h.getExtension()?i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(o=t$5.getCountryCodeOrDefault(),r=h.getCountryCodeOrDefault(),o!=0&&r!=0?t$5.equals(h)?i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH:o==r&&this.isNationalNumberSuffixOfTheOther_(t$5,h)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(t$5.setCountryCode(0),h.setCountryCode(0),t$5.equals(h)?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:this.isNationalNumberSuffixOfTheOther_(t$5,h)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH))},i18n.phonenumbers.PhoneNumberUtil.prototype.isNationalNumberSuffixOfTheOther_=function(t$5,o){return t$5=``+t$5.getNationalNumber(),o=``+o.getNationalNumber(),goog.string.endsWith(t$5,o)||goog.string.endsWith(o,t$5)},i18n.phonenumbers.PhoneNumberUtil.prototype.canBeInternationallyDialled=function(t$5){var o=this.getMetadataForRegion(this.getRegionCodeForNumber(t$5));return o==null?!0:(t$5=this.getNationalSignificantNumber(t$5),!this.isNumberMatchingDesc_(t$5,o.getNoInternationalDialling()))},i18n.phonenumbers.PhoneNumberUtil.matchesEntirely=function(t$5,o){return!!((t$5=typeof t$5==`string`?o.match(`^(?:`+t$5+`)$`):o.match(t$5))&&t$5[0].length==o.length)},i18n.phonenumbers.PhoneNumberUtil.matchesPrefix=function(t$5,o){return!!((t$5=typeof t$5==`string`?o.match(`^(?:`+t$5+`)`):o.match(t$5))&&goog.string.startsWith(o,t$5[0]))},i18n.phonenumbers.shortnumbermetadata={},i18n.phonenumbers.shortnumbermetadata.countryCodeToRegionCodeMap={0:`AC AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT 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 GR GT GU GW GY HK HN HR HT HU ID IE IL IM IN 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 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 TG TH TJ TL TM TN TO TR TT TV TW TZ UA UG US UY UZ VA VC VE VG VI VN VU WF WS XK YE YT ZA ZM ZW`.split(` `)},i18n.phonenumbers.shortnumbermetadata.countryToMetadata={AC:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`AC`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`9(?:11|99)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AD:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[0268]`,,,,`110`],[,,,,,,,,,[-1]],,,,`AD`,,,,,,,,,,,,,,,,,,[,,`11[0268]`,,,,`110`],,[,,`11[0268]`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AE:[,[,,`[149]\\d{2,3}`,,,,,,,[3,4]],,,[,,`112|99[7-9]`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`AE`,,,,,,,,,,,,,,,,,,[,,`112|99[7-9]`,,,,`112`,,,[3]],,[,,`112|445[16]|99[7-9]`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`445\\d`,,,,`4450`,,,[4]]],AF:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`1(?:0[02]|19)`,,,,`100`,,,[3]],[,,,,,,,,,[-1]],,,,`AF`,,,,,,,,,,,,,,,,,,[,,`1(?:0[02]|19)`,,,,`100`,,,[3]],,[,,`1(?:0[02]|19)|40404`,,,,`100`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],AG:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`AG`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`176|9(?:11|88|99)`,,,,`176`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],AI:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`AI`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`176|9(?:11|88)`,,,,`176`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],AL:[,[,,`[15]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1(?:2|6[01]\\d\\d)|2[7-9]|3[15]|41)`,,,,`112`,,,[3,6]],[,,`5\\d{4}`,,,,`50000`,,,[5]],,,,`AL`,,,,,,,,,,,,,,,,,,[,,`1(?:12|2[7-9])`,,,,`112`,,,[3]],,[,,`1(?:1(?:6(?:000|1(?:06|11|23))|8\\d\\d)|65\\d|89[12])|5\\d{4}|1(?:[1349]\\d|2[2-9])`,,,,`110`],[,,,,,,,,,[-1]],[,,`123`,,,,`123`,,,[3]],,[,,`131|5\\d{4}`,,,,`131`,,,[3,5]]],AM:[,[,,`[148]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`10[1-3]`,,,,`101`,,,[3]],[,,,,,,,,,[-1]],,,,`AM`,,,,,,,,,,,,,,,,,,[,,`10[1-3]`,,,,`101`,,,[3]],,[,,`(?:1|8[1-7])\\d\\d|40404`,,,,`100`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],AO:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[235]`,,,,`112`],[,,,,,,,,,[-1]],,,,`AO`,,,,,,,,,,,,,,,,,,[,,`11[235]`,,,,`112`],,[,,`11[235]`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AR:[,[,,`[01389]\\d{1,4}`,,,,,,,[2,3,4,5]],,,[,,`000|1(?:0[0-35-7]|1[0245]|2[015]|3[47]|4[478]|9)|911`,,,,`19`,,,[2,3]],[,,,,,,,,,[-1]],,,,`AR`,,,,,,,,,,,,,,,,,,[,,`10[017]|911`,,,,`100`,,,[3]],,[,,`000|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478]|9)|3372|89338|911`,,,,`19`],[,,,,,,,,,[-1]],[,,`893\\d\\d`,,,,`89300`,,,[5]],,[,,`(?:337|893\\d)\\d`,,,,`3370`,,,[4,5]]],AS:[,[,,`[49]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`9(?:11|88)`,,,,`911`,,,[3]],[,,,,,,,,,[-1]],,,,`AS`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`,,,[3]],,[,,`40404|9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],AT:[,[,,`[1268]\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`1(?:12|2[0238]|3[03]|4[0-247])|1(?:16\\d\\d|4[58])\\d`,,,,`112`],[,,,,,,,,,[-1]],,,,`AT`,,,,,,,,,,,,,,,,,,[,,`1(?:[12]2|33|44)`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:00[06]|1(?:17|23)))|2[0238]|3[03]|4(?:[0-247]|5[05]|84))|(?:220|61|8108[1-3])0`,,,,`112`],[,,,,,,,,,[-1]],[,,`(?:220|810\\d\\d)\\d|610`,,,,`610`],,[,,,,,,,,,[-1]]],AU:[,[,,`[0-27]\\d{2,7}`,,,,,,,[3,4,5,6,7,8]],,,[,,`000|1(?:06|12|258885|55\\d)|733`,,,,`000`,,,[3,4,7]],[,,`1(?:2(?:34|456)|9\\d{4,6})`,,,,`1234`,,,[4,5,6,7,8]],,,,`AU`,,,,,,,,,,,,,,,,,,[,,`000|1(?:06|12)`,,,,`000`,,,[3]],,[,,`000|1(?:06|1(?:00|2|9[46])|2(?:014[1-3]|[23]\\d|(?:4|5\\d)\\d{2,3}|68[689]|72(?:20|3\\d\\d)|8(?:[013-9]\\d|2))|555|9\\d{4,6})|225|7(?:33|67)`,,,,`000`],[,,`1(?:1[09]\\d|24733)|225|767`,,,,`225`,,,[3,4,6]],[,,`1(?:258885|55\\d)`,,,,`1550`,,,[4,7]],,[,,`19\\d{4,6}`,,,,`190000`,,,[6,7,8]]],AW:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`100|911`,,,,`100`],[,,,,,,,,,[-1]],,,,`AW`,,,,,,,,,,,,,,,,,,[,,`100|911`,,,,`100`],,[,,`1(?:00|18|76)|91[13]`,,,,`100`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],AX:[,[,,`[17]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`112`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`AX`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`,,,[3]],,[,,`112|75[12]\\d\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AZ:[,[,,`[148]\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:0[1-3]|12)`,,,,`101`,,,[3]],[,,,,,,,,,[-1]],,,,`AZ`,,,,,,,,,,,,,,,,,,[,,`1(?:0[1-3]|12)`,,,,`101`,,,[3]],,[,,`1(?:0[1-3]|12)|(?:404|880)0`,,,,`101`],[,,,,,,,,,[-1]],[,,`(?:404|880)\\d`,,,,`4040`,,,[4]],,[,,`(?:404|880)\\d`,,,,`4040`,,,[4]]],BA:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:16\\d{3}|2[2-4])`,,,,`122`,,,[3,6]],[,,,,,,,,,[-1]],,,,`BA`,,,,,,,,,,,,,,,,,,[,,`12[2-4]`,,,,`122`,,,[3]],,[,,`1(?:16(?:00[06]|1(?:1[17]|23))|2(?:0[0-7]|[2-5]|6[0-26])|(?:[3-5]|7\\d)\\d\\d)|1(?:18|2[78])\\d\\d?`,,,,`122`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BB:[,[,,`[2-689]\\d\\d`,,,,,,,[3]],,,[,,`988|[2359]11`,,,,`211`],[,,,,,,,,,[-1]],,,,`BB`,,,,,,,,,,,,,,,,,,[,,`[2359]11`,,,,`211`],,[,,`988|[2-689]11`,,,,`211`],[,,,,,,,,,[-1]],[,,`[468]11`,,,,`411`],,[,,,,,,,,,[-1]]],BD:[,[,,`[1579]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`10[0-26]|[19]99`,,,,`100`,,,[3]],[,,,,,,,,,[-1]],,,,`BD`,,,,,,,,,,,,,,,,,,[,,`10[0-2]|[19]99`,,,,`100`,,,[3]],,[,,`1(?:0(?:[0-369]|5[1-4]|7[0-4]|8[0-29])|1[16-9]|2(?:[134]|2[0-5])|3(?:1\\d?|6[3-6])|5[2-9])|5012|786|9594|[19]99|1(?:0(?:50|6\\d)|33|4(?:0|1\\d))\\d`,,,,`100`],[,,,,,,,,,[-1]],[,,`1(?:11|2[13])|(?:501|959)\\d|786`,,,,`111`,,,[3,4]],,[,,`959\\d`,,,,`9590`,,,[4]]],BE:[,[,,`[1-9]\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`1(?:0[0-35-8]|1[0269]|7(?:12|77)|813)|(?:116|8)\\d{3}`,,,,`100`],[,,`1(?:2[03]|40)4|(?:1(?:[24]1|3[01])|[2-79]\\d\\d)\\d`,,,,`1204`,,,[4]],,,,`BE`,,,,,,,,,,,,,,,,,,[,,`1(?:0[01]|12)`,,,,`100`,,,[3]],,[,,`1(?:0[0-8]|16117|2(?:12|3[0-24])|313|414|5(?:1[05]|5[15]|66|95)|6(?:1[167]|36|6[16])|7(?:[07][017]|1[27-9]|22|33|65)|81[39])|[2-9]\\d{3}|11[02679]|1(?:1600|45)0|1(?:[2-4]9|78)9|1[2-4]0[47]`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`[2-9]\\d{3}`,,,,`2000`,,,[4]]],BF:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],,,,`BF`,,,,,,,,,,,,,,,,,,[,,`1[78]`,,,,`17`],,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BG:[,[,,`1\\d\\d(?:\\d{3})?`,,,,,,,[3,6]],,,[,,`1(?:1(?:2|6\\d{3})|50|6[06])`,,,,`112`],[,,,,,,,,,[-1]],,,,`BG`,,,,,,,,,,,,,,,,,,[,,`1(?:12|50|6[06])`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:000|111))|50|6[06])`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BH:[,[,,`[0189]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`(?:0[167]|81)\\d{3}|[19]99`,,,,`199`],[,,`9[148]\\d{3}`,,,,`91000`,,,[5]],,,,`BH`,,,,,,,,,,,,,,,,,,[,,`[19]99`,,,,`199`,,,[3]],,[,,`1(?:[02]\\d|12|4[01]|51|8[18]|9[169])|99[02489]|(?:0[167]|8[158]|9[148])\\d{3}`,,,,`100`],[,,,,,,,,,[-1]],[,,`0[67]\\d{3}|88000|98555`,,,,`06000`,,,[5]],,[,,`88000|98555`,,,,`88000`,,,[5]]],BI:[,[,,`[16-9]\\d{2,3}`,,,,,,,[3,4]],,,[,,`11[237]|611`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`BI`,,,,,,,,,,,,,,,,,,[,,`11[237]`,,,,`112`,,,[3]],,[,,`1(?:1\\d|5[2-9]|6[0-256])|611|7(?:10|77|979)|8[28]8|900`,,,,`110`],[,,,,,,,,,[-1]],[,,`611|7(?:10|77)|888|900`,,,,`611`,,,[3]],,[,,`(?:71|90)0`,,,,`710`,,,[3]]],BJ:[,[,,`[17]\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[246-8]|3[68]|6[06])|7[3-5]\\d\\d`,,,,`112`],[,,,,,,,,,[-1]],,,,`BJ`,,,,,,,,,,,,,,,,,,[,,`11[246-8]`,,,,`112`,,,[3]],,[,,`1(?:05|1[24-8]|2[02-5]|3[126-8]|5[05]|6[06]|89)|7[0-5]\\d\\d`,,,,`105`],[,,,,,,,,,[-1]],[,,`12[02-5]`,,,,`120`,,,[3]],,[,,,,,,,,,[-1]]],BL:[,[,,`1\\d`,,,,,,,[2]],,,[,,`18`,,,,`18`],[,,,,,,,,,[-1]],,,,`BL`,,,,,,,,,,,,,,,,,,[,,`18`,,,,`18`],,[,,`18`,,,,`18`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BM:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`BM`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`176|9(?:11|88)`,,,,`176`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],BN:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`99[135]`,,,,`991`],[,,,,,,,,,[-1]],,,,`BN`,,,,,,,,,,,,,,,,,,[,,`99[135]`,,,,`991`],,[,,`99[135]`,,,,`991`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BO:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`11[089]`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`BO`,,,,,,,,,,,,,,,,,,[,,`11[089]`,,,,`110`,,,[3]],,[,,`11[089]|40404`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],BQ:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`112|911`,,,,`112`],[,,,,,,,,,[-1]],,,,`BQ`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`],,[,,`1(?:12|76)|911`,,,,`112`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],BR:[,[,,`[1-69]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:00|12|28|8[015]|9[0-47-9])|4(?:57|82\\d)|911`,,,,`100`,,,[3,4]],[,,,,,,,,,[-1]],,,,`BR`,,,,,,,,,,,,,,,,,,[,,`1(?:12|28|9[023])|911`,,,,`112`,,,[3]],,[,,`1(?:0(?:[02]|3(?:1[2-579]|2[13-9]|3[124-9]|4[1-3578]|5[1-468]|6[139]|8[149]|9[168])|5[0-35-9]|6(?:0|1[0-35-8]?|2[0145]|3[0137]?|4[37-9]?|5[0-35]|6[016]?|7[137]?|8[5-8]|9[1359]))|1[25-8]|2[357-9]|3[024-68]|4[12568]|5\\d|6[0-8]|8[015]|9[0-47-9])|2(?:7(?:330|878)|85959?)|(?:32|91)1|4(?:0404?|57|828)|55555|6(?:0\\d{4}|10000)|(?:133|411)[12]`,,,,`100`],[,,`102|273\\d\\d|321`,,,,`102`,,,[3,5]],[,,`151|(?:278|555)\\d\\d|4(?:04\\d\\d?|11\\d|57)`,,,,`151`,,,[3,4,5]],,[,,`285\\d{2,3}|321|40404|(?:27[38]\\d|482)\\d|6(?:0\\d|10)\\d{3}`,,,,`321`]],BS:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:1[19]|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`BS`,,,,,,,,,,,,,,,,,,[,,`91[19]`,,,,`911`],,[,,`9(?:1[19]|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BT:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`11[023]`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`BT`,,,,,,,,,,,,,,,,,,[,,`11[023]`,,,,`110`,,,[3]],,[,,`11[0-6]|40404`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],BW:[,[,,`[19]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`9(?:11|9[7-9])`,,,,`911`,,,[3]],[,,,,,,,,,[-1]],,,,`BW`,,,,,,,,,,,,,,,,,,[,,`9(?:11|9[7-9])`,,,,`911`,,,[3]],,[,,`1(?:1[26]|3123)|9(?:1[14]|9[1-57-9])`,,,,`112`],[,,,,,,,,,[-1]],[,,`131\\d\\d`,,,,`13100`,,,[5]],,[,,`131\\d\\d`,,,,`13100`,,,[5]]],BY:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`1(?:0[1-3]|12)`,,,,`101`],[,,,,,,,,,[-1]],,,,`BY`,,,,,,,,,,,,,,,,,,[,,`1(?:0[1-3]|12)`,,,,`101`],,[,,`1(?:0[1-79]|1[246]|35|5[1-35]|6[89]|7[5-7]|8[58]|9[1-7])`,,,,`101`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BZ:[,[,,`9\\d\\d?`,,,,,,,[2,3]],,,[,,`9(?:0|11|22|66|77|9[09])`,,,,`90`],[,,,,,,,,,[-1]],,,,`BZ`,,,,,,,,,,,,,,,,,,[,,`9(?:0|11|90)`,,,,`90`],,[,,`9(?:0|11|22|66|77|9[09])`,,,,`90`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CA:[,[,,`[1-9]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`112|988|[29]11`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`CA`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`,,,[3]],,[,,`[1-35-9]\\d{4,5}|112|[2-8]11|9(?:11|88)`,,,,`112`],[,,,,,,,,,[-1]],[,,`[235-7]11`,,,,`211`,,,[3]],,[,,`[1-35-9]\\d{4,5}`,,,,`10000`,,,[5,6]]],CC:[,[,,`[01]\\d\\d`,,,,,,,[3]],,,[,,`000|112`,,,,`000`],[,,,,,,,,,[-1]],,,,`CC`,,,,,,,,,,,,,,,,,,[,,`000|112`,,,,`000`],,[,,`000|112`,,,,`000`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CD:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`1(?:1[348]|77|88)`,,,,`113`,,,[3]],[,,,,,,,,,[-1]],,,,`CD`,,,,,,,,,,,,,,,,,,[,,`1(?:1[348]|77|88)`,,,,`113`,,,[3]],,[,,`1(?:1[348]|23|77|88)|40404`,,,,`113`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],CF:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[78]|22\\d)`,,,,`117`],[,,,,,,,,,[-1]],,,,`CF`,,,,,,,,,,,,,,,,,,[,,`1(?:1[78]|220)`,,,,`117`],,[,,`1(?:1[478]|220)`,,,,`114`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CG:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[178]`,,,,`111`],[,,,,,,,,,[-1]],,,,`CG`,,,,,,,,,,,,,,,,,,[,,`11[78]`,,,,`117`],,[,,`11[126-8]`,,,,`111`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CH:[,[,,`[1-9]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1(?:[278]|6\\d{3})|4[47])|5200`,,,,`112`,,,[3,4,6]],[,,`1(?:14|8[0-2589])\\d|543|83111`,,,,`543`,,,[3,4,5]],,,,`CH`,,,,,,,,,,,,,,,,,,[,,`1(?:1[278]|44)`,,,,`112`,,,[3]],,[,,`1(?:0[78]\\d\\d|1(?:[278]|45|6(?:000|111))|4(?:[03-57]|1[0145])|6(?:00|[1-46])|8(?:02|1[189]|[25]0|7|8[08]|99))|[2-9]\\d{2,4}`,,,,`112`],[,,`1(?:4[035]|6[1-46])|1(?:41|60)\\d`,,,,`140`,,,[3,4]],[,,`5(?:200|35)`,,,,`535`,,,[3,4]],,[,,`[2-9]\\d{2,4}`,,,,`200`,,,[3,4,5]]],CI:[,[,,`[14]\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[01]|[78]0)`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`CI`,,,,,,,,,,,,,,,,,,[,,`1(?:1[01]|[78]0)`,,,,`110`,,,[3]],,[,,`1(?:1[01]|[78]0)|4443`,,,,`110`],[,,,,,,,,,[-1]],[,,`444\\d`,,,,`4440`,,,[4]],,[,,`444\\d`,,,,`4440`,,,[4]]],CK:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`99[689]`,,,,`996`],[,,,,,,,,,[-1]],,,,`CK`,,,,,,,,,,,,,,,,,,[,,`99[689]`,,,,`996`],,[,,`99[689]`,,,,`996`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CL:[,[,,`[1-9]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:213|3[1-3])|434\\d|911`,,,,`131`,,,[3,4]],[,,`1(?:211|3(?:13|[348]0|5[01]))|(?:1(?:[05]6|[48]1|9[18])|2(?:01\\d|[23]2|77|88)|3(?:0[59]|13|3[279]|66)|4(?:[12]4|36\\d|4[017]|55)|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d`,,,,`1060`,,,[4,5]],,,,`CL`,,,,,,,,,,,,,,,,,,[,,`13[1-3]|911`,,,,`131`,,,[3]],,[,,`1(?:00|21[13]|3(?:13|[348]0|5[01])|4(?:0[02-6]|17|[379])|818|919)|2(?:0(?:01|122)|22[47]|323|777|882)|3(?:0(?:51|99)|132|3(?:29|[37]7)|665)|43656|5(?:(?:00|415)4|5(?:66|77)|995)|6(?:131|222|366|699)|7878|8(?:011|11[28]|482|889)|9(?:01|1)1|13\\d|4(?:[13]42|243|4(?:02|15|77)|554)|(?:1(?:[05]6|98)|339|6(?:07|[35])0|9(?:[12]0|33))0`,,,,`100`],[,,`(?:200|333)\\d`,,,,`2000`,,,[4]],[,,,,,,,,,[-1]],,[,,`13(?:13|[348]0|5[01])|(?:1(?:[05]6|[28]1|4[01]|9[18])|2(?:0(?:0|1\\d)|[23]2|77|88)|3(?:0[59]|13|3[2379]|66)|436\\d|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d|4(?:[1-3]4|4[017]|55)\\d`,,,,`1060`,,,[4,5]]],CM:[,[,,`[18]\\d{1,3}`,,,,,,,[2,3,4]],,,[,,`1(?:1[37]|[37])`,,,,`13`,,,[2,3]],[,,,,,,,,,[-1]],,,,`CM`,,,,,,,,,,,,,,,,,,[,,`1(?:1[37]|[37])`,,,,`13`,,,[2,3]],,[,,`1(?:1[37]|[37])|8711`,,,,`13`],[,,,,,,,,,[-1]],[,,`871\\d`,,,,`8710`,,,[4]],,[,,`871\\d`,,,,`8710`,,,[4]]],CN:[,[,,`[19]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1[09]|2(?:[02]|1\\d\\d|395))`,,,,`110`,,,[3,5]],[,,,,,,,,,[-1]],,,,`CN`,,,,,,,,,,,,,,,,,,[,,`1(?:1[09]|20)`,,,,`110`,,,[3]],,[,,`1(?:00|1[0249]|2395|6[08])|9[56]\\d{3,4}|12[023]|1(?:0(?:[0-26]\\d|8)|21\\d)\\d`,,,,`100`],[,,`1(?:0(?:[0-26]\\d|8)\\d|1[24]|23|6[08])|9[56]\\d{3,4}|100`,,,,`100`],[,,,,,,,,,[-1]],,[,,`12110`,,,,`12110`,,,[5]]],CO:[,[,,`[1-589]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`1(?:1[29]|23|32|56)`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`CO`,,,,,,,,,,,,,,,,,,[,,`1(?:1[29]|23|32|56)`,,,,`112`,,,[3]],,[,,`1(?:06|1[2-9]|2[35-7]|3[27]|4[467]|5[36]|6[4-7]|95)|(?:29002|39003)9|40404|5930\\d\\d|85432|(?:[2359][57]|8(?:7|9\\d))\\d{3}`,,,,`106`],[,,,,,,,,,[-1]],[,,`(?:40|85)4\\d\\d`,,,,`40400`,,,[5]],,[,,`(?:40|85)4\\d\\d`,,,,`40400`,,,[5]]],CR:[,[,,`[1359]\\d{2,3}`,,,,,,,[3,4]],,,[,,`112|911`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`CR`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`,,,[3]],,[,,`1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|2|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|3(?:21|33)|4(?:0[06]|1[4-6])|5(?:15|5[15])|693|7(?:00|1[7-9]|2[02]|[67]7)|975)|3855|5(?:0(?:30|49)|510)|911`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`(?:385|5(?:0[34]|51))\\d`,,,,`3850`,,,[4]]],CU:[,[,,`[12]\\d\\d(?:\\d{3,4})?`,,,,,,,[3,6,7]],,,[,,`10[4-7]|(?:116|204\\d)\\d{3}`,,,,`104`],[,,,,,,,,,[-1]],,,,`CU`,,,,,,,,,,,,,,,,,,[,,`10[4-6]`,,,,`104`,,,[3]],,[,,`1(?:0[4-7]|1(?:6111|8)|40)|2045252`,,,,`104`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CV:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`13[0-2]`,,,,`130`],[,,,,,,,,,[-1]],,,,`CV`,,,,,,,,,,,,,,,,,,[,,`13[0-2]`,,,,`130`],,[,,`13[0-2]`,,,,`130`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CW:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`112|911`,,,,`112`],[,,,,,,,,,[-1]],,,,`CW`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`],,[,,`1(?:12|76)|911`,,,,`112`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],CX:[,[,,`[01]\\d\\d`,,,,,,,[3]],,,[,,`000|112`,,,,`000`],[,,,,,,,,,[-1]],,,,`CX`,,,,,,,,,,,,,,,,,,[,,`000|112`,,,,`000`],,[,,`000|112`,,,,`000`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CY:[,[,,`1\\d\\d(?:\\d{3})?`,,,,,,,[3,6]],,,[,,`1(?:1(?:2|6\\d{3})|99)`,,,,`112`],[,,,,,,,,,[-1]],,,,`CY`,,,,,,,,,,,,,,,,,,[,,`1(?:12|99)`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:000|111))|99)`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CZ:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5\\d)`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`CZ`,,,,,,,,,,,,,,,,,,[,,`1(?:12|5\\d)`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5\\d|99)|1(?:16|4)\\d{3}`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DE:[,[,,`[13]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:[02]|6\\d{3})`,,,,`110`,,,[3,6]],[,,,,,,,,,[-1]],,,,`DE`,,,,,,,,,,,,,,,,,,[,,`11[02]`,,,,`110`,,,[3]],,[,,`11(?:[025]|6(?:00[06]|1(?:1[167]|23))|800\\d)|3311|118\\d\\d`,,,,`110`],[,,,,,,,,,[-1]],[,,`331\\d`,,,,`3310`,,,[4]],,[,,,,,,,,,[-1]]],DJ:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],,,,`DJ`,,,,,,,,,,,,,,,,,,[,,`1[78]`,,,,`17`],,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DK:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:[24]|6\\d{3})`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`DK`,,,,,,,,,,,,,,,,,,[,,`11[24]`,,,,`112`,,,[3]],,[,,`1(?:1(?:[2-48]|6(?:00[06]|111))|619[0-2]|8(?:01|1[0238]|28|30|5[13]|8[18]))`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DM:[,[,,`[39]\\d\\d`,,,,,,,[3]],,,[,,`333|9(?:11|88|99)`,,,,`333`],[,,,,,,,,,[-1]],,,,`DM`,,,,,,,,,,,,,,,,,,[,,`333|9(?:11|99)`,,,,`333`],,[,,`333|9(?:11|88|99)`,,,,`333`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DO:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`112|9(?:11|88)`,,,,`112`],[,,,,,,,,,[-1]],,,,`DO`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`],,[,,`112|9(?:11|88)`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DZ:[,[,,`[17]\\d{1,3}`,,,,,,,[2,3,4]],,,[,,`1(?:12|[47]|54\\d)`,,,,`14`],[,,,,,,,,,[-1]],,,,`DZ`,,,,,,,,,,,,,,,,,,[,,`1(?:12|[47])`,,,,`14`,,,[2,3]],,[,,`1(?:055|12|[47]|548)|730`,,,,`14`],[,,,,,,,,,[-1]],[,,`730`,,,,`730`,,,[3]],,[,,`730`,,,,`730`,,,[3]]],EC:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`1(?:0[12]|12)|911`,,,,`101`],[,,,,,,,,,[-1]],,,,`EC`,,,,,,,,,,,,,,,,,,[,,`1(?:0[12]|12)|911`,,,,`101`],,[,,`1(?:0[12]|12)|911`,,,,`101`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],EE:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1(?:[02]|6\\d{3})|2(?:05|28)|3(?:014|3(?:21|5\\d?)|660)|492|5(?:1[03]|410|501)|6(?:112|333|644)|7(?:012|127|89)|8(?:10|8[57])|9(?:0[134]|14))`,,,,`110`],[,,`1(?:18(?:00|[12458]\\d?)|2(?:0(?:[02-46-8]\\d?|1[0-36])|1(?:[0-4]\\d?|6[06])|2(?:[0-4]\\d?|5[25])|[367]|4(?:0[04]|[12]\\d?|4[24]|54)|55[12457])|3(?:0(?:[02]\\d?|1[13578]|3[356])|1[1347]|2[02-5]|3(?:[01347]\\d?|2[023]|88)|4(?:[35]\\d?|4[34])|5(?:3[134]|5[035])|666)|4(?:2(?:00|4\\d?)|4(?:0[01358]|1[024]|50|7\\d?)|900)|5(?:0[0-35]|1(?:[1267]\\d?|5[0-7]|82)|2(?:[014-6]\\d?|22)|330|4(?:[35]\\d?|44)|5(?:00|[1-69]\\d?)|9(?:[159]\\d?|[38]0|77))|6(?:1(?:00|1[19]|[35-9]\\d?)|2(?:2[26]|[68]\\d?)|3(?:22|36|6[36])|5|6(?:[0-359]\\d?|6[0-26])|7(?:00|55|7\\d?|8[89])|9(?:00|1\\d?|69))|7(?:0(?:[023]\\d?|1[0578])|1(?:00|2[034]|[4-9]\\d?)|2(?:[07]\\d?|20|44)|7(?:[0-57]\\d?|9[79])|8(?:0[08]|2\\d?|8[0178])|9(?:00|97))|8(?:1[127]|8[1268]|9[269])|9(?:0(?:[02]\\d?|69|9[0269])|1[1-3689]|21))`,,,,`123`,,,[3,4,5]],,,,`EE`,,,,,,,,,,,,,,,,,,[,,`11[02]`,,,,`110`,,,[3]],,[,,`1(?:1(?:[02-579]|6(?:000|111)|8(?:[09]\\d|[1-8]))|2[36-9]|3[7-9]|4[05-7]|5[6-8]|6[05]|7[3-6]|8[02-7]|9[3-9])|1(?:2[0-245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[0-2])\\d\\d?`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`1(?:18[1258]|2(?:0(?:1[036]|[46]\\d?)|166|21|4(?:0[04]|1\\d?|5[47])|[67])|3(?:0(?:1[13-578]|2\\d?|3[56])|1[15]|2[045]|3(?:[13]\\d?|2[13])|43|5(?:00|3[34]|53))|44(?:0[0135]|14|50|7\\d?)|5(?:05|1(?:[12]\\d?|5[1246]|8[12])|2(?:[01]\\d?|22)|3(?:00|3[03])|4(?:15|5\\d?)|500|9(?:5\\d?|77|80))|6(?:1[35-8]|226|3(?:22|3[36]|66)|644|7(?:00|7\\d?|89)|9(?:00|69))|7(?:01[258]|1(?:00|[15]\\d?)|2(?:44|7\\d?)|8(?:00|87|9\\d?))|8(?:1[128]|8[56]|9(?:[26]\\d?|77))|90(?:2\\d?|69|92))`,,,,`126`,,,[3,4,5]]],EG:[,[,,`[13]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`1(?:2[23]|80)`,,,,`122`,,,[3]],[,,,,,,,,,[-1]],,,,`EG`,,,,,,,,,,,,,,,,,,[,,`1(?:2[23]|80)`,,,,`122`,,,[3]],,[,,`1(?:2[23]|[679]\\d{3}|80)|34400`,,,,`122`],[,,,,,,,,,[-1]],[,,`344\\d\\d`,,,,`34400`,,,[5]],,[,,`344\\d\\d`,,,,`34400`,,,[5]]],EH:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:[59]|77)`,,,,`15`],[,,,,,,,,,[-1]],,,,`EH`,,,,,,,,,,,,,,,,,,[,,`1(?:[59]|77)`,,,,`15`],,[,,`1(?:[59]|77)`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ER:[,[,,`[12]\\d\\d(?:\\d{3})?`,,,,,,,[3,6]],,,[,,`11[2-46]|(?:12[47]|20[12])\\d{3}`,,,,`112`],[,,,,,,,,,[-1]],,,,`ER`,,,,,,,,,,,,,,,,,,[,,`1(?:1[2-46]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99`,,,,`112`],,[,,`1(?:1[2-6]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ES:[,[,,`[0-379]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`0(?:16|6[57]|8[58])|1(?:006|12|[3-7]\\d\\d)|(?:116|20\\d)\\d{3}`,,,,`016`,,,[3,4,6]],[,,`[12]2\\d{1,4}|90(?:5\\d|7)|(?:118|2(?:[357]\\d|80)|3[357]\\d)\\d\\d|[79]9[57]\\d{3}`,,,,`120`],,,,`ES`,,,,,,,,,,,,,,,,,,[,,`08[58]|112`,,,,`085`,,,[3]],,[,,`0(?:1[0-26]|6[0-257]|8[058]|9[12])|1(?:0[03-57]\\d{1,3}|1(?:2|6(?:000|111)|8\\d\\d)|2\\d{1,4}|[3-9]\\d\\d)|2(?:2\\d{1,4}|80\\d\\d)|90(?:5[124578]|7)|1(?:3[34]|77)|(?:2[01]\\d|[79]9[57])\\d{3}|[23][357]\\d{3}`,,,,`010`],[,,`0(?:[16][0-2]|80|9[12])|21\\d{4}`,,,,`010`,,,[3,6]],[,,`1(?:3[34]|77)|[12]2\\d{1,4}`,,,,`120`],,[,,`(?:2[0-2]\\d|3[357]|[79]9[57])\\d{3}|2(?:[2357]\\d|80)\\d\\d`,,,,`22000`,,,[5,6]]],ET:[,[,,`9\\d\\d?`,,,,,,,[2,3]],,,[,,`9(?:07|11?|2|39?|9[17])`,,,,`91`],[,,,,,,,,,[-1]],,,,`ET`,,,,,,,,,,,,,,,,,,[,,`9(?:11?|2|39?|9[17])`,,,,`91`],,[,,`9(?:07|11?|2|39?|45|9[17])`,,,,`91`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FI:[,[,,`[17]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`11(?:2|6\\d{3})`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`FI`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`,,,[3]],,[,,`11(?:2|6(?:00[06]|1(?:1[17]|23)))|(?:1[2-8]\\d|75[12])\\d\\d`,,,,`112`],[,,`1[2-8]\\d{3}`,,,,`12000`,,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FJ:[,[,,`[0-579]\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[2,3,5]],,,[,,`91[17]`,,,,`911`,,,[3]],[,,,,,,,,,[-1]],,,,`FJ`,,,,,,,,,,,,,,,,,,[,,`91[17]`,,,,`911`,,,[3]],,[,,`0(?:1[34]|8[1-4])|1(?:0[1-3]|[25]9)|2[289]|30|40404|91[137]|[45]4|75`,,,,`22`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],FK:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`FK`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`1\\d\\d|999`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FM:[,[,,`[39]\\d\\d(?:\\d{3})?`,,,,,,,[3,6]],,,[,,`320\\d{3}|911`,,,,`911`],[,,,,,,,,,[-1]],,,,`FM`,,,,,,,,,,,,,,,,,,[,,`(?:32022|91)1`,,,,`911`],,[,,`(?:32022|91)1`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FO:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[24]|81\\d)`,,,,`112`],[,,,,,,,,,[-1]],,,,`FO`,,,,,,,,,,,,,,,,,,[,,`11[24]`,,,,`112`,,,[3]],,[,,`1(?:1[248]|819)|1(?:4[124]|71|8[7-9])\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FR:[,[,,`[1-8]\\d{1,5}`,,,,,,,[2,3,4,5,6]],,,[,,`1(?:1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d`,,,,`15`],[,,`(?:1(?:0|18\\d)|366|[4-8]\\d\\d)\\d\\d|3[2-9]\\d\\d`,,,,`1000`,,,[4,5,6]],,,,`FR`,,,,,,,,,,,,,,,,,,[,,`1(?:12|[578])`,,,,`15`,,,[2,3]],,[,,`1(?:0\\d\\d|1(?:[02459]|6(?:000|111)|8\\d{3})|[578]|9[167])|2(?:0(?:00|2)0|24)|[3-8]\\d{4}|3\\d{3}|6(?:1[14]|34)|7(?:0[06]|22|40)`,,,,`15`],[,,`202\\d|6(?:1[14]|34)|70[06]`,,,,`611`,,,[3,4]],[,,`118777|224|6(?:1[14]|34)|7(?:0[06]|22|40)|20(?:0\\d|2)\\d`,,,,`224`,,,[3,4,5,6]],,[,,`114|[3-8]\\d{4}`,,,,`114`,,,[3,5]]],GA:[,[,,`1\\d(?:\\d{2})?`,,,,,,,[2,4]],,,[,,`18|1(?:3\\d|73)\\d`,,,,`18`],[,,,,,,,,,[-1]],,,,`GA`,,,,,,,,,,,,,,,,,,[,,`1(?:3\\d\\d|730|8)`,,,,`18`],,[,,`1(?:3\\d\\d|730|8)`,,,,`18`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GB:[,[,,`[1-46-9]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:05|1(?:[29]|6\\d{3})|7[56]\\d|8000)|2(?:20\\d|48)|4444|999`,,,,`105`],[,,,,,,,,,[-1]],,,,`GB`,,,,,,,,,,,,,,,,,,[,,`112|999`,,,,`112`,,,[3]],,[,,`1(?:0[015]|1(?:[129]|6(?:000|1(?:11|23))|8\\d{3})|2(?:[1-3]|50)|33|4(?:1|7\\d)|571|7(?:0\\d|[56]0)|800\\d|9[15])|2(?:0202|1300|2(?:02|11)|3(?:02|336|45)|4(?:25|8))|3[13]3|4(?:0[02]|35[01]|44[45]|5\\d)|(?:[68]\\d|7[089])\\d{3}|15\\d|2[02]2|650|789|9(?:01|99)`,,,,`100`],[,,,,,,,,,[-1]],[,,`1(?:(?:25|7[56])\\d|571)|2(?:02(?:\\d{2})?|[13]3\\d\\d|48)|4444|901`,,,,`202`,,,[3,4,5]],,[,,`(?:125|2(?:020|13\\d)|(?:7[089]|8[01])\\d\\d)\\d`,,,,`1250`,,,[4,5]]],GD:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`GD`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`176|9(?:11|88)`,,,,`176`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],GE:[,[,,`[014]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`0(?:11|33)|11[1-3]|[01]22`,,,,`011`,,,[3]],[,,,,,,,,,[-1]],,,,`GE`,,,,,,,,,,,,,,,,,,[,,`0(?:11|33)|11[1-3]|[01]22`,,,,`011`,,,[3]],,[,,`0(?:11|33)|11[1-3]|40404|[01]22`,,,,`011`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],GF:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],,,,`GF`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`],,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GG:[,[,,`[19]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`112|999`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`GG`,,,,,,,,,,,,,,,,,,[,,`112|999`,,,,`112`,,,[3]],,[,,`1(?:0[01]|1[12]|23|41|55|9[05])|999|1(?:1[68]\\d\\d|47|800)\\d`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GH:[,[,,`[14589]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`19[1-3]|999`,,,,`191`,,,[3]],[,,,,,,,,,[-1]],,,,`GH`,,,,,,,,,,,,,,,,,,[,,`19[1-3]|999`,,,,`191`,,,[3]],,[,,`19[1-3]|40404|(?:54|83)00|999`,,,,`191`],[,,,,,,,,,[-1]],[,,`404\\d\\d|(?:54|83)0\\d`,,,,`5400`,,,[4,5]],,[,,`404\\d\\d|(?:54|83)0\\d`,,,,`5400`,,,[4,5]]],GI:[,[,,`[158]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:00|1[25]|23|4(?:1|7\\d)|5[15]|9[02-49])|555|(?:116\\d|80)\\d\\d`,,,,`100`,,,[3,4,6]],[,,`8[1-69]\\d\\d`,,,,`8100`,,,[4]],,,,`GI`,,,,,,,,,,,,,,,,,,[,,`1(?:12|9[09])`,,,,`112`,,,[3]],,[,,`1(?:00|1(?:[25]|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|23|4(?:1|7[014])|5[015]|9[02-49])|555|8[0-79]\\d\\d|8(?:00|4[0-2]|8[0-589])`,,,,`100`],[,,`150|87\\d\\d`,,,,`150`,,,[3,4]],[,,`1(?:00|1(?:5|8\\d\\d)|23|51|9[2-4])|555|8(?:00|4[0-2]|8[0-589])`,,,,`100`,,,[3,5]],,[,,,,,,,,,[-1]]],GL:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`112`,,,,`112`],[,,,,,,,,,[-1]],,,,`GL`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`],,[,,`1[1-8]\\d`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GM:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:1[6-8]|[6-8])`,,,,`16`],[,,,,,,,,,[-1]],,,,`GM`,,,,,,,,,,,,,,,,,,[,,`1(?:1[6-8]|[6-8])`,,,,`16`],,[,,`1(?:1[6-8]|[6-8])`,,,,`16`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GN:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,,`GN`,,,,,,,,,,,,,,,,,,[,,,,,,,,,[-1]],,[,,`12\\d|40404`,,,,`120`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],GP:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],,,,`GP`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`],,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GR:[,[,,`1\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`1(?:0[089]|1(?:2|6\\d{3})|66|99)`,,,,`100`,,,[3,6]],[,,,,,,,,,[-1]],,,,`GR`,,,,,,,,,,,,,,,,,,[,,`1(?:00|12|66|99)`,,,,`100`,,,[3]],,[,,`1(?:0[089]|1(?:2|320|6(?:000|1(?:1[17]|23)))|(?:389|9)9|66)`,,,,`100`],[,,`113\\d\\d`,,,,`11300`,,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GT:[,[,,`[14]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:10|2[03])`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`GT`,,,,,,,,,,,,,,,,,,[,,`1(?:10|2[03])`,,,,`110`,,,[3]],,[,,`110|40404|1(?:2|[57]\\d)\\d`,,,,`110`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],GU:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`GU`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GW:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[378]`,,,,`113`],[,,,,,,,,,[-1]],,,,`GW`,,,,,,,,,,,,,,,,,,[,,`11[378]`,,,,`113`],,[,,`11[378]`,,,,`113`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GY:[,[,,`[019]\\d{2,3}`,,,,,,,[3,4]],,,[,,`91[1-3]`,,,,`911`,,,[3]],[,,,,,,,,,[-1]],,,,`GY`,,,,,,,,,,,,,,,,,,[,,`91[1-3]`,,,,`911`,,,[3]],,[,,`0(?:02|(?:17|80)1|444|7(?:[67]7|9)|9(?:0[78]|[2-47]))|1(?:443|5[568])|91[1-3]`,,,,`002`],[,,,,,,,,,[-1]],[,,`144\\d`,,,,`1440`,,,[4]],,[,,`144\\d`,,,,`1440`,,,[4]]],HK:[,[,,`[19]\\d{2,6}`,,,,,,,[3,4,5,6,7]],,,[,,`112|99[29]`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`HK`,,,,,,,,,,,,,,,,,,[,,`112|99[29]`,,,,`112`,,,[3]],,[,,`1(?:0(?:(?:[0136]\\d|2[14])\\d{0,3}|8[138])|12|2(?:[0-3]\\d{0,4}|(?:58|8[13])\\d{0,3})|7(?:[135-9]\\d{0,4}|219\\d{0,2})|8(?:0(?:(?:[13]|60\\d)\\d|8)|1(?:0\\d|[2-8])|2(?:0[5-9]|(?:18|2)2|3|8[128])|(?:(?:3[0-689]\\d|7(?:2[1-389]|8[0235-9]|93))\\d|8)\\d|50[138]|6(?:1(?:11|86)|8)))|99[29]|10[0139]`,,,,`100`],[,,,,,,,,,[-1]],[,,`109|1(?:08|85\\d)\\d`,,,,`109`,,,[3,4,5]],,[,,`992`,,,,`992`,,,[3]]],HN:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`199`,,,,`199`,,,[3]],[,,,,,,,,,[-1]],,,,`HN`,,,,,,,,,,,,,,,,,,[,,`199`,,,,`199`,,,[3]],,[,,`199|40404`,,,,`199`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],HR:[,[,,`[19]\\d{1,5}`,,,,,,,[2,3,4,5,6]],,,[,,`1(?:12|9[2-4])|9[34]|1(?:16\\d|39)\\d\\d`,,,,`93`,,,[2,3,5,6]],[,,`118\\d\\d`,,,,`11800`,,,[5]],,,,`HR`,,,,,,,,,,,,,,,,,,[,,`1(?:12|9[2-4])|9[34]`,,,,`93`,,,[2,3]],,[,,`1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|3977|9(?:[2-5]|87))|9[34]`,,,,`93`],[,,,,,,,,,[-1]],[,,`139\\d\\d`,,,,`13900`,,,[5]],,[,,`139\\d\\d`,,,,`13900`,,,[5]]],HT:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`11[48]`,,,,`114`,,,[3]],[,,,,,,,,,[-1]],,,,`HT`,,,,,,,,,,,,,,,,,,[,,`11[48]`,,,,`114`,,,[3]],,[,,`11[48]|40404`,,,,`114`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],HU:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:0[457]|12|4[0-4]\\d)|1(?:16\\d|37|45)\\d\\d`,,,,`104`],[,,,,,,,,,[-1]],,,,`HU`,,,,,,,,,,,,,,,,,,[,,`1(?:0[457]|12)`,,,,`104`,,,[3]],,[,,`1(?:0[457]|1(?:2|6(?:000|1(?:11|23))|800)|2(?:0[0-4]|1[013489]|2[0-5]|3[0-46]|4[0-24-68]|5[0-2568]|6[06]|7[0-25-7]|8[028]|9[08])|37(?:00|37|7[07])|4(?:0[0-5]|1[013-8]|2[034]|3[23]|4[02-9]|5(?:00|41|67))|777|8(?:1[27-9]|2[04]|40|[589]))`,,,,`104`],[,,,,,,,,,[-1]],[,,`1(?:4[0-4]|77)\\d|1(?:18|2|45)\\d\\d`,,,,`1200`,,,[4,5]],,[,,`184\\d`,,,,`1840`,,,[4]]],ID:[,[,,`[178]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`11[02389]`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`ID`,,,,,,,,,,,,,,,,,,[,,`11[02389]`,,,,`110`,,,[3]],,[,,`1(?:1[02389]|40\\d\\d|50264)|71400|89887`,,,,`110`],[,,,,,,,,,[-1]],[,,`(?:714|898)\\d\\d`,,,,`71400`,,,[5]],,[,,`714\\d\\d`,,,,`71400`,,,[5]]],IE:[,[,,`[159]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:2|6\\d{3})|999`,,,,`112`,,,[3,6]],[,,`5[37]\\d{3}`,,,,`53000`,,,[5]],,,,`IE`,,,,,,,,,,,,,,,,,,[,,`112|999`,,,,`112`,,,[3]],,[,,`11(?:2|6(?:00[06]|1(?:1[17]|23)))|999|(?:1(?:18|9)|5[0137]\\d)\\d\\d`,,,,`112`],[,,`51\\d{3}`,,,,`51000`,,,[5]],[,,`51210`,,,,`51210`,,,[5]],,[,,`51210|(?:118|5[037]\\d)\\d\\d`,,,,`11800`,,,[5]]],IL:[,[,,`[12]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:0[0-2]|12)`,,,,`100`,,,[3]],[,,,,,,,,,[-1]],,,,`IL`,,,,,,,,,,,,,,,,,,[,,`1(?:0[0-2]|12)`,,,,`100`,,,[3]],,[,,`1(?:0[0-2]|1(?:[013-9]\\d|2)|[2-9]\\d\\d)|2407|(?:104|27)00`,,,,`100`],[,,,,,,,,,[-1]],[,,`104\\d\\d`,,,,`10400`,,,[5]],,[,,`104\\d\\d`,,,,`10400`,,,[5]]],IM:[,[,,`[189]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`999`,,,,`999`,,,[3]],[,,,,,,,,,[-1]],,,,`IM`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`,,,[3]],,[,,`1\\d\\d(?:\\d{3})?|8(?:6444|9887)|999`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`8(?:64|98)\\d\\d`,,,,`86400`,,,[5]]],IN:[,[,,`[12578]\\d{2,8}`,,,,,,,[3,4,5,6,7,8,9]],,,[,,`1(?:0[0-248]|1[289]|21|[39][89]|4[01]|6(?:1|6\\d?)|8[12])|777|800|1[05]5\\d|1(?:07|51|94)\\d\\d?|(?:1(?:[05]5\\d|70)\\d|261)\\d|1(?:0[369]|10|29|3[126]|9[0-256])\\d`,,,,`100`,,,[3,4,5,6]],[,,`11[67]\\d{4}|56161561`,,,,`1160000`,,,[7,8]],,,,`IN`,,,,,,,,,,,,,,,,,,[,,`1(?:0[0-28]|12|298)|2611`,,,,`100`,,,[3,4]],,[,,`1(?:0(?:[0-248]|3[39]|5(?:010|6)|6[3468]|7(?:[01357]|[28]0?|4[01])|9[0135-9])|1(?:00|[289])|2(?:1|98)|3(?:11|2[0-2]|63|[89])|4[01]|5(?:1(?:0[0-36]|[127])|54)|6(?:1|6[01]?)|7000|8[12]|9(?:0[013-59]|12|25|4[4-9]\\d?|50|6[1347]|[89]))|2611|5(?:0(?:0(?:0\\d|1|20?)|325|5[2-79]\\d{3,5})|1(?:234|555|717|818|96[49])|2(?:0(?:0[01]|[14]0)|151|555|666|888|9(?:06|99\\d?))|3(?:0[01]0|131|553|(?:66|77)6)|(?:464|55[05])\\d{1,3}|6(?:070|3[68]|43)|717\\d)|777|800|5(?:05(?:0|1\\d)|221|3(?:03|3[23]))\\d{1,4}|5(?:(?:04|88)0|2(?:2[0267]|3[16])|4(?:1[04]|20|3[02])|5(?:3[16]|67)|6(?:06|[67]\\d)|787|9(?:64|90))\\d\\d?|(?:1(?:05[79]|(?:1[67][0-2]|802)\\d|55[23])\\d|5(?:(?:00(?:0\\d|1)|(?:304|616)\\d\\d)\\d|1(?:0[12]|4[2-4])|2(?:2[3589]|3(?:1\\d{3}|2)|4[04]|7[78])|4(?:[02]4|32\\d{4}|4[04]|99)|5(?:1[25]|[36]5|4[45]|93)|7(?:(?:17\\d|57)\\d\\d|[27]7|88)|8(?:3[4-69]|4[01]|5[58]|88(?:8\\d\\d|9)|99)|9(?:0(?:0|2\\d{3})|55|6[67]|77|88)))\\d`,,,,`100`],[,,`5(?:14(?:2[5-9]|[34]\\d)|757555)`,,,,`51425`,,,[5,7]],[,,`1(?:(?:1[67]\\d\\d|70)\\d\\d|55330|909)|5(?:300\\d|6161(?:17[89]|561))|1(?:[19][89]|21|4[01])`,,,,`118`,,,[3,4,5,6,7,8]],,[,,`1(?:39|90[019])|5(?:14(?:2[5-9]|[34]\\d)|6161(?:17[89]|561)|757555)`,,,,`139`,,,[3,4,5,7,8]]],IQ:[,[,,`[1479]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:0[04]|15|22)`,,,,`100`,,,[3]],[,,,,,,,,,[-1]],,,,`IQ`,,,,,,,,,,,,,,,,,,[,,`1(?:0[04]|15|22)`,,,,`100`,,,[3]],,[,,`1(?:0[04]|15|22)|4432|71117|9988`,,,,`100`],[,,,,,,,,,[-1]],[,,`(?:443|711\\d|998)\\d`,,,,`4430`,,,[4,5]],,[,,`(?:443|711\\d|998)\\d`,,,,`4430`,,,[4,5]]],IR:[,[,,`[129]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1[0-68]|2[0-59]|9[0-579])|911`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`IR`,,,,,,,,,,,,,,,,,,[,,`1(?:1[025]|25)|911`,,,,`110`,,,[3]],,[,,`1(?:1[0-68]|2[0-59]|3[346-8]|4(?:[0147]|[289]0)|5(?:0[14]|1[02479]|2[0-3]|39|[49]0|65)|6(?:[16]6|[27]|90)|8(?:03|1[18]|22|3[37]|4[28]|88|99)|9[0-579])|20(?:[09]0|1(?:[038]|1[079]|26|9[69])|2[01])|9(?:11|9(?:0009|90))`,,,,`110`],[,,`1(?:5[0-469]|8[0-489])\\d`,,,,`1500`,,,[4]],[,,`(?:1(?:5[0-469]|8[0-489])|99(?:0\\d\\d|9))\\d`,,,,`1500`,,,[4,6]],,[,,`990\\d{3}`,,,,`990000`,,,[6]]],IS:[,[,,`1\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`1(?:12|71\\d)`,,,,`112`,,,[3,4]],[,,,,,,,,,[-1]],,,,`IS`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`,,,[3]],,[,,`1(?:1(?:[28]|61(?:16|23))|4(?:00|1[145]|4[0146])|55|7(?:00|17|7[07-9])|8(?:[02]0|1[16-9]|88)|900)`,,,,`112`],[,,,,,,,,,[-1]],[,,`14(?:0\\d|41)`,,,,`1400`,,,[4]],,[,,`1(?:415|90\\d)`,,,,`1415`,,,[4]]],IT:[,[,,`[14]\\d{2,6}`,,,,,,,[3,4,5,6,7]],,,[,,`1(?:1(?:[2358]|6\\d{3})|87)`,,,,`112`,,,[3,6]],[,,`(?:12|4(?:[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d`,,,,`1200`,,,[4,5,7]],,,,`IT`,,,,,,,,,,,,,,,,,,[,,`11[2358]`,,,,`112`,,,[3]],,[,,`1(?:0\\d{2,3}|1(?:[2-57-9]|6(?:000|111))|3[39]|4(?:82|9\\d{1,3})|5(?:00|1[58]|2[25]|3[03]|44|[59])|60|8[67]|9(?:[01]|2[2-9]|4\\d|696))|4(?:2323|5045)|(?:1(?:2|92[01])|4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|5[05])\\d\\d`,,,,`43000`,,,[5,7]]],JE:[,[,,`[129]\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`112|999`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`JE`,,,,,,,,,,,,,,,,,,[,,`112|999`,,,,`112`,,,[3]],,[,,`1(?:00|1(?:2|8\\d{3})|23|4(?:[14]|28|7\\d)|5\\d|7(?:0[12]|[128]|35?)|808|9[0135])|23[2-4]|999`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],JM:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`11[029]|9(?:11|88)`,,,,`110`],[,,,,,,,,,[-1]],,,,`JM`,,,,,,,,,,,,,,,,,,[,,`11[029]|911`,,,,`110`],,[,,`1(?:1[029]|76)|9(?:11|88)`,,,,`110`],[,,,,,,,,,[-1]],[,,`176`,,,,`176`],,[,,`176`,,,,`176`]],JO:[,[,,`[19]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`1(?:0[235]|1[2-6]|9[127])|911`,,,,`102`,,,[3]],[,,`9[0-4689]\\d{3}`,,,,`90000`,,,[5]],,,,`JO`,,,,,,,,,,,,,,,,,,[,,`1(?:12|9[127])|911`,,,,`112`,,,[3]],,[,,`1(?:0[2359]|1[0-68]|9[0-24-79])|9[0-4689]\\d{3}|911`,,,,`102`],[,,,,,,,,,[-1]],[,,`9[0-4689]\\d{3}`,,,,`90000`,,,[5]],,[,,`9[0-4689]\\d{3}`,,,,`90000`,,,[5]]],JP:[,[,,`[01]\\d\\d(?:\\d{7})?`,,,,,,,[3,10]],,,[,,`11[089]`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`JP`,,,,,,,,,,,,,,,,,,[,,`11[09]`,,,,`110`,,,[3]],,[,,`000[259]\\d{6}|1(?:0[24]|1[089]|44|89)`,,,,`102`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`000[259]\\d{6}`,,,,`0002000000`,,,[10]]],KE:[,[,,`[1-9]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:1(?:[246]|9\\d)|5(?:01|2[127]|6[26]\\d))|999`,,,,`112`],[,,`909\\d\\d`,,,,`90900`,,,[5]],,,,`KE`,,,,,,,,,,,,,,,,,,[,,`11[24]|999`,,,,`112`,,,[3]],,[,,`1(?:0(?:[07-9]|1[0-25]|400)|1(?:[024-6]|9[0-579])|2[1-3]|3[01]|4[14]|5(?:[01][01]|2[0-24-79]|33|4[05]|5[59]|6(?:00|29|6[67]))|(?:6[035]\\d|[78])\\d|9(?:[02-9]\\d\\d|19))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99))\\d\\d|9(?:09\\d\\d|99)|8988`,,,,`100`],[,,,,,,,,,[-1]],[,,`1(?:(?:04|6[35])\\d\\d|3[01]|4[14]|5(?:1\\d|2[25]))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99)|909)\\d\\d|898\\d`,,,,`130`],,[,,`1(?:(?:04|6[035])\\d\\d|4[14]|5(?:01|55|6[26]\\d))|40404|8988|909\\d\\d`,,,,`141`]],KG:[,[,,`[14]\\d{2,3}`,,,,,,,[3,4]],,,[,,`10[1-3]`,,,,`101`,,,[3]],[,,,,,,,,,[-1]],,,,`KG`,,,,,,,,,,,,,,,,,,[,,`10[1-3]`,,,,`101`,,,[3]],,[,,`10[1-3]|4040`,,,,`101`],[,,,,,,,,,[-1]],[,,`404\\d`,,,,`4040`,,,[4]],,[,,`404\\d`,,,,`4040`,,,[4]]],KH:[,[,,`[146]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`11[7-9]|666`,,,,`117`,,,[3]],[,,,,,,,,,[-1]],,,,`KH`,,,,,,,,,,,,,,,,,,[,,`11[7-9]|666`,,,,`117`,,,[3]],,[,,`11[7-9]|40404|666`,,,,`117`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],KI:[,[,,`[179]\\d{2,3}`,,,,,,,[3,4]],,,[,,`19[2-5]|99[2-4]`,,,,`192`,,,[3]],[,,,,,,,,,[-1]],,,,`KI`,,,,,,,,,,,,,,,,,,[,,`19[2-5]|99[2-4]`,,,,`192`,,,[3]],,[,,`1(?:05[0-259]|88|9[2-5])|777|99[2-4]|10[0-8]`,,,,`100`],[,,`103`,,,,`103`,,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KM:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],,,,`KM`,,,,,,,,,,,,,,,,,,[,,`1[78]`,,,,`17`],,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KN:[,[,,`[39]\\d\\d`,,,,,,,[3]],,,[,,`333|9(?:11|88|99)`,,,,`333`],[,,,,,,,,,[-1]],,,,`KN`,,,,,,,,,,,,,,,,,,[,,`333|9(?:11|99)`,,,,`333`],,[,,`333|9(?:11|88|99)`,,,,`333`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KP:[,[,,`[18]\\d\\d`,,,,,,,[3]],,,[,,`11[29]|819`,,,,`112`],[,,,,,,,,,[-1]],,,,`KP`,,,,,,,,,,,,,,,,,,[,,`11[29]|819`,,,,`112`],,[,,`11[29]|819`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KR:[,[,,`1\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:1[27-9]|28|330|82)`,,,,`112`,,,[3,4]],[,,,,,,,,,[-1]],,,,`KR`,,,,,,,,,,,,,,,,,,[,,`11[29]`,,,,`112`,,,[3]],,[,,`1(?:[016-9]114|3(?:0[01]|2|3[0-35-9]|45?|5[057]|6[569]|7[79]|8[2589]|9[0189]))|1(?:0[015]|1\\d|2[01357-9]|41|8[28])`,,,,`100`],[,,,,,,,,,[-1]],[,,`1(?:0[01]|1[4-6]|41)|1(?:[06-9]1\\d|111)\\d`,,,,`100`,,,[3,5]],,[,,,,,,,,,[-1]]],KW:[,[,,`[18]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`112`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`KW`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`,,,[3]],,[,,`1[0-7]\\d|89887`,,,,`100`],[,,,,,,,,,[-1]],[,,`898\\d\\d`,,,,`89800`,,,[5]],,[,,,,,,,,,[-1]]],KY:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`KY`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KZ:[,[,,`[1-4]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:0[1-3]|12)|212\\d`,,,,`101`,,,[3,4]],[,,,,,,,,,[-1]],,,,`KZ`,,,,,,,,,,,,,,,,,,[,,`1(?:0[1-3]|12)`,,,,`101`,,,[3]],,[,,`1(?:0[1-4]|12)|2121|(?:3040|404)0`,,,,`101`],[,,,,,,,,,[-1]],[,,`(?:304\\d|404)\\d`,,,,`4040`,,,[4,5]],,[,,`(?:304\\d|404)\\d`,,,,`4040`,,,[4,5]]],LA:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`19[015]`,,,,`190`],[,,,,,,,,,[-1]],,,,`LA`,,,,,,,,,,,,,,,,,,[,,`19[015]`,,,,`190`],,[,,`19[015]`,,,,`190`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LB:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`1(?:12|40|75)|999`,,,,`112`],[,,,,,,,,,[-1]],,,,`LB`,,,,,,,,,,,,,,,,,,[,,`1(?:12|40|75)|999`,,,,`112`],,[,,`1(?:12|40|75)|999`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LC:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`LC`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LI:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[278]|44)`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`LI`,,,,,,,,,,,,,,,,,,[,,`1(?:1[278]|44)`,,,,`112`,,,[3]],,[,,`1(?:1(?:[278]|45)|4[3-57]|50|75|81[18])`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LK:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`11[02689]`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`LK`,,,,,,,,,,,,,,,,,,[,,`11[02689]`,,,,`110`,,,[3]],,[,,`1(?:1[024-9]|3(?:00|1[2-49]|2[23]|3[1-3]|44|5[07]|[67]9|88|9[039])|9(?:0[0-2589]|1[0-357-9]|2[0-25689]|3[0389]|4[0489]|5[014-69]|6[0-2689]|7[03579]|8[02457-9]|9[0-2569]))`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LR:[,[,,`[3489]\\d{2,3}`,,,,,,,[3,4]],,,[,,`355|911`,,,,`355`,,,[3]],[,,,,,,,,,[-1]],,,,`LR`,,,,,,,,,,,,,,,,,,[,,`355|911`,,,,`355`,,,[3]],,[,,`355|4040|8(?:400|933)|911`,,,,`355`],[,,,,,,,,,[-1]],[,,`(?:404|8(?:40|93))\\d`,,,,`4040`,,,[4]],,[,,`(?:404|8(?:40|93))\\d`,,,,`4040`,,,[4]]],LS:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[257]`,,,,`112`],[,,,,,,,,,[-1]],,,,`LS`,,,,,,,,,,,,,,,,,,[,,`11[257]`,,,,`112`],,[,,`11[257]`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LT:[,[,,`[01]\\d(?:\\d(?:\\d{3})?)?`,,,,,,,[2,3,6]],,,[,,`0(?:11?|22?|33?)|1(?:0[1-3]|1(?:2|6111))|116(?:0\\d|12)\\d`,,,,`01`],[,,,,,,,,,[-1]],,,,`LT`,,,,,,,,,,,,,,,,,,[,,`0(?:11?|22?|33?)|1(?:0[1-3]|12)`,,,,`01`,,,[2,3]],,[,,`0(?:11?|22?|33?)|1(?:0[1-3]|1(?:[27-9]|6(?:000|1(?:1[17]|23))))`,,,,`01`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LU:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:[23]|6\\d{3})`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`LU`,,,,,,,,,,,,,,,,,,[,,`11[23]`,,,,`112`,,,[3]],,[,,`11(?:[23]|6(?:000|111))|1(?:18|[25]\\d|3)\\d\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LV:[,[,,`[018]\\d{1,5}`,,,,,,,[2,3,4,5,6]],,,[,,`0[1-3]|11(?:[023]|6\\d{3})`,,,,`01`,,,[2,3,6]],[,,`1180|821\\d\\d`,,,,`1180`,,,[4,5]],,,,`LV`,,,,,,,,,,,,,,,,,,[,,`0[1-3]|11[023]`,,,,`01`,,,[2,3]],,[,,`0[1-4]|1(?:1(?:[02-4]|6(?:000|111)|8[0189])|(?:5|65)5|77)|821[57]4`,,,,`01`],[,,`1181`,,,,`1181`,,,[4]],[,,`165\\d`,,,,`1650`,,,[4]],,[,,,,,,,,,[-1]]],LY:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`19[013]`,,,,`190`],[,,,,,,,,,[-1]],,,,`LY`,,,,,,,,,,,,,,,,,,[,,`19[013]`,,,,`190`],,[,,`19[013]`,,,,`190`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MA:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:[59]|77)`,,,,`15`],[,,,,,,,,,[-1]],,,,`MA`,,,,,,,,,,,,,,,,,,[,,`1(?:[59]|77)`,,,,`15`],,[,,`1(?:[59]|77)`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MC:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:12|[578])`,,,,`15`],[,,,,,,,,,[-1]],,,,`MC`,,,,,,,,,,,,,,,,,,[,,`1(?:12|[578])`,,,,`15`],,[,,`1(?:12|41|[578])`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MD:[,[,,`[19]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:2|6(?:000|1(?:11|2\\d)))|90[1-3]`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`MD`,,,,,,,,,,,,,,,,,,[,,`112|90[1-3]`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d?|99)|90[04-9])|90[1-3]|1(?:4\\d\\d|6[0-389]|9[1-4])\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ME:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:12|2[2-4])`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`ME`,,,,,,,,,,,,,,,,,,[,,`1(?:12|2[2-4])`,,,,`112`,,,[3]],,[,,`1(?:1(?:(?:[013-57-9]|6\\d\\d)\\d|2)|[249]\\d{3}|5999|8(?:0[089]|1[0-8]|888))|1(?:[02-5]\\d\\d|60[06]|700)|12\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MF:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],,,,`MF`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`],,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MG:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:1[78]|[78])`,,,,`17`],[,,,,,,,,,[-1]],,,,`MG`,,,,,,,,,,,,,,,,,,[,,`1(?:1[78]|[78])`,,,,`17`],,[,,`1(?:1[78]|[78])`,,,,`17`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MH:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`911`,,,,`911`],[,,,,,,,,,[-1]],,,,`MH`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`911`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MK:[,[,,`1\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`1(?:1(?:2|6\\d{3})|9[2-4])`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`MK`,,,,,,,,,,,,,,,,,,[,,`1(?:12|9[2-4])`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|8\\d)|3\\d|9[2-4])|1(?:16|2\\d)\\d{3}`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ML:[,[,,`[136-8]\\d{1,4}`,,,,,,,[2,3,4,5]],,,[,,`1[578]|(?:352|67)00|7402|(?:677|744|8000)\\d`,,,,`15`,,,[2,4,5]],[,,`(?:12|800)2\\d|3(?:52(?:11|2[02]|3[04-6]|99)|7574)`,,,,`1220`,,,[4,5]],,,,`ML`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`,,,[2]],,[,,`1(?:1(?:[013-9]\\d|2)|2(?:1[02-469]|2[13])|[578])|350(?:35|57)|67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)|800[0-2][12]|3(?:52|[67]\\d)\\d\\d`,,,,`15`],[,,`37(?:433|575)|7400|8001\\d`,,,,`7400`,,,[4,5]],[,,`3503\\d|(?:3[67]\\d|800)\\d\\d`,,,,`35030`,,,[5]],,[,,`374(?:0[24-9]|[1-9]\\d)|7400|3(?:6\\d|75)\\d\\d`,,,,`7400`,,,[4,5]]],MM:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`199`,,,,`199`],[,,,,,,,,,[-1]],,,,`MM`,,,,,,,,,,,,,,,,,,[,,`199`,,,,`199`],,[,,`199`,,,,`199`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MN:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`10[0-35]`,,,,`100`],[,,,,,,,,,[-1]],,,,`MN`,,,,,,,,,,,,,,,,,,[,,`10[0-35]`,,,,`100`],,[,,`10[0-35]`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MO:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`MO`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MP:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`MP`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MQ:[,[,,`[13]\\d(?:\\d(?:\\d(?:\\d{2})?)?)?`,,,,,,,[2,3,4,6]],,,[,,`1(?:12|[578])|3[01]\\d\\d`,,,,`15`,,,[2,3,4]],[,,`3[2469]\\d\\d`,,,,`3200`,,,[4]],,,,`MQ`,,,,,,,,,,,,,,,,,,[,,`1(?:12|[578])`,,,,`15`,,,[2,3]],,[,,`1(?:12|[578])|(?:118[02-9]|3[0-2469])\\d\\d`,,,,`15`],[,,`118\\d{3}`,,,,`118000`,,,[6]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MR:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],,,,`MR`,,,,,,,,,,,,,,,,,,[,,`1[78]`,,,,`17`],,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MS:[,[,,`[29]\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`MS`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`211|9(?:11|88|99)`,,,,`211`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MT:[,[,,`1\\d\\d(?:\\d{3})?`,,,,,,,[3,6]],,,[,,`11(?:2|6\\d{3})`,,,,`112`],[,,,,,,,,,[-1]],,,,`MT`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`,,,[3]],,[,,`11(?:2|6(?:000|1(?:11|23)))`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MU:[,[,,`[189]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`11[45]|99[59]`,,,,`114`,,,[3]],[,,,,,,,,,[-1]],,,,`MU`,,,,,,,,,,,,,,,,,,[,,`11[45]|99[59]`,,,,`114`,,,[3]],,[,,`1\\d{2,4}|(?:8\\d\\d|99)\\d`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MV:[,[,,`[14]\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:02|1[89])`,,,,`102`,,,[3]],[,,,,,,,,,[-1]],,,,`MV`,,,,,,,,,,,,,,,,,,[,,`1(?:02|1[89])`,,,,`102`,,,[3]],,[,,`1(?:[0-37-9]|[4-6]\\d)\\d|4040|1[45]1`,,,,`100`],[,,,,,,,,,[-1]],[,,`1[45]1`,,,,`141`,,,[3]],,[,,,,,,,,,[-1]]],MW:[,[,,`[189]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`199|99[7-9]`,,,,`199`,,,[3]],[,,,,,,,,,[-1]],,,,`MW`,,,,,,,,,,,,,,,,,,[,,`199|99[7-9]`,,,,`199`,,,[3]],,[,,`199|80400|99[7-9]`,,,,`199`],[,,,,,,,,,[-1]],[,,`804\\d\\d`,,,,`80400`,,,[5]],,[,,`804\\d\\d`,,,,`80400`,,,[5]]],MX:[,[,,`[0579]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`0(?:6[0568]|80)|911`,,,,`060`,,,[3]],[,,`(?:530\\d|776)\\d`,,,,`7760`,,,[4,5]],,,,`MX`,,,,,,,,,,,,,,,,,,[,,`0(?:6[0568]|80)|911`,,,,`060`,,,[3]],,[,,`0[1-9]\\d|53053|7766|911`,,,,`010`],[,,,,,,,,,[-1]],[,,`0(?:[249]0|[35][01])`,,,,`020`,,,[3]],,[,,,,,,,,,[-1]]],MY:[,[,,`[1369]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`112|999`,,,,`112`,,,[3]],[,,,,,,,,,[-1]],,,,`MY`,,,,,,,,,,,,,,,,,,[,,`112|999`,,,,`112`,,,[3]],,[,,`1(?:0[01348]|1(?:[02]|1[128]|311)|2(?:0[125]|[13-6]|2\\d{0,2})|(?:3[1-35-79]|7[45])\\d\\d?|5(?:454|5\\d\\d?|77|888|999?)|8(?:18?|2|8[18])|9(?:[124]\\d?|68|71|9[0679]))|66628|99[1-469]|13[5-7]|(?:1(?:0[569]|309|5[12]|7[136-9]|9[03])|3[23679]\\d\\d)\\d`,,,,`100`],[,,`666\\d\\d`,,,,`66600`,,,[5]],[,,,,,,,,,[-1]],,[,,`(?:3[23679]\\d|666)\\d\\d`,,,,`32000`,,,[5]]],MZ:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[79]|9[78])`,,,,`117`,,,[3]],[,,,,,,,,,[-1]],,,,`MZ`,,,,,,,,,,,,,,,,,,[,,`1(?:1[79]|9[78])`,,,,`117`,,,[3]],,[,,`1(?:[02-5]\\d\\d|1[79]|9[78])`,,,,`117`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NA:[,[,,`[19]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`10111`,,,,`10111`,,,[5]],[,,,,,,,,,[-1]],,,,`NA`,,,,,,,,,,,,,,,,,,[,,`10111`,,,,`10111`,,,[5]],,[,,`(?:10|93)111|(?:1\\d|9)\\d\\d`,,,,`900`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NC:[,[,,`[135]\\d{1,3}`,,,,,,,[2,3,4]],,,[,,`1(?:0(?:00|1[23]|3[0-2]|8\\d)|[5-8])|363\\d|577`,,,,`15`],[,,,,,,,,,[-1]],,,,`NC`,,,,,,,,,,,,,,,,,,[,,`1[5-8]`,,,,`15`,,,[2]],,[,,`1(?:0(?:0[06]|1[02-46]|20|3[0-25]|42|5[058]|77|88)|[5-8])|3631|5[6-8]\\d`,,,,`15`],[,,`5(?:67|88)`,,,,`567`,,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NE:[,[,,`[1-3578]\\d(?:\\d(?:\\d{3})?)?`,,,,,,,[2,3,6]],,,[,,`1(?:18|[578])|723\\d{3}`,,,,`15`],[,,,,,,,,,[-1]],,,,`NE`,,,,,,,,,,,,,,,,,,[,,`1(?:18|[578])|723141`,,,,`15`],,[,,`1(?:0[01]|1[128]|2[034]|3[013]|[46]0|55?|[78])|222|333|555|723141|888`,,,,`15`],[,,,,,,,,,[-1]],[,,`1(?:0[01]|1[12]|2[034]|3[013]|[46]0|55)|222|333|555|888`,,,,`100`,,,[3]],,[,,,,,,,,,[-1]]],NF:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|55|77)`,,,,`911`],[,,,,,,,,,[-1]],,,,`NF`,,,,,,,,,,,,,,,,,,[,,`9(?:11|55|77)`,,,,`911`],,[,,`9(?:11|55|77)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NG:[,[,,`[14]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`199`,,,,`199`,,,[3]],[,,,,,,,,,[-1]],,,,`NG`,,,,,,,,,,,,,,,,,,[,,`199`,,,,`199`,,,[3]],,[,,`199|40700`,,,,`199`],[,,,,,,,,,[-1]],[,,`407\\d\\d`,,,,`40700`,,,[5]],,[,,`407\\d\\d`,,,,`40700`,,,[5]]],NI:[,[,,`[12467]\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[58]|2[08])|737\\d`,,,,`115`],[,,,,,,,,,[-1]],,,,`NI`,,,,,,,,,,,,,,,,,,[,,`1(?:1[58]|2[08])`,,,,`115`,,,[3]],,[,,`1(?:1[58]|200)|4878|7(?:010|373)|12[0158]|(?:19|[267]1)00`,,,,`115`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NL:[,[,,`[1349]\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`11(?:2|6\\d{3})|911`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`NL`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:00[06]|1(?:11|23)))|2(?:0[0-4]|3[34]|44)|3[03-9]\\d|400|8(?:[02-9]\\d|1[0-79]))|[34]000|911`,,,,`112`],[,,,,,,,,,[-1]],[,,`120\\d`,,,,`1200`,,,[4]],,[,,`[34]00\\d`,,,,`3000`,,,[4]]],NO:[,[,,`[01]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:[023]|6\\d{3})`,,,,`110`,,,[3,6]],[,,,,,,,,,[-1]],,,,`NO`,,,,,,,,,,,,,,,,,,[,,`11[023]`,,,,`110`,,,[3]],,[,,`04\\d{3}|1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8[5-9]\\d|90)`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`04\\d{3}`,,,,`04000`,,,[5]]],NP:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:0[0-36]|12)|1(?:09|11)\\d`,,,,`100`],[,,,,,,,,,[-1]],,,,`NP`,,,,,,,,,,,,,,,,,,[,,`1(?:0[0-3]|12)`,,,,`100`,,,[3]],,[,,`1(?:0(?:[0-36]|98)|1(?:1[1-4]|2))`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NR:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[0-2]`,,,,`110`],[,,,,,,,,,[-1]],,,,`NR`,,,,,,,,,,,,,,,,,,[,,`11[0-2]`,,,,`110`],,[,,`1(?:1[0-2]|23|92)`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NU:[,[,,`[019]\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`NU`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`01[05]|101|999`,,,,`010`],[,,,,,,,,,[-1]],[,,`010`,,,,`010`],,[,,,,,,,,,[-1]]],NZ:[,[,,`\\d{3,4}`,,,,,,,[3,4]],,,[,,`111`,,,,`111`,,,[3]],[,,`018`,,,,`018`,,,[3]],,,,`NZ`,,,,,,,,,,,,,,,,,,[,,`111`,,,,`111`,,,[3]],,[,,`018|1(?:(?:1|37)1|(?:23|94)4|7[03]7)|[2-57-9]\\d{2,3}|6(?:161|26[0-3]|742)`,,,,`018`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`018|(?:1(?:23|37|7[03]|94)|6(?:[12]6|74))\\d|[2-57-9]\\d{2,3}`,,,,`018`]],OM:[,[,,`[19]\\d{3}`,,,,,,,[4]],,,[,,`1444|999\\d`,,,,`1444`],[,,,,,,,,,[-1]],,,,`OM`,,,,,,,,,,,,,,,,,,[,,`1444|9999`,,,,`1444`],,[,,`1(?:111|222|4(?:4[0-5]|50|66|7[7-9])|51[0-8])|9999|1(?:2[3-5]|3[0-2]|50)\\d`,,,,`1111`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PA:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`911`,,,,`911`],[,,,,,,,,,[-1]],,,,`PA`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`10[2-4]|911`,,,,`102`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PE:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`1(?:05|1[67])`,,,,`105`],[,,,,,,,,,[-1]],,,,`PE`,,,,,,,,,,,,,,,,,,[,,`1(?:05|1[67])`,,,,`105`],,[,,`1(?:05|1[67])`,,,,`105`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PF:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],,,,`PF`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`],,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PG:[,[,,`[01]\\d{2,6}`,,,,,,,[3,4,5,6,7]],,,[,,`000|11[01]`,,,,`000`,,,[3]],[,,,,,,,,,[-1]],,,,`PG`,,,,,,,,,,,,,,,,,,[,,`000|11[01]`,,,,`000`,,,[3]],,[,,`000|1(?:1[01]|5\\d\\d|6\\d{2,5})`,,,,`000`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`16\\d{2,5}`,,,,`1600`,,,[4,5,6,7]]],PH:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`11[27]|911`,,,,`112`],[,,,,,,,,,[-1]],,,,`PH`,,,,,,,,,,,,,,,,,,[,,`11[27]|911`,,,,`112`],,[,,`11[27]|911`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PK:[,[,,`1\\d{1,3}`,,,,,,,[2,3,4]],,,[,,`1(?:1(?:2\\d?|5)|[56])`,,,,`15`],[,,,,,,,,,[-1]],,,,`PK`,,,,,,,,,,,,,,,,,,[,,`1(?:1(?:22?|5)|[56])`,,,,`15`],,[,,`1(?:122|3[014]|[56])|11[2457-9]`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PL:[,[,,`[19]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`11(?:2|6\\d{3})|99[7-9]`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`PL`,,,,,,,,,,,,,,,,,,[,,`112|99[7-9]`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|61(?:11|23)|891[23])|9\\d{3})|9(?:8[4-7]|9[1-9])|11[68]000`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PM:[,[,,`[13]\\d(?:\\d\\d(?:\\d{2})?)?`,,,,,,,[2,4,6]],,,[,,`1[578]|3(?:0\\d|1[689])\\d`,,,,`15`,,,[2,4]],[,,`3[2469]\\d\\d`,,,,`3200`,,,[4]],,,,`PM`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`,,,[2]],,[,,`1[578]|31(?:03|[689]\\d)|(?:118[02-9]|3[02469])\\d\\d`,,,,`15`],[,,`118\\d{3}`,,,,`118000`,,,[6]],[,,`310\\d`,,,,`3100`,,,[4]],,[,,,,,,,,,[-1]]],PR:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`PR`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PS:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:0[0-2]|66)`,,,,`100`,,,[3]],[,,,,,,,,,[-1]],,,,`PS`,,,,,,,,,,,,,,,,,,[,,`10[0-2]`,,,,`100`,,,[3]],,[,,`1(?:0[0-2]|122|44|66|99)`,,,,`100`],[,,,,,,,,,[-1]],[,,`112\\d`,,,,`1120`,,,[4]],,[,,,,,,,,,[-1]]],PT:[,[,,`1\\d\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[3,4,6]],,,[,,`11[257]|1(?:16\\d\\d|5[1589]|8[279])\\d`,,,,`112`],[,,,,,,,,,[-1]],,,,`PT`,,,,,,,,,,,,,,,,,,[,,`11[25]`,,,,`112`,,,[3]],,[,,`1(?:0(?:45|5[01])|1(?:[2578]|600[06])|4(?:1[45]|4)|583|6(?:1[0236]|3[02]|9[169]))|1(?:1611|59)1|1[068]78|1[08]9[16]|1(?:0[1-38]|40|5[15]|6[258]|82)0`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PW:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`911`,,,,`911`],[,,,,,,,,,[-1]],,,,`PW`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`911`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PY:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`128|911`,,,,`128`],[,,,,,,,,,[-1]],,,,`PY`,,,,,,,,,,,,,,,,,,[,,`128|911`,,,,`128`],,[,,`1[1-9]\\d|911`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],QA:[,[,,`[129]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`99\\d`,,,,`990`,,,[3]],[,,`900`,,,,`900`,,,[3]],,,,`QA`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`,,,[3]],,[,,`9(?:00|[19]\\d)|(?:1|20|9[27]\\d)\\d\\d`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RE:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:12|[578])`,,,,`15`],[,,,,,,,,,[-1]],,,,`RE`,,,,,,,,,,,,,,,,,,[,,`1(?:12|[578])`,,,,`15`],,[,,`1(?:12|[578])`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RO:[,[,,`[18]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:2|6\\d{3})`,,,,`112`,,,[3,6]],[,,`(?:1(?:18[39]|[24])|8[48])\\d\\d`,,,,`1200`,,,[4,6]],,,,`RO`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:000|1(?:11|23))|8(?:(?:01|8[18])1|119|[23]00|932))|[24]\\d\\d|9(?:0(?:00|19)|1[19]|21|3[02]|5[178]))|8[48]\\d\\d`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`(?:1[24]|8[48])\\d\\d`,,,,`1200`,,,[4]]],RS:[,[,,`[19]\\d{1,5}`,,,,,,,[2,3,4,5,6]],,,[,,`112|9[2-4]`,,,,`92`,,,[2,3]],[,,,,,,,,,[-1]],,,,`RS`,,,,,,,,,,,,,,,,,,[,,`112|9[2-4]`,,,,`92`,,,[2,3]],,[,,`1[189]\\d{1,4}|9[2-4]`,,,,`92`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RU:[,[,,`[01]\\d\\d?`,,,,,,,[2,3]],,,[,,`112|(?:0|10)[1-3]`,,,,`01`],[,,,,,,,,,[-1]],,,,`RU`,,,,,,,,,,,,,,,,,,[,,`112|(?:0|10)[1-3]`,,,,`01`],,[,,`112|(?:0|10)[1-4]`,,,,`01`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RW:[,[,,`[14]\\d\\d`,,,,,,,[3]],,,[,,`11[1245]`,,,,`111`],[,,,,,,,,,[-1]],,,,`RW`,,,,,,,,,,,,,,,,,,[,,`11[12]`,,,,`111`],,[,,`1(?:0[0-2]|1[0-24-6]|2[13]|70|99)|456`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SA:[,[,,`[19]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:2|6\\d{3})|9(?:11|37|9[7-9])`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`SA`,,,,,,,,,,,,,,,,,,[,,`112|9(?:11|9[79])`,,,,`112`,,,[3]],,[,,`1(?:1(?:00|2|6111)|410|9(?:00|1[89]|9(?:099|22|9[0-3])))|9(?:0[24-79]|11|3[379]|40|66|8[5-9]|9[02-9])`,,,,`112`],[,,`141\\d`,,,,`1410`,,,[4]],[,,`1(?:10|41)\\d|90[24679]`,,,,`902`,,,[3,4]],,[,,,,,,,,,[-1]]],SB:[,[,,`[127-9]\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`SB`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`1(?:[02]\\d|1[12]|[35][01]|[49][1-9]|6[2-9]|7[7-9]|8[0-8])|269|777|835|9(?:[01]1|22|33|55|77|88|99)`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SC:[,[,,`[19]\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[1468]|60)|999`,,,,`111`,,,[3]],[,,,,,,,,,[-1]],,,,`SC`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`,,,[3]],,[,,`1(?:[06]\\d|1[0-246-8]|2[0-8]|3[13]|4[0-2]|5[15]|7[124-6]|8[158]|9[015])|9(?:6\\d\\d|99)`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SD:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`SD`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SE:[,[,,`[1-37-9]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:2|(?:3|6\\d)\\d\\d|414|77)|900\\d\\d`,,,,`112`],[,,`11811[89]|72\\d{3}`,,,,`72000`,,,[5,6]],,,,`SE`,,,,,,,,,,,,,,,,,,[,,`112|90000`,,,,`112`,,,[3,5]],,[,,`11(?:[25]|313|6(?:00[06]|1(?:1[17]|23))|7[0-8])|2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|9(?:0(?:00|51)0|12)|(?:11(?:4|8[02-46-9])|7\\d\\d|90[2-4])\\d\\d|(?:118|90)1(?:[02-9]\\d|1[013-9])`,,,,`112`],[,,,,,,,,,[-1]],[,,`2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|912`,,,,`220`,,,[3]],,[,,`7\\d{4}`,,,,`70000`,,,[5]]],SG:[,[,,`[179]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`99[359]`,,,,`993`,,,[3]],[,,,,,,,,,[-1]],,,,`SG`,,,,,,,,,,,,,,,,,,[,,`99[359]`,,,,`993`,,,[3]],,[,,`1(?:(?:[01368]\\d|44)\\d|[57]\\d{2,3}|9(?:0[1-9]|[1-9]\\d))|77222|99[02-9]|100`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`772\\d\\d`,,,,`77200`,,,[5]]],SH:[,[,,`[129]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`9(?:11|99)`,,,,`911`,,,[3]],[,,,,,,,,,[-1]],,,,`SH`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`,,,[3]],,[,,`1\\d{2,3}|26[01]\\d\\d|9(?:11|99)`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SI:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`11(?:(?:0|6\\d)\\d\\d|[23]|8\\d\\d?)`,,,,`112`],[,,,,,,,,,[-1]],,,,`SI`,,,,,,,,,,,,,,,,,,[,,`11[23]`,,,,`112`,,,[3]],,[,,`1(?:1(?:00[146]|[23]|6(?:000|1(?:11|23))|8(?:[08]|99))|9(?:059|1(?:0[12]|16)|5|70|87|9(?:00|[149])))|19(?:08|81)[09]`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SJ:[,[,,`[01]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`11[023]`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`SJ`,,,,,,,,,,,,,,,,,,[,,`11[023]`,,,,`110`,,,[3]],,[,,`04\\d{3}|11[023]`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,`04\\d{3}`,,,,`04000`,,,[5]]],SK:[,[,,`1\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:1(?:2|6\\d{3})|5[058])`,,,,`112`,,,[3,6]],[,,,,,,,,,[-1]],,,,`SK`,,,,,,,,,,,,,,,,,,[,,`1(?:12|5[058])`,,,,`112`,,,[3]],,[,,`1(?:1(?:2|6(?:000|111)|8[0-8])|[248]\\d{3}|5[0589])`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SL:[,[,,`[069]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`(?:01|99)9`,,,,`019`,,,[3]],[,,,,,,,,,[-1]],,,,`SL`,,,,,,,,,,,,,,,,,,[,,`(?:01|99)9`,,,,`019`,,,[3]],,[,,`(?:01|99)9|60400`,,,,`019`],[,,,,,,,,,[-1]],[,,`604\\d\\d`,,,,`60400`,,,[5]],,[,,`604\\d\\d`,,,,`60400`,,,[5]]],SM:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[358]`,,,,`113`],[,,,,,,,,,[-1]],,,,`SM`,,,,,,,,,,,,,,,,,,[,,`11[358]`,,,,`113`],,[,,`11[358]`,,,,`113`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SN:[,[,,`[12]\\d{1,5}`,,,,,,,[2,3,4,5,6]],,,[,,`1(?:515|[78])|2(?:00|1)\\d{3}`,,,,`17`,,,[2,4,5,6]],[,,`2(?:0[246]|[468])\\d{3}`,,,,`24000`,,,[5,6]],,,,`SN`,,,,,,,,,,,,,,,,,,[,,`1[78]`,,,,`17`,,,[2]],,[,,`1(?:1[69]|(?:[246]\\d|51)\\d)|2(?:0[0-246]|[12468])\\d{3}|1[278]`,,,,`12`],[,,`2(?:01|2)\\d{3}`,,,,`22000`,,,[5,6]],[,,`1[46]\\d\\d`,,,,`1400`,,,[4]],,[,,`2[468]\\d{3}`,,,,`24000`,,,[5]]],SO:[,[,,`[57-9]\\d\\d`,,,,,,,[3]],,,[,,`555|888|999`,,,,`555`],[,,,,,,,,,[-1]],,,,`SO`,,,,,,,,,,,,,,,,,,[,,`555|888|999`,,,,`555`],,[,,`555|777|888|999`,,,,`555`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SR:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`115`,,,,`115`,,,[3]],[,,,,,,,,,[-1]],,,,`SR`,,,,,,,,,,,,,,,,,,[,,`115`,,,,`115`,,,[3]],,[,,`1\\d{2,3}`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SS:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`SS`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ST:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`112`,,,,`112`],[,,,,,,,,,[-1]],,,,`ST`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`],,[,,`112`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SV:[,[,,`[149]\\d\\d(?:\\d{2,3})?`,,,,,,,[3,5,6]],,,[,,`116\\d{3}|911`,,,,`911`,,,[3,6]],[,,,,,,,,,[-1]],,,,`SV`,,,,,,,,,,,,,,,,,,[,,`91[13]`,,,,`911`,,,[3]],,[,,`1(?:1(?:2|6111)|2[136-8]|3[0-6]|9[05])|40404|9(?:1\\d|29)`,,,,`112`],[,,,,,,,,,[-1]],[,,`404\\d\\d`,,,,`40400`,,,[5]],,[,,`404\\d\\d`,,,,`40400`,,,[5]]],SX:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:19|88)`,,,,`919`],[,,,,,,,,,[-1]],,,,`SX`,,,,,,,,,,,,,,,,,,[,,`919`,,,,`919`],,[,,`9(?:19|88)`,,,,`919`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SY:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[023]`,,,,`110`],[,,,,,,,,,[-1]],,,,`SY`,,,,,,,,,,,,,,,,,,[,,`11[023]`,,,,`110`],,[,,`11[023]`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SZ:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`SZ`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TC:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`TC`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TD:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],,,,`TD`,,,,,,,,,,,,,,,,,,[,,`1[78]`,,,,`17`],,[,,`1[78]`,,,,`17`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TG:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1[78]|7[127])`,,,,`117`,,,[3]],[,,,,,,,,,[-1]],,,,`TG`,,,,,,,,,,,,,,,,,,[,,`1(?:1[78]|7[127])`,,,,`117`,,,[3]],,[,,`1(?:011|1[078]|7[127])`,,,,`110`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TH:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`1(?:1(?:00|2[03]|3[3479]|7[67]|9[0246])|578|6(?:44|6[79]|88|9[16])|88\\d|9[19])|1[15]55`,,,,`191`],[,,`1(?:113|2[23]\\d|5(?:09|56))`,,,,`1113`,,,[4]],,,,`TH`,,,,,,,,,,,,,,,,,,[,,`1(?:669|9[19])`,,,,`191`],,[,,`1(?:0[0-2]|1(?:0[03]|1[1-35]|2[0358]|3[03-79]|4[02-489]|5[04-9]|6[04-79]|7[03-9]|8[027-9]|9[02-9])|2(?:22|3[89]|66)|3(?:18|2[23]|3[013]|5[56]|6[45]|73)|477|5(?:0\\d|4[0-37-9]|5[1-8]|6[01679]|7[12568]|8[0-24589]|9[013589])|6(?:0[0-29]|2[03]|4[3-6]|6[1-9]|7[0257-9]|8[0158]|9[014-9])|7(?:[14]9|7[27]|90)|888|9[19])`,,,,`100`],[,,`1(?:1(?:03|1[15]|2[58]|3[056]|4[02-49]|5[046-9]|7[03-589]|9[57-9])|5(?:0[0-8]|4[0-378]|5[1-478]|7[156])|6(?:20|4[356]|6[1-68]|7[057-9]|8[015]|9[0457-9]))|1(?:1[68]|26|3[1-35]|5[689]|60|7[17])\\d`,,,,`1103`,,,[4]],[,,`114[89]`,,,,`1148`,,,[4]],,[,,,,,,,,,[-1]]],TJ:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`1(?:0[1-3]|12)`,,,,`101`],[,,,,,,,,,[-1]],,,,`TJ`,,,,,,,,,,,,,,,,,,[,,`1(?:0[1-3]|12)`,,,,`101`],,[,,`1(?:0[1-3]|12)`,,,,`101`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TL:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[25]`,,,,`112`],[,,,,,,,,,[-1]],,,,`TL`,,,,,,,,,,,,,,,,,,[,,`11[25]`,,,,`112`],,[,,`1(?:0[02]|1[25]|2[0138]|72|9[07])`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TM:[,[,,`0\\d`,,,,,,,[2]],,,[,,`0[1-49]`,,,,`01`],[,,,,,,,,,[-1]],,,,`TM`,,,,,,,,,,,,,,,,,,[,,`0[1-3]`,,,,`01`],,[,,`0[1-49]`,,,,`01`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TN:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`19[078]`,,,,`190`],[,,,,,,,,,[-1]],,,,`TN`,,,,,,,,,,,,,,,,,,[,,`19[078]`,,,,`190`],,[,,`19[078]`,,,,`190`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TO:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|22|33|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`TO`,,,,,,,,,,,,,,,,,,[,,`9(?:11|22|33|99)`,,,,`911`],,[,,`9(?:11|22|33|99)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TR:[,[,,`[1-9]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:1[02]|22|3[126]|4[04]|5[15-9]|6[18]|77|83)`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`TR`,,,,,,,,,,,,,,,,,,[,,`1(?:1[02]|55)`,,,,`110`,,,[3]],,[,,`1(?:1(?:[02-79]|8(?:1[018]|2[0245]|3[2-4]|42|5[058]|6[06]|7[07]|8[01389]|9[089]))|3(?:37|[58]6|65)|471|5(?:07|78)|6(?:[02]6|99)|8(?:63|95))|2(?:077|268|4(?:17|23)|5(?:7[26]|82)|6[14]4|8\\d\\d|9(?:30|89))|3(?:0(?:05|72)|353|4(?:06|30|64)|502|674|747|851|9(?:1[29]|60))|4(?:0(?:25|3[12]|[47]2)|3(?:3[13]|[89]1)|439|5(?:43|55)|717|832)|5(?:145|290|[4-6]\\d\\d|772|833|9(?:[06]1|92))|6(?:236|6(?:12|39|8[59])|769)|7890|8(?:688|7(?:28|65)|85[06])|9(?:159|290)|1[2-9]\\d`,,,,`110`],[,,`(?:285|542)0`,,,,`2850`,,,[4]],[,,,,,,,,,[-1]],,[,,`1(?:3(?:37|[58]6|65)|4(?:4|71)|5(?:07|78)|6(?:[02]6|99)|8(?:3|63|95))|(?:2(?:07|26|4[12]|5[78]|6[14]|8\\d|9[38])|3(?:0[07]|[38]5|4[036]|50|67|74|9[16])|4(?:0[2-47]|3[389]|[48]3|5[45]|71)|5(?:14|29|[4-6]\\d|77|83|9[069])|6(?:23|6[138]|76)|789|8(?:68|7[26]|85)|9(?:15|29))\\d`,,,,`144`,,,[3,4]]],TT:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:88|9[09])`,,,,`988`],[,,,,,,,,,[-1]],,,,`TT`,,,,,,,,,,,,,,,,,,[,,`99[09]`,,,,`990`],,[,,`9(?:88|9[09])`,,,,`988`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TV:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`911`,,,,`911`],[,,,,,,,,,[-1]],,,,`TV`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`1\\d\\d|911`,,,,`100`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TW:[,[,,`1\\d{2,3}`,,,,,,,[3,4]],,,[,,`11[0289]|1(?:81|92)\\d`,,,,`110`],[,,`10[56]`,,,,`105`,,,[3]],,,,`TW`,,,,,,,,,,,,,,,,,,[,,`11[029]`,,,,`110`,,,[3]],,[,,`1(?:0[04-6]|1[0237-9]|3[389]|6[05-8]|7[07]|8(?:0|11)|9(?:19|22|5[057]|68|8[05]|9[15689]))`,,,,`100`],[,,`1(?:65|9(?:1\\d|50|85|98))`,,,,`165`],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TZ:[,[,,`[149]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`1(?:1[0-79]|9[09])|999`,,,,`110`,,,[3]],[,,,,,,,,,[-1]],,,,`TZ`,,,,,,,,,,,,,,,,,,[,,`11[0-245]|999`,,,,`110`,,,[3]],,[,,`1(?:1\\d|9[09])|46400|999`,,,,`110`],[,,,,,,,,,[-1]],[,,`464\\d\\d`,,,,`46400`,,,[5]],,[,,`464\\d\\d`,,,,`46400`,,,[5]]],UA:[,[,,`[189]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`1(?:0[1-3]|1(?:2|6\\d{3}))`,,,,`101`,,,[3,6]],[,,,,,,,,,[-1]],,,,`UA`,,,,,,,,,,,,,,,,,,[,,`1(?:0[1-3]|12)`,,,,`101`,,,[3]],,[,,`1(?:0[1-49]|1(?:2|6(?:000|1(?:11|23))|8\\d\\d?)|(?:[278]|5\\d)\\d)|[89]00\\d\\d?|151|1(?:06|4\\d|6)\\d\\d`,,,,`101`],[,,,,,,,,,[-1]],[,,`(?:118|[89]00)\\d\\d?`,,,,`1180`,,,[4,5]],,[,,,,,,,,,[-1]]],UG:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],,,,`UG`,,,,,,,,,,,,,,,,,,[,,`999`,,,,`999`],,[,,`999`,,,,`999`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],US:[,[,,`[1-9]\\d{2,5}`,,,,,,,[3,4,5,6]],,,[,,`112|611|9(?:11|33|88)`,,,,`112`,,,[3]],[,,`24280|(?:381|968)35|4(?:3355|7553|8221)|5(?:(?:489|934)2|5928)|72078|(?:323|960)40|(?:276|414)63|(?:2(?:520|744)|7390|9968)9|(?:693|732|976)88|(?:3(?:556|825)|5294|8623|9729)4|(?:3378|4136|7642|8961|9979)6|(?:4(?:6(?:15|32)|827)|(?:591|720)8|9529)7`,,,,`24280`,,,[5]],,,,`US`,,,,,,,,,,,,,,,,,,[,,`112|911`,,,,`112`,,,[3]],,[,,`11(?:2|5[1-47]|[68]\\d|7[0-57]|98)|[2-9]\\d{3,5}|[2-8]11|9(?:11|33|88)`,,,,`112`],[,,`2(?:3333|(?:4224|7562|900)2|56447|6688)|3(?:1010|2665|7404)|40404|560560|6(?:0060|22639|5246|7622)|7(?:0701|3822|4666)|8(?:(?:3825|7226)5|4816)|99099`,,,,`23333`,,,[5,6]],[,,`336\\d\\d|[2-9]\\d{3}|[2356]11`,,,,`211`,,,[3,4,5]],,[,,`[2-9]\\d{4,5}`,,,,`20000`,,,[5,6]]],UY:[,[,,`[129]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`128|911`,,,,`128`,,,[3]],[,,,,,,,,,[-1]],,,,`UY`,,,,,,,,,,,,,,,,,,[,,`128|911`,,,,`128`,,,[3]],,[,,`1(?:0[4-9]|1[2368]|2[0-3568]|787|997\\d?)|21997|911`,,,,`104`],[,,`178\\d`,,,,`1780`,,,[4]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],UZ:[,[,,`[04]\\d(?:\\d(?:\\d{2})?)?`,,,,,,,[2,3,5]],,,[,,`0(?:0[1-3]|[1-3]|50)`,,,,`01`,,,[2,3]],[,,,,,,,,,[-1]],,,,`UZ`,,,,,,,,,,,,,,,,,,[,,`0(?:0[1-3]|[1-3]|50)`,,,,`01`,,,[2,3]],,[,,`0(?:0[1-3]|[1-3]|50)|45400`,,,,`01`],[,,,,,,,,,[-1]],[,,`454\\d\\d`,,,,`45400`,,,[5]],,[,,`454\\d\\d`,,,,`45400`,,,[5]]],VA:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[2358]`,,,,`112`],[,,,,,,,,,[-1]],,,,`VA`,,,,,,,,,,,,,,,,,,[,,`11[2358]`,,,,`112`],,[,,`11[2358]`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VC:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`VC`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VE:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`1(?:12|71)|911`,,,,`112`],[,,,,,,,,,[-1]],,,,`VE`,,,,,,,,,,,,,,,,,,[,,`1(?:12|71)|911`,,,,`112`],,[,,`1(?:12|71)|911`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VG:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],,,,`VG`,,,,,,,,,,,,,,,,,,[,,`9(?:11|99)`,,,,`911`],,[,,`9(?:11|88|99)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VI:[,[,,`9\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],,,,`VI`,,,,,,,,,,,,,,,,,,[,,`911`,,,,`911`],,[,,`9(?:11|88)`,,,,`911`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VN:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`11[3-5]`,,,,`113`],[,,,,,,,,,[-1]],,,,`VN`,,,,,,,,,,,,,,,,,,[,,`11[3-5]`,,,,`113`],,[,,`11[3-5]`,,,,`113`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VU:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`112`,,,,`112`],[,,,,,,,,,[-1]],,,,`VU`,,,,,,,,,,,,,,,,,,[,,`112`,,,,`112`],,[,,`112`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WF:[,[,,`1\\d`,,,,,,,[2]],,,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],,,,`WF`,,,,,,,,,,,,,,,,,,[,,`1[578]`,,,,`15`],,[,,`1[578]`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WS:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`9(?:11|9[4-69])`,,,,`911`],[,,,,,,,,,[-1]],,,,`WS`,,,,,,,,,,,,,,,,,,[,,`9(?:11|9[4-69])`,,,,`911`],,[,,`1(?:1[12]|2[0-6]|[39]0)|9(?:11|9[4-79])`,,,,`111`],[,,,,,,,,,[-1]],[,,`12[0-6]`,,,,`120`],,[,,,,,,,,,[-1]]],XK:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`1(?:12|9[2-4])`,,,,`112`],[,,,,,,,,,[-1]],,,,`XK`,,,,,,,,,,,,,,,,,,[,,`1(?:12|9[2-4])`,,,,`112`],,[,,`1(?:12|9[2-4])`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YE:[,[,,`1\\d\\d`,,,,,,,[3]],,,[,,`19[1459]`,,,,`191`],[,,,,,,,,,[-1]],,,,`YE`,,,,,,,,,,,,,,,,,,[,,`19[1459]`,,,,`191`],,[,,`19[1459]`,,,,`191`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YT:[,[,,`1\\d\\d?`,,,,,,,[2,3]],,,[,,`1(?:12|5)`,,,,`15`],[,,,,,,,,,[-1]],,,,`YT`,,,,,,,,,,,,,,,,,,[,,`1(?:12|5)`,,,,`15`],,[,,`1(?:12|5)`,,,,`15`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZA:[,[,,`[134]\\d{2,4}`,,,,,,,[3,4,5]],,,[,,`1(?:01\\d\\d|12)`,,,,`112`,,,[3,5]],[,,`41(?:348|851)`,,,,`41348`,,,[5]],,,,`ZA`,,,,,,,,,,,,,,,,,,[,,`1(?:01(?:11|77)|12)`,,,,`112`,,,[3,5]],,[,,`1(?:0(?:1(?:11|77)|20|7)|1[12]|77(?:3[237]|[45]7|6[279]|9[26]))|[34]\\d{4}`,,,,`107`],[,,`3(?:078[23]|7(?:064|567)|8126)|4(?:394[16]|7751|8837)|4[23]699`,,,,`30782`,,,[5]],[,,`111`,,,,`111`,,,[3]],,[,,`[34]\\d{4}`,,,,`30000`,,,[5]]],ZM:[,[,,`[19]\\d\\d`,,,,,,,[3]],,,[,,`112|99[139]`,,,,`112`],[,,,,,,,,,[-1]],,,,`ZM`,,,,,,,,,,,,,,,,,,[,,`112|99[139]`,,,,`112`],,[,,`112|99[139]`,,,,`112`],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZW:[,[,,`[139]\\d\\d(?:\\d{2})?`,,,,,,,[3,5]],,,[,,`112|9(?:5[023]|61|9[3-59])`,,,,`112`,,,[3]],[,,`3[013-57-9]\\d{3}`,,,,`30000`,,,[5]],,,,`ZW`,,,,,,,,,,,,,,,,,,[,,`112|99[3-59]`,,,,`112`,,,[3]],,[,,`11[2469]|3[013-57-9]\\d{3}|9(?:5[023]|6[0-25]|9[3-59])`,,,,`112`],[,,,,,,,,,[-1]],[,,`114|9(?:5[023]|6[0-25])`,,,,`114`,,,[3]],,[,,,,,,,,,[-1]]]},i18n.phonenumbers.ShortNumberInfo=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.ShortNumberInfo),i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_=[`BR`,`CL`,`NI`],i18n.phonenumbers.ShortNumberInfo.ShortNumberCost={TOLL_FREE:0,STANDARD_RATE:1,PREMIUM_RATE:2,UNKNOWN_COST:3},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodesForCountryCode_=function(t$5){return(t$5=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t$5])?t$5:[]},i18n.phonenumbers.ShortNumberInfo.prototype.regionDialingFromMatchesNumber_=function(t$5,o){return t$5=this.getRegionCodesForCountryCode_(t$5.getCountryCodeOrDefault()),o!=null&&t$5.includes(o)},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumberForRegion=function(t$5,o){return!this.regionDialingFromMatchesNumber_(t$5,o)||(o=this.getMetadataForRegion_(o),!o)?!1:(t$5=this.getNationalSignificantNumber_(t$5).length,o.getGeneralDesc().possibleLengthArray().includes(t$5))},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumber=function(t$5){var o=this.getRegionCodesForCountryCode_(t$5.getCountryCodeOrDefault());t$5=this.getNationalSignificantNumber_(t$5).length;for(var r=0;r<o.length;r++){var u=this.getMetadataForRegion_(o[r]);if(u&&u.getGeneralDesc().possibleLengthArray().includes(t$5))return!0}return!1},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumberForRegion=function(t$5,o){if(!this.regionDialingFromMatchesNumber_(t$5,o)||(o=this.getMetadataForRegion_(o),!o))return!1;t$5=this.getNationalSignificantNumber_(t$5);var r=o.getGeneralDesc();return this.matchesPossibleNumberAndNationalNumber_(t$5,r)?(o=o.getShortCode(),this.matchesPossibleNumberAndNationalNumber_(t$5,o)):!1},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumber=function(t$5){var o=this.getRegionCodesForCountryCode_(t$5.getCountryCodeOrDefault()),r=this.getRegionCodeForShortNumberFromRegionList_(t$5,o);return 1<o.length&&r!=null?!0:this.isValidShortNumberForRegion(t$5,r)},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCostForRegion=function(t$5,o){var r=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost;if(!this.regionDialingFromMatchesNumber_(t$5,o))return r.UNKNOWN_COST;var u=this.getMetadataForRegion_(o);return u?(t$5=this.getNationalSignificantNumber_(t$5),u.getGeneralDesc().possibleLengthArray().includes(t$5.length)?this.matchesPossibleNumberAndNationalNumber_(t$5,u.getPremiumRate())?r.PREMIUM_RATE:this.matchesPossibleNumberAndNationalNumber_(t$5,u.getStandardRate())?r.STANDARD_RATE:this.matchesPossibleNumberAndNationalNumber_(t$5,u.getTollFree())||this.isEmergencyNumber(t$5,o)?r.TOLL_FREE:r.UNKNOWN_COST:r.UNKNOWN_COST):r.UNKNOWN_COST},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCost=function(t$5){var o=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,r=this.getRegionCodesForCountryCode_(t$5.getCountryCodeOrDefault());if(r.length===0)return o.UNKNOWN_COST;if(r.length===1)return this.getExpectedCostForRegion(t$5,r[0]);for(var u=o.TOLL_FREE,h=0;h<r.length;h++){var m=this.getExpectedCostForRegion(t$5,r[h]);switch(m){case o.PREMIUM_RATE:return o.PREMIUM_RATE;case o.UNKNOWN_COST:u=o.UNKNOWN_COST;break;case o.STANDARD_RATE:u!==o.UNKNOWN_COST&&(u=o.STANDARD_RATE);break;case o.TOLL_FREE:break;default:throw Error(`Unrecognized cost for region: `+m)}}return u},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodeForShortNumberFromRegionList_=function(t$5,o){if(o.length===0)return null;if(o.length===1)return o[0];t$5=this.getNationalSignificantNumber_(t$5);for(var r=0;r<o.length;r++){var u=o[r],h=this.getMetadataForRegion_(u);if(h&&this.matchesPossibleNumberAndNationalNumber_(t$5,h.getShortCode()))return u}return null},i18n.phonenumbers.ShortNumberInfo.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.shortnumbermetadata.countryToMetadata).filter(function(t$5){return isNaN(t$5)})},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumber=function(t$5){return t$5=this.getMetadataForRegion_(t$5),t$5?(t$5=t$5.getShortCode(),t$5.hasExampleNumber()&&t$5.getExampleNumber()||``):``},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumberForCost=function(t$5,o){if(t$5=this.getMetadataForRegion_(t$5),!t$5)return``;var r=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,u=null;switch(o){case r.TOLL_FREE:u=t$5.getTollFree();break;case r.STANDARD_RATE:u=t$5.getStandardRate();break;case r.PREMIUM_RATE:u=t$5.getPremiumRate()}return u&&u.hasExampleNumber()&&u.getExampleNumber()||``},i18n.phonenumbers.ShortNumberInfo.prototype.connectsToEmergencyNumber=function(t$5,o){return this.matchesEmergencyNumberHelper_(t$5,o,!0)},i18n.phonenumbers.ShortNumberInfo.prototype.isEmergencyNumber=function(t$5,o){return this.matchesEmergencyNumberHelper_(t$5,o,!1)},i18n.phonenumbers.ShortNumberInfo.prototype.getMetadataForRegion_=function(t$5){if(!t$5)return null;t$5=t$5.toUpperCase();var o=this.regionToMetadataMap[t$5];if(o==null){o=new goog.proto2.PbLiteSerializer;var r=i18n.phonenumbers.shortnumbermetadata.countryToMetadata[t$5];if(r==null)return null;o=o.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),r),this.regionToMetadataMap[t$5]=o}return o},i18n.phonenumbers.ShortNumberInfo.prototype.matchesEmergencyNumberHelper_=function(t$5,o,r){var u=i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(t$5);return i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(u)||(t$5=this.getMetadataForRegion_(o),t$5==null||!t$5.hasEmergency())?!1:(u=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(u),o=r&&!i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_.includes(o),r=t$5.getEmergency().getNationalNumberPatternOrDefault(),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(r,u)||o&&i18n.phonenumbers.PhoneNumberUtil.matchesPrefix(r,u))},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecific=function(t$5){var o=this.getRegionCodesForCountryCode_(t$5.getCountryCodeOrDefault());return o=this.getRegionCodeForShortNumberFromRegionList_(t$5,o),t$5=this.getNationalSignificantNumber_(t$5),o=this.getMetadataForRegion_(o),!!o&&this.matchesPossibleNumberAndNationalNumber_(t$5,o.getCarrierSpecific())},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecificForRegion=function(t$5,o){return this.regionDialingFromMatchesNumber_(t$5,o)?(t$5=this.getNationalSignificantNumber_(t$5),o=this.getMetadataForRegion_(o),!!o&&this.matchesPossibleNumberAndNationalNumber_(t$5,o.getCarrierSpecific())):!1},i18n.phonenumbers.ShortNumberInfo.prototype.isSmsServiceForRegion=function(t$5,o){return this.regionDialingFromMatchesNumber_(t$5,o)?(o=this.getMetadataForRegion_(o),t$5=this.getNationalSignificantNumber_(t$5),!!o&&this.matchesPossibleNumberAndNationalNumber_(t$5,o.getSmsServices())):!1},i18n.phonenumbers.ShortNumberInfo.prototype.getNationalSignificantNumber_=function(t$5){if(!t$5.hasNationalNumber())return``;var o=``+t$5.getNationalNumber();return t$5.hasItalianLeadingZero()&&t$5.getItalianLeadingZero()&&0<t$5.getNumberOfLeadingZerosOrDefault()?Array(t$5.getNumberOfLeadingZerosOrDefault()+1).join(`0`)+o:o},i18n.phonenumbers.ShortNumberInfo.prototype.matchesPossibleNumberAndNationalNumber_=function(t$5,o){return 0<o.possibleLengthArray().length&&!o.possibleLengthArray().includes(t$5.length)?!1:i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(o.getNationalNumberPatternOrDefault(),t$5.toString())},i18n.phonenumbers.AsYouTypeFormatter=function(t$5){this.DIGIT_PLACEHOLDER_=` `,this.DIGIT_PATTERN_=new RegExp(this.DIGIT_PLACEHOLDER_),this.currentOutput_=``,this.formattingTemplate_=new goog.string.StringBuffer,this.currentFormattingPattern_=``,this.accruedInput_=new goog.string.StringBuffer,this.accruedInputWithoutFormatting_=new goog.string.StringBuffer,this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=this.inputHasFormatting_=!1,this.phoneUtil_=i18n.phonenumbers.PhoneNumberUtil.getInstance(),this.positionToRemember_=this.originalPosition_=this.lastMatchPosition_=0,this.prefixBeforeNationalNumber_=new goog.string.StringBuffer,this.shouldAddSpaceAfterNationalPrefix_=!1,this.extractedNationalPrefix_=``,this.nationalNumber_=new goog.string.StringBuffer,this.possibleFormats_=[],this.defaultCountry_=t$5,this.defaultMetadata_=this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_)},i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_=` `,i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_=new i18n.phonenumbers.PhoneMetadata,i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_.setInternationalPrefix(`NA`),i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_=RegExp(`^[`+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+`]*\\$1[`+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+`]*(\\$\\d[`+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+`]*)*$`),i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_=/[- ]/,i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_=3,i18n.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_=function(t$5){return t$5=this.phoneUtil_.getCountryCodeForRegion(t$5),t$5=this.phoneUtil_.getRegionCodeForCountryCode(t$5),t$5=this.phoneUtil_.getMetadataForRegion(t$5),t$5??i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_},i18n.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_=function(){for(var t$5=this.possibleFormats_.length,o=0;o<t$5;++o){var r=this.possibleFormats_[o],u=r.getPatternOrDefault();if(this.currentFormattingPattern_==u)return!1;if(this.createFormattingTemplate_(r))return this.currentFormattingPattern_=u,this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(r.getNationalPrefixFormattingRule()),this.lastMatchPosition_=0,!0}return this.ableToFormat_=!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.getAvailableFormats_=function(t$5){for(var o=this.isCompleteNumber_&&this.extractedNationalPrefix_.length==0&&0<this.currentMetadata_.intlNumberFormatCount()?this.currentMetadata_.intlNumberFormatArray():this.currentMetadata_.numberFormatArray(),r=o.length,u=0;u<r;++u){var h=o[u];0<this.extractedNationalPrefix_.length&&this.phoneUtil_.formattingRuleHasFirstGroupOnly(h.getNationalPrefixFormattingRuleOrDefault())&&!h.getNationalPrefixOptionalWhenFormatting()&&!h.hasDomesticCarrierCodeFormattingRule()||(this.extractedNationalPrefix_.length!=0||this.isCompleteNumber_||this.phoneUtil_.formattingRuleHasFirstGroupOnly(h.getNationalPrefixFormattingRuleOrDefault())||h.getNationalPrefixOptionalWhenFormatting())&&i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_.test(h.getFormatOrDefault())&&this.possibleFormats_.push(h)}this.narrowDownPossibleFormats_(t$5)},i18n.phonenumbers.AsYouTypeFormatter.prototype.narrowDownPossibleFormats_=function(t$5){for(var o=[],r=t$5.length-i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_,u=this.possibleFormats_.length,h=0;h<u;++h){var m=this.possibleFormats_[h];if(m.leadingDigitsPatternCount()==0)o.push(this.possibleFormats_[h]);else{var y=Math.min(r,m.leadingDigitsPatternCount()-1);m=m.getLeadingDigitsPattern(y),t$5.search(m)==0&&o.push(this.possibleFormats_[h])}}this.possibleFormats_=o},i18n.phonenumbers.AsYouTypeFormatter.prototype.createFormattingTemplate_=function(t$5){var o=t$5.getPatternOrDefault();return this.formattingTemplate_.clear(),t$5=this.getFormattingTemplate_(o,t$5.getFormatOrDefault()),0<t$5.length?(this.formattingTemplate_.append(t$5),!0):!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.getFormattingTemplate_=function(t$5,o){var r=`999999999999999`.match(t$5)[0];return r.length<this.nationalNumber_.getLength()?``:(t$5=r.replace(new RegExp(t$5,`g`),o),t$5=t$5.replace(/9/g,this.DIGIT_PLACEHOLDER_))},i18n.phonenumbers.AsYouTypeFormatter.prototype.clear=function(){this.currentOutput_=``,this.accruedInput_.clear(),this.accruedInputWithoutFormatting_.clear(),this.formattingTemplate_.clear(),this.lastMatchPosition_=0,this.currentFormattingPattern_=``,this.prefixBeforeNationalNumber_.clear(),this.extractedNationalPrefix_=``,this.nationalNumber_.clear(),this.ableToFormat_=!0,this.inputHasFormatting_=!1,this.originalPosition_=this.positionToRemember_=0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=!1,this.possibleFormats_=[],this.shouldAddSpaceAfterNationalPrefix_=!1,this.currentMetadata_!=this.defaultMetadata_&&(this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_))},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigit=function(t$5){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(t$5,!1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition=function(t$5){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(t$5,!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitWithOptionToRememberPosition_=function(t$5,o){if(this.accruedInput_.append(t$5),o&&(this.originalPosition_=this.accruedInput_.getLength()),this.isDigitOrLeadingPlusSign_(t$5)?t$5=this.normalizeAndAccrueDigitsAndPlusSign_(t$5,o):(this.ableToFormat_=!1,this.inputHasFormatting_=!0),!this.ableToFormat_){if(!this.inputHasFormatting_){if(this.attemptToExtractIdd_()){if(this.attemptToExtractCountryCallingCode_())return this.attemptToChoosePatternWithPrefixExtracted_()}else if(this.ableToExtractLongerNdd_())return this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.attemptToChoosePatternWithPrefixExtracted_()}return this.accruedInput_.toString()}switch(this.accruedInputWithoutFormatting_.getLength()){case 0:case 1:case 2:return this.accruedInput_.toString();case 3:if(this.attemptToExtractIdd_())this.isExpectingCountryCallingCode_=!0;else return this.extractedNationalPrefix_=this.removeNationalPrefixFromNationalNumber_(),this.attemptToChooseFormattingPattern_();default:return this.isExpectingCountryCallingCode_?(this.attemptToExtractCountryCallingCode_()&&(this.isExpectingCountryCallingCode_=!1),this.prefixBeforeNationalNumber_.toString()+this.nationalNumber_.toString()):0<this.possibleFormats_.length?(t$5=this.inputDigitHelper_(t$5),o=this.attemptToFormatAccruedDigits_(),0<o.length?o:(this.narrowDownPossibleFormats_(this.nationalNumber_.toString()),this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.ableToFormat_?this.appendNationalNumber_(t$5):this.accruedInput_.toString())):this.attemptToChooseFormattingPattern_()}},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChoosePatternWithPrefixExtracted_=function(){return this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=!1,this.possibleFormats_=[],this.lastMatchPosition_=0,this.formattingTemplate_.clear(),this.currentFormattingPattern_=``,this.attemptToChooseFormattingPattern_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.getExtractedNationalPrefix_=function(){return this.extractedNationalPrefix_},i18n.phonenumbers.AsYouTypeFormatter.prototype.ableToExtractLongerNdd_=function(){if(0<this.extractedNationalPrefix_.length){var t$5=this.nationalNumber_.toString();this.nationalNumber_.clear(),this.nationalNumber_.append(this.extractedNationalPrefix_),this.nationalNumber_.append(t$5),t$5=this.prefixBeforeNationalNumber_.toString();var o=t$5.lastIndexOf(this.extractedNationalPrefix_);this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(t$5.substring(0,o))}return this.extractedNationalPrefix_!=this.removeNationalPrefixFromNationalNumber_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isDigitOrLeadingPlusSign_=function(t$5){return i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN.test(t$5)||this.accruedInput_.getLength()==1&&i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN.test(t$5)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToFormatAccruedDigits_=function(){for(var t$5=this.nationalNumber_.toString(),o=this.possibleFormats_.length,r=0;r<o;++r){var u=this.possibleFormats_[r],h=u.getPatternOrDefault();if(RegExp(`^(?:`+h+`)$`).test(t$5)&&(this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(u.getNationalPrefixFormattingRule()),u=t$5.replace(new RegExp(h,`g`),u.getFormat()),u=this.appendNationalNumber_(u),i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(u)==this.accruedInputWithoutFormatting_))return u}return``},i18n.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_=function(t$5){var o=this.prefixBeforeNationalNumber_.getLength();return this.shouldAddSpaceAfterNationalPrefix_&&0<o&&this.prefixBeforeNationalNumber_.toString().charAt(o-1)!=i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_?this.prefixBeforeNationalNumber_+i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_+t$5:this.prefixBeforeNationalNumber_+t$5},i18n.phonenumbers.AsYouTypeFormatter.prototype.getRememberedPosition=function(){if(!this.ableToFormat_)return this.originalPosition_;for(var t$5=0,o=0,r=this.accruedInputWithoutFormatting_.toString(),u=this.currentOutput_.toString();t$5<this.positionToRemember_&&o<u.length;)r.charAt(t$5)==u.charAt(o)&&t$5++,o++;return o},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChooseFormattingPattern_=function(){var t$5=this.nationalNumber_.toString();return t$5.length>=i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_?(this.getAvailableFormats_(t$5),t$5=this.attemptToFormatAccruedDigits_(),0<t$5.length?t$5:this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.accruedInput_.toString()):this.appendNationalNumber_(t$5)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputAccruedNationalNumber_=function(){var t$5=this.nationalNumber_.toString(),o=t$5.length;if(0<o){for(var r=``,u=0;u<o;u++)r=this.inputDigitHelper_(t$5.charAt(u));return this.ableToFormat_?this.appendNationalNumber_(r):this.accruedInput_.toString()}return this.prefixBeforeNationalNumber_.toString()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isNanpaNumberWithNationalPrefix_=function(){if(this.currentMetadata_.getCountryCode()!=1)return!1;var t$5=this.nationalNumber_.toString();return t$5.charAt(0)==`1`&&t$5.charAt(1)!=`0`&&t$5.charAt(1)!=`1`},i18n.phonenumbers.AsYouTypeFormatter.prototype.removeNationalPrefixFromNationalNumber_=function(){var t$5=this.nationalNumber_.toString(),o=0;if(this.isNanpaNumberWithNationalPrefix_())o=1,this.prefixBeforeNationalNumber_.append(`1`).append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.isCompleteNumber_=!0;else if(this.currentMetadata_.hasNationalPrefixForParsing()){var r=RegExp(`^(?:`+this.currentMetadata_.getNationalPrefixForParsing()+`)`);r=t$5.match(r),r!=null&&r[0]!=null&&0<r[0].length&&(this.isCompleteNumber_=!0,o=r[0].length,this.prefixBeforeNationalNumber_.append(t$5.substring(0,o)))}return this.nationalNumber_.clear(),this.nationalNumber_.append(t$5.substring(o)),t$5.substring(0,o)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractIdd_=function(){var t$5=this.accruedInputWithoutFormatting_.toString(),o=RegExp(`^(?:\\`+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+`|`+this.currentMetadata_.getInternationalPrefix()+`)`);return o=t$5.match(o),o!=null&&o[0]!=null&&0<o[0].length?(this.isCompleteNumber_=!0,o=o[0].length,this.nationalNumber_.clear(),this.nationalNumber_.append(t$5.substring(o)),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(t$5.substring(0,o)),t$5.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),!0):!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractCountryCallingCode_=function(){if(this.nationalNumber_.getLength()==0)return!1;var t$5=new goog.string.StringBuffer,o=this.phoneUtil_.extractCountryCode(this.nationalNumber_,t$5);return o==0?!1:(this.nationalNumber_.clear(),this.nationalNumber_.append(t$5.toString()),t$5=this.phoneUtil_.getRegionCodeForCountryCode(o),i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t$5?this.currentMetadata_=this.phoneUtil_.getMetadataForNonGeographicalRegion(o):t$5!=this.defaultCountry_&&(this.currentMetadata_=this.getMetadataForRegion_(t$5)),this.prefixBeforeNationalNumber_.append(``+o).append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.extractedNationalPrefix_=``,!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.normalizeAndAccrueDigitsAndPlusSign_=function(t$5,o){if(t$5==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var r=t$5;this.accruedInputWithoutFormatting_.append(t$5)}else r=i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS[t$5],this.accruedInputWithoutFormatting_.append(r),this.nationalNumber_.append(r);return o&&(this.positionToRemember_=this.accruedInputWithoutFormatting_.getLength()),r},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(t$5){var o=this.formattingTemplate_.toString();if(0<=o.substring(this.lastMatchPosition_).search(this.DIGIT_PATTERN_)){var r=o.search(this.DIGIT_PATTERN_);return t$5=o.replace(this.DIGIT_PATTERN_,t$5),this.formattingTemplate_.clear(),this.formattingTemplate_.append(t$5),this.lastMatchPosition_=r,t$5.substring(0,this.lastMatchPosition_+1)}return this.possibleFormats_.length==1&&(this.ableToFormat_=!1),this.currentFormattingPattern_=``,this.accruedInput_.toString()},Object.defineProperty(exports$2,`__esModule`,{value:!0}),exports$2.default=i18n.phonenumbers,module$2.exports=exports$2.default}).call(this)}).call(this,typeof commonjsGlobal<`u`?commonjsGlobal:typeof self<`u`?self:typeof window<`u`?window:{})},{}]},{},[1])(1)})}(libphonenumber,libphonenumber.exports);var libphonenumberExports=libphonenumber.exports,buffer={},base64Js={};base64Js.byteLength=byteLength,base64Js.toByteArray=toByteArray,base64Js.fromByteArray=fromByteArray;for(var lookup=[],revLookup=[],Arr=typeof Uint8Array<`u`?Uint8Array:Array,code=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,i$2=0,len=code.length;i$2<len;++i$2)lookup[i$2]=code[i$2],revLookup[code.charCodeAt(i$2)]=i$2;revLookup[45]=62,revLookup[95]=63;function getLens(t$5){var o=t$5.length;if(o%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var r=t$5.indexOf(`=`);r===-1&&(r=o);var u=r===o?0:4-r%4;return[r,u]}function byteLength(t$5){var o=getLens(t$5),r=o[0],u=o[1];return(r+u)*3/4-u}function _byteLength(t$5,o,r){return(o+r)*3/4-r}function toByteArray(t$5){var o,r=getLens(t$5),u=r[0],h=r[1],m=new Arr(_byteLength(t$5,u,h)),y=0,S=h>0?u-4:u,_;for(_=0;_<S;_+=4)o=revLookup[t$5.charCodeAt(_)]<<18|revLookup[t$5.charCodeAt(_+1)]<<12|revLookup[t$5.charCodeAt(_+2)]<<6|revLookup[t$5.charCodeAt(_+3)],m[y++]=o>>16&255,m[y++]=o>>8&255,m[y++]=o&255;return h===2&&(o=revLookup[t$5.charCodeAt(_)]<<2|revLookup[t$5.charCodeAt(_+1)]>>4,m[y++]=o&255),h===1&&(o=revLookup[t$5.charCodeAt(_)]<<10|revLookup[t$5.charCodeAt(_+1)]<<4|revLookup[t$5.charCodeAt(_+2)]>>2,m[y++]=o>>8&255,m[y++]=o&255),m}function tripletToBase64(t$5){return lookup[t$5>>18&63]+lookup[t$5>>12&63]+lookup[t$5>>6&63]+lookup[t$5&63]}function encodeChunk(t$5,o,r){for(var u,h=[],m=o;m<r;m+=3)u=(t$5[m]<<16&16711680)+(t$5[m+1]<<8&65280)+(t$5[m+2]&255),h.push(tripletToBase64(u));return h.join(``)}function fromByteArray(t$5){for(var o,r=t$5.length,u=r%3,h=[],m=16383,y=0,S=r-u;y<S;y+=m)h.push(encodeChunk(t$5,y,y+m>S?S:y+m));return u===1?(o=t$5[r-1],h.push(lookup[o>>2]+lookup[o<<4&63]+`==`)):u===2&&(o=(t$5[r-2]<<8)+t$5[r-1],h.push(lookup[o>>10]+lookup[o>>4&63]+lookup[o<<2&63]+`=`)),h.join(``)}var ieee754={};
26
+ /*!
27
+ * The buffer module from node.js, for the browser.
28
+ *
29
+ * @author Feross Aboukhadijeh <https://feross.org>
30
+ * @license MIT
31
+ */
32
+ ieee754.read=function(t$5,o,r,u,h){var m,y,S=h*8-u-1,_=(1<<S)-1,C=_>>1,O=-7,I=r?h-1:0,R$1=r?-1:1,U=t$5[o+I];for(I+=R$1,m=U&(1<<-O)-1,U>>=-O,O+=S;O>0;m=m*256+t$5[o+I],I+=R$1,O-=8);for(y=m&(1<<-O)-1,m>>=-O,O+=u;O>0;y=y*256+t$5[o+I],I+=R$1,O-=8);if(m===0)m=1-C;else{if(m===_)return y?NaN:(U?-1:1)*(1/0);y+=2**u,m-=C}return(U?-1:1)*y*2**(m-u)},ieee754.write=function(t$5,o,r,u,h,m){var y,S,_,C=m*8-h-1,O=(1<<C)-1,I=O>>1,R$1=h===23?2**-24-2**-77:0,U=u?0:m-1,F=u?1:-1,G=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(S=isNaN(o)?1:0,y=O):(y=Math.floor(Math.log(o)/Math.LN2),o*(_=2**-y)<1&&(y--,_*=2),y+I>=1?o+=R$1/_:o+=R$1*2**(1-I),o*_>=2&&(y++,_/=2),y+I>=O?(S=0,y=O):y+I>=1?(S=(o*_-1)*2**h,y+=I):(S=o*2**(I-1)*2**h,y=0));h>=8;t$5[r+U]=S&255,U+=F,S/=256,h-=8);for(y=y<<h|S,C+=h;C>0;t$5[r+U]=y&255,U+=F,y/=256,C-=8);t$5[r+U-F]|=G*128},function(t$5){let o=base64Js,r=ieee754,u=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;t$5.Buffer=S,t$5.SlowBuffer=te$1,t$5.INSPECT_MAX_BYTES=50;let h=2147483647;t$5.kMaxLength=h,S.TYPED_ARRAY_SUPPORT=m(),!S.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m(){try{let N=new Uint8Array(1),p={foo:function(){return 42}};return Object.setPrototypeOf(p,Uint8Array.prototype),Object.setPrototypeOf(N,p),N.foo()===42}catch{return!1}}Object.defineProperty(S.prototype,`parent`,{enumerable:!0,get:function(){if(S.isBuffer(this))return this.buffer}}),Object.defineProperty(S.prototype,`offset`,{enumerable:!0,get:function(){if(S.isBuffer(this))return this.byteOffset}});function y(N){if(N>h)throw RangeError(`The value "`+N+`" is invalid for option "size"`);let p=new Uint8Array(N);return Object.setPrototypeOf(p,S.prototype),p}function S(N,p,$){if(typeof N==`number`){if(typeof p==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return I(N)}return _(N,p,$)}S.poolSize=8192;function _(N,p,$){if(typeof N==`string`)return R$1(N,p);if(ArrayBuffer.isView(N))return F(N);if(N==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof N);if(J(N,ArrayBuffer)||N&&J(N.buffer,ArrayBuffer)||typeof SharedArrayBuffer<`u`&&(J(N,SharedArrayBuffer)||N&&J(N.buffer,SharedArrayBuffer)))return G(N,p,$);if(typeof N==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let T=N.valueOf&&N.valueOf();if(T!=null&&T!==N)return S.from(T,p,$);let E=Y(N);if(E)return E;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof N[Symbol.toPrimitive]==`function`)return S.from(N[Symbol.toPrimitive](`string`),p,$);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof N)}S.from=function(N,p,$){return _(N,p,$)},Object.setPrototypeOf(S.prototype,Uint8Array.prototype),Object.setPrototypeOf(S,Uint8Array);function C(N){if(typeof N!=`number`)throw TypeError(`"size" argument must be of type number`);if(N<0)throw RangeError(`The value "`+N+`" is invalid for option "size"`)}function O(N,p,$){return C(N),N<=0||p===void 0?y(N):typeof $==`string`?y(N).fill(p,$):y(N).fill(p)}S.alloc=function(N,p,$){return O(N,p,$)};function I(N){return C(N),y(N<0?0:K(N)|0)}S.allocUnsafe=function(N){return I(N)},S.allocUnsafeSlow=function(N){return I(N)};function R$1(N,p){if((typeof p!=`string`||p===``)&&(p=`utf8`),!S.isEncoding(p))throw TypeError(`Unknown encoding: `+p);let $=de(N,p)|0,T=y($),E=T.write(N,p);return E!==$&&(T=T.slice(0,E)),T}function U(N){let p=N.length<0?0:K(N.length)|0,$=y(p);for(let T=0;T<p;T+=1)$[T]=N[T]&255;return $}function F(N){if(J(N,Uint8Array)){let p=new Uint8Array(N);return G(p.buffer,p.byteOffset,p.byteLength)}return U(N)}function G(N,p,$){if(p<0||N.byteLength<p)throw RangeError(`"offset" is outside of buffer bounds`);if(N.byteLength<p+($||0))throw RangeError(`"length" is outside of buffer bounds`);let T;return T=p===void 0&&$===void 0?new Uint8Array(N):$===void 0?new Uint8Array(N,p):new Uint8Array(N,p,$),Object.setPrototypeOf(T,S.prototype),T}function Y(N){if(S.isBuffer(N)){let p=K(N.length)|0,$=y(p);return $.length===0||N.copy($,0,0,p),$}if(N.length!==void 0)return typeof N.length!=`number`||Se(N.length)?y(0):U(N);if(N.type===`Buffer`&&Array.isArray(N.data))return U(N.data)}function K(N){if(N>=h)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+h.toString(16)+` bytes`);return N|0}function te$1(N){return+N!=N&&(N=0),S.alloc(+N)}S.isBuffer=function(p){return p!=null&&p._isBuffer===!0&&p!==S.prototype},S.compare=function(p,$){if(J(p,Uint8Array)&&(p=S.from(p,p.offset,p.byteLength)),J($,Uint8Array)&&($=S.from($,$.offset,$.byteLength)),!S.isBuffer(p)||!S.isBuffer($))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(p===$)return 0;let T=p.length,E=$.length;for(let A=0,P$1=Math.min(T,E);A<P$1;++A)if(p[A]!==$[A]){T=p[A],E=$[A];break}return T<E?-1:E<T?1:0},S.isEncoding=function(p){switch(String(p).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},S.concat=function(p,$){if(!Array.isArray(p))throw TypeError(`"list" argument must be an Array of Buffers`);if(p.length===0)return S.alloc(0);let T;if($===void 0)for($=0,T=0;T<p.length;++T)$+=p[T].length;let E=S.allocUnsafe($),A=0;for(T=0;T<p.length;++T){let P$1=p[T];if(J(P$1,Uint8Array))A+P$1.length>E.length?(S.isBuffer(P$1)||(P$1=S.from(P$1)),P$1.copy(E,A)):Uint8Array.prototype.set.call(E,P$1,A);else if(S.isBuffer(P$1))P$1.copy(E,A);else throw TypeError(`"list" argument must be an Array of Buffers`);A+=P$1.length}return E};function de(N,p){if(S.isBuffer(N))return N.length;if(ArrayBuffer.isView(N)||J(N,ArrayBuffer))return N.byteLength;if(typeof N!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof N);let $=N.length,T=arguments.length>2&&arguments[2]===!0;if(!T&&$===0)return 0;let E=!1;for(;;)switch(p){case`ascii`:case`latin1`:case`binary`:return $;case`utf8`:case`utf-8`:return ye(N).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return $*2;case`hex`:return $>>>1;case`base64`:return Me(N).length;default:if(E)return T?-1:ye(N).length;p=(``+p).toLowerCase(),E=!0}}S.byteLength=de;function me(N,p,$){let T=!1;if((p===void 0||p<0)&&(p=0),p>this.length||(($===void 0||$>this.length)&&($=this.length),$<=0)||($>>>=0,p>>>=0,$<=p))return``;for(N||=`utf8`;;)switch(N){case`hex`:return He(this,p,$);case`utf8`:case`utf-8`:return _e(this,p,$);case`ascii`:return Ge(this,p,$);case`latin1`:case`binary`:return ke(this,p,$);case`base64`:return Be(this,p,$);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return We(this,p,$);default:if(T)throw TypeError(`Unknown encoding: `+N);N=(N+``).toLowerCase(),T=!0}}S.prototype._isBuffer=!0;function q(N,p,$){let T=N[p];N[p]=N[$],N[$]=T}S.prototype.swap16=function(){let p=this.length;if(p%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let $=0;$<p;$+=2)q(this,$,$+1);return this},S.prototype.swap32=function(){let p=this.length;if(p%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let $=0;$<p;$+=4)q(this,$,$+3),q(this,$+1,$+2);return this},S.prototype.swap64=function(){let p=this.length;if(p%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let $=0;$<p;$+=8)q(this,$,$+7),q(this,$+1,$+6),q(this,$+2,$+5),q(this,$+3,$+4);return this},S.prototype.toString=function(){let p=this.length;return p===0?``:arguments.length===0?_e(this,0,p):me.apply(this,arguments)},S.prototype.toLocaleString=S.prototype.toString,S.prototype.equals=function(p){if(!S.isBuffer(p))throw TypeError(`Argument must be a Buffer`);return this===p?!0:S.compare(this,p)===0},S.prototype.inspect=function(){let p=``,$=t$5.INSPECT_MAX_BYTES;return p=this.toString(`hex`,0,$).replace(/(.{2})/g,`$1 `).trim(),this.length>$&&(p+=` ... `),`<Buffer `+p+`>`},u&&(S.prototype[u]=S.prototype.inspect),S.prototype.compare=function(p,$,T,E,A){if(J(p,Uint8Array)&&(p=S.from(p,p.offset,p.byteLength)),!S.isBuffer(p))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof p);if($===void 0&&($=0),T===void 0&&(T=p?p.length:0),E===void 0&&(E=0),A===void 0&&(A=this.length),$<0||T>p.length||E<0||A>this.length)throw RangeError(`out of range index`);if(E>=A&&$>=T)return 0;if(E>=A)return-1;if($>=T)return 1;if($>>>=0,T>>>=0,E>>>=0,A>>>=0,this===p)return 0;let P$1=A-E,D=T-$,v=Math.min(P$1,D),w=this.slice(E,A),x$1=p.slice($,T);for(let L=0;L<v;++L)if(w[L]!==x$1[L]){P$1=w[L],D=x$1[L];break}return P$1<D?-1:D<P$1?1:0};function ge(N,p,$,T,E){if(N.length===0)return-1;if(typeof $==`string`?(T=$,$=0):$>2147483647?$=2147483647:$<-2147483648&&($=-2147483648),$=+$,Se($)&&($=E?0:N.length-1),$<0&&($=N.length+$),$>=N.length){if(E)return-1;$=N.length-1}else if($<0)if(E)$=0;else return-1;if(typeof p==`string`&&(p=S.from(p,T)),S.isBuffer(p))return p.length===0?-1:ce(N,p,$,T,E);if(typeof p==`number`)return p&=255,typeof Uint8Array.prototype.indexOf==`function`?E?Uint8Array.prototype.indexOf.call(N,p,$):Uint8Array.prototype.lastIndexOf.call(N,p,$):ce(N,[p],$,T,E);throw TypeError(`val must be string, number or Buffer`)}function ce(N,p,$,T,E){let A=1,P$1=N.length,D=p.length;if(T!==void 0&&(T=String(T).toLowerCase(),T===`ucs2`||T===`ucs-2`||T===`utf16le`||T===`utf-16le`)){if(N.length<2||p.length<2)return-1;A=2,P$1/=2,D/=2,$/=2}function v(x$1,L){return A===1?x$1[L]:x$1.readUInt16BE(L*A)}let w;if(E){let x$1=-1;for(w=$;w<P$1;w++)if(v(N,w)===v(p,x$1===-1?0:w-x$1)){if(x$1===-1&&(x$1=w),w-x$1+1===D)return x$1*A}else x$1!==-1&&(w-=w-x$1),x$1=-1}else for($+D>P$1&&($=P$1-D),w=$;w>=0;w--){let x$1=!0;for(let L=0;L<D;L++)if(v(N,w+L)!==v(p,L)){x$1=!1;break}if(x$1)return w}return-1}S.prototype.includes=function(p,$,T){return this.indexOf(p,$,T)!==-1},S.prototype.indexOf=function(p,$,T){return ge(this,p,$,T,!0)},S.prototype.lastIndexOf=function(p,$,T){return ge(this,p,$,T,!1)};function pe(N,p,$,T){$=Number($)||0;let E=N.length-$;T?(T=Number(T),T>E&&(T=E)):T=E;let A=p.length;T>A/2&&(T=A/2);let P$1;for(P$1=0;P$1<T;++P$1){let D=parseInt(p.substr(P$1*2,2),16);if(Se(D))return P$1;N[$+P$1]=D}return P$1}function oe(N,p,$,T){return he(ye(p,N.length-$),N,$,T)}function re$5(N,p,$,T){return he(Ze(p),N,$,T)}function fe(N,p,$,T){return he(Me(p),N,$,T)}function xe(N,p,$,T){return he(Ke(p,N.length-$),N,$,T)}S.prototype.write=function(p,$,T,E){if($===void 0)E=`utf8`,T=this.length,$=0;else if(T===void 0&&typeof $==`string`)E=$,T=this.length,$=0;else if(isFinite($))$>>>=0,isFinite(T)?(T>>>=0,E===void 0&&(E=`utf8`)):(E=T,T=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let A=this.length-$;if((T===void 0||T>A)&&(T=A),p.length>0&&(T<0||$<0)||$>this.length)throw RangeError(`Attempt to write outside buffer bounds`);E||=`utf8`;let P$1=!1;for(;;)switch(E){case`hex`:return pe(this,p,$,T);case`utf8`:case`utf-8`:return oe(this,p,$,T);case`ascii`:case`latin1`:case`binary`:return re$5(this,p,$,T);case`base64`:return fe(this,p,$,T);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return xe(this,p,$,T);default:if(P$1)throw TypeError(`Unknown encoding: `+E);E=(``+E).toLowerCase(),P$1=!0}},S.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function Be(N,p,$){return p===0&&$===N.length?o.fromByteArray(N):o.fromByteArray(N.slice(p,$))}function _e(N,p,$){$=Math.min(N.length,$);let T=[],E=p;for(;E<$;){let A=N[E],P$1=null,D=A>239?4:A>223?3:A>191?2:1;if(E+D<=$){let v,w,x$1,L;switch(D){case 1:A<128&&(P$1=A);break;case 2:v=N[E+1],(v&192)==128&&(L=(A&31)<<6|v&63,L>127&&(P$1=L));break;case 3:v=N[E+1],w=N[E+2],(v&192)==128&&(w&192)==128&&(L=(A&15)<<12|(v&63)<<6|w&63,L>2047&&(L<55296||L>57343)&&(P$1=L));break;case 4:v=N[E+1],w=N[E+2],x$1=N[E+3],(v&192)==128&&(w&192)==128&&(x$1&192)==128&&(L=(A&15)<<18|(v&63)<<12|(w&63)<<6|x$1&63,L>65535&&L<1114112&&(P$1=L))}}P$1===null?(P$1=65533,D=1):P$1>65535&&(P$1-=65536,T.push(P$1>>>10&1023|55296),P$1=56320|P$1&1023),T.push(P$1),E+=D}return Ve(T)}let Ee=4096;function Ve(N){let p=N.length;if(p<=Ee)return String.fromCharCode.apply(String,N);let $=``,T=0;for(;T<p;)$+=String.fromCharCode.apply(String,N.slice(T,T+=Ee));return $}function Ge(N,p,$){let T=``;$=Math.min(N.length,$);for(let E=p;E<$;++E)T+=String.fromCharCode(N[E]&127);return T}function ke(N,p,$){let T=``;$=Math.min(N.length,$);for(let E=p;E<$;++E)T+=String.fromCharCode(N[E]);return T}function He(N,p,$){let T=N.length;(!p||p<0)&&(p=0),(!$||$<0||$>T)&&($=T);let E=``;for(let A=p;A<$;++A)E+=qe[N[A]];return E}function We(N,p,$){let T=N.slice(p,$),E=``;for(let A=0;A<T.length-1;A+=2)E+=String.fromCharCode(T[A]+T[A+1]*256);return E}S.prototype.slice=function(p,$){let T=this.length;p=~~p,$=$===void 0?T:~~$,p<0?(p+=T,p<0&&(p=0)):p>T&&(p=T),$<0?($+=T,$<0&&($=0)):$>T&&($=T),$<p&&($=p);let E=this.subarray(p,$);return Object.setPrototypeOf(E,S.prototype),E};function B(N,p,$){if(N%1!=0||N<0)throw RangeError(`offset is not uint`);if(N+p>$)throw RangeError(`Trying to access beyond buffer length`)}S.prototype.readUintLE=S.prototype.readUIntLE=function(p,$,T){p>>>=0,$>>>=0,T||B(p,$,this.length);let E=this[p],A=1,P$1=0;for(;++P$1<$&&(A*=256);)E+=this[p+P$1]*A;return E},S.prototype.readUintBE=S.prototype.readUIntBE=function(p,$,T){p>>>=0,$>>>=0,T||B(p,$,this.length);let E=this[p+--$],A=1;for(;$>0&&(A*=256);)E+=this[p+--$]*A;return E},S.prototype.readUint8=S.prototype.readUInt8=function(p,$){return p>>>=0,$||B(p,1,this.length),this[p]},S.prototype.readUint16LE=S.prototype.readUInt16LE=function(p,$){return p>>>=0,$||B(p,2,this.length),this[p]|this[p+1]<<8},S.prototype.readUint16BE=S.prototype.readUInt16BE=function(p,$){return p>>>=0,$||B(p,2,this.length),this[p]<<8|this[p+1]},S.prototype.readUint32LE=S.prototype.readUInt32LE=function(p,$){return p>>>=0,$||B(p,4,this.length),(this[p]|this[p+1]<<8|this[p+2]<<16)+this[p+3]*16777216},S.prototype.readUint32BE=S.prototype.readUInt32BE=function(p,$){return p>>>=0,$||B(p,4,this.length),this[p]*16777216+(this[p+1]<<16|this[p+2]<<8|this[p+3])},S.prototype.readBigUInt64LE=Q(function(p){p>>>=0,ae(p,`offset`);let $=this[p],T=this[p+7];($===void 0||T===void 0)&&ue(p,this.length-8);let E=$+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24,A=this[++p]+this[++p]*2**8+this[++p]*2**16+T*2**24;return BigInt(E)+(BigInt(A)<<BigInt(32))}),S.prototype.readBigUInt64BE=Q(function(p){p>>>=0,ae(p,`offset`);let $=this[p],T=this[p+7];($===void 0||T===void 0)&&ue(p,this.length-8);let E=$*2**24+this[++p]*2**16+this[++p]*2**8+this[++p],A=this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+T;return(BigInt(E)<<BigInt(32))+BigInt(A)}),S.prototype.readIntLE=function(p,$,T){p>>>=0,$>>>=0,T||B(p,$,this.length);let E=this[p],A=1,P$1=0;for(;++P$1<$&&(A*=256);)E+=this[p+P$1]*A;return A*=128,E>=A&&(E-=2**(8*$)),E},S.prototype.readIntBE=function(p,$,T){p>>>=0,$>>>=0,T||B(p,$,this.length);let E=$,A=1,P$1=this[p+--E];for(;E>0&&(A*=256);)P$1+=this[p+--E]*A;return A*=128,P$1>=A&&(P$1-=2**(8*$)),P$1},S.prototype.readInt8=function(p,$){return p>>>=0,$||B(p,1,this.length),this[p]&128?(255-this[p]+1)*-1:this[p]},S.prototype.readInt16LE=function(p,$){p>>>=0,$||B(p,2,this.length);let T=this[p]|this[p+1]<<8;return T&32768?T|4294901760:T},S.prototype.readInt16BE=function(p,$){p>>>=0,$||B(p,2,this.length);let T=this[p+1]|this[p]<<8;return T&32768?T|4294901760:T},S.prototype.readInt32LE=function(p,$){return p>>>=0,$||B(p,4,this.length),this[p]|this[p+1]<<8|this[p+2]<<16|this[p+3]<<24},S.prototype.readInt32BE=function(p,$){return p>>>=0,$||B(p,4,this.length),this[p]<<24|this[p+1]<<16|this[p+2]<<8|this[p+3]},S.prototype.readBigInt64LE=Q(function(p){p>>>=0,ae(p,`offset`);let $=this[p],T=this[p+7];($===void 0||T===void 0)&&ue(p,this.length-8);let E=this[p+4]+this[p+5]*2**8+this[p+6]*2**16+(T<<24);return(BigInt(E)<<BigInt(32))+BigInt($+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24)}),S.prototype.readBigInt64BE=Q(function(p){p>>>=0,ae(p,`offset`);let $=this[p],T=this[p+7];($===void 0||T===void 0)&&ue(p,this.length-8);let E=($<<24)+this[++p]*2**16+this[++p]*2**8+this[++p];return(BigInt(E)<<BigInt(32))+BigInt(this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+T)}),S.prototype.readFloatLE=function(p,$){return p>>>=0,$||B(p,4,this.length),r.read(this,p,!0,23,4)},S.prototype.readFloatBE=function(p,$){return p>>>=0,$||B(p,4,this.length),r.read(this,p,!1,23,4)},S.prototype.readDoubleLE=function(p,$){return p>>>=0,$||B(p,8,this.length),r.read(this,p,!0,52,8)},S.prototype.readDoubleBE=function(p,$){return p>>>=0,$||B(p,8,this.length),r.read(this,p,!1,52,8)};function k(N,p,$,T,E,A){if(!S.isBuffer(N))throw TypeError(`"buffer" argument must be a Buffer instance`);if(p>E||p<A)throw RangeError(`"value" argument is out of bounds`);if($+T>N.length)throw RangeError(`Index out of range`)}S.prototype.writeUintLE=S.prototype.writeUIntLE=function(p,$,T,E){if(p=+p,$>>>=0,T>>>=0,!E){let D=2**(8*T)-1;k(this,p,$,T,D,0)}let A=1,P$1=0;for(this[$]=p&255;++P$1<T&&(A*=256);)this[$+P$1]=p/A&255;return $+T},S.prototype.writeUintBE=S.prototype.writeUIntBE=function(p,$,T,E){if(p=+p,$>>>=0,T>>>=0,!E){let D=2**(8*T)-1;k(this,p,$,T,D,0)}let A=T-1,P$1=1;for(this[$+A]=p&255;--A>=0&&(P$1*=256);)this[$+A]=p/P$1&255;return $+T},S.prototype.writeUint8=S.prototype.writeUInt8=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,1,255,0),this[$]=p&255,$+1},S.prototype.writeUint16LE=S.prototype.writeUInt16LE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,2,65535,0),this[$]=p&255,this[$+1]=p>>>8,$+2},S.prototype.writeUint16BE=S.prototype.writeUInt16BE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,2,65535,0),this[$]=p>>>8,this[$+1]=p&255,$+2},S.prototype.writeUint32LE=S.prototype.writeUInt32LE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,4,4294967295,0),this[$+3]=p>>>24,this[$+2]=p>>>16,this[$+1]=p>>>8,this[$]=p&255,$+4},S.prototype.writeUint32BE=S.prototype.writeUInt32BE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,4,4294967295,0),this[$]=p>>>24,this[$+1]=p>>>16,this[$+2]=p>>>8,this[$+3]=p&255,$+4};function Ae(N,p,$,T,E){Re(p,T,E,N,$,7);let A=Number(p&BigInt(4294967295));N[$++]=A,A>>=8,N[$++]=A,A>>=8,N[$++]=A,A>>=8,N[$++]=A;let P$1=Number(p>>BigInt(32)&BigInt(4294967295));return N[$++]=P$1,P$1>>=8,N[$++]=P$1,P$1>>=8,N[$++]=P$1,P$1>>=8,N[$++]=P$1,$}function Ce(N,p,$,T,E){Re(p,T,E,N,$,7);let A=Number(p&BigInt(4294967295));N[$+7]=A,A>>=8,N[$+6]=A,A>>=8,N[$+5]=A,A>>=8,N[$+4]=A;let P$1=Number(p>>BigInt(32)&BigInt(4294967295));return N[$+3]=P$1,P$1>>=8,N[$+2]=P$1,P$1>>=8,N[$+1]=P$1,P$1>>=8,N[$]=P$1,$+8}S.prototype.writeBigUInt64LE=Q(function(p,$=0){return Ae(this,p,$,BigInt(0),BigInt(`0xffffffffffffffff`))}),S.prototype.writeBigUInt64BE=Q(function(p,$=0){return Ce(this,p,$,BigInt(0),BigInt(`0xffffffffffffffff`))}),S.prototype.writeIntLE=function(p,$,T,E){if(p=+p,$>>>=0,!E){let v=2**(8*T-1);k(this,p,$,T,v-1,-v)}let A=0,P$1=1,D=0;for(this[$]=p&255;++A<T&&(P$1*=256);)p<0&&D===0&&this[$+A-1]!==0&&(D=1),this[$+A]=(p/P$1>>0)-D&255;return $+T},S.prototype.writeIntBE=function(p,$,T,E){if(p=+p,$>>>=0,!E){let v=2**(8*T-1);k(this,p,$,T,v-1,-v)}let A=T-1,P$1=1,D=0;for(this[$+A]=p&255;--A>=0&&(P$1*=256);)p<0&&D===0&&this[$+A+1]!==0&&(D=1),this[$+A]=(p/P$1>>0)-D&255;return $+T},S.prototype.writeInt8=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,1,127,-128),p<0&&(p=255+p+1),this[$]=p&255,$+1},S.prototype.writeInt16LE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,2,32767,-32768),this[$]=p&255,this[$+1]=p>>>8,$+2},S.prototype.writeInt16BE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,2,32767,-32768),this[$]=p>>>8,this[$+1]=p&255,$+2},S.prototype.writeInt32LE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,4,2147483647,-2147483648),this[$]=p&255,this[$+1]=p>>>8,this[$+2]=p>>>16,this[$+3]=p>>>24,$+4},S.prototype.writeInt32BE=function(p,$,T){return p=+p,$>>>=0,T||k(this,p,$,4,2147483647,-2147483648),p<0&&(p=4294967295+p+1),this[$]=p>>>24,this[$+1]=p>>>16,this[$+2]=p>>>8,this[$+3]=p&255,$+4},S.prototype.writeBigInt64LE=Q(function(p,$=0){return Ae(this,p,$,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),S.prototype.writeBigInt64BE=Q(function(p,$=0){return Ce(this,p,$,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function Pe(N,p,$,T,E,A){if($+T>N.length||$<0)throw RangeError(`Index out of range`)}function Oe(N,p,$,T,E){return p=+p,$>>>=0,E||Pe(N,p,$,4),r.write(N,p,$,T,23,4),$+4}S.prototype.writeFloatLE=function(p,$,T){return Oe(this,p,$,!0,T)},S.prototype.writeFloatBE=function(p,$,T){return Oe(this,p,$,!1,T)};function Ie(N,p,$,T,E){return p=+p,$>>>=0,E||Pe(N,p,$,8),r.write(N,p,$,T,52,8),$+8}S.prototype.writeDoubleLE=function(p,$,T){return Ie(this,p,$,!0,T)},S.prototype.writeDoubleBE=function(p,$,T){return Ie(this,p,$,!1,T)},S.prototype.copy=function(p,$,T,E){if(!S.isBuffer(p))throw TypeError(`argument should be a Buffer`);if(T||=0,!E&&E!==0&&(E=this.length),$>=p.length&&($=p.length),$||=0,E>0&&E<T&&(E=T),E===T||p.length===0||this.length===0)return 0;if($<0)throw RangeError(`targetStart out of bounds`);if(T<0||T>=this.length)throw RangeError(`Index out of range`);if(E<0)throw RangeError(`sourceEnd out of bounds`);E>this.length&&(E=this.length),p.length-$<E-T&&(E=p.length-$+T);let A=E-T;return this===p&&typeof Uint8Array.prototype.copyWithin==`function`?this.copyWithin($,T,E):Uint8Array.prototype.set.call(p,this.subarray(T,E),$),A},S.prototype.fill=function(p,$,T,E){if(typeof p==`string`){if(typeof $==`string`?(E=$,$=0,T=this.length):typeof T==`string`&&(E=T,T=this.length),E!==void 0&&typeof E!=`string`)throw TypeError(`encoding must be a string`);if(typeof E==`string`&&!S.isEncoding(E))throw TypeError(`Unknown encoding: `+E);if(p.length===1){let P$1=p.charCodeAt(0);(E===`utf8`&&P$1<128||E===`latin1`)&&(p=P$1)}}else typeof p==`number`?p&=255:typeof p==`boolean`&&(p=Number(p));if($<0||this.length<$||this.length<T)throw RangeError(`Out of range index`);if(T<=$)return this;$>>>=0,T=T===void 0?this.length:T>>>0,p||=0;let A;if(typeof p==`number`)for(A=$;A<T;++A)this[A]=p;else{let P$1=S.isBuffer(p)?p:S.from(p,E),D=P$1.length;if(D===0)throw TypeError(`The value "`+p+`" is invalid for argument "value"`);for(A=0;A<T-$;++A)this[A+$]=P$1[A%D]}return this};let ie={};function $e(N,p,$){ie[N]=class extends ${constructor(){super(),Object.defineProperty(this,`message`,{value:p.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${N}]`,this.stack,delete this.name}get code(){return N}set code(E){Object.defineProperty(this,`code`,{configurable:!0,enumerable:!0,value:E,writable:!0})}toString(){return`${this.name} [${N}]: ${this.message}`}}}$e(`ERR_BUFFER_OUT_OF_BOUNDS`,function(N){return N?`${N} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),$e(`ERR_INVALID_ARG_TYPE`,function(N,p){return`The "${N}" argument must be of type number. Received type ${typeof p}`},TypeError),$e(`ERR_OUT_OF_RANGE`,function(N,p,$){let T=`The value of "${N}" is out of range.`,E=$;return Number.isInteger($)&&Math.abs($)>2**32?E=Ue(String($)):typeof $==`bigint`&&(E=String($),($>BigInt(2)**BigInt(32)||$<-(BigInt(2)**BigInt(32)))&&(E=Ue(E)),E+=`n`),T+=` It must be ${p}. Received ${E}`,T},RangeError);function Ue(N){let p=``,$=N.length,T=N[0]===`-`?1:0;for(;$>=T+4;$-=3)p=`_${N.slice($-3,$)}${p}`;return`${N.slice(0,$)}${p}`}function Ye(N,p,$){ae(p,`offset`),(N[p]===void 0||N[p+$]===void 0)&&ue(p,N.length-($+1))}function Re(N,p,$,T,E,A){if(N>$||N<p){let P$1=typeof p==`bigint`?`n`:``,D;throw D=p===0||p===BigInt(0)?`>= 0${P$1} and < 2${P$1} ** ${(A+1)*8}${P$1}`:`>= -(2${P$1} ** ${(A+1)*8-1}${P$1}) and < 2 ** ${(A+1)*8-1}${P$1}`,new ie.ERR_OUT_OF_RANGE(`value`,D,N)}Ye(T,E,A)}function ae(N,p){if(typeof N!=`number`)throw new ie.ERR_INVALID_ARG_TYPE(p,`number`,N)}function ue(N,p,$){throw Math.floor(N)===N?p<0?new ie.ERR_BUFFER_OUT_OF_BOUNDS:new ie.ERR_OUT_OF_RANGE(`offset`,`>= 0 and <= ${p}`,N):(ae(N,$),new ie.ERR_OUT_OF_RANGE(`offset`,`an integer`,N))}let je=/[^+/0-9A-Za-z-_]/g;function ze(N){if(N=N.split(`=`)[0],N=N.trim().replace(je,``),N.length<2)return``;for(;N.length%4!=0;)N+=`=`;return N}function ye(N,p){p||=1/0;let $,T=N.length,E=null,A=[];for(let P$1=0;P$1<T;++P$1){if($=N.charCodeAt(P$1),$>55295&&$<57344){if(!E){if($>56319){(p-=3)>-1&&A.push(239,191,189);continue}else if(P$1+1===T){(p-=3)>-1&&A.push(239,191,189);continue}E=$;continue}if($<56320){(p-=3)>-1&&A.push(239,191,189),E=$;continue}$=(E-55296<<10|$-56320)+65536}else E&&(p-=3)>-1&&A.push(239,191,189);if(E=null,$<128){if(--p<0)break;A.push($)}else if($<2048){if((p-=2)<0)break;A.push($>>6|192,$&63|128)}else if($<65536){if((p-=3)<0)break;A.push($>>12|224,$>>6&63|128,$&63|128)}else if($<1114112){if((p-=4)<0)break;A.push($>>18|240,$>>12&63|128,$>>6&63|128,$&63|128)}else throw Error(`Invalid code point`)}return A}function Ze(N){let p=[];for(let $=0;$<N.length;++$)p.push(N.charCodeAt($)&255);return p}function Ke(N,p){let $,T,E,A=[];for(let P$1=0;P$1<N.length&&!((p-=2)<0);++P$1)$=N.charCodeAt(P$1),T=$>>8,E=$%256,A.push(E),A.push(T);return A}function Me(N){return o.toByteArray(ze(N))}function he(N,p,$,T){let E;for(E=0;E<T&&!(E+$>=p.length||E>=N.length);++E)p[E+$]=N[E];return E}function J(N,p){return N instanceof p||N!=null&&N.constructor!=null&&N.constructor.name!=null&&N.constructor.name===p.name}function Se(N){return N!==N}let qe=function(){let N=`0123456789abcdef`,p=Array(256);for(let $=0;$<16;++$){let T=$*16;for(let E=0;E<16;++E)p[T+E]=N[$]+N[E]}return p}();function Q(N){return typeof BigInt>`u`?Je:N}function Je(){throw Error(`BigInt not supported`)}}(buffer);var z,H,Z,V,se,le,W,Le,Fe,be,we,ve;const Te=class Te$1{constructor(o,r){ee(this,W),ee(this,z),ee(this,H),ee(this,Z),ee(this,V),ee(this,se,!1),ee(this,le,`INVALID`),X(this,z,String(o).replace(/\D/g,``));let u=typeof r==`string`?r.trim().toUpperCase():`XX`;X(this,H,isos.has(u)?u:`XX`),X(this,Z,libphonenumberExports.PhoneNumberUtil.getInstance()),M(this,H)===`XX`&&X(this,H,ne(this,W,Le).call(this,M(this,z)));try{X(this,V,M(this,Z).parseAndKeepRawInput(M(this,z),M(this,H)))}catch{}if(M(this,V))try{X(this,se,M(this,Z).isValidNumber(M(this,V))),X(this,le,ne(this,W,we).call(this,M(this,V)))}catch{}M(this,se)===!0&&nanpaCountries.includes(M(this,H))&&X(this,H,ne(this,W,ve).call(this))}get country(){return M(this,H)}get valid(){return M(this,se)}get type(){return M(this,le)}get mobile(){return typeof this.type==`string`&&[`MOBILE`,`FIXED_LINE_OR_MOBILE`].includes(this.type)}get raw(){return M(this,V)?M(this,Z).format(M(this,V),libphonenumberExports.PhoneNumberFormat.E164).replace(/\D/g,``):M(this,z)}get national(){return M(this,V)?M(this,Z).format(M(this,V),libphonenumberExports.PhoneNumberFormat.NATIONAL):M(this,z)}get international(){return M(this,V)?M(this,Z).format(M(this,V),libphonenumberExports.PhoneNumberFormat.INTERNATIONAL):M(this,z)}get e164(){return M(this,V)?M(this,Z).format(M(this,V),libphonenumberExports.PhoneNumberFormat.E164):M(this,z)}get timezone(){return timezones.has(M(this,H))?timezones.get(M(this,H)):`UTC`}toObject(){return{phone:M(this,z),country:M(this,H),valid:this.valid,type:this.type,mobile:this.mobile,raw:this.raw,national:this.national,international:this.international,e164:this.e164,timezone:this.timezone}}toJSON(){return this.toObject()}toString(){return this.e164}inspect(){return`Phone {
33
+ phone: ${M(this,z)},
34
+ country: ${M(this,H)},
35
+ valid: ${this.valid===!0?`true`:`false`},
36
+ type: ${this.type},
37
+ mobile: ${this.mobile===!0?`true`:`false`},
38
+ raw: ${this.raw},
39
+ national: ${this.national},
40
+ international: ${this.international},
41
+ e164: ${this.e164},
42
+ timezone: ${this.timezone},
43
+ }`}serialize(){let o=buffer.Buffer.from(JSON.stringify({phone:this.raw,country:this.country})).toString(`base64`);return buffer.Buffer.from(JSON.stringify({phone:this.raw,country:this.country,hash:o})).toString(`base64`)}static deserialize(o){let r;try{r=buffer.Buffer.from(o,`base64`).toString(`utf-8`)}catch{throw Error(`Not a valid serialized phone object`)}let u;try{u=JSON.parse(r)}catch{throw Error(`Not a valid serialized phone object`)}if(!u.phone||!u.country||!u.hash||buffer.Buffer.from(JSON.stringify({phone:u.phone,country:u.country})).toString(`base64`)!==u.hash)throw Error(`Not a valid serialized phone object`);return new Te$1(u.phone,u.country===`XX`?void 0:u.country)}};z=new WeakMap,H=new WeakMap,Z=new WeakMap,V=new WeakMap,se=new WeakMap,le=new WeakMap,W=new WeakSet,Le=function(o){let r=country_telephone_data.allCountries.map(u=>({iso:u.iso2.toUpperCase(),prefix:String(u.dialCode).trim().replace(/\D/g,``)})).filter(u=>o.substring(0,u.prefix.length)===u.prefix).sort(ne(this,W,be)).filter(u=>{let h=this.constructor;return new h(o,u.iso).valid});return r.length>=1?r[0].iso:ne(this,W,Fe).call(this,o)},Fe=function(o){let r=country_telephone_data.allCountries.map(u=>({iso:u.iso2.toUpperCase(),prefix:String(u.dialCode).trim().replace(/\D/g,``)})).sort(ne(this,W,be)).filter(u=>{let h=this.constructor;return new h(o,u.iso).valid});return r.length>=1?r[0].iso:`XX`},be=function(o,r){if(o.prefix.length===r.prefix.length){let u=Number.parseInt(o.prefix),h=Number.parseInt(r.prefix);return u===h?o.iso.localeCompare(r.iso):u>h?1:-1}return o.prefix.length>r.prefix.length?1:-1},we=function(o){if(!o)return`INVALID`;let r=M(this,Z).getNumberType(o),u=Object.values(libphonenumberExports.PhoneNumberType),h=Object.keys(libphonenumberExports.PhoneNumberType),m=u.indexOf(r);return h[m]||`INVALID`},ve=function(){let o=this.raw.substring(1,4);return areaCodeMap[o]&&typeof areaCodeMap[o]==`string`?areaCodeMap[o]:`XX`};let Phone=Te;const version$1=`1.20250512.0`,messages$1={"phone.base":`{{#label}} must be a phone number`,"phone.fixedLine":`{{#label}} must be a fixed line number`,"phone.mobile":`{{#label}} must be a mobile number`,"phone.strictFixedLine":`{{#label}} must be a fixed line number only`,"phone.strictMobile":`{{#label}} must be a mobile number only`,"phone.fixedLineOrMobile":`{{#label}} must be a fixed line or mobile number`,"phone.tollFree":`{{#label}} must be a toll-free number`,"phone.premiumRate":`{{#label}} must be a premium rate number`,"phone.sharedCost":`{{#label}} must be a shared cost number`,"phone.voip":`{{#label}} must be a VoIP number`,"phone.personalNumber":`{{#label}} must be a personal number`,"phone.pager":`{{#label}} must be a pager number`,"phone.uan":`{{#label}} must be a UAN number`,"phone.voicemail":`{{#label}} must be a voicemail number`,"phone.unknown":`{{#label}} must be an unknown type number`,"phone.types":`{{#label}} must be one of the specified phone types`},coerceCountry=value=>{if(typeof value!=`string`)return null;if(isos.has(value.toUpperCase()))return value.toUpperCase();let match$2=null;return countries.forEach((name$1,iso)=>{name$1.toLowerCase()===value.toLowerCase()&&(match$2=iso)}),match$2},getPhoneObject=(value,country)=>{let countryCoerced=coerceCountry(country);try{return new Phone(value,countryCoerced||void 0)}catch{return}},isValidPhone=(value,country)=>{let pObj=getPhoneObject(value,country);return!!(pObj&&pObj.valid)},evaluate=(value,operator,args$1)=>{switch(operator){case`fixedLine`:return[`FIXED_LINE`,`FIXED_LINE_OR_MOBILE`].includes(value.type);case`mobile`:return[`MOBILE`,`FIXED_LINE_OR_MOBILE`].includes(value.type);case`fixedLineOrMobile`:return[`FIXED_LINE`,`MOBILE`,`FIXED_LINE_OR_MOBILE`].includes(value.type);case`strictFixedLine`:return value.type===`FIXED_LINE`;case`strictMobile`:return value.type===`MOBILE`;case`tollFree`:return value.type===`TOLL_FREE`;case`premiumRate`:return value.type===`PREMIUM_RATE`;case`sharedCost`:return value.type===`SHARED_COST`;case`voip`:return value.type===`VOIP`;case`personalNumber`:return value.type===`PERSONAL_NUMBER`;case`pager`:return value.type===`PAGER`;case`uan`:return value.type===`UAN`;case`voicemail`:return value.type===`VOICEMAIL`;case`unknown`:return value.type===`UNKNOWN`;case`types`:return args$1[0].includes(value.type);default:return!1}},phone=function(joi){let coerce$3=(value,helpers)=>typeof value==`string`||typeof value==`number`?(value=value.toString().trim(),{value}):{value,errors:[helpers.error(`phone.base`,{value:String(value)})]};return{type:`phone`,base:joi.any(),validate(value,{error,schema,prefs,state}){let arg=schema.$_getFlag(`country`),country=joi.isRef(arg)?arg.resolve(value,state,prefs):arg;if(!isValidPhone(value,country))return{value,errors:[error(`phone.base`,{value:String(value)})]};let pObj=getPhoneObject(value,country),as=schema.$_getFlag(`as`)||`e164`,formattedValue;switch(as){case`e164`:formattedValue=pObj.e164;break;case`international`:formattedValue=pObj.international;break;case`national`:formattedValue=pObj.national;break;case`raw`:formattedValue=pObj.raw;break;case`timezone`:formattedValue=pObj.timezone;break;case`type`:formattedValue=pObj.type;break;case`country`:formattedValue=pObj.country;break;default:formattedValue=pObj.e164}return{value:formattedValue}},flags:{country:{default:null,setter:`country`},as:{default:`e164`,setter:`format`}},args(...args$1){let[schema,country]=args$1;return schema.country(country)},coerce:{from:[`string`,`number`],method:coerce$3},rules:{check:{method:!1,validate(value,helpers,args$1,{name:name$1,operator}){let{state,prefs}=helpers,countryVal=helpers.schema.$_getFlag(`country`);joi.isRef(countryVal)&&(countryVal=countryVal.resolve(value,state,prefs));let pObj=getPhoneObject(value,countryVal);if(!pObj||!pObj.valid)return helpers.error(`phone.base`,{value:String(value)});let valid$2=evaluate(pObj,operator,Object.values(args$1||{}));return valid$2?value:helpers.error(`phone.`+name$1,{value:value.toString(),...args$1})}},country:{method(country){return this.$_setFlag(`country`,country)},args:[{name:`country`,ref:!0,assert:value=>typeof value==`string`||joi.isRef(value),message:`must be a string or a reference`}]},format:{method(as){return this.$_setFlag(`as`,as)},args:[{name:`as`,assert:value=>[`e164`,`international`,`national`,`raw`,`timezone`,`type`,`country`].includes(value),message:`must be one of e164, international, national, raw, timezone, type, or country`}]},fixedLine:{method(){return this.$_addRule({name:`fixedLine`,method:`check`,operator:`fixedLine`})}},mobile:{method(){return this.$_addRule({name:`mobile`,method:`check`,operator:`mobile`})}},strictFixedLine:{method(){return this.$_addRule({name:`strictFixedLine`,method:`check`,operator:`strictFixedLine`})}},strictMobile:{method(){return this.$_addRule({name:`strictMobile`,method:`check`,operator:`strictMobile`})}},fixedLineOrMobile:{method(){return this.$_addRule({name:`fixedLineOrMobile`,method:`check`,operator:`fixedLineOrMobile`})}},tollFree:{method(){return this.$_addRule({name:`tollFree`,method:`check`,operator:`tollFree`})}},premiumRate:{method(){return this.$_addRule({name:`premiumRate`,method:`check`,operator:`premiumRate`})}},sharedCost:{method(){return this.$_addRule({name:`sharedCost`,method:`check`,operator:`sharedCost`})}},voip:{method(){return this.$_addRule({name:`voip`,method:`check`,operator:`voip`})}},personalNumber:{method(){return this.$_addRule({name:`personalNumber`,method:`check`,operator:`personalNumber`})}},pager:{method(){return this.$_addRule({name:`pager`,method:`check`,operator:`pager`})}},uan:{method(){return this.$_addRule({name:`uan`,method:`check`,operator:`uan`})}},voicemail:{method(){return this.$_addRule({name:`voicemail`,method:`check`,operator:`voicemail`})}},unknown:{method(){return this.$_addRule({name:`unknown`,method:`check`,operator:`unknown`})}},types:{method(...types$1){return this.$_addRule({name:`types`,method:`check`,operator:`types`,args:{types:types$1}})}}},cast:{string:{from:value=>typeof value==`string`||typeof value==`number`,to:value=>value},number:{from:value=>typeof value==`string`||typeof value==`number`,to(value,helpers){let country=helpers.schema.$_getFlag(`country`),pObj=getPhoneObject(value,country);return pObj?Number(pObj.raw):-1}},object:{from:value=>typeof value==`string`||typeof value==`number`,to(value,helpers){let country=helpers.schema.$_getFlag(`country`),pObj=getPhoneObject(value,country);return pObj?pObj.toObject():{}}}},messages:messages$1}};var DP=20,RM=1,MAX_DP=1e6,MAX_POWER=1e6,NE=-7,PE=21,STRICT=!1,NAME=`[big.js] `,INVALID$3=NAME+`Invalid `,INVALID_DP=INVALID$3+`decimal places`,INVALID_RM=INVALID$3+`rounding mode`,DIV_BY_ZERO=NAME+`Division by zero`,P={},UNDEFINED=void 0,NUMERIC=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big$1(n$2){var x$1=this;if(!(x$1 instanceof Big$1))return n$2===UNDEFINED&&arguments.length===0?_Big_():new Big$1(n$2);if(n$2 instanceof Big$1)x$1.s=n$2.s,x$1.e=n$2.e,x$1.c=n$2.c.slice();else{if(typeof n$2!=`string`){if(Big$1.strict===!0&&typeof n$2!=`bigint`)throw TypeError(INVALID$3+`value`);n$2=n$2===0&&1/n$2<0?`-0`:String(n$2)}parse$8(x$1,n$2)}x$1.constructor=Big$1}return Big$1.prototype=P,Big$1.DP=DP,Big$1.RM=RM,Big$1.NE=NE,Big$1.PE=PE,Big$1.strict=STRICT,Big$1.roundDown=0,Big$1.roundHalfUp=1,Big$1.roundHalfEven=2,Big$1.roundUp=3,Big$1}function parse$8(x$1,n$2){var e,i$4,nl;if(!NUMERIC.test(n$2))throw Error(INVALID$3+`number`);for(x$1.s=n$2.charAt(0)==`-`?(n$2=n$2.slice(1),-1):1,(e=n$2.indexOf(`.`))>-1&&(n$2=n$2.replace(`.`,``)),(i$4=n$2.search(/e/i))>0?(e<0&&(e=i$4),e+=+n$2.slice(i$4+1),n$2=n$2.substring(0,i$4)):e<0&&(e=n$2.length),nl=n$2.length,i$4=0;i$4<nl&&n$2.charAt(i$4)==`0`;)++i$4;if(i$4==nl)x$1.c=[x$1.e=0];else{for(;nl>0&&n$2.charAt(--nl)==`0`;);for(x$1.e=e-i$4-1,x$1.c=[],e=0;i$4<=nl;)x$1.c[e++]=+n$2.charAt(i$4++)}return x$1}function round(x$1,sd,rm,more){var xc=x$1.c;if(rm===UNDEFINED&&(rm=x$1.constructor.RM),rm!==0&&rm!==1&&rm!==2&&rm!==3)throw Error(INVALID_RM);if(sd<1)more=rm===3&&(more||!!xc[0])||sd===0&&(rm===1&&xc[0]>=5||rm===2&&(xc[0]>5||xc[0]===5&&(more||xc[1]!==UNDEFINED))),xc.length=1,more?(x$1.e=x$1.e-sd+1,xc[0]=1):xc[0]=x$1.e=0;else if(sd<xc.length){if(more=rm===1&&xc[sd]>=5||rm===2&&(xc[sd]>5||xc[sd]===5&&(more||xc[sd+1]!==UNDEFINED||xc[sd-1]&1))||rm===3&&(more||!!xc[0]),xc.length=sd,more){for(;++xc[--sd]>9;)if(xc[sd]=0,sd===0){++x$1.e,xc.unshift(1);break}}for(sd=xc.length;!xc[--sd];)xc.pop()}return x$1}function stringify$1(x$1,doExponential,isNonzero){var e=x$1.e,s$2=x$1.c.join(``),n$2=s$2.length;if(doExponential)s$2=s$2.charAt(0)+(n$2>1?`.`+s$2.slice(1):``)+(e<0?`e`:`e+`)+e;else if(e<0){for(;++e;)s$2=`0`+s$2;s$2=`0.`+s$2}else if(e>0)if(++e>n$2)for(e-=n$2;e--;)s$2+=`0`;else e<n$2&&(s$2=s$2.slice(0,e)+`.`+s$2.slice(e));else n$2>1&&(s$2=s$2.charAt(0)+`.`+s$2.slice(1));return x$1.s<0&&isNonzero?`-`+s$2:s$2}P.abs=function(){var x$1=new this.constructor(this);return x$1.s=1,x$1},P.cmp=function(y){var isneg,x$1=this,xc=x$1.c,yc=(y=new x$1.constructor(y)).c,i$4=x$1.s,j$1=y.s,k=x$1.e,l$2=y.e;if(!xc[0]||!yc[0])return xc[0]?i$4:yc[0]?-j$1:0;if(i$4!=j$1)return i$4;if(isneg=i$4<0,k!=l$2)return k>l$2^isneg?1:-1;for(j$1=(k=xc.length)<(l$2=yc.length)?k:l$2,i$4=-1;++i$4<j$1;)if(xc[i$4]!=yc[i$4])return xc[i$4]>yc[i$4]^isneg?1:-1;return k==l$2?0:k>l$2^isneg?1:-1},P.div=function(y){var x$1=this,Big$1=x$1.constructor,a=x$1.c,b=(y=new Big$1(y)).c,k=x$1.s==y.s?1:-1,dp=Big$1.DP;if(dp!==~~dp||dp<0||dp>MAX_DP)throw Error(INVALID_DP);if(!b[0])throw Error(DIV_BY_ZERO);if(!a[0])return y.s=k,y.c=[y.e=0],y;var bl,bt,n$2,cmp$3,ri,bz=b.slice(),ai=bl=b.length,al=a.length,r=a.slice(0,bl),rl=r.length,q=y,qc=q.c=[],qi=0,p=dp+(q.e=x$1.e-y.e)+1;for(q.s=k,k=p<0?0:p,bz.unshift(0);rl++<bl;)r.push(0);do{for(n$2=0;n$2<10;n$2++){if(bl!=(rl=r.length))cmp$3=bl>rl?1:-1;else for(ri=-1,cmp$3=0;++ri<bl;)if(b[ri]!=r[ri]){cmp$3=b[ri]>r[ri]?1:-1;break}if(cmp$3<0){for(bt=rl==bl?b:bz;rl;){if(r[--rl]<bt[rl]){for(ri=rl;ri&&!r[--ri];)r[ri]=9;--r[ri],r[rl]+=10}r[rl]-=bt[rl]}for(;!r[0];)r.shift()}else break}qc[qi++]=cmp$3?n$2:++n$2,r[0]&&cmp$3?r[rl]=a[ai]||0:r=[a[ai]]}while((ai++<al||r[0]!==UNDEFINED)&&k--);return!qc[0]&&qi!=1&&(qc.shift(),q.e--,p--),qi>p&&round(q,p,Big$1.RM,r[0]!==UNDEFINED),q},P.eq=function(y){return this.cmp(y)===0},P.gt=function(y){return this.cmp(y)>0},P.gte=function(y){return this.cmp(y)>-1},P.lt=function(y){return this.cmp(y)<0},P.lte=function(y){return this.cmp(y)<1},P.minus=P.sub=function(y){var i$4,j$1,t$5,xlty,x$1=this,Big$1=x$1.constructor,a=x$1.s,b=(y=new Big$1(y)).s;if(a!=b)return y.s=-b,x$1.plus(y);var xc=x$1.c.slice(),xe=x$1.e,yc=y.c,ye=y.e;if(!xc[0]||!yc[0])return yc[0]?y.s=-b:xc[0]?y=new Big$1(x$1):y.s=1,y;if(a=xe-ye){for((xlty=a<0)?(a=-a,t$5=xc):(ye=xe,t$5=yc),t$5.reverse(),b=a;b--;)t$5.push(0);t$5.reverse()}else for(j$1=((xlty=xc.length<yc.length)?xc:yc).length,a=b=0;b<j$1;b++)if(xc[b]!=yc[b]){xlty=xc[b]<yc[b];break}if(xlty&&(t$5=xc,xc=yc,yc=t$5,y.s=-y.s),(b=(j$1=yc.length)-(i$4=xc.length))>0)for(;b--;)xc[i$4++]=0;for(b=i$4;j$1>a;){if(xc[--j$1]<yc[j$1]){for(i$4=j$1;i$4&&!xc[--i$4];)xc[i$4]=9;--xc[i$4],xc[j$1]+=10}xc[j$1]-=yc[j$1]}for(;xc[--b]===0;)xc.pop();for(;xc[0]===0;)xc.shift(),--ye;return xc[0]||(y.s=1,xc=[ye=0]),y.c=xc,y.e=ye,y},P.mod=function(y){var ygtx,x$1=this,Big$1=x$1.constructor,a=x$1.s,b=(y=new Big$1(y)).s;if(!y.c[0])throw Error(DIV_BY_ZERO);return x$1.s=y.s=1,ygtx=y.cmp(x$1)==1,x$1.s=a,y.s=b,ygtx?new Big$1(x$1):(a=Big$1.DP,b=Big$1.RM,Big$1.DP=Big$1.RM=0,x$1=x$1.div(y),Big$1.DP=a,Big$1.RM=b,this.minus(x$1.times(y)))},P.neg=function(){var x$1=new this.constructor(this);return x$1.s=-x$1.s,x$1},P.plus=P.add=function(y){var e,k,t$5,x$1=this,Big$1=x$1.constructor;if(y=new Big$1(y),x$1.s!=y.s)return y.s=-y.s,x$1.minus(y);var xe=x$1.e,xc=x$1.c,ye=y.e,yc=y.c;if(!xc[0]||!yc[0])return yc[0]||(xc[0]?y=new Big$1(x$1):y.s=x$1.s),y;if(xc=xc.slice(),e=xe-ye){for(e>0?(ye=xe,t$5=yc):(e=-e,t$5=xc),t$5.reverse();e--;)t$5.push(0);t$5.reverse()}for(xc.length-yc.length<0&&(t$5=yc,yc=xc,xc=t$5),e=yc.length,k=0;e;xc[e]%=10)k=(xc[--e]=xc[e]+yc[e]+k)/10|0;for(k&&(xc.unshift(k),++ye),e=xc.length;xc[--e]===0;)xc.pop();return y.c=xc,y.e=ye,y},P.pow=function(n$2){var x$1=this,one=new x$1.constructor(`1`),y=one,isneg=n$2<0;if(n$2!==~~n$2||n$2<-MAX_POWER||n$2>MAX_POWER)throw Error(INVALID$3+`exponent`);for(isneg&&(n$2=-n$2);n$2&1&&(y=y.times(x$1)),n$2>>=1,n$2;)x$1=x$1.times(x$1);return isneg?one.div(y):y},P.prec=function(sd,rm){if(sd!==~~sd||sd<1||sd>MAX_DP)throw Error(INVALID$3+`precision`);return round(new this.constructor(this),sd,rm)},P.round=function(dp,rm){if(dp===UNDEFINED)dp=0;else if(dp!==~~dp||dp<-MAX_DP||dp>MAX_DP)throw Error(INVALID_DP);return round(new this.constructor(this),dp+this.e+1,rm)},P.sqrt=function(){var r,c$1,t$5,x$1=this,Big$1=x$1.constructor,s$2=x$1.s,e=x$1.e,half=new Big$1(`0.5`);if(!x$1.c[0])return new Big$1(x$1);if(s$2<0)throw Error(NAME+`No square root`);s$2=Math.sqrt(+stringify$1(x$1,!0,!0)),s$2===0||s$2===1/0?(c$1=x$1.c.join(``),c$1.length+e&1||(c$1+=`0`),s$2=Math.sqrt(c$1),e=((e+1)/2|0)-(e<0||e&1),r=new Big$1((s$2==1/0?`5e`:(s$2=s$2.toExponential()).slice(0,s$2.indexOf(`e`)+1))+e)):r=new Big$1(s$2+``),e=r.e+(Big$1.DP+=4);do t$5=r,r=half.times(t$5.plus(x$1.div(t$5)));while(t$5.c.slice(0,e).join(``)!==r.c.slice(0,e).join(``));return round(r,(Big$1.DP-=4)+r.e+1,Big$1.RM)},P.times=P.mul=function(y){var c$1,x$1=this,Big$1=x$1.constructor,xc=x$1.c,yc=(y=new Big$1(y)).c,a=xc.length,b=yc.length,i$4=x$1.e,j$1=y.e;if(y.s=x$1.s==y.s?1:-1,!xc[0]||!yc[0])return y.c=[y.e=0],y;for(y.e=i$4+j$1,a<b&&(c$1=xc,xc=yc,yc=c$1,j$1=a,a=b,b=j$1),c$1=Array(j$1=a+b);j$1--;)c$1[j$1]=0;for(i$4=b;i$4--;){for(b=0,j$1=a+i$4;j$1>i$4;)b=c$1[j$1]+yc[i$4]*xc[j$1-i$4-1]+b,c$1[j$1--]=b%10,b=b/10|0;c$1[j$1]=b}for(b?++y.e:c$1.shift(),i$4=c$1.length;!c$1[--i$4];)c$1.pop();return y.c=c$1,y},P.toExponential=function(dp,rm){var x$1=this,n$2=x$1.c[0];if(dp!==UNDEFINED){if(dp!==~~dp||dp<0||dp>MAX_DP)throw Error(INVALID_DP);for(x$1=round(new x$1.constructor(x$1),++dp,rm);x$1.c.length<dp;)x$1.c.push(0)}return stringify$1(x$1,!0,!!n$2)},P.toFixed=function(dp,rm){var x$1=this,n$2=x$1.c[0];if(dp!==UNDEFINED){if(dp!==~~dp||dp<0||dp>MAX_DP)throw Error(INVALID_DP);for(x$1=round(new x$1.constructor(x$1),dp+x$1.e+1,rm),dp=dp+x$1.e+1;x$1.c.length<dp;)x$1.c.push(0)}return stringify$1(x$1,!1,!!n$2)},P.toJSON=P.toString=function(){var x$1=this,Big$1=x$1.constructor;return stringify$1(x$1,x$1.e<=Big$1.NE||x$1.e>=Big$1.PE,!!x$1.c[0])},typeof Symbol<`u`&&(P[Symbol.for(`nodejs.util.inspect.custom`)]=P.toJSON),P.toNumber=function(){var n$2=+stringify$1(this,!0,!0);if(this.constructor.strict===!0&&!this.eq(n$2.toString()))throw Error(NAME+`Imprecise conversion`);return n$2},P.toPrecision=function(sd,rm){var x$1=this,Big$1=x$1.constructor,n$2=x$1.c[0];if(sd!==UNDEFINED){if(sd!==~~sd||sd<1||sd>MAX_DP)throw Error(INVALID$3+`precision`);for(x$1=round(new Big$1(x$1),sd,rm);x$1.c.length<sd;)x$1.c.push(0)}return stringify$1(x$1,sd<=x$1.e||x$1.e<=Big$1.NE||x$1.e>=Big$1.PE,!!n$2)},P.valueOf=function(){var x$1=this,Big$1=x$1.constructor;if(Big$1.strict===!0)throw Error(NAME+`valueOf disallowed`);return stringify$1(x$1,x$1.e<=Big$1.NE||x$1.e>=Big$1.PE,!0)};var Big=_Big_(),big_default=Big;const compare$13=(value,limit,operator)=>{switch(operator){case`>`:return value.gt(limit);case`<`:return value.lt(limit);case`>=`:return value.gte(limit);case`<=`:return value.lte(limit);case`multiple`:return value.mod(limit).eq(0);default:return!1}},bigint=function(joi){return{type:`bigint`,base:joi.any(),coerce:{from:[`string`,`number`],method(value,helpers){if(typeof value==`bigint`)return{value};try{let asBig=big_default(value.toString());return asBig.eq(asBig.round(0))?{value:BigInt(asBig.toString())}:{value,errors:[helpers.error(`bigint.base`,{value:String(value)})]}}catch{return{value,errors:[helpers.error(`bigint.base`,{value:String(value)})]}}}},messages:{"bigint.base":`"{{#label}}" must be a valid bigint`,"bigint.greater":`"{{#label}}" must be greater than {{#limit}}`,"bigint.less":`"{{#label}}" must be less than {{#limit}}`,"bigint.max":`"{{#label}}" must be less than or equal to {{#limit}}`,"bigint.min":`"{{#label}}" must be greater than or equal to {{#limit}}`,"bigint.multiple":`"{{#label}}" must be a multiple of {{#limit}}`,"bigint.negative":`"{{#label}}" must be a negative bigint`,"bigint.positive":`"{{#label}}" must be a positive bigint`},validate(value,{error}){return typeof value==`bigint`?{value}:{value,errors:error(`bigint.base`,{value:String(value)})}},rules:{compare:{method:!1,validate(value,helpers,{limit},{name:name$1,operator}){let big=big_default(value.toString()),threshold=big_default(limit.toString()),valid$2=compare$13(big,threshold,operator);return valid$2?value:helpers.error(`bigint.`+name$1,{limit:limit.toString(),value:value.toString()})},args:[{name:`limit`,ref:!0,assert:value=>[`bigint`,`number`,`string`].includes(typeof value),message:`must be a bigint`}]},greater:{method(limit){return this.$_addRule({name:`greater`,method:`compare`,args:{limit},operator:`>`})}},less:{method(limit){return this.$_addRule({name:`less`,method:`compare`,args:{limit},operator:`<`})}},max:{method(limit){return this.$_addRule({name:`max`,method:`compare`,args:{limit},operator:`<=`})}},min:{method(limit){return this.$_addRule({name:`min`,method:`compare`,args:{limit},operator:`>=`})}},multiple:{method(limit){return this.$_addRule({name:`multiple`,method:`compare`,args:{limit},operator:`multiple`})}},negative:{method(){return this.$_addRule(`negative`)},validate(value,helpers){return value>=0n?helpers.error(`bigint.negative`,{value:value.toString()}):value}},positive:{method(){return this.$_addRule(`positive`)},validate(value,helpers){return value<=0n?helpers.error(`bigint.positive`,{value:value.toString()}):value}}},cast:{string:{from:value=>typeof value==`bigint`,to(value){return value.toString()}}}}};var LuxonError=class extends Error{},InvalidDateTimeError=class extends LuxonError{constructor(reason){super(`Invalid DateTime: ${reason.toMessage()}`)}},InvalidIntervalError=class extends LuxonError{constructor(reason){super(`Invalid Interval: ${reason.toMessage()}`)}},InvalidDurationError=class extends LuxonError{constructor(reason){super(`Invalid Duration: ${reason.toMessage()}`)}},ConflictingSpecificationError=class extends LuxonError{},InvalidUnitError=class extends LuxonError{constructor(unit){super(`Invalid unit ${unit}`)}},InvalidArgumentError=class extends LuxonError{},ZoneIsAbstractError=class extends LuxonError{constructor(){super(`Zone is an abstract class`)}};const n=`numeric`,s=`short`,l=`long`,DATE_SHORT={year:n,month:n,day:n},DATE_MED={year:n,month:s,day:n},DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s},DATE_FULL={year:n,month:l,day:n},DATE_HUGE={year:n,month:l,day:n,weekday:l},TIME_SIMPLE={hour:n,minute:n},TIME_WITH_SECONDS={hour:n,minute:n,second:n},TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l},TIME_24_SIMPLE={hour:n,minute:n,hourCycle:`h23`},TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:`h23`},TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:`h23`,timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:`h23`,timeZoneName:l},DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n},DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n},DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n},DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n},DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n},DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s},DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};var Zone=class{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(ts,opts){throw new ZoneIsAbstractError}formatOffset(ts,format){throw new ZoneIsAbstractError}offset(ts){throw new ZoneIsAbstractError}equals(otherZone){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}};let singleton$1=null;var SystemZone=class SystemZone extends Zone{static get instance(){return singleton$1===null&&(singleton$1=new SystemZone),singleton$1}get type(){return`system`}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(ts,{format,locale}){return parseZoneInfo(ts,format,locale)}formatOffset(ts,format){return formatOffset(this.offset(ts),format)}offset(ts){return-new Date(ts).getTimezoneOffset()}equals(otherZone){return otherZone.type===`system`}get isValid(){return!0}};const dtfCache=new Map;function makeDTF(zoneName){let dtf=dtfCache.get(zoneName);return dtf===void 0&&(dtf=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:zoneName,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,era:`short`}),dtfCache.set(zoneName,dtf)),dtf}const typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(dtf,date){let formatted=dtf.format(date).replace(/\u200E/g,``),parsed=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(formatted),[,fMonth,fDay,fYear,fadOrBc,fHour,fMinute,fSecond]=parsed;return[fYear,fMonth,fDay,fadOrBc,fHour,fMinute,fSecond]}function partsOffset(dtf,date){let formatted=dtf.formatToParts(date),filled=[];for(let i$4=0;i$4<formatted.length;i$4++){let{type,value}=formatted[i$4],pos=typeToPos[type];type===`era`?filled[pos]=value:isUndefined(pos)||(filled[pos]=parseInt(value,10))}return filled}const ianaZoneCache=new Map;var IANAZone=class IANAZone extends Zone{static create(name$1){let zone=ianaZoneCache.get(name$1);return zone===void 0&&ianaZoneCache.set(name$1,zone=new IANAZone(name$1)),zone}static resetCache(){ianaZoneCache.clear(),dtfCache.clear()}static isValidSpecifier(s$2){return this.isValidZone(s$2)}static isValidZone(zone){if(!zone)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:zone}).format(),!0}catch{return!1}}constructor(name$1){super(),this.zoneName=name$1,this.valid=IANAZone.isValidZone(name$1)}get type(){return`iana`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(ts,{format,locale}){return parseZoneInfo(ts,format,locale,this.name)}formatOffset(ts,format){return formatOffset(this.offset(ts),format)}offset(ts){if(!this.valid)return NaN;let date=new Date(ts);if(isNaN(date))return NaN;let dtf=makeDTF(this.name),[year,month,day,adOrBc,hour,minute,second]=dtf.formatToParts?partsOffset(dtf,date):hackyOffset(dtf,date);adOrBc===`BC`&&(year=-Math.abs(year)+1);let adjustedHour=hour===24?0:hour,asUTC=objToLocalTS({year,month,day,hour:adjustedHour,minute,second,millisecond:0}),asTS=+date,over=asTS%1e3;return asTS-=over>=0?over:1e3+over,(asUTC-asTS)/(60*1e3)}equals(otherZone){return otherZone.type===`iana`&&otherZone.name===this.name}get isValid(){return this.valid}};let intlLFCache={};function getCachedLF(locString,opts={}){let key=JSON.stringify([locString,opts]),dtf=intlLFCache[key];return dtf||(dtf=new Intl.ListFormat(locString,opts),intlLFCache[key]=dtf),dtf}const intlDTCache=new Map;function getCachedDTF(locString,opts={}){let key=JSON.stringify([locString,opts]),dtf=intlDTCache.get(key);return dtf===void 0&&(dtf=new Intl.DateTimeFormat(locString,opts),intlDTCache.set(key,dtf)),dtf}const intlNumCache=new Map;function getCachedINF(locString,opts={}){let key=JSON.stringify([locString,opts]),inf=intlNumCache.get(key);return inf===void 0&&(inf=new Intl.NumberFormat(locString,opts),intlNumCache.set(key,inf)),inf}const intlRelCache=new Map;function getCachedRTF(locString,opts={}){let{base,...cacheKeyOpts}=opts,key=JSON.stringify([locString,cacheKeyOpts]),inf=intlRelCache.get(key);return inf===void 0&&(inf=new Intl.RelativeTimeFormat(locString,opts),intlRelCache.set(key,inf)),inf}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}const intlResolvedOptionsCache=new Map;function getCachedIntResolvedOptions(locString){let opts=intlResolvedOptionsCache.get(locString);return opts===void 0&&(opts=new Intl.DateTimeFormat(locString).resolvedOptions(),intlResolvedOptionsCache.set(locString,opts)),opts}const weekInfoCache=new Map;function getCachedWeekInfo(locString){let data=weekInfoCache.get(locString);if(!data){let locale=new Intl.Locale(locString);data=`getWeekInfo`in locale?locale.getWeekInfo():locale.weekInfo,`minimalDays`in data||(data={...fallbackWeekSettings,...data}),weekInfoCache.set(locString,data)}return data}function parseLocaleString(localeStr){let xIndex=localeStr.indexOf(`-x-`);xIndex!==-1&&(localeStr=localeStr.substring(0,xIndex));let uIndex=localeStr.indexOf(`-u-`);if(uIndex===-1)return[localeStr];{let options,selectedStr;try{options=getCachedDTF(localeStr).resolvedOptions(),selectedStr=localeStr}catch{let smaller=localeStr.substring(0,uIndex);options=getCachedDTF(smaller).resolvedOptions(),selectedStr=smaller}let{numberingSystem,calendar}=options;return[selectedStr,numberingSystem,calendar]}}function intlConfigString(localeStr,numberingSystem,outputCalendar){return outputCalendar||numberingSystem?(localeStr.includes(`-u-`)||(localeStr+=`-u`),outputCalendar&&(localeStr+=`-ca-${outputCalendar}`),numberingSystem&&(localeStr+=`-nu-${numberingSystem}`),localeStr):localeStr}function mapMonths(f){let ms=[];for(let i$4=1;i$4<=12;i$4++){let dt=DateTime.utc(2009,i$4,1);ms.push(f(dt))}return ms}function mapWeekdays(f){let ms=[];for(let i$4=1;i$4<=7;i$4++){let dt=DateTime.utc(2016,11,13+i$4);ms.push(f(dt))}return ms}function listStuff(loc,length,englishFn,intlFn){let mode=loc.listingMode();return mode===`error`?null:mode===`en`?englishFn(length):intlFn(length)}function supportsFastNumbers(loc){return loc.numberingSystem&&loc.numberingSystem!==`latn`?!1:loc.numberingSystem===`latn`||!loc.locale||loc.locale.startsWith(`en`)||getCachedIntResolvedOptions(loc.locale).numberingSystem===`latn`}var PolyNumberFormatter=class{constructor(intl,forceSimple,opts){this.padTo=opts.padTo||0,this.floor=opts.floor||!1;let{padTo,floor:floor$1,...otherOpts}=opts;if(!forceSimple||Object.keys(otherOpts).length>0){let intlOpts={useGrouping:!1,...opts};opts.padTo>0&&(intlOpts.minimumIntegerDigits=opts.padTo),this.inf=getCachedINF(intl,intlOpts)}}format(i$4){if(this.inf){let fixed=this.floor?Math.floor(i$4):i$4;return this.inf.format(fixed)}else{let fixed=this.floor?Math.floor(i$4):roundTo(i$4,3);return padStart(fixed,this.padTo)}}},PolyDateFormatter=class{constructor(dt,intl,opts){this.opts=opts,this.originalZone=void 0;let z$1;if(this.opts.timeZone)this.dt=dt;else if(dt.zone.type===`fixed`){let gmtOffset=-1*(dt.offset/60),offsetZ=gmtOffset>=0?`Etc/GMT+${gmtOffset}`:`Etc/GMT${gmtOffset}`;dt.offset!==0&&IANAZone.create(offsetZ).valid?(z$1=offsetZ,this.dt=dt):(z$1=`UTC`,this.dt=dt.offset===0?dt:dt.setZone(`UTC`).plus({minutes:dt.offset}),this.originalZone=dt.zone)}else dt.zone.type===`system`?this.dt=dt:dt.zone.type===`iana`?(this.dt=dt,z$1=dt.zone.name):(z$1=`UTC`,this.dt=dt.setZone(`UTC`).plus({minutes:dt.offset}),this.originalZone=dt.zone);let intlOpts={...this.opts};intlOpts.timeZone=intlOpts.timeZone||z$1,this.dtf=getCachedDTF(intl,intlOpts)}format(){return this.originalZone?this.formatToParts().map(({value})=>value).join(``):this.dtf.format(this.dt.toJSDate())}formatToParts(){let parts=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?parts.map(part=>{if(part.type===`timeZoneName`){let offsetName=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...part,value:offsetName}}else return part}):parts}resolvedOptions(){return this.dtf.resolvedOptions()}},PolyRelFormatter=class{constructor(intl,isEnglish,opts){this.opts={style:`long`,...opts},!isEnglish&&hasRelative()&&(this.rtf=getCachedRTF(intl,opts))}format(count,unit){return this.rtf?this.rtf.format(count,unit):formatRelativeTime(unit,count,this.opts.numeric,this.opts.style!==`long`)}formatToParts(count,unit){return this.rtf?this.rtf.formatToParts(count,unit):[]}};const fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};var Locale=class Locale{static fromOpts(opts){return Locale.create(opts.locale,opts.numberingSystem,opts.outputCalendar,opts.weekSettings,opts.defaultToEN)}static create(locale,numberingSystem,outputCalendar,weekSettings,defaultToEN=!1){let specifiedLocale=locale||Settings.defaultLocale,localeR=specifiedLocale||(defaultToEN?`en-US`:systemLocale()),numberingSystemR=numberingSystem||Settings.defaultNumberingSystem,outputCalendarR=outputCalendar||Settings.defaultOutputCalendar,weekSettingsR=validateWeekSettings(weekSettings)||Settings.defaultWeekSettings;return new Locale(localeR,numberingSystemR,outputCalendarR,weekSettingsR,specifiedLocale)}static resetCache(){sysLocaleCache=null,intlDTCache.clear(),intlNumCache.clear(),intlRelCache.clear(),intlResolvedOptionsCache.clear(),weekInfoCache.clear()}static fromObject({locale,numberingSystem,outputCalendar,weekSettings}={}){return Locale.create(locale,numberingSystem,outputCalendar,weekSettings)}constructor(locale,numbering,outputCalendar,weekSettings,specifiedLocale){let[parsedLocale,parsedNumberingSystem,parsedOutputCalendar]=parseLocaleString(locale);this.locale=parsedLocale,this.numberingSystem=numbering||parsedNumberingSystem||null,this.outputCalendar=outputCalendar||parsedOutputCalendar||null,this.weekSettings=weekSettings,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=specifiedLocale,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached??=supportsFastNumbers(this),this.fastNumbersCached}listingMode(){let isActuallyEn=this.isEnglish(),hasNoWeirdness=(this.numberingSystem===null||this.numberingSystem===`latn`)&&(this.outputCalendar===null||this.outputCalendar===`gregory`);return isActuallyEn&&hasNoWeirdness?`en`:`intl`}clone(alts){return!alts||Object.getOwnPropertyNames(alts).length===0?this:Locale.create(alts.locale||this.specifiedLocale,alts.numberingSystem||this.numberingSystem,alts.outputCalendar||this.outputCalendar,validateWeekSettings(alts.weekSettings)||this.weekSettings,alts.defaultToEN||!1)}redefaultToEN(alts={}){return this.clone({...alts,defaultToEN:!0})}redefaultToSystem(alts={}){return this.clone({...alts,defaultToEN:!1})}months(length,format=!1){return listStuff(this,length,months,()=>{let monthSpecialCase=this.intl===`ja`||this.intl.startsWith(`ja-`);format&=!monthSpecialCase;let intl=format?{month:length,day:`numeric`}:{month:length},formatStr=format?`format`:`standalone`;if(!this.monthsCache[formatStr][length]){let mapper=monthSpecialCase?dt=>this.dtFormatter(dt,intl).format():dt=>this.extract(dt,intl,`month`);this.monthsCache[formatStr][length]=mapMonths(mapper)}return this.monthsCache[formatStr][length]})}weekdays(length,format=!1){return listStuff(this,length,weekdays,()=>{let intl=format?{weekday:length,year:`numeric`,month:`long`,day:`numeric`}:{weekday:length},formatStr=format?`format`:`standalone`;return this.weekdaysCache[formatStr][length]||(this.weekdaysCache[formatStr][length]=mapWeekdays(dt=>this.extract(dt,intl,`weekday`))),this.weekdaysCache[formatStr][length]})}meridiems(){return listStuff(this,void 0,()=>meridiems,()=>{if(!this.meridiemCache){let intl={hour:`numeric`,hourCycle:`h12`};this.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map(dt=>this.extract(dt,intl,`dayperiod`))}return this.meridiemCache})}eras(length){return listStuff(this,length,eras,()=>{let intl={era:length};return this.eraCache[length]||(this.eraCache[length]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map(dt=>this.extract(dt,intl,`era`))),this.eraCache[length]})}extract(dt,intlOpts,field){let df=this.dtFormatter(dt,intlOpts),results=df.formatToParts(),matching=results.find(m=>m.type.toLowerCase()===field);return matching?matching.value:null}numberFormatter(opts={}){return new PolyNumberFormatter(this.intl,opts.forceSimple||this.fastNumbers,opts)}dtFormatter(dt,intlOpts={}){return new PolyDateFormatter(dt,this.intl,intlOpts)}relFormatter(opts={}){return new PolyRelFormatter(this.intl,this.isEnglish(),opts)}listFormatter(opts={}){return getCachedLF(this.intl,opts)}isEnglish(){return this.locale===`en`||this.locale.toLowerCase()===`en-us`||getCachedIntResolvedOptions(this.intl).locale.startsWith(`en-us`)}getWeekSettings(){return this.weekSettings?this.weekSettings:hasLocaleWeekInfo()?getCachedWeekInfo(this.locale):fallbackWeekSettings}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(other){return this.locale===other.locale&&this.numberingSystem===other.numberingSystem&&this.outputCalendar===other.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}};let singleton=null;var FixedOffsetZone=class FixedOffsetZone extends Zone{static get utcInstance(){return singleton===null&&(singleton=new FixedOffsetZone(0)),singleton}static instance(offset$2){return offset$2===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(offset$2)}static parseSpecifier(s$2){if(s$2){let r=s$2.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new FixedOffsetZone(signedOffset(r[1],r[2]))}return null}constructor(offset$2){super(),this.fixed=offset$2}get type(){return`fixed`}get name(){return this.fixed===0?`UTC`:`UTC${formatOffset(this.fixed,`narrow`)}`}get ianaName(){return this.fixed===0?`Etc/UTC`:`Etc/GMT${formatOffset(-this.fixed,`narrow`)}`}offsetName(){return this.name}formatOffset(ts,format){return formatOffset(this.fixed,format)}get isUniversal(){return!0}offset(){return this.fixed}equals(otherZone){return otherZone.type===`fixed`&&otherZone.fixed===this.fixed}get isValid(){return!0}},InvalidZone=class extends Zone{constructor(zoneName){super(),this.zoneName=zoneName}get type(){return`invalid`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return``}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function normalizeZone(input,defaultZone$2){let offset$2;if(isUndefined(input)||input===null)return defaultZone$2;if(input instanceof Zone)return input;if(isString(input)){let lowered=input.toLowerCase();return lowered===`default`?defaultZone$2:lowered===`local`||lowered===`system`?SystemZone.instance:lowered===`utc`||lowered===`gmt`?FixedOffsetZone.utcInstance:FixedOffsetZone.parseSpecifier(lowered)||IANAZone.create(input)}else if(isNumber(input))return FixedOffsetZone.instance(input);else if(typeof input==`object`&&`offset`in input&&typeof input.offset==`function`)return input;else return new InvalidZone(input)}const numberingSystems={arab:`[٠-٩]`,arabext:`[۰-۹]`,bali:`[᭐-᭙]`,beng:`[০-৯]`,deva:`[०-९]`,fullwide:`[0-9]`,gujr:`[૦-૯]`,hanidec:`[〇|一|二|三|四|五|六|七|八|九]`,khmr:`[០-៩]`,knda:`[೦-೯]`,laoo:`[໐-໙]`,limb:`[᥆-᥏]`,mlym:`[൦-൯]`,mong:`[᠐-᠙]`,mymr:`[၀-၉]`,orya:`[୦-୯]`,tamldec:`[௦-௯]`,telu:`[౦-౯]`,thai:`[๐-๙]`,tibt:`[༠-༩]`,latn:`\\d`},numberingSystemsUTF16={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,``).split(``);function parseDigits(str){let value=parseInt(str,10);if(isNaN(value)){value=``;for(let i$4=0;i$4<str.length;i$4++){let code$2=str.charCodeAt(i$4);if(str[i$4].search(numberingSystems.hanidec)!==-1)value+=hanidecChars.indexOf(str[i$4]);else for(let key in numberingSystemsUTF16){let[min$1,max$3]=numberingSystemsUTF16[key];code$2>=min$1&&code$2<=max$3&&(value+=code$2-min$1)}}return parseInt(value,10)}else return value}const digitRegexCache=new Map;function resetDigitRegexCache(){digitRegexCache.clear()}function digitRegex({numberingSystem},append=``){let ns=numberingSystem||`latn`,appendCache=digitRegexCache.get(ns);appendCache===void 0&&(appendCache=new Map,digitRegexCache.set(ns,appendCache));let regex=appendCache.get(append);return regex===void 0&&(regex=RegExp(`${numberingSystems[ns]}${append}`),appendCache.set(append,regex)),regex}let now=()=>Date.now(),defaultZone=`system`,defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;var Settings=class{static get now(){return now}static set now(n$2){now=n$2}static set defaultZone(zone){defaultZone=zone}static get defaultZone(){return normalizeZone(defaultZone,SystemZone.instance)}static get defaultLocale(){return defaultLocale}static set defaultLocale(locale){defaultLocale=locale}static get defaultNumberingSystem(){return defaultNumberingSystem}static set defaultNumberingSystem(numberingSystem){defaultNumberingSystem=numberingSystem}static get defaultOutputCalendar(){return defaultOutputCalendar}static set defaultOutputCalendar(outputCalendar){defaultOutputCalendar=outputCalendar}static get defaultWeekSettings(){return defaultWeekSettings}static set defaultWeekSettings(weekSettings){defaultWeekSettings=validateWeekSettings(weekSettings)}static get twoDigitCutoffYear(){return twoDigitCutoffYear}static set twoDigitCutoffYear(cutoffYear){twoDigitCutoffYear=cutoffYear%100}static get throwOnInvalid(){return throwOnInvalid}static set throwOnInvalid(t$5){throwOnInvalid=t$5}static resetCaches(){Locale.resetCache(),IANAZone.resetCache(),DateTime.resetCache(),resetDigitRegexCache()}},Invalid=class{constructor(reason,explanation){this.reason=reason,this.explanation=explanation}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}};const nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(unit,value){return new Invalid(`unit out of range`,`you specified ${value} (of type ${typeof value}) as a ${unit}, which is invalid`)}function dayOfWeek(year,month,day){let d=new Date(Date.UTC(year,month-1,day));year<100&&year>=0&&d.setUTCFullYear(d.getUTCFullYear()-1900);let js=d.getUTCDay();return js===0?7:js}function computeOrdinal(year,month,day){return day+(isLeapYear(year)?leapLadder:nonLeapLadder)[month-1]}function uncomputeOrdinal(year,ordinal){let table=isLeapYear(year)?leapLadder:nonLeapLadder,month0=table.findIndex(i$4=>i$4<ordinal),day=ordinal-table[month0];return{month:month0+1,day}}function isoWeekdayToLocal(isoWeekday,startOfWeek){return(isoWeekday-startOfWeek+7)%7+1}function gregorianToWeek(gregObj,minDaysInFirstWeek=4,startOfWeek=1){let{year,month,day}=gregObj,ordinal=computeOrdinal(year,month,day),weekday=isoWeekdayToLocal(dayOfWeek(year,month,day),startOfWeek),weekNumber=Math.floor((ordinal-weekday+14-minDaysInFirstWeek)/7),weekYear;return weekNumber<1?(weekYear=year-1,weekNumber=weeksInWeekYear(weekYear,minDaysInFirstWeek,startOfWeek)):weekNumber>weeksInWeekYear(year,minDaysInFirstWeek,startOfWeek)?(weekYear=year+1,weekNumber=1):weekYear=year,{weekYear,weekNumber,weekday,...timeObject(gregObj)}}function weekToGregorian(weekData,minDaysInFirstWeek=4,startOfWeek=1){let{weekYear,weekNumber,weekday}=weekData,weekdayOfJan4=isoWeekdayToLocal(dayOfWeek(weekYear,1,minDaysInFirstWeek),startOfWeek),yearInDays=daysInYear(weekYear),ordinal=weekNumber*7+weekday-weekdayOfJan4-7+minDaysInFirstWeek,year;ordinal<1?(year=weekYear-1,ordinal+=daysInYear(year)):ordinal>yearInDays?(year=weekYear+1,ordinal-=daysInYear(weekYear)):year=weekYear;let{month,day}=uncomputeOrdinal(year,ordinal);return{year,month,day,...timeObject(weekData)}}function gregorianToOrdinal(gregData){let{year,month,day}=gregData,ordinal=computeOrdinal(year,month,day);return{year,ordinal,...timeObject(gregData)}}function ordinalToGregorian(ordinalData){let{year,ordinal}=ordinalData,{month,day}=uncomputeOrdinal(year,ordinal);return{year,month,day,...timeObject(ordinalData)}}function usesLocalWeekValues(obj,loc){let hasLocaleWeekData=!isUndefined(obj.localWeekday)||!isUndefined(obj.localWeekNumber)||!isUndefined(obj.localWeekYear);if(hasLocaleWeekData){let hasIsoWeekData=!isUndefined(obj.weekday)||!isUndefined(obj.weekNumber)||!isUndefined(obj.weekYear);if(hasIsoWeekData)throw new ConflictingSpecificationError(`Cannot mix locale-based week fields with ISO-based week fields`);return isUndefined(obj.localWeekday)||(obj.weekday=obj.localWeekday),isUndefined(obj.localWeekNumber)||(obj.weekNumber=obj.localWeekNumber),isUndefined(obj.localWeekYear)||(obj.weekYear=obj.localWeekYear),delete obj.localWeekday,delete obj.localWeekNumber,delete obj.localWeekYear,{minDaysInFirstWeek:loc.getMinDaysInFirstWeek(),startOfWeek:loc.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function hasInvalidWeekData(obj,minDaysInFirstWeek=4,startOfWeek=1){let validYear=isInteger(obj.weekYear),validWeek=integerBetween(obj.weekNumber,1,weeksInWeekYear(obj.weekYear,minDaysInFirstWeek,startOfWeek)),validWeekday=integerBetween(obj.weekday,1,7);return validYear?validWeek?validWeekday?!1:unitOutOfRange(`weekday`,obj.weekday):unitOutOfRange(`week`,obj.weekNumber):unitOutOfRange(`weekYear`,obj.weekYear)}function hasInvalidOrdinalData(obj){let validYear=isInteger(obj.year),validOrdinal=integerBetween(obj.ordinal,1,daysInYear(obj.year));return validYear?validOrdinal?!1:unitOutOfRange(`ordinal`,obj.ordinal):unitOutOfRange(`year`,obj.year)}function hasInvalidGregorianData(obj){let validYear=isInteger(obj.year),validMonth=integerBetween(obj.month,1,12),validDay=integerBetween(obj.day,1,daysInMonth(obj.year,obj.month));return validYear?validMonth?validDay?!1:unitOutOfRange(`day`,obj.day):unitOutOfRange(`month`,obj.month):unitOutOfRange(`year`,obj.year)}function hasInvalidTimeData(obj){let{hour,minute,second,millisecond}=obj,validHour=integerBetween(hour,0,23)||hour===24&&minute===0&&second===0&&millisecond===0,validMinute=integerBetween(minute,0,59),validSecond=integerBetween(second,0,59),validMillisecond=integerBetween(millisecond,0,999);return validHour?validMinute?validSecond?validMillisecond?!1:unitOutOfRange(`millisecond`,millisecond):unitOutOfRange(`second`,second):unitOutOfRange(`minute`,minute):unitOutOfRange(`hour`,hour)}function isUndefined(o){return o===void 0}function isNumber(o){return typeof o==`number`}function isInteger(o){return typeof o==`number`&&o%1==0}function isString(o){return typeof o==`string`}function isDate(o){return Object.prototype.toString.call(o)===`[object Date]`}function hasRelative(){try{return typeof Intl<`u`&&!!Intl.RelativeTimeFormat}catch{return!1}}function hasLocaleWeekInfo(){try{return typeof Intl<`u`&&!!Intl.Locale&&(`weekInfo`in Intl.Locale.prototype||`getWeekInfo`in Intl.Locale.prototype)}catch{return!1}}function maybeArray(thing){return Array.isArray(thing)?thing:[thing]}function bestBy(arr,by,compare$14){if(arr.length!==0)return arr.reduce((best,next)=>{let pair=[by(next),next];return best&&compare$14(best[0],pair[0])===best[0]?best:pair},null)[1]}function pick(obj,keys){return keys.reduce((a,k)=>(a[k]=obj[k],a),{})}function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}function validateWeekSettings(settings){if(settings==null)return null;if(typeof settings!=`object`)throw new InvalidArgumentError(`Week settings must be an object`);if(!integerBetween(settings.firstDay,1,7)||!integerBetween(settings.minimalDays,1,7)||!Array.isArray(settings.weekend)||settings.weekend.some(v=>!integerBetween(v,1,7)))throw new InvalidArgumentError(`Invalid week settings`);return{firstDay:settings.firstDay,minimalDays:settings.minimalDays,weekend:Array.from(settings.weekend)}}function integerBetween(thing,bottom,top){return isInteger(thing)&&thing>=bottom&&thing<=top}function floorMod(x$1,n$2){return x$1-n$2*Math.floor(x$1/n$2)}function padStart(input,n$2=2){let isNeg=input<0,padded;return padded=isNeg?`-`+(``+-input).padStart(n$2,`0`):(``+input).padStart(n$2,`0`),padded}function parseInteger(string){if(!(isUndefined(string)||string===null||string===``))return parseInt(string,10)}function parseFloating(string){if(!(isUndefined(string)||string===null||string===``))return parseFloat(string)}function parseMillis(fraction){if(!(isUndefined(fraction)||fraction===null||fraction===``)){let f=parseFloat(`0.`+fraction)*1e3;return Math.floor(f)}}function roundTo(number,digits,rounding=`round`){let factor=10**digits;switch(rounding){case`expand`:return number>0?Math.ceil(number*factor)/factor:Math.floor(number*factor)/factor;case`trunc`:return Math.trunc(number*factor)/factor;case`round`:return Math.round(number*factor)/factor;case`floor`:return Math.floor(number*factor)/factor;case`ceil`:return Math.ceil(number*factor)/factor;default:throw RangeError(`Value rounding ${rounding} is out of range`)}}function isLeapYear(year){return year%4==0&&(year%100!=0||year%400==0)}function daysInYear(year){return isLeapYear(year)?366:365}function daysInMonth(year,month){let modMonth=floorMod(month-1,12)+1,modYear=year+(month-modMonth)/12;return modMonth===2?isLeapYear(modYear)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][modMonth-1]}function objToLocalTS(obj){let d=Date.UTC(obj.year,obj.month-1,obj.day,obj.hour,obj.minute,obj.second,obj.millisecond);return obj.year<100&&obj.year>=0&&(d=new Date(d),d.setUTCFullYear(obj.year,obj.month-1,obj.day)),+d}function firstWeekOffset(year,minDaysInFirstWeek,startOfWeek){let fwdlw=isoWeekdayToLocal(dayOfWeek(year,1,minDaysInFirstWeek),startOfWeek);return-fwdlw+minDaysInFirstWeek-1}function weeksInWeekYear(weekYear,minDaysInFirstWeek=4,startOfWeek=1){let weekOffset=firstWeekOffset(weekYear,minDaysInFirstWeek,startOfWeek),weekOffsetNext=firstWeekOffset(weekYear+1,minDaysInFirstWeek,startOfWeek);return(daysInYear(weekYear)-weekOffset+weekOffsetNext)/7}function untruncateYear(year){return year>99?year:year>Settings.twoDigitCutoffYear?1900+year:2e3+year}function parseZoneInfo(ts,offsetFormat,locale,timeZone=null){let date=new Date(ts),intlOpts={hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`};timeZone&&(intlOpts.timeZone=timeZone);let modified={timeZoneName:offsetFormat,...intlOpts},parsed=new Intl.DateTimeFormat(locale,modified).formatToParts(date).find(m=>m.type.toLowerCase()===`timezonename`);return parsed?parsed.value:null}function signedOffset(offHourStr,offMinuteStr){let offHour=parseInt(offHourStr,10);Number.isNaN(offHour)&&(offHour=0);let offMin=parseInt(offMinuteStr,10)||0,offMinSigned=offHour<0||Object.is(offHour,-0)?-offMin:offMin;return offHour*60+offMinSigned}function asNumber(value){let numericValue=Number(value);if(typeof value==`boolean`||value===``||!Number.isFinite(numericValue))throw new InvalidArgumentError(`Invalid unit value ${value}`);return numericValue}function normalizeObject(obj,normalizer){let normalized={};for(let u in obj)if(hasOwnProperty(obj,u)){let v=obj[u];if(v==null)continue;normalized[normalizer(u)]=asNumber(v)}return normalized}function formatOffset(offset$2,format){let hours=Math.trunc(Math.abs(offset$2/60)),minutes=Math.trunc(Math.abs(offset$2%60)),sign$1=offset$2>=0?`+`:`-`;switch(format){case`short`:return`${sign$1}${padStart(hours,2)}:${padStart(minutes,2)}`;case`narrow`:return`${sign$1}${hours}${minutes>0?`:${minutes}`:``}`;case`techie`:return`${sign$1}${padStart(hours,2)}${padStart(minutes,2)}`;default:throw RangeError(`Value format ${format} is out of range for property format`)}}function timeObject(obj){return pick(obj,[`hour`,`minute`,`second`,`millisecond`])}const monthsLong=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],monthsNarrow=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`];function months(length){switch(length){case`narrow`:return[...monthsNarrow];case`short`:return[...monthsShort];case`long`:return[...monthsLong];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`];case`2-digit`:return[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`];default:return null}}const weekdaysLong=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],weekdaysShort=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],weekdaysNarrow=[`M`,`T`,`W`,`T`,`F`,`S`,`S`];function weekdays(length){switch(length){case`narrow`:return[...weekdaysNarrow];case`short`:return[...weekdaysShort];case`long`:return[...weekdaysLong];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`];default:return null}}const meridiems=[`AM`,`PM`],erasLong=[`Before Christ`,`Anno Domini`],erasShort=[`BC`,`AD`],erasNarrow=[`B`,`A`];function eras(length){switch(length){case`narrow`:return[...erasNarrow];case`short`:return[...erasShort];case`long`:return[...erasLong];default:return null}}function meridiemForDateTime(dt){return meridiems[dt.hour<12?0:1]}function weekdayForDateTime(dt,length){return weekdays(length)[dt.weekday-1]}function monthForDateTime(dt,length){return months(length)[dt.month-1]}function eraForDateTime(dt,length){return eras(length)[dt.year<0?0:1]}function formatRelativeTime(unit,count,numeric$1=`always`,narrow=!1){let units={years:[`year`,`yr.`],quarters:[`quarter`,`qtr.`],months:[`month`,`mo.`],weeks:[`week`,`wk.`],days:[`day`,`day`,`days`],hours:[`hour`,`hr.`],minutes:[`minute`,`min.`],seconds:[`second`,`sec.`]},lastable=[`hours`,`minutes`,`seconds`].indexOf(unit)===-1;if(numeric$1===`auto`&&lastable){let isDay=unit===`days`;switch(count){case 1:return isDay?`tomorrow`:`next ${units[unit][0]}`;case-1:return isDay?`yesterday`:`last ${units[unit][0]}`;case 0:return isDay?`today`:`this ${units[unit][0]}`;default:}}let isInPast=Object.is(count,-0)||count<0,fmtValue=Math.abs(count),singular=fmtValue===1,lilUnits=units[unit],fmtUnit=narrow?singular?lilUnits[1]:lilUnits[2]||lilUnits[1]:singular?units[unit][0]:unit;return isInPast?`${fmtValue} ${fmtUnit} ago`:`in ${fmtValue} ${fmtUnit}`}function stringifyTokens(splits,tokenToString){let s$2=``;for(let token of splits)token.literal?s$2+=token.val:s$2+=tokenToString(token.val);return s$2}const macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};var Formatter=class Formatter{static create(locale,opts={}){return new Formatter(locale,opts)}static parseFormat(fmt){let current=null,currentFull=``,bracketed=!1,splits=[];for(let i$4=0;i$4<fmt.length;i$4++){let c$1=fmt.charAt(i$4);c$1===`'`?((currentFull.length>0||bracketed)&&splits.push({literal:bracketed||/^\s+$/.test(currentFull),val:currentFull===``?`'`:currentFull}),current=null,currentFull=``,bracketed=!bracketed):bracketed||c$1===current?currentFull+=c$1:(currentFull.length>0&&splits.push({literal:/^\s+$/.test(currentFull),val:currentFull}),currentFull=c$1,current=c$1)}return currentFull.length>0&&splits.push({literal:bracketed||/^\s+$/.test(currentFull),val:currentFull}),splits}static macroTokenToFormatOpts(token){return macroTokenToFormatOpts[token]}constructor(locale,formatOpts){this.opts=formatOpts,this.loc=locale,this.systemLoc=null}formatWithSystemDefault(dt,opts){this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem());let df=this.systemLoc.dtFormatter(dt,{...this.opts,...opts});return df.format()}dtFormatter(dt,opts={}){return this.loc.dtFormatter(dt,{...this.opts,...opts})}formatDateTime(dt,opts){return this.dtFormatter(dt,opts).format()}formatDateTimeParts(dt,opts){return this.dtFormatter(dt,opts).formatToParts()}formatInterval(interval,opts){let df=this.dtFormatter(interval.start,opts);return df.dtf.formatRange(interval.start.toJSDate(),interval.end.toJSDate())}resolvedOptions(dt,opts){return this.dtFormatter(dt,opts).resolvedOptions()}num(n$2,p=0,signDisplay=void 0){if(this.opts.forceSimple)return padStart(n$2,p);let opts={...this.opts};return p>0&&(opts.padTo=p),signDisplay&&(opts.signDisplay=signDisplay),this.loc.numberFormatter(opts).format(n$2)}formatDateTimeFromString(dt,fmt){let knownEnglish=this.loc.listingMode()===`en`,useDateTimeFormatter=this.loc.outputCalendar&&this.loc.outputCalendar!==`gregory`,string=(opts,extract)=>this.loc.extract(dt,opts,extract),formatOffset$2=opts=>dt.isOffsetFixed&&dt.offset===0&&opts.allowZ?`Z`:dt.isValid?dt.zone.formatOffset(dt.ts,opts.format):``,meridiem=()=>knownEnglish?meridiemForDateTime(dt):string({hour:`numeric`,hourCycle:`h12`},`dayperiod`),month=(length,standalone)=>knownEnglish?monthForDateTime(dt,length):string(standalone?{month:length}:{month:length,day:`numeric`},`month`),weekday=(length,standalone)=>knownEnglish?weekdayForDateTime(dt,length):string(standalone?{weekday:length}:{weekday:length,month:`long`,day:`numeric`},`weekday`),maybeMacro=token=>{let formatOpts=Formatter.macroTokenToFormatOpts(token);return formatOpts?this.formatWithSystemDefault(dt,formatOpts):token},era=length=>knownEnglish?eraForDateTime(dt,length):string({era:length},`era`),tokenToString=token=>{switch(token){case`S`:return this.num(dt.millisecond);case`u`:case`SSS`:return this.num(dt.millisecond,3);case`s`:return this.num(dt.second);case`ss`:return this.num(dt.second,2);case`uu`:return this.num(Math.floor(dt.millisecond/10),2);case`uuu`:return this.num(Math.floor(dt.millisecond/100));case`m`:return this.num(dt.minute);case`mm`:return this.num(dt.minute,2);case`h`:return this.num(dt.hour%12==0?12:dt.hour%12);case`hh`:return this.num(dt.hour%12==0?12:dt.hour%12,2);case`H`:return this.num(dt.hour);case`HH`:return this.num(dt.hour,2);case`Z`:return formatOffset$2({format:`narrow`,allowZ:this.opts.allowZ});case`ZZ`:return formatOffset$2({format:`short`,allowZ:this.opts.allowZ});case`ZZZ`:return formatOffset$2({format:`techie`,allowZ:this.opts.allowZ});case`ZZZZ`:return dt.zone.offsetName(dt.ts,{format:`short`,locale:this.loc.locale});case`ZZZZZ`:return dt.zone.offsetName(dt.ts,{format:`long`,locale:this.loc.locale});case`z`:return dt.zoneName;case`a`:return meridiem();case`d`:return useDateTimeFormatter?string({day:`numeric`},`day`):this.num(dt.day);case`dd`:return useDateTimeFormatter?string({day:`2-digit`},`day`):this.num(dt.day,2);case`c`:return this.num(dt.weekday);case`ccc`:return weekday(`short`,!0);case`cccc`:return weekday(`long`,!0);case`ccccc`:return weekday(`narrow`,!0);case`E`:return this.num(dt.weekday);case`EEE`:return weekday(`short`,!1);case`EEEE`:return weekday(`long`,!1);case`EEEEE`:return weekday(`narrow`,!1);case`L`:return useDateTimeFormatter?string({month:`numeric`,day:`numeric`},`month`):this.num(dt.month);case`LL`:return useDateTimeFormatter?string({month:`2-digit`,day:`numeric`},`month`):this.num(dt.month,2);case`LLL`:return month(`short`,!0);case`LLLL`:return month(`long`,!0);case`LLLLL`:return month(`narrow`,!0);case`M`:return useDateTimeFormatter?string({month:`numeric`},`month`):this.num(dt.month);case`MM`:return useDateTimeFormatter?string({month:`2-digit`},`month`):this.num(dt.month,2);case`MMM`:return month(`short`,!1);case`MMMM`:return month(`long`,!1);case`MMMMM`:return month(`narrow`,!1);case`y`:return useDateTimeFormatter?string({year:`numeric`},`year`):this.num(dt.year);case`yy`:return useDateTimeFormatter?string({year:`2-digit`},`year`):this.num(dt.year.toString().slice(-2),2);case`yyyy`:return useDateTimeFormatter?string({year:`numeric`},`year`):this.num(dt.year,4);case`yyyyyy`:return useDateTimeFormatter?string({year:`numeric`},`year`):this.num(dt.year,6);case`G`:return era(`short`);case`GG`:return era(`long`);case`GGGGG`:return era(`narrow`);case`kk`:return this.num(dt.weekYear.toString().slice(-2),2);case`kkkk`:return this.num(dt.weekYear,4);case`W`:return this.num(dt.weekNumber);case`WW`:return this.num(dt.weekNumber,2);case`n`:return this.num(dt.localWeekNumber);case`nn`:return this.num(dt.localWeekNumber,2);case`ii`:return this.num(dt.localWeekYear.toString().slice(-2),2);case`iiii`:return this.num(dt.localWeekYear,4);case`o`:return this.num(dt.ordinal);case`ooo`:return this.num(dt.ordinal,3);case`q`:return this.num(dt.quarter);case`qq`:return this.num(dt.quarter,2);case`X`:return this.num(Math.floor(dt.ts/1e3));case`x`:return this.num(dt.ts);default:return maybeMacro(token)}};return stringifyTokens(Formatter.parseFormat(fmt),tokenToString)}formatDurationFromString(dur,fmt){let invertLargest=this.opts.signMode===`negativeLargestOnly`?-1:1,tokenToField=token=>{switch(token[0]){case`S`:return`milliseconds`;case`s`:return`seconds`;case`m`:return`minutes`;case`h`:return`hours`;case`d`:return`days`;case`w`:return`weeks`;case`M`:return`months`;case`y`:return`years`;default:return null}},tokenToString=(lildur,info)=>token=>{let mapped=tokenToField(token);if(mapped){let inversionFactor=info.isNegativeDuration&&mapped!==info.largestUnit?invertLargest:1,signDisplay;return signDisplay=this.opts.signMode===`negativeLargestOnly`&&mapped!==info.largestUnit?`never`:this.opts.signMode===`all`?`always`:`auto`,this.num(lildur.get(mapped)*inversionFactor,token.length,signDisplay)}else return token},tokens=Formatter.parseFormat(fmt),realTokens=tokens.reduce((found,{literal,val})=>literal?found:found.concat(val),[]),collapsed=dur.shiftTo(...realTokens.map(tokenToField).filter(t$5=>t$5)),durationInfo={isNegativeDuration:collapsed<0,largestUnit:Object.keys(collapsed.values)[0]};return stringifyTokens(tokens,tokenToString(collapsed,durationInfo))}};const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...regexes){let full=regexes.reduce((f,r)=>f+r.source,``);return RegExp(`^${full}$`)}function combineExtractors(...extractors){return m=>extractors.reduce(([mergedVals,mergedZone,cursor],ex)=>{let[val,zone,next]=ex(m,cursor);return[{...mergedVals,...val},zone||mergedZone,next]},[{},null,1]).slice(0,2)}function parse$7(s$2,...patterns){if(s$2==null)return[null,null];for(let[regex,extractor]of patterns){let m=regex.exec(s$2);if(m)return extractor(m)}return[null,null]}function simpleParse(...keys){return(match$2,cursor)=>{let ret={},i$4;for(i$4=0;i$4<keys.length;i$4++)ret[keys[i$4]]=parseInteger(match$2[cursor+i$4]);return[ret,null,cursor+i$4]}}const offsetRegex=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone=`(?:${offsetRegex.source}?(?:\\[(${ianaRegex.source})\\])?)?`,isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,isoTimeRegex=RegExp(`${isoTimeBaseRegex.source}${isoExtendedZone}`),isoTimeExtensionRegex=RegExp(`(?:[Tt]${isoTimeRegex.source})?`),isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/,isoOrdinalRegex=/(\d{4})-?(\d{3})/,extractISOWeekData=simpleParse(`weekYear`,`weekNumber`,`weekDay`),extractISOOrdinalData=simpleParse(`year`,`ordinal`),sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/,sqlTimeRegex=RegExp(`${isoTimeBaseRegex.source} ?(?:${offsetRegex.source}|(${ianaRegex.source}))?`),sqlTimeExtensionRegex=RegExp(`(?: ${sqlTimeRegex.source})?`);function int(match$2,pos,fallback){let m=match$2[pos];return isUndefined(m)?fallback:parseInteger(m)}function extractISOYmd(match$2,cursor){let item={year:int(match$2,cursor),month:int(match$2,cursor+1,1),day:int(match$2,cursor+2,1)};return[item,null,cursor+3]}function extractISOTime(match$2,cursor){let item={hours:int(match$2,cursor,0),minutes:int(match$2,cursor+1,0),seconds:int(match$2,cursor+2,0),milliseconds:parseMillis(match$2[cursor+3])};return[item,null,cursor+4]}function extractISOOffset(match$2,cursor){let local=!match$2[cursor]&&!match$2[cursor+1],fullOffset=signedOffset(match$2[cursor+1],match$2[cursor+2]),zone=local?null:FixedOffsetZone.instance(fullOffset);return[{},zone,cursor+3]}function extractIANAZone(match$2,cursor){let zone=match$2[cursor]?IANAZone.create(match$2[cursor]):null;return[{},zone,cursor+1]}const isoTimeOnly=RegExp(`^T?${isoTimeBaseRegex.source}$`),isoDuration=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function extractISODuration(match$2){let[s$2,yearStr,monthStr,weekStr,dayStr,hourStr,minuteStr,secondStr,millisecondsStr]=match$2,hasNegativePrefix=s$2[0]===`-`,negativeSeconds=secondStr&&secondStr[0]===`-`,maybeNegate=(num,force=!1)=>num!==void 0&&(force||num&&hasNegativePrefix)?-num:num;return[{years:maybeNegate(parseFloating(yearStr)),months:maybeNegate(parseFloating(monthStr)),weeks:maybeNegate(parseFloating(weekStr)),days:maybeNegate(parseFloating(dayStr)),hours:maybeNegate(parseFloating(hourStr)),minutes:maybeNegate(parseFloating(minuteStr)),seconds:maybeNegate(parseFloating(secondStr),secondStr===`-0`),milliseconds:maybeNegate(parseMillis(millisecondsStr),negativeSeconds)}]}const obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(weekdayStr,yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr){let result={year:yearStr.length===2?untruncateYear(parseInteger(yearStr)):parseInteger(yearStr),month:monthsShort.indexOf(monthStr)+1,day:parseInteger(dayStr),hour:parseInteger(hourStr),minute:parseInteger(minuteStr)};return secondStr&&(result.second=parseInteger(secondStr)),weekdayStr&&(result.weekday=weekdayStr.length>3?weekdaysLong.indexOf(weekdayStr)+1:weekdaysShort.indexOf(weekdayStr)+1),result}const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(match$2){let[,weekdayStr,dayStr,monthStr,yearStr,hourStr,minuteStr,secondStr,obsOffset,milOffset,offHourStr,offMinuteStr]=match$2,result=fromStrings(weekdayStr,yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr),offset$2;return offset$2=obsOffset?obsOffsets[obsOffset]:milOffset?0:signedOffset(offHourStr,offMinuteStr),[result,new FixedOffsetZone(offset$2)]}function preprocessRFC2822(s$2){return s$2.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).trim()}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(match$2){let[,weekdayStr,dayStr,monthStr,yearStr,hourStr,minuteStr,secondStr]=match$2,result=fromStrings(weekdayStr,yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr);return[result,FixedOffsetZone.utcInstance]}function extractASCII(match$2){let[,weekdayStr,monthStr,dayStr,hourStr,minuteStr,secondStr,yearStr]=match$2,result=fromStrings(weekdayStr,yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr);return[result,FixedOffsetZone.utcInstance]}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(s$2){return parse$7(s$2,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(s$2){return parse$7(preprocessRFC2822(s$2),[rfc2822,extractRFC2822])}function parseHTTPDate(s$2){return parse$7(s$2,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(s$2){return parse$7(s$2,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(s$2){return parse$7(s$2,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(s$2){return parse$7(s$2,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}const INVALID$2=`Invalid Duration`,lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix},daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix={years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3},...lowOrderMatrix},orderedUnits$1=[`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],reverseUnits=orderedUnits$1.slice(0).reverse();function clone$2(dur,alts,clear=!1){let conf={values:clear?alts.values:{...dur.values,...alts.values||{}},loc:dur.loc.clone(alts.loc),conversionAccuracy:alts.conversionAccuracy||dur.conversionAccuracy,matrix:alts.matrix||dur.matrix};return new Duration(conf)}function durationToMillis(matrix,vals){let sum=vals.milliseconds??0;for(let unit of reverseUnits.slice(1))vals[unit]&&(sum+=vals[unit]*matrix[unit].milliseconds);return sum}function normalizeValues(matrix,vals){let factor=durationToMillis(matrix,vals)<0?-1:1;orderedUnits$1.reduceRight((previous,current)=>{if(isUndefined(vals[current]))return previous;if(previous){let previousVal=vals[previous]*factor,conv=matrix[current][previous],rollUp=Math.floor(previousVal/conv);vals[current]+=rollUp*factor,vals[previous]-=rollUp*conv*factor}return current},null),orderedUnits$1.reduce((previous,current)=>{if(isUndefined(vals[current]))return previous;if(previous){let fraction=vals[previous]%1;vals[previous]-=fraction,vals[current]+=fraction*matrix[previous][current]}return current},null)}function removeZeroes(vals){let newVals={};for(let[key,value]of Object.entries(vals))value!==0&&(newVals[key]=value);return newVals}var Duration=class Duration{constructor(config){let accurate=config.conversionAccuracy===`longterm`||!1,matrix=accurate?accurateMatrix:casualMatrix;config.matrix&&(matrix=config.matrix),this.values=config.values,this.loc=config.loc||Locale.create(),this.conversionAccuracy=accurate?`longterm`:`casual`,this.invalid=config.invalid||null,this.matrix=matrix,this.isLuxonDuration=!0}static fromMillis(count,opts){return Duration.fromObject({milliseconds:count},opts)}static fromObject(obj,opts={}){if(typeof obj!=`object`||!obj)throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${obj===null?`null`:typeof obj}`);return new Duration({values:normalizeObject(obj,Duration.normalizeUnit),loc:Locale.fromObject(opts),conversionAccuracy:opts.conversionAccuracy,matrix:opts.matrix})}static fromDurationLike(durationLike){if(isNumber(durationLike))return Duration.fromMillis(durationLike);if(Duration.isDuration(durationLike))return durationLike;if(typeof durationLike==`object`)return Duration.fromObject(durationLike);throw new InvalidArgumentError(`Unknown duration argument ${durationLike} of type ${typeof durationLike}`)}static fromISO(text,opts){let[parsed]=parseISODuration(text);return parsed?Duration.fromObject(parsed,opts):Duration.invalid(`unparsable`,`the input "${text}" can't be parsed as ISO 8601`)}static fromISOTime(text,opts){let[parsed]=parseISOTimeOnly(text);return parsed?Duration.fromObject(parsed,opts):Duration.invalid(`unparsable`,`the input "${text}" can't be parsed as ISO 8601`)}static invalid(reason,explanation=null){if(!reason)throw new InvalidArgumentError(`need to specify a reason the Duration is invalid`);let invalid$1=reason instanceof Invalid?reason:new Invalid(reason,explanation);if(Settings.throwOnInvalid)throw new InvalidDurationError(invalid$1);return new Duration({invalid:invalid$1})}static normalizeUnit(unit){let normalized={year:`years`,years:`years`,quarter:`quarters`,quarters:`quarters`,month:`months`,months:`months`,week:`weeks`,weeks:`weeks`,day:`days`,days:`days`,hour:`hours`,hours:`hours`,minute:`minutes`,minutes:`minutes`,second:`seconds`,seconds:`seconds`,millisecond:`milliseconds`,milliseconds:`milliseconds`}[unit&&unit.toLowerCase()];if(!normalized)throw new InvalidUnitError(unit);return normalized}static isDuration(o){return o&&o.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(fmt,opts={}){let fmtOpts={...opts,floor:opts.round!==!1&&opts.floor!==!1};return this.isValid?Formatter.create(this.loc,fmtOpts).formatDurationFromString(this,fmt):INVALID$2}toHuman(opts={}){if(!this.isValid)return INVALID$2;let showZeros=opts.showZeros!==!1,l$2=orderedUnits$1.map(unit=>{let val=this.values[unit];return isUndefined(val)||val===0&&!showZeros?null:this.loc.numberFormatter({style:`unit`,unitDisplay:`long`,...opts,unit:unit.slice(0,-1)}).format(val)}).filter(n$2=>n$2);return this.loc.listFormatter({type:`conjunction`,style:opts.listStyle||`narrow`,...opts}).format(l$2)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let s$2=`P`;return this.years!==0&&(s$2+=this.years+`Y`),(this.months!==0||this.quarters!==0)&&(s$2+=this.months+this.quarters*3+`M`),this.weeks!==0&&(s$2+=this.weeks+`W`),this.days!==0&&(s$2+=this.days+`D`),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(s$2+=`T`),this.hours!==0&&(s$2+=this.hours+`H`),this.minutes!==0&&(s$2+=this.minutes+`M`),(this.seconds!==0||this.milliseconds!==0)&&(s$2+=roundTo(this.seconds+this.milliseconds/1e3,3)+`S`),s$2===`P`&&(s$2+=`T0S`),s$2}toISOTime(opts={}){if(!this.isValid)return null;let millis=this.toMillis();if(millis<0||millis>=864e5)return null;opts={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:`extended`,...opts,includeOffset:!1};let dateTime=DateTime.fromMillis(millis,{zone:`UTC`});return dateTime.toISOTime(opts)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?durationToMillis(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(duration){if(!this.isValid)return this;let dur=Duration.fromDurationLike(duration),result={};for(let k of orderedUnits$1)(hasOwnProperty(dur.values,k)||hasOwnProperty(this.values,k))&&(result[k]=dur.get(k)+this.get(k));return clone$2(this,{values:result},!0)}minus(duration){if(!this.isValid)return this;let dur=Duration.fromDurationLike(duration);return this.plus(dur.negate())}mapUnits(fn$1){if(!this.isValid)return this;let result={};for(let k of Object.keys(this.values))result[k]=asNumber(fn$1(this.values[k],k));return clone$2(this,{values:result},!0)}get(unit){return this[Duration.normalizeUnit(unit)]}set(values){if(!this.isValid)return this;let mixed={...this.values,...normalizeObject(values,Duration.normalizeUnit)};return clone$2(this,{values:mixed})}reconfigure({locale,numberingSystem,conversionAccuracy,matrix}={}){let loc=this.loc.clone({locale,numberingSystem}),opts={loc,matrix,conversionAccuracy};return clone$2(this,opts)}as(unit){return this.isValid?this.shiftTo(unit).get(unit):NaN}normalize(){if(!this.isValid)return this;let vals=this.toObject();return normalizeValues(this.matrix,vals),clone$2(this,{values:vals},!0)}rescale(){if(!this.isValid)return this;let vals=removeZeroes(this.normalize().shiftToAll().toObject());return clone$2(this,{values:vals},!0)}shiftTo(...units){if(!this.isValid||units.length===0)return this;units=units.map(u=>Duration.normalizeUnit(u));let built={},accumulated={},vals=this.toObject(),lastUnit;for(let k of orderedUnits$1)if(units.indexOf(k)>=0){lastUnit=k;let own=0;for(let ak in accumulated)own+=this.matrix[ak][k]*accumulated[ak],accumulated[ak]=0;isNumber(vals[k])&&(own+=vals[k]);let i$4=Math.trunc(own);built[k]=i$4,accumulated[k]=(own*1e3-i$4*1e3)/1e3}else isNumber(vals[k])&&(accumulated[k]=vals[k]);for(let key in accumulated)accumulated[key]!==0&&(built[lastUnit]+=key===lastUnit?accumulated[key]:accumulated[key]/this.matrix[lastUnit][key]);return normalizeValues(this.matrix,built),clone$2(this,{values:built},!0)}shiftToAll(){return this.isValid?this.shiftTo(`years`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`):this}negate(){if(!this.isValid)return this;let negated={};for(let k of Object.keys(this.values))negated[k]=this.values[k]===0?0:-this.values[k];return clone$2(this,{values:negated},!0)}removeZeros(){if(!this.isValid)return this;let vals=removeZeroes(this.values);return clone$2(this,{values:vals},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(other){if(!this.isValid||!other.isValid||!this.loc.equals(other.loc))return!1;function eq$3(v1,v2){return v1===void 0||v1===0?v2===void 0||v2===0:v1===v2}for(let u of orderedUnits$1)if(!eq$3(this.values[u],other.values[u]))return!1;return!0}};const INVALID$1=`Invalid Interval`;function validateStartEnd(start,end){return!start||!start.isValid?Interval.invalid(`missing or invalid start`):!end||!end.isValid?Interval.invalid(`missing or invalid end`):end<start?Interval.invalid(`end before start`,`The end of an interval must be after its start, but you had start=${start.toISO()} and end=${end.toISO()}`):null}var Interval=class Interval{constructor(config){this.s=config.start,this.e=config.end,this.invalid=config.invalid||null,this.isLuxonInterval=!0}static invalid(reason,explanation=null){if(!reason)throw new InvalidArgumentError(`need to specify a reason the Interval is invalid`);let invalid$1=reason instanceof Invalid?reason:new Invalid(reason,explanation);if(Settings.throwOnInvalid)throw new InvalidIntervalError(invalid$1);return new Interval({invalid:invalid$1})}static fromDateTimes(start,end){let builtStart=friendlyDateTime(start),builtEnd=friendlyDateTime(end),validateError=validateStartEnd(builtStart,builtEnd);return validateError??new Interval({start:builtStart,end:builtEnd})}static after(start,duration){let dur=Duration.fromDurationLike(duration),dt=friendlyDateTime(start);return Interval.fromDateTimes(dt,dt.plus(dur))}static before(end,duration){let dur=Duration.fromDurationLike(duration),dt=friendlyDateTime(end);return Interval.fromDateTimes(dt.minus(dur),dt)}static fromISO(text,opts){let[s$2,e]=(text||``).split(`/`,2);if(s$2&&e){let start,startIsValid;try{start=DateTime.fromISO(s$2,opts),startIsValid=start.isValid}catch{startIsValid=!1}let end,endIsValid;try{end=DateTime.fromISO(e,opts),endIsValid=end.isValid}catch{endIsValid=!1}if(startIsValid&&endIsValid)return Interval.fromDateTimes(start,end);if(startIsValid){let dur=Duration.fromISO(e,opts);if(dur.isValid)return Interval.after(start,dur)}else if(endIsValid){let dur=Duration.fromISO(s$2,opts);if(dur.isValid)return Interval.before(end,dur)}}return Interval.invalid(`unparsable`,`the input "${text}" can't be parsed as ISO 8601`)}static isInterval(o){return o&&o.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(unit=`milliseconds`){return this.isValid?this.toDuration(unit).get(unit):NaN}count(unit=`milliseconds`,opts){if(!this.isValid)return NaN;let start=this.start.startOf(unit,opts),end;return end=opts?.useLocaleWeeks?this.end.reconfigure({locale:start.locale}):this.end,end=end.startOf(unit,opts),Math.floor(end.diff(start,unit).get(unit))+(end.valueOf()!==this.end.valueOf())}hasSame(unit){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,unit):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(dateTime){return this.isValid?this.s>dateTime:!1}isBefore(dateTime){return this.isValid?this.e<=dateTime:!1}contains(dateTime){return this.isValid?this.s<=dateTime&&this.e>dateTime:!1}set({start,end}={}){return this.isValid?Interval.fromDateTimes(start||this.s,end||this.e):this}splitAt(...dateTimes){if(!this.isValid)return[];let sorted=dateTimes.map(friendlyDateTime).filter(d=>this.contains(d)).sort((a,b)=>a.toMillis()-b.toMillis()),results=[],{s:s$2}=this,i$4=0;for(;s$2<this.e;){let added=sorted[i$4]||this.e,next=+added>+this.e?this.e:added;results.push(Interval.fromDateTimes(s$2,next)),s$2=next,i$4+=1}return results}splitBy(duration){let dur=Duration.fromDurationLike(duration);if(!this.isValid||!dur.isValid||dur.as(`milliseconds`)===0)return[];let{s:s$2}=this,idx=1,next,results=[];for(;s$2<this.e;){let added=this.start.plus(dur.mapUnits(x$1=>x$1*idx));next=+added>+this.e?this.e:added,results.push(Interval.fromDateTimes(s$2,next)),s$2=next,idx+=1}return results}divideEqually(numberOfParts){return this.isValid?this.splitBy(this.length()/numberOfParts).slice(0,numberOfParts):[]}overlaps(other){return this.e>other.s&&this.s<other.e}abutsStart(other){return this.isValid?+this.e==+other.s:!1}abutsEnd(other){return this.isValid?+other.e==+this.s:!1}engulfs(other){return this.isValid?this.s<=other.s&&this.e>=other.e:!1}equals(other){return!this.isValid||!other.isValid?!1:this.s.equals(other.s)&&this.e.equals(other.e)}intersection(other){if(!this.isValid)return this;let s$2=this.s>other.s?this.s:other.s,e=this.e<other.e?this.e:other.e;return s$2>=e?null:Interval.fromDateTimes(s$2,e)}union(other){if(!this.isValid)return this;let s$2=this.s<other.s?this.s:other.s,e=this.e>other.e?this.e:other.e;return Interval.fromDateTimes(s$2,e)}static merge(intervals){let[found,final]=intervals.sort((a,b)=>a.s-b.s).reduce(([sofar,current],item)=>current?current.overlaps(item)||current.abutsStart(item)?[sofar,current.union(item)]:[sofar.concat([current]),item]:[sofar,item],[[],null]);return final&&found.push(final),found}static xor(intervals){let start=null,currentCount=0,results=[],ends=intervals.map(i$4=>[{time:i$4.s,type:`s`},{time:i$4.e,type:`e`}]),flattened=Array.prototype.concat(...ends),arr=flattened.sort((a,b)=>a.time-b.time);for(let i$4 of arr)currentCount+=i$4.type===`s`?1:-1,currentCount===1?start=i$4.time:(start&&+start!=+i$4.time&&results.push(Interval.fromDateTimes(start,i$4.time)),start=null);return Interval.merge(results)}difference(...intervals){return Interval.xor([this].concat(intervals)).map(i$4=>this.intersection(i$4)).filter(i$4=>i$4&&!i$4.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:INVALID$1}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(formatOpts=DATE_SHORT,opts={}){return this.isValid?Formatter.create(this.s.loc.clone(opts),formatOpts).formatInterval(this):INVALID$1}toISO(opts){return this.isValid?`${this.s.toISO(opts)}/${this.e.toISO(opts)}`:INVALID$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1}toISOTime(opts){return this.isValid?`${this.s.toISOTime(opts)}/${this.e.toISOTime(opts)}`:INVALID$1}toFormat(dateFormat,{separator=` – `}={}){return this.isValid?`${this.s.toFormat(dateFormat)}${separator}${this.e.toFormat(dateFormat)}`:INVALID$1}toDuration(unit,opts){return this.isValid?this.e.diff(this.s,unit,opts):Duration.invalid(this.invalidReason)}mapEndpoints(mapFn){return Interval.fromDateTimes(mapFn(this.s),mapFn(this.e))}},Info=class{static hasDST(zone=Settings.defaultZone){let proto=DateTime.now().setZone(zone).set({month:12});return!zone.isUniversal&&proto.offset!==proto.set({month:6}).offset}static isValidIANAZone(zone){return IANAZone.isValidZone(zone)}static normalizeZone(input){return normalizeZone(input,Settings.defaultZone)}static getStartOfWeek({locale=null,locObj=null}={}){return(locObj||Locale.create(locale)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale=null,locObj=null}={}){return(locObj||Locale.create(locale)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale=null,locObj=null}={}){return(locObj||Locale.create(locale)).getWeekendDays().slice()}static months(length=`long`,{locale=null,numberingSystem=null,locObj=null,outputCalendar=`gregory`}={}){return(locObj||Locale.create(locale,numberingSystem,outputCalendar)).months(length)}static monthsFormat(length=`long`,{locale=null,numberingSystem=null,locObj=null,outputCalendar=`gregory`}={}){return(locObj||Locale.create(locale,numberingSystem,outputCalendar)).months(length,!0)}static weekdays(length=`long`,{locale=null,numberingSystem=null,locObj=null}={}){return(locObj||Locale.create(locale,numberingSystem,null)).weekdays(length)}static weekdaysFormat(length=`long`,{locale=null,numberingSystem=null,locObj=null}={}){return(locObj||Locale.create(locale,numberingSystem,null)).weekdays(length,!0)}static meridiems({locale=null}={}){return Locale.create(locale).meridiems()}static eras(length=`short`,{locale=null}={}){return Locale.create(locale,null,`gregory`).eras(length)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}};function dayDiff(earlier,later){let utcDayStart=dt=>dt.toUTC(0,{keepLocalTime:!0}).startOf(`day`).valueOf(),ms=utcDayStart(later)-utcDayStart(earlier);return Math.floor(Duration.fromMillis(ms).as(`days`))}function highOrderDiffs(cursor,later,units){let differs=[[`years`,(a,b)=>b.year-a.year],[`quarters`,(a,b)=>b.quarter-a.quarter+(b.year-a.year)*4],[`months`,(a,b)=>b.month-a.month+(b.year-a.year)*12],[`weeks`,(a,b)=>{let days=dayDiff(a,b);return(days-days%7)/7}],[`days`,dayDiff]],results={},earlier=cursor,lowestOrder,highWater;for(let[unit,differ]of differs)units.indexOf(unit)>=0&&(lowestOrder=unit,results[unit]=differ(cursor,later),highWater=earlier.plus(results),highWater>later?(results[unit]--,cursor=earlier.plus(results),cursor>later&&(highWater=cursor,results[unit]--,cursor=earlier.plus(results))):cursor=highWater);return[cursor,results,highWater,lowestOrder]}function diff_default(earlier,later,units,opts){let[cursor,results,highWater,lowestOrder]=highOrderDiffs(earlier,later,units),remainingMillis=later-cursor,lowerOrderUnits=units.filter(u=>[`hours`,`minutes`,`seconds`,`milliseconds`].indexOf(u)>=0);lowerOrderUnits.length===0&&(highWater<later&&(highWater=cursor.plus({[lowestOrder]:1})),highWater!==cursor&&(results[lowestOrder]=(results[lowestOrder]||0)+remainingMillis/(highWater-cursor)));let duration=Duration.fromObject(results,opts);return lowerOrderUnits.length>0?Duration.fromMillis(remainingMillis,opts).shiftTo(...lowerOrderUnits).plus(duration):duration}const MISSING_FTP=`missing Intl.DateTimeFormat.formatToParts support`;function intUnit(regex,post=i$4=>i$4){return{regex,deser:([s$2])=>post(parseDigits(s$2))}}const NBSP=`\xA0`,spaceOrNBSP=`[ ${NBSP}]`,spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,`g`);function fixListRegex(s$2){return s$2.replace(/\./g,`\\.?`).replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(s$2){return s$2.replace(/\./g,``).replace(spaceOrNBSPRegExp,` `).toLowerCase()}function oneOf(strings,startIndex){return strings===null?null:{regex:RegExp(strings.map(fixListRegex).join(`|`)),deser:([s$2])=>strings.findIndex(i$4=>stripInsensitivities(s$2)===stripInsensitivities(i$4))+startIndex}}function offset(regex,groups){return{regex,deser:([,h,m])=>signedOffset(h,m),groups}}function simple(regex){return{regex,deser:([s$2])=>s$2}}function escapeToken(value){return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,`\\$&`)}function unitForToken(token,loc){let one=digitRegex(loc),two=digitRegex(loc,`{2}`),three=digitRegex(loc,`{3}`),four=digitRegex(loc,`{4}`),six=digitRegex(loc,`{6}`),oneOrTwo=digitRegex(loc,`{1,2}`),oneToThree=digitRegex(loc,`{1,3}`),oneToSix=digitRegex(loc,`{1,6}`),oneToNine=digitRegex(loc,`{1,9}`),twoToFour=digitRegex(loc,`{2,4}`),fourToSix=digitRegex(loc,`{4,6}`),literal=t$5=>({regex:RegExp(escapeToken(t$5.val)),deser:([s$2])=>s$2,literal:!0}),unitate=t$5=>{if(token.literal)return literal(t$5);switch(t$5.val){case`G`:return oneOf(loc.eras(`short`),0);case`GG`:return oneOf(loc.eras(`long`),0);case`y`:return intUnit(oneToSix);case`yy`:return intUnit(twoToFour,untruncateYear);case`yyyy`:return intUnit(four);case`yyyyy`:return intUnit(fourToSix);case`yyyyyy`:return intUnit(six);case`M`:return intUnit(oneOrTwo);case`MM`:return intUnit(two);case`MMM`:return oneOf(loc.months(`short`,!0),1);case`MMMM`:return oneOf(loc.months(`long`,!0),1);case`L`:return intUnit(oneOrTwo);case`LL`:return intUnit(two);case`LLL`:return oneOf(loc.months(`short`,!1),1);case`LLLL`:return oneOf(loc.months(`long`,!1),1);case`d`:return intUnit(oneOrTwo);case`dd`:return intUnit(two);case`o`:return intUnit(oneToThree);case`ooo`:return intUnit(three);case`HH`:return intUnit(two);case`H`:return intUnit(oneOrTwo);case`hh`:return intUnit(two);case`h`:return intUnit(oneOrTwo);case`mm`:return intUnit(two);case`m`:return intUnit(oneOrTwo);case`q`:return intUnit(oneOrTwo);case`qq`:return intUnit(two);case`s`:return intUnit(oneOrTwo);case`ss`:return intUnit(two);case`S`:return intUnit(oneToThree);case`SSS`:return intUnit(three);case`u`:return simple(oneToNine);case`uu`:return simple(oneOrTwo);case`uuu`:return intUnit(one);case`a`:return oneOf(loc.meridiems(),0);case`kkkk`:return intUnit(four);case`kk`:return intUnit(twoToFour,untruncateYear);case`W`:return intUnit(oneOrTwo);case`WW`:return intUnit(two);case`E`:case`c`:return intUnit(one);case`EEE`:return oneOf(loc.weekdays(`short`,!1),1);case`EEEE`:return oneOf(loc.weekdays(`long`,!1),1);case`ccc`:return oneOf(loc.weekdays(`short`,!0),1);case`cccc`:return oneOf(loc.weekdays(`long`,!0),1);case`Z`:case`ZZ`:return offset(RegExp(`([+-]${oneOrTwo.source})(?::(${two.source}))?`),2);case`ZZZ`:return offset(RegExp(`([+-]${oneOrTwo.source})(${two.source})?`),2);case`z`:return simple(/[a-z_+-/]{1,256}?/i);case` `:return simple(/[^\S\n\r]/);default:return literal(t$5)}},unit=unitate(token)||{invalidReason:MISSING_FTP};return unit.token=token,unit}const partTypeStyleToTokenVal={year:{"2-digit":`yy`,numeric:`yyyyy`},month:{numeric:`M`,"2-digit":`MM`,short:`MMM`,long:`MMMM`},day:{numeric:`d`,"2-digit":`dd`},weekday:{short:`EEE`,long:`EEEE`},dayperiod:`a`,dayPeriod:`a`,hour12:{numeric:`h`,"2-digit":`hh`},hour24:{numeric:`H`,"2-digit":`HH`},minute:{numeric:`m`,"2-digit":`mm`},second:{numeric:`s`,"2-digit":`ss`},timeZoneName:{long:`ZZZZZ`,short:`ZZZ`}};function tokenForPart(part,formatOpts,resolvedOpts){let{type,value}=part;if(type===`literal`){let isSpace=/^\s+$/.test(value);return{literal:!isSpace,val:isSpace?` `:value}}let style=formatOpts[type],actualType=type;type===`hour`&&(actualType=formatOpts.hour12==null?formatOpts.hourCycle==null?resolvedOpts.hour12?`hour12`:`hour24`:formatOpts.hourCycle===`h11`||formatOpts.hourCycle===`h12`?`hour12`:`hour24`:formatOpts.hour12?`hour12`:`hour24`);let val=partTypeStyleToTokenVal[actualType];if(typeof val==`object`&&(val=val[style]),val)return{literal:!1,val}}function buildRegex(units){let re$5=units.map(u=>u.regex).reduce((f,r)=>`${f}(${r.source})`,``);return[`^${re$5}$`,units]}function match(input,regex,handlers){let matches=input.match(regex);if(matches){let all$1={},matchIndex=1;for(let i$4 in handlers)if(hasOwnProperty(handlers,i$4)){let h=handlers[i$4],groups=h.groups?h.groups+1:1;!h.literal&&h.token&&(all$1[h.token.val[0]]=h.deser(matches.slice(matchIndex,matchIndex+groups))),matchIndex+=groups}return[matches,all$1]}else return[matches,{}]}function dateTimeFromMatches(matches){let toField=token=>{switch(token){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:case`H`:return`hour`;case`d`:return`day`;case`o`:return`ordinal`;case`L`:case`M`:return`month`;case`y`:return`year`;case`E`:case`c`:return`weekday`;case`W`:return`weekNumber`;case`k`:return`weekYear`;case`q`:return`quarter`;default:return null}},zone=null,specificOffset;isUndefined(matches.z)||(zone=IANAZone.create(matches.z)),isUndefined(matches.Z)||(zone||=new FixedOffsetZone(matches.Z),specificOffset=matches.Z),isUndefined(matches.q)||(matches.M=(matches.q-1)*3+1),isUndefined(matches.h)||(matches.h<12&&matches.a===1?matches.h+=12:matches.h===12&&matches.a===0&&(matches.h=0)),matches.G===0&&matches.y&&(matches.y=-matches.y),isUndefined(matches.u)||(matches.S=parseMillis(matches.u));let vals=Object.keys(matches).reduce((r,k)=>{let f=toField(k);return f&&(r[f]=matches[k]),r},{});return[vals,zone,specificOffset]}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||=DateTime.fromMillis(1555555555555),dummyDateTimeCache}function maybeExpandMacroToken(token,locale){if(token.literal)return token;let formatOpts=Formatter.macroTokenToFormatOpts(token.val),tokens=formatOptsToTokens(formatOpts,locale);return tokens==null||tokens.includes(void 0)?token:tokens}function expandMacroTokens(tokens,locale){return Array.prototype.concat(...tokens.map(t$5=>maybeExpandMacroToken(t$5,locale)))}var TokenParser=class{constructor(locale,format){if(this.locale=locale,this.format=format,this.tokens=expandMacroTokens(Formatter.parseFormat(format),locale),this.units=this.tokens.map(t$5=>unitForToken(t$5,locale)),this.disqualifyingUnit=this.units.find(t$5=>t$5.invalidReason),!this.disqualifyingUnit){let[regexString,handlers]=buildRegex(this.units);this.regex=RegExp(regexString,`i`),this.handlers=handlers}}explainFromTokens(input){if(this.isValid){let[rawMatches,matches]=match(input,this.regex,this.handlers),[result,zone,specificOffset]=matches?dateTimeFromMatches(matches):[null,null,void 0];if(hasOwnProperty(matches,`a`)&&hasOwnProperty(matches,`H`))throw new ConflictingSpecificationError(`Can't include meridiem when specifying 24-hour format`);return{input,tokens:this.tokens,regex:this.regex,rawMatches,matches,result,zone,specificOffset}}else return{input,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function explainFromTokens(locale,input,format){let parser=new TokenParser(locale,format);return parser.explainFromTokens(input)}function parseFromTokens(locale,input,format){let{result,zone,specificOffset,invalidReason}=explainFromTokens(locale,input,format);return[result,zone,specificOffset,invalidReason]}function formatOptsToTokens(formatOpts,locale){if(!formatOpts)return null;let formatter=Formatter.create(locale,formatOpts),df=formatter.dtFormatter(getDummyDateTime()),parts=df.formatToParts(),resolvedOpts=df.resolvedOptions();return parts.map(p=>tokenForPart(p,formatOpts,resolvedOpts))}const INVALID=`Invalid DateTime`,MAX_DATE=864e13;function unsupportedZone(zone){return new Invalid(`unsupported zone`,`the zone "${zone.name}" is not supported`)}function possiblyCachedWeekData(dt){return dt.weekData===null&&(dt.weekData=gregorianToWeek(dt.c)),dt.weekData}function possiblyCachedLocalWeekData(dt){return dt.localWeekData===null&&(dt.localWeekData=gregorianToWeek(dt.c,dt.loc.getMinDaysInFirstWeek(),dt.loc.getStartOfWeek())),dt.localWeekData}function clone$1(inst,alts){let current={ts:inst.ts,zone:inst.zone,c:inst.c,o:inst.o,loc:inst.loc,invalid:inst.invalid};return new DateTime({...current,...alts,old:current})}function fixOffset(localTS,o,tz){let utcGuess=localTS-o*60*1e3,o2=tz.offset(utcGuess);if(o===o2)return[utcGuess,o];utcGuess-=(o2-o)*60*1e3;let o3=tz.offset(utcGuess);return o2===o3?[utcGuess,o2]:[localTS-Math.min(o2,o3)*60*1e3,Math.max(o2,o3)]}function tsToObj(ts,offset$2){ts+=offset$2*60*1e3;let d=new Date(ts);return{year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate(),hour:d.getUTCHours(),minute:d.getUTCMinutes(),second:d.getUTCSeconds(),millisecond:d.getUTCMilliseconds()}}function objToTS(obj,offset$2,zone){return fixOffset(objToLocalTS(obj),offset$2,zone)}function adjustTime(inst,dur){let oPre=inst.o,year=inst.c.year+Math.trunc(dur.years),month=inst.c.month+Math.trunc(dur.months)+Math.trunc(dur.quarters)*3,c$1={...inst.c,year,month,day:Math.min(inst.c.day,daysInMonth(year,month))+Math.trunc(dur.days)+Math.trunc(dur.weeks)*7},millisToAdd=Duration.fromObject({years:dur.years-Math.trunc(dur.years),quarters:dur.quarters-Math.trunc(dur.quarters),months:dur.months-Math.trunc(dur.months),weeks:dur.weeks-Math.trunc(dur.weeks),days:dur.days-Math.trunc(dur.days),hours:dur.hours,minutes:dur.minutes,seconds:dur.seconds,milliseconds:dur.milliseconds}).as(`milliseconds`),localTS=objToLocalTS(c$1),[ts,o]=fixOffset(localTS,oPre,inst.zone);return millisToAdd!==0&&(ts+=millisToAdd,o=inst.zone.offset(ts)),{ts,o}}function parseDataToDateTime(parsed,parsedZone,opts,format,text,specificOffset){let{setZone,zone}=opts;if(parsed&&Object.keys(parsed).length!==0||parsedZone){let interpretationZone=parsedZone||zone,inst=DateTime.fromObject(parsed,{...opts,zone:interpretationZone,specificOffset});return setZone?inst:inst.setZone(zone)}else return DateTime.invalid(new Invalid(`unparsable`,`the input "${text}" can't be parsed as ${format}`))}function toTechFormat(dt,format,allowZ=!0){return dt.isValid?Formatter.create(Locale.create(`en-US`),{allowZ,forceSimple:!0}).formatDateTimeFromString(dt,format):null}function toISODate(o,extended,precision){let longFormat=o.c.year>9999||o.c.year<0,c$1=``;if(longFormat&&o.c.year>=0&&(c$1+=`+`),c$1+=padStart(o.c.year,longFormat?6:4),precision===`year`)return c$1;if(extended){if(c$1+=`-`,c$1+=padStart(o.c.month),precision===`month`)return c$1;c$1+=`-`}else if(c$1+=padStart(o.c.month),precision===`month`)return c$1;return c$1+=padStart(o.c.day),c$1}function toISOTime(o,extended,suppressSeconds,suppressMilliseconds,includeOffset,extendedZone,precision){let showSeconds=!suppressSeconds||o.c.millisecond!==0||o.c.second!==0,c$1=``;switch(precision){case`day`:case`month`:case`year`:break;default:if(c$1+=padStart(o.c.hour),precision===`hour`)break;if(extended){if(c$1+=`:`,c$1+=padStart(o.c.minute),precision===`minute`)break;showSeconds&&(c$1+=`:`,c$1+=padStart(o.c.second))}else{if(c$1+=padStart(o.c.minute),precision===`minute`)break;showSeconds&&(c$1+=padStart(o.c.second))}if(precision===`second`)break;showSeconds&&(!suppressMilliseconds||o.c.millisecond!==0)&&(c$1+=`.`,c$1+=padStart(o.c.millisecond,3))}return includeOffset&&(o.isOffsetFixed&&o.offset===0&&!extendedZone?c$1+=`Z`:o.o<0?(c$1+=`-`,c$1+=padStart(Math.trunc(-o.o/60)),c$1+=`:`,c$1+=padStart(Math.trunc(-o.o%60))):(c$1+=`+`,c$1+=padStart(Math.trunc(o.o/60)),c$1+=`:`,c$1+=padStart(Math.trunc(o.o%60)))),extendedZone&&(c$1+=`[`+o.zone.ianaName+`]`),c$1}const defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`],orderedWeekUnits=[`weekYear`,`weekNumber`,`weekday`,`hour`,`minute`,`second`,`millisecond`],orderedOrdinalUnits=[`year`,`ordinal`,`hour`,`minute`,`second`,`millisecond`];function normalizeUnit(unit){let normalized={year:`year`,years:`year`,month:`month`,months:`month`,day:`day`,days:`day`,hour:`hour`,hours:`hour`,minute:`minute`,minutes:`minute`,quarter:`quarter`,quarters:`quarter`,second:`second`,seconds:`second`,millisecond:`millisecond`,milliseconds:`millisecond`,weekday:`weekday`,weekdays:`weekday`,weeknumber:`weekNumber`,weeksnumber:`weekNumber`,weeknumbers:`weekNumber`,weekyear:`weekYear`,weekyears:`weekYear`,ordinal:`ordinal`}[unit.toLowerCase()];if(!normalized)throw new InvalidUnitError(unit);return normalized}function normalizeUnitWithLocalWeeks(unit){switch(unit.toLowerCase()){case`localweekday`:case`localweekdays`:return`localWeekday`;case`localweeknumber`:case`localweeknumbers`:return`localWeekNumber`;case`localweekyear`:case`localweekyears`:return`localWeekYear`;default:return normalizeUnit(unit)}}function guessOffsetForZone(zone){if(zoneOffsetTs===void 0&&(zoneOffsetTs=Settings.now()),zone.type!==`iana`)return zone.offset(zoneOffsetTs);let zoneName=zone.name,offsetGuess=zoneOffsetGuessCache.get(zoneName);return offsetGuess===void 0&&(offsetGuess=zone.offset(zoneOffsetTs),zoneOffsetGuessCache.set(zoneName,offsetGuess)),offsetGuess}function quickDT(obj,opts){let zone=normalizeZone(opts.zone,Settings.defaultZone);if(!zone.isValid)return DateTime.invalid(unsupportedZone(zone));let loc=Locale.fromObject(opts),ts,o;if(isUndefined(obj.year))ts=Settings.now();else{for(let u of orderedUnits)isUndefined(obj[u])&&(obj[u]=defaultUnitValues[u]);let invalid$1=hasInvalidGregorianData(obj)||hasInvalidTimeData(obj);if(invalid$1)return DateTime.invalid(invalid$1);let offsetProvis=guessOffsetForZone(zone);[ts,o]=objToTS(obj,offsetProvis,zone)}return new DateTime({ts,zone,loc,o})}function diffRelative(start,end,opts){let round$2=isUndefined(opts.round)?!0:opts.round,rounding=isUndefined(opts.rounding)?`trunc`:opts.rounding,format=(c$1,unit)=>{c$1=roundTo(c$1,round$2||opts.calendary?0:2,opts.calendary?`round`:rounding);let formatter=end.loc.clone(opts).relFormatter(opts);return formatter.format(c$1,unit)},differ=unit=>opts.calendary?end.hasSame(start,unit)?0:end.startOf(unit).diff(start.startOf(unit),unit).get(unit):end.diff(start,unit).get(unit);if(opts.unit)return format(differ(opts.unit),opts.unit);for(let unit of opts.units){let count=differ(unit);if(Math.abs(count)>=1)return format(count,unit)}return format(start>end?-0:0,opts.units[opts.units.length-1])}function lastOpts(argList){let opts={},args$1;return argList.length>0&&typeof argList[argList.length-1]==`object`?(opts=argList[argList.length-1],args$1=Array.from(argList).slice(0,argList.length-1)):args$1=Array.from(argList),[opts,args$1]}let zoneOffsetTs;const zoneOffsetGuessCache=new Map;var DateTime=class DateTime{constructor(config){let zone=config.zone||Settings.defaultZone,invalid$1=config.invalid||(Number.isNaN(config.ts)?new Invalid(`invalid input`):null)||(zone.isValid?null:unsupportedZone(zone));this.ts=isUndefined(config.ts)?Settings.now():config.ts;let c$1=null,o=null;if(!invalid$1){let unchanged=config.old&&config.old.ts===this.ts&&config.old.zone.equals(zone);if(unchanged)[c$1,o]=[config.old.c,config.old.o];else{let ot=isNumber(config.o)&&!config.old?config.o:zone.offset(this.ts);c$1=tsToObj(this.ts,ot),invalid$1=Number.isNaN(c$1.year)?new Invalid(`invalid input`):null,c$1=invalid$1?null:c$1,o=invalid$1?null:ot}}this._zone=zone,this.loc=config.loc||Locale.create(),this.invalid=invalid$1,this.weekData=null,this.localWeekData=null,this.c=c$1,this.o=o,this.isLuxonDateTime=!0}static now(){return new DateTime({})}static local(){let[opts,args$1]=lastOpts(arguments),[year,month,day,hour,minute,second,millisecond]=args$1;return quickDT({year,month,day,hour,minute,second,millisecond},opts)}static utc(){let[opts,args$1]=lastOpts(arguments),[year,month,day,hour,minute,second,millisecond]=args$1;return opts.zone=FixedOffsetZone.utcInstance,quickDT({year,month,day,hour,minute,second,millisecond},opts)}static fromJSDate(date,options={}){let ts=isDate(date)?date.valueOf():NaN;if(Number.isNaN(ts))return DateTime.invalid(`invalid input`);let zoneToUse=normalizeZone(options.zone,Settings.defaultZone);return zoneToUse.isValid?new DateTime({ts,zone:zoneToUse,loc:Locale.fromObject(options)}):DateTime.invalid(unsupportedZone(zoneToUse))}static fromMillis(milliseconds,options={}){if(isNumber(milliseconds))return milliseconds<-MAX_DATE||milliseconds>MAX_DATE?DateTime.invalid(`Timestamp out of range`):new DateTime({ts:milliseconds,zone:normalizeZone(options.zone,Settings.defaultZone),loc:Locale.fromObject(options)});throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof milliseconds} with value ${milliseconds}`)}static fromSeconds(seconds,options={}){if(isNumber(seconds))return new DateTime({ts:seconds*1e3,zone:normalizeZone(options.zone,Settings.defaultZone),loc:Locale.fromObject(options)});throw new InvalidArgumentError(`fromSeconds requires a numerical input`)}static fromObject(obj,opts={}){obj||={};let zoneToUse=normalizeZone(opts.zone,Settings.defaultZone);if(!zoneToUse.isValid)return DateTime.invalid(unsupportedZone(zoneToUse));let loc=Locale.fromObject(opts),normalized=normalizeObject(obj,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek,startOfWeek}=usesLocalWeekValues(normalized,loc),tsNow=Settings.now(),offsetProvis=isUndefined(opts.specificOffset)?zoneToUse.offset(tsNow):opts.specificOffset,containsOrdinal=!isUndefined(normalized.ordinal),containsGregorYear=!isUndefined(normalized.year),containsGregorMD=!isUndefined(normalized.month)||!isUndefined(normalized.day),containsGregor=containsGregorYear||containsGregorMD,definiteWeekDef=normalized.weekYear||normalized.weekNumber;if((containsGregor||containsOrdinal)&&definiteWeekDef)throw new ConflictingSpecificationError(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(containsGregorMD&&containsOrdinal)throw new ConflictingSpecificationError(`Can't mix ordinal dates with month/day`);let useWeekData=definiteWeekDef||normalized.weekday&&!containsGregor,units,defaultValues,objNow=tsToObj(tsNow,offsetProvis);useWeekData?(units=orderedWeekUnits,defaultValues=defaultWeekUnitValues,objNow=gregorianToWeek(objNow,minDaysInFirstWeek,startOfWeek)):containsOrdinal?(units=orderedOrdinalUnits,defaultValues=defaultOrdinalUnitValues,objNow=gregorianToOrdinal(objNow)):(units=orderedUnits,defaultValues=defaultUnitValues);let foundFirst=!1;for(let u of units){let v=normalized[u];isUndefined(v)?foundFirst?normalized[u]=defaultValues[u]:normalized[u]=objNow[u]:foundFirst=!0}let higherOrderInvalid=useWeekData?hasInvalidWeekData(normalized,minDaysInFirstWeek,startOfWeek):containsOrdinal?hasInvalidOrdinalData(normalized):hasInvalidGregorianData(normalized),invalid$1=higherOrderInvalid||hasInvalidTimeData(normalized);if(invalid$1)return DateTime.invalid(invalid$1);let gregorian=useWeekData?weekToGregorian(normalized,minDaysInFirstWeek,startOfWeek):containsOrdinal?ordinalToGregorian(normalized):normalized,[tsFinal,offsetFinal]=objToTS(gregorian,offsetProvis,zoneToUse),inst=new DateTime({ts:tsFinal,zone:zoneToUse,o:offsetFinal,loc});return normalized.weekday&&containsGregor&&obj.weekday!==inst.weekday?DateTime.invalid(`mismatched weekday`,`you can't specify both a weekday of ${normalized.weekday} and a date of ${inst.toISO()}`):inst.isValid?inst:DateTime.invalid(inst.invalid)}static fromISO(text,opts={}){let[vals,parsedZone]=parseISODate(text);return parseDataToDateTime(vals,parsedZone,opts,`ISO 8601`,text)}static fromRFC2822(text,opts={}){let[vals,parsedZone]=parseRFC2822Date(text);return parseDataToDateTime(vals,parsedZone,opts,`RFC 2822`,text)}static fromHTTP(text,opts={}){let[vals,parsedZone]=parseHTTPDate(text);return parseDataToDateTime(vals,parsedZone,opts,`HTTP`,opts)}static fromFormat(text,fmt,opts={}){if(isUndefined(text)||isUndefined(fmt))throw new InvalidArgumentError(`fromFormat requires an input string and a format`);let{locale=null,numberingSystem=null}=opts,localeToUse=Locale.fromOpts({locale,numberingSystem,defaultToEN:!0}),[vals,parsedZone,specificOffset,invalid$1]=parseFromTokens(localeToUse,text,fmt);return invalid$1?DateTime.invalid(invalid$1):parseDataToDateTime(vals,parsedZone,opts,`format ${fmt}`,text,specificOffset)}static fromString(text,fmt,opts={}){return DateTime.fromFormat(text,fmt,opts)}static fromSQL(text,opts={}){let[vals,parsedZone]=parseSQL(text);return parseDataToDateTime(vals,parsedZone,opts,`SQL`,text)}static invalid(reason,explanation=null){if(!reason)throw new InvalidArgumentError(`need to specify a reason the DateTime is invalid`);let invalid$1=reason instanceof Invalid?reason:new Invalid(reason,explanation);if(Settings.throwOnInvalid)throw new InvalidDateTimeError(invalid$1);return new DateTime({invalid:invalid$1})}static isDateTime(o){return o&&o.isLuxonDateTime||!1}static parseFormatForOpts(formatOpts,localeOpts={}){let tokenList=formatOptsToTokens(formatOpts,Locale.fromObject(localeOpts));return tokenList?tokenList.map(t$5=>t$5?t$5.val:null).join(``):null}static expandFormat(fmt,localeOpts={}){let expanded=expandMacroTokens(Formatter.parseFormat(fmt),Locale.fromObject(localeOpts));return expanded.map(t$5=>t$5.val).join(``)}static resetCache(){zoneOffsetTs=void 0,zoneOffsetGuessCache.clear()}get(unit){return this[unit]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months(`short`,{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months(`long`,{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays(`short`,{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays(`long`,{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:`short`,locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:`long`,locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let dayMs=864e5,minuteMs=6e4,localTS=objToLocalTS(this.c),oEarlier=this.zone.offset(localTS-dayMs),oLater=this.zone.offset(localTS+dayMs),o1=this.zone.offset(localTS-oEarlier*minuteMs),o2=this.zone.offset(localTS-oLater*minuteMs);if(o1===o2)return[this];let ts1=localTS-o1*minuteMs,ts2=localTS-o2*minuteMs,c1=tsToObj(ts1,o1),c2=tsToObj(ts2,o2);return c1.hour===c2.hour&&c1.minute===c2.minute&&c1.second===c2.second&&c1.millisecond===c2.millisecond?[clone$1(this,{ts:ts1}),clone$1(this,{ts:ts2})]:[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(opts={}){let{locale,numberingSystem,calendar}=Formatter.create(this.loc.clone(opts),opts).resolvedOptions(this);return{locale,numberingSystem,outputCalendar:calendar}}toUTC(offset$2=0,opts={}){return this.setZone(FixedOffsetZone.instance(offset$2),opts)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(zone,{keepLocalTime=!1,keepCalendarTime=!1}={}){if(zone=normalizeZone(zone,Settings.defaultZone),zone.equals(this.zone))return this;if(zone.isValid){let newTS=this.ts;if(keepLocalTime||keepCalendarTime){let offsetGuess=zone.offset(this.ts),asObj=this.toObject();[newTS]=objToTS(asObj,offsetGuess,zone)}return clone$1(this,{ts:newTS,zone})}else return DateTime.invalid(unsupportedZone(zone))}reconfigure({locale,numberingSystem,outputCalendar}={}){let loc=this.loc.clone({locale,numberingSystem,outputCalendar});return clone$1(this,{loc})}setLocale(locale){return this.reconfigure({locale})}set(values){if(!this.isValid)return this;let normalized=normalizeObject(values,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek,startOfWeek}=usesLocalWeekValues(normalized,this.loc),settingWeekStuff=!isUndefined(normalized.weekYear)||!isUndefined(normalized.weekNumber)||!isUndefined(normalized.weekday),containsOrdinal=!isUndefined(normalized.ordinal),containsGregorYear=!isUndefined(normalized.year),containsGregorMD=!isUndefined(normalized.month)||!isUndefined(normalized.day),containsGregor=containsGregorYear||containsGregorMD,definiteWeekDef=normalized.weekYear||normalized.weekNumber;if((containsGregor||containsOrdinal)&&definiteWeekDef)throw new ConflictingSpecificationError(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(containsGregorMD&&containsOrdinal)throw new ConflictingSpecificationError(`Can't mix ordinal dates with month/day`);let mixed;settingWeekStuff?mixed=weekToGregorian({...gregorianToWeek(this.c,minDaysInFirstWeek,startOfWeek),...normalized},minDaysInFirstWeek,startOfWeek):isUndefined(normalized.ordinal)?(mixed={...this.toObject(),...normalized},isUndefined(normalized.day)&&(mixed.day=Math.min(daysInMonth(mixed.year,mixed.month),mixed.day))):mixed=ordinalToGregorian({...gregorianToOrdinal(this.c),...normalized});let[ts,o]=objToTS(mixed,this.o,this.zone);return clone$1(this,{ts,o})}plus(duration){if(!this.isValid)return this;let dur=Duration.fromDurationLike(duration);return clone$1(this,adjustTime(this,dur))}minus(duration){if(!this.isValid)return this;let dur=Duration.fromDurationLike(duration).negate();return clone$1(this,adjustTime(this,dur))}startOf(unit,{useLocaleWeeks=!1}={}){if(!this.isValid)return this;let o={},normalizedUnit=Duration.normalizeUnit(unit);switch(normalizedUnit){case`years`:o.month=1;case`quarters`:case`months`:o.day=1;case`weeks`:case`days`:o.hour=0;case`hours`:o.minute=0;case`minutes`:o.second=0;case`seconds`:o.millisecond=0;break;case`milliseconds`:break}if(normalizedUnit===`weeks`)if(useLocaleWeeks){let startOfWeek=this.loc.getStartOfWeek(),{weekday}=this;weekday<startOfWeek&&(o.weekNumber=this.weekNumber-1),o.weekday=startOfWeek}else o.weekday=1;if(normalizedUnit===`quarters`){let q=Math.ceil(this.month/3);o.month=(q-1)*3+1}return this.set(o)}endOf(unit,opts){return this.isValid?this.plus({[unit]:1}).startOf(unit,opts).minus(1):this}toFormat(fmt,opts={}){return this.isValid?Formatter.create(this.loc.redefaultToEN(opts)).formatDateTimeFromString(this,fmt):INVALID}toLocaleString(formatOpts=DATE_SHORT,opts={}){return this.isValid?Formatter.create(this.loc.clone(opts),formatOpts).formatDateTime(this):INVALID}toLocaleParts(opts={}){return this.isValid?Formatter.create(this.loc.clone(opts),opts).formatDateTimeParts(this):[]}toISO({format=`extended`,suppressSeconds=!1,suppressMilliseconds=!1,includeOffset=!0,extendedZone=!1,precision=`milliseconds`}={}){if(!this.isValid)return null;precision=normalizeUnit(precision);let ext=format===`extended`,c$1=toISODate(this,ext,precision);return orderedUnits.indexOf(precision)>=3&&(c$1+=`T`),c$1+=toISOTime(this,ext,suppressSeconds,suppressMilliseconds,includeOffset,extendedZone,precision),c$1}toISODate({format=`extended`,precision=`day`}={}){return this.isValid?toISODate(this,format===`extended`,normalizeUnit(precision)):null}toISOWeekDate(){return toTechFormat(this,`kkkk-'W'WW-c`)}toISOTime({suppressMilliseconds=!1,suppressSeconds=!1,includeOffset=!0,includePrefix=!1,extendedZone=!1,format=`extended`,precision=`milliseconds`}={}){if(!this.isValid)return null;precision=normalizeUnit(precision);let c$1=includePrefix&&orderedUnits.indexOf(precision)>=3?`T`:``;return c$1+toISOTime(this,format===`extended`,suppressSeconds,suppressMilliseconds,includeOffset,extendedZone,precision)}toRFC2822(){return toTechFormat(this,`EEE, dd LLL yyyy HH:mm:ss ZZZ`,!1)}toHTTP(){return toTechFormat(this.toUTC(),`EEE, dd LLL yyyy HH:mm:ss 'GMT'`)}toSQLDate(){return this.isValid?toISODate(this,!0):null}toSQLTime({includeOffset=!0,includeZone=!1,includeOffsetSpace=!0}={}){let fmt=`HH:mm:ss.SSS`;return(includeZone||includeOffset)&&(includeOffsetSpace&&(fmt+=` `),includeZone?fmt+=`z`:includeOffset&&(fmt+=`ZZ`)),toTechFormat(this,fmt,!0)}toSQL(opts={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(opts)}`:null}toString(){return this.isValid?this.toISO():INVALID}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(opts={}){if(!this.isValid)return{};let base={...this.c};return opts.includeConfig&&(base.outputCalendar=this.outputCalendar,base.numberingSystem=this.loc.numberingSystem,base.locale=this.loc.locale),base}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(otherDateTime,unit=`milliseconds`,opts={}){if(!this.isValid||!otherDateTime.isValid)return Duration.invalid(`created by diffing an invalid DateTime`);let durOpts={locale:this.locale,numberingSystem:this.numberingSystem,...opts},units=maybeArray(unit).map(Duration.normalizeUnit),otherIsLater=otherDateTime.valueOf()>this.valueOf(),earlier=otherIsLater?this:otherDateTime,later=otherIsLater?otherDateTime:this,diffed=diff_default(earlier,later,units,durOpts);return otherIsLater?diffed.negate():diffed}diffNow(unit=`milliseconds`,opts={}){return this.diff(DateTime.now(),unit,opts)}until(otherDateTime){return this.isValid?Interval.fromDateTimes(this,otherDateTime):this}hasSame(otherDateTime,unit,opts){if(!this.isValid)return!1;let inputMs=otherDateTime.valueOf(),adjustedToZone=this.setZone(otherDateTime.zone,{keepLocalTime:!0});return adjustedToZone.startOf(unit,opts)<=inputMs&&inputMs<=adjustedToZone.endOf(unit,opts)}equals(other){return this.isValid&&other.isValid&&this.valueOf()===other.valueOf()&&this.zone.equals(other.zone)&&this.loc.equals(other.loc)}toRelative(options={}){if(!this.isValid)return null;let base=options.base||DateTime.fromObject({},{zone:this.zone}),padding=options.padding?this<base?-options.padding:options.padding:0,units=[`years`,`months`,`days`,`hours`,`minutes`,`seconds`],unit=options.unit;return Array.isArray(options.unit)&&(units=options.unit,unit=void 0),diffRelative(base,this.plus(padding),{...options,numeric:`always`,units,unit})}toRelativeCalendar(options={}){return this.isValid?diffRelative(options.base||DateTime.fromObject({},{zone:this.zone}),this,{...options,numeric:`auto`,units:[`years`,`months`,`days`],calendary:!0}):null}static min(...dateTimes){if(!dateTimes.every(DateTime.isDateTime))throw new InvalidArgumentError(`min requires all arguments be DateTimes`);return bestBy(dateTimes,i$4=>i$4.valueOf(),Math.min)}static max(...dateTimes){if(!dateTimes.every(DateTime.isDateTime))throw new InvalidArgumentError(`max requires all arguments be DateTimes`);return bestBy(dateTimes,i$4=>i$4.valueOf(),Math.max)}static fromFormatExplain(text,fmt,options={}){let{locale=null,numberingSystem=null}=options,localeToUse=Locale.fromOpts({locale,numberingSystem,defaultToEN:!0});return explainFromTokens(localeToUse,text,fmt)}static fromStringExplain(text,fmt,options={}){return DateTime.fromFormatExplain(text,fmt,options)}static buildFormatParser(fmt,options={}){let{locale=null,numberingSystem=null}=options,localeToUse=Locale.fromOpts({locale,numberingSystem,defaultToEN:!0});return new TokenParser(localeToUse,fmt)}static fromFormatParser(text,formatParser,opts={}){if(isUndefined(text)||isUndefined(formatParser))throw new InvalidArgumentError(`fromFormatParser requires an input string and a format parser`);let{locale=null,numberingSystem=null}=opts,localeToUse=Locale.fromOpts({locale,numberingSystem,defaultToEN:!0});if(!localeToUse.equals(formatParser.locale))throw new InvalidArgumentError(`fromFormatParser called with a locale of ${localeToUse}, but the format parser was created for ${formatParser.locale}`);let{result,zone,specificOffset,invalidReason}=formatParser.explainFromTokens(text);return invalidReason?DateTime.invalid(invalidReason):parseDataToDateTime(result,zone,opts,`format ${formatParser.format}`,text,specificOffset)}static get DATE_SHORT(){return DATE_SHORT}static get DATE_MED(){return DATE_MED}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY}static get DATE_FULL(){return DATE_FULL}static get DATE_HUGE(){return DATE_HUGE}static get TIME_SIMPLE(){return TIME_SIMPLE}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET}static get DATETIME_SHORT(){return DATETIME_SHORT}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS}static get DATETIME_MED(){return DATETIME_MED}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY}static get DATETIME_FULL(){return DATETIME_FULL}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS}static get DATETIME_HUGE(){return DATETIME_HUGE}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS}};function friendlyDateTime(dateTimeish){if(DateTime.isDateTime(dateTimeish))return dateTimeish;if(dateTimeish&&dateTimeish.valueOf&&isNumber(dateTimeish.valueOf()))return DateTime.fromJSDate(dateTimeish);if(dateTimeish&&typeof dateTimeish==`object`)return DateTime.fromObject(dateTimeish);throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`)}var require_dayjs_min=__commonJSMin((exports,module)=>{(function(t$5,e){typeof exports==`object`&&module!==void 0?module.exports=e():typeof define==`function`&&define.amd?define(e):(t$5=typeof globalThis<`u`?globalThis:t$5||self).dayjs=e()})(exports,function(){"use strict";var t$5=1e3,e=6e4,n$2=36e5,r=`millisecond`,i$4=`second`,s$2=`minute`,u=`hour`,a=`day`,o=`week`,c$1=`month`,f=`quarter`,h=`year`,d=`date`,l$2=`Invalid Date`,$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M$1={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(t$6){var e$1=[`th`,`st`,`nd`,`rd`],n$3=t$6%100;return`[`+t$6+(e$1[(n$3-20)%10]||e$1[n$3]||e$1[0])+`]`}},m=function(t$6,e$1,n$3){var r$1=String(t$6);return!r$1||r$1.length>=e$1?t$6:``+Array(e$1+1-r$1.length).join(n$3)+t$6},v={s:m,z:function(t$6){var e$1=-t$6.utcOffset(),n$3=Math.abs(e$1),r$1=Math.floor(n$3/60),i$5=n$3%60;return(e$1<=0?`+`:`-`)+m(r$1,2,`0`)+`:`+m(i$5,2,`0`)},m:function t$6(e$1,n$3){if(e$1.date()<n$3.date())return-t$6(n$3,e$1);var r$1=12*(n$3.year()-e$1.year())+(n$3.month()-e$1.month()),i$5=e$1.clone().add(r$1,c$1),s$3=n$3-i$5<0,u$1=e$1.clone().add(r$1+(s$3?-1:1),c$1);return+(-(r$1+(n$3-i$5)/(s$3?i$5-u$1:u$1-i$5))||0)},a:function(t$6){return t$6<0?Math.ceil(t$6)||0:Math.floor(t$6)},p:function(t$6){return{M:c$1,y:h,w:o,d:a,D:d,h:u,m:s$2,s:i$4,ms:r,Q:f}[t$6]||String(t$6||``).toLowerCase().replace(/s$/,``)},u:function(t$6){return t$6===void 0}},g$2=`en`,D={};D[g$2]=M$1;var p=`$isDayjsObject`,S=function(t$6){return t$6 instanceof _||!(!t$6||!t$6[p])},w=function t$6(e$1,n$3,r$1){var i$5;if(!e$1)return g$2;if(typeof e$1==`string`){var s$3=e$1.toLowerCase();D[s$3]&&(i$5=s$3),n$3&&(D[s$3]=n$3,i$5=s$3);var u$1=e$1.split(`-`);if(!i$5&&u$1.length>1)return t$6(u$1[0])}else{var a$1=e$1.name;D[a$1]=e$1,i$5=a$1}return!r$1&&i$5&&(g$2=i$5),i$5||!r$1&&g$2},O=function(t$6,e$1){if(S(t$6))return t$6.clone();var n$3=typeof e$1==`object`?e$1:{};return n$3.date=t$6,n$3.args=arguments,new _(n$3)},b=v;b.l=w,b.i=S,b.w=function(t$6,e$1){return O(t$6,{locale:e$1.$L,utc:e$1.$u,x:e$1.$x,$offset:e$1.$offset})};var _=function(){function M$2(t$6){this.$L=w(t$6.locale,null,!0),this.parse(t$6),this.$x=this.$x||t$6.x||{},this[p]=!0}var m$1=M$2.prototype;return m$1.parse=function(t$6){this.$d=function(t$7){var e$1=t$7.date,n$3=t$7.utc;if(e$1===null)return new Date(NaN);if(b.u(e$1))return new Date;if(e$1 instanceof Date)return new Date(e$1);if(typeof e$1==`string`&&!/Z$/i.test(e$1)){var r$1=e$1.match($);if(r$1){var i$5=r$1[2]-1||0,s$3=(r$1[7]||`0`).substring(0,3);return n$3?new Date(Date.UTC(r$1[1],i$5,r$1[3]||1,r$1[4]||0,r$1[5]||0,r$1[6]||0,s$3)):new Date(r$1[1],i$5,r$1[3]||1,r$1[4]||0,r$1[5]||0,r$1[6]||0,s$3)}}return new Date(e$1)}(t$6),this.init()},m$1.init=function(){var t$6=this.$d;this.$y=t$6.getFullYear(),this.$M=t$6.getMonth(),this.$D=t$6.getDate(),this.$W=t$6.getDay(),this.$H=t$6.getHours(),this.$m=t$6.getMinutes(),this.$s=t$6.getSeconds(),this.$ms=t$6.getMilliseconds()},m$1.$utils=function(){return b},m$1.isValid=function(){return this.$d.toString()!==l$2},m$1.isSame=function(t$6,e$1){var n$3=O(t$6);return this.startOf(e$1)<=n$3&&n$3<=this.endOf(e$1)},m$1.isAfter=function(t$6,e$1){return O(t$6)<this.startOf(e$1)},m$1.isBefore=function(t$6,e$1){return this.endOf(e$1)<O(t$6)},m$1.$g=function(t$6,e$1,n$3){return b.u(t$6)?this[e$1]:this.set(n$3,t$6)},m$1.unix=function(){return Math.floor(this.valueOf()/1e3)},m$1.valueOf=function(){return this.$d.getTime()},m$1.startOf=function(t$6,e$1){var n$3=this,r$1=!!b.u(e$1)||e$1,f$1=b.p(t$6),l$3=function(t$7,e$2){var i$5=b.w(n$3.$u?Date.UTC(n$3.$y,e$2,t$7):new Date(n$3.$y,e$2,t$7),n$3);return r$1?i$5:i$5.endOf(a)},$$1=function(t$7,e$2){return b.w(n$3.toDate()[t$7].apply(n$3.toDate(`s`),(r$1?[0,0,0,0]:[23,59,59,999]).slice(e$2)),n$3)},y$1=this.$W,M$3=this.$M,m$2=this.$D,v$1=`set`+(this.$u?`UTC`:``);switch(f$1){case h:return r$1?l$3(1,0):l$3(31,11);case c$1:return r$1?l$3(1,M$3):l$3(0,M$3+1);case o:var g$3=this.$locale().weekStart||0,D$1=(y$1<g$3?y$1+7:y$1)-g$3;return l$3(r$1?m$2-D$1:m$2+(6-D$1),M$3);case a:case d:return $$1(v$1+`Hours`,0);case u:return $$1(v$1+`Minutes`,1);case s$2:return $$1(v$1+`Seconds`,2);case i$4:return $$1(v$1+`Milliseconds`,3);default:return this.clone()}},m$1.endOf=function(t$6){return this.startOf(t$6,!1)},m$1.$set=function(t$6,e$1){var n$3,o$1=b.p(t$6),f$1=`set`+(this.$u?`UTC`:``),l$3=(n$3={},n$3[a]=f$1+`Date`,n$3[d]=f$1+`Date`,n$3[c$1]=f$1+`Month`,n$3[h]=f$1+`FullYear`,n$3[u]=f$1+`Hours`,n$3[s$2]=f$1+`Minutes`,n$3[i$4]=f$1+`Seconds`,n$3[r]=f$1+`Milliseconds`,n$3)[o$1],$$1=o$1===a?this.$D+(e$1-this.$W):e$1;if(o$1===c$1||o$1===h){var y$1=this.clone().set(d,1);y$1.$d[l$3]($$1),y$1.init(),this.$d=y$1.set(d,Math.min(this.$D,y$1.daysInMonth())).$d}else l$3&&this.$d[l$3]($$1);return this.init(),this},m$1.set=function(t$6,e$1){return this.clone().$set(t$6,e$1)},m$1.get=function(t$6){return this[b.p(t$6)]()},m$1.add=function(r$1,f$1){var d$1,l$3=this;r$1=Number(r$1);var $$1=b.p(f$1),y$1=function(t$6){var e$1=O(l$3);return b.w(e$1.date(e$1.date()+Math.round(t$6*r$1)),l$3)};if($$1===c$1)return this.set(c$1,this.$M+r$1);if($$1===h)return this.set(h,this.$y+r$1);if($$1===a)return y$1(1);if($$1===o)return y$1(7);var M$3=(d$1={},d$1[s$2]=e,d$1[u]=n$2,d$1[i$4]=t$5,d$1)[$$1]||1,m$2=this.$d.getTime()+r$1*M$3;return b.w(m$2,this)},m$1.subtract=function(t$6,e$1){return this.add(-1*t$6,e$1)},m$1.format=function(t$6){var e$1=this,n$3=this.$locale();if(!this.isValid())return n$3.invalidDate||l$2;var r$1=t$6||`YYYY-MM-DDTHH:mm:ssZ`,i$5=b.z(this),s$3=this.$H,u$1=this.$m,a$1=this.$M,o$1=n$3.weekdays,c$2=n$3.months,f$1=n$3.meridiem,h$1=function(t$7,n$4,i$6,s$4){return t$7&&(t$7[n$4]||t$7(e$1,r$1))||i$6[n$4].slice(0,s$4)},d$1=function(t$7){return b.s(s$3%12||12,t$7,`0`)},$$1=f$1||function(t$7,e$2,n$4){var r$2=t$7<12?`AM`:`PM`;return n$4?r$2.toLowerCase():r$2};return r$1.replace(y,function(t$7,r$2){return r$2||function(t$8){switch(t$8){case`YY`:return String(e$1.$y).slice(-2);case`YYYY`:return b.s(e$1.$y,4,`0`);case`M`:return a$1+1;case`MM`:return b.s(a$1+1,2,`0`);case`MMM`:return h$1(n$3.monthsShort,a$1,c$2,3);case`MMMM`:return h$1(c$2,a$1);case`D`:return e$1.$D;case`DD`:return b.s(e$1.$D,2,`0`);case`d`:return String(e$1.$W);case`dd`:return h$1(n$3.weekdaysMin,e$1.$W,o$1,2);case`ddd`:return h$1(n$3.weekdaysShort,e$1.$W,o$1,3);case`dddd`:return o$1[e$1.$W];case`H`:return String(s$3);case`HH`:return b.s(s$3,2,`0`);case`h`:return d$1(1);case`hh`:return d$1(2);case`a`:return $$1(s$3,u$1,!0);case`A`:return $$1(s$3,u$1,!1);case`m`:return String(u$1);case`mm`:return b.s(u$1,2,`0`);case`s`:return String(e$1.$s);case`ss`:return b.s(e$1.$s,2,`0`);case`SSS`:return b.s(e$1.$ms,3,`0`);case`Z`:return i$5}return null}(t$7)||i$5.replace(`:`,``)})},m$1.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m$1.diff=function(r$1,d$1,l$3){var $$1,y$1=this,M$3=b.p(d$1),m$2=O(r$1),v$1=(m$2.utcOffset()-this.utcOffset())*e,g$3=this-m$2,D$1=function(){return b.m(y$1,m$2)};switch(M$3){case h:$$1=D$1()/12;break;case c$1:$$1=D$1();break;case f:$$1=D$1()/3;break;case o:$$1=(g$3-v$1)/6048e5;break;case a:$$1=(g$3-v$1)/864e5;break;case u:$$1=g$3/n$2;break;case s$2:$$1=g$3/e;break;case i$4:$$1=g$3/t$5;break;default:$$1=g$3}return l$3?$$1:b.a($$1)},m$1.daysInMonth=function(){return this.endOf(c$1).$D},m$1.$locale=function(){return D[this.$L]},m$1.locale=function(t$6,e$1){if(!t$6)return this.$L;var n$3=this.clone(),r$1=w(t$6,e$1,!0);return r$1&&(n$3.$L=r$1),n$3},m$1.clone=function(){return b.w(this.$d,this)},m$1.toDate=function(){return new Date(this.valueOf())},m$1.toJSON=function(){return this.isValid()?this.toISOString():null},m$1.toISOString=function(){return this.$d.toISOString()},m$1.toString=function(){return this.$d.toUTCString()},M$2}(),k=_.prototype;return O.prototype=k,[[`$ms`,r],[`$s`,i$4],[`$m`,s$2],[`$H`,u],[`$W`,a],[`$M`,c$1],[`$y`,h],[`$D`,d]].forEach(function(t$6){k[t$6[1]]=function(e$1){return this.$g(e$1,t$6[0],t$6[1])}}),O.extend=function(t$6,e$1){return t$6.$i||(t$6(e$1,_,O),t$6.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t$6){return O(1e3*t$6)},O.en=D[g$2],O.Ls=D,O.p={},O})});const isInstanceOf=(value,type,ctor)=>{if(ctor!==void 0&&value instanceof ctor||ctor!==void 0&&typeof ctor[Symbol.hasInstance]==`function`&&ctor[Symbol.hasInstance](value))return!0;if(typeof value==`object`&&value){let valueWithConstructor=value,constructorName=valueWithConstructor.constructor?.name;return constructorName===type}return!1},isLuxonDateTime=value=>value instanceof DateTime?!0:typeof value!=`object`||!value||!(`isLuxonDateTime`in value)?!1:value.isLuxonDateTime===!0,isPlainObject=value=>typeof value==`object`&&!!value&&!Array.isArray(value),isDateObjectUnits=value=>{if(!isPlainObject(value))return!1;let keys=Object.keys(value);if(keys.length===0)return!1;let valids=[`year`,`month`,`day`,`ordinal`,`weekYear`,`localWeekYear`,`weekNumber`,`localWeekNumber`,`weekday`,`localWeekday`,`hour`,`minute`,`second`,`millisecond`],invalidKeys=keys.filter(key=>!valids.includes(key));return invalidKeys.length>0?!1:keys.every(key=>{let val=value[key];return typeof val==`number`||val===void 0})};var import_dayjs_min=__toESM(require_dayjs_min());Settings.defaultZone=`utc`,Settings.defaultLocale=`en`,Settings.defaultWeekSettings={firstDay:7,minimalDays:4,weekend:[6,7]},Settings.throwOnInvalid=!1;const messages={"datetime.base":`{{#label}} must be a datetime value`,"datetime.exactly":`{{#label}} must be a datetime exactly equal to {{#limit}}`,"datetime.equals":`{{#label}} must be a datetime equal to {{#limit}}`,"datetime.after":`{{#label}} must be a datetime after {{#limit}}`,"datetime.greater":`{{#label}} must be a datetime after {{#limit}}`,"datetime.before":`{{#label}} must be a datetime before {{#limit}}`,"datetime.less":`{{#label}} must be a datetime before {{#limit}}`,"datetime.afterOrEqual":`{{#label}} must be a datetime after or equal to {{#limit}}`,"datetime.min":`{{#label}} must be a datetime after or equal to {{#limit}}`,"datetime.beforeOrEqual":`{{#label}} must be a datetime before or equal to {{#limit}}`,"datetime.max":`{{#label}} must be a datetime before or equal to {{#limit}}`,"datetime.weekend":`{{#label}} is not a weekend`,"datetime.weekday":`{{#label}} is not a weekday`},compare$12=(value,limit,operator)=>{switch(value=toDateTime(value),limit=toDateTime(limit),operator){case`===`:return value.equals(limit);case`=`:return value.hasSame(limit,`millisecond`);case`>`:return value>limit;case`<`:return value<limit;case`>=`:return value>=limit;case`<=`:return value<=limit;default:return!1}},backToDateTime=value=>value instanceof DateTime?value:DateTime.fromObject(value.c,{zone:value.zone}).setLocale(value.loc.locale),toDateTime=(value,format)=>{if(isLuxonDateTime(value))return value instanceof DateTime?value:backToDateTime(value);if(isInstanceOf(value,`Date`,Date))return DateTime.fromJSDate(value);if(isInstanceOf(value,`Dayjs`,import_dayjs_min.Dayjs)||import_dayjs_min.default.isDayjs(value))return DateTime.fromJSDate(value.toDate());if(isDateObjectUnits(value))return DateTime.fromObject(value,{zone:`utc`});if(typeof value==`number`){let day=(0,import_dayjs_min.default)(value);if(day.isValid())return DateTime.fromJSDate(day.toDate(),{zone:`utc`})}if(typeof value==`string`){if(format){let dateTime=DateTime.fromFormat(value,format,{zone:`utc`});if(dateTime.isValid)return dateTime}let luxonMethods=[DateTime.fromISO,DateTime.fromRFC2822,DateTime.fromHTTP,DateTime.fromSQL];for(let method of luxonMethods){let dateTime=method(value,{zone:`utc`});if(dateTime.isValid)return dateTime}let day=(0,import_dayjs_min.default)(value);if(day.isValid())return DateTime.fromJSDate(day.toDate(),{zone:`utc`})}return!1},coerce$2=(value,helpers)=>{let converted=toDateTime(value);if(converted){let{schema,prefs}=helpers;if(prefs.convert){let returnable=converted;if(schema._flags.setZone&&Array.isArray(schema._flags.setZone)){let[zone,opts]=Array.from(schema._flags.setZone);switch(zone){case`utc`:returnable=returnable.toUTC();break;case`local`:returnable=returnable.toLocal();break;default:returnable=returnable.setZone(zone,opts);break}}if(schema._flags.setLocale&&(returnable=returnable.setLocale(schema._flags.setLocale)),schema._flags.toFormat)if(Array.isArray(schema._flags.toFormat)){let fmt=Array.from(schema._flags.toFormat),method=fmt.shift();returnable=returnable[method](...fmt)}else typeof schema._flags.toFormat==`string`&&(returnable=returnable.toFormat(schema._flags.toFormat));return{value:returnable}}return{value:converted}}return{value,errors:[helpers.error(`datetime.base`,{value:String(value)})]}},datetime=function(joi){return{type:`datetime`,base:joi.any(),coerce:{from:[`string`,`number`,`date`,`object`],method:coerce$2},rules:{compare:{method:!1,validate(value,helpers,{limit},{name:name$1,operator}){let src$1=toDateTime(value),threshold=toDateTime(limit);if(!src$1||!threshold)return helpers.error(`datetime.base`,{value:isLuxonDateTime(value)?value.toLocaleString(DateTime.DATETIME_MED):String(value)});let valid$2=compare$12(src$1,threshold,operator);return valid$2?value:helpers.error(`datetime.`+name$1,{limit:threshold.toLocaleString(DateTime.DATETIME_MED),value:src$1.toLocaleString(DateTime.DATETIME_MED)})},args:[{name:`limit`,ref:!0,assert:value=>isLuxonDateTime(toDateTime(value)),message:`must be a datetime`}]},exactly:{method(limit){return this.$_addRule({name:`exactly`,method:`compare`,args:{limit},operator:`===`})}},equals:{method(limit){return this.$_addRule({name:`equals`,method:`compare`,args:{limit},operator:`=`})}},after:{method(limit){return this.$_addRule({name:`after`,method:`compare`,args:{limit},operator:`>`})}},greater:{method(limit){return this.$_addRule({name:`greater`,method:`compare`,args:{limit},operator:`>`})}},before:{method(limit){return this.$_addRule({name:`before`,method:`compare`,args:{limit},operator:`<`})}},less:{method(limit){return this.$_addRule({name:`less`,method:`compare`,args:{limit},operator:`<`})}},afterOrEqual:{method(limit){return this.$_addRule({name:`afterOrEqual`,method:`compare`,args:{limit},operator:`>=`})}},min:{method(limit){return this.$_addRule({name:`min`,method:`compare`,args:{limit},operator:`>=`})}},beforeOrEqual:{method(limit){return this.$_addRule({name:`beforeOrEqual`,method:`compare`,args:{limit},operator:`<=`})}},max:{method(limit){return this.$_addRule({name:`max`,method:`compare`,args:{limit},operator:`<=`})}},weekend:{method(){return this.$_addRule({name:`weekend`})},validate(value,helpers){let confirmable=toDateTime(value);return confirmable.isWeekend?value:helpers.error(`datetime.weekend`,{value:confirmable.toLocaleString(DateTime.DATE_MED)})}},weekday:{method(){return this.$_addRule({name:`weekday`})},validate(value,helpers){let confirmable=toDateTime(value);return confirmable.isWeekend?helpers.error(`datetime.weekday`,{value:confirmable.toLocaleString(DateTime.DATE_MED)}):value}},toUTC:{method(){return this.$_setFlag(`setZone`,[`utc`])}},toLocal:{method(){return this.$_setFlag(`setZone`,[`local`])}},setZone:{method(zone,opts){return this.$_setFlag(`setZone`,[zone,opts])}},toFormat:{method(format){return this.$_setFlag(`toFormat`,format,{clone:!0})}},toLocalizedString:{method(formatOpts){return this.$_setFlag(`toFormat`,[`toLocaleString`,formatOpts],{clone:!0})}},toISO:{method(opts){return this.$_setFlag(`toFormat`,opts?[`toISO`,opts]:[`toISO`],{clone:!0})}},toISODate:{method(opts){return this.$_setFlag(`toFormat`,opts?[`toISODate`,opts]:[`toISODate`],{clone:!0})}},toISOWeekDate:{method(){return this.$_setFlag(`toFormat`,[`toISOWeekDate`],{clone:!0})}},toISOTime:{method(opts){return this.$_setFlag(`toFormat`,opts?[`toISOTime`,opts]:[`toISOTime`],{clone:!0})}},toRFC2822:{method(){return this.$_setFlag(`toFormat`,[`toRFC2822`],{clone:!0})}},toHTTP:{method(){return this.$_setFlag(`toFormat`,[`toHTTP`],{clone:!0})}},toSQLDate:{method(){return this.$_setFlag(`toFormat`,[`toSQLDate`],{clone:!0})}},toSQLTime:{method(opts){return this.$_setFlag(`toFormat`,opts?[`toSQLTime`,opts]:[`toSQLTime`],{clone:!0})}},toSQL:{method(opts){return this.$_setFlag(`toFormat`,opts?[`toSQL`,opts]:[`toSQL`],{clone:!0})}},toMillis:{method(){return this.$_setFlag(`toFormat`,[`toMillis`],{clone:!0})}},toSeconds:{method(){return this.$_setFlag(`toFormat`,[`toSeconds`],{clone:!0})}},toUnixInteger:{method(){return this.$_setFlag(`toFormat`,[`toUnixInteger`],{clone:!0})}},toJSON:{method(){return this.$_setFlag(`toFormat`,[`toJSON`],{clone:!0})}},toBSON:{method(){return this.$_setFlag(`toFormat`,[`toBSON`],{clone:!0})}},toObject:{method(opts){let config=opts?.includeConfig===void 0?{includeConfig:!1}:{includeConfig:opts.includeConfig};return this.$_setFlag(`toFormat`,[`toObject`,config],{clone:!0})}},toJSDate:{method(){return this.$_setFlag(`toFormat`,[`toJSDate`],{clone:!0})}},toRelative:{method(opts){return this.$_setFlag(`toFormat`,opts?[`toRelative`,opts]:[`toRelative`],{clone:!0})}},setLocale:{method(locale){return this.$_setFlag(`setLocale`,locale)}}},messages}};var require_constants=__commonJSMin((exports,module)=>{let SEMVER_SPEC_VERSION=`2.0.0`,MAX_LENGTH$2=256,MAX_SAFE_INTEGER$1=2**53-1||9007199254740991,MAX_SAFE_COMPONENT_LENGTH$1=16,MAX_SAFE_BUILD_LENGTH$1=MAX_LENGTH$2-6,RELEASE_TYPES=[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`];module.exports={MAX_LENGTH:MAX_LENGTH$2,MAX_SAFE_COMPONENT_LENGTH:MAX_SAFE_COMPONENT_LENGTH$1,MAX_SAFE_BUILD_LENGTH:MAX_SAFE_BUILD_LENGTH$1,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),require_debug=__commonJSMin((exports,module)=>{init_dist();let debug$4=typeof process$1==`object`&&process$1.env&&process$1.env.NODE_DEBUG&&/\bsemver\b/i.test(process$1.env.NODE_DEBUG)?(...args$1)=>console.error(`SEMVER`,...args$1):()=>{};module.exports=debug$4}),require_re=__commonJSMin((exports,module)=>{let{MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_LENGTH:MAX_LENGTH$1}=require_constants(),debug$3=require_debug();exports=module.exports={};let re$4=exports.re=[],safeRe=exports.safeRe=[],src=exports.src=[],safeSrc=exports.safeSrc=[],t$4=exports.t={},R=0,LETTERDASHNUMBER=`[a-zA-Z0-9-]`,safeRegexReplacements=[[`\\s`,1],[`\\d`,MAX_LENGTH$1],[LETTERDASHNUMBER,MAX_SAFE_BUILD_LENGTH]],makeSafeRegex=value=>{for(let[token,max$3]of safeRegexReplacements)value=value.split(`${token}*`).join(`${token}{0,${max$3}}`).split(`${token}+`).join(`${token}{1,${max$3}}`);return value},createToken=(name$1,value,isGlobal)=>{let safe=makeSafeRegex(value),index=R++;debug$3(name$1,index,value),t$4[name$1]=index,src[index]=value,safeSrc[index]=safe,re$4[index]=new RegExp(value,isGlobal?`g`:void 0),safeRe[index]=new RegExp(safe,isGlobal?`g`:void 0)};createToken(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),createToken(`NUMERICIDENTIFIERLOOSE`,`\\d+`),createToken(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`),createToken(`MAINVERSION`,`(${src[t$4.NUMERICIDENTIFIER]})\\.(${src[t$4.NUMERICIDENTIFIER]})\\.(${src[t$4.NUMERICIDENTIFIER]})`),createToken(`MAINVERSIONLOOSE`,`(${src[t$4.NUMERICIDENTIFIERLOOSE]})\\.(${src[t$4.NUMERICIDENTIFIERLOOSE]})\\.(${src[t$4.NUMERICIDENTIFIERLOOSE]})`),createToken(`PRERELEASEIDENTIFIER`,`(?:${src[t$4.NONNUMERICIDENTIFIER]}|${src[t$4.NUMERICIDENTIFIER]})`),createToken(`PRERELEASEIDENTIFIERLOOSE`,`(?:${src[t$4.NONNUMERICIDENTIFIER]}|${src[t$4.NUMERICIDENTIFIERLOOSE]})`),createToken(`PRERELEASE`,`(?:-(${src[t$4.PRERELEASEIDENTIFIER]}(?:\\.${src[t$4.PRERELEASEIDENTIFIER]})*))`),createToken(`PRERELEASELOOSE`,`(?:-?(${src[t$4.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t$4.PRERELEASEIDENTIFIERLOOSE]})*))`),createToken(`BUILDIDENTIFIER`,`${LETTERDASHNUMBER}+`),createToken(`BUILD`,`(?:\\+(${src[t$4.BUILDIDENTIFIER]}(?:\\.${src[t$4.BUILDIDENTIFIER]})*))`),createToken(`FULLPLAIN`,`v?${src[t$4.MAINVERSION]}${src[t$4.PRERELEASE]}?${src[t$4.BUILD]}?`),createToken(`FULL`,`^${src[t$4.FULLPLAIN]}$`),createToken(`LOOSEPLAIN`,`[v=\\s]*${src[t$4.MAINVERSIONLOOSE]}${src[t$4.PRERELEASELOOSE]}?${src[t$4.BUILD]}?`),createToken(`LOOSE`,`^${src[t$4.LOOSEPLAIN]}$`),createToken(`GTLT`,`((?:<|>)?=?)`),createToken(`XRANGEIDENTIFIERLOOSE`,`${src[t$4.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),createToken(`XRANGEIDENTIFIER`,`${src[t$4.NUMERICIDENTIFIER]}|x|X|\\*`),createToken(`XRANGEPLAIN`,`[v=\\s]*(${src[t$4.XRANGEIDENTIFIER]})(?:\\.(${src[t$4.XRANGEIDENTIFIER]})(?:\\.(${src[t$4.XRANGEIDENTIFIER]})(?:${src[t$4.PRERELEASE]})?${src[t$4.BUILD]}?)?)?`),createToken(`XRANGEPLAINLOOSE`,`[v=\\s]*(${src[t$4.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t$4.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t$4.XRANGEIDENTIFIERLOOSE]})(?:${src[t$4.PRERELEASELOOSE]})?${src[t$4.BUILD]}?)?)?`),createToken(`XRANGE`,`^${src[t$4.GTLT]}\\s*${src[t$4.XRANGEPLAIN]}$`),createToken(`XRANGELOOSE`,`^${src[t$4.GTLT]}\\s*${src[t$4.XRANGEPLAINLOOSE]}$`),createToken(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`),createToken(`COERCE`,`${src[t$4.COERCEPLAIN]}(?:$|[^\\d])`),createToken(`COERCEFULL`,src[t$4.COERCEPLAIN]+`(?:${src[t$4.PRERELEASE]})?(?:${src[t$4.BUILD]})?(?:$|[^\\d])`),createToken(`COERCERTL`,src[t$4.COERCE],!0),createToken(`COERCERTLFULL`,src[t$4.COERCEFULL],!0),createToken(`LONETILDE`,`(?:~>?)`),createToken(`TILDETRIM`,`(\\s*)${src[t$4.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace=`$1~`,createToken(`TILDE`,`^${src[t$4.LONETILDE]}${src[t$4.XRANGEPLAIN]}$`),createToken(`TILDELOOSE`,`^${src[t$4.LONETILDE]}${src[t$4.XRANGEPLAINLOOSE]}$`),createToken(`LONECARET`,`(?:\\^)`),createToken(`CARETTRIM`,`(\\s*)${src[t$4.LONECARET]}\\s+`,!0),exports.caretTrimReplace=`$1^`,createToken(`CARET`,`^${src[t$4.LONECARET]}${src[t$4.XRANGEPLAIN]}$`),createToken(`CARETLOOSE`,`^${src[t$4.LONECARET]}${src[t$4.XRANGEPLAINLOOSE]}$`),createToken(`COMPARATORLOOSE`,`^${src[t$4.GTLT]}\\s*(${src[t$4.LOOSEPLAIN]})$|^$`),createToken(`COMPARATOR`,`^${src[t$4.GTLT]}\\s*(${src[t$4.FULLPLAIN]})$|^$`),createToken(`COMPARATORTRIM`,`(\\s*)${src[t$4.GTLT]}\\s*(${src[t$4.LOOSEPLAIN]}|${src[t$4.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace=`$1$2$3`,createToken(`HYPHENRANGE`,`^\\s*(${src[t$4.XRANGEPLAIN]})\\s+-\\s+(${src[t$4.XRANGEPLAIN]})\\s*$`),createToken(`HYPHENRANGELOOSE`,`^\\s*(${src[t$4.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t$4.XRANGEPLAINLOOSE]})\\s*$`),createToken(`STAR`,`(<|>)?=?\\s*\\*`),createToken(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),createToken(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)}),require_parse_options=__commonJSMin((exports,module)=>{let looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$3=options=>options?typeof options==`object`?options:looseOption:emptyOpts;module.exports=parseOptions$3}),require_identifiers=__commonJSMin((exports,module)=>{let numeric=/^[0-9]+$/,compareIdentifiers$1=(a,b)=>{let anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1},rcompareIdentifiers=(a,b)=>compareIdentifiers$1(b,a);module.exports={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers}}),require_semver$1=__commonJSMin((exports,module)=>{let debug$2=require_debug(),{MAX_LENGTH,MAX_SAFE_INTEGER}=require_constants(),{safeRe:re$3,t:t$3}=require_re(),parseOptions$2=require_parse_options(),{compareIdentifiers}=require_identifiers();var SemVer$15=class SemVer$15{constructor(version$3,options){if(options=parseOptions$2(options),version$3 instanceof SemVer$15){if(version$3.loose===!!options.loose&&version$3.includePrerelease===!!options.includePrerelease)return version$3;version$3=version$3.version}else if(typeof version$3!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof version$3}".`);if(version$3.length>MAX_LENGTH)throw TypeError(`version is longer than ${MAX_LENGTH} characters`);debug$2(`SemVer`,version$3,options),this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease;let m=version$3.trim().match(options.loose?re$3[t$3.LOOSE]:re$3[t$3.FULL]);if(!m)throw TypeError(`Invalid Version: ${version$3}`);if(this.raw=version$3,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw TypeError(`Invalid patch version`);m[4]?this.prerelease=m[4].split(`.`).map(id=>{if(/^[0-9]+$/.test(id)){let num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(other){if(debug$2(`SemVer.compare`,this.version,this.options,other),!(other instanceof SemVer$15)){if(typeof other==`string`&&other===this.version)return 0;other=new SemVer$15(other,this.options)}return other.version===this.version?0:this.compareMain(other)||this.comparePre(other)}compareMain(other){return other instanceof SemVer$15||(other=new SemVer$15(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)}comparePre(other){if(other instanceof SemVer$15||(other=new SemVer$15(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;let i$4=0;do{let a=this.prerelease[i$4],b=other.prerelease[i$4];if(debug$2(`prerelease compare`,i$4,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i$4)}compareBuild(other){other instanceof SemVer$15||(other=new SemVer$15(other,this.options));let i$4=0;do{let a=this.build[i$4],b=other.build[i$4];if(debug$2(`build compare`,i$4,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i$4)}inc(release,identifier,identifierBase){if(release.startsWith(`pre`)){if(!identifier&&identifierBase===!1)throw Error(`invalid increment argument: identifier is empty`);if(identifier){let match$2=`-${identifier}`.match(this.options.loose?re$3[t$3.PRERELEASELOOSE]:re$3[t$3.PRERELEASE]);if(!match$2||match$2[1]!==identifier)throw Error(`invalid identifier: ${identifier}`)}}switch(release){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,identifier,identifierBase);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,identifier,identifierBase);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,identifier,identifierBase),this.inc(`pre`,identifier,identifierBase);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,identifier,identifierBase),this.inc(`pre`,identifier,identifierBase);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let base=Number(identifierBase)?1:0;if(this.prerelease.length===0)this.prerelease=[base];else{let i$4=this.prerelease.length;for(;--i$4>=0;)typeof this.prerelease[i$4]==`number`&&(this.prerelease[i$4]++,i$4=-2);if(i$4===-1){if(identifier===this.prerelease.join(`.`)&&identifierBase===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(base)}}if(identifier){let prerelease$2=[identifier,base];identifierBase===!1&&(prerelease$2=[identifier]),compareIdentifiers(this.prerelease[0],identifier)===0?isNaN(this.prerelease[1])&&(this.prerelease=prerelease$2):this.prerelease=prerelease$2}break}default:throw Error(`invalid increment argument: ${release}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}};module.exports=SemVer$15}),require_parse=__commonJSMin((exports,module)=>{let SemVer$14=require_semver$1(),parse$6=(version$3,options,throwErrors=!1)=>{if(version$3 instanceof SemVer$14)return version$3;try{return new SemVer$14(version$3,options)}catch(er){if(!throwErrors)return null;throw er}};module.exports=parse$6}),require_valid$1=__commonJSMin((exports,module)=>{let parse$5=require_parse(),valid$1=(version$3,options)=>{let v=parse$5(version$3,options);return v?v.version:null};module.exports=valid$1}),require_clean=__commonJSMin((exports,module)=>{let parse$4=require_parse(),clean$1=(version$3,options)=>{let s$2=parse$4(version$3.trim().replace(/^[=v]+/,``),options);return s$2?s$2.version:null};module.exports=clean$1}),require_inc=__commonJSMin((exports,module)=>{let SemVer$13=require_semver$1(),inc$1=(version$3,release,options,identifier,identifierBase)=>{typeof options==`string`&&(identifierBase=identifier,identifier=options,options=void 0);try{return new SemVer$13(version$3 instanceof SemVer$13?version$3.version:version$3,options).inc(release,identifier,identifierBase).version}catch{return null}};module.exports=inc$1}),require_diff=__commonJSMin((exports,module)=>{let parse$3=require_parse(),diff$1=(version1,version2)=>{let v1=parse$3(version1,null,!0),v2=parse$3(version2,null,!0),comparison=v1.compare(v2);if(comparison===0)return null;let v1Higher=comparison>0,highVersion=v1Higher?v1:v2,lowVersion=v1Higher?v2:v1,highHasPre=!!highVersion.prerelease.length,lowHasPre=!!lowVersion.prerelease.length;if(lowHasPre&&!highHasPre){if(!lowVersion.patch&&!lowVersion.minor)return`major`;if(lowVersion.compareMain(highVersion)===0)return lowVersion.minor&&!lowVersion.patch?`minor`:`patch`}let prefix=highHasPre?`pre`:``;return v1.major===v2.major?v1.minor===v2.minor?v1.patch===v2.patch?`prerelease`:prefix+`patch`:prefix+`minor`:prefix+`major`};module.exports=diff$1}),require_major=__commonJSMin((exports,module)=>{let SemVer$12=require_semver$1(),major$1=(a,loose)=>new SemVer$12(a,loose).major;module.exports=major$1}),require_minor=__commonJSMin((exports,module)=>{let SemVer$11=require_semver$1(),minor$1=(a,loose)=>new SemVer$11(a,loose).minor;module.exports=minor$1}),require_patch=__commonJSMin((exports,module)=>{let SemVer$10=require_semver$1(),patch$2=(a,loose)=>new SemVer$10(a,loose).patch;module.exports=patch$2}),require_prerelease=__commonJSMin((exports,module)=>{let parse$2=require_parse(),prerelease$1=(version$3,options)=>{let parsed=parse$2(version$3,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null};module.exports=prerelease$1}),require_compare=__commonJSMin((exports,module)=>{let SemVer$9=require_semver$1(),compare$11=(a,b,loose)=>new SemVer$9(a,loose).compare(new SemVer$9(b,loose));module.exports=compare$11}),require_rcompare=__commonJSMin((exports,module)=>{let compare$10=require_compare(),rcompare$1=(a,b,loose)=>compare$10(b,a,loose);module.exports=rcompare$1}),require_compare_loose=__commonJSMin((exports,module)=>{let compare$9=require_compare(),compareLoose$1=(a,b)=>compare$9(a,b,!0);module.exports=compareLoose$1}),require_compare_build=__commonJSMin((exports,module)=>{let SemVer$8=require_semver$1(),compareBuild$3=(a,b,loose)=>{let versionA=new SemVer$8(a,loose),versionB=new SemVer$8(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)};module.exports=compareBuild$3}),require_sort=__commonJSMin((exports,module)=>{let compareBuild$2=require_compare_build(),sort$1=(list,loose)=>list.sort((a,b)=>compareBuild$2(a,b,loose));module.exports=sort$1}),require_rsort=__commonJSMin((exports,module)=>{let compareBuild$1=require_compare_build(),rsort$1=(list,loose)=>list.sort((a,b)=>compareBuild$1(b,a,loose));module.exports=rsort$1}),require_gt=__commonJSMin((exports,module)=>{let compare$8=require_compare(),gt$4=(a,b,loose)=>compare$8(a,b,loose)>0;module.exports=gt$4}),require_lt=__commonJSMin((exports,module)=>{let compare$7=require_compare(),lt$3=(a,b,loose)=>compare$7(a,b,loose)<0;module.exports=lt$3}),require_eq=__commonJSMin((exports,module)=>{let compare$6=require_compare(),eq$2=(a,b,loose)=>compare$6(a,b,loose)===0;module.exports=eq$2}),require_neq=__commonJSMin((exports,module)=>{let compare$5=require_compare(),neq$2=(a,b,loose)=>compare$5(a,b,loose)!==0;module.exports=neq$2}),require_gte=__commonJSMin((exports,module)=>{let compare$4=require_compare(),gte$3=(a,b,loose)=>compare$4(a,b,loose)>=0;module.exports=gte$3}),require_lte=__commonJSMin((exports,module)=>{let compare$3=require_compare(),lte$3=(a,b,loose)=>compare$3(a,b,loose)<=0;module.exports=lte$3}),require_cmp=__commonJSMin((exports,module)=>{let eq$1=require_eq(),neq$1=require_neq(),gt$3=require_gt(),gte$2=require_gte(),lt$2=require_lt(),lte$2=require_lte(),cmp$2=(a,op,b,loose)=>{switch(op){case`===`:return typeof a==`object`&&(a=a.version),typeof b==`object`&&(b=b.version),a===b;case`!==`:return typeof a==`object`&&(a=a.version),typeof b==`object`&&(b=b.version),a!==b;case``:case`=`:case`==`:return eq$1(a,b,loose);case`!=`:return neq$1(a,b,loose);case`>`:return gt$3(a,b,loose);case`>=`:return gte$2(a,b,loose);case`<`:return lt$2(a,b,loose);case`<=`:return lte$2(a,b,loose);default:throw TypeError(`Invalid operator: ${op}`)}};module.exports=cmp$2}),require_coerce=__commonJSMin((exports,module)=>{let SemVer$7=require_semver$1(),parse$1=require_parse(),{safeRe:re$2,t:t$2}=require_re(),coerce$1=(version$3,options)=>{if(version$3 instanceof SemVer$7)return version$3;if(typeof version$3==`number`&&(version$3=String(version$3)),typeof version$3!=`string`)return null;options||={};let match$2=null;if(!options.rtl)match$2=version$3.match(options.includePrerelease?re$2[t$2.COERCEFULL]:re$2[t$2.COERCE]);else{let coerceRtlRegex=options.includePrerelease?re$2[t$2.COERCERTLFULL]:re$2[t$2.COERCERTL],next;for(;(next=coerceRtlRegex.exec(version$3))&&(!match$2||match$2.index+match$2[0].length!==version$3.length);)(!match$2||next.index+next[0].length!==match$2.index+match$2[0].length)&&(match$2=next),coerceRtlRegex.lastIndex=next.index+next[1].length+next[2].length;coerceRtlRegex.lastIndex=-1}if(match$2===null)return null;let major$2=match$2[2],minor$2=match$2[3]||`0`,patch$3=match$2[4]||`0`,prerelease$2=options.includePrerelease&&match$2[5]?`-${match$2[5]}`:``,build=options.includePrerelease&&match$2[6]?`+${match$2[6]}`:``;return parse$1(`${major$2}.${minor$2}.${patch$3}${prerelease$2}${build}`,options)};module.exports=coerce$1}),require_lrucache=__commonJSMin((exports,module)=>{var LRUCache=class{constructor(){this.max=1e3,this.map=new Map}get(key){let value=this.map.get(key);if(value!==void 0)return this.map.delete(key),this.map.set(key,value),value}delete(key){return this.map.delete(key)}set(key,value){let deleted=this.delete(key);if(!deleted&&value!==void 0){if(this.map.size>=this.max){let firstKey=this.map.keys().next().value;this.delete(firstKey)}this.map.set(key,value)}return this}};module.exports=LRUCache}),require_range=__commonJSMin((exports,module)=>{let SPACE_CHARACTERS=/\s+/g;var Range$11=class Range$11{constructor(range,options){if(options=parseOptions$1(options),range instanceof Range$11)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range$11(range.raw,options);if(range instanceof Comparator$4)return this.raw=range.value,this.set=[[range]],this.formatted=void 0,this;if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().replace(SPACE_CHARACTERS,` `),this.set=this.raw.split(`||`).map(r=>this.parseRange(r.trim())).filter(c$1=>c$1.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let first=this.set[0];if(this.set=this.set.filter(c$1=>!isNullSet(c$1[0])),this.set.length===0)this.set=[first];else if(this.set.length>1){for(let c$1 of this.set)if(c$1.length===1&&isAny(c$1[0])){this.set=[c$1];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let i$4=0;i$4<this.set.length;i$4++){i$4>0&&(this.formatted+=`||`);let comps=this.set[i$4];for(let k=0;k<comps.length;k++)k>0&&(this.formatted+=` `),this.formatted+=comps[k].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(range){let memoOpts=(this.options.includePrerelease&&FLAG_INCLUDE_PRERELEASE)|(this.options.loose&&FLAG_LOOSE),memoKey=memoOpts+`:`+range,cached=cache.get(memoKey);if(cached)return cached;let loose=this.options.loose,hr=loose?re$1[t$1.HYPHENRANGELOOSE]:re$1[t$1.HYPHENRANGE];range=range.replace(hr,hyphenReplace(this.options.includePrerelease)),debug$1(`hyphen replace`,range),range=range.replace(re$1[t$1.COMPARATORTRIM],comparatorTrimReplace),debug$1(`comparator trim`,range),range=range.replace(re$1[t$1.TILDETRIM],tildeTrimReplace),debug$1(`tilde trim`,range),range=range.replace(re$1[t$1.CARETTRIM],caretTrimReplace),debug$1(`caret trim`,range);let rangeList=range.split(` `).map(comp=>parseComparator(comp,this.options)).join(` `).split(/\s+/).map(comp=>replaceGTE0(comp,this.options));loose&&(rangeList=rangeList.filter(comp=>(debug$1(`loose invalid filter`,comp,this.options),!!comp.match(re$1[t$1.COMPARATORLOOSE])))),debug$1(`range list`,rangeList);let rangeMap=new Map,comparators=rangeList.map(comp=>new Comparator$4(comp,this.options));for(let comp of comparators){if(isNullSet(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has(``)&&rangeMap.delete(``);let result=[...rangeMap.values()];return cache.set(memoKey,result),result}intersects(range,options){if(!(range instanceof Range$11))throw TypeError(`a Range is required`);return this.set.some(thisComparators=>isSatisfiable(thisComparators,options)&&range.set.some(rangeComparators=>isSatisfiable(rangeComparators,options)&&thisComparators.every(thisComparator=>rangeComparators.every(rangeComparator=>thisComparator.intersects(rangeComparator,options)))))}test(version$3){if(!version$3)return!1;if(typeof version$3==`string`)try{version$3=new SemVer$6(version$3,this.options)}catch{return!1}for(let i$4=0;i$4<this.set.length;i$4++)if(testSet(this.set[i$4],version$3,this.options))return!0;return!1}};module.exports=Range$11;let LRU=require_lrucache(),cache=new LRU,parseOptions$1=require_parse_options(),Comparator$4=require_comparator(),debug$1=require_debug(),SemVer$6=require_semver$1(),{safeRe:re$1,t:t$1,comparatorTrimReplace,tildeTrimReplace,caretTrimReplace}=require_re(),{FLAG_INCLUDE_PRERELEASE,FLAG_LOOSE}=require_constants(),isNullSet=c$1=>c$1.value===`<0.0.0-0`,isAny=c$1=>c$1.value===``,isSatisfiable=(comparators,options)=>{let result=!0,remainingComparators=comparators.slice(),testComparator=remainingComparators.pop();for(;result&&remainingComparators.length;)result=remainingComparators.every(otherComparator=>testComparator.intersects(otherComparator,options)),testComparator=remainingComparators.pop();return result},parseComparator=(comp,options)=>(debug$1(`comp`,comp,options),comp=replaceCarets(comp,options),debug$1(`caret`,comp),comp=replaceTildes(comp,options),debug$1(`tildes`,comp),comp=replaceXRanges(comp,options),debug$1(`xrange`,comp),comp=replaceStars(comp,options),debug$1(`stars`,comp),comp),isX=id=>!id||id.toLowerCase()===`x`||id===`*`,replaceTildes=(comp,options)=>comp.trim().split(/\s+/).map(c$1=>replaceTilde(c$1,options)).join(` `),replaceTilde=(comp,options)=>{let r=options.loose?re$1[t$1.TILDELOOSE]:re$1[t$1.TILDE];return comp.replace(r,(_,M$1,m,p,pr)=>{debug$1(`tilde`,comp,_,M$1,m,p,pr);let ret;return isX(M$1)?ret=``:isX(m)?ret=`>=${M$1}.0.0 <${+M$1+1}.0.0-0`:isX(p)?ret=`>=${M$1}.${m}.0 <${M$1}.${+m+1}.0-0`:pr?(debug$1(`replaceTilde pr`,pr),ret=`>=${M$1}.${m}.${p}-${pr} <${M$1}.${+m+1}.0-0`):ret=`>=${M$1}.${m}.${p} <${M$1}.${+m+1}.0-0`,debug$1(`tilde return`,ret),ret})},replaceCarets=(comp,options)=>comp.trim().split(/\s+/).map(c$1=>replaceCaret(c$1,options)).join(` `),replaceCaret=(comp,options)=>{debug$1(`caret`,comp,options);let r=options.loose?re$1[t$1.CARETLOOSE]:re$1[t$1.CARET],z$1=options.includePrerelease?`-0`:``;return comp.replace(r,(_,M$1,m,p,pr)=>{debug$1(`caret`,comp,_,M$1,m,p,pr);let ret;return isX(M$1)?ret=``:isX(m)?ret=`>=${M$1}.0.0${z$1} <${+M$1+1}.0.0-0`:isX(p)?ret=M$1===`0`?`>=${M$1}.${m}.0${z$1} <${M$1}.${+m+1}.0-0`:`>=${M$1}.${m}.0${z$1} <${+M$1+1}.0.0-0`:pr?(debug$1(`replaceCaret pr`,pr),ret=M$1===`0`?m===`0`?`>=${M$1}.${m}.${p}-${pr} <${M$1}.${m}.${+p+1}-0`:`>=${M$1}.${m}.${p}-${pr} <${M$1}.${+m+1}.0-0`:`>=${M$1}.${m}.${p}-${pr} <${+M$1+1}.0.0-0`):(debug$1(`no pr`),ret=M$1===`0`?m===`0`?`>=${M$1}.${m}.${p}${z$1} <${M$1}.${m}.${+p+1}-0`:`>=${M$1}.${m}.${p}${z$1} <${M$1}.${+m+1}.0-0`:`>=${M$1}.${m}.${p} <${+M$1+1}.0.0-0`),debug$1(`caret return`,ret),ret})},replaceXRanges=(comp,options)=>(debug$1(`replaceXRanges`,comp,options),comp.split(/\s+/).map(c$1=>replaceXRange(c$1,options)).join(` `)),replaceXRange=(comp,options)=>{comp=comp.trim();let r=options.loose?re$1[t$1.XRANGELOOSE]:re$1[t$1.XRANGE];return comp.replace(r,(ret,gtlt,M$1,m,p,pr)=>{debug$1(`xRange`,comp,ret,gtlt,M$1,m,p,pr);let xM=isX(M$1),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt===`=`&&anyX&&(gtlt=``),pr=options.includePrerelease?`-0`:``,xM?ret=gtlt===`>`||gtlt===`<`?`<0.0.0-0`:`*`:gtlt&&anyX?(xm&&(m=0),p=0,gtlt===`>`?(gtlt=`>=`,xm?(M$1=+M$1+1,m=0,p=0):(m=+m+1,p=0)):gtlt===`<=`&&(gtlt=`<`,xm?M$1=+M$1+1:m=+m+1),gtlt===`<`&&(pr=`-0`),ret=`${gtlt+M$1}.${m}.${p}${pr}`):xm?ret=`>=${M$1}.0.0${pr} <${+M$1+1}.0.0-0`:xp&&(ret=`>=${M$1}.${m}.0${pr} <${M$1}.${+m+1}.0-0`),debug$1(`xRange return`,ret),ret})},replaceStars=(comp,options)=>(debug$1(`replaceStars`,comp,options),comp.trim().replace(re$1[t$1.STAR],``)),replaceGTE0=(comp,options)=>(debug$1(`replaceGTE0`,comp,options),comp.trim().replace(re$1[options.includePrerelease?t$1.GTE0PRE:t$1.GTE0],``)),hyphenReplace=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr)=>(from=isX(fM)?``:isX(fm)?`>=${fM}.0.0${incPr?`-0`:``}`:isX(fp)?`>=${fM}.${fm}.0${incPr?`-0`:``}`:fpr?`>=${from}`:`>=${from}${incPr?`-0`:``}`,to=isX(tM)?``:isX(tm)?`<${+tM+1}.0.0-0`:isX(tp)?`<${tM}.${+tm+1}.0-0`:tpr?`<=${tM}.${tm}.${tp}-${tpr}`:incPr?`<${tM}.${tm}.${+tp+1}-0`:`<=${to}`,`${from} ${to}`.trim()),testSet=(set,version$3,options)=>{for(let i$4=0;i$4<set.length;i$4++)if(!set[i$4].test(version$3))return!1;if(version$3.prerelease.length&&!options.includePrerelease){for(let i$4=0;i$4<set.length;i$4++)if(debug$1(set[i$4].semver),set[i$4].semver!==Comparator$4.ANY&&set[i$4].semver.prerelease.length>0){let allowed=set[i$4].semver;if(allowed.major===version$3.major&&allowed.minor===version$3.minor&&allowed.patch===version$3.patch)return!0}return!1}return!0}}),require_comparator=__commonJSMin((exports,module)=>{let ANY$2=Symbol(`SemVer ANY`);var Comparator$3=class Comparator$3{static get ANY(){return ANY$2}constructor(comp,options){if(options=parseOptions(options),comp instanceof Comparator$3){if(comp.loose===!!options.loose)return comp;comp=comp.value}comp=comp.trim().split(/\s+/).join(` `),debug(`comparator`,comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY$2?this.value=``:this.value=this.operator+this.semver.version,debug(`comp`,this)}parse(comp){let r=this.options.loose?re[t.COMPARATORLOOSE]:re[t.COMPARATOR],m=comp.match(r);if(!m)throw TypeError(`Invalid comparator: ${comp}`);this.operator=m[1]===void 0?``:m[1],this.operator===`=`&&(this.operator=``),m[2]?this.semver=new SemVer$5(m[2],this.options.loose):this.semver=ANY$2}toString(){return this.value}test(version$3){if(debug(`Comparator.test`,version$3,this.options.loose),this.semver===ANY$2||version$3===ANY$2)return!0;if(typeof version$3==`string`)try{version$3=new SemVer$5(version$3,this.options)}catch{return!1}return cmp$1(version$3,this.operator,this.semver,this.options)}intersects(comp,options){if(!(comp instanceof Comparator$3))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new Range$10(comp.value,options).test(this.value):comp.operator===``?comp.value===``?!0:new Range$10(this.value,options).test(comp.semver):(options=parseOptions(options),options.includePrerelease&&(this.value===`<0.0.0-0`||comp.value===`<0.0.0-0`)||!options.includePrerelease&&(this.value.startsWith(`<0.0.0`)||comp.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&comp.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&comp.operator.startsWith(`<`)||this.semver.version===comp.semver.version&&this.operator.includes(`=`)&&comp.operator.includes(`=`)||cmp$1(this.semver,`<`,comp.semver,options)&&this.operator.startsWith(`>`)&&comp.operator.startsWith(`<`)||cmp$1(this.semver,`>`,comp.semver,options)&&this.operator.startsWith(`<`)&&comp.operator.startsWith(`>`)))}};module.exports=Comparator$3;let parseOptions=require_parse_options(),{safeRe:re,t}=require_re(),cmp$1=require_cmp(),debug=require_debug(),SemVer$5=require_semver$1(),Range$10=require_range()}),require_satisfies=__commonJSMin((exports,module)=>{let Range$9=require_range(),satisfies$4=(version$3,range,options)=>{try{range=new Range$9(range,options)}catch{return!1}return range.test(version$3)};module.exports=satisfies$4}),require_to_comparators=__commonJSMin((exports,module)=>{let Range$8=require_range(),toComparators$1=(range,options)=>new Range$8(range,options).set.map(comp=>comp.map(c$1=>c$1.value).join(` `).trim().split(` `));module.exports=toComparators$1}),require_max_satisfying=__commonJSMin((exports,module)=>{let SemVer$4=require_semver$1(),Range$7=require_range(),maxSatisfying$1=(versions,range,options)=>{let max$3=null,maxSV=null,rangeObj=null;try{rangeObj=new Range$7(range,options)}catch{return null}return versions.forEach(v=>{rangeObj.test(v)&&(!max$3||maxSV.compare(v)===-1)&&(max$3=v,maxSV=new SemVer$4(max$3,options))}),max$3};module.exports=maxSatisfying$1}),require_min_satisfying=__commonJSMin((exports,module)=>{let SemVer$3=require_semver$1(),Range$6=require_range(),minSatisfying$1=(versions,range,options)=>{let min$1=null,minSV=null,rangeObj=null;try{rangeObj=new Range$6(range,options)}catch{return null}return versions.forEach(v=>{rangeObj.test(v)&&(!min$1||minSV.compare(v)===1)&&(min$1=v,minSV=new SemVer$3(min$1,options))}),min$1};module.exports=minSatisfying$1}),require_min_version=__commonJSMin((exports,module)=>{let SemVer$2=require_semver$1(),Range$5=require_range(),gt$2=require_gt(),minVersion$1=(range,loose)=>{range=new Range$5(range,loose);let minver=new SemVer$2(`0.0.0`);if(range.test(minver)||(minver=new SemVer$2(`0.0.0-0`),range.test(minver)))return minver;minver=null;for(let i$4=0;i$4<range.set.length;++i$4){let comparators=range.set[i$4],setMin=null;comparators.forEach(comparator=>{let compver=new SemVer$2(comparator.semver.version);switch(comparator.operator){case`>`:compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case``:case`>=`:(!setMin||gt$2(compver,setMin))&&(setMin=compver);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${comparator.operator}`)}}),setMin&&(!minver||gt$2(minver,setMin))&&(minver=setMin)}return minver&&range.test(minver)?minver:null};module.exports=minVersion$1}),require_valid=__commonJSMin((exports,module)=>{let Range$4=require_range(),validRange$1=(range,options)=>{try{return new Range$4(range,options).range||`*`}catch{return null}};module.exports=validRange$1}),require_outside=__commonJSMin((exports,module)=>{let SemVer$1=require_semver$1(),Comparator$2=require_comparator(),{ANY:ANY$1}=Comparator$2,Range$3=require_range(),satisfies$3=require_satisfies(),gt$1=require_gt(),lt$1=require_lt(),lte$1=require_lte(),gte$1=require_gte(),outside$3=(version$3,range,hilo,options)=>{version$3=new SemVer$1(version$3,options),range=new Range$3(range,options);let gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case`>`:gtfn=gt$1,ltefn=lte$1,ltfn=lt$1,comp=`>`,ecomp=`>=`;break;case`<`:gtfn=lt$1,ltefn=gte$1,ltfn=gt$1,comp=`<`,ecomp=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(satisfies$3(version$3,range,options))return!1;for(let i$4=0;i$4<range.set.length;++i$4){let comparators=range.set[i$4],high=null,low=null;if(comparators.forEach(comparator=>{comparator.semver===ANY$1&&(comparator=new Comparator$2(`>=0.0.0`)),high||=comparator,low||=comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&&ltefn(version$3,low.semver)||low.operator===ecomp&&ltfn(version$3,low.semver))return!1}return!0};module.exports=outside$3}),require_gtr=__commonJSMin((exports,module)=>{let outside$2=require_outside(),gtr$1=(version$3,range,options)=>outside$2(version$3,range,`>`,options);module.exports=gtr$1}),require_ltr=__commonJSMin((exports,module)=>{let outside$1=require_outside(),ltr$1=(version$3,range,options)=>outside$1(version$3,range,`<`,options);module.exports=ltr$1}),require_intersects=__commonJSMin((exports,module)=>{let Range$2=require_range(),intersects$1=(r1,r2,options)=>(r1=new Range$2(r1,options),r2=new Range$2(r2,options),r1.intersects(r2,options));module.exports=intersects$1}),require_simplify=__commonJSMin((exports,module)=>{let satisfies$2=require_satisfies(),compare$2=require_compare();module.exports=(versions,range,options)=>{let set=[],first=null,prev=null,v=versions.sort((a,b)=>compare$2(a,b,options));for(let version$3 of v){let included=satisfies$2(version$3,range,options);included?(prev=version$3,first||=version$3):(prev&&set.push([first,prev]),prev=null,first=null)}first&&set.push([first,null]);let ranges=[];for(let[min$1,max$3]of set)min$1===max$3?ranges.push(min$1):!max$3&&min$1===v[0]?ranges.push(`*`):max$3?min$1===v[0]?ranges.push(`<=${max$3}`):ranges.push(`${min$1} - ${max$3}`):ranges.push(`>=${min$1}`);let simplified=ranges.join(` || `),original=typeof range.raw==`string`?range.raw:String(range);return simplified.length<original.length?simplified:range}}),require_subset=__commonJSMin((exports,module)=>{let Range$1=require_range(),Comparator$1=require_comparator(),{ANY}=Comparator$1,satisfies$1=require_satisfies(),compare$1=require_compare(),subset$1=(sub,dom,options={})=>{if(sub===dom)return!0;sub=new Range$1(sub,options),dom=new Range$1(dom,options);let sawNonNull=!1;OUTER:for(let simpleSub of sub.set){for(let simpleDom of dom.set){let isSub=simpleSubset(simpleSub,simpleDom,options);if(sawNonNull||=isSub!==null,isSub)continue OUTER}if(sawNonNull)return!1}return!0},minimumVersionWithPreRelease=[new Comparator$1(`>=0.0.0-0`)],minimumVersion=[new Comparator$1(`>=0.0.0`)],simpleSubset=(sub,dom,options)=>{if(sub===dom)return!0;if(sub.length===1&&sub[0].semver===ANY){if(dom.length===1&&dom[0].semver===ANY)return!0;sub=options.includePrerelease?minimumVersionWithPreRelease:minimumVersion}if(dom.length===1&&dom[0].semver===ANY){if(options.includePrerelease)return!0;dom=minimumVersion}let eqSet=new Set,gt$5,lt$4;for(let c$1 of sub)c$1.operator===`>`||c$1.operator===`>=`?gt$5=higherGT(gt$5,c$1,options):c$1.operator===`<`||c$1.operator===`<=`?lt$4=lowerLT(lt$4,c$1,options):eqSet.add(c$1.semver);if(eqSet.size>1)return null;let gtltComp;if(gt$5&&lt$4&&(gtltComp=compare$1(gt$5.semver,lt$4.semver,options),gtltComp>0||gtltComp===0&&(gt$5.operator!==`>=`||lt$4.operator!==`<=`)))return null;for(let eq$3 of eqSet){if(gt$5&&!satisfies$1(eq$3,String(gt$5),options)||lt$4&&!satisfies$1(eq$3,String(lt$4),options))return null;for(let c$1 of dom)if(!satisfies$1(eq$3,String(c$1),options))return!1;return!0}let higher,lower,hasDomLT,hasDomGT,needDomLTPre=lt$4&&!options.includePrerelease&&lt$4.semver.prerelease.length?lt$4.semver:!1,needDomGTPre=gt$5&&!options.includePrerelease&&gt$5.semver.prerelease.length?gt$5.semver:!1;needDomLTPre&&needDomLTPre.prerelease.length===1&&lt$4.operator===`<`&&needDomLTPre.prerelease[0]===0&&(needDomLTPre=!1);for(let c$1 of dom){if(hasDomGT=hasDomGT||c$1.operator===`>`||c$1.operator===`>=`,hasDomLT=hasDomLT||c$1.operator===`<`||c$1.operator===`<=`,gt$5){if(needDomGTPre&&c$1.semver.prerelease&&c$1.semver.prerelease.length&&c$1.semver.major===needDomGTPre.major&&c$1.semver.minor===needDomGTPre.minor&&c$1.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),c$1.operator===`>`||c$1.operator===`>=`){if(higher=higherGT(gt$5,c$1,options),higher===c$1&&higher!==gt$5)return!1}else if(gt$5.operator===`>=`&&!satisfies$1(gt$5.semver,String(c$1),options))return!1}if(lt$4){if(needDomLTPre&&c$1.semver.prerelease&&c$1.semver.prerelease.length&&c$1.semver.major===needDomLTPre.major&&c$1.semver.minor===needDomLTPre.minor&&c$1.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),c$1.operator===`<`||c$1.operator===`<=`){if(lower=lowerLT(lt$4,c$1,options),lower===c$1&&lower!==lt$4)return!1}else if(lt$4.operator===`<=`&&!satisfies$1(lt$4.semver,String(c$1),options))return!1}if(!c$1.operator&&(lt$4||gt$5)&&gtltComp!==0)return!1}return!(gt$5&&hasDomLT&&!lt$4&&gtltComp!==0||lt$4&&hasDomGT&&!gt$5&&gtltComp!==0||needDomGTPre||needDomLTPre)},higherGT=(a,b,options)=>{if(!a)return b;let comp=compare$1(a.semver,b.semver,options);return comp>0?a:comp<0||b.operator===`>`&&a.operator===`>=`?b:a},lowerLT=(a,b,options)=>{if(!a)return b;let comp=compare$1(a.semver,b.semver,options);return comp<0?a:comp>0||b.operator===`<`&&a.operator===`<=`?b:a};module.exports=subset$1}),require_semver=__commonJSMin((exports,module)=>{let internalRe=require_re(),constants=require_constants(),SemVer=require_semver$1(),identifiers=require_identifiers(),parse=require_parse(),valid=require_valid$1(),clean=require_clean(),inc=require_inc(),diff=require_diff(),major=require_major(),minor=require_minor(),patch$1=require_patch(),prerelease=require_prerelease(),compare=require_compare(),rcompare=require_rcompare(),compareLoose=require_compare_loose(),compareBuild=require_compare_build(),sort=require_sort(),rsort=require_rsort(),gt=require_gt(),lt=require_lt(),eq=require_eq(),neq=require_neq(),gte=require_gte(),lte=require_lte(),cmp=require_cmp(),coerce=require_coerce(),Comparator=require_comparator(),Range=require_range(),satisfies=require_satisfies(),toComparators=require_to_comparators(),maxSatisfying=require_max_satisfying(),minSatisfying=require_min_satisfying(),minVersion=require_min_version(),validRange=require_valid(),outside=require_outside(),gtr=require_gtr(),ltr=require_ltr(),intersects=require_intersects(),simplifyRange=require_simplify(),subset=require_subset();module.exports={parse,valid,clean,inc,diff,major,minor,patch:patch$1,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers}}),u8=Uint8Array,u16=Uint16Array,i32=Int32Array,fleb=new u8([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fdeb=new u8([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),freb=function(eb,start){for(var b=new u16(31),i$4=0;i$4<31;++i$4)b[i$4]=start+=1<<eb[i$4-1];for(var r=new i32(b[30]),i$4=1;i$4<30;++i$4)for(var j$1=b[i$4];j$1<b[i$4+1];++j$1)r[j$1]=j$1-b[i$4]<<5|i$4;return{b,r}},_a=freb(fleb,2),fl=_a.b,revfl=_a.r;fl[28]=258,revfl[258]=28;for(var _b=freb(fdeb,0),fd=_b.b,revfd=_b.r,rev=new u16(32768),i=0;i<32768;++i){var x=(i&43690)>>1|(i&21845)<<1;x=(x&52428)>>2|(x&13107)<<2,x=(x&61680)>>4|(x&3855)<<4,rev[i]=((x&65280)>>8|(x&255)<<8)>>1}for(var hMap=function(cd,mb,r){for(var s$2=cd.length,i$4=0,l$2=new u16(mb);i$4<s$2;++i$4)cd[i$4]&&++l$2[cd[i$4]-1];var le$1=new u16(mb);for(i$4=1;i$4<mb;++i$4)le$1[i$4]=le$1[i$4-1]+l$2[i$4-1]<<1;var co;if(r){co=new u16(1<<mb);var rvb=15-mb;for(i$4=0;i$4<s$2;++i$4)if(cd[i$4])for(var sv=i$4<<4|cd[i$4],r_1=mb-cd[i$4],v=le$1[cd[i$4]-1]++<<r_1,m=v|(1<<r_1)-1;v<=m;++v)co[rev[v]>>rvb]=sv}else for(co=new u16(s$2),i$4=0;i$4<s$2;++i$4)cd[i$4]&&(co[i$4]=rev[le$1[cd[i$4]-1]++]>>15-cd[i$4]);return co},flt=new u8(288),i=0;i<144;++i)flt[i]=8;for(var i=144;i<256;++i)flt[i]=9;for(var i=256;i<280;++i)flt[i]=7;for(var i=280;i<288;++i)flt[i]=8;for(var fdt=new u8(32),i=0;i<32;++i)fdt[i]=5;var flm=hMap(flt,9,0),flrm=hMap(flt,9,1),fdm=hMap(fdt,5,0),fdrm=hMap(fdt,5,1),max=function(a){for(var m=a[0],i$4=1;i$4<a.length;++i$4)a[i$4]>m&&(m=a[i$4]);return m},bits=function(d,p,m){var o=p/8|0;return(d[o]|d[o+1]<<8)>>(p&7)&m},bits16=function(d,p){var o=p/8|0;return(d[o]|d[o+1]<<8|d[o+2]<<16)>>(p&7)},shft=function(p){return(p+7)/8|0},slc=function(v,s$2,e){return(s$2==null||s$2<0)&&(s$2=0),(e==null||e>v.length)&&(e=v.length),new u8(v.subarray(s$2,e))},ec=[`unexpected EOF`,`invalid block type`,`invalid length/literal`,`invalid distance`,`stream finished`,`no stream handler`,,`no callback`,`invalid UTF-8 data`,`extra field too long`,`date not in range 1980-2099`,`filename too long`,`stream finishing`,`invalid zip data`],err=function(ind,msg,nt){var e=Error(msg||ec[ind]);if(e.code=ind,Error.captureStackTrace&&Error.captureStackTrace(e,err),!nt)throw e;return e},inflt=function(dat,st,buf,dict){var sl=dat.length,dl=dict?dict.length:0;if(!sl||st.f&&!st.l)return buf||new u8(0);var noBuf=!buf,resize=noBuf||st.i!=2,noSt=st.i;noBuf&&(buf=new u8(sl*3));var cbuf=function(l$3){var bl=buf.length;if(l$3>bl){var nbuf=new u8(Math.max(bl*2,l$3));nbuf.set(buf),buf=nbuf}},final=st.f||0,pos=st.p||0,bt=st.b||0,lm=st.l,dm=st.d,lbt=st.m,dbt=st.n,tbts=sl*8;do{if(!lm){final=bits(dat,pos,1);var type=bits(dat,pos+1,3);if(pos+=3,type)if(type==1)lm=flrm,dm=fdrm,lbt=9,dbt=5;else if(type==2){var hLit=bits(dat,pos,31)+257,hcLen=bits(dat,pos+10,15)+4,tl=hLit+bits(dat,pos+5,31)+1;pos+=14;for(var ldt=new u8(tl),clt=new u8(19),i$4=0;i$4<hcLen;++i$4)clt[clim[i$4]]=bits(dat,pos+i$4*3,7);pos+=hcLen*3;for(var clb=max(clt),clbmsk=(1<<clb)-1,clm=hMap(clt,clb,1),i$4=0;i$4<tl;){var r=clm[bits(dat,pos,clbmsk)];pos+=r&15;var s$2=r>>4;if(s$2<16)ldt[i$4++]=s$2;else{var c$1=0,n$2=0;for(s$2==16?(n$2=3+bits(dat,pos,3),pos+=2,c$1=ldt[i$4-1]):s$2==17?(n$2=3+bits(dat,pos,7),pos+=3):s$2==18&&(n$2=11+bits(dat,pos,127),pos+=7);n$2--;)ldt[i$4++]=c$1}}var lt$4=ldt.subarray(0,hLit),dt=ldt.subarray(hLit);lbt=max(lt$4),dbt=max(dt),lm=hMap(lt$4,lbt,1),dm=hMap(dt,dbt,1)}else err(1);else{var s$2=shft(pos)+4,l$2=dat[s$2-4]|dat[s$2-3]<<8,t$5=s$2+l$2;if(t$5>sl){noSt&&err(0);break}resize&&cbuf(bt+l$2),buf.set(dat.subarray(s$2,t$5),bt),st.b=bt+=l$2,st.p=pos=t$5*8,st.f=final;continue}if(pos>tbts){noSt&&err(0);break}}resize&&cbuf(bt+131072);for(var lms=(1<<lbt)-1,dms=(1<<dbt)-1,lpos=pos;;lpos=pos){var c$1=lm[bits16(dat,pos)&lms],sym=c$1>>4;if(pos+=c$1&15,pos>tbts){noSt&&err(0);break}if(c$1||err(2),sym<256)buf[bt++]=sym;else if(sym==256){lpos=pos,lm=null;break}else{var add=sym-254;if(sym>264){var i$4=sym-257,b=fleb[i$4];add=bits(dat,pos,(1<<b)-1)+fl[i$4],pos+=b}var d=dm[bits16(dat,pos)&dms],dsym=d>>4;d||err(3),pos+=d&15;var dt=fd[dsym];if(dsym>3){var b=fdeb[dsym];dt+=bits16(dat,pos)&(1<<b)-1,pos+=b}if(pos>tbts){noSt&&err(0);break}resize&&cbuf(bt+131072);var end=bt+add;if(bt<dt){var shift=dl-dt,dend=Math.min(dt,end);for(shift+bt<0&&err(3);bt<dend;++bt)buf[bt]=dict[shift+bt]}for(;bt<end;++bt)buf[bt]=buf[bt-dt]}}st.l=lm,st.p=lpos,st.b=bt,st.f=final,lm&&(final=1,st.m=lbt,st.d=dm,st.n=dbt)}while(!final);return bt!=buf.length&&noBuf?slc(buf,0,bt):buf.subarray(0,bt)},wbits=function(d,p,v){v<<=p&7;var o=p/8|0;d[o]|=v,d[o+1]|=v>>8},wbits16=function(d,p,v){v<<=p&7;var o=p/8|0;d[o]|=v,d[o+1]|=v>>8,d[o+2]|=v>>16},hTree=function(d,mb){for(var t$5=[],i$4=0;i$4<d.length;++i$4)d[i$4]&&t$5.push({s:i$4,f:d[i$4]});var s$2=t$5.length,t2=t$5.slice();if(!s$2)return{t:et,l:0};if(s$2==1){var v=new u8(t$5[0].s+1);return v[t$5[0].s]=1,{t:v,l:1}}t$5.sort(function(a,b){return a.f-b.f}),t$5.push({s:-1,f:25001});var l$2=t$5[0],r=t$5[1],i0=0,i1=1,i2=2;for(t$5[0]={s:-1,f:l$2.f+r.f,l:l$2,r};i1!=s$2-1;)l$2=t$5[t$5[i0].f<t$5[i2].f?i0++:i2++],r=t$5[i0!=i1&&t$5[i0].f<t$5[i2].f?i0++:i2++],t$5[i1++]={s:-1,f:l$2.f+r.f,l:l$2,r};for(var maxSym=t2[0].s,i$4=1;i$4<s$2;++i$4)t2[i$4].s>maxSym&&(maxSym=t2[i$4].s);var tr=new u16(maxSym+1),mbt=ln(t$5[i1-1],tr,0);if(mbt>mb){var i$4=0,dt=0,lft=mbt-mb,cst=1<<lft;for(t2.sort(function(a,b){return tr[b.s]-tr[a.s]||a.f-b.f});i$4<s$2;++i$4){var i2_1=t2[i$4].s;if(tr[i2_1]>mb)dt+=cst-(1<<mbt-tr[i2_1]),tr[i2_1]=mb;else break}for(dt>>=lft;dt>0;){var i2_2=t2[i$4].s;tr[i2_2]<mb?dt-=1<<mb-tr[i2_2]++-1:++i$4}for(;i$4>=0&&dt;--i$4){var i2_3=t2[i$4].s;tr[i2_3]==mb&&(--tr[i2_3],++dt)}mbt=mb}return{t:new u8(tr),l:mbt}},ln=function(n$2,l$2,d){return n$2.s==-1?Math.max(ln(n$2.l,l$2,d+1),ln(n$2.r,l$2,d+1)):l$2[n$2.s]=d},lc=function(c$1){for(var s$2=c$1.length;s$2&&!c$1[--s$2];);for(var cl=new u16(++s$2),cli=0,cln=c$1[0],cls=1,w=function(v){cl[cli++]=v},i$4=1;i$4<=s$2;++i$4)if(c$1[i$4]==cln&&i$4!=s$2)++cls;else{if(!cln&&cls>2){for(;cls>138;cls-=138)w(32754);cls>2&&(w(cls>10?cls-11<<5|28690:cls-3<<5|12305),cls=0)}else if(cls>3){for(w(cln),--cls;cls>6;cls-=6)w(8304);cls>2&&(w(cls-3<<5|8208),cls=0)}for(;cls--;)w(cln);cls=1,cln=c$1[i$4]}return{c:cl.subarray(0,cli),n:s$2}},clen=function(cf,cl){for(var l$2=0,i$4=0;i$4<cl.length;++i$4)l$2+=cf[i$4]*cl[i$4];return l$2},wfblk=function(out,pos,dat){var s$2=dat.length,o=shft(pos+2);out[o]=s$2&255,out[o+1]=s$2>>8,out[o+2]=out[o]^255,out[o+3]=out[o+1]^255;for(var i$4=0;i$4<s$2;++i$4)out[o+i$4+4]=dat[i$4];return(o+4+s$2)*8},wblk=function(dat,out,final,syms,lf,df,eb,li,bs,bl,p){wbits(out,p++,final),++lf[256];for(var _a$1=hTree(lf,15),dlt=_a$1.t,mlb=_a$1.l,_b$1=hTree(df,15),ddt=_b$1.t,mdb=_b$1.l,_c=lc(dlt),lclt=_c.c,nlc=_c.n,_d=lc(ddt),lcdt=_d.c,ndc=_d.n,lcfreq=new u16(19),i$4=0;i$4<lclt.length;++i$4)++lcfreq[lclt[i$4]&31];for(var i$4=0;i$4<lcdt.length;++i$4)++lcfreq[lcdt[i$4]&31];for(var _e=hTree(lcfreq,7),lct=_e.t,mlcb=_e.l,nlcc=19;nlcc>4&&!lct[clim[nlcc-1]];--nlcc);var flen=bl+5<<3,ftlen=clen(lf,flt)+clen(df,fdt)+eb,dtlen=clen(lf,dlt)+clen(df,ddt)+eb+14+3*nlcc+clen(lcfreq,lct)+2*lcfreq[16]+3*lcfreq[17]+7*lcfreq[18];if(bs>=0&&flen<=ftlen&&flen<=dtlen)return wfblk(out,p,dat.subarray(bs,bs+bl));var lm,ll,dm,dl;if(wbits(out,p,1+(dtlen<ftlen)),p+=2,dtlen<ftlen){lm=hMap(dlt,mlb,0),ll=dlt,dm=hMap(ddt,mdb,0),dl=ddt;var llm=hMap(lct,mlcb,0);wbits(out,p,nlc-257),wbits(out,p+5,ndc-1),wbits(out,p+10,nlcc-4),p+=14;for(var i$4=0;i$4<nlcc;++i$4)wbits(out,p+3*i$4,lct[clim[i$4]]);p+=3*nlcc;for(var lcts=[lclt,lcdt],it=0;it<2;++it)for(var clct=lcts[it],i$4=0;i$4<clct.length;++i$4){var len$2=clct[i$4]&31;wbits(out,p,llm[len$2]),p+=lct[len$2],len$2>15&&(wbits(out,p,clct[i$4]>>5&127),p+=clct[i$4]>>12)}}else lm=flm,ll=flt,dm=fdm,dl=fdt;for(var i$4=0;i$4<li;++i$4){var sym=syms[i$4];if(sym>255){var len$2=sym>>18&31;wbits16(out,p,lm[len$2+257]),p+=ll[len$2+257],len$2>7&&(wbits(out,p,sym>>23&31),p+=fleb[len$2]);var dst=sym&31;wbits16(out,p,dm[dst]),p+=dl[dst],dst>3&&(wbits16(out,p,sym>>5&8191),p+=fdeb[dst])}else wbits16(out,p,lm[sym]),p+=ll[sym]}return wbits16(out,p,lm[256]),p+ll[256]},deo=new i32([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),et=new u8(0),dflt=function(dat,lvl,plvl,pre,post,st){var s$2=st.z||dat.length,o=new u8(pre+s$2+5*(1+Math.ceil(s$2/7e3))+post),w=o.subarray(pre,o.length-post),lst=st.l,pos=(st.r||0)&7;if(lvl){pos&&(w[0]=st.r>>3);for(var opt=deo[lvl-1],n$2=opt>>13,c$1=opt&8191,msk_1=(1<<plvl)-1,prev=st.p||new u16(32768),head=st.h||new u16(msk_1+1),bs1_1=Math.ceil(plvl/3),bs2_1=2*bs1_1,hsh=function(i$5){return(dat[i$5]^dat[i$5+1]<<bs1_1^dat[i$5+2]<<bs2_1)&msk_1},syms=new i32(25e3),lf=new u16(288),df=new u16(32),lc_1=0,eb=0,i$4=st.i||0,li=0,wi=st.w||0,bs=0;i$4+2<s$2;++i$4){var hv=hsh(i$4),imod=i$4&32767,pimod=head[hv];if(prev[imod]=pimod,head[hv]=imod,wi<=i$4){var rem=s$2-i$4;if((lc_1>7e3||li>24576)&&(rem>423||!lst)){pos=wblk(dat,w,0,syms,lf,df,eb,li,bs,i$4-bs,pos),li=lc_1=eb=0,bs=i$4;for(var j$1=0;j$1<286;++j$1)lf[j$1]=0;for(var j$1=0;j$1<30;++j$1)df[j$1]=0}var l$2=2,d=0,ch_1=c$1,dif=imod-pimod&32767;if(rem>2&&hv==hsh(i$4-dif))for(var maxn=Math.min(n$2,rem)-1,maxd=Math.min(32767,i$4),ml=Math.min(258,rem);dif<=maxd&&--ch_1&&imod!=pimod;){if(dat[i$4+l$2]==dat[i$4+l$2-dif]){for(var nl=0;nl<ml&&dat[i$4+nl]==dat[i$4+nl-dif];++nl);if(nl>l$2){if(l$2=nl,d=dif,nl>maxn)break;for(var mmd=Math.min(dif,nl-2),md=0,j$1=0;j$1<mmd;++j$1){var ti=i$4-dif+j$1&32767,pti=prev[ti],cd=ti-pti&32767;cd>md&&(md=cd,pimod=ti)}}}imod=pimod,pimod=prev[imod],dif+=imod-pimod&32767}if(d){syms[li++]=268435456|revfl[l$2]<<18|revfd[d];var lin=revfl[l$2]&31,din=revfd[d]&31;eb+=fleb[lin]+fdeb[din],++lf[257+lin],++df[din],wi=i$4+l$2,++lc_1}else syms[li++]=dat[i$4],++lf[dat[i$4]]}}for(i$4=Math.max(i$4,wi);i$4<s$2;++i$4)syms[li++]=dat[i$4],++lf[dat[i$4]];pos=wblk(dat,w,lst,syms,lf,df,eb,li,bs,i$4-bs,pos),lst||(st.r=pos&7|w[pos/8|0]<<3,pos-=7,st.h=head,st.p=prev,st.i=i$4,st.w=wi)}else{for(var i$4=st.w||0;i$4<s$2+lst;i$4+=65535){var e=i$4+65535;e>=s$2&&(w[pos/8|0]=lst,e=s$2),pos=wfblk(w,pos+1,dat.subarray(i$4,e))}st.i=s$2}return slc(o,0,pre+shft(pos)+post)},adler=function(){var a=1,b=0;return{p:function(d){for(var n$2=a,m=b,l$2=d.length|0,i$4=0;i$4!=l$2;){for(var e=Math.min(i$4+2655,l$2);i$4<e;++i$4)m+=n$2+=d[i$4];n$2=(n$2&65535)+15*(n$2>>16),m=(m&65535)+15*(m>>16)}a=n$2,b=m},d:function(){return a%=65521,b%=65521,(a&255)<<24|(a&65280)<<8|(b&255)<<8|b>>8}}},dopt=function(dat,opt,pre,post,st){if(!st&&(st={l:1},opt.dictionary)){var dict=opt.dictionary.subarray(-32768),newDat=new u8(dict.length+dat.length);newDat.set(dict),newDat.set(dat,dict.length),dat=newDat,st.w=dict.length}return dflt(dat,opt.level==null?6:opt.level,opt.mem==null?st.l?Math.ceil(Math.max(8,Math.min(13,Math.log(dat.length)))*1.5):20:12+opt.mem,pre,post,st)},wbytes=function(d,b,v){for(;v;++b)d[b]=v,v>>>=8},zlh=function(c$1,o){var lv=o.level,fl$1=lv==0?0:lv<6?1:lv==9?3:2;if(c$1[0]=120,c$1[1]=fl$1<<6|(o.dictionary&&32),c$1[1]|=31-(c$1[0]<<8|c$1[1])%31,o.dictionary){var h=adler();h.p(o.dictionary),wbytes(c$1,2,h.d())}},zls=function(d,dict){return((d[0]&15)!=8||d[0]>>4>7||(d[0]<<8|d[1])%31)&&err(6,`invalid zlib data`),(d[1]>>5&1)==+!dict&&err(6,`invalid zlib data: `+(d[1]&32?`need`:`unexpected`)+` dictionary`),(d[1]>>3&4)+2};function zlibSync(data,opts){opts||={};var a=adler();a.p(data);var d=dopt(data,opts,opts.dictionary?6:2,4);return zlh(d,opts),wbytes(d,d.length-4,a.d()),d}function unzlibSync(data,opts){return inflt(data.subarray(zls(data,opts&&opts.dictionary),-4),{i:2},opts&&opts.out,opts&&opts.dictionary)}var te=typeof TextEncoder<`u`&&new TextEncoder,td=typeof TextDecoder<`u`&&new TextDecoder,tds=0;try{td.decode(et,{stream:!0}),tds=1}catch{}var dutf8=function(d){for(var r=``,i$4=0;;){var c$1=d[i$4++],eb=(c$1>127)+(c$1>223)+(c$1>239);if(i$4+eb>d.length)return{s:r,r:slc(d,i$4-1)};eb?eb==3?(c$1=((c$1&15)<<18|(d[i$4++]&63)<<12|(d[i$4++]&63)<<6|d[i$4++]&63)-65536,r+=String.fromCharCode(55296|c$1>>10,56320|c$1&1023)):eb&1?r+=String.fromCharCode((c$1&31)<<6|d[i$4++]&63):r+=String.fromCharCode((c$1&15)<<12|(d[i$4++]&63)<<6|d[i$4++]&63):r+=String.fromCharCode(c$1)}};function strToU8(str,latin1){if(latin1){for(var ar_1=new u8(str.length),i$4=0;i$4<str.length;++i$4)ar_1[i$4]=str.charCodeAt(i$4);return ar_1}if(te)return te.encode(str);for(var l$2=str.length,ar=new u8(str.length+(str.length>>1)),ai=0,w=function(v){ar[ai++]=v},i$4=0;i$4<l$2;++i$4){if(ai+5>ar.length){var n$2=new u8(ai+8+(l$2-i$4<<1));n$2.set(ar),ar=n$2}var c$1=str.charCodeAt(i$4);c$1<128||latin1?w(c$1):c$1<2048?(w(192|c$1>>6),w(128|c$1&63)):c$1>55295&&c$1<57344?(c$1=65536+(c$1&1047552)|str.charCodeAt(++i$4)&1023,w(240|c$1>>18),w(128|c$1>>12&63),w(128|c$1>>6&63),w(128|c$1&63)):(w(224|c$1>>12),w(128|c$1>>6&63),w(128|c$1&63))}return slc(ar,0,ai)}function strFromU8(dat,latin1){if(latin1){for(var r=``,i$4=0;i$4<dat.length;i$4+=16384)r+=String.fromCharCode.apply(null,dat.subarray(i$4,i$4+16384));return r}else if(td)return td.decode(dat);else{var _a$1=dutf8(dat),s$2=_a$1.s,r=_a$1.r;return r.length&&err(8),s$2}}var import_semver=__toESM(require_semver());const utoa=data=>{let buffer$2=strToU8(data),zipped=zlibSync(buffer$2,{level:9}),binary=strFromU8(zipped,!0);return btoa(binary)},atou=base64=>{let binary=atob(base64);if(binary.startsWith(`xÚ`)){let buffer$2=strToU8(binary,!0),unzipped=unzlibSync(buffer$2);return strFromU8(unzipped)}return decodeURIComponent(escape(binary))},encode=schema=>{let description$1=schema.describe();for(let key in description$1.keys){if(description$1.keys[key]===void 0||description$1.keys[key].rules===void 0)continue;description$1.keys[key].rules=description$1.keys[key].rules.map(rule=>{for(let argKey in rule.args){let value=rule.args[argKey];value instanceof Phone&&(rule.args[argKey]=value.e164)}return rule})}let json$1=JSON.stringify({version:`1.20250813.0`,schema:description$1},(_,value)=>typeof value==`bigint`?value.toString():value===void 0?null:value instanceof DateTime?value.toObject():value instanceof Date?DateTime.fromJSDate(value).toObject():value);return utoa(json$1)},decode=base64=>{let json$1=atou(base64),description$1=JSON.parse(json$1);if(!isPlainObject(description$1)||!(`version`in description$1)||!(`schema`in description$1)||typeof description$1.version!=`string`||!isPlainObject(description$1.schema))throw TypeError(`Not a valid encoded schema`);let{version:schemaVersion,schema}=description$1;if(import_semver.valid(`1.20250813.0`)){if(!import_semver.valid(import_semver.coerce(schemaVersion)))throw TypeError(`Invalid schema version: ${schemaVersion}`);if(import_semver.gt(import_semver.coerce(schemaVersion),`1.20250813.0`))throw TypeError(`Schema version ${schemaVersion} is not compatible with current version 1.20250813.0`)}return validator.build(schema)};var import_lib$3=__toESM(require_lib$2());const validator=patch(import_lib$3.default.extend(bigint).extend(datetime).extend(phone)),errorCodes={EMPTY_STRING:`Address must be a non-empty string`,FORBIDDEN_UNICODE:`Address contains forbidden Unicode characters`,MULTIPLE_AT_CHAR:`Address cannot contain more than one @ character`,MISSING_AT_CHAR:`Address must contain one @ character`,EMPTY_LOCAL:`Address local part cannot be empty`,ADDRESS_TOO_LONG:`Address too long`,LOCAL_TOO_LONG:`Address local part too long`,EMPTY_LOCAL_SEGMENT:`Address local part contains empty dot-separated segment`,INVALID_LOCAL_CHARS:`Address local part contains invalid character`,DOMAIN_NON_EMPTY_STRING:`Domain must be a non-empty string`,DOMAIN_TOO_LONG:`Domain too long`,DOMAIN_INVALID_UNICODE_CHARS:`Domain contains forbidden Unicode characters`,DOMAIN_INVALID_CHARS:`Domain contains invalid character`,DOMAIN_INVALID_TLDS_CHARS:`Domain contains invalid tld character`,DOMAIN_SEGMENTS_COUNT:`Domain lacks the minimum required number of segments`,DOMAIN_SEGMENTS_COUNT_MAX:`Domain contains too many segments`,DOMAIN_FORBIDDEN_TLDS:`Domain uses forbidden TLD`,DOMAIN_EMPTY_SEGMENT:`Domain contains empty dot-separated segment`,DOMAIN_LONG_SEGMENT:`Domain contains dot-separated segment that is too long`};function errorCode(code$2){return{code:code$2,error:errorCodes[code$2]}}init_urlshim();const MIN_DOMAIN_SEGMENTS=2,NON_ASCII_RX$1=/[^\x00-\x7f]/,DOMAIN_CONTROL_RX=/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,TLD_SEGMENT_RX=/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,DOMAIN_SEGMENT_RX=/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,DOMAIN_UNDERSCORE_SEGMENT_RX=/^[a-zA-Z0-9_](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL_IMPL=URL$1||URL;function isTldsAllow(tlds$1){return!!tlds$1.allow}function analyzeDomain(domain,options={}){if(!domain)return errorCode(`DOMAIN_NON_EMPTY_STRING`);if(typeof domain!=`string`)throw Error(`Invalid input: domain must be a string`);if(domain.length>256)return errorCode(`DOMAIN_TOO_LONG`);let ascii$2=!NON_ASCII_RX$1.test(domain);if(!ascii$2){if(options.allowUnicode===!1)return errorCode(`DOMAIN_INVALID_UNICODE_CHARS`);domain=domain.normalize(`NFC`)}if(DOMAIN_CONTROL_RX.test(domain))return errorCode(`DOMAIN_INVALID_CHARS`);domain=punycode(domain),options.allowFullyQualified&&domain[domain.length-1]===`.`&&(domain=domain.slice(0,-1));let minDomainSegments=options.minDomainSegments||MIN_DOMAIN_SEGMENTS,segments=domain.split(`.`);if(segments.length<minDomainSegments)return errorCode(`DOMAIN_SEGMENTS_COUNT`);if(options.maxDomainSegments&&segments.length>options.maxDomainSegments)return errorCode(`DOMAIN_SEGMENTS_COUNT_MAX`);let tlds$1=options.tlds;if(tlds$1){let tld=segments[segments.length-1].toLowerCase();if(isTldsAllow(tlds$1)){if(!tlds$1.allow.has(tld))return errorCode(`DOMAIN_FORBIDDEN_TLDS`)}else if(tlds$1.deny.has(tld))return errorCode(`DOMAIN_FORBIDDEN_TLDS`)}for(let i$4=0;i$4<segments.length;++i$4){let segment=segments[i$4];if(!segment.length)return errorCode(`DOMAIN_EMPTY_SEGMENT`);if(segment.length>63)return errorCode(`DOMAIN_LONG_SEGMENT`);if(i$4<segments.length-1){if(options.allowUnderscore){if(!DOMAIN_UNDERSCORE_SEGMENT_RX.test(segment))return errorCode(`DOMAIN_INVALID_CHARS`)}else if(!DOMAIN_SEGMENT_RX.test(segment))return errorCode(`DOMAIN_INVALID_CHARS`)}else if(!TLD_SEGMENT_RX.test(segment))return errorCode(`DOMAIN_INVALID_TLDS_CHARS`)}return null}function isDomainValid(domain,options){return!analyzeDomain(domain,options)}function punycode(domain){domain.includes(`%`)&&(domain=domain.replace(/%/g,`%25`));try{return new URL_IMPL(`http://${domain}`).host}catch{return domain}}function validateDomainOptions(options){if(options){if(typeof options.tlds!=`object`)throw Error(`Invalid options: tlds must be a boolean or an object`);if(isTldsAllow(options.tlds)){if(!(options.tlds.allow instanceof Set))throw Error(`Invalid options: tlds.allow must be a Set object or true`);if(options.tlds.deny)throw Error(`Invalid options: cannot specify both tlds.allow and tlds.deny lists`)}else if(!(options.tlds.deny instanceof Set))throw Error(`Invalid options: tlds.deny must be a Set object`)}}var import_util=__toESM(require_util());const NON_ASCII_RX=/[^\x00-\x7f]/,ENCODER_IMPL=new(import_util.TextEncoder||TextEncoder);function analyzeEmail(email,options){return validateEmail(email,options)}function isEmailValid(email,options){return!validateEmail(email,options)}function validateEmail(email,options={}){if(typeof email!=`string`)throw Error(`Invalid input: email must be a string`);if(!email)return errorCode(`EMPTY_STRING`);let ascii$2=!NON_ASCII_RX.test(email);if(!ascii$2){if(options.allowUnicode===!1)return errorCode(`FORBIDDEN_UNICODE`);email=email.normalize(`NFC`)}let parts=email.split(`@`);if(parts.length!==2)return parts.length>2?errorCode(`MULTIPLE_AT_CHAR`):errorCode(`MISSING_AT_CHAR`);let[local,domain]=parts;if(!local)return errorCode(`EMPTY_LOCAL`);if(!options.ignoreLength){if(email.length>254)return errorCode(`ADDRESS_TOO_LONG`);if(ENCODER_IMPL.encode(local).length>64)return errorCode(`LOCAL_TOO_LONG`)}return validateLocal(local,ascii$2)||analyzeDomain(domain,options)}function validateLocal(local,ascii$2){let segments=local.split(`.`);for(let segment of segments){if(!segment.length)return errorCode(`EMPTY_LOCAL_SEGMENT`);if(ascii$2){if(!ATEXT_RX.test(segment))return errorCode(`INVALID_LOCAL_CHARS`);continue}for(let char of segment){if(ATEXT_RX.test(char))continue;let binary=toBinary(char);if(!ATOM_RX.test(binary))return errorCode(`INVALID_LOCAL_CHARS`)}}return null}function toBinary(char){return Array.from(ENCODER_IMPL.encode(char),v=>String.fromCharCode(v)).join(``)}const ATEXT_RX=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,ATOM_RX=new RegExp([`(?:[\\xc2-\\xdf][\\x80-\\xbf])`,`(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})`,`(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})`].join(`|`));var require_assertError=__commonJSMin((exports,module)=>{module.exports=class extends Error{name=`AssertError`;constructor(message,ctor){super(message||`Unknown error`),typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,ctor)}}}),require_stringify=__commonJSMin((exports,module)=>{module.exports=function(...args$1){try{return JSON.stringify(...args$1)}catch(err$1){return`[Cannot display object: `+err$1.message+`]`}}}),require_assert=__commonJSMin((exports,module)=>{let AssertError$1=require_assertError(),Stringify=require_stringify(),assert$3=module.exports=function(condition,...args$1){if(condition)return;if(args$1.length===1&&args$1[0]instanceof Error)throw args$1[0];let msgs=args$1.filter(arg=>arg!==``).map(arg=>typeof arg==`string`?arg:arg instanceof Error?arg.message:Stringify(arg));throw new AssertError$1(msgs.join(` `),assert$3)}}),require_reach=__commonJSMin((exports,module)=>{let Assert$4=require_assert(),internals$14={};module.exports=function(obj,chain,options){if(chain===!1||chain==null)return obj;options||={},typeof options==`string`&&(options={separator:options});let isChainArray=Array.isArray(chain);Assert$4(!isChainArray||!options.separator,`Separator option is not valid for array-based chain`);let path=isChainArray?chain:chain.split(options.separator||`.`),ref=obj;for(let i$4=0;i$4<path.length;++i$4){let key=path[i$4],type=options.iterables&&internals$14.iterables(ref);if(Array.isArray(ref)||type===`set`){let number=Number(key);Number.isInteger(number)&&(key=number<0?ref.length+number:number)}if(!ref||typeof ref==`function`&&options.functions===!1||!type&&ref[key]===void 0){Assert$4(!options.strict||i$4+1===path.length,`Missing segment`,key,`in reach path `,chain),Assert$4(typeof ref==`object`||options.functions===!0||typeof ref!=`function`,`Invalid segment`,key,`in reach path `,chain),ref=options.default;break}ref=type?type===`set`?[...ref][key]:ref.get(key):ref[key]}return ref},internals$14.iterables=function(ref){if(ref instanceof Set)return`set`;if(ref instanceof Map)return`map`}}),require_types=__commonJSMin((exports,module)=>{init_dist$1();let internals$13={};exports=module.exports={array:Array.prototype,buffer:Buffer$1&&Buffer$1.prototype,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,url:URL.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},internals$13.typeMap=new Map([[`[object Error]`,exports.error],[`[object Map]`,exports.map],[`[object Promise]`,exports.promise],[`[object Set]`,exports.set],[`[object URL]`,exports.url],[`[object WeakMap]`,exports.weakMap],[`[object WeakSet]`,exports.weakSet]]),exports.getInternalProto=function(obj){if(Array.isArray(obj))return exports.array;if(Buffer$1&&obj instanceof Buffer$1)return exports.buffer;if(obj instanceof Date)return exports.date;if(obj instanceof RegExp)return exports.regex;if(obj instanceof Error)return exports.error;let objName=Object.prototype.toString.call(obj);return internals$13.typeMap.get(objName)||exports.generic}}),require_utils=__commonJSMin(exports=>{exports.keys=function(obj,options={}){return options.symbols===!1?Object.getOwnPropertyNames(obj):Reflect.ownKeys(obj)}}),require_clone=__commonJSMin((exports,module)=>{init_dist$1();let Reach$2=require_reach(),Types$1=require_types(),Utils$2=require_utils(),internals$12={needsProtoHack:new Set([Types$1.set,Types$1.map,Types$1.weakSet,Types$1.weakMap]),structuredCloneExists:typeof structuredClone==`function`};module.exports=internals$12.clone=function(obj,options={},_seen=null){if(typeof obj!=`object`||!obj)return obj;let clone$4=internals$12.clone,seen=_seen;if(options.shallow){if(options.shallow!==!0)return internals$12.cloneWithShallow(obj,options);clone$4=value=>value}else if(seen){let lookup$2=seen.get(obj);if(lookup$2)return lookup$2}else seen=new Map;let baseProto=Types$1.getInternalProto(obj);switch(baseProto){case Types$1.buffer:return Buffer$1?.from(obj);case Types$1.date:return new Date(obj.getTime());case Types$1.regex:case Types$1.url:return new baseProto.constructor(obj)}let newObj=internals$12.base(obj,baseProto,options);if(newObj===obj)return obj;if(seen&&seen.set(obj,newObj),baseProto===Types$1.set)for(let value of obj)newObj.add(clone$4(value,options,seen));else if(baseProto===Types$1.map)for(let[key,value]of obj)newObj.set(key,clone$4(value,options,seen));let keys=Utils$2.keys(obj,options);for(let key of keys){if(key===`__proto__`)continue;if(baseProto===Types$1.array&&key===`length`){newObj.length=obj.length;continue}if(internals$12.structuredCloneExists&&baseProto===Types$1.error&&key===`stack`)continue;let descriptor=Object.getOwnPropertyDescriptor(obj,key);descriptor?descriptor.get||descriptor.set?Object.defineProperty(newObj,key,descriptor):descriptor.enumerable?newObj[key]=clone$4(obj[key],options,seen):Object.defineProperty(newObj,key,{enumerable:!1,writable:!0,configurable:!0,value:clone$4(obj[key],options,seen)}):Object.defineProperty(newObj,key,{enumerable:!0,writable:!0,configurable:!0,value:clone$4(obj[key],options,seen)})}return newObj},internals$12.cloneWithShallow=function(source,options){let keys=options.shallow;options=Object.assign({},options),options.shallow=!1;let seen=new Map;for(let key of keys){let ref=Reach$2(source,key);(typeof ref==`object`||typeof ref==`function`)&&seen.set(ref,ref)}return internals$12.clone(source,options,seen)},internals$12.base=function(obj,baseProto,options){if(options.prototype===!1)return internals$12.needsProtoHack.has(baseProto)?new baseProto.constructor:baseProto===Types$1.array?[]:{};let proto=Object.getPrototypeOf(obj);if(proto&&proto.isImmutable)return obj;if(baseProto===Types$1.array){let newObj=[];return proto!==baseProto&&Object.setPrototypeOf(newObj,proto),newObj}else if(baseProto===Types$1.error&&internals$12.structuredCloneExists&&(proto===baseProto||Error.isPrototypeOf(proto.constructor))){let err$1=structuredClone(obj);return Object.getPrototypeOf(err$1)!==proto&&Object.setPrototypeOf(err$1,proto),err$1}if(internals$12.needsProtoHack.has(baseProto)){let newObj=new proto.constructor;return proto!==baseProto&&Object.setPrototypeOf(newObj,proto),newObj}return Object.create(proto)}}),require_merge=__commonJSMin((exports,module)=>{init_dist$1();let Assert$3=require_assert(),Clone$1=require_clone(),Utils$1=require_utils(),internals$11={};module.exports=internals$11.merge=function(target,source,options){if(Assert$3(target&&typeof target==`object`,`Invalid target value: must be an object`),Assert$3(source==null||typeof source==`object`,`Invalid source value: must be null, undefined, or an object`),!source)return target;if(options=Object.assign({nullOverride:!0,mergeArrays:!0},options),Array.isArray(source)){Assert$3(Array.isArray(target),`Cannot merge array onto an object`),options.mergeArrays||(target.length=0);for(let i$4=0;i$4<source.length;++i$4)target.push(Clone$1(source[i$4],{symbols:options.symbols}));return target}let keys=Utils$1.keys(source,options);for(let i$4=0;i$4<keys.length;++i$4){let key=keys[i$4];if(key===`__proto__`||!Object.prototype.propertyIsEnumerable.call(source,key))continue;let value=source[key];if(value&&typeof value==`object`){if(target[key]===value)continue;!target[key]||typeof target[key]!=`object`||Array.isArray(target[key])!==Array.isArray(value)||value instanceof Date||Buffer$1&&Buffer$1.isBuffer(value)||value instanceof RegExp?target[key]=Clone$1(value,{symbols:options.symbols}):internals$11.merge(target[key],value,options)}else value==null?options.nullOverride&&(target[key]=value):target[key]=value}return target}}),require_applyToDefaults=__commonJSMin((exports,module)=>{let Assert$2=require_assert(),Clone=require_clone(),Merge=require_merge(),Reach$1=require_reach(),internals$10={};module.exports=function(defaults,source,options={}){if(Assert$2(defaults&&typeof defaults==`object`,`Invalid defaults value: must be an object`),Assert$2(!source||source===!0||typeof source==`object`,`Invalid source value: must be true, falsy or an object`),Assert$2(typeof options==`object`,`Invalid options: must be an object`),!source)return null;if(options.shallow)return internals$10.applyToDefaultsWithShallow(defaults,source,options);let copy=Clone(defaults);if(source===!0)return copy;let nullOverride=options.nullOverride===void 0?!1:options.nullOverride;return Merge(copy,source,{nullOverride,mergeArrays:!1})},internals$10.applyToDefaultsWithShallow=function(defaults,source,options){let keys=options.shallow;Assert$2(Array.isArray(keys),`Invalid keys`);let seen=new Map,merge$1=source===!0?null:new Set;for(let key of keys){key=Array.isArray(key)?key:key.split(`.`);let ref=Reach$1(defaults,key);ref&&typeof ref==`object`?seen.set(ref,merge$1&&Reach$1(source,key)||ref):merge$1&&merge$1.add(key)}let copy=Clone(defaults,{},seen);if(!merge$1)return copy;for(let key of merge$1)internals$10.reachCopy(copy,source,key);let nullOverride=options.nullOverride===void 0?!1:options.nullOverride;return Merge(copy,source,{nullOverride,mergeArrays:!1})},internals$10.reachCopy=function(dst,src$1,path){for(let segment of path){if(!(segment in src$1))return;let val=src$1[segment];if(typeof val!=`object`||!val)return;src$1=val}let value=src$1,ref=dst;for(let i$4=0;i$4<path.length-1;++i$4){let segment=path[i$4];typeof ref[segment]!=`object`&&(ref[segment]={}),ref=ref[segment]}ref[path[path.length-1]]=value}}),require_bench=__commonJSMin((exports,module)=>{init_dist();let internals$9={};module.exports=internals$9.Bench=class{constructor(){this.ts=0,this.reset()}reset(){this.ts=internals$9.Bench.now()}elapsed(){return internals$9.Bench.now()-this.ts}static now(){let ts=process$1.hrtime();return ts[0]*1e3+ts[1]/1e6}}}),require_ignore=__commonJSMin((exports,module)=>{module.exports=function(){}}),require_block=__commonJSMin((exports,module)=>{let Ignore=require_ignore();module.exports=function(){return new Promise(Ignore)}}),require_deepEqual=__commonJSMin((exports,module)=>{init_dist$1();let Types=require_types(),internals$8={mismatched:null};module.exports=function(obj,ref,options){return options=Object.assign({prototype:!0},options),!!internals$8.isDeepEqual(obj,ref,options,[])},internals$8.isDeepEqual=function(obj,ref,options,seen){if(obj===ref)return obj!==0||1/obj==1/ref;let type=typeof obj;if(type!==typeof ref||obj===null||ref===null)return!1;if(type===`function`){if(!options.deepFunction||obj.toString()!==ref.toString())return!1}else if(type!==`object`)return obj!==obj&&ref!==ref;let instanceType=internals$8.getSharedType(obj,ref,!!options.prototype);switch(instanceType){case Types.buffer:return Buffer$1&&Buffer$1.prototype.equals.call(obj,ref);case Types.promise:return obj===ref;case Types.regex:case Types.url:return obj.toString()===ref.toString();case internals$8.mismatched:return!1}for(let i$4=seen.length-1;i$4>=0;--i$4)if(seen[i$4].isSame(obj,ref))return!0;seen.push(new internals$8.SeenEntry(obj,ref));try{return!!internals$8.isDeepEqualObj(instanceType,obj,ref,options,seen)}finally{seen.pop()}},internals$8.getSharedType=function(obj,ref,checkPrototype){if(checkPrototype)return Object.getPrototypeOf(obj)===Object.getPrototypeOf(ref)?Types.getInternalProto(obj):internals$8.mismatched;let type=Types.getInternalProto(obj);return type===Types.getInternalProto(ref)?type:internals$8.mismatched},internals$8.valueOf=function(obj){let objValueOf=obj.valueOf;if(objValueOf===void 0)return obj;try{return objValueOf.call(obj)}catch(err$1){return err$1}},internals$8.hasOwnEnumerableProperty=function(obj,key){return Object.prototype.propertyIsEnumerable.call(obj,key)},internals$8.isSetSimpleEqual=function(obj,ref){for(let entry of Set.prototype.values.call(obj))if(!Set.prototype.has.call(ref,entry))return!1;return!0},internals$8.isDeepEqualObj=function(instanceType,obj,ref,options,seen){let{isDeepEqual,valueOf,hasOwnEnumerableProperty}=internals$8,{keys,getOwnPropertySymbols}=Object;if(instanceType===Types.array)if(options.part){for(let objValue of obj)for(let refValue of ref)if(isDeepEqual(objValue,refValue,options,seen))return!0}else{if(obj.length!==ref.length)return!1;for(let i$4=0;i$4<obj.length;++i$4)if(!isDeepEqual(obj[i$4],ref[i$4],options,seen))return!1;return!0}else if(instanceType===Types.set){if(obj.size!==ref.size)return!1;if(!internals$8.isSetSimpleEqual(obj,ref)){let ref2=new Set(Set.prototype.values.call(ref));for(let objEntry of Set.prototype.values.call(obj)){if(ref2.delete(objEntry))continue;let found=!1;for(let refEntry of ref2)if(isDeepEqual(objEntry,refEntry,options,seen)){ref2.delete(refEntry),found=!0;break}if(!found)return!1}}}else if(instanceType===Types.map){if(obj.size!==ref.size)return!1;for(let[key,value]of Map.prototype.entries.call(obj))if(value===void 0&&!Map.prototype.has.call(ref,key)||!isDeepEqual(value,Map.prototype.get.call(ref,key),options,seen))return!1}else if(instanceType===Types.error&&(obj.name!==ref.name||obj.message!==ref.message))return!1;let valueOfObj=valueOf(obj),valueOfRef=valueOf(ref);if((obj!==valueOfObj||ref!==valueOfRef)&&!isDeepEqual(valueOfObj,valueOfRef,options,seen))return!1;let objKeys=keys(obj);if(!options.part&&objKeys.length!==keys(ref).length&&!options.skip)return!1;let skipped=0;for(let key of objKeys){if(options.skip&&options.skip.includes(key)){ref[key]===void 0&&++skipped;continue}if(!hasOwnEnumerableProperty(ref,key)||!isDeepEqual(obj[key],ref[key],options,seen))return!1}if(!options.part&&objKeys.length-skipped!==keys(ref).length)return!1;if(options.symbols!==!1){let objSymbols=getOwnPropertySymbols(obj),refSymbols=new Set(getOwnPropertySymbols(ref));for(let key of objSymbols){if(!options.skip?.includes(key)){if(hasOwnEnumerableProperty(obj,key)){if(!hasOwnEnumerableProperty(ref,key)||!isDeepEqual(obj[key],ref[key],options,seen))return!1}else if(hasOwnEnumerableProperty(ref,key))return!1}refSymbols.delete(key)}for(let key of refSymbols)if(hasOwnEnumerableProperty(ref,key))return!1}return!0},internals$8.SeenEntry=class{constructor(obj,ref){this.obj=obj,this.ref=ref}isSame(obj,ref){return this.obj===obj&&this.ref===ref}}}),require_escapeRegex=__commonJSMin((exports,module)=>{module.exports=function(string){return string.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,`\\$&`)}}),require_contain=__commonJSMin((exports,module)=>{let Assert$1=require_assert(),DeepEqual=require_deepEqual(),EscapeRegex=require_escapeRegex(),Utils=require_utils(),internals$7={};module.exports=function(ref,values,options={}){return typeof values!=`object`&&(values=[values]),Assert$1(!Array.isArray(values)||values.length,`Values array cannot be empty`),typeof ref==`string`?internals$7.string(ref,values,options):Array.isArray(ref)?internals$7.array(ref,values,options):(Assert$1(typeof ref==`object`,`Reference must be string or an object`),internals$7.object(ref,values,options))},internals$7.array=function(ref,values,options){if(Array.isArray(values)||(values=[values]),!ref.length||options.only&&options.once&&ref.length!==values.length)return!1;let compare$14,map=new Map;for(let value of values)if(!options.deep||!value||typeof value!=`object`){let existing=map.get(value);existing?++existing.allowed:map.set(value,{allowed:1,hits:0})}else{compare$14??=internals$7.compare(options);let found=!1;for(let[key,existing]of map.entries())if(compare$14(key,value)){++existing.allowed,found=!0;break}found||map.set(value,{allowed:1,hits:0})}let hits=0;for(let item of ref){let match$2;if(!options.deep||!item||typeof item!=`object`)match$2=map.get(item);else{compare$14??=internals$7.compare(options);for(let[key,existing]of map.entries())if(compare$14(key,item)){match$2=existing;break}}if(match$2&&(++match$2.hits,++hits,options.once&&match$2.hits>match$2.allowed))return!1}if(options.only&&hits!==ref.length)return!1;for(let match$2 of map.values()){if(match$2.hits===match$2.allowed)continue;if(match$2.hits<match$2.allowed&&!options.part)return!1}return!!hits},internals$7.object=function(ref,values,options){Assert$1(options.once===void 0,`Cannot use option once with object`);let keys=Utils.keys(ref,options);if(!keys.length)return!1;if(Array.isArray(values))return internals$7.array(keys,values,options);let symbols=Object.getOwnPropertySymbols(values).filter(sym=>values.propertyIsEnumerable(sym)),targets=[...Object.keys(values),...symbols],compare$14=internals$7.compare(options),set=new Set(targets);for(let key of keys){if(!set.has(key)){if(options.only)return!1;continue}if(!compare$14(values[key],ref[key]))return!1;set.delete(key)}return set.size?options.part?set.size<targets.length:!1:!0},internals$7.string=function(ref,values,options){if(ref===``)return values.length===1&&values[0]===``||!options.once&&!values.some(v=>v!==``);let map=new Map,patterns=[];for(let value of values)if(Assert$1(typeof value==`string`,`Cannot compare string reference to non-string value`),value){let existing=map.get(value);existing?++existing.allowed:(map.set(value,{allowed:1,hits:0}),patterns.push(EscapeRegex(value)))}else if(options.once||options.only)return!1;if(!patterns.length)return!0;let regex=RegExp(`(${patterns.join(`|`)})`,`g`),leftovers=ref.replace(regex,($0,$1)=>(++map.get($1).hits,``));if(options.only&&leftovers)return!1;let any=!1;for(let match$2 of map.values()){if(match$2.hits&&(any=!0),match$2.hits===match$2.allowed)continue;if(match$2.hits<match$2.allowed&&!options.part||options.once)return!1}return!!any},internals$7.compare=function(options){if(!options.deep)return internals$7.shallow;let hasOnly=options.only!==void 0,hasPart=options.part!==void 0,flags={prototype:hasOnly?options.only:hasPart?!options.part:!1,part:hasOnly?!options.only:hasPart?options.part:!1};return(a,b)=>DeepEqual(a,b,flags)},internals$7.shallow=function(a,b){return a===b}}),require_escapeHeaderAttribute=__commonJSMin((exports,module)=>{let Assert=require_assert();module.exports=function(attribute){return Assert(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(attribute),`Bad attribute value (`+attribute+`)`),attribute.replace(/\\/g,`\\\\`).replace(/\"/g,`\\"`)}}),require_escapeHtml=__commonJSMin((exports,module)=>{let internals$6={};module.exports=function(input){if(!input)return``;let escaped=``;for(let i$4=0;i$4<input.length;++i$4){let charCode=input.charCodeAt(i$4);internals$6.isSafe(charCode)?escaped+=input[i$4]:escaped+=internals$6.escapeHtmlChar(charCode)}return escaped},internals$6.escapeHtmlChar=function(charCode){let namedEscape=internals$6.namedHtml.get(charCode);if(namedEscape)return namedEscape;if(charCode>=256)return`&#`+charCode+`;`;let hexValue=charCode.toString(16).padStart(2,`0`);return`&#x${hexValue};`},internals$6.isSafe=function(charCode){return internals$6.safeCharCodes.has(charCode)},internals$6.namedHtml=new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[34,`&quot;`],[160,`&nbsp;`],[162,`&cent;`],[163,`&pound;`],[164,`&curren;`],[169,`&copy;`],[174,`&reg;`]]),internals$6.safeCharCodes=function(){let safe=new Set;for(let i$4=32;i$4<123;++i$4)(i$4>=97||i$4>=65&&i$4<=90||i$4>=48&&i$4<=57||i$4===32||i$4===46||i$4===44||i$4===45||i$4===58||i$4===95)&&safe.add(i$4);return safe}()}),require_escapeJson=__commonJSMin((exports,module)=>{let internals$5={};module.exports=function(input){return input?input.replace(/[<>&\u2028\u2029]/g,internals$5.escape):``},internals$5.escape=function(char){return internals$5.replacements.get(char)},internals$5.replacements=new Map([[`<`,`\\u003c`],[`>`,`\\u003e`],[`&`,`\\u0026`],[`\u2028`,`\\u2028`],[`\u2029`,`\\u2029`]])}),require_flatten=__commonJSMin((exports,module)=>{let internals$4={};module.exports=internals$4.flatten=function(array,target){let result=target||[];for(let entry of array)Array.isArray(entry)?internals$4.flatten(entry,result):result.push(entry);return result}}),require_intersect=__commonJSMin((exports,module)=>{let internals$3={};module.exports=function(array1,array2,options={}){if(!array1||!array2)return options.first?null:[];let common=[],hash=Array.isArray(array1)?new Set(array1):array1,found=new Set;for(let value of array2)if(internals$3.has(hash,value)&&!found.has(value)){if(options.first)return value;common.push(value),found.add(value)}return options.first?null:common},internals$3.has=function(ref,key){return typeof ref.has==`function`?ref.has(key):ref[key]!==void 0}}),require_isPromise=__commonJSMin((exports,module)=>{module.exports=function(promise){return typeof promise?.then==`function`}}),require_once=__commonJSMin((exports,module)=>{let internals$2={wrapped:Symbol(`wrapped`)};module.exports=function(method){if(method[internals$2.wrapped])return method;let once$1=!1,wrappedFn=function(...args$1){once$1||(once$1=!0,method(...args$1))};return wrappedFn[internals$2.wrapped]=!0,wrappedFn}}),require_reachTemplate=__commonJSMin((exports,module)=>{let Reach=require_reach();module.exports=function(obj,template,options){return template.replace(/{([^{}]+)}/g,($0,chain)=>{let value=Reach(obj,chain,options);return value??``})}}),require_wait=__commonJSMin((exports,module)=>{let internals$1={maxTimer:2**31-1};module.exports=function(timeout,returnValue,options){if(typeof timeout==`bigint`&&(timeout=Number(timeout)),timeout>=2**53-1&&(timeout=1/0),typeof timeout!=`number`&&timeout!==void 0)throw TypeError(`Timeout must be a number or bigint`);return new Promise(resolve=>{let _setTimeout=options?options.setTimeout:setTimeout,activate=()=>{let time=Math.min(timeout,internals$1.maxTimer);timeout-=time,_setTimeout(()=>timeout>0?activate():resolve(returnValue),time)};timeout!==1/0&&activate()})}}),import_applyToDefaults=__toESM(require_applyToDefaults(),1),import_assert=__toESM(require_assert(),1),import_bench=__toESM(require_bench(),1),import_block=__toESM(require_block(),1),import_clone=__toESM(require_clone(),1),import_contain=__toESM(require_contain(),1),import_deepEqual=__toESM(require_deepEqual(),1),import_assertError=__toESM(require_assertError(),1),import_escapeHeaderAttribute=__toESM(require_escapeHeaderAttribute(),1),import_escapeHtml=__toESM(require_escapeHtml(),1),import_escapeJson=__toESM(require_escapeJson(),1),import_escapeRegex=__toESM(require_escapeRegex(),1),import_flatten=__toESM(require_flatten(),1),import_ignore=__toESM(require_ignore(),1),import_intersect=__toESM(require_intersect(),1),import_isPromise=__toESM(require_isPromise(),1),import_merge=__toESM(require_merge(),1),import_once=__toESM(require_once(),1),import_reach=__toESM(require_reach(),1),import_reachTemplate=__toESM(require_reachTemplate(),1),import_stringify=__toESM(require_stringify(),1),import_wait=__toESM(require_wait(),1);function generate(){let rfc3986$1={},hexDigit=`\\dA-Fa-f`,hexDigitOnly=`[`+hexDigit+`]`,unreserved=`\\w-\\.~`,subDelims=`!\\$&'\\(\\)\\*\\+,;=`,pctEncoded=`%`+hexDigit,pchar=unreserved+pctEncoded+subDelims+`:@`,pcharOnly=`[`+pchar+`]`,decOctect=`(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;rfc3986$1.ipv4address=`(?:`+decOctect+`\\.){3}(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])`;let h16=hexDigitOnly+`{1,4}`,ls32=`(?:`+h16+`:[\\dA-Fa-f]{1,4}|`+rfc3986$1.ipv4address+`)`,IPv6SixHex=`(?:`+h16+`:){6}`+ls32,IPv6FiveHex=`::(?:`+h16+`:){5}`+ls32,IPv6FourHex=`(?:`+h16+`)?::(?:[\\dA-Fa-f]{1,4}:){4}`+ls32,IPv6ThreeHex=`(?:(?:`+h16+`:){0,1}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){3}`+ls32,IPv6TwoHex=`(?:(?:`+h16+`:){0,2}[\\dA-Fa-f]{1,4})?::(?:[\\dA-Fa-f]{1,4}:){2}`+ls32,IPv6OneHex=`(?:(?:`+h16+`:){0,3}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}:`+ls32,IPv6NoneHex=`(?:(?:`+h16+`:){0,4}[\\dA-Fa-f]{1,4})?::`+ls32,IPv6NoneHex2=`(?:(?:`+h16+`:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}`,IPv6NoneHex3=`(?:(?:`+h16+`:){0,6}[\\dA-Fa-f]{1,4})?::`;rfc3986$1.ipv4Cidr=`(?:\\d|[1-2]\\d|3[0-2])`,rfc3986$1.ipv6Cidr=`(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])`,rfc3986$1.ipv6address=`(?:`+IPv6SixHex+`|`+IPv6FiveHex+`|`+IPv6FourHex+`|`+IPv6ThreeHex+`|`+IPv6TwoHex+`|`+IPv6OneHex+`|`+IPv6NoneHex+`|(?:(?:[\\dA-Fa-f]{1,4}:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}|(?:(?:[\\dA-Fa-f]{1,4}:){0,6}[\\dA-Fa-f]{1,4})?::)`,rfc3986$1.ipvFuture=`v`+hexDigitOnly+`+\\.[\\w-\\.~!\\$&'\\(\\)\\*\\+,;=:]+`,rfc3986$1.scheme=`[a-zA-Z][a-zA-Z\\d+-\\.]*`,rfc3986$1.schemeRegex=new RegExp(rfc3986$1.scheme);let userinfo=`[`+unreserved+pctEncoded+subDelims+`:]*`,IPLiteral=`\\[(?:`+rfc3986$1.ipv6address+`|`+rfc3986$1.ipvFuture+`)\\]`,regName=`[`+unreserved+pctEncoded+subDelims+`]{1,255}`,host=`(?:`+IPLiteral+`|`+rfc3986$1.ipv4address+`|[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=]{1,255})`,port=`\\d*`,authority=`(?:`+userinfo+`@)?`+host+`(?::\\d*)?`,authorityCapture=`(?:`+userinfo+`@)?(`+host+`)(?::\\d*)?`,segment=pcharOnly+`*`,segmentNz=pcharOnly+`+`,segmentNzNc=`[`+unreserved+pctEncoded+subDelims+`@]+`,pathEmpty=``,pathAbEmpty=`(?:\\/`+segment+`)*`,pathAbsolute=`\\/(?:`+segmentNz+pathAbEmpty+`)?`,pathRootless=segmentNz+pathAbEmpty,pathNoScheme=segmentNzNc+pathAbEmpty,pathAbNoAuthority=`(?:\\/\\/\\/`+segment+pathAbEmpty+`)`;return rfc3986$1.hierPart=`(?:(?:\\/\\/`+authority+pathAbEmpty+`)|`+pathAbsolute+`|`+pathRootless+`|`+pathAbNoAuthority+`)`,rfc3986$1.hierPartCapture=`(?:(?:\\/\\/`+authorityCapture+pathAbEmpty+`)|`+pathAbsolute+`|`+pathRootless+`)`,rfc3986$1.relativeRef=`(?:(?:\\/\\/`+authority+pathAbEmpty+`)|`+pathAbsolute+`|`+pathNoScheme+`|)`,rfc3986$1.relativeRefCapture=`(?:(?:\\/\\/`+authorityCapture+pathAbEmpty+`)|`+pathAbsolute+`|`+pathNoScheme+`|)`,rfc3986$1.query=`[`+pchar+`\\/\\?]*(?=#|$)`,rfc3986$1.queryWithSquareBrackets=`[`+pchar+`\\[\\]\\/\\?]*(?=#|$)`,rfc3986$1.fragment=`[`+pchar+`\\/\\?]*`,rfc3986$1}const rfc3986=generate(),ipVersions={v4Cidr:rfc3986.ipv4Cidr,v6Cidr:rfc3986.ipv6Cidr,ipv4:rfc3986.ipv4address,ipv6:rfc3986.ipv6address,ipvfuture:rfc3986.ipvFuture};function createRegex(options){let rfc=rfc3986,query=options.allowQuerySquareBrackets?rfc.queryWithSquareBrackets:rfc.query,suffix=`(?:\\?`+query+`)?(?:#`+rfc.fragment+`)?`,relative=options.domain?rfc.relativeRefCapture:rfc.relativeRef;if(options.relativeOnly)return wrap(relative+suffix);let customScheme=``;if(options.scheme){(0,import_assert.default)(options.scheme instanceof RegExp||typeof options.scheme==`string`||Array.isArray(options.scheme),`scheme must be a RegExp, String, or Array`);let schemes=[].concat(options.scheme);(0,import_assert.default)(schemes.length>=1,`scheme must have at least 1 scheme specified`);let selections=[];for(let i$4=0;i$4<schemes.length;++i$4){let scheme$1=schemes[i$4];(0,import_assert.default)(scheme$1 instanceof RegExp||typeof scheme$1==`string`,`scheme at position `+i$4+` must be a RegExp or String`),scheme$1 instanceof RegExp?selections.push(scheme$1.source.toString()):((0,import_assert.default)(rfc.schemeRegex.test(scheme$1),`scheme at position `+i$4+` must be a valid scheme`),selections.push((0,import_escapeRegex.default)(scheme$1)))}customScheme=selections.join(`|`)}let scheme=customScheme?`(?:`+customScheme+`)`:rfc.scheme,absolute=`(?:`+scheme+`:`+(options.domain?rfc.hierPartCapture:rfc.hierPart)+`)`,prefix=options.allowRelative?`(?:`+absolute+`|`+relative+`)`:absolute;return wrap(prefix+suffix,customScheme)}function wrap(raw,scheme=null){return raw=`(?=.)(?!https?\:/(?:$|[^/]))(?!https?\:///)(?!https?\:[^/])${raw}`,{raw,regex:RegExp(`^${raw}$`),scheme}}const genericUriRegex=createRegex({});function uriRegex(options={}){return options.scheme||options.allowRelative||options.relativeOnly||options.allowQuerySquareBrackets||options.domain?createRegex(options):genericUriRegex}function ipRegex(options={}){let cidr=options.cidr||`optional`;(0,import_assert.default)([`required`,`optional`,`forbidden`].includes(cidr),`options.cidr must be one of required, optional, forbidden`),(0,import_assert.default)(options.version===void 0||typeof options.version==`string`||Array.isArray(options.version),`options.version must be a string or an array of string`);let versions=options.version||[`ipv4`,`ipv6`,`ipvfuture`];Array.isArray(versions)||(versions=[versions]),(0,import_assert.default)(versions.length>=1,`options.version must have at least 1 version specified`);for(let version$3 of versions)(0,import_assert.default)(typeof version$3==`string`&&version$3===version$3.toLowerCase(),`Invalid options.version value`),(0,import_assert.default)([`ipv4`,`ipv6`,`ipvfuture`].includes(version$3),`options.version contains unknown version `+version$3+` - must be one of ipv4, ipv6, ipvfuture`);versions=Array.from(new Set(versions));let parts=versions.map(version$3=>{if(cidr===`forbidden`)return ipVersions[version$3];let cidrpart=`\\/${version$3===`ipv4`?ipVersions.v4Cidr:ipVersions.v6Cidr}`;return cidr===`required`?`${ipVersions[version$3]}${cidrpart}`:`${ipVersions[version$3]}(?:${cidrpart})?`}),raw=`(?:${parts.join(`|`)})`,regex=RegExp(`^${raw}$`);return{cidr,versions,regex,raw}}const HEX={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15},UTF8={accept:12,reject:0,data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7]};function uriDecode(string){let percentPos=string.indexOf(`%`);if(percentPos===-1)return string;let decoded=``,last=0,codepoint=0,startOfOctets=percentPos,state=UTF8.accept;for(;percentPos>-1&&percentPos<string.length;){let high=resolveHex(string[percentPos+1],4),low=resolveHex(string[percentPos+2],0),byte=high|low,type=UTF8.data[byte];if(state=UTF8.data[256+state+type],codepoint=codepoint<<6|byte&UTF8.data[364+type],state===UTF8.accept){decoded+=string.slice(last,startOfOctets),decoded+=codepoint<=65535?String.fromCharCode(codepoint):String.fromCharCode(55232+(codepoint>>10),56320+(codepoint&1023)),codepoint=0,last=percentPos+3,percentPos=string.indexOf(`%`,last),startOfOctets=percentPos;continue}if(state===UTF8.reject||(percentPos+=3,percentPos>=string.length||string[percentPos]!==`%`))return null}return decoded+string.slice(last)}function resolveHex(char,shift){let i$4=HEX[char];return i$4===void 0?255:i$4<<shift}var esm_exports={};__export(esm_exports,{analyzeDomain:()=>analyzeDomain,analyzeEmail:()=>analyzeEmail,errorCodes:()=>errorCodes,ipRegex:()=>ipRegex,isDomainValid:()=>isDomainValid,isEmailValid:()=>isEmailValid,uriDecode:()=>uriDecode,uriRegex:()=>uriRegex,validateDomainOptions:()=>validateDomainOptions});var require_lib$1=__commonJSMin(exports=>{let internals={operators:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`<=`,`>`,`>=`,`==`,`!=`,`&&`,`||`,`??`],operatorCharacters:[`!`,`^`,`*`,`/`,`%`,`+`,`-`,`<`,`=`,`>`,`&`,`|`,`?`],operatorsOrder:[[`^`],[`*`,`/`,`%`],[`+`,`-`],[`<`,`<=`,`>`,`>=`],[`==`,`!=`],[`&&`],[`||`,`??`]],operatorsPrefix:[`!`,`n`],literals:{'"':`"`,"`":"`","'":`'`,"[":`]`},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol(`formula`),settings:Symbol(`settings`)};exports.Parser=class{constructor(string,options={}){if(!options[internals.settings]&&options.constants)for(let constant in options.constants){let value=options.constants[constant];if(value!==null&&![`boolean`,`number`,`string`].includes(typeof value))throw Error(`Formula constant ${constant} contains invalid ${typeof value} value type`)}this.settings=options[internals.settings]?options:Object.assign({[internals.settings]:!0,constants:{},functions:{}},options),this.single=null,this._parts=null,this._parse(string)}_parse(string){let parts=[],current=``,parenthesis=0,literal=!1,flush=inner=>{if(parenthesis)throw Error(`Formula missing closing parenthesis`);let last=parts.length?parts[parts.length-1]:null;if(!(!literal&&!current&&!inner)){if(last&&last.type===`reference`&&inner===`)`){last.type=`function`,last.value=this._subFormula(current,last.value),current=``;return}if(inner===`)`){let sub=new exports.Parser(current,this.settings);parts.push({type:`segment`,value:sub})}else if(literal){if(literal===`]`){parts.push({type:`reference`,value:current}),current=``;return}parts.push({type:`literal`,value:current})}else if(internals.operatorCharacters.includes(current))last&&last.type===`operator`&&internals.operators.includes(last.value+current)?last.value+=current:parts.push({type:`operator`,value:current});else if(current.match(internals.numberRx))parts.push({type:`constant`,value:parseFloat(current)});else if(this.settings.constants[current]!==void 0)parts.push({type:`constant`,value:this.settings.constants[current]});else{if(!current.match(internals.tokenRx))throw Error(`Formula contains invalid token: ${current}`);parts.push({type:`reference`,value:current})}current=``}};for(let c$1 of string)literal?c$1===literal?(flush(),literal=!1):current+=c$1:parenthesis?c$1===`(`?(current+=c$1,++parenthesis):c$1===`)`?(--parenthesis,parenthesis?current+=c$1:flush(c$1)):current+=c$1:c$1 in internals.literals?literal=internals.literals[c$1]:c$1===`(`?(flush(),++parenthesis):internals.operatorCharacters.includes(c$1)?(flush(),current=c$1,flush()):c$1===` `?flush():current+=c$1;flush(),parts=parts.map((part,i$4)=>part.type!==`operator`||part.value!==`-`||i$4&&parts[i$4-1].type!==`operator`?part:{type:`operator`,value:`n`});let operator=!1;for(let part of parts){if(part.type===`operator`){if(internals.operatorsPrefix.includes(part.value))continue;if(!operator)throw Error(`Formula contains an operator in invalid position`);if(!internals.operators.includes(part.value))throw Error(`Formula contains an unknown operator ${part.value}`)}else if(operator)throw Error(`Formula missing expected operator`);operator=!operator}if(!operator)throw Error(`Formula contains invalid trailing operator`);parts.length===1&&[`reference`,`literal`,`constant`].includes(parts[0].type)&&(this.single={type:parts[0].type===`reference`?`reference`:`value`,value:parts[0].value}),this._parts=parts.map(part=>{if(part.type===`operator`)return internals.operatorsPrefix.includes(part.value)?part:part.value;if(part.type!==`reference`)return part.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(part.value))throw Error(`Formula contains invalid reference ${part.value}`);return this.settings.reference?this.settings.reference(part.value):internals.reference(part.value)})}_subFormula(string,name$1){let method=this.settings.functions[name$1];if(typeof method!=`function`)throw Error(`Formula contains unknown function ${name$1}`);let args$1=[];if(string){let current=``,parenthesis=0,literal=!1,flush=()=>{if(!current)throw Error(`Formula contains function ${name$1} with invalid arguments ${string}`);args$1.push(current),current=``};for(let i$4=0;i$4<string.length;++i$4){let c$1=string[i$4];literal?(current+=c$1,c$1===literal&&(literal=!1)):c$1 in internals.literals&&!parenthesis?(current+=c$1,literal=internals.literals[c$1]):c$1===`,`&&!parenthesis?flush():(current+=c$1,c$1===`(`?++parenthesis:c$1===`)`&&--parenthesis)}flush()}return args$1=args$1.map(arg=>new exports.Parser(arg,this.settings)),function(context){let innerValues=[];for(let arg of args$1)innerValues.push(arg.evaluate(context));return method.call(context,...innerValues)}}evaluate(context){let parts=this._parts.slice();for(let i$4=parts.length-2;i$4>=0;--i$4){let part=parts[i$4];if(part&&part.type===`operator`){let current=parts[i$4+1];parts.splice(i$4+1,1);let value=internals.evaluate(current,context);parts[i$4]=internals.single(part.value,value)}}return internals.operatorsOrder.forEach(set=>{for(let i$4=1;i$4<parts.length-1;)if(set.includes(parts[i$4])){let operator=parts[i$4],left=internals.evaluate(parts[i$4-1],context),right=internals.evaluate(parts[i$4+1],context);parts.splice(i$4,2);let result=internals.calculate(operator,left,right);parts[i$4-1]=result===0?0:result}else i$4+=2}),internals.evaluate(parts[0],context)}},exports.Parser.prototype[internals.symbol]=!0,internals.reference=function(name$1){return function(context){return context&&context[name$1]!==void 0?context[name$1]:null}},internals.evaluate=function(part,context){return part===null?null:typeof part==`function`?part(context):part[internals.symbol]?part.evaluate(context):part},internals.single=function(operator,value){if(operator===`!`)return!value;let negative=-value;return negative===0?0:negative},internals.calculate=function(operator,left,right){if(operator===`??`)return internals.exists(left)?left:right;if(typeof left==`string`||typeof right==`string`){if(operator===`+`)return left=internals.exists(left)?left:``,right=internals.exists(right)?right:``,left+right}else switch(operator){case`^`:return left**+right;case`*`:return left*right;case`/`:return left/right;case`%`:return left%right;case`+`:return left+right;case`-`:return left-right}switch(operator){case`<`:return left<right;case`<=`:return left<=right;case`>`:return left>right;case`>=`:return left>=right;case`==`:return left===right;case`!=`:return left!==right;case`&&`:return left&&right;case`||`:return left||right}return null},internals.exists=function(value){return value!=null}}),require_lib=__commonJSMin(exports=>{exports.location=function(depth=0){let orig=Error.prepareStackTrace;Error.prepareStackTrace=(ignore$1,stack)=>stack;let capture={};Error.captureStackTrace(capture,this);let line=capture.stack[depth+1];return Error.prepareStackTrace=orig,{filename:line.getFileName(),line:line.getLineNumber()}}});const TLDS=`AAA.AARP.ABB.ABBOTT.ABBVIE.ABC.ABLE.ABOGADO.ABUDHABI.AC.ACADEMY.ACCENTURE.ACCOUNTANT.ACCOUNTANTS.ACO.ACTOR.AD.ADS.ADULT.AE.AEG.AERO.AETNA.AF.AFL.AFRICA.AG.AGAKHAN.AGENCY.AI.AIG.AIRBUS.AIRFORCE.AIRTEL.AKDN.AL.ALIBABA.ALIPAY.ALLFINANZ.ALLSTATE.ALLY.ALSACE.ALSTOM.AM.AMAZON.AMERICANEXPRESS.AMERICANFAMILY.AMEX.AMFAM.AMICA.AMSTERDAM.ANALYTICS.ANDROID.ANQUAN.ANZ.AO.AOL.APARTMENTS.APP.APPLE.AQ.AQUARELLE.AR.ARAB.ARAMCO.ARCHI.ARMY.ARPA.ART.ARTE.AS.ASDA.ASIA.ASSOCIATES.AT.ATHLETA.ATTORNEY.AU.AUCTION.AUDI.AUDIBLE.AUDIO.AUSPOST.AUTHOR.AUTO.AUTOS.AW.AWS.AX.AXA.AZ.AZURE.BA.BABY.BAIDU.BANAMEX.BAND.BANK.BAR.BARCELONA.BARCLAYCARD.BARCLAYS.BAREFOOT.BARGAINS.BASEBALL.BASKETBALL.BAUHAUS.BAYERN.BB.BBC.BBT.BBVA.BCG.BCN.BD.BE.BEATS.BEAUTY.BEER.BERLIN.BEST.BESTBUY.BET.BF.BG.BH.BHARTI.BI.BIBLE.BID.BIKE.BING.BINGO.BIO.BIZ.BJ.BLACK.BLACKFRIDAY.BLOCKBUSTER.BLOG.BLOOMBERG.BLUE.BM.BMS.BMW.BN.BNPPARIBAS.BO.BOATS.BOEHRINGER.BOFA.BOM.BOND.BOO.BOOK.BOOKING.BOSCH.BOSTIK.BOSTON.BOT.BOUTIQUE.BOX.BR.BRADESCO.BRIDGESTONE.BROADWAY.BROKER.BROTHER.BRUSSELS.BS.BT.BUILD.BUILDERS.BUSINESS.BUY.BUZZ.BV.BW.BY.BZ.BZH.CA.CAB.CAFE.CAL.CALL.CALVINKLEIN.CAM.CAMERA.CAMP.CANON.CAPETOWN.CAPITAL.CAPITALONE.CAR.CARAVAN.CARDS.CARE.CAREER.CAREERS.CARS.CASA.CASE.CASH.CASINO.CAT.CATERING.CATHOLIC.CBA.CBN.CBRE.CC.CD.CENTER.CEO.CERN.CF.CFA.CFD.CG.CH.CHANEL.CHANNEL.CHARITY.CHASE.CHAT.CHEAP.CHINTAI.CHRISTMAS.CHROME.CHURCH.CI.CIPRIANI.CIRCLE.CISCO.CITADEL.CITI.CITIC.CITY.CK.CL.CLAIMS.CLEANING.CLICK.CLINIC.CLINIQUE.CLOTHING.CLOUD.CLUB.CLUBMED.CM.CN.CO.COACH.CODES.COFFEE.COLLEGE.COLOGNE.COM.COMMBANK.COMMUNITY.COMPANY.COMPARE.COMPUTER.COMSEC.CONDOS.CONSTRUCTION.CONSULTING.CONTACT.CONTRACTORS.COOKING.COOL.COOP.CORSICA.COUNTRY.COUPON.COUPONS.COURSES.CPA.CR.CREDIT.CREDITCARD.CREDITUNION.CRICKET.CROWN.CRS.CRUISE.CRUISES.CU.CUISINELLA.CV.CW.CX.CY.CYMRU.CYOU.CZ.DAD.DANCE.DATA.DATE.DATING.DATSUN.DAY.DCLK.DDS.DE.DEAL.DEALER.DEALS.DEGREE.DELIVERY.DELL.DELOITTE.DELTA.DEMOCRAT.DENTAL.DENTIST.DESI.DESIGN.DEV.DHL.DIAMONDS.DIET.DIGITAL.DIRECT.DIRECTORY.DISCOUNT.DISCOVER.DISH.DIY.DJ.DK.DM.DNP.DO.DOCS.DOCTOR.DOG.DOMAINS.DOT.DOWNLOAD.DRIVE.DTV.DUBAI.DUNLOP.DUPONT.DURBAN.DVAG.DVR.DZ.EARTH.EAT.EC.ECO.EDEKA.EDU.EDUCATION.EE.EG.EMAIL.EMERCK.ENERGY.ENGINEER.ENGINEERING.ENTERPRISES.EPSON.EQUIPMENT.ER.ERICSSON.ERNI.ES.ESQ.ESTATE.ET.EU.EUROVISION.EUS.EVENTS.EXCHANGE.EXPERT.EXPOSED.EXPRESS.EXTRASPACE.FAGE.FAIL.FAIRWINDS.FAITH.FAMILY.FAN.FANS.FARM.FARMERS.FASHION.FAST.FEDEX.FEEDBACK.FERRARI.FERRERO.FI.FIDELITY.FIDO.FILM.FINAL.FINANCE.FINANCIAL.FIRE.FIRESTONE.FIRMDALE.FISH.FISHING.FIT.FITNESS.FJ.FK.FLICKR.FLIGHTS.FLIR.FLORIST.FLOWERS.FLY.FM.FO.FOO.FOOD.FOOTBALL.FORD.FOREX.FORSALE.FORUM.FOUNDATION.FOX.FR.FREE.FRESENIUS.FRL.FROGANS.FRONTIER.FTR.FUJITSU.FUN.FUND.FURNITURE.FUTBOL.FYI.GA.GAL.GALLERY.GALLO.GALLUP.GAME.GAMES.GAP.GARDEN.GAY.GB.GBIZ.GD.GDN.GE.GEA.GENT.GENTING.GEORGE.GF.GG.GGEE.GH.GI.GIFT.GIFTS.GIVES.GIVING.GL.GLASS.GLE.GLOBAL.GLOBO.GM.GMAIL.GMBH.GMO.GMX.GN.GODADDY.GOLD.GOLDPOINT.GOLF.GOO.GOODYEAR.GOOG.GOOGLE.GOP.GOT.GOV.GP.GQ.GR.GRAINGER.GRAPHICS.GRATIS.GREEN.GRIPE.GROCERY.GROUP.GS.GT.GU.GUCCI.GUGE.GUIDE.GUITARS.GURU.GW.GY.HAIR.HAMBURG.HANGOUT.HAUS.HBO.HDFC.HDFCBANK.HEALTH.HEALTHCARE.HELP.HELSINKI.HERE.HERMES.HIPHOP.HISAMITSU.HITACHI.HIV.HK.HKT.HM.HN.HOCKEY.HOLDINGS.HOLIDAY.HOMEDEPOT.HOMEGOODS.HOMES.HOMESENSE.HONDA.HORSE.HOSPITAL.HOST.HOSTING.HOT.HOTELS.HOTMAIL.HOUSE.HOW.HR.HSBC.HT.HU.HUGHES.HYATT.HYUNDAI.IBM.ICBC.ICE.ICU.ID.IE.IEEE.IFM.IKANO.IL.IM.IMAMAT.IMDB.IMMO.IMMOBILIEN.IN.INC.INDUSTRIES.INFINITI.INFO.ING.INK.INSTITUTE.INSURANCE.INSURE.INT.INTERNATIONAL.INTUIT.INVESTMENTS.IO.IPIRANGA.IQ.IR.IRISH.IS.ISMAILI.IST.ISTANBUL.IT.ITAU.ITV.JAGUAR.JAVA.JCB.JE.JEEP.JETZT.JEWELRY.JIO.JLL.JM.JMP.JNJ.JO.JOBS.JOBURG.JOT.JOY.JP.JPMORGAN.JPRS.JUEGOS.JUNIPER.KAUFEN.KDDI.KE.KERRYHOTELS.KERRYPROPERTIES.KFH.KG.KH.KI.KIA.KIDS.KIM.KINDLE.KITCHEN.KIWI.KM.KN.KOELN.KOMATSU.KOSHER.KP.KPMG.KPN.KR.KRD.KRED.KUOKGROUP.KW.KY.KYOTO.KZ.LA.LACAIXA.LAMBORGHINI.LAMER.LAND.LANDROVER.LANXESS.LASALLE.LAT.LATINO.LATROBE.LAW.LAWYER.LB.LC.LDS.LEASE.LECLERC.LEFRAK.LEGAL.LEGO.LEXUS.LGBT.LI.LIDL.LIFE.LIFEINSURANCE.LIFESTYLE.LIGHTING.LIKE.LILLY.LIMITED.LIMO.LINCOLN.LINK.LIVE.LIVING.LK.LLC.LLP.LOAN.LOANS.LOCKER.LOCUS.LOL.LONDON.LOTTE.LOTTO.LOVE.LPL.LPLFINANCIAL.LR.LS.LT.LTD.LTDA.LU.LUNDBECK.LUXE.LUXURY.LV.LY.MA.MADRID.MAIF.MAISON.MAKEUP.MAN.MANAGEMENT.MANGO.MAP.MARKET.MARKETING.MARKETS.MARRIOTT.MARSHALLS.MATTEL.MBA.MC.MCKINSEY.MD.ME.MED.MEDIA.MEET.MELBOURNE.MEME.MEMORIAL.MEN.MENU.MERCKMSD.MG.MH.MIAMI.MICROSOFT.MIL.MINI.MINT.MIT.MITSUBISHI.MK.ML.MLB.MLS.MM.MMA.MN.MO.MOBI.MOBILE.MODA.MOE.MOI.MOM.MONASH.MONEY.MONSTER.MORMON.MORTGAGE.MOSCOW.MOTO.MOTORCYCLES.MOV.MOVIE.MP.MQ.MR.MS.MSD.MT.MTN.MTR.MU.MUSEUM.MUSIC.MV.MW.MX.MY.MZ.NA.NAB.NAGOYA.NAME.NAVY.NBA.NC.NE.NEC.NET.NETBANK.NETFLIX.NETWORK.NEUSTAR.NEW.NEWS.NEXT.NEXTDIRECT.NEXUS.NF.NFL.NG.NGO.NHK.NI.NICO.NIKE.NIKON.NINJA.NISSAN.NISSAY.NL.NO.NOKIA.NORTON.NOW.NOWRUZ.NOWTV.NP.NR.NRA.NRW.NTT.NU.NYC.NZ.OBI.OBSERVER.OFFICE.OKINAWA.OLAYAN.OLAYANGROUP.OLLO.OM.OMEGA.ONE.ONG.ONL.ONLINE.OOO.OPEN.ORACLE.ORANGE.ORG.ORGANIC.ORIGINS.OSAKA.OTSUKA.OTT.OVH.PA.PAGE.PANASONIC.PARIS.PARS.PARTNERS.PARTS.PARTY.PAY.PCCW.PE.PET.PF.PFIZER.PG.PH.PHARMACY.PHD.PHILIPS.PHONE.PHOTO.PHOTOGRAPHY.PHOTOS.PHYSIO.PICS.PICTET.PICTURES.PID.PIN.PING.PINK.PIONEER.PIZZA.PK.PL.PLACE.PLAY.PLAYSTATION.PLUMBING.PLUS.PM.PN.PNC.POHL.POKER.POLITIE.PORN.POST.PR.PRAXI.PRESS.PRIME.PRO.PROD.PRODUCTIONS.PROF.PROGRESSIVE.PROMO.PROPERTIES.PROPERTY.PROTECTION.PRU.PRUDENTIAL.PS.PT.PUB.PW.PWC.PY.QA.QPON.QUEBEC.QUEST.RACING.RADIO.RE.READ.REALESTATE.REALTOR.REALTY.RECIPES.RED.REDSTONE.REDUMBRELLA.REHAB.REISE.REISEN.REIT.RELIANCE.REN.RENT.RENTALS.REPAIR.REPORT.REPUBLICAN.REST.RESTAURANT.REVIEW.REVIEWS.REXROTH.RICH.RICHARDLI.RICOH.RIL.RIO.RIP.RO.ROCKS.RODEO.ROGERS.ROOM.RS.RSVP.RU.RUGBY.RUHR.RUN.RW.RWE.RYUKYU.SA.SAARLAND.SAFE.SAFETY.SAKURA.SALE.SALON.SAMSCLUB.SAMSUNG.SANDVIK.SANDVIKCOROMANT.SANOFI.SAP.SARL.SAS.SAVE.SAXO.SB.SBI.SBS.SC.SCB.SCHAEFFLER.SCHMIDT.SCHOLARSHIPS.SCHOOL.SCHULE.SCHWARZ.SCIENCE.SCOT.SD.SE.SEARCH.SEAT.SECURE.SECURITY.SEEK.SELECT.SENER.SERVICES.SEVEN.SEW.SEX.SEXY.SFR.SG.SH.SHANGRILA.SHARP.SHELL.SHIA.SHIKSHA.SHOES.SHOP.SHOPPING.SHOUJI.SHOW.SI.SILK.SINA.SINGLES.SITE.SJ.SK.SKI.SKIN.SKY.SKYPE.SL.SLING.SM.SMART.SMILE.SN.SNCF.SO.SOCCER.SOCIAL.SOFTBANK.SOFTWARE.SOHU.SOLAR.SOLUTIONS.SONG.SONY.SOY.SPA.SPACE.SPORT.SPOT.SR.SRL.SS.ST.STADA.STAPLES.STAR.STATEBANK.STATEFARM.STC.STCGROUP.STOCKHOLM.STORAGE.STORE.STREAM.STUDIO.STUDY.STYLE.SU.SUCKS.SUPPLIES.SUPPLY.SUPPORT.SURF.SURGERY.SUZUKI.SV.SWATCH.SWISS.SX.SY.SYDNEY.SYSTEMS.SZ.TAB.TAIPEI.TALK.TAOBAO.TARGET.TATAMOTORS.TATAR.TATTOO.TAX.TAXI.TC.TCI.TD.TDK.TEAM.TECH.TECHNOLOGY.TEL.TEMASEK.TENNIS.TEVA.TF.TG.TH.THD.THEATER.THEATRE.TIAA.TICKETS.TIENDA.TIPS.TIRES.TIROL.TJ.TJMAXX.TJX.TK.TKMAXX.TL.TM.TMALL.TN.TO.TODAY.TOKYO.TOOLS.TOP.TORAY.TOSHIBA.TOTAL.TOURS.TOWN.TOYOTA.TOYS.TR.TRADE.TRADING.TRAINING.TRAVEL.TRAVELERS.TRAVELERSINSURANCE.TRUST.TRV.TT.TUBE.TUI.TUNES.TUSHU.TV.TVS.TW.TZ.UA.UBANK.UBS.UG.UK.UNICOM.UNIVERSITY.UNO.UOL.UPS.US.UY.UZ.VA.VACATIONS.VANA.VANGUARD.VC.VE.VEGAS.VENTURES.VERISIGN.VERSICHERUNG.VET.VG.VI.VIAJES.VIDEO.VIG.VIKING.VILLAS.VIN.VIP.VIRGIN.VISA.VISION.VIVA.VIVO.VLAANDEREN.VN.VODKA.VOLVO.VOTE.VOTING.VOTO.VOYAGE.VU.WALES.WALMART.WALTER.WANG.WANGGOU.WATCH.WATCHES.WEATHER.WEATHERCHANNEL.WEBCAM.WEBER.WEBSITE.WED.WEDDING.WEIBO.WEIR.WF.WHOSWHO.WIEN.WIKI.WILLIAMHILL.WIN.WINDOWS.WINE.WINNERS.WME.WOLTERSKLUWER.WOODSIDE.WORK.WORKS.WORLD.WOW.WS.WTC.WTF.XBOX.XEROX.XIHUAN.XIN.XN--11B4C3D.XN--1CK2E1B.XN--1QQW23A.XN--2SCRJ9C.XN--30RR7Y.XN--3BST00M.XN--3DS443G.XN--3E0B707E.XN--3HCRJ9C.XN--3PXU8K.XN--42C2D9A.XN--45BR5CYL.XN--45BRJ9C.XN--45Q11C.XN--4DBRK0CE.XN--4GBRIM.XN--54B7FTA0CC.XN--55QW42G.XN--55QX5D.XN--5SU34J936BGSG.XN--5TZM5G.XN--6FRZ82G.XN--6QQ986B3XL.XN--80ADXHKS.XN--80AO21A.XN--80AQECDR1A.XN--80ASEHDB.XN--80ASWG.XN--8Y0A063A.XN--90A3AC.XN--90AE.XN--90AIS.XN--9DBQ2A.XN--9ET52U.XN--9KRT00A.XN--B4W605FERD.XN--BCK1B9A5DRE4C.XN--C1AVG.XN--C2BR7G.XN--CCK2B3B.XN--CCKWCXETD.XN--CG4BKI.XN--CLCHC0EA0B2G2A9GCD.XN--CZR694B.XN--CZRS0T.XN--CZRU2D.XN--D1ACJ3B.XN--D1ALF.XN--E1A4C.XN--ECKVDTC9D.XN--EFVY88H.XN--FCT429K.XN--FHBEI.XN--FIQ228C5HS.XN--FIQ64B.XN--FIQS8S.XN--FIQZ9S.XN--FJQ720A.XN--FLW351E.XN--FPCRJ9C3D.XN--FZC2C9E2C.XN--FZYS8D69UVGM.XN--G2XX48C.XN--GCKR3F0F.XN--GECRJ9C.XN--GK3AT1E.XN--H2BREG3EVE.XN--H2BRJ9C.XN--H2BRJ9C8C.XN--HXT814E.XN--I1B6B1A6A2E.XN--IMR513N.XN--IO0A7I.XN--J1AEF.XN--J1AMH.XN--J6W193G.XN--JLQ480N2RG.XN--JVR189M.XN--KCRX77D1X4A.XN--KPRW13D.XN--KPRY57D.XN--KPUT3I.XN--L1ACC.XN--LGBBAT1AD8J.XN--MGB9AWBF.XN--MGBA3A3EJT.XN--MGBA3A4F16A.XN--MGBA7C0BBN0A.XN--MGBAAM7A8H.XN--MGBAB2BD.XN--MGBAH1A3HJKRD.XN--MGBAI9AZGQP6J.XN--MGBAYH7GPA.XN--MGBBH1A.XN--MGBBH1A71E.XN--MGBC0A9AZCG.XN--MGBCA7DZDO.XN--MGBCPQ6GPA1A.XN--MGBERP4A5D4AR.XN--MGBGU82A.XN--MGBI4ECEXP.XN--MGBPL2FH.XN--MGBT3DHD.XN--MGBTX2B.XN--MGBX4CD0AB.XN--MIX891F.XN--MK1BU44C.XN--MXTQ1M.XN--NGBC5AZD.XN--NGBE9E0A.XN--NGBRX.XN--NODE.XN--NQV7F.XN--NQV7FS00EMA.XN--NYQY26A.XN--O3CW4H.XN--OGBPF8FL.XN--OTU796D.XN--P1ACF.XN--P1AI.XN--PGBS0DH.XN--PSSY2U.XN--Q7CE6A.XN--Q9JYB4C.XN--QCKA1PMC.XN--QXA6A.XN--QXAM.XN--RHQV96G.XN--ROVU88B.XN--RVC1E0AM3E.XN--S9BRJ9C.XN--SES554G.XN--T60B56A.XN--TCKWE.XN--TIQ49XQYJ.XN--UNUP4Y.XN--VERMGENSBERATER-CTB.XN--VERMGENSBERATUNG-PWB.XN--VHQUV.XN--VUQ861B.XN--W4R85EL8FHU5DNRA.XN--W4RS40L.XN--WGBH1C.XN--WGBL6A.XN--XHQ521B.XN--XKC2AL3HYE2A.XN--XKC2DL3A5EE0H.XN--Y9A3AQ.XN--YFRO4I67O.XN--YGBI2AMMX.XN--ZFR164B.XXX.XYZ.YACHTS.YAHOO.YAMAXUN.YANDEX.YE.YODOBASHI.YOGA.YOKOHAMA.YOU.YOUTUBE.YT.YUN.ZA.ZAPPOS.ZARA.ZERO.ZIP.ZM.ZONE.ZUERICH.ZW`.split(`.`),tlds=new Set(TLDS.map(tld=>tld.toLowerCase()));var import_lib=__toESM(require_lib$1()),import_lib$1=__toESM(require_lib()),import_lib$2=__toESM(require_lib$2());const version=`1.20250813.0`;Object.defineProperty(exports,`ValidationError`,{enumerable:!0,get:function(){return import_lib$2.ValidationError}}),Object.defineProperty(exports,`address`,{enumerable:!0,get:function(){return esm_exports}}),exports.decode=decode,exports.encode=encode,Object.defineProperty(exports,`formula`,{enumerable:!0,get:function(){return import_lib}}),Object.defineProperty(exports,`location`,{enumerable:!0,get:function(){return import_lib$1.location}}),exports.tlds=tlds,exports.validator=validator,exports.version=version;
14
44
  //# sourceMappingURL=index.cjs.map