PageSourceSearch

https://app.textmagic.com/assets/DLkVZSuR.js

js textmagic.com collected 2026-09-24 08:28:21 UTC 1,155,303 bytes, 44 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`20260924-39003-d97a9715`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:textmagic-web-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`06bde424-4a82-45ae-9be5-4a6bf1e5d976`,e._sentryDebugIdIdentifier=`sentry-dbid-06bde424-4a82-45ae-9be5-4a6bf1e5d976`)}catch{}})();import{i as e,n as t,r as n,t as r}from"./DtDTtmXA.js";import{$ as i,$t as a,A as o,At as s,B as c,Bt as l,C as u,Ct as d,D as f,Dt as p,E as m,Et as h,F as g,Ft as _,Gt as v,H as y,Ht as b,It as x,J as S,Jt as C,Kt as w,L as T,Lt as E,Mt as D,Nt as O,O as k,Ot as A,Pt as j,Q as ee,Qt as M,R as N,Rt as P,U as F,V as I,Wt as L,X as te,Xt as R,Y as ne,Yt as z,Z as re,Zt as ie,_ as ae,_n as oe,an as se,bt as ce,c as le,cn as ue,ct as de,d as fe,dn as pe,en as me,f as he,ft as ge,hn as _e,in as ve,it as ye,jt as be,k as xe,kt as Se,l as Ce,ln as we,lt as Te,mn as Ee,nn as De,nt as Oe,o as ke,on as Ae,ot as je,p as Me,pn as Ne,qt as Pe,rn as Fe,rt as Ie,s as Le,sn as Re,tn as ze,tt as Be,u as Ve,un as He,w as Ue,wt as We,x as Ge,yt as B,zt as Ke}from"./B_mscWxu.js";var qe=r((()=>{var e;(function(e){(function(t){var n=typeof globalThis==`object`?globalThis:typeof global==`object`?global:typeof self==`object`?self:typeof this==`object`?this:s(),r=i(e);n.Reflect!==void 0&&(r=i(n.Reflect,r)),t(r,n),n.Reflect===void 0&&(n.Reflect=e);function i(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}function a(){try{return Function(`return this;`)()}catch{}}function o(){try{return(0,eval)(`(function() { return this; })()`)}catch{}}function s(){return a()||o()}})(function(e,t){var n=Object.prototype.hasOwnProperty,r=typeof Symbol==`function`,i=r&&Symbol.toPrimitive!==void 0?Symbol.toPrimitive:`@@toPrimitive`,a=r&&Symbol.iterator!==void 0?Symbol.iterator:`@@iterator`,o=typeof Object.create==`function`,s={__proto__:[]}instanceof Array,c=!o&&!s,l={create:o?function(){return Te(Object.create(null))}:s?function(){return Te({__proto__:null})}:function(){return Te({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d=typeof Map==`function`&&typeof Map.prototype.entries==`function`?Map:Se(),f=typeof Set==`function`&&typeof Set.prototype.entries==`function`?Set:Ce(),p=typeof WeakMap==`function`?WeakMap:we(),m=r?Symbol.for(`@reflect-metadata:registry`):void 0,h=ve(),g=ye(h);function _(e,t,n,r){if(I(n)){if(!oe(e)||!ce(t))throw TypeError();return D(e,t)}else{if(!oe(e)||!R(t)||!R(r)&&!I(r)&&!L(r))throw TypeError();return L(r)&&(r=void 0),n=ae(n),O(e,t,n,r)}}e(`decorate`,_);function v(e,t){function n(n,r){if(!R(n)||!I(r)&&!le(r))throw TypeError();M(e,t,n,r)}return n}e(`metadata`,v);function y(e,t,n,r){if(!R(n))throw TypeError();return I(r)||(r=ae(r)),M(e,t,n,r)}e(`defineMetadata`,y);function b(e,t,n){if(!R(t))throw TypeError();return I(n)||(n=ae(n)),k(e,t,n)}e(`hasMetadata`,b);function x(e,t,n){if(!R(t))throw TypeError();return I(n)||(n=ae(n)),A(e,t,n)}e(`hasOwnMetadata`,x);function S(e,t,n){if(!R(t))throw TypeError();return I(n)||(n=ae(n)),j(e,t,n)}e(`getMetadata`,S);function C(e,t,n){if(!R(t))throw TypeError();return I(n)||(n=ae(n)),ee(e,t,n)}e(`getOwnMetadata`,C);function w(e,t){if(!R(e))throw TypeError();return I(t)||(t=ae(t)),N(e,t)}e(`getMetadataKeys`,w);function T(e,t){if(!R(e))throw TypeError();return I(t)||(t=ae(t)),P(e,t)}e(`getOwnMetadataKeys`,T);function E(e,t,n){if(!R(t)||(I(n)||(n=ae(n)),!R(t)))throw TypeError();I(n)||(n=ae(n));var r=xe(t,n,!1);return I(r)?!1:r.OrdinaryDeleteMetadata(e,t,n)}e(`deleteMetadata`,E);function D(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n],i=r(t);if(!I(i)&&!L(i)){if(!ce(i))throw TypeError();t=i}}return t}function O(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=e[i],o=a(t,n,r);if(!I(o)&&!L(o)){if(!R(o))throw TypeError();r=o}}return r}
1function k(e,t,n){if(A(e,t,n))return!0;var r=ge(t);return L(r)?!1:k(e,r,n)}function A(e,t,n){var r=xe(t,n,!1);return I(r)?!1:re(r.OrdinaryHasOwnMetadata(e,t,n))}function j(e,t,n){if(A(e,t,n))return ee(e,t,n);var r=ge(t);if(!L(r))return j(e,r,n)}function ee(e,t,n){var r=xe(t,n,!1);if(!I(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function M(e,t,n,r){xe(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function N(e,t){var n=P(e,t),r=ge(e);if(r===null)return n;var i=N(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new f,o=[],s=0,c=n;s<c.length;s++){var l=c[s],u=a.has(l);u||(a.add(l),o.push(l))}for(var d=0,p=i;d<p.length;d++){var l=p[d],u=a.has(l);u||(a.add(l),o.push(l))}return o}function P(e,t){var n=xe(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function F(e){if(e===null)return 1;switch(typeof e){case`undefined`:return 0;case`boolean`:return 2;case`string`:return 3;case`symbol`:return 4;case`number`:return 5;case`object`:return e===null?1:6;default:return 6}}function I(e){return e===void 0}function L(e){return e===null}function te(e){return typeof e==`symbol`}function R(e){return typeof e==`object`?e!==null:typeof e==`function`}function ne(e,t){switch(F(e)){case 0:return e;case 1:return e;case 2:return e;case 3:return e;case 4:return e;case 5:return e}var n=t===3?`string`:t===5?`number`:`default`,r=de(e,i);if(r!==void 0){var a=r.call(e,n);if(R(a))throw TypeError();return a}return z(e,n==="default"?`number`:n)}function z(e,t){if(t===`string`){var n=e.toString;if(se(n)){var r=n.call(e);if(!R(r))return r}var i=e.valueOf;if(se(i)){var r=i.call(e);if(!R(r))return r}}else{var i=e.valueOf;if(se(i)){var r=i.call(e);if(!R(r))return r}var a=e.toString;if(se(a)){var r=a.call(e);if(!R(r))return r}}throw TypeError()}function re(e){return!!e}function ie(e){return``+e}function ae(e){var t=ne(e,3);return te(t)?t:ie(t)}function oe(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:Object.prototype.toString.call(e)===`[object Array]`}function se(e){return typeof e==`function`}function ce(e){return typeof e==`function`}function le(e){switch(F(e)){case 3:return!0;case 4:return!0;default:return!1}}function ue(e,t){return e===t||e!==e&&t!==t}function de(e,t){var n=e[t];if(n!=null){if(!se(n))throw TypeError();return n}}function fe(e){var t=de(e,a);if(!se(t))throw TypeError();var n=t.call(e);if(!R(n))throw TypeError();return n}function pe(e){return e.value}function me(e){var t=e.next();return t.done?!1:t}function he(e){var t=e.return;t&&t.call(e)}function ge(e){var t=Object.getPrototypeOf(e);if(typeof e!=`function`||e===u||t!==u)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(r==null||r===Object.prototype)return t;var i=r.constructor;return typeof i!=`function`||i===e?t:i}function _e(){var e;!I(m)&&t.Reflect!==void 0&&!(m in t.Reflect)&&typeof t.Reflect.defineMetadata==`function`&&(e=be(t.Reflect));var n,r,i,a=new p,o={registerProvider:s,getProvider:l,setProvider:h};return o;function s(t){if(!Object.isExtensible(o))throw Error(`Cannot add provider to a frozen registry.`);switch(!0){case e===t:break;case I(n):n=t;break;case n===t:break;case I(r):r=t;break;case r===t:break;default:i===void 0&&(i=new f),i.add(t);break}}function c(t,a){if(!I(n)){if(n.isProviderFor(t,a))return n;if(!I(r)){if(r.isProviderFor(t,a))return n;if(!I(i))for(var o=fe(i);;){var s=me(o);if(!s)return;var c=pe(s);if(c.isProviderFor(t,a))return he(o),c}}}if(!I(e)&&e.isProviderFor(t,a))return e}function l(e,t){var n=a.get(e),r;return I(n)||(r=n.get(t)),I(r)?(r=c(e,t),I(r)||(I(n)&&(n=new d,a.set(e,n)),n.set(t,r)),r):r}function u(e){if(I(e))throw TypeError();return n===e||r===e||!I(i)&&i.has(e)}function h(e,t,n){if(!u(n))throw Error(`Metadata provider not registered.`);var r=l(e,t);if(r!==n){if(!I(r))return!1;var i=a.get(e);I(i)&&(i=new d,a.set(e,i)),i.set(t,n)}return!0}}function ve(){var e;return!I(m)&&R(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[m]),I(e)&&(e=_e()),!I(m)&&R(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,m,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}function ye(e){var t=new p,n={isProviderFor:function(e,n){var r=t.get(e);return I(r)?!1:r.has(n)},OrdinaryDefineOwnMetadata:o,OrdinaryHasOwnMetadata:i,OrdinaryGetOwnMetadata:a,OrdinaryOwnMetadataKeys:s,OrdinaryDeleteMetadata:c};return h.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(I(o)){if(!a)return;o=new d,t.set(r,o),s=!0}var c=o.get(i);if(I(c)){if(!a)return;if(c=new d,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),Error(`Wrong provider for target.`)}return c}function i(e,t,n){var i=r(t,n,!1);return I(i)?!1:re(i.has(e))}function a(e,t,n){var i=r(t,n,!1);if(!I(i))return i.get(e)}function o(e,t,n,i){r(n,i,!0).set(e,t)}function s(e,t){var n=[],i=r(e,t,!1);if(I(i))return n;for(var a=fe(i.keys()),o=0;;){var s=me(a);if(!s)return n.length=o,n;var c=pe(s);try{n[o]=c}catch(e){try{he(a)}finally{throw e}}o++}}function c(e,n,i){var a=r(n,i,!1);if(I(a)||!a.delete(e))return!1;if(a.size===0){var o=t.get(n);I(o)||(o.delete(i),o.size===0&&t.delete(o))}return!0}}function be(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new p;return{isProviderFor:function(e,t){var n=o.get(e);
1return!I(n)&&n.has(t)?!0:i(e,t).length?(I(n)&&(n=new f,o.set(e,n)),n.add(t),!0):!1},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}function xe(e,t,n){var r=h.getProvider(e,t);if(!I(r))return r;if(n){if(h.setProvider(e,t,g))return g;throw Error(`Illegal state.`)}}function Se(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype[`@@iterator`]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,ue(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype[`@@iterator`]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!ue(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(ue(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}function Ce(){return function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype[`@@iterator`]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}()}function we(){var e=16,t=l.create(),r=i();return function(){function e(){this._key=i()}return e.prototype.has=function(e){var t=a(e,!1);return t===void 0?!1:l.has(t,this._key)},e.prototype.get=function(e){var t=a(e,!1);return t===void 0?void 0:l.get(t,this._key)},e.prototype.set=function(e,t){var n=a(e,!0);return n[this._key]=t,this},e.prototype.delete=function(e){var t=a(e,!1);return t===void 0?!1:delete t[this._key]},e.prototype.clear=function(){this._key=i()},e}();function i(){var e;do e=`@@WeakMap@@`+c();while(l.has(t,e));return t[e]=!0,e}function a(e,t){if(!n.call(e,r)){if(!t)return;Object.defineProperty(e,r,{value:l.create()})}return e[r]}function o(e,t){for(var n=0;n<t;++n)e[n]=Math.random()*255|0;return e}function s(e){if(typeof Uint8Array==`function`){var t=new Uint8Array(e);return typeof crypto<`u`?crypto.getRandomValues(t):typeof msCrypto<`u`?msCrypto.getRandomValues(t):o(t,e),t}return o(Array(e),e)}function c(){var t=s(e);t[6]=t[6]&79|64,t[8]=t[8]&191|128;for(var n=``,r=0;r<e;++r){var i=t[r];(r===4||r===6||r===8)&&(n+=`-`),i<16&&(n+=`0`),n+=i.toString(16).toLowerCase()}return n}}function Te(e){return e.__=void 0,delete e.__,e}})})(e||(e={}))})),Je=`_q_t_`,Ye=`_q_fo_`,Xe=`_q_tabs_`;function Ze(){}y();function Qe(){return F(`_q_`)}y(),Se();function $e(e,t,n={}){let r,i,a,o=!0,s=()=>{o=!0,a()};B(e,s,{flush:`sync`,...n});let c=typeof t==`function`?t:t.get,l=typeof t==`function`?void 0:t.set,u=h((e,t)=>(i=e,a=t,{get(){return o&&(r=c(r),o=!1),i(),r},set(e){l?.(e)}}));return u.trigger=s,u}function et(e,t){return A()?(D(e,t),!0):!1}var tt=new WeakMap,nt=(...e)=>{let t=e[0],n=N()?.proxy??A();if(n==null&&!I())throw Error(`injectLocal must be called in setup`);return n&&tt.has(n)&&t in tt.get(n)?tt.get(n)[t]:F(...e)},rt=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var it=e=>e!==void 0,at=e=>e!=null,ot=Object.prototype.toString,st=e=>ot.call(e)===`[object Object]`,ct=()=>{},lt=ut();function ut(){var e,t;return rt&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function dt(...e){if(e.length!==1)return l(...e);let t=e[0];return typeof t==`function`?j(h(()=>({get:t,set:ct}))):_(t)}function ft(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var pt=e=>e();function mt(e,t={}){let n,r,i=ct,a=e=>{clearTimeout(e),i(),i=ct},o;return s=>{let c=b(e),l=b(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&(a(r),r=void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function ht(...e){let t=0,n,r=!0,i=ct,a,o,c,l,u;!s(e[0])&&typeof e[0]==`object`?{delay:o,trailing:c=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[o,c=!0,l=!0,u=!1]=e;let d=()=>{n&&(clearTimeout(n),n=void 0,i(),i=ct)};return e=>{let s=b(o),f=Date.now()-t,p=()=>a=e();return d(),s<=0?(t=Date.now(),p()):(f>s?(t=Date.now(),(l||!r)&&p()):c&&(a=new Promise((e,a)=>{i=u?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),d()},Math.max(0,s-f))})),!l&&!n&&(n=setTimeout(()=>r=!0,s)),r=!1,a)}}function gt(e=pt,t={}){let{initialState:n=`active`}=t,r=dt(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:j(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function _t(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function vt(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function yt(e){return Array.isArray(e)?e:[e]}function bt(e){return e||N()}function xt(e){if(!rt)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=p(!0),n=r.run(()=>e(...a))),et(i),n))}
1function St(e,t=200,n={}){return ft(mt(t,n),e)}function Ct(e,t,n={}){let{eventFilter:r=pt,...i}=n;return B(e,ft(r,t),i)}function wt(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=gt(r,{initialState:i});return{stop:Ct(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function Tt(e,t=!0,n){bt(n)?Be(e,n):t?e():S(e)}function Et(e,t=1e3,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=null,o=P(!1);function c(){a&&(clearInterval(a),a=null)}function l(){o.value=!1,c()}function u(){let n=b(t);n<=0||(o.value=!0,i&&e(),c(),o.value&&(a=setInterval(e,n)))}return r&&rt&&u(),(s(t)||typeof t==`function`)&&et(B(t,()=>{o.value&&rt&&u()})),et(l),{isActive:E(o),pause:l,resume:u}}function Dt(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=P(!1),o;function s(){o&&(clearTimeout(o),o=void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},b(t))}return r&&(a.value=!0,rt&&l()),et(c),{isPending:E(a),start:l,stop:c}}function Ot(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return Ct(e,t,{...a,eventFilter:mt(r,{maxWait:i})})}function kt(e,t,n){return B(e,t,{...n,immediate:!0})}function At(e,t,n={}){let{throttle:r=0,trailing:i=!0,leading:a=!0,...o}=n;return Ct(e,t,{...o,eventFilter:ht(r,i,a)})}function jt(e,t,n){let r=B(e,(e,i,a)=>{e&&(n?.once&&S(()=>r()),t(e,i,a))},{...n,once:!1});return r}y(),he(),Se();function Mt(e,t,n){let r;r=s(n)?{evaluating:n}:n||{};let{lazy:i=!1,flush:a=`sync`,evaluating:o=void 0,shallow:c=!0,onError:l=globalThis.reportError??ct}=r,u=P(!i),d=c?P(t):_(t),f=0;return ce(async t=>{if(!u.value)return;f++;let n=f,r=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{let i=await e(e=>{t(()=>{o&&(o.value=!1),r||e()})});n===f&&(d.value=i)}catch(e){l(e)}finally{o&&n===f&&(o.value=!1),r=!0}},{flush:a}),i?m(()=>(u.value=!0,d.value)):d}var Nt=rt?window:void 0;rt&&window.document;var Pt=rt?window.navigator:void 0;rt&&window.location;function Ft(e){let t=b(e);return t?.$el??t}function It(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=m(()=>{let t=yt(b(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return kt(()=>[n.value?.map(e=>Ft(e))??[Nt].filter(e=>e!=null),yt(b(n.value?e[1]:e[0])),yt(L(n.value?e[2]:e[1])),b(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=st(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Lt=!1;function Rt(e,t,n={}){let{window:r=Nt,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:ct,cancel:ct,trigger:ct}:ct;if(lt&&!Lt){Lt=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,ct,e)),r.document.documentElement.addEventListener(`click`,ct,e)}let c=!0,l=e=>b(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=Ft(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=b(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=b(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=Ft(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},p=!1,m=[It(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),It(r,`pointerdown`,t=>{let n=Ft(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&It(r,`blur`,n=>{setTimeout(()=>{let i=Ft(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function zt(){let e=P(!1),t=N();return t&&Be(()=>{e.value=!0},t),e}function Bt(e){let t=zt();return m(()=>(t.value,!!e()))}function Vt(e,t,n={}){let{window:r=Nt,...i}=n,a,o=Bt(()=>r&&`MutationObserver`in r),s=()=>{a&&(a.disconnect(),a=void 0)},c=B(m(()=>{let t=yt(b(e)).map(Ft).filter(at);return new Set(t)}),e=>
1{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return et(u),{isSupported:o,stop:u,takeRecords:l}}var Ht=Symbol(`vueuse-ssr-width`);function Ut(){let e=I()?nt(Ht,null):null;return typeof e==`number`?e:void 0}function Wt(e,t={}){let{window:n=Nt,ssrWidth:r=Ut()}=t,i=Bt(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=P(typeof r==`number`),o=P(),s=P(!1);return ce(()=>{if(a.value){a.value=!i.value,s.value=b(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=vt(n[1])),i&&a&&(a=r<=vt(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(b(e)),s.value=o.value.matches)}),It(o,`change`,e=>{s.value=e.matches},{passive:!0}),m(()=>s.value)}function Gt(e,t={}){let{controls:n=!1,navigator:r=Pt}=t,i=Bt(()=>r&&`permissions`in r),a=P(),o=typeof e==`string`?{name:e}:e,s=P(),c=()=>{s.value=a.value?.state??`prompt`};It(a,`change`,c,{passive:!0});let l=_t(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return Ke(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function Kt(e={}){let{navigator:t=Pt,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=Bt(()=>t&&`clipboard`in t),s=Gt(`clipboard-read`),c=Gt(`clipboard-write`),l=m(()=>o.value||a),u=P(``),d=P(!1),f=Dt(()=>d.value=!1,i,{immediate:!1});async function p(){let e=!(o.value&&v(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=_())}l.value&&n&&It([`copy`,`cut`],p,{passive:!0});async function h(e=b(r)){if(l.value&&e!=null){let n=!(o.value&&v(c.value));if(!n)try{await t.clipboard.writeText(e)}catch{n=!0}n&&g(e),u.value=e,d.value=!0,f.start()}}function g(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function _(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function v(e){return e===`granted`||e===`prompt`}return{isSupported:l,text:j(u),copied:j(d),copy:h}}function qt(e){return JSON.parse(JSON.stringify(e))}var Jt=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},Yt=`__vueuse_ssr_handlers__`,Xt=Zt();function Zt(){return Yt in Jt||(Jt[Yt]=Jt[Yt]||{}),Jt[Yt]}function Qt(e,t){return Xt[e]||t}function $t(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var en={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},tn=`vueuse-storage`;function nn(e,t,n,r={}){let{flush:i=`pre`,deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:l,window:u=Nt,eventFilter:d,onError:f=e=>{console.error(e)},initOnMounted:p}=r,h=(l?P:_)(typeof t==`function`?t():t),g=m(()=>b(e));if(!n)try{n=Qt(`getDefaultStorage`,()=>Nt?.localStorage)()}catch(e){f(e)}if(!n)return h;let v=b(t),y=$t(v),x=r.serializer??en[y],{pause:C,resume:w}=wt(h,e=>D(e),{flush:i,deep:a,eventFilter:d});B(g,()=>k(),{flush:i});let T=!1;u&&o&&(n instanceof Storage?It(u,`storage`,e=>{p&&!T||k(e)},{passive:!0}):It(u,tn,e=>{p&&!T||A(e)})),p?Tt(()=>{T=!0,k()}):k();function E(e,t){if(u){let r={key:g.value,oldValue:e,newValue:t,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent(`storage`,r):new CustomEvent(tn,{detail:r}))}}function D(e){try{let t=n.getItem(g.value);if(e==null)E(t,null),n.removeItem(g.value);else{let r=x.write(e);t!==r&&(n.setItem(g.value,r),E(t,r))}}catch(e){f(e)}}function O(e){let t=e?e.newValue:n.getItem(g.value);if(t==null)return s&&v!=null&&n.setItem(g.value,x.write(v)),v;if(!e&&c){let e=x.read(t);return typeof c==`function`?c(e,v):y===`object`&&!Array.isArray(e)?{...v,...e}:e}else if(typeof t!=`string`)return t;else return x.read(t)}function k(e){if(!(e&&e.storageArea!==n)){if(e&&e.key==null){h.value=v;return}if(!(e&&e.key!==g.value)){C();try{let t=x.write(h.value);(e===void 0||e?.newValue!==t)&&(h.value=O(e))}catch(e){f(e)}finally{e?S(w):w()}}}}function A(e){k(e.detail)}return h}function rn(e,t={}){let n=P(!1),r=P(null),i=0,a=!0;if(rt){let o=typeof t==`function`?{onDrop:t}:t,s=o.multiple??!0,c=o.preventDefaultForUnhandled??!1,l=e=>{let t=Array.from(e.dataTransfer?.files??[]);return t.length===0?null:s?t:[t[0]]},u=e=>{let t=L(o.dataTypes);return typeof t==`function`?t(e):t?.length?e.length===0?!1:e.every(e=>t.some(t=>e.includes(t))):!0},d=e=>{if(o.checkValidity)return o.checkValidity(e);let t=u(Array.from(e??[]).map(e=>e.type)),n=s||e.length<=1;return t&&n},f=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!(`chrome`in window),p=(e,t)=>{let s=e.dataTransfer?.items;if(a=(s&&d(s))??!1,c&&e.preventDefault(),!f()&&!a){e.dataTransfer&&(e.dataTransfer.dropEffect=`none`);return}e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`);let u=l(e);switch(t){case`enter`:var p;i+=1,n.value=!0,(p=o.onEnter)==null||p.call(o,null,e);break;case`over`:var m;(m=o.onOver)==null||m.call(o,null,e);break;case`leave`:var h;--i,i===0&&(n.value=!1),(h=o.onLeave)==null||h.call(o,null,e);break;case`drop`:if(i=0,n.value=!1,a){var g;r.value=u,(g=o.onDrop)==null||g.call(o,u,e)}break}};It(e,`dragenter`,e=>p(e,`enter`)),It(e,`dragover`,e=>p(e,`over`)),It(e,`dragleave`,e=>p(e,`leave`)),It(e,`drop`,e=>p(e,`drop`))}return{files:r,isOverDropZone:n}}function an(e,t,n={}){let{window:r=Nt,...i}=n,a,o=Bt(()=>r&&`ResizeObserver`in r),s=()=>{a&&(a.disconnect(),a=void 0)},c=B(m(()=>{let t=b(e);return Array.isArray(t)?t.map(e=>Ft(e)):[Ft(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return et(l),{isSupported:o,stop:l}}function on(e,t={}){let{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:a=!0,updateTiming:o=`sync`}=t,s=P(0),c=P(0),l=P(0),u=P(0),d=P(0),f=P(0),p=P(0),m=P(0);function h(){let t=Ft(e);
1if(!t){n&&(s.value=0,c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0);return}let r=t.getBoundingClientRect();s.value=r.height,c.value=r.bottom,l.value=r.left,u.value=r.right,d.value=r.top,f.value=r.width,p.value=r.x,m.value=r.y}function g(){o===`sync`?h():o===`next-frame`&&requestAnimationFrame(()=>h())}return an(e,g),B(()=>Ft(e),e=>!e&&g()),Vt(e,g,{attributeFilter:[`style`,`class`]}),i&&It(`scroll`,g,{capture:!0,passive:!0}),r&&It(`resize`,g,{passive:!0}),Tt(()=>{a&&g()}),{height:s,bottom:c,left:l,right:u,top:d,width:f,x:p,y:m,update:g}}function sn(e,t,n={}){let{root:r,rootMargin:i,threshold:a=0,window:o=Nt,immediate:s=!0}=n,c=Bt(()=>o&&`IntersectionObserver`in o),l=m(()=>yt(b(e)).map(Ft).filter(at)),u=ct,d=P(s),f=c.value?B(()=>[l.value,Ft(r),b(i),d.value],([e,n,r])=>{if(u(),!d.value||!e.length)return;let i=new IntersectionObserver(t,{root:Ft(n),rootMargin:r,threshold:a});e.forEach(e=>e&&i.observe(e)),u=()=>{i.disconnect(),u=ct}},{immediate:s,flush:`post`}):ct,p=()=>{u(),f(),d.value=!1};return et(p),{isSupported:c,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function cn(e,t,n={}){let{window:r=Nt}=n;return nn(e,t,r?.localStorage,n)}function ln(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=N(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),h=c;t||(t=`modelValue`),h=h||`update:${t.toString()}`;let g=e=>o?typeof o==`function`?o(e):qt(e):e,v=()=>it(e[t])?g(e[t]):u,y=e=>{d?d(e)&&p(h,e):p(h,e)};if(s){let n=_(v()),r=!1;return B(()=>e[t],e=>{r||(r=!0,n.value=g(e),S(()=>r=!1))}),B(n,n=>{!r&&(n!==e[t]||l)&&y(n)},{deep:l}),n}else return m({get(){return v()},set(e){y(e)}})}var un=typeof global==`object`&&global&&global.Object===Object&&global,dn=typeof self==`object`&&self&&self.Object===Object&&self,fn=un||dn||Function(`return this`)(),pn=fn.Symbol;function mn(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var hn=Array.isArray,gn=Object.prototype,_n=gn.hasOwnProperty,vn=gn.toString,yn=pn?pn.toStringTag:void 0;function bn(e){var t=_n.call(e,yn),n=e[yn];try{e[yn]=void 0;var r=!0}catch{}var i=vn.call(e);return r&&(t?e[yn]=n:delete e[yn]),i}var xn=Object.prototype.toString;function Sn(e){return xn.call(e)}var Cn=`[object Null]`,wn=`[object Undefined]`,Tn=pn?pn.toStringTag:void 0;function En(e){return e==null?e===void 0?wn:Cn:Tn&&Tn in Object(e)?bn(e):Sn(e)}function Dn(e){return typeof e==`object`&&!!e}var On=`[object Symbol]`;function kn(e){return typeof e==`symbol`||Dn(e)&&En(e)==On}var An=1/0,jn=pn?pn.prototype:void 0,Mn=jn?jn.toString:void 0;function Nn(e){if(typeof e==`string`)return e;if(hn(e))return mn(e,Nn)+``;if(kn(e))return Mn?Mn.call(e):``;var t=e+``;return t==`0`&&1/e==-An?`-0`:t}function Pn(e){return e==null?``:Nn(e)}function Fn(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function In(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Fn(e,t,n)}var Ln=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function Rn(e){return Ln.test(e)}function zn(e){return e.split(``)}var Bn=`\\ud800-\\udfff`,Vn=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,Hn=`\\ufe0e\\ufe0f`,Un=`[`+Bn+`]`,Wn=`[`+Vn+`]`,Gn=`\\ud83c[\\udffb-\\udfff]`,Kn=`(?:`+Wn+`|`+Gn+`)`,qn=`[^`+Bn+`]`,Jn=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Yn=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Xn=`\\u200d`,Zn=Kn+`?`,Qn=`[`+Hn+`]?`,$n=`(?:`+Xn+`(?:`+[qn,Jn,Yn].join(`|`)+`)`+Qn+Zn+`)*`,er=Qn+Zn+$n,tr=`(?:`+[qn+Wn+`?`,Wn,Jn,Yn,Un].join(`|`)+`)`,nr=RegExp(Gn+`(?=`+Gn+`)|`+tr+er,`g`);function rr(e){return e.match(nr)||[]}function ir(e){return Rn(e)?rr(e):zn(e)}function ar(e){return function(t){t=Pn(t);var n=Rn(t)?ir(t):void 0,r=n?n[0]:t.charAt(0),i=n?In(n,1).join(``):t.slice(1);return r[e]()+i}}var or=ar(`toUpperCase`);function sr(e){return or(Pn(e).toLowerCase())}function cr(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function lr(e){return function(t){return e?.[t]}}var ur=lr({À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`}
1),dr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fr=RegExp(`[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]`,`g`);function pr(e){return e=Pn(e),e&&e.replace(dr,ur).replace(fr,``)}var mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function hr(e){return e.match(mr)||[]}var gr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function _r(e){return gr.test(e)}var vr=`\\ud800-\\udfff`,yr=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,br=`\\u2700-\\u27bf`,xr=`a-z\\xdf-\\xf6\\xf8-\\xff`,Sr=`\\xac\\xb1\\xd7\\xf7`,Cr=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,wr=`\\u2000-\\u206f`,Tr=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,Er=`A-Z\\xc0-\\xd6\\xd8-\\xde`,Dr=`\\ufe0e\\ufe0f`,Or=Sr+Cr+wr+Tr,kr=`['’]`,Ar=`[`+Or+`]`,jr=`[`+yr+`]`,Mr=`\\d+`,Nr=`[`+br+`]`,Pr=`[`+xr+`]`,Fr=`[^`+vr+Or+Mr+br+xr+Er+`]`,Ir=`(?:`+jr+`|\\ud83c[\\udffb-\\udfff])`,Lr=`[^`+vr+`]`,Rr=`(?:\\ud83c[\\udde6-\\uddff]){2}`,zr=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Br=`[`+Er+`]`,Vr=`\\u200d`,Hr=`(?:`+Pr+`|`+Fr+`)`,Ur=`(?:`+Br+`|`+Fr+`)`,Wr=`(?:`+kr+`(?:d|ll|m|re|s|t|ve))?`,Gr=`(?:`+kr+`(?:D|LL|M|RE|S|T|VE))?`,Kr=Ir+`?`,qr=`[`+Dr+`]?`,Jr=`(?:`+Vr+`(?:`+[Lr,Rr,zr].join(`|`)+`)`+qr+Kr+`)*`,Yr=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,Xr=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,Zr=qr+Kr+Jr,Qr=`(?:`+[Nr,Rr,zr].join(`|`)+`)`+Zr,$r=RegExp([Br+`?`+Pr+`+`+Wr+`(?=`+[Ar,Br,`$`].join(`|`)+`)`,Ur+`+`+Gr+`(?=`+[Ar,Br+Hr,`$`].join(`|`)+`)`,Br+`?`+Hr+`+`+Wr,Br+`+`+Gr,Xr,Yr,Mr,Qr].join(`|`),`g`);function ei(e){return e.match($r)||[]}function ti(e,t,n){return e=Pn(e),t=n?void 0:t,t===void 0?_r(e)?ei(e):hr(e):e.match(t)||[]}var ni=RegExp(`['’]`,`g`);function ri(e){return function(t){return cr(ti(pr(t).replace(ni,``)),e,``)}}var ii=ri(function(e,t,n){return t=t.toLowerCase(),e+(n?sr(t):t)});function ai(e,t){return e===t||e!==e&&t!==t}function oi(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var si=`[object AsyncFunction]`,ci=`[object Function]`,li=`[object GeneratorFunction]`,ui=`[object Proxy]`;function di(e){if(!oi(e))return!1;var t=En(e);return t==ci||t==li||t==si||t==ui}var fi=9007199254740991;function pi(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=fi}function mi(e){return e!=null&&pi(e.length)&&!di(e)}var hi=9007199254740991,gi=/^(?:0|[1-9]\d*)$/;function _i(e,t){var n=typeof e;return t=t??hi,!!t&&(n==`number`||n!=`symbol`&&gi.test(e))&&e>-1&&e%1==0&&e<t}function vi(e,t,n){if(!oi(n))return!1;var r=typeof t;return(r==`number`?mi(n)&&_i(t,n.length):r==`string`&&t in n)?ai(n[t],e):!1}var yi=/\s/;function bi(e){for(var t=e.length;t--&&yi.test(e.charAt(t)););return t}var xi=/^\s+/;function Si(e){return e&&e.slice(0,bi(e)+1).replace(xi,``)}var Ci=NaN,wi=/^[-+]0x[0-9a-f]+$/i,Ti=/^0b[01]+$/i,Ei=/^0o[0-7]+$/i,Di=parseInt;function Oi(e){if(typeof e==`number`)return e;if(kn(e))return Ci;if(oi(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=oi(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Si(e);var n=Ti.test(e);return n||Ei.test(e)?Di(e.slice(2),n?2:8):wi.test(e)?Ci:+e}var ki=1/0,Ai=17976931348623157e292;function ji(e){return e?(e=Oi(e),e===ki||e===-ki?(e<0?-1:1)*Ai:e===e?e:0):e===0?e:0}function Mi(e){var t=ji(e),n=t%1;return t===t?n?t-n:t:0}var Ni=Math.ceil,Pi=Math.max;function Fi(e,t,n){t=(n?vi(e,t,n):t===void 0)?1:Pi(Mi(t),0);var r=e==null?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,o=Array(Ni(r/t));i<r;)o[a++]=Fn(e,i,i+=t);return o}function Ii(){this.__data__=[],this.size=0}function Li(e,t){for(var n=e.length;n--;)if(ai(e[n][0],t))return n;return-1}var Ri=Array.prototype.splice;function zi(e){var t=this.__data__,n=Li(t,e);return n<0?!1:(n==t.length-1?t.pop():Ri.call(t,n,1),--this.size,!0)}function Bi(e){var t=this.__data__,n=Li(t,e);return n<0?void 0:t[n][1]}function Vi(e){return Li(this.__data__,e)>-1}function Hi(e,t){var n=this.__data__,r=Li(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ui(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ui.prototype.clear=Ii,Ui.prototype.delete=zi,Ui.prototype.get=Bi,Ui.prototype.has=Vi,Ui.prototype.set=Hi;function Wi(){this.__data__=new Ui,this.size=0}function Gi(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Ki(e){return this.__data__.get(e)}function qi(e){return this.__data__.has(e)}var Ji=fn[`__core-js_shared__`],Yi=function(){var e=/[^.]+$/.exec(Ji&&Ji.keys&&Ji.keys.IE_PROTO||``);
vendor: 9,934 bytes, line 1
1return e?`Symbol(src)_1.`+e:``}();function Xi(e){return!!Yi&&Yi in e}var Zi=Function.prototype.toString;function Qi(e){if(e!=null){try{return Zi.call(e)}catch{}try{return e+``}catch{}}return``}var $i=/[\\^$.*+?()[\]{}|]/g,ea=/^\[object .+?Constructor\]$/,ta=Function.prototype,na=Object.prototype,ra=ta.toString,ia=na.hasOwnProperty,aa=RegExp(`^`+ra.call(ia).replace($i,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function oa(e){return!oi(e)||Xi(e)?!1:(di(e)?aa:ea).test(Qi(e))}function sa(e,t){return e?.[t]}function ca(e,t){var n=sa(e,t);return oa(n)?n:void 0}var la=ca(fn,`Map`),ua=ca(Object,`create`);function da(){this.__data__=ua?ua(null):{},this.size=0}function fa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var pa=`__lodash_hash_undefined__`,ma=Object.prototype.hasOwnProperty;function ha(e){var t=this.__data__;if(ua){var n=t[e];return n===pa?void 0:n}return ma.call(t,e)?t[e]:void 0}var ga=Object.prototype.hasOwnProperty;function _a(e){var t=this.__data__;return ua?t[e]!==void 0:ga.call(t,e)}var va=`__lodash_hash_undefined__`;function ya(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ua&&t===void 0?va:t,this}function ba(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ba.prototype.clear=da,ba.prototype.delete=fa,ba.prototype.get=ha,ba.prototype.has=_a,ba.prototype.set=ya;function xa(){this.size=0,this.__data__={hash:new ba,map:new(la||Ui),string:new ba}}function Sa(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Ca(e,t){var n=e.__data__;return Sa(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function wa(e){var t=Ca(this,e).delete(e);return this.size-=+!!t,t}function Ta(e){return Ca(this,e).get(e)}function Ea(e){return Ca(this,e).has(e)}function Da(e,t){var n=Ca(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Oa(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Oa.prototype.clear=xa,Oa.prototype.delete=wa,Oa.prototype.get=Ta,Oa.prototype.has=Ea,Oa.prototype.set=Da;var ka=200;function Aa(e,t){var n=this.__data__;if(n instanceof Ui){var r=n.__data__;if(!la||r.length<ka-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Oa(r)}return n.set(e,t),this.size=n.size,this}function ja(e){var t=this.__data__=new Ui(e);this.size=t.size}ja.prototype.clear=Wi,ja.prototype.delete=Gi,ja.prototype.get=Ki,ja.prototype.has=qi,ja.prototype.set=Aa;function Ma(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var Na=function(){try{var e=ca(Object,`defineProperty`);return e({},``,{}),e}catch{}}();function Pa(e,t,n){t==`__proto__`&&Na?Na(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Fa=Object.prototype.hasOwnProperty;function Ia(e,t,n){var r=e[t];(!(Fa.call(e,t)&&ai(r,n))||n===void 0&&!(t in e))&&Pa(e,t,n)}function La(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?Pa(n,s,c):Ia(n,s,c)}return n}function Ra(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var za=`[object Arguments]`;function Ba(e){return Dn(e)&&En(e)==za}var Va=Object.prototype,Ha=Va.hasOwnProperty,Ua=Va.propertyIsEnumerable,Wa=Ba(function(){return arguments}())?Ba:function(e){return Dn(e)&&Ha.call(e,`callee`)&&!Ua.call(e,`callee`)};function Ga(){return!1}var Ka=typeof exports==`object`&&exports&&!exports.nodeType&&exports,qa=Ka&&typeof module==`object`&&module&&!module.nodeType&&module,Ja=qa&&qa.exports===Ka?fn.Buffer:void 0,Ya=(Ja?Ja.isBuffer:void 0)||Ga,Xa=`[object Arguments]`,Za=`[object Array]`,Qa=`[object Boolean]`,$a=`[object Date]`,eo=`[object Error]`,to=`[object Function]`,no=`[object Map]`,ro=`[object Number]`,io=`[object Object]`,ao=`[object RegExp]`,oo=`[object Set]`,so=`[object String]`,co=`[object WeakMap]`,lo=`[object ArrayBuffer]`,uo=`[object DataView]`,fo=`[object Float32Array]`,po=`[object Float64Array]`,mo=`[object Int8Array]`,ho=`[object Int16Array]`,go=`[object Int32Array]`,_o=`[object Uint8Array]`,vo=`[object Uint8ClampedArray]`,yo=`[object Uint16Array]`,bo=`[object Uint32Array]`,xo={};xo[fo]=xo[po]=xo[mo]=xo[ho]=xo[go]=xo[_o]=xo[vo]=xo[yo]=xo[bo]=!0,xo[Xa]=xo[Za]=xo[lo]=xo[Qa]=xo[uo]=xo[$a]=xo[eo]=xo[to]=xo[no]=xo[ro]=xo[io]=xo[ao]=xo[oo]=xo[so]=xo[co]=!1;function So(e){return Dn(e)&&pi(e.length)&&!!xo[En(e)]}function Co(e){return function(t){return e(t)}}var wo=typeof exports==`object`&&exports&&!exports.nodeType&&exports,To=wo&&typeof module==`object`&&module&&!module.nodeType&&module,Eo=To&&To.exports===wo&&un.process,Do=function(){try{return To&&To.require&&To.require(`util`).types||Eo&&Eo.binding&&Eo.binding(`util`)}catch{}}(),Oo=Do&&Do.isTypedArray,ko=Oo?Co(Oo):So,Ao=Object.prototype.hasOwnProperty;function jo(e,t){var n=hn(e),r=!n&&Wa(e),i=!n&&!r&&Ya(e),a=!n&&!r&&!i&&ko(e),o=n||r||i||a,s=o?Ra(e.length,String):[],c=s.length;for(var l in e)(t||Ao.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||_i(l,c)))&&s.push(l);return s}var Mo=Object.prototype;function No(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Mo)}function Po(e,t){return function(n){return e(t(n))}}var Fo=Po(Object.keys,Object),Io=Object.prototype.hasOwnProperty;function Lo(e){if(!No(e))return Fo(e);var t=[];for(var n in Object(e))Io.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Ro(e){return mi(e)?jo(e):Lo(e)}function zo(e,t){return e&&La(t,Ro(t),e)}function Bo(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vo=Object.prototype.hasOwnProperty;function Ho(e){if(!oi(e))return Bo(e);var t=No(e),n=[];for(var r in e)r==`constructor`&&(t||!Vo.call(e,r))||n.push(r);return n}function Uo(e){return mi(e)?jo(e,!0):Ho(e)}function Wo(e,t){return e&&La(t,Uo(t),e)}var Go=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Ko=Go&&typeof module==`object`&&module&&!module.nodeType&&module,qo=Ko&&Ko.exports===Go?fn.Buffer:void 0,Jo=qo?qo.allocUnsafe:void 0;function Yo(e,t){if(t)return e.slice();var n=e.length,r=Jo?Jo(n):new e.constructor(n);return e.copy(r),r}function Xo(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Zo(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,es=Object.getOwnPropertySymbols,ts=es?function(e){return e==null?[]:(e=Object(e),Zo(es(e),function(t){return $o.call(e,t)}))}:Qo;function ns(e,t){return La(e,ts(e),t)}function rs(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var is=Po(Object.getPrototypeOf,Object),as=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)rs(t,ts(e)),e=is(e);return t}:Qo;function os(e,t){return La(e,as(e),t)}function ss(e,t,n){var r=t(e);return hn(e)?r:rs(r,n(e))}function cs(e){return ss(e,Ro,ts)}function ls(e){return ss(e,Uo,as)}var us=ca(fn,`DataView`),ds=ca(fn,`Promise`),fs=ca(fn,`Set`),ps=ca(fn,`WeakMap`),ms=`[object Map]`,hs=`[object Object]`,gs=`[object Promise]`,_s=`[object Set]`,vs=`[object WeakMap]`,ys=`[object DataView]`,bs=Qi(us),xs=Qi(la),Ss=Qi(ds),Cs=Qi(fs),ws=Qi(ps),Ts=En;(us&&Ts(new us(new ArrayBuffer(1)))!=ys||la&&Ts(new la)!=ms||ds&&Ts(ds.resolve())!=gs||fs&&Ts(new fs)!=_s||ps&&Ts(new ps)!=vs)&&(Ts=function(e){var t=En(e),n=t==hs?e.constructor:void 0,r=n?Qi(n):``;if(r)switch(r){case bs:return ys;case xs:return ms;case Ss:return gs;case Cs:return _s;case ws:return vs}return t});var Es=Ts,Ds=Object.prototype.hasOwnProperty;function Os(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&Ds.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var ks=fn.Uint8Array;function As(e){var t=new e.constructor(e.byteLength);return new ks(t).set(new ks(e)),t}function js(e,t){var n=t?As(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Ms=/\w*$/;function Ns(e){var t=new e.constructor(e.source,Ms.exec(e));return t.lastIndex=e.lastIndex,t}var Ps=pn?pn.prototype:void 0,Fs=Ps?Ps.valueOf:void 0;function Is(e){return Fs?Object(Fs.call(e)):{}}function Ls(e,t){var n=t?As(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Rs=`[object Boolean]`,zs=`[object Date]`,Bs=`[object Map]`,Vs=`[object Number]`,Hs=`[object RegExp]`,Us=`[object Set]`,Ws=`[object String]`,Gs=`[object Symbol]`,Ks=`[object ArrayBuffer]`,qs=`[object DataView]`,Js=`[object Float32Array]`,Ys=`[object Float64Array]`,Xs=`[object Int8Array]`,Zs=`[object Int16Array]`,Qs=`[object Int32Array]`,$s=`[object Uint8Array]`,ec=`[object Uint8ClampedArray]`,tc=`[object Uint16Array]`,nc=`[object Uint32Array]`;function rc(e,t,n){var r=e.constructor;switch(t){case Ks:return As(e);case Rs:case zs:return new r(+e);case qs:return js(e,n);case Js:case Ys:case Xs:case Zs:case Qs:case $s:case ec:case tc:case nc:return Ls(e,n);case Bs:return new r;case Vs:case Ws:return new r(e);case Hs:return Ns(e);case Us:return new r;case Gs:return Is(e)}}var ic=Object.create,ac=function(){function e(){}return function(t){if(!oi(t))return{};if(ic)return ic(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function oc(e){return typeof e.constructor==`function`&&!No(e)?ac(is(e)):{}}var sc=`[object Map]`;function cc(e){return Dn(e)&&Es(e)==sc}var lc=Do&&Do.isMap,uc=lc?Co(lc):cc,dc=`[object Set]`;function fc(e){return Dn(e)&&Es(e)==dc}var pc=Do&&Do.isSet,mc=pc?Co(pc):fc,hc=1,gc=2,_c=4,vc=`[object Arguments]`,yc=`[object Array]`,bc=`[object Boolean]`,xc=`[object Date]`,Sc=`[object Error]`,Cc=`[object Function]`,wc=`[object GeneratorFunction]`,Tc=`[object Map]`,Ec=`[object Number]`,Dc=`[object Object]`,Oc=`[object RegExp]`,kc=`[object Set]`,Ac=`[object String]`,jc=`[object Symbol]`,Mc=`[object WeakMap]`,Nc=`[object ArrayBuffer]`,Pc=`[object DataView]`,Fc=`[object Float32Array]`,Ic=`[object Float64Array
1]`,Lc=`[object Int8Array]`,Rc=`[object Int16Array]`,zc=`[object Int32Array]`,Bc=`[object Uint8Array]`,Vc=`[object Uint8ClampedArray]`,Hc=`[object Uint16Array]`,Uc=`[object Uint32Array]`,Wc={};Wc[vc]=Wc[yc]=Wc[Nc]=Wc[Pc]=Wc[bc]=Wc[xc]=Wc[Fc]=Wc[Ic]=Wc[Lc]=Wc[Rc]=Wc[zc]=Wc[Tc]=Wc[Ec]=Wc[Dc]=Wc[Oc]=Wc[kc]=Wc[Ac]=Wc[jc]=Wc[Bc]=Wc[Vc]=Wc[Hc]=Wc[Uc]=!0,Wc[Sc]=Wc[Cc]=Wc[Mc]=!1;function Gc(e,t,n,r,i,a){var o,s=t&hc,c=t&gc,l=t&_c;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!oi(e))return e;var u=hn(e);if(u){if(o=Os(e),!s)return Xo(e,o)}else{var d=Es(e),f=d==Cc||d==wc;if(Ya(e))return Yo(e,s);if(d==Dc||d==vc||f&&!i){if(o=c||f?{}:oc(e),!s)return c?os(e,Wo(o,e)):ns(e,zo(o,e))}else{if(!Wc[d])return i?e:{};o=rc(e,d,s)}}a||(a=new ja);var p=a.get(e);if(p)return p;a.set(e,o),mc(e)?e.forEach(function(r){o.add(Gc(r,t,n,r,e,a))}):uc(e)&&e.forEach(function(r,i){o.set(i,Gc(r,t,n,i,e,a))});var m=u?void 0:(l?c?ls:cs:c?Uo:Ro)(e);return Ma(m||e,function(r,i){m&&(i=r,r=e[i]),Ia(o,i,Gc(r,t,n,i,e,a))}),o}var Kc=4;function qc(e){return Gc(e,Kc)}var Jc=1,Yc=4;function Xc(e){return Gc(e,Jc|Yc)}var Zc=function(){return fn.Date.now()},Qc=`Expected a function`,$c=Math.max,el=Math.min;function tl(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Qc);t=Oi(t)||0,oi(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?$c(Oi(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?el(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Zc();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Zc())}function x(){var e=Zc(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var nl=`__lodash_hash_undefined__`;function rl(e){return this.__data__.set(e,nl),this}function il(e){return this.__data__.has(e)}function al(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Oa;++t<n;)this.add(e[t])}al.prototype.add=al.prototype.push=rl,al.prototype.has=il;function ol(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function sl(e){return e!==e}function cl(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function ll(e,t,n){return t===t?cl(e,t,n):ol(e,sl,n)}function ul(e,t){return!!(e!=null&&e.length)&&ll(e,t,0)>-1}function dl(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function fl(e,t){return e.has(t)}var pl=200;function ml(e,t,n,r){var i=-1,a=ul,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=mn(t,Co(n))),r?(a=dl,o=!1):t.length>=pl&&(a=fl,o=!1,t=new al(t));outer:for(;++i<s;){var u=e[i],d=n==null?u:n(u);if(u=r||u!==0?u:0,o&&d===d){for(var f=l;f--;)if(t[f]===d)continue outer;c.push(u)}else a(t,d,r)||c.push(u)}return c}var hl=pn?pn.isConcatSpreadable:void 0;function gl(e){return hn(e)||Wa(e)||!!(hl&&e&&e[hl])}function _l(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=gl),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?_l(s,t-1,n,r,i):rs(i,s):r||(i[i.length]=s)}return i}function vl(e){return e}function yl(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var bl=Math.max;function xl(e,t,n){return t=bl(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=bl(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),yl(e,this,s)}}function Sl(e){return function(){return e}}var Cl=Na?function(e,t){return Na(e,`toString`,{configurable:!0,enumerable:!1,value:Sl(t),writable:!0})}:vl,wl=800,Tl=16,El=Date.now;function Dl(e){var t=0,n=0;return function(){var r=El(),i=Tl-(r-n);if(n=r,i>0){if(++t>=wl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ol=Dl(Cl);function kl(e,t){return Ol(xl(e,t,vl),e+``)}function Al(e){return Dn(e)&&mi(e)}var jl=kl(function(e,t){return Al(e)?ml(e,_l(t,1,Al,!0)):[]});function Ml(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Nl=1,Pl=2;function Fl(e,t,n,r,i,a){var o=n&Nl,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Pl?new al:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}
vendor: 3,978 bytes, line 1
1if(p){if(!Ml(t,function(e,t){if(!fl(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function Il(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Ll(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Rl=1,zl=2,Bl=`[object Boolean]`,Vl=`[object Date]`,Hl=`[object Error]`,Ul=`[object Map]`,Wl=`[object Number]`,Gl=`[object RegExp]`,Kl=`[object Set]`,ql=`[object String]`,Jl=`[object Symbol]`,Yl=`[object ArrayBuffer]`,Xl=`[object DataView]`,Zl=pn?pn.prototype:void 0,Ql=Zl?Zl.valueOf:void 0;function $l(e,t,n,r,i,a,o){switch(n){case Xl:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Yl:return!(e.byteLength!=t.byteLength||!a(new ks(e),new ks(t)));case Bl:case Vl:case Wl:return ai(+e,+t);case Hl:return e.name==t.name&&e.message==t.message;case Gl:case ql:return e==t+``;case Ul:var s=Il;case Kl:var c=r&Rl;if(s||(s=Ll),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=zl,o.set(e,t);var u=Fl(s(e),s(t),r,i,a,o);return o.delete(e),u;case Jl:if(Ql)return Ql.call(e)==Ql.call(t)}return!1}var eu=1,tu=Object.prototype.hasOwnProperty;function nu(e,t,n,r,i,a){var o=n&eu,s=cs(e),c=s.length;if(c!=cs(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:tu.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||(m=u==`constructor`)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var ru=1,iu=`[object Arguments]`,au=`[object Array]`,ou=`[object Object]`,su=Object.prototype.hasOwnProperty;function cu(e,t,n,r,i,a){var o=hn(e),s=hn(t),c=o?au:Es(e),l=s?au:Es(t);c=c==iu?ou:c,l=l==iu?ou:l;var u=c==ou,d=l==ou,f=c==l;if(f&&Ya(e)){if(!Ya(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new ja),o||ko(e)?Fl(e,t,n,r,i,a):$l(e,t,c,n,r,i,a);if(!(n&ru)){var p=u&&su.call(e,`__wrapped__`),m=d&&su.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||(a=new ja),i(h,g,n,r,a)}}return f?(a||(a=new ja),nu(e,t,n,r,i,a)):!1}function lu(e,t,n,r,i){return e===t?!0:e==null||t==null||!Dn(e)&&!Dn(t)?e!==e&&t!==t:cu(e,t,n,r,lu,i)}var uu=1,du=2;function fu(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new ja;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?lu(u,l,uu|du,r,d):f))return!1}}return!0}function pu(e){return e===e&&!oi(e)}function mu(e){for(var t=Ro(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,pu(i)]}return t}function hu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function gu(e){var t=mu(e);return t.length==1&&t[0][2]?hu(t[0][0],t[0][1]):function(n){return n===e||fu(n,e,t)}}var _u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vu=/^\w*$/;function yu(e,t){if(hn(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||kn(e)?!0:vu.test(e)||!_u.test(e)||t!=null&&e in Object(t)}var bu=`Expected a function`;function xu(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(bu);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(xu.Cache||Oa),n}xu.Cache=Oa;var Su=500;function Cu(e){var t=xu(e,function(e){return n.size===Su&&n.clear(),e}),n=t.cache;return t}var wu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tu=/\\(\\)?/g,Eu=Cu(function(e){var t=[];
1return e.charCodeAt(0)===46&&t.push(``),e.replace(wu,function(e,n,r,i){t.push(r?i.replace(Tu,`$1`):n||e)}),t});function Du(e,t){return hn(e)?e:yu(e,t)?[e]:Eu(Pn(e))}var Ou=1/0;function ku(e){if(typeof e==`string`||kn(e))return e;var t=e+``;return t==`0`&&1/e==-Ou?`-0`:t}function Au(e,t){t=Du(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ku(t[n++])];return n&&n==r?e:void 0}function ju(e,t,n){var r=e==null?void 0:Au(e,t);return r===void 0?n:r}function Mu(e,t){return e!=null&&t in Object(e)}function Nu(e,t,n){t=Du(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=ku(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&pi(i)&&_i(o,i)&&(hn(e)||Wa(e)))}function Pu(e,t){return e!=null&&Nu(e,t,Mu)}var Fu=1,Iu=2;function Lu(e,t){return yu(e)&&pu(t)?hu(ku(e),t):function(n){var r=ju(n,e);return r===void 0&&r===t?Pu(n,e):lu(t,r,Fu|Iu)}}function Ru(e){return function(t){return t?.[e]}}function zu(e){return function(t){return Au(t,e)}}function Bu(e){return yu(e)?Ru(ku(e)):zu(e)}function Vu(e){return typeof e==`function`?e:e==null?vl:typeof e==`object`?hn(e)?Lu(e[0],e[1]):gu(e):Bu(e)}function Hu(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Uu=kl(function(e,t){var n=Hu(t);return Al(n)&&(n=void 0),Al(e)?ml(e,_l(t,1,Al,!0),Vu(n,2)):[]});function Wu(e){return e!=null&&e.length?_l(e,1):[]}function Gu(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Ku(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var qu=Ku();function Ju(e,t){return e&&qu(e,t,Ro)}function Yu(e,t){return function(n,r){if(n==null)return n;if(!mi(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var Xu=Yu(Ju);function Zu(e,t,n,r){return Xu(e,function(e,i,a){t(r,e,n(e),a)}),r}function Qu(e,t){return function(n,r){var i=hn(n)?Gu:Zu,a=t?t():{};return i(n,e,Vu(r,2),a)}}var $u=Object.prototype.hasOwnProperty,ed=Qu(function(e,t,n){$u.call(e,n)?e[n].push(t):Pa(e,n,[t])});function td(e){return e!=null&&e.length?Fn(e,0,-1):[]}var nd=Math.min;function rd(e,t,n){for(var r=n?dl:ul,i=e[0].length,a=e.length,o=a,s=Array(a),c=1/0,l=[];o--;){var u=e[o];o&&t&&(u=mn(u,Co(t))),c=nd(u.length,c),s[o]=!n&&(t||i>=120&&u.length>=120)?new al(o&&u):void 0}u=e[0];var d=-1,f=s[0];outer:for(;++d<i&&l.length<c;){var p=u[d],m=t?t(p):p;if(p=n||p!==0?p:0,!(f?fl(f,m):r(l,m,n))){for(o=a;--o;){var h=s[o];if(!(h?fl(h,m):r(e[o],m,n)))continue outer}
1f&&f.push(m),l.push(p)}}return l}function id(e){return Al(e)?e:[]}var ad=kl(function(e){var t=mn(e,id);return t.length&&t[0]===e[0]?rd(t):[]});function od(e,t,n,r){return Ju(e,function(e,i,a){t(r,n(e),i,a)}),r}function sd(e,t){return function(n,r){return od(n,e,t(r),{})}}var cd=Object.prototype.toString,ld=sd(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=cd.call(t)),e[t]=n},Sl(vl)),ud=`[object Boolean]`;function dd(e){return e===!0||e===!1||Dn(e)&&En(e)==ud}var fd=`[object Map]`,pd=`[object Set]`,md=Object.prototype.hasOwnProperty;function hd(e){if(e==null)return!0;if(mi(e)&&(hn(e)||typeof e==`string`||typeof e.splice==`function`||Ya(e)||ko(e)||Wa(e)))return!e.length;var t=Es(e);if(t==fd||t==pd)return!e.size;if(No(e))return!Lo(e).length;for(var n in e)if(md.call(e,n))return!1;return!0}function gd(e,t){return lu(e,t)}function _d(e,t,n){n=typeof n==`function`?n:void 0;var r=n?n(e,t):void 0;return r===void 0?lu(e,t,void 0,n):!!r}var vd=fn.isFinite;function yd(e){return typeof e==`number`&&vd(e)}function bd(e){return typeof e==`number`&&e==Mi(e)}function xd(e,t){return e===t||fu(e,t,mu(t))}function Sd(e){return e==null}function Cd(e){return e===null}var wd=`[object Number]`;function Td(e){return typeof e==`number`||Dn(e)&&En(e)==wd}var Ed=`[object Object]`,Dd=Function.prototype,Od=Object.prototype,kd=Dd.toString,Ad=Od.hasOwnProperty,jd=kd.call(Object);function Md(e){if(!Dn(e)||En(e)!=Ed)return!1;var t=is(e);if(t===null)return!0;var n=Ad.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&kd.call(n)==jd}var Nd=`[object String]`;function Pd(e){return typeof e==`string`||!hn(e)&&Dn(e)&&En(e)==Nd}function Fd(e){return e===void 0}var Id=ri(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),Ld=ri(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),Rd=ar(`toLowerCase`);function zd(e,t){var n={};return t=Vu(t,3),Ju(e,function(e,r,i){Pa(n,r,t(e,r,i))}),n}function Bd(e,t,n){(n!==void 0&&!ai(e[t],n)||n===void 0&&!(t in e))&&Pa(e,t,n)}function Vd(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}function Hd(e){return La(e,Uo(e))}function Ud(e,t,n,r,i,a,o){var s=Vd(e,n),c=Vd(t,n),l=o.get(c);if(l){Bd(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=hn(c),p=!f&&Ya(c),m=!f&&!p&&ko(c);u=c,f||p||m?hn(s)?u=s:Al(s)?u=Xo(s):p?(d=!1,u=Yo(c,!0)):m?(d=!1,u=Ls(c,!0)):u=[]:Md(c)||Wa(c)?(u=s,Wa(s)?u=Hd(s):(!oi(s)||di(s))&&(u=oc(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),Bd(e,n,u)}function Wd(e,t,n,r,i){e!==t&&qu(t,function(a,o){if(i||(i=new ja),oi(a))Ud(e,t,o,n,Wd,r,i);else{var s=r?r(Vd(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),Bd(e,o,s)}},Uo)}function Gd(e){return kl(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&vi(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var Kd=Gd(function(e,t,n){Wd(e,t,n)}),qd=Gd(function(e,t,n,r){Wd(e,t,n,r)});function Jd(){}function Yd(e,t){return t.length<2?e:Au(e,Fn(t,0,-1))}var Xd=Object.prototype.hasOwnProperty;function Zd(e,t){t=Du(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var i=ku(t[n]);if(i===`__proto__`&&!Xd.call(e,`__proto__`)||(i===`constructor`||i===`prototype`)&&n<r-1)return!1}var a=Yd(e,t);return a==null||delete a[ku(Hu(t))]}function Qd(e){return Md(e)?void 0:e}function $d(e){return Ol(xl(e,void 0,Wu),e+``)}var ef=1,tf=2,nf=4,rf=$d(function(e,t){var n={};if(e==null)return n;var r=!1;t=mn(t,function(t){return t=Du(t,e),r||(r=t.length>1),t}),La(e,ls(e),n),r&&(n=Gc(n,ef|tf|nf,Qd));for(var i=t.length;i--;)Zd(n,t[i]);return n}),af=`Expected a function`;function of(e){if(typeof e!=`function`)throw TypeError(af);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function sf(e,t,n,r){if(!oi(e))return e;t=Du(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var c=ku(t[i]),l=n;if(c===`__proto__`||c===`constructor`||c===`prototype`)return e;if(i!=o){var u=s[c];l=r?r(u,c,s):void 0,l===void 0&&(l=oi(u)?u:_i(t[i+1])?[]:{})}Ia(s,c,l),s=s[c]}return e}function cf(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Au(e,o);n(s,o)&&sf(a,Du(o,e),s)}return a}function lf(e,t){if(e==null)return{};var n=mn(ls(e),function(e){return[e]});return t=Vu(t),cf(e,n,function(e,n){return t(e,n[0])})}function uf(e,t){return lf(e,of(Vu(t)))}var df=`Expected a function`;function ff(e,t){var n;if(typeof t!=`function`)throw TypeError(df);return e=Mi(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function pf(e){return ff(2,e)}function mf(e,t){return cf(e,t,function(t,n){return Pu(e,n)})}var hf=$d(function(e,t){return e==null?{}:mf(e,t)}),gf=Math.floor,_f=Math.random;function vf(e,t){return e+gf(_f()*(t-e+1))}
1var yf=parseFloat,bf=Math.min,xf=Math.random;function Sf(e,t,n){if(n&&typeof n!=`boolean`&&vi(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t==`boolean`?(n=t,t=void 0):typeof e==`boolean`&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=ji(e),t===void 0?(t=e,e=0):t=ji(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=xf();return bf(e+i*(t-e+yf(`1e-`+((i+``).length-1))),t)}return vf(e,t)}var Cf=Math.ceil,wf=Math.max;function Tf(e,t,n,r){for(var i=-1,a=wf(Cf((t-e)/(n||1)),0),o=Array(a);a--;)o[r?a:++i]=e,e+=n;return o}function Ef(e){return function(t,n,r){return r&&typeof r!=`number`&&vi(t,n,r)&&(n=r=void 0),t=ji(t),n===void 0?(n=t,t=0):n=ji(n),r=r===void 0?t<n?1:-1:ji(r),Tf(t,n,r,e)}}var Df=Ef();function Of(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function kf(e,t,n){var r=hn(e)?cr:Of,i=arguments.length<3;return r(e,Vu(t,4),n,i,Xu)}var Af=fn.isFinite,jf=Math.min;function Mf(e){var t=Math[e];return function(e,n){if(e=Oi(e),n=n==null?0:jf(Mi(n),292),n&&Af(e)){var r=(Pn(e)+`e`).split(`e`);return r=(Pn(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var Nf=Mf(`round`);function Pf(e,t,n){return e==null?e:sf(e,t,n)}var Ff=ri(function(e,t,n){return e+(n?` `:``)+or(t)}),If=`Expected a function`;function Lf(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(If);return oi(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),tl(e,t,{leading:r,maxWait:t,trailing:i})}function Rf(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function zf(e,t){return mn(t,function(t){return e[t]})}function Bf(e){return e==null?[]:zf(e,Ro(e))}var Vf=`[object Map]`,Hf=`[object Set]`,Uf=pn?pn.iterator:void 0;function Wf(e){if(!e)return[];if(mi(e))return Pd(e)?ir(e):Xo(e);if(Uf&&e[Uf])return Rf(e[Uf]());var t=Es(e);return(t==Vf?Il:t==Hf?Ll:Bf)(e)}function Gf(e){return Pn(e).toLowerCase()}function Kf(e,t){return mn(t,function(t){return[t,e[t]]})}function qf(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}var Jf=`[object Map]`,Yf=`[object Set]`;function Xf(e){return function(t){var n=Es(t);return n==Jf?Il(t):n==Yf?qf(t):Kf(t,e(t))}}var Zf=Xf(Ro);function Qf(e,t){for(var n=e.length;n--&&ll(t,e[n],0)>-1;);return n}function $f(e,t){for(var n=-1,r=e.length;++n<r&&ll(t,e[n],0)>-1;);return n}function ep(e,t,n){if(e=Pn(e),e&&(n||t===void 0))return Si(e);if(!e||!(t=Nn(t)))return e;var r=ir(e),i=ir(t);return In(r,$f(r,i),Qf(r,i)+1).join(``)}var tp=`[object RegExp]`;function np(e){return Dn(e)&&En(e)==tp}var rp=Do&&Do.isRegExp,ip=rp?Co(rp):np,ap=Ru(`length`),op=`\\ud800-\\udfff`,sp=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,cp=`\\ufe0e\\ufe0f`,lp=`[`+op+`]`,up=`[`+sp+`]`,dp=`\\ud83c[\\udffb-\\udfff]`,fp=`(?:`+up+`|`+dp+`)`,pp=`[^`+op+`]`,mp=`(?:\\ud83c[\\udde6-\\uddff]){2}`,hp=`[\\ud800-\\udbff][\\udc00-\\udfff]`,gp=`\\u200d`,_p=fp+`?`,vp=`[`+cp+`]?`,yp=`(?:`+gp+`(?:`+[pp,mp,hp].join(`|`)+`)`+vp+_p+`)*`,bp=vp+_p+yp,xp=`(?:`+[pp+up+`?`,up,mp,hp,lp].join(`|`)+`)`,Sp=RegExp(dp+`(?=`+dp+`)|`+xp+bp,`g`);function Cp(e){for(var t=Sp.lastIndex=0;Sp.test(e);)++t;return t}function wp(e){return Rn(e)?Cp(e):ap(e)}var Tp=30,Ep=`...`,Dp=/\w*$/;function Op(e,t){var n=Tp,r=Ep;if(oi(t)){var i=`separator`in t?t.separator:i;n=`length`in t?Mi(t.length):n,r=`omission`in t?Nn(t.omission):r}e=Pn(e);var a=e.length;if(Rn(e)){var o=ir(e);a=o.length}if(n>=a)return e;var s=n-wp(r);if(s<1)return r;var c=o?In(o,0,s).join(``):e.slice(0,s);if(i===void 0)return c+r;if(o&&(s+=c.length-s),ip(i)){if(e.slice(s).search(i)){var l,u=c;for(i.global||(i=RegExp(i.source,Pn(Dp.exec(i))+`g`)),i.lastIndex=0;l=i.exec(u);)var d=l.index;c=c.slice(0,d===void 0?s:d)}}else if(e.indexOf(Nn(i),s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}var kp=fs&&1/Ll(new fs([,-0]))[1]==1/0?function(e){return new fs(e)}:Jd,Ap=200;
1function jp(e,t,n){var r=-1,i=ul,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=dl;else if(a>=Ap){var l=t?null:kp(e);if(l)return Ll(l);o=!1,i=fl,c=new al}else c=t?[]:s;outer:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue outer;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}function Mp(e){return e&&e.length?jp(e):[]}function Np(e,t){return e&&e.length?jp(e,Vu(t,2)):[]}function Pp(e,t,n){var r=e.length;if(r<2)return r?jp(e[0]):[];for(var i=-1,a=Array(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=ml(a[i]||o,e[s],t,n));return jp(_l(a,1),t,n)}var Fp=kl(function(e){return Pp(Zo(e,Al))});qe();function Ip(e,t,n){return Reflect.getOwnMetadata(t,e,n)}function Lp(e,t,n,r){Reflect.defineMetadata(t,n,e,r)}function Rp(e,t,n,r,i){let a=r(Ip(e,t,i)??n());Reflect.defineMetadata(t,a,e,i)}function zp(e){return Object.getPrototypeOf(e.prototype)?.constructor}Le();function Bp(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function V(e,t,n){Bp(e,t),t.set(e,n)}function H(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function U(e,t,n){return e.set(H(e,t),n),n}function W(e,t){return e.get(H(e,t))}function Vp(e){return(typeof e==`object`&&!!e||typeof e==`function`)&&typeof e.then==`function`}function Hp(e){switch(typeof e){case`string`:case`symbol`:return e.toString();case`function`:return e.name;default:throw Error(`Unexpected ${typeof e} service id type`)}}var Up=Symbol.for(`@inversifyjs/common/islazyServiceIdentifier`),Wp=new WeakMap,Gp=class{constructor(e){ke(this,Up,void 0),V(this,Wp,void 0),U(Wp,this,e),this[Up]=!0}static is(e){return typeof e==`object`&&!!e&&!0===e[Up]}unwrap(){return W(Wp,this).call(this)}};function Kp(e,t){Bp(e,t),t.add(e)}Le();var qp,Jp,Yp=`@inversifyjs/container/bindingId`;function Xp(){let e=Ip(Object,Yp)??0;return e===2**53-1?Lp(Object,Yp,-(2**53-1)):Rp(Object,Yp,()=>e,e=>e+1),e}var Zp={Request:`Request`,Singleton:`Singleton`,Transient:`Transient`},Qp={ConstantValue:`ConstantValue`,DynamicValue:`DynamicValue`,Factory:`Factory`,Instance:`Instance`,Provider:`Provider`,ResolvedValue:`ResolvedValue`,ServiceRedirection:`ServiceRedirection`};function*$p(...e){for(let t of e)yield*t}var em=new WeakMap,tm=new WeakMap,nm=new WeakMap,rm=new WeakSet,im=class e{constructor(e){Kp(this,rm),V(this,em,void 0),V(this,tm,void 0),V(this,nm,void 0),U(em,this,new Map),U(tm,this,{});for(let t of Reflect.ownKeys(e))W(tm,this)[t]=new Map;U(nm,this,e)}add(e,t){H(rm,this,sm).call(this,e).push(t);for(let n of Reflect.ownKeys(t))H(rm,this,cm).call(this,n,t[n]).push(e)}clone(){let e=H(rm,this,am).call(this),t=H(rm,this,om).call(this),n=Reflect.ownKeys(W(nm,this)),r=this._buildNewInstance(W(nm,this));H(rm,this,fm).call(this,W(em,this),W(em,r),e,t);for(let t of n)H(rm,this,dm).call(this,W(tm,this)[t],W(tm,r)[t],e);return r}get(e,t){return W(tm,this)[e].get(t)}getAllKeys(e){return W(tm,this)[e].keys()}removeByRelation(e,t){let n=this.get(e,t);if(n===void 0)return;let r=new Set(n);for(let n of r){let r=W(em,this).get(n);if(r===void 0)throw Error(`Expecting model relation, none found`);for(let i of r)i[e]===t&&H(rm,this,pm).call(this,n,i);W(em,this).delete(n)}}_buildNewInstance(t){return new e(t)}_cloneModel(e){return e}_cloneRelation(e){return e}};function am(){let e=new Map;for(let t of W(em,this).keys()){let n=this._cloneModel(t);e.set(t,n)}return e}function om(){let e=new Map;for(let t of W(em,this).values())for(let n of t){let t=this._cloneRelation(n);e.set(n,t)}return e}function sm(e){let t=W(em,this).get(e);return t===void 0&&(t=[],W(em,this).set(e,t)),t}function cm(e,t){let n=W(tm,this)[e].get(t);return n===void 0&&(n=[],W(tm,this)[e].set(t,n)),n}function lm(e,t){let n=t.get(e);if(n===void 0)throw Error(`Expecting model to be cloned, none found`);return n}function um(e,t){let n=t.get(e);if(n===void 0)throw Error(`Expecting relation to be cloned, none found`);return n}function dm(e,t,n){for(let[r,i]of e){let e=[];for(let t of i)e.push(H(rm,this,lm).call(this,t,n));t.set(r,e)}}function fm(e,t,n,r){for(let[i,a]of e){let e=[];
1for(let t of a)e.push(H(rm,this,um).call(this,t,r));t.set(H(rm,this,lm).call(this,i,n),e)}}function pm(e,t){for(let n of Reflect.ownKeys(t))H(rm,this,mm).call(this,e,n,t[n])}function mm(e,t,n){let r=W(tm,this)[t].get(n);if(r!==void 0){let i=r.indexOf(e);i!==-1&&r.splice(i,1),r.length===0&&W(tm,this)[t].delete(n)}}var hm;(function(e){e.moduleId=`moduleId`,e.serviceId=`serviceId`})(hm||(hm={}));var gm=new WeakMap,_m=new WeakMap,vm=class e{constructor(e,t){V(this,gm,void 0),V(this,_m,void 0),U(gm,this,t??new im({moduleId:{isOptional:!0},serviceId:{isOptional:!1}})),U(_m,this,e)}static build(t){return new e(t)}add(e,t){W(gm,this).add(e,t)}clone(){return new e(W(_m,this),W(gm,this).clone())}get(e){let t=[],n=W(gm,this).get(hm.serviceId,e);n!==void 0&&t.push(n);let r=W(_m,this).call(this)?.get(e);if(r!==void 0&&t.push(r),t.length!==0)return $p(...t)}removeAllByModuleId(e){W(gm,this).removeByRelation(hm.moduleId,e)}removeAllByServiceId(e){W(gm,this).removeByRelation(hm.serviceId,e)}},ym=`@inversifyjs/core/classMetadataReflectKey`;function bm(){return{constructorArguments:[],lifecycle:{postConstructMethodNames:new Set,preDestroyMethodNames:new Set},properties:new Map,scope:void 0}}var xm=`@inversifyjs/core/pendingClassMetadataCountReflectKey`,Sm=Symbol.for(`@inversifyjs/core/InversifyCoreError`),Cm=class e extends Error{constructor(e,t,n){((...e)=>(super(...e),ke(this,Sm,void 0),ke(this,`kind`,void 0),this))(t,n),this[Sm]=!0,this.kind=e}static is(e){return typeof e==`object`&&!!e&&!0===e[Sm]}static isErrorOfKind(t,n){return e.is(t)&&t.kind===n}},wm,Tm,Em,Dm,Om;function km(e){let t=Ip(e,ym)??bm();if(!function(e){let t=Ip(e,xm);return t!==void 0&&t!==0}(e))return function(e,t){let n=[];if(t.length<e.length)throw new Cm(wm.missingInjectionDecorator,`Found unexpected missing metadata on type "${e.name}". "${e.name}" constructor requires at least ${e.length.toString()} arguments, found ${t.length.toString()} instead.\nAre you using @inject, @multiInject or @unmanaged decorators in every non optional constructor argument?\n\nIf you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`);for(let e=0;e<t.length;++e)t[e]===void 0&&n.push(e);if(n.length>0)throw new Cm(wm.missingInjectionDecorator,`Found unexpected missing metadata on type "${e.name}" at constructor indexes "${n.join(`", "`)}".\n\nAre you using @inject, @multiInject or @unmanaged decorators at those indexes?\n\nIf you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`)}(e,t.constructorArguments),t;(function(e,t){let n=[];for(let r=0;r<t.constructorArguments.length;++r){let i=t.constructorArguments[r];i!==void 0&&i.kind!==Tm.unknown||n.push(`  - Missing or incomplete metadata for type "${e.name}" at constructor argument with index ${r.toString()}.\nEvery constructor parameter must be decorated either with @inject, @multiInject or @unmanaged decorator.`)}for(let[r,i]of t.properties)i.kind===Tm.unknown&&n.push(`  - Missing or incomplete metadata for type "${e.name}" at property "${r.toString()}".\nThis property must be decorated either with @inject or @multiInject decorator.`);throw n.length===0?new Cm(wm.unknown,`Unexpected class metadata for type "${e.name}" with uncompletion traces.\nThis might be caused by one of the following reasons:\n\n1. A third party library is targeting inversify reflection metadata.\n2. A bug is causing the issue. Consider submiting an issue to fix it.`):new Cm(wm.missingInjectionDecorator,`Invalid class metadata at type ${e.name}:\n\n${n.join(`
2
3`)}`)})(e,t)}function Am(e,t){let n=km(t).scope??e.scope;return{cache:{isRight:!1,value:void 0},id:Xp(),implementationType:t,isSatisfiedBy:()=>!0,moduleId:void 0,onActivation:void 0,onDeactivation:void 0,scope:n,serviceIdentifier:t,type:Qp.Instance}}function jm(e){return e.isRight?{isRight:!0,value:e.value}:e}function Mm(e){switch(e.type){case Qp.ConstantValue:case Qp.DynamicValue:return function(e){return{cache:jm(e.cache),id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type,value:e.value}}(e);case Qp.Factory:return function(e){return{cache:jm(e.cache),factory:e.factory,id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(e);case Qp.Instance:return function(e){return{cache:jm(e.cache),id:e.id,implementationType:e.implementationType,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(e);case Qp.Provider:return function(e){return{cache:jm(e.cache),id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,provider:e.provider,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(e);case Qp.ResolvedValue:return function(e){return{cache:jm(e.cache),factory:e.factory,id:e.id,isSatisfiedBy:e.isSatisfiedBy,metadata:e.metadata,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(e);case Qp.ServiceRedirection:return function(e){return{id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,serviceIdentifier:e.serviceIdentifier,targetServiceIdentifier:e.targetServiceIdentifier,type:e.type}}(e)}}(function(e){e[e.injectionDecoratorConflict=0]=`injectionDecoratorConflict`,e[e.missingInjectionDecorator=1]=`missingInjectionDecorator`,e[e.planning=2]=`planning`,e[e.resolution=3]=`resolution`,e[e.unknown=4]=`unknown`})(wm||(wm={})),function(e){e[e.unknown=32]=`unknown`}(Tm||(Tm={})),function(e){e.id=`id`,e.moduleId=`moduleId`,e.serviceId=`serviceId`}(Em||(Em={}));var Nm=class e extends im{_buildNewInstance(t){return new e(t)}_cloneModel(e){return Mm(e)}},Pm=new WeakMap,Fm=new WeakMap,Im=new WeakMap,Lm=new WeakSet,Rm=class e{constructor(e,t,n){Kp(this,Lm),V(this,Pm,void 0),V(this,Fm,void 0),V(this,Im,void 0),U(Fm,this,n??new Nm({id:{isOptional:!1},moduleId:{isOptional:!0},serviceId:{isOptional:!1}})),U(Im,this,e),U(Pm,this,t)}static build(t,n){return new e(t,n)}clone(){return new e(W(Im,this),W(Pm,this),W(Fm,this).clone())}get(e){let t=this.getNonParentBindings(e)??W(Im,this).call(this)?.get(e);if(t!==void 0)return t;let n=H(Lm,this,zm).call(this,e);return n===void 0?n:[n]}*getChained(e){let t=this.getNonParentBindings(e);t!==void 0&&(yield*t);let n=W(Im,this).call(this);if(n===void 0){if(t===void 0){let t=H(Lm,this,zm).call(this,e);t!==void 0&&(yield t)}}else yield*n.getChained(e)}getBoundServices(){let e=new Set(W(Fm,this).getAllKeys(Em.serviceId)),t=W(Im,this).call(this);if(t!==void 0)for(let n of t.getBoundServices())e.add(n);return e}getById(e){return W(Fm,this).get(Em.id,e)??W(Im,this).call(this)?.getById(e)}getByModuleId(e){return W(Fm,this).get(Em.moduleId,e)??W(Im,this).call(this)?.getByModuleId(e)}getNonParentBindings(e){return W(Fm,this).get(Em.serviceId,e)}getNonParentBoundServices(){return W(Fm,this).getAllKeys(Em.serviceId)}removeById(e){W(Fm,this).removeByRelation(Em.id,e)}removeAllByModuleId(e){W(Fm,this).removeByRelation(Em.moduleId,e)}removeAllByServiceId(e){W(Fm,this).removeByRelation(Em.serviceId,e)}set(e){let t={[Em.id]:e.id,[Em.serviceId]:e.serviceIdentifier};e.moduleId!==void 0&&(t[Em.moduleId]=e.moduleId),W(Fm,this).add(e,t)}};function zm(e){if(W(Pm,this)===void 0||typeof e!=`function`)return;let t=Am(W(Pm,this),e);return this.set(t),t}(function(e){e.moduleId=`moduleId`,e.serviceId=`serviceId`})(Dm||(Dm={}));var Bm=new WeakMap,Vm=new WeakMap,Hm=class e{constructor(e,t){V(this,Bm,void 0),V(this,Vm,void 0),U(Bm,this,t??new im({moduleId:{isOptional:!0},serviceId:{isOptional:!1}})),U(Vm,this,e)}static build(t){return new e(t)}add(e,t){W(Bm,this).add(e,t)}clone(){return new e(W(Vm,this),W(Bm,this).clone())}get(e){let t=[],n=W(Bm,this).get(Dm.serviceId,e);n!==void 0&&t.push(n);let r=W(Vm,this).call(this)?.get(e);if(r!==void 0&&t.push(r),t.length!==0)return $p(...t)}removeAllByModuleId(e){W(Bm,this).removeByRelation(Dm.moduleId,e)}removeAllByServiceId(e){W(Bm,this).removeByRelation(Dm.serviceId,e)}};function Um(){return 0}function Wm(e){return t=>
3{t!==void 0&&t.kind===Tm.unknown&&Rp(e,xm,Um,e=>e-1)}}function Gm(e,t){return(...n)=>r=>{if(r===void 0)return e(...n);if(r.kind===Om.unmanaged)throw new Cm(wm.injectionDecoratorConflict,`Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found`);return t(r,...n)}}function Km(e){if(e.kind!==Tm.unknown&&!0!==e.isFromTypescriptParamType)throw new Cm(wm.injectionDecoratorConflict,`Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found`)}(function(e){e[e.multipleInjection=0]=`multipleInjection`,e[e.singleInjection=1]=`singleInjection`,e[e.unmanaged=2]=`unmanaged`})(Om||(Om={}));var qm=Gm(function(e,t,n){return e===Om.multipleInjection?{chained:n?.chained??!1,kind:e,name:void 0,optional:!1,tags:new Map,value:t}:{kind:e,name:void 0,optional:!1,tags:new Map,value:t}},function(e,t,n,r){return Km(e),t===Om.multipleInjection?{...e,chained:r?.chained??!1,kind:t,value:n}:{...e,kind:t,value:n}});function Jm(e,t){return n=>{let r=n.properties.get(t);return n.properties.set(t,e(r)),n}}var Ym;function Xm(e,t,n,r){if(Cm.isErrorOfKind(r,wm.injectionDecoratorConflict)){let i=function(e,t,n){if(n===void 0){if(t===void 0)throw new Cm(wm.unknown,`Unexpected undefined property and index values`);return{kind:Ym.property,property:t,targetClass:e.constructor}}
3return typeof n==`number`?{index:n,kind:Ym.parameter,targetClass:e}:{kind:Ym.method,method:t,targetClass:e}}(e,t,n);throw new Cm(wm.injectionDecoratorConflict,`Unexpected injection error.\n\nCause:\n\n${r.message}\n\nDetails\n\n${function(e){switch(e.kind){case Ym.method:return`[class: "${e.targetClass.name}", method: "${e.method.toString()}"]`;case Ym.parameter:return`[class: "${e.targetClass.name}", index: "${e.index.toString()}"]`;case Ym.property:return`[class: "${e.targetClass.name}", property: "${e.property.toString()}"]`}}(i)}`,{cause:r})}throw r}function Zm(e,t){return(n,r,i)=>{try{i===void 0?function(e,t){let n=Qm(e,t);return(e,t)=>{Rp(e.constructor,ym,bm,Jm(n(e),t))}}(e,t)(n,r):typeof i==`number`?function(e,t){let n=Qm(e,t);return(e,t,r)=>{if(!function(e,t){return typeof e==`function`&&t===void 0}(e,t))throw new Cm(wm.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter.\nFound @inject decorator at method "${t?.toString()??``}" at class "${e.constructor.name}"`);Rp(e,ym,bm,function(e,t){return n=>{let r=n.constructorArguments[t];return n.constructorArguments[t]=e(r),n}}(n(e),r))}}(e,t)(n,r,i):function(e,t){let n=Qm(e,t);return(e,t,r)=>{if(!function(e){return e.set!==void 0}(r))throw new Cm(wm.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method.\nFound @inject decorator at method "${t.toString()}" at class "${e.constructor.name}"`);Rp(e.constructor,ym,bm,Jm(n(e),t))}}(e,t)(n,r,i)}catch(e){Xm(n,r,i,e)}}}function Qm(e,t){return n=>{let r=t(n);return t=>(r(t),e(t))}}function $m(e){return Zm(qm(Om.singleInjection,e),Wm)}(function(e){e[e.method=0]=`method`,e[e.parameter=1]=`parameter`,e[e.property=2]=`property`})(Ym||(Ym={}));var eh=`@inversifyjs/core/classIsInjectableFlagReflectKey`,th=[Array,BigInt,Boolean,Function,Number,Object,String];function nh(e){let t=Ip(e,`design:paramtypes`);t!==void 0&&Rp(e,ym,bm,function(e){return t=>(e.forEach((e,n)=>{var r;t.constructorArguments[n]!==void 0||(r=e,th.includes(r))||(t.constructorArguments[n]=function(e){return{isFromTypescriptParamType:!0,kind:Om.singleInjection,name:void 0,optional:!1,tags:new Map,value:e}}(e))}),t)}(t))}function rh(e){return t=>{(function(e){if(Ip(e,eh)!==void 0)throw new Cm(wm.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${e.name}"`);Lp(e,eh,!0)})(t),nh(t),e!==void 0&&Rp(t,ym,bm,t=>({...t,scope:e}))}}function ih(e,t,n){let r;return e.extendConstructorArguments??!0?(r=[...t.constructorArguments],n.constructorArguments.map((e,t)=>{r[t]=e})):r=n.constructorArguments,r}function ah(e,t,n){return e?new Set([...t,...n]):n}function oh(e,t,n){let r=e.lifecycle?.extendPostConstructMethods??!0,i=ah(e.lifecycle?.extendPreDestroyMethods??!0,t.lifecycle.preDestroyMethodNames,n.lifecycle.preDestroyMethodNames);return{postConstructMethodNames:ah(r,t.lifecycle.postConstructMethodNames,n.lifecycle.postConstructMethodNames),preDestroyMethodNames:i}}function sh(e,t,n){let r;return r=e.extendProperties??!0?new Map($p(t.properties,n.properties)):n.properties,r}function ch(e){return t=>{Rp(t,ym,bm,function(e,t){return n=>({constructorArguments:ih(e,t,n),lifecycle:oh(e,t,n),properties:sh(e,t,n),scope:n.scope})}(e,km(e.type)))}}function lh(e){return t=>{let n=zp(t);if(n===void 0)throw new Cm(wm.injectionDecoratorConflict,`Expected base type for type "${t.name}", none found.`);ch({...e,type:n})(t)}}function uh(){return{kind:Om.unmanaged}}var dh=Gm(uh,function(e){if(Km(e),function(e){return e.name!==void 0||e.optional||e.tags.size>0}(e))throw new Cm(wm.injectionDecoratorConflict,`Unexpected injection found. Found @unmanaged injection with additional @named, @optional, @tagged or @targetName injections`);return uh()});function fh(){return Zm(dh(),Wm)}var ph;function mh(e){return e instanceof Error?e instanceof RangeError&&/stack space|call stack|too much recursion/i.test(e.message)||e.name===`InternalError`&&/too much recursion/.test(e.message):!1}function hh(e,t){if(mh(t)){let n=function(e){let t=[...e];return t.length===0?`(No dependency trace)`:t.map(Hp).join(` -> `)}(function(e){let t=new Set;for(let n of e.servicesBranch){if(t.has(n))return[...t,n];t.add(n)}return[...t]}(e));
3throw new Cm(wm.planning,`Circular dependency found: ${n}`,{cause:t})}throw t}(function(e){e[e.multipleInjection=0]=`multipleInjection`,e[e.singleInjection=1]=`singleInjection`})(ph||(ph={}));var gh=Symbol.for(`@inversifyjs/core/LazyPlanServiceNode`),_h=class{constructor(e,t){ke(this,gh,void 0),ke(this,`_serviceIdentifier`,void 0),ke(this,`_serviceNode`,void 0),this[gh]=!0,this._serviceNode=e,this._serviceIdentifier=t}get bindings(){return this._getNode().bindings}get isContextFree(){return this._getNode().isContextFree}get serviceIdentifier(){return this._serviceIdentifier}set bindings(e){this._getNode().bindings=e}set isContextFree(e){this._getNode().isContextFree=e}static is(e){return typeof e==`object`&&!!e&&!0===e[gh]}invalidate(){this._serviceNode=void 0}isExpanded(){return this._serviceNode!==void 0}_getNode(){return this._serviceNode===void 0&&(this._serviceNode=this._buildPlanServiceNode()),this._serviceNode}},vh=new WeakMap,yh=class e{constructor(e){V(this,vh,void 0),U(vh,this,e)}get name(){return W(vh,this).elem.name}get serviceIdentifier(){return W(vh,this).elem.serviceIdentifier}get tags(){return W(vh,this).elem.tags}getAncestor(){if(W(vh,this).elem.getAncestorsCalled=!0,W(vh,this).previous!==void 0)return new e(W(vh,this).previous)}};function bh(e,t,n){let r=n?.customServiceIdentifier??t.serviceIdentifier,i=(!0===n?.chained?[...e.operations.getBindingsChained(r)]:[...e.operations.getBindings(r)??[]]).filter(e=>e.isSatisfiedBy(t));if(i.length===0&&e.autobindOptions!==void 0&&typeof r==`function`){let n=Am(e.autobindOptions,r);e.operations.setBinding(n),n.isSatisfiedBy(t)&&i.push(n)}return i}qp=Symbol.iterator;var xh=class e{constructor(e){ke(this,`last`,void 0),this.last=e}concat(t){return new e({elem:t,previous:this.last})}[qp](){let e=this.last;return{next:()=>{if(e===void 0)return{done:!0,value:void 0};let t=e.elem;return e=e.previous,{done:!1,value:t}}}}};function Sh(e){let t=new Map;return e.rootConstraints.tag!==void 0&&t.set(e.rootConstraints.tag.key,e.rootConstraints.tag.value),new xh({elem:{getAncestorsCalled:!1,name:e.rootConstraints.name,serviceIdentifier:e.rootConstraints.serviceIdentifier,tags:t},previous:void 0})}function Ch(e){return e.redirections!==void 0}function wh(e,t,n,r){let i=n.elem.serviceIdentifier,a=n.previous?.elem.serviceIdentifier;Array.isArray(e)?function(e,t,n,r,i,a){if(e.length!==0){let t=`Ambiguous bindings found for service: "${Hp(a[a.length-1]??n)}".${Oh(a)}\n\nRegistered bindings:\n\n${e.map(e=>function(e){switch(e.type){case Qp.Instance:return`[ type: "${e.type}", serviceIdentifier: "${Hp(e.serviceIdentifier)}", scope: "${e.scope}", implementationType: "${e.implementationType.name}" ]`;case Qp.ServiceRedirection:return`[ type: "${e.type}", serviceIdentifier: "${Hp(e.serviceIdentifier)}", redirection: "${Hp(e.targetServiceIdentifier)}" ]`;default:return`[ type: "${e.type}", serviceIdentifier: "${Hp(e.serviceIdentifier)}", scope: "${e.scope}" ]`}}(e.binding)).join(`
4`)}\n\nTrying to resolve bindings for "${Eh(n,r)}".${Dh(i)}`;throw new Cm(wm.planning,t)}t||Th(n,r,i,a)}(e,t,i,a,n.elem,r):function(e,t,n,r,i,a){e!==void 0||t||Th(n,r,i,a)}(e,t,i,a,n.elem,r)}function Th(e,t,n,r){let i=`No bindings found for service: "${Hp(r[r.length-1]??e)}".\n\nTrying to resolve bindings for "${Eh(e,t)}".${Oh(r)}${Dh(n)}`;throw new Cm(wm.planning,i)}function Eh(e,t){return t===void 0?`${Hp(e)} (Root service)`:Hp(t)}function Dh(e){let t=e.tags.size===0?``:`\n- tags:\n  - ${[...e.tags.keys()].map(e=>e.toString()).join(`
5  - `)}`;return`\n\nBinding constraints:\n- service identifier: ${Hp(e.serviceIdentifier)}\n- name: ${e.name?.toString()??`-`}${t}`}function Oh(e){return e.length===0?``:`\n\n- service redirections:\n  - ${e.map(e=>Hp(e)).join(`
6  - `)}`}function kh(e,t,n,r){if(e.redirections.length===1){let[i]=e.redirections;Ch(i)&&kh(i,t,n,[...r,i.binding.targetServiceIdentifier]);return}wh(e.redirections,t,n,r)}function Ah(e,t,n){if(Array.isArray(e.bindings)&&e.bindings.length===1){let[r]=e.bindings;Ch(r)&&kh(r,t,n,[r.binding.targetServiceIdentifier]);return}wh(e.bindings,t,n,[])}function jh(e){return Gp.is(e)?e.unwrap():e}function Mh(e){return(t,n,r)=>{let i=jh(r.value),a=n.concat({getAncestorsCalled:!1,name:r.name,serviceIdentifier:i,tags:r.tags}),o=new yh(a.last),s=r.kind===Om.multipleInjection&&r.chained,c=bh(t,o,{chained:s}),l=[],u={bindings:l,isContextFree:!0,serviceIdentifier:i};if(l.push(...e(t,a,c,u,s)),u.isContextFree=!a.last.elem.getAncestorsCalled,r.kind===Om.singleInjection){Ah(u,r.optional,a.last);let[e]=l;u.bindings=e}return u}}function Nh(e){return(t,n,r)=>{let i=jh(r.value),a=n.concat({getAncestorsCalled:!1,name:r.name,serviceIdentifier:i,tags:r.tags}),o=new yh(a.last),s=r.kind===ph.multipleInjection&&r.chained,c=bh(t,o,{chained:s}),l=[],u={bindings:l,isContextFree:!0,serviceIdentifier:i};if(l.push(...e(t,a,c,u,s)),u.isContextFree=!a.last.elem.getAncestorsCalled,r.kind===ph.singleInjection){Ah(u,r.optional,a.last);let[e]=l;u.bindings=e}return u}}function Ph(e){let t=function(e){return(t,n,r)=>{let i={binding:n,classMetadata:t.operations.getClassMetadata(n.implementationType),constructorParams:[],propertyParams:new Map};return e({autobindOptions:t.autobindOptions,node:i,operations:t.operations,servicesBranch:t.servicesBranch},r)}}(e),n=function(e){return(t,n,r)=>{let i={binding:n,params:[]};return e({autobindOptions:t.autobindOptions,node:i,operations:t.operations,servicesBranch:t.servicesBranch},r)}}(e),r=(e,r,a,o,s)=>{let c=Ch(o)?o.binding.targetServiceIdentifier:o.serviceIdentifier;e.servicesBranch.push(c);let l=[];for(let o of a)switch(o.type){case Qp.Instance:l.push(t(e,o,r));break;case Qp.ResolvedValue:l.push(n(e,o,r));break;case Qp.ServiceRedirection:{let t=i(e,r,o,s);l.push(t);break}default:l.push({binding:o})}return e.servicesBranch.pop(),l},i=function(e){return(t,n,r,i)=>{let a={binding:r,redirections:[]},o=bh(t,new yh(n.last),{chained:i,customServiceIdentifier:r.targetServiceIdentifier});return a.redirections.push(...e(t,n,o,a,i)),a}}(r);return r}function Fh(e,t,n,r){if(e!==void 0&&(_h.is(n)&&!n.isExpanded()||n.isContextFree)){let r={tree:{root:n}};t.setPlan(e,r)}
6else t.setNonCachedServiceNode(n,r)}var Ih=new WeakMap,Lh=new WeakMap,Rh=new WeakMap,zh=new WeakMap,Bh=class extends _h{constructor(e,t,n,r,i){((...e)=>(super(...e),V(this,Ih,void 0),V(this,Lh,void 0),V(this,Rh,void 0),V(this,zh,void 0),this))(i,jh(r.value)),U(Lh,this,t),U(Ih,this,e),U(Rh,this,n),U(zh,this,r)}_buildPlanServiceNode(){return W(Lh,this).call(this,W(Ih,this),W(Rh,this),W(zh,this))}},Vh=new WeakMap,Hh=new WeakMap,Uh=new WeakMap,Wh=new WeakMap,Gh=class extends _h{constructor(e,t,n,r,i){((...e)=>(super(...e),V(this,Vh,void 0),V(this,Hh,void 0),V(this,Uh,void 0),V(this,Wh,void 0),this))(i,jh(r.value)),U(Vh,this,e),U(Hh,this,t),U(Uh,this,n),U(Wh,this,r)}_buildPlanServiceNode(){return W(Hh,this).call(this,W(Vh,this),W(Uh,this),W(Wh,this))}};function Kh(e,t,n,r){let i=function(e,t){let n=function(e,t){return(n,r,i)=>{if(i.kind===Om.unmanaged)return;let a=function(e){let t;if(e.tags.size===0)t=void 0;else{if(e.tags.size!==1)return;{let[n,r]=e.tags.entries().next().value;t={key:n,value:r}}}let n=Gp.is(e.value)?e.value.unwrap():e.value;return e.kind===Om.multipleInjection?{chained:e.chained,isMultiple:!0,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}:{isMultiple:!1,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}}(i);if(a!==void 0){let e=n.operations.getPlan(a);if(e!==void 0&&e.tree.root.isContextFree)return e.tree.root}let o=new Bh(n,e,r,i,t(n,r,i));return Fh(a,n.operations,o,{bindingConstraintsList:r,chainedBindings:i.kind===Om.multipleInjection&&i.chained,optionalBindings:i.optional}),o}}(e,t);return(e,t,r)=>{let i=t.classMetadata;for(let[a,o]of i.constructorArguments.entries())t.constructorParams[a]=n(e,r,o);for(let[a,o]of i.properties){let i=n(e,r,o);i!==void 0&&t.propertyParams.set(a,i)}return e.node}}(e,n),a=function(e,t){let n=function(e,t){return(n,r,i)=>{let a=function(e){let t;if(e.tags.size===0)t=void 0;else{if(e.tags.size!==1)return;{let[n,r]=e.tags.entries().next().value;t={key:n,value:r}}}let n=Gp.is(e.value)?e.value.unwrap():e.value;return e.kind===ph.multipleInjection?{chained:e.chained,isMultiple:!0,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}:{isMultiple:!1,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}}(i);if(a!==void 0){let e=n.operations.getPlan(a);if(e!==void 0&&e.tree.root.isContextFree)return e.tree.root}let o=new Gh(n,e,r,i,t(n,r,i));return Fh(a,n.operations,o,{bindingConstraintsList:r,chainedBindings:i.kind===ph.multipleInjection&&i.chained,optionalBindings:i.optional}),o}}(e,t);return(e,t,r)=>{let i=t.binding.metadata;for(let[a,o]of i.arguments.entries())t.params[a]=n(e,r,o);return e.node}}(t,r);return(e,t)=>e.node.binding.type===Qp.Instance?i(e,e.node,t):a(e,e.node,t)}var qh=new WeakMap,Jh=class extends _h{constructor(e,t){((...e)=>(super(...e),V(this,qh,void 0),this))(t,t.serviceIdentifier),U(qh,this,e)}_buildPlanServiceNode(){return $h(W(qh,this))}},Yh=Mh(Qh),Xh=Nh(Qh),Zh=Ph(Kh(Yh,Xh,Yh,Xh));function Qh(e,t,n,r,i){return Zh(e,t,n,r,i)}var $h=function(e){return t=>{let n=Sh(t),r=new yh(n.last),i=t.rootConstraints.isMultiple&&t.rootConstraints.chained,a=bh(t,r,{chained:i}),o=[],s={bindings:o,isContextFree:!0,serviceIdentifier:t.rootConstraints.serviceIdentifier};if(o.push(...e(t,n,a,s,i)),s.isContextFree=!n.last.elem.getAncestorsCalled,!t.rootConstraints.isMultiple){Ah(s,t.rootConstraints.isOptional??!1,n.last);let[e]=o;s.bindings=e}return s}}(Zh);function eg(e){try{let t=function(e){return e.rootConstraints.isMultiple?{chained:e.rootConstraints.chained,isMultiple:!0,name:e.rootConstraints.name,optional:e.rootConstraints.isOptional??!1,serviceIdentifier:e.rootConstraints.serviceIdentifier,tag:e.rootConstraints.tag}:{isMultiple:!1,name:e.rootConstraints.name,optional:e.rootConstraints.isOptional??!1,serviceIdentifier:e.rootConstraints.serviceIdentifier,tag:e.rootConstraints.tag}}(e),n=e.operations.getPlan(t);if(n!==void 0)return n;let r={tree:{root:new Jh(e,$h(e))}};return e.operations.setPlan(t,r),r}catch(t){hh(e,t)}}var tg;(function(e){e.bindingAdded=`bindingAdded`,e.bindingRemoved=`bindingRemoved`})(tg||(tg={}));var ng=new WeakMap,rg=new WeakMap,ig=new WeakMap,ag=new WeakSet;Jp=Symbol.iterator;var og=class{constructor(){Kp(this,ag),V(this,ng,void 0),V(this,rg,void 0),V(this,ig,void 0),U(ng,this,[]),U(rg,this,8),U(ig,this,1024)}*[Jp](){let e=0;for(let t of W(ng,this)){let n=t.deref();n===void 0?++e:yield n}W(ng,this).length>=W(rg,this)&&H(ag,this,cg).call(this,e)&&H(ag,this,sg).call(this,e)}push(e){let t=new WeakRef(e);if(W(ng,this).push(t),W(ng,this).length>=W(rg,this)&&W(ng,this).length%W(ig,this)===0){let e=0;for(let t of W(ng,this))t.deref()===void 0&&++e;H(ag,this,cg).call(this,e)&&H(ag,this,sg).call(this,e)}}};function sg(e){let t=Array(W(ng,this).length-e),n=0;for(let e of W(ng,this))e.deref()&&(t[n++]=e);U(ng,this,t)}function cg(e){return e>=.5*W(ng,this).length}var lg=Ph(Kh(Yh,Xh,function(e,t,n){return ug(e,t,n)},function(e,t,n){return dg(e,t,n)})),ug=function(e){let t=Mh(e);return(e,n,r)=>{try{return t(e,n,r)}catch(e){if(Cm.isErrorOfKind(e,wm.planning))return;throw e}}}(lg),dg=function(e){let t=Nh(e);return(e,n,r)=>{try{return t(e,n,r)}catch(e){if(Cm.isErrorOfKind(e,wm.planning))return;throw e}}}(lg);function fg(e,t,n,r,i){if(_h.is(t)&&!t.isExpanded())return{isContextFreeBinding:!0,shouldInvalidateServiceNode:!1};let a=new yh(r.last);return!n.isSatisfiedBy(a)||r.last.elem.getAncestorsCalled?{isContextFreeBinding:!r.last.elem.getAncestorsCalled,shouldInvalidateServiceNode:!1}:function(e,t,n,r,i){let a;try{[a]=lg(e,r,[n],t,i)}catch(e){if(mh(e))return{isContextFreeBinding:!1,shouldInvalidateServiceNode:!0};throw e}return function(e,t){if(Array.isArray(e.bindings))e.bindings.push(t);else{if(e.bindings!==void 0){if(!_h.is(e))throw new Cm(wm.planning,`Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue`);return{isContextFreeBinding:!0,shouldInvalidateServiceNode:!0}}e.bindings=t}return{isContextFreeBinding:!0,shouldInvalidateServiceNode:!1}}(t,a)}(e,t,n,r,i)}function pg(e,t,n,r){if(_h.is(e)&&!e.isExpanded())return{bindingNodeRemoved:void 0,isContextFreeBinding:!0};let i=new yh(n.last);if(!t.isSatisfiedBy(i)||n.last.elem.getAncestorsCalled)return{bindingNodeRemoved:void 0,isContextFreeBinding:!n.last.elem.getAncestorsCalled};let a;if(Array.isArray(e.bindings))e.bindings=e.bindings.filter(e=>e.binding!==t||(a=e,!1));else if(e.bindings?.binding===t)if(a=e.bindings,r)e.bindings=void 0;else{if(!_h.is(e))throw new Cm(wm.planning,`Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue`);
6e.invalidate()}return{bindingNodeRemoved:a,isContextFreeBinding:!0}}var mg=new WeakMap,hg=new WeakMap,gg=new WeakMap,_g=new WeakMap,vg=new WeakMap,yg=new WeakMap,bg=new WeakSet,xg=class{constructor(){Kp(this,bg),V(this,mg,void 0),V(this,hg,void 0),V(this,gg,void 0),V(this,_g,void 0),V(this,vg,void 0),V(this,yg,void 0),U(mg,this,new Map),U(hg,this,H(bg,this,Sg).call(this)),U(gg,this,H(bg,this,Sg).call(this)),U(_g,this,H(bg,this,Sg).call(this)),U(vg,this,H(bg,this,Sg).call(this)),U(yg,this,new og)}clearCache(){for(let e of H(bg,this,Eg).call(this))e.clear();for(let e of W(yg,this))e.clearCache()}get(e){return e.name===void 0?e.tag===void 0?H(bg,this,Tg).call(this,W(hg,this),e).get(e.serviceIdentifier):H(bg,this,Tg).call(this,W(vg,this),e).get(e.serviceIdentifier)?.get(e.tag.key)?.get(e.tag.value):e.tag===void 0?H(bg,this,Tg).call(this,W(gg,this),e).get(e.serviceIdentifier)?.get(e.name):H(bg,this,Tg).call(this,W(_g,this),e).get(e.serviceIdentifier)?.get(e.name)?.get(e.tag.key)?.get(e.tag.value)}invalidateServiceBinding(e){H(bg,this,Pg).call(this,e),H(bg,this,Og).call(this,e),H(bg,this,kg).call(this,e),H(bg,this,Fg).call(this,e),H(bg,this,Ng).call(this,e);for(let t of W(yg,this))t.invalidateServiceBinding(e)}set(e,t){e.name===void 0?e.tag===void 0?H(bg,this,Tg).call(this,W(hg,this),e).set(e.serviceIdentifier,t):H(bg,this,wg).call(this,H(bg,this,wg).call(this,H(bg,this,Tg).call(this,W(vg,this),e),e.serviceIdentifier),e.tag.key).set(e.tag.value,t):e.tag===void 0?H(bg,this,wg).call(this,H(bg,this,Tg).call(this,W(gg,this),e),e.serviceIdentifier).set(e.name,t):H(bg,this,wg).call(this,H(bg,this,wg).call(this,H(bg,this,wg).call(this,H(bg,this,Tg).call(this,W(_g,this),e),e.serviceIdentifier),e.name),e.tag.key).set(e.tag.value,t)}setNonCachedServiceNode(e,t){let n=W(mg,this).get(e.serviceIdentifier);n===void 0&&(n=new Map,W(mg,this).set(e.serviceIdentifier,n)),n.set(e,t)}subscribe(e){W(yg,this).push(e)}};function Sg(){let e=Array(8);for(let t=0;t<e.length;++t)e[t]=new Map;return e}function Cg(e,t,n,r){let i=!!(2&t),a;return a=i?{chained:!!(0&t),isMultiple:i,serviceIdentifier:e.binding.serviceIdentifier}:{isMultiple:i,serviceIdentifier:e.binding.serviceIdentifier},1&t&&(a.isOptional=!0),n!==void 0&&(a.name=n),r!==void 0&&(a.tag=r),{autobindOptions:void 0,operations:e.operations,rootConstraints:a,servicesBranch:[]}}function wg(e,t){let n=e.get(t);return n===void 0&&(n=new Map,e.set(t,n)),n}function Tg(e,t){return e[H(bg,this,Dg).call(this,t)]}function Eg(){return[W(mg,this),...W(hg,this),...W(gg,this),...W(_g,this),...W(vg,this)]}function Dg(e){return e.isMultiple?(e.chained?4:0)|!!e.optional|2:+!!e.optional}function Og(e){for(let[t,n]of W(gg,this).entries()){let r=n.get(e.binding.serviceIdentifier);if(r!==void 0)for(let[n,i]of r.entries())H(bg,this,Ig).call(this,e,i,t,n,void 0)}}function kg(e){for(let[t,n]of W(_g,this).entries()){let r=n.get(e.binding.serviceIdentifier);if(r!==void 0)for(let[n,i]of r.entries())for(let[r,a]of i.entries())for(let[i,o]of a.entries())H(bg,this,Ig).call(this,e,o,t,n,{key:r,value:i})}}function Ag(e){switch(e.binding.type){case Qp.ServiceRedirection:for(let t of e.redirections)H(bg,this,Ag).call(this,t);break;case Qp.Instance:for(let t of e.constructorParams)t!==void 0&&H(bg,this,jg).call(this,t);for(let t of e.propertyParams.values())H(bg,this,jg).call(this,t);break;case Qp.ResolvedValue:for(let t of e.params)H(bg,this,jg).call(this,t)}}function jg(e){let t=W(mg,this).get(e.serviceIdentifier);t!==void 0&&t.has(e)&&(t.delete(e),H(bg,this,Mg).call(this,e))}function Mg(e){if((!_h.is(e)||e.isExpanded())&&e.bindings!==void 0)if(Array.isArray(e.bindings))for(let t of e.bindings)H(bg,this,Ag).call(this,t);else H(bg,this,Ag).call(this,e.bindings)}function Ng(e){let t=W(mg,this).get(e.binding.serviceIdentifier);if(t!==void 0)switch(e.kind){case tg.bindingAdded:for(let[n,r]of t){let t=fg({autobindOptions:void 0,operations:e.operations,servicesBranch:[]},n,e.binding,r.bindingConstraintsList,r.chainedBindings);t.isContextFreeBinding?t.shouldInvalidateServiceNode&&_h.is(n)&&(H(bg,this,Mg).call(this,n),n.invalidate()):this.clearCache()}break;
6case tg.bindingRemoved:for(let[n,r]of t){let t=pg(n,e.binding,r.bindingConstraintsList,r.optionalBindings);t.isContextFreeBinding?t.bindingNodeRemoved!==void 0&&H(bg,this,Ag).call(this,t.bindingNodeRemoved):this.clearCache()}}}function Pg(e){for(let[t,n]of W(hg,this).entries()){let r=n.get(e.binding.serviceIdentifier);H(bg,this,Ig).call(this,e,r,t,void 0,void 0)}}function Fg(e){for(let[t,n]of W(vg,this).entries()){let r=n.get(e.binding.serviceIdentifier);if(r!==void 0)for(let[n,i]of r.entries())for(let[r,a]of i.entries())H(bg,this,Ig).call(this,e,a,t,void 0,{key:n,value:r})}}function Ig(e,t,n,r,i){if(t!==void 0&&_h.is(t.tree.root)){let c=H(bg,this,Cg).call(this,e,n,r,i);switch(e.kind){case tg.bindingAdded:{let n=(a=c,o=t.tree.root,s=e.binding,_h.is(o)&&!o.isExpanded()?{isContextFreeBinding:!0,shouldInvalidateServiceNode:!1}:fg(a,o,s,Sh(a),a.rootConstraints.isMultiple&&a.rootConstraints.chained));n.isContextFreeBinding?n.shouldInvalidateServiceNode&&(H(bg,this,Mg).call(this,t.tree.root),t.tree.root.invalidate()):this.clearCache()}break;case tg.bindingRemoved:{let n=function(e,t,n){return _h.is(t)&&!t.isExpanded()?{bindingNodeRemoved:void 0,isContextFreeBinding:!0}:pg(t,n,Sh(e),e.rootConstraints.isOptional??!1)}(c,t.tree.root,e.binding);n.isContextFreeBinding?n.bindingNodeRemoved!==void 0&&H(bg,this,Ag).call(this,n.bindingNodeRemoved):this.clearCache()}}}var a,o,s}function Lg(e,t){if(mh(t)){let n=function(e){let t=[...e];return t.length===0?`(No dependency trace)`:t.map(Hp).join(` -> `)}(function(e){let t=e.planResult.tree.root,n=[];function r(e){let t=n.indexOf(e);if(t!==-1)return[...n.slice(t),e].map(e=>e.serviceIdentifier);n.push(e);try{for(let t of function(e){let t=[],n=e.bindings;if(n===void 0)return t;let r=e=>{if(Ch(e))for(let t of e.redirections)r(t);else switch(e.binding.type){case Qp.Instance:{let n=e;for(let e of n.constructorParams)e!==void 0&&t.push(e);for(let e of n.propertyParams.values())t.push(e);break}case Qp.ResolvedValue:{let n=e;for(let e of n.params)t.push(e);break}}};if(Array.isArray(n))for(let e of n)r(e);else r(n);return t}(e)){let e=r(t);if(e!==void 0)return e}}finally{n.pop()}}return r(t)??[]}(e));throw new Cm(wm.planning,`Circular dependency found: ${n}`,{cause:t})}throw t}function Rg(e,t){return Vp(t)?(e.cache={isRight:!0,value:t},t.then(t=>zg(e,t))):zg(e,t)}function zg(e,t){return e.cache={isRight:!0,value:t},t}function Bg(e,t,n){let r=e.getActivations(t);return r===void 0?n:Vp(n)?Vg(e,n,r[Symbol.iterator]()):function(e,t,n){let r=t,i=n.next();for(;!0!==i.done;){let t=i.value(e.context,r);if(Vp(t))return Vg(e,t,n);r=t,i=n.next()}return r}(e,n,r[Symbol.iterator]())}async function Vg(e,t,n){let r=await t,i=n.next();for(;!0!==i.done;)r=await i.value(e.context,r),i=n.next();return r}function Hg(e,t,n){let r=n;if(t.onActivation!==void 0){let n=t.onActivation;r=Vp(r)?r.then(t=>n(e.context,t)):n(e.context,r)}return Bg(e,t.serviceIdentifier,r)}function Ug(e){return(t,n)=>n.cache.isRight?n.cache.value:Rg(n,Hg(t,n,e(t,n)))}var Wg=Ug(function(e,t){return t.value});function Gg(e){return e}function Kg(e,t){return(n,r)=>{let i=e(r);switch(i.scope){case Zp.Singleton:return i.cache.isRight?i.cache.value:Rg(i,Hg(n,i,t(n,r)));case Zp.Request:{if(n.requestScopeCache.has(i.id))return n.requestScopeCache.get(i.id);let e=Hg(n,i,t(n,r));return n.requestScopeCache.set(i.id,e),e}case Zp.Transient:return Hg(n,i,t(n,r))}}}var qg=(e=>Kg(Gg,e))(function(e,t){return t.value(e.context)}),Jg=Ug(function(e,t){return t.factory(e.context)});function Yg(e,t,n){let r=function(e,t,n){if(!(n in e))throw new Cm(wm.resolution,`Expecting a "${n.toString()}" property when resolving "${t.implementationType.name}" class @postConstruct decorated method, none found.`);if(typeof e[n]!=`function`)throw new Cm(wm.resolution,`Expecting a "${n.toString()}" method when resolving "${t.implementationType.name}" class @postConstruct decorated method, a non function property was found instead.`);{let r;try{r=e[n]()}catch(e){throw new Cm(wm.resolution,`Unexpected error found when calling "${n.toString()}" @postConstruct decorated method on class "${t.implementationType.n
6ame}"`,{cause:e})}if(Vp(r))return async function(e,t,n){try{await n}catch(n){throw new Cm(wm.resolution,`Unexpected error found when calling "${t.toString()}" @postConstruct decorated method on class "${e.implementationType.name}"`,{cause:n})}}(t,n,r)}}(e,t,n);return Vp(r)?r.then(()=>e):e}function Xg(e,t,n){if(n.size===0)return e;let r=e;for(let e of n)r=Vp(r)?r.then(n=>Yg(n,t,e)):Yg(r,t,e);return r}function Zg(e){return(t,n,r)=>{let i=new r.binding.implementationType(...t),a=e(n,i,r);return Vp(a)?a.then(()=>Xg(i,r.binding,r.classMetadata.lifecycle.postConstructMethodNames)):Xg(i,r.binding,r.classMetadata.lifecycle.postConstructMethodNames)}}var Qg=Ug(function(e,t){return t.provider(e.context)});function $g(e){return e.binding}function e_(e){return e.binding}var t_=function(e){return(t,n,r)=>{let i=[];for(let[a,o]of r.propertyParams){let s=r.classMetadata.properties.get(a);if(s===void 0)throw new Cm(wm.resolution,`Expecting metadata at property "${a.toString()}", none found`);s.kind!==Om.unmanaged&&o.bindings!==void 0&&(n[a]=e(t,o),Vp(n[a])&&i.push((async()=>{n[a]=await n[a]})()))}if(i.length>0)return Promise.all(i).then(()=>{})}}(l_),n_=function(e){return function t(n,r){let i=[];for(let a of r.redirections)Ch(a)?i.push(...t(n,a)):i.push(e(n,a));return i}}(c_),r_=function(e,t,n){return(r,i)=>{let a=e(r,i);return Vp(a)?t(a,r,i):n(a,r,i)}}(function(e){return(t,n)=>{let r=[];for(let i of n.constructorParams)i===void 0?r.push(void 0):r.push(e(t,i));return r.some(Vp)?Promise.all(r):r}}(l_),function(e){return async(t,n,r)=>e(await t,n,r)}(Zg(t_)),Zg(t_)),i_=function(e){return(t,n)=>{let r=e(t,n);return Vp(r)?r.then(e=>n.binding.factory(...e)):n.binding.factory(...r)}}(function(e){return(t,n)=>{let r=[];for(let i of n.params)r.push(e(t,i));return r.some(Vp)?Promise.all(r):r}}(l_)),a_=(e=>Kg($g,e))(r_),o_=(e=>Kg(e_,e))(i_);function s_(e){try{return l_(e,e.planResult.tree.root)}catch(t){Lg(e,t)}}function c_(e,t){switch(t.binding.type){case Qp.ConstantValue:return Wg(e,t.binding);case Qp.DynamicValue:return qg(e,t.binding);case Qp.Factory:return Jg(e,t.binding);case Qp.Instance:return a_(e,t);case Qp.Provider:return Qg(e,t.binding);case Qp.ResolvedValue:return o_(e,t)}}function l_(e,t){if(t.bindings!==void 0)return Array.isArray(t.bindings)?function(e,t){let n=[];for(let r of t)Ch(r)?n.push(...n_(e,r)):n.push(c_(e,r));return n.some(Vp)?Promise.all(n):n}(e,t.bindings):function(e,t){if(Ch(t)){let n=n_(e,t);if(n.length===1)return n[0];throw new Cm(wm.resolution,`Unexpected multiple resolved values on single injection`)}return c_(e,t)}(e,t.bindings)}function u_(e){return e.scope!==void 0}function d_(e,t){if(typeof e[t]==`function`)return e[t]()}function f_(e,t){let n=e.lifecycle.preDestroyMethodNames;if(n.size===0)return;let r;for(let e of n)r=r===void 0?d_(t,e):r.then(()=>d_(t,e));return r}function p_(e,t,n){let r=e.getDeactivations(t);if(r!==void 0)return Vp(n)?m_(n,r[Symbol.iterator]()):function(e,t){let n=t.next();for(;!0!==n.done;){if(Vp(n.value(e)))return m_(e,t);n=t.next()}}(n,r[Symbol.iterator]())}async function m_(e,t){let n=await e,r=t.next();for(;!0!==r.done;)await r.value(n),r=t.next()}function h_(e,t){let n=function(e,t){if(t.type===Qp.Instance){let n=e.getClassMetadata(t.implementationType),r=t.cache.value;return Vp(r)?r.then(e=>f_(n,e)):f_(n,r)}}(e,t);return n===void 0?g_(e,t):n.then(()=>g_(e,t))}function g_(e,t){let n=t.cache;return Vp(n.value)?n.value.then(n=>__(e,t,n)):__(e,t,n.value)}function __(e,t,n){let r;return t.onDeactivation!==void 0&&(r=(0,t.onDeactivation)(n)),r===void 0?p_(e,t.serviceIdentifier,n):r.then(()=>p_(e,t.serviceIdentifier,n))}function v_(e,t){if(t===void 0)return;let n=function(e){let t=[];for(let n of e)u_(n)&&n.scope===Zp.Singleton&&n.cache.isRight&&t.push(n);return t}(t),r=[];for(let t of n){let n=h_(e,t);n!==void 0&&r.push(n)}return r.length>0?Promise.all(r).then(()=>{}):void 0}function y_(e,t){return v_(e,e.getBindingsFromModule(t))}function b_(e,t){return v_(e,e.getBindings(t))}var x_=Symbol.for(`@inversifyjs/plugin/isPlugin`);Le();var S_=Symbol.for(`@inversifyjs/container/bindingIdentifier`);function C_(e){return typeof e==`object`&&!!e&&!0===e[S_]}var w_=class{};ke(w_,`always`,e=>!0);var T_=Symbol.for(`@inversifyjs/container/InversifyContainerError`),E_=class e extends 
6Error{constructor(e,t,n){((...e)=>(super(...e),ke(this,T_,void 0),ke(this,`kind`,void 0),this))(t,n),this[T_]=!0,this.kind=e}static is(e){return typeof e==`object`&&!!e&&!0===e[T_]}static isErrorOfKind(t,n){return e.is(t)&&t.kind===n}},D_;function O_(e){return{[S_]:!0,id:e.id}}function k_(e){return t=>{for(let n=t.getAncestor();n!==void 0;n=n.getAncestor())if(e(n))return!0;return!1}}function A_(e){return t=>t.name===e}function j_(e){return t=>t.serviceIdentifier===e}function M_(e,t){return n=>n.tags.has(e)&&n.tags.get(e)===t}function N_(e){return e.name===void 0&&e.tags.size===0}function P_(e){let t=k_(e);return e=>!t(e)}function F_(e){return t=>{let n=t.getAncestor();return n===void 0||!e(n)}}function I_(e){return t=>{let n=t.getAncestor();return n!==void 0&&e(n)}}(function(e){e[e.invalidOperation=0]=`invalidOperation`})(D_||(D_={}));var L_=new WeakMap,R_=class{constructor(e){V(this,L_,void 0),U(L_,this,e)}getIdentifier(){return O_(W(L_,this))}inRequestScope(){return W(L_,this).scope=Zp.Request,new Z_(W(L_,this))}inSingletonScope(){return W(L_,this).scope=Zp.Singleton,new Z_(W(L_,this))}inTransientScope(){return W(L_,this).scope=Zp.Transient,new Z_(W(L_,this))}},z_=new WeakMap,B_=new WeakMap,V_=new WeakMap,H_=new WeakMap,U_=new WeakSet,W_=class{constructor(e,t,n,r){Kp(this,U_),V(this,z_,void 0),V(this,B_,void 0),V(this,V_,void 0),V(this,H_,void 0),U(z_,this,e),U(B_,this,t),U(V_,this,n),U(H_,this,r)}to(e){let t=km(e),n={cache:{isRight:!1,value:void 0},id:Xp(),implementationType:e,isSatisfiedBy:w_.always,moduleId:W(B_,this),onActivation:void 0,onDeactivation:void 0,scope:t.scope??W(V_,this),serviceIdentifier:W(H_,this),type:Qp.Instance};return W(z_,this).call(this,n),new $_(n)}toSelf(){if(typeof W(H_,this)!=`function`)throw Error(`"toSelf" function can only be applied when a newable function is used as service identifier`);return this.to(W(H_,this))}toConstantValue(e){let t={cache:{isRight:!1,value:void 0},id:Xp(),isSatisfiedBy:w_.always,moduleId:W(B_,this),onActivation:void 0,onDeactivation:void 0,scope:Zp.Singleton,serviceIdentifier:W(H_,this),type:Qp.ConstantValue,value:e};return W(z_,this).call(this,t),new Z_(t)}toDynamicValue(e){let t={cache:{isRight:!1,value:void 0},id:Xp(),isSatisfiedBy:w_.always,moduleId:W(B_,this),onActivation:void 0,onDeactivation:void 0,scope:W(V_,this),serviceIdentifier:W(H_,this),type:Qp.DynamicValue,value:e};return W(z_,this).call(this,t),new $_(t)}toResolvedValue(e,t){let n={cache:{isRight:!1,value:void 0},factory:e,id:Xp(),isSatisfiedBy:w_.always,metadata:H(U_,this,G_).call(this,t),moduleId:W(B_,this),onActivation:void 0,onDeactivation:void 0,scope:W(V_,this),serviceIdentifier:W(H_,this),type:Qp.ResolvedValue};return W(z_,this).call(this,n),new $_(n)}toFactory(e){let t={cache:{isRight:!1,value:void 0},factory:e,id:Xp(),isSatisfiedBy:w_.always,moduleId:W(B_,this),onActivation:void 0,onDeactivation:void 0,scope:Zp.Singleton,serviceIdentifier:W(H_,this),type:Qp.Factory};return W(z_,this).call(this,t),new Z_(t)}toProvider(e){let t={cache:{isRight:!1,value:void 0},id:Xp(),isSatisfiedBy:w_.always,moduleId:W(B_,this),onActivation:void 0,onDeactivation:void 0,provider:e,scope:Zp.Singleton,serviceIdentifier:W(H_,this),type:Qp.Provider};return W(z_,this).call(this,t),new Z_(t)}toService(e){let t={id:Xp(),isSatisfiedBy:w_.always,moduleId:W(B_,this),serviceIdentifier:W(H_,this),targetServiceIdentifier:e,type:Qp.ServiceRedirection};W(z_,this).call(this,t)}};function G_(e){return{arguments:(e??[]).map(e=>function(e){return typeof e==`object`&&!Gp.is(e)}(e)?function(e){return!0===e.isMultiple}(e)?{chained:e.chained??!1,kind:ph.multipleInjection,name:e.name,optional:e.optional??!1,tags:new Map((e.tags??[]).map(e=>[e.key,e.value])),value:e.serviceIdentifier}:{kind:ph.singleInjection,name:e.name,optional:e.optional??!1,tags:new Map((e.tags??[]).map(e=>[e.key,e.value])),value:e.serviceIdentifier}:{kind:ph.singleInjection,name:void 0,optional:!1,tags:new Map,value:e})}}var K_=new WeakMap,q_=class{constructor(e){V(this,K_,void 0),U(K_,this,e)}getIdentifier(){return O_(W(K_,this))}onActivation(e){return W(K_,this).onActivation=e,new Y_(W(K_,this))}onDeactivation(e){if(W(K_,this).onDeactivation=e,W(K_,this).scope!==Zp.Singleton)throw new E_(D_.invalidOperation,`Binding for service "${Hp(W(K_,this).serviceIdentifier)}" has a deactivation function, but its scope is not singleton. Deactivation functions can only be used with singleton bindings.`);return new Y_(W(K_,this))}},J_=new WeakMap,Y_=class{constructor(e){V(this,J_,void 0),U(J_,this,e)}getIdentifier(){return O_(W(J_,this))}when(e){return W(J_,this).isSatisfiedBy=e,new q_(W(J_,this))}whenAnyAncestor(e){return this.when(k_(e))}whenAnyAncestorIs(e){return this.when(k_(j_(e)))}whenAnyAncestorNamed(e){return this.when(function(e){return k_(A_(e))}(e))}whenAnyAncestorTagged(e,t){return this.when(function(e,t){return k_(M_(e,t))}(e,t))}whenDefault(){return this.when(N_)}whenNamed(e){return this.when(A_(e))}whenNoParent(e){return this.when(F_(e))}whenNoParentIs(e){return this.when(F_(j_(e)))}whenNoParentNamed(e){return this.when(function(e){return F_(A_(e))}(e))}whenNoParentTagged(e,t){return this.when(function(e,t){return F_(M_(e,t))}(e,t))}whenParent(e){return this.when(I_(e))}whenParentIs(e){return this.when(I_(j_(e)))}whenParentNamed(e){return this.when(function(e){return I_(A_(e))}(e))}whenParentTagged(e,t){return this.when(function(e,t){return I_(M_(e,t))}(e,t))}whenTagged(e,t){return this.when(M_(e,t))}
6whenNoAncestor(e){return this.when(P_(e))}whenNoAncestorIs(e){return this.when(P_(j_(e)))}whenNoAncestorNamed(e){return this.when(function(e){return P_(A_(e))}(e))}whenNoAncestorTagged(e,t){return this.when(function(e,t){return P_(M_(e,t))}(e,t))}},X_=new WeakMap,Z_=class extends Y_{constructor(e){((...e)=>(super(...e),V(this,X_,void 0),this))(e),U(X_,this,new q_(e))}onActivation(e){return W(X_,this).onActivation(e)}onDeactivation(e){return W(X_,this).onDeactivation(e)}},Q_=new WeakMap,$_=class extends Z_{constructor(e){((...e)=>(super(...e),V(this,Q_,void 0),this))(e),U(Q_,this,new R_(e))}inRequestScope(){return W(Q_,this).inRequestScope()}inSingletonScope(){return W(Q_,this).inSingletonScope()}inTransientScope(){return W(Q_,this).inTransientScope()}},ev=new WeakMap,tv=new WeakMap,nv=new WeakMap,rv=new WeakMap,iv=new WeakSet,av=class{constructor(e,t,n,r){Kp(this,iv),V(this,ev,void 0),V(this,tv,void 0),V(this,nv,void 0),V(this,rv,void 0),U(ev,this,e),U(tv,this,t),U(nv,this,n),U(rv,this,r)}bind(e){return new W_(e=>{H(iv,this,ov).call(this,e)},void 0,W(tv,this),e)}isBound(e,t){let n=W(rv,this).bindingService.get(e);return H(iv,this,pv).call(this,e,n,t)}isCurrentBound(e,t){let n=W(rv,this).bindingService.getNonParentBindings(e);return H(iv,this,pv).call(this,e,n,t)}async rebind(e){return await this.unbind(e),this.bind(e)}rebindSync(e){return this.unbindSync(e),this.bind(e)}async unbind(e){await H(iv,this,cv).call(this,e)}async unbindAll(){let e=[...W(rv,this).bindingService.getNonParentBoundServices()];await Promise.all(e.map(async e=>b_(W(ev,this),e)));for(let t of e)W(rv,this).activationService.removeAllByServiceId(t),W(rv,this).bindingService.removeAllByServiceId(t),W(rv,this).deactivationService.removeAllByServiceId(t);W(rv,this).planResultCacheService.clearCache()}unbindSync(e){H(iv,this,cv).call(this,e)!==void 0&&H(iv,this,sv).call(this,e)}};function ov(e){W(rv,this).bindingService.set(e),W(nv,this).invalidateService({binding:e,kind:tg.bindingAdded})}function sv(e){let t;if(C_(e)){let r=(n=W(rv,this).bindingService.getById(e.id),function(e){if(e===void 0)return;let t=e.next();return!0===t.done?void 0:t.value}(n?.[Symbol.iterator]()))?.serviceIdentifier;t=r===void 0?`Unexpected asynchronous deactivation when unbinding binding identifier. Consider using Container.unbind() instead.`:`Unexpected asynchronous deactivation when unbinding "${Hp(r)}" binding. Consider using Container.unbind() instead.`}else t=`Unexpected asynchronous deactivation when unbinding "${Hp(e)}" service. Consider using Container.unbind() instead.`;var n;throw new E_(D_.invalidOperation,t)}function cv(e){return C_(e)?H(iv,this,lv).call(this,e):H(iv,this,dv).call(this,e)}function lv(e){let t=W(rv,this).bindingService.getById(e.id),n=t===void 0?void 0:[...t],r=v_(W(ev,this),t);if(r!==void 0)return r.then(()=>{H(iv,this,uv).call(this,n,e)});H(iv,this,uv).call(this,n,e)}function uv(e,t){if(W(rv,this).bindingService.removeById(t.id),e!==void 0)for(let t of e)W(nv,this).invalidateService({binding:t,kind:tg.bindingRemoved})}function dv(e){let t=W(rv,this).bindingService.get(e),n=t===void 0?void 0:[...t],r=v_(W(ev,this),t);if(r!==void 0)return r.then(()=>{H(iv,this,fv).call(this,e,n)});H(iv,this,fv).call(this,e,n)}function fv(e,t){if(W(rv,this).activationService.removeAllByServiceId(e),W(rv,this).bindingService.removeAllByServiceId(e),W(rv,this).deactivationService.removeAllByServiceId(e),t!==void 0)for(let e of t)W(nv,this).invalidateService({binding:e,kind:tg.bindingRemoved})}function pv(e,t,n){if(t===void 0)return!1;let r={getAncestor:()=>{},name:n?.name,serviceIdentifier:e,tags:new Map};n?.tag!==void 0&&r.tags.set(n.tag.key,n.tag.value);for(let e of t)if(e.isSatisfiedBy(r))return!0;return!1}var mv=new WeakMap,hv=new WeakMap,gv=new WeakMap,_v=new WeakMap,vv=new WeakMap,yv=new WeakSet,bv=class{constructor(e,t,n,r,i){Kp(this,yv),V(this,mv,void 0),V(this,hv,void 0),V(this,gv,void 0),V(this,_v,void 0),V(this,vv,void 0),U(mv,this,e),U(hv,this,t),U(gv,this,n),U(_v,this,r),U(vv,this,i)}async load(...e){await Promise.all(H(yv,this,Cv).call(this,...e))}loadSync(...e){let t=H(yv,this,Cv).call(this,...e);for(let e of t)if(e!==void 0)throw new E_(D_.invalidOperation,`Unexpected asynchronous module load. Consider using Container.load() instead.`)}async unload(...e){await Promise.all(H(yv,this,Tv).call(this,...e)),H(yv,this,Sv).call(this,e)}unloadSync(...e){let t=H(yv,this,Tv).call(this,...e);for(let e of t)if(e!==void 0)throw new E_(D_.invalidOperation,`Unexpected asynchronous module unload. Consider using Container.unload() instead.`);H(yv,this,Sv).call(this,e)}};function xv(e){return{bind:t=>new W_(e=>{H(yv,this,wv).call(this,e)},e,W(gv,this),t),isBound:W(mv,this).isBound.bind(W(mv,this)),onActivation:(t,n)=>{W(vv,this).activationService.add(n,{moduleId:e,serviceId:t})},onDeactivation:(t,n)=>{W(vv,this).deactivationService.add(n,{moduleId:e,serviceId:t})},rebind:W(mv,this).rebind.bind(W(mv,this)),rebindSync:W(mv,this).rebindSync.bind(W(mv,this)),unbind:W(mv,this).unbind.bind(W(mv,this)),unbindSync:W(mv,this).unbindSync.bind(W(mv,this))}}function Sv(e){for(let t of e)W(vv,this).activationService.removeAllByModuleId(t.id),W(vv,this).bindingService.removeAllByModuleId(t.id),W(vv,this).deactivationService.removeAllByModuleId(t.id);W(vv,this).planResultCacheService.clearCache()}function Cv(...e){return e.map(e=>e.load(H(yv,this,xv).call(this,e.id)))}function wv(e){W(vv,this).bindingService.set(e),W(_v,this).invalidateService({binding:e,kind:tg.bindingAdded})}function Tv(...e){return e.map(e=>y_(W(hv,this),e.id))}var Ev=class{constructor(e){ke(this,`deactivationParams`,void 0),this.deactivationParams=function(e){return{getBindings:e.bindingService.get.bind(e.bindingService),getBindingsFromModule:e.bindingService.getByModuleId.bind(e.bindingService),getClassMetadata:km,getDeactivations:e.deactivationService.get.bind(e.deactivationService)}}(e),e.onReset(()=>{(function(e,t){t.getBindings=e.bindingService.get.bind(e.bindingService),t.getBindingsFromModule=e.bindingService.getByModuleId.bind(e.bindingService),t.getDeactivations=e.deactivationService.get.bind(e.deactivationService)})(e,this.deactivationParams)})}},Dv=new WeakMap,Ov=new WeakSet,kv=class{constructor(e){Kp(this,Ov),ke(this,`planParamsOperations`,void 0),V(this,Dv,void 0),U(Dv,this,e),this.planParamsOperations={getBindings:W(Dv,this).bindingService.get.bind(W(Dv,this).bindingService),getBindingsChained:W(Dv,this).bindingService.getChained.bind(W(Dv,this).bindingService),getClassMetadata:km,getPlan:W(Dv,this).planResultCacheService.get.bind(W(Dv,this).planResultCacheService),setBinding:H(Ov,this,jv).bind(this),setNonCachedServiceNode:W(Dv,this).planResultCacheService.setNonCachedServiceNode.bind(W(Dv,this).planResultCacheService),setPlan:W(Dv,this).planResultCacheService.set.bind(W(Dv,this).planResultCacheService)},W(Dv,this).onReset(()=>{H(Ov,this,Av).call(this)})}};function Av(){this.planParamsOperations.getBindings=W(Dv,this).bindingService.get.bind(W(Dv,this).bindingService),this.planParamsOperations.getBindingsChained=W(Dv,this).bindingService.getChained.bind(W(Dv,this).bindingService),this.planParamsOperations.setBinding=H(Ov,this,jv).bind(this)}function jv(e){W(Dv,this).bindingService.set(e),W(Dv,this).planResultCacheService.invalidateServiceBinding({binding:e,kind:tg.bindingAdded,operations:this.planParamsOperations})}var Mv=new WeakMap,Nv=new WeakMap,Pv=class{constructor(e,t){V(this,Mv,void 0),V(this,Nv,void 0),U(Mv,this,e),U(Nv,this,t)}invalidateService(e){W(Nv,this).planResultCacheService.invalidateServiceBinding({...e,operations:W(Mv,this).planParamsOperations})}},Fv=new WeakMap,Iv=new WeakMap,Lv=new WeakMap,Rv=new WeakMap,zv=new WeakSet,Bv
6=class{constructor(e,t,n){Kp(this,zv),V(this,Fv,void 0),V(this,Iv,void 0),V(this,Lv,void 0),V(this,Rv,void 0),U(Rv,this,t),U(Lv,this,n),U(Fv,this,H(zv,this,Vv).call(this,e)),U(Iv,this,H(zv,this,Hv).call(this))}register(e,t){let n=new t(e,W(Iv,this));if(!0!==n[x_])throw new E_(D_.invalidOperation,`Invalid plugin. The plugin must extend the Plugin class`);n.load(W(Fv,this))}};function Vv(e){return{define:(t,n)=>{if(Object.prototype.hasOwnProperty.call(e,t))throw new E_(D_.invalidOperation,`Container already has a method named "${String(t)}"`);e[t]=n},onPlan:W(Lv,this).onPlan.bind(W(Lv,this))}}function Hv(){let e=W(Rv,this);return{get activationService(){return e.activationService},get bindingService(){return e.bindingService},get deactivationService(){return e.deactivationService},get planResultCacheService(){return e.planResultCacheService}}}var Uv=new WeakMap,Wv=class{constructor(e,t,n,r){ke(this,`activationService`,void 0),ke(this,`bindingService`,void 0),ke(this,`deactivationService`,void 0),ke(this,`planResultCacheService`,void 0),V(this,Uv,void 0),this.activationService=e,this.bindingService=t,this.deactivationService=n,this.planResultCacheService=r,U(Uv,this,[])}reset(e,t,n){this.activationService=e,this.bindingService=t,this.deactivationService=n,this.planResultCacheService.clearCache();for(let e of W(Uv,this))e()}onReset(e){W(Uv,this).push(e)}},Gv=new WeakMap,Kv=new WeakMap,qv=new WeakMap,Jv=new WeakMap,Yv=new WeakMap,Xv=new WeakMap,Zv=new WeakMap,Qv=new WeakSet,$v=class{constructor(e,t,n,r){Kp(this,Qv),V(this,Gv,void 0),V(this,Kv,void 0),V(this,qv,void 0),V(this,Jv,void 0),V(this,Yv,void 0),V(this,Xv,void 0),V(this,Zv,void 0),U(Xv,this,e),U(Zv,this,t),U(Jv,this,H(Qv,this,ay).call(this)),U(Gv,this,n),U(Kv,this,r),U(qv,this,e=>W(Zv,this).activationService.get(e)),U(Yv,this,[]),W(Zv,this).onReset(()=>{H(Qv,this,ey).call(this)})}get(e,t){let n=H(Qv,this,iy).call(this,!1,e,t),r=H(Qv,this,oy).call(this,n);if(Vp(r))throw new E_(D_.invalidOperation,`Unexpected asynchronous service when resolving service "${Hp(e)}"`);return r}getAll(e,t){let n=H(Qv,this,iy).call(this,!0,e,t),r=H(Qv,this,oy).call(this,n);if(Vp(r))throw new E_(D_.invalidOperation,`Unexpected asynchronous service when resolving service "${Hp(e)}"`);return r}async getAllAsync(e,t){let n=H(Qv,this,iy).call(this,!0,e,t);return H(Qv,this,oy).call(this,n)}async getAsync(e,t){let n=H(Qv,this,iy).call(this,!1,e,t);return H(Qv,this,oy).call(this,n)}onPlan(e){W(Yv,this).push(e)}};function ey(){U(Jv,this,H(Qv,this,ay).call(this))}function ty(e,t,n){let r=n?.name,i=n?.optional??!1,a=n?.tag;return e?{chained:n?.chained??!1,isMultiple:e,name:r,optional:i,serviceIdentifier:t,tag:a}:{isMultiple:e,name:r,optional:i,serviceIdentifier:t,tag:a}}function ny(e,t,n){let r={autobindOptions:n?.autobind??W(Gv,this)?{scope:W(Kv,this)}:void 0,operations:W(Xv,this).planParamsOperations,rootConstraints:H(Qv,this,ry).call(this,e,t,n),servicesBranch:[]};return H(Qv,this,sy).call(this,r,n),r}function ry(e,t,n){return t?{chained:n?.chained??!1,isMultiple:t,serviceIdentifier:e}:{isMultiple:t,serviceIdentifier:e}}function iy(e,t,n){let r=H(Qv,this,ty).call(this,e,t,n),i=W(Zv,this).planResultCacheService.get(r);if(i!==void 0)return i;let a=eg(H(Qv,this,ny).call(this,t,e,n));for(let e of W(Yv,this))e(r,a);return a}function ay(){return{get:this.get.bind(this),getAll:this.getAll.bind(this),getAllAsync:this.getAllAsync.bind(this),getAsync:this.getAsync.bind(this)}}function oy(e){return s_({context:W(Jv,this),getActivations:W(qv,this),planResult:e,requestScopeCache:new Map})}function sy(e,t){t!==void 0&&(t.name!==void 0&&(e.rootConstraints.name=t.name),!0===t.optional&&(e.rootConstraints.isOptional=!0),t.tag!==void 0&&(e.rootConstraints.tag={key:t.tag.key,value:t.tag.value}),e.rootConstraints.isMultiple&&(e.rootConstraints.chained=t?.chained??!1))}var cy=new WeakMap,ly=new WeakMap,uy=class{constructor(e){V(this,cy,void 0),V(this,ly,void 0),U(cy,this,e),U(ly,this,[])}restore(){let e=W(ly,this).pop();if(e===void 0)throw new E_(D_.invalidOperation,`No snapshot available to restore`);W(cy,this).reset(e.activationService,e.bindingService,e.deactivationService)}snapshot(){W(ly,this).push({activationService:W(cy,this).activationService.clone(),bindingService:W(cy,this).bindingService.clone(),deactivationService:W(cy,this).deactivationService.clone()})}},dy=Zp.Transient,fy=new WeakMap,py=new WeakMap,my=new WeakMap,hy=new WeakMap,gy=new WeakMap,_y=new WeakMap,vy=new WeakSet,yy=class{constructor(e){Kp(this,vy),V(this,fy,void 0),V(this,py,void 0),V(this,my,void 0),V(this,hy,void 0),V(this,gy,void 0),V(this,_y,void 0);let t=e?.autobind??!1,n=e?.defaultScope??dy;U(hy,this,H(vy,this,xy).call(this,e,t,n));let r=new kv(W(hy,this)),i=new Pv(r,W(hy,this)),a=new Ev(W(hy,this));U(fy,this,new av(a.deactivationParams,n,i,W(hy,this))),U(py,this,new bv(W(fy,this),a.deactivationParams,n,i,W(hy,this))),U(gy,this,new $v(r,W(hy,this),t,n)),U(my,this,new Bv(this,W(hy,this),W(gy,this))),U(_y,this,new uy(W(hy,this)))}bind(e){return W(fy,this).bind(e)}get(e,t){return W(gy,this).get(e,t)}getAll(e,t){return W(gy,this).getAll(e,t)}async getAllAsync(e,t){return W(gy,this).getAllAsync(e,t)}async getAsync(e,t){return W(gy,this).getAsync(e,t)}isBound(e,t){return W(fy,this).isBound(e,t)}isCurrentBound(e,t){return W(fy,this).isCurrentBound(e,t)}async load(...e){return W(py,this).load(...e)}loadSync(...e){W(py,this).loadSync(...e)}onActivation(e,t){W(hy,this).activationService.add(t,{serviceId:e})}onDeactivation(e,t){W(hy,this).deactivationService.add(t,{serviceId:e})}register(e){W(my,this).register(this,e)}
6restore(){W(_y,this).restore()}async rebind(e){return W(fy,this).rebind(e)}rebindSync(e){return W(fy,this).rebindSync(e)}snapshot(){W(_y,this).snapshot()}async unbind(e){await W(fy,this).unbind(e)}async unbindAll(){return W(fy,this).unbindAll()}unbindSync(e){W(fy,this).unbindSync(e)}async unload(...e){return W(py,this).unload(...e)}unloadSync(...e){W(py,this).unloadSync(...e)}};function by(e,t){if(e)return{scope:t}}function xy(e,t,n){let r=H(vy,this,by).call(this,t,n);if(e?.parent===void 0)return new Wv(vm.build(()=>{}),Rm.build(()=>{},r),Hm.build(()=>{}),new xg);let i=new xg,a=e.parent;return W(hy,a).planResultCacheService.subscribe(i),new Wv(vm.build(()=>W(hy,a).activationService),Rm.build(()=>W(hy,a).bindingService,r),Hm.build(()=>W(hy,a).deactivationService),i)}y();var Sy={xs:18,sm:24,md:32,lg:38,xl:46},Cy={size:String};function wy(e,t=Sy){return m(()=>e.size===void 0?null:{fontSize:e.size in t?`${t[e.size]}px`:e.size})}function Ty(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}y(),Se();function Ey(e){return be(T(e))}function Dy(e){return be(e)}var Oy=(e,t)=>{let n=O(e);for(let r in e)Ty(t,r,()=>n[r],e=>{n[r]=e});return t};y();function ky(e,t){return e===void 0?t:e()||t}function Ay(e,t){if(e!==void 0){let t=e();if(t!=null)return t.slice()}return t}function jy(e,t){return e===void 0?t:t.concat(e())}function My(e,t){return e===void 0?t:t===void 0?e():t.concat(e())}function Ny(e,t,n,r,i,a){t.key=r+i;let o=c(e,t,n);return i===!0?We(o,a()):o}y();var Py=`0 0 24 24`,Fy=e=>e,Iy=e=>`ionicons ${e}`,Ly={"mdi-":e=>`mdi ${e}`,"icon-":Fy,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Iy,"ion-ios":Iy,"ion-logo":Iy,"iconfont ":Fy,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},Ry={o_:`-outlined`,r_:`-round`,s_:`-sharp`},zy={sym_o_:`-outlined`,sym_r_:`-rounded`,sym_s_:`-sharp`},By=RegExp(`^(`+Object.keys(Ly).join(`|`)+`)`),Vy=RegExp(`^(`+Object.keys(Ry).join(`|`)+`)`),Hy=RegExp(`^(`+Object.keys(zy).join(`|`)+`)`),Uy=/^[Mm]\s?[-+]?\.?\d/,Wy=/^img:/,Gy=/^svguse:/,Ky=/^ion-/,qy=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Jy=Ey({name:`QIcon`,props:{...Cy,tag:{type:String,default:`i`},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:n}}=N(),r=wy(e),i=m(()=>`q-icon`+(e.left===!0?` on-left`:``)+(e.right===!0?` on-right`:``)+(e.color===void 0?``:` text-${e.color}`)),a=m(()=>{let t,r=e.name;if(r===`none`||!r)return{none:!0};if(n.iconMapFn!==null){let e=n.iconMapFn(r);if(e!==void 0)if(e.icon!==void 0){if(r=e.icon,r===`none`||!r)return{none:!0}}else return{cls:e.cls,content:e.content===void 0?` `:e.content}}if(Uy.test(r)===!0){let[e,t=Py]=r.split(`|`);return{svg:!0,viewBox:t,nodes:e.split(`&&`).map(e=>{let[t,n,r]=e.split(`@@`);return c(`path`,{style:n,d:t,transform:r})})}}if(Wy.test(r)===!0)return{img:!0,src:r.substring(4)};if(Gy.test(r)===!0){let[e,t=Py]=r.split(`|`);return{svguse:!0,src:e.substring(7),viewBox:t}}let i=` `,a=r.match(By);if(a!==null)t=Ly[a[1]](r);else if(qy.test(r)===!0)t=r;else if(Ky.test(r)===!0)t=`ionicons ion-${n.platform.is.ios===!0?`ios`:`md`}${r.substring(3)}`;else if(Hy.test(r)===!0){t=`notranslate material-symbols`;let e=r.match(Hy);e!==null&&(r=r.substring(6),t+=zy[e[1]]),i=r}else{t=`notranslate material-icons`;let e=r.match(Vy);e!==null&&(r=r.substring(2),t+=Ry[e[1]]),i=r}return{cls:t,content:i}});return()=>{let n={class:i.value,style:r.value,"aria-hidden":`true`,role:`presentation`};return a.value.none===!0?c(e.tag,n,ky(t.default)):a.value.img===!0?c(e.tag,n,jy(t.default,[c(`img`,{src:a.value.src})])):a.value.svg===!0?c(e.tag,n,jy(t.default,[c(`svg`,{viewBox:a.value.viewBox||`0 0 24 24`},a.value.nodes)])):a.value.svguse===!0?c(e.tag,n,jy(t.default,[c(`svg`,{viewBox:a.value.viewBox},[c(`use`,{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(n.class+=` `+a.value.cls),c(e.tag,n,jy(t.default,[a.value.content])))}}});y();var Yy={size:{type:[String,Number],default:`1em`},color:String};function Xy(e){return{cSize:m(()=>e.size in Sy?`${Sy[e.size]}px`:e.size),classes:m(()=>`q-spinner`+(e.color?` text-${e.color}`:``))}}y();
6var Zy=Ey({name:`QSpinner`,props:{...Yy,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:n}=Xy(e);return()=>c(`svg`,{class:n.value+` q-spinner-mat`,width:t.value,height:t.value,viewBox:`25 25 50 50`},[c(`circle`,{class:`path`,cx:`50`,cy:`50`,r:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":e.thickness,"stroke-miterlimit":`10`})])}});Se();function Qy(e,t){let n=e.style;for(let e in t)n[e]=t[e]}function $y(e){if(e==null)return;if(typeof e==`string`)try{return document.querySelector(e)||void 0}catch{return}let t=L(e);if(t)return t.$el||t}function eb(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}var tb={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(tb,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener(`qtest`,null,e),window.removeEventListener(`qtest`,null,e)}catch{}function nb(){}function rb(e){return e.button===0}function ib(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ab(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],n=e.target;for(;n;){if(t.push(n),n.tagName===`HTML`)return t.push(document),t.push(window),t;n=n.parentElement}}function ob(e){e.stopPropagation()}function sb(e){e.cancelable!==!1&&e.preventDefault()}function cb(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function lb(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let n=t===!0?e=>{e.__dragPrevented=!0,e.addEventListener(`dragstart`,sb,tb.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener(`dragstart`,sb,tb.notPassiveCapture)};e.querySelectorAll(`a, img`).forEach(n)}function ub(e,t,n){let r=`__q_${t}_evt`;e[r]=e[r]===void 0?n:e[r].concat(n),n.forEach(t=>{t[0].addEventListener(t[1],e[t[2]],tb[t[3]])})}function db(e,t){let n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(t=>{t[0].removeEventListener(t[1],e[t[2]],tb[t[3]])}),e[n]=void 0)}var fb=!1;function pb(e){fb=e.isComposing===!0}function mb(e){return fb===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function hb(e,t){return mb(e)===!0?!1:[].concat(t).includes(e.keyCode)}function gb(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}function _b(e,t,n,r){n.modifiers.stop===!0&&ob(e);let i=n.modifiers.color,a=n.modifiers.center;a=a===!0||r===!0;let o=document.createElement(`span`),s=document.createElement(`span`),c=ib(e),{left:l,top:u,width:d,height:f}=t.getBoundingClientRect(),p=Math.sqrt(d*d+f*f),m=p/2,h=`${(d-p)/2}px`,g=a?h:`${c.left-l-m}px`,_=`${(f-p)/2}px`,v=a?_:`${c.top-u-m}px`;s.className=`q-ripple__inner`,Qy(s,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${g},${v},0) scale3d(.2,.2,1)`,opacity:0}),o.className=`q-ripple${i?` text-`+i:``}`,o.setAttribute(`dir`,`ltr`),o.appendChild(s),t.appendChild(o);let y=()=>{o.remove(),clearTimeout(b)};n.abort.push(y);let b=setTimeout(()=>{s.classList.add(`q-ripple__inner--enter`),s.style.transform=`translate3d(${h},${_},0) scale3d(1,1,1)`,s.style.opacity=.2,b=setTimeout(()=>{s.classList.remove(`q-ripple__inner--enter`),s.classList.add(`q-ripple__inner--leave`),s.style.opacity=0,b=setTimeout(()=>{o.remove(),n.abort.splice(n.abort.indexOf(y),1)},275)},250)},50)}function vb(e,{modifiers:t,value:n,arg:r}){let i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||r,keyCodes:[].concat(i.keyCodes||13)}}var yb=Dy({name:`ripple`,beforeMount(e,t){let n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;let r={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(t){r.enabled===!0&&t.qSkipRipple!==!0&&t.type===(r.modifiers.early===!0?`pointerdown`:`click`)&&_b(t,e,r,t.qKeyEvent===!0)},keystart:gb(t=>{r.enabled===!0&&t.qSkipRipple!==!0&&hb(t,r.modifiers.keyCodes)===!0&&t.type===`key${r.modifiers.early===!0?`down`:`up`}`&&_b(t,e,r,!0)},300)};vb(r,t),e.__qripple=r,ub(r,`main`,[[e,`pointerdown`,`start`,`passive`],[e,`click`,`start`,`passive`],[e,`keydown`,`keystart`,`passive`],[e,`keyup`,`keystart`,`passive`]])},updated(e,t){if(t.oldValue!==t.value){let n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&vb(n,t))}},beforeUnmount(e){let t=e.__qripple;
6t!==void 0&&(t.abort.forEach(e=>{e()}),db(t,`main`),delete e._qripple)}});y();var bb={left:`start`,center:`center`,right:`end`,between:`between`,around:`around`,evenly:`evenly`,stretch:`stretch`},xb=Object.keys(bb),Sb={align:{type:String,validator:e=>xb.includes(e)}};function Cb(e){return m(()=>{let t=e.align===void 0?e.vertical===!0?`stretch`:`left`:e.align;return`${e.vertical===!0?`items`:`justify`}-${bb[t]}`})}function wb(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function Tb(e){return e.appContext.config.globalProperties.$router!==void 0}function Eb(e){return e.isUnmounted===!0||e.isDeactivated===!0}y();function Db(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}function Ob(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kb(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(Array.isArray(i)===!1||i.length!==r.length||r.some((e,t)=>e!==i[t]))return!1}return!0}function Ab(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function jb(e,t){return Array.isArray(e)===!0?Ab(e,t):Array.isArray(t)===!0?Ab(t,e):e===t}function Mb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(jb(e[n],t[n])===!1)return!1;return!0}var Nb={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Pb={...Nb,exact:Boolean,activeClass:{type:String,default:`q-router-link--active`},exactActiveClass:{type:String,default:`q-router-link--exact-active`}};function Fb({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let n=N(),{props:r,proxy:i,emit:a}=n,o=Tb(n),s=m(()=>r.disable!==!0&&r.href!==void 0),c=m(t===!0?()=>o===!0&&r.disable!==!0&&s.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==``:()=>o===!0&&s.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==``),l=m(()=>c.value===!0?y(r.to):null),u=m(()=>l.value!==null),d=m(()=>s.value===!0||u.value===!0),f=m(()=>r.type===`a`||d.value===!0?`a`:r.tag||e||`div`),p=m(()=>s.value===!0?{href:r.href,target:r.target}:u.value===!0?{href:l.value.href,target:r.target}:{}),h=m(()=>{if(u.value===!1)return-1;let{matched:e}=l.value,{length:t}=e,n=e[t-1];if(n===void 0)return-1;let r=i.$route.matched;if(r.length===0)return-1;let a=r.findIndex(Ob.bind(null,n));if(a!==-1)return a;let o=Db(e[t-2]);return t>1&&Db(n)===o&&r[r.length-1].path!==o?r.findIndex(Ob.bind(null,e[t-2])):a}),g=m(()=>u.value===!0&&h.value!==-1&&kb(i.$route.params,l.value.params)),_=m(()=>g.value===!0&&h.value===i.$route.matched.length-1&&Mb(i.$route.params,l.value.params)),v=m(()=>u.value===!0?_.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?``:g.value===!0?` ${r.activeClass}`:``:``);function y(e){try{return i.$router.resolve(e)}catch{}return null}function b(e,{returnRouterError:t,to:n=r.to,replace:a=r.replace}={}){if(r.disable===!0)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.button!==void 0&&e.button!==0||r.target===`_blank`)return Promise.resolve(!1);e.preventDefault();let o=i.$router[a===!0?`replace`:`push`](n);return t===!0?o:o.then(()=>{}).catch(()=>{})}function x(e){if(u.value===!0){let t=t=>b(e,t);a(`click`,e,t),e.defaultPrevented!==!0&&t()}else a(`click`,e)}return{hasRouterLink:u,hasHrefLink:s,hasLink:d,linkTag:f,resolvedLink:l,linkIsActive:g,linkIsExactActive:_,linkClass:v,linkAttrs:p,getLink:y,navigateToRouterLink:b,navigateOnClick:x}}y();var Ib={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Lb={xs:8,sm:10,md:14,lg:20,xl:24},Rb=[`button`,`submit`,`reset`],zb=/[^\s]\/[^\s]/,Bb=[`flat`,`outline`,`push`,`unelevated`];function Vb(e,t){return e.flat===!0?`flat`:e.outline===!0?`outline`:e.push===!0?`push`:e.unelevated===!0?`unelevated`:t}function Hb(e){let t=Vb(e);return t===void 0?{}:{[t]:!0}}var Ub={...Cy,...Nb,type:{type:String,default:`button`},label:[Number,String],icon:String,iconRight:String,...Bb.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Sb.align,default:`center`},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean,round:Boolean};function Wb(e){let t=wy(e,Lb),n=Cb(e),{hasRouterLink:r,hasLink:i,linkTag:a,linkAttrs:o,navigateOnClick:s}=Fb({fallbackTag:`button`}),c=m(()=>{let n=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding===void 0?n:Object.assign({},n,{padding:e.padding.split(/\s+/).map(e=>e in Ib?Ib[e]+`px`:e).join(` `),minWidth:`0`,minHeight:`0`})}),l=m(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=m(()=>e.disable!==!0&&e.loading!==!0),d=m(()=>u.value===!0?e.tabindex||0:-1),f=m(()=>Vb(e,`standard`)),p=m(()=>{let t={tabindex:d.value};return i.value===!0?Object.assign(t,o.value):Rb.includes(e.type)===!0&&(t.type=e.type),a.value===`a`?(e.disable===!0?t[`aria-disabled`]=`true`:t.href===void 0&&(t.role=`button`),r.value!==!0&&zb.test(e.type)===!0&&(t.type=e.type)):e.disable===!0&&(t.disabled=``,t[`aria-disabled`]=`true`),e.loading===!0&&e.percentage!==void 0&&Object.assign(t,{role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t});return{classes:m(()=>{let t;e.color===void 0?e.textColor&&(t=`text-${e.textColor}`):t=e.flat===!0||e.outline===!0?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||`white`}`;let n=e.round===!0?`round`:`rectangle${l.value===!0?` q-btn--rounded`:e.square===!0?` q-btn--square`:``}`;return`q-btn--${f.value} q-btn--${n}`+(t===void 0?``:` `+t)+(u.value===!0?` q-btn--actionable q-focusable q-hoverable`:e.disable===!0?` disabled`:``)+(e.fab===!0?` q-btn--fab`:e.fabMini===!0?` q-btn--fab-mini`:``)+(e.noCaps===!0?` q-btn--no-uppercase`:``)+(e.dense===!0?` q-btn--dense`:``)+(e.stretch===!0?` no-border-radius self-stretch`:``)+(e.glossy===!0?` glossy`
6:``)+(e.square?` q-btn--square`:``)}),style:c,innerClasses:m(()=>n.value+(e.stack===!0?` column`:` row`)+(e.noWrap===!0?` no-wrap text-no-wrap`:``)+(e.loading===!0?` q-btn__content--hidden`:``)),attributes:p,hasLink:i,linkTag:a,navigateOnClick:s,isActionable:u}}y(),Se(),he();var{passiveCapture:Gb}=tb,Kb=null,qb=null,Jb=null,Yb=Ey({name:`QBtn`,props:{...Ub,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:[`click`,`keydown`,`mousedown`,`keyup`],setup(e,{slots:t,emit:n}){let{proxy:r}=N(),{classes:i,style:a,innerClasses:o,attributes:s,hasLink:l,linkTag:u,navigateOnClick:d,isActionable:f}=Wb(e),p=_(null),h=_(null),g=null,v,y=null,b=m(()=>e.label!==void 0&&e.label!==null&&e.label!==``),x=m(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:l.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),S=m(()=>({center:e.round})),C=m(()=>{let t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:`transform 0.6s`,transform:`translateX(${t-100}%)`}:{}}),w=m(()=>{if(e.loading===!0)return{onMousedown:ee,onTouchstart:ee,onClick:ee,onKeydown:ee,onKeyup:ee};if(f.value===!0){let t={onClick:E,onKeydown:D,onMousedown:k};if(r.$q.platform.has.touch===!0){let n=e.onTouchstart===void 0?`Passive`:``;t[`onTouchstart${n}`]=O}return t}return{onClick:cb}}),T=m(()=>({ref:p,class:`q-btn q-btn-item non-selectable no-outline `+i.value,style:a.value,...s.value,...w.value}));function E(t){if(p.value!==null){if(t!==void 0){if(t.defaultPrevented===!0)return;let n=document.activeElement;if(e.type===`submit`&&n!==document.body&&p.value.contains(n)===!1&&n.contains(p.value)===!1){p.value.focus();let e=()=>{document.removeEventListener(`keydown`,cb,!0),document.removeEventListener(`keyup`,e,Gb),p.value!==null&&p.value.removeEventListener(`blur`,e,Gb)};document.addEventListener(`keydown`,cb,!0),document.addEventListener(`keyup`,e,Gb),p.value.addEventListener(`blur`,e,Gb)}}d(t)}}function D(e){p.value!==null&&(n(`keydown`,e),hb(e,[13,32])===!0&&qb!==p.value&&(qb!==null&&j(),e.defaultPrevented!==!0&&(p.value.focus(),qb=p.value,p.value.classList.add(`q-btn--active`),document.addEventListener(`keyup`,A,!0),p.value.addEventListener(`blur`,A,Gb)),cb(e)))}function O(e){p.value!==null&&(n(`touchstart`,e),e.defaultPrevented!==!0&&(Kb!==p.value&&(Kb!==null&&j(),Kb=p.value,g=e.target,g.addEventListener(`touchcancel`,A,Gb),g.addEventListener(`touchend`,A,Gb)),v=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,v=!1},200)))}function k(e){p.value!==null&&(e.qSkipRipple=v===!0,n(`mousedown`,e),e.defaultPrevented!==!0&&Jb!==p.value&&(Jb!==null&&j(),Jb=p.value,p.value.classList.add(`q-btn--active`),document.addEventListener(`mouseup`,A,Gb)))}function A(e){if(p.value!==null&&!(e!==void 0&&e.type===`blur`&&document.activeElement===p.value)){if(e!==void 0&&e.type===`keyup`){if(qb===p.value&&hb(e,[13,32])===!0){let t=new MouseEvent(`click`,e);t.qKeyEvent=!0,e.defaultPrevented===!0&&sb(t),e.cancelBubble===!0&&ob(t),p.value.dispatchEvent(t),cb(e),e.qKeyEvent=!0}n(`keyup`,e)}j()}}function j(e){let t=h.value;e!==!0&&(Kb===p.value||Jb===p.value)&&t!==null&&t!==document.activeElement&&(t.setAttribute(`tabindex`,-1),t.focus()),Kb===p.value&&(g!==null&&(g.removeEventListener(`touchcancel`,A,Gb),g.removeEventListener(`touchend`,A,Gb)),Kb=g=null),Jb===p.value&&(document.removeEventListener(`mouseup`,A,Gb),Jb=null),qb===p.value&&(document.removeEventListener(`keyup`,A,!0),p.value!==null&&p.value.removeEventListener(`blur`,A,Gb),qb=null),p.value!==null&&p.value.classList.remove(`q-btn--active`)}function ee(e){cb(e),e.qSkipRipple=!0}return re(()=>{j(!0)}),Object.assign(r,{click:e=>{f.value===!0&&E(e)}}),()=>{let n=[];e.icon!==void 0&&n.push(c(Jy,{name:e.icon,left:e.stack!==!0&&b.value===!0,role:`img`})),b.value===!0&&n.push(c(`span`,{class:`block`},[e.label])),n=jy(t.default,n),e.iconRight!==void 0&&e.round===!1&&n.push(c(Jy,{name:e.iconRight,right:e.stack!==!0&&b.value===!0,role:`img`}));let r=[c(`span`,{class:`q-focus-helper`,ref:h})];return e.loading===!0&&e.percentage!==void 0&&r.push(c(`span`,{class:`q-btn__progress absolute-full overflow-hidden`+(e.darkPercentage===!0?` q-btn__progress--dark`:``)},[c(`span`,{class:`q-btn__progress-indicator fit block`,style:C.value})])),r.push(c(`span`,{class:`q-btn__content text-center col items-center q-anchor--skip `+o.value},n)),e.loading!==null&&r.push(c(Ce,{name:`q-transition--fade`},()=>e.loading===!0?[c(`span`,{key:`loading`,class:`absolute-full flex flex-center`},t.loading===void 0?[c(Zy)]:t.loading())]:null)),We(c(u.value,T.value,r),[[yb,x.value,void 0,S.value]])}}});y();
6var Xb={dark:{type:Boolean,default:null}};function Zb(e,t){return m(()=>e.dark===null?t.dark.isActive:e.dark)}y();var Qb=[`text`,`rect`,`circle`,`QBtn`,`QBadge`,`QChip`,`QToolbar`,`QCheckbox`,`QRadio`,`QToggle`,`QSlider`,`QRange`,`QInput`,`QAvatar`],$b=[`wave`,`pulse`,`pulse-x`,`pulse-y`,`fade`,`blink`,`none`],ex=Ey({name:`QSkeleton`,props:{...Xb,tag:{type:String,default:`div`},type:{type:String,validator:e=>Qb.includes(e),default:`rect`},animation:{type:String,validator:e=>$b.includes(e),default:`wave`},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(e,{slots:t}){let n=Zb(e,N().proxy.$q),r=m(()=>{let t=e.size===void 0?[e.width,e.height]:[e.size,e.size];return{"--q-skeleton-speed":`${e.animationSpeed}ms`,width:t[0],height:t[1]}}),i=m(()=>`q-skeleton q-skeleton--${n.value===!0?`dark`:`light`} q-skeleton--type-${e.type}`+(e.animation===`none`?``:` q-skeleton--anim q-skeleton--anim-${e.animation}`)+(e.square===!0?` q-skeleton--square`:``)+(e.bordered===!0?` q-skeleton--bordered`:``));return()=>c(e.tag,{class:i.value,style:r.value},ky(t.default))}});function tx(){return nx().__VUE_DEVTOOLS_GLOBAL_HOOK__}function nx(){return typeof navigator<`u`&&typeof window<`u`?window:typeof globalThis<`u`?globalThis:{}}var rx=typeof Proxy==`function`,ix=`devtools-plugin:setup`,ax=`plugin:settings:set`,ox,sx;function cx(){return ox===void 0&&(typeof window<`u`&&window.performance?(ox=!0,sx=window.performance):typeof globalThis<`u`&&globalThis.perf_hooks?.performance?(ox=!0,sx=globalThis.perf_hooks.performance):ox=!1),ox}function lx(){return cx()?sx.now():Date.now()}var ux=class{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;let n={};if(e.settings)for(let t in e.settings)n[t]=e.settings[t].defaultValue;let r=`__vue-devtools-plugin-settings__${e.id}`,i=Object.assign({},n);try{let e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(i,t)}catch{}this.fallbacks={getSettings(){return i},setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch{}i=e},now(){return lx()}},t&&t.on(ax,(e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)}),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:t===`on`?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise(n=>{this.targetQueue.push({method:t,args:e,resolve:n})})})}async setRealTarget(e){this.target=e;for(let e of this.onQueue)this.target.on[e.method](...e.args);for(let e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}};function dx(e,t){let n=e,r=nx(),i=tx(),a=rx&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))i.emit(ix,e,t);else{let e=a?new ux(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}}y(),Se();var fx=typeof document<`u`;function px(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function mx(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&px(e.default)}var hx=Object.assign;function gx(e,t){let n={};for(let r in t){let i=t[r];n[r]=vx(i)?i.map(e):e(i)}return n}var _x=()=>{},vx=Array.isArray,yx=/#/g,bx=/&/g,xx=/\//g,Sx=/=/g,Cx=/\?/g,wx=/\+/g,Tx=/%5B/g,Ex=/%5D/g,Dx=/%5E/g,Ox=/%60/g,kx=/%7B/g,Ax=/%7C/g,jx=/%7D/g,Mx=/%20/g;function Nx(e){return encodeURI(``+e).replace(Ax,`|`).replace(Tx,`[`).replace(Ex,`]`)}function Px(e){return Nx(e).replace(kx,`{`).replace(jx,`}`).replace(Dx,`^`)}function Fx(e){return Nx(e).replace(wx,`%2B`).replace(Mx,`+`).replace(yx,`%23`).replace(bx,`%26`).replace(Ox,"`").replace(kx,`{`).replace(jx,`}`).replace(Dx,`^`)}function Ix(e){return Fx(e).replace(Sx,`%3D`)}function Lx(e){return Nx(e).replace(yx,`%23`).replace(Cx,`%3F`)}function Rx(e){return e==null?``:Lx(e).replace(xx,`%2F`)}function zx(e){try{return decodeURIComponent(``+e)}catch{}return``+e}var Bx=/\/$/,Vx=e=>e.replace(Bx,``);function Hx(e,t,n=`/`){let r,i={}
6,a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return s<c&&s>=0&&(c=-1),c>-1&&(r=t.slice(0,c),a=t.slice(c+1,s>-1?s:t.length),i=e(a)),s>-1&&(r=r||t.slice(0,s),o=t.slice(s,t.length)),r=Xx(r??t,n),{fullPath:r+(a&&`?`)+a+o,path:r,query:i,hash:zx(o)}}function Ux(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Wx(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Gx(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Kx(t.matched[r],n.matched[i])&&qx(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Kx(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qx(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(!Jx(e[n],t[n]))return!1;return!0}function Jx(e,t){return vx(e)?Yx(e,t):vx(t)?Yx(t,e):e===t}function Yx(e,t){return vx(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Xx(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Zx={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Qx;(function(e){e.pop=`pop`,e.push=`push`})(Qx||(Qx={}));var $x;(function(e){e.back=`back`,e.forward=`forward`,e.unknown=``})($x||($x={}));function eS(e){if(!e)if(fx){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Vx(e)}var tS=/^[^#]+#/;function nS(e,t){return e.replace(tS,`#`)+t}function rS(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var iS=()=>({left:window.scrollX,top:window.scrollY});function aS(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=rS(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function oS(e,t){return(history.state?history.state.position-t:-1)+e}var sS=new Map;function cS(e,t){sS.set(e,t)}function lS(e){let t=sS.get(e);return sS.delete(e),t}var uS=()=>location.protocol+`//`+location.host;function dS(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Wx(n,``)}return Wx(n,e)+r+i}function fS(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=dS(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:Qx.pop,direction:u?u>0?$x.forward:$x.back:$x.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(hx({},e.state,{scroll:iS()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`beforeunload`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`beforeunload`,u,{passive:!0}),{pauseListeners:c,listen:l,destroy:d}}function pS(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?iS():null}}function mS(e){let{history:t,location:n}=window,r={value:dS(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:uS()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,hx({},t.state,pS(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=hx({},i.value,t.state,{forward:e,scroll:iS()});a(o.current,o,!0),a(e,hx({},pS(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function hS(e){e=eS(e);let t=mS(e),n=fS(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=hx({location:``,base:e,go:r,createHref:nS.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function gS(e){return typeof e==`string`||e&&typeof e==`object`}function _S(e){return typeof e==`string`||typeof e==`symbol`}var vS=Symbol(``),yS;(function(e){e[e.aborted=4]=`aborted`,e[e.cancelled=8]=`cancelled`,e[e.duplicated=16]=`duplicated`})(yS||(yS={}));function bS(e,t){return hx(Error(),{type:e,[vS]:!0},t)}function xS(e,t){return e instanceof Error&&vS in e&&(t==null||!!(e.type&t))}var SS=`[^/]+?`,CS={sensitive:!1,strict:!1,start:!0,end:!0},wS=/[.+*?^${}()[\]/\\]/g;function TS(e,t){let n=hx({},CS,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(wS,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||SS;if(u!==SS){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u}
6)(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(vx(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=vx(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function ES(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function DS(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=ES(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(OS(r))return 1;if(OS(i))return-1}return i.length-r.length}function OS(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var kS={type:0,value:``},AS=/[a-zA-Z0-9_]/;function jS(e){if(!e)return[[]];if(e===`/`)return[[kS]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),l=``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==2){r=n,n=4;continue}switch(n){case 0:c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:AS.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}function MS(e,t,n){let r=hx(TS(jS(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function NS(e,t){let n=[],r=new Map;t=zS({strict:!1,end:!0,sensitive:!1},t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=FS(e);s.aliasOf=r&&r.record;let l=zS(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(FS(hx({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=MS(t,n,l),r?r.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),i&&e.name&&!LS(d)&&o(e.name)),HS(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r=r||d}return f?()=>{o(f)}:_x}function o(e){if(_S(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=BS(e,n);n.splice(t,0,e),e.record.name&&!LS(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw bS(1,{location:e});s=i.record.name,a=hx(PS(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&PS(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw bS(1,{location:e,currentLocation:t});s=i.record.name,a=hx({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:RS(c)}}
vendor: 4,628 bytes, line 6
6e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function PS(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function FS(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:IS(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function IS(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function LS(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function RS(e){return e.reduce((e,t)=>hx(e,t.meta),{})}function zS(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}function BS(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;DS(e,t[i])<0?r=i:n=i+1}let i=VS(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function VS(e){let t=e;for(;t=t.parent;)if(HS(t)&&DS(e,t)===0)return t}function HS({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function US(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(wx,` `),i=r.indexOf(`=`),a=zx(i<0?r:r.slice(0,i)),o=i<0?null:zx(r.slice(i+1));if(a in t){let e=t[a];vx(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function WS(e){let t=``;for(let n in e){let r=e[n];if(n=Ix(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(vx(r)?r.map(e=>e&&Fx(e)):[r&&Fx(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function GS(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=vx(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}var KS=Symbol(``),qS=Symbol(``),JS=Symbol(``),YS=Symbol(``),XS=Symbol(``);function ZS(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function QS(e,t,n){let r=()=>{e[t].delete(n)};Oe(r),i(r),ne(()=>{e[t].add(n)}),e[t].add(n)}function $S(e){let t=F(KS,{}).value;t&&QS(t,`leaveGuards`,e)}function eC(e){let t=F(KS,{}).value;t&&QS(t,`updateGuards`,e)}function tC(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(bS(4,{from:n,to:t})):e instanceof Error?c(e):gS(e)?c(bS(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function nC(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(px(s)){let c=(s.__vccOpts||s)[t];c&&a.push(tC(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=mx(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&tC(c,n,r,o,e,i)()}))}}return a}function rC(e){let t=F(JS),n=F(YS),r=m(()=>{let n=L(e.to);return t.resolve(n)}),i=m(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Kx.bind(null,i));if(o>-1)return o;let s=sC(e[t-2]);return t>1&&sC(i)===s&&a[a.length-1].path!==s?a.findIndex(Kx.bind(null,e[t-2])):o}),a=m(()=>i.value>-1&&oC(n.params,r.value.params)),o=m(()=>i.value>-1&&i.value===n.matched.length-1&&qx(n.params,r.value.params));function s(n={}){return aC(n)?t[L(e.replace)?`replace`:`push`](L(e.to)).catch(_x):Promise.resolve()}return{route:r,href:m(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}var iC=T({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`}},useLink:rC,setup(e,{slots:t}){let n=O(rC(e)),{options:r}=F(JS),i=m(()=>({[cC(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[cC(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&t.default(n);return e.custom?r:c(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function aC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);
6if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function oC(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!vx(i)||i.length!==r.length||r.some((e,t)=>e!==i[t]))return!1}return!0}function sC(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var cC=(e,t,n)=>e??t??n,lC=T({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=F(XS),i=m(()=>e.route||r.value),a=F(qS,0),o=m(()=>{let e=L(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=m(()=>i.value.matched[o.value]);je(qS,m(()=>o.value+1)),je(KS,s),je(XS,i);let l=_();return B(()=>[l.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Kx(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,u=o&&o.components[a];if(!u)return uC(n.default,{Component:u,route:r});let d=o.props[a],f=c(u,hx({},d?d===!0?r.params:typeof d==`function`?d(r):d:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:l}));return uC(n.default,{Component:f,route:r})||f}}});function uC(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var dC=lC;function fC(e){let t=NS(e.routes,e),n=e.parseQuery||US,r=e.stringifyQuery||WS,i=e.history,a=ZS(),o=ZS(),s=ZS(),c=P(Zx),l=Zx;fx&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=gx.bind(null,e=>``+e),d=gx.bind(null,Rx),f=gx.bind(null,zx);function p(e,n){let r,i;return _S(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=hx({},a||c.value),typeof e==`string`){let r=Hx(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return hx(r,o,{params:f(o.params),hash:zx(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=hx({},e,{path:Hx(n,e.path,a.path).path});else{let t=hx({},e.params);for(let e in t)t[e]??delete t[e];o=hx({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=Ux(r,hx({},e,{hash:Px(l),path:s.path})),m=i.createHref(p);return hx({fullPath:p,hash:l,query:r===WS?GS(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?Hx(n,e,c.value.path):hx({},e)}function y(e,t){if(l!==e)return bS(8,{from:t,to:e})}function b(e){return T(e)}function C(e){return b(hx(v(e),{replace:!0}))}function w(e){let t=e.matched[e.matched.length-1];if(t&&t.redirect){let{redirect:n}=t,r=typeof n==`function`?n(e):n;return typeof r==`string`&&(r=r.includes(`?`)||r.includes(`#`)?r=v(r):{path:r},r.params={}),hx({query:e.query,hash:e.hash,params:r.path==null?e.params:{}},r)}}function T(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=w(n);if(u)return T(hx(v(u),{state:typeof u==`object`?hx({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Gx(r,i,n)&&(f=bS(16,{to:d,from:i}),ne(i,i,!0,!1)),(f?Promise.resolve(f):O(d,i)).catch(e=>xS(e)?xS(e,2)?e:R(e):I(e,d,i)).then(e=>{if(e){if(xS(e,2))return T(hx({replace:s},v(e.to),{state:typeof e.to==`object`?hx({},a,e.to.state):a,force:o}),t||d)}else e=A(d,i,!0,s,a);return k(d,i,e),e})}function E(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function D(e){let t=ie.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function O(e,t){let n,[r,i,s]=pC(e,t);n=nC(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(tC(r,e,t))});let c=E.bind(null,e,t);return n.push(c),oe(n).then(()=>{n=[];for(let r of a.list())n.push(tC(r,e,t));return n.push(c),oe(n)}).then(()=>{n=nC(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(tC(r,e,t))});return n.push(c),oe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(vx(r.beforeEnter))for(let i of r.beforeEnter)n.push(t
6C(i,e,t));else n.push(tC(r.beforeEnter,e,t));return n.push(c),oe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=nC(s,`beforeRouteEnter`,e,t,D),n.push(c),oe(n))).then(()=>{n=[];for(let r of o.list())n.push(tC(r,e,t));return n.push(c),oe(n)}).catch(e=>xS(e,8)?e:Promise.reject(e))}function k(e,t,n){s.list().forEach(r=>D(()=>r(e,t,n)))}function A(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===Zx,l=fx?history.state:{};n&&(r||s?i.replace(e.fullPath,hx({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,ne(e,t,n,s),R()}let j;function ee(){j||(j=i.listen((e,t,n)=>{if(!ae.listening)return;let r=_(e),a=w(r);if(a){T(hx(a,{replace:!0}),r).catch(_x);return}l=r;let o=c.value;fx&&cS(oS(o.fullPath,n.delta),iS()),O(r,o).catch(e=>xS(e,12)?e:xS(e,2)?(T(e.to,r).then(e=>{xS(e,20)&&!n.delta&&n.type===Qx.pop&&i.go(-1,!1)}).catch(_x),Promise.reject()):(n.delta&&i.go(-n.delta,!1),I(e,r,o))).then(e=>{e=e||A(r,o,!1),e&&(n.delta&&!xS(e,8)?i.go(-n.delta,!1):n.type===Qx.pop&&xS(e,20)&&i.go(-1,!1)),k(r,o,e)}).catch(_x)}))}let M=ZS(),N=ZS(),F;function I(e,t,n){R(e);let r=N.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function te(){return F&&c.value!==Zx?Promise.resolve():new Promise((e,t)=>{M.add([e,t])})}function R(e){return F||(F=!e,ee(),M.list().forEach(([t,n])=>e?n(e):t()),M.reset()),e}function ne(t,n,r,i){let{scrollBehavior:a}=e;if(!fx||!a)return Promise.resolve();let o=!r&&lS(oS(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return S().then(()=>a(t,n,o)).then(e=>e&&aS(e)).catch(e=>I(e,t,n))}let z=e=>i.go(e),re,ie=new Set,ae={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:C,go:z,back:()=>z(-1),forward:()=>z(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:N.add,isReady:te,install(e){let t=this;e.component(`RouterLink`,iC),e.component(`RouterView`,dC),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>L(c)}),fx&&!re&&c.value===Zx&&(re=!0,b(i.location).catch(e=>{}));let n={};for(let e in Zx)Object.defineProperty(n,e,{get:()=>c.value[e],enumerable:!0});e.provide(JS,t),e.provide(YS,x(n)),e.provide(XS,c);let r=e.unmount;ie.add(e),e.unmount=function(){ie.delete(e),ie.size<1&&(l=Zx,j&&j(),j=null,c.value=Zx,re=!1,F=!1),r()}}};function oe(e){return e.reduce((e,t)=>e.then(()=>D(t)),Promise.resolve())}return ae}function pC(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Kx(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Kx(e,s))||i.push(s))}return[n,r,i]}function mC(){return F(JS)}function hC(e){return F(YS)}Se();var gC=_(!1),_C;function vC(e,t){let n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||``,version:n[4]||n[2]||`0`,platform:t[0]||``}}function yC(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}var bC=`ontouchstart`in window||window.navigator.maxTouchPoints>0;function xC(e){let t=e.toLowerCase(),n=vC(t,yC(t)),r={};n.browser&&(r[n.browser]=!0,r.version=n.version,r.versionNumber=parseInt(n.version,10)),n.platform&&(r[n.platform]=!0);let i=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r[`windows phone`];if(i===!0||t.indexOf(`mobile`)!==-1?r.mobile=!0:r.desktop=!0,r[`windows phone`]&&(r.winphone=!0,delete r[`windows phone`]),r.edga||r.edgios||r.edg?(r.edge=!0,n.browser=`edge`):r.crios?(r.chrome=!0,n.browser=`chrome`):r.fxios&&(r.firefox=!0,n.browser=`firefox`),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(n.browser=`vivaldi`,r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&i!==!0)&&(r.webkit=!0),r.opr&&(n.browser=`opera`,r.opera=!0),r.safari&&(r.blackberry||r.bb?(n.browser=`blackberry`,r.blackberry=!0):r.playbook?(n.browser=`playbook`,r.playbook=!0):r.android?(n.browser=`android`,r.android=!0):r.kindle?(n.browser=`kindle`,r.kindle=!0):r.silk&&(n.browser=`silk`,r.silk=!0)),r.name=n.browser,r.platform=n.platform,t.indexOf(`electron`)!==-1)r.electron=!0;else if(document.location.href.indexOf(`-extension://`)!==-1)r.bex=!0;else{if(window.Capacitor===void 0?(window._cordovaNative!==void 0||window.cordova!==void 0)&&(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper=`cordova`):(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper=`capacitor`),gC.value===!0&&(_C={is:{...r}}),bC===!0&&r.mac===!0&&(r.desktop===!0&&r.safari===!0||r.nativeMobile===!0&&r.android!==!0&&r.ios!==!0&&r.ipad!==!0)){delete r.mac,delete r.desktop;let e=Math.min(window.innerHeight,window.innerWidth)>414?`ipad`:`iphone`;Object.assign(r,{mobile:!0,ios:!0,platform:e,[e]:!0})}r.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete r.desktop,r.mobile=!0)}return r}var SC=navigator.userAgent||navigator.vendor||window.opera,CC={has:{touch:!1,webStorage:!1},within:{iframe:!1}},wC={userAgent:SC,is:xC(SC),has:{touch:bC},within:{iframe:window.self!==window.top}},TC={install(e){let{$q:t}=e;gC.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,wC),gC.value=!1}),t.platform=O(this)):t.platform=this}};{let e;Ty(wC.has,`webStorage`,()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(TC,wC),gC.value===!0&&(Object.assign(TC,_C,CC),_C=null)}var EC=()=>!0;function DC(e){return typeof e==`string`&&e!==``&&e!==`/`&&e!==`#/`}function OC(e){return e.startsWith(`#`)===!0&&(e=e.substring(1)),e.startsWith(`/`)===!1&&(e=`/`+e),e.endsWith(`/`)===!0&&(e=e.substring(0,e.length-1)),`#`+e}function kC(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit===`*`)return EC;let t=[`#/`];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(DC).map(OC)),()=>t.includes(window.location.hash)}var AC={__history:[],add:nb,remove:nb,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:n}=wC.is;if(t!==!0&&n!==!0)return;let r=e.config[t===!0?`cordova`:`capacitor`];if(r!==void 0&&r.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=e=>{e.condition===void 0&&(e.condition=EC),this.__history.push(e)},this.remove=e=>{let t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};let i=kC(Object.assign({backButtonExit:!0},r)),a=()=>
6{if(this.__history.length){let e=this.__history[this.__history.length-1];e.condition()===!0&&(this.__history.pop(),e.handler())}else i()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener(`deviceready`,()=>{document.addEventListener(`backbutton`,a,!1)}):window.Capacitor.Plugins.App.addListener(`backButton`,a)}};y();function jC(e,t,n){let r;function i(){r!==void 0&&(AC.remove(r),r=void 0)}return re(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){r={condition:()=>n.value===!0,handler:t},AC.add(r)}}}y();function MC(){let e=null,t=N();function n(){e!==null&&(clearTimeout(e),e=null)}return i(n),re(n),{removeTimeout:n,registerTimeout(r,i){n(e),Eb(t)===!1&&(e=setTimeout(()=>{e=null,r()},i))}}}y();function NC(){let e,t=N();function n(){e=void 0}return i(n),re(n),{removeTick:n,registerTick(n){e=n,S(()=>{e===n&&(Eb(t)===!1&&e(),e=void 0)})}}}y();var PC={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},FC=[`beforeShow`,`show`,`beforeHide`,`hide`];function IC({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:i,processOnMount:a}){let o=N(),{props:s,emit:c,proxy:l}=o,u;function d(t){e.value===!0?m(t):f(t)}function f(e){if(s.disable===!0||e!==void 0&&e.qAnchorHandled===!0||t!==void 0&&t(e)!==!0)return;let n=s[`onUpdate:modelValue`]!==void 0;n===!0&&(c(`update:modelValue`,!0),u=e,S(()=>{u===e&&(u=void 0)})),(s.modelValue===null||n===!1)&&p(e)}function p(t){e.value!==!0&&(e.value=!0,c(`beforeShow`,t),r===void 0?c(`show`,t):r(t))}function m(e){if(s.disable===!0)return;let t=s[`onUpdate:modelValue`]!==void 0;t===!0&&(c(`update:modelValue`,!1),u=e,S(()=>{u===e&&(u=void 0)})),(s.modelValue===null||t===!1)&&h(e)}function h(t){e.value!==!1&&(e.value=!1,c(`beforeHide`,t),i===void 0?c(`hide`,t):i(t))}function g(t){s.disable===!0&&t===!0?s[`onUpdate:modelValue`]!==void 0&&c(`update:modelValue`,!1):t===!0!==e.value&&(t===!0?p:h)(u)}B(()=>s.modelValue,g),n!==void 0&&Tb(o)===!0&&B(()=>l.$route.fullPath,()=>{n.value===!0&&e.value===!0&&m()}),a===!0&&Be(()=>{g(s.modelValue)});let _={show:f,hide:m,toggle:d};return Object.assign(l,_),_}y();var LC={transitionShow:{type:String,default:`fade`},transitionHide:{type:String,default:`fade`},transitionDuration:{type:[String,Number],default:300}};function RC(e,t=()=>{},n=()=>{}){return{transitionProps:m(()=>{let r=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:m(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}var zC=[],BC=[];function VC(e){BC=BC.filter(t=>t!==e)}function HC(e){VC(e),BC.push(e)}function UC(e){VC(e),BC.length===0&&zC.length!==0&&(zC[zC.length-1](),zC=[])}function WC(e){BC.length===0?e():zC.push(e)}function GC(e){zC=zC.filter(t=>t!==e)}var KC={},qC=!1;function JC(){qC=!0}var YC=[],XC=[],ZC=1,QC=document.body;function $C(e,t){let n=document.createElement(`div`);if(n.id=t===void 0?e:`q-portal--${t}--${ZC++}`,KC.globalNodes!==void 0){let e=KC.globalNodes.class;e!==void 0&&(n.className=e)}return QC.appendChild(n),YC.push(n),XC.push(t),n}function ew(e){let t=YC.indexOf(e);YC.splice(t,1),XC.splice(t,1),e.remove()}var tw=[];function nw(e){return tw.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function rw(e,t){do{if(e.$options.name===`QMenu`){if(e.hide(t),e.$props.separateClosePopup===!0)return wb(e)}else if(e.__qPortal===!0){let n=wb(e);return n!==void 0&&n.$options.name===`QPopupProxy`?(e.hide(t),n):e}e=wb(e)}while(e!=null)}function iw(e,t,n){for(;n!==0&&e!=null;){if(e.__qPortal===!0){if(n--,e.$options.name===`QMenu`){e=rw(e,t);continue}e.hide(t)}e=wb(e)}}y(),Se();var aw=Ey({name:`QPortal`,setup(e,{slots:t}){return()=>t.default()}});function ow(e){for(e=e.parent;e!=null;){if(e.type.name===`QGlobalDialog`)return!0;if(e.type.name===`QDialog`||e.type.name===`QMenu`)return!1;e=e.parent}return!1}function sw(e,t,n,r){let i=_(!1),a=_(!1),o=null,s={},l=r===`dialog`&&ow(e);function d(t){if(t===!0){UC(s),a.value=!0;return}a.value=!1,i.value===!1&&(l===!1&&o===null&&(o=$C(!1,r)),i.value=!0,tw.push(e.proxy),HC(s))}function f(t){if(a.value=!1,t!==!0)return;UC(s),i.value=!1;let n=tw.indexOf(e.proxy);n!==-1&&tw.splice(n,1),o!==null&&(ew(o),o=null)}return Oe(()=>{f(!0)}),e.proxy.__qPortal=!0,Ty(e.proxy,`contentEl`,()=>t.value),{showPortal:d,hidePortal:f,portalIsActive:i,portalIsAccessible:a,renderPortal:()=>l===!0?n():i.value===!0?[c(u,{to:o},c(aw,n))]:void 0}}var cw=[Element,String],lw=[null,document,document.body,document.scrollingElement,document.documentElement];function uw(e,t){let n=$y(t);if(n===void 0){if(e==null)return window;n=e.closest(`.scroll,.scroll-y,.overflow-auto`)}return lw.includes(n)?window:n}function dw(e){return(e===window?document.body:e).scrollHeight}function fw(e){return(e===window?document.body:e).scrollWidth}function pw(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function mw(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function hw(e,t,n=0){let r=arguments[3]===void 0?performance.now():arguments[3],i=pw(e);if(n<=0){i!==t&&_w(e,t);return}requestAnimationFrame(a=>{let o=a-r,s=i+(t-i)/Math.max(o,n)*o;_w(e,s),s!==t&&hw(e,t,n-o,a)})}function gw(e,t,n=0){let r=arguments[3]===void 0?performance.now():arguments[3],i=mw(e);if(n<=0){i!==t&&vw(e,t);return}requestAnimationFrame(a=>{let o=a-r,s=i+(t-i)/Math.max(o,n)*o;vw(e,s),s!==t&&gw(e,t,n-o,a)})}function _w(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function vw(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function yw(e,t,n){if(n){hw(e,t,n);return}_w(e,t)}function bw(e,t,n){if(n){gw(e,t,n);return}vw(e,t)}var xw;function Sw(){if(xw!==void 0)return xw;let e=document.createElement(`p`),t=document.createElement(`div`);Qy(e,{width:`100%`,height:`200px`}),Qy(t,{position:`absolute`,top:`0px`,left:`0px`,visibility:`hidden`,width:`200px`,height:`150px`,overflow:`hidden`}),t.appendChild(e),document.body.appendChild(t);let n=e.offsetWidth;t.style.overflow=`scroll`;let r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),xw=n-r,xw}function Cw(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains(`scroll`)||e.classList.contains(`overflow-auto`)||[`auto`,`scroll`].includes(window.getComputedStyle(e)[`overflow-y`])):e.scrollWidth>e.clientWidth&&(e.classList.contains(`scroll`)||e.classList.contains(`overflow-auto`)||[`auto`,`scroll`].includes(window.getComputedStyle(e)[`overflow-x`]))}
6var ww={getScrollTarget:uw,getScrollHeight:dw,getScrollWidth:fw,getVerticalScrollPosition:pw,getHorizontalScrollPosition:mw,animVerticalScrollTo:hw,animHorizontalScrollTo:gw,setVerticalScrollPosition:yw,setHorizontalScrollPosition:bw,getScrollbarWidth:Sw,hasScrollbar:Cw},Tw=0,Ew,Dw,Ow,kw=!1,Aw,jw,Mw,Nw=null;function Pw(e){Fw(e)&&cb(e)}function Fw(e){if(e.target===document.body||e.target.classList.contains(`q-layout__backdrop`))return!0;let t=ab(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||r?e.deltaY:e.deltaX;for(let e=0;e<t.length;e++){let n=t[e];if(Cw(n,r))return r?i<0&&n.scrollTop===0?!0:i>0&&n.scrollTop+n.clientHeight===n.scrollHeight:i<0&&n.scrollLeft===0?!0:i>0&&n.scrollLeft+n.clientWidth===n.scrollWidth}return!0}function Iw(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Lw(e){kw!==!0&&(kw=!0,requestAnimationFrame(()=>{kw=!1;let{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(Ow===void 0||t!==window.innerHeight)&&(Ow=n-t,document.scrollingElement.scrollTop=r),r>Ow&&(document.scrollingElement.scrollTop-=Math.ceil((r-Ow)/8))}))}function Rw(e){let t=document.body,n=window.visualViewport!==void 0;if(e===`add`){let{overflowY:e,overflowX:r}=window.getComputedStyle(t);Ew=mw(window),Dw=pw(window),Aw=t.style.left,jw=t.style.top,Mw=window.location.href,t.style.left=`-${Ew}px`,t.style.top=`-${Dw}px`,r!==`hidden`&&(r===`scroll`||t.scrollWidth>window.innerWidth)&&t.classList.add(`q-body--force-scrollbar-x`),e!==`hidden`&&(e===`scroll`||t.scrollHeight>window.innerHeight)&&t.classList.add(`q-body--force-scrollbar-y`),t.classList.add(`q-body--prevent-scroll`),document.qScrollPrevented=!0,wC.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener(`resize`,Lw,tb.passiveCapture),window.visualViewport.addEventListener(`scroll`,Lw,tb.passiveCapture),window.scrollTo(0,0)):window.addEventListener(`scroll`,Iw,tb.passiveCapture))}wC.is.desktop===!0&&wC.is.mac===!0&&window[`${e}EventListener`](`wheel`,Pw,tb.notPassive),e===`remove`&&(wC.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener(`resize`,Lw,tb.passiveCapture),window.visualViewport.removeEventListener(`scroll`,Lw,tb.passiveCapture)):window.removeEventListener(`scroll`,Iw,tb.passiveCapture)),t.classList.remove(`q-body--prevent-scroll`),t.classList.remove(`q-body--force-scrollbar-x`),t.classList.remove(`q-body--force-scrollbar-y`),document.qScrollPrevented=!1,t.style.left=Aw,t.style.top=jw,window.location.href===Mw&&window.scrollTo(Ew,Dw),Ow=void 0)}function zw(e){let t=`add`;if(e===!0){if(Tw++,Nw!==null){clearTimeout(Nw),Nw=null;return}if(Tw>1)return}else{if(Tw===0||(Tw--,Tw>0))return;if(t=`remove`,wC.is.ios===!0&&wC.is.nativeMobile===!0){Nw!==null&&clearTimeout(Nw),Nw=setTimeout(()=>{Rw(t),Nw=null},100);return}}Rw(t)}function Bw(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,zw(t))}}}var Vw=[],Hw;function Uw(e){Hw=e.keyCode===27}function Ww(){Hw===!0&&(Hw=!1)}function Gw(e){Hw===!0&&(Hw=!1,hb(e,27)===!0&&Vw[Vw.length-1](e))}function Kw(e){window[e](`keydown`,Uw),window[e](`blur`,Ww),window[e](`keyup`,Gw),Hw=!1}function qw(e){wC.is.desktop===!0&&(Vw.push(e),Vw.length===1&&Kw(`addEventListener`))}function Jw(e){let t=Vw.indexOf(e);t!==-1&&(Vw.splice(t,1),Vw.length===0&&Kw(`removeEventListener`))}var Yw=[];function Xw(e){Yw[Yw.length-1](e)}function Zw(e){wC.is.desktop===!0&&(Yw.push(e),Yw.length===1&&document.body.addEventListener(`focusin`,Xw))}function Qw(e){let t=Yw.indexOf(e);t!==-1&&(Yw.splice(t,1),Yw.length===0&&document.body.removeEventListener(`focusin`,Xw))}y(),Se(),he();var $w=0,eT={standard:`fixed-full flex-center`,top:`fixed-top justify-center`,bottom:`fixed-bottom justify-center`,right:`fixed-right items-center`,left:`fixed-left items-center`},tT={standard:[`scale`,`scale`],top:[`slide-down`,`slide-up`],bottom:[`slide-up`,`slide-down`],right:[`slide-left`,`slide-right`],left:[`slide-right`,`slide-left`]},nT=Ey({name:`QDialog`,inheritAttrs:!1,props:{...PC,...LC,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDism
6iss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:`standard`,validator:e=>[`standard`,`top`,`bottom`,`left`,`right`].includes(e)}},emits:[...FC,`shake`,`click`,`escapeKey`],setup(e,{slots:t,emit:n,attrs:r}){let i=N(),a=_(null),o=_(!1),s=_(!1),l=null,u=null,d,f,p=m(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=Bw(),{registerTimeout:g}=MC(),{registerTick:v,removeTick:y}=NC(),{transitionProps:b,transitionStyle:x}=RC(e,()=>tT[e.position][0],()=>tT[e.position][1]),S=m(()=>x.value+(e.backdropFilter===void 0?``:`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)),{showPortal:C,hidePortal:w,portalIsAccessible:T,renderPortal:E}=sw(i,a,oe,`dialog`),{hide:D}=IC({showing:o,hideOnRouteChange:p,handleShow:P,handleHide:F,processOnMount:!0}),{addToHistory:O,removeFromHistory:k}=jC(o,D,p),A=m(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?`maximized`:`minimized`} q-dialog__inner--${e.position} ${eT[e.position]}`+(s.value===!0?` q-dialog__inner--animating`:``)+(e.fullWidth===!0?` q-dialog__inner--fullwidth`:``)+(e.fullHeight===!0?` q-dialog__inner--fullheight`:``)+(e.square===!0?` q-dialog__inner--square`:``)),j=m(()=>o.value===!0&&e.seamless!==!0),ee=m(()=>e.autoClose===!0?{onClick:z}:{}),M=m(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${j.value===!0?`modal`:`seamless`}`,r.class]);B(()=>e.maximized,e=>{o.value===!0&&ne(e)}),B(j,e=>{h(e),e===!0?(Zw(ae),qw(te)):(Qw(ae),Jw(te))});function P(t){O(),u=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,ne(e.maximized),C(),s.value=!0,e.noFocus===!0?y():(document.activeElement!==null&&document.activeElement.blur(),v(I)),g(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,r=window.visualViewport===void 0?n:window.visualViewport.height;e>0&&t>r/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-r,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-r/2))),document.activeElement.scrollIntoView()}f=!0,a.value.click(),f=!1}C(!0),s.value=!1,n(`show`,t)},e.transitionDuration)}function F(t){y(),k(),R(!0),s.value=!0,w(),u!==null&&(((t&&t.type.indexOf(`key`)===0?u.closest(`[tabindex]:not([tabindex^="-"])`):void 0)||u).focus(),u=null),g(()=>{w(!0),s.value=!1,n(`hide`,t)},e.transitionDuration)}function I(e){WC(()=>{let t=a.value;if(t!==null){if(e!==void 0){let n=t.querySelector(e);if(n!==null){n.focus({preventScroll:!0});return}}t.contains(document.activeElement)!==!0&&(t=t.querySelector(`[autofocus][tabindex], [data-autofocus][tabindex]`)||t.querySelector(`[autofocus] [tabindex], [data-autofocus] [tabindex]`)||t.querySelector(`[autofocus], [data-autofocus]`)||t,t.focus({preventScroll:!0}))}})}function L(e){e&&typeof e.focus==`function`?e.focus({preventScroll:!0}):I(),n(`shake`);let t=a.value;t!==null&&(t.classList.remove(`q-animate--scale`),t.classList.add(`q-animate--scale`),l!==null&&clearTimeout(l),l=setTimeout(()=>{l=null,a.value!==null&&(t.classList.remove(`q-animate--scale`),I())},170))}function te(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&L():(n(`escapeKey`),D()))}function R(t){l!==null&&(clearTimeout(l),l=null),(t===!0||o.value===!0)&&(ne(!1),e.seamless!==!0&&(h(!1),Qw(ae),Jw(te))),t!==!0&&(u=null)}function ne(e){e===!0?d!==!0&&($w<1&&document.body.classList.add(`q-body--dialog`),$w++,d=!0):d===!0&&($w<2&&document.body.classList.remove(`q-body--dialog`),$w--,d=!1)}function z(e){f!==!0&&(D(e),n(`click`,e))}function ie(t){e.persistent!==!0&&e.noBackdropDismiss!==!0?D(t):e.noShake!==!0&&L()}function ae(t){e.allowFocusOutside!==!0&&T.value===!0&&eb(a.value,t.target)!==!0&&I(`[tabindex]:not([tabindex="-1"])`)}Object.assign(i.proxy,{focus:I,shake:L,__updateRefocusTarget(e){u=e||null}}),re(R);function oe(){return c(`div`,{role:`dialog`,"aria-modal":j.value===!0?`true`:`false`,...r,class:M.value},[c(Ce,{name:`q-transition--fade`,appear:!0},()=>j.value===!0?c(`div`,{class:`q-dialog__backdrop fixed-full`,style:S.value,"aria-hidden":`true`,tabindex:-1,onClick:ie}):null),c(Ce,b.value,()=>o.value===!0?c(`div`,{ref:a,class:A.value,style:x.value,tabindex:-1,...ee.value},ky(t.default)):null)])}return E}});function rT(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty===void 0?e.removeAllRanges!==void 0&&(e.removeAllRanges(),TC.is.mobile!==!0&&e.addRange(document.createRange())):e.empty()}else document.selection!==void 0&&document.selection.empty()}Se(),y();var iT={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},aT={...iT,contextMenu:Boolean};function oT({showing:e,avoidEmit:t,configureAnchorEl:n}){let{props:r,proxy:i,emit:a}=N(),o=_(null),s=null;function c(e){return o.value===null?!1:e===void 0||e.touches===void 0||e.touches.length<=1}let l={};n===void 0&&(Object.assign(l,{hide(e){i.hide(e)},toggle(e){i.toggle(e),e.qAnchorHandled=!0},toggleKey(e){hb(e,13)===!0&&l.toggle(e)}
6,contextClick(e){i.hide(e),sb(e),S(()=>{i.show(e),e.qAnchorHandled=!0})},prevent:sb,mobileTouch(e){if(l.mobileCleanup(e),c(e)!==!0)return;i.hide(e),o.value.classList.add(`non-selectable`);let t=e.target;ub(l,`anchor`,[[t,`touchmove`,`mobileCleanup`,`passive`],[t,`touchend`,`mobileCleanup`,`passive`],[t,`touchcancel`,`mobileCleanup`,`passive`],[o.value,`contextmenu`,`prevent`,`notPassive`]]),s=setTimeout(()=>{s=null,i.show(e),e.qAnchorHandled=!0},300)},mobileCleanup(t){o.value.classList.remove(`non-selectable`),s!==null&&(clearTimeout(s),s=null),e.value===!0&&t!==void 0&&rT()}}),n=function(e=r.contextMenu){if(r.noParentEvent===!0||o.value===null)return;let t;t=e===!0?i.$q.platform.is.mobile===!0?[[o.value,`touchstart`,`mobileTouch`,`passive`]]:[[o.value,`mousedown`,`hide`,`passive`],[o.value,`contextmenu`,`contextClick`,`notPassive`]]:[[o.value,`click`,`toggle`,`passive`],[o.value,`keyup`,`toggleKey`,`passive`]],ub(l,`anchor`,t)});function u(){db(l,`anchor`)}function d(e){for(o.value=e;o.value.classList.contains(`q-anchor--skip`);)o.value=o.value.parentNode;n()}function f(){if(r.target===!1||r.target===``||i.$el.parentNode===null)o.value=null;else if(r.target===!0)d(i.$el.parentNode);else{let e=r.target;if(typeof r.target==`string`)try{e=document.querySelector(r.target)}catch{e=void 0}e==null?(o.value=null,console.error(`Anchor: target "${r.target}" not found`)):(o.value=e.$el||e,n())}}return B(()=>r.contextMenu,e=>{o.value!==null&&(u(),n(e))}),B(()=>r.target,()=>{o.value!==null&&u(),f()}),B(()=>r.noParentEvent,e=>{o.value!==null&&(e===!0?u():n())}),Be(()=>{f(),t!==!0&&r.modelValue===!0&&o.value===null&&a(`update:modelValue`,!1)}),re(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:o,canShow:c,anchorEvents:l}}Se(),y();function sT(e,t){let n=_(null),r;function i(e,t){let n=`${t===void 0?`remove`:`add`}EventListener`,i=t===void 0?r:t;e!==window&&e[n](`scroll`,i,tb.passive),window[n](`scroll`,i,tb.passive),r=t}function a(){n.value!==null&&(i(n.value),n.value=null)}return re(B(()=>e.noParentEvent,()=>{n.value!==null&&(a(),t())})),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:i}}var cT=null,{notPassiveCapture:lT}=tb,uT=[];function dT(e){cT!==null&&(clearTimeout(cT),cT=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains(`no-pointer-events`)===!0)return;let n=tw.length-1;for(;n>=0;){let e=tw[n].$;if(e.type.name===`QTooltip`){n--;continue}if(e.type.name!==`QDialog`)break;if(e.props.seamless!==!0)return;n--}for(let n=uT.length-1;n>=0;n--){let r=uT[n];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function fT(e){uT.push(e),uT.length===1&&(document.addEventListener(`mousedown`,dT,lT),document.addEventListener(`touchstart`,dT,lT))}function pT(e){let t=uT.findIndex(t=>t===e);t!==-1&&(uT.splice(t,1),uT.length===0&&(cT!==null&&(clearTimeout(cT),cT=null),document.removeEventListener(`mousedown`,dT,lT),document.removeEventListener(`touchstart`,dT,lT)))}var mT,hT;function gT(e){let t=e.split(` `);return t.length===2?[`top`,`center`,`bottom`].includes(t[0])===!0?[`left`,`middle`,`right`,`start`,`end`].includes(t[1])===!0?!0:(console.error(`Anchor/Self position must end with one of left/middle/right/start/end`),!1):(console.error(`Anchor/Self position must start with one of top/center/bottom`),!1):!1}function _T(e){return e?!(e.length!==2||typeof e[0]!=`number`||typeof e[1]!=`number`):!0}var vT={"start#ltr":`left`,"start#rtl":`right`,"end#ltr":`right`,"end#rtl":`left`};[`left`,`middle`,`right`].forEach(e=>{vT[`${e}#ltr`]=e,vT[`${e}#rtl`]=e});function yT(e,t){let n=e.split(` `);return{vertical:n[0],horizontal:vT[`${n[1]}#${t===!0?`rtl`:`ltr`}`]}}function bT(e,t){let{top:n,left:r,right:i,bottom:a,width:o,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],r-=t[0],a+=t[1],i+=t[0],o+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:r,right:i,width:o,middle:r+(i-r)/2,center:n+(a-n)/2}}function xT(e,t,n){let{top:r,left:i}=e.getBoundingClientRect();return r+=t.top,i+=t.left,n!==void 0&&(r+=n[1],i+=n[0]),{top:r,bottom:r+1,height:1,left:i,right:i+1,width:1,middle:i,center:r}}function ST(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function CT(e,t,n,r){return{top:e[n.vertical]-t[r.vertical],left:e[n.horizontal]-t[r.horizontal]}}function wT(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{wT(e,t+1)},10);return}let{targetEl:n,offset:r,anchorEl:i,anchorOrigin:a,selfOrigin:o,absoluteOffset:s,fit:c,cover:l,maxHeight:u,maxWidth:d}=e;
6if(wC.is.ios===!0&&window.visualViewport!==void 0){let e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==mT&&(e.setProperty(`--q-pe-left`,t+`px`),mT=t),n!==hT&&(e.setProperty(`--q-pe-top`,n+`px`),hT=n)}let{scrollLeft:f,scrollTop:p}=n,m=s===void 0?bT(i,l===!0?[0,0]:r):xT(i,s,r);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:d||`100vw`,maxHeight:u||`100vh`,visibility:`visible`});let{offsetWidth:h,offsetHeight:g}=n,{elWidth:_,elHeight:v}=c===!0||l===!0?{elWidth:Math.max(m.width,h),elHeight:l===!0?Math.max(m.height,g):g}:{elWidth:h,elHeight:g},y={maxWidth:d,maxHeight:u};(c===!0||l===!0)&&(y.minWidth=m.width+`px`,l===!0&&(y.minHeight=m.height+`px`)),Object.assign(n.style,y);let b=ST(_,v),x=CT(m,b,a,o);if(s===void 0||r===void 0)TT(x,m,b,a,o);else{let{top:e,left:t}=x;TT(x,m,b,a,o);let n=!1;if(x.top!==e){n=!0;let e=2*r[1];m.center=m.top-=e,m.bottom-=e+2}if(x.left!==t){n=!0;let e=2*r[0];m.middle=m.left-=e,m.right-=e+2}n===!0&&(x=CT(m,b,a,o),TT(x,m,b,a,o))}y={top:x.top+`px`,left:x.left+`px`},x.maxHeight!==void 0&&(y.maxHeight=x.maxHeight+`px`,m.height>x.maxHeight&&(y.minHeight=y.maxHeight)),x.maxWidth!==void 0&&(y.maxWidth=x.maxWidth+`px`,m.width>x.maxWidth&&(y.minWidth=y.maxWidth)),Object.assign(n.style,y),n.scrollTop!==p&&(n.scrollTop=p),n.scrollLeft!==f&&(n.scrollLeft=f)}function TT(e,t,n,r,i){let a=n.bottom,o=n.right,s=Sw(),c=window.innerHeight-s,l=document.body.clientWidth;if(e.top<0||e.top+a>c)if(i.vertical===`center`)e.top=t[r.vertical]>c/2?Math.max(0,c-a):0,e.maxHeight=Math.min(a,c);else if(t[r.vertical]>c/2){let n=Math.min(c,r.vertical===`center`?t.center:r.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,r.vertical===`center`?t.center:r.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,c-e.top);if(e.left<0||e.left+o>l)if(e.maxWidth=Math.min(o,l),i.horizontal===`middle`)e.left=t[r.horizontal]>l/2?Math.max(0,l-o):0;else if(t[r.horizontal]>l/2){let n=Math.min(l,r.horizontal===`middle`?t.middle:r.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(o,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,r.horizontal===`middle`?t.middle:r.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(o,l-e.left)}y(),Se(),he();var ET=Ey({name:`QTooltip`,inheritAttrs:!1,props:{...iT,...PC,...LC,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...LC.transitionShow,default:`jump-down`},transitionHide:{...LC.transitionHide,default:`jump-up`},anchor:{type:String,default:`bottom middle`,validator:gT},self:{type:String,default:`top middle`,validator:gT},offset:{type:Array,default:()=>[14,14],validator:_T},scrollTarget:cw,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...FC],setup(e,{slots:t,emit:n,attrs:r}){let i,a,o=N(),{proxy:{$q:s}}=o,l=_(null),u=_(!1),d=m(()=>yT(e.anchor,s.lang.rtl)),f=m(()=>yT(e.self,s.lang.rtl)),p=m(()=>e.persistent!==!0),{registerTick:h,removeTick:g}=NC(),{registerTimeout:v}=MC(),{transitionProps:y,transitionStyle:b}=RC(e),{localScrollTarget:x,changeScrollEvent:S,unconfigureScrollTarget:C}=sT(e,R),{anchorEl:w,canShow:T,anchorEvents:E}=oT({showing:u,configureAnchorEl:te}),{show:D,hide:O}=IC({showing:u,canShow:T,handleShow:ee,handleHide:M,hideOnRouteChange:p,processOnMount:!0});Object.assign(E,{delayShow:I,delayHide:L});let{showPortal:k,hidePortal:A,renderPortal:j}=sw(o,l,z,`tooltip`);if(s.platform.is.mobile===!0){let t={anchorEl:w,innerRef:l,onClickOutside(e){return O(e),e.target.classList.contains(`q-dialog__backdrop`)&&cb(e),!0}};B(m(()=>e.modelValue===null&&e.persistent!==!0&&u.value===!0),e=>{(e===!0?fT:pT)(t)}),re(()=>{pT(t)})}function ee(t){k(),h(()=>{a=new MutationObserver(()=>F()),a.observe(l.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),F(),R()}),i===void 0&&(i=B(()=>s.screen.width+`|`+s.screen.height+`|`+e.self+`|`+e.anchor+`|`+s.lang.rtl,F)),v(()=>{k(!0),n(`show`,t)},e.transitionDuration)}function M(t){g(),A(),P(),v(()=>{A(!0),n(`hide`,t)},e.transitionDuration)}function P(){a!==void 0&&(a.disconnect(),a=void 0),i!==void 0&&(i(),i=void 0),C(),db(E,`tooltipTemp`)}function F(){wT({targetEl:l.value,offset:e.offset,anchorEl:w.value,anchorOrigin:d.value,selfOrigin:f.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function I(t){if(s.platform.is.mobile===!0){rT(),document.body.classList.add(`non-selectable`);let e=w.value;ub(E,`tooltipTemp`,[`touchmove`,`touchcancel`,`touchend`,`click`].map(t=>[e,t,`delayHide`,`passiveCapture`]))}v(()=>{D(t)},e.delay)}function L(t){s.platform.is.mobile===!0&&(db(E,`tooltipTemp`),rT(),setTimeout(()=>{document.body.classList.remove(`non-selectable`)},10)),v(()=>{O(t)},e.hideDelay)}function te(){e.noParentEvent===!0||w.value===null||ub(E,`anchor`,s.platform.is.mobile===!0?[[w.value,`touchstart`,`delayShow`,`passive`]]:[[w.value,`mouseenter`,`delayShow`,`passive`],[w.value,`mouseleave`,`delayHide`,`passive`]])}function R(){if(w.value!==null||e.scrollTarget!==void 0){x.value=uw(w.value,e.scrollTarget);let t=e.noParentEvent===!0?F:O;S(x.value,t)}}function ne(){return u.value===!0?c(`div`,{...r,ref:l,class:[`q-tooltip q-tooltip--style q-position-engine no-pointer-events`,r.class],style:[r.style,b.value],role:`tooltip`},ky(t.default)):null}function z(){return c(Ce,y.value,ne)}return re(P),Object.assign(o.proxy,{updatePosition:F}),j}});y(),Se(),he();var DT=Ey({name:`QMenu`,inheritAttrs:!1,props:{...aT,...PC,...Xb,...LC,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDism
6iss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:gT},self:{type:String,validator:gT},offset:{type:Array,validator:_T},scrollTarget:cw,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...FC,`click`,`escapeKey`],setup(e,{slots:t,emit:n,attrs:r}){let i=null,a,o,s,l=N(),{proxy:u}=l,{$q:d}=u,f=_(null),p=_(!1),h=m(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Zb(e,d),{registerTick:v,removeTick:y}=NC(),{registerTimeout:b}=MC(),{transitionProps:x,transitionStyle:S}=RC(e),{localScrollTarget:C,changeScrollEvent:w,unconfigureScrollTarget:T}=sT(e,ie),{anchorEl:E,canShow:D}=oT({showing:p}),{hide:O}=IC({showing:p,canShow:D,handleShow:R,handleHide:ne,hideOnRouteChange:h,processOnMount:!0}),{showPortal:k,hidePortal:A,renderPortal:j}=sw(l,f,le,`menu`),ee={anchorEl:E,innerRef:f,onClickOutside(t){if(e.persistent!==!0&&p.value===!0)return O(t),(t.type===`touchstart`||t.target.classList.contains(`q-dialog__backdrop`))&&cb(t),!0}},M=m(()=>yT(e.anchor||(e.cover===!0?`center middle`:`bottom start`),d.lang.rtl)),P=m(()=>e.cover===!0?M.value:yT(e.self||`top start`,d.lang.rtl)),F=m(()=>(e.square===!0?` q-menu--square`:``)+(g.value===!0?` q-menu--dark q-dark`:``)),I=m(()=>e.autoClose===!0?{onClick:ae}:{}),L=m(()=>p.value===!0&&e.persistent!==!0);B(L,e=>{e===!0?(qw(se),fT(ee)):(Jw(se),pT(ee))});function te(){WC(()=>{let e=f.value;e&&e.contains(document.activeElement)!==!0&&(e=e.querySelector(`[autofocus][tabindex], [data-autofocus][tabindex]`)||e.querySelector(`[autofocus] [tabindex], [data-autofocus] [tabindex]`)||e.querySelector(`[autofocus], [data-autofocus]`)||e,e.focus({preventScroll:!0}))})}function R(t){if(i=e.noRefocus===!1?document.activeElement:null,Zw(oe),k(),ie(),a=void 0,t!==void 0&&(e.touchPosition||e.contextMenu)){let e=ib(t);if(e.left!==void 0){let{top:t,left:n}=E.value.getBoundingClientRect();a={left:e.left-n,top:e.top-t}}}o===void 0&&(o=B(()=>d.screen.width+`|`+d.screen.height+`|`+e.self+`|`+e.anchor+`|`+d.lang.rtl,ce)),e.noFocus!==!0&&document.activeElement.blur(),v(()=>{ce(),e.noFocus!==!0&&te()}),b(()=>{d.platform.is.ios===!0&&(s=e.autoClose,f.value.click()),ce(),k(!0),n(`show`,t)},e.transitionDuration)}function ne(t){y(),A(),z(!0),i!==null&&(t===void 0||t.qClickOutside!==!0)&&(((t&&t.type.indexOf(`key`)===0?i.closest(`[tabindex]:not([tabindex^="-"])`):void 0)||i).focus(),i=null),b(()=>{A(!0),n(`hide`,t)},e.transitionDuration)}function z(e){a=void 0,o!==void 0&&(o(),o=void 0),(e===!0||p.value===!0)&&(Qw(oe),T(),pT(ee),Jw(se)),e!==!0&&(i=null)}function ie(){(E.value!==null||e.scrollTarget!==void 0)&&(C.value=uw(E.value,e.scrollTarget),w(C.value,ce))}function ae(e){s===!0?s=!1:(rw(u,e),n(`click`,e))}function oe(t){L.value===!0&&e.noFocus!==!0&&eb(f.value,t.target)!==!0&&te()}function se(e){n(`escapeKey`),O(e)}function ce(){wT({targetEl:f.value,offset:e.offset,anchorEl:E.value,anchorOrigin:M.value,selfOrigin:P.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function le(){return c(Ce,x.value,()=>p.value===!0?c(`div`,{role:`menu`,...r,ref:f,tabindex:-1,class:[`q-menu q-position-engine scroll`+F.value,r.class],style:[r.style,S.value],...I.value},ky(t.default)):null)}return re(z),Object.assign(u,{focus:te,updatePosition:ce}),j}});y(),Se();function OT(e,t){let n=_(null),r=m(()=>e.disable===!0?null:c(`span`,{ref:n,class:`no-outline`,tabindex:-1}));function i(e){let r=t.value;e!==void 0&&e.type.indexOf(`key`)===0?r!==null&&document.activeElement!==r&&r.contains(document.activeElement)===!0&&r.focus():n.value!==null&&(e===void 0||r!==null&&r.contains(e.target)===!0)&&n.value.focus()}return{refocusTargetEl:r,refocusTarget:i}}y();var kT={name:String};function AT(e){return m(()=>({type:`hidden`,name:e.name,value:e.modelValue}))}function jT(e={}){return(t,n,r)=>{t[n](c(`input`,{class:`hidden`+(r||``),...e.value}))}}function MT(e){return m(()=>e.name||e.for)}var NT={xs:30,sm:35,md:40,lg:50,xl:60};y(),Se();var PT={...Xb,...Cy,...kT,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e===`tf`||e===`ft`},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},FT=[`update:modelValue`];function IT(e,t){let{props:n,slots:r,emit:i,proxy:a}=N(),{$q:o}=a,s=Zb(n,o),l=_(null),{refocusTargetEl:u,refocusTarget:d}=OT(n,l),f=wy(n,NT),p=m(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=m(()=>{let e=Ke(n.val);return p.value===!0?n.modelValue.findIndex(t=>Ke(t)===e):-1}),g=m(()=>p.value===!0?h.value!==-1:Ke(n.modelValue)===Ke(n.trueValue)),v=m(()=>p.value===!0?h.value===-1:Ke(n.modelValue)===Ke(n.falseValue)),y=m(()=>g.value===!1&&v.value===!1),b=m(()=>n.disable===!0?-1:n.tabindex||0),x=m(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?` disabled`:``)+(s.value===!0?` q-${e}--dark`:``)+(n.dense===!0?` q-${e}--dense`:``)+(n.leftLabel===!0?` reverse`:``)),S=m(()=>`q-${e}__inner relative-position non-selectable q-${e}__inner--${g.value===!0?`truthy`:v.value===!0?`falsy`:`indet`}${n.color!==void 0&&(n.keepColor===!0||(e===`toggle`?g.value===!0:v.value!==!0))?` text-${n.color}`:``}`),C=jT(m(()=>{let e={type:`checkbox`};return n.name!==void 0&&Object.assign(e,{".checked":g.value,"^checked":g.value===!0?`checked`:void 0,name:n.name,value:p.value===!0?n.val:n.trueValue}),e})),w=m(()=>{let t={tabindex:b.value,role:e===`toggle`?`switch`:`checkbox`,"aria-label":n.label,"aria-checked":y.value===!0?`mixed`:g.value===!0?`true`:`false`};return n.disable===!0&&(t[`aria-disabled`]=`true`),t});function T(e){e!==void 0&&(cb(e),d(e)),n.disable!==!0&&i(`update:modelValue`,E(),e)}
6function E(){if(p.value===!0){if(g.value===!0){let e=n.modelValue.slice();return e.splice(h.value,1),e}return n.modelValue.concat([n.val])}if(g.value===!0){if(n.toggleOrder!==`ft`||n.toggleIndeterminate===!1)return n.falseValue}else if(v.value===!0){if(n.toggleOrder===`ft`||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder===`ft`?n.falseValue:n.trueValue;return n.indeterminateValue}function D(e){(e.keyCode===13||e.keyCode===32)&&cb(e)}function O(e){(e.keyCode===13||e.keyCode===32)&&T(e)}let k=t(g,y);return Object.assign(a,{toggle:T}),()=>{let t=k();n.disable!==!0&&C(t,`unshift`,` q-${e}__native absolute q-ma-none q-pa-none`);let i=[c(`div`,{class:S.value,style:f.value,"aria-hidden":`true`},t)];u.value!==null&&i.push(u.value);let a=n.label===void 0?ky(r.default):jy(r.default,[n.label]);return a!==void 0&&i.push(c(`div`,{class:`q-${e}__label q-anchor--skip`},a)),c(`div`,{ref:l,class:x.value,...w.value,onClick:T,onKeydown:D,onKeyup:O},i)}}y();var LT=()=>c(`div`,{key:`svg`,class:`q-checkbox__bg absolute`},[c(`svg`,{class:`q-checkbox__svg fit absolute-full`,viewBox:`0 0 24 24`},[c(`path`,{class:`q-checkbox__truthy`,fill:`none`,d:`M1.73,12.91 8.1,19.28 22.79,4.59`}),c(`path`,{class:`q-checkbox__indet`,d:`M4,14H20V10H4`}
6)])]),RT=Ey({name:`QCheckbox`,props:PT,emits:FT,setup(e){let t=LT();function n(n,r){let i=m(()=>(n.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>i.value===null?[t]:[c(`div`,{key:`icon`,class:`q-checkbox__icon-container absolute-full flex flex-center no-wrap`},[c(Jy,{class:`q-checkbox__icon`,name:i.value})])]}return IT(`checkbox`,n)}});function zT(e,t,n){return n={path:t,exports:{},require:function(e,t){return BT(e,t??n.path)}},e(n,n.exports),n.exports}function BT(){throw Error(`Dynamic requires are not currently supported by @rollup/plugin-commonjs`)}var VT=zT(function(e){var t=e.exports=typeof window<`u`&&window.Math==Math?window:typeof self<`u`&&self.Math==Math?self:Function(`return this`)();typeof __g==`number`&&(__g=t)}),HT=zT(function(e){var t=e.exports={version:`2.6.12`};typeof __e==`number`&&(__e=t)}),UT=function(e){return typeof e==`object`?e!==null:typeof e==`function`},WT=function(e){if(!UT(e))throw TypeError(e+` is not an object!`);return e},GT=function(e){try{return!!e()}catch{return!0}},KT=!GT(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),qT=VT.document,JT=UT(qT)&&UT(qT.createElement),YT=function(e){return JT?qT.createElement(e):{}},XT=!KT&&!GT(function(){return Object.defineProperty(YT(`div`),"a",{get:function(){return 7}}).a!=7}),ZT=function(e,t){if(!UT(e))return e;var n,r;if(t&&typeof(n=e.toString)==`function`&&!UT(r=n.call(e))||typeof(n=e.valueOf)==`function`&&!UT(r=n.call(e))||!t&&typeof(n=e.toString)==`function`&&!UT(r=n.call(e)))return r;throw TypeError(`Can't convert object to primitive value`)},QT=Object.defineProperty,$T={f:KT?Object.defineProperty:function(e,t,n){if(WT(e),t=ZT(t,!0),WT(n),XT)try{return QT(e,t,n)}catch{}if(`get`in n||`set`in n)throw TypeError(`Accessors not supported!`);return`value`in n&&(e[t]=n.value),e}},eE=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},tE=KT?function(e,t,n){return $T.f(e,t,eE(1,n))}:function(e,t,n){return e[t]=n,e},nE={}.hasOwnProperty,rE=function(e,t){return nE.call(e,t)},iE=0,aE=Math.random(),oE=function(e){return`Symbol(${e===void 0?``:e})_${(++iE+aE).toString(36)}`},sE=zT(function(e){var t=`__core-js_shared__`,n=VT[t]||(VT[t]={});(e.exports=function(e,t){return n[e]||(n[e]=t===void 0?{}:t)})(`versions`,[]).push({version:HT.version,mode:`global`,copyright:`© 2020 Denis Pushkarev (zloirock.ru)`})}),cE=sE(`native-function-to-string`,Function.toString),lE=zT(function(e){var t=oE(`src`),n=`toString`,r=(``+cE).split(n);HT.inspectSource=function(e){return cE.call(e)},(e.exports=function(e,n,i,a){var o=typeof i==`function`;o&&(rE(i,`name`)||tE(i,`name`,n)),e[n]!==i&&(o&&(rE(i,t)||tE(i,t,e[n]?``+e[n]:r.join(String(n)))),e===VT?e[n]=i:a?e[n]?e[n]=i:tE(e,n,i):(delete e[n],tE(e,n,i)))})(Function.prototype,n,function(){return typeof this==`function`&&this[t]||cE.call(this)})}),uE=function(e){if(typeof e!=`function`)throw TypeError(e+` is not a function!`);return e},dE=function(e,t,n){if(uE(e),t===void 0)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},fE=`prototype`,pE=function(e,t,n){var r=e&pE.F,i=e&pE.G,a=e&pE.S,o=e&pE.P,s=e&pE.B,c=i?VT:a?VT[t]||(VT[t]={}):(VT[t]||{})[fE],l=i?HT:HT[t]||(HT[t]={}),u=l[fE]||(l[fE]={}),d,f,p,m;for(d in i&&(n=t),n)f=!r&&c&&c[d]!==void 0,p=(f?c:n)[d],m=s&&f?dE(p,VT):o&&typeof p==`function`?dE(Function.call,p):p,c&&lE(c,d,p,e&pE.U),l[d]!=p&&tE(l,d,m),o&&u[d]!=p&&(u[d]=p)};VT.core=HT,pE.F=1,pE.G=2,pE.S=4,pE.P=8,pE.B=16,pE.W=32,pE.U=64,pE.R=128;var mE=pE,hE={}.toString,gE=function(e){return hE.call(e).slice(8,-1)},_E=Object(`z`).propertyIsEnumerable(0)?Object:function(e){return gE(e)==`String`?e.split(``):Object(e)},vE=function(e){if(e==null)throw TypeError(`Can't call method on  `+e);return e},yE=function(e){return _E(vE(e))},bE=Math.ceil,xE=Math.floor,SE=function(e){return isNaN(e=+e)?0:(e>0?xE:bE)(e)},CE=Math.min,wE=function(e){return e>0?CE(SE(e),9007199254740991):0},TE=Math.max,EE=Math.min,DE=function(e,t){return e=SE(e),e<0?TE(e+t,0):EE(e,t)},OE=function(e){return function(t,n,r){var i=yE(t),a=wE(i.length),o=DE(r,a),s;if(e&&n!=n){for(;a>o;)if(s=i[o++],s!=s)return!0}else for(;a>o;o++)if((e||o in i)&&i[o]===n)return e||o||0;return!e&&-1}},kE=zT(function(e){var t=sE(`wks`),n=VT.Symbol,r=typeof n==`function`,i=e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:oE)(`Symbol.`+e))};i.store=t}),AE=kE(`unscopables`),jE=Array.prototype;jE[AE]??tE(jE,AE,{});var ME=function(e){jE[AE][e]=!0},NE=OE(!0);mE(mE.P,`Array`,{includes:function(e){return NE(this,e,arguments.length>1?arguments[1]:void 0)}}),ME(`includes`),HT.Array.includes;var PE=sE(`keys`),FE=function(e){return PE[e]||(PE[e]=oE(e))},IE=OE(!1),LE=FE(`IE_PROTO`),RE=function(e,t){var n=yE(e),r=0,i=[],a;for(a in n)a!=LE&&rE(n,a)&&i.push(a);for(;t.length>r;)rE(n,a=t[r++])&&(~IE(i,a)||i.push(a));return i},zE=`constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleStr
6ing,toString,valueOf`.split(`,`),BE=Object.keys||function(e){return RE(e,zE)},VE={f:Object.getOwnPropertySymbols},HE={f:{}.propertyIsEnumerable},UE=function(e){return Object(vE(e))},WE=Object.assign,GE=!WE||GT(function(){var e={},t={},n=Symbol(),r=`abcdefghijklmnopqrst`;return e[n]=7,r.split(``).forEach(function(e){t[e]=e}),WE({},e)[n]!=7||Object.keys(WE({},t)).join(``)!=r})?function(e,t){for(var n=UE(e),r=arguments.length,i=1,a=VE.f,o=HE.f;r>i;)for(var s=_E(arguments[i++]),c=a?BE(s).concat(a(s)):BE(s),l=c.length,u=0,d;l>u;)d=c[u++],(!KT||o.call(s,d))&&(n[d]=s[d]);return n}:WE;mE(mE.S+mE.F,`Object`,{assign:GE}),HT.Object.assign;var KE=HE.f,qE=function(e){return function(t){for(var n=yE(t),r=BE(n),i=r.length,a=0,o=[],s;i>a;)s=r[a++],(!KT||KE.call(n,s))&&o.push(e?[s,n[s]]:n[s]);return o}},JE=qE(!0);mE(mE.S,`Object`,{entries:function(e){return JE(e)}}),HT.Object.entries;var YE=qE(!1);mE(mE.S,`Object`,{values:function(e){return YE(e)}}),HT.Object.values;var XE=kE(`match`),ZE=function(e){var t;return UT(e)&&((t=e[XE])===void 0?gE(e)==`RegExp`:!!t)},QE=function(e,t,n){if(ZE(t))throw TypeError(`String#`+n+` doesn't accept regex!`);return String(vE(e))},$E=kE(`match`),eD=function(e){var t=/./;try{`/./`[e](t)}catch{try{return t[$E]=!1,!`/./`[e](t)}catch{}}return!0},tD=`startsWith`,nD=``[tD];mE(mE.P+mE.F*eD(tD),`String`,{startsWith:function(e){var t=QE(this,e,tD),n=wE(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return nD?nD.call(t,r,n):t.slice(n,n+r.length)===r}}),HT.String.startsWith;var rD=function(e){return function(t,n){var r=String(vE(t)),i=SE(n),a=r.length,o,s;return i<0||i>=a?e?``:void 0:(o=r.charCodeAt(i),o<55296||o>56319||i+1===a||(s=r.charCodeAt(i+1))<56320||s>57343?e?r.charAt(i):o:e?r.slice(i,i+2):(o-55296<<10)+(s-56320)+65536)}},iD={},aD=KT?Object.defineProperties:function(e,t){WT(e);for(var n=BE(t),r=n.length,i=0,a;r>i;)$T.f(e,a=n[i++],t[a]);return e},oD=VT.document,sD=oD&&oD.documentElement,cD=FE(`IE_PROTO`),lD=function(){},uD=`prototype`,dD=function(){var e=YT(`iframe`),t=zE.length,n=`<`,r=`>`,i;for(e.style.display=`none`,sD.appendChild(e),e.src=`javascript:`,i=e.contentWindow.document,i.open(),i.write(n+`script`+r+`document.F=Object`+n+`/script`+r),i.close(),dD=i.F;t--;)delete dD[uD][zE[t]];return dD()},fD=Object.create||function(e,t){var n;return e===null?n=dD():(lD[uD]=WT(e),n=new lD,lD[uD]=null,n[cD]=e),t===void 0?n:aD(n,t)},pD=$T.f,mD=kE(`toStringTag`),hD=function(e,t,n){e&&!rE(e=n?e:e.prototype,mD)&&pD(e,mD,{configurable:!0,value:t})},gD={};tE(gD,kE(`iterator`),function(){return this});var _D=function(e,t,n){e.prototype=fD(gD,{next:eE(1,n)}),hD(e,t+` Iterator`)},vD=FE(`IE_PROTO`),yD=Object.prototype,bD=Object.getPrototypeOf||function(e){return e=UE(e),rE(e,vD)?e[vD]:typeof e.constructor==`function`&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?yD:null},xD=kE(`iterator`),SD=!([].keys&&`next`in[].keys()),CD=`@@iterator`,wD=`keys`,TD=`values`,ED=function(){return this},DD=function(e,t,n,r,i,a,o){_D(n,t,r);var s=function(e){if(!SD&&e in d)return d[e];switch(e){case wD:return function(){return new n(this,e)};case TD:return function(){return new n(this,e)}}return function(){return new n(this,e)}},c=t+` Iterator`,l=i==TD,u=!1,d=e.prototype,f=d[xD]||d[CD]||i&&d[i],p=f||s(i),m=i?l?s(`entries`):p:void 0,h=t==`Array`&&d.entries||f,g,_,v;if(h&&(v=bD(h.call(new e)),v!==Object.prototype&&v.next&&(hD(v,c,!0),typeof v[xD]!=`function`&&tE(v,xD,ED))),l&&f&&f.name!==TD&&(u=!0,p=function(){return f.call(this)}),(SD||u||!d[xD])&&tE(d,xD,p),iD[t]=p,iD[c]=ED,i)if(g={values:l?p:s(TD),keys:a?p:s(wD),entries:m},o)for(_ in g)_ in d||lE(d,_,g[_]);else mE(mE.P+mE.F*(SD||u),t,g);return g},OD=rD(!0);DD(String,`String`,function(e){this._t=String(e),this._i=0},function(){var e=this._t,t=this._i,n;return t>=e.length?{value:void 0,done:!0}:(n=OD(e,t),this._i+=n.length,{value:n,done:!1})});var kD=function(e,t,n,r){try{return r?t(WT(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw i!==void 0&&WT(i.call(e)),t}},AD=kE(`iterator`),jD=Array.prototype,MD=function(e){return e!==void 0&&(iD.Array===e||jD[AD]===e)},ND=function(e,t,n){t in e?$T.f(e,t,eE(0,n)):e[t]=n},PD=kE(`toStringTag`),FD=gE(function(){return arguments}())==`Arguments`,ID=function(e,t){try{return e[t]}catch{}},LD=function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=ID(t=Object(e),PD))==`string`?n:FD?gE(t):(r=gE(t))==`Object`&&typeof t.callee==`function`?`Arguments`:r},RD=kE(`iterator`),zD=HT.getIteratorMethod=function(e){if(e!=null)return e[RD]||e[`@@iterator`]||iD[LD(e)]},BD=kE(`iterator`),VD=!1;try{var HD=[7][BD]();HD.return=function(){VD=!0},Array.from(HD,function(){throw 2})}catch{}mE(mE.S+mE.F*!function(e,t){if(!t&&!VD)return!1;var n=!1;try{var r=[7],i=r[BD]();i.next=function(){return{done:n=!0}},r[BD]=function(){return i},e(r)}catch{}return n}(function(e){Array.from(e)}),`Array`,{from:function(e){var t=UE(e),n=typeof this==`function`?this:Array,r=arguments.length,i=r>1?arguments[1]:void 0,a=i!==void 0,o=0,s=zD(t),c,l,u,d;
6if(a&&(i=dE(i,r>2?arguments[2]:void 0,2)),s!=null&&!(n==Array&&MD(s)))for(d=s.call(t),l=new n;!(u=d.next()).done;o++)ND(l,o,a?kD(d,i,[u.value,o],!0):u.value);else for(c=wE(t.length),l=new n(c);c>o;o++)ND(l,o,a?i(t[o],o):t[o]);return l.length=o,l}}),HT.Array.from;var UD=Array.isArray||function(e){return gE(e)==`Array`},WD=kE(`species`),GD=function(e){var t;return UD(e)&&(t=e.constructor,typeof t==`function`&&(t===Array||UD(t.prototype))&&(t=void 0),UT(t)&&(t=t[WD],t===null&&(t=void 0))),t===void 0?Array:t},KD=function(e,t){return new(GD(e))(t)},qD=function(e,t){var n=e==1,r=e==2,i=e==3,a=e==4,o=e==6,s=e==5||o,c=t||KD;return function(t,l,u){for(var d=UE(t),f=_E(d),p=dE(l,u,3),m=wE(f.length),h=0,g=n?c(t,m):r?c(t,0):void 0,_,v;m>h;h++)if((s||h in f)&&(_=f[h],v=p(_,h,d),e)){if(n)g[h]=v;else if(v)switch(e){case 3:return!0;case 5:return _;case 6:return h;case 2:g.push(_)}else if(a)return!1}return o?-1:i||a?a:g}}(5),JD=`find`,YD=!0;JD in[]&&[,][JD](function(){YD=!1}),mE(mE.P+mE.F*YD,`Array`,{find:function(e){return qD(this,e,arguments.length>1?arguments[1]:void 0)}}),ME(JD),HT.Array.find;var XD=class{static register(e){this.store=e}},ZD=(e,t={})=>{let n=t.namespace||`entities`;return t=>{e.start(t,n),XD.register(t)}};function QD(e){return Array.isArray(e)}function $D(e){return QD(e)?e.length:Object.keys(e).length}function eO(e){return $D(e)===0}function tO(e,t){Object.keys(e).forEach(n=>t(e[n],n,e))}function nO(e,t){let n=[];for(let r in e)n.push(t(e[r],r,e));return n}function rO(e,t){let n=Object.assign({},e);return Object.keys(e).reduce((n,r)=>(n[r]=t(e[r],r,e),n),n)}function iO(e,t){let n={};return e.forEach(e=>{n[e[t]]=e}),n}function aO(e,t,n){let r=-1;return oO(e.map(e=>({criteria:t.map(t=>typeof t==`function`?t(e):e[t]),index:++r,value:e})),(e,t)=>sO(e,t,n))}function oO(e,t){let n=e.length;e.sort(t);let r=[];for(;n--;)r[n]=e[n].value;return r}function sO(e,t,n){let r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;for(;++r<o;){let e=cO(i[r],a[r]);if(e)return r>=s?e:e*(n[r]===`desc`?-1:1)}return e.index-t.index}function cO(e,t){if(e!==t){let n=e!==void 0,r=e===null,i=e===e,a=t!==void 0,o=t===null,s=t===t;if((typeof e!=`number`||typeof t!=`number`)&&(e=String(e),t=String(t)),!o&&e>t||r&&a&&s||!n&&s||!i)return 1;if(!r&&e<t||o&&n&&i||!a&&i||!s)return-1}return 0}function lO(e,t){return e.reduce((e,n)=>{let r=t(n);return e[r]===void 0&&(e[r]=[]),e[r].push(n),e},{})}function uO(e){if(e===null)return e;if(QD(e)){let t=[];return e.forEach(e=>t.push(e)),t.map(e=>uO(e))}if(typeof e==`object`&&e!=={}){let t={...e};return Object.keys(t).forEach(e=>t[e]=uO(t[e])),t}return e}var dO={isArray:QD,size:$D,isEmpty:eO,forOwn:tO,map:nO,mapValues:rO,keyBy:iO,orderBy:aO,groupBy:lO,cloneDeep:uO},fO=class{static make(){return this.count++,`${this.prefix}${this.count}`}static reset(){this.count=0}};fO.count=0,fO.prefix=`$uid`;var pO=class{constructor(e){this.model=e}},mO=class extends pO{constructor(e,t,n){super(e),this.isNullable=!1,this.value=t,this.mutator=n}nullable(){return this.isNullable=!0,this}mutate(e,t){let n=this.mutator||this.model.mutators()[t];return n?n(e):e}},hO=class extends mO{constructor(e,t,n){super(e,t,n)}make(e,t,n){e=e===void 0?this.value:e;let r=e;return typeof e==`function`&&(r=e()),this.mutate(r,n)}},gO=class extends mO{constructor(e,t,n){super(e,t,n)}make(e,t,n){return this.mutate(this.fix(e),n)}fix(e){return e===void 0?this.value:typeof e==`string`||e===null&&this.isNullable?e:e+``}},_O=class extends mO{constructor(e,t,n){super(e,t,n)}make(e,t,n){return this.mutate(this.fix(e),n)}fix(e){return e===void 0?this.value:typeof e==`number`?e:typeof e==`string`?parseFloat(e):typeof e==`boolean`?+!!e:e===null&&this.isNullable?e:0}},vO=class extends mO{constructor(e,t,n){super(e,t,n)}make(e,t,n){return this.mutate(this.fix(e),n)}fix(e){if(e===void 0)return this.value;if(typeof e==`boolean`)return e;if(typeof e==`string`){if(e.length===0)return!1;let t=parseInt(e,0);return isNaN(t)?!0:!!t}return typeof e==`number`?!!e:e===null&&this.isNullable?e:!1}},yO=class extends mO{constructor(e,t){super(e,t)}make(e){return typeof e==`number`||typeof e==`string`?e:typeof this.value==`function`?this.value():fO.make()}},bO=class extends pO{getRelation(e,t,n){let r=e.newQuery(t);
6return n.forEach(e=>{e(r)}),r}getKeys(e,t){return e.reduce((e,n)=>(n[t]===null||n[t]===void 0||e.push(n[t]),e),[])}mapSingleRelations(e,t){let n=new Map;return e.forEach(e=>{let r=e[t];!n.get(r)&&n.set(r,e)}),n}mapManyRelations(e,t){let n=new Map;return e.forEach(e=>{let r=e[t],i=n.get(r);i||(i=[],n.set(r,i)),i.push(e)}),n}mapRelationsByOrders(e,t,n,r){let i={};return t.forEach((t,a)=>{e.filter(e=>e[r]===a).forEach(e=>{let r=e[n];i[r]||(i[r]=[]),i[r]=i[r].concat(t)})}),i}isOneRelation(e){return!!(!QD(e)&&typeof e==`object`&&e)}isManyRelation(e){return!(!QD(e)||e.length<1)}makeOneRelation(e,t){return this.isOneRelation(e)?new((t.getModelFromRecord(e))||t)(e):null}makeManyRelation(e,t){return this.isManyRelation(e)?e.filter(e=>this.isOneRelation(e)).map(e=>new((t.getModelFromRecord(e))||t)(e)):[]}},xO=class extends bO{constructor(e,t,n,r){super(e),this.related=this.model.relation(t),this.foreignKey=n,this.localKey=r}define(e){return e.one(this.related)}attach(e,t,n){t[this.localKey]||(t[this.localKey]=this.model.getIndexIdFromRecord(t));let r=n[this.related.entity]&&n[this.related.entity][e];r&&(r[this.foreignKey]=t[this.localKey])}make(e,t,n){return this.makeOneRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r);this.addEagerConstraints(i,t),this.match(t,i.get(),n)}addEagerConstraints(e,t){e.whereFk(this.foreignKey,this.getKeys(t,this.localKey))}match(e,t,n){let r=this.buildDictionary(t);e.forEach(e=>{e[n]=r[e[this.localKey]]||null})}buildDictionary(e){return e.reduce((e,t)=>{let n=t[this.foreignKey];return e[n]=t,e},{})}},SO=class extends bO{constructor(e,t,n,r){super(e),this.parent=this.model.relation(t),this.foreignKey=n,this.ownerKey=r}define(e){return e.one(this.parent)}attach(e,t,n){t[this.foreignKey]===void 0&&(t[this.foreignKey]=n[this.parent.entity]&&n[this.parent.entity][e]?n[this.parent.entity][e][this.ownerKey]:e)}make(e,t,n){return this.makeOneRelation(e,this.parent)}load(e,t,n,r){let i=this.getRelation(e,this.parent.entity,r);this.addEagerConstraints(i,t),this.match(t,i.get(),n)}addEagerConstraints(e,t){e.whereFk(this.ownerKey,this.getKeys(t,this.foreignKey))}match(e,t,n){let r=this.buildDictionary(t);e.forEach(e=>{let t=e[this.foreignKey];e[n]=(t===null?null:r[t])||null})}buildDictionary(e){return e.reduce((e,t)=>{let n=t[this.ownerKey];return e[n]=t,e},{})}},CO=class extends bO{constructor(e,t,n,r){super(e),this.related=this.model.relation(t),this.foreignKey=n,this.localKey=r}define(e){return e.many(this.related)}attach(e,t,n){e.forEach(e=>{let r=n[this.related.entity];!r||!r[e]||r[e][this.foreignKey]!==void 0||(r[e][this.foreignKey]=t[this.localKey])})}make(e,t,n){return this.makeManyRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r);this.addEagerConstraints(i,t),this.match(t,i.get(),n)}addEagerConstraints(e,t){e.whereFk(this.foreignKey,this.getKeys(t,this.localKey))}match(e,t,n){let r=this.buildDictionary(t);e.forEach(e=>{e[n]=r[e[this.localKey]]||[]})}buildDictionary(e){return e.reduce((e,t)=>{let n=t[this.foreignKey];return e[n]||(e[n]=[]),e[n].push(t),e},{})}},wO=class extends bO{constructor(e,t,n,r){super(e),this.parent=this.model.relation(t),this.foreignKey=n,this.ownerKey=r}define(e){return e.many(this.parent)}attach(e,t,n){e.length!==0&&(t[this.foreignKey]=e.map(e=>this.parent.getIdFromRecord(n[this.parent.entity][e])))}make(e,t,n){return this.makeManyRelation(e,this.parent)}load(e,t,n,r){let i=this.getRelation(e,this.parent.entity,r);this.addConstraintForHasManyBy(i,t);let a=this.mapSingleRelations(i.get(),this.ownerKey);t.forEach(e=>{e[n]=this.getRelatedRecords(a,e[this.foreignKey])})}addConstraintForHasManyBy(e,t){let n=t.reduce((e,t)=>e.concat(t[this.foreignKey]),[]);e.where(this.ownerKey,n)}getRelatedRecords(e,t){let n=[];return e.forEach((e,r)=>{t.indexOf(r)!==-1&&n.push(e)}),n}},TO=class extends bO{constructor(e,t,n,r,i,a,o){super(e),this.related=this.model.relation(t),this.through=this.model.relation(n),this.firstKey=r,this.secondKey=i,this.localKey=a,this.secondLocalKey=o}define(e){return e.many(this.related)}attach(e,t,n){}make(e,t,n){return this.makeManyRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r),a=e.newQuery(this.through.entity);this.addEagerConstraintForThrough(a,t);let o=a.get();this.addEagerConstraintForRelated(i,o);let s=this.mapThroughRelations(o,i);
6t.forEach(e=>{e[n]=s[e[this.localKey]]||[]})}addEagerConstraintForThrough(e,t){e.where(this.firstKey,this.getKeys(t,this.localKey))}addEagerConstraintForRelated(e,t){e.where(this.secondKey,this.getKeys(t,this.secondLocalKey))}mapThroughRelations(e,t){let n=this.mapManyRelations(t.get(),this.secondKey);return e.reduce((e,t)=>{let r=t[this.firstKey];e[r]||(e[r]=[]);let i=n.get(t[this.secondLocalKey]);return i===void 0||(e[r]=e[r].concat(i)),e},{})}},EO=class extends bO{constructor(e,t,n,r,i,a,o){super(e),this.pivotKey=`pivot`,this.related=this.model.relation(t),this.pivot=this.model.relation(n),this.foreignPivotKey=r,this.relatedPivotKey=i,this.parentKey=a,this.relatedKey=o}as(e){return this.pivotKey=e,this}define(e){return e.many(this.related)}attach(e,t,n){}make(e,t,n){return this.makeManyRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r),a=e.newQuery(this.pivot.entity);this.addEagerConstraintForPivot(a,t);let o=a.get();this.addEagerConstraintForRelated(i,o);let s=this.mapPivotRelations(o,i);t.forEach(e=>{e[n]=s[e[this.parentKey]]||[]})}addEagerConstraintForPivot(e,t){e.whereFk(this.foreignPivotKey,this.getKeys(t,this.parentKey))}addEagerConstraintForRelated(e,t){e.whereFk(this.relatedKey,this.getKeys(t,this.relatedPivotKey))}mapPivotRelations(e,t){let n=this.mapManyRelations(t.get(),this.relatedKey);return t.orders.length?this.mapRelationsByOrders(e,n,this.foreignPivotKey,this.relatedPivotKey):e.reduce((e,t)=>{let r=t[this.foreignPivotKey];e[r]||(e[r]=[]);let i=n.get(t[this.relatedPivotKey]);return i&&(e[r]=e[r].concat(i.map(e=>(e[this.pivotKey]=t,e)))),e},{})}createPivots(e,t,n){return dO.isArray(this.pivot.primaryKey)&&dO.forOwn(t[e.entity],e=>{let r=e[n];r===void 0||r.length===0||this.createPivotRecord(t,e,r)}),t}createPivotRecord(e,t,n){n.forEach(n=>{let r=t[this.parentKey],i=e[this.related.entity][n][this.relatedKey],a=JSON.stringify([this.pivot.primaryKey[0]===this.foreignPivotKey?r:i,this.pivot.primaryKey[1]===this.foreignPivotKey?r:i]),o=e[this.pivot.entity]?e[this.pivot.entity][a]:{},s=e[this.related.entity][n][this.pivotKey]||{};e[this.pivot.entity]={...e[this.pivot.entity],[a]:{...o,...s,$id:a,[this.foreignPivotKey]:r,[this.relatedPivotKey]:i}}})}},DO=class extends bO{constructor(e,t,n){super(e),this.id=t,this.type=n}define(e){return e.union((e,t)=>t[this.type])}attach(e,t,n){}make(e,t,n){let r=t[this.type];try{let t=this.model.relation(r);return this.makeOneRelation(e,t)}catch{return null}}load(e,t,n,r){let i=this.getTypes(t).reduce((t,n)=>{let i=this.getRelation(e,n,r);return t[n]=this.mapSingleRelations(i.get(),`$id`),t},{});t.forEach(e=>{let t=e[this.id];e[n]=i[e[this.type]].get(String(t))||null})}getTypes(e){return e.reduce((e,t)=>{let n=t[this.type];return!e.includes(n)&&e.push(n),e},[])}},OO=class extends bO{constructor(e,t,n,r,i){super(e),this.related=this.model.relation(t),this.id=n,this.type=r,this.localKey=i}define(e){return e.one(this.related)}attach(e,t,n){let r=n[this.related.entity][e];r[this.id]=r[this.id]||this.related.getIdFromRecord(t),r[this.type]=r[this.type]||this.model.entity}make(e,t,n){return this.makeOneRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r);this.addEagerConstraintForMorphOne(i,t,e.entity);let a=this.mapSingleRelations(i.get(),this.id);t.forEach(e=>{e[n]=a.get(e[this.localKey])||null})}addEagerConstraintForMorphOne(e,t,n){e.whereFk(this.type,n).whereFk(this.id,this.getKeys(t,this.localKey))}},kO=class extends bO{constructor(e,t,n,r,i){super(e),this.related=this.model.relation(t),this.id=n,this.type=r,this.localKey=i}define(e){return e.many(this.related)}attach(e,t,n){let r=n[this.related.entity];e.forEach(e=>{let n=r[e];n[this.id]=n[this.id]||this.related.getIdFromRecord(t),n[this.type]=n[this.type]||this.model.entity})}make(e,t,n){return this.makeManyRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r);this.addEagerConstraintForMorphMany(i,t,e.entity);let a=this.mapManyRelations(i.get(),this.id);t.forEach(e=>{e[n]=a.get(e[this.localKey])||[]})}addEagerConstraintForMorphMany(e,t,n){e.whereFk(this.type,n).whereFk(this.id,this.getKeys(t,this.localKey))}},AO=class extends bO{constructor(e,t,n,r,i,a,o,s){super(e),this.pivotKey=`pivot`,this.related=this.model.relation(t),this.pivot=this.model.relation(n),this.relatedId=r,this.id=i,this.type=a,this.parentKey=o,this.relatedKey=s}as(e){return this.pivotKey=e,this}define(e){return e.many(this.related)}attach(e,t,n){}make(e,t,n){return this.makeManyRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r),a=e.newQuery(this.pivot.entity);this.addEagerConstraintForPivot(a,t,e.entity);let o=a.get();this.addEagerConstraintForRelated(i,o);let s=this.mapPivotRelations(o,i);
6t.forEach(e=>{e[n]=s[e[this.parentKey]]||[]})}addEagerConstraintForPivot(e,t,n){e.whereFk(this.type,n).whereFk(this.id,this.getKeys(t,this.parentKey))}addEagerConstraintForRelated(e,t){e.whereFk(this.relatedKey,this.getKeys(t,this.relatedId))}mapPivotRelations(e,t){let n=this.mapManyRelations(t.get(),this.relatedKey);return t.orders.length?this.mapRelationsByOrders(e,n,this.id,this.relatedId):e.reduce((e,t)=>{let r=t[this.id];e[r]||(e[r]=[]);let i=n.get(t[this.relatedId]);return i===void 0||i.length===0||(e[r]=e[r].concat(i.map(e=>(e[this.pivotKey]=t,e)))),e},{})}createPivots(e,t,n){return dO.forOwn(t[e.entity],r=>{let i=e.query().newQuery(this.pivot.entity).where(this.id,r[this.parentKey]).where(this.type,e.entity).get(),a=(r[n]||[]).filter(e=>!i.includes(e));!dO.isArray(a)||a.length===0||this.createPivotRecord(e,t,r,a)}),t}createPivotRecord(e,t,n,r){r.forEach(r=>{let i=n[this.parentKey],a=t[this.related.entity][r][this.relatedKey],o=`${i}_${r}_${e.entity}`,s=t[this.related.entity][r][this.pivotKey]||{};t[this.pivot.entity]={...t[this.pivot.entity],[o]:{...s,$id:o,[this.relatedId]:a,[this.id]:i,[this.type]:e.entity}}})}},jO=class extends bO{constructor(e,t,n,r,i,a,o,s){super(e),this.pivotKey=`pivot`,this.related=this.model.relation(t),this.pivot=this.model.relation(n),this.relatedId=r,this.id=i,this.type=a,this.parentKey=o,this.relatedKey=s}as(e){return this.pivotKey=e,this}define(e){return e.many(this.related)}attach(e,t,n){}make(e,t,n){return this.makeManyRelation(e,this.related)}load(e,t,n,r){let i=this.getRelation(e,this.related.entity,r),a=e.newQuery(this.pivot.entity);this.addEagerConstraintForPivot(a,t,this.related.entity);let o=a.get();this.addEagerConstraintForRelated(i,o);let s=this.mapPivotRelations(o,i);t.forEach(e=>{e[n]=s[e[this.parentKey]]||[]})}addEagerConstraintForPivot(e,t,n){e.whereFk(this.type,n).whereFk(this.relatedId,this.getKeys(t,this.parentKey))}addEagerConstraintForRelated(e,t){e.whereFk(this.relatedKey,this.getKeys(t,this.id))}mapPivotRelations(e,t){let n=this.mapManyRelations(t.get(),this.relatedKey);return t.orders.length?this.mapRelationsByOrders(e,n,this.relatedId,this.id):e.reduce((e,t)=>{let r=t[this.relatedId];e[r]||(e[r]=[]);let i=n.get(t[this.id]);return i===void 0||i.length===0||(e[r]=e[r].concat(i.map(e=>(e[this.pivotKey]=t,e)))),e},{})}createPivots(e,t,n){return dO.forOwn(t[e.entity],e=>{let r=e[n];dO.isArray(r)&&this.createPivotRecord(t,e,r)}),t}createPivotRecord(e,t,n){n.forEach(n=>{let r=t[this.parentKey],i=`${n}_${r}_${this.related.entity}`,a=e[this.related.entity][n][this.pivotKey]||{};e[this.pivot.entity]={...e[this.pivot.entity],[i]:{...a,$id:i,[this.relatedId]:r,[this.id]:this.model.getIdFromRecord(e[this.related.entity][n]),[this.type]:this.related.entity}}})}},MO={relations:!0};function NO(e){let t=PO(e,{relations:!1});return t.$id=e.$id,t}function PO(e,t={}){t={...MO,...t};let n={},r=e.$fields();for(let i in r){let a=r[i],o=e[i];if(a instanceof bO){n[i]=t.relations?RO(o):zO(o);continue}n[i]=FO(e[i])}return n}function FO(e){return e===null?null:QD(e)?IO(e):typeof e==`object`?LO(e):e}function IO(e){return e.map(e=>FO(e))}function LO(e){let t={};for(let n in e)t[n]=FO(e[n]);return t}function RO(e){return e===null?null:QD(e)?e.map(e=>e.$toJson()):e.$toJson()}function zO(e){return QD(e)?[]:null}var BO=class{constructor(e){this.$id=null,this.$fill(e)}static fields(){return{}}static attr(e,t){return new hO(this,e,t)}static string(e,t){return new gO(this,e,t)}static number(e,t){return new _O(this,e,t)}static boolean(e,t){return new vO(this,e,t)}static uid(e){return new yO(this,e)}static increment(){return console.warn("[Vuex ORM] Attribute type `increment` has been deprecated and replaced with `uid`."),this.uid()}static hasOne(e,t,n){return new xO(this,e,t,this.localKey(n))}static belongsTo(e,t,n){return new SO(this,e,t,this.relation(e).localKey(n))}static hasMany(e,t,n){return new CO(this,e,t,this.localKey(n))}static hasManyBy(e,t,n){return new wO(this,e,t,this.relation(e).localKey(n))}static hasManyThrough(e,t,n,r,i,a){return new TO(this,e,t,n,r,this.localKey(i),this.relation(t).localKey(a))}static belongsToMany(e,t,n,r,i,a){return new EO(this,e,t,n,r,this.localKey(i),this.relation(e).localKey(a))}static morphTo(e,t){return new DO(this,e,t)}static morphOne(e,t,n,r){return new OO(this,e,t,n,this.localKey(r))}static morphMany(e,t,n,r){return new kO(this,e,t,n,this.localKey(r))}static morphToMany(e,t,n,r,i,a,o){return new AO(this,e,t,n,r,i,this.localKey(a),this.relation(e).localKey(o))}static morphedByMany(e,t,n,r,i,a,o){return new jO(this,e,t,n,r,i,this.localKey(a),this.relation(e).localKey(o))}static mutators(){return{}}static types(){return{}}
6static store(){return XD.store}static database(){return this.store().$db()}static namespace(e){return`${this.database().namespace}/${this.entity}/${e}`}static getters(e){return this.store().getters[this.namespace(e)]}static dispatch(e,t){return this.store().dispatch(this.namespace(e),t)}static commit(e){this.store().commit(`${this.database().namespace}/$mutate`,{entity:this.entity,callback:e})}static getFields(){return this.cachedFields||(this.cachedFields={}),this.cachedFields[this.entity]||(this.cachedFields[this.entity]=this.fields()),this.cachedFields[this.entity]}static all(){return this.getters(`all`)()}static find(e){return this.getters(`find`)(e)}static findIn(e){return this.getters(`findIn`)(e)}static query(){return this.getters(`query`)()}static exists(){return this.query().exists()}static new(){return this.dispatch(`new`)}static create(e){return this.dispatch(`create`,e)}static insert(e){return this.dispatch(`insert`,e)}static update(e){return this.dispatch(`update`,e)}static insertOrUpdate(e){return this.dispatch(`insertOrUpdate`,e)}static delete(e){return this.dispatch(`delete`,e)}static deleteAll(){return this.dispatch(`deleteAll`)}static isPrimaryKey(e){return dO.isArray(this.primaryKey)?this.primaryKey.includes(e):this.primaryKey===e}static isCompositePrimaryKey(){return dO.isArray(this.primaryKey)}static getIdFromRecord(e){let t=this.primaryKey;if(typeof t==`string`)return this.getIdFromValue(e[t]);let n=t.reduce((t,n)=>{let r=this.getIdFromValue(e[n]);return r!==null&&t.push(r),t},[]);return n.length===t.length?n:null}static getIdFromValue(e){return typeof e==`string`&&e!==``||typeof e==`number`?e:null}static getIndexIdFromRecord(e){let t=this.getIdFromRecord(e);return t===null?null:dO.isArray(t)?JSON.stringify(t):String(t)}static localKey(e){return e||(typeof this.primaryKey==`string`?this.primaryKey:`id`)}static getModelFromRecord(e){return e instanceof this?e.$self():this.getTypeModel(e[this.typeKey])}static relation(e){return typeof e==`string`?this.database().model(e):e}static pivotFields(){let e=[];return dO.forOwn(this.getFields(),(t,n)=>{(t instanceof EO||t instanceof AO||t instanceof jO)&&e.push({[n]:t})}),e}static hasPivotFields(){return this.pivotFields().length>0}static hasTypes(){return Object.keys(this.types()).length>0}static getTypeModel(e){return this.types()[e]||null}static getTypeKeyValueFromModel(e){let t=e||this,n=this.types();for(let e in n)if(n[e].entity===t.entity)return e;return null}static findRelationInSubTypes(e){let t=this.types();for(let n in t){let r=t[n].getFields();for(let t in r)if(t===e&&r[t]instanceof bO)return r[t]}return null}static hydrate(e){return new this(e).$getAttributes()}$self(){return this.constructor}$primaryKey(){return this.$self().primaryKey}$fields(){return this.$self().getFields()}$setIndexId(e){return this.$id=e,this}$store(){return this.$self().store()}$namespace(e){return this.$self().namespace(e)}$getters(e){return this.$self().getters(e)}async $dispatch(e,t){return this.$self().dispatch(e,t)}$all(){return this.$getters(`all`)()}$find(e){return this.$getters(`find`)(e)}$findIn(e){return this.$getters(`findIn`)(e)}$query(){return this.$getters(`query`)()}async $create(e){return this.$dispatch(`create`,e)}async $insert(e){return this.$dispatch(`insert`,e)}async $update(e){return dO.isArray(e)||e.where!==void 0?this.$dispatch(`update`,e):this.$self().getIndexIdFromRecord(e)===null?this.$dispatch(`update`,{where:this.$self().getIdFromRecord(this),data:e}):this.$dispatch(`update`,e)}async $insertOrUpdate(e){return this.$dispatch(`insertOrUpdate`,e)}async $save(){let e=this.$self().getFields(),t=Object.keys(e).reduce((t,n)=>(e[n]instanceof mO&&(t[n]=this[n]),t),{}),n=await this.$dispatch(`insertOrUpdate`,{data:t});return this.$fill(n[this.$self().entity][0]),this}async $delete(){let e=this.$primaryKey();return dO.isArray(e)?this.$dispatch(`delete`,t=>e.every(e=>t[e]===this[e])):this.$dispatch(`delete`,this[e])}async $deleteAll(){return this.$dispatch(`deleteAll`)}$fill(e={}){let t=this.$fields();for(let n in t){let r=t[n],i=e[n];this[n]=r.make(i,e,n)}e.$id!==void 0&&this.$setIndexId(e.$id)}$generateId(){return this.$generatePrimaryId().$generateIndexId()}$generatePrimaryId(){let e=this.$self().primaryKey;
6return(dO.isArray(e)?e:[e]).forEach(e=>{(this[e]===void 0||this[e]===null)&&(this[e]=fO.make())}),this}$generateIndexId(){return this.$setIndexId(this.$getIndexIdFromAttributes())}$getIndexIdFromAttributes(){return this.$self().getIndexIdFromRecord(this)}$getAttributes(){return NO(this)}$toJson(){return PO(this)}};BO.primaryKey=`id`,BO.typeKey=`type`,BO.state={};var VO={query:(e,t,n,r)=>()=>r[`${e.$connection}/query`](e.$name),all:(e,t,n,r)=>()=>r[`${e.$connection}/all`](e.$name),find:(e,t,n,r)=>t=>r[`${e.$connection}/find`](e.$name,t),findIn:(e,t,n,r)=>t=>r[`${e.$connection}/findIn`](e.$name,t)};async function HO(e){let t=e.state,n=t.$name;return e.dispatch(`${t.$connection}/new`,{entity:n},{root:!0})}async function UO(e,t){let n=e.state,r=n.$name;return e.dispatch(`${n.$connection}/create`,{...t,entity:r},{root:!0})}async function WO(e,t){let n=e.state,r=n.$name;return e.dispatch(`${n.$connection}/insert`,{...t,entity:r},{root:!0})}async function GO(e,t){let n=e.state,r=n.$name;return QD(t)||t.data===void 0?e.dispatch(`${n.$connection}/update`,{entity:r,data:t},{root:!0}):e.dispatch(`${n.$connection}/update`,{entity:r,...t},{root:!0})}async function KO(e,t){let n=e.state,r=n.$name;return e.dispatch(`${n.$connection}
6/insertOrUpdate`,{entity:r,...t},{root:!0})}async function qO(e,t){let n=e.state,r=n.$name,i=t;return e.dispatch(`${n.$connection}/delete`,{entity:r,where:i},{root:!0})}async function JO(e){let t=e.state,n=t.$name;return e.dispatch(`${t.$connection}/deleteAll`,{entity:n},{root:!0})}var YO={new:HO,create:UO,insert:WO,update:GO,insertOrUpdate:KO,delete:qO,deleteAll:JO};function XO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZO(e,t,n){return t&&XO(e.prototype,t),n&&XO(e,n),e}function QO(){return QO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QO.apply(this,arguments)}function $O(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ek(e){return!!(e&&typeof e.hasOwnProperty==`function`&&(e.hasOwnProperty(`__ownerID`)||e._map&&e._map.hasOwnProperty(`__ownerID`)))}function tk(e,t,n){return Object.keys(e).reduce(function(t,r){var i=``+r;return t.has(i)?t.set(i,n(t.get(i),e[i])):t},t)}var nk=function(e){return function(t){return ek(t)?t.get(e):t[e]}},rk=function(){function e(e,t,n){if(t===void 0&&(t={}),n===void 0&&(n={}),!e||typeof e!=`string`)throw Error(`Expected a string key for Entity, but found `+e+`.`);var r=n,i=r.idAttribute,a=i===void 0?`id`:i,o=r.mergeStrategy,s=o===void 0?function(e,t){return QO({},e,t)}:o,c=r.processStrategy,l=c===void 0?function(e){return QO({},e)}:c,u=r.fallbackStrategy,d=u===void 0?function(e,t){}:u;this._key=e,this._getId=typeof a==`function`?a:nk(a),this._idAttribute=a,this._mergeStrategy=s,this._processStrategy=l,this._fallbackStrategy=d,this.define(t)}var t=e.prototype;return t.define=function(e){this.schema=Object.keys(e).reduce(function(t,n){var r,i=e[n];return QO({},t,(r={},r[n]=i,r))},this.schema||{})},t.getId=function(e,t,n){return this._getId(e,t,n)},t.merge=function(e,t){return this._mergeStrategy(e,t)},t.fallback=function(e,t){return this._fallbackStrategy(e,t)},t.normalize=function(e,t,n,r,i,a){var o=this,s=this.getId(e,t,n),c=this.key;if(c in a||(a[c]={}),s in a[c]||(a[c][s]=[]),a[c][s].some(function(t){return t===e}))return s;a[c][s].push(e);var l=this._processStrategy(e,t,n);return Object.keys(this.schema).forEach(function(t){if(l.hasOwnProperty(t)&&typeof l[t]==`object`){var n=o.schema[t],s=typeof n==`function`?n(e):n;l[t]=r(l[t],l,t,s,i,a)}}),i(this,l,e,t,n),s},t.denormalize=function(e,t){var n=this;return ek(e)?tk(this.schema,e,t):(Object.keys(this.schema).forEach(function(r){if(e.hasOwnProperty(r)){var i=n.schema[r];e[r]=t(e[r],i)}}),e)},ZO(e,[{key:`key`,get:function(){return this._key}},{key:`idAttribute`,get:function(){return this._idAttribute}}]),e}(),ik=function(){function e(e,t){t&&(this._schemaAttribute=typeof t==`string`?function(e){return e[t]}:t),this.define(e)}var t=e.prototype;return t.define=function(e){this.schema=e},t.getSchemaAttribute=function(e,t,n){return!this.isSingleSchema&&this._schemaAttribute(e,t,n)},t.inferSchema=function(e,t,n){if(this.isSingleSchema)return this.schema;var r=this.getSchemaAttribute(e,t,n);return this.schema[r]},t.normalizeValue=function(e,t,n,r,i,a){var o=this.inferSchema(e,t,n);if(!o)return e;var s=r(e,t,n,o,i,a);return this.isSingleSchema||s==null?s:{id:s,schema:this.getSchemaAttribute(e,t,n)}},t.denormalizeValue=function(e,t){var n=ek(e)?e.get(`schema`):e.schema;if(!this.isSingleSchema&&!n)return e;var r=this.isSingleSchema?void 0:ek(e)?e.get(`id`):e.id,i=this.isSingleSchema?this.schema:this.schema[n];return t(r||e,i)},ZO(e,[{key:`isSingleSchema`,get:function(){return!this._schemaAttribute}}]),e}(),ak=function(e){$O(t,e);function t(t,n){if(!n)throw Error(`Expected option "schemaAttribute" not found on UnionSchema.`);return e.call(this,t,n)||this}var n=t.prototype;return n.normalize=function(e,t,n,r,i,a){return this.normalizeValue(e,t,n,r,i,a)},n.denormalize=function(e,t){return this.denormalizeValue(e,t)},t}(ik),ok=function(e){$O(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.normalize=function(e,t,n,r,i,a){var o=this;return Object.keys(e).reduce(function(t,n,s){var c,l=e[n];return l==null?t:QO({},t,(c={},c[n]=o.normalizeValue(l,e,n,r,i,a),c))},{})},n.denormalize=function(e,t){var n=this;return Object.keys(e).reduce(function(r,i){var a,o=e[i];return QO({},r,(a={},a[i]=n.denormalizeValue(o,t),a))},{})},t}(ik),sk=function(e){if(Array.isArray(e)&&e.length>1)throw Error(`Expected schema definition to be a single schema, but found `+e.length+`.`);return e[0]},ck=function(e){return Array.isArray(e)?e:Object.keys(e).map(function(t){return e[t]})},lk=function(e,t,n,r,i,a,o){return e=sk(e),ck(t).map(function(t,s){return i(t,n,r,e,a,o)})},uk=function(e){$O(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.normalize=function(e,t,n,r,i,a){var o=this;return ck(e).map(function(e,s){return o.normalizeValue(e,t,n,r,i,a)}).filter(function(e){return e!=null})},n.denormalize=function(e,t){var n=this;return e&&e.map?e.map(function(e){return n.denormalizeValue(e,t)}):e},t}(ik),dk=function(e,t,n,r,i,a,o){var s=QO({},t);return Object.keys(e).forEach(function(n){var r=e[n],c=typeof r==`function`?r(t):r,l=i(t[n],t,n,c,a,o);l==null?delete s[n]:s[n]=l}),s}
6,fk=function(e,t,n){if(ek(t))return tk(e,t,n);var r=QO({},t);return Object.keys(e).forEach(function(t){r[t]!=null&&(r[t]=n(r[t],e[t]))}),r},pk=function(){function e(e){this.define(e)}var t=e.prototype;return t.define=function(e){this.schema=Object.keys(e).reduce(function(t,n){var r,i=e[n];return QO({},t,(r={},r[n]=i,r))},this.schema||{})},t.normalize=function(){var e=[...arguments];return dk.apply(void 0,[this.schema].concat(e))},t.denormalize=function(){var e=[...arguments];return fk.apply(void 0,[this.schema].concat(e))},e}(),mk=function e(t,n,r,i,a,o){return typeof t!=`object`||!t?t:typeof i==`object`&&(!i.normalize||typeof i.normalize!=`function`)?(Array.isArray(i)?lk:dk)(i,t,n,r,e,a,o):i.normalize(t,n,r,e,a,o)},hk=function(e){return function(t,n,r,i,a){var o=t.key,s=t.getId(r,i,a);o in e||(e[o]={});var c=e[o][s];c?e[o][s]=t.merge(c,n):e[o][s]=n}},gk={Array:uk,Entity:rk,Object:pk,Union:ak,Values:ok},_k=function(e,t){if(!e||typeof e!=`object`)throw Error(`Unexpected input given to normalize. Expected type to be "object", found "`+(e===null?`null`:typeof e)+`".`);var n={};return{entities:n,result:mk(e,e,null,t,hk(n),{})}},vk=class{static process(e,t){if(dO.isEmpty(t))return{};let n=e.database.schemas[e.model.entity];return _k(t,dO.isArray(t)?[n]:n).entities}},yk=class{static process(e,t){return Object.keys(t).forEach(n=>{let r=e.getModel(n);r.hasPivotFields()&&dO.forOwn(r.pivotFields(),e=>{dO.forOwn(e,(e,n)=>{e.createPivots(r,t,n)})})}),t}},bk=class{static process(e,t){return dO.forOwn(t,(n,r)=>{let i=e.getModel(r).fields();dO.forOwn(n,e=>{dO.forOwn(e,(n,r)=>{let a=i[r];a instanceof bO&&n!==null&&a.attach(n,e,t)})})}),t}},xk=class{static normalize(e,t){let n=vk.process(e,t);return n=bk.process(e,n),n=yk.process(e,n),n}},Sk=class{static filter(e,t){return e.wheres.length===0?t:t.filter(t=>this.check(e,t))}static check(e,t){let n=dO.groupBy(e.wheres,e=>e.boolean),r=this.getComparator(e,t),i=[];return n.and&&i.push(n.and.every(r)),n.or&&i.push(n.or.some(r)),i.indexOf(!0)!==-1}static getComparator(e,t){return n=>{if(typeof n.field==`function`){let r=new Ok(e.store,e.entity),i=this.executeWhereClosure(r,t,n.field);if(typeof i==`boolean`)return i;let a=r.get();return!dO.isEmpty(a.filter(e=>e.$id===t.$id))}return typeof n.value==`function`?n.value(t[n.field]):dO.isArray(n.value)?n.value.indexOf(t[n.field])!==-1:t[n.field]===n.value}}static executeWhereClosure(e,t,n){return n.length===3?n(t,e,new e.model(t)):n(t,e)}},Ck=class{static filter(e,t){if(e.orders.length===0)return t;let n=e.orders.map(e=>e.key),r=e.orders.map(e=>e.direction);return dO.orderBy(t,n,r)}},wk=class{static filter(e,t){return t.slice(e.offsetNumber,e.offsetNumber+e.limitNumber)}},Tk=class{static where(e,t){return Sk.filter(e,t)}static orderBy(e,t){return Ck.filter(e,t)}static limit(e,t){return wk.filter(e,t)}},Ek=class{static with(e,t,n){if(t===`*`){this.withAll(e,n);return}if(QD(t)){t.forEach(t=>this.with(e,t,n));return}this.parseWithRelations(e,t.split(`.`),n)}static withAll(e,t){let n=e.model.getFields();for(let r in n)n[r]instanceof bO&&this.with(e,r,t)}static withAllRecursive(e,t){this.withAll(e,e=>{t>0&&e.withAllRecursive(t-1)})}
6static setEagerLoad(e,t,n=null){e.load[t]||(e.load[t]=[]),n&&e.load[t].push(n)}static parseWithRelations(e,t,n){let r=t[0];r.split(`|`).forEach(r=>{if(t.length===1){this.setEagerLoad(e,r,n);return}this.setEagerLoad(e,r)}),t.length!==1&&(t.shift(),this.addNestedWiths(e,r,t,n))}static addNestedWiths(e,t,n,r){this.setEagerLoad(e,t,e=>{e.with(n.join(`.`),r)})}static eagerLoadRelations(e,t){let n=e.model.getFields();for(let r in e.load){let i=e.load[r],a=n[r];if(a instanceof bO){a.load(e,t,r,i);continue}if(e.model.hasTypes()){let n=e.model.findRelationInSubTypes(r);n!==null&&n.load(e,t,r,i)}}}},Dk=class{static has(e,t,n,r){this.setHas(e,t,`exists`,n,r)}static hasNot(e,t,n,r){this.setHas(e,t,`doesntExist`,n,r)}static whereHas(e,t,n){this.setHas(e,t,`exists`,void 0,void 0,n)}static whereHasNot(e,t,n){this.setHas(e,t,`doesntExist`,void 0,void 0,n)}static setHas(e,t,n,r=`>=`,i=1,a=null){if(typeof r==`number`){e.have.push({relation:t,type:n,operator:`>=`,count:r,constraint:a});return}e.have.push({relation:t,type:n,operator:r,count:i,constraint:a})}static applyConstraints(e){if(e.have.length===0)return;let t=e.newQuery();this.addHasWhereConstraints(e,t),this.addHasConstraints(e,t.get())}static addHasWhereConstraints(e,t){e.have.forEach(e=>{t.with(e.relation,e.constraint)})}static addHasConstraints(e,t){let n=this.getComparators(e),r=[];t.forEach(e=>{n.every(t=>t(e))&&r.push(e.$self().getIdFromRecord(e))}),e.whereIdIn(r)}static getComparators(e){return e.have.map(e=>this.getComparator(e))}static getComparator(e){let t=this.getCountComparator(e.operator);return n=>{let r=t(this.getRelationshipCount(n[e.relation]),e.count);return e.type===`exists`?r:!r}}static getRelationshipCount(e){return QD(e)?e.length:+!!e}static getCountComparator(e){switch(e){case`=`:return(e,t)=>e===t;case`>`:return(e,t)=>e>t;case`>=`:return(e,t)=>e>=t;case`<`:return(e,t)=>e>0&&e<t;case`<=`:return(e,t)=>e>0&&e<=t;default:return(e,t)=>e===t}}},Ok=class e{constructor(e,t){this.appliedOnBase=!0,this.idFilter=null,this.cancelIdFilter=!1,this.joinedIdFilter=null,this.wheres=[],this.have=[],this.orders=[],this.offsetNumber=0,this.limitNumber=2**53-1,this.load={},this.store=e,this.database=e.$db(),this.model=this.getModel(t),this.baseModel=this.getBaseModel(t),this.entity=t,this.baseEntity=this.baseModel.entity,this.rootState=this.database.getState(),this.state=this.rootState[this.baseEntity],this.appliedOnBase=this.baseEntity===this.entity}static deleteAll(e){let t=e.$db(),n=t.models();for(let r in n)t.getState()[r]&&new this(e,r).deleteAll()}static on(e,t){let n=++this.lastHookId;return this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push({id:n,callback:t}),n}static off(e){return Object.keys(this.hooks).some(t=>{let n=this.hooks[t],r=n.findIndex(t=>t.id===e);return r===-1?!1:(n.splice(r,1),!0)})}self(){return this.constructor}newQuery(t){return t=t||this.entity,new e(this.store,t)}getModel(e){let t=e||this.entity;return this.database.model(t)}getModels(){return this.database.models()}getBaseModel(e){return this.database.baseModel(e)}all(){return this.get()}find(e){let t=this.state.data[this.normalizeIndexId(e)];return t?this.item(this.hydrate(t)):null}findIn(e){if(!dO.isArray(e))return[];let t=e.reduce((e,t)=>{let n=this.state.data[this.normalizeIndexId(t)];return n&&e.push(this.hydrate(n)),e},[]);return this.collect(t)}get(){let e=this.select();return this.collect(e)}first(){let e=this.select();return e.length===0?null:this.item(this.hydrate(e[0]))}last(){let e=this.select();return e.length===0?null:this.item(this.hydrate(e[e.length-1]))}exists(){return this.select().length>0}where(e,t){return this.isIdfilterable(e)&&this.setIdFilter(t),this.wheres.push({field:e,value:t,boolean:`and`}),this}orWhere(e,t){return this.cancelIdFilter=!0,this.wheres.push({field:e,value:t,boolean:`or`}),this}whereId(e){return this.model.isCompositePrimaryKey()?this.where(`$id`,this.normalizeIndexId(e)):this.where(this.model.primaryKey,e)}whereIdIn(e){if(this.model.isCompositePrimaryKey()){let t=e.reduce((e,t)=>[...e,this.normalizeIndexId(t)],[]);return this.where(`$id`,t)}return this.where(this.model.primaryKey,e)}whereFk(e,t){let n=dO.isArray(t)?t:[t];return e===this.model.primaryKey?(this.setJoinedIdFilter(n),this):(this.where(e,n),this)}normalizeIndexId(e){if(this.model.isCompositePrimaryKey()){if(!dO.isArray(e))throw Error("[Vuex ORM] Entity `"+this.entity+"` is configured with a composite primary key and expects an array value but instead received: "+JSON.stringify(e));return JSON.stringify(e)}if(dO.isArray(e))throw Error("[Vuex ORM] Entity `"+this.entity+"` expects a single value but instead received: "+JSON.stringify(e));return e}isIdfilterable(e){return(e===this.model.primaryKey||e===`$id`)&&!this.cancelIdFilter}setIdFilter(e){let t=dO.isArray(e)?e:[e];if(this.idFilter===null){this.idFilter=new Set(t);return}this.idFilter=new Set(t.filter(e=>this.idFilter.has(e)))}setJoinedIdFilter(e){if(this.joinedIdFilter===null){this.joinedIdFilter=new Set(e);return}this.joinedIdFilter=new Set(e.filter(e=>this.joinedIdFilter.has(e)))}orderBy(e,t=`asc`){return this.orders.push({key:e,direction:t}),this}offset(e){return this.offsetNumber=e,this}limit(e){return this.limitNumber=e,this}with(e,t=null){return Ek.with(this,e,t),this}withAll(e=null){return Ek.withAll(this,e),this}withAllRecursive(e=3){return Ek.withAllRecursive(this,e),this}has(e,t,n){return Dk.has(this,e,t,n),this}hasNot(e,t,n){return Dk.hasNot(this,e,t,n),this}whereHas(e,t){return Dk.whereHas(this,e,t),this}whereHasNot(e,t){return Dk.whereHasNot(this,e,t),this}records(){return this.finalizeIdFilter(),this.getIdsToLookup().reduce((e,t)=>
6{let n=this.state.data[t];if(!n)return e;let r=this.hydrate(n);return!this.appliedOnBase&&this.model.entity!==r.$self().entity||e.push(r),e},[])}finalizeIdFilter(){!this.cancelIdFilter||this.idFilter===null||(this.where(this.model.isCompositePrimaryKey()?`$id`:this.model.primaryKey,Array.from(this.idFilter.values())),this.idFilter=null)}getIdsToLookup(){return this.idFilter&&this.joinedIdFilter?Array.from(this.idFilter.values()).filter(e=>this.joinedIdFilter.has(e)):this.idFilter||this.joinedIdFilter?Array.from((this.idFilter||this.joinedIdFilter).values()):Object.keys(this.state.data)}select(){Dk.applyConstraints(this);let e=this.records();return e=this.executeSelectHook(`beforeSelect`,e),e=this.filterWhere(e),e=this.executeSelectHook(`afterWhere`,e),e=this.filterOrderBy(e),e=this.executeSelectHook(`afterOrderBy`,e),e=this.filterLimit(e),e=this.executeSelectHook(`afterLimit`,e),e}filterWhere(e){return Tk.where(this,e)}filterOrderBy(e){return Tk.orderBy(this,e)}filterLimit(e){return Tk.limit(this,e)}count(){return this.get().length}max(e){let t=this.get().reduce((t,n)=>(typeof n[e]==`number`&&t.push(n[e]),t),[]);return t.length===0?0:Math.max(...t)}min(e){let t=this.get().reduce((t,n)=>(typeof n[e]==`number`&&t.push(n[e]),t),[]);return t.length===0?0:Math.min(...t)}sum(e){return this.get().reduce((t,n)=>(typeof n[e]==`number`&&(t+=n[e]),t),0)}item(e){return Object.keys(this.load).length>0&&Ek.eagerLoadRelations(this,[e]),e}collect(e){return e.length<1?[]:(Object.keys(this.load).length>0&&(e=e.map(e=>new(this.model.getModelFromRecord(e))(e)),Ek.eagerLoadRelations(this,e)),e)}new(){let e=new this.model().$generateId();return this.commitInsert(e.$getAttributes()),e}create(e,t){return this.persist(`create`,e,t)}createRecords(e){return this.deleteAll(),this.insertRecords(e)}insert(e,t){return this.persist(`insert`,e,t)}insertRecords(e){let t=this.mapHydrateRecords(e);return t=this.executeMutationHooks(`beforeCreate`,t),this.commitInsertRecords(this.convertCollectionToRecords(t)),this.executeMutationHooks(`afterCreate`,t),t}update(e,t,n){if(dO.isArray(e))return this.persist(`update`,e,n);if(typeof e==`function`){if(!t)throw Error("You must specify `where` to update records by specifying `data` as a closure.");return typeof t==`function`?this.updateByCondition(e,t):this.updateById(e,t)}if(typeof t==`function`)return this.updateByCondition(e,t);if(!t)return this.persist(`update`,e,n);if(this.model.isCompositePrimaryKey()&&!dO.isArray(t))throw Error("[Vuex ORM] You can't specify `where` value as `string` or `number` when you have a composite key defined in your model. Please include composite keys to the `data` fields.");return this.updateById(e,t)}updateRecords(e){let t=this.hydrateRecordsByMerging(e);return this.performUpdate(t)}updateById(e,t){t=typeof t==`number`?t.toString():this.normalizeIndexId(t);let n=this.state.data[t];if(!n)return null;let r=this.hydrate(n),i={[t]:this.processUpdate(e,r)};return this.performUpdate(i),i[t]}updateByCondition(e,t){let n=Object.keys(this.state.data).reduce((n,r)=>{let i=this.hydrate(this.state.data[r]);return t(i)&&(n[r]=this.processUpdate(e,i)),n},{});return this.performUpdate(n)}processUpdate(e,t){return typeof e==`function`?(e(t),t):t.constructor!==this.model&&t instanceof BO?this.hydrate({...t,...e},t.constructor):this.hydrate({...t,...e})}performUpdate(e){e=this.updateIndexes(e);let t=this.buildHooks(`beforeUpdate`),n=this.buildHooks(`afterUpdate`),r=[];for(let i in e){let a=e[i];t.some(e=>e(a,null,this.entity)===!1)||(this.commitInsert(a.$getAttributes()),n.forEach(e=>{e(a,null,this.entity)}),r.push(a))}return r}updateIndexes(e){return Object.keys(e).reduce((e,t)=>{let n=e[t],r=String(this.model.getIndexIdFromRecord(n));return t!==r&&(n.$id=r,e[r]=n,delete e[t]),e},e)}
6insertOrUpdate(e,t){return this.persist(`insertOrUpdate`,e,t)}insertOrUpdateRecords(e){let t={},n={};return Object.keys(e).forEach(r=>{let i=e[r];if(this.state.data[r]){n[r]=i;return}t[r]=i}),[...this.insertRecords(t),...this.updateRecords(n)]}persist(e,t,n){let r=dO.cloneDeep(t),i=this.normalize(r);return dO.isEmpty(i)?(e===`create`&&this.emptyState(),{}):Object.entries(i).reduce((t,[r,i])=>{let a=this.newQuery(r),o=this.getPersistMethod(r,n,e),s=a.persistRecords(o,i);return s.length>0&&(t[r]=s),t},{})}persistRecords(e,t){switch(e){case`create`:return this.createRecords(t);case`insert`:return this.insertRecords(t);case`update`:return this.updateRecords(t);case`insertOrUpdate`:return this.insertOrUpdateRecords(t)}}getPersistMethod(e,t,n){return t.create&&t.create.includes(e)?`create`:t.insert&&t.insert.includes(e)?`insert`:t.update&&t.update.includes(e)?`update`:t.insertOrUpdate&&t.insertOrUpdate.includes(e)?`insertOrUpdate`:n}delete(e){return typeof e==`function`?this.deleteByCondition(e):this.deleteById(e)}deleteAll(){return this.appliedOnBase?this.deleteByCondition(()=>!0):this.deleteByCondition(e=>e.$self().entity===this.model.entity)}deleteById(e){let t=this.find(e);return t?this.deleteByCondition(e=>e.$id===t.$id)[0]:null}deleteByCondition(e){let t=this.mapHydrateAndFilterRecords(this.state.data,e);return t=this.executeMutationHooks(`beforeDelete`,t),t.length===0?[]:(this.commitDelete(t.map(e=>e.$id)),this.executeMutationHooks(`afterDelete`,t),t)}commit(e,t){this.store.commit(`${this.database.namespace}/${e}`,{entity:this.baseEntity,...t})}commitInsert(e){this.commit(`insert`,{record:e})}commitInsertRecords(e){this.commit(`insertRecords`,{records:e})}commitDelete(e){this.commit(`delete`,{id:e})}normalize(e){return xk.normalize(this,e)}hydrate(e,t){if(t)return new t(e);let n=this.model.getModelFromRecord(e);if(n!==null)return new n(e);if(!this.appliedOnBase&&e[this.model.typeKey]===void 0){let t=this.model.getTypeKeyValueFromModel();return e={...e,[this.model.typeKey]:t},new this.model(e)}return new(this.getBaseModel(this.entity))(e)}hydrateRecordsByMerging(e){return Object.keys(e).reduce((t,n)=>{let r=this.state.data[n];if(!r)return t;let i=e[n],a=this.model.getModelFromRecord(r);return a===null?(t[n]=this.hydrate({...r,...i}),t):(t[n]=this.hydrate({...r,...i},a),t)},{})}mapHydrateRecords(e){return dO.map(e,e=>this.hydrate(e))}mapHydrateAndFilterRecords(e,t){let n=[];for(let r in e){let i=this.hydrate(e[r]);t(i)&&n.push(i)}return n}convertCollectionToRecords(e){return e.reduce((e,t)=>(e[t.$id]=t.$getAttributes(),e),{})}emptyState(){this.deleteAll()}buildHooks(e){let t=this.getGlobalHookAsArray(e),n=this.model[e];return n&&t.push(n.bind(this.model)),t}getGlobalHookAsArray(e){let t=this.self().hooks[e];return t?t.map(e=>e.callback.bind(this)):[]}executeMutationHooks(e,t){let n=this.buildHooks(e);return n.length===0?t:t.filter(e=>!n.some(t=>t(e,null,this.entity)===!1))}executeSelectHook(e,t){return this.buildHooks(e).reduce((e,n)=>(e=n(t,this.entity),e),t)}};Ok.hooks={},Ok.lastHookId=0;function kk(e){return e=>new Ok(this,e)}function Ak(e){return e=>new Ok(this,e).all()}function jk(e){return(e,t)=>new Ok(this,e).find(t)}function Mk(e){return(e,t)=>new Ok(this,e).findIn(t)}var Nk={query:kk,all:Ak,find:jk,findIn:Mk},Pk=class{static createPersistOptions(e){return{create:e.create,insert:e.insert,update:e.update,insertOrUpdate:e.insertOrUpdate}}};async function Fk(e,t){return new Ok(this,t.entity).new()}async function Ik(e,t){let n=t.entity,r=t.data,i=Pk.createPersistOptions(t);return new Ok(this,n).create(r,i)}async function Lk(e,t){let n=t.entity,r=t.data,i=Pk.createPersistOptions(t);return new Ok(this,n).insert(r,i)}async function Rk(e,t){let n=t.entity,r=t.data,i=t.where||null,a=Pk.createPersistOptions(t);return new Ok(this,n).update(r,i,a)}async function zk(e,t){let n=t.entity,r=t.data,i=Pk.createPersistOptions(t);return new Ok(this,n).insertOrUpdate(r,i)}async function Bk(e,t){let{entity:n,where:r}=t;return new Ok(this,n).delete(r)}async function Vk(e,t){if(t&&t.entity){new Ok(this,t.entity).deleteAll();return}Ok.deleteAll(this)}
6var Hk={new:Fk,create:Ik,insert:Lk,update:Rk,insertOrUpdate:zk,delete:Bk,deleteAll:Vk},Uk=class{constructor(e,t,n){this.store=e,this.connection=t,this.entity=n,this.rootState=this.store.state[t],this.state=this.rootState[n]}insert(e){this.state.data={...this.state.data,[e.$id]:e}}insertRecords(e){this.state.data={...this.state.data,...e}}delete(e){let t={};for(let n in this.state.data)e.includes(n)||(t[n]=this.state.data[n]);this.state.data=t}};function Wk(e,t){t.callback(e[t.entity])}function Gk(e,t){let{entity:n,record:r}=t;new Uk(this,e.$name,n).insert(r)}function Kk(e,t){let{entity:n,records:r}=t;new Uk(this,e.$name,n).insertRecords(r)}function qk(e,t){let{entity:n,id:r}=t;new Uk(this,e.$name,n).delete(r)}var Jk={$mutate:Wk,insert:Gk,insertRecords:Kk,delete:qk},Yk=class{static create(e){return(t,n,r)=>(this.generateIds(t,e),this.generateIndexId(t,e))}static generateIds(e,t){(QD(t.primaryKey)?t.primaryKey:[t.primaryKey]).forEach(n=>{if(e[n]!==void 0&&e[n]!==null)return;let r=t.getFields()[n];e[n]=r instanceof yO?r.make():fO.make()})}static generateIndexId(e,t){return e.$id=t.getIndexIdFromRecord(e),e.$id}},Xk=class{constructor(e){this.schemas={},this.model=e;let t=e.database().models();Object.keys(t).forEach(e=>{this.one(t[e])})}static create(e){return new this(e).one()}one(e){if(e=e||this.model,this.schemas[e.entity])return this.schemas[e.entity];let t=new gk.Entity(e.entity,{},{idAttribute:Yk.create(e)});this.schemas[e.entity]=t;let n=this.definition(e);return t.define(n),t}many(e){return new gk.Array(this.one(e))}union(e){return new gk.Union(this.schemas,e)}definition(e){let t=e.getFields();return Object.keys(t).reduce((e,n)=>{let r=t[n];return r instanceof bO&&(e[n]=r.define(this)),e},{})}},Zk=class{constructor(){this.entities=[],this.schemas={},this.isStarted=!1}start(e,t){this.store=e,this.namespace=t,this.connect(),this.registerModules(),this.createSchema(),this.isStarted=!0}register(e,t={}){this.checkModelTypeMappingCapability(e);let n={name:e.entity,base:e.baseEntity||e.entity,model:this.createBindingModel(e),module:t};this.entities.push(n),this.isStarted&&(this.registerModule(n),this.registerSchema(n))}model(e){let t=typeof e==`string`?e:e.entity,n=this.entities.find(e=>e.name===t),r=n?n.model:null;if(!r)throw Error(`[Vuex ORM] Could not find the model \`${t}\`. Please check if you have registered the model to the database.`);return r}baseModel(e){let t=typeof e==`string`?e:e.entity,n=this.entities.find(e=>e.name===t),r=n?this.model(n.base):null;if(!r)throw Error(`[Vuex ORM] Could not find the model \`${t}\`. Please check if you have registered the model to the database.`);return r}models(){return this.entities.reduce((e,t)=>(e[t.name]=t.model,e),{})}baseModels(){return this.entities.reduce((e,t)=>(e[t.name]=this.model(t.base),e),{})}module(e){let t=this.modules()[e];if(!t)throw Error(`[Vuex ORM] Could not find the module \`${e}\`. Please check if you have registered the module to the database.`);return t}modules(){return this.entities.reduce((e,t)=>(e[t.name]=t.module,e),{})}getState(){return this.store.state[this.namespace]}createBindingModel(e){let t;try{t=Function(`model`,`
7        'use strict';
8        return class ${e.name} extends model {}
9      `)(e)}catch{t=class extends e{},Object.defineProperty(t,"name",{get:()=>e.name})}return Object.defineProperty(t,"store",{value:()=>this.store}),t}registerModules(){this.store.registerModule(this.namespace,this.createModule())}registerModule(e){this.store.registerModule([this.namespace,e.name],this.createSubModule(e))}createModule(){let e=this.createRootModule();return this.entities.forEach(t=>{e.modules[t.name]=this.createSubModule(t)}),e}createRootModule(){return{namespaced:!0,state:this.createRootState(),getters:this.createRootGetters(),actions:this.createRootActions(),mutations:this.createRootMutations(),modules:{}}}createRootState(){return()=>({$name:this.namespace})}createRootGetters(){return rO(Nk,(e,t)=>Nk[t].bind(this.store))}createRootActions(){return Hk}createRootMutations(){return Jk}createSubModule(e){return{namespaced:!0,state:this.createSubState(e),getters:this.createSubGetters(e),actions:this.createSubActions(e),mutations:this.createSubMutations(e)}}createSubState(e){let{name:t,model:n,module:r}=e,i=typeof n.state==`function`?n.state():n.state,a=typeof r.state==`function`?r.state():r.state;return()=>({...i,...a,$connection:this.namespace,$name:t,data:{}})}createSubGetters(e){return{...VO,...e.module.getters}}createSubActions(e){return{...YO,...e.module.actions}}createSubMutations(e){return e.module.mutations??{}}
9createSchema(){this.entities.forEach(e=>{this.registerSchema(e)})}registerSchema(e){this.schemas[e.name]=Xk.create(e.model)}connect(){this.store.$db=()=>this}checkModelTypeMappingCapability(e){if(!e.baseEntity)return;let t=this.model(e.baseEntity);t&&t.types===BO.types&&console.warn(`[Vuex ORM] Model \`${e.name}\` extends \`${t.name}\` which doesn't overwrite Model.types(). You will not be able to use type mapping.`)}};function Qk(e,t={}){let n={Model:BO,Attribute:pO,Type:mO,Attr:hO,String:gO,Number:_O,Boolean:vO,Uid:yO,Relation:bO,HasOne:xO,BelongsTo:SO,HasMany:CO,HasManyBy:wO,BelongsToMany:EO,HasManyThrough:TO,MorphTo:DO,MorphOne:OO,MorphMany:kO,MorphToMany:AO,MorphedByMany:jO,Getters:VO,Actions:YO,RootGetters:Nk,RootActions:Hk,RootMutations:Jk,Query:Ok,Database:Zk};e.install(n,t)}var $k={install:ZD,use:Qk,Container:XD,Database:Zk,Model:BO,Attribute:pO,Type:mO,Attr:hO,String:gO,Number:_O,Boolean:vO,Uid:yO,Relation:bO,HasOne:xO,BelongsTo:SO,HasMany:CO,HasManyBy:wO,BelongsToMany:EO,HasManyThrough:TO,MorphTo:DO,MorphOne:OO,MorphMany:kO,MorphToMany:AO,MorphedByMany:jO,Getters:VO,Actions:YO,RootGetters:Nk,RootActions:Hk,RootMutations:Jk,Query:Ok},eA=class extends mO{constructor(e,t,n){super(e,t,n),!n&&t===null&&this.nullable()}make(e,t,n){return this.mutate(this.validate(e),n)}validate(e){if(this.isNullable&&e===null)return null;if(typeof e==`string`)if(this.inRange(e)&&(e=new Date(parseInt(e))),this.mutator)this.value=e;else return Date.parse(e);return e==null&&!this.value?null:new Date(this.value||e)}inRange(e){let t=parseInt(e).toString().length;return t<15&&t>12}};Qk({install(e){e.Model.date=function(e,t){return new eA(this,e,t)}}});var tA=class{static install(e){this._models.forEach(e=>this._ormDatabase.register(e));let t=ZD(this._ormDatabase,e);return this._models=[],t}static registerEntity(e){if(this._models.includes(e))return console.error(`[Vuex ORM Decorators] Unable to register Model '${e.name}'. Model '${e.name}' is already registered.`);this._models.push(e)}static models(){if(this._ormDatabase&&this._ormDatabase.isStarted){let e=this._ormDatabase.entities.map(e=>e.model);return[...this._models,...e]}return this._models}};tA._ormDatabase=new Zk,tA._models=[];function nA(e,t,n){return r=>(r.entity=e,t&&(r.baseEntity=t),n&&t&&tA.models().forEach(e=>{if(e.entity===t){let t=Object.assign(e.types(),n);e.types=()=>t}}),tA.registerEntity(r),r)}var rA={Attr:``,Boolean:!1,String:``,Number:0};function iA(e){return(t,n)=>{let r=t.constructor,i=e;r._fields=Object.assign(r.fields(),r._fields),i.mutator&&i.value===null&&(i.value=rA[i.constructor.name]),i.value===void 0&&(i.value=rA[i.constructor.name]),!i.mutator&&i.value===null&&(i.isNullable=!0),r._fields[n]=i,r.fields=()=>Object.assign({},r._fields)}}function aA(){return(e,t)=>{let n=Symbol.for(`vuex-orm-decorator:primary-key`);typeof e[n]==`object`&&e[n]instanceof Array&&e[n].push(t),typeof e[n]==`string`&&e[n]!==t&&(e[n]=[e[n],t]),e[n]===void 0&&(e[n]=t),e.constructor.primaryKey=e[n]}}function oA(e){return iA(BO.uid(e))}function sA(e,t){return iA(BO.attr(e,t))}function cA(e,t){return iA(BO.string(e,t))}function lA(e,t){return iA(BO.number(e,t))}function uA(e,t){return iA(BO.date(e,t))}function dA(e,t){return iA(BO.boolean(e,t))}function fA(e,t,n){return iA(BO.belongsTo(e,t,n))}function pA(e,t,n){return iA(BO.hasMany(e,t,n))}function mA(e,t,n){return iA(BO.hasManyBy(e,t,n))}var hA,gA=new Uint8Array(16);function _A(){if(!hA&&(hA=typeof crypto<`u`&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<`u`&&typeof msCrypto.getRandomValues==`function`&&msCrypto.getRandomValues.bind(msCrypto),!hA))throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);return hA(gA)}var vA=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function yA(e){return typeof e==`string`&&vA.test(e)}for(var bA=[],xA=0;xA<256;++xA)bA.push((xA+256).toString(16).substr(1));function SA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(bA[e[t+0]]+bA[e[t+1]]+bA[e[t+2]]+bA[e[t+3]]+`-`+bA[e[t+4]]+bA[e[t+5]]+`-`+bA[e[t+6]]+bA[e[t+7]]+`-`+bA[e[t+8]]+bA[e[t+9]]+`-`+bA[e[t+10]]+bA[e[t+11]]+bA[e[t+12]]+bA[e[t+13]]+bA[e[t+14]]+bA[e[t+15]]).toLowerCase();
9if(!yA(n))throw TypeError(`Stringified UUID is invalid`);return n}function CA(e,t,n){e=e||{};var r=e.random||(e.rng||_A)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return SA(r)}function wA(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;let t=parseInt(e,10);return isNaN(t)?0:t}var TA=Dy({name:`close-popup`,beforeMount(e,{value:t}){let n={depth:wA(t),handler(t){n.depth!==0&&setTimeout(()=>{let r=nw(e);r!==void 0&&iw(r,t,n.depth)})},handlerKey(e){hb(e,13)===!0&&n.handler(e)}};e.__qclosepopup=n,e.addEventListener(`click`,n.handler),e.addEventListener(`keyup`,n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=wA(t))},beforeUnmount(e){let t=e.__qclosepopup;e.removeEventListener(`click`,t.handler),e.removeEventListener(`keyup`,t.handlerKey),delete e.__qclosepopup}});y(),he(),M();function EA(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}var DA=EA(),OA=new Map,kA={x:[`left`,`center`,`right`],y:[`top`,`bottom`]},AA=(e=>()=>e++)(0),jA=e=>typeof e==`string`?e.split(/\s+/gi).filter(e=>e):[],MA=e=>{typeof e==`string`&&(e=jA(e));let t=null,n=null;return e.forEach(e=>{kA.y.indexOf(e)!==-1&&(n=e),kA.x.indexOf(e)!==-1&&(t=e)}),{x:t,y:n}},NA=class{constructor(e,t,n){this.remaining=t,this.callback=e,this.notifyItem=n,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}},PA={position:[`top`,`right`],cssAnimation:`vn-fade`,velocityAnimation:{enter:e=>({height:[e.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},FA=T({name:`velocity-group`,emits:[`after-leave`,`leave`,`enter`],methods:{enter(e,t){this.$emit(`enter`,e,t)},leave(e,t){this.$emit(`leave`,e,t)},afterLeave(){this.$emit(`after-leave`)}}}),IA=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function LA(e,t,n,r,i,a){return ye(),k(Ve,{tag:`span`,css:!1,onEnter:e.enter,onLeave:e.leave,onAfterLeave:e.afterLeave},{default:d(()=>[Te(e.$slots,`default`)]),_:3},8,[`onEnter`,`onLeave`,`onAfterLeave`])}var RA=IA(FA,[[`render`,LA]]),zA=T({name:`css-group`,inheritAttrs:!1,props:{name:{type:String,required:!0}}});function BA(e,t,n,r,i,a){return ye(),k(Ve,{tag:`span`,name:e.name},{default:d(()=>[Te(e.$slots,`default`)]),_:3},8,[`name`])}var VA=IA(zA,[[`render`,BA]]),HA=`[-+]?[0-9]*.?[0-9]+`,UA=[{name:`px`,regexp:RegExp(`^${HA}px$`)},{name:`%`,regexp:RegExp(`^${HA}%$`)},{name:`px`,regexp:RegExp(`^${HA}$`)}],WA=e=>{if(e===`auto`)return{type:e,value:0};for(let t=0;t<UA.length;t++){let n=UA[t];if(n.regexp.test(e))return{type:n.name,value:parseFloat(e)}}return{type:``,value:e}},GA=e=>{switch(typeof e){case`number`:return{type:`px`,value:e};case`string`:return WA(e);default:return{type:``,value:e}}},KA={IDLE:0,DESTROYED:2},qA=T({name:`notifications`,components:{VelocityGroup:RA,CssGroup:VA},props:{group:{type:String,default:``},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:PA.position},classes:{type:String,default:`vue-notification`},animationType:{type:String,default:`css`},animation:{type:Object,default:PA.velocityAnimation},animationName:{type:String,default:PA.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1}},emits:[`click`,`destroy`,`start`],data(){return{list:[],velocity:OA.get(`velocity`),timerControl:null}},computed:{actualWidth(){return GA(this.width)},isVA(){return this.animationType===`velocity`},componentName(){return this.isVA?`velocity-group`:`css-group`},styles(){let{x:e,y:t}=MA(this.position),n=this.actualWidth.value,r=this.actualWidth.type,i={width:n+r};return t&&(i[t]=`0px`),e&&(e===`center`?i.left=`calc(50% - ${n/2}${r})`:i[e]=`0px`),i},active(){return this.list.filter(e=>e.state!==KA.DESTROYED)},botToTop(){return this.styles.hasOwnProperty(`bottom`)}},mounted(){DA.on(`add`,this.addItem),DA.on(`close`,this.closeItem)},methods:{destroyIfNecessary(e){this.$emit(`click`,e),this.closeOnClick&&this.destroy(e)},pauseTimeout(){var e;this.pauseOnHover&&((e=this.timerControl)==null||e.pause())},resumeTimeout(){var e;this.pauseOnHover&&((e=this.timerControl)==null||e.resume())},addItem(e={}){if(e.group||(e.group=``),e.data||(e.data={}),this.group!==e.group)return;if(e.clean||e.clear){this.destroyAll();return}let t=typeof e.duration==`number`?e.duration:this.duration,n=typeof e.speed==`number`?e.speed:this.speed,r=typeof e.ignoreDuplicates==`boolean`?e.ignoreDuplicates:this.ignoreDuplicates,{title:i,text:a,type:o,data:s,id:c}=e,l={id:c||AA(),title:i,text:a,type:o,state:KA.IDLE,speed:n,length:t+2*n,data:s};t>=0&&(this.timerControl=new NA(()=>this.destroy(l),l.length,l));let u=this.reverse?!this.botToTop:this.botToTop,d=-1,f=this.active.some(t=>t.title===e.title&&t.text===e.text);(!r||!f)&&(u?(this.list.push(l),this.$emit(`start`,l),this.active.length>this.max&&(d=0)):(this.list.unshift(l),this.$emit(`start`,l),this.active.length>this.max&&(d=this.active.length-1)),d!==-1&&this.destroy(this.active[d
9]))},closeItem(e){this.destroyById(e)},notifyClass(e){return[`vue-notification-template`,this.classes,e.type||``]},notifyWrapperStyle(e){return this.isVA?void 0:{transition:`all ${e.speed}ms`}},destroy(e){clearTimeout(e.timer),e.state=KA.DESTROYED,this.clean(),this.$emit(`destroy`,e)},destroyById(e){let t=this.list.find(t=>t.id===e);t&&this.destroy(t)},destroyAll(){this.active.forEach(this.destroy)},getAnimation(e,t){let n=this.animation?.[e];return typeof n==`function`?n.call(this,t):n},enter(e,t){if(!this.isVA)return;let n=this.getAnimation(`enter`,e);this.velocity(e,n,{duration:this.speed,complete:t})},leave(e,t){if(!this.isVA)return;let n=this.getAnimation(`leave`,e);this.velocity(e,n,{duration:this.speed,complete:t})},clean(){this.list=this.list.filter(e=>e.state!==KA.DESTROYED)}}}),JA=[`data-id`],YA=[`onClick`],XA=[`innerHTML`],ZA=[`innerHTML`];function QA(e,t,n,r,i,a){return ye(),o(`div`,{class:`vue-notification-group`,style:Ne(e.styles)},[(ye(),k(ge(e.componentName),{name:e.animationName,onEnter:e.enter,onLeave:e.leave,onAfterLeave:e.clean},{default:d(()=>[(ye(!0),o(Ge,null,de(e.active,n=>(ye(),o(`div`,{key:n.id,class:`vue-notification-wrapper`,style:Ne(e.notifyWrapperStyle(n)),"data-id":n.id,onMouseenter:t[0]||(t[0]=(...t)=>e.pauseTimeout&&e.pauseTimeout(...t)),onMouseleave:t[1]||(t[1]=(...t)=>e.resumeTimeout&&e.resumeTimeout(...t))},[Te(e.$slots,`body`,{class:pe([e.classes,n.type]),item:n,close:()=>e.destroy(n)},()=>[f(`div`,{class:pe(e.notifyClass(n)),onClick:t=>e.destroyIfNecessary(n)},[n.title?(ye(),o(`div`,{key:0,class:`notification-title`,innerHTML:n.title},null,8,XA)):xe(``,!0),f(`div`,{class:`notification-content`,innerHTML:n.text},null,8,ZA)],10,YA)])],44,JA))),128))]),_:3},40,[`name`,`onEnter`,`onLeave`,`onAfterLeave`]))],4)}var $A=IA(qA,[[`render`,QA]]),ej=e=>{typeof e==`string`&&(e={title:``,text:e}),typeof e==`object`&&DA.emit(`add`,e)};ej.close=e=>{DA.emit(`close`,e)};function tj(e,t={}){Object.entries(t).forEach(e=>OA.set(...e));let n=t.name||`notify`;e.config.globalProperties[`$`+n]=ej,e.component(t.componentName||`Notifications`,$A)}var nj={install:tj};(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.nonce=document.head.querySelector(`meta[property=csp-nonce]`)?.content,e.appendChild(document.createTextNode(`.vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{display:block;box-sizing:border-box;background:white;text-align:left}.vue-notification{display:block;box-sizing:border-box;text-align:left;font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44A4FC;border-left:5px solid #187FE7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#E54D42;border-left-color:#b82e24}.vue-notification.success{background:#68CD86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter-from,.vn-fade-leave-to{opacity:0}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();function rj(e,t=250,n){let r=null;function i(){let i=arguments;r===null?n===!0&&e.apply(this,i):clearTimeout(r),r=setTimeout(()=>{r=null,n!==!0&&e.apply(this,i)},t)}return i.cancel=()=>{r!==null&&clearTimeout(r)},i}var ij=[`sm`,`md`,`lg`,`xl`],{passive:aj}=tb,oj=Oy({width:0,height:0,name:`xs`,sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:nb,setDebounce:nb,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}let{visualViewport:n}=window,r=n||window,i=document.scrollingElement||document.documentElement,a=n===void 0||wC.is.mobile===!0?()=>[Math.max(window.innerWidth,i.clientWidth),Math.max(window.innerHeight,i.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-i.clientWidth,n.height*n.scale+window.innerHeight-i.clientHeight],o=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=e=>{let[t,n]=a();if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(e!==!0)return;let r=this.sizes;this.gt.xs=t>=r.sm,this.gt.sm=t>=r.md,this.gt.md=t>=r.lg,this.gt.lg=t>=r.xl,this.lt.sm=t<r.sm,this.lt.md=t<r.md,this.lt.lg=t<r.lg,this.lt.xl=t<r.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,r=this.xs===!0&&`xs`||this.sm===!0&&`sm`||this.md===!0&&`md`||this.lg===!0&&`lg`||`xl`,r!==this.name&&(o===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${r}`)),this.name=r)};let s,c={},l=16;this.setSizes=e=>{ij.forEach(t=>{e[t]!==void 0&&(c[t]=e[t])})},this.setDebounce=e=>{l=e};let u=()=>{let e=getComputedStyle(document.body);e.getPropertyValue(`--q-size-sm`)&&ij.forEach(t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)}),this.setSizes=e=>{ij.forEach(t=>{e[t]&&(this.sizes[t]=e[t])}),this.__update(!0)},this.setDebounce=e=>{s!==void 0&&r.removeEventListener(`resize`,s,aj),s=e>0?rj(this.__update,e):this.__update,r.addEventListener(`resize`,s,aj)},this.setDebounce(l),Object.keys(c).length===0?this.__update():(this.setSizes(c),c=void 0),o===!0&&this.name===`xs`&&document.body.classList.add(`screen--xs`)};gC.value===!0?t.push(u):u()}}),sj=Oy({isActive:!1,mode:!1},{__media:void 0,set(e){sj.mode=e,e===`auto`?(sj.__media===void 0&&(sj.__media=window.matchMedia(`(prefers-color-scheme: dark)`),sj.__updateMedia=()=>{sj.set(`auto`)},sj.__media.addListener(sj.__updateMedia)),e=sj.__media.matches):sj.__media!==void 0&&(sj.__media.removeListener(sj.__updateMedia),sj.__media=void 0),sj.isActive=e===!0,document.body.classList.remove(`body--${e===!0?`light`:`dark`}`),document.body.classList.add(`body--${e===!0?`dark`:`light`}`)},toggle(){sj.set(sj.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n===void 0?!1:n)}});function cj(e,t,n=document.body){if(typeof e!=`string`)throw TypeError(`Expected a string as propName`);if(typeof t!=`string`)throw TypeError(`Expected a string as value`);if(!(n instanceof Element))throw TypeError(`Expected a DOM element`);n.style.setProperty(`--q-${e}`,t)}function lj(e){if(e.ios===!0)return`ios`;if(e.android===!0)return`android`}function uj({is:e,has:t,within:n},r){let i=[e.desktop===!0?`desktop`:`mobile`,`${t.touch===!1?`no-`:``}touch`];if(e.mobile===!0){let t=lj(e);t!==void 0&&i.push(`platform-`+t)}if(e.nativeMobile===!0){let t=e.nativeMobileWrapper;i.push(t),i.push(`native-mobile`),e.ios===!0&&(r[t]===void 0||r[t].iosStatusBarPadding!==!1)&&i.push(`q-ios-padding`)}else e.electron===!0?i.push(`electron`):e.bex===!0&&i.push(`bex`);return n.iframe===!0&&i.push(`within-iframe`),i}function dj(){let{is:e}=wC,t=document.body.className,n=new Set(t.replace(/ {2}/g,` `).split(` `));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete(`mobile`),n.delete(`platform-ios`),n.delete(`platform-android`),n.add(`desktop`);else if(e.mobile===!0){n.delete(`desktop`),n.add(`mobile`),n.delete(`platform-ios`),n.delete(`platform-android`);let t=lj(e);t!==void 0&&n.add(`platform-${t}`)}}wC.has.touch===!0&&(n.delete(`no-touch`),n.add(`touch`)),wC.within.iframe===!0&&n.add(`within-iframe`);let r=Array.from(n).join(` `);t!==r&&(document.body.className=r)}function fj(e){for(let t in e)cj(t,e[t])}var pj={install(e){if(this.__installed!==!0){if(gC.value===!0)dj();else{let{$q:t}=e;t.config.brand!==void 0&&fj(t.config.brand);let n=uj(wC,t.config);document.body.classList.add.apply(document.body.classList,n)}wC.is.ios===!0&&document.body.addEventListener(`touchstart`,nb),window.addEventListener(`ke
9ydown`,pb,!0)}}},mj={isoName:`en-US`,nativeName:`English (US)`,label:{clear:`Clear`,ok:`OK`,cancel:`Cancel`,close:`Close`,set:`Set`,select:`Select`,reset:`Reset`,remove:`Remove`,update:`Update`,create:`Create`,search:`Search`,filter:`Filter`,refresh:`Refresh`,expand:e=>e?`Expand "${e}"`:`Expand`,collapse:e=>e?`Collapse "${e}"`:`Collapse`},date:{days:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),daysShort:`Sun_Mon_Tue_Wed_Thu_Fri_Sat`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),monthsShort:`Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec`.split(`_`),firstDayOfWeek:0,format24h:!1,pluralDay:`days`},table:{noData:`No data available`,noResults:`No matching records found`,loading:`Loading...`,selectedRecords:e=>e===1?`1 record selected.`:(e===0?`No`:e)+` records selected.`,recordsPerPage:`Records per page:`,allRows:`All`,pagination:(e,t,n)=>e+`-`+t+` of `+n,columns:`Columns`},editor:{url:`URL`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,underline:`Underline`,unorderedList:`Unordered List`,orderedList:`Ordered List`,subscript:`Subscript`,superscript:`Superscript`,hyperlink:`Hyperlink`,toggleFullscreen:`Toggle Fullscreen`,quote:`Quote`,left:`Left align`,center:`Center align`,right:`Right align`,justify:`Justify align`,print:`Print`,outdent:`Decrease indentation`,indent:`Increase indentation`,removeFormat:`Remove formatting`,formatting:`Formatting`,fontSize:`Font Size`,align:`Align`,hr:`Insert Horizontal Rule`,undo:`Undo`,redo:`Redo`,heading1:`Heading 1`,heading2:`Heading 2`,heading3:`Heading 3`,heading4:`Heading 4`,heading5:`Heading 5`,heading6:`Heading 6`,paragraph:`Paragraph`,code:`Code`,size1:`Very small`,size2:`A bit small`,size3:`Normal`,size4:`Medium-large`,size5:`Big`,size6:`Very big`,size7:`Maximum`,defaultFont:`Default Font`,viewSource:`View Source`},tree:{noNodes:`No nodes available`,noResults:`No matching nodes found`}};function hj(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e==`string`)return e.split(/[-_]/).map((e,t)=>t===0?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase()).join(`-`)}var gj=Oy({__qLang:{}},{getLocale:hj,set(e=mj,t){let n={...e,rtl:e.rtl===!0,getLocale:hj};if(n.set=gj.set,gj.__langConfig===void 0||gj.__langConfig.noHtmlAttrs!==!0){let e=document.documentElement;e.setAttribute(`dir`,n.rtl===!0?`rtl`:`ltr`),e.setAttribute(`lang`,n.isoName)}Object.assign(gj.__qLang,n)},install({$q:e,lang:t,ssrContext:n}){e.lang=gj.__qLang,gj.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(e){return Reflect.ownKeys(e).filter(e=>e!==`set`&&e!==`getLocale`)}}),this.set(t||mj))}}),_j={name:`material-icons`,type:{positive:`check_circle`,negative:`warning`,info:`info`,warning:`priority_high`},arrow:{up:`arrow_upward`,right:`arrow_forward`,down:`arrow_downward`,left:`arrow_back`,dropdown:`arrow_drop_down`},chevron:{left:`chevron_left`,right:`chevron_right`},colorPicker:{spectrum:`gradient`,tune:`tune`,palette:`style`},pullToRefresh:{icon:`refresh`},carousel:{left:`chevron_left`,right:`chevron_right`,up:`keyboard_arrow_up`,down:`keyboard_arrow_down`,navigationIcon:`lens`},chip:{remove:`cancel`,selected:`check`},datetime:{arrowLeft:`chevron_left`,arrowRight:`chevron_right`,now:`access_time`,today:`today`},editor:{bold:`format_bold`,italic:`format_italic`,strikethrough:`strikethrough_s`,underline:`format_underlined`,unorderedList:`format_list_bulleted`,orderedList:`format_list_numbered`,subscript:`vertical_align_bottom`,superscript:`vertical_align_top`,hyperlink:`link`,toggleFullscreen:`fullscreen`,quote:`format_quote`,left:`format_align_left`,center:`format_align_center`,right:`format_align_right`,justify:`format_align_justify`,print:`print`,outdent:`format_indent_decrease`,indent:`format_indent_increase`,removeFormat:`format_clear`,formatting:`text_format`,fontSize:`format_size`,align:`format_align_left`,hr:`remove`,undo:`undo`,redo:`redo`,heading:`format_size`,code:`code`,size:`format_size`,font:`font_download`,viewSource:`code`},expansionItem:{icon:`keyboard_arrow_down`,denseIcon:`arrow_drop_down`},fab:{icon:`add`,activeIcon:`close`},field:{clear:`cancel`,error:`error`},pagination:{first:`first_page`,prev:`keyboard_arrow_left`,next:`keyboard_arrow_right`,last:`last_page`},rating:{icon:`grade`},stepper:{done:`check`,active:`edit`,error:`warning`},tabs:{left:`chevron_left`,right:`chevron_right`,up:`keyboard_arrow_up`,down:`keyboard_arrow_down`},table:{arrowUp:`arrow_upward`,warning:`warning`,firstPage:`first_page`,prevPage:`chevron_left`,nextPage:`chevron_right`,lastPage:`last_page`},tree:{icon:`play_arrow`},uploader:{done:`done`,clear:`clear`,add:`add_box`,upload:`cloud_upload`,removeQueue:`clear_all`,removeUploaded:`done_all`}},vj=Oy({iconMapFn:null,__qIconSet:{}},{set(e,t){let n={...e};
9n.set=vj.set,Object.assign(vj.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,Ty(e,`iconMapFn`,()=>this.iconMapFn,e=>{this.iconMapFn=e}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(e){return Reflect.ownKeys(e).filter(e=>e!==`set`)}}),this.set(t||_j))}});function yj(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(yj(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();for(r=n.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=n.next()}for(n=e.entries(),r=n.next();r.done!==!0;){if(yj(r.value[1],t.get(r.value[0]))!==!0)return!1;r=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let n=e.entries();for(r=n.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=n.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let i=Object.keys(e).filter(t=>e[t]!==void 0);if(n=i.length,n!==Object.keys(t).filter(e=>t[e]!==void 0).length)return!1;for(r=n;r--!==0;){let n=i[r];if(yj(e[n],t[n])!==!0)return!1}return!0}return e!==e&&t!==t}function bj(e){return typeof e==`object`&&!!e&&Array.isArray(e)!==!0}he();var xj=[TC,pj,sj,oj,AC,gj,vj];function Sj(e,t){let n=fe(e);n.config.globalProperties=t.config.globalProperties;let{reload:r,...i}=t._context;return Object.assign(n._context,i),n}function Cj(e,t){t.forEach(t=>{t.install(e),t.__installed=!0})}function wj(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(`_q_`,n.$q),Cj(n,xj),t.components!==void 0&&Object.values(t.components).forEach(t=>{bj(t)===!0&&t.name!==void 0&&e.component(t.name,t)}),t.directives!==void 0&&Object.values(t.directives).forEach(t=>{bj(t)===!0&&t.name!==void 0&&e.directive(t.name,t)}),t.plugins!==void 0&&Cj(n,Object.values(t.plugins).filter(e=>typeof e.install==`function`&&xj.includes(e)===!1)),gC.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(e=>{e()}),n.$q.onSSRHydrated=()=>{}})}var Tj={name:`Quasar`,version:`2.16.11`,install:function(e,t={}){let n={version:`2.16.11`};qC===!1?(t.config!==void 0&&Object.assign(KC,t.config),n.config={...KC},JC()):n.config=t.config||{},wj(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},lang:gj,iconSet:vj};y(),he();var Ej,Dj,Oj=0,kj=null,Aj={},jj={},Mj={group:`__default_quasar_group__`,delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:``,messageColor:``,backgroundColor:``,boxClass:``,spinner:Zy,customClass:``},Nj={...Mj};function Pj(e){if(e&&e.group!==void 0&&jj[e.group]!==void 0)return Object.assign(jj[e.group],e);let t=bj(e)===!0&&e.ignoreDefaults===!0?{...Mj,...e}:{...Nj,...e};return jj[t.group]=t,t}var Fj=Oy({isActive:!1},{show(e){Aj=Pj(e);let{group:t}=Aj;return Fj.isActive=!0,Ej===void 0?(Aj.uid=++Oj,kj!==null&&clearTimeout(kj),kj=setTimeout(()=>{kj=null;let e=$C(`q-loading`);Ej=Sj({name:`QLoading`,setup(){Be(()=>{zw(!0)});function t(){Fj.isActive!==!0&&Ej!==void 0&&(zw(!1),Ej.unmount(e),ew(e),Ej=void 0,Dj=void 0)}function n(){if(Fj.isActive!==!0)return null;let e=[c(Aj.spinner,{class:`q-loading__spinner`,color:Aj.spinnerColor,size:Aj.spinnerSize})];return Aj.message&&e.push(c(`div`,{class:`q-loading__message`+(Aj.messageColor?` text-${Aj.messageColor}`:``),[Aj.html===!0?`innerHTML`:`textContent`]:Aj.message})),c(`div`,{class:`q-loading fullscreen flex flex-center z-max `+Aj.customClass.trim(),key:Aj.uid},[c(`div`,{class:`q-loading__backdrop`+(Aj.backgroundColor?` bg-${Aj.backgroundColor}`:``)}),c(`div`,{class:`q-loading__box column items-center `+Aj.boxClass},e)])}return()=>c(Ce,{name:`q-transition--fade`,appear:!0,onAfterLeave:t},n)}},Fj.__parentApp),Dj=Ej.mount(e)},Aj.delay)):(Aj.uid=Oj,Dj.$forceUpdate()),e=>{if(e===void 0||Object(e)!==e){Fj.hide(t);return}Fj.show({...e,group:t})}},hide(e){if(Fj.isActive===!0){if(e===void 0)jj={};else if(jj[e]===void 0)return;else{delete jj[e];let t=Object.keys(jj);if(t.length!==0){let e=t[t.length-1];Fj.show({group:e});return}}
9kj!==null&&(clearTimeout(kj),kj=null),Fj.isActive=!1}},setDefaults(e){bj(e)===!0&&Object.assign(Nj,e)},install({$q:e,parentApp:t}){e.loading=this,Fj.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}});y();var Ij=Ey({name:`QBtnGroup`,props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let n=m(()=>{let t=[`unelevated`,`outline`,`flat`,`rounded`,`square`,`push`,`stretch`,`glossy`].filter(t=>e[t]===!0).map(e=>`q-btn-group--${e}`).join(` `);return`q-btn-group row no-wrap${t.length===0?``:` `+t}`+(e.spread===!0?` q-btn-group--spread`:` inline`)});return()=>c(`div`,{class:n.value},ky(t.default))}});y();var Lj=Ey({name:`QBtnToggle`,props:{...kT,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(e=>(`label`in e||`icon`in e||`slot`in e)&&`value`in e)},color:String,textColor:String,toggleColor:{type:String,default:`primary`},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`clear`,`click`],setup(e,{slots:t,emit:n}){let r=m(()=>e.options.find(t=>t.value===e.modelValue)!==void 0),i=jT(m(()=>({type:`hidden`,name:e.name,value:e.modelValue}))),a=m(()=>Hb(e)),o=m(()=>({rounded:e.rounded,dense:e.dense,...a.value})),s=m(()=>e.options.map((t,n)=>{let{attrs:r,value:i,slot:a,...s}=t;return{slot:a,props:{key:n,"aria-pressed":i===e.modelValue?`true`:`false`,...r,...s,...o.value,disable:e.disable===!0||s.disable===!0,color:i===e.modelValue?u(s,`toggleColor`):u(s,`color`),textColor:i===e.modelValue?u(s,`toggleTextColor`):u(s,`textColor`),noCaps:u(s,`noCaps`)===!0,noWrap:u(s,`noWrap`)===!0,size:u(s,`size`),padding:u(s,`padding`),ripple:u(s,`ripple`),stack:u(s,`stack`)===!0,stretch:u(s,`stretch`)===!0,onClick(e){l(i,t,e)}}}}));function l(t,r,i){e.readonly!==!0&&(e.modelValue===t?e.clearable===!0&&(n(`update:modelValue`,null,null),n(`clear`)):n(`update:modelValue`,t,r),n(`click`,i))}function u(t,n){return t[n]===void 0?e[n]:t[n]}function d(){let n=s.value.map(e=>c(Yb,e.props,e.slot===void 0?void 0:t[e.slot]));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&i(n,`push`),jy(t.default,n)}return()=>c(Ij,{class:`q-btn-toggle`,...a.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},d)}});y(),Se();var Rj=Ey({name:`QItem`,props:{...Xb,...Pb,tag:{type:String,default:`div`},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:[`click`,`keyup`],setup(e,{slots:t,emit:n}){let{proxy:{$q:r}}=N(),i=Zb(e,r),{hasLink:a,linkAttrs:o,linkClass:s,linkTag:l,navigateOnClick:u}=Fb(),d=_(null),f=_(null),p=m(()=>e.clickable===!0||a.value===!0||e.tag===`label`),h=m(()=>e.disable!==!0&&p.value===!0),g=m(()=>`q-item q-item-type row no-wrap`+(e.dense===!0?` q-item--dense`:``)+(i.value===!0?` q-item--dark`:``)+(a.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass===void 0?``:` ${e.activeClass}`}`:``)+(e.disable===!0?` disabled`:``)+(h.value===!0?` q-item--clickable q-link cursor-pointer `+(e.manualFocus===!0?`q-manual-focusable`:`q-focusable q-hoverable`)+(e.focused===!0?` q-manual-focusable--focused`:``):``)),v=m(()=>e.insetLevel===void 0?null:{[`padding`+(r.lang.rtl===!0?`Right`:`Left`)]:16+e.insetLevel*56+`px`});function y(e){h.value===!0&&(f.value!==null&&(e.qKeyEvent!==!0&&document.activeElement===d.value?f.value.focus():document.activeElement===f.value&&d.value.focus()),u(e))}function b(e){if(h.value===!0&&hb(e,[13,32])===!0){cb(e),e.qKeyEvent=!0;let t=new MouseEvent(`click`,e);t.qKeyEvent=!0,d.value.dispatchEvent(t)}n(`keyup`,e)}function x(){let e=Ay(t.default,[]);return h.value===!0&&e.unshift(c(`div`,{class:`q-focus-helper`,tabindex:-1,ref:f})),e}return()=>{let t={ref:d,class:g.value,style:v.value,role:`listitem`,onClick:y,onKeyup:b};return h.value===!0?(t.tabindex=e.tabindex||`0`,Object.assign(t,o.value)):p.value===!0&&(t[`aria-disabled`]=`true`),c(l.value,t,x())}}});y();var zj=Ey({name:`QItemSection`,props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){let n=m(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?`side`:`main`}`+(e.top===!0?` q-item__section--top justify-start`:` justify-center`)+(e.avatar===!0?` q-item__section--avatar`:``)+(e.thumbnail===!0?` q-item__section--thumbnail`:``)+(e.noWrap===!0?` q-item__section--nowrap`:``));return()=>c(`div`,{class:n.value},ky(t.default))}});y();
9var Bj=Ey({name:`QItemLabel`,props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){let n=m(()=>parseInt(e.lines,10)),r=m(()=>`q-item__label`+(e.overline===!0?` q-item__label--overline text-overline`:``)+(e.caption===!0?` q-item__label--caption text-caption`:``)+(e.header===!0?` q-item__label--header`:``)+(n.value===1?` ellipsis`:``)),i=m(()=>e.lines!==void 0&&n.value>1?{overflow:`hidden`,display:`-webkit-box`,"-webkit-box-orient":`vertical`,"-webkit-line-clamp":n.value}:null);return()=>c(`div`,{style:i.value,class:r.value},ky(t.default))}});y(),he();var Vj=Ey({name:`QSlideTransition`,props:{appear:Boolean,duration:{type:Number,default:300}},emits:[`show`,`hide`],setup(e,{slots:t,emit:n}){let r=!1,i,a,o=null,s=null,l,u;function d(){i&&i(),i=null,r=!1,o!==null&&(clearTimeout(o),o=null),s!==null&&(clearTimeout(s),s=null),a!==void 0&&a.removeEventListener(`transitionend`,l),l=null}function f(t,n,a){n!==void 0&&(t.style.height=`${n}px`),t.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,r=!0,i=a}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,d(),t!==u&&n(t)}function m(t,n){let i=0;a=t,r===!0?(d(),i=t.offsetHeight===t.scrollHeight?0:void 0):(u=`hide`,t.style.overflowY=`hidden`),f(t,i,n),o=setTimeout(()=>{o=null,t.style.height=`${t.scrollHeight}px`,l=e=>{s=null,(Object(e)!==e||e.target===t)&&p(t,`show`)},t.addEventListener(`transitionend`,l),s=setTimeout(l,e.duration*1.1)},100)}function h(t,n){let i;a=t,r===!0?d():(u=`show`,t.style.overflowY=`hidden`,i=t.scrollHeight),f(t,i,n),o=setTimeout(()=>{o=null,t.style.height=0,l=e=>{s=null,(Object(e)!==e||e.target===t)&&p(t,`hide`)},t.addEventListener(`transitionend`,l),s=setTimeout(l,e.duration*1.1)},100)}return re(()=>{r===!0&&d()}),()=>c(Ce,{css:!1,appear:e.appear,onEnter:m,onLeave:h},t.default)}});y();var Hj={true:`inset`,item:`item-inset`,"item-thumbnail":`item-thumbnail-inset`},Uj={xs:2,sm:4,md:8,lg:16,xl:24},Wj=Ey({name:`QSeparator`,props:{...Xb,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){let t=Zb(e,N().proxy.$q),n=m(()=>e.vertical===!0?`vertical`:`horizontal`),r=m(()=>` q-separator--${n.value}`),i=m(()=>e.inset===!1?``:`${r.value}-${Hj[e.inset]}`),a=m(()=>`q-separator${r.value}${i.value}`+(e.color===void 0?``:` bg-${e.color}`)+(t.value===!0?` q-separator--dark`:``)),o=m(()=>{let t={};if(e.size!==void 0&&(t[e.vertical===!0?`width`:`height`]=e.size),e.spaced!==!1){let n=e.spaced===!0?`${Uj.md}px`:e.spaced in Uj?`${Uj[e.spaced]}px`:e.spaced,r=e.vertical===!0?[`Left`,`Right`]:[`Top`,`Bottom`];t[`margin${r[0]}`]=t[`margin${r[1]}`]=n}return t});return()=>c(`hr`,{class:a.value,style:o.value,"aria-orientation":n.value})}}),Gj,Kj=0,qj=Array(256);for(let e=0;e<256;e++)qj[e]=(e+256).toString(16).substring(1);var Jj=(()=>{let e=typeof crypto<`u`?crypto:typeof window<`u`?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{let n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{let t=[];for(let n=e;n>0;n--)t.push(Math.floor(Math.random()*256));return t}})(),Yj=4096;function Xj(){(Gj===void 0||Kj+16>Yj)&&(Kj=0,Gj=Jj(Yj));let e=Array.prototype.slice.call(Gj,Kj,Kj+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,qj[e[0]]+qj[e[1]]+qj[e[2]]+qj[e[3]]+`-`+qj[e[4]]+qj[e[5]]+`-`+qj[e[6]]+qj[e[7]]+`-`+qj[e[8]]+qj[e[9]]+`-`+qj[e[10]]+qj[e[11]]+qj[e[12]]+qj[e[13]]+qj[e[14]]+qj[e[15]]}Se(),y();function Zj(e){return e??null}function Qj(e,t){return e??(t===!0?`f_${Xj()}`:null)}function $j({getValue:e,required:t=!0}={}){if(gC.value===!0){let n=_(e===void 0?null:Zj(e()));return t===!0&&n.value===null&&Be(()=>{n.value=`f_${Xj()}`}),e!==void 0&&B(e,e=>{n.value=Qj(e,t)}),n}return e===void 0?_(`f_${Xj()}`):m(()=>Qj(e(),t))}y(),Se(),he();var eM=x({}),tM=Object.keys(Pb),nM=Ey({name:`QExpansionItem`,props:{...Pb,...PC,...Xb,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:{},headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:
9Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...FC,`click`,`afterShow`,`afterHide`],setup(e,{slots:t,emit:n}){let{proxy:{$q:r}}=N(),i=Zb(e,r),a=_(e.modelValue===null?e.defaultOpened:e.modelValue),o=_(null),s=$j(),{show:l,hide:u,toggle:d}=IC({showing:a}),f,p,h=m(()=>`q-expansion-item q-item-type q-expansion-item--${a.value===!0?`expanded`:`collapsed`} q-expansion-item--${e.popup===!0?`popup`:`standard`}`),g=m(()=>e.contentInsetLevel===void 0?null:{[`padding`+(r.lang.rtl===!0?`Right`:`Left`)]:e.contentInsetLevel*56+`px`}),v=m(()=>e.disable!==!0&&(e.href!==void 0||e.to!==void 0&&e.to!==null&&e.to!==``)),y=m(()=>{let t={};return tM.forEach(n=>{t[n]=e[n]}),t}),b=m(()=>v.value===!0||e.expandIconToggle!==!0),x=m(()=>e.expandedIcon!==void 0&&a.value===!0?e.expandedIcon:e.expandIcon||r.iconSet.expansionItem[e.denseToggle===!0?`denseIcon`:`icon`]),S=m(()=>e.disable!==!0&&(v.value===!0||e.expandIconToggle===!0)),C=m(()=>({expanded:a.value===!0,detailsId:s.value,toggle:d,show:l,hide:u})),w=m(()=>{let t=e.toggleAriaLabel===void 0?r.lang.label[a.value===!0?`collapse`:`expand`](e.label):e.toggleAriaLabel;return{role:`button`,"aria-expanded":a.value===!0?`true`:`false`,"aria-controls":s.value,"aria-label":t}});B(()=>e.group,e=>{p!==void 0&&p(),e!==void 0&&A()});function T(e){v.value!==!0&&d(e),n(`click`,e)}function E(e){e.keyCode===13&&D(e,!0)}
9function D(e,t){t!==!0&&o.value!==null&&o.value.focus(),d(e),cb(e)}function O(){n(`afterShow`)}function k(){n(`afterHide`)}function A(){f===void 0&&(f=Xj()),a.value===!0&&(eM[e.group]=f);let t=B(a,t=>{t===!0?eM[e.group]=f:eM[e.group]===f&&delete eM[e.group]}),n=B(()=>eM[e.group],(e,t)=>{t===f&&e!==void 0&&e!==f&&u()});p=()=>{t(),n(),eM[e.group]===f&&delete eM[e.group],p=void 0}}function j(){let t={class:[`q-focusable relative-position cursor-pointer${e.denseToggle===!0&&e.switchToggleSide===!0?` items-end`:``}`,e.expandIconClass],side:e.switchToggleSide!==!0,avatar:e.switchToggleSide},n=[c(Jy,{class:`q-expansion-item__toggle-icon`+(e.expandedIcon===void 0&&a.value===!0?` q-expansion-item__toggle-icon--rotated`:``),name:x.value})];return S.value===!0&&(Object.assign(t,{tabindex:0,...w.value,onClick:D,onKeyup:E}),n.unshift(c(`div`,{ref:o,class:`q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded`,tabindex:-1}))),c(zj,t,()=>n)}function ee(){let n;return t.header===void 0?(n=[c(zj,()=>[c(Bj,{lines:e.labelLines},()=>e.label||``),e.caption?c(Bj,{lines:e.captionLines,caption:!0},()=>e.caption):null])],e.icon&&n[e.switchToggleSide===!0?`push`:`unshift`](c(zj,{side:e.switchToggleSide===!0,avatar:e.switchToggleSide!==!0},()=>c(Jy,{name:e.icon})))):n=[].concat(t.header(C.value)),e.disable!==!0&&e.hideExpandIcon!==!0&&n[e.switchToggleSide===!0?`unshift`:`push`](j()),n}function M(){let t={ref:`item`,style:e.headerStyle,class:e.headerClass,dark:i.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return b.value===!0&&(t.clickable=!0,t.onClick=T,Object.assign(t,v.value===!0?y.value:w.value)),c(Rj,t,ee)}function P(){return We(c(`div`,{key:`e-content`,class:`q-expansion-item__content relative-position`,style:g.value,id:s.value},ky(t.default)),[[ae,a.value]])}function F(){let t=[M(),c(Vj,{duration:e.duration,onShow:O,onHide:k},P)];return e.expandSeparator===!0&&t.push(c(Wj,{class:`q-expansion-item__border q-expansion-item__border--top absolute-top`,dark:i.value}),c(Wj,{class:`q-expansion-item__border q-expansion-item__border--bottom absolute-bottom`,dark:i.value})),t}return e.group!==void 0&&A(),re(()=>{p!==void 0&&p()}),()=>c(`div`,{class:h.value},[c(`div`,{class:`q-expansion-item__container relative-position`},F())])}});Se(),y();var rM=/^on[A-Z]/;function iM(){let{attrs:e,vnode:t}=N(),n={listeners:_({}),attributes:_({})};function r(){let r={},i={};for(let t in e)t!==`class`&&t!==`style`&&rM.test(t)===!1&&(r[t]=e[t]);for(let e in t.props)rM.test(e)===!0&&(i[e]=t.props[e]);n.attributes.value=r,n.listeners.value=i}return ee(r),r(),n}y();function aM({validate:e,resetValidation:t,requiresQForm:n}){let r=F(Ye,!1);if(r!==!1){let{props:n,proxy:i}=N();Object.assign(i,{validate:e,resetValidation:t}),B(()=>n.disable,e=>{e===!0?(typeof t==`function`&&t(),r.unbindComponent(i)):r.bindComponent(i)}),Be(()=>{n.disable!==!0&&r.bindComponent(i)}),re(()=>{n.disable!==!0&&r.unbindComponent(i)})}else n===!0&&console.error(`Parent QForm not found on useFormChild()!`)}var oM=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,sM=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,cM=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,lM=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,uM=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,dM={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>oM.test(e),hexaColor:e=>sM.test(e),hexOrHexaColor:e=>cM.test(e),rgbColor:e=>lM.test(e),rgbaColor:e=>uM.test(e),rgbOrRgbaColor:e=>lM.test(e)||uM.test(e),hexOrRgbColor:e=>oM.test(e)||lM.test(e),hexaOrRgbaColor:e=>sM.test(e)||uM.test(e),anyColor:e=>cM.test(e)||lM.test(e)||uM.test(e)};Se(),y();var fM=[!0,!1,`ondemand`],pM={modelValue:{},error:{type:Boolean,default:null}
9,errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>fM.includes(e)}};function mM(e,t){let{props:n,proxy:r}=N(),i=_(!1),a=_(null),o=_(!1);aM({validate:g,resetValidation:h});let s=0,c,l=m(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),u=m(()=>n.disable!==!0&&l.value===!0&&t.value===!1),d=m(()=>n.error===!0||i.value===!0),f=m(()=>typeof n.errorMessage==`string`&&n.errorMessage.length!==0?n.errorMessage:a.value);B(()=>n.modelValue,()=>{o.value=!0,u.value===!0&&n.lazyRules===!1&&v()});function p(){n.lazyRules!==`ondemand`&&u.value===!0&&o.value===!0&&v()}B(()=>n.reactiveRules,e=>{e===!0?c===void 0&&(c=B(()=>n.rules,p,{immediate:!0,deep:!0})):c!==void 0&&(c(),c=void 0)},{immediate:!0}),B(()=>n.lazyRules,p),B(e,e=>{e===!0?o.value=!0:u.value===!0&&n.lazyRules!==`ondemand`&&v()});function h(){s++,t.value=!1,o.value=!1,i.value=!1,a.value=null,v.cancel()}function g(e=n.modelValue){if(n.disable===!0||l.value===!1)return!0;let r=++s,c=t.value===!0?()=>{}:()=>{o.value=!0},u=(e,n)=>{e===!0&&c(),i.value=e,a.value=n||null,t.value=!1},d=[];for(let t=0;t<n.rules.length;t++){let r=n.rules[t],i;if(typeof r==`function`?i=r(e,dM):typeof r==`string`&&dM[r]!==void 0&&(i=dM[r](e)),i===!1||typeof i==`string`)return u(!0,i),!1;i!==!0&&i!==void 0&&d.push(i)}return d.length===0?(u(!1),!0):(t.value=!0,Promise.all(d).then(e=>{if(e===void 0||Array.isArray(e)===!1||e.length===0)return r===s&&u(!1),!0;let t=e.find(e=>e===!1||typeof e==`string`);return r===s&&u(t!==void 0,t),t===void 0},e=>(r===s&&(console.error(e),u(!0)),!1)))}let v=rj(g,0);return re(()=>{c!==void 0&&c(),v.cancel()}),Object.assign(r,{resetValidation:h,validate:g}),Ty(r,`hasError`,()=>d.value),{isDirtyModel:o,hasRules:l,hasError:d,errorMessage:f,validate:g,resetValidation:h}}y(),Se(),he();function hM(e){return e!=null&&(``+e).length!==0}var gM={...Xb,...pM,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},_M={...gM,maxlength:[Number,String]},vM=[`update:modelValue`,`clear`,`focus`,`blur`];function yM({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){let{props:r,proxy:i}=N(),a=Zb(r,i.$q),o=$j({required:e,getValue:()=>r.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?m(()=>r.tag):{value:`label`},isDark:a,editable:m(()=>r.disable!==!0&&r.readonly!==!0),innerLoading:_(!1),focused:_(!1),hasPopupOpen:!1,splitAttrs:iM(),targetUid:o,rootRef:_(null),targetRef:_(null),controlRef:_(null)}}function bM(e){let{props:t,emit:n,slots:r,attrs:a,proxy:o}=N(),{$q:s}=o,l=null;e.hasValue===void 0&&(e.hasValue=m(()=>hM(t.modelValue))),e.emitValue===void 0&&(e.emitValue=e=>{n(`update:modelValue`,e)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:k,onFocusout:A}),Object.assign(e,{clearValue:j,onControlFocusin:k,onControlFocusout:A,focus:D}),e.computedCounter===void 0&&(e.computedCounter=m(()=>{if(t.counter!==!1){let e=typeof t.modelValue==`string`||typeof t.modelValue==`number`?(``+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,n=t.maxlength===void 0?t.maxValues:t.maxlength;return e+(n===void 0?``:` / `+n)}}));let{isDirtyModel:u,hasRules:d,hasError:f,errorMessage:p,resetValidation:h}=mM(e.focused,e.innerLoading),g=e.floatingLabel===void 0?m(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0):m(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0),_=m(()=>t.bottomSlots===!0||t.hint!==void 0||d.value===!0||t.counter===!0||t.error!==null),v=m(()=>t.filled===!0?`filled`:t.outlined===!0?`outlined`:t.borderless===!0?`borderless`:t.standout?`standout`:`standard`),y=m(()=>`q-field row no-wrap items-start q-field--${v.value}`+(e.fieldClass===void 0?``:` ${e.fieldClass.value}`)+(t.rounded===!0?` q-field--rounded`:``)+(t.square===!0?` q-field--square`:``)+(g.value===!0?` q-field--float`:``)+(x.value===!0?` q-field--labeled`:``)+(t.dense===!0?` q-field--dense`:``)+(t.itemAligned===!0?` q-field--item-aligned q-item-type`:``)+(e.isDark.value===!0?` q-field--dark`:``)+(e.getControl===void 0?` q-field--auto-height`:``)+(e.focused.value===!0?` q-field--focused`:``)+(f.value===!0?` q-field--error`:``)+(f.value===!0||e.focused.value===!0?` q-field--highlighted`:``)+(t.hideBottomSpace!==!0&&_.value===!0?` q-field--with-bottom`:``)+(t.disable===!0?` q-field--disabled`:t.readonly===!0?` q-field--readonly`:``)),b=m(()=>`q-field__control relative-position row no-wrap`+(t.bgColor===void 0?``:` bg-${t.bgColor}`)+(f.value===!0?` text-negative`:typeof t.standout==`string`&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color===void 0?``:` text-${t.color}`)),x=m(()=>t.labelSlot===!0||t.label!==void 0),C=m(()=>`q-field__label no-pointer-events absolute ellipsis`+(t.labelColor!==void 0&&f.value!==!0?` text-${t.labelColor}`:``)),w=m(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:g.value,modelValue:t.modelValue,emitValue:e.emitValue})),T=m(()=>{let n={};return e.targetUid.value&&(n.for=e.targetUid.value),t.disable===!0&&(n[`aria-disabled`]=`true`),n});function E(){let t=document.activeElement,n=e.targetRef!==void 0&&e.targetRef.value;n&&(t===null||t.id!==e.targetUid.value)&&(n.hasAttribute(`tabindex`)===!0||(n=n.querySelector(`[tabindex]`)),n&&n!==t&&n.focus({preventScroll:!0}))}function D(){WC(E)}function O(){GC(E);let t=document.activeElement;t!==null&&e.rootRef.value.contains(t)&&t.blur()}function k(t){l!==null&&(clearTimeout(l),l=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n(`focus`,t))}function A(t,r){l!==null&&clearTimeout(l),l=setTimeout(()=>{l=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n(`blur`,t)),r!==void 0&&r())})}function j(r){cb(r),s.platform.is.mobile===!0?e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur():(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus(),t.type===`file`&&(e.inputRef.value.value=null),n(`update:modelValue`,null),e.changeEvent===!0&&n(`change`,null),n(`clear`,t.modelValue),S(()=>{let e=u.value;h(),u.value=e})}
9function ee(e){[13,32].includes(e.keyCode)&&j(e)}function M(){let n=[];return r.prepend!==void 0&&n.push(c(`div`,{class:`q-field__prepend q-field__marginal row no-wrap items-center`,key:`prepend`,onClick:sb},r.prepend())),n.push(c(`div`,{class:`q-field__control-container col relative-position row no-wrap q-anchor--skip`},P())),f.value===!0&&t.noErrorIcon===!1&&n.push(I(`error`,[c(Jy,{name:s.iconSet.field.error,color:`negative`})])),t.loading===!0||e.innerLoading.value===!0?n.push(I(`inner-loading-append`,r.loading===void 0?[c(Zy,{color:t.color})]:r.loading())):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&n.push(I(`inner-clearable-append`,[c(Jy,{class:`q-field__focusable-action`,name:t.clearIcon||s.iconSet.field.clear,tabindex:0,role:`button`,"aria-hidden":`false`,"aria-label":s.lang.label.clear,onKeyup:ee,onClick:j})])),r.append!==void 0&&n.push(c(`div`,{class:`q-field__append q-field__marginal row no-wrap items-center`,key:`append`,onClick:sb},r.append())),e.getInnerAppend!==void 0&&n.push(I(`inner-append`,e.getInnerAppend())),e.getControlChild!==void 0&&n.push(e.getControlChild()),n}function P(){let n=[];return t.prefix!==void 0&&t.prefix!==null&&n.push(c(`div`,{class:`q-field__prefix no-pointer-events row items-center`},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&n.push(e.getShadowControl()),e.getControl===void 0?r.rawControl
9===void 0?r.control!==void 0&&n.push(c(`div`,{ref:e.targetRef,class:`q-field__native row`,tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},r.control(w.value))):n.push(r.rawControl()):n.push(e.getControl()),x.value===!0&&n.push(c(`div`,{class:C.value},ky(r.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&n.push(c(`div`,{class:`q-field__suffix no-pointer-events row items-center`},t.suffix)),n.concat(ky(r.default))}function F(){let n,i;f.value===!0?p.value===null?(n=ky(r.error),i=`q--slot-error`):(n=[c(`div`,{role:`alert`},p.value)],i=`q--slot-error-${p.value}`):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint===void 0?(n=ky(r.hint),i=`q--slot-hint`):(n=[c(`div`,t.hint)],i=`q--slot-hint-${t.hint}`));let a=t.counter===!0||r.counter!==void 0;if(t.hideBottomSpace===!0&&a===!1&&n===void 0)return;let o=c(`div`,{key:i,class:`q-field__messages col`},n);return c(`div`,{class:`q-field__bottom row items-start q-field__bottom--`+(t.hideBottomSpace===!0?`stale`:`animated`),onClick:sb},[t.hideBottomSpace===!0?o:c(Ce,{name:`q-transition--field-message`},()=>o),a===!0?c(`div`,{class:`q-field__counter`},r.counter===void 0?e.computedCounter.value:r.counter()):null])}function I(e,t){return t===null?null:c(`div`,{key:e,class:`q-field__append q-field__marginal row no-wrap items-center q-anchor--skip`},t)}let L=!1;return i(()=>{L=!0}),ne(()=>{L===!0&&t.autofocus===!0&&o.focus()}),t.autofocus===!0&&Be(()=>{o.focus()}),re(()=>{l!==null&&clearTimeout(l)}),Object.assign(o,{focus:D,blur:O}),function(){let n=e.getControl===void 0&&r.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...T.value}:T.value;return c(e.tag.value,{ref:e.rootRef,class:[y.value,a.class],style:a.style,...n},[r.before===void 0?null:c(`div`,{class:`q-field__before q-field__marginal row no-wrap items-center`,onClick:sb},r.before()),c(`div`,{class:`q-field__inner relative-position col self-stretch`},[c(`div`,{ref:e.controlRef,class:b.value,tabindex:-1,...e.controlEvents},M()),_.value===!0?F():null]),r.after===void 0?null:c(`div`,{class:`q-field__after q-field__marginal row no-wrap items-center`,onClick:sb},r.after())])}}Se(),y();var xM={date:`####/##/##`,datetime:`####/##/## ##:##`,time:`##:##`,fulltime:`##:##:##`,phone:`(###) ### - ####`,card:`#### #### #### ####`},SM={"#":{pattern:`[\\d]`,negate:`[^\\d]`},S:{pattern:`[a-zA-Z]`,negate:`[^a-zA-Z]`},N:{pattern:`[0-9a-zA-Z]`,negate:`[^0-9a-zA-Z]`},A:{pattern:`[a-zA-Z]`,negate:`[^a-zA-Z]`,transform:e=>e.toLocaleUpperCase()},a:{pattern:`[a-zA-Z]`,negate:`[^a-zA-Z]`,transform:e=>e.toLocaleLowerCase()},X:{pattern:`[0-9a-zA-Z]`,negate:`[^0-9a-zA-Z]`,transform:e=>e.toLocaleUpperCase()},x:{pattern:`[0-9a-zA-Z]`,negate:`[^0-9a-zA-Z]`,transform:e=>e.toLocaleLowerCase()}},CM=Object.keys(SM);CM.forEach(e=>{SM[e].regex=new RegExp(SM[e].pattern)});var wM=RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+CM.join(``)+`])|(.)`,`g`),TM=/[.*+?^${}()|[\]\\]/g,EM=`�`,DM={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function OM(e,t,n,r){let i,a,o,s,c,l,u=_(null),d=_(p());function f(){return e.autogrow===!0||[`textarea`,`text`,`search`,`url`,`tel`,`password`].includes(e.type)}B(()=>e.type+e.autogrow,h),B(()=>e.mask,n=>{if(n!==void 0)g(d.value,!0);else{let n=T(d.value);h(),e.modelValue!==n&&t(`update:modelValue`,n)}}),B(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&g(d.value,!0)}),B(()=>e.unmaskedValue,()=>{u.value===!0&&g(d.value)});function p(){if(h(),u.value===!0){let t=C(T(e.modelValue));return e.fillMask===!1?t:E(t)}return e.modelValue}function m(e){if(e<i.length)return i.slice(-e);let t=``,n=i,r=n.indexOf(EM);if(r!==-1){for(let r=e-n.length;r>0;r--)t+=EM;n=n.slice(0,r)+t+n.slice(r)}return n}function h(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&f(),u.value===!1){s=void 0,i=``,a=``;return}let t=xM[e.mask]===void 0?e.mask:xM[e.mask],n=typeof e.fillMask==`string`&&e.fillMask.length!==0?e.fillMask.slice(0,1):`_`,r=n.replace(TM,`\\$&`),c=[],l=[],d=[],p=e.reverseFillMask===!0,m=``,h=``;t.replace(wM,(e,t,n,r,i)=>{if(r!==void 0){let e=SM[r];d.push(e),h=e.negate,p===!0&&(l.push(`(?:`+h+`+)?(`+e.pattern+`+)?(?:`+h+`+)?(`+e.pattern+`+)?`),p=!1),l.push(`(?:`+h+`+)?(`+e.pattern+`)?`)}else if(n!==void 0)m=`\\`+(n===`\\`?``:n),d.push(n),c.push(`([^`+m+`]+)?`+m+`?`);else{let e=t===void 0?i:t;m=e===`\\`?`\\\\\\\\`:e.replace(TM,`\\\\$&`),d.push(e),c.push(`([^`+m+`]+)?`+m+`?`)}});let g=RegExp(`^`+c.join(``)+`(`+(m===``?`.`:`[^`+m+`]`)+`+)?`+(m===``?``:`[`+m+`]*`)+`$`),_=l.length-1,v=l.map((t,n)=>n===0&&e.reverseFillMask===!0?RegExp(`^`+r+`*`+t):RegExp(n===_?`^`+t+`(`+(h===``?`.`:h)+`+)?`+(e.reverseFillMask===!0?`$`:r
9+`*`):`^`+t));o=d,s=t=>{let n=g.exec(e.reverseFillMask===!0?t:t.slice(0,d.length+1));n!==null&&(t=n.slice(1).join(``));let r=[],i=v.length;for(let e=0,n=t;e<i;e++){let t=v[e].exec(n);if(t===null)break;n=n.slice(t.shift().length),r.push(...t)}return r.length===0?t:r.join(``)},i=d.map(e=>typeof e==`string`?e:EM).join(``),a=i.split(EM).join(n)}function g(t,o,s){let l=r.value,u=l.selectionEnd,f=l.value.length-u,p=T(t);o===!0&&h();let m=C(p),g=e.fillMask===!1?m:E(m),_=d.value!==g;l.value!==g&&(l.value=g),_===!0&&(d.value=g),document.activeElement===l&&S(()=>{if(g===a){let t=e.reverseFillMask===!0?a.length:0;l.setSelectionRange(t,t,`forward`);return}if(s===`insertFromPaste`&&e.reverseFillMask!==!0){let e=l.selectionEnd,t=u-1;for(let n=c;n<=t&&n<e;n++)i[n]!==EM&&t++;y.right(l,t);return}if([`deleteContentBackward`,`deleteContentForward`].indexOf(s)!==-1){let t=e.reverseFillMask===!0?u===0?+(g.length>m.length):Math.max(0,g.length-(g===a?0:Math.min(m.length,f)+1))+1:u;l.setSelectionRange(t,t,`forward`);return}if(e.reverseFillMask===!0)if(_===!0){let e=Math.max(0,g.length-(g===a?0:Math.min(m.length,f+1)));e===1&&u===1?l.setSelectionRange(e,e,`forward`):y.rightReverse(l,e)}else{let e=g.length-f;l.setSelectionRange(e,e,`backward`)}else if(_===!0){let e=Math.max(0,i.indexOf(EM),Math.min(m.length,u)-1);y.right(l,e)}else{let e=u-1;y.right(l,e)}});let v=e.unmaskedValue===!0?T(g):g;String(e.modelValue)!==v&&(e.modelValue!==null||v!==``)&&n(v,!0)}function v(e,t,n){let r=C(T(e.value));t=Math.max(0,i.indexOf(EM),Math.min(r.length,t)),c=t,e.setSelectionRange(t,n,`forward`)}let y={left(e,t){let n=i.slice(t-1).indexOf(EM)===-1,r=Math.max(0,t-1);for(;r>=0;r--)if(i[r]===EM){t=r,n===!0&&t++;break}if(r<0&&i[t]!==void 0&&i[t]!==EM)return y.right(e,0);t>=0&&e.setSelectionRange(t,t,`backward`)},right(e,t){let n=e.value.length,r=Math.min(n,t+1);for(;r<=n;r++)if(i[r]===EM){t=r;break}else i[r-1]===EM&&(t=r);if(r>n&&i[t-1]!==void 0&&i[t-1]!==EM)return y.left(e,n);e.setSelectionRange(t,t,`forward`)},leftReverse(e,t){let n=m(e.value.length),r=Math.max(0,t-1);for(;r>=0;r--)if(n[r-1]===EM){t=r;break}else if(n[r]===EM&&(t=r,r===0))break;if(r<0&&n[t]!==void 0&&n[t]!==EM)return y.rightReverse(e,0);t>=0&&e.setSelectionRange(t,t,`backward`)},rightReverse(e,t){let n=e.value.length,r=m(n),i=r.slice(0,t+1).indexOf(EM)===-1,a=Math.min(n,t+1);for(;a<=n;a++)if(r[a-1]===EM){t=a,t>0&&i===!0&&t--;break}if(a>n&&r[t-1]!==void 0&&r[t-1]!==EM)return y.leftReverse(e,n);e.setSelectionRange(t,t,`forward`)}};function b(e){t(`click`,e),l=void 0}function x(n){if(t(`keydown`,n),mb(n)===!0||n.altKey===!0)return;let i=r.value,a=i.selectionStart,o=i.selectionEnd;if(n.shiftKey||(l=void 0),n.keyCode===37||n.keyCode===39){n.shiftKey&&l===void 0&&(l=i.selectionDirection===`forward`?a:o);let t=y[(n.keyCode===39?`right`:`left`)+(e.reverseFillMask===!0?`Reverse`:``)];if(n.preventDefault(),t(i,l===a?o:a),n.shiftKey){let e=i.selectionStart;i.setSelectionRange(Math.min(l,e),Math.max(l,e),`forward`)}}else n.keyCode===8&&e.reverseFillMask!==!0&&a===o?(y.left(i,a),i.setSelectionRange(i.selectionStart,o,`backward`)):n.keyCode===46&&e.reverseFillMask===!0&&a===o&&(y.rightReverse(i,o),i.setSelectionRange(a,i.selectionEnd,`forward`))}function C(t){if(t==null||t===``)return``;if(e.reverseFillMask===!0)return w(t);let n=o,r=0,i=``;for(let e=0;e<n.length;e++){let a=t[r],o=n[e];if(typeof o==`string`)i+=o,a===o&&r++;else if(a!==void 0&&o.regex.test(a))i+=o.transform===void 0?a:o.transform(a),r++;else return i}return i}function w(e){let t=o,n=i.indexOf(EM),r=e.length-1,a=``;for(let i=t.length-1;i>=0&&r!==-1;i--){let o=t[i],s=e[r];if(typeof o==`string`)a=o+a,s===o&&r--;else if(s!==void 0&&o.regex.test(s))do a=(o.transform===void 0?s:o.transform(s))+a,r--,s=e[r];while(n===i&&s!==void 0&&o.regex.test(s));else return a}return a}function T(e){return typeof e!=`string`||s===void 0?typeof e==`number`?s(``+e):e:s(e)}function E(t){return a.length-t.length<=0?t:e.reverseFillMask===!0&&t.length!==0?a.slice(0,-t.length)+t:t+a.slice(t.length)}return{innerValue:d,hasMask:u,moveCursorForPaste:v,updateMaskValue:g,onMaskedKeydown:x,onMaskedClick:b}}y();function kM(e,t){function n(){let t=e.modelValue;try{let e=`DataTransfer`in window?new DataTransfer:`ClipboardEvent`in 
9window?new ClipboardEvent(``).clipboardData:void 0;return Object(t)===t&&(`length`in t?Array.from(t):[t]).forEach(t=>{e.items.add(t)}),{files:e.files}}catch{return{files:void 0}}}return m(t===!0?()=>{if(e.type===`file`)return n()}:n)}function AM(e){return function(t){if(t.type===`compositionend`||t.type===`change`){if(t.target.qComposing!==!0)return;t.target.qComposing=!1,e(t)}else t.type===`compositionstart`&&(t.target.qComposing=!0)}}y(),Se();var jM=Ey({name:`QInput`,inheritAttrs:!1,props:{..._M,...DM,...kT,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:`text`},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...vM,`paste`,`change`,`keydown`,`click`,`animationend`],setup(e,{emit:t,attrs:n}){let{proxy:r}=N(),{$q:i}=r,a={},o=NaN,s,l,u=null,d,f=_(null),p=MT(e),{innerValue:h,hasMask:g,moveCursorForPaste:v,updateMaskValue:y,onMaskedKeydown:b,onMaskedClick:x}=OM(e,t,I,f),C=kM(e,!0),w=m(()=>hM(h.value)),T=AM(P),E=yM({changeEvent:!0}),D=m(()=>e.type===`textarea`||e.autogrow===!0),O=m(()=>D.value===!0||[`text`,`search`,`url`,`tel`,`password`].includes(e.type)),k=m(()=>{let t={...E.splitAttrs.listeners.value,onInput:P,onPaste:M,onChange:te,onBlur:R,onFocus:ob};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=T,g.value===!0&&(t.onKeydown=b,t.onClick=x),e.autogrow===!0&&(t.onAnimationend=F),t}),A=m(()=>{let t={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type===`textarea`?6:void 0,"aria-label":e.label,name:p.value,...E.splitAttrs.attributes.value,id:E.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return D.value===!1&&(t.type=e.type),e.autogrow===!0&&(t.rows=1),t});B(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),B(()=>e.modelValue,t=>{if(g.value===!0){if(l===!0&&(l=!1,String(t)===o))return;y(t)}else h.value!==t&&(h.value=t,e.type===`number`&&a.hasOwnProperty(`value`)===!0&&(s===!0?s=!1:delete a.value));e.autogrow===!0&&S(L)}),B(()=>e.autogrow,e=>{e===!0?S(L):f.value!==null&&n.rows>0&&(f.value.style.height=`auto`)}),B(()=>e.dense,()=>{e.autogrow===!0&&S(L)});function j(){WC(()=>{let e=document.activeElement;f.value!==null&&f.value!==e&&(e===null||e.id!==E.targetUid.value)&&f.value.focus({preventScroll:!0})})}function ee(){f.value!==null&&f.value.select()}function M(n){if(g.value===!0&&e.reverseFillMask!==!0){let e=n.target;v(e,e.selectionStart,e.selectionEnd)}t(`paste`,n)}function P(n){if(!n||!n.target)return;if(e.type===`file`){t(`update:modelValue`,n.target.files);return}let r=n.target.value;if(n.target.qComposing===!0){a.value=r;return}if(g.value===!0)y(r,!1,n.inputType);else if(I(r),O.value===!0&&n.target===document.activeElement){let{selectionStart:e,selectionEnd:t}=n.target;e!==void 0&&t!==void 0&&S(()=>{n.target===document.activeElement&&r.indexOf(n.target.value)===0&&n.target.setSelectionRange(e,t)})}e.autogrow===!0&&L()}function F(e){t(`animationend`,e),L()}function I(n,r){d=()=>{u=null,e.type!==`number`&&a.hasOwnProperty(`value`)===!0&&delete a.value,e.modelValue!==n&&o!==n&&(o=n,r===!0&&(l=!0),t(`update:modelValue`,n),S(()=>{o===n&&(o=NaN)})),d=void 0},e.type===`number`&&(s=!0,a.value=n),e.debounce===void 0?d():(u!==null&&clearTimeout(u),a.value=n,u=setTimeout(d,e.debounce))}function L(){requestAnimationFrame(()=>{let e=f.value;if(e!==null){let t=e.parentNode.style,{scrollTop:n}=e,{overflowY:r,maxHeight:a}=i.platform.is.firefox===!0?{}:window.getComputedStyle(e),o=r!==void 0&&r!==`scroll`;o===!0&&(e.style.overflowY=`hidden`),t.marginBottom=e.scrollHeight-1+`px`,e.style.height=`1px`,e.style.height=e.scrollHeight+`px`,o===!0&&(e.style.overflowY=parseInt(a,10)<e.scrollHeight?`auto`:`hidden`),t.marginBottom=``,e.scrollTop=n}})}function te(e){T(e),u!==null&&(clearTimeout(u),u=null),d!==void 0&&d(),t(`change`,e.target.value)}function R(t){t!==void 0&&ob(t),u!==null&&(clearTimeout(u),u=null),d!==void 0&&d(),s=!1,l=!1,delete a.value,e.type!==`file`&&setTimeout(()=>{f.value!==null&&(f.value.value=h.value===void 0?``:h.value)})}function ne(){return a.hasOwnProperty(`value`)===!0?a.value:h.value===void 0?``:h.value}re(()=>{R()}),Be(()=>{e.autogrow===!0&&L()}),Object.assign(E,{innerValue:h,fieldClass:m(()=>`q-${D.value===!0?`textarea`:`input`}`+(e.autogrow===!0?` q-textarea--autogrow`:``)),hasShadow:m(()=>e.type!==`file`&&typeof e.shadowText==`string`&&e.shadowText.length!==0),inputRef:f,emitValue:I,hasValue:w,floatingLabel:m(()=>w.value===!0&&(e.type!==`number`||isNaN(h.value)===!1)||hM(e.displayValue)),getControl:()=>c(D.value===!0?`textarea`:`input`,{ref:f,class:[`q-field__native q-placeholder`,e.inputClass],style:e.inputStyle,...A.value,...k.value,...e.type===`file`?C.value:{value:ne()}}),getShadowControl:()=>c(`div`,{class:`q-field__native q-field__shadow absolute-bottom no-pointer-events`+(D.value===!0?``:` text-no-wrap`)},[c(`span`,{class:`invisible`},ne()),c(`span`,e.shadowText)])});let z=bM(E);return Object.assign(r,{focus:j,select:ee,getNativeElement:()=>f.value}),Ty(r,`nativeEl`,()=>f.value),z}});y();var MM=Ey({name:`QCard`,props:{...Xb,tag:{type:String,default:`div`},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:n}}=N(),r=Zb(e,n),i=m(()=>
9`q-card`+(r.value===!0?` q-card--dark q-dark`:``)+(e.bordered===!0?` q-card--bordered`:``)+(e.square===!0?` q-card--square no-border-radius`:``)+(e.flat===!0?` q-card--flat no-shadow`:``));return()=>c(e.tag,{class:i.value},ky(t.default))}});Se(),y();function NM(){let e=_(!gC.value);return e.value===!1&&Be(()=>{e.value=!0}),{isHydrated:e}}y();var PM=typeof ResizeObserver<`u`,FM=PM===!0?{}:{style:`display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;`,url:`about:blank`},IM=Ey({name:`QResizeObserver`,props:{debounce:{type:[String,Number],default:100}},emits:[`resize`],setup(e,{emit:t}){let n=null,r,i={width:-1,height:-1};function a(t){t===!0||e.debounce===0||e.debounce===`0`?o():n===null&&(n=setTimeout(o,e.debounce))}function o(){if(n!==null&&(clearTimeout(n),n=null),r){let{offsetWidth:e,offsetHeight:n}=r;(e!==i.width||n!==i.height)&&(i={width:e,height:n},t(`resize`,i))}}let{proxy:s}=N();if(s.trigger=a,PM===!0){let e,t=n=>{r=s.$el.parentNode,r?(e=new ResizeObserver(a),e.observe(r),o()):n!==!0&&S(()=>{t(!0)})};return Be(()=>{t()}),re(()=>{n!==null&&clearTimeout(n),e!==void 0&&(e.disconnect===void 0?r&&e.unobserve(r):e.disconnect())}),nb}else{let{isHydrated:e}=NM(),t;function i(){n!==null&&(clearTimeout(n),n=null),t!==void 0&&(t.removeEventListener!==void 0&&t.removeEventListener(`resize`,a,tb.passive),t=void 0)}function l(){i(),r&&r.contentDocument&&(t=r.contentDocument.defaultView,t.addEventListener(`resize`,a,tb.passive),o())}return Be(()=>{S(()=>{r=s.$el,r&&l()})}),re(i),()=>{if(e.value===!0)return c(`object`,{class:`q--avoid-card-border`,style:FM.style,tabindex:-1,type:`text/html`,data:FM.url,"aria-hidden":`true`,onLoad:l})}}}}),LM=!1;{let e=document.createElement(`div`);e.setAttribute(`dir`,`rtl`),Object.assign(e.style,{width:`1px`,height:`1px`,overflow:`auto`});let t=document.createElement(`div`);Object.assign(t.style,{width:`1000px`,height:`1px`}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,LM=e.scrollLeft>=0,e.remove()}y(),Se();function RM(e,t,n){let r=n===!0?[`left`,`right`]:[`top`,`bottom`];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:``}`}var zM=[`left`,`center`,`right`,`justify`],BM=Ey({name:`QTabs`,props:{modelValue:[Number,String],align:{type:String,default:`center`,validator:e=>zM.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:n}){let{proxy:r}=N(),{$q:a}=r,{registerTick:o}=NC(),{registerTick:s}=NC(),{registerTick:l}=NC(),{registerTimeout:u,removeTimeout:d}=MC(),{registerTimeout:f,removeTimeout:p}=MC(),h=_(null),g=_(null),v=_(e.modelValue),y=_(!1),b=_(!0),x=_(!1),S=_(!1),C=[],w=_(0),T=_(!1),E=null,D=null,O,k=m(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:RM(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),A=m(()=>{let e=w.value,t=v.value;for(let n=0;n<e;n++)if(C[n].name.value===t)return!0;return!1}),j=m(()=>`q-tabs__content--align-${y.value===!0?`left`:S.value===!0?`justify`:e.align}`),ee=m(()=>`q-tabs row no-wrap items-center q-tabs--${y.value===!0?``:`not-`}scrollable q-tabs--${e.vertical===!0?`vertical`:`horizontal`} q-tabs__arrows--${e.outsideArrows===!0?`outside`:`inside`} q-tabs--mobile-with${e.mobileArrows===!0?``:`out`}-arrows`+(e.dense===!0?` q-tabs--dense`:``)+(e.shrink===!0?` col-shrink`:``)+(e.stretch===!0?` self-stretch`:``)),M=m(()=>`q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position `+j.value+(e.contentClass===void 0?``:` ${e.contentClass}`)),P=m(()=>e.vertical===!0?{container:`height`,content:`offsetHeight`,scroll:`scrollHeight`}:{container:`width`,content:`offsetWidth`,scroll:`scrollWidth`}),F=m(()=>e.vertical!==!0&&a.lang.rtl===!0),I=m(()=>LM===!1&&F.value===!0);B(F,ae),B(()=>e.modelValue,e=>{L({name:e,setCurrent:!0,skipEmit:!0})}),B(()=>e.outsideArrows,te);function L({name:t,setCurrent:r,skipEmit:i}){v.value!==t&&(i!==!0&&e[`onUpdate:modelValue`]!==void 0&&n(`update:modelValue`,t),(r===!0||e[`onUpdate:modelValue`]===void 0)&&(z(v.value,t),v.value=t))}function te(){o(()=>{R({width:h.value.offsetWidth,height:h.value.offsetHeight})})}function R(t){if(P.value===void 0||g.value===null)return;let n=t[P.value.container],r=Math.min(g.value[P.value.scroll],Array.prototype.reduce.call(g.value.children,(e,t)=>e+(t[P.value.content]||0),0)),i=n>0&&r>n;y.value=i,i===!0&&s(ae),S.value=n<parseInt(e.breakpoint,10)}function z(t,n){let r=t!=null&&t!==``?C.find(e=>e.name.value===t):null,i=n!=null&&n!==``?C.find(e=>e.name.value===n):null;if(r&&i){let t=r.tabIndicatorRef.value,n=i.tabIndicatorRef.value;E!==null&&(clearTimeout(E),E=null),t.style.transition=`none`,t.style.transform=`none`,n.style.transition=`none`,n.style.transform=`none`;let a=t.getBoundingClientRect(),o=n.getBoundingClientRect();n.style.transform=e.vertical===!0?`translate3d(0,${a.top-o.top}px,0) scale3d(1,${o.height?a.height/o.height:1},1)`:`translate3d(${a.left-o.left}px,0,0) scale3d(${o.width?a.width/o.width:1},1,1)`,l(()=>{E=setTimeout(()=>{E=null,n.style.transition=`transform .25s cubic-bezier(.4, 0, .2, 1)`,n.style.transform=`none`},70)})}i&&y.value===!0&&ie(i.rootRef.value)}function ie(t){let{left:n,width:r,top:i,height:a}=g.value.getBoundingClientRect(),o=t.getBoundingClientRect(),s=e.vertical===!0?o.top-i:o.left-n;if(s<0){g.value[e.vertical===!0?`scrollTop`:`scrollLeft`]+=Math.floor(s),ae();return}s+=e.vertical===!0?o.height-a:o.width-r,s>0&&(g.value[e.vertical===!0?`scrollTop`:`scrollLeft`]+=Math.ceil(s),ae())}function ae(){let t=g.value;if(t===null)return;let n=t.getBoundingClientRect(),r=e.vertical===!0?t.scrollTop:Math.abs(t.scrollLeft);F.value===!0?(b.value=Math.ceil(r+n.width)<t.scrollWidth-1,x.value=r>0):(b.value=r>0,x.value=e.vertical===!0?Math.ceil(r+n.height)<t.scrollHeight:Math.ceil(r+n.width)<t.scrollWidth)}function oe(e){D!==null&&clearInterval(D),D=setInterval(()=>{fe(e)===!0&&le()},5)}function se(){oe(I.value===!0?2**53-1:0)}function ce(){oe(I.value===!0?0:2**53-1)}function le(){D!==null&&(clearInterval(D),D=null)}function ue(t,n){let r=Array.prototype.filter.call(g.value.children,e=>e===n||e.matches&&e.matches(`.q-tab.q-focusable`)===!0),i=r.length;if(i===0)return;if(t===36)return ie(r[0]),r[0].focus(),!0;if(t===35)return ie(r[i-1]),r[i-1].focus(),!0;let a=t===(e.vertical===!0?38:37),o=t===(e.vertical===!0?40:39),s=a===!0?-1:o===!0?1:void 0;if(s!==void 0){let e=F.value===!0?-1:1,t=r.indexOf(n)+s*e;return t>=0&&t<i&&(ie(r[t]),r[t].focus({preventScroll:!0})),!0}}let de=m(()=>I.value===!0?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:e.vertical===!0?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}});function fe(e){let t=g.value,{get:n,set:r}=de.value,i=!1,a=n(t),o=e<a?-1:1;return a+=o*5,a<0?(i=!0,a=0):(o===-1&&a<=e||o===1&&a>=e)&&(i=!0,a=e),r(t,a),ae(),i}function pe(e,t){for(let n in e)if(e[n]!==t[n])return!1;return!0}
9function me(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0},n=C.filter(e=>e.routeData!==void 0&&e.routeData.hasRouterLink.value===!0),{hash:i,query:a}=r.$route,o=Object.keys(a).length;for(let r of n){let n=r.routeData.exact.value===!0;if(r.routeData[n===!0?`linkIsExactActive`:`linkIsActive`].value!==!0)continue;let{hash:s,query:c,matched:l,href:u}=r.routeData.resolvedLink.value,d=Object.keys(c).length;if(n===!0){if(s!==i||d!==o||pe(a,c)===!1)continue;e=r.name.value;break}if(s!==``&&s!==i||d!==0&&pe(c,a)===!1)continue;let f={matchedLen:l.length,queryDiff:o-d,hrefLen:u.length-s.length};if(f.matchedLen>t.matchedLen){e=r.name.value,t=f;continue}else if(f.matchedLen!==t.matchedLen)continue;if(f.queryDiff<t.queryDiff)e=r.name.value,t=f;else if(f.queryDiff!==t.queryDiff)continue;f.hrefLen>t.hrefLen&&(e=r.name.value,t=f)}e===null&&C.some(e=>e.routeData===void 0&&e.name.value===v.value)===!0||L({name:e,setCurrent:!0})}function he(e){if(d(),T.value!==!0&&h.value!==null&&e.target&&typeof e.target.closest==`function`){let t=e.target.closest(`.q-tab`);t&&h.value.contains(t)===!0&&(T.value=!0,y.value===!0&&ie(t))}}function ge(){u(()=>{T.value=!1},30)}function _e(){xe.avoidRouteWatcher===!1?f(me):p()}function ve(){if(O===void 0){let e=B(()=>r.$route.fullPath,_e);O=()=>{e(),O=void 0}}}function ye(e){C.push(e),w.value++,te(),e.routeData===void 0||r.$route===void 0?f(()=>{if(y.value===!0){let e=v.value,t=e!=null&&e!==``?C.find(t=>t.name.value===e):null;t&&ie(t.rootRef.value)}}):(ve(),e.routeData.hasRouterLink.value===!0&&_e())}function be(e){C.splice(C.indexOf(e),1),w.value--,te(),O!==void 0&&e.routeData!==void 0&&(C.every(e=>e.routeData===void 0)===!0&&O(),_e())}let xe={currentModel:v,tabProps:k,hasFocus:T,hasActiveTab:A,registerTab:ye,unregisterTab:be,verifyRouteModel:_e,updateModel:L,onKbdNavigate:ue,avoidRouteWatcher:!1};je(Xe,xe);function Se(){E!==null&&clearTimeout(E),le(),O!==void 0&&O()}let Ce;return re(Se),i(()=>{Ce=O!==void 0,Se()}),ne(()=>{Ce===!0&&ve(),te()}),()=>c(`div`,{ref:h,class:ee.value,role:`tablist`,onFocusin:he,onFocusout:ge},[c(IM,{onResize:R}),c(`div`,{ref:g,class:M.value,onScroll:ae},ky(t.default)),c(Jy,{class:`q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon`+(b.value===!0?``:` q-tabs__arrow--faded`),name:e.leftIcon||a.iconSet.tabs[e.vertical===!0?`up`:`left`],onMousedownPassive:se,onTouchstartPassive:se,onMouseupPassive:le,onMouseleavePassive:le,onTouchendPassive:le}),c(Jy,{class:`q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon`+(x.value===!0?``:` q-tabs__arrow--faded`),name:e.rightIcon||a.iconSet.tabs[e.vertical===!0?`down`:`right`],onMousedownPassive:ce,onTouchstartPassive:ce,onMouseupPassive:le,onMouseleavePassive:le,onTouchendPassive:le})])}});y(),Se();var VM=0,HM=[`click`,`keydown`],UM={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${VM++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function WM(e,t,n,r){let i=F(Xe,Ze);if(i===Ze)return console.error(`QTab/QRouteTab component needs to be child of QTabs`),Ze;let{proxy:a}=N(),o=_(null),s=_(null),l=_(null),u=m(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),d=m(()=>i.currentModel.value===e.name),f=m(()=>`q-tab relative-position self-stretch flex flex-center text-center`+(d.value===!0?` q-tab--active`+(i.tabProps.value.activeClass?` `+i.tabProps.value.activeClass:``)+(i.tabProps.value.activeColor?` text-${i.tabProps.value.activeColor}`:``)+(i.tabProps.value.activeBgColor?` bg-${i.tabProps.value.activeBgColor}`:``):` q-tab--inactive`)+(e.icon&&e.label&&i.tabProps.value.inlineLabel===!1?` q-tab--full`:``)+(e.noCaps===!0||i.tabProps.value.noCaps===!0?` q-tab--no-caps`:``)+(e.disable===!0?` disabled`:` q-focusable q-hoverable cursor-pointer`)+(r===void 0?``:r.linkClass.value)),p=m(()=>`q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable `+(i.tabProps.value.inlineLabel===!0?`row no-wrap q-tab__content--inline`:`column`)+(e.contentClass===void 0?``:` ${e.contentClass}`)),h=m(()=>e.disable===!0||i.hasFocus.value===!0||d.value===!1&&i.hasActiveTab.value===!0?-1:e.tabindex||0);function g(t,a){if(a!==!0&&o.value!==null&&o.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&cb(t);return}if(r===void 0){i.updateModel({name:e.name}),n(`click`,t);return}if(r.hasRouterLink.value===!0){let a=(n={})=>{let a,o=n.to===void 0||yj(n.to,e.to)===!0?i.avoidRouteWatcher=Xj():null;return r.navigateToRouterLink(t,{...n,returnRouterError:!0}
9).catch(e=>{a=e}).then(t=>{if(o===i.avoidRouteWatcher&&(i.avoidRouteWatcher=!1,a===void 0&&(t===void 0||t.message!==void 0&&t.message.startsWith(`Avoided redundant navigation`)===!0)&&i.updateModel({name:e.name})),n.returnRouterError===!0)return a===void 0?t:Promise.reject(a)})};n(`click`,t,a),t.defaultPrevented!==!0&&a();return}n(`click`,t)}function v(e){hb(e,[13,32])?g(e,!0):mb(e)!==!0&&e.keyCode>=35&&e.keyCode<=40&&e.altKey!==!0&&e.metaKey!==!0&&i.onKbdNavigate(e.keyCode,a.$el)===!0&&cb(e),n(`keydown`,e)}function y(){let n=i.tabProps.value.narrowIndicator,r=[],a=c(`div`,{ref:l,class:[`q-tab__indicator`,i.tabProps.value.indicatorClass]});e.icon!==void 0&&r.push(c(Jy,{class:`q-tab__icon`,name:e.icon})),e.label!==void 0&&r.push(c(`div`,{class:`q-tab__label`},e.label)),e.alert!==!1&&r.push(e.alertIcon===void 0?c(`div`,{class:`q-tab__alert`+(e.alert===!0?``:` text-${e.alert}`)}):c(Jy,{class:`q-tab__alert-icon`,color:e.alert===!0?void 0:e.alert,name:e.alertIcon})),n===!0&&r.push(a);let s=[c(`div`,{class:`q-focus-helper`,tabindex:-1,ref:o}),c(`div`,{class:p.value},jy(t.default,r))];return n===!1&&s.push(a),s}let b={name:m(()=>e.name),rootRef:s,tabIndicatorRef:l,routeData:r};re(()=>{i.unregisterTab(b)}),Be(()=>{i.registerTab(b)});function x(t,n){return We(c(t,{ref:s,class:f.value,tabindex:h.value,role:`tab`,"aria-selected":d.value===!0?`true`:`false`,"aria-disabled":e.disable===!0?`true`:void 0,onClick:g,onKeydown:v,...n},y()),[[yb,u.value]])}return{renderTab:x,$tabs:i}}y();var GM=Ey({name:`QRouteTab`,props:{...Pb,...UM},emits:HM,setup(e,{slots:t,emit:n}){let r=Fb({useDisableForRouterLinkProps:!1}),{renderTab:i,$tabs:a}=WM(e,t,n,{exact:m(()=>e.exact),...r});return B(()=>`${e.name} | ${e.exact} | ${(r.resolvedLink.value||{}).href}`,()=>{a.verifyRouteModel()}),()=>i(r.linkTag.value,r.linkAttrs.value)}}),KM=Ey({name:`QTab`,props:UM,emits:HM,setup(e,{slots:t,emit:n}){let{renderTab:r}=WM(e,t,n);return()=>r(`div`)}});y();var qM=[`ul`,`ol`],JM=Ey({name:`QList`,props:{...Xb,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:`div`}},setup(e,{slots:t}){let n=Zb(e,N().proxy.$q),r=m(()=>qM.includes(e.tag)?null:`list`),i=m(()=>`q-list`+(e.bordered===!0?` q-list--bordered`:``)+(e.dense===!0?` q-list--dense`:``)+(e.separator===!0?` q-list--separator`:``)+(n.value===!0?` q-list--dark`:``)+(e.padding===!0?` q-list--padding`:``));return()=>c(e.tag,{class:i.value,role:r.value},ky(t.default))}});y();var YM=Ey({name:`QCardSection`,props:{tag:{type:String,default:`div`},horizontal:Boolean},setup(e,{slots:t}){let n=m(()=>`q-card__section q-card__section--${e.horizontal===!0?`horiz row no-wrap`:`vert`}`);return()=>c(e.tag,{class:n.value},ky(t.default))}}),XM=Ey({name:`QField`,inheritAttrs:!1,props:{..._M,tag:{type:String,default:`label`}},emits:vM,setup(){return bM(yM({tagProp:!0}))}});y();var ZM={xs:8,sm:10,md:14,lg:20,xl:24},QM=Ey({name:`QChip`,props:{...Xb,...Cy,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`update:selected`,`remove`,`click`],setup(e,{slots:t,emit:n}){let{proxy:{$q:r}}=N(),i=Zb(e,r),a=wy(e,ZM),o=m(()=>e.selected===!0||e.icon!==void 0),s=m(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),l=m(()=>e.iconRemove||r.iconSet.chip.remove),u=m(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),d=m(()=>{let t=e.outline===!0&&e.color||e.textColor;return`q-chip row inline no-wrap items-center`+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:``)+(t?` text-${t} q-chip--colored`:``)+(e.disable===!0?` disabled`:``)+(e.dense===!0?` q-chip--dense`:``)+(e.outline===!0?` q-chip--outline`:``)+(e.selected===!0?` q-chip--selected`:``)+(u.value===!0?` q-chip--clickable cursor-pointer non-selectable q-hoverable`:``)+(e.square===!0?` q-chip--square`:``)+(i.value===!0?` q-chip--dark q-d
9ark`:``)}),f=m(()=>{let t=e.disable===!0?{tabindex:-1,"aria-disabled":`true`}:{tabindex:e.tabindex||0};return{chip:t,remove:{...t,role:`button`,"aria-hidden":`false`,"aria-label":e.removeAriaLabel||r.lang.label.remove}}});function p(e){e.keyCode===13&&h(e)}function h(t){e.disable||(n(`update:selected`,!e.selected),n(`click`,t))}function g(t){(t.keyCode===void 0||t.keyCode===13)&&(cb(t),e.disable===!1&&(n(`update:modelValue`,!1),n(`remove`)))}function _(){let n=[];u.value===!0&&n.push(c(`div`,{class:`q-focus-helper`})),o.value===!0&&n.push(c(Jy,{class:`q-chip__icon q-chip__icon--left`,name:s.value}));let r=e.label===void 0?void 0:[c(`div`,{class:`ellipsis`},[e.label])];return n.push(c(`div`,{class:`q-chip__content col row no-wrap items-center q-anchor--skip`},My(t.default,r))),e.iconRight&&n.push(c(Jy,{class:`q-chip__icon q-chip__icon--right`,name:e.iconRight})),e.removable===!0&&n.push(c(Jy,{class:`q-chip__icon q-chip__icon--remove cursor-pointer`,name:l.value,...f.value.remove,onClick:g,onKeyup:g})),n}return()=>{if(e.modelValue===!1)return;let t={class:d.value,style:a.value};return u.value===!0&&Object.assign(t,f.value.chip,{onClick:h,onKeyup:p}),Ny(`div`,t,_(),`ripple`,e.ripple!==!1&&e.disable!==!0,()=>[[yb,e.ripple]])}}});y(),Se();var $M=1e3,eN=[`start`,`center`,`end`,`start-force`,`center-force`,`end-force`],tN=Array.prototype.filter,nN=window.getComputedStyle(document.body).overflowAnchor===void 0?nb:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;let n=e.children||[];tN.call(n,e=>e.dataset&&e.dataset.qVsAnchor!==void 0).forEach(e=>{delete e.dataset.qVsAnchor});let r=n[t];r&&r.dataset&&(r.dataset.qVsAnchor=``)}))};function rN(e,t){return e+t}function iN(e,t,n,r,i,a,o,s){let c=e===window?document.scrollingElement||document.documentElement:e,l=i===!0?`offsetWidth`:`offsetHeight`,u={scrollStart:0,scrollViewSize:-o-s,scrollMaxSize:0,offsetStart:-o,offsetEnd:-s};if(i===!0?(e===window?(u.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,u.scrollViewSize+=document.documentElement.clientWidth):(u.scrollStart=c.scrollLeft,u.scrollViewSize+=c.clientWidth),u.scrollMaxSize=c.scrollWidth,a===!0&&(u.scrollStart=(LM===!0?u.scrollMaxSize-u.scrollViewSize:0)-u.scrollStart)):(e===window?(u.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,u.scrollViewSize+=document.documentElement.clientHeight):(u.scrollStart=c.scrollTop,u.scrollViewSize+=c.clientHeight),u.scrollMaxSize=c.scrollHeight),n!==null)for(let e=n.previousElementSibling;e!==null;e=e.previousElementSibling)e.classList.contains(`q-virtual-scroll--skip`)===!1&&(u.offsetStart+=e[l]);if(r!==null)for(let e=r.nextElementSibling;e!==null;e=e.nextElementSibling)e.classList.contains(`q-virtual-scroll--skip`)===!1&&(u.offsetEnd+=e[l]);if(t!==e){let n=c.getBoundingClientRect(),r=t.getBoundingClientRect();i===!0?(u.offsetStart+=r.left-n.left,u.offsetEnd-=r.width):(u.offsetStart+=r.top-n.top,u.offsetEnd-=r.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function aN(e,t,n,r){t===`end`&&(t=(e===window?document.body:e)[n===!0?`scrollWidth`:`scrollHeight`]),e===window?n===!0?(r===!0&&(t=(LM===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(r===!0&&(t=(LM===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function oN(e,t,n,r){if(n>=r)return 0;let i=t.length,a=Math.floor(n/$M),o=Math.floor((r-1)/$M)+1,s=e.slice(a,o).reduce(rN,0);return n%$M!==0&&(s-=t.slice(a*$M,n).reduce(rN,0)),r%$M!==0&&r!==i&&(s-=t.slice(r,o*$M).reduce(rN,0)),s}var sN={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]};Object.keys(sN);var cN={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...sN};function lN({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:r}){let{props:a,emit:o,proxy:s}=N(),{$q:l}=s,u,d,f,p=[],h,g=_(0),v=_(0),y=_({}),b=_(null),x=_(null),C=_(null),w=_({from:0,to:0}),T=m(()=>a.tableColspan===void 0?100:a.tableColspan);r===void 0&&(r=m(()=>a.virtualScrollItemSize));let E=m(()=>r.value+`;`+a.virtualScrollHorizontal);B(m(()=>E.value+`;`+a.virtualScrollSliceRatioBefore+`;`+a.virtualScrollSliceRatioAfter),()=>{F()}),B(E,D);function D(){P(d,!0)}function O(e){P(e===void 0?d:e)}function k(r,i){let o=t();if(o==null||o.nodeType===8)return;let s=iN(o,n(),b.value,x.value,a.virtualScrollHorizontal,l.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);f!==s.scrollViewSize&&F(s.scrollViewSize),j(o,s,Math.min(e.value-1,Math.max(0,parseInt(r,10)||0)),0,eN.indexOf(i)===-1?d!==-1&&r>d?`end`:`start`:i)}function A(){let r=t();if(r==null||r.nodeType===8)return;let i=iN(r,n(),b.value,x.value,a.virtualScrollHorizontal,l.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),o=e.value-1,s=i.scrollMaxSize-i.offsetStart-i.offsetEnd-v.value;if(u===i.scrollStart)return;if(i.scrollMaxSize<=0){j(r,i,0,0);return}f!==i.scrollViewSize&&F(i.scrollViewSize),ee(w.value.from);let c=Math.floor(i.scrollMaxSize-Math.max(i.scrollViewSize,i.offsetEnd)-Math.min(h[o],i.scrollViewSize/2));if(c>0&&Math.ceil(i.scrollStart)>=c){j(r,i,o,i.scrollMaxSize-i.offsetEnd-p.reduce(rN,0));return}let d=0,m=i.scrollStart-i.offsetStart,_=m;if(m<=s&&m+i.scrollViewSize>=g.value)m-=g.value,d=w.value.from,_=m;else for(let e=0;m>=p[e]&&d<o;e++)m-=p[e],d+=$M;for(;m>0&&d<o;)m-=h[d],m>-i.scrollViewSize?(d++,_=m):_=h[d]+m;j(r,i,d,_)}function j(t,n,r,i,o){let s=typeof o==`string`&&o.indexOf(`-force`)!==-1,c=s===!0?o.replace(`-force`,``):o,d=c===void 0?`start`:c,f=Math.max(0,r-y.value[d]),m=f+y.value.total;m>e.value&&(m=e.value,f=Math.max(0,m-y.value.total)),u=n.scrollStart;let _=f!==w.value.from||m!==w.value.to;if(_===!1&&c===void 0){L(r);return}let{activeElement:b}=document,x=C.value;_===!0&&x!==null&&x!==b&&x.contains(b)===!0&&(x.addEventListener(`focusout`,M),setTimeout(()=>{x!==null&&x.removeEventListener(`focusout`,M)})),nN(x,r-f);let S=c===void 0?0:h.slice(f,r).reduce(rN,0);if(_===!0){let t=m>=w.value.from&&f<=w.value.to?w.value.to:m;w.value={from:f,to:t},g.value=oN(p,h,0,f),v.value=oN(p,h,m,e.value),requestAnimationFrame(()=>{w.value.to!==m&&u===n.scrollStart&&(w.value={from:w.value.from,to:m},v.value=oN(p,h,m,e.value))})}requestAnimationFrame(()=>{if(u!==n.scrollStart)return;_===!0&&ee(f);let e=h.slice(f,r).reduce(rN,0),o=e+n.offsetStart+g.value,d=o+h[r],p=o+i;if(c!==void 0){let t=e-S,i=n.scrollStart+t;p=s!==!0&&i<o&&d<i+n.scrollViewSize?i:c===`end`?d-n.scrollViewSize:o-(c===`start`?0:Math.round((n.scrollViewSize-h[r])/2))}u=p,aN(t,p,a.virtualScrollHorizontal,l.lang.rtl),L(r)})}function ee(e){let t=C.value;if(t){let n=tN.call(t.children,e=>e.classList&&e.classList.contains(`q-virtual-scroll--skip`)===!1),r=n.length,i=a.virtualScrollHorizontal===!0?e=>e.getBoundingClientRect().width:e=>e.offsetHeight,o=e,s,c;for(let e=0;e<r;){for(s=i(n[e]),e++;e<r&&n[e].classList.contains(`q-virtual-scroll--with-prev`)===!0;)s+=i(n[e]),e++;c=s-h[o],c!==0&&(h[o]+=c,p[Math.floor(o/$M)]+=c),o++}}}function M(){C.value!==null&&C.value!==void 0&&C.value.focus()}function P(t,n){let i=1*r.value;(n===!0||Array.isArray(h)===!1)&&(h=[]);let a=h.length;h.length=e.value;for(let t=e.value-1;t>=a;t--)h[t]=i;let o=Math.floor((e.value-1)/$M);p=[];for(let t=0;t<=o;t++){let n=0,r=Math.min((t+1)*$M,e.value);for(let e=t*$M;e<r;e++)n+=h[e];p.push(n)}d=-1,u=void 0,g.value=oN(p,h,0,w.value.from),v.value=oN(p,h,w.value.to,e.value),t>=0?(ee(w.value.from),S(()=>{k(t)})):R()}function F(e){if(e===void 0&&typeof window<`u`){let r=t();r!=null&&r.nodeType!==8&&(e=iN(r,n(),b.value,x.value,a.virtualScrollHorizontal,l.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}f=e;let i=parseFloat(a.virtualScrollSliceRatioBefore)||0,o=parseFloat(a.virtualScrollSliceRatioAfter)||0,s=1+i+o,c=e===void 0||e<=0?1:Math.ceil(e/r.value),u=Math.max(1,c,Math.ceil((a.virtualScrollSliceSize>0?a.virtualScrollSliceSize:10)/s));y.value={total:Math.ceil(u*s),start:Math.ceil(u*i),center:Math.ceil(u*(.5+i)),end:Math.ceil(u*(1+i)),view:c}}
9function I(e,t){let n=a.virtualScrollHorizontal===!0?`width`:`height`,i={[`--q-virtual-scroll-item-`+n]:r.value+`px`};return[e===`tbody`?c(e,{class:`q-virtual-scroll__padding`,key:`before`,ref:b},[c(`tr`,[c(`td`,{style:{[n]:`${g.value}px`,...i},colspan:T.value})])]):c(e,{class:`q-virtual-scroll__padding`,key:`before`,ref:b,style:{[n]:`${g.value}px`,...i}}),c(e,{class:`q-virtual-scroll__content`,key:`content`,ref:C,tabindex:-1},t.flat()),e===`tbody`?c(e,{class:`q-virtual-scroll__padding`,key:`after`,ref:x},[c(`tr`,[c(`td`,{style:{[n]:`${v.value}px`,...i},colspan:T.value})])]):c(e,{class:`q-virtual-scroll__padding`,key:`after`,ref:x,style:{[n]:`${v.value}px`,...i}})]}function L(e){d!==e&&(a.onVirtualScroll!==void 0&&o(`virtualScroll`,{index:e,from:w.value.from,to:w.value.to-1,direction:e<d?`decrease`:`increase`,ref:s}),d=e)}F();let R=rj(A,l.platform.is.ios===!0?120:35);te(()=>{F()});let z=!1;return i(()=>{z=!0}),ne(()=>{if(z!==!0)return;let e=t();u!==void 0&&e!=null&&e.nodeType!==8?aN(e,u,a.virtualScrollHorizontal,l.lang.rtl):k(d)}),re(()=>{R.cancel()}),Object.assign(s,{scrollTo:k,reset:D,refresh:O}),{virtualScrollSliceRange:w,virtualScrollSliceSizeComputed:y,setVirtualScrollSize:F,onVirtualScrollEvt:R,localResetVirtualScroll:P,padVirtualScroll:I,scrollTo:k,reset:D,refresh:O}}var uN=[`B`,`KB`,`MB`,`GB`,`TB`,`PB`];function dN(e,t=1){let n=0;for(;parseInt(e,10)>=1024&&n<uN.length-1;)e/=1024,++n;return`${e.toFixed(t)}${uN[n]}`}function fN(e,t,n){if(n<=t)return t;let r=n-t+1,i=t+(e-t)%r;return i<t&&(i=r+i),i===0?0:i}function pN(e,t=2,n=`0`){if(e==null)return e;let r=``+e;return r.length>=t?r:Array(t-r.length+1).join(n)+r}y(),Se();var mN=e=>[`add`,`add-unique`,`toggle`].includes(e),hN=".*+?^${}()|[]\\",gN=Object.keys(_M),_N=Ey({name:`QSelect`,inheritAttrs:!1,props:{...cN,...kT,..._M,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:mN},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>[`default`,`menu`,`dialog`].includes(e),default:`default`},virtualScrollItemSize:cN.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...vM,`add`,`remove`,`inputValue`,`keyup`,`keypress`,`keydown`,`popupShow`,`popupHide`,`filterAbort`],setup(e,{slots:t,emit:n}){let{proxy:r}=N(),{$q:i}=r,a=_(!1),o=_(!1),s=_(-1),l=_(``),u=_(!1),d=_(!1),f=null,p=null,h,g,v,y=null,b,x,C,w,T=_(null),E=_(null),D=_(null),O=_(null),k=_(null),A=MT(e),j=AM(Ye),M=m(()=>Array.isArray(e.options)?e.options.length:0),{virtualScrollSliceRange:P,virtualScrollSliceSizeComputed:F,localResetVirtualScroll:I,padVirtualScroll:L,onVirtualScrollEvt:te,scrollTo:R,setVirtualScrollSize:ne}=lN({virtualScrollLength:M,getVirtualScrollTarget:Ge,getVirtualScrollEl:We,virtualScrollItemSizeComputed:m(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize)}),z=yM(),ie=m(()=>{let t=e.mapOptions===!0&&e.multiple!==!0,n=e.modelValue!==void 0&&(e.modelValue!==null||t===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){let r=e.mapOptions===!0&&h!==void 0?h:[],i=n.map(e=>Fe(e,r));return e.modelValue===null&&t===!0?i.filter(e=>e!==null):i}return n}),ae=m(()=>{let t={};
9return gN.forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)}),t}),oe=m(()=>e.optionsDark===null?z.isDark.value:e.optionsDark),se=m(()=>hM(ie.value)),ce=m(()=>{let t=`q-field__input q-placeholder col`;return e.hideSelected===!0||ie.value.length===0?[t,e.inputClass]:(t+=` q-field__input--padding`,e.inputClass===void 0?t:[t,e.inputClass])}),le=m(()=>(e.virtualScrollHorizontal===!0?`q-virtual-scroll--horizontal`:``)+(e.popupContentClass?` `+e.popupContentClass:``)),ue=m(()=>M.value===0),de=m(()=>ie.value.map(e=>we.value(e)).join(`, `)),fe=m(()=>e.displayValue===void 0?de.value:e.displayValue),pe=m(()=>e.optionsHtml===!0?()=>!0:e=>e!=null&&e.html===!0),me=m(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||ie.value.some(pe.value))),he=m(()=>z.focused.value===!0?e.tabindex:-1),ge=m(()=>{let t={tabindex:e.tabindex,role:`combobox`,"aria-label":e.label,"aria-readonly":e.readonly===!0?`true`:`false`,"aria-autocomplete":e.useInput===!0?`list`:`none`,"aria-expanded":a.value===!0?`true`:`false`,"aria-controls":`${z.targetUid.value}_lb`};return s.value>=0&&(t[`aria-activedescendant`]=`${z.targetUid.value}_${s.value}`),t}),_e=m(()=>({id:`${z.targetUid.value}_lb`,role:`listbox`,"aria-multiselectable":e.multiple===!0?`true`:`false`})),ve=m(()=>ie.value.map((e,t)=>({index:t,opt:e,html:pe.value(e),selected:!0,removeAtIndex:Ae,toggleOption:Me,tabindex:he.value}))),ye=m(()=>{if(M.value===0)return[];let{from:t,to:n}=P.value;return e.options.slice(t,n).map((n,r)=>{let o=Te.value(n)===!0,c=Re(n)===!0,l=t+r,u={clickable:!0,active:c,activeClass:Se.value,manualFocus:!0,focused:!1,disable:o,tabindex:-1,dense:e.optionsDense,dark:oe.value,role:`option`,"aria-selected":c===!0?`true`:`false`,id:`${z.targetUid.value}_${l}`,onClick:()=>{Me(n)}};return o!==!0&&(s.value===l&&(u.focused=!0),i.platform.is.desktop===!0&&(u.onMousemove=()=>{a.value===!0&&Ne(l)})),{index:l,opt:n,html:pe.value(n),label:we.value(n),selected:u.active,focused:u.focused,toggleOption:Me,setOptionIndex:Ne,itemProps:u}})}),be=m(()=>e.dropdownIcon===void 0?i.iconSet.arrow.dropdown:e.dropdownIcon),xe=m(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),Se=m(()=>e.optionsSelectedClass===void 0?e.color===void 0?``:`text-${e.color}`:e.optionsSelectedClass),Ce=m(()=>Le(e.optionValue,`value`)),we=m(()=>Le(e.optionLabel,`label`)),Te=m(()=>Le(e.optionDisable,`disable`)),Ee=m(()=>ie.value.map(e=>Ce.value(e))),De=m(()=>{let e={onInput:Ye,onChange:j,onKeydown:Ue,onKeyup:Ve,onKeypress:He,onFocus:ze,onClick(e){g===!0&&ob(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=j,e});B(ie,t=>{h=t,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&z.innerLoading.value!==!0&&(o.value!==!0&&a.value!==!0||se.value!==!0)&&(v!==!0&&dt(),(o.value===!0||a.value===!0)&&Qe(``))},{immediate:!0}),B(()=>e.fillInput,dt),B(a,ft),B(M,pt);function Oe(t){return e.emitValue===!0?Ce.value(t):t}function ke(t){if(t!==-1&&t<ie.value.length)if(e.multiple===!0){let r=e.modelValue.slice();n(`remove`,{index:t,value:r.splice(t,1)[0]}),n(`update:modelValue`,r)}else n(`update:modelValue`,null)}function Ae(e){ke(e),z.focus()}function je(t,r){let i=Oe(t);if(e.multiple!==!0){e.fillInput===!0&&Ze(we.value(t),!0,!0),n(`update:modelValue`,i);return}if(ie.value.length===0){n(`add`,{index:0,value:i}),n(`update:modelValue`,e.multiple===!0?[i]:i);return}if(r===!0&&Re(t)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;let a=e.modelValue.slice();n(`add`,{index:a.length,value:i}),a.push(i),n(`update:modelValue`,a)}function Me(t,r){if(z.editable.value!==!0||t===void 0||Te.value(t)===!0)return;let i=Ce.value(t);if(e.multiple!==!0){r!==!0&&(Ze(e.fillInput===!0?we.value(t):``,!0,!0),ut()),E.value!==null&&E.value.focus(),(ie.value.length===0||yj(Ce.value(ie.value[0]),i)!==!0)&&n(`update:modelValue`,e.emitValue===!0?i:t);return}if((g!==!0||u.value===!0)&&z.focus(),ze(),ie.value.length===0){let r=e.emitValue===!0?i:t;n(`add`,{index:0,value:r}),n(`update:modelValue`,e.multiple===!0?[r]:r);return}let a=e.modelValue.slice(),o=Ee.value.findIndex(e=>yj(e,i));if(o!==-1)n(`remove`,{index:o,value:a.splice(o,1)[0]});else{if(e.maxValues!==void 0&&a.length>=e.maxValues)return;let r=e.emitValue===!0?i:t;n(`add`,{index:a.length,value:r}),a.push(r)}n(`update:modelValue`,a)}function Ne(e){if(i.platform.is.desktop!==!0)return;let t=e!==-1&&e<M.value?e:-1;s.value!==t&&(s.value=t)}function Pe(t=1,n){if(a.value===!0){let r=s.value;do r=fN(r+t,-1,M.value-1);while(r!==-1&&r!==s.value&&Te.value(e.options[r])===!0);s.value!==r&&(Ne(r),R(r),n!==!0&&e.useInput===!0&&e.fillInput===!0&&Xe(r>=0?we.value(e.options[r]):b,!0))}}function Fe(t,n){let r=e=>yj(Ce.value(e),t);return e.options.find(r)||n.find(r)||t}function Le(e,t){let n=e===void 0?t:e;return typeof n==`function`?n:e=>typeof e==`object`&&e&&n in e?e[n]:e}function Re(e){let t=Ce.value(e);return Ee.value.find(e=>yj(e,t))!==void 0}function ze(t){e.useInput===!0&&E.value!==null&&(t===void 0||E.value===t.target&&t.target.value===de.value)&&E.value.select()}function Be(e){hb(e,27)===!0&&a.value===!0&&(ob(e),ut(),dt()),n(`keyup`,e)}function Ve(t){let{value:n}=t.target;if(t.keyCode!==void 0){Be(t);return}if(t.target.value=``,f!==null&&(clearTimeout(f),f=null),p!==null&&(clearTimeout(p),p=null),dt(),typeof n==`string`&&n.length!==0){let t=n.toLocaleLowerCase(),r=n=>{let r=e.options.find(e=>n.value(e).toLocaleLowerCase()===t);return r===void 0?!1:(ie.value.indexOf(r)===-1?Me(r):ut(),!0)},i=e=>{r(Ce)!==!0&&(r(we)===!0||e===!0||Qe(n,!0,()=>i(!0)))};i()}else z.clearValue(t)}function He(e){n(`keypress`,e)}function Ue(t){if(n(`keydown`,t),mb(t)===!0)return;let r=l.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),i=t.shiftKey!==!0&&e.multiple!==!0&&(s.value!==-1||r===!0);if(t.keyCode===27){sb(t);return}if(t.keyCode===9&&i===!1){ct();return}if(t.target===void 0||t.target.id!==z.targetUid.value||z.editable.value!==!0)return;if(t.keyCode===40&&z.innerLoading.value!==!0&&a.value===!1){cb(t),lt();return}if(t.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&l.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?ke(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n(`update:modelValue`,null);return}(t.keyCode===35||t.keyCode===36)&&(typeof l.value!=`string`||l.value.length===0)&&(cb(t),s.value=-1,Pe(t.keyCode===36?1:-1,e.multiple)),(t.keyCode===33||t.keyCode===34)&&F.value!==void 0&&(cb(t),s.value=Math.max(-1,Math.min(M.value,s.value+(t.keyCode===33?-1:1)*F.value.view)),Pe(t.keyCode===33?1:-1,e.multiple)),(t.keyCode===38||t.keyCode===40)&&
9(cb(t),Pe(t.keyCode===38?-1:1,e.multiple));let o=M.value;if((C===void 0||w<Date.now())&&(C=``),o>0&&e.useInput!==!0&&t.key!==void 0&&t.key.length===1&&t.altKey===!1&&t.ctrlKey===!1&&t.metaKey===!1&&(t.keyCode!==32||C.length!==0)){a.value!==!0&&lt(t);let n=t.key.toLocaleLowerCase(),r=C.length===1&&C[0]===n;w=Date.now()+1500,r===!1&&(cb(t),C+=n);let i=RegExp(`^`+C.split(``).map(e=>hN.indexOf(e)===-1?e:`\\`+e).join(`.*`),`i`),c=s.value;if(r===!0||c<0||i.test(we.value(e.options[c]))!==!0)do c=fN(c+1,-1,o-1);while(c!==s.value&&(Te.value(e.options[c])===!0||i.test(we.value(e.options[c]))!==!0));s.value!==c&&S(()=>{Ne(c),R(c),c>=0&&e.useInput===!0&&e.fillInput===!0&&Xe(we.value(e.options[c]),!0)});return}if(!(t.keyCode!==13&&(t.keyCode!==32||e.useInput===!0||C!==``)&&(t.keyCode!==9||i===!1))){if(t.keyCode!==9&&cb(t),s.value!==-1&&s.value<o){Me(e.options[s.value]);return}if(r===!0){let t=(t,n)=>{if(n){if(mN(n)!==!0)return}else n=e.newValueMode;Ze(``,e.multiple!==!0,!0),t!=null&&((n===`toggle`?Me:je)(t,n===`add-unique`),e.multiple!==!0&&(E.value!==null&&E.value.focus(),ut()))};if(e.onNewValue===void 0?t(l.value):n(`newValue`,l.value,t),e.multiple!==!0)return}a.value===!0?ct():z.innerLoading.value!==!0&&lt()}}function We(){return g===!0?k.value:D.value!==null&&D.value.contentEl!==null?D.value.contentEl:void 0}function Ge(){return We()}function Ke(){return e.hideSelected===!0?[]:t[`selected-item`]===void 0?t.selected===void 0?e.useChips===!0?ve.value.map((t,n)=>c(QM,{key:`option-`+n,removable:z.editable.value===!0&&Te.value(t.opt)!==!0,dense:!0,textColor:e.color,tabindex:he.value,onRemove(){t.removeAtIndex(n)}},()=>c(`span`,{class:`ellipsis`,[t.html===!0?`innerHTML`:`textContent`]:we.value(t.opt)}))):[c(`span`,{[me.value===!0?`innerHTML`:`textContent`]:fe.value})]:[].concat(t.selected()):ve.value.map(e=>t[`selected-item`](e)).slice()}function qe(){if(ue.value===!0)return t[`no-option`]===void 0?void 0:t[`no-option`]({inputValue:l.value});let e=t.option===void 0?e=>c(Rj,{key:e.index,...e.itemProps},()=>c(zj,()=>c(Bj,()=>c(`span`,{[e.html===!0?`innerHTML`:`textContent`]:e.label})))):t.option,n=L(`div`,ye.value.map(e));return t[`before-options`]!==void 0&&(n=t[`before-options`]().concat(n)),jy(t[`after-options`],n)}function Je(t,n){let r=n===!0?{...ge.value,...z.splitAttrs.attributes.value}:void 0,i={ref:n===!0?E:void 0,key:`i_t`,class:ce.value,style:e.inputStyle,value:l.value===void 0?``:l.value,type:`search`,...r,id:n===!0?z.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":t===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...De.value};return t!==!0&&g===!0&&(Array.isArray(i.class)===!0?i.class=[...i.class,`no-pointer-events`]:i.class+=` no-pointer-events`),c(`input`,i)}function Ye(t){f!==null&&(clearTimeout(f),f=null),p!==null&&(clearTimeout(p),p=null),!(t&&t.target&&t.target.qComposing===!0)&&(Xe(t.target.value||``),v=!0,b=l.value,z.focused.value!==!0&&(g!==!0||u.value===!0)&&z.focus(),e.onFilter!==void 0&&(f=setTimeout(()=>{f=null,Qe(l.value)},e.inputDebounce)))}function Xe(t,r){l.value!==t&&(l.value=t,r===!0||e.inputDebounce===0||e.inputDebounce===`0`?n(`inputValue`,t):p=setTimeout(()=>{p=null,n(`inputValue`,t)},e.inputDebounce))}function Ze(t,n,r){v=r!==!0,e.useInput===!0&&(Xe(t,!0),(n===!0||r!==!0)&&(b=t),n!==!0&&Qe(t))}function Qe(t,i,o){if(e.onFilter===void 0||i!==!0&&z.focused.value!==!0)return;z.innerLoading.value===!0?n(`filterAbort`):(z.innerLoading.value=!0,d.value=!0),t!==``&&e.multiple!==!0&&ie.value.length!==0&&v!==!0&&t===we.value(ie.value[0])&&(t=``);let s=setTimeout(()=>{a.value===!0&&(a.value=!1)},10);y!==null&&clearTimeout(y),y=s,n(`filter`,t,(e,t)=>{(i===!0||z.focused.value===!0)&&y===s&&(clearTimeout(y),typeof e==`function`&&e(),d.value=!1,S(()=>{z.innerLoading.value=!1,z.editable.value===!0&&(i===!0?a.value===!0&&ut():a.value===!0?ft(!0):a.value=!0),typeof t==`function`&&S(()=>{t(r)}),typeof o==`function`&&S(()=>{o(r)})}))},()=>{z.focused.value===!0&&y===s&&(clearTimeout(y),z.innerLoading.value=!1,d.value=!1),a.value===!0&&(a.value=!1)})}function $e(){return c(DT,{ref:D,class:le.value,style:e.popupContentStyle,modelValue:a.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&ue.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:oe.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDism
9iss:e.popupNoRouteDismiss,square:xe.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,..._e.value,onScrollPassive:te,onBeforeShow:ht,onBeforeHide:et,onShow:tt},qe)}function et(e){gt(e),ct()}function tt(){ne()}function nt(e){ob(e),E.value!==null&&E.value.focus(),u.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function rt(e){ob(e),S(()=>{u.value=!1})}function it(){let n=[c(XM,{class:`col-auto ${z.fieldClass.value}`,...ae.value,for:z.targetUid.value,dark:oe.value,square:!0,loading:d.value,itemAligned:!1,filled:!0,stackLabel:l.value.length!==0,...z.splitAttrs.listeners.value,onFocus:nt,onBlur:rt},{...t,rawControl:()=>z.getControl(!0),before:void 0,after:void 0})];return a.value===!0&&n.push(c(`div`,{ref:k,class:le.value+` scroll`,style:e.popupContentStyle,..._e.value,onClick:sb,onScrollPassive:te},qe())),c(nT,{ref:O,modelValue:o.value,position:e.useInput===!0?`top`:void 0,transitionShow:x,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:ht,onBeforeHide:at,onHide:ot,onShow:st},()=>c(`div`,{class:`q-select__dialog`+(oe.value===!0?` q-select__dialog--dark q-dark`:``)+(u.value===!0?` q-select__dialog--focused`:``)},n))}function at(e){gt(e),O.value!==null&&O.value.__updateRefocusTarget(z.rootRef.value.querySelector(`.q-field__native > [tabindex]:last-child`)),z.focused.value=!1}function ot(e){ut(),z.focused.value===!1&&n(`blur`,e),dt()}function st(){let e=document.activeElement;(e===null||e.id!==z.targetUid.value)&&E.value!==null&&E.value!==e&&E.value.focus(),ne()}function ct(){o.value!==!0&&(s.value=-1,a.value===!0&&(a.value=!1),z.focused.value===!1&&(y!==null&&(clearTimeout(y),y=null),z.innerLoading.value===!0&&(n(`filterAbort`),z.innerLoading.value=!1,d.value=!1)))}function lt(n){z.editable.value===!0&&(g===!0?(z.onControlFocusin(n),o.value=!0,S(()=>{z.focus()})):z.focus(),e.onFilter===void 0?(ue.value!==!0||t[`no-option`]!==void 0)&&(a.value=!0):Qe(l.value))}function ut(){o.value=!1,ct()}function dt(){e.useInput===!0&&Ze(e.multiple!==!0&&e.fillInput===!0&&ie.value.length!==0&&we.value(ie.value[0])||``,!0,!0)}function ft(t){let n=-1;if(t===!0){if(ie.value.length!==0){let t=Ce.value(ie.value[0]);n=e.options.findIndex(e=>yj(Ce.value(e),t))}I(n)}Ne(n)}function pt(e,t){a.value===!0&&z.innerLoading.value===!1&&(I(-1,!0),S(()=>{a.value===!0&&z.innerLoading.value===!1&&(e>t?I():ft(!0))}))}function mt(){o.value===!1&&D.value!==null&&D.value.updatePosition()}function ht(e){e!==void 0&&ob(e),n(`popupShow`,e),z.hasPopupOpen=!0,z.onControlFocusin(e)}function gt(e){e!==void 0&&ob(e),n(`popupHide`,e),z.hasPopupOpen=!1,z.onControlFocusout(e)}function _t(){g=i.platform.is.mobile!==!0&&e.behavior!==`dialog`?!1:e.behavior!==`menu`&&(e.useInput===!0?t[`no-option`]!==void 0||e.onFilter!==void 0||ue.value===!1:!0),x=i.platform.is.ios===!0&&g===!0&&e.useInput===!0?`fade`:e.transitionShow}return ee(_t),Ie(mt),_t(),re(()=>{f!==null&&clearTimeout(f),p!==null&&clearTimeout(p)}),Object.assign(r,{showPopup:lt,hidePopup:ut,removeAtIndex:ke,add:je,toggleOption:Me,getOptionIndex:()=>s.value,setOptionIndex:Ne,moveOptionSelection:Pe,filter:Qe,updateMenuPosition:mt,updateInputValue:Ze,isOptionSelected:Re,getEmittingOptionValue:Oe,isOptionDisabled:(...e)=>Te.value.apply(null,e)===!0,getOptionValue:(...e)=>Ce.value.apply(null,e),getOptionLabel:(...e)=>we.value.apply(null,e)}),Object.assign(z,{innerValue:ie,fieldClass:m(()=>`q-select q-field--auto-height q-select--with${e.useInput===!0?``:`out`}
9-input q-select--with${e.useChips===!0?``:`out`}-chips q-select--${e.multiple===!0?`multiple`:`single`}`),inputRef:T,targetRef:E,hasValue:se,showPopup:lt,floatingLabel:m(()=>e.hideSelected!==!0&&se.value===!0||typeof l.value==`number`||l.value.length!==0||hM(e.displayValue)),getControlChild:()=>{if(z.editable.value!==!1&&(o.value===!0||ue.value!==!0||t[`no-option`]!==void 0))return g===!0?it():$e();z.hasPopupOpen===!0&&(z.hasPopupOpen=!1)},controlEvents:{onFocusin(e){z.onControlFocusin(e)},onFocusout(e){z.onControlFocusout(e,()=>{dt(),ct()})},onClick(e){if(sb(e),g!==!0&&a.value===!0){ct(),E.value!==null&&E.value.focus();return}lt(e)}},getControl:t=>{let n=Ke(),r=t===!0||o.value!==!0||g!==!0;if(e.useInput===!0)n.push(Je(t,r));else if(z.editable.value===!0){let i=r===!0?ge.value:void 0;n.push(c(`input`,{ref:r===!0?E:void 0,key:`d_t`,class:`q-select__focus-target`,id:r===!0?z.targetUid.value:void 0,value:fe.value,readonly:!0,"data-autofocus":t===!0||e.autofocus===!0||void 0,...i,onKeydown:Ue,onKeyup:Be,onKeypress:He})),r===!0&&typeof e.autocomplete==`string`&&e.autocomplete.length!==0&&n.push(c(`input`,{class:`q-select__autocomplete-input`,autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ve}))}if(A.value!==void 0&&e.disable!==!0&&Ee.value.length!==0){let t=Ee.value.map(e=>c(`option`,{value:e,selected:!0}));n.push(c(`select`,{class:`hidden`,name:A.value,multiple:e.multiple},t))}return c(`div`,{class:`q-field__native row items-center`,...e.useInput===!0||r!==!0?void 0:z.splitAttrs.attributes.value,...z.splitAttrs.listeners.value},n)},getInnerAppend:()=>e.loading!==!0&&d.value!==!0&&e.hideDropdownIcon!==!0?[c(Jy,{class:`q-select__dropdown-icon`+(a.value===!0?` rotate-180`:``),name:be.value})]:null}),bM(z)}});y(),Se();function vN(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function yN(e){return typeof e==`object`&&!!e}function bN(e){return e&&typeof e.then==`function`}function xN(e,t){return function(){return e(t)}}function SN(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function CN(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;TN(e,n,[],e._modules.root,!0),wN(e,n,t)}function wN(e,t,n){var r=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,o={},s={},c=p(!0);c.run(function(){vN(a,function(t,n){o[n]=xN(t,e),s[n]=m(function(){return o[n]()}),Object.defineProperty(e.getters,n,{get:function(){return s[n].value},enumerable:!0})})}),e._state=O({data:t}),e._scope=c,e.strict&&jN(e),r&&n&&e._withCommit(function(){r.data=null}),i&&i.stop()}function TN(e,t,n,r,i){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!i){var s=MN(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit(function(){s[c]=r.state})}var l=r.context=EN(e,o,n);r.forEachMutation(function(t,n){ON(e,o+n,t,l)}),r.forEachAction(function(t,n){kN(e,t.root?n:o+n,t.handler||t,l)}),r.forEachGetter(function(t,n){AN(e,o+n,t,l)}),r.forEachChild(function(r,a){TN(e,t,n.concat(a),r,i)})}function EN(e,t,n){var r=t===``,i={dispatch:r?e.dispatch:function(n,r,i){var a=NN(n,r,i),o=a.payload,s=a.options,c=a.type;return(!s||!s.root)&&(c=t+c),e.dispatch(c,o)},commit:r?e.commit:function(n,r,i){var a=NN(n,r,i),o=a.payload,s=a.options,c=a.type;(!s||!s.root)&&(c=t+c),e.commit(c,o,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return DN(e,t)}},state:{get:function(){return MN(e.state,n)}}}),i}function DN(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function ON(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,r.state,t)})}function kN(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push(function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);
9return bN(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(t){throw e._devtoolHook.emit(`vuex:error`,t),t}):i})}function AN(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function jN(e){B(function(){return e._state.data},function(){},{deep:!0,flush:`sync`})}function MN(e,t){return t.reduce(function(e,t){return e[t]},e)}function NN(e,t,n){return yN(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var PN=`vuex bindings`,FN=`vuex:mutations`,IN=`vuex:actions`,LN=`vuex`,RN=0;function zN(e,t){dx({id:`org.vuejs.vuex`,app:e,label:`Vuex`,homepage:`https://next.vuex.vuejs.org/`,logo:`https://vuejs.org/images/icons/favicon-96x96.png`,packageName:`vuex`,componentStateTypes:[PN]},function(n){n.addTimelineLayer({id:FN,label:`Vuex Mutations`,color:BN}),n.addTimelineLayer({id:IN,label:`Vuex Actions`,color:BN}),n.addInspector({id:LN,label:`Vuex`,icon:`storage`,treeFilterPlaceholder:`Filter stores...`}),n.on.getInspectorTree(function(n){if(n.app===e&&n.inspectorId===LN)if(n.filter){var r=[];WN(r,t._modules.root,n.filter,``),n.rootNodes=r}else n.rootNodes=[UN(t._modules.root,``)]}),n.on.getInspectorState(function(n){if(n.app===e&&n.inspectorId===LN){var r=n.nodeId;DN(t,r),n.state=GN(qN(t._modules,r),r===`root`?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(n){if(n.app===e&&n.inspectorId===LN){var r=n.nodeId,i=n.path;r!==`root`&&(i=r.split(`/`).filter(Boolean).concat(i)),t._withCommit(function(){n.set(t._state.data,i,n.state.value)})}}),t.subscribe(function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(LN),n.sendInspectorState(LN),n.addTimelineEvent({layerId:FN,event:{time:Date.now(),title:e.type,data:r}})}),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=RN++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:IN,event:{time:e._time,title:e.type,groupId:e._id,subtitle:`start`,data:r}})},after:function(e,t){var r={},i=Date.now()-e._time;r.duration={_custom:{type:`duration`,display:i+`ms`,tooltip:`Action duration`,value:i}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:IN,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:`end`,data:r}})}})})}var BN=8702998,VN={label:`namespaced`,textColor:16777215,backgroundColor:6710886};function HN(e){return e&&e!==`root`?e.split(`/`).slice(-2,-1)[0]:`Root`}function UN(e,t){return{id:t||`root`,label:HN(t),tags:e.namespaced?[VN]:[],children:Object.keys(e._children).map(function(n){return UN(e._children[n],t+n+`/`)})}}function WN(e,t,n,r){r.includes(n)&&e.push({id:r||`root`,label:r.endsWith(`/`)?r.slice(0,r.length-1):r||`Root`,tags:t.namespaced?[VN]:[]}),Object.keys(t._children).forEach(function(i){WN(e,t._children[i],n,r+i+`/`)})}function GN(e,t,n){t=n===`root`?t:t[n];var r=Object.keys(t),i={state:Object.keys(e.state).map(function(t){return{key:t,editable:!0,value:e.state[t]}})};if(r.length){var a=KN(t);i.getters=Object.keys(a).map(function(e){return{key:e.endsWith(`/`)?HN(e):e,editable:!1,value:JN(function(){return a[e]})}})}return i}function KN(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split(`/`);if(r.length>1){var i=t,a=r.pop();r.forEach(function(e){i[e]||(i[e]={_custom:{value:{},display:e,tooltip:`Module`,abstract:!0}}),i=i[e]._custom.value}),i[a]=JN(function(){return e[n]})}else t[n]=JN(function(){return e[n]})}),t}function qN(e,t){var n=t.split(`/`).filter(function(e){return e});return n.reduce(function(e,r,i){var a=e[r];if(!a)throw Error(`Missing module "`+r+`" for path "`+t+`".`);return i===n.length-1?a:a._children},t===`root`?e:e.root._children)}function JN(e){try{return e()}catch(e){return e}}var YN=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n==`function`?n():n)||{}},XN={namespaced:{configurable:!0}};XN.namespaced.get=function(){return!!this._rawModule.namespaced},YN.prototype.addChild=function(e,t){this._children[e]=t},YN.prototype.removeChild=function(e){delete this._children[e]},YN.prototype.getChild=function(e){return this._children[e]},YN.prototype.hasChild=function(e){return e in this._children},YN.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},YN.prototype.forEachChild=function(e){vN(this._children,e)},YN.prototype.forEachGetter=function(e){this._rawModule.getters&&vN(this._rawModule.getters,e)},YN.prototype.forEachAction=function(e){this._rawModule.actions&&vN(this._rawModule.actions,e)},YN.prototype.forEachMutation=function(e){this._rawModule.mutations&&vN(this._rawModule.mutations,e)},Object.defineProperties(YN.prototype,XN);var ZN=function(e){this.register([],e,!1)};ZN.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},ZN.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return t=t.getChild(n),e+(t.namespaced?n+`/`:``)},``)},ZN.prototype.update=function(e){QN([],this.root,e)},ZN.prototype.register=function(e,t,n){var r=this;n===void 0&&(n=!0);var i=new YN(t,n);e.length===0?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i),t.modules&&vN(t.modules,function(t,i){r.register(e.concat(i),t,n)})},ZN.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},ZN.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t?t.hasChild(n):!1};function QN(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;QN(e.concat(r),t.getChild(r),n.modules[r])}}function $N(e){return new eP(e)}var eP=function(e){var t=this;e===void 0&&(e={});var n=e.plugins;n===void 0&&(n=[]);var r=e.strict;r===void 0&&(r=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ZN(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var a=this,o=this,s=o.dispatch,c=o.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return c.call(a,e,t,n)},this.strict=r;var l=this._modules.root.state;
9TN(this,l,[],this._modules.root),wN(this,l),n.forEach(function(e){return e(t)})},tP={state:{configurable:!0}};eP.prototype.install=function(e,t){e.provide(t||`store`,this),e.config.globalProperties.$store=this,this._devtools!==void 0&&this._devtools&&zN(e,this)},tP.state.get=function(){return this._state.data},tP.state.set=function(e){},eP.prototype.commit=function(e,t,n){var r=this,i=NN(e,t,n),a=i.type,o=i.payload;i.options;var s={type:a,payload:o},c=this._mutations[a];c&&(this._withCommit(function(){c.forEach(function(e){e(o)})}),this._subscribers.slice().forEach(function(e){return e(s,r.state)}))},eP.prototype.dispatch=function(e,t){var n=this,r=NN(e,t),i=r.type,a=r.payload,o={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter(function(e){return e.before}).forEach(function(e){return e.before(o,n.state)})}catch{}var c=s.length>1?Promise.all(s.map(function(e){return e(a)})):s[0](a);return new Promise(function(e,t){c.then(function(t){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(o,n.state)})}catch{}e(t)},function(e){try{n._actionSubscribers.filter(function(e){return e.error}).forEach(function(t){return t.error(o,n.state,e)})}catch{}t(e)})})}},eP.prototype.subscribe=function(e,t){return SN(e,this._subscribers,t)},eP.prototype.subscribeAction=function(e,t){return SN(typeof e==`function`?{before:e}:e,this._actionSubscribers,t)},eP.prototype.watch=function(e,t,n){var r=this;return B(function(){return e(r.state,r.getters)},t,Object.assign({},n))},eP.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._state.data=e})},eP.prototype.registerModule=function(e,t,n){n===void 0&&(n={}),typeof e==`string`&&(e=[e]),this._modules.register(e,t),TN(this,this.state,e,this._modules.get(e),n.preserveState),wN(this,this.state)},eP.prototype.unregisterModule=function(e){var t=this;typeof e==`string`&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=MN(t.state,e.slice(0,-1));delete n[e[e.length-1]]}),CN(this)},eP.prototype.hasModule=function(e){return typeof e==`string`&&(e=[e]),this._modules.isRegistered(e)},eP.prototype.hotUpdate=function(e){this._modules.update(e),CN(this,!0)},eP.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(eP.prototype,tP);var nP=r(((e,t)=>{t.exports=function(e,t){return function(){return e.apply(t,arguments)}}})),rP=r(((e,t)=>{var n=nP(),r=Object.prototype.toString,i=(function(e){return function(t){var n=r.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}})(Object.create(null));function a(e){return e=e.toLowerCase(),function(t){return i(t)===e}}function o(e){return Array.isArray(e)}function s(e){return e===void 0}function c(e){return e!==null&&!s(e)&&e.constructor!==null&&!s(e.constructor)&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}var l=a(`ArrayBuffer`);function u(e){return typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)}function d(e){return typeof e==`string`}function f(e){return typeof e==`number`}function p(e){return typeof e==`object`&&!!e}function m(e){if(i(e)!==`object`)return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function h(e){return e&&Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}var g=a(`Date`),_=a(`File`),v=a(`Blob`),y=a(`FileList`);function b(e){return r.call(e)===`[object Function]`}function x(e){return p(e)&&b(e.pipe)}function S(e){var t=`[object FormData]`;return e&&(typeof FormData==`function`&&e instanceof FormData||r.call(e)===t||b(e.toString)&&e.toString()===t)}var C=a(`URLSearchParams`);function w(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``)}function T(){var e;return typeof navigator<`u`&&((e=navigator.product)===`ReactNative`||e===`NativeScript`||e===`NS`)?!1:typeof window<`u`&&typeof document<`u`}function E(e,t){if(e!=null)if(typeof e!=`object`&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function D(){var e={};function t(t,n){n===`__proto__`||n===`constructor`||n===`prototype`||(m(e[n])&&m(t)?e[n]=D(e[n],t):m(t)?e[n]=D({},t):o(t)?e[n]=t.slice():e[n]=t)}for(var n=0,r=arguments.length;n<r;n++)E(arguments[n],t);return e}function O(e,t,r){return E(t,function(t,i){r&&typeof t==`function`?e[i]=n(t,r):e[i]=t}),e}function k(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function A(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function j(e,t,n,r){var i,a,o,s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function ee(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function M(e){if(!e)return null;if(o(e))return e;var t=e.length;if(!f(t))return null;for(var n=Array(t);t-->0;)n[t]=e[t];return n}var N=(function(e){return function(t){return e&&t instanceof e}})(typeof Uint8Array<`u`&&Object.getPrototypeOf(Uint8Array));function P(e,t){for(var n=(e&&e[Symbol.iterator]).call(e),r;(r=n.next())&&!r.done;){var i=r.value;t.call(e,i[0],i[1])}}function F(e,t){for(var n,r=[];(n=e.exec(t))!==null;)r.push(n);return r}t.exports={isArray:o,isArrayBuffer:l,isBuffer:c,isFormData:S,isArrayBufferView:u,isString:d,isNumber:f,isObject:p,isPlainObject:m,isEmptyObject:h,isUndefined:s,isDate:g,isFile:_,isBlob:v,isFunction:b,isStream:x,isURLSearchParams:C,isStandardBrowserEnv:T,forEach:E,merge:D,extend:O,trim:w,stripBOM:k,inherits:A,toFlatObject:j,kindOf:i,kindOfTest:a,endsWith:ee,toArray:M,isTypedArray:N,isFileList:y,forEachEntry:P,matchAll:F,isHTMLForm:a(`HTMLFormElement`),hasOwnProperty:(function(e){return function(t,n){return e.call(t,n)}})(Object.prototype.hasOwnProperty)}})),iP=r(((e,t)=>{var n=rP();function r(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name=`AxiosError`,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}n.inherits(r,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=r.prototype,a={};[`ERR_BAD_OPTION_VALUE`,`ERR_BAD_OPTION`,`ECONNABORTED`,`ETIMEDOUT`,`ERR_NETWORK`,`ERR_FR_TOO_MANY_REDIRECTS`,`ERR_DEPRECATED`,`ERR_BAD_RESPONSE`,`ERR_BAD_REQUEST`,`ERR_CANCELED`,`ERR_NOT_SUPPORT`,`ERR_INVALID_URL`].forEach(function(e){a[e]={value:e}}
9),Object.defineProperties(r,a),Object.defineProperty(i,"isAxiosError",{value:!0}),r.from=function(e,t,a,o,s,c){var l=Object.create(i);return n.toFlatObject(e,l,function(e){return e!==Error.prototype}),r.call(l,e.message,t,a,o,s),l.cause=e,l.name=e.name,c&&Object.assign(l,c),l},t.exports=r})),aP=r(((e,t)=>{t.exports=typeof self==`object`?self.FormData:window.FormData})),oP=r(((e,t)=>{t.exports=aP()})),sP=r(((e,t)=>{var n=rP(),r=iP(),i=oP();function a(e){return n.isPlainObject(e)||n.isArray(e)}function o(e){return n.endsWith(e,`[]`)?e.slice(0,-2):e}function s(e,t,n){return e?e.concat(t).map(function(e,t){return e=o(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function c(e){return n.isArray(e)&&!e.some(a)}var l=n.toFlatObject(n,{},null,function(e){return/^is[A-Z]/.test(e)});function u(e){return e&&n.isFunction(e.append)&&e[Symbol.toStringTag]===`FormData`&&e[Symbol.iterator]}function d(e,t,d){if(!n.isObject(e))throw TypeError(`target must be an object`);t=t||new(i||FormData),d=n.toFlatObject(d,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!n.isUndefined(t[e])});var f=d.metaTokens,p=d.visitor||v,m=d.dots,h=d.indexes,g=(d.Blob||typeof Blob<`u`&&Blob)&&u(t);if(!n.isFunction(p))throw TypeError(`visitor must be a function`);function _(e){if(e===null)return``;if(n.isDate(e))return e.toISOString();if(!g&&n.isBlob(e))throw new r(`Blob is not supported. Use a Buffer instead.`);return n.isArrayBuffer(e)||n.isTypedArray(e)?g&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function v(e,r,i){var l=e;if(e&&!i&&typeof e==`object`){if(n.endsWith(r,`{}`))r=f?r:r.slice(0,-2),e=JSON.stringify(e);else if(n.isArray(e)&&c(e)||n.isFileList(e)||n.endsWith(r,`[]`)&&(l=n.toArray(e)))return r=o(r),l.forEach(function(e,i){!(n.isUndefined(e)||e===null)&&t.append(h===!0?s([r],i,m):h===null?r:r+`[]`,_(e))}),!1}return a(e)?!0:(t.append(s(i,r,m),_(e)),!1)}var y=[],b=Object.assign(l,{defaultVisitor:v,convertValue:_,isVisitable:a});function x(e,r){if(!n.isUndefined(e)){if(y.indexOf(e)!==-1)throw Error(`Circular reference detected in `+r.join(`.`));y.push(e),n.forEach(e,function(e,i){(!(n.isUndefined(e)||e===null)&&p.call(t,e,n.isString(i)?i.trim():i,r,b))===!0&&x(e,r?r.concat(i):[i])}),y.pop()}}if(!n.isObject(e))throw TypeError(`data must be an object`);return x(e),t}t.exports=d})),cP=r(((e,t)=>{var n=sP();function r(e){var t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`,"%00":`\0`};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return t[e]})}function i(e,t){this._pairs=[],e&&n(e,this,t)}var a=i.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){var t=e?function(t){return e.call(this,t,r)}:r;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)},t.exports=i})),lP=r(((e,t)=>{var n=rP(),r=cP();function i(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`).replace(/%5B/gi,`[`).replace(/%5D/gi,`]`)}t.exports=function(e,t,a){if(!t)return e;var o=e.indexOf(`#`);o!==-1&&(e=e.slice(0,o));var s=a&&a.encode||i,c=a&&a.serialize,l=c?c(t,a):n.isURLSearchParams(t)?t.toString():new r(t,a).toString(s);return l&&(e+=(e.indexOf(`?`)===-1?`?`:`&`)+l),e}})),uP=r(((e,t)=>{var n=rP();function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.clear=function(){this.handlers&&(this.handlers=[])},r.prototype.forEach=function(e){n.forEach(this.handlers,function(t){t!==null&&e(t)})},t.exports=r})),dP=r(((e,t)=>{var n=rP();t.exports=function(e,t){n.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}})),fP=r(((e,t)=>{t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}})),pP=r(((e,t)=>{var n=cP();t.exports=typeof URLSearchParams<`u`?URLSearchParams:n})),mP=r(((e,t)=>{t.exports=FormData})),hP=r(((e,t)=>{t.exports={isBrowser:!0,classes:{URLSearchParams:pP(),FormData:mP(),Blob},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]}})),gP=r(((e,t)=>{t.exports=hP()})),_P=r(((e,t)=>
9{var n=rP(),r=sP(),i=gP();t.exports=function(e,t){return r(e,new i.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,a){return i.isNode&&n.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):a.defaultVisitor.apply(this,arguments)}},t))}})),vP=r(((e,t)=>{var n=rP();function r(e){return n.matchAll(/\w+|\[(\w*)]/g,e).map(function(e){return e[0]===`[]`?``:e[1]||e[0]})}function i(e){var t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function a(e){function t(e,r,a,o){var s=e[o++];if(s===`__proto__`)return!0;var c=Number.isFinite(+s),l=o>=e.length;return s=!s&&n.isArray(a)?a.length:s,l?(n.hasOwnProperty(a,s)?a[s]=[a[s],r]:a[s]=r,!c):((!a[s]||!n.isObject(a[s]))&&(a[s]=[]),t(e,r,a[s],o)&&n.isArray(a[s])&&(a[s]=i(a[s])),!c)}if(n.isFormData(e)&&n.isFunction(e.entries)){var a={};return n.forEachEntry(e,function(e,n){t(r(e),n,a,0)}),a}return null}t.exports=a})),yP=r(((e,t)=>{var n=iP();t.exports=function(e,t,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new n(`Request failed with status code `+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}})),bP=r(((e,t)=>{var n=rP();t.exports=n.isStandardBrowserEnv()?(function(){return{write:function(e,t,r,i,a,o){var s=[];s.push(e+`=`+encodeURIComponent(t)),n.isNumber(r)&&s.push(`expires=`+new Date(r).toGMTString()),n.isString(i)&&s.push(`path=`+i),n.isString(a)&&s.push(`domain=`+a),o===!0&&s.push(`secure`),document.cookie=s.join(`; `)},read:function(e){var t=document.cookie.match(RegExp(`(^|;\\s*)(`+e+`)=([^;]*)`));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,``,Date.now()-864e5)}}})():(function(){return{write:function(){},read:function(){return null},remove:function(){}}})()})),xP=r(((e,t)=>{t.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}})),SP=r(((e,t)=>{t.exports=function(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}})),CP=r(((e,t)=>{var n=xP(),r=SP();t.exports=function(e,t,i){var a=!n(t);return e&&(a||i===!1)?r(e,t):t}})),wP=r(((e,t)=>{var n=rP(),r=[`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`];t.exports=function(e){var t={},i,a,o;return e&&n.forEach(e.split(`
10`),function(e){if(o=e.indexOf(`:`),i=n.trim(e.slice(0,o)).toLowerCase(),a=n.trim(e.slice(o+1)),i){if(t[i]&&r.indexOf(i)>=0)return;i===`set-cookie`?t[i]=(t[i]?t[i]:[]).concat([a]):t[i]=t[i]?t[i]+`, `+a:a}}),t}})),TP=r(((e,t)=>{var n=rP();t.exports=n.isStandardBrowserEnv()?(function(){var e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement(`a`),r;function i(n){var r=n;return e&&(t.setAttribute(`href`,r),r=t.href),t.setAttribute(`href`,r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,``):``,host:t.host,search:t.search?t.search.replace(/^\?/,``):``,hash:t.hash?t.hash.replace(/^#/,``):``,hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)===`/`?t.pathname:`/`+t.pathname}}return r=i(window.location.href),function(e){var t=n.isString(e)?i(e):e;return t.protocol===r.protocol&&t.host===r.host}})():(function(){return function(){return!0}})()})),EP=r(((e,t)=>{var n=iP(),r=rP();function i(e,t,r){n.call(this,e??`canceled`,n.ERR_CANCELED,t,r),this.name=`CanceledError`}r.inherits(i,n,{__CANCEL__:!0}),t.exports=i})),DP=r(((e,t)=>{t.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||``}})),OP=r(((e,t)=>{var n=rP(),r=yP(),i=bP(),a=lP(),o=CP(),s=wP(),c=TP(),l=fP(),u=iP(),d=EP(),f=DP(),p=gP();t.exports=function(e){return new Promise(function(t,m){var h=e.data,g=e.headers,_=e.responseType,v=e.withXSRFToken,y;function b(){e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener(`abort`,y)}n.isFormData(h)&&n.isStandardBrowserEnv()&&delete g[`Content-Type`];var x=new XMLHttpRequest;if(e.auth){var S=e.auth.username||``,C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):``;g.Authorization=`Basic `+btoa(S+`:`+C)}var w=o(e.baseURL,e.url,e.allowAbsoluteUrls);x.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),x.timeout=e.timeout;function T(){if(x){var n=`getAllResponseHeaders`in x?s(x.getAllResponseHeaders()):null;r(function(e){t(e),b()},function(e){m(e),b()},{data:!_||_===`text`||_===`json`?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:n,config:e,request:x}),x=null}}if(`onloadend`in x?x.onloadend=T:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf(`file:`)===0)||setTimeout(T)},x.onabort=function(){x&&(m(new u(`Request aborted`,u.ECONNABORTED,e,x)),x=null)},x.onerror=function(){m(new u(`Network Error`,u.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){var t=e.timeout?`timeout of `+e.timeout+`ms exceeded`:`timeout exceeded`,n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),m(new u(t,n.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,e,x)),x=null},n.isStandardBrowserEnv()&&(v&&n.isFunction(v)&&(v=v(e)),v||v!==!1&&c(w))){var E=e.xsrfHeaderName&&e.xsrfCookieName&&i.read(e.xsrfCookieName);E&&(g[e.xsrfHeaderName]=E)}
10`setRequestHeader`in x&&n.forEach(g,function(e,t){h===void 0&&t.toLowerCase()===`content-type`?delete g[t]:x.setRequestHeader(t,e)}),n.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),_&&_!==`json`&&(x.responseType=e.responseType),typeof e.onDownloadProgress==`function`&&x.addEventListener(`progress`,e.onDownloadProgress),typeof e.onUploadProgress==`function`&&x.upload&&x.upload.addEventListener(`progress`,e.onUploadProgress),(e.cancelToken||e.signal)&&(y=function(t){x&&(m(!t||t.type?new d(null,e,x):t),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener(`abort`,y))),!h&&h!==!1&&h!==0&&h!==``&&(h=null);var D=f(w);if(D&&p.protocols.indexOf(D)===-1){m(new u(`Unsupported protocol `+D+`:`,u.ERR_BAD_REQUEST,e));return}x.send(h)})}})),kP=r(((e,t)=>{var n=rP(),r=dP(),i=iP(),a=fP(),o=sP(),s=_P(),c=gP(),l=vP(),u={"Content-Type":`application/x-www-form-urlencoded`};function d(e,t){!n.isUndefined(e)&&n.isUndefined(e[`Content-Type`])&&(e[`Content-Type`]=t)}function f(){var e;return(typeof XMLHttpRequest<`u`||typeof process<`u`&&Object.prototype.toString.call(process)===`[object process]`)&&(e=OP()),e}function p(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(r||JSON.stringify)(e)}var m={transitional:a,adapter:f(),transformRequest:[function(e,t){r(t,`Accept`),r(t,`Content-Type`);var i=t&&t[`Content-Type`]||``,a=i.indexOf(`application/json`)>-1,c=n.isObject(e);if(c&&n.isHTMLForm(e)&&(e=new FormData(e)),n.isFormData(e))return a?JSON.stringify(l(e)):e;if(n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return d(t,`application/x-www-form-urlencoded;charset=utf-8`),e.toString();var u;if(c){if(i.indexOf(`application/x-www-form-urlencoded`)!==-1)return s(e,this.formSerializer).toString();if((u=n.isFileList(e))||i.indexOf(`multipart/form-data`)>-1){var f=this.env&&this.env.FormData;return o(u?{"files[]":e}:e,f&&new f,this.formSerializer)}}return c||a?(d(t,`application/json`),p(e)):e}],transformResponse:[function(e){var t=this.transitional||m.transitional,r=t&&t.forcedJSONParsing,a=this.responseType===`json`;if(e&&n.isString(e)&&(r&&!this.responseType||a)){var o=!(t&&t.silentJSONParsing)&&a;try{return JSON.parse(e)}catch(e){if(o)throw e.name===`SyntaxError`?i.from(e,i.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:c.classes.FormData,Blob:c.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`}}};n.forEach([`delete`,`get`,`head`],function(e){m.headers[e]={}}),n.forEach([`post`,`put`,`patch`],function(e){m.headers[e]=n.merge(u)}),t.exports=m})),AP=r(((e,t)=>{var n=rP(),r=kP();t.exports=function(e,t,i,a){var o=this||r;return n.forEach(a,function(n){e=n.call(o,e,t,i)}),e}})),jP=r(((e,t)=>{t.exports=function(e){return!!(e&&e.__CANCEL__)}})),MP=r(((e,t)=>{var n=rP(),r=AP(),i=jP(),a=kP(),o=EP(),s=dP();function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new o}t.exports=function(e){return c(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,null,e.transformRequest),s(e.headers,`Accept`),s(e.headers,`Content-Type`),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return c(e),t.data=r.call(e,t.data,t.headers,t.status,e.transformResponse),t},function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)})}})),NP=r(((e,t)=>{var n=rP();t.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isEmptyObject(t)?n.merge({},e):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){if(!n.isUndefined(t[r]))return i(e[r],t[r]);if(!n.isUndefined(e[r]))return i(void 0,e[r])}function o(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){if(!n.isUndefined(t[r]))return i(void 0,t[r]);if(!n.isUndefined(e[r]))return i(void 0,e[r])}function c(n){if(n in t)return i(e[n],t[n]);if(n in e)return i(void 0,e[n])}var l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};
10return n.forEach(Object.keys(e).concat(Object.keys(t)),function(e){if(!(e===`__proto__`||e===`constructor`||e===`prototype`)){var t=n.hasOwnProperty(l,e)?l[e]:a,i=t(e);n.isUndefined(i)&&t!==c||(r[e]=i)}}),r}})),PP=r(((e,t)=>{t.exports={version:`0.30.3`}})),FP=r(((e,t)=>{var n=PP().version,r=iP(),i={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach(function(e,t){i[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var a={};i.transitional=function(e,t,i){function o(e,t){return`[Axios v`+n+`] Transitional option '`+e+`'`+t+(i?`. `+i:``)}return function(n,i,s){if(e===!1)throw new r(o(i,` has been removed`+(t?` in `+t:``)),r.ERR_DEPRECATED);return t&&!a[i]&&(a[i]=!0,console.warn(o(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,s):!0}};function o(e,t,n){if(typeof e!=`object`)throw new r(`options must be an object`,r.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),a=i.length;a-->0;){var o=i[a],s=t[o];if(s){var c=e[o],l=c===void 0||s(c,o,e);if(l!==!0)throw new r(`option `+o+` must be `+l,r.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new r(`Unknown option `+o,r.ERR_BAD_OPTION)}}t.exports={assertOptions:o,validators:i}})),IP=r(((e,t)=>{var n=rP(),r=lP(),i=uP(),a=MP(),o=NP(),s=CP(),c=FP(),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e,t){typeof e==`string`?(t=t||{},t.url=e):t=e||{},t=o(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method=`get`;var r=t.transitional;r!==void 0&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var i=t.paramsSerializer;i!=null&&(n.isFunction(i)?t.paramsSerializer={serialize:i}:c.assertOptions(i,{encode:l.function,serialize:l.function},!0));var s=[],u=!0;this.interceptors.request.forEach(function(e){typeof e.runWhen==`function`&&e.runWhen(t)===!1||(u=u&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});var d=[];this.interceptors.response.forEach(function(e){d.push(e.fulfilled,e.rejected)});var f;if(!u){var p=[a,void 0];for(Array.prototype.unshift.apply(p,s),p=p.concat(d),f=Promise.resolve(t);p.length;)f=f.then(p.shift(),p.shift());return f}for(var m=t;s.length;){var h=s.shift(),g=s.shift();try{m=h(m)}catch(e){g(e);break}}try{f=a(m)}catch(e){return Promise.reject(e)}for(;d.length;)f=f.then(d.shift(),d.shift());return f},u.prototype.getUri=function(e){return e=o(this.defaults,e),r(s(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)},n.forEach([`delete`,`get`,`head`,`options`],function(e){u.prototype[e]=function(t,n){return this.request(o(n||{},{method:e,url:t,data:(n||{}).data}))}}),n.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(o(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}u.prototype[e]=t(),u.prototype[e+`Form`]=t(!0)}),t.exports=u})),LP=r(((e,t)=>{var n=EP();function r(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);var t;this.promise=new Promise(function(e){t=e});var r=this;this.promise.then(function(e){if(r._listeners){for(var t=r._listeners.length;t-->0;)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,i,a){r.reason||(r.reason=new n(e,i,a),t(r.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r})),RP=r(((e,t)=>{t.exports=function(e){return function(t){return e.apply(null,t)}}})),zP=r(((e,t)=>{var n=rP();t.exports=function(e){return n.isObject(e)&&e.isAxiosError===!0}})),BP=r(((e,t)=>
10{var n=rP(),r=nP(),i=IP(),a=NP(),o=kP(),s=vP();function c(e){var t=new i(e),o=r(i.prototype.request,t);return n.extend(o,i.prototype,t),n.extend(o,t),o.create=function(t){return c(a(e,t))},o}var l=c(o);l.Axios=i,l.CanceledError=EP(),l.CancelToken=LP(),l.isCancel=jP(),l.VERSION=PP().version,l.toFormData=sP(),l.AxiosError=iP(),l.Cancel=l.CanceledError,l.all=function(e){return Promise.all(e)},l.spread=RP(),l.isAxiosError=zP(),l.formToJSON=function(e){return s(n.isHTMLForm(e)?new FormData(e):e)},t.exports=l,t.exports.default=l})),VP=r(((e,t)=>{t.exports=BP()})),HP=/(\/|^)([:*][^/]*?)(\?)?(?=[/.]|$)/g;function UP(e,t){return e.replace(HP,(e,n,r,i)=>(e=t[r==`*`?r:r.substring(1)],e?`/`+e:i||r==`*`?``:`/`+r))}var WP=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PromisePoolError=void 0,e.PromisePoolError=class extends Error{constructor(e,t){super(),this.item=t,this.name=this.constructor.name,this.message=this.messageFrom(e),Error.captureStackTrace(this,this.constructor)}static createFrom(e,t){return new this(e,t)}messageFrom(e){return e instanceof Error||typeof e==`object`?e.message:typeof e==`string`||typeof e==`number`?e.toString():``}}})),GP=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StopThePromisePoolError=void 0,e.StopThePromisePoolError=class extends Error{}})),KP=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PromisePoolExecutor=void 0;var t=WP(),n=GP();e.PromisePoolExecutor=class{constructor(){this.meta={tasks:[],items:[],errors:[],results:[],stopped:!1,concurrency:10},this.handler=()=>{},this.errorHandler=void 0}withConcurrency(e){return this.meta.concurrency=e,this}concurrency(){return this.meta.concurrency}for(e){return this.meta.items=e,this}items(){return this.meta.items}tasks(){return this.meta.tasks}results(){return this.meta.results}errors(){return this.meta.errors}withHandler(e){return this.handler=e,this}hasErrorHandler(){return!!this.errorHandler}handleError(e){return this.errorHandler=e,this}hasReachedConcurrencyLimit(){return this.activeTasks()>=this.concurrency()}activeTasks(){return this.meta.tasks.length}stop(){throw this.markAsStopped(),new n.StopThePromisePoolError}markAsStopped(){return this.meta.stopped=!0,this}isStopped(){return this.meta.stopped}async start(){return await this.validateInputs().process()}validateInputs(){if(typeof this.handler!=`function`)throw Error(`The first parameter for the .process(fn) method must be a function`);if(!(typeof this.concurrency()==`number`&&this.concurrency()>=1))throw TypeError(`"concurrency" must be a number, 1 or up. Received "${this.concurrency()}" (${typeof this.concurrency()})`);if(!Array.isArray(this.items()))throw TypeError(`"items" must be an array. Received ${typeof this.items()}`);if(this.errorHandler&&typeof this.errorHandler!=`function`)throw Error(`The error handler must be a function. Received ${typeof this.errorHandler}`);return this}async process(){for(let[e,t]of this.items().entries()){if(this.isStopped())break;this.hasReachedConcurrencyLimit()&&await this.waitForTaskToFinish(),this.startProcessing(t,e)}return await this.drained()}async waitForTaskToFinish(){await Promise.race(this.tasks())}startProcessing(e,t){let n=this.createTaskFor(e,t).then(e=>{this.removeActive(n).save(e)}).catch(async t=>this.removeActive(n).handleErrorFor(t,e));this.tasks().push(n)}async createTaskFor(e,t){return this.handler(e,t,this)}save(e){return this.results().push(e),this}removeActive(e){return this.tasks().splice(this.tasks().indexOf(e),1),this}async handleErrorFor(e,t){if(!this.isStoppingThePool(e))return this.hasErrorHandler()?await this.runErrorHandlerFor(e,t):this.saveErrorFor(e,t)}isStoppingThePool(e){return e instanceof n.StopThePromisePoolError}async runErrorHandlerFor(e,t){try{return await this.errorHandler?.call(this,e,t,this)}catch(e){this.rethrowIfNotStoppingThePool(e)}}rethrowIfNotStoppingThePool(e){if(!this.isStoppingThePool(e))throw e}saveErrorFor(e,n){this.errors().push(t.PromisePoolError.createFrom(e,n))}async drained(){return await this.drainActiveTasks(),{errors:this.errors(),results:this.results()}}async drainActiveTasks(){await Promise.all(this.tasks())}}})),qP=r((e=>
10{Object.defineProperty(e,"__esModule",{value:!0}),e.PromisePool=void 0;var t=KP();e.PromisePool=class e{constructor(e){this.concurrency=10,this.items=e??[],this.errorHandler=void 0}withConcurrency(e){return this.concurrency=e,this}static withConcurrency(e){return new this().withConcurrency(e)}for(t){return new e(t).withConcurrency(this.concurrency)}static for(e){return new this().for(e)}handleError(e){return this.errorHandler=e,this}async process(e){return new t.PromisePoolExecutor().withConcurrency(this.concurrency).withHandler(e).handleError(this.errorHandler).for(this.items).start()}}})),JP=r(((e,t)=>{t.exports=qP().PromisePool}));function YP(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var XP=typeof window<`u`,ZP=(e,t=!1)=>t?Symbol.for(e):Symbol(e),QP=(e,t,n)=>$P({l:e,k:t,s:n}),$P=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),eF=e=>typeof e==`number`&&isFinite(e),tF=e=>bF(e)===`[object Date]`,nF=e=>bF(e)===`[object RegExp]`,rF=e=>xF(e)&&Object.keys(e).length===0,iF=Object.assign,aF=Object.create,oF=(e=null)=>aF(e),sF,cF=()=>sF||(sF=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:oF());function lF(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/\//g,`&#x2F;`).replace(/=/g,`&#x3D;`)}function uF(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&amp;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function dF(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${uF(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${uF(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1&#111;n$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(t=>{e=e.replace(t,`$1javascript&#58;`)}),e}var fF=Object.prototype.hasOwnProperty;function pF(e,t){return fF.call(e,t)}var mF=Array.isArray,hF=e=>typeof e==`function`,G=e=>typeof e==`string`,gF=e=>typeof e==`boolean`,_F=e=>typeof e==`object`&&!!e,vF=e=>_F(e)&&hF(e.then)&&hF(e.catch),yF=Object.prototype.toString,bF=e=>yF.call(e),xF=e=>bF(e)===`[object Object]`,SF=e=>e==null?``:mF(e)||xF(e)&&e.toString===yF?JSON.stringify(e,null,2):String(e);function CF(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var wF=e=>!_F(e)||mF(e);function TF(e,t){if(wF(e)||wF(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(_F(e[r])&&!_F(t[r])&&(t[r]=Array.isArray(e[r])?[]:oF()),wF(t[r])||wF(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function EF(e,t,n){return{line:e,column:t,offset:n}}function DF(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var K={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};K.EXPECTED_TOKEN,K.INVALID_TOKEN_IN_PLACEHOLDER,K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,K.UNKNOWN_ESCAPE_SEQUENCE,K.INVALID_UNICODE_ESCAPE_SEQUENCE,K.UNBALANCED_CLOSING_BRACE,K.UNTERMINATED_CLOSING_BRACE,K.EMPTY_PLACEHOLDER,K.NOT_ALLOW_NEST_PLACEHOLDER,K.INVALID_LINKED_FORMAT,K.MUST_HAVE_MESSAGES_IN_PLURAL,K.UNEXPECTED_EMPTY_LINKED_MODIFIER,K.UNEXPECTED_EMPTY_LINKED_KEY,K.UNEXPECTED_LEXICAL_ANALYSIS,K.UNHANDLED_CODEGEN_NODE_TYPE,K.UNHANDLED_MINIFIER_NODE_TYPE;function OF(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function kF(e){throw e}var AF=` `,jF=`\r`,MF=`
11`,NF=`\u2028`,PF=`\u2029`;function FF(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===jF&&t[e+1]===MF,s=e=>t[e]===MF,c=e=>t[e]===PF,l=e=>t[e]===NF,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?MF:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var IF=void 0,LF=`'`,RF=`tokenizer`;function zF(e,t={}){let n=t.location!==!1,r=FF(e),i=()=>r.index(),a=()=>
11EF(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();t.column+=r,t.offset+=r,u&&u(OF(e,n?DF(a.startLoc,t):null,{domain:RF,args:i}))}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=DF(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(K.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===AF||e.currentPeek()===MF;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===IF)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===IF)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===LF;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(!(n===7||n===11))return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===AF||!t?!1:t===MF?(e.peek(),r()):D(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function D(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?!(r===AF||r===MF):i===AF?(e.peek(),n(!0,AF)):i===MF?(e.peek(),n(!0,MF)):!0},r=n();return t&&e.resetPeek(),r}function O(e,t){let n=e.currentChar();if(n!==IF)return t(n)?(e.next(),n):null}function k(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function A(e){return O(e,k)}function j(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function ee(e){return O(e,j)}function M(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function N(e){return O(e,M)}function P(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function F(e){return O(e,P)}function I(e){let t=``,n=``;for(;t=N(e);)n+=t;return n}function L(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===AF||n===MF)if(D(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next();else t+=n,e.next()}return t}function te(e){g(e);let t=``,n=``;for(;t=ee(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==IF&&r!==AF&&r!==MF&&r!==` `){let t=oe(e);return d(K.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===IF&&d(K.UNTERMINATED_CLOSING_BRACE,a(),0),n}function R(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${I(e)}`):t+=I(e),e.currentChar()===IF&&d(K.UNTERMINATED_CLOSING_BRACE,a(),0),t}function ne(e){return e!==LF&&e!==MF}function z(e){g(e),m(e,`'`);let t=``,n=``;for(;t=O(e,ne);)t===`\\`?n+=re(e):n+=t;let r=e.currentChar();return r===MF||r===IF?(d(K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===MF&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function re(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return ie(e,t,4);case`U`:return ie(e,t,6);default:return d(K.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function ie(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=F(e);if(!n){d(K.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function ae(e){return e!==`{`&&e!==`}`&&e!==AF&&e!==MF}function oe(e){g(e);let t=``,n=``;for(;t=O(e,ae);)n+=t;return n}function se(e){let t=``,n=``;for(;t=A(e);)n+=t;return n}function ce(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===AF?n:(n+=r,e.next(),t(n))};return t(``)}function le(e){g(e);let t=m(e,`|`);return g(e),t}function ue(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(K.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(K.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(K.UNTERMINATED_CLOSING_BRACE,a(),0),n=de(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(K.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,le(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(K.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,fe(e,t);if(r=y(e,t))return n=f(t,4,te(e)),g(e),n;if(i=b(e,t))return n=f(t,5,R(e)),g(e),n;if(o=x(e,t))return n=f(t,6,z(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,oe(e)),d(K.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function de(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===MF||i===AF)&&d(K.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return E(e)?(r=f(t,1,le(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),de(e,t)):C(e,t)?(g(e),f(t,11,se(e))):T(e,t)?(g(e),i===`{`?ue(e,t)||r:f(t,10,ce(e))):(n===7&&d(K.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,fe(e,t))}}function fe(e,t){let n={type:13};if(t.braceNest>0)return ue(e,t)||p(t);if(t.inLinked)return de(e,t)||p(t);switch(e.currentChar()){case`{`:return ue(e,t)||p(t);case`}`:return d(K.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return de(e,t)||p(t);default:if(E(e))return n=f(t,1,le(e)),t.braceNest=0,t.inLinked=!1,n;if(D(e))return f(t,0,L(e));break}return n}function pe(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===IF?f(c,13):fe(r,c)}return{nextToken:pe,currentOffset:i,currentPosition:a,context:l}}var BF=`parser`,VF=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,HF=/\\([\\@{}|])/g;function UF(e,t){return t}function WF(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function GF(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();s.offset+=a,s.column+=a,n&&n(OF(r,t?DF(i,s):null,{domain:BF,args:o}))}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t.replace(HF,UF),a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);
11return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(VF,WF),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,KF(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,K.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(o)),n.key=l(e,o.value||``);break;default:{r(e,K.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,K.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,KF(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||(c=t.items.length===0),l.cases.push(t)}while(s.currentType!==13);return c&&r(e,K.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=zF(n,iF({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,K.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function KF(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function qF(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function JF(e,t){for(let n=0;n<e.length;n++)YF(e[n],t)}function YF(e,t){switch(e.type){case 1:JF(e.cases,t),t.helper(`plural`);break;case 2:JF(e.items,t);break;case 6:YF(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`);break}}function XF(e,t={}){let n=qF(e);n.helper(`normalize`),e.body&&YF(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function ZF(e){let t=e.body;return t.type===2?QF(t):t.cases.forEach(e=>QF(e)),e}function QF(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=CF(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}function $F(e){switch(e.t=e.type,e.type){case 0:{let t=e;$F(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)$F(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)$F(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;$F(t.key),t.k=t.key,delete t.key,t.modifier&&($F(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}default:}delete e.type}function eI(e,t){let{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,o=t.location!==!1,s={filename:r,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};o&&e.loc&&(s.source=e.loc.source);let c=()=>s;function l(e,t){s.code+=e}function u(e,t=!0){let n=t?i:``;l(a?n+`  `.repeat(e):n)}function d(e=!0){let t=++s.indentLevel;e&&u(t)}function f(e=!0){let t=--s.indentLevel;e&&u(t)}function p(){u(s.indentLevel)}return{context:c,push:l,indent:d,deindent:f,newline:p,helper:e=>`_${e}`,needIndent:()=>s.needIndent}}function tI(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),aI(e,t.key),t.modifier?(e.push(`, `),aI(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function nI(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(aI(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function rI(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(aI(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function iI(e,t){t.body?aI(e,t.body):e.push(`null`)}function aI(e,t){let{helper:n}=e;switch(t.type){case 0:iI(e,t);break;case 1:rI(e,t);break;case 2:nI(e,t);break;case 6:tI(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:}}var oI=(e,t={})=>{let n=G(t.mode)?t.mode:`normal`,r=G(t.filename)?t.filename:`message.intl`,i=!!t.sourceMap,a=t.breakLineCode==null?n===`arrow`?`;`:`
12`:t.breakLineCode,o=t.needIndent?t.needIndent:n!==`arrow`,s=e.helpers||[],c=eI(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});c.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),c.indent(o),s.length>0&&(c.push(`const { ${CF(s.map(e=>`${e}: _${e}`),`, `)} } = ctx`),c.newline()),c.push(`return `),aI(c,e),c.deindent(o),c.push(`}`),delete e.helpers;let{code:l,map:u}=c.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function sI(e,t={}){let n=iF({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=GF(n).parse(e);
12return r?(a&&ZF(o),i&&$F(o),{ast:o,code:``}):(XF(o,n),oI(o,n))}function cI(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(cF().__INTLIFY_PROD_DEVTOOLS__=!1)}function lI(e){return _F(e)&&yI(e)===0&&(pF(e,`b`)||pF(e,`body`))}var uI=[`b`,`body`];function dI(e){return EI(e,uI)}var fI=[`c`,`cases`];function pI(e){return EI(e,fI,[])}var mI=[`s`,`static`];function hI(e){return EI(e,mI)}var gI=[`i`,`items`];function _I(e){return EI(e,gI,[])}var vI=[`t`,`type`];function yI(e){return EI(e,vI)}var bI=[`v`,`value`];function xI(e,t){let n=EI(e,bI);if(n!=null)return n;throw OI(t)}var SI=[`m`,`modifier`];function CI(e){return EI(e,SI)}var wI=[`k`,`key`];function TI(e){let t=EI(e,wI);if(t)return t;throw OI(6)}function EI(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(pF(e,r)&&e[r]!=null)return e[r]}return n}var DI=[...uI,...fI,...mI,...gI,...wI,...SI,...bI,...vI];function OI(e){return Error(`unhandled node type: ${e}`)}function kI(e){return t=>AI(t,e)}function AI(e,t){let n=dI(t);if(n==null)throw OI(0);if(yI(n)===1){let t=pI(n);return e.plural(t.reduce((t,n)=>[...t,jI(e,n)],[]))}else return jI(e,n)}function jI(e,t){let n=hI(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=_I(t).reduce((t,n)=>[...t,MI(e,n)],[]);return e.normalize(n)}}function MI(e,t){let n=yI(t);switch(n){case 3:return xI(t,n);case 9:return xI(t,n);case 4:{let r=t;if(pF(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(pF(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw OI(n)}case 5:{let r=t;if(pF(r,`i`)&&eF(r.i))return e.interpolate(e.list(r.i));if(pF(r,`index`)&&eF(r.index))return e.interpolate(e.list(r.index));throw OI(n)}case 6:{let n=t,r=CI(n),i=TI(n);return e.linked(MI(e,i),r?MI(e,r):void 0,e.type)}case 7:return xI(t,n);case 8:return xI(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var NI=e=>e,PI=oF();function FI(e,t={}){let n=!1,r=t.onError||kF;return t.onError=e=>{n=!0,r(e)},{...sI(e,t),detectError:n}}function II(e,t){if(G(e)){gF(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||NI)(e),r=PI[n];if(r)return r;let{ast:i,detectError:a}=FI(e,{...t,location:!1,jit:!0}),o=kI(i);return a?o:PI[n]=o}else{let t=e.cacheKey;return t?PI[t]||(PI[t]=kI(e)):kI(e)}}var LI=null;function RI(e){LI=e}function zI(e,t,n){LI&&LI.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var BI=VI(`function:translate`);function VI(e){return t=>LI&&LI.emit(e,t)}var HI={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function UI(e){return OF(e,null,void 0)}HI.INVALID_ARGUMENT,HI.INVALID_DATE_ARGUMENT,HI.INVALID_ISO_DATE_ARGUMENT,HI.NOT_SUPPORT_NON_STRING_MESSAGE,HI.NOT_SUPPORT_LOCALE_PROMISE_VALUE,HI.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,HI.NOT_SUPPORT_LOCALE_TYPE;function WI(e,t){return t.locale==null?KI(e.locale):KI(t.locale)}var GI;function KI(e){if(G(e))return e;if(hF(e)){if(e.resolvedOnce&&GI!=null)return GI;if(e.constructor.name===`Function`){let t=e();if(vF(t))throw UI(HI.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return GI=t}else throw UI(HI.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw UI(HI.NOT_SUPPORT_LOCALE_TYPE)}function qI(e,t,n){return[...new Set([n,...mF(t)?t:_F(t)?Object.keys(t):G(t)?[t]:[n]])]}function JI(e,t,n){let r=G(n)?n:uL,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;mF(e);)e=YI(a,e,t);let o=mF(t)||!xF(t)?t:t.default?t.default:null;e=G(o)?[o]:o,mF(e)&&YI(a,e,!1),i.__localeChainCache.set(r,a)}return a}function YI(e,t,n){let r=!0;for(let i=0;i<t.length&&gF(r);i++){let a=t[i];G(a)&&(r=XI(e,t[i],n))}return r}function XI(e,t,n){let r,i=t.split(`-`);do r=ZI(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function ZI(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(mF(n)||xF(n))&&n[i]&&(r=n[i])}return r}var QI=[];QI[0]={w:[0],i:[3,0],"[":[4],o:[7]},QI[1]={w:[1],".":[2],"[":[4],o:[7]},QI[2]={w:[2],i:[3,0],0:[3,0]},QI[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},QI[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},QI[5]={"'":[4,0],o:8,l:[5,0]},QI[6]={'"':[4,0],o:8,l:[6,0]};var $I=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function eL(e){return $I.test(e)}function tL(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function nL(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function rL(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:eL(t)?tL(t):`*`+t}function iL(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>
12{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=rL(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=nL(a),d=QI[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var aL=new Map;function oL(e,t){return _F(e)?e[t]:null}function sL(e,t){if(!_F(e))return null;let n=aL.get(t);if(n||(n=iL(t),n&&aL.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(DI.includes(e)&&lI(i)||!_F(i)||!pF(i,e))return null;let t=i[e];if(t===void 0||hF(i))return null;i=t,a++}return i}var cL={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};cL.NOT_FOUND_KEY,cL.FALLBACK_TO_TRANSLATE,cL.CANNOT_FORMAT_NUMBER,cL.FALLBACK_TO_NUMBER_FORMAT,cL.CANNOT_FORMAT_DATE,cL.FALLBACK_TO_DATE_FORMAT,cL.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER,cL.INVALID_NUMBER_ARGUMENT,cL.INVALID_DATE_ARGUMENT;var lL=`11.3.0`,uL=`en-US`,dL=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function fL(){return{upper:(e,t)=>t===`text`&&G(e)?e.toUpperCase():t===`vnode`&&_F(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&G(e)?e.toLowerCase():t===`vnode`&&_F(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&G(e)?dL(e):t===`vnode`&&_F(e)&&`__v_isVNode`in e?dL(e.children):e}}var pL;function mL(e){pL=e}var hL;function gL(e){hL=e}var _L;function vL(e){_L=e}var yL=null,bL=()=>yL,xL=null,SL=e=>{xL=e},CL=()=>xL,wL=0;function TL(e={}){let t=hF(e.onWarn)?e.onWarn:YP,n=G(e.version)?e.version:lL,r=G(e.locale)||hF(e.locale)?e.locale:uL,i=hF(r)?uL:r,a=mF(e.fallbackLocale)||xF(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=xF(e.messages)?e.messages:EL(i),s=xF(e.datetimeFormats)?e.datetimeFormats:EL(i),c=xF(e.numberFormats)?e.numberFormats:EL(i),l=iF(oF(),e.modifiers,fL()),u=e.pluralRules||oF(),d=hF(e.missing)?e.missing:null,f=gF(e.missingWarn)||nF(e.missingWarn)?e.missingWarn:!0,p=gF(e.fallbackWarn)||nF(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=hF(e.postTranslation)?e.postTranslation:null,_=xF(e.processor)?e.processor:null,v=gF(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=hF(e.messageCompiler)?e.messageCompiler:pL,x=hF(e.messageResolver)?e.messageResolver:hL||oL,S=hF(e.localeFallbacker)?e.localeFallbacker:_L||qI,C=_F(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=_F(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,E=_F(w.__numberFormatters)?w.__numberFormatters:new Map,D=_F(w.__meta)?w.__meta:{};wL++;let O={version:n,cid:wL,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:D};return O.datetimeFormats=s,O.numberFormats=c,O.__datetimeFormatters=T,O.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&zI(O,n,D),O}var EL=e=>({[e]:oF()});function DL(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return G(r)?r:t}else return t}function OL(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function kL(e,t){return e===t?!1:e.split(`-`)[0]===t.split(`-`)[0]}function AL(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(kL(e,t[r]))return!0;return!1}var jL=typeof Intl<`u`;jL&&Intl.DateTimeFormat,jL&&Intl.NumberFormat;function ML(e,...t){let{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e;if(!G(t[0])&&!tF(t[0])&&!eF(t[0]))return``;let[c,l,u,d]=PL(...t),f=gF(u.missingWarn)?u.missingWarn:e.missingWarn;gF(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=WI(e,u),h=o(e,i,m);if(!G(c)||c===``)return new Intl.DateTimeFormat(m.replace(/!/g,``),d).format(l);let g={},_,v=null;for(let t=0;t<h.length&&(_=h[t],g=n[_]||{},v=g[c],!xF(v));t++)DL(e,c,_,f,`datetime format`);if(!xF(v)||!G(_))return r?-1:c;let y=`${_}__${c}`;rF(d)||(y=`${y}__${JSON.stringify(d)}`);let b=s.get(y);return b||(b=new Intl.DateTimeFormat(_,iF({},v,d)),s.set(y,b)),p?b.formatToParts(l):b.format(l)}var NL=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function PL(...e){let[t,n,r,i]=e,a=oF(),o=oF(),s;if(G(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw UI(HI.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw UI(HI.INVALID_ISO_DATE_ARGUMENT)}}else if(tF(t)){if(isNaN(t.getTime()))throw UI(HI.INVALID_DATE_ARGUMENT);s=t}else if(eF(t))s=t;else throw UI(HI.INVALID_ARGUMENT);
12return G(n)?a.key=n:xF(n)&&Object.keys(n).forEach(e=>{NL.includes(e)?o[e]=n[e]:a[e]=n[e]}),G(r)?a.locale=r:xF(r)&&(o=r),xF(i)&&(o=i),[a.key||``,s,a,o]}function FL(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function IL(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e;if(!eF(t[0]))return``;let[c,l,u,d]=RL(...t),f=gF(u.missingWarn)?u.missingWarn:e.missingWarn;gF(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=WI(e,u),h=o(e,i,m);if(!G(c)||c===``)return new Intl.NumberFormat(m.replace(/!/g,``),d).format(l);let g={},_,v=null;for(let t=0;t<h.length&&(_=h[t],g=n[_]||{},v=g[c],!xF(v));t++)DL(e,c,_,f,`number format`);if(!xF(v)||!G(_))return r?-1:c;let y=`${_}__${c}`;rF(d)||(y=`${y}__${JSON.stringify(d)}`);let b=s.get(y);return b||(b=new Intl.NumberFormat(_,iF({},v,d)),s.set(y,b)),p?b.formatToParts(l):b.format(l)}var LL=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function RL(...e){let[t,n,r,i]=e,a=oF(),o=oF();if(!eF(t))throw UI(HI.INVALID_ARGUMENT);let s=t;return G(n)?a.key=n:xF(n)&&Object.keys(n).forEach(e=>{LL.includes(e)?o[e]=n[e]:a[e]=n[e]}),G(r)?a.locale=r:xF(r)&&(o=r),xF(i)&&(o=i),[a.key||``,s,a,o]}function zL(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}var BL=e=>e,VL=e=>``,HL=`text`,UL=e=>e.length===0?``:CF(e),WL=SF;function GL(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function KL(e){let t=eF(e.pluralIndex)?e.pluralIndex:-1;return eF(e.named?.count)?e.named.count:eF(e.named?.n)?e.named.n:t}function qL(e={}){let t=e.locale,n=KL(e),r=G(t)&&hF(e.pluralRules?.[t])?e.pluralRules[t]:GL,i=r===GL?void 0:GL,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||oF();eF(e.pluralIndex)&&(c.count||(c.count=e.pluralIndex),c.n||(c.n=e.pluralIndex));let l=e=>c[e];function u(t,n){return(hF(e.messages)?e.messages(t,!!n):_F(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):VL)}let d=t=>e.modifiers?e.modifiers[t]:BL,f=hF(e.processor?.normalize)?e.processor.normalize:UL,p=hF(e.processor?.interpolate)?e.processor.interpolate:WL,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?_F(n)?(a=n.modifier||a,i=n.type||i):G(n)&&(a=n||a):t.length===2&&(G(n)&&(a=n||a),G(r)&&(i=r||i));let o=u(e,!0)(m),s=o===``||o===void 0?e:o,c=i===`vnode`&&mF(s)&&a?s[0]:s;return a?d(a)(c,i):c},message:u,type:G(e.processor?.type)?e.processor.type:HL,interpolate:p,normalize:f,values:iF(oF(),o,c)};return m}var JL=()=>``,YL=e=>hF(e);function XL(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=tR(...t),u=gF(l.missingWarn)?l.missingWarn:e.missingWarn,d=gF(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=gF(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=G(l.default)||gF(l.default)?gF(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(G(m)||hF(m)),g=WI(e,l);f&&ZL(l);let[_,v,y]=p?[c,g,s[g]||oF()]:QL(e,c,g,o,d,u),b=_,x=c;if(!p&&!(G(b)||lI(b)||YL(b))&&h&&(b=m,x=b),!p&&(!(G(b)||lI(b)||YL(b))||!G(v)))return i?-1:c;let S=!1,C=YL(b)?b:$L(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=eR(e,C,qL(rR(e,v,y,l))),T=r?r(w,c):w;if(f&&G(T)&&(T=dF(T)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:G(c)?c:YL(b)?b.key:``,locale:v||(YL(b)?b.locale:``),format:G(b)?b:YL(b)?b.source:``,message:T};t.meta=iF({},e.__meta,bL()||{}),BI(t)}return T}function ZL(e){mF(e.list)?e.list=e.list.map(e=>G(e)?lF(e):e):_F(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=lF(e.named[t]))})}function QL(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=oF(),f,p=null;for(let n=0;n<u.length&&(f=u[n],d=o[f]||oF(),(p=c(d,t))===null&&(p=d[t]),!(G(p)||lI(p)||YL(p)));n++)if(!AL(f,u)){let n=DL(e,t,f,a,`translate`);n!==t&&(p=n)}return[p,f,d]}function $L(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(YL(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=o(r,nR(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function eR(e,t,n){return t(n)}function tR(...e){let[t,n,r]=e,i=oF();if(!G(t)&&!eF(t)&&!YL(t)&&!lI(t))throw UI(HI.INVALID_ARGUMENT);let a=eF(t)?String(t):(YL(t),t);return eF(n)?i.plural=n:G(n)?i.default=n:xF(n)&&!rF(n)?i.named=n:mF(n)&&(i.list=n),eF(r)?i.plural=r:G(r)?i.default=r:xF(r)&&iF(i,r),[a,i]}function nR(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>QP(t,n,e)}}function rR(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[,,n]=QL(u||e,r,t,s,c,l);a=o(n,r)}if(G(a)||lI(a)){let n=!1,i=$L(e,r,t,a,r,()=>{n=!0});return n?JL:i}else if(YL(a))return a;else return JL}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),eF(r.plural)&&(d.pluralIndex=r.plural),d}cI();
12var iR=Symbol.for(`INJECTION`);function aR(e,t,n,r){function i(){return r&&!Reflect.hasMetadata(iR,this,t)&&Reflect.defineMetadata(iR,n(),this,t),Reflect.hasMetadata(iR,this,t)?Reflect.getMetadata(iR,this,t):n()}function a(e){Reflect.defineMetadata(iR,e,this,t)}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:i,set:a})}function oR(e,t){return function(n){return function(r,i){aR(r,i,function(){return e.get(n)},t)}}}function sR(e,t){return function(n,r){return function(i,a){aR(i,a,function(){return e.getNamed(n,r)},t)}}}function cR(e,t){return function(n,r,i){return function(a,o){aR(a,o,function(){return e.getTagged(n,r,i)},t)}}}function lR(e,t){return function(n){return function(r,i){aR(r,i,function(){return e.getAll(n)},t)}}}function uR(e,t){return t===void 0&&(t=!0),{lazyInject:oR(e,t),lazyInjectNamed:sR(e,t),lazyInjectTagged:cR(e,t),lazyMultiInject:lR(e,t)}}var dR={version:4,country_calling_codes:{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`],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`],850:[`KP`],852:[`HK`],853:[`MO`],855:[`KH`],856:[`LA`],880:[`BD`],886:[`TW`],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`],992:[`TJ`],993:[`TM`],994:[`AZ`],995:[`GE`],996:[`KG`],998:[`UZ`]},countries:{AC:[`247`,`00`,`(?:[01589]\\d|[46])\\d{4}`,[5,6]],AD:[`376`,`00`,`(?:1|6\\d)\\d{7}|[135-9]\\d{5}`,[6,8,9],[[`(\\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`]]]],AE:[`971`,`00`,`(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}`,[5,6,7,8,9,10,11,12],[[`(\\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`]],`0`],AF:[`93`,`00`,`[2-7]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`]],`0`],AG:[`1`,`011`,`(?:268|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([457]\\d{6})$|1`,`268$1`,0,`268`],AI:[`1`,`011`,`(?:264|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2457]\\d{6})$|1`,`264$1`,0,`264`],AL:[`355`,`00`,`(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}`,[6,7,8,9],[[`(\\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`]],`0`],AM:[`374`,`00`,`(?:[1-489]\\d|55|60|77)\\d{6}`,[8],[[`(\\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`]],`0`],AO:[`244`,`00`,`[29]\\d{8}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[29]`]]]],AR:[`54`,`00`,`(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}`,[10,11],[[`(\\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`,0,`$1 $2 $3-$4`],[`(\\d)(\\d{2})(\\d{4})(\\d{4})`,`$2 15-$3-$4`,[`91`],`0$1`,0,`$1 $2 $3-$4`],[`(\\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`,0,`$1 $2 $3-$4`]],`0`,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-4
126-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`],AS:[`1`,`011`,`(?:[58]\\d\\d|684|900)\\d{7}`,[10],0,`1`,0,`([267]\\d{6})$|1`,`684$1`,0,`684`],AT:[`43`,`00`,`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],[[`(\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]`,`(?:31|4)6|51|6(?:485|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`]],`0`],AU:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`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],[[`(\\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)`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:30|[89])`]]],`0`,0,`(183[12])|0`,0,0,0,[[`(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,[`163\\d{2,6}`,[5,6,7,8,9]],[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],AW:[`297`,`00`,`(?:[25-79]\\d\\d|800)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[25-9]`]]]],AX:[`358`,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`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],0,`0`,0,0,0,0,`18`,0,`00`],AZ:[`994`,`00`,`365\\d{6}|(?:[124579]\\d|60|88)\\d{7}`,[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`]],`0`],BA:[`387`,`00`,`6\\d{8}|(?:[35689]\\d|49|70)\\d{6}`,[8,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`]],`0`],BB:[`1`,`011`,`(?:246|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`246$1`,0,`246`],BD:[`880`,`00`,`[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],[[`(\\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`]],`0`],BE:[`32`,`00`,`4\\d{8}|[1-9]\\d{7}`,[8,9],[[`(\\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`]],`0`],BF:[`226`,`00`,`(?:[025-7]\\d|44)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[024-7]`]]]],BG:[`359`,`00`,`00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}`,[6,7,8,9,12],[[`(\\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`]],`0`],BH:[`973`,`00`,`[136-9]\\d{7}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[13679]|8[02-4679]`]]]],BI:[`257`,`00`,`(?:[267]\\d|31)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2367]`]]]],BJ:[`229`,`00`,`(?:01\\d|8)\\d{7}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`0`]]]],BL:[`590`,`00`,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}`],[`(?: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}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],BM:[`1`,`011`,`(?:441|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`441$1`,0,`441`],BN:[`673`,`00`,`[2-578]\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-578]`]]]],BO:[`591`,`00(?:1\\d)?`,`8001\\d{5}|(?:[2-467]\\d|50)\\d{6}`,[8,9],[[`(\\d)(\\d{7})`,`$1 $2`,[`[235]|4[46]`]],[`(\\d{8})`,`$1`,[`[67]`]],[`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`8`]]],`0`,0,`0(1\\d)?`],BQ:[`599`,`00`,`(?:[34]1|7\\d)\\d{5}`,[7],0,0,0,0,0,0,`[347]`],BR:[`55`,`00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)`,`[1-467]\\d{9,10}
12|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}`,[8,9,10,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37|86)`,`300|4(?:0(?:0|20)|370|864)`]],[`(\\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)`],[`(\\d{2})(\\d{5})(\\d{4})`,`$1 $2-$3`,[`[16][1-9]|[2-57-9]`],`($1)`]],`0`,0,`(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?`,`$2`],BS:[`1`,`011`,`(?:242|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([3-8]\\d{6})$|1`,`242$1`,0,`242`],BT:[`975`,`00`,`[178]\\d{7}|[2-8]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-6]|7[246]|8[2-4]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|[78]`]]]],BW:[`267`,`00`,`(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}`,[7,8,10],[[`(\\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`]]]],BY:[`375`,`810`,`(?:[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],[[`(\\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`]],`8`,0,`0|80?`,0,0,0,0,`8~10`],BZ:[`501`,`00`,`(?:0800\\d|[2-8])\\d{6}`,[7,11],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-8]`]],[`(\\d)(\\d{3})(\\d{4})(\\d{3})`,`$1-$2-$3-$4`,[`0`]]]],CA:[`1`,`011`,`[2-9]\\d{9}|3\\d{6}`,[7,10],0,`1`,0,0,0,0,0,[[`(?:2(?:04|[23]6|[48]9|5[07]|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}`,[10]],[``,[10]],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,[10]],[`900[2-9]\\d{6}`,[10]],[`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(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}`,[10]],0,[`310\\d{4}`,[7]],0,[`600[2-9]\\d{6}`,[10]]]],CC:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`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],0,`0`,0,`([59]\\d{7})$|0`,`8$1`,0,0,[[`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}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,0,[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],CD:[`243`,`00`,`(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}`,[7,8,9,10],[[`(\\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`]],`0`],CF:[`236`,`00`,`8776\\d{4}|(?:[27]\\d|61)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-8]`]]]],CG:[`242`,`00`,`222\\d{6}|(?:0\\d|80)\\d{7}`,[9],[[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[02]`]]]],CH:[`41`,`00`,`8\\d{11}|[2-9]\\d{8}`,[9,12],[[`(\\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`]],`0`],CI:[`225`,`00`,`[02]\\d{9}`,[10],[[`(\\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`]]]],CK:[`682`,`00`,`[2-578]\\d{4}`,[5],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`[2-578]`]]]],CL:[`56`,`(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0`,`12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}`,[9,10,11],[[`(\\d{5})(\\d{4})`,`$1 $2`,[`219`,`2196`],`($1)`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`60|809`]],[`(\\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(?:10|[2-9])`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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`]]]],CM:[`237`,`00`,`[26]\\d{8}|88\\d{6,7}`,[8,9],[[`(\\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`]]]],CN:[`86`,`00|1(?:[12]\\d|79)\\d\\d00`,`(?:(?: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],[[`(\\d{2})(\\d{5,6}
12)`,`$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`],[`(\\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`],[`(\\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`,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`,1],[`(\\d{3})(\\d{7,8})`,`$1 $2`,[`9`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`80`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[3-578]`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`1[3-9]`]],[`(\\d{2})(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`[12]`],`0$1`,1]],`0`,0,`(1(?:[12]\\d|79)\\d\\d)|0`,0,0,0,0,`00`],CO:[`57`,`00(?:4(?:[14]4|56)|[579])`,`(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}`,[8,10,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`46`]],[`(\\d{3})(\\d{7})`,`$1 $2`,[`6|90`],`($1)`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|9[14]`]],[`(\\d)(\\d{3})(\\d{7})`,`$1-$2-$3`,[`1`],`0$1`,0,`$1 $2 $3`]],`0`,0,`0([3579]|4(?:[14]4|56))?`],CR:[`506`,`00`,`(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}`,[8,10],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-7]|8[3-9]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[89]`]]],0,0,`(19(?:0[0-2468]|1[09]|20|66|77|99))`],CU:[`53`,`119`,`(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}`,[6,7,8,10],[[`(\\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`]],`0`],CV:[`238`,`0`,`(?:[2-59]\\d\\d|800)\\d{4}`,[7],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-589]`]]]],CW:[`599`,`00`,`(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[3467]`]],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9[4-8]`]]],0,0,0,0,0,`[69]`],CX:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`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],0,`0`,0,`([59]\\d{7})$|0`,`8$1`,0,0,[[`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}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,0,[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],CY:[`357`,`00`,`(?:[279]\\d|[58]0)\\d{6}`,[8],[[`(\\d{2})(\\d{6})`,`$1 $2`,[`[257-9]`]]]],CZ:[`420`,`00`,`(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}`,[9,10,11,12],[[`(\\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`]]]],DE:[`49`,`00`,`[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],[[`(\\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]|3[13])`],`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}
12)`,`$1 $2 $3`,[`15`],`0$1`]],`0`],DJ:[`253`,`00`,`(?:2\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[27]`]]]],DK:[`45`,`00`,`[2-9]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-9]`]]]],DM:[`1`,`011`,`(?:[58]\\d\\d|767|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`767$1`,0,`767`],DO:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,0,0,0,`8001|8[024]9`],DZ:[`213`,`00`,`(?:[1-4]|[5-79]\\d|80)\\d{7}`,[8,9],[[`(\\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`]],`0`],EC:[`593`,`00`,`1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}`,[8,9,10,11],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[2-7]`],`(0$1)`,0,`$1-$2-$3`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1`]]],`0`],EE:[`372`,`00`,`8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}`,[7,8,10],[[`(\\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`]]]],EG:[`20`,`00`,`[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}`,[8,9,10],[[`(\\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`]],`0`],EH:[`212`,`00`,`[5-8]\\d{8}`,[9],0,`0`,0,0,0,0,0,[[`528[89]\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}`],[`80[0-7]\\d{6}`],[`89\\d{7}`],0,0,0,0,[`(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}`]]],ER:[`291`,`00`,`[178]\\d{6}`,[7],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[178]`],`0$1`]],`0`],ES:[`34`,`00`,`[5-9]\\d{8}`,[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]`]]]],ET:[`251`,`00`,`(?:11|[2-579]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-579]`],`0$1`]],`0`],FI:[`358`,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`[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],[[`(\\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`]],`0`,0,0,0,0,`1[03-79]|[2-9]`,0,`00`],FJ:[`679`,`0(?:0|52)`,`45\\d{5}|(?:0800\\d|[235-9])\\d{6}`,[7,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[235-9]|45`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]]],0,0,0,0,0,0,0,`00`],FK:[`500`,`00`,`[2-7]\\d{4}`,[5]],FM:[`691`,`00`,`(?:[39]\\d\\d|820)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[389]`]]]],FO:[`298`,`00`,`[2-9]\\d{5}`,[6],[[`(\\d{6})`,`$1`,[`[2-9]`]]],0,0,`(10(?:01|[12]0|88))`],FR:[`33`,`00`,`[1-9]\\d{8}`,[9],[[`(\\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`]],`0`],GA:[`241`,`00`,`(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}`,[7,8],[[`(\\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`]],0,0,`0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})`,`$1`],GB:[`44`,`00`,`[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}`,[7,9,10],[[`(\\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`]],`0`,0,`0|180020`,0,0,0,[[`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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])
12))|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}`,[9,10]],[`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}`,[10]],[`80[08]\\d{7}|800\\d{6}|8001111`],[`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d`,[7,10]],[`70\\d{8}`,[10]],0,[`(?:3[0347]|55)\\d{8}`,[10]],[`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}`,[10]],[`56\\d{8}`,[10]]],0,` x`],GD:[`1`,`011`,`(?:473|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`473$1`,0,`473`],GE:[`995`,`00`,`(?:[3-57]\\d\\d|800)\\d{6}`,[9],[[`(\\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`]],`0`],GF:[`594`,`00`,`(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}`,[9],[[`(\\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`]],`0`],GG:[`44`,`00`,`(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?`,[7,9,10],0,`0`,0,`([25-9]\\d{5})$|0|180020`,`1481$1`,0,0,[[`1481[25-9]\\d{5}`,[10]],[`7(?:(?:781|839)\\d|911[17])\\d{5}`,[10]],[`80[08]\\d{7}|800\\d{6}|8001111`],[`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d`,[7,10]],[`70\\d{8}`,[10]],0,[`(?:3[0347]|55)\\d{8}`,[10]],[`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}`,[10]],[`56\\d{8}`,[10]]]],GH:[`233`,`00`,`(?:[235]\\d{3}|800)\\d{5}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[235]`],`0$1`]],`0`],GI:[`350`,`00`,`(?:[25]\\d|60)\\d{6}`,[8],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`2`]]]],GL:[`299`,`00`,`(?:19|[2-689]\\d|70)\\d{4}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`19|[2-9]`]]]],GM:[`220`,`00`,`[2-9]\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]]],GN:[`224`,`00`,`722\\d{6}|(?:3|6\\d)\\d{7}`,[8,9],[[`(\\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]`]]]],GP:[`590`,`00`,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`],[`(?: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}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],GQ:[`240`,`00`,`222\\d{6}|(?:3\\d|55|[89]0)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235]`]],[`(\\d{3})(\\d{6})`,`$1 $2`,[`[89]`]]]],GR:[`30`,`00`,`5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}`,[10,11,12],[[`(\\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`]]]],GT:[`502`,`00`,`80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}`,[8,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-8]`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]]],GU:[`1`,`011`,`(?:[58]\\d\\d|671|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`671$1`,0,`671`],GW:[`245`,`00`,`[49]\\d{8}|4\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`40`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`]]]],GY:[`592`,`001`,`(?:[2-8]\\d{3}|9008)\\d{3}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]]],HK:[`852`,`00(?:30|5[09]|[126-9]?)`,`8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}`,[5,6,7,8,9,11],[[`(\\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`]]],0,0,0,0,0,0,0,`00`],HN:[`504`,`00`,`8\\d{10}|[237-9]\\d{7}`,[8,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`[237-9]`]]]],HR:[`385`,`00`,`[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}`,[7,8,9],[[`(\\d{2})(\\d{2})(\\d{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`]],`0`],HT:[`509`,`00`,`[2-589]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[2-589]`]]]],HU:[`36`,`00`,`[235-7]\\d{8}|[1-9]\\d{7}`,[8,9],[[`(\\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`]],`06`],ID:[`62`,`00[89]`,`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],[[`(\\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`]],`0`],IE:[`353`,`00`,`(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}`,[7,8,9,10],[[`(\\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`]],`0`],IL:[`972`,`0(?:0|1[2-9])`,`1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}`,[7,8,9,10,11,12],[[`(\\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`]]],`0`],IM:[`44`,`00`,`1624\\d{6}|(?:[3578]\\d|90)\\d{8}`,[10],0,`0`,0,`([25-8]\\d{5})$|0|180020`,`1624$1`,0,`74576|(?:16|7[56])24`],IN:[`91`,`00`,`(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}`,[8,9,10,11,12,13],[[`(\\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)`],0,1],[`(\\d{4})(\\d{4,5})`,`$1 $2`,[`180`,`1800`],0,1],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`140`],0,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
12-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|8(?:28[235-7]|3))|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])\\d|8(?:[14-6]\\d|2[0-79]))|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`,[`16|[6-9]`],`0$1`,1],[`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`18[06]`,`18[06]0`],0,1],[`(\\d{4})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`18`],0,1]],`0`],IO:[`246`,`00`,`3\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`3`]]]],IQ:[`964`,`00`,`(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}`,[8,9,10],[[`(\\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`]],`0`],IR:[`98`,`00`,`[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}`,[4,5,6,7,10],[[`(\\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`]],`0`],IS:[`354`,`00|1(?:0(?:01|[12]0)|100)`,`(?:38\\d|[4-9])\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-9]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`3`]]],0,0,0,0,0,0,0,`00`],IT:[`39`,`00`,`0\\d{5,11}|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],[[`(\\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`,[`[03]`]]],0,0,0,0,0,0,[[`0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`],[`3[2-9]\\d{7,8}|(?:31|43)\\d{8}`,[9,10]],[`80(?:0\\d{3}|3)\\d{3}`,[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}`,[6,8,9,10]],[`1(?:78\\d|99)\\d{6}`,[9,10]],[`3[2-8]\\d{9,10}`,[11,12]],0,0,[`55\\d{8}`,[10]],[`84(?:[08]\\d{3}|[17])\\d{3}`,[6,9]]]],JE:[`44`,`00`,`1534\\d{6}|(?:[3578]\\d|90)\\d{8}`,[10],0,`0`,0,`([0-24-8]\\d{5})$|0|180020`,`1534$1`,0,0,[[`1534[0-24-8]\\d{5}`],[`7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}`],[`80(?:07(?:35|81)|8901)\\d{4}`],[`(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}`],[`701511\\d{4}`],0,[`(?: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}`],[`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}`],[`56\\d{8}`]]],JM:[`1`,`011`,`(?:[58]\\d\\d|658|900)\\d{7}`,[10],0,`1`,0,0,0,0,`658|876`],JO:[`962`,`00`,`(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}`,[8,9],[[`(\\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`,[`[47]`],`0$1`]],`0`],JP:[`81`,`010`,`00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}`,[8,9,10,11,12,13,14,15,16,17],[[`(\\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(?
12: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`,[`3|4(?:2[09]|7[01])|6[1-9]`,`3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]`],`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`,[`[25-9]`],`0$1`]],`0`,0,`(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0`,`$1`],KE:[`254`,`000`,`(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}`,[7,8,9,10],[[`(\\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`]],`0`],KG:[`996`,`00`,`8\\d{9}|[235-9]\\d{8}`,[9,10],[[`(\\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`]],`0`],KH:[`855`,`00[14-9]`,`1\\d{9}|[1-9]\\d{7,8}`,[8,9,10],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-9]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],`0`],KI:[`686`,`00`,`(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}`,[5,8],0,`0`],KM:[`269`,`00`,`[3478]\\d{6}`,[7],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[3478]`]]]],KN:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`869$1`,0,`869`],KP:[`850`,`00|99`,`85\\d{6}|(?:19\\d|[2-7])\\d{7}`,[8,10],[[`(\\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`]],`0`],KR:[`82`,`00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))`,`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],[[`(\\d{2})(\\d{3,4})`,`$1-$2`,[`(?:3[1-3]|[46][1-4]|5[1-5])1`],`0$1`],[`(\\d{4})(\\d{4})`,`$1-$2`,[`1`]],[`(\\d)(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[36]0|8`],`0$1`],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`[1346]|5[1-5]`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`],[`(\\d{2})(\\d{5})(\\d{4})`,`$1-$2-$3`,[`5`],`0$1`]],`0`,0,`0(8(?:[1-46-8]|5\\d\\d))?`],KW:[`965`,`00`,`18\\d{5}
12|(?:[2569]\\d|41)\\d{6}`,[7,8],[[`(\\d{4})(\\d{3,4})`,`$1 $2`,[`[169]|2(?:[235]|4[1-35-9])|52`]],[`(\\d{3})(\\d{5})`,`$1 $2`,[`[245]`]]]],KY:[`1`,`011`,`(?:345|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`345$1`,0,`345`],KZ:[`7`,`810`,`8\\d{13}|[78]\\d{9}`,[10,14],0,`8`,0,0,0,0,`7`,0,`8~10`],LA:[`856`,`00`,`[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}`,[8,9,10],[[`(\\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`,[`3`],`0$1`],[`(\\d{2})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],`0`],LB:[`961`,`00`,`[27-9]\\d{7}|[13-9]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[27-9]`]]],`0`],LC:[`1`,`011`,`(?:[58]\\d\\d|758|900)\\d{7}`,[10],0,`1`,0,`([2-8]\\d{6})$|1`,`758$1`,0,`758`],LI:[`423`,`00`,`[68]\\d{8}|(?:[2378]\\d|90)\\d{5}`,[7,9],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2379]|8(?:0[09]|7)`,`[2379]|8(?:0(?:02|9)|7)`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`69`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]]],`0`,0,`(1001)|0`],LK:[`94`,`00`,`[1-9]\\d{8}`,[9],[[`(\\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`]],`0`],LR:[`231`,`00`,`(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}`,[7,8,9],[[`(\\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`]],`0`],LS:[`266`,`00`,`(?:[256]\\d\\d|800)\\d{5}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2568]`]]]],LT:[`370`,`00`,`(?:[3469]\\d|52|[78]0)\\d{6}`,[8],[[`(\\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]],`0`,0,`[08]`],LU:[`352`,`00`,`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],[[`(\\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])`]],[`(\\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])`]],[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`20[2-689]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4`,[`20`]],[`(\\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]`]],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`80[01]|90[015]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`20`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4 $5`,[`20`]]],0,0,`(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)`],LV:[`371`,`00`,`(?:[268]\\d|78|90)\\d{6}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2679]|8[01]`]]]],LY:[`218`,`00`,`[2-9]\\d{8}`,[9],[[`(\\d{2})(\\d{7})`,`$1-$2`,[`[2-9]`],`0$1`]],`0`],MA:[`212`,`00`,`[5-8]\\d{8}`,[9],[[`(\\d{4})(\\d{5})`,`$1-$2`,[`892`],`0$1`],[`(\\d{2})(\\d{7})`,`$1-$2`,[`8(?:0[0-7]|9)`],`0$1`],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[5-8]`],`0$1`]],`0`,0,0,0,0,`[5-8]`],MC:[`377`,`00`,`(?:[3489]|[67]\\d)\\d{7}`,[8,9],[[`(\\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`,[`[67]`],`0$1`]],`0`],MD:[`373`,`00`,`(?:[235-7]\\d|[89]0)\\d{6}`,[8],[[`(\\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`]],`0`],ME:[`382`,`00`,`(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-9]`],`0$1`]],`0`],MF:[`590`,`00`,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}`],[`(?: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}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],MG:[`261`,`00`,`[23]\\d{8}`,[9],[[`(\\d{2})(\\d{2})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],`0`,0,`([24-9]\\d{6})$|0`,`20$1`],MH:[`692`,`011`,`329\\d{4}|(?:[256]\\d|45)\\d{5}`,[7],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-6]`]]],`1`],MK:[`389`,`00`,`[2-578]\\d{7}`,[8],[[`(\\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`]],`0`],ML:[`223`,`00`,`[24-9]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-9]`]]]],MM:[`95`,`00`,`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],[[`(\\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`]],`0`],MN:[`976`,`001`,`[12]\\d{7,9}|[5-9]\\d{7}`,[8,9,10],[[`(\\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`]],`0`],MO:[`853`,`00`,`0800\\d{3}|(?:28|[68]\\d)\\d{6}`,[7,8],[[`(\\d{4})(\\d{3})`,`$1 $2`,[`0`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[268]`]]]],MP:[`1`,`011`,`[58]\\d{9}|(?:67|90)0\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`670$1`,0,`670`],MQ:[`596`,`00`,`(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}`,[9],[[`(\\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`]],`0`],MR:[`222`,`00`,`(?:[2-4]\\d\\d|800)\\d{5}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-48]`]]]],MS:[`1`,`011`,`(?:[58]\\d\\d|664|900)\\d{7}`,[10],0,`1`,0,`([34]\\d{6})$|1`,`664$1`,0,`664`],MT:[`356`,`00`,`3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2357-9]`]]]],MU:[`230`,`0(?:0|[24-7]0|3[03])`,`(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}`,[7,8,10],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-46]|8[013]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[57]`]],[`(\\d{5})(\\d{5})`,`$1 $2`,[`8`]]],0,0,0,0,0,0,0,`020`],MV:[`960`,`0(?:0|19)`,`(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}`,[7,10],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[34679]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`]]],0,0,0,0,0,0,0,`00`],MW:[`265`,`00`,`(?:[1289]\\d|31|77)\\d{7}|1\\d{6}`,[7,9],[[`(\\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`]],`0`],MX:[`52`,`0[09]`,`[2-9]\\d{9}`,[10],[[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`33|5[56]|81`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-9]`]]],0,0,0,0,0,0,0,`00`],MY:[`60`,`00`,`1\\d{8,9}|(?:3\\d|[4-9])\\d{7}`,[8,9,10],[[`(\\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`]],`0`],MZ:[`258`,`00`,`(?:2|8\\d)\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2|8[2-79]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]]]],NA:[`264`,`00`,`[68]\\d{7,8}`,[8,9],[[`(\\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`]],`0`],NC:[`687`,`00`,`(?:050|[2-57-9]\\d\\d)\\d{3}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1.$2.$3`,[`[02-57-9]`]]]],NE:[`227`,`00`,`[027-9]\\d{7}`,[8],[[`(\\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]`]]]],NF:[`672`,`00`,`[13]\\d{5}`,[6],[[`(\\d{2})(\\d{4})`,`$1 $2`,[`1[0-3]`]],[`(\\d)(\\d{5})`,`$1 $2`,[`[13]`]]],0,0,`([0-258]\\d{4})$`,`3$1`],NG:[`234`,`009`,`(?:20|9\\d)\\d{8}|[78]\\d{9,13}`,[10,11,12,13,14],[[`(\\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`]],`0`],NI:[`505`,`00`,`(?:1800|[25-8]\\d{3})\\d{4}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[125-8]`]]]],NL:[`31`,`00`,`(?:[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],[[`(\\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`]],`0`],NO:[`47`,`00`,`(?:0|[2-9]\\d{3})\\d{4}`,[5,8],[[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-79]`]]],0,0,0,0,0,`[02-689]|7[0-8]`],NP:[`977`,`00`,`(?:1\\d|9)\\d{9}|[1-9]\\d{7}`,[8,10,11],[[`(\\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`]]],`0`],NR:[`674`,`00`,`(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[24-9]`]]]],NU:[`683`,`00`,`(?:[4-7]|888\\d)\\d{3}`,[4,7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`8`]]]],NZ:[`64`,`0(?:0|161)`,`[1289]\\d{9}|50\\d{5}
12(?:\\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],[[`(\\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`]],`0`,0,0,0,0,0,0,`00`],OM:[`968`,`00`,`(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}`,[7,8,9],[[`(\\d{3})(\\d{4,6})`,`$1 $2`,[`[58]`]],[`(\\d{2})(\\d{6})`,`$1 $2`,[`2`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[179]`]]]],PA:[`507`,`00`,`(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}`,[7,8,10,11],[[`(\\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`]]]],PE:[`51`,`00|19(?:1[124]|77|90)00`,`(?:[14-8]|9\\d)\\d{7}`,[8,9],[[`(\\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`]]],`0`,0,0,0,0,0,0,`00`,` Anexo `],PF:[`689`,`00`,`4\\d{5}(?:\\d{2})?|8\\d{7,8}`,[6,8,9],[[`(\\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`]]]],PG:[`675`,`00|140[1-3]`,`(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`18|[2-69]|85`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[78]`]]],0,0,0,0,0,0,0,`00`],PH:[`63`,`00`,`(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}`,[6,8,9,10,11,12,13],[[`(\\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`]]],`0`],PK:[`92`,`00`,`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],[[`(\\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)`]],`0`],PL:[`48`,`00`,`(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}`,[6,7,8,9,10],[[`(\\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`]]]],PM:[`508`,`00`,`[45]\\d{5}|(?:708|8\\d\\d)\\d{6}`,[6,9],[[`(\\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`]],`0`],PR:[`1`,`011`,`(?:[589]\\d\\d|787)\\d{7}`,[10],0,`1`,0,0,0,0,`787|939`],PS:[`970`,`00`,`[2489]2\\d{6}|(?:1\\d|5)\\d{8}`,[8,9,10],[[`(\\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`]]],`0`],PT:[`351`,`00`,`1693\\d{5}|(?:[26-9]\\d|30)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2[12]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`16|[236-9]`]]]],PW:[`680`,`01[12]`,`(?:[24-8]\\d\\d|345|900)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]]],PY:[`595`,`00`,`[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}`,[6,7,8,9,10,11],[[`(\\d{3})(\\d{3,6})`,`$1 $2`,[`[2-9]0`],`0$1`],[`(\\d{2})(\\d{5})`,`$1 $2`,[`3[289]|4[246-8]|61|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`]]],`0`],QA:[`974`,`00`,`800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}`,[7,8,9,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`2[136]|8`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]]],RE:[`262`,`00`,`709\\d{6}|(?:26|[689]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-9]`],`0$1`]],`0`,0,0,0,0,0,[[`26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}`],[`(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|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}`],[`80\\d{7}`],[`89[1-37-9]\\d{6}`],0,0,0,0,[`9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}`],[`8(?:1[019]|2[0156]|84|90)\\d{6}`]]],RO:[`40`,`00`,`(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}`,[6,9],[[`(\\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`]],`0`,0,0,0,0,0,0,0,` int `],RS:[`381`,`00`,`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],[[`(\\d{3})(\\d{3,9}
12)`,`$1 $2`,[`(?:2[389]|39)0|[7-9]`],`0$1`],[`(\\d{2})(\\d{5,10})`,`$1 $2`,[`[1-36]`],`0$1`]],`0`],RU:[`7`,`810`,`8\\d{13}|[347-9]\\d{9}`,[10,14],[[`(\\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)`]],`8`,0,0,0,0,`[3489]`,0,`8~10`],RW:[`250`,`00`,`(?:06|[27]\\d\\d|[89]00)\\d{6}`,[8,9],[[`(\\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`]],`0`],SA:[`966`,`00`,`(?:[15]\\d|800|92)\\d{7}`,[9,10],[[`(\\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{4})`,`$1 $2 $3`,[`8`]]],`0`],SB:[`677`,`0[01]`,`[6-9]\\d{6}|[1-6]\\d{4}`,[5,7],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])`]]]],SC:[`248`,`010|0[0-2]`,`(?:[2489]\\d|64)\\d{5}`,[7],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[246]|9[57]`]]],0,0,0,0,0,0,0,`00`],SD:[`249`,`00`,`[19]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[19]`],`0$1`]],`0`],SE:[`46`,`00`,`(?:[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],[[`(\\d{2})(\\d{2,3})(\\d{2})`,`$1-$2 $3`,[`20`],`0$1`,0,`$1 $2 $3`],[`(\\d{3})(\\d{4})`,`$1-$2`,[`9(?:00|39|44|9)`],`0$1`,0,`$1 $2`],[`(\\d{2})(\\d{3})(\\d{2})`,`$1-$2 $3`,[`[12][136]|3[356]|4[0246]|6[03]|90[1-9]`],`0$1`,0,`$1 $2 $3`],[`(\\d)(\\d{2,3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`,0,`$1 $2 $3 $4`],[`(\\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`,0,`$1 $2 $3`],[`(\\d{3})(\\d{2,3})(\\d{3})`,`$1-$2 $3`,[`9(?:00|39|44)`],`0$1`,0,`$1 $2 $3`],[`(\\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`,0,`$1 $2 $3 $4`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`10|7`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`,0,`$1 $2 $3 $4`],[`(\\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`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{3})`,`$1-$2 $3 $4`,[`9`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4 $5`,[`[26]`],`0$1`,0,`$1 $2 $3 $4 $5`]],`0`],SG:[`65`,`0[0-3]\\d`,`(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}`,[8,10,11],[[`(\\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`]]]],SH:[`290`,`00`,`(?:[256]\\d|8)\\d{3}`,[4,5],0,0,0,0,0,0,`[256]`],SI:[`386`,`00|10(?:22|66|88|99)`,`[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}`,[5,6,7,8],[[`(\\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)`]],`0`,0,0,0,0,0,0,`00`],SJ:[`47`,`00`,`0\\d{4}|(?:[489]\\d|79)\\d{6}`,[5,8],0,0,0,0,0,0,`79`],SK:[`421`,`00`,`[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}`,[6,7,9],[[`(\\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`]],`0`],SL:[`232`,`00`,`(?:[237-9]\\d|66)\\d{6}`,[8],[[`(\\d{2})(\\d{6})`,`$1 $2`,[`[236-9]`],`(0$1)`]],`0`],SM:[`378`,`00`,`(?:0549|[5-7]\\d)\\d{6}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]`]],[`(\\d{4})(\\d{6})`,`$1 $2`,[`0`]]],0,0,`([89]\\d{5})$`,`0549$1`],SN:[`221`,`00`,`(?:[378]\\d|93)\\d{7}`,[9],[[`(\\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]`]]]],SO:[`252`,`00`,`[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}`,[6,7,8,9],[[`(\\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}
12)`,`$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]|7[67]|9[2-9]`]]],`0`],SR:[`597`,`00`,`(?:[2-5]|[6-8]\\d|90)\\d{5}`,[6,7],[[`(\\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-9]`]]]],SS:[`211`,`00`,`[19]\\d{8}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[19]`],`0$1`]],`0`],ST:[`239`,`00`,`(?:22|9\\d)\\d{5}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[29]`]]]],SV:[`503`,`00`,`[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?`,[7,8,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[89]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[25-7]`]],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[89]`]]]],SX:[`1`,`011`,`7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`(5\\d{6})$|1`,`721$1`,0,`721`],SY:[`963`,`00`,`[1-359]\\d{8}|[1-5]\\d{7}`,[8,9],[[`(\\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]],`0`],SZ:[`268`,`00`,`0800\\d{4}|(?:[237]\\d|900)\\d{6}`,[8,9],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[0237]`]],[`(\\d{5})(\\d{4})`,`$1 $2`,[`9`]]]],TA:[`290`,`00`,`8\\d{3}`,[4],0,0,0,0,0,0,`8`],TC:[`1`,`011`,`(?:[58]\\d\\d|649|900)\\d{7}`,[10],0,`1`,0,`([2-479]\\d{6})$|1`,`649$1`,0,`649`],TD:[`235`,`00|16`,`(?:22|30|[689]\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[236-9]`]]],0,0,0,0,0,0,0,`00`],TG:[`228`,`00`,`[279]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[279]`]]]],TH:[`66`,`00[1-9]`,`(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}`,[8,9,10,13],[[`(\\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`]]],`0`],TJ:[`992`,`810`,`(?:[0-57-9]\\d|66)\\d{7}`,[9],[[`(\\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`,[`\\d`]]],0,0,0,0,0,0,0,`8~10`],TK:[`690`,`00`,`[2-47]\\d{3,6}`,[4,5,6,7]],TL:[`670`,`00`,`7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-489]|70`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`7`]]]],TM:[`993`,`810`,`(?:[1-6]\\d|71)\\d{6}`,[8],[[`(\\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`]],`8`,0,0,0,0,0,0,`8~10`],TN:[`216`,`00`,`[2-57-9]\\d{7}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-57-9]`]]]],TO:[`676`,`00`,`(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}`,[5,7],[[`(\\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]`]]]],TR:[`90`,`00`,`4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}`,[7,10,12,13],[[`(\\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]],`0`],TT:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-46-8]\\d{6})$|1`,`868$1`,0,`868`],TV:[`688`,`00`,`(?:2|7\\d\\d|90)\\d{4}`,[5,6,7],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`2`]],[`(\\d{2})(\\d{4})`,`$1 $2`,[`90`]],[`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]]],TW:[`886`,`0(?:0[25-79]|19)`,`[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}`,[7,8,9,10,11],[[`(\\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`]],`0`,0,0,0,0,0,0,0,`#`],TZ:[`255`,`00[056]`,`(?:[25-8]\\d|41|90)\\d{7}`,[9],[[`(\\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`]],`0`],UA:[`380`,`00`,`[89]\\d{9}|[3-9]\\d{8}`,[9,10],[[`(\\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`]],`0`,0,0,0,0,0,0,`0~0`],UG:[`256`,`00[057]`,`800\\d{6}|(?:[29]0|[347]\\d)\\d{7}`,[9],[[`(\\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`]],`0`],US:[`1`,`011`,`[2-9]\\d{9}|3\\d{6}`,[10],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`310`],0,1],[`(\\d{3})(\\d{3})(\\d{4})`,`($1) $2-$3`,[`[2-9]`],0,1,`$1-$2-$3`]],`1`,0,0,0,0,0,[[`(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|8[04-69]))[2-9]\\d{6}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],UY:[`598`,`0(?:0|1[3-9]\\d)`,`0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}`,[4,5,6,7,8,9,10,11,12,13],[[`(\\d{4,5})`,`$1`,[`21`]],[`(\\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`]]],`0`,0,0,0,0,0,0,`00`,` int. `],UZ:[`998`,`00`,`(?:20|33|[5-9]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[235-9]`]]]],VA:[`39`,`00`,`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],0,0,0,0,0,0,`06698`],VC:[`1`,`011`,`(?:[58]\\d\\d|784|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`784$1`,0,`784`],VE:[`58`,`00`,`[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}`,[10],[[`(\\d{3})(\\d{7})`,`$1-$2`,[`[24-689]`],`0$1`]],`0`],VG:[`1`,`011`,`(?:284|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-578]\\d{6})$|1`,`284$1`,0,`284`],VI:[`1`,`011`,`[58]\\d{9}|(?:34|90)0\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`340$1`,0,`340`],VN:[`84`,`00`,`[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}`,[7,8,9,10],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`80`],`0$1`,1],[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1`],0,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]],`0`],VU:[`678`,`00`,`[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}`,[5,7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[57-9]`]]]],WF:[`681`,`00`,`(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[47-9]`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]]]],WS:[`685`,`0`,`(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}`,[5,6,7,10],[[`(\\d{5})`,`$1`,[`[2-5]|6[1-9]`]],[`(\\d{3})(\\d{3,7})`,`$1 $2`,[`[68]`]],[`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]]],XK:[`383`,`00`,`2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}`,[8,9,10,11,12],[[`(\\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`]],`0`],YE:[`967`,`00`,`(?:1|7\\d)\\d{7}|[1-7]\\d{6}`,[7,8,9],[[`(\\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`]],`0`],YT:[`262`,`00`,`7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}`,[9],0,`0`,0,0,0,0,0,[[`269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}`],[`(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}`],[`80\\d{7}`],0,0,0,0,0,[`9(?:(?:39|47)8[01]|769\\d)\\d{4}`]]],ZA:[`27`,`00`,`[1-79]\\d{8}|8\\d{4,9}`,[5,6,7,8,9,10],[[`(\\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`]],`0`],ZM:[`260`,`00`,`800\\d{6}|(?:21|[579]\\d|63)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[579]`],`0$1`]],`0`],ZW:[`263`,`00`,`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],[[`(\\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}
12)`,`$1 $2`,[`(?:25|54)8`,`258|5483`],`0$1`]],`0`]},nonGeographic:{800:[`800`,0,`(?:00|[1-9]\\d)\\d{6}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`\\d`]]],0,0,0,0,0,0,[0,0,[`(?:00|[1-9]\\d)\\d{6}`]]],808:[`808`,0,`[1-9]\\d{7}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[1-9]`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,[`[1-9]\\d{7}`]]],870:[`870`,0,`7\\d{11}|[235-7]\\d{8}`,[9,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235-7]`]]],0,0,0,0,0,0,[0,[`(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}`],0,0,0,0,0,0,[`2\\d{8}`,[9]]]],878:[`878`,0,`10\\d{10}`,[12],[[`(\\d{2})(\\d{5})(\\d{5})`,`$1 $2 $3`,[`1`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[`10\\d{10}`]]],881:[`881`,0,`6\\d{9}|[0-36-9]\\d{8}`,[9,10],[[`(\\d)(\\d{3})(\\d{5})`,`$1 $2 $3`,[`[0-37-9]`]],[`(\\d)(\\d{3})(\\d{5,6})`,`$1 $2 $3`,[`6`]]],0,0,0,0,0,0,[0,[`6\\d{9}|[0-36-9]\\d{8}`]]],882:[`882`,0,`[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?`,[7,8,9,10,11,12],[[`(\\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]`]]],0,0,0,0,0,0,[0,[`342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}`,[7,8,9,10,12]],0,0,0,[`348[57]\\d{7}`,[11]],0,0,[`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}`]]],883:[`883`,0,`(?:[1-4]\\d|51)\\d{6,10}`,[8,9,10,11,12],[[`(\\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]`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[`(?: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}`]]],888:[`888`,0,`\\d{11}`,[11],[[`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`]],0,0,0,0,0,0,[0,0,0,0,0,0,[`\\d{11}`]]],979:[`979`,0,`[1359]\\d{8}`,[9],[[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[1359]`]]],0,0,0,0,0,0,[0,0,0,[`[1359]\\d{8}`]]]}};function fR(e,t){var n=Array.prototype.slice.call(t);return n.push(dR),e.apply(this,n)}var pR={}.constructor;function mR(e){return e!=null&&e.constructor===pR}function hR(e){"@babel/helpers - typeof";return hR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hR(e)}function gR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?gR(Object(n),!0).forEach(function(t){vR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vR(e,t,n){return(t=yR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yR(e){var t=bR(e,`string`);return hR(t)==`symbol`?t:t+``}function bR(e,t){if(hR(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(hR(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function xR(e,t){return ER(e)||TR(e,t)||CR(e,t)||SR()}function SR(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CR(e,t){if(e){if(typeof e==`string`)return wR(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wR(e,t):void 0}}function wR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function TR(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
13finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ER(e){if(Array.isArray(e))return e}function DR(e){var t=xR(Array.prototype.slice.call(e),4),n=t[0],r=t[1],i=t[2],a=t[3],o,s,c;if(typeof n==`string`)o=n;else throw TypeError(`A text for parsing must be a string.`);if(!r||typeof r==`string`)a?(s=i,c=a):(s=void 0,c=i),r&&(s=_R({defaultCountry:r},s));else if(mR(r))i?(s=r,c=i):c=r;else throw Error(`Invalid second argument: ${r}`);return{text:o,options:s,metadata:c}}var OR=`0-90-9٠-٩۰-۹`,kR=`-‐-―−ー-//.. \xA0­​⁠ ()()[]\\[\\]~⁓∼~`,AR=`++`;function jR(e){"@babel/helpers - typeof";return jR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jR(e)}function MR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,PR(r.key),r)}}function NR(e,t,n){return t&&MR(e.prototype,t),n&&MR(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function PR(e){var t=FR(e,`string`);return jR(t)==`symbol`?t:t+``}function FR(e,t){if(jR(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(jR(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function IR(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function LR(e,t,n){return t=KR(t),RR(e,UR()?Reflect.construct(t,n||[],KR(e).constructor):t.apply(e,n))}function RR(e,t){if(t&&(jR(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return zR(e)}function zR(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function BR(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&GR(e,t)}function VR(e){var t=typeof Map==`function`?new Map:void 0;return VR=function(e){if(e===null||!WR(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return HR(e,arguments,KR(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),GR(n,e)},VR(e)}function HR(e,t,n){if(UR())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&GR(i,n.prototype),i}function UR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(UR=function(){return!!e})()}function WR(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function GR(e,t){return GR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},GR(e,t)}function KR(e){return KR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},KR(e)}var qR=function(e){function t(e){var n;return IR(this,t),n=LR(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return BR(t,e),NR(t)}(VR(Error));function JR(e,t){e=e.split(`-`),t=t.split(`-`);for(var n=e[0].split(`.`),r=t[0].split(`.`),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function YR(e){"@babel/helpers - typeof";return YR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},YR(e)}function XR(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ZR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,$R(r.key),r)}}
vendor: 7,081 bytes, line 13
13function QR(e,t,n){return t&&ZR(e.prototype,t),n&&ZR(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $R(e){var t=ez(e,`string`);return YR(t)==`symbol`?t:t+``}function ez(e,t){if(YR(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(YR(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tz=`1.2.0`,nz=`1.7.35`,rz=` ext. `,iz=/^\d+$/,az=function(){function e(t){XR(this,e),dz(t),this.metadata=t,hz.call(this,t)}return QR(e,[{key:`getCountries`,value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!==`001`})}},{key:`getCountryMetadata`,value:function(e){return this.metadata.countries[e]}},{key:`nonGeographic`,value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:`hasCountry`,value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:`hasCallingCode`,value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{key:`isNonGeographicCallingCode`,value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:`country`,value:function(e){return this.selectNumberingPlan(e)}},{key:`selectNumberingPlan`,value:function(e,t){if(e&&iz.test(e)&&(t=e,e=null),e&&e!==`001`){if(!this.hasCountry(e))throw Error(`Unknown country: ${e}`);this.numberingPlan=new oz(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error(`Unknown calling code: ${t}`);this.numberingPlan=new oz(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[0]===`001`)return this.metadata.countries[`001`]}}},{key:`countryCallingCode`,value:function(){return this.numberingPlan.callingCode()}},{key:`IDDPrefix`,value:function(){return this.numberingPlan.IDDPrefix()}},{key:`defaultIDDPrefix`,value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:`nationalNumberPattern`,value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:`possibleLengths`,value:function(){return this.numberingPlan.possibleLengths()}},{key:`formats`,value:function(){return this.numberingPlan.formats()}},{key:`nationalPrefixForParsing`,value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:`nationalPrefixTransformRule`,value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:`leadingDigits`,value:function(){return this.numberingPlan.leadingDigits()}},{key:`hasTypes`,value:function(){return this.numberingPlan.hasTypes()}},{key:`type`,value:function(e){return this.numberingPlan.type(e)}},{key:`ext`,value:function(){return this.numberingPlan.ext()}},{key:`countryCallingCodes`,value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:`chooseCountryByCountryCallingCode`,value:function(e){return this.selectNumberingPlan(e)}},{key:`hasSelectedNumberingPlan`,value:function(){return this.numberingPlan!==void 0}}])}(),oz=function(){function e(t,n){XR(this,e),this.globalMetadataObject=n,this.metadata=t,hz.call(this,n.metadata)}return QR(e,[{key:`callingCode`,value:function(){return this.metadata[0]}},{key:`getDefaultCountryMetadataForRegion`,value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:`IDDPrefix`,value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:`defaultIDDPrefix`,value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:`nationalNumberPattern`,value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:`possibleLengths`,value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:`_getFormats`,value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:`formats`,value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new sz(t,e)})}},{key:`nationalPrefix`,value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:`_getNationalPrefixFormattingRule`,value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:`nationalPrefixFormattingRule`,value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:`_nationalPrefixForParsing`,value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:`nationalPrefixForParsing`,value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:`nationalPrefixTransformRule`,value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:`_getNationalPrefixIsOptionalWhenFormatting`,value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:`nationalPrefixIsOptionalWhenFormattingInNationalFormat`,value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:`leadingDigits`,value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:`types`,value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:`hasTypes`,value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:`type`,value:function(e){if(this.hasTypes()&&uz(this.types(),e))return new lz(uz(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?rz:this.metadata[13]||rz}}])}(),sz=function(){function e(t,n){XR(this,e),this._format=t,this.metadata=n}return QR(e,[{key:`pattern`,value:function(){return this._format[0]}},{key:`format`,value:function(){return this._format[1]}},{key:`leadingDigitsPatterns`,value:function(){return this._format[2]||[]}},{key:`nationalPrefixFormattingRule`,value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:`nationalPrefixIsOptionalWhenFormattingInNationalFormat`,value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:`nationalPrefixIsMandatoryWhenFormattingInNationalFormat`,value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:`usesNationalPrefix`,value:function(){return!!(this.nationalPrefixFormattingRule()&&!cz.test(this.nationalPrefixFormattingRule()))}}
13,{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}])}(),cz=/^\(?\$1\)?$/,lz=function(){function e(t,n){XR(this,e),this.type=t,this.metadata=n}return QR(e,[{key:`pattern`,value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:`possibleLengths`,value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function uz(e,t){switch(t){case`FIXED_LINE`:return e[0];case`MOBILE`:return e[1];case`TOLL_FREE`:return e[2];case`PREMIUM_RATE`:return e[3];case`PERSONAL_NUMBER`:return e[4];case`VOICEMAIL`:return e[5];case`UAN`:return e[6];case`PAGER`:return e[7];case`VOIP`:return e[8];case`SHARED_COST`:return e[9]}}function dz(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!mR(e)||!mR(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${mR(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+fz(e)+`: `+e}.`)}var fz=function(e){return YR(e)};function pz(e,t){if(t=new az(t),t.hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function mz(e,t){return t.countries.hasOwnProperty(e)}function hz(e){var t=e.version;typeof t==`number`?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?JR(t,tz)===-1?this.v2=!0:JR(t,nz)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var gz=`;ext=`,_z=function(e){return`([${OR}]{1,${e}})`};function vz(e){var t=`20`,n=`15`,r=`9`,i=`6`,a=`[ \xA0\\t,]*`,o=`[:\\..]?[ \xA0\\t,-]*`,s=`#?`,c=`(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)`,l=`(?:[xx##~~]|int|int)`,u=`[- ]+`,d=`[ \xA0\\t]*`,f=`(?:,{2}|;)`,p=gz+_z(t),m=a+c+o+_z(t)+s,h=a+l+o+_z(r)+s,g=u+_z(i)+`#`,_=d+f+o+_z(n)+s,v=d+`(?:,)+`+o+_z(r)+s;return p+`|`+m+`|`+h+`|`+g+`|`+_+`|`+v}var yz=`[`+OR+`]{2}`,bz=`[`+AR+`]{0,1}(?:[`+kR+`]*[`+OR+`]){3,}[`+kR+OR+`]*`,xz=RegExp(`^[`+AR+`]{0,1}(?:[`+kR+`]*[`+OR+`]){1,2}$`,`i`),Sz=bz+`(?:`+vz()+`)?`,Cz=RegExp(`^`+yz+`$|^`+Sz+`$`,`i`);function wz(e){return e.length>=2&&Cz.test(e)}function Tz(e){return xz.test(e)}var Ez=RegExp(`(?:`+vz()+`)$`,`i`);function Dz(e){var t=e.search(Ez);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Ez),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}function Oz(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=kz(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
14In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kz(e,t){if(e){if(typeof e==`string`)return Az(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Az(e,t):void 0}}function Az(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var jz={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`};function Mz(e){return jz[e]}function Nz(e){for(var t=``,n=Oz(e.split(``)),r;!(r=n()).done;){var i=r.value,a=Mz(i);a&&(t+=a)}return t}function Pz(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Fz(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fz(e,t){if(e){if(typeof e==`string`)return Iz(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Iz(e,t):void 0}}function Iz(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Lz(e){for(var t=``,n=Pz(e.split(``)),r;!(r=n()).done;){var i=r.value;t+=Rz(i,t)||``}return t}function Rz(e,t,n){if(e===`+`){if(t){typeof n==`function`&&n(`end`);return}return`+`}return Mz(e)}function zz(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Bz(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
16In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bz(e,t){if(e){if(typeof e==`string`)return Vz(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vz(e,t):void 0}}function Vz(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Hz(e,t){for(var n=e.slice(),r=zz(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(e,t){return e-t})}function Uz(e,t,n){return Wz(e,t,void 0,n)}function Wz(e,t,n,r){t&&(r=new az(r.metadata),r.selectNumberingPlan(t));var i=r.type(n),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return`IS_POSSIBLE`;if(n===`FIXED_LINE_OR_MOBILE`){if(!r.type(`FIXED_LINE`))return Wz(e,t,`MOBILE`,r);var o=r.type(`MOBILE`);o&&(a=Hz(a,o.possibleLengths()))}else if(n&&!i)return`INVALID_LENGTH`;var s=e.length,c=a[0];return c===s?`IS_POSSIBLE`:c>s?`TOO_SHORT`:a[a.length-1]<s?`TOO_LONG`:a.indexOf(s,1)>=0?`IS_POSSIBLE`:`INVALID_LENGTH`}function Gz(e,t,n){if(t===void 0&&(t={}),n=new az(n),t.v2){if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Kz(e.phone||e.nationalNumber,e.country,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error(`Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.`)}function Kz(e,t,n){switch(Uz(e,t,n)){case`IS_POSSIBLE`:return!0;default:return!1}}function qz(e,t){return e=e||``,RegExp(`^(?:`+t+`)$`).test(e)}function Jz(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Yz(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
17In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yz(e,t){if(e){if(typeof e==`string`)return Xz(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xz(e,t):void 0}}function Xz(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Zz=[`MOBILE`,`PREMIUM_RATE`,`TOLL_FREE`,`SHARED_COST`,`VOIP`,`PERSONAL_NUMBER`,`PAGER`,`UAN`,`VOICEMAIL`];function Qz(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new az(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(qz(r,n.nationalNumberPattern())){if($z(r,`FIXED_LINE`,n))return n.type(`MOBILE`)&&n.type(`MOBILE`).pattern()===``||!n.type(`MOBILE`)||$z(r,`MOBILE`,n)?`FIXED_LINE_OR_MOBILE`:`FIXED_LINE`;for(var i=Jz(Zz),a;!(a=i()).done;){var o=a.value;if($z(r,o,n))return o}}}}function $z(e,t,n){var r=n.type(t);return!r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?!1:qz(e,r.pattern())}function eB(e,t,n){return t=t||{},n=new az(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes()?Qz(e,t,n.metadata)!==void 0:qz(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern())}function tB(e,t,n){var r=new az(n).getCountryCodesForCallingCode(e);
17return r?r.filter(function(e){return nB(t,e,n)}):[]}function nB(e,t,n){var r=new az(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var rB=RegExp(`([`+OR+`])`);function iB(e,t,n,r){if(t){var i=new az(r);i.selectNumberingPlan(t,n);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var o=e.match(rB);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]===`0`))return e}}}function aB(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=RegExp(`^(?:`+t.numberingPlan.nationalPrefixForParsing()+`)`),r=n.exec(e);if(r){var i,a,o=r.length-1,s=o>0&&r[o];if(t.nationalPrefixTransformRule()&&s)i=e.replace(n,t.nationalPrefixTransformRule()),o>1&&(a=r[1]);else{var c=r[0];i=e.slice(c.length),s&&(a=r[1])}var l;if(s){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(l=t.numberingPlan.nationalPrefix())}else l=r[0];return{nationalNumber:i,nationalPrefix:l,carrierCode:a}}}return{nationalNumber:e}}function oB(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=sB(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
18In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sB(e,t){if(e){if(typeof e==`string`)return cB(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cB(e,t):void 0}}function cB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lB(e,t){var n=t.countries,r=t.metadata;r=new az(r);for(var i=oB(n),a;!(a=i()).done;){var o=a.value;if(r.selectNumberingPlan(o),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return o}else if(Qz({phone:e,country:o},void 0,r.metadata))return o}}var uB=!1;function dB(e,t){var n=t.nationalNumber,r=t.metadata;if(uB&&r.isNonGeographicCallingCode(e))return`001`;var i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:lB(n,{countries:i,metadata:r.metadata})}function fB(e,t,n){var r=aB(e,n),i=r.carrierCode,a=r.nationalNumber;return a!==e&&(!pB(e,a,n)||n.numberingPlan.possibleLengths()&&(t||(t=dB(n.numberingPlan.callingCode(),{nationalNumber:a,metadata:n})),!mB(a,t,n)))?{nationalNumber:e}:{nationalNumber:a,carrierCode:i}}function pB(e,t,n){return!(qz(e,n.nationalNumberPattern())&&!qz(t,n.nationalNumberPattern()))}function mB(e,t,n){switch(Uz(e,t,n)){case`TOO_SHORT`:case`INVALID_LENGTH`:return!1;default:return!0}}function hB(e,t,n,r,i){var a=t||n?pz(t||n,i):r;if(e.indexOf(a)===0){i=new az(i),i.selectNumberingPlan(t||n,a);var o=e.slice(a.length),s=fB(o,t,i).nationalNumber,c=fB(e,t,i).nationalNumber;if(!qz(c,i.nationalNumberPattern())&&qz(s,i.nationalNumberPattern())||Uz(c,t,i)===`TOO_LONG`)return{countryCallingCode:a,number:o}}return{number:e}}function gB(e,t,n,r,i){if(!e)return{};var a;if(e[0]!==`+`){var o=iB(e,t||n,r,i);if(o&&o!==e)a=!0,e=`+`+o;else{if(t||n||r){var s=hB(e,t,n,r,i),c=s.countryCallingCode,l=s.number;if(c)return{countryCallingCodeSource:`FROM_NUMBER_WITHOUT_PLUS_SIGN`,countryCallingCode:c,number:l}}return{number:e}}}if(e[1]===`0`)return{};i=new az(i);for(var u=2;u-1<=3&&u<=e.length;){var d=e.slice(1,u);if(i.hasCallingCode(d))return i.selectNumberingPlan(d),{countryCallingCodeSource:a?`FROM_NUMBER_WITH_IDD`:`FROM_NUMBER_WITH_PLUS_SIGN`,countryCallingCode:d,number:e.slice(u)};u++}return{}}function _B(e){return e.replace(RegExp(`[${kR}]+`,`g`),` `).trim()}var vB=/(\$\d)/;function yB(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(vB,t.nationalPrefixFormattingRule()):t.format());return r?_B(a):a}var bB=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function xB(e,t,n){var r=new az(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(bB.test(r.IDDPrefix()))return r.IDDPrefix()}function SB(e){var t=e.number,n=e.ext;if(!t)return``;if(t[0]!==`+`)throw Error(`"formatRFC3966()" expects "number" to be in E.164 format.`);return`tel:${t}${n?`;ext=`+n:``}`}var CB={formatExtension:function(e,t,n){return`${e}${n.ext()}${t}`}};function wB(e,t,n,r){if(n=n?kB({},CB,n):CB,r=new az(r),e.country&&e.country!==`001`){if(!r.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);r.selectNumberingPlan(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||``;var i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,o;switch(t){case`NATIONAL`:return a?(o=TB(a,e.carrierCode,`NATIONAL`,r,n),DB(o,e.ext,r,n.formatExtension)):``;
18case`INTERNATIONAL`:return a?(o=TB(a,null,`INTERNATIONAL`,r,n),o=`+${i} ${o}`,DB(o,e.ext,r,n.formatExtension)):`+${i}`;case`E.164`:return`+${i}${a}`;case`RFC3966`:return SB({number:`+${i}${a}`,ext:e.ext});case`IDD`:if(!n.fromCountry)return;var s=OB(a,e.carrierCode,i,n.fromCountry,r);return s?DB(s,e.ext,r,n.formatExtension):void 0;default:throw Error(`Unknown "format" argument passed to "formatNumber()": "${t}"`)}}function TB(e,t,n,r,i){var a=EB(r.formats(),e);return a?yB(e,a,{useInternationalFormat:n===`INTERNATIONAL`,withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function EB(e,t){return AB(e,function(e){if(e.leadingDigitsPatterns().length>0){var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(t.search(n)!==0)return!1}return qz(t,e.pattern())})}function DB(e,t,n,r){return t?r(e,t,n):e}function OB(e,t,n,r,i){if(pz(r,i.metadata)===n){var a=TB(e,t,`NATIONAL`,i);return n===`1`?n+` `+a:a}var o=xB(r,void 0,i.metadata);if(o)return`${o} ${n} ${TB(e,null,`INTERNATIONAL`,i)}`}function kB(){for(var e=1,t=[...arguments];e<t.length;){if(t[e])for(var n in t[e])t[0][n]=t[e][n];e++}return t[0]}function AB(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function jB(e){"@babel/helpers - typeof";return jB=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jB(e)}function MB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MB(Object(n),!0).forEach(function(t){PB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function PB(e,t,n){return(t=RB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FB(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function IB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,RB(r.key),r)}}function LB(e,t,n){return t&&IB(e.prototype,t),n&&IB(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function RB(e){var t=zB(e,`string`);return jB(t)==`symbol`?t:t+``}function zB(e,t){if(jB(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(jB(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var BB=!1,VB=function(){function e(t,n,r){if(FB(this,e),!t)throw TypeError(`First argument is required`);if(typeof t!=`string`)throw TypeError(`First argument must be a string`);if(t[0]===`+`&&!n)throw TypeError("`metadata` argument not passed");if(mR(n)&&mR(n.countries)){r=n;var i=t;if(!WB.test(i))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=gB(i,void 0,void 0,void 0,r),o=a.countryCallingCode;if(n=a.number,t=o,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if(typeof n!=`string`)throw TypeError("`nationalNumber` argument must be a string");dz(r);var s=UB(t,r),c=s.country,l=s.countryCallingCode;this.country=c,this.countryCallingCode=l,this.nationalNumber=n,this.number=`+`+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return LB(e,[{key:`setExt`,value:function(e){this.ext=e}},{key:`getPossibleCountries`,value:function(){return this.country?[this.country]:tB(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:`isPossible`,value:function(){return Gz(this,{v2:!0},this.getMetadata())}}
18,{key:`isValid`,value:function(){return eB(this,{v2:!0},this.getMetadata())}},{key:`isNonGeographic`,value:function(){return new az(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:`isEqual`,value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:`getType`,value:function(){return Qz(this,{v2:!0},this.getMetadata())}},{key:`format`,value:function(e,t){return wB(this,e,t?NB(NB({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:`formatNational`,value:function(e){return this.format(`NATIONAL`,e)}},{key:`formatInternational`,value:function(e){return this.format(`INTERNATIONAL`,e)}},{key:`getURI`,value:function(e){return this.format(`RFC3966`,e)}}])}(),HB=function(e){return/^[A-Z]{2}$/.test(e)};function UB(e,t){var n,r,i=new az(t);return HB(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):(r=e,BB&&i.isNonGeographicCallingCode(r)&&(n=`001`)),{country:n,countryCallingCode:r}}var WB=/^\+\d+$/,GB=`([`+OR+`]|[\\-\\.\\(\\)]?)`,KB=`^\\+`+GB+`*[`+OR+`]`+GB+`*$`,qB=new RegExp(KB,`g`),JB=OR,YB=`[`+JB+`]+((\\-)*[`+JB+`])*`,XB=`[a-zA-Z]+((\\-)*[`+JB+`])*`,ZB=`^(`+YB+`\\.)*`+XB+`\\.?$`,QB=new RegExp(ZB,`g`),$B=`tel:`,eV=`;phone-context=`,tV=`;isub=`;function nV(e){var t=e.indexOf(eV);if(t<0)return null;var n=t+eV.length;if(n>=e.length)return``;var r=e.indexOf(`;`,n);return r>=0?e.substring(n,r):e.substring(n)}function rV(e){return e===null?!0:e.length===0?!1:qB.test(e)||QB.test(e)}function iV(e,t){var n=t.extractFormattedPhoneNumber,r=nV(e);if(!rV(r))throw new qR(`NOT_A_NUMBER`);var i;if(r===null)i=n(e)||``;else{i=``,r.charAt(0)===`+`&&(i+=r);var a=e.indexOf($B),o=a>=0?a+$B.length:0,s=e.indexOf(eV);i+=e.substring(o,s)}var c=i.indexOf(tV);if(c>0&&(i=i.substring(0,c)),i!==``)return i}var aV=250,oV=RegExp(`[`+AR+OR+`]`),sV=RegExp(`[^`+OR+`#]+$`),cV=!1;function lV(e,t,n){if(t=t||{},n=new az(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new qR(`INVALID_COUNTRY`):Error(`Unknown country: ${t.defaultCountry}`);var r=dV(e,t.v2,t.extract),i=r.number,a=r.ext,o=r.error;if(!i){if(t.v2)throw o===`TOO_SHORT`?new qR(`TOO_SHORT`):new qR(`NOT_A_NUMBER`);return{}}var s=pV(i,t.defaultCountry,t.defaultCallingCode,n),c=s.country,l=s.nationalNumber,u=s.countryCallingCode,d=s.countryCallingCodeSource,f=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new qR(`INVALID_COUNTRY`);return{}}if(!l||l.length<2){if(t.v2)throw new qR(`TOO_SHORT`);return{}}if(l.length>17){if(t.v2)throw new qR(`TOO_LONG`);return{}}if(t.v2){var p=new VB(u,l,n.metadata);return c&&(p.country=c),f&&(p.carrierCode=f),a&&(p.ext=a),p.__countryCallingCodeSource=d,p}var m=(t.extended?n.hasSelectedNumberingPlan():c)?qz(l,n.nationalNumberPattern()):!1;return t.extended?{country:c,countryCallingCode:u,carrierCode:f,valid:m,possible:m?!0:!!(t.extended===!0&&n.possibleLengths()&&Kz(l,c,n)),phone:l,ext:a}:m?fV(c,l,a):{}}function uV(e,t,n){if(e){if(e.length>aV){if(n)throw new qR(`TOO_LONG`);return}if(t===!1)return e;var r=e.search(oV);if(!(r<0))return e.slice(r).replace(sV,``)}}function dV(e,t,n){var r=iV(e,{extractFormattedPhoneNumber:function(e){return uV(e,n,t)}});if(!r)return{};if(!wz(r))return Tz(r)?{error:`TOO_SHORT`}:{};var i=Dz(r);return i.ext?i:{number:r}}function fV(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function pV(e,t,n,r){var i=gB(Lz(e),void 0,t,n,r.metadata),a=i.countryCallingCodeSource,o=i.countryCallingCode,s=i.number,c;if(o)r.selectNumberingPlan(o);else if(s&&(t||n))r.selectNumberingPlan(t,n),t?c=t:cV&&r.isNonGeographicCallingCode(n)&&(c=`001`),o=n||pz(t,r.metadata);else return{};if(!s)return{countryCallingCodeSource:a,countryCallingCode:o};var l=fB(Lz(s),c,r),u=l.nationalNumber,d=l.carrierCode,f=dB(o,{nationalNumber:u,metadata:r});return f&&(c=f,f===`001`||r.selectNumberingPlan(c)),{country:c,countryCallingCode:o,countryCallingCodeSource:a,nationalNumber:u,carrierCode:d}}function mV(e){"@babel/helpers - typeof";return mV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},mV(e)}function hV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
vendor: 11,081 bytes, lines 18-19
18t%2?hV(Object(n),!0).forEach(function(t){_V(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _V(e,t,n){return(t=vV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vV(e){var t=yV(e,`string`);return mV(t)==`symbol`?t:t+``}function yV(e,t){if(mV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(mV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function bV(e,t,n){return lV(e,gV(gV({},t),{},{v2:!0}),n)}function xV(e){"@babel/helpers - typeof";return xV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xV(e)}function SV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?SV(Object(n),!0).forEach(function(t){wV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wV(e,t,n){return(t=TV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TV(e){var t=EV(e,`string`);return xV(t)==`symbol`?t:t+``}function EV(e,t){if(xV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(xV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function DV(e,t,n){t&&t.defaultCountry&&!mz(t.defaultCountry,n)&&(t=CV(CV({},t),{},{defaultCountry:void 0}));try{return bV(e,t,n)}catch(e){if(!(e instanceof qR))throw e}}function OV(){var e=DR(arguments),t=e.text,n=e.options,r=e.metadata;return DV(t,n,r)}function kV(e){"@babel/helpers - typeof";return kV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kV(e)}function AV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?AV(Object(n),!0).forEach(function(t){MV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MV(e,t,n){return(t=NV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NV(e){var t=PV(e,`string`);return kV(t)==`symbol`?t:t+``}function PV(e,t){if(kV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(kV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function FV(){var e=DR(arguments),t=e.text,n=e.options,r=e.metadata;n=jV(jV({},n),{},{extract:!1});var i=DV(t,n,r);return i&&i.isValid()||!1}function IV(e){"@babel/helpers - typeof";return IV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},IV(e)}function LV(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function RV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,BV(r.key),r)}}function zV(e,t,n){return t&&RV(e.prototype,t),n&&RV(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function BV(e){var t=VV(e,`string`);return IV(t)==`symbol`?t:t+``}function VV(e,t){if(IV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(IV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var HV=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;LV(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}return zV(e,[{key:`reset`,value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits=``,this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:`resetNationalSignificantNumber`,value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:`update`,value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:`initCountryAndCallingCode`,value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:`setCountry`,value:function(e){this.country=e,this.onCountryChange(e)}},{key:`setCallingCode`,value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:`startInternationalNumber`,value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:`appendDigits`,value:function(e){this.digits+=e}},{key:`appendNationalSignificantNumberDigits`,value:function(e){this.nationalSignificantNumber+=e}},{key:`getNationalDigits`,value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:`getDigitsWithoutInternationalPrefix`,value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])}();function UV(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=WV(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
19In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WV(e,t){if(e){if(typeof e==`string`)return GV(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?GV(e,t):void 0}}function GV(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var KV=RegExp(`x`);function qV(e,t){if(t<1)return``;for(var n=``;t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function JV(e,t){return e[t]===`)`&&t++,YV(e.slice(0,t))}function YV(e){for(var t=[],n=0;n<e.length;)e[n]===`(`?t.push(n):e[n]===`)`&&t.pop(),n++;var r=0,i=``;t.push(e.length);for(var a=0,o=t;a<o.length;a++){var s=o[a];i+=e.slice(r,s),r=s+1}return i}function XV(e,t,n){for(var r=UV(n.split(``)),i;!(i=r()).done;){var a=i.value;if(e.slice(t+1).search(KV)<0)return;t=e.search(KV),e=e.replace(KV,a)}return[e,t]}function ZV(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(RegExp(`^(?:${t.pattern()})\$`).test(e.nationalSignificantNumber))return $V(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}function QV(e,t,n){return Uz(e,t,n)===`IS_POSSIBLE`}function $V(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(t)){var o=eH(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:a,metadata:r});if(o)return o}return eH(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:a,metadata:r})}function eH(e,t,n){var r=n.metadata,i=n.useNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix,o=yB(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:r});if(i||(e.nationalPrefix?o=e.nationalPrefix+a(t)+o:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(o=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+` `+o)),tH(o,e))return o}function tH(e,t){return Nz(e)===t.getNationalDigits()}function nH(e){"@babel/helpers - typeof";return nH=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nH(e)}function rH(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function iH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,oH(r.key),r)}}function aH(e,t,n){return t&&iH(e.prototype,t),n&&iH(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function oH(e){var t=sH(e,`string`);return nH(t)==`symbol`?t:t+``}function sH(e,t){if(nH(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(nH(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var cH=function(){function e(){rH(this,e)}return aH(e,[{key:`parse`,value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),this.context.length!==1)throw Error(`Non-finalized contexts left when pattern parse ended`);var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:`|`,args:n.concat([fH(r)])};if(r.length===0)throw Error(`Pattern is required`);return r.length===1?r[0]:r}},{key:`startContext`,value:function(e){this.context.push(e)}},{key:`endContext`,value:function(){this.context.pop()}},{key:`getContext`,value:function(){return this.context[this.context.length-1]}},{key:`parsePattern`,value:function(e){if(!e)throw Error(`Pattern is required`);var t=e.match(dH);if(!t){if(uH.test(e))throw Error(`Illegal characters found in a pattern: ${e}`);this.getContext().instructions=this.getContext().instructions.concat(e.split(``));return}var n=t[1],r=e.slice(0,t.index),i=e.slice(t.index+n.length);switch(n){case`(?:`:r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case`)`:if(!this.getContext().or)throw Error(`")" operator must be preceded by "(?:" operator`);if(r&&this.parsePattern(r),this.getContext().instructions.length===0)throw Error(`No instructions foun
19d after "|" operator in an "or" group`);var a=this.getContext().branches;a.push(fH(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:`|`,args:a});break;case`|`:if(!this.getContext().or)throw Error(`"|" operator can only be used inside "or" groups`);if(r&&this.parsePattern(r),!this.getContext().branches)if(this.context.length===1)this.getContext().branches=[];else throw Error(`"branches" not found in an "or" group context`);this.getContext().branches.push(fH(this.getContext().instructions)),this.getContext().instructions=[];break;case`[`:r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case`]`:if(!this.getContext().oneOfSet)throw Error(`"]" operator must be preceded by "[" operator`);this.endContext(),this.getContext().instructions.push({op:`[]`,args:lH(r)});break;default:throw Error(`Unknown operator: ${n}`)}i&&this.parsePattern(i)}}])}();function lH(e){for(var t=[],n=0;n<e.length;){if(e[n]===`-`){if(n===0||n===e.length-1)throw Error(`Couldn't parse a one-of set pattern: ${e}`);for(var r=e[n-1].charCodeAt(0)+1,i=e[n+1].charCodeAt(0)-1,a=r;a<=i;)t.push(String.fromCharCode(a)),a++}else t.push(e[n]);n++}return t}var uH=/[\(\)\[\]\?\:\|]/,dH=RegExp(`(\\||\\(\\?\\:|\\)|\\[|\\])`);function fH(e){return e.length===1?e[0]:e}function pH(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=mH(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
20In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mH(e,t){if(e){if(typeof e==`string`)return hH(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hH(e,t):void 0}}function hH(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gH(e){"@babel/helpers - typeof";return gH=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},gH(e)}function _H(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function vH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,bH(r.key),r)}}function yH(e,t,n){return t&&vH(e.prototype,t),n&&vH(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bH(e){var t=xH(e,`string`);return gH(t)==`symbol`?t:t+``}function xH(e,t){if(gH(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(gH(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var SH=function(){function e(t){_H(this,e),this.matchTree=new cH().parse(t)}return yH(e,[{key:`match`,value:function(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).allowOverflow;if(!e)throw Error(`String is required`);var n=CH(e.split(``),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!(n&&n.overflow&&!t))return n}}])}();function CH(e,t,n){if(typeof t==`string`){var r=e.join(``);return t.indexOf(r)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(t)===0?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var i=e.slice(),a=0;a<t.length;){var o=t[a],s=CH(i,o,n&&a===t.length-1);if(!s)return;if(s.overflow)return s;if(s.match){if(i=i.slice(s.matchedChars.length),i.length===0)return a===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else if(s.partialMatch)return{partialMatch:!0};else throw Error(`Unsupported match result:
21${JSON.stringify(s,null,2)}`);a++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case`|`:for(var c,l=pH(t.args),u;!(u=l()).done;){var d=u.value,f=CH(e,d,n);if(f){if(f.overflow)return f;if(f.match)return{match:!0,matchedChars:f.matchedChars};if(f.partialMatch)c=!0;else throw Error(`Unsupported match result:
22${JSON.stringify(f,null,2)}`)}}return c?{partialMatch:!0}:void 0;case`[]`:for(var p=pH(t.args),m;!(m=p()).done;){var h=m.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw Error(`Unsupported instruction tree: ${t}`)}}function wH(e){"@babel/helpers - typeof";return wH=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wH(e)}function TH(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=EH(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
23In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EH(e,t){if(e){if(typeof e==`string`)return DH(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?DH(e,t):void 0}}function DH(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function OH(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function kH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,jH(r.key),r)}}function AH(e,t,n){return t&&kH(e.prototype,t),n&&kH(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function jH(e){var t=MH(e,`string`);return wH(t)==`symbol`?t:t+``}function MH(e,t){if(wH(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(wH(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var NH=`9`,PH=qV(NH,15),FH=/[- ]/,IH=!0,LH=IH&&function(){return/\[([^\[\]])*\]/g},RH=IH&&function(){return/\d(?=[^,}][^,}])/g},zH=RegExp(`[`+kR+`]*\\$1[`+kR+`]*(\\$\\d[`+kR+`]*)*$`),BH=3,VH=function(){function e(t){t.state;var n=t.metadata;OH(this,e),this.metadata=n,this.resetFormat()}return AH(e,[{key:`resetFormat`,value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:`reset`,value:function(e,t){this.resetFormat(),e?(this.isNANP=e.callingCode()===`1`,this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:`format`,value:function(e,t){var n=this;if(QV(t.nationalSignificantNumber,t.country,this.metadata))for(var r=TH(this.matchingFormats),i;!(i=r()).done;){var a=i.value,o=ZV(t,a,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(o)return this.resetFormat(),this.chosenFormat=a,this.setNationalNumberTemplate(o.replace(/\d/g,`x`),t),this.populatedNationalNumberTemplate=o,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(`x`),o}return this.formatNationalNumberWithNextDigits(e,t)}},{key:`formatNationalNumberWithNextDigits`,value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:`narrowDownMatchingFormats`,value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,i=e.international,a=n,o=a.length-BH;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,i,r)&&t.formatMatches(e,a,o)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:`formatSuits`,value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:`formatMatches`,value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(r===0)return!0;n=Math.min(n,r-1);var i=e.leadingDigitsPatterns()[n];if(t.length<BH)try{return new SH(i).match(t,{allowOverflow:!0})!==void 0}catch(e){return console.error(e),!0}return RegExp(`^(${i})`).test(t)}},{key:`getFormatFormat`,value:function(e,t){return t?e.internationalFormat():e.format()}},{key:`chooseFormat`,value:function(e){for(var t=this,n=function(){var n=a.value;return t.chosenFormat===n?0:zH.test(t.getFormatFormat(n,e.international))?t.createTemplateForFormat(n,e)?(t.chosenFormat=n,0):(t.matchingFormats=t.matchingFormats.filter(function(e){return e!==n}),1):1},r,i=TH(this.matchingFormats.slice()),a;!(a=i()).done&&(r=n(),r!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:`createTemplateForFormat`,value:function(e,t){if(!(IH&&e.pattern().indexOf(`|`)>=0)){var n=this.getTemplateForFormat(e,t);if(n)return this.setNationalNumberTemplate(n,t),!0}}},{key:`getSeparatorAfterNationalPrefix`,value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&FH.test(e.nationalPrefixFormattingRule())?` `:``}},{key:`getInternationalPrefixBeforeCountryCallingCode`,value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&t.spacing===!1?n:n+` `:r?``:`+`}},{key:`getTemplate`,value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):``;n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(`x`,t+1),n++;return JV(this.template,t+1)}}},{key:`setNationalNumberTemplate`,value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,`x`)+qV(`x`,t.callingCode.length)+` `+e:this.template=e}},{key:`getTemplateForFormat`,value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,i=t.nationalPrefix,a=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,o=e.pattern();IH&&(o=o.replace(LH(),`\\d`).replace(RH(),`\\d`));var s=PH.match(o)[0];if(!(n.length>s.length)){var c=RegExp(`^`+o+`$`),l=n.replace(/\d/g,NH);c.test(l)&&(s=l);var u=this.getFormatFormat(e,r),d;if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:i})){var f=u.replace(vB,e.nationalPrefixFormattingRule());if(Nz(e.nationalPrefixFormattingRule())===(i||``)+Nz(`$1`)&&(u=f,d=!0,i))for(var p=i.length;p>0;)u=u.replace(/\d/,`x`),p--}var m=s.replace(new RegExp(o),u).replace(new RegExp(NH,`g`),`x`);return d||(a?m=qV(`x`,a.length)+` `+m:i&&(m=qV(`x`,i.length)+this.getSeparatorAfterNationalPrefix(e)+m)),r&&(m=_B(m)),m}}},{key:`formatNextNationalNumberDigits`,value:function(e){var t=XV(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(!t){this.resetFormat();return}return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],JV(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:`shouldTryNationalPrefixFormattingRule`,value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var i=e.usesNationalPrefix();if(i&&r||!i&&!n)return!0}}}])}();function HH(e){"@babel/helpers - typeof";return HH=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},HH(e)}function UH(e,t){return JH(e)||qH(e,t)||GH(e,t)||WH()}
23function WH(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
24In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GH(e,t){if(e){if(typeof e==`string`)return KH(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?KH(e,t):void 0}}function KH(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function qH(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function JH(e){if(Array.isArray(e))return e}function YH(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function XH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,QH(r.key),r)}}function ZH(e,t,n){return t&&XH(e.prototype,t),n&&XH(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function QH(e){var t=$H(e,`string`);return HH(t)==`symbol`?t:t+``}function $H(e,t){if(HH(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(HH(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var eU=`[`+kR+OR+`]+`,tU=RegExp(`^`+eU+`$`,`i`),nU=`(?:[`+AR+`][`+kR+OR+`]*|[`+kR+OR+`]+)`,rU=RegExp(`[^`+kR+OR+`]+.*$`),iU=/[^\d\[\]]/,aU=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;YH(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=a}return ZH(e,[{key:`input`,value:function(e,t){var n=UH(cU(e),2),r=n[0],i=n[1],a=Nz(r),o;return i&&(t.digits||(t.startInternationalNumber(void 0,void 0),a||(o=!0))),a&&this.inputDigits(a,t),{digits:a,justLeadingPlus:o}}}
vendor: 4,195 bytes, line 24
24,{key:`inputDigits`,value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:`isWaitingForCountryCallingCode`,value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:`extractCountryCallingCode`,value:function(e){var t=gB(`+`+e.getDigitsWithoutInternationalPrefix(),e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:`reset`,value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&iU.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:`extractNationalSignificantNumber`,value:function(e,t){if(this.hasSelectedNumberingPlan){var n=aB(e,this.metadata),r=n.nationalPrefix,i=n.nationalNumber,a=n.carrierCode;if(i!==e)return this.onExtractedNationalNumber(r,a,i,e,t),!0}}},{key:`extractAnotherNationalSignificantNumber`,value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=aB(e,this.metadata),i=r.nationalPrefix,a=r.nationalNumber,o=r.carrierCode;if(a!==t)return this.onExtractedNationalNumber(i,o,a,e,n),!0}}},{key:`onExtractedNationalNumber`,value:function(e,t,n,r,i){var a=!1,o,s=r.lastIndexOf(n);if(s<0||s!==r.length-n.length)a=!0;else{var c=r.slice(0,s);c&&c!==e&&(o=c)}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberIsModified:a,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:`reExtractNationalSignificantNumber`,value:function(e){if(this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)}))return!0;if(this.extractIddPrefix(e)||this.fixMissingPlus(e))return this.extractCallingCodeAndNationalSignificantNumber(e),!0}},{key:`extractIddPrefix`,value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!(t||n)){var i=iB(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(i!==void 0&&i!==r)return e.update({IDDPrefix:r.slice(0,r.length-i.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0}}},{key:`fixMissingPlus`,value:function(e){if(!e.international){var t=hB(e.digits,e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(t)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:t}),!0}}},{key:`startInternationalNumber`,value:function(e,t){var n=t.country,r=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:`extractCallingCodeAndNationalSignificantNumber`,value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}])}();function oU(e){var t=e.search(nU);if(!(t<0)){e=e.slice(t);var n;return e[0]===`+`&&(n=!0,e=e.slice(1)),e=e.replace(rU,``),n&&(e=`+`+e),e}}function sU(e){var t=oU(e)||``;return t[0]===`+`?[t.slice(1),!0]:[t]}function cU(e){var t=UH(sU(e),2),n=t[0],r=t[1];return tU.test(n)||(n=``),[n,r]}function lU(e){"@babel/helpers - typeof";return lU=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},lU(e)}function uU(e,t){return hU(e)||mU(e,t)||fU(e,t)||dU()}
24function dU(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
25In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fU(e,t){if(e){if(typeof e==`string`)return pU(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pU(e,t):void 0}}function pU(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function mU(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function hU(e){if(Array.isArray(e))return e}function gU(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function _U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,yU(r.key),r)}}function vU(e,t,n){return t&&_U(e.prototype,t),n&&_U(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function yU(e){var t=bU(e,`string`);return lU(t)==`symbol`?t:t+``}function bU(e,t){if(lU(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(lU(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var xU=!1,SU=function(){function e(t,n){gU(this,e),this.metadata=new az(n);var r=uU(this.getCountryAndCallingCode(t),2),i=r[0],a=r[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return vU(e,[{key:`getCountryAndCallingCode`,value:function(e){var t,n;return e&&(mR(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),n&&xU&&this.metadata.isNonGeographicCallingCode(n)&&(t=`001`),[t,n]}}
25,{key:`input`,value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput=`+`;else if(n){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var r;if(this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),r===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:`reset`,value:function(){var e=this;return this.state=new HV({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new VH({state:this.state,metadata:this.metadata}),this.parser=new aU({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput=``,this}},{key:`isInternational`,value:function(){return this.state.international}},{key:`getCallingCode`,value:function(){if(this.isInternational())return this.state.callingCode}},{key:`getCountryCallingCode`,value:function(){return this.getCallingCode()}},{key:`getCountry`,value:function(){if(this.state.digits)return this._getCountry()}},{key:`_getCountry`,value:function(){var e=this.state.country;if(!(xU&&e===`001`))return e}},{key:`determineTheCountryIfNeeded`,value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:`getFullNumber`,value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?`${r} ${e}`:r:`${this.state.getDigitsWithoutInternationalPrefix()}`)}return e}},{key:`getNonFormattedNationalNumberWithPrefix`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:`getNonFormattedNumber`,value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:`getNonFormattedTemplate`,value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,`x`)}},{key:`isCountryCallingCodeAmbiguous`,value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:`determineTheCountry`,value:function(){this.state.setCountry(dB(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata}))}},{key:`getNumberValue`,value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())return n?`+`+n+i:`+`+t;if(r||n)return`+`+(r?this.metadata.countryCallingCode():n)+i}}},{key:`getNumber`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode,i=this._getCountry();if(t&&!(!i&&!r)){if(i&&i===this.defaultCountry){var a=new az(this.metadata.metadata);a.selectNumberingPlan(i);var o=a.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(o);if(s.length>1){var c=lB(t,{countries:s,metadata:this.metadata.metadata});c&&(i=c)}}var l=new VB(i||r,t,this.metadata.metadata);return n&&(l.carrierCode=n),l}}},{key:`isPossible`,value:function(){var e=this.getNumber();return e?e.isPossible():!1}},{key:`isValid`,value:function(){var e=this.getNumber();return e?e.isValid():!1}},{key:`getNationalNumber`,value:function(){return this.state.nationalSignificantNumber}},{key:`getChars`,value:function(){return(this.state.international?`+`:``)+this.state.digits}},{key:`getTemplate`,value:function(){return this.formatter.getTemplate(this.state)||this.getNon
vendor: 3,518 bytes, line 25
25FormattedTemplate()||``}}])}();function CU(e,t,n){if(t[e])return new VB(e,t[e],n)}function wU(){return fR(OV,arguments)}function TU(){return fR(FV,arguments)}function EU(e){return SU.call(this,e,dR)}EU.prototype=Object.create(SU.prototype,{}),EU.prototype.constructor=EU;function DU(){return fR(pz,arguments)}function OU(){return fR(CU,arguments)}var kU={version:4,country_calling_codes:{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`],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`],850:[`KP`],852:[`HK`],853:[`MO`],855:[`KH`],856:[`LA`],880:[`BD`],886:[`TW`],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`],992:[`TJ`],993:[`TM`],994:[`AZ`],995:[`GE`],996:[`KG`],998:[`UZ`]},countries:{AC:[`247`,`00`,`(?:[01589]\\d|[46])\\d{4}`,[5,6],0,0,0,0,0,0,0,[[`6[2-467]\\d{3}`,[5]],[`4\\d{4}`,[5]],0,0,0,0,[`(?:0[1-9]|[1589]\\d)\\d{4}`,[6]]]],AD:[`376`,`00`,`(?:1|6\\d)\\d{7}|[135-9]\\d{5}`,[6,8,9],[[`(\\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`]]],0,0,0,0,0,0,[[`[78]\\d{5}`,[6]],[`690\\d{6}|[356]\\d{5}`,[6,9]],[`180[02]\\d{4}`,[8]],[`[19]\\d{5}`,[6]]]],AE:[`971`,`00`,`(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}`,[5,6,7,8,9,10,11,12],[[`(\\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}
25)`,`$1 $2 $3`,[`5`],`0$1`]],`0`,0,0,0,0,0,[[`[2-4679][2-8]\\d{6}`,[8]],[`5[02-68]\\d{7}`,[9]],[`400\\d{6}|800\\d{2,9}`],[`900[02]\\d{5}`,[9]],0,0,[`600[25]\\d{5}`,[9]],0,0,[`700[05]\\d{5}`,[9]]]],AF:[`93`,`00`,`[2-7]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}`],[`7\\d{8}`]]],AG:[`1`,`011`,`(?:268|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([457]\\d{6})$|1`,`268$1`,0,`268`,[[`268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}`],[`268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,0,[`26840[69]\\d{4}`],[`26848[01]\\d{4}`]]],AI:[`1`,`011`,`(?:264|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2457]\\d{6})$|1`,`264$1`,0,`264`,[[`264(?:292|4(?:6[12]|9[78]))\\d{4}`],[`264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,0,[`264724\\d{4}`]]],AL:[`355`,`00`,`(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}`,[6,7,8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[8]],[`6(?:[78][2-9]|9\\d)\\d{6}`,[9]],[`800\\d{4}`,[7]],[`900[1-9]\\d\\d`,[6]],[`700[2-9]\\d{4}`,[8]],0,0,0,0,[`808[1-9]\\d\\d`,[6]]]],AM:[`374`,`00`,`(?:[1-489]\\d|55|60|77)\\d{6}`,[8],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:(?: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}`],[`(?:33|4[1349]|55|77|88|9[13-9])\\d{6}`],[`800\\d{5}`],[`90[016]\\d{5}`],0,0,0,0,[`60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}`],[`80[1-4]\\d{5}`]]],AO:[`244`,`00`,`[29]\\d{8}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[29]`]]],0,0,0,0,0,0,[[`2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}`],[`9[1-79]\\d{7}`]]],AR:[`54`,`00`,`(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}`,[10,11],[[`(\\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`,0,`$1 $2 $3-$4`],[`(\\d)(\\d{2})(\\d{4})(\\d{4})`,`$2 15-$3-$4`,[`91`],`0$1`,0,`$1 $2 $3-$4`],[`(\\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`,0,`$1 $2 $3-$4`]],`0`,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-4
256-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`,0,0,[[`3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\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|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[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[035-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[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}`,[10]],[`93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46)
25)|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\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|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[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[035-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[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}`],[`800\\d{7,8}`],[`60[04579]\\d{7}`,[10]],0,0,[`810\\d{7}`,[10]]]],AS:[`1`,`011`,`(?:[58]\\d\\d|684|900)\\d{7}`,[10],0,`1`,0,`([267]\\d{6})$|1`,`684$1`,0,`684`,[[`684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}`],[`684(?:2(?:48|5[2468]|7[246])|7(?:3[13]|70|82))\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],AT:[`43`,`00`,`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],[[`(\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]`,`(?:31|4)6|51|6(?:485|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`]],`0`,0,0,0,0,0,[[`1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?: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-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}`],[`6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}`,[7,8,9,10,11,12,13]],[`800\\d{6,10}`,[9,10,11,12,13]],[`(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}`,[9,10,11,12,13]],0,0,0,0,[`5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}`,[5,6,7,8,9,10,11,12,13]],[`8(?:10|2[018])\\d{6,10}|828\\d{5}`,[8,9,10,11,12,13]]]],AU:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`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],[[`(\\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)`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:30|[89])`]]],`0`,0,`(183[12])|0`,0,0,0,[[`(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,[`163\\d{2,6}`,[5,6,7,8,9]],[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],AW:[`297`,`00`,`(?:[25-79]\\d\\d|800)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[25-9]`]]],0,0,0,0,0,0,[[`5(?:2\\d|8[1-9])\\d{4}`],[`(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4
25-8]))\\d{4}`],[`800\\d{4}`],[`900\\d{4}`],0,0,0,0,[`(?:28\\d|501)\\d{4}`]]],AX:[`358`,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`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],0,`0`,0,0,0,0,`18`,[[`18[1-8]\\d{3,6}`,[6,7,8,9]],[`4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}`,[6,7,8,9,10]],[`800\\d{4,6}`,[7,8,9]],[`[67]00\\d{5,6}`,[8,9]],0,0,[`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}`]],`00`],AZ:[`994`,`00`,`365\\d{6}|(?:[124579]\\d|60|88)\\d{7}`,[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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}`],[`88\\d{7}`],[`900200\\d{3}`]]],BA:[`387`,`00`,`6\\d{8}|(?:[35689]\\d|49|70)\\d{6}`,[8,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`]],`0`,0,0,0,0,0,[[`(?: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}`,[8]],[`6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}`],[`8[08]\\d{6}`,[8]],[`9[0246]\\d{6}`,[8]],0,0,[`703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}`,[8]],0,0,[`8[12]\\d{6}`,[8]]]],BB:[`1`,`011`,`(?:246|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`246$1`,0,`246`,[[`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}`],[`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}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`(?:246976|900[2-9]\\d\\d)\\d{4}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,[`246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}`],0,[`24631\\d{5}`]]],BD:[`880`,`00`,`[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],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}`,[10]],[`80[03]\\d{7}`,[10]],0,0,0,0,0,[`96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}`,[10]]]],BE:[`32`,`00`,`4\\d{8}|[1-9]\\d{7}`,[8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[8]],[`4[5-9]\\d{7}`,[9]],[`800[1-9]\\d{4}`,[8]],[`(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}`,[8]],0,0,[`78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}`,[8]],0,0,[`7879\\d{4}`,[8]]]],BF:[`226`,`00`,`(?:[025-7]\\d|44)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[024-7]`]]],0,0,0,0,0,0,[[`2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[01
2579])|5(?:[34]\\d|50|6[5-7]))\\d{4}`],[`(?:0[1-7]|44|5[0-8]|[67]\\d)\\d{6}`]]],BG:[`359`,`00`,`00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}`,[6,7,8,9,12],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[6,7,8]],[`(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}`,[8,9]],[`(?:00800\\d\\d|800)\\d{5}`,[8,12]],[`90\\d{6}`,[8]],0,0,0,0,0,[`700\\d{5}`,[8]]]],BH:[`973`,`00`,`[136-9]\\d{7}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[13679]|8[02-4679]`]]],0,0,0,0,0,0,[[`(?: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}`],[`(?: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}`],[`8[02369]\\d{6}`],[`(?:87|9[0-8])\\d{6}`],0,0,0,0,0,[`84\\d{6}`]]],BI:[`257`,`00`,`(?:[267]\\d|31)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2367]`]]],0,0,0,0,0,0,[[`(?:22|31)\\d{6}`],[`(?:29|6[124-9]|7[125-9])\\d{6}`]]],BJ:[`229`,`00`,`(?:01\\d|8)\\d{7}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`0`]]],0,0,0,0,0,0,[[`012\\d{7}`,[10]],[`01(?:2[5-9]|[4-69]\\d)\\d{6}`,[10]],0,0,0,0,[`81\\d{6}`,[8]],0,[`857[58]\\d{4}`,[8]]]],BL:[`590`,`00`,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}`],[`(?: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}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],BM:[`1`,`011`,`(?:441|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`441$1`,0,`441`,[[`441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}`],[`441(?:[2378]\\d|5[0-39]|9[02])\\d{5}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],BN:[`673`,`00`,`[2-578]\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-578]`]]],0,0,0,0,0,0,[[`22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}`],[`(?:22[89]|[78]\\d\\d)\\d{4}`],0,0,0,0,0,0,[`5[34]\\d{5}`]]],BO:[`591`,`00(?:1\\d)?`,`8001\\d{5}|(?:[2-467]\\d|50)\\d{6}`,[8,9],[[`(\\d)(\\d{7})`,`$1 $2`,[`[235]|4[46]`]],[`(\\d{8})`,`$1`,[`[67]`]],[`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`8`]]],`0`,0,`0(1\\d)?`,0,0,0,[[`(?: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}`,[8]],[`[67]\\d{7}`,[8]],[`8001[07]\\d{4}`,[9]],0,0,0,0,0,[`50\\d{6}`,[8]]]],BQ:[`599`,`00`,`(?:[34]1|7\\d)\\d{5}`,[7],0,0,0,0,0,0,`[347]`,[[`(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}`],[`(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}`]]],BR:[`55`,`00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)`,`[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}`,[8,9,10,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37|86)`,`300|4(?:0(?:0|20)|370|864)`]],[`(\\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)`],[`(\\d{2})(\\d{5})(\\d{4})`,`$1 $2-$3`,[`[16][1-9]|[2-57-9]`],`($1)`]],`0`,0,`(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?`,`$2`,0,0,[[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}`,[10]],[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}`,[10,11]],[`800\\d{6,7}`,[9,10]],[`[59]00\\d{6,7}`,[9,10]],0,0,0,0,0,[`(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}`,[8,10]]]],BS:[`1`,`011`,`(?:242|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([3-8]\\d{6})$|1`,`242$1`,0,`242`,[[`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}`],[`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}`],[`242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,[`242225\\d{4}`]]],BT:[`975`,`00`,`[178]\\d{7}|[2-8]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-6]|7[246]|8[2-4]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|[78]`]]],0,0,0,0,0,0,[[`(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}`,[7]],[`(?:1[67]|[78]7)\\d{6}`,[8]]]],BW:[`267`,`00`,`(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}`,[7,8,10],[[`(\\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`]]],0,0,0,0,0,0,[[`(?: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}`,[7]],[`(?:321|7[1-8]\\d)\\d{5}`,[8]],[`(?:0800|800\\d)\\d{6}`,[10]],[`90\\d{5}`,[7]],0,0,0,0,[`79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}`,[8]]]],BY:[`375`,`810`,`(?:[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],[[`(\\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(?
25: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`]],`8`,0,`0|80?`,0,0,0,[[`(?: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}`,[9]],[`(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}`,[9]],[`800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}`],[`(?:810|902)\\d{7}`,[10]],0,0,0,0,[`249\\d{6}`,[9]]],`8~10`],BZ:[`501`,`00`,`(?:0800\\d|[2-8])\\d{6}`,[7,11],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-8]`]],[`(\\d)(\\d{3})(\\d{4})(\\d{3})`,`$1-$2-$3-$4`,[`0`]]],0,0,0,0,0,0,[[`(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}`,[7]],[`6[0-35-7]\\d{5}`,[7]],[`0800\\d{7}`,[11]]]],CA:[`1`,`011`,`[2-9]\\d{9}|3\\d{6}`,[7,10],0,`1`,0,0,0,0,0,[[`(?:2(?:04|[23]6|[48]9|5[07]|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}`,[10]],[``,[10]],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,[10]],[`900[2-9]\\d{6}`,[10]],[`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(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}`,[10]],0,[`310\\d{4}`,[7]],0,[`600[2-9]\\d{6}`,[10]]]],CC:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`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],0,`0`,0,`([59]\\d{7})$|0`,`8$1`,0,0,[[`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}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,0,[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],CD:[`243`,`00`,`(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}`,[7,8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}`],[`88\\d{5}|(?:8[0-69]|9[016-9])\\d{7}`,[7,9]]]],CF:[`236`,`00`,`8776\\d{4}|(?:[27]\\d|61)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-8]`]]],0,0,0,0,0,0,[[`(?:2[12]|61)\\d{6}`],[`7[02-7]\\d{6}`],0,[`8776\\d{4}`]]],CG:[`242`,`00`,`222\\d{6}|(?:0\\d|80)\\d{7}`,[9],[[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[02]`]]],0,0,0,0,0,0,[[`222[1-589]\\d{5}`],[`026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}`],0,[`80[0-2]\\d{6}`]]],CH:[`41`,`00`,`8\\d{11}|[2-9]\\d{8}`,[9,12],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}`,[9]],[`(?:6[89]|7[235-9])\\d{7}`,[9]],[`800\\d{6}`,[9]],[`90[016]\\d{6}`,[9]],[`878\\d{6}`,[9]],[`860\\d{9}`,[12]],[`5[18]\\d{7}`,[9]],[`74[0248]\\d{6}`,[9]],0,[`84[0248]\\d{6}`,[9]]]],CI:[`225`,`00`,`[02]\\d{9}`,[10],[[`(\\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`]]],0,0,0,0,0,0,[[`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}`],[`0[157]\\d{8}`]]],CK:[`682`,`00`,`[2-578]\\d{4}`,[5],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`[2-578]`]]],0,0,0,0,0,0,[[`(?:2\\d|3[13-7]|4[1-5])\\d{3}`],[`[578]\\d{4}`]]],CL:[`56`,`(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0`,`12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}`,[9,10,11],[[`(\\d{5})(\\d{4})`,`$1 $2`,[`219`,`2196`],`($1)`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`60|809`]],[`(\\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(?:10|[2-9])`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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`]]],0,0,0,0,0,0,[[`2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|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]))|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}`,[9]],[`2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|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]))|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}`,[9]],[`(?:123|8)00\\d{6}`,[9,11]],0,0,0,0,0,[`44\\d{7}`,[9]],[`600\\d{7,8}`,[10,11]]]],CM:[`237`,`00`,`[26]\\d{8}|88\\d{6,7}`,[8,9],[[`(\\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`]]],0,0,0,0,0,0,[[`2(?:22|33)\\d{6}`,[9]],[`(?:24[23]|6(?:[25-9]\\d|40))\\d{6}`,[9]],[`88\\d{6,7}`]]],CN:[`86`,`00|1(?:[12]\\d|79)\\d\\d00`,`(?:(?: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],[[`(\\d{2})(\\d{5,6}
25)`,`$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`],[`(\\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`],[`(\\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`,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`,1],[`(\\d{3})(\\d{7,8})`,`$1 $2`,[`9`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`80`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[3-578]`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`1[3-9]`]],[`(\\d{2})(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`[12]`],`0$1`,1]],`0`,0,`(1(?:[12]\\d|79)\\d\\d)|0`,0,0,0,[[`(?: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}))`,[7,8,9,10,11]],[`1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}`,[11]],[`(?:(?:10|21)8|8)00\\d{7}`,[10,12]],[`16[08]\\d{5}`,[8]],0,0,0,0,0,[`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}`,[7,8,9,10,11]]],`00`],CO:[`57`,`00(?:4(?:[14]4|56)|[579])`,`(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}`,[8,10,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`46`]],[`(\\d{3})(\\d{7})`,`$1 $2`,[`6|90`],`($1)`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|9[14]`]],[`(\\d)(\\d{3})(\\d{7})`,`$1-$2-$3`,[`1`],`0$1`,0,`$1 $2 $3`]],`0`,0,`0([3579]|4(?:[14]4|56))?`,0,0,0,[[`601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}`,[8,10]],[`333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}`,[10]],[`1800\\d{7}`,[11]],[`(?:19(?:0[01]|4[78])|901)\\d{7}`,[10,11]]]],CR:[`506`,`00`,`(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}`,[8,10],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-7]|8[3-9]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[89]`]]],0,0,`(19(?:0[0-2468]|1[09]|20|66|77|99))`,0,0,0,[[`210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}`,[8]],[`(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}`,[8]],[`800\\d{7}`,[10]],[`90[059]\\d{7}`,[10]],0,0,0,0,[`(?:210[0-6]|4\\d{3}|5100)\\d{4}`,[8]]]],CU:[`53`,`119`,`(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}`,[6,7,8,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`(?:5\\d|6[2-4])\\d{6}`,[8]],[`800\\d{7}`,[10]],0,0,0,0,0,0,[`807\\d{7}`,[10]]]],CV:[`238`,`0`,`(?:[2-59]\\d\\d|800)\\d{4}`,[7],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-589]`]]],0,0,0,0,0,0,[[`2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}`],[`(?:36|5[1-389]|9\\d)\\d{5}`],[`800\\d{4}`],0,0,0,0,0,[`(?:3[3-5]|4[356])\\d{5}`]]],CW:[`599`,`00`,`(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[3467]`]],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9[4-8]`]]],0,0,0,0,0,`[69]`,[[`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}`],[`953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}`],0,0,0,0,0,[`955\\d{5}`,[8]],0,[`60[0-2]\\d{4}`,[7]]]],CX:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`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],0,`0`,0,`([59]\\d{7})$|0`,`8$1`,0,0,[[`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}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,0,[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],CY:[`357`,`00`,`(?:[279]\\d|[58]0)\\d{6}`,[8],[[`(\\d{2})(\\d{6})`,`$1 $2`,[`[257-9]`]]],0,0,0,0,0,0,[[`2[2-6]\\d{6}`],[`9(?:10|[4-79]\\d)\\d{5}`],[`800\\d{5}`],[`90[09]\\d{5}`],[`700\\d{5}`],0,[`(?:50|77)\\d{6}`],0,0,[`80[1-9]\\d{5}`]]],CZ:[`420`,`00`,`(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}`,[9,10,11,12],[[`(\\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`]]],0,0,0,0,0,0,[[`(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}`,[9]],[`7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}`,[9]],[`800\\d{6}`,[9]],[`9(?:0[05689]|76)\\d{6}`,[9]],[`70[01]\\d{6}`,[9]],[`9(?:3\\d{9}|6\\d{7,10})`],[`9(?:5\\d|7[2-4])\\d{6}`,[9]],0,[`9[17]0\\d{6}`,[9]],[`8[134]\\d{7}`,[9]]]],DE:[`49`,`00`,`[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],[[`(\\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]|3[13])`],`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`]],`0`,0,0,0,0,0,[[`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][
250-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}`,[5,6,7,8,9,10,11,12,13,14,15]],[`1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}`,[10,11]],[`800\\d{7,12}`,[10,11,12,13,14,15]],[`(?:137[7-9]|900(?:[135]|9\\d))\\d{6}`,[10,11]],[`700\\d{8}`,[11]],[`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}`,[12,13]],[`18(?:1\\d{5,11}|[2-9]\\d{8})`,[8,9,10,11,12,13,14]],[`16(?:4\\d{1,10}|[89]\\d{1,11})`,[4,5,6,7,8,9,10,11,12,13,14]],0,[`180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}`,[7,8,9,10,11,12,13,14]]]],DJ:[`253`,`00`,`(?:2\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[27]`]]],0,0,0,0,0,0,[[`2(?:1[2-5]|7[45])\\d{5}`],[`77\\d{6}`]]],DK:[`45`,`00`,`[2-9]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-9]`]]],0,0,0,0,0,0,[[`(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}`],[`(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}`],[`80\\d{6}`],[`90\\d{6}`]]],DM:[`1`,`011`,`(?:[58]\\d\\d|767|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`767$1`,0,`767`,[[`767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}`],[`767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],DO:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,0,0,0,`8001|8[024]9`,[[`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}`],[`8[024]9[2-9]\\d{6}`],[`800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?:33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],DZ:[`213`,`00`,`(?:[1-4]|[5-79]\\d|80)\\d{7}`,[8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}`],[`(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}`,[9]],[`800\\d{6}`,[9]],[`80[3-689]1\\d{5}`,[9]],0,0,0,0,[`98[23]\\d{6}`,[9]],[`80[12]1\\d{5}`,[9]]]],EC:[`593`,`00`,`1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}`,[8,9,10,11],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[2-7]`],`(0$1)`,0,`$1-$2-$3`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1`]]],`0`,0,0,0,0,0,[[`[2-7][2-7]\\d{6}`,[8]],[`964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}`,[9]],[`1800\\d{7}|1[78]00\\d{6}`,[10,11]],0,0,0,0,0,[`[2-7]890\\d{4}`,[8]]]],EE:[`372`,`00`,`8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}`,[7,8,10],[[`(\\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`]]],0,0,0,0,0,0,[[`(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}`,[7]],[`(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[
250-79]\\d|8[013-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}`,[7,8]],[`800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}`],[`(?:40\\d\\d|900)\\d{4}`,[7,8]],[`70[0-2]\\d{5}`,[8]]]],EG:[`20`,`00`,`[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}`,[8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[8,9]],[`1[0-25]\\d{8}`,[10]],[`800\\d{7}`,[10]],[`900\\d{7}`,[10]]]],EH:[`212`,`00`,`[5-8]\\d{8}`,[9],0,`0`,0,0,0,0,0,[[`528[89]\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}`],[`80[0-7]\\d{6}`],[`89\\d{7}`],0,0,0,0,[`(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}`]]],ER:[`291`,`00`,`[178]\\d{6}`,[7],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[178]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}`],[`(?:17[1-3]|7\\d\\d)\\d{4}`]]],ES:[`34`,`00`,`[5-9]\\d{8}`,[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]`]]],0,0,0,0,0,0,[[`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}`],[`96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}`],[`[89]00\\d{6}`],[`80[367]\\d{6}`],[`70\\d{7}`],0,[`51\\d{7}`],0,0,[`90[12]\\d{6}`]]],ET:[`251`,`00`,`(?:11|[2-579]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-579]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-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}`],[`700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|2[1-35-79]|3\\d|77|86|99)|9\\d\\d)\\d{6}`]]],FI:[`358`,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`[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],[[`(\\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`]],`0`,0,0,0,0,`1[03-79]|[2-9]`,[[`1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}`,[5,6,7,8,9]],[`4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}`,[6,7,8,9,10]],[`800\\d{4,6}`,[7,8,9]],[`[67]00\\d{5,6}`,[8,9]],0,0,[`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}`]],`00`],FJ:[`679`,`0(?:0|52)`,`45\\d{5}|(?:0800\\d|[235-9])\\d{6}`,[7,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[235-9]|45`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]]],0,0,0,0,0,0,[[`603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}`,[7]],[`(?:[279]\\d|45|5[01568]|8[034679])\\d{5}`,[7]],[`0800\\d{7}`,[11]]],`00`],FK:[`500`,`00`,`[2-7]\\d{4}`,[5],0,0,0,0,0,0,0,[[`[2-47]\\d{4}`],[`[56]\\d{4}`]]],FM:[`691`,`00`,`(?:[39]\\d\\d|820)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[389]`]]],0,0,0,0,0,0,[[`31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}`],[`31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}`]]],FO:[`298`,`00`,`[2-9]\\d{5}`,[6],[[`(\\d{6})`,`$1`,[`[2-9]`]]],0,0,`(10(?:01|[12]0|88))`,0,0,0,[[`(?:20|[34]\\d|8[19])\\d{4}`],[`(?:[27][1-9]|5\\d|9[16])\\d{4}`],[`80[257-9]\\d{3}`],[`90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d`],0,0,0,0,[`(?:6[0-36]|88)\\d{4}`]]],FR:[`33`,`00`,`[1-9]\\d{8}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}`],[`(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}`],[`80[0-5]\\d{6}`],[`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}`],0,0,[`80[6-9]\\d{6}`],0,[`9\\d{8}`],[`8(?:1[01]|2[0156]|4[024]|84)\\d{6}`]]],GA:[`241`,`00`,`(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}`,[7,8],[[`(\\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`]],0,0,`0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})`,`$1`,0,0,[[`[01]1\\d{6}`,[8]],[`(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}`]]],GB:[`44`,`00`,`[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}`,[7,9,10],[[`(\\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(?
25: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`]],`0`,0,`0|180020`,0,0,0,[[`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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])
25))|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}`,[9,10]],[`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}`,[10]],[`80[08]\\d{7}|800\\d{6}|8001111`],[`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d`,[7,10]],[`70\\d{8}`,[10]],0,[`(?:3[0347]|55)\\d{8}`,[10]],[`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}`,[10]],[`56\\d{8}`,[10]]],0,` x`],GD:[`1`,`011`,`(?:473|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`473$1`,0,`473`,[[`473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}`],[`473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],GE:[`995`,`00`,`(?:[3-57]\\d\\d|800)\\d{6}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|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|1[12]|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-6])|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|22)\\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}`],[`800\\d{6}`],0,0,0,0,0,[`70[67]\\d{6}`]]],GF:[`594`,`00`,`(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}`],[`(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}`]]],GG:[`44`,`00`,`(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?`,[7,9,10],0,`0`,0,`([25-9]\\d{5})$|0|180020`,`1481$1`,0,0,[[`1481[25-9]\\d{5}`,[10]],[`7(?:(?:781|839)\\d|911[17])\\d{5}`,[10]],[`80[08]\\d{7}|800\\d{6}|8001111`],[`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d`,[7,10]],[`70\\d{8}`,[10]],0,[`(?:3[0347]|55)\\d{8}`,[10]],[`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}`,[10]],[`56\\d{8}`,[10]]]],GH:[`233`,`00`,`(?:[235]\\d{3}|800)\\d{5}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[235]`],`0$1`]],`0`,0,0,0,0,0,[[`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}`,[9]],[`(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}`,[9]],[`800\\d{5}`,[8]]]],GI:[`350`,`00`,`(?:[25]\\d|60)\\d{6}`,[8],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`2`]]],0,0,0,0,0,0,[[`2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}`],[`5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}`]]],GL:[`299`,`00`,`(?:19|[2-689]\\d|70)\\d{4}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`19|[2-9]`]]],0,0,0,0,0,0,[[`(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}`],[`[245]\\d{5}`],[`80\\d{4}`],0,0,0,0,0,[`3[89]\\d{4}`]]],GM:[`220`,`00`,`[2-9]\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]],0,0,0,0,0,0,[[`(?: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[0-589]\\d\\d)\\d{3}`],[`556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}`]]],GN:[`224`,`00`,`722\\d{6}|(?:3|6\\d)\\d{7}`,[8,9],[[`(\\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]`]]],0,0,0,0,0,0,[[`3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}`,[8]],[`6[0-356]\\d{7}`,[9]],0,0,0,0,0,0,[`722\\d{6}`,[9]]]],GP:[`590`,`00`,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`],[`(?: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}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],GQ:[`240`,`00`,`222\\d{6}|(?:3\\d|55|[89]0)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235]`]],[`(\\d{3})(\\d{6})`,`$1 $2`,[`[89]`]]],0,0,0,0,0,0,[[`33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}`],[`(?:222|55\\d)\\d{6}`],[`80\\d[1-9]\\d{5}`],[`90\\d[1-9]\\d{5}`]]],GR:[`30`,`00`,`5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}`,[10,11,12],[[`(\\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`]]],0,0,0,0,0,0,[[`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])
25)\\d{6}`,[10]],[`68[57-9]\\d{7}|(?:69|94)\\d{8}`,[10]],[`800\\d{7,9}`],[`90[19]\\d{7}`,[10]],[`70\\d{8}`,[10]],0,[`5005000\\d{3}`,[10]],0,0,[`8(?:0[16]|12|[27]5|50)\\d{7}`,[10]]]],GT:[`502`,`00`,`80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}`,[8,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-8]`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]],0,0,0,0,0,0,[[`[267][2-9]\\d{6}`,[8]],[`(?:[3-5]\\d\\d|80[0-4])\\d{5}`,[8]],[`18[01]\\d{8}`,[11]],[`19\\d{9}`,[11]]]],GU:[`1`,`011`,`(?:[58]\\d\\d|671|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`671$1`,0,`671`,[[`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}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],GW:[`245`,`00`,`[49]\\d{8}|4\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`40`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`]]],0,0,0,0,0,0,[[`443\\d{6}`,[9]],[`9(?:5\\d|6[569]|77)\\d{6}`,[9]],0,0,0,0,0,0,[`40\\d{5}`,[7]]]],GY:[`592`,`001`,`(?:[2-8]\\d{3}|9008)\\d{3}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]],0,0,0,0,0,0,[[`(?: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]
25)|50[0-6]|77[1-57])\\d{4}`],[`(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-69]|70))\\d{4}`],[`(?:289|8(?:00|6[28]|88|99))\\d{4}`],[`9008\\d{3}`],0,0,0,0,[`515\\d{4}`]]],HK:[`852`,`00(?:30|5[09]|[126-9]?)`,`8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}`,[5,6,7,8,9,11],[[`(\\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`]]],0,0,0,0,0,0,[[`(?: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-5]))|58(?:0[1-9]|1[2-9]))\\d{4}`,[8]],[`(?:4(?:09[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|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-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}`,[8]],[`800\\d{6}`,[9]],[`900(?:[0-24-9]\\d{7}|3\\d{1,4})`,[5,6,7,8,11]],[`8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}`,[8]],0,[`30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}`,[8]],[`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}`,[8]]],`00`],HN:[`504`,`00`,`8\\d{10}|[237-9]\\d{7}`,[8,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`[237-9]`]]],0,0,0,0,0,0,[[`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}`,[8]],[`[37-9]\\d{7}`,[8]],[`8002\\d{7}`,[11]]]],HR:[`385`,`00`,`[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}`,[7,8,9],[[`(\\d{2})(\\d{2})(\\d{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`]],`0`,0,0,0,0,0,[[`1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}`,[8,9]],[`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}`,[8,9]],[`80\\d{5,7}`],[`6[01459]\\d{6}|6[01]\\d{5}`,[7,8]],[`7[45]\\d{6}`,[8]],0,[`62\\d{6,7}|72\\d{6}`,[8,9]]]],HT:[`509`,`00`,`[2-589]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[2-589]`]]],0,0,0,0,0,0,[[`2(?:2\\d|5[1-5]|81|9[149])\\d{5}`],[`(?:[34]\\d|5[568])\\d{6}`],[`8\\d{7}`],0,0,0,0,0,[`9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}`]]],HU:[`36`,`00`,`[235-7]\\d{8}|[1-9]\\d{7}`,[8,9],[[`(\\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`]],`06`,0,0,0,0,0,[[`(?: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}`,[8]],[`(?:[257]0|3[01])\\d{7}`,[9]],[`(?:[48]0\\d|680[29])\\d{5}`],[`9[01]\\d{6}`,[8]],0,0,[`38\\d{7}`,[9]],0,[`21\\d{7}`,[9]]]],ID:[`62`,`00[89]`,`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],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[7,8,9,10,11]],[`8[1-35-9]\\d{7,10}`,[9,10,11,12]],[`00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}`,[8,9,10,11,12,13,14,15,16,17]],[`809\\d{7}`,[10]],0,0,[`(?:1500|8071\\d{3})\\d{3}`,[7,10]],0,0,[`804\\d{7}`,[10]]]],IE:[`353`,`00`,`(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}`,[7,8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`8(?:22|[35-9]\\d)\\d{6}`,[9]],[`1800\\d{6}`,[10]],[`15(?:1[2-8]|[2-8]0|9[089])\\d{6}`,[10]],[`700\\d{6}`,[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}`,[10]],[`818\\d{6}`,[9]],0,[`76\\d{7}`,[9]],[`18[59]0\\d{6}`,[10]]]],IL:[`972`,`0(?:0|1[2-9])`,`1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}`,[7,8,9,10,11,12],[[`(\\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`]]],`0`,0,0,0,0,0,[[`153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}`,[8,11,12]],[`55(?:4(?:0[0-2]|[16]0)|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[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}`,[9]],[`1(?:255|80[019]\\d{3})\\d{3}`,[7,10]],[`1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}`,[8,10]],0,[`151\\d{8,9}`,[11,12]],[`1599\\d{6}`,[10]],0,[`7(?:38(?:[05]\\d|8[0138])|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}`,[9]],[`1700\\d{6}`,[10]]]],IM:[`44`,`00`,`1624\\d{6}|(?:[3578]\\d|90)\\d{8}`,[10],0,`0`,0,`([25-8]\\d{5})$|0|180020`,`1624$1`,0,`74576|(?:16|7[56])24`,[[`1624(?:230|[5-8]\\d\\d)\\d{3}`],[`76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}`],[`808162\\d{4}`],[`8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}`],[`70\\d{8}`],0,[`3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}`],0,[`56\\d{8}`]]],IN:[`91`,`00`,`(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}`,[8,9,10,11,12,13],[[`(\\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)`],0,1],[`(\\d{4})(\\d{4,5})`,`$1 $2`,[`180`,`1800`],0,1],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`140`],0,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
25-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|8(?:28[235-7]|3))|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])\\d|8(?:[14-6]\\d|2[0-79]))|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`,[`16|[6-9]`],`0$1`,1],[`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`18[06]`,`18[06]0`],0,1],[`(\\d{4})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`18`],0,1]],`0`,0,0,0,0,0,[[`(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?: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[14-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}`,[10]],[`(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|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])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|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}`,[10]],[`000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})`],[`186[12]\\d{9}`,[13]],0,0,[`140\\d{7}`,[10]],0,0,[`1860\\d{7}`,[11]]]],IO:[`246`,`00`,`3\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`3`]]],0,0,0,0,0,0,[[`37\\d{5}`],[`38\\d{5}`]]],IQ:[`964`,`00`,`(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}`,[8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}`,[8,9]],[`7[3-9]\\d{8}`,[10]]]],IR:[`98`,`00`,`[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}`,[4,5,6,7,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}`,[6,7,10]],[`9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\d|21|69|77|8[7-9])))\\d{5}`,[10]],0,0,0,0,[`96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])`,[4,5]]]],IS:[`354`,`00|1(?:0(?:01|[12]0)|100)`,`(?:38\\d|[4-9])\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-9]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`3`]]],0,0,0,0,0,0,[[`(?: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}`,[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}`],[`80[0-8]\\d{4}
25`,[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}`,[7]],0,[`(?:689|8(?:7[18]|80)|95[48])\\d{4}`,[7]],[`809\\d{4}`,[7]],0,[`49[0-24-79]\\d{4}`,[7]]],`00`],IT:[`39`,`00`,`0\\d{5,11}|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],[[`(\\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`,[`[03]`]]],0,0,0,0,0,0,[[`0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`],[`3[2-9]\\d{7,8}|(?:31|43)\\d{8}`,[9,10]],[`80(?:0\\d{3}|3)\\d{3}`,[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}`,[6,8,9,10]],[`1(?:78\\d|99)\\d{6}`,[9,10]],[`3[2-8]\\d{9,10}`,[11,12]],0,0,[`55\\d{8}`,[10]],[`84(?:[08]\\d{3}|[17])\\d{3}`,[6,9]]]],JE:[`44`,`00`,`1534\\d{6}|(?:[3578]\\d|90)\\d{8}`,[10],0,`0`,0,`([0-24-8]\\d{5})$|0|180020`,`1534$1`,0,0,[[`1534[0-24-8]\\d{5}`],[`7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}`],[`80(?:07(?:35|81)|8901)\\d{4}`],[`(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}`],[`701511\\d{4}`],0,[`(?: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}`],[`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}`],[`56\\d{8}`]]],JM:[`1`,`011`,`(?:[58]\\d\\d|658|900)\\d{7}`,[10],0,`1`,0,0,0,0,`658|876`,[[`8766060\\d{3}|(?:658(?:2(?:[5-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}`],[`(?:6582(?:[0-4]\\d|95)|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}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],JO:[`962`,`00`,`(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}`,[8,9],[[`(\\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`,[`[47]`],`0$1`]],`0`,0,0,0,0,0,[[`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}`,[8]],[`(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}`,[9]],[`80\\d{6}`,[8]],[`9\\d{7}`,[8]],[`70\\d{7}`,[9]],0,[`8(?:10|8\\d)\\d{5}`,[8]],[`74(?:66|77)\\d{5}`,[9]],0,[`85\\d{6}`,[8]]]],JP:[`81`,`010`,`00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}`,[8,9,10,11,12,13,14,15,16,17],[[`(\\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(?
25: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`,[`3|4(?:2[09]|7[01])|6[1-9]`,`3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]`],`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`,[`[25-9]`],`0$1`]],`0`,0,`(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0`,`$1`,0,0,[[`(?: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}`,[9]],[`(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}`,[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}`],[`990\\d{6}`,[9]],[`60\\d{7}`,[9]],0,[`570\\d{6}`,[9]],[`20\\d{8}`,[10]],[`50[1-9]\\d{7}`,[10]]]],KE:[`254`,`000`,`(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}`,[7,8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}`,[7,8,9]],[`(?:1(?:0[0-8]|1\\d|2[014]|[34]0)|7\\d\\d)\\d{6}`,[9]],[`800[02-8]\\d{5,6}`,[9,10]],[`900[02-9]\\d{5}`,[9]]]],KG:[`996`,`00`,`8\\d{9}|[235-9]\\d{8}`,[9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[9]],[`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}`,[9]],[`800\\d{6,7}`]]],KH:[`855`,`00[14-9]`,`1\\d{9}|[1-9]\\d{7,8}`,[8,9,10],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-9]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],`0`,0,0,0,0,0,[[`23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}
25|(?: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})`,[8,9]],[`(?:(?: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}`,[8,9]],[`1800(?:1\\d|2[019])\\d{4}`,[10]],[`1900(?:1\\d|2[09])\\d{4}`,[10]]]],KI:[`686`,`00`,`(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}`,[5,8],0,`0`,0,0,0,0,0,[[`(?:[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}`],[`(?: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}`,[8]],0,0,0,0,0,0,[`30(?:0[01]\\d\\d|12(?:11|20))\\d\\d`,[8]]]],KM:[`269`,`00`,`[3478]\\d{6}`,[7],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[3478]`]]],0,0,0,0,0,0,[[`7[4-7]\\d{5}`],[`[34]\\d{6}`],0,[`8\\d{6}`]]],KN:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`869$1`,0,`869`,[[`869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}`],[`869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],KP:[`850`,`00|99`,`85\\d{6}|(?:19\\d|[2-7])\\d{7}`,[8,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}`],[`19[1-3]\\d{7}`,[10]]]],KR:[`82`,`00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))`,`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],[[`(\\d{2})(\\d{3,4})`,`$1-$2`,[`(?:3[1-3]|[46][1-4]|5[1-5])1`],`0$1`],[`(\\d{4})(\\d{4})`,`$1-$2`,[`1`]],[`(\\d)(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[36]0|8`],`0$1`],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`[1346]|5[1-5]`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`],[`(\\d{2})(\\d{5})(\\d{4})`,`$1-$2-$3`,[`5`],`0$1`]],`0`,0,`0(8(?:[1-46-8]|5\\d\\d))?`,0,0,0,[[`(?: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}`,[5,6,8,9,10]],[`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}`,[9,10]],[`00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}`,[9,11,12,13,14]],[`60[2-9]\\d{6}`,[9]],[`50\\d{8,9}`,[10,11]],0,[`1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}`,[8]],[`15\\d{7,8}`,[9,10]],[`70\\d{8}`,[10]]]],KW:[`965`,`00`,`18\\d{5}|(?:[2569]\\d|41)\\d{6}`,[7,8],[[`(\\d{4})(\\d{3,4})`,`$1 $2`,[`[169]|2(?:[235]|4[1-35-9])|52`]],[`(\\d{3})(\\d{5})`,`$1 $2`,[`[245]`]]],0,0,0,0,0,0,[[`2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}`,[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(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}`,[8]],[`18\\d{5}`,[7]]]],KY:[`1`,`011`,`(?:345|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`345$1`,0,`345`,[[`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]|4[89]|88)|9(?:14|4[035-9]))\\d{4}`],[`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}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`(?:345976|900[2-9]\\d\\d)\\d{4}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],KZ:[`7`,`810`,`8\\d{13}|[78]\\d{9}`,[10,14],0,`8`,0,0,0,0,`7`,[[`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}`,[10]],[`7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}`,[10]],[`8(?:00|108\\d{3})\\d{7}`],[`809\\d{7}`,[10]],[`808\\d{7}`,[10]],0,0,0,[`751\\d{7}`,[10]]],`8~10`],LA:[`856`,`00`,`[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}`,[8,9,10],[[`(\\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`,[`3`],`0$1`],[`(\\d{2})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:2[13]|[35-7][14]|41|8[1468])\\d{6}`,[8]],[`(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}`,[9,10]]]],LB:[`961`,`00`,`[27-9]\\d{7}|[13-9]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[27-9]`]]],`0`,0,0,0,0,0,[[`7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}
25`],[`(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}`],0,[`9[01]\\d{6}`,[8]],0,0,0,0,0,[`80\\d{6}`,[8]]]],LC:[`1`,`011`,`(?:[58]\\d\\d|758|900)\\d{7}`,[10],0,`1`,0,`([2-8]\\d{6})$|1`,`758$1`,0,`758`,[[`758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}`],[`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}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],LI:[`423`,`00`,`[68]\\d{8}|(?:[2378]\\d|90)\\d{5}`,[7,9],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2379]|8(?:0[09]|7)`,`[2379]|8(?:0(?:02|9)|7)`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`69`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]]],`0`,0,`(1001)|0`,0,0,0,[[`(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}`,[7]],[`(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}`],[`8002[28]\\d\\d|80(?:05\\d|9)\\d{4}`],[`90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d`,[7]],0,[`697(?:42|56|[78]\\d)\\d{4}`,[9]],[`870(?:28|87)\\d\\d`,[7]]]],LK:[`94`,`00`,`[1-9]\\d{8}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`7(?:[0-25-8]\\d|4[0-4])\\d{6}`],0,0,0,0,[`1973\\d{5}`]]],LR:[`231`,`00`,`(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}`,[7,8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`2\\d{7}`,[8]],[`(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}`,[7,9]],0,[`332(?:02|[34]\\d)\\d{4}`,[9]]]],LS:[`266`,`00`,`(?:[256]\\d\\d|800)\\d{5}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2568]`]]],0,0,0,0,0,0,[[`2\\d{7}`],[`[56]\\d{7}`],[`800[1256]\\d{4}`]]],LT:[`370`,`00`,`(?:[3469]\\d|52|[78]0)\\d{6}`,[8],[[`(\\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]],`0`,0,`[08]`,0,0,0,[[`(?:3[1478]|4[124-6]|52)\\d{6}`],[`6\\d{7}`],[`80[02]\\d{5}`],[`9(?:0[0239]|10)\\d{5}`],[`70[05]\\d{5}`],0,[`70[67]\\d{5}`],0,[`[89]01\\d{5}`],[`808\\d{5}`]]],LU:[`352`,`00`,`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],[[`(\\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])`]],[`(\\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])`]],[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`20[2-689]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4`,[`20`]],[`(\\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]`]],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`80[01]|90[015]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`20`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4 $5`,[`20`]]],0,0,`(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)`,0,0,0,[[`(?: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}`],[`6(?:[26][18]|5[1568]|7[189]|81|9[128])\\d{6}`,[9]],[`800\\d{5}`,[8]],[`90[015]\\d{5}`,[8]],0,0,0,0,[`20(?:1\\d{5}|[2-689]\\d{1,7})`,[4,5,6,7,8,9,10]],[`801\\d{5}`,[8]]]],LV:[`371`,`00`,`(?:[268]\\d|78|90)\\d{6}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2679]|8[01]`]]],0,0,0,0,0,0,[[`6\\d{7}`],[`2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}`],[`80\\d{6}`],[`90\\d{6}`],0,0,0,0,0,[`81\\d{6}`]]],LY:[`218`,`00`,`[2-9]\\d{8}`,[9],[[`(\\d{2})(\\d{7})`,`$1-$2`,[`[2-9]`],`0$1`]],`0`,0,0,0,0,0,[[`(?: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}`],[`9[1-6]\\d{7}`]]],MA:[`212`,`00`,`[5-8]\\d{8}`,[9],[[`(\\d{4})(\\d{5})`,`$1-$2`,[`892`],`0$1`],[`(\\d{2})(\\d{7})`,`$1-$2`,[`8(?:0[0-7]|9)`],`0$1`],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[5-8]`],`0$1`]],`0`,0,0,0,0,`[5-8]`,[[`5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}`],[`80[0-7]\\d{6}`],[`89\\d{7}`],0,0,0,0,[`(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}`]]],MC:[`377`,`00`,`(?:[3489]|[67]\\d)\\d{7}`,[8,9],[[`(\\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`,[`[67]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:870|9[2-47-9]\\d)\\d{5}`,[8]],[`4(?:[469]\\d|5[1-9])\\d{5}|(?:3|[67]\\d)\\d{7}`],[`(?:800|90\\d)\\d{5}`,[8]]]],MD:[`373`,`00`,`(?:[235-7]\\d|[89]0)\\d{6}`,[8],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}`],[`562\\d{5}|(?:6\\d|7[16-9])\\d{6}`],[`800\\d{5}`],[`90[056]\\d{5}`],0,0,[`803\\d{5}`],0,[`3[08]\\d{6}`],[`808\\d{5}
25`]]],ME:[`382`,`00`,`(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-9]`],`0$1`]],`0`,0,0,0,0,0,[[`(?: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}`,[8]],[`6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}`,[8]],[`80(?:[0-2578]|9\\d)\\d{5}`],[`9(?:4[1568]|5[178])\\d{5}`,[8]],0,0,[`77[1-9]\\d{5}`,[8]],0,[`78[1-49]\\d{5}`,[8]]]],MF:[`590`,`00`,`(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}`],[`(?: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}`],[`80[0-5]\\d{6}`],0,0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],MG:[`261`,`00`,`[23]\\d{8}`,[9],[[`(\\d{2})(\\d{2})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],`0`,0,`([24-9]\\d{6})$|0`,`20$1`,0,0,[[`2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}`],[`3[2-9]\\d{7}`],0,0,0,0,0,0,[`22\\d{7}`]]],MH:[`692`,`011`,`329\\d{4}|(?:[256]\\d|45)\\d{5}`,[7],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-6]`]]],`1`,0,0,0,0,0,[[`(?:247|528|625)\\d{4}`],[`(?:(?:23|54)5|329|45[35-8])\\d{4}`],0,0,0,0,0,0,[`635\\d{4}`]]],MK:[`389`,`00`,`[2-578]\\d{7}`,[8],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:(?: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}`],[`7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}`],[`800\\d{5}`],[`5\\d{7}`],0,0,0,0,0,[`8(?:0[1-9]|[1-9]\\d)\\d{5}`]]],ML:[`223`,`00`,`[24-9]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-9]`]]],0,0,0,0,0,0,[[`2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}`],[`2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}`],[`80\\d{6}`]]],MM:[`95`,`00`,`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],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|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}`,[6,7,8,9]],[`(?: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}`,[7,8,9,10]],[`80080(?:0[1-9]|2\\d)\\d{3}`,[10]],0,0,0,0,0,[`1333\\d{4}`,[8]]]],MN:[`976`,`001`,`[12]\\d{7,9}|[5-9]\\d{7}`,[8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`[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}`],[`92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}`,[8]],0,0,0,0,0,0,[`712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}`,[8]]]],MO:[`853`,`00`,`0800\\d{3}|(?:28|[68]\\d)\\d{6}`,[7,8],[[`(\\d{4})(\\d{3})`,`$1 $2`,[`0`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[268]`]]],0,0,0,0,0,0,[[`(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}`,[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}`,[8]],[`0800\\d{3}`,[7]]]],MP:[`1`,`011`,`[58]\\d{9}|(?:67|90)0\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`670$1`,0,`670`,[[`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}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],MQ:[`596`,`00`,`(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`],[`(?:69[67]\\d\\d|7091[0-3])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],0,0,0,0,[`9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}`]]],MR:[`222`,`00`,`(?:[2-4]\\d\\d|800)\\d{5}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-48]`]]],0,0,0,0,0,0,[[`(?:25[08]|35\\d|45[1-7])\\d{5}`],[`[2-4][0-46-9]\\d{6}`],[`800\\d{5}`]]],MS:[`1`,`011`,`(?:[58]\\d\\d|664|900)\\d{7}`,[10],0,`1`,0,`([34]\\d{6})$|1`,`664$1`,0,`664`,[[`6644(?:1[0-3]|91)\\d{4}`],[`664(?:3(?:49|9[1-6])|49[2-6])\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],MT:[`356`,`00`,`3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2357-9]`]]],0,0,0,0,0,0,[[`20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}`],[`(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}`],[`800(?:02|[3467]\\d)\\d{3}`],[`5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}`],0,0,[`501\\d{5}`],[`7117\\d{4}`],[`3550\\d{4}`]]],MU:[`230`,`0(?:0|[24-7]0|3[03])`,`(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}`,[7,8,10],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-46]|8[013]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[57]`]],[`(\\d{5})(\\d{5})`,`$1 $2`,[`8`]]],0,0,0,0,0,0,[[`(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[0-24-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}`,[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-7]|3[013]))\\d{5}`,[8]],[`802\\d{7}|80[0-2]\\d{4}`,[7,10]],[`30\\d{5}`,[7]],0,0,0,[`219\\d{4}`,[7]],[`3(?:20|9\\d)\\d{4}`,[7]]],`020`],MV:[`960`,`0(?:0|19)`,`(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}`,[7,10],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[34679]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`]]],0,0,0,0,0,0,[[`(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}`,[7]],[`(?:46[46]|[79]\\d\\d)\\d{4}`,[7]],[`800\\d{7}`,[10]],[`900\\d{7}`,[10]],0,0,[`4(?:0[01]|50)\\d{4}`,[7]]],`00`],MW:[`265`,`00`,`(?:[1289]\\d|31|77)\\d{7}|1\\d{6}`,[7,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:1[2-9]|2[12]\\d\\d)\\d{5}`],[`111\\d{6}|(?:31|77|[89][89])\\d{7}`,[9]]]],MX:[`52`,`0[09]`,`[2-9]\\d{9}`,[10],[[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`33|5[56]|81`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-9]`]]],0,0,0,0,0,0,[[`(?: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-36-9]|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}`],[`(?: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-36-9]|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}`],[`8(?:00|88)\\d{7}`],[`900\\d{7}`],[`500\\d{7}`],0,0,0,0,[`300\\d{7}`]],`00`],MY:[`60`,`00`,`1\\d{8,9}|(?:3\\d|[4-9])\\d{7}`,[8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`427[01]\\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}`,[8,9]],[`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]|[23
256]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}`,[9,10]],[`1[378]00\\d{6}`,[10]],[`1600\\d{6}`,[10]],0,0,0,0,[`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}`,[10]]]],MZ:[`258`,`00`,`(?:2|8\\d)\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2|8[2-79]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]]],0,0,0,0,0,0,[[`2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}`,[8]],[`8[2-79]\\d{7}`,[9]],[`800\\d{6}`,[9]]]],NA:[`264`,`00`,`[68]\\d{7,8}`,[8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`],[`(?:60|8[1245])\\d{7}`,[9]],[`80\\d{7}`,[9]],[`8701\\d{5}`,[9]],0,0,0,0,[`8(?:3\\d\\d|86)\\d{5}`]]],NC:[`687`,`00`,`(?:050|[2-57-9]\\d\\d)\\d{3}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1.$2.$3`,[`[02-57-9]`]]],0,0,0,0,0,0,[[`(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}`],[`(?:[579]\\d|8[0-79])\\d{4}`],[`050\\d{3}`],[`36\\d{4}`]]],NE:[`227`,`00`,`[027-9]\\d{7}`,[8],[[`(\\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]`]]],0,0,0,0,0,0,[[`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}`],[`(?:23|7[0467]|[89]\\d)\\d{6}`],[`08\\d{6}`],[`09\\d{6}`]]],NF:[`672`,`00`,`[13]\\d{5}`,[6],[[`(\\d{2})(\\d{4})`,`$1 $2`,[`1[0-3]`]],[`(\\d)(\\d{5})`,`$1 $2`,[`[13]`]]],0,0,`([0-258]\\d{4})$`,`3$1`,0,0,[[`(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}`],[`(?:14|3[58])\\d{4}`]]],NG:[`234`,`009`,`(?:20|9\\d)\\d{8}|[78]\\d{9,13}`,[10,11,12,13,14],[[`(\\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`]],`0`,0,0,0,0,0,[[`20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}`,[10]],[`(?: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}`,[10]],[`800\\d{7,11}`],0,0,0,[`700\\d{7,11}`]]],NI:[`505`,`00`,`(?:1800|[25-8]\\d{3})\\d{4}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[125-8]`]]],0,0,0,0,0,0,[[`2\\d{7}`],[`(?: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}`],[`1800\\d{4}`]]],NL:[`31`,`00`,`(?:[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],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`,[9]],[`(?:6[1-58]|970\\d)\\d{7}`,[9,11]],[`800\\d{4,7}`,[7,8,9,10]],[`90[069]\\d{4,7}`,[7,8,9,10]],0,0,[`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`,[5,6,9]],[`66\\d{7}`,[9]],[`(?:85|91)\\d{7}`,[9]]]],NO:[`47`,`00`,`(?:0|[2-9]\\d{3})\\d{4}`,[5,8],[[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-79]`]]],0,0,0,0,0,`[02-689]|7[0-8]`,[[`(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}`,[8]],[`(?:4[015-8]|9\\d)\\d{6}`,[8]],[`80[01]\\d{5}`,[8]],[`82[09]\\d{5}`,[8]],[`880\\d{5}`,[8]],[`81[23]\\d{5}`,[8]],[`(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}`],0,[`85[0-5]\\d{5}`,[8]],[`810(?:0[0-6]|[2-8]\\d)\\d{3}`,[8]]]],NP:[`977`,`00`,`(?:1\\d|9)\\d{9}|[1-9]\\d{7}`,[8,10,11],[[`(\\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`]]],`0`,0,0,0,0,0,[[`(?: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}`,[8]],[`9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}`,[10]],[`1(?:66001|800\\d\\d)\\d{5}`,[11]]]],NR:[`674`,`00`,`(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[24-9]`]]],0,0,0,0,0,0,[[`444\\d{4}`],[`(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}`]]],NU:[`683`,`00`,`(?:[4-7]|888\\d)\\d{3}`,[4,7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`8`]]],0,0,0,0,0,0,[[`[47]\\d{3}`,[4]],[`(?:[56]|888[1-9])\\d{3}`]]],NZ:[`64`,`0(?:0|161)`,`[1289]\\d{9}|50\\d{5}
25(?:\\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],[[`(\\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`]],`0`,0,0,0,0,0,[[`240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}`,[8]],[`2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}`,[8,9,10]],[`508\\d{6,7}|80\\d{6,8}`,[8,9,10]],[`(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}`,[7,8,9,10]],[`70\\d{7}`,[9]],0,[`8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}`]],`00`],OM:[`968`,`00`,`(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}`,[7,8,9],[[`(\\d{3})(\\d{4,6})`,`$1 $2`,[`[58]`]],[`(\\d{2})(\\d{6})`,`$1 $2`,[`2`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[179]`]]],0,0,0,0,0,0,[[`2[1-6]\\d{6}`,[8]],[`(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}`,[8]],[`8007\\d{4,5}|(?:500|800[05])\\d{4}`],[`900\\d{5}`,[8]]]],PA:[`507`,`00`,`(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}`,[7,8,10,11],[[`(\\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`]]],0,0,0,0,0,0,[[`(?:1(?:0\\d|1[0479]|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(?:[047-9]\\d|1[0-8]|2[0-5]|33|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[4-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}`,[7]],[`(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}`,[7,8]],[`800\\d{4,5}|(?:00800|800\\d)\\d{6}`],[`(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}`,[7]]]],PE:[`51`,`00|19(?:1[124]|77|90)00`,`(?:[14-8]|9\\d)\\d{7}`,[8,9],[[`(\\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`]]],`0`,0,0,0,0,0,[[`(?:(?:(?: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}`,[8]],[`9\\d{8}`,[9]],[`800\\d{5}`,[8]],[`805\\d{5}`,[8]],[`80[24]\\d{5}`,[8]],0,0,0,0,[`801\\d{5}`,[8]]],`00`,` Anexo `],PF:[`689`,`00`,`4\\d{5}(?:\\d{2})?|8\\d{7,8}`,[6,8,9],[[`(\\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`]]],0,0,0,0,0,0,[[`4(?:0[4-689]|9[4-68])\\d{5}`,[8]],[`8[7-9]\\d{6}`,[8]],[`80[0-5]\\d{6}`,[9]],0,0,0,[`44\\d{4}`,[6]],0,[`499\\d{5}`,[8]]]],PG:[`675`,`00|140[1-3]`,`(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`18|[2-69]|85`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[78]`]]],0,0,0,0,0,0,[[`(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}`,[7]],[`(?:7\\d|8[1-48])\\d{6}`,[8]],[`180\\d{4}`,[7]],0,0,0,0,[`27[01]\\d{4}`,[7]],[`2(?:0[0-57]|7[568])\\d{4}`,[7]]],`00`],PH:[`63`,`00`,`(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}`,[6,8,9,10,11,12,13],[[`(\\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`]]],`0`,0,0,0,0,0,[[`(?:(?: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}`,[6,8,9,10]],[`(?: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}`,[10]],[`1800\\d{7,9}`,[11,12,13]]]],PK:[`92`,`00`,`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],[[`(\\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}
25)`,`$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)`]],`0`,0,0,0,0,0,[[`(?:(?: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}`,[9,10]],[`3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}`,[10]],[`800\\d{5}(?:\\d{3})?`,[8,11]],[`900\\d{5}`,[8]],[`122\\d{6}`,[9]],0,[`(?: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}`,[11,12]]]],PL:[`48`,`00`,`(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}`,[6,7,8,9,10],[[`(\\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`]]],0,0,0,0,0,0,[[`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})?))`,[7,9]],[`21(?:1[013-5]|2\\d|3[1-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}`,[9]],[`800\\d{6,7}`,[9,10]],[`70[01346-8]\\d{6}`,[9]],0,0,[`804\\d{6}`,[9]],[`64\\d{4,7}`,[6,7,8,9]],[`39\\d{7}`,[9]],[`801\\d{6}`,[9]]]],PM:[`508`,`00`,`[45]\\d{5}|(?:708|8\\d\\d)\\d{6}`,[6,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}`],[`(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}`],[`80[0-5]\\d{6}`,[9]],[`8[129]\\d{7}`,[9]]]],PR:[`1`,`011`,`(?:[589]\\d\\d|787)\\d{7}`,[10],0,`1`,0,0,0,0,`787|939`,[[`(?:787|939)[2-9]\\d{6}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],PS:[`970`,`00`,`[2489]2\\d{6}|(?:1\\d|5)\\d{8}`,[8,9,10],[[`(\\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`]]],`0`,0,0,0,0,0,[[`(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}`,[8]],[`5[69]\\d{7}`,[9]],[`1800\\d{6}`,[10]],0,0,0,0,0,0,[`1700\\d{6}`,[10]]]],PT:[`351`,`00`,`1693\\d{5}|(?:[26-9]\\d|30)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2[12]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`16|[236-9]`]]],0,0,0,0,0,0,[[`2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}`],[`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}`],[`80[02]\\d{6}`],[`(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}`],[`884[0-4689]\\d{5}`],[`600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}`],[`70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}`],[`6(?:222\\d|89(?:00|88|99))\\d{4}`],[`30\\d{7}`],[`80(?:8\\d|9[1579])\\d{5}`]]],PW:[`680`,`01[12]`,`(?:[24-8]\\d\\d|345|900)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]],0,0,0,0,0,0,[[`(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}`],[`(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}`]]],PY:[`595`,`00`,`[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}`,[6,7,8,9,10,11],[[`(\\d{3})(\\d{3,6})`,`$1 $2`,[`[2-9]0`],`0$1`],[`(\\d{2})(\\d{5})`,`$1 $2`,[`3[289]|4[246-8]|61|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`]]],`0`,0,0,0,0,0,[[`(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|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-
25578]|75|8[0-8])|858)\\d{5,6}`,[7,8,9]],[`9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}`,[9]],[`9800\\d{5,7}`,[9,10,11]],0,0,0,[`[245]0\\d{6,7}|[36-9]0\\d{4,7}`,[6,7,8,9]],0,[`8700[0-4]\\d{4}`,[9]]]],QA:[`974`,`00`,`800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}`,[7,8,9,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`2[136]|8`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]],0,0,0,0,0,0,[[`4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}`,[8]],[`[35-7]\\d{7}`,[8]],[`800\\d{4}|(?:0080[01]|800)\\d{6}`,[7,9,11]],0,0,0,0,[`2[136]\\d{5}`,[7]]]],RE:[`262`,`00`,`709\\d{6}|(?:26|[689]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-9]`],`0$1`]],`0`,0,0,0,0,0,[[`26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}`],[`(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|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}`],[`80\\d{7}`],[`89[1-37-9]\\d{6}`],0,0,0,0,[`9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}`],[`8(?:1[019]|2[0156]|84|90)\\d{6}`]]],RO:[`40`,`00`,`(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}`,[6,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d`],[`(?: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}`,[9]],[`800\\d{6}`,[9]],[`90[0136]\\d{6}`,[9]],0,0,[`(?:37\\d|80[578])\\d{6}`,[9]],0,0,[`801\\d{6}`,[9]]],0,` int `],RS:[`381`,`00`,`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],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`,[7,8,9,10,11,12]],[`6(?:[0-689]|7\\d)\\d{6,7}`,[8,9,10]],[`800\\d{3,9}`],[`(?:78\\d|90[0169])\\d{3,7}`,[6,7,8,9,10]],0,0,[`7[06]\\d{4,10}`]]],RU:[`7`,`810`,`8\\d{13}|[347-9]\\d{9}`,[10,14],[[`(\\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)`]],`8`,0,0,0,0,`[3489]`,[[`(?:3(?:0[12]|36|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-7]|6[0-35-79]|7[1-37-9]))\\d{7}`,[10]],[`9\\d{9}`,[10]],[`8(?:0[04]|108\\d{3})\\d{7}`],[`80[39]\\d{7}`,[10]],[`808\\d{7}`,[10]]],`8~10`],RW:[`250`,`00`,`(?:06|[27]\\d\\d|[89]00)\\d{6}`,[8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:06|2[23568]\\d)\\d{6}`],[`7[237-9]\\d{7}`,[9]],[`800\\d{6}`,[9]],[`900\\d{6}`,[9]]]],SA:[`966`,`00`,`(?:[15]\\d|800|92)\\d{7}`,[9,10],[[`(\\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{4})`,`$1 $2 $3`,[`8`]]],`0`,0,0,0,0,0,[[`1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}`,[9]],[`579[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}`,[9]],[`800\\d{7}`,[10]],[`925\\d{6}`,[9]],0,0,0,0,0,[`920\\d{6}`,[9]]]],SB:[`677`,`0[01]`,`[6-9]\\d{6}|[1-6]\\d{4}`,[5,7],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])`]]],0,0,0,0,0,0,[[`(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}`,[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}`],[`1[38]\\d{3}`,[5]],0,0,0,0,0,[`5[12]\\d{3}`,[5]]]],SC:[`248`,`010|0[0-2]`,`(?:[2489]\\d|64)\\d{5}`,[7],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[246]|9[57]`]]],0,0,0,0,0,0,[[`4[2-46]\\d{5}`],[`2[125-8]\\d{5}`],[`800[08]\\d{3}`],[`85\\d{5}`],0,0,0,0,[`971\\d{4}|(?:64|95)\\d{5}`]],`00`],SD:[`249`,`00`,`[19]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[19]`],`0$1`]],`0`,0,0,0,0,0,[[`1(?:5\\d|8[35-7])\\d{6}`],[`(?:1[0-2]|9[0-3569])\\d{7}`]]],SE:[`46`,`00`,`(?:[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],[[`(\\d{2})(\\d{2,3})(\\d{2})`,`$1-$2 $3`,[`20`],`0$1`,0,`$1 $2 $3`],[`(\\d{3})(\\d{4})`,`$1-$2`,[`9(?:00|39|44|9)`],`0$1`,0,`$1 $2`],[`(\\d{2})(\\d{3})(\\d{2})`,`$1-$2 $3`,[`[12][136]|3[356]|4[0246]|6[03]|90[1-9]`],`0$1`,0,`$1 $2 $3`],[`(\\d)(\\d{2,3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`,0,`$1 $2 $3 $4`],[`(\\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`,0,`$1 $2 $3`],[`(\\d{3})(\\d{2,3})(\\d{3})`,`$1-$2 $3`,[`9(?:00|39|44)`],`0$1`,0,`$1 $2 $3`],[`(\\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`,0,`$1 $2 $3 $4`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`10|7`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`,0,`$1 $2 $3 $4`],[`(\\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`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{3})`,`$1-$2 $3 $4`,[`9`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4 $5`,[`[26]`],`0$1`,0,`$1 $2 $3 $4 $5`]],`0`,0,0,0,0,0,[[`(?:(?:[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}`,[7,8,9]],[`7[02369]\\d{7}`,[9]],[`20\\d{4,7}`,[6,7,8,9]],[`649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}`,[7,8,9,10]],[`75[1-8]\\d{6}`,[9]],[`(?:25[245]|67[3-68])\\d{9}`,[12]],[`10[1-8]\\d{6}`,[9]],[`74[02-9]\\d{6}`,[9]],0,[`77[0-7]\\d{6}`,[9]]]],SG:[`65`,`0[0-3]\\d`,`(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}`,[8,10,11],[[`(\\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`]]],0,0,0,0,0,0,[[`662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}`,[8]],[`89(?:8[02-9]|9[0-6])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}`,[8]],[`(?:18|8)00\\d{7}`,[10,11]],[`1900\\d{7}`,[11]],0,0,[`7000\\d{7}`,[11]],0,[`(?:3[12]\\d|666)\\d{5}`,[8]]]],SH:[`290`,`00`,`(?:[256]\\d|8)\\d{3}`,[4,5],0,0,0,0,0,0,`[256]`,[[`2(?:[0-57-9]\\d|6[4-9])\\d\\d`],[`[56]\\d{4}`,[5]],0,0,0,0,0,0,[`262\\d\\d`,[5]]]],SI:[`386`,`00|10(?:22|66|88|99)`,`[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}`,[5,6,7,8],[[`(\\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)`]],`0`,0,0,0,0,0,[[`(?:[1-357][2-8]|4[24-8])\\d{6}`,[8]],[`65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}`,[8]],[`80\\d{4,6}`,[6,7,8]],[`89[1-3]\\d{2,5}|90\\d{4,6}`],0,0,0,0,[`(?: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}`,[8]]],`00`],SJ:[`47`,`00`,`0\\d{4}|(?:[489]\\d|79)\\d{6}`,[5,8],0,0,0,0,0,0,`79`,[[`79\\d{6}`,[8]],[`(?:4[015-8]|9\\d)\\d{6}`,[8]],[`80[01]\\d{5}`,[8]],[`82[09]\\d{5}`,[8]],[`880\\d{5}`,[8]],[`81[23]\\d{5}`,[8]],[`(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}`],0,[`85[0-5]\\d{5}`,[8]],[`810(?:0[0-6]|[2-8]\\d)\\d{3}`,[8]]]],SK:[`421`,`00`,`[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}`,[6,7,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}
25|[3-5][1-8]16\\d\\d`],[`909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}`,[9]],[`800\\d{6}`,[9]],[`9(?:00|[78]\\d)\\d{6}`,[9]],0,0,[`96\\d{7}`,[9]],[`9090\\d{3}`,[7]],[`6(?:02|5[0-4]|9[0-6])\\d{6}`,[9]],[`8[5-9]\\d{7}`,[9]]]],SL:[`232`,`00`,`(?:[237-9]\\d|66)\\d{6}`,[8],[[`(\\d{2})(\\d{6})`,`$1 $2`,[`[236-9]`],`(0$1)`]],`0`,0,0,0,0,0,[[`22[2-4][2-9]\\d{4}`],[`(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}`]]],SM:[`378`,`00`,`(?:0549|[5-7]\\d)\\d{6}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]`]],[`(\\d{4})(\\d{6})`,`$1 $2`,[`0`]]],0,0,`([89]\\d{5})$`,`0549$1`,0,0,[[`0549(?:8[0157-9]|9\\d)\\d{4}`,[10]],[`6[16]\\d{6}`,[8]],0,[`7[178]\\d{6}`,[8]],0,0,0,0,[`5[158]\\d{6}`,[8]]]],SN:[`221`,`00`,`(?:[378]\\d|93)\\d{7}`,[9],[[`(\\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]`]]],0,0,0,0,0,0,[[`3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}`],[`7(?:[015-8]\\d|21|90)\\d{6}`],[`800\\d{6}`],[`88[4689]\\d{6}`],0,0,0,0,[`(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}`],[`81[02468]\\d{6}`]]],SO:[`252`,`00`,`[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}`,[6,7,8,9],[[`(\\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]|7[67]|9[2-9]`]]],`0`,0,0,0,0,0,[[`(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}`,[6,7]],[`(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}`,[7,8,9]]]],SR:[`597`,`00`,`(?:[2-5]|[6-8]\\d|90)\\d{5}`,[6,7],[[`(\\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-9]`]]],0,0,0,0,0,0,[[`(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}`,[6]],[`(?:6[08]|7[124-7]|8[1-9])\\d{5}`,[7]],[`80\\d{5}`,[7]],[`90\\d{5}`,[7]],0,0,0,0,[`56\\d{4}`,[6]]]],SS:[`211`,`00`,`[19]\\d{8}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[19]`],`0$1`]],`0`,0,0,0,0,0,[[`1[89]\\d{7}`],[`(?:12|9[1257-9])\\d{7}`]]],ST:[`239`,`00`,`(?:22|9\\d)\\d{5}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[29]`]]],0,0,0,0,0,0,[[`22\\d{5}`],[`900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}`]]],SV:[`503`,`00`,`[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?`,[7,8,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[89]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[25-7]`]],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[89]`]]],0,0,0,0,0,0,[[`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}`,[8]],[`[5-7]\\d{7}`,[8]],[`800\\d{8}|80[01]\\d{4}`,[7,11]],[`900\\d{4}(?:\\d{4})?`,[7,11]]]],SX:[`1`,`011`,`7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`(5\\d{6})$|1`,`721$1`,0,`721`,[[`7215(?:4[2-8]|8[239]|9[056])\\d{4}`],[`7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],SY:[`963`,`00`,`[1-359]\\d{8}|[1-5]\\d{7}`,[8,9],[[`(\\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]],`0`,0,0,0,0,0,[[`21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}`],[`(?:50|9[1-9])\\d{7}`,[9]]]],SZ:[`268`,`00`,`0800\\d{4}|(?:[237]\\d|900)\\d{6}`,[8,9],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[0237]`]],[`(\\d{5})(\\d{4})`,`$1 $2`,[`9`]]],0,0,0,0,0,0,[[`[23][2-5]\\d{6}`,[8]],[`7[5-9]\\d{6}`,[8]],[`0800\\d{4}`,[8]],[`900\\d{6}`,[9]],0,0,0,0,[`70\\d{6}`,[8]]]],TA:[`290`,`00`,`8\\d{3}`,[4],0,0,0,0,0,0,`8`,[[`8\\d{3}`]]],TC:[`1`,`011`,`(?:[58]\\d\\d|649|900)\\d{7}`,[10],0,`1`,0,`([2-479]\\d{6})$|1`,`649$1`,0,`649`,[[`649(?:266|712|9(?:4\\d|50))\\d{4}`],[`649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,0,0,[`649(?:71[01]|966)\\d{4}`]]],TD:[`235`,`00|16`,`(?:22|30|[689]\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[236-9]`]]],0,0,0,0,0,0,[[`22(?:[37-9]0|5[0-5]|6[89])\\d{4}`],[`(?:30|[69]\\d|77|8[5-7])\\d{6}`]],`00`],TG:[`228`,`00`,`[279]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[279]`]]],0,0,0,0,0,0,[[`2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}`],[`(?:7[0-29]|9[0-36-9])\\d{6}`]]],TH:[`66`,`00[1-9]`,`(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}`,[8,9,10,13],[[`(\\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`]]],`0`,0,0,0,0,0,[[`(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}`,[8]],[`67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}`,[9]],[`(?:001800\\d|1800)\\d{6}`,[10,13]],[`1900\\d{6}`,[10]],0,0,0,0,[`6[08]\\d{7}`,[9]]]],TJ:[`992`,`810`,`(?:[0-57-9]\\d|66)\\d{7}`,[9],[[`(\\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`,[`\\d`]]],0,0,0,0,0,0,[[`(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}`],[`(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|3[08]|40|5[05]|66|7[01578]|8[078])\\d{7}`]],`8~10`],TK:[`690`,`00`,`[2-47]\\d{3,6}`,[4,5,6,7],0,0,0,0,0,0,0,[[`(?:2[2-4]|[34]\\d)\\d{2,5}`],[`7[2-4]\\d{2,5}`]]],TL:[`670`,`00`,`7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-489]|70`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`7`]]],0,0,0,0,0,0,[[`(?:2[1-5]|3[1-9]|4[1-4])\\d{5}`,[7]],[`7[2-8]\\d{6}`,[8]],[`80\\d{5}`,[7]],[`90\\d{5}`,[7]],[`70\\d{5}`,[7]]]],TM:[`993`,`810`,`(?:[1-6]\\d|71)\\d{6}`,[8],[[`(\\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`]],`8`,0,0,0,0,0,[[`(?: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}`],[`(?:6\\d|71)\\d{6}`]],`8~10`],TN:[`216`,`00`,`[2-57-9]\\d{7}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-57-9]`]]],0,0,0,0,0,0,[[`81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}`],[`3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}`],[`8010\\d{4}`],[`88\\d{6}`],0,0,0,0,0,[`8[12]10\\d{4}`]]],TO:[`676`,`00`,`(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}`,[5,7],[[`(\\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]`]]],0,0,0,0,0,0,[[`(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}`,[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}`,[7]],[`0800\\d{3}`,[7]],0,0,0,0,0,[`55[0-37-9]\\d{4}`,[7]]]],TR:[`90`,`00`,`4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}`,[7,10,12,13],[[`(\\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]],`0`,0,0,0,0,0,[[`(?: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}`,[10]],[`561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}`,[10]],[`8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})`,[10,12,13]],[`(?:8[89]8|900)\\d{7}`,[10]],[`592(?:21[12]|461)\\d{4}`,[10]],0,[`444\\d{4}`,[7]],[`512\\d{7}`,[10]],[`850\\d{7}`,[10]]]],TT:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-46-8]\\d{6})$|1`,`868$1`,0,`868`,[[`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}`],[`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}`],[`868800\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],[`868619\\d{4}`]]],TV:[`688`,`00`,`(?:2|7\\d\\d|90)\\d{4}`,[5,6,7],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`2`]],[`(\\d{2})(\\d{4})`,`$1 $2`,[`90`]],[`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]],0,0,0,0,0,0,[[`2[02-9]\\d{3}`,[5]],[`(?:7[01]\\d|90)\\d{4}`,[6,7]]]],TW:[`886`,`0(?:0[25-79]|19)`,`[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}`,[7,8,9,10,11],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?: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}`,[8,9]],[`(?:40001[0-2]|9[0-8]\\d{4})\\d{3}`,[9]],[`80[0-79]\\d{6}|800\\d{5}`,[8,9]],[`20(?:[013-9]\\d\\d|2)\\d{4}`,[7,9]],[`99\\d{7}`,[9]],0,[`50[0-46-9]\\d{6}
25`,[9]],0,[`7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}`,[10,11]]],0,`#`],TZ:[`255`,`00[056]`,`(?:[25-8]\\d|41|90)\\d{7}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`2[2-8]\\d{7}`],[`(?:6[1-35-9]|7[013-9])\\d{7}`],[`80[08]\\d{6}`],[`90\\d{7}`],0,0,0,0,[`41\\d{7}`],[`8(?:40|6[01])\\d{6}`]]],UA:[`380`,`00`,`[89]\\d{9}|[3-9]\\d{8}`,[9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}`,[9]],[`790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}`,[9]],[`800[1-8]\\d{5,6}`],[`900[239]\\d{5,6}`],0,0,0,0,[`89[1-579]\\d{6}`,[9]]],`0~0`],UG:[`256`,`00[057]`,`800\\d{6}|(?:[29]0|[347]\\d)\\d{7}`,[9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`],[`72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[06]|9[0-3589])\\d{6}`],[`800[1-3]\\d{5}`],[`90[1-3]\\d{6}`]]],US:[`1`,`011`,`[2-9]\\d{9}|3\\d{6}`,[10],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`310`],0,1],[`(\\d{3})(\\d{3})(\\d{4})`,`($1) $2-$3`,[`[2-9]`],0,1,`$1-$2-$3`]],`1`,0,0,0,0,0,[[`(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|8[04-69]))[2-9]\\d{6}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],UY:[`598`,`0(?:0|1[3-9]\\d)`,`0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}`,[4,5,6,7,8,9,10,11,12,13],[[`(\\d{4,5})`,`$1`,[`21`]],[`(\\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`]]],`0`,0,0,0,0,0,[[`(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}`,[8]],[`9[1-9]\\d{6}`,[8]],[`0004\\d{2,9}|(?:405|80[05])\\d{4}`,[6,7,8,9,10,11,12,13]],[`90[0-8]\\d{4}`,[7]],0,0,[`21\\d{2,3}`,[4,5]]],`00`,` int. `],UZ:[`998`,`00`,`(?:20|33|[5-9]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[235-9]`]]],0,0,0,0,0,0,[[`(?: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])|[168]\\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}`],[`(?:(?:[25]0|33|8[078]|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}|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}`]]],VA:[`39`,`00`,`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],0,0,0,0,0,0,`06698`,[[`06698\\d{1,6}`,[6,7,8,9,10,11]],[`3[1-9]\\d{8}|3[2-9]\\d{7}`,[9,10]],[`80(?:0\\d{3}|3)\\d{3}`,[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}`,[6,8,9,10]],[`1(?:78\\d|99)\\d{6}`,[9,10]],[`3[2-8]\\d{9,10}`,[11,12]],0,0,[`55\\d{8}`,[10]],[`84(?:[08]\\d{3}|[17])\\d{3}`,[6,9]]]],VC:[`1`,`011`,`(?:[58]\\d\\d|784|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`784$1`,0,`784`,[[`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}`],[`784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,0,0,[`78451[0-2]\\d{4}`]]],VE:[`58`,`00`,`[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}`,[10],[[`(\\d{3})(\\d{7})`,`$1-$2`,[`[24-689]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}`],[`4(?:1[24-8]|2[246])\\d{7}`],[`800\\d{7}`],[`90[01]\\d{7}`],0,0,[`501\\d{7}`]]],VG:[`1`,`011`,`(?:284|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-578]\\d{6})$|1`,`284$1`,0,`284`,[[`284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}`],[`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}`],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],VI:[`1`,`011`,`[58]\\d{9}|(?:34|90)0\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`340$1`,0,`340`,[[`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}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],VN:[`84`,`00`,`[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}`,[7,8,9,10],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`80`],`0$1`,1],[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1`],0,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]],`0`,0,0,0,0,0,[[`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}`,[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}`,[9]],[`1800\\d{4,6}|12(?:0[13]|28)\\d{4}`,[8,9,10]],[`1900\\d{4,6}`,[8,9,10]],0,0,[`(?:[17]99|80\\d)\\d{4}|69\\d{5,6}`,[7,8]],0,[`672\\d{6}`,[9]]]],VU:[`678`,`00`,`[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}`,[5,7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[57-9]`]]],0,0,0,0,0,0,[[`(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}`,[5]],[`(?:[58]\\d|7[013-7])\\d{5}`,[7]],[`81[18]\\d\\d`,[5]],0,0,0,[`(?:3[03]|900\\d)\\d{3}`],0,[`9(?:0[1-9]|1[01])\\d{4}`,[7]]]],WF:[`681`,`00`,`(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[47-9]`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]]],0,0,0,0,0,0,[[`72\\d{4}`,[6]],[`(?:72|8[23])\\d{4}`,[6]],[`80[0-5]\\d{6}`,[9]],0,0,[`[48]0\\d{4}`,[6]],0,0,[`9[23]\\d{4}`,[6]]]],WS:[`685`,`0`,`(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}`,[5,6,7,10],[[`(\\d{5})`,`$1`,[`[2-5]|6[1-9]`]],[`(\\d{3})(\\d{3,7})`,`$1 $2`,[`[68]`]],[`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]],0,0,0,0,0,0,[[`6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}`,[5,6]],[`(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}`,[7,10]],[`800\\d{3}`,[6]]]],XK:[`383`,`00`,`2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}`,[8,9,10,11,12],[[`(\\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`]],`0`,0,0,0,0,0,[[`38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})`],[`4[3-9]\\d{6}`,[8]],[`800\\d{5}`,[8]],[`900\\d{5}`,[8]]]],YE:[`967`,`00`,`(?:1|7\\d)\\d{7}|[1-7]\\d{6}`,[7,8,9],[[`(\\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`]],`0`,0,0,0,0,0,[[`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}`,[7,8]],[`7[01378]\\d{7}`,[9]]]],YT:[`262`,`00`,`7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}`,[9],0,`0`,0,0,0,0,0,[[`269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}`],[`(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}`],[`80\\d{7}`],0,0,0,0,0,[`9(?:(?:39|47)8[01]|769\\d)\\d{4}`]]],ZA:[`27`,`00`,`[1-79]\\d{8}|8\\d{4,9}`,[5,6,7,8,9,10],[[`(\\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`]],`0`,0,0,0,0,0,[[`(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}`,[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)|(?:50[0-2]|[67]\\d\\d)\\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}`,[5,6,7,8,9]],[`80\\d{7}`,[9]],[`(?:86[2-9]|9[0-2]\\d)\\d{6}`,[9]],0,0,[`861\\d{6,7}`,[9,10]],0,[`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}`,[9]],[`860\\d{6}`,[9]]]],ZM:[`260`,`00`,`800\\d{6}|(?:21|[579]\\d|63)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[579]`],`0$1`]],`0`,0,0,0,0,0,[[`21[1-8]\\d{6}`],[`(?:[59][5-8]|7[5-9])\\d{7}`],[`800\\d{6}`],0,0,0,0,0,[`63\\d{7}`]]],ZW:[`263`,`00`,`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],[[`(\\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}
25)`,`$1 $2`,[`(?:25|54)8`,`258|5483`],`0$1`]],`0`,0,0,0,0,0,[[`(?: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}`],[`7(?:[1278]\\d|3[1-9])\\d{6}`,[9]],[`80(?:[01]\\d|20|8[0-8])\\d{3}`,[7]],0,0,0,0,0,[`86(?:1[12]|22|30|44|55|77|8[368])\\d{6}`,[10]]]]},nonGeographic:{800:[`800`,0,`(?:00|[1-9]\\d)\\d{6}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`\\d`]]],0,0,0,0,0,0,[0,0,[`(?:00|[1-9]\\d)\\d{6}`]]],808:[`808`,0,`[1-9]\\d{7}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[1-9]`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,[`[1-9]\\d{7}`]]],870:[`870`,0,`7\\d{11}|[235-7]\\d{8}`,[9,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235-7]`]]],0,0,0,0,0,0,[0,[`(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}`],0,0,0,0,0,0,[`2\\d{8}`,[9]]]],878:[`878`,0,`10\\d{10}`,[12],[[`(\\d{2})(\\d{5})(\\d{5})`,`$1 $2 $3`,[`1`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[`10\\d{10}`]]],881:[`881`,0,`6\\d{9}|[0-36-9]\\d{8}`,[9,10],[[`(\\d)(\\d{3})(\\d{5})`,`$1 $2 $3`,[`[0-37-9]`]],[`(\\d)(\\d{3})(\\d{5,6})`,`$1 $2 $3`,[`6`]]],0,0,0,0,0,0,[0,[`6\\d{9}|[0-36-9]\\d{8}`]]],882:[`882`,0,`[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?`,[7,8,9,10,11,12],[[`(\\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]`]]],0,0,0,0,0,0,[0,[`342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}`,[7,8,9,10,12]],0,0,0,[`348[57]\\d{7}`,[11]],0,0,[`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}`]]],883:[`883`,0,`(?:[1-4]\\d|51)\\d{6,10}`,[8,9,10,11,12],[[`(\\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]`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[`(?: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}`]]],888:[`888`,0,`\\d{11}`,[11],[[`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`]],0,0,0,0,0,0,[0,0,0,0,0,0,[`\\d{11}`]]],979:[`979`,0,`[1359]\\d{8}`,[9],[[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[1359]`]]],0,0,0,0,0,0,[0,0,0,[`[1359]\\d{8}`]]]}};function AU(e,t){var n=Array.prototype.slice.call(t);return n.push(kU),e.apply(this,n)}function jU(){return AU(OV,arguments)}var MU={AC:`40123`,AD:`312345`,AE:`501234567`,AF:`701234567`,AG:`2684641234`,AI:`2642351234`,AL:`672123456`,AM:`77123456`,AO:`923123456`,AR:`91123456789`,AS:`6847331234`,AT:`664123456`,AU:`412345678`,AW:`5601234`,AX:`412345678`,AZ:`401234567`,BA:`61123456`,BB:`2462501234`,BD:`1812345678`,BE:`450001234`,BF:`70123456`,BG:`43012345`,BH:`36001234`,BI:`79561234`,BJ:`0195123456`,BL:`690001234`,BM:`4413701234`,BN:`7123456`,BO:`71234567`,BQ:`3181234`,BR:`11961234567`,BS:`2423591234`,BT:`17123456`,BW:`71123456`,BY:`294911911`,BZ:`6221234`,CA:`5062345678`,CC:`412345678`,CD:`991234567`,CF:`70012345`,CG:`061234567`,CH:`781234567`,CI:`0123456789`,CK:`71234`,CL:`221234567`,CM:`671234567`,CN:`13123456789`,CO:`3211234567`,CR:`83123456`,CU:`51234567`,CV:`9911234`,CW:`95181234`,CX:`412345678`,CY:`96123456`,CZ:`601123456`,DE:`15123456789`,DJ:`77831001`,DK:`34412345`,DM:`7672251234`,DO:`8092345678`,DZ:`551234567`,EC:`991234567`,EE:`51234567`,EG:`1001234567`,EH:`650123456`,ER:`7123456`,ES:`612345678`,ET:`911234567`,FI:`412345678`,FJ:`7012345`,FK:`51234`,FM:`3501234`,FO:`211234`,FR:`612345678`,GA:`06031234`,GB:`7400123456`,GD:`4734031234`,GE:`555123456`,GF:`694201234`,GG:`7781123456`,GH:`231234567`,GI:`57123456`,GL:`221234`,GM:`3012345`,GN:`601123456`,GP:`690001234`,GQ:`222123456`,GR:`6912345678`,GT:`51234567`,GU:`6713001234`,GW:`955012345`,GY:`6091234`,HK:`51234567`,HN:`91234567`,HR:`921234567`,HT:`34101234`,HU:`201234567`,ID:`8
2512345678`,IE:`850123456`,IL:`502345678`,IM:`7924123456`,IN:`8123456789`,IO:`3801234`,IQ:`7912345678`,IR:`9123456789`,IS:`6111234`,IT:`3123456789`,JE:`7797712345`,JM:`8762101234`,JO:`790123456`,JP:`9012345678`,KE:`712123456`,KG:`700123456`,KH:`91234567`,KI:`72001234`,KM:`3212345`,KN:`8697652917`,KP:`1921234567`,KR:`1020000000`,KW:`50012345`,KY:`3453231234`,KZ:`7710009998`,LA:`2023123456`,LB:`71123456`,LC:`7582845678`,LI:`660234567`,LK:`712345678`,LR:`770123456`,LS:`50123456`,LT:`61234567`,LU:`628123456`,LV:`21234567`,LY:`912345678`,MA:`650123456`,MC:`612345678`,MD:`62112345`,ME:`60123456`,MF:`690001234`,MG:`321234567`,MH:`2351234`,MK:`72345678`,ML:`65012345`,MM:`92123456`,MN:`88123456`,MO:`66123456`,MP:`6702345678`,MQ:`696201234`,MR:`22123456`,MS:`6644923456`,MT:`96961234`,MU:`52512345`,MV:`7712345`,MW:`991234567`,MX:`2221234567`,MY:`123456789`,MZ:`821234567`,NA:`811234567`,NC:`751234`,NE:`93123456`,NF:`381234`,NG:`8021234567`,NI:`81234567`,NL:`612345678`,NO:`40612345`,NP:`9841234567`,NR:`5551234`,NU:`8884012`,NZ:`211234567`,OM:`92123456`,PA:`61234567`,PE:`912345678`,PF:`87123456`,PG:`70123456`,PH:`9051234567`,PK:`3012345678`,PL:`512345678`,PM:`551234`,PR:`7872345678`,PS:`599123456`,PT:`912345678`,PW:`6201234`,PY:`961456789`,QA:`33123456`,RE:`692123456`,RO:`712034567`,RS:`601234567`,RU:`9123456789`,RW:`720123456`,SA:`512345678`,SB:`7421234`,SC:`2510123`,SD:`911231234`,SE:`701234567`,SG:`81234567`,SH:`51234`,SI:`31234567`,SJ:`41234567`,SK:`912123456`,SL:`25123456`,SM:`66661212`,SN:`701234567`,SO:`71123456`,SR:`7412345`,SS:`977123456`,ST:`9812345`,SV:`70123456`,SX:`7215205678`,SY:`944567890`,SZ:`76123456`,TA:`8999`,TC:`6492311234`,TD:`63012345`,TG:`90112345`,TH:`812345678`,TJ:`917123456`,TK:`7290`,TL:`77212345`,TM:`66123456`,TN:`20123456`,TO:`7715123`,TR:`5012345678`,TT:`8682911234`,TV:`901234`,TW:`912345678`,TZ:`621234567`,UA:`501234567`,UG:`712345678`,US:`2015550123`,UY:`94231234`,UZ:`912345678`,VA:`3123456789`,VC:`7844301234`,VE:`4121234567`,VG:`2843001234`,VI:`3406421234`,VN:`912345678`,VU:`5912345`,WF:`821234`,WS:`7212345`,XK:`43201234`,YE:`712345678`,YT:`639012345`,ZA:`711234567`,ZM:`955123456`,ZW:`712345678`},NU=r(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(p(e,i)&&n.isMergeableObject(t[i])?r[i]=u(i,n)(e[i],t[i],n):r[i]=c(t[i],n))}),r}function g(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g})),PU;(function(e){e.fatal=`fatal`,e.error=`error`,e.warning=`warning`,e.log=`log`,e.info=`info`,e.debug=`debug`,e.critical=`critical`})(PU||(PU={}));var FU=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,IU=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,LU=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,RU=`X-Sentry-Auth`,zU=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function BU(e){if(!e.stack)return null;let t=[],n=e.stack.split(`
26`),r,i;for(let a=0;a<n.length;++a){if(r=FU.exec(n[a]))i={filename:r[2]&&r[2].indexOf(`address at `)===0?r[2].substr(11):r[2],function:r[1]||`?`,lineno:r[3]?+r[3]:null,colno:r[4]?+r[4]:null};else if(r=LU.exec(n[a]))i={filename:r[2],function:r[1]||`?`,lineno:+r[3],colno:r[4]?+r[4]:null};else if(r=IU.exec(n[a]))a===0&&!r[5]&&e.columnNumber!==void 0&&(t[0].column=e.columnNumber+1),i={filename:r[3],function:r[1]||`?`,lineno:r[4]?+r[4]:null,colno:r[5]?+r[5]:null};else continue;!i.function&&i.lineno&&(i.function=`?`),t.push(i)}return t.length?{value:VU(e),type:e.name,stacktrace:{frames:t.reverse()}}:null}function VU(e){return(e&&e.message||`No error message`).split(`
27`).filter(e=>!!e)[0]}function HU(e){try{let t=BU(e);if(t)return t}catch{}return{value:VU(e),type:e&&e.name,stacktrace:{frames:[]}}}function UU(){return`xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx`.replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)})}var WU=class{constructor(e){if(e&&e.dsn){let t=zU.exec(e.dsn),n=t?t.slice(1):[],r=n[5].split(`/`),i=r.slice(0,-1).join(`/`);this.apiUrl=n[0]+`://`+n[3]+(n[4]?`:`+n[4]:``)+(i?`/`+i:``)+`/api/`+r.pop()+`/store/`,this.authHeader=`Sentry sentry_version=7,sentry_key=`+n[1]+(n[2]?`,sentry_secret=`+n[2]:``)}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[HU(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){let t=new XMLHttpRequest;t.open(`POST`,this.apiUrl,!0),t.setRequestHeader(`Content-type`,`application/json`),t.setRequestHeader(RU,this.authHeader||``),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:`javascript`,event_id:UU(),sdk:{name:`micro-sentry.javascript.core`,version:`0.0.0`},timestamp:Date.now()/1e3,environment:this.environment}}};function GU(e,t){return Object.prototype.toString.call(t)===`[object RegExp]`?t.test(e):typeof t==`string`?e.indexOf(t)!==-1:!1}var KU=100;function qU(){return window}
27var JU=class e extends WU{constructor(e,t=qU()){super(e),this.options=e,this.window=t,this.breadcrumbsKeyName=`breadcrumbs`,this.destroyed=!1,this._state={};let{plugins:n=[],beforeSend:r=e=>e,beforeBreadcrumb:i=e=>e,blacklistUrls:a=[],ignoreErrors:o=[],release:s=void 0,maxBreadcrumbs:c=KU}=this.options||{};this.plugins=n.map(e=>new e(this)),this.beforeSend=r,this.beforeBreadcrumb=i,this.blacklistUrls=a,this.ignoreErrors=o,this.release=s,this.maxBreadcrumbs=c>=0?c:KU}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState(`tags`,{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState(`extra`,{...e}),this}setUser(e){return this.setKeyState(`user`,e?{...e}:void 0),this}clone(){let t=new e({...this.options,plugins:[]});return t.extendState(this.state),t}withScope(e){let t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){let t=this.beforeBreadcrumb(e);t&&(this.extendState({[this.breadcrumbsKeyName]:[{timestamp:Date.now()/1e3,...t}]}),this.trimBreadcrumbs())}setBreadcrumbs(e){this.setKeyState(this.breadcrumbsKeyName,e),this.trimBreadcrumbs()}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(e=>this.ignoreErrors.some(t=>GU(e,t))):!1}extractQueryString(e){let t=e;if(t){t.startsWith(`/`)&&(t=`http://prefix${t}`);try{let e=new URL(t).search.slice(1);return e.length?e:void 0}catch{return}}}getRequestBlank(){let e=this.window.location.toString();return{request:{url:e,query_string:this.extractQueryString(e),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:`micro-sentry.javascript.browser`,version:`0.0.0`},...this.state}}send(e){if(this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e))return;let t=this.beforeSend({release:this.release,...e});t&&(super.send(t),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{let{type:t=``,value:n=``}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;let t=this.getEventFilterUrl(e);
27return t?this.blacklistUrls.some(e=>GU(t,e)):!1}getEventFilterUrl(e){try{if(e.exception){let t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{let r=this._state[n],i=Array.isArray(r)?r:null,a=e[n],o=Array.isArray(a)?a:null;return{...t,[n]:i||o?[...i||[],...o||[]]:{...typeof r==`string`?{}:r,...typeof a==`string`?{}:a}}},this._state)}setKeyState(e,t){this._state[e]=t}getKeyState(e){return this._state[e]}trimBreadcrumbs(){let e=this.getKeyState(this.breadcrumbsKeyName);e&&(e.length??0)>this.maxBreadcrumbs&&this.setKeyState(this.breadcrumbsKeyName,this.maxBreadcrumbs>0?e.slice(-this.maxBreadcrumbs):[])}},q=typeof window<`u`?window:void 0,YU=typeof globalThis<`u`?globalThis:q,XU=Array.prototype,ZU=XU.forEach,QU=XU.indexOf,$U=YU?.navigator,J=YU?.document,eW=YU?.location,tW=YU?.fetch,nW=YU!=null&&YU.XMLHttpRequest&&`withCredentials`in new YU.XMLHttpRequest?YU.XMLHttpRequest:void 0,rW=YU?.AbortController,iW=$U?.userAgent,Y=q??{},aW={DEBUG:!1,LIB_VERSION:`1.257.0`},oW=`$copy_autocapture`,sW=[`$snapshot`,`$pageview`,`$pageleave`,`$set`,`survey dismissed`,`survey sent`,`survey shown`,`$identify`,`$groupidentify`,`$create_alias`,`$$client_ingestion_warning`,`$web_experiment_applied`,`$feature_enrollment_update`,`$feature_flag_called`],cW=function(e){return e.GZipJS=`gzip-js`,e.Base64=`base64`,e}({}),lW=[`fatal`,`error`,`warning`,`log`,`info`,`debug`];function uW(e,t){return e.indexOf(t)!==-1}var dW=function(e){return e.trim()},fW=function(e){return e.replace(/^\$/,``)},pW=Array.isArray,mW=Object.prototype,hW=mW.hasOwnProperty,gW=mW.toString,_W=pW||function(e){return gW.call(e)===`[object Array]`},vW=e=>typeof e==`function`,yW=e=>e===Object(e)&&!_W(e),bW=e=>{if(yW(e)){for(var t in e)if(hW.call(e,t))return!1;return!0}return!1},X=e=>e===void 0,xW=e=>gW.call(e)==`[object String]`,SW=e=>xW(e)&&e.trim().length===0,CW=e=>e===null,wW=e=>X(e)||CW(e),TW=e=>gW.call(e)==`[object Number]`,EW=e=>gW.call(e)===`[object Boolean]`,DW=e=>e instanceof FormData,OW=e=>uW(sW,e),kW=e=>{var t={t:function(t){if(q&&(aW.DEBUG||Y.POSTHOG_DEBUG)&&!X(q.console)&&q.console){for(var n=(`__rrweb_original__`in q.console[t])?q.console[t].__rrweb_original__:q.console[t],r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];n(e,...i)}},info:function(){var e=[...arguments];t.t(`log`,...e)},warn:function(){var e=[...arguments];t.t(`warn`,...e)},error:function(){var e=[...arguments];t.t(`error`,...e)},critical:function(){console.error(e,...arguments)},uninitializedWarning:e=>{t.error(`You must initialize PostHog before calling `+e)},createLogger:t=>kW(e+` `+t)};return t},Z=kW(`[PostHog.js]`),AW=Z.createLogger,jW=AW(`[ExternalScriptsLoader]`),MW=(e,t,n)=>{if(e.config.disable_external_dependency_loading)return jW.warn(t+` was requested but loading of external scripts is disabled.`),n(`Loading of external scripts is disabled`);var r=J?.querySelectorAll(`script`);if(r){for(var i=0;i<r.length;i++)if(r[i].src===t)return n()}var a=()=>{if(!J)return n(`document not found`);var r=J.createElement(`script`);if(r.type=`text/javascript`,r.crossOrigin=`anonymous`,r.src=t,r.onload=e=>n(void 0,e),r.onerror=e=>n(e),e.config.prepare_external_dependency_script&&(r=e.config.prepare_external_dependency_script(r)),!r)return n(`prepare_external_dependency_script returned null`);var i,a=J.querySelectorAll(`body > script`);a.length>0?(i=a[0].parentNode)==null||i.insertBefore(r,a[0]):J.body.appendChild(r)};J!=null&&J.body?a():J?.addEventListener(`DOMContentLoaded`,a)};function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(null,arguments)}function NW(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}Y.__PosthogExtensions__=Y.__PosthogExtensions__||{},Y.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{var r=`/static/`+t+`.js?v=`+e.version;if(t===`remote-config`&&(r=`/array/`+e.config.token+`/config.js`),t===`toolbar`){var i=3e5;r=r+`&t=`+Math.floor(Date.now()/i)*i}MW(e,e.requestRouter.endpointFor(`assets`,r),n)},Y.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{MW(e,e.requestRouter.endpointFor(`api`,t),n)};var PW={};function FW(e,t,n){if(_W(e)){if(ZU&&e.forEach===ZU)e.forEach(t,n);else if(`length`in e&&e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r)===PW)return}}}function IW(e,t,n){if(!wW(e)){if(_W(e))return FW(e,t,n);if(DW(e)){for(var r of e.entries())if(t.call(n,r[1],r[0])===PW)return}else for(var i in e)if(hW.call(e,i)&&t.call(n,e[i],i)===PW)return}}var LW=function(e){return FW([...arguments].slice(1),(function(t){for(var n in t)t[n]!==void 0&&(e[n]=t[n])})),e},RW=function(e){return FW([...arguments].slice(1),(function(t){FW(t,(function(t){e.push(t)}))})),e};function zW(e){for(var t=Object.keys(e),n=t.length,r=Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var BW=function(e){try{return e()}catch{return}},VW=function(e){return function(){try{var t=[...arguments];return e.apply(this,t)}catch(e){Z.critical(`Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A.`),Z.critical(e)}}},HW=function(e){var t={};return IW(e,(function(e,n){(xW(e)&&e.length>0||TW(e))&&(t[n]=e)})),t};function UW(e,t){return n=e,r=e=>xW(e)&&!CW(t)?e.slice(0,t):e,i=new Set,function e(t,n){return t===Object(t)?i.has(t)?void 0:(i.add(t),_W(t)?(a=[],FW(t,(t=>{a.push(e(t))}))):(a={},IW(t,((t,n)=>{i.has(t)||(a[n]=e(t,n))}))),a):r?r(t,n):t;var a}(n);var n,r,i}var WW=[`herokuapp.com`,`vercel.app`,`netlify.app`];function GW(e){var t=e?.hostname;if(!xW(t))return!1;var n=t.split(`.`).slice(-2).join(`.`);for(var r of WW)if(n===r)return!1;return!0}function KW(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}function qW(e,t,n,r){var{capture:i=!1,passive:a=!0}=r??{};e?.addEventListener(t,n,{capture:i,passive:a})}var JW=`$people_distinct_id`,YW=`__alias`,XW=`__timers`,ZW=`$autocapture_disabled_server_side`,QW=`$heatmaps_enabled_server_side`,$W=`$exception_capture_enabled_server_side`,eG=`$error_tracking_suppression_rules`,tG=`$web_vitals_enabled_server_side`,nG=`$dead_clicks_enabled_server_side`,rG=`$web_vitals_allowed_metrics`,iG=`$session_recording_enabled_server_side`,aG=`$console_log_recording_enabled_server_side`,oG=`$session_recording_network_payload_capture`,sG=`$session_recording_masking`,cG=`$session_recording_canvas_recording`,lG=`$replay_sample_rate`,uG=`$replay_minimum_duration`,dG=`$replay_script_config`,fG=`$sesid`,pG=`$session_is_sampled`,mG=`$session_recording_url_trigger_activated_session`,hG=`$session_recording_event_trigger_activated_session`,gG=`$enabled_feature_flags`,_G=`$early_access_features`,vG=`$feature_flag_details`,yG=`$stored_person_properties`,bG=`$stored_group_properties`,xG=`$surveys`,SG=`$surveys_activated`,CG=`$flag_call_reported`,wG=`$user_state`,TG=`$client_session_props`,EG=`$capture_rate_limit`,DG=`$initial_campaign_params`,OG=`$initial_referrer_info`,kG=`$initial_person_info`,AG=`$epp`,jG=`__POSTHOG_TOOLBAR__`,MG=`$posthog_cookieless`,NG=[JW,YW,`__cmpns`,XW,iG,QW,fG,gG,eG,wG,_G,vG,bG,yG,xG,CG,TG,EG,DG,OG,AG,kG];function PG(e){return e instanceof Element&&(e.id===jG||!(e.closest==null||!e.closest(`.toolbar-global-fade-container`)))}function FG(e){return!!e&&e.nodeType===1}function IG(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function LG(e){return!!e&&e.nodeType===3}function RG(e){return!!e&&e.nodeType===11}function zG(e){return e?dW(e).split(/\s+/):[]}function BG(e){var t=q?.location.href;return!!(t&&e&&e.some((e=>t.match(e))))}function VG(e){var t=``;switch(typeof e.className){case`string`:t=e.className;break;case`object`:t=(e.className&&`baseVal`in e.className?e.className.baseVal:null)||e.getAttribute(`class`)||``;break;default:t=``}return zG(t)}function HG(e){return wW(e)?null:dW(e).split(/(\s+)/).filter((e=>nK(e))).join(``).replace(/[\r\n]/g,` `).replace(/[ ]+/g,` `).substring(0,255)}function UG(e){var t=``;return JG(e)&&!YG(e)&&e.childNodes&&e.childNodes.length&&IW(e.childNodes,(function(e){LG(e)&&e.textContent&&(t+=HG(e.textContent)??``)})),dW(t)}function WG(e){return X(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var GG=[`a`,`button`,`form`,`input`,`select`,`textarea`,`label`];function KG(e){var t=e.parentNode;return!(!t||!FG(t))&&t}function qG(e,t,n,r,i){var a,o,s;if(n===void 0&&(n=void 0),!q||!e||IG(e,`html`)||!FG(e)||(a=n)!=null&&a.url_allowlist&&!BG(n.url_allowlist)||(o=n)!=null&&o.url_ignorelist&&BG(n.url_ignorelist))return!1;if((s=n)!=null&&s.dom_event_allowlist){var c=n.dom_event_allowlist;if(c&&!c.some((e=>t.type===e)))return!1}for(var l=!1,u=[e],d=!0,f=e;f.parentNode&&!IG(f,`body`);)if(RG(f.parentNode))u.push(f.parentNode.host),f=f.parentNode.host;else{if(!(d=KG(f)))break;if(r||GG.indexOf(d.tagName.toLowerCase())>-1)l=!0;else{var p=q.getComputedStyle(d);p&&p.getPropertyValue(`cursor`)===`pointer`&&(l=!0)}u.push(d),f=d}if(!function(e,t){var n=t?.element_allowlist;if(X(n))return!0;var r,i=function(e){if(n.some((t=>e.tagName.toLowerCase()===t)))return{v:!0}};for(var a of e)if(r=i(a))return r.v;return!1}(u,n)||!function(e,t){var n=t?.css_selector_allowlist;if(X(n))return!0;var r,i=function(e){if(n.some((t=>e.matches(t))))return{v:!0}};for(var a of e)if(r=i(a))return r.v;return!1}(u,n))return!1;var m=q.getComputedStyle(e);
27if(m&&m.getPropertyValue(`cursor`)===`pointer`&&t.type===`click`)return!0;var h=e.tagName.toLowerCase();switch(h){case`html`:return!1;case`form`:return(i||[`submit`]).indexOf(t.type)>=0;case`input`:case`select`:case`textarea`:return(i||[`change`,`click`]).indexOf(t.type)>=0;default:return l?(i||[`click`]).indexOf(t.type)>=0:(i||[`click`]).indexOf(t.type)>=0&&(GG.indexOf(h)>-1||e.getAttribute(`contenteditable`)===`true`)}}function JG(e){for(var t=e;t.parentNode&&!IG(t,`body`);t=t.parentNode){var n=VG(t);if(uW(n,`ph-sensitive`)||uW(n,`ph-no-capture`))return!1}if(uW(VG(e),`ph-include`))return!0;var r=e.type||``;if(xW(r))switch(r.toLowerCase()){case`hidden`:case`password`:return!1}var i=e.name||e.id||``;return!(xW(i)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,``)))}function YG(e){return!!(IG(e,`input`)&&![`button`,`checkbox`,`submit`,`reset`].includes(e.type)||IG(e,`select`)||IG(e,`textarea`)||e.getAttribute(`contenteditable`)===`true`)}var XG=`(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})`,ZG=RegExp(`^(?:`+XG+`)$`),QG=new RegExp(XG),$G=`\\d{3}-?\\d{2}-?\\d{4}`,eK=RegExp(`^(`+$G+`)$`),tK=RegExp(`(`+$G+`)`);function nK(e,t){return t===void 0&&(t=!0),!(wW(e)||xW(e)&&(e=dW(e),(t?ZG:QG).test((e||``).replace(/[- ]/g,``))||(t?eK:tK).test(e)))}function rK(e){var t=UG(e);return nK(t=(t+` `+iK(e)).trim())?t:``}function iK(e){var t=``;return e&&e.childNodes&&e.childNodes.length&&IW(e.childNodes,(function(e){if(e&&e.tagName?.toLowerCase()===`span`)try{var n=UG(e);t=(t+` `+n).trim(),e.childNodes&&e.childNodes.length&&(t=(t+` `+iK(e)).trim())}catch(e){Z.error(`[AutoCapture]`,e)}})),t}function aK(e){return function(e){return e.map((e=>{var t=``;if(e.tag_name&&(t+=e.tag_name),e.attr_class)for(var n of(e.attr_class.sort(),e.attr_class))t+=`.`+n.replace(/"/g,``);var r=Q({},e.text?{text:e.text}:{},{"nth-child":e.nth_child??0,"nth-of-type":e.nth_of_type??0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),i={};return zW(r).sort(((e,t)=>{var[n]=e,[r]=t;return n.localeCompare(r)})).forEach((e=>{var[t,n]=e;return i[oK(t.toString())]=oK(n.toString())})),t+=`:`,t+=zW(i).map((e=>{var[t,n]=e;return t+`="`+n+`"`})).join(``)})).join(`;`)}(function(e){return e.map((e=>{var t={text:e.$el_text?.slice(0,400),tag_name:e.tag_name,href:e.attr__href?.slice(0,2048),attr_class:sK(e),attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return zW(e).filter((e=>{var[t]=e;return t.indexOf(`attr__`)===0})).forEach((e=>{var[n,r]=e;return t.attributes[n]=r})),t}))}(e))}function oK(e){return e.replace(/"|\\"/g,`\\"`)}function sK(e){var t=e.attr__class;return t?_W(t)?t:zG(t):void 0}var cK=class{constructor(){this.clicks=[]}isRageClick(e,t,n){var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(e-r.x)+Math.abs(t-r.y)<30&&n-r.timestamp<1e3){if(this.clicks.push({x:e,y:t,timestamp:n}),this.clicks.length===3)return!0}else this.clicks=[{x:e,y:t,timestamp:n}];return!1}},lK=[`localhost`,`127.0.0.1`],uK=e=>{var t=J?.createElement(`a`);return X(t)?null:(t.href=e,t)},dK=function(e,t){var n,r;t===void 0&&(t=`&`);var i=[];return IW(e,(function(e,t){X(e)||X(t)||t===`undefined`||(n=encodeURIComponent((e=>e instanceof File)(e)?e.name:e.toString()),r=encodeURIComponent(t),i[i.length]=r+`=`+n)})),i.join(t)},fK=function(e,t){for(var n,r=((e.split(`#`)[0]||``).split(/\?(.*)/)[1]||``).replace(/^\?+/g,``).split(`&`),i=0;i<r.length;i++){var a=r[i].split(`=`);
27if(a[0]===t){n=a;break}}if(!_W(n)||n.length<2)return``;var o=n[1];try{o=decodeURIComponent(o)}catch{Z.error(`Skipping decoding for malformed query param: `+o)}return o.replace(/\+/g,` `)},pK=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split(`#`),i=r[0]||``,a=r[1],o=i.split(`?`),s=o[1],c=o[0],l=(s||``).split(`&`),u=[],d=0;d<l.length;d++){var f=l[d].split(`=`);_W(f)&&(t.includes(f[0])?u.push(f[0]+`=`+n):u.push(l[d]))}var p=c;return s!=null&&(p+=`?`+u.join(`&`)),a!=null&&(p+=`#`+a),p},mK=function(e,t){var n=e.match(RegExp(t+`=([^&]*)`));return n?n[1]:null},hK=AW(`[AutoCapture]`);function gK(e,t){return t.length>e?t.slice(0,e)+`...`:t}function _K(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!FG(t));return t}function vK(e,t,n,r){var i=e.tagName.toLowerCase(),a={tag_name:i};GG.indexOf(i)>-1&&!n&&(i.toLowerCase()===`a`||i.toLowerCase()===`button`?a.$el_text=gK(1024,rK(e)):a.$el_text=gK(1024,UG(e)));var o=VG(e);o.length>0&&(a.classes=o.filter((function(e){return e!==``}))),IW(e.attributes,(function(n){var i;if((!YG(e)||[`name`,`id`,`class`,`aria-label`].indexOf(n.name)!==-1)&&(r==null||!r.includes(n.name))&&!t&&nK(n.value)&&(i=n.name,!xW(i)||i.substring(0,10)!==`_ngcontent`&&i.substring(0,7)!==`_nghost`)){var o=n.value;n.name===`class`&&(o=zG(o).join(` `)),a[`attr__`+n.name]=gK(1024,o)}}));for(var s=1,c=1,l=e;l=_K(l);)s++,l.tagName===e.tagName&&c++;return a.nth_child=s,a.nth_of_type=c,a}function yK(e,t){for(var n,{e:r,maskAllElementAttributes:i,maskAllText:a,elementAttributeIgnoreList:o,elementsC
27hainAsString:s}=t,c=[e],l=e;l.parentNode&&!IG(l,`body`);)RG(l.parentNode)?(c.push(l.parentNode.host),l=l.parentNode.host):(c.push(l.parentNode),l=l.parentNode);var u,d=[],f={},p=!1,m=!1;if(IW(c,(e=>{var t=JG(e);e.tagName.toLowerCase()===`a`&&(p=e.getAttribute(`href`),p=t&&p&&nK(p)&&p),uW(VG(e),`ph-no-capture`)&&(m=!0),d.push(vK(e,i,a,o)),LW(f,function(e){if(!JG(e))return{};var t={};return IW(e.attributes,(function(e){if(e.name&&e.name.indexOf(`data-ph-capture-attribute`)===0){var n=e.name.replace(`data-ph-capture-attribute-`,``),r=e.value;n&&r&&nK(r)&&(t[n]=r)}})),t}(e))})),m)return{props:{},explicitNoCapture:m};if(a||(e.tagName.toLowerCase()===`a`||e.tagName.toLowerCase()===`button`?d[0].$el_text=rK(e):d[0].$el_text=UG(e)),p){var h;d[0].attr__href=p;var g=uK(p)?.host,_=q==null||(h=q.location)==null?void 0:h.host;g&&_&&g!==_&&(u=p)}return{props:LW({$event_type:r.type,$ce_version:1},s?{}:{$elements:d},{$elements_chain:aK(d)},(n=d[0])!=null&&n.$el_text?{$el_text:d[0]?.$el_text}:{},u&&r.type===`click`?{$external_click_url:u}:{},f)}}var bK=class{constructor(e){this.i=!1,this.o=null,this.rageclicks=new cK,this.h=!1,this.instance=e,this.m=null}get S(){var e=yW(this.instance.config.autocapture)?this.instance.config.autocapture:{};return e.url_allowlist=e.url_allowlist?.map((e=>new RegExp(e))),e.url_ignorelist=e.url_ignorelist?.map((e=>new RegExp(e))),e}$(){if(this.isBrowserSupported()){if(q&&J){var e=e=>{e=e||q?.event;try{this.k(e)}catch(e){hK.error(`Failed to capture event`,e)}};if(qW(J,`submit`,e,{capture:!0}),qW(J,`change`,e,{capture:!0}),qW(J,`click`,e,{capture:!0}),this.S.capture_copied_text){var t=e=>{e=e||q?.event,this.k(e,oW)};qW(J,`copy`,t,{capture:!0}),qW(J,`cut`,t,{capture:!0})}}}else hK.info(`Disabling Automatic Event Collection because this browser is not supported`)}startIfEnabled(){this.isEnabled&&!this.i&&(this.$(),this.i=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.h=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[ZW]:!!e.autocapture_opt_out}),this.o=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.m=e}getElementSelectors(e){var t,n=[];return(t=this.m)==null||t.forEach((t=>{(J?.querySelectorAll(t))?.forEach((r=>{e===r&&n.push(t)}))})),n}get isEnabled(){var e=this.instance.persistence?.props[ZW],t=this.o;if(CW(t)&&!EW(e)&&!this.instance.I())return!1;var n=this.o??!!e;return!!this.instance.config.autocapture&&!n}k(e,t){if(t===void 0&&(t=`$autocapture`),this.isEnabled){var n,r=WG(e);LG(r)&&(r=r.parentNode||null),t===`$autocapture`&&e.type===`click`&&e instanceof MouseEvent&&this.instance.config.rageclick&&(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.k(e,`$rageclick`);var i=t===oW;if(r&&qG(r,e,this.S,i,i?[`copy`,`cut`]:void 0)){var{props:a,explicitNoCapture:o}=yK(r,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.S.element_attribute_ignorelist,elementsChainAsString:this.h});if(o)return!1;var s=this.getElementSelectors(r);if(s&&s.length>0&&(a.$element_selectors=s),t===`$copy_autocapture`){var c,l=HG(q==null||(c=q.getSelection())==null?void 0:c.toString()),u=e.type||`clipboard`;if(!l)return!1;a.$selected_content=l,a.$copy_type=u}return this.instance.capture(t,a),!0}}}isBrowserSupported(){return vW(J?.querySelectorAll)}};Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return TW(e)&&isFinite(e)&&Math.floor(e)===e});var xK=`0123456789abcdef`,SK=class e{constructor(e){if(this.bytes=e,e.length!==16)throw TypeError(`not 128-bit length`)}static fromFieldsV7(t,n,r,i){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(i)||t<0||n<0||r<0||i<0||t>0xffffffffffff||n>4095||r>1073741823||i>4294967295)throw RangeError(`invalid field value`);var a=new Uint8Array(16);return a[0]=t/2**40,a[1]=t/2**32,a[2]=t/2**24,a[3]=t/2**16,a[4]=t/2**8,a[5]=t,a[6]=112|n>>>8,a[7]=n,a[8]=128|r>>>24,a[9]=r>>>16,a[10]=r>>>8,a[11]=r,a[12]=i>>>24,a[13]=i>>>16,a[14]=i>>>8,a[15]=i,new e(a)}toString(){for(var e=``,t=0;t<this.bytes.length;t++)e=e+xK.charAt(this.bytes[t]>>>4)+xK.charAt(15&this.bytes[t]),t!==3&&t!==5&&t!==7&&t!==9||(e+=`-`);
27if(e.length!==36)throw Error(`Invalid UUIDv7 was generated`);return e}clone(){return new e(this.bytes.slice(0))}equals(e){return this.compareTo(e)===0}compareTo(e){for(var t=0;t<16;t++){var n=this.bytes[t]-e.bytes[t];if(n!==0)return Math.sign(n)}return 0}},CK=class{constructor(){this.P=0,this.R=0,this.T=new EK}generate(){var e=this.generateOrAbort();if(X(e)){this.P=0;var t=this.generateOrAbort();if(X(t))throw Error(`Could not generate UUID after timestamp reset`);return t}return e}generateOrAbort(){var e=Date.now();if(e>this.P)this.P=e,this.M();else{if(!(e+1e4>this.P))return;this.R++,this.R>4398046511103&&(this.P++,this.M())}return SK.fromFieldsV7(this.P,Math.trunc(this.R/2**30),this.R&2**30-1,this.T.nextUint32())}M(){this.R=1024*this.T.nextUint32()+(1023&this.T.nextUint32())}},wK,TK=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<`u`&&UUIDV7_DENY_WEAK_RNG)throw Error(`no cryptographically strong RNG available`);for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};q&&!X(q.crypto)&&crypto.getRandomValues&&(TK=e=>crypto.getRandomValues(e));var EK=class{constructor(){this.C=new Uint32Array(8),this.F=1/0}nextUint32(){return this.F>=this.C.length&&(TK(this.C),this.F=0),this.C[this.F++]}},DK=()=>OK().toString(),OK=()=>(wK||(wK=new CK)).generate(),kK=``,AK=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function jK(e,t){if(t){var n=function(e,t){if(t===void 0&&(t=J),kK)return kK;if(!t||[`localhost`,`127.0.0.1`].includes(e))return``;for(var n=e.split(`.`),r=Math.min(n.length,8),i=`dmn_chk_`+DK();!kK&&r--;){var a=n.slice(r).join(`.`),o=i+`=1;domain=.`+a+`;path=/`;t.cookie=o+`;max-age=3`,t.cookie.includes(i)&&(t.cookie=o+`;max-age=0`,kK=a)}return kK}(e);if(!n){var r=(e=>{var t=e.match(AK);return t?t[0]:``})(e);r!==n&&Z.info(`Warning: cookie subdomain discovery mismatch`,r,n),n=r}return n?`; domain=.`+n:``}return``}var MK={O:()=>!!J,A:function(e){Z.error(`cookieStore error: `+e)},D:function(e){if(J){try{for(var t=e+`=`,n=J.cookie.split(`;`).filter((e=>e.length)),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)==` `;)i=i.substring(1,i.length);if(i.indexOf(t)===0)return decodeURIComponent(i.substring(t.length,i.length))}}catch{}return null}},L:function(e){var t;try{t=JSON.parse(MK.D(e))||{}}catch{}return t},j:function(e,t,n,r,i){if(J)try{var a=``,o=``,s=jK(J.location.hostname,r);if(n){var c=new Date;c.setTime(c.getTime()+24*n*60*60*1e3),a=`; expires=`+c.toUTCString()}i&&(o=`; secure`);var l=e+`=`+encodeURIComponent(JSON.stringify(t))+a+`; SameSite=Lax; path=/`+s+o;return l.length>3686.4&&Z.warn(`cookieStore warning: large cookie, len=`+l.length),J.cookie=l,l}catch{return}},N:function(e,t){try{MK.j(e,``,-1,t)}catch{return}}},NK=null,PK={O:function(){if(!CW(NK))return NK;var e=!0;if(X(q))e=!1;else try{var t=`__mplssupport__`;PK.j(t,`xyz`),PK.D(t)!==`"xyz"`&&(e=!1),PK.N(t)}catch{e=!1}return e||Z.error(`localStorage unsupported; falling back to cookie store`),NK=e,e},A:function(e){Z.error(`localStorage error: `+e)},D:function(e){try{return q?.localStorage.getItem(e)}catch(e){PK.A(e)}return null},L:function(e){try{return JSON.parse(PK.D(e))||{}}catch{}return null},j:function(e,t){try{q?.localStorage.setItem(e,JSON.stringify(t))}catch(e){PK.A(e)}},N:function(e){try{q?.localStorage.removeItem(e)}catch(e){PK.A(e)}}},FK=[`distinct_id`,fG,pG,AG,kG],IK=Q({},PK,{L:function(e){try{var t={};try{t=MK.L(e)||{}}catch{}var n=LW(t,JSON.parse(PK.D(e)||`{}`));return PK.j(e,n),n}catch{}return null},j:function(e,t,n,r,i,a){try{PK.j(e,t,void 0,void 0,a);var o={};FK.forEach((e=>{t[e]&&(o[e]=t[e])})),Object.keys(o).length&&MK.j(e,o,n,r,i,a)}catch(e){PK.A(e)}},N:function(e,t){try{q?.localStorage.removeItem(e),MK.N(e,t)}catch(e){PK.A(e)}}}),LK={},RK={O:function(){return!0},A:function(e){Z.error(`memoryStorage error: `+e)},D:function(e){return LK[e]||null},L:function(e){return LK[e]||null},j:function(e,t){LK[e]=t},N:function(e){delete LK[e]}},zK=null,BK={O:function(){if(!CW(zK))return zK;if(zK=!0,X(q))zK=!1;else try{var e=`__support__`;BK.j(e,`xyz`),BK.D(e)!==`"xyz"`&&(zK=!1),BK.N(e)}catch{zK=!1}return zK},A:function(e){Z.error(`sessionStorage error: `,e)},D:function(e){try{return q?.sessionStorage.getItem(e)}catch(e){BK.A(e)}return null},L:function(e){try{return JSON.parse(BK.D(e))||null}catch{}return null},j:function(e,t){try{q?.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){BK.A(e)}},N:function(e){try{q?.sessionStorage.removeItem(e)}catch(e){BK.A(e)}}},VK=function(e){return e[e.PENDING=-1]=`PENDING`,e[e.DENIED=0]=`DENIED`,e[e.GRANTED=1]=`GRANTED`,e}({}),HK=class{constructor(e){this._instance=e}get S(){return this._instance.config}get consent(){return this.U()?VK.DENIED:this.q}isOptedOut(){return this.consent===VK.DENIED||this.consent===VK.PENDING&&this.S.opt_out_capturing_by_default}isOptedIn(){return!this.isOptedOut()}optInOut(e){this.B.j(this.H,+!!e,this.S.cookie_expiration,this.S.cross_subdomain_cookie,this.S.secure_cookie)}reset(){this.B.N(this.H,this.S.cross_subdomain_cookie)}get H(){var{token:e,opt_out_capturing_cookie_prefix:t}=this._instance.config;return(t||`__ph_opt_in_out_`)+e}get q(){var e=this.B.D(this.H);return e===`1`?VK.GRANTED:e===`0`?VK.DENIED:VK.PENDING}get B(){if(!this.W){var e=this.S.opt_out_capturing_persistence_type;this.W=e===`localStorage`?PK:MK;var t=e===`localStorage`?MK:PK;t.D(this.H)&&(this.W.D(this.H)||this.optInOut(t.D(this.H)===`1`),t.N(this.H,this.S.cross_subdomain_cookie))}return this.W}U(){return!!this.S.respect_dnt&&!!KW([$U?.doNotTrack,$U?.msDoNotTrack,Y.doNotTrack],(e=>uW([!0,1,`1`,`yes`],e)))}},UK=AW(`[Dead Clicks]`),WK=()=>!0,GK=e=>{var t,n=!((t=e.instance.persistence)==null||!t.get_property(nG)),r=e.instance.config.capture_dead_clicks;return EW(r)?r:n},KK=class{get lazyLoadedDeadClicksAutocapture(){return this.G}constructor(e,t,n){this.instance=e,this.isEnabled=t,this.onCapture=n,this.startIfEnabled()}onRemoteConfig(e){this.instance.persistence&&this.instance.persistence.register({[nG]:e?.captureDeadClicks}),this.startIfEnabled()}startIfEnabled(){this.isEnabled(this)&&this.J((()=>{this.V()}))}J(e){var t,n;(t=Y.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture&&e(),(n=Y.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,`dead-clicks-autocapture`,(t=>{t?UK.error(`failed to load script`,t):e()}))}V(){var e;if(J){if(!this.G&&(e=Y.__PosthogExtensions__)!=null&&e.initDeadClicksAutocapture){var t=yW(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};t.__onCapture=this.onCapture,this.G=Y.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.G.start(J),UK.info(`starting...`)}}else UK.error("`document` not found. Cannot start.")}stop(){this.G&&(this.G.stop(),this.G=void 0,UK.info(`stopping...`))}};function qK(e,t,n,r,i){return t>n&&(Z.warn(`min cannot be greater than max.`),t=n),TW(e)?e>
27n?(r&&Z.warn(r+` cannot be  greater than max: `+n+`. Using max value instead.`),n):e<t?(r&&Z.warn(r+` cannot be less than min: `+t+`. Using min value instead.`),t):e:(r&&Z.warn(r+` must be a number. using max or fallback. max: `+n+`, fallback: `+i),qK(i||n,t,n,r))}var JK=class{constructor(e){this.K={},this.Y=()=>{Object.keys(this.K).forEach((e=>{var t=this.X(e)+this.Z;t>=this.tt?delete this.K[e]:this.it(e,t)}))},this.X=e=>this.K[String(e)],this.it=(e,t)=>{this.K[String(e)]=t},this.consumeRateLimit=e=>{var t=this.X(e)??this.tt;if((t=Math.max(t-1,0))===0)return!0;this.it(e,t);var n,r=t===0;return r&&((n=this.et)==null||n.call(this,e)),r},this.rt=e,this.et=this.rt.et,this.tt=qK(this.rt.bucketSize,0,100,`rate limiter bucket size`),this.Z=qK(this.rt.refillRate,0,this.tt,`rate limiter refill rate`),this.st=qK(this.rt.refillInterval,0,864e5,`rate limiter refill interval`),setInterval((()=>{this.Y()}),this.st)}},YK=AW(`[ExceptionAutocapture]`),XK=class{constructor(e){var t;this.nt=()=>{var e;if(q&&this.isEnabled&&(e=Y.__PosthogExtensions__)!=null&&e.errorWrappingFunctions){var t=Y.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,n=Y.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,r=Y.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ot&&this.S.capture_unhandled_errors&&(this.ot=t(this.captureException.bind(this))),!this.lt&&this.S.capture_unhandled_rejections&&(this.lt=n(this.captureException.bind(this))),!this.ut&&this.S.capture_console_errors&&(this.ut=r(this.captureException.bind(this)))}catch(e){YK.error(`failed to start`,e),this.ht()}}},this._instance=e,this.dt=!((t=this._instance.persistence)==null||!t.props[$W]),this.S=this.vt(),this.ct=new JK({refillRate:this._instance.config.error_tracking.__exceptionRateLimiterRefillRate??1,bucketSize:this._instance.config.error_tracking.__exceptionRateLimiterBucketSize??10,refillInterval:1e4}),this.startIfEnabled()}vt(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return yW(e)?t=Q({},t,e):(X(e)?this.dt:e)&&(t=Q({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.S.capture_console_errors||this.S.capture_unhandled_errors||this.S.capture_unhandled_rejections}startIfEnabled(){this.isEnabled&&(YK.info(`enabled`),this.J(this.nt))}J(e){var t,n;(t=Y.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(n=Y.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,`exception-autocapture`,(t=>{if(t)return YK.error(`failed to load script`,t);e()}))}ht(){var e,t,n;(e=this.ot)==null||e.call(this),this.ot=void 0,(t=this.lt)==null||t.call(this),this.lt=void 0,(n=this.ut)==null||n.call(this),this.ut=void 0}onRemoteConfig(e){var t=e.autocaptureExceptions;this.dt=!!t||!1,this.S=this.vt(),this._instance.persistence&&this._instance.persistence.register({[$W]:this.dt}),this.startIfEnabled()}captureException(e){e.$exception_personURL=this._instance.requestRouter.endpointFor(`ui`)+`/project/`+this._instance.config.token+`/person/`+this._instance.get_distinct_id();var t=e.$exception_list[0].type??`Exception`;this.ct.consumeRateLimit(t)?YK.info(`Skipping exception capture because of client rate limiting.`,{exception:e.$exception_list[0].type}):this._instance.exceptions.sendExceptionEvent(e)}};function ZK(e){return!X(Event)&&QK(e,Event)}function QK(e,t){try{return e instanceof t}catch{return!1}}function $K(e){switch(Object.prototype.toString.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object DOMError]`:return!0;default:return QK(e,Error)}}function eq(e,t){return Object.prototype.toString.call(e)===`[object `+t+`]`}function tq(e){return eq(e,`DOMError`)}var nq=/\(error: (.*)\)/,rq=50,iq=`?`;function aq(e,t,n,r){var i={platform:`web:javascript`,filename:e,function:t===`<anonymous>`?iq:t,in_app:!0};return X(n)||(i.lineno=n),X(r)||(i.colno=r),i}var oq=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,sq=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,cq=/\((\S*)(?::(\d+))(?::(\d+))\)/,lq=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,uq=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,dq=function(){var e=[...arguments].sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return function(t,n){n===void 0&&(n=0);for(var r=[],i=t.split(`
28`),a=n;a<i.length;a++){var o=i[a];if(!(o.length>1024)){var s=nq.test(o)?o.replace(nq,`$1`):o;if(!s.match(/\S*Error: /)){for(var c of e){var l=c(s);
28if(l){r.push(l);break}}if(r.length>=rq)break}}}return function(e){if(!e.length)return[];var t=Array.from(e);return t.reverse(),t.slice(0,rq).map((e=>Q({},e,{filename:e.filename||fq(t).filename,function:e.function||iq})))}(r)}}([30,e=>{var t=oq.exec(e);if(t){var[,n,r,i]=t;return aq(n,iq,+r,+i)}var a=sq.exec(e);if(a){if(a[2]&&a[2].indexOf(`eval`)===0){var o=cq.exec(a[2]);o&&(a[2]=o[1],a[3]=o[2],a[4]=o[3])}var[s,c]=gq(a[1]||iq,a[2]);return aq(c,s,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}}],[50,e=>{var t=lq.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){var n=uq.exec(t[3]);n&&(t[1]=t[1]||`eval`,t[3]=n[1],t[4]=n[2],t[5]=``)}var r=t[3],i=t[1]||iq;return[i,r]=gq(i,r),aq(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]);function fq(e){return e[e.length-1]||{}}var pq,mq,hq,gq=(e,t)=>{var n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?iq:e.split(`@`)[0],n?`safari-extension:`+t:`safari-web-extension:`+t]:[e,t]},_q=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;function vq(e,t){t===void 0&&(t=0);var n=e.stacktrace||e.stack||``,r=function(e){return e&&yq.test(e.message)?1:0}(e);try{var i=dq,a=function(e,t){var n=function(e){var t=globalThis._posthogChunkIds;if(!t)return{};var n=Object.keys(t);return hq&&n.length===mq||(mq=n.length,hq=n.reduce(((n,r)=>{pq||(pq={});var i=pq[r];if(i)n[i[0]]=i[1];else for(var a=e(r),o=a.length-1;o>=0;o--){var s=a[o]?.filename,c=t[r];if(s&&c){n[s]=c,pq[r]=[s,c];break}}return n}),{})),hq}(t);return e.forEach((e=>{e.filename&&(e.chunk_id=n[e.filename])})),e}(i(n,r),i);return a.slice(0,a.length-t)}catch{}return[]}var yq=/Minified React error #\d+;/i;function bq(e,t){var n,r,i=vq(e),a=(n=t?.handled)==null||n,o=(r=t?.synthetic)!=null&&r;return{type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:e.name,value:function(e){var t=e.message;return t.error&&typeof t.error.message==`string`?String(t.error.message):String(t)}(e),stacktrace:{frames:i,type:`raw`},mechanism:{handled:a,synthetic:o}}}function xq(e,t){var n=bq(e,t);return e.cause&&$K(e.cause)&&e.cause!==e?[n,...xq(e.cause,{handled:t?.handled,synthetic:t?.synthetic})]:[n]}function Sq(e,t){return{$exception_list:xq(e,t),$exception_level:`error`}}function Cq(e,t){var n,r,i=(n=t?.handled)==null||n,a=(r=t?.synthetic)==null||r,o={type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:t?.defaultExceptionType??`Error`,value:e||t?.defaultExceptionMessage,mechanism:{handled:i,synthetic:a}};if(t!=null&&t.syntheticException){var s=vq(t.syntheticException,1);s.length&&(o.stacktrace={frames:s,type:`raw`})}return{$exception_list:[o],$exception_level:`error`}}function wq(e){return xW(e)&&!SW(e)&&lW.indexOf(e)>=0}function Tq(e,t){var n,r,i=(n=t?.handled)==null||n,a=(r=t?.synthetic)==null||r,o={type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:ZK(e)?e.constructor.name:`Error`,value:`Non-Error 'exception' captured with keys: `+function(e,t){t===void 0&&(t=40);var n=Object.keys(e);if(n.sort(),!n.length)return`[object has no keys]`;for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(`, `);if(!(i.length>t))return r===n.length||i.length<=t?i:i.slice(0,t)+`...`}return``}(e),mechanism:{handled:i,synthetic:a}};if(t!=null&&t.syntheticException){var s=vq(t?.syntheticException,1);s.length&&(o.stacktrace={frames:s,type:`raw`})}return{$exception_list:[o],$exception_level:wq(e.level)?e.level:`error`}}function Eq(e,t){var{error:n,event:r}=e,i={$exception_list:[]},a=n||r;if(tq(a)||function(e){return eq(e,`DOMException`)}(a)){var o=a;if(function(e){return`stack`in e}(a))i=Sq(a,t);else{var s=o.name||(tq(o)?`DOMError`:`DOMException`),c=o.message?s+`: `+o.message:s;i=Cq(c,Q({},t,{overrideExceptionType:tq(o)?`DOMError`:`DOMException`,defaultExceptionMessage:c}))}return`code`in o&&(i.$exception_DOMException_code=``+o.code),i}if(function(e){return eq(e,`ErrorEvent`)}(a)&&a.error)return Sq(a.error,t);if($K(a))return Sq(a,t);if(function(e){return eq(e,`Object`)}(a)||ZK(a))return Tq(a,t);if(X(n)&&xW(r)){var l=`Error`,u=r,d=r.match(_q);return d&&(l=d[1],u=d[2]),Cq(u,Q({},t,{overrideExceptionType:l,defaultExceptionMessage:u}))}return Cq(a,t)}function Dq(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],i=n(r);return vW(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}var Oq=class{constructor(e){var t;this._instance=e,this.ft=(q==null||(t=q.location)==null?void 0:t.pathname)||``}get isEnabled(){return this._instance.config.capture_pageview===`history_change`}startIfEnabled(){this.isEnabled&&(Z.info(`History API monitoring enabled, starting...`),this.monitorHistoryChanges())}stop(){this.gt&&this.gt(),this.gt=void 0,Z.info(`History API monitoring stopped`)}monitorHistoryChanges(){var e,t;if(q&&q.history){var n=this;(e=q.history.pushState)!=null&&e.__posthog_wrapped__||Dq(q.history,`pushState`,(e=>function(t,r,i){e.call(this,t,r,i),n._t(`pushState`)})),(t=q.history.replaceState)!=null&&t.__posthog_wrapped__||Dq(q.history,`replaceState`,(e=>function(t,r,i){e.call(this,t,r,i),n._t(`replaceState`)})),this.bt()}}_t(e){try{var t,n=q==null||(t=q.location)==null?void 0:t.pathname;if(!n)return;n!==this.ft&&this.isEnabled&&this._instance.capture(`$pageview`,{navigation_type:e}),this.ft=n}catch(t){Z.error(`Error capturing `+e+` pageview`,t)}}
28bt(){if(!this.gt){var e=()=>{this._t(`popstate`)};qW(q,`popstate`,e),this.gt=()=>{q&&q.removeEventListener(`popstate`,e)}}}};function kq(e){var t;return JSON.stringify(e,(t=[],function(e,n){if(yW(n)){for(;t.length>0&&t[t.length-1]!==this;)t.pop();return t.includes(n)?`[Circular]`:(t.push(n),n)}return n}))?.length||0}function Aq(e,t){if(t===void 0&&(t=6606028.8),e.size>=t&&e.data.length>1){var n=Math.floor(e.data.length/2),r=e.data.slice(0,n),i=e.data.slice(n);return[Aq({size:kq(r),data:r,sessionId:e.sessionId,windowId:e.windowId}),Aq({size:kq(i),data:i,sessionId:e.sessionId,windowId:e.windowId})].flatMap((e=>e))}return[e]}var jq=(e=>(e[e.DomContentLoaded=0]=`DomContentLoaded`,e[e.Load=1]=`Load`,e[e.FullSnapshot=2]=`FullSnapshot`,e[e.IncrementalSnapshot=3]=`IncrementalSnapshot`,e[e.Meta=4]=`Meta`,e[e.Custom=5]=`Custom`,e[e.Plugin=6]=`Plugin`,e))(jq||{}),Mq=(e=>(e[e.Mutation=0]=`Mutation`,e[e.MouseMove=1]=`MouseMove`,e[e.MouseInteraction=2]=`MouseInteraction`,e[e.Scroll=3]=`Scroll`,e[e.ViewportResize=4]=`ViewportResize`,e[e.Input=5]=`Input`,e[e.TouchMove=6]=`TouchMove`,e[e.MediaInteraction=7]=`MediaInteraction`,e[e.StyleSheetRule=8]=`StyleSheetRule`,e[e.CanvasMutation=9]=`CanvasMutation`,e[e.Font=10]=`Font`,e[e.Log=11]=`Log`,e[e.Drag=12]=`Drag`,e[e.StyleDeclaration=13]=`StyleDeclaration`,e[e.Selection=14]=`Selection`,e[e.AdoptedStyleSheet=15]=`AdoptedStyleSheet`,e[e.CustomElement=16]=`CustomElement`,e))(Mq||{}),Nq=`[SessionRecording]`,Pq=`redacted`,Fq={initiatorTypes:[`audio`,`beacon`,`body`,`css`,`early-hint`,`embed`,`fetch`,`frame`,`iframe`,`icon`,`image`,`img`,`input`,`link`,`navigation`,`object`,`ping`,`script`,`track`,`video`,`xmlhttprequest`],maskRequestFn:e=>e,recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:[`first-input`,`navigation`,`paint`,`resource`],payloadSizeLimitBytes:1e6,payloadHostDenyList:[`.lr-ingest.io`,`.ingest.sentry.io`,`.clarity.ms`,`analytics.google.com`,`bam.nr-data.net`]},Iq=[`authorization`,`x-forwarded-for`,`authorization`,`cookie`,`set-cookie`,`x-api-key`,`x-real-ip`,`remote-addr`,`forwarded`,`proxy-authorization`,`x-csrf-token`,`x-csrftoken`,`x-xsrf-token`],Lq=[`password`,`secret`,`passwd`,`api_key`,`apikey`,`auth`,`credentials`,`mysql_pwd`,`privatekey`,`private_key`,`token`],Rq=[`/s/`,`/e/`,`/i/`];function zq(e,t,n,r){if(wW(e))return e;var i=t?.[`content-length`]||function(e){return new Blob([e]).size}(e);return xW(i)&&(i=parseInt(i)),i>n?Nq+` `+r+` body too large to record (`+i+` bytes)`:e}function Bq(e,t){if(wW(e))return e;var n=e;return nK(n,!1)||(n=Nq+` `+t+` body `+Pq),IW(Lq,(e=>{var r;(r=n)!=null&&r.length&&n?.indexOf(e)!==-1&&(n=Nq+` `+t+` body `+Pq+` as might contain: `+e)})),n}var Vq=(e,t)=>{var n,r,i={payloadSizeLimitBytes:Fq.payloadSizeLimitBytes,performanceEntryTypeToObserve:[...Fq.performanceEntryTypeToObserve],payloadHostDenyList:[...t.payloadHostDenyList||[],...Fq.payloadHostDenyList]},a=!1!==e.session_recording.recordHeaders&&t.recordHeaders,o=!1!==e.session_recording.recordBody&&t.recordBody,s=!1!==e.capture_performance&&t.recordPerformance,c=(n=i,r=Math.min(1e6,n.payloadSizeLimitBytes??1e6),e=>(e!=null&&e.requestBody&&(e.requestBody=zq(e.requestBody,e.requestHeaders,r,`Request`)),e!=null&&e.responseBody&&(e.responseBody=zq(e.responseBody,e.responseHeaders,r,`Response`)),e)),l=t=>{return c(((e,t)=>{var n=uK(e.name),r=t.indexOf(`http`)===0?uK(t)?.pathname:t;r===`/`&&(r=``);var i=n?.pathname.replace(r||``,``);if(!(n&&i&&Rq.some((e=>i.indexOf(e)===0))))return e})((r=(n=t).requestHeaders,wW(r)||IW(Object.keys(r??{}),(e=>{Iq.includes(e.toLowerCase())&&(r[e]=Pq)})),n),e.api_host));var n,r},u=vW(e.session_recording.maskNetworkRequestFn);return u&&vW(e.session_recording.maskCapturedNetworkRequestFn)&&Z.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),u&&(e.session_recording.maskCapturedNetworkRequestFn=t=>{var n=e.session_recording.maskNetworkRequestFn({url:t.name});return Q({},t,{name:n?.url})}
28),i.maskRequestFn=vW(e.session_recording.maskCapturedNetworkRequestFn)?t=>{var n,r=l(t);return r&&(n=e.session_recording.maskCapturedNetworkRequestFn==null?void 0:e.session_recording.maskCapturedNetworkRequestFn(r))!=null?n:void 0}:e=>function(e){if(!X(e))return e.requestBody=Bq(e.requestBody,`Request`),e.responseBody=Bq(e.responseBody,`Response`),e}(l(e)),Q({},Fq,i,{recordHeaders:a,recordBody:o,recordPerformance:s,recordInitialRequests:s})},Hq=class{constructor(e,t){t===void 0&&(t={}),this.yt={},this.wt=e=>{if(!this.yt[e]){var t,n;this.yt[e]=!0;var r=this.St(e);(t=(n=this.rt).onBlockedNode)==null||t.call(n,e,r)}},this.$t=e=>{var t=this.St(e);if(t?.nodeName!==`svg`&&t instanceof Element){var n=t.closest(`svg`);if(n)return[this._rrweb.mirror.getId(n),n]}return[e,t]},this.St=e=>this._rrweb.mirror.getNode(e),this.kt=e=>(e.removes?.length??0)+(e.attributes?.length??0)+(e.texts?.length??0)+(e.adds?.length??0),this.throttleMutations=e=>{if(e.type!==3||e.data.source!==0)return e;var t=e.data,n=this.kt(t);t.attributes&&(t.attributes=t.attributes.filter((e=>{var[t]=this.$t(e.id);return!this.ct.consumeRateLimit(t)&&e})));var r=this.kt(t);return r!==0||n===r?e:void 0},this._rrweb=e,this.rt=t,this.ct=new JK({bucketSize:this.rt.bucketSize??100,refillRate:this.rt.refillRate??10,refillInterval:1e3,et:this.wt})}},Uq=Uint8Array,Wq=Uint16Array,Gq=Uint32Array,Kq=new Uq([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]),qq=new Uq([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]),Jq=new Uq([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Yq=function(e,t){for(var n=new Wq(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new Gq(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return[n,i]},Xq=Yq(Kq,2),Zq=Xq[0],Qq=Xq[1];Zq[28]=258,Qq[258]=28;for(var $q=Yq(qq,0)[1],eJ=new Wq(32768),tJ=0;tJ<32768;++tJ){var nJ=(43690&tJ)>>>1|(21845&tJ)<<1;nJ=(61680&(nJ=(52428&nJ)>>>2|(13107&nJ)<<2))>>>4|(3855&nJ)<<4,eJ[tJ]=((65280&nJ)>>>8|(255&nJ)<<8)>>>1}var rJ=function(e,t,n){for(var r=e.length,i=0,a=new Wq(t);i<r;++i)++a[e[i]-1];var o,s=new Wq(t);for(i=0;i<t;++i)s[i]=s[i-1]+a[i-1]<<1;if(n){o=new Wq(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=s[e[i]-1]++<<u,f=d|(1<<u)-1;d<=f;++d)o[eJ[d]>>>c]=l}else for(o=new Wq(r),i=0;i<r;++i)o[i]=eJ[s[e[i]-1]++]>>>15-e[i];return o},iJ=new Uq(288);for(tJ=0;tJ<144;++tJ)iJ[tJ]=8;for(tJ=144;tJ<256;++tJ)iJ[tJ]=9;for(tJ=256;tJ<280;++tJ)iJ[tJ]=7;for(tJ=280;tJ<288;++tJ)iJ[tJ]=8;var aJ=new Uq(32);for(tJ=0;tJ<32;++tJ)aJ[tJ]=5;var oJ=rJ(iJ,9,0),sJ=rJ(aJ,5,0),cJ=function(e){return(e/8>>0)+(7&e&&1)},lJ=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof Wq?Wq:e instanceof Gq?Gq:Uq)(n-t);return r.set(e.subarray(t,n)),r},uJ=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},dJ=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},fJ=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[new Uq(0),0];if(i==1){var o=new Uq(n[0].s+1);return o[n[0].s]=1,[o,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};var f=a[0].s;for(r=1;r<i;++r)a[r].s>f&&(f=a[r].s);var p=new Wq(f+1),m=pJ(n[u-1],p,0);if(m>t){r=0;var 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))break;h+=_-(1<<m-p[v]),p[v]=t}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[new Uq(p),m]},pJ=function(e,t,n){return e.s==-1?Math.max(pJ(e.l,t,n+1),pJ(e.r,t,n+1)):t[e.s]=n},mJ=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Wq(++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[n.subarray(0,r),t]},hJ=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},gJ=function(e,t,n){var r=n.length,i=cJ(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<r;++a)e[i+a+4]=n[a];return 8*(i+4+r)},_J=function(e,t,n,r,i,a,o,s,c,l,u){uJ(t,u++,n),++i[256];for(var d=fJ(i,15),f=d[0],p=d[1],m=fJ(a,15),h=m[0],g=m[1],_=mJ(f),v=_[0],y=_[1],b=mJ(h),x=b[0],S=b[1],C=new Wq(19),w=0;w<v.length;++w)C[31&v[w]]++;for(w=0;w<x.length;++w)C[31&x[w]]++;for(var T=fJ(C,7),E=T[0],D=T[1],O=19;O>4&&!E[Jq[O-1]];--O);var k,A,j,ee,M=l+5<<3,N=hJ(i,iJ)+hJ(a,aJ)+o,P=hJ(i,f)+hJ(a,h)+o+14+3*O+hJ(C,E)+(2*C[16]+3*C[17]+7*C[18]);if(M<=N&&M<=P)return gJ(t,u,e.subarray(c,c+l));
28if(uJ(t,u,1+(P<N)),u+=2,P<N){k=rJ(f,p,0),A=f,j=rJ(h,g,0),ee=h;var F=rJ(E,D,0);for(uJ(t,u,y-257),uJ(t,u+5,S-1),uJ(t,u+10,O-4),u+=14,w=0;w<O;++w)uJ(t,u+3*w,E[Jq[w]]);u+=3*O;for(var I=[v,x],L=0;L<2;++L){var te=I[L];for(w=0;w<te.length;++w){var R=31&te[w];uJ(t,u,F[R]),u+=E[R],R>15&&(uJ(t,u,te[w]>>>5&127),u+=te[w]>>>12)}}}else k=oJ,A=iJ,j=sJ,ee=aJ;for(w=0;w<s;++w)if(r[w]>255){R=r[w]>>>18&31,dJ(t,u,k[R+257]),u+=A[R+257],R>7&&(uJ(t,u,r[w]>>>23&31),u+=Kq[R]);var ne=31&r[w];dJ(t,u,j[ne]),u+=ee[ne],ne>3&&(dJ(t,u,r[w]>>>5&8191),u+=qq[ne])}else dJ(t,u,k[r[w]]),u+=A[r[w]];return dJ(t,u,k[256]),u+A[256]},vJ=new Gq([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),yJ=function(){for(var e=new Gq(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),bJ=function(){var e=4294967295;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=yJ[255&n^t[r]]^n>>>8;e=n},d:function(){return 4294967295^e}}},xJ=function(e,t,n,r,i){return function(e,t,n,r,i,a){var o=e.length,s=new Uq(r+o+5*(1+Math.floor(o/7e3))+i),c=s.subarray(r,s.length-i),l=0;if(!t||o<8)for(var u=0;u<=o;u+=65535){var d=u+65535;d<o?l=gJ(c,l,e.subarray(u,d)):(c[u]=a,l=gJ(c,l,e.subarray(u,o)))}else{for(var f=vJ[t-1],p=f>>>13,m=8191&f,h=(1<<n)-1,g=new Wq(32768),_=new Wq(h+1),v=Math.ceil(n/3),y=2*v,b=function(t){return(e[t]^e[t+1]<<v^e[t+2]<<y)&h},x=new Gq(25e3),S=new Wq(288),C=new Wq(32),w=0,T=0,E=(u=0,0),D=0,O=0;u<o;++u){var k=b(u),A=32767&u,j=_[k];if(g[A]=j,_[k]=A,D<=u){var ee=o-u;if((w>7e3||E>24576)&&ee>423){l=_J(e,c,0,x,S,C,T,E,O,u-O,l),E=w=T=0,O=u;for(var M=0;M<286;++M)S[M]=0;for(M=0;M<30;++M)C[M]=0}var N=2,P=0,F=m,I=A-j&32767;if(ee>2&&k==b(u-I))for(var L=Math.min(p,ee)-1,te=Math.min(32767,u),R=Math.min(258,ee);I<=te&&--F&&A!=j;){if(e[u+N]==e[u+N-I]){for(var ne=0;ne<R&&e[u+ne]==e[u+ne-I];++ne);if(ne>N){if(N=ne,P=I,ne>L)break;var z=Math.min(I,ne-2),re=0;for(M=0;M<z;++M){var ie=u-I+M+32768&32767,ae=ie-g[ie]+32768&32767;ae>re&&(re=ae,j=ie)}}}I+=(A=j)-(j=g[A])+32768&32767}if(P){x[E++]=268435456|Qq[N]<<18|$q[P];var oe=31&Qq[N],se=31&$q[P];T+=Kq[oe]+qq[se],++S[257+oe],++C[se],D=u+N,++w}else x[E++]=e[u],++S[e[u]]}}l=_J(e,c,a,x,S,C,T,E,O,u-O,l)}return lJ(s,0,r+cJ(l)+i)}(e,t.level==null?6:t.level,t.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)},SJ=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},CJ=function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:t.level==9?2:0,e[9]=3,t.mtime!=0&&SJ(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}},wJ=function(e){return 10+(e.filename&&e.filename.length+1||0)};function TJ(e,t){t===void 0&&(t={});var n=bJ(),r=e.length;n.p(e);var i=xJ(e,t,wJ(t),8),a=i.length;return CJ(i,t),SJ(i,a-8,n.d()),SJ(i,a-4,r),i}function EJ(e,t){var n=e.length;if(typeof TextEncoder<`u`)return new TextEncoder().encode(e);for(var r=new Uq(e.length+(e.length>>>1)),i=0,a=function(e){r[i++]=e},o=0;o<n;++o){if(i+5>r.length){var s=new Uq(i+8+(n-o<<1));s.set(r),r=s}var c=e.charCodeAt(o);c<128||t?a(c):c<2048?(a(192|c>>>6),a(128|63&c)):c>55295&&c<57344?(a(240|(c=65536+(1047552&c)|1023&e.charCodeAt(++o))>>>18),a(128|c>>>12&63),a(128|c>>>6&63),a(128|63&c)):(a(224|c>>>12),a(128|c>>>6&63),a(128|63&c))}return lJ(r,0,i)}function DJ(e,t){return function(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return Math.abs(t)}(e)%100<qK(100*t,0,100)}var OJ=`disabled`,kJ=`sampled`,AJ=`active`,jJ=`buffering`,MJ=`paused`,NJ=`trigger`,PJ=NJ+`_activated`,FJ=NJ+`_pending`,IJ=NJ+`_`+OJ;function LJ(e,t){return t.some((t=>t.matching===`regex`&&new RegExp(t.url).test(e)))}var RJ=class{constructor(e){this.xt=e}triggerStatus(e){var t=this.xt.map((t=>t.triggerStatus(e)));return t.includes(PJ)?PJ:t.includes(FJ)?FJ:IJ}stop(){this.xt.forEach((e=>e.stop()))}},zJ=class{constructor(e){this.xt=e}triggerStatus(e){var t=new Set;for(var n of this.xt)t.add(n.triggerStatus(e));switch(t.delete(IJ),t.size){case 0:return IJ;case 1:return Array.from(t)[0];default:return FJ}}stop(){this.xt.forEach((e=>e.stop()))}},BJ=class{triggerStatus(){return FJ}stop(){}},VJ=class{constructor(e){this.Et=[],this.It=[],this.urlBlocked=!1,this._instance=e}onRemoteConfig(e){this.Et=e.sessionRecording?.urlTriggers||[],this.It=e.sessionRecording?.urlBlocklist||[]}Pt(e){return this.Et.length===0?IJ:this._instance?.get_property(mG)===e?PJ:FJ}triggerStatus(e){var t=this.Pt(e),n=t===PJ?PJ:t===FJ?FJ:IJ;return this._instance.register_for_session({$sdk_debug_replay_url_trigger_status:n}),n}checkUrlTriggerConditions(e,t,n){if(q!==void 0&&q.location.href){var r=q.location.href,i=this.urlBlocked,a=LJ(r,this.It);i&&a||(a&&!i?e():!a&&i&&t(),LJ(r,this.Et)&&n(`url`))}}stop(){}},HJ=class{constructor(e){this.linkedFlag=null,this.linkedFlagSeen=!1,this.Rt=()=>{},this._instance=e}triggerStatus(){var e=FJ;return wW(this.linkedFlag)&&(e=IJ),this.linkedFlagSeen&&(e=PJ),this._instance.register_for_session({$sdk_debug_replay_linked_flag_trigger_status:e}),e}onRemoteConfig(e,t){if(this.linkedFlag=e.sessionRecording?.linkedFlag||null,!wW(this.linkedFlag)&&!this.linkedFlagSeen){var n=xW(this.linkedFlag)?this.linkedFlag:this.linkedFlag.flag,r=xW(this.linkedFlag)?null:this.linkedFlag.variant;this.Rt=this._instance.onFeatureFlags(((e,i)=>{var a=!1;if(yW(i)&&n in i){var o=i[n];a=EW(o)?!0===o:r?o===r:!!o}this.linkedFlagSeen=a,a&&t(n,r)}))}}stop(){this.Rt()}},UJ=class{constructor(e){this.Tt=[],this._instance=e}onRemoteConfig(e){this.Tt=e.sessionRecording?.eventTriggers||[]}Mt(e){return this.Tt.length===0?IJ:this._instance?.get_property(hG)===e?PJ:FJ}triggerStatus(e){var t=this.Mt(e),n=t===PJ?PJ:t===FJ?FJ:IJ;return this._instance.register_for_session({$sdk_debug_replay_event_trigger_status:n}),n}stop(){}};function WJ(e){return e.isRecordingEnabled?jJ:OJ}function GJ(e){if(!e.receivedFlags)return jJ;if(!e.isRecordingEnabled)return OJ;if(e.urlTriggerMatching.urlBlocked)return MJ;var t=!0===e.isSampled,n=new RJ([e.eventTriggerMatching,e.urlTriggerMatching,e.linkedFlagMatching]).triggerStatus(e.sessionId);return t?kJ:n===PJ?AJ:n===FJ?jJ:!1===e.isSampled?OJ:AJ}function KJ(e){if(!e.receivedFlags)return jJ;if(!e.isRecordingEnabled)return OJ;if(e.urlTriggerMatching.urlBlocked)return MJ;var t=new zJ([e.eventTriggerMatching,e.urlTriggerMatching,e.linkedFlagMatching]).triggerStatus(e.sessionId),n=t!==IJ,r=EW(e.isSampled);return n&&t===FJ?jJ:n&&t===IJ||r&&!e.isSampled?OJ:!0===e.isSampled?kJ:AJ}var qJ=`[SessionRecording]`,JJ=AW(qJ);function YJ(){var e;return Y==null||(e=Y.__PosthogExtensions__)==null||(e=e.rrweb)==null?void 0:e.record}var XJ=3e5,ZJ=[Mq.MouseMove,Mq.MouseInteraction,Mq.Scroll,Mq.ViewportResize,Mq.Input,Mq.TouchMove,Mq.MediaInteraction,Mq.Drag],QJ=e=>({rrwebMethod:e,enqueuedAt:Date.now(),attempt:1});function $J(e){return function(e,t){for(var n=``,r=0;r<e.length;){var i=e[r++];i<128||t?n+=String.fromCharCode(i):i<224?n+=String.fromCharCode((31&i)<<6|63&e[r++]):i<240?n+=String.fromCharCode((1
285&i)<<12|(63&e[r++])<<6|63&e[r++]):(i=((15&i)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}return n}(TJ(EJ(JSON.stringify(e))),!0)}function eY(e){return e.type===jq.Custom&&e.data.tag===`sessionIdle`}var tY=class{get sessionId(){return this.Ct}get Ft(){return this._instance.config.session_recording.session_idle_threshold_ms||3e5}get started(){return this.Ot}get At(){if(!this._instance.sessionManager)throw Error(qJ+` must be started with a valid sessionManager.`);return this._instance.sessionManager}get Dt(){return this.Lt.triggerStatus(this.sessionId)===FJ?6e4:this._instance.config.session_recording?.full_snapshot_interval_millis??XJ}get jt(){var e=this._instance.get_property(pG);return EW(e)?e:null}get Nt(){var e=this.C?.data[this.C?.data.length-1],{sessionStartTimestamp:t}=this.At.checkAndGetSessionAndWindowId(!0);return e?e.timestamp-t:null}get zt(){var e=!!this._instance.get_property(iG),t=!this._instance.config.disable_session_recording;return q&&e&&t}get Ut(){var e=!!this._instance.get_property(aG);return this._instance.config.enable_recording_console_log??e}get qt(){var e,t=this._instance.config.session_recording.captureCanvas,n=this._instance.get_property(cG),r=(e=t?.recordCanvas??n?.enabled)!=null&&e,i=t?.canvasFps??n?.fps??4,a=t?.canvasQuality??n?.quality??.4;if(typeof a==`string`){var o=parseFloat(a);a=isNaN(o)?.4:o}return{enabled:r,fps:qK(i,0,12,`canvas recording fps`,4),quality:qK(a,0,1,`canvas recording quality`,.4)}}get Bt(){var e=this._instance.get_property(oG),t={recordHeaders:this._instance.config.session_recording?.recordHeaders,recordBody:this._instance.config.session_recording?.recordBody},n=t?.recordHeaders||e?.recordHeaders,r=t?.recordBody||e?.recordBody,i=yW(this._instance.config.capture_performance)?this._instance.config.capture_performance.network_timing:this._instance.config.capture_performance,a=!!(EW(i)?i:e?.capturePerformance);return n||r||a?{recordHeaders:n,recordBody:r,recordPerformance:a}:void 0}get Ht(){var e=this._instance.get_property(sG),t={maskAllInputs:this._instance.config.session_recording?.maskAllInputs,maskTextSelector:this._instance.config.session_recording?.maskTextSelector,blockSelector:this._instance.config.session_recording?.blockSelector},n=t?.maskAllInputs??e?.maskAllInputs,r=t?.maskTextSelector??e?.maskTextSelector,i=t?.blockSelector??e?.blockSelector;return X(n)&&X(r)&&X(i)?void 0:{maskAllInputs:n==null||n,maskTextSelector:r,blockSelector:i}}get Wt(){var e=this._instance.get_property(lG);return TW(e)?e:null}get Gt(){var e=this._instance.get_property(uG);return TW(e)?e:null}get status(){return this.Jt?this.Vt({receivedFlags:this.Jt,isRecordingEnabled:this.zt,isSampled:this.jt,urlTriggerMatching:this.Kt,eventTriggerMatching:this.Yt,linkedFlagMatching:this.Xt,sessionId:this.sessionId}):jJ}constructor(e){if(this.Vt=WJ,this.Jt=!1,this.Qt=[],this.Zt=`unknown`,this.ti=Date.now(),this.Lt=new BJ,this.ii=void 0,this.ei=void 0,this.ri=void 0,this.si=void 0,this.ni=void 0,this._forceAllowLocalhostNetworkCapture=!1,this.oi=()=>{this.ai()},this.li=()=>{this.ui(`browser offline`,{})},this.hi=()=>{this.ui(`browser online`,{})},this.di=()=>{if(J!=null&&J.visibilityState){var e=`window `+J.visibilityState;this.ui(e,{})}},this._instance=e,this.Ot=!1,this.vi=`/s/`,this.ci=void 0,this.Jt=!1,!this._instance.sessionManager)throw JJ.error(`started without valid sessionManager`),Error(qJ+` started without valid sessionManager. This is a bug.`);if(this._instance.config.__preview_experimental_cookieless_mode)throw Error(qJ+` cannot be used with __preview_experimental_cookieless_mode.`);this.Xt=new HJ(this._instance),this.Kt=new VJ(this._instance),this.Yt=new UJ(this._instance);var{sessionId:t,windowId:n}=this.At.checkAndGetSessionAndWindowId();this.Ct=t,this.fi=n,this.C=this.pi(),this.Ft>=this.At.sessionTimeoutMs&&JJ.warn(`session_idle_threshold_ms (`+this.Ft+`) is greater than the session timeout (`+this.At.sessionTimeoutMs+`). Session will never be detected as idle`)}startIfEnabledOrStop(e){this.zt?(this.gi(e),qW(q,`beforeunload`,this.oi),qW(q,`offline`,this.li),qW(q,`online`,this.hi),qW(q,`visibilitychange`,this.di),this.mi(),this.bi(),wW(this.ii)&&(this.ii=this._instance.on(`eventCaptured`,(e=>{try{if(e.event===`$pageview`){var t=e!=null&&e.properties.$current_url?this.yi(e?.properties.$current_url):``;if(!t)return;this.ui(`$pageview`,{href:t})}}catch(e){JJ.error(`Could not add $pageview to rrweb session`,e)}}))),this.ei||(this.ei=this.At.onSessionId(((e,t,n)=>{var r,i;n&&(this.ui(`$session_id_change`,{sessionId:e,windowId:t,changeReason:n}),(r=this._instance)==null||(r=r.persistence)==null||r.unregister(hG),(i=this._instance)==null||(i=i.persistence)==null||i.unregister(mG))})))):this.stopRecording()}stopRecording(){var e,t,n,r;this.Ot&&this.ci&&(this.ci(),this.ci=void 0,this.Ot=!1,q?.removeEventListener(`beforeunload`,this.oi),q?.removeEventListener(`offline`,this.li),q?.removeEventListener(`online`,this.hi),q?.removeEventListener(`visibilitychange`,this.di),this.pi(),clearInterval(this.wi),(e=this.ii)==null||e.call(this),this.ii=void 0,(t=this.ni)==null||t.call(this),this.ni=void 0,(n=this.ei)==null||n.call(this),this.ei=void 0,(r=this.si)==null||r.call(this),this.si=void 0,this.Yt.stop(),this.Kt.stop(),this.Xt.stop(),JJ.info(`stopped`))}Si(){var e;(e=this._instance.persistence)==null||e.unregister(pG)}$i(e){var t,n=this.Ct!==e,r=this.Wt;if(TW(r)){var i=this.jt,a=n||!EW(i),o=a?DJ(e,r):i;a&&(o?this.ki(kJ):JJ.warn(`Sample rate (`+r+`) has determined that this sessionId (`+e+`) will not be sent to the server.`),this.ui(`samplingDecisionMade`,{sampleRate:r,isSampled:o})),(t=this._instance.persistence)==null||t.register({[pG]:o})}else this.Si()}onRemoteConfig(e){var t;(this.ui(`$remote_config_received`,e),this.xi(e),(t=e.sessionRecording)!=null&&t.endpoint)&&(this.vi=e.sessionRecording?.endpoint),this.mi(),e.sessionRecording?.triggerMatchType===`any`?
28(this.Vt=GJ,this.Lt=new RJ([this.Yt,this.Kt])):(this.Vt=KJ,this.Lt=new zJ([this.Yt,this.Kt])),this._instance.register_for_session({$sdk_debug_replay_remote_trigger_matching_config:e.sessionRecording?.triggerMatchType}),this.Kt.onRemoteConfig(e),this.Yt.onRemoteConfig(e),this.Xt.onRemoteConfig(e,((e,t)=>{this.ki(`linked_flag_matched`,{flag:e,variant:t})})),this.Jt=!0,this.startIfEnabledOrStop()}mi(){TW(this.Wt)&&wW(this.si)&&(this.si=this.At.onSessionId((e=>{this.$i(e)})))}xi(e){if(this._instance.persistence){var t,n=this._instance.persistence,r=()=>{var t=e.sessionRecording?.sampleRate,r=wW(t)?null:parseFloat(t);wW(r)&&this.Si();var i=e.sessionRecording?.minimumDurationMilliseconds;n.register({[iG]:!!e.sessionRecording,[aG]:e.sessionRecording?.consoleLogRecordingEnabled,[oG]:Q({capturePerformance:e.capturePerformance},e.sessionRecording?.networkPayloadCapture),[sG]:e.sessionRecording?.masking,[cG]:{enabled:e.sessionRecording?.recordCanvas,fps:e.sessionRecording?.canvasFps,quality:e.sessionRecording?.canvasQuality},[lG]:r,[uG]:X(i)?null:i,[dG]:e.sessionRecording?.scriptConfig})};r(),(t=this.ri)==null||t.call(this),this.ri=this.At.onSessionId(r)}}log(e,t){var n;t===void 0&&(t=`log`),(n=this._instance.sessionRecording)==null||n.onRRwebEmit({type:6,data:{plugin:`rrweb/console@1`,payload:{level:t,trace:[],payload:[JSON.stringify(e)]}},timestamp:Date.now()})}gi(e){if(!X(Object.assign)&&!X(Array.from)&&!(this.Ot||this._instance.config.disable_session_recording||this._instance.consent.isOptedOut())){var t;this.Ot=!0,this.At.checkAndGetSessionAndWindowId(),YJ()?this.Ei():(t=Y.__PosthogExtensions__)==null||t.loadExternalDependency==null||t.loadExternalDependency(this._instance,this.Ii,(e=>{if(e)return JJ.error(`could not load recorder`,e);this.Ei()})),JJ.info(`starting`),this.status===AJ&&this.ki(e||`recording_initialized`)}}get Ii(){var e;return((e=this._instance)==null||(e=e.persistence)==null||(e=e.get_property(dG))==null?void 0:e.script)||`recorder`}Pi(e){return e.type===3&&ZJ.indexOf(e.data?.source)!==-1}Ri(e){var t=this.Pi(e);t||this.Zt||e.timestamp-this.ti>this.Ft&&(this.Zt=!0,clearInterval(this.wi),this.ui(`sessionIdle`,{eventTimestamp:e.timestamp,lastActivityTimestamp:this.ti,threshold:this.Ft,bufferLength:this.C.data.length,bufferSize:this.C.size}),this.ai());var n=!1;if(t&&(this.ti=e.timestamp,this.Zt)){var r=this.Zt===`unknown`;this.Zt=!1,r||(this.ui(`sessionNoLongerIdle`,{reason:`user activity`,type:e.type}),n=!0)}if(!this.Zt){var{windowId:i,sessionId:a}=this.At.checkAndGetSessionAndWindowId(!t,e.timestamp),o=this.Ct!==a,s=this.fi!==i;this.fi=i,this.Ct=a,o||s?(this.stopRecording(),this.startIfEnabledOrStop(`session_id_changed`)):n&&this.Ti()}}Mi(e){try{return e.rrwebMethod(),!0}catch(t){return this.Qt.length<10?this.Qt.push({enqueuedAt:e.enqueuedAt||Date.now(),attempt:e.attempt++,rrwebMethod:e.rrwebMethod}):JJ.warn(`could not emit queued rrweb event.`,t,e),!1}}ui(e,t){return this.Mi(QJ((()=>YJ().addCustomEvent(e,t))))}Ci(){return this.Mi(QJ((()=>YJ().takeFullSnapshot())))}Ei(){var e,t={blockClass:`ph-no-capture`,blockSelector:void 0,ignoreClass:`ph-ignore-input`,maskTextClass:`ph-mask`,maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{password:!0},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},n=this._instance.config.session_recording;for(var[r,i]of Object.entries(n||{}))r in t&&(r===`maskInputOptions`?t.maskInputOptions=Q({password:!0},i):t[r]=i);(this.qt&&this.qt.enabled&&(t.recordCanvas=!0,t.sampling={canvas:this.qt.fps},t.dataURLOptions={type:`image/webp`,quality:this.qt.quality}),this.Ht)&&(t.maskAllInputs=(e=this.Ht.maskAllInputs)==null||e,t.maskTextSelector=this.Ht.maskTextSelector??void 0,t.blockSelector=this.Ht.blockSelector??void 0);var a=YJ();if(a){this.Fi=this.Fi??new Hq(a,{refillRate:this._instance.config.session_recording.__mutationThrottlerRefillRate,bucketSize:this._instance.config.session_recording.__mutationThrottlerBucketSize,onBlockedNode:(e,t)=>{var n=`Too many mutations on node '`+e+`'. Rate limiting. This could be due to SVG animations or something similar`;JJ.info(n,{node:t}),this.log(qJ+` `+n,`warn`)}});var o=this.Oi();this.ci=a(Q({emit:e=>{this.onRRwebEmit(e)},plugins:o},t)),this.ti=Date.now(),this.Zt=EW(this.Zt)?this.Zt:`unknown`,this.ui(`$session_options`,{sessionRecordingOptions:t,activePlugins:o.map((e=>e?.name))}),this.ui(`$posthog_config`,{config:this._instance.config})}else JJ.error(`onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.`)}Ti(){if(this.wi&&clearInterval(this.wi),!0!==this.Zt){var e=this.Dt;e&&(this.wi=setInterval((()=>{this.Ci()}),e))}}Oi(){var e,t,n=[],r=(e=Y.__PosthogExtensions__)==null||(e=e.rrwebPlugins)==null?void 0:e.getRecordConsolePlugin;
28r&&this.Ut&&n.push(r());var i=(t=Y.__PosthogExtensions__)==null||(t=t.rrwebPlugins)==null?void 0:t.getRecordNetworkPlugin;return this.Bt&&vW(i)&&(!lK.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?n.push(i(Vq(this._instance.config,this.Bt))):JJ.info(`NetworkCapture not started because we are on localhost.`)),n}onRRwebEmit(e){var t;if(this.Ai(),e&&yW(e)){if(e.type===jq.Meta){var n=this.yi(e.data.href);if(this.Di=n,!n)return;e.data.href=n}else this.Li();if(this.Kt.checkUrlTriggerConditions((()=>this.ji()),(()=>this.Ni()),(e=>this.zi(e))),!this.Kt.urlBlocked||(r=e).type===jq.Custom&&r.data.tag===`recording paused`){var r;e.type===jq.FullSnapshot&&this.Ti(),e.type===jq.FullSnapshot&&this.Jt&&this.Lt.triggerStatus(this.sessionId)===FJ&&this.pi();var i=this.Fi?this.Fi.throttleMutations(e):e;if(i){var a=function(e){var t=e;if(t&&yW(t)&&t.type===6&&yW(t.data)&&t.data.plugin===`rrweb/console@1`){t.data.payload.payload.length>10&&(t.data.payload.payload=t.data.payload.payload.slice(0,10),t.data.payload.payload.push(`...[truncated]`));for(var n=[],r=0;r<t.data.payload.payload.length;r++)t.data.payload.payload[r]&&t.data.payload.payload[r].length>2e3?n.push(t.data.payload.payload[r].slice(0,2e3)+`...[truncated]`):n.push(t.data.payload.payload[r]);return t.data.payload.payload=n,e}return e}(i);if(this.Ri(a),!0!==this.Zt||eY(a)){if(eY(a)){var o=a.data.payload;o&&(a.timestamp=o.lastActivityTimestamp+o.threshold)}var s=(t=this._instance.config.session_recording.compress_events)==null||t?function(e){if(kq(e)<1024)return e;try{if(e.type===jq.FullSnapshot)return Q({},e,{data:$J(e.data),cv:`2024-10`});if(e.type===jq.IncrementalSnapshot&&e.data.source===Mq.Mutation)return Q({},e,{cv:`2024-10`,data:Q({},e.data,{texts:$J(e.data.texts),attributes:$J(e.data.attributes),removes:$J(e.data.removes),adds:$J(e.data.adds)})});if(e.type===jq.IncrementalSnapshot&&e.data.source===Mq.StyleSheetRule)return Q({},e,{cv:`2024-10`,data:Q({},e.data,{adds:e.data.adds?$J(e.data.adds):void 0,removes:e.data.removes?$J(e.data.removes):void 0})})}catch(e){JJ.error(`could not compress event - will use uncompressed event`,e)}return e}(a):a,c={$snapshot_bytes:kq(s),$snapshot_data:s,$session_id:this.Ct,$window_id:this.fi};this.status===OJ?this.pi():this.Ui(c)}}}}}Li(){if(!this._instance.config.capture_pageview&&q){var e=this.yi(q.location.href);this.Di!==e&&(this.ui(`$url_changed`,{href:e}),this.Di=e)}}Ai(){if(this.Qt.length){var e=[...this.Qt];this.Qt=[],e.forEach((e=>{Date.now()-e.enqueuedAt<=2e3&&this.Mi(e)}))}}yi(e){var t=this._instance.config.session_recording;if(t.maskNetworkRequestFn){var n={url:e};return(n=t.maskNetworkRequestFn(n))?.url}return e}pi(){return this.C={size:0,data:[],sessionId:this.Ct,windowId:this.fi},this.C}ai(){this.qi&&(clearTimeout(this.qi),this.qi=void 0);var e=this.Gt,t=this.Nt,n=TW(t)&&t>=0,r=TW(e)&&n&&t<e;return this.status===jJ||this.status===MJ||this.status===OJ||r?(this.qi=setTimeout((()=>{this.ai()}),2e3),this.C):(this.C.data.length>0&&Aq(this.C).forEach((e=>{this.Bi({$snapshot_bytes:e.size,$snapshot_data:e.data,$session_id:e.sessionId,$window_id:e.windowId,$lib:`web`,$lib_version:aW.LIB_VERSION})})),this.pi())}Ui(e){var t=2+(this.C?.data.length||0);!this.Zt&&(this.C.size+e.$snapshot_bytes+t>943718.4||this.C.sessionId!==this.Ct)&&(this.C=this.ai()),this.C.size+=e.$snapshot_bytes,this.C.data.push(e.$snapshot_data),this.qi||this.Zt||(this.qi=setTimeout((()=>{this.ai()}),2e3))}Bi(e){this._instance.capture(`$snapshot`,e,{_url:this._instance.requestRouter.endpointFor(`api`,this.vi),_noTruncate:!0,_batchKey:`recordings`,skip_client_rate_limiting:!0})}zi(e){var t;this.Lt.triggerStatus(this.sessionId)===FJ&&((t=this._instance)==null||(t=t.persistence)==null||t.register({[e===`url`?mG:hG]:this.Ct}),this.ai(),this.ki(e+`_trigger_matched`))}ji(){this.Kt.urlBlocked||(this.Kt.urlBlocked=!0,clearInterval(this.wi),JJ.info(`recording paused due to URL blocker`),this.ui(`recording paused`,{reason:`url blocker`}))}Ni(){this.Kt.urlBlocked&&(this.Kt.urlBlocked=!1,this.Ci(),this.Ti(),this.ui(`recording resumed`,{reason:`left blocked url`}),JJ.info(`recording resumed`))}bi(){this.Yt.Tt.length!==0&&wW(this.ni)&&(this.ni=this._instance.on(`eventCaptured`,(e=>{try{this.Yt.Tt.includes(e.event)&&this.zi(`event`)}catch(e){JJ.error(`Could not activate event trigger`,e)}})))}overrideLinkedFlag(){this.Xt.linkedFlagSeen=!0,this.Ci(),this.ki(`linked_flag_overridden`)}overrideSampling(){var e;(e=this._instance.persistence)==null||e.register({[pG]:!0}),this.Ci(),this.ki(`sampling_overridden`)}overrideTrigger(e){this.zi(e)}ki(e,t){this._instance.register_for_session({$session_recording_start_reason:e}),JJ.info(e.replace(`_`,` `),t),uW([`recording_initialized`,`session_id_changed`],e)||this.ui(e,t)}get sdkDebugProperties(){var{sessionStartTimestamp:e}=this.At.checkAndGetSessionAndWindowId(!0);return{$recording_status:this.status,$sdk_debug_replay_internal_buffer_length:this.C.data.length,$sdk_debug_replay_internal_buffer_size:this.C.size,$sdk_debug_current_session_duration:this.Nt,$sdk_debug_session_start:e}}
28},nY=AW(`[SegmentIntegration]`);function rY(e,t){var n=e.config.segment;if(!n)return t();(function(e,t){var n=e.config.segment;if(!n)return t();var r=n=>{var r=()=>n.anonymousId()||DK();e.config.get_device_id=r,n.id()&&(e.register({distinct_id:n.id(),$device_id:r()}),e.persistence.set_property(wG,`identified`)),t()},i=n.user();`then`in i&&vW(i.then)?i.then((e=>r(e))):r(i)})(e,(()=>{n.register((e=>{Promise&&Promise.resolve||nY.warn(`This browser does not have Promise support, and can not use the segment integration`);var t=(t,n)=>{if(!n)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(nY.info(`No userId set, resetting PostHog`),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(nY.info(`UserId set, identifying with PostHog`),e.identify(t.event.userId));var r=e.calculateEventProperties(n,t.event.properties);return t.event.properties=Object.assign({},r,t.event.properties),t};return{name:`PostHog JS`,type:`enrichment`,version:`1.0.0`,isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>t(e,e.event.event),page:e=>t(e,`$pageview`),identify:e=>t(e,`$identify`),screen:e=>t(e,`$screen`)}})(e)).then((()=>{t()}))}))}var iY=`posthog-js`;function aY(e,t){var{organization:n,projectId:r,prefix:i,severityAllowList:a=[`error`]}=t===void 0?{}:t;return t=>{if(!(a===`*`||a.includes(t.level))||!e.__loaded)return t;t.tags||(t.tags={});var o=e.requestRouter.endpointFor(`ui`,`/project/`+e.config.token+`/person/`+e.get_distinct_id());t.tags[`PostHog Person URL`]=o,e.sessionRecordingStarted()&&(t.tags[`PostHog Recording URL`]=e.get_session_replay_url({withTimestamp:!0}));var s=t.exception?.values||[],c=s.map((e=>Q({},e,{stacktrace:e.stacktrace?Q({},e.stacktrace,{type:`raw`,frames:(e.stacktrace.frames||[]).map((e=>Q({},e,{platform:`web:javascript`})))}):void 0}))),l={$exception_message:s[0]?.value||t.message,$exception_type:s[0]?.type,$exception_personURL:o,$exception_level:t.level,$exception_list:c,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:s[0]?.value||t.message,$sentry_exception_type:s[0]?.type,$sentry_tags:t.tags};return n&&r&&(l.$sentry_url=(i||`https://sentry.io/organizations/`)+n+`/issues/?project=`+r+`&query=`+t.event_id),e.exceptions.sendExceptionEvent(l),t}}var oY=class{constructor(e,t,n,r,i){this.name=iY,this.setupOnce=function(a){a(aY(e,{organization:t,projectId:n,prefix:r,severityAllowList:i}))}}},sY=q!=null&&q.location?mK(q.location.hash,`__posthog`)||mK(location.hash,`state`):null,cY=`_postHogToolbarParams`,lY=AW(`[Toolbar]`),uY=function(e){return e[e.UNINITIALIZED=0]=`UNINITIALIZED`,e[e.LOADING=1]=`LOADING`,e[e.LOADED=2]=`LOADED`,e}(uY||{}),dY=class{constructor(e){this.instance=e}Hi(e){Y.ph_toolbar_state=e}Wi(){return Y.ph_toolbar_state??uY.UNINITIALIZED}maybeLoadToolbar(e,t,n){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),!q||!J)return!1;e=e??q.location,n=n??q.history;try{if(!t){try{q.localStorage.setItem(`test`,`test`),q.localStorage.removeItem(`test`)}catch{return!1}t=q?.localStorage}var r,i=sY||mK(e.hash,`__posthog`)||mK(e.hash,`state`),a=i?BW((()=>JSON.parse(atob(decodeURIComponent(i)))))||BW((()=>JSON.parse(decodeURIComponent(i)))):null;return a&&a.action===`ph_authorize`?((r=a).source=`url`,r&&Object.keys(r).length>0&&(a.desiredHash?e.hash=a.desiredHash:n?n.replaceState(n.state,``,e.pathname+e.search):e.hash=``)):((r=JSON.parse(t.getItem(cY)||`{}`)).source=`localstorage`,delete r.userIntent),!(!r.token||this.instance.config.token!==r.token)&&(this.loadToolbar(r),!0)}catch{return!1}}Gi(e){var t=Y.ph_load_toolbar||Y.ph_load_editor;!wW(t)&&vW(t)?t(e,this.instance):lY.warn(`No toolbar load function found`)}loadToolbar(e){var t=!(J==null||!J.getElementById(jG));if(!q||t)return!1;var n=this.instance.requestRouter.region===`custom`&&this.instance.config.advanced_disable_toolbar_metrics,r=Q({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor(`ui`)},n?{instrument:!1}:{});if(q.localStorage.setItem(cY,JSON.stringify(Q({},r,{source:void 0}))),this.Wi()===uY.LOADED)this.Gi(r);else if(this.Wi()===uY.UNINITIALIZED){var i;this.Hi(uY.LOADING),(i=Y.__PosthogExtensions__)==null||i.loadExternalDependency==null||i.loadExternalDependency(this.instance,`toolbar`,(e=>{if(e)return lY.error(`[Toolbar] Failed to load`,e),void this.Hi(uY.UNINITIALIZED);this.Hi(uY.LOADED),this.Gi(r)})),qW(q,`turbolinks:load`,(()=>{this.Hi(uY.UNINITIALIZED),this.loadToolbar(r)}))}return!0}Ji(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,n){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),this.maybeLoadToolbar(e,t,n)}},fY=AW(`[TracingHeaders]`),pY=class{constructor(e){this.Vi=void 0,this.Ki=void 0,this.nt=()=>{var e,t;X(this.Vi)&&((e=Y.__PosthogExtensions__)==null||(e=e.tracingHeadersPatchFns)==null||e._patchXHR(this._instance.get_distinct_id(),this._instance.sessionManager)),X(this.Ki)&&((t=Y.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchFetch(this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}J(e){var t,n;(t=Y.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(n=Y.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,`tracing-headers`,(t=>{if(t)return fY.error(`failed to load script`,t);
28e()}))}startIfEnabledOrStop(){var e,t;this._instance.config.__add_tracing_headers?this.J(this.nt):((e=this.Vi)==null||e.call(this),(t=this.Ki)==null||t.call(this),this.Vi=void 0,this.Ki=void 0)}},mY=AW(`[Web Vitals]`),hY=9e5,gY=class{constructor(e){var t;this.Yi=!1,this.i=!1,this.C={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Xi=()=>{clearTimeout(this.Qi),this.C.metrics.length!==0&&(this._instance.capture(`$web_vitals`,this.C.metrics.reduce(((e,t)=>Q({},e,{[`$web_vitals_`+t.name+`_event`]:Q({},t),[`$web_vitals_`+t.name+`_value`]:t.value})),{})),this.C={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Zi=e=>{var t=this._instance.sessionManager?.checkAndGetSessionAndWindowId(!0);if(X(t))mY.error(`Could not read session ID. Dropping metrics!`);else{this.C=this.C||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var n=this.te();X(n)||(wW(e?.name)||wW(e?.value)?mY.error(`Invalid metric received`,e):this.ie&&e.value>=this.ie?mY.error(`Ignoring metric with value >= `+this.ie,e):(this.C.url!==n&&(this.Xi(),this.Qi=setTimeout(this.Xi,this.flushToCaptureTimeoutMs)),X(this.C.url)&&(this.C.url=n),this.C.firstMetricTimestamp=X(this.C.firstMetricTimestamp)?Date.now():this.C.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0),this.C.metrics.push(Q({},e,{$current_url:n,$session_id:t.sessionId,$window_id:t.windowId,timestamp:Date.now()})),this.C.metrics.length===this.allowedMetrics.length&&this.Xi()))}},this.nt=()=>{var e,t,n,r,i=Y.__PosthogExtensions__;X(i)||X(i.postHogWebVitalsCallbacks)||({onLCP:e,onCLS:t,onFCP:n,onINP:r}=i.postHogWebVitalsCallbacks),e&&t&&n&&r?(this.allowedMetrics.indexOf(`LCP`)>-1&&e(this.Zi.bind(this)),this.allowedMetrics.indexOf(`CLS`)>-1&&t(this.Zi.bind(this)),this.allowedMetrics.indexOf(`FCP`)>-1&&n(this.Zi.bind(this)),this.allowedMetrics.indexOf(`INP`)>-1&&r(this.Zi.bind(this)),this.i=!0):mY.error(`web vitals callbacks not loaded - not starting`)},this._instance=e,this.Yi=!((t=this._instance.persistence)==null||!t.props[tG]),this.startIfEnabled()}get allowedMetrics(){var e=yW(this._instance.config.capture_performance)?this._instance.config.capture_performance?.web_vitals_allowed_metrics:void 0;return X(e)?this._instance.persistence?.props[rG]||[`CLS`,`FCP`,`INP`,`LCP`]:e}get flushToCaptureTimeoutMs(){return(yW(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get ie(){var e=yW(this._instance.config.capture_performance)&&TW(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:hY;return 0<e&&e<=6e4?hY:e}get isEnabled(){var e=eW?.protocol;if(e!==`http:`&&e!==`https:`)return mY.info(`Web Vitals are disabled on non-http/https protocols`),!1;var t=yW(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:EW(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return EW(t)?t:this.Yi}startIfEnabled(){this.isEnabled&&!this.i&&(mY.info(`enabled, starting...`),this.J(this.nt))}onRemoteConfig(e){var t=yW(e.capturePerformance)&&!!e.capturePerformance.web_vitals,n=yW(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[tG]:t}),this._instance.persistence.register({[rG]:n})),this.Yi=t,this.startIfEnabled()}J(e){var t,n;(t=Y.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks&&e(),(n=Y.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,`web-vitals`,(t=>{t?mY.error(`failed to load script`,t):e()}))}te(){var e=q?q.location.href:void 0;return e||mY.error(`Could not determine current URL`),e}},_Y=AW(`[Heatmaps]`);function vY(e){return yW(e)&&`clientX`in e&&`clientY`in e&&TW(e.clientX)&&TW(e.clientY)}var yY=class{constructor(e){var t;this.rageclicks=new cK,this.Yi=!1,this.i=!1,this.ee=null,this.instance=e,this.Yi=!((t=this.instance.persistence)==null||!t.props[QW])}get flushIntervalMilliseconds(){var e=5e3;return yW(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(e=this.instance.config.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return X(this.instance.config.capture_heatmaps)?X(this.instance.config.enable_heatmaps)?this.Yi:this.instance.config.enable_heatmaps:!1!==this.instance.config.capture_heatmaps}startIfEnabled(){if(this.isEnabled){if(this.i)return;_Y.info(`starting...`),this.re(),this.ee=setInterval(this.se.bind(this),this.flushIntervalMilliseconds)}else{var e;clearInterval(this.ee??void 0),(e=this.ne)==null||e.stop(),this.getAndClearBuffer()}}onRemoteConfig(e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[QW]:t}),this.Yi=t,this.startIfEnabled()}getAndClearBuffer(){var e=this.C;return this.C=void 0,e}oe(e){this.ae(e.originalEvent,`deadclick`)}re(){q&&J&&(qW(q,`beforeunload`,this.se.bind(this)),qW(J,`click`,(e=>this.ae(e||q?.event)),{capture:!0}),qW(J,`mousemove`,(e=>this.le(e||q?.event)),{capture:!0}),this.ne=new KK(this.instance,WK,this.oe.bind(this)),this.ne.startIfEnabled(),this.i=!0)}ue(e,t){var n=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),i=this.instance.scrollManager.scrollElement(),a=function(e,t,n){for(var r=e;r&&FG(r)&&!IG(r,`body`);){if(r===n)return!1;if(uW(t,q?.getComputedStyle(r).position))return!0;r=KG(r)}return!1}(WG(e),[`fixed`,`sticky`],i);return{x:e.clientX+(a?0:r),y:e.clientY+(a?0:n),target_fixed:a,type:t}}ae(e,t){var n;if(t===void 0&&(t=`click`),!PG(e.target)&&vY(e)){var r=this.ue(e,t);(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.he(Q({},r,{type:`rageclick`})),this.he(r)}}le(e){!PG(e.target)&&vY(e)&&(clearTimeout(this.de),this.de=setTimeout((()=>{this.he(this.ue(e,`mousemove`))}),500))}he(e){if(q){var t=q.location.href;this.C=this.C||{},this.C[t]||(this.C[t]=[]),this.C[t].push(e)}}se(){this.C&&!bW(this.C)&&this.instance.capture(`$$heatmap`,{$heatmap_data:this.getAndClearBuffer()})}},bY=class{constructor(e){this._instance=e}doPageView(e,t){var n=this.ve(e,t);return this.ce={pathname:q?.location.pathname??``,pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),n}doPageLeave(e){return this.ve(e,this.ce?.pageViewId)}doEvent(){return{$pageview_id:this.ce?.pageViewId}}ve(e,t){var n=this.ce;if(!n)return{$pageview_id:t};var r={$pageview_id:t,$prev_pageview_id:n.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:a,lastScrollY:o,maxScrollY:s,maxContentHeight:c,lastContentY:l,maxContentY:u}=i;if(!(X(a)||X(o)||X(s)||X(c)||X(l)||X(u))){a=Math.ceil(a),o=Math.ceil(o),s=Math.ceil(s),c=Math.ceil(c),l=Math.ceil(l),u=Math.ceil(u);var d=a<=1?1:qK(o/a,0,1),f=a<=1?1:qK(s/a,0,1),p=c<=1?1:qK(l/c,0,1),m=c<=1?1:qK(u/c,0,1);r=LW(r,{$prev_pageview_last_scroll:o,$prev_pageview_last_scroll_percentage:d,$prev_pageview_max_scroll:s,$prev_pageview_max_scroll_percentage:f,$prev_pageview_last_content:l,$prev_pageview_last_content_percentage:p,$prev_pageview_max_content:u,$prev_pageview_max_content_percentage:m})}}return n.pathname&&(r.$prev_pageview_pathname=n.pathname),n.timestamp&&(r.$prev_pageview_duration=(e.getTime()-n.timestamp.getTime())/1e3),r}},xY=function(e){var t,n,r,i,a=``;for(t=n=0,r=(e=(e+``).replace(/\r\n/g,`
29`).replace(/\r/g,`
30`)).length,i=0;i<r;i++){var o=e.charCodeAt(i),s=null;o<128?n++:s=o>127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),CW(s)||(n>t&&(a+=e.substring(t,n)),a+=s,t=n=i+1)}return n>t&&(a+=e.substring(t,e.length)),a},SY=!!nW||!!tW,CY=`text/plain`,wY=(e,t)=>{var[n,r]=e.split(`?`),i=Q({},t);r?.split(`&`).forEach((e=>{var[t]=e.split(`=`);delete i[t]}));var a=dK(i);return n+`?`+(a=a?(r?r+`&`:``)+a:r)},TY=(e,t)=>
30JSON.stringify(e,((e,t)=>typeof t==`bigint`?t.toString():t),t),EY=e=>{var{data:t,compression:n}=e;if(t){if(n===cW.GZipJS){var r=TJ(EJ(TY(t)),{mtime:0}),i=new Blob([r],{type:CY});return{contentType:CY,body:i,estimatedSize:i.size}}if(n===cW.Base64){var a=(e=>`data=`+encodeURIComponent(typeof e==`string`?e:TY(e)))(function(e){var t,n,r,i,a,o=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`,s=0,c=0,l=``,u=[];if(!e)return e;e=xY(e);do t=(a=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,u[c++]=o.charAt(t)+o.charAt(n)+o.charAt(r)+o.charAt(i);while(s<e.length);switch(l=u.join(``),e.length%3){case 1:l=l.slice(0,-2)+`==`;break;case 2:l=l.slice(0,-1)+`=`}return l}(TY(t)));return{contentType:`application/x-www-form-urlencoded`,body:a,estimatedSize:new Blob([a]).size}}var o=TY(t);return{contentType:`application/json`,body:o,estimatedSize:new Blob([o]).size}}},DY=[];tW&&DY.push({transport:`fetch`,method:e=>{var{contentType:t,body:n,estimatedSize:r}=EY(e)??{},i=new Headers;IW(e.headers,(function(e,t){i.append(t,e)})),t&&i.append(`Content-Type`,t);var a=e.url,o=null;if(rW){var s=new rW;o={signal:s.signal,timeout:setTimeout((()=>s.abort()),e.timeout)}}tW(a,Q({method:e?.method||`GET`,headers:i,keepalive:e.method===`POST`&&(r||0)<52428.8,body:n,signal:o?.signal},e.fetchOptions)).then((t=>t.text().then((n=>{var r={statusCode:t.status,text:n};if(t.status===200)try{r.json=JSON.parse(n)}catch(e){Z.error(e)}e.callback==null||e.callback(r)})))).catch((t=>{Z.error(t),e.callback==null||e.callback({statusCode:0,text:t})})).finally((()=>o?clearTimeout(o.timeout):null))}}),nW&&DY.push({transport:`XHR`,method:e=>{var t=new nW;t.open(e.method||`GET`,e.url,!0);var{contentType:n,body:r}=EY(e)??{};IW(e.headers,(function(e,n){t.setRequestHeader(n,e)})),n&&t.setRequestHeader(`Content-Type`,n),e.timeout&&(t.timeout=e.timeout),t.withCredentials=!0,t.onreadystatechange=()=>{if(t.readyState===4){var n={statusCode:t.status,text:t.responseText};if(t.status===200)try{n.json=JSON.parse(t.responseText)}catch{}e.callback==null||e.callback(n)}},t.send(r)}}),$U!=null&&$U.sendBeacon&&DY.push({transport:`sendBeacon`,method:e=>{var t=wY(e.url,{beacon:`1`});try{var{contentType:n,body:r}=EY(e)??{},i=typeof r==`string`?new Blob([r],{type:n}):r;$U.sendBeacon(t,i)}catch{}}});var OY=function(e,t){if(!function(e){try{new RegExp(e)}catch{return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function kY(e,t,n){return TY({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}var AY={exact:(e,t)=>t.some((t=>e.some((e=>t===e)))),is_not:(e,t)=>t.every((t=>e.every((e=>t!==e)))),regex:(e,t)=>t.some((t=>e.some((e=>OY(t,e))))),not_regex:(e,t)=>t.every((t=>e.every((e=>!OY(t,e))))),icontains:(e,t)=>t.map(jY).some((t=>e.map(jY).some((e=>t.includes(e))))),not_icontains:(e,t)=>t.map(jY).every((t=>e.map(jY).every((e=>!t.includes(e)))))},jY=e=>e.toLowerCase(),MY=AW(`[Error tracking]`),NY=class{constructor(e){this.fe=[],this._instance=e,this.fe=this._instance.persistence?.get_property(eG)??[]}onRemoteConfig(e){var t=e.errorTracking?.suppressionRules??[];this.fe=t,this._instance.persistence&&this._instance.persistence.register({[eG]:this.fe})}sendExceptionEvent(e){this.pe(e)?MY.info(`Skipping exception capture because a suppression rule matched`):this._instance.capture(`$exception`,e,{_noTruncate:!0,_batchKey:`exceptionEvent`})}pe(e){var t=e.$exception_list;if(!t||!_W(t)||t.length===0)return!1;var n=t.reduce(((e,t)=>{var{type:n,value:r}=t;return xW(n)&&n.length>0&&e.$exception_types.push(n),xW(r)&&r.length>0&&e.$exception_values.push(r),e}),{$exception_types:[],$exception_values:[]});return this.fe.some((e=>{var t=e.values.map((e=>{var t=AY[e.operator],r=_W(e.value)?e.value:[e.value],i=n[e.key]??[];return r.length>0&&t(r,i)}));return e.type===`OR`?t.some(Boolean):t.every(Boolean)}))}},PY=`Mobile`,FY=`iOS`,IY=`Android`,LY=`Tablet`,RY=IY+` `+LY,zY=`iPad`,BY=`Apple`,VY=BY+` Watch`,HY=`Safari`,UY=`BlackBerry`,WY=`Samsung`,GY=WY+`Browser`,KY=WY+` Internet`,qY=`Chrome`,JY=qY+` OS`,YY=qY+` `+FY,XY=`Internet Explorer`,ZY=XY+` `+PY,QY=`Opera`,$Y=QY+` Mini`,eX=`Edge`,tX=`Microsoft `+eX,nX=`Firefox`,rX=nX+` `+FY,iX=`Nintendo`,aX=`PlayStation`,oX=`Xbox`,sX=IY+` `+PY,cX=PY+` `+HY,lX=`Windows`,uX=lX+` Phone`,dX=`Nokia`,fX=`Ouya`,pX=`Generic`,mX=pX+` `+PY.toLowerCase(),hX=pX+` `+LY.toLowerCase(),gX=`Konqueror`,_X=`(\\d+(\\.\\d+)?)`,vX=RegExp(`Version/`+_X),yX=new RegExp(oX,`i`),bX=RegExp(aX+` \\w+`,`i`),xX=RegExp(iX+` \\w+`,`i`),SX=RegExp(UY+`|PlayBook|BB10`,`i`),CX={"NT3.51":`NT 3.11`,"NT4.0":`NT 4.0`,"5.0":`2000`,5.1:`XP`,5.2:`XP`,"6.0":`Vista`,6.1:`7`,6.2:`8`,6.3:`8.1`,6.4:`10`,"10.0":`10`},wX=(e,t)=>t&&uW(t,BY)||function(e){return uW(e,HY)&&!uW(e,qY)&&!uW(e,IY)}(e),TX=function(e,t){return t=t||``,uW(e,` OPR/`)&&uW(e,`Mini`)?$Y:uW(e,` OPR/`)?QY:SX.test(e)?UY:uW(e,`IE`+PY)||uW(e,`WPDesktop`)?ZY:uW(e,GY)?KY:uW(e,eX)||uW(e,`Edg/`)?tX:uW(e,`FBIOS`)?`Facebook `+PY:uW(e,`UCWEB`)||uW(e,`UCBrowser`)?`UC Browser`:uW(e,`CriOS`)?YY:uW(e,`CrMo`)||uW(e,qY)?qY:uW(e,IY)&&uW(e,HY)?sX:uW(e,`FxiOS`)?rX:uW(e.toLowerCase(),gX.toLowerCase())?gX:wX(e,t)?uW(e,PY)?cX:HY:uW(e,nX)?nX:uW(e,`MSIE`)||uW(e,`Trident/`)?XY:uW(e,`Gecko`)?nX:``},EX={[ZY]:[RegExp(`rv:`+_X)],[tX]:[RegExp(eX+`?\\/`+_X)],[qY]:[RegExp(`(`+qY+`|CrMo)\\/`+_X)],[YY]:[RegExp(`CriOS\\/`+_X)],"UC Browser":[RegExp(`(UCBrowser|UCWEB)\\/`+_X)],[HY]:[vX],[cX]:[vX],[QY]:[RegExp(`(Opera|OPR)\\/`+_X)],[nX]:[RegExp(nX+`\\/`+_X)],[rX]:[RegExp(`FxiOS\\/`+_X)],[gX]:[RegExp(`Konqueror[:/]?`+_X,`i`)],[UY]:[RegExp(UY+` `+_X),vX],[sX]:[RegExp(`android\\s`+_X,`i`)],[KY]:[RegExp(GY+`\\/`+_X)],[XY]:[RegExp(`(rv:|MSIE )`+_X)],Mozilla:[RegExp(`rv:`+_X)]},DX=function(e,t){var n=EX[TX(e,t)];if(X(n))return null;for(var r=0;r<n.length;r++){var i=n[r],a=e.match(i);if(a)return parseFloat(a[a.length-2])}return null},OX=[[RegExp(oX+`; `+oX+` (.*?)[);]`,`i`),e=>[oX,e&&e[1]||``]],[new RegExp(iX,`i`),[iX,``]],[new RegExp(aX,`i`),[aX,``]],[SX,[UY,``]],[new RegExp(lX,`i`),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[uX,``];if(new RegExp(PY).test(t)&&!/IEMobile\b/.test(t))return[lX+` `+PY,``];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=CX[n[1]]||``;return/arm/i.test(t)&&(r=`RT`),[lX,r]}return[lX,``]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[FY,[e[3],e[4],e[5]||`0`].join(`.`)]:[FY,``]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t=``;return e&&e.length>=3&&(t=X(e[2])?e[3]:e[2]),[`watchOS`,t]}],[RegExp(`(`+IY+` (\\d+)\\.(\\d+)\\.?(\\d+)?|`+IY+`)`,`i`),e=>e&&e[2]?[IY,[e[2],e[3],e[4]||`0`].join(`.`)]:[IY,``]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=[`Mac OS X`,``];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||`0`].join(`.`)),t}],[/Mac/i,[`Mac OS X`,``]],[/CrOS/,[JY,``]],[/Linux|debian/i,[`Linux`,``]]],kX=function(e){return xX.test(e)?iX:bX.test(e)?aX:yX.test(e)?oX:new RegExp(fX,`i`).test(e)?fX:RegExp(`(`+uX+`|WPDesktop)`,`i`).test(e)?uX:/iPad/.test(e)?zY:/iPod/.test(e)?`iPod Touch`:/iPhone/.test(e)?`iPhone`:/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?VY:SX.test(e)?UY:/(kobo)\s(ereader|touch)/i.test(e)?`Kobo`:new RegExp(dX,`i`).test(e)?dX:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?`Kindle Fire`:/(Android|ZTE)/i.test(e)?!new RegExp(PY).test(e)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)?/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?IY:RY:IY:
30RegExp(`(pda|`+PY+`)`,`i`).test(e)?mX:new RegExp(LY,`i`).test(e)&&!RegExp(LY+` pc`,`i`).test(e)?hX:``},AX=`https?://(.*)`,jX=[`gclid`,`gclsrc`,`dclid`,`gbraid`,`wbraid`,`fbclid`,`msclkid`,`twclid`,`li_fat_id`,`igshid`,`ttclid`,`rdt_cid`,`epik`,`qclid`,`sccid`,`irclid`,`_kx`],MX=RW([`utm_source`,`utm_medium`,`utm_campaign`,`utm_content`,`utm_term`,`gad_source`,`mc_cid`],jX),NX=`<masked>`,PX=[`li_fat_id`];function FX(e,t,n){if(!J)return{};var r,i=t?RW([],jX,n||[]):[],a=IX(pK(J.URL,i,NX),e);return LW((r={},IW(PX,(function(e){var t=MK.D(e);r[e]=t||null})),r),a)}function IX(e,t){var n=MX.concat(t||[]),r={};return IW(n,(function(t){r[t]=fK(e,t)||null})),r}function LX(e){var t=function(e){return e?e.search(AX+`google.([^/?]*)`)===0?`google`:e.search(AX+`bing.com`)===0?`bing`:e.search(AX+`yahoo.com`)===0?`yahoo`:e.search(AX+`duckduckgo.com`)===0?`duckduckgo`:null:null}(e),n=t==`yahoo`?`p`:`q`,r={};if(!CW(t)){r.$search_engine=t;var i=J?fK(J.referrer,n):``;i.length&&(r.ph_keyword=i)}return r}function RX(){return navigator.language||navigator.userLanguage}function zX(){return J?.referrer||`$direct`}function BX(e,t){var n=e?RW([],jX,t||[]):[],r=eW?.href.substring(0,1e3);return{r:zX().substring(0,1e3),u:r?pK(r,n,NX):void 0}}function VX(e){var{r:t,u:n}=e,r={$referrer:t,$referring_domain:t==null?void 0:t==`$direct`?`$direct`:uK(t)?.host};if(n){r.$current_url=n;var i=uK(n);r.$host=i?.host,r.$pathname=i?.pathname,LW(r,IX(n))}return t&&LW(r,LX(t)),r}function HX(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function UX(){try{return new Date().getTimezoneOffset()}catch{return}}function WX(e,t){if(!iW)return{};var n,r,i,a=e?RW([],jX,t||[]):[],[o,s]=function(e){for(var t=0;t<OX.length;t++){var[n,r]=OX[t],i=n.exec(e),a=i&&(vW(r)?r(i,e):r);if(a)return a}return[``,``]}(iW);return LW(HW({$os:o,$os_version:s,$browser:TX(iW,navigator.vendor),$device:kX(iW),$device_type:(r=iW,i=kX(r),i===zY||i===RY||i===`Kobo`||i===`Kindle Fire`||i===hX?LY:i===iX||i===oX||i===aX||i===fX?`Console`:i===VY?`Wearable`:i?PY:`Desktop`),$timezone:HX(),$timezone_offset:UX()}),{$current_url:pK(eW?.href,a,NX),$host:eW?.host,$pathname:eW?.pathname,$raw_user_agent:iW.length>1e3?iW.substring(0,997)+`...`:iW,$browser_version:DX(iW,navigator.vendor),$browser_language:RX(),$browser_language_prefix:(n=RX(),typeof n==`string`?n.split(`-`)[0]:void 0),$screen_height:q?.screen.height,$screen_width:q?.screen.width,$viewport_height:q?.innerHeight,$viewport_width:q?.innerWidth,$lib:`web`,$lib_version:aW.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}var GX=AW(`[FeatureFlags]`),KX=`$active_feature_flags`,qX=`$override_feature_flags`,JX=`$feature_flag_payloads`,YX=`$override_feature_flag_payloads`,XX=`$feature_flag_request_id`,ZX=e=>{var t={};for(var[n,r]of zW(e||{}))r&&(t[n]=r);return t},QX=e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map((e=>[e,t[e].variant??t[e].enabled]))),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter((e=>t[e].enabled)).filter((e=>t[e].metadata?.payload)).map((e=>[e,t[e].metadata?.payload])))):GX.warn(`Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version`),e},$X=function(e){return e.FeatureFlags=`feature_flags`,e.Recordings=`recordings`,e}({}),eZ=class{constructor(e){this.ge=!1,this._e=!1,this.me=!1,this.be=!1,this.ye=!1,this.we=!1,this.Se=!1,this._instance=e,this.featureFlagEventHandlers=[]}flags(){if(this._instance.config.__preview_remote_config)this.we=!0;else{var e=!this.$e&&(this._instance.config.advanced_disable_feature_flags||this._instance.config.advanced_disable_feature_flags_on_first_load);this.ke({disableFlags:e})}}get hasLoadedFlags(){return this._e}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this._instance.get_property(vG),t=this._instance.get_property(qX),n=this._instance.get_property(YX);if(!n&&!t)return e||{};var r=LW({},e||{});for(var i of[...new Set([...Object.keys(n||{}),...Object.keys(t||{})])]){var a,o,s=r[i],c=t?.[i],l=X(c)?(a=s?.enabled)!=null&&a:!!c,u=X(c)?s.variant:typeof c==`string`?c:void 0,d=n?.[i],f=Q({},s,{enabled:l,variant:l?u??s?.variant:void 0});l!==s?.enabled&&(f.original_enabled=s?.enabled),u!==s?.variant&&(f.original_variant=s?.variant),d&&(f.metadata=Q({},s?.metadata,{payload:d,original_payload:s==null||(o=s.metadata)==null?void 0:o.payload})),r[i]=f}return this.ge||(GX.warn(` Overriding feature flag details!`,{flagDetails:e,overriddenPayloads:n,finalDetails:r}),this.ge=!0),r}getFlagVariants(){var e=this._instance.get_property(gG),t=this._instance.get_property(qX);if(!t)return e||{};for(var n=LW({},e),r=Object.keys(t),i=0;i<r.length;i++)n[r[i]]=t[r[i]];return this.ge||(GX.warn(` Overriding feature flags!`,{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this.ge=!0),n}getFlagPayloads(){var e=this._instance.get_property(JX),t=this._instance.get_property(YX);if(!t)return e||{};for(var n=LW({},e||{}),r=Object.keys(t),i=0;i<r.length;i++)n[r[i]]=t[r[i]];return this.ge||(GX.warn(` Overriding feature flag payloads!`,{flagPayloads:e,overriddenPayloads:t,finalPayloads:n}),this.ge=!0),n}reloadFeatureFlags(){this.be||this._instance.config.advanced_disable_feature_flags||this.$e||(this.$e=setTimeout((()=>{this.ke()}),5))}xe(){clearTimeout(this.$e),this.$e=void 0}ensureFlagsLoaded(){this._e||this.me||this.$e||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.be=e}ke(e){if(this.xe(),!this._instance.I())if(this.me)this.ye=!0;else{var t={token:this._instance.config.token,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Q({},this._instance.persistence?.get_initial_props()||{},this._instance.get_property(yG)||{}),group_properties:this._instance.get_property(bG)};(e!=null&&e.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(t.disable_flags=!0);var n=this._instance.config.__preview_remote_config,r=n?`/flags/?v=2`:`/flags/?v=2&config=true`,i=this._instance.config.advanced_only_evaluate_survey_feature_flags?`&only_evaluate_survey_feature_flags=true`:``,a=this._instance.requestRouter.endpointFor(`api`,r+i);n&&(t.timezone=HX()),this.me=!0,this._instance.Ee({method:`POST`,url:a,data:t,compression:this._instance.config.disable_compression?void 0:cW.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:e=>{var n,r=!0;(e.statusCode===200&&(this.ye||(this.$anon_distinct_id=void 0),r=!1),this.me=!1,this.we)||(this.we=!0,this._instance.Ie(e.json??{})),(!t.disable_flags||this.ye)&&(this.Se=!r,e.json&&(n=e.json.quotaLimited)!=null&&n.includes($X.FeatureFlags)?GX.warn(`You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset.  Please visit https://posthog.com/docs/billing/limits-alerts to learn more.`):(t.disable_flags||this.receivedFeatureFlags(e.json??{},r),this.ye&&(this.ye=!1,this.ke())))}})}}getFeatureFlag(e,t){if(t===void 0&&(t={}),this._e||this.getFlags()&&this.getFlags().length>0){var n=this.getFlagVariants()[e],r=``+n,i=this._instance.get_property(XX)||void 0,a=this._instance.get_property(CG)||{};if((t.send_event||!(`send_event`in t))&&(!(e in a)||!a[e].includes(r))){var o,s,c,l,u,d,f,p;_W(a[e])?a[e].push(r):a[e]=[r],(o=this._instance.persistence)==null||o.register({[CG]:a});var m=this.getFeatureFlagDetails(e),h={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:this.getFeatureFlagPayload(e)||null,$feature_flag_request_id:i,$feature_flag_bootstrapped_response:((s=this._instance.config.bootstrap)==null||(s=s.featureFlags)==null?void 0:s[e])||null,$feature_flag_bootstrapped_payload:((c=this._instance.config.bootstrap)==null||(c=c.featureFlagPayloads)==null?void 0:c[e])||null,$used_bootstrap_value:!this.Se};X(m==null||(l=m.metadata)==null?void 0:l.version)||(h.$feature_flag_version=m.metadata.version);var g,_=(m==null||(u=m.reason)==null?void 0:u.description)??(m==null||(d=m.reason)==null?void 0:d.code);_&&(h.$feature_flag_reason=_),m!=null&&(f=m.metadata)!=null&&f.id&&(h.$feature_flag_id=m.metadata.id),X(m?.original_variant)&&X(m?.original_enabled)||(h.$feature_flag_original_response=X(m.original_variant)?m.original_enabled:m.original_variant),m!=null&&(p=m.metadata)!=null&&p.original_payload&&(h.$feature_flag_original_payload=m==null||(g=m.metadata)==null?void 0:g.original_payload),this._instance.capture(`$feature_flag_called`,h)}return n}GX.warn(`getFeatureFlag for key "`+e+`" failed. Feature flags didn't load in time.`)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){return this.getFlagPayloads()[e]}getRemoteConfigPayload(e,t){var n=this._instance.config.token;this._instance.Ee({method:`POST`,url:this._instance.requestRouter.endpointFor(`api`,`/flags/?v=2&config=true`),data:{distinct_id:this._instance.get_distinct_id(),token:n},compression:this._instance.config.disable_compression?void 0:cW.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:n=>{var r=n.json?.featureFlagPayloads;t(r?.[e]||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),this._e||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(e,t);
30GX.warn(`isFeatureEnabled for key "`+e+`" failed. Feature flags didn't load in time.`)}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t){if(this._instance.persistence){this._e=!0;var n=this.getFlagVariants(),r=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(e,t,n,r,i){n===void 0&&(n={}),r===void 0&&(r={}),i===void 0&&(i={});var a=QX(e),o=a.flags,s=a.featureFlags,c=a.featureFlagPayloads;if(s){var l=e.requestId;if(_W(s)){GX.warn(`v1 of the feature flags endpoint is deprecated. Please use the latest version.`);var u={};if(s)for(var d=0;d<s.length;d++)u[s[d]]=!0;t&&t.register({[KX]:s,[gG]:u})}else{var f=s,p=c,m=o;e.errorsWhileComputingFlags&&(f=Q({},n,f),p=Q({},r,p),m=Q({},i,m)),t&&t.register(Q({[KX]:Object.keys(ZX(f)),[gG]:f||{},[JX]:p||{},[vG]:m||{}},l?{[XX]:l}:{}))}}})(e,this._instance.persistence,n,r,i),this.Pe(t)}}override(e,t){t===void 0&&(t=!1),GX.warn(`override is deprecated. Please use overrideFeatureFlags instead.`),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this._instance.persistence)return GX.uninitializedWarning(`posthog.featureFlags.overrideFeatureFlags`);if(!1===e)return this._instance.persistence.unregister(qX),this._instance.persistence.unregister(YX),void this.Pe();if(e&&typeof e==`object`&&(`flags`in e||`payloads`in e)){var t,n=e;if(this.ge=!!((t=n.suppressWarning)!=null&&t),`flags`in n){if(!1===n.flags)this._instance.persistence.unregister(qX);else if(n.flags)if(_W(n.flags)){for(var r={},i=0;i<n.flags.length;i++)r[n.flags[i]]=!0;this._instance.persistence.register({[qX]:r})}else this._instance.persistence.register({[qX]:n.flags})}`payloads`in n&&(!1===n.payloads?this._instance.persistence.unregister(YX):n.payloads&&this._instance.persistence.register({[YX]:n.payloads})),this.Pe();return}this.Pe()}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this._e){var{flags:t,flagVariants:n}=this.Re();e(t,n)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t){var n,r=(this._instance.get_property(_G)||[]).find((t=>t.flagKey===e)),i={[`$feature_enrollment/`+e]:t},a={$feature_flag:e,$feature_enrollment:t,$set:i};r&&(a.$early_access_feature_name=r.name),this._instance.capture(`$feature_enrollment_update`,a),this.setPersonPropertiesForFlags(i,!1);var o=Q({},this.getFlagVariants(),{[e]:t});(n=this._instance.persistence)==null||n.register({[KX]:Object.keys(ZX(o)),[gG]:o}),this.Pe()}getEarlyAccessFeatures(e,t,n){t===void 0&&(t=!1);var r=this._instance.get_property(_G),i=n?`&`+n.map((e=>`stage=`+e)).join(`&`):``;if(r&&!t)return e(r);this._instance.Ee({url:this._instance.requestRouter.endpointFor(`api`,`/api/early_access_features/?token=`+this._instance.config.token+i),method:`GET`,callback:t=>{var n;if(t.json){var r=t.json.earlyAccessFeatures;return(n=this._instance.persistence)==null||n.register({[_G]:r}),e(r)}}})}Re(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((e=>t[e])),flagVariants:Object.keys(t).filter((e=>t[e])).reduce(((e,n)=>(e[n]=t[n],e)),{})}}Pe(e){var{flags:t,flagVariants:n}=this.Re();this.featureFlagEventHandlers.forEach((r=>r(t,n,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this._instance.get_property(yG)||{};this._instance.register({[yG]:Q({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(yG)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this._instance.get_property(bG)||{};Object.keys(n).length!==0&&Object.keys(n).forEach((t=>{n[t]=Q({},n[t],e[t]),delete e[t]})),this._instance.register({[bG]:Q({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this._instance.get_property(bG)||{};this._instance.register({[bG]:Q({},t,{[e]:{}})})}else this._instance.unregister(bG)}reset(){this._e=!1,this.me=!1,this.be=!1,this.ye=!1,this.we=!1,this.Se=!1,this.$anon_distinct_id=void 0,this.xe(),this.ge=!1}},tZ=[`cookie`,`localstorage`,`localstorage+cookie`,`sessionstorage`,`memory`],nZ=class{constructor(e){this.S=e,this.props={},this.Te=!1,this.Me=(e=>{var t=``;return e.token&&(t=e.token.replace(/\+/g,`PL`).replace(/\//g,`SL`).replace(/=/g,`EQ`)),e.persistence_name?`ph_`+e.persistence_name:`ph_`+t+`_posthog`})(e),this.B=this.Ce(e),this.load(),e.debug&&Z.info(`Persistence loaded`,e.persistence,Q({},this.props)),this.update_config(e,e),this.save()}Ce(e){tZ.indexOf(e.persistence.toLowerCase())===-1&&(Z.critical(`Unknown persistence type `+e.persistence+`; falling back to localStorage+cookie`),e.persistence=`localStorage+cookie`);var t=e.persistence.toLowerCase();return t===`localstorage`&&PK.O()?PK:t===`localstorage+cookie`&&IK.O()?IK:t===`sessionstorage`&&BK.O()?BK:t===`memory`?RK:t===`cookie`?MK:IK.O()?IK:MK}
30properties(){var e={};return IW(this.props,(function(t,n){if(n===gG&&yW(t))for(var r=Object.keys(t),i=0;i<r.length;i++)e[`$feature/`+r[i]]=t[r[i]];else o=n,s=!1,(CW(a=NG)?s:QU&&a.indexOf===QU?a.indexOf(o)!=-1:(IW(a,(function(e){if(s||(s=e===o))return PW})),s))||(e[n]=t);var a,o,s})),e}load(){if(!this.Fe){var e=this.B.L(this.Me);e&&(this.props=LW({},e))}}save(){this.Fe||this.B.j(this.Me,this.props,this.Oe,this.Ae,this.De,this.S.debug)}remove(){this.B.N(this.Me,!1),this.B.N(this.Me,!0)}clear(){this.remove(),this.props={}}register_once(e,t,n){if(yW(e)){X(t)&&(t=`None`),this.Oe=X(n)?this.Le:n;var r=!1;if(IW(e,((e,n)=>{this.props.hasOwnProperty(n)&&this.props[n]!==t||(this.props[n]=e,r=!0)})),r)return this.save(),!0}return!1}register(e,t){if(yW(e)){this.Oe=X(t)?this.Le:t;var n=!1;if(IW(e,((t,r)=>{e.hasOwnProperty(r)&&this.props[r]!==t&&(this.props[r]=t,n=!0)})),n)return this.save(),!0}return!1}unregister(e){e in this.props&&(delete this.props[e],this.save())}update_campaign_params(){if(!this.Te){var e=FX(this.S.custom_campaign_params,this.S.mask_personal_data_properties,this.S.custom_personal_data_properties);bW(HW(e))||this.register(e),this.Te=!0}}update_search_keyword(){var e;this.register((e=J?.referrer)?LX(e):{})}update_referrer_info(){this.register_once({$referrer:zX(),$referring_domain:J!=null&&J.referrer&&uK(J.referrer)?.host||`$direct`},void 0)}set_initial_person_info(){this.props[DG]||this.props[OG]||this.register_once({[kG]:BX(this.S.mask_personal_data_properties,this.S.custom_personal_data_properties)},void 0)}get_initial_props(){var e={};IW([OG,DG],(t=>{var n=this.props[t];n&&IW(n,(function(t,n){e[`$initial_`+fW(n)]=t}))}));var t,n,r=this.props[kG];return r&&LW(e,(t=VX(r),n={},IW(t,(function(e,t){n[`$initial_`+fW(t)]=e})),n)),e}safe_merge(e){return IW(this.props,(function(t,n){n in e||(e[n]=t)})),e}update_config(e,t){if(this.Le=this.Oe=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie),e.persistence!==t.persistence){var n=this.Ce(e),r=this.props;this.clear(),this.B=n,this.props=r,this.save()}}set_disabled(e){this.Fe=e,this.Fe?this.remove():this.save()}set_cross_subdomain(e){e!==this.Ae&&(this.Ae=e,this.remove(),this.save())}set_secure(e){e!==this.De&&(this.De=e,this.remove(),this.save())}set_event_timer(e,t){var n=this.props[XW]||{};n[e]=t,this.props[XW]=n,this.save()}remove_event_timer(e){var t=(this.props[XW]||{})[e];return X(t)||(delete this.props[XW][e],this.save()),t}get_property(e){return this.props[e]}set_property(e,t){this.props[e]=t,this.save()}},rZ=class{constructor(){this.je={},this.je={}}on(e,t){return this.je[e]||(this.je[e]=[]),this.je[e].push(t),()=>{this.je[e]=this.je[e].filter((e=>e!==t))}}emit(e,t){for(var n of this.je[e]||[])n(t);for(var r of this.je[`*`]||[])r(e,t)}},iZ=class e{constructor(e){this.Ne=new rZ,this.ze=(e,t)=>this.Ue(e,t)&&this.qe(e,t)&&this.Be(e,t),this.Ue=(e,t)=>t==null||!t.event||e?.event===t?.event,this._instance=e,this.He=new Set,this.We=new Set}init(){if(!X(this._instance?.Ge)){var e;(e=this._instance)==null||e.Ge(((e,t)=>{this.on(e,t)}))}}register(e){var t;if(!X(this._instance?.Ge)&&(e.forEach((e=>{var t,n;(t=this.We)==null||t.add(e),(n=e.steps)==null||n.forEach((e=>{var t;(t=this.He)==null||t.add(e?.event||``)}))})),(t=this._instance)!=null&&t.autocapture)){var n,r=new Set;e.forEach((e=>{var t;(t=e.steps)==null||t.forEach((e=>{e!=null&&e.selector&&r.add(e?.selector)}))})),(n=this._instance)==null||n.autocapture.setElementSelectors(r)}}on(e,t){t!=null&&e.length!=0&&(this.He.has(e)||this.He.has(t?.event))&&this.We&&this.We?.size>0&&this.We.forEach((e=>{this.Je(t,e)&&this.Ne.emit(`actionCaptured`,e.name)}))}Ve(e){this.onAction(`actionCaptured`,(t=>e(t)))}Je(e,t){if(t?.steps==null)return!1;for(var n of t.steps)if(this.ze(e,n))return!0;return!1}onAction(e,t){return this.Ne.on(e,t)}qe(t,n){if(n!=null&&n.url){var r,i=t==null||(r=t.properties)==null?void 0:r.$current_url;if(!i||typeof i!=`string`||!e.Ke(i,n?.url,n?.url_matching||`contains`))return!1}return!0}static Ke(t,n,r){switch(r){case`regex`:return!!q&&OY(t,n);case`exact`:return n===t;case`contains`:return OY(t,e.Ye(n).replace(/_/g,`.`).replace(/%/g,`.*`));default:return!1}}static Ye(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}Be(t,n){if((n!=null&&n.href||n!=null&&n.tag_name||n!=null&&n.text)&&!this.Xe(t).some((t=>!(n!=null&&n.href&&!e.Ke(t.href||``,n?.href,n?.href_matching||`exact`))&&(n==null||!n.tag_name||t.tag_name===n?.tag_name)&&!(n!=null&&n.text&&!e.Ke(t.text||``,n?.text,n?.text_matching||`exact`)&&!e.Ke(t.$el_text||``,n?.text,n?.text_matching||`exact`)))))return!1;if(n!=null&&n.selector){var r,i=t==null||(r=t.properties)==null?void 0:r.$element_selectors;if(!i||!i.includes(n?.selector))return!1}return!0}Xe(e){return e?.properties.$elements==null?[]:e?.properties.$elements}},aZ=AW(`[Surveys]`),oZ=`seenSurvey_`,sZ=(e,t)=>{var n=`$survey_`+t+`/`+e.id;return e.current_iteration&&e.current_iteration>0&&(n=`$survey_`+t+`/`+e.id+`/`+e.current_iteration),n},cZ=class{constructor(e){this._instance=e,this.Qe=new Map,this.Ze=new Map}register(e){X(this._instance?.Ge)||(this.tr(e),this.ir(e))}ir(e){var t=e.filter((e=>{var t;return e.conditions?.actions&&((t=e.conditions)==null||(t=t.actions)==null||(t=t.values)==null?void 0:t.length)>0}));t.length!==0&&(this.er??(this.er=new iZ(this._instance),this.er.init(),this.er.Ve((e=>{this.onAction(e)}))),t.forEach((e=>{var t,n,r,i,a;e.conditions&&(t=e.conditions)!=null&&t.actions&&(n=e.conditions)!=null&&(n=n.actions)!=null&&n.values&&((r=e.conditions)==null||(r=r.actions)==null||(r=r.values)==null?void 0:r.length)>0&&((i=this.er)==null||i.register(e.conditions.actions.values),(a=e.conditions)==null||(a=a.actions)==null||(a=a.values)==null||a.forEach((t=>{if(t&&t.name){var n=this.Ze.get(t.name);n&&n.push(e.id),this.Ze.set(t.name,n||[e.id])}})))})))}tr(e){var t;e.filter((e=>{var t;return e.conditions?.events&&((t=e.conditions)==null||(t=t.events)==null||(t=t.values)==null?void 0:t.length)>0})).length!==0&&((t=this._instance)==null||t.Ge(((e,t)=>{this.onEvent(e,t)})),e.forEach((e=>{var t;(t=e.conditions)==null||(t=t.events)==null||(t=t.values)==null||t.forEach((t=>{if(t&&t.name){var n=this.Qe.get(t.name);n&&n.push(e.id),this.Qe.set(t.name,n||[e.id])}}))})))}onEvent(e,t){var n,r=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[SG])||[];if(e===`survey shown`&&t&&r.length>0){var i;aZ.info(`survey event matched, removing survey from activated surveys`,{event:e,eventPayload:t,existingActivatedSurveys:r});var a=t==null||(i=t.properties)==null?void 0:i.$survey_id;if(a){var o=r.indexOf(a);o>=0&&(r.splice(o,1),this.rr(r))}}else this.Qe.has(e)&&(aZ.info(`survey event matched, updating activated surveys`,{event:e,surveys:this.Qe.get(e)}),this.rr(r.concat(this.Qe.get(e)||[])))}onAction(e){var t,n=((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[SG])||[];this.Ze.has(e)&&this.rr(n.concat(this.Ze.get(e)||[]))}rr(e){var t;(t=this._instance)==null||(t=t.persistence)==null||t.register({[SG]:[...new Set(e)]})}getSurveys(){var e;return((e=this._instance)==null||(e=e.persistence)==null?void 0:e.props[SG])||[]}getEventToSurveys(){return this.Qe}sr(){return this.er}},lZ=class{constructor(e){this.nr=void 0,this.ar=null,this.lr=!1,this.ur=!1,this.hr=[],this._instance=e,this._surveyEventReceiver=null}onRemoteConfig(e){var t=e.surveys;if(wW(t))return aZ.warn(`Flags not loaded yet. Not loading surveys.`);var n=_W(t);this.nr=n?t.length>0:t,aZ.info(`flags response received, isSurveysEnabled: `+this.nr),this.loadIfEnabled()}reset(){localStorage.removeItem(`lastSeenSurveyDate`);for(var e=[],t=0;t<localStorage.length;t++){var n=localStorage.key(t);(n!=null&&n.startsWith(oZ)||n!=null&&n.startsWith(`inProgressSurvey_`))&&e.push(n)}e.forEach((e=>localStorage.removeItem(e)))}loadIfEnabled(){if(!this.ar)if(this.ur)aZ.info(`Already initializing surveys, skipping...`);else if(this._instance.config.disable_surveys)aZ.info(`Disabled. Not loading surveys.`);else{var e=Y?.__PosthogExtensions__;if(e){var t=this.nr;if(!X(t)){this.ur=!0;try{var n=e.generateSurveys;if(n)return void this.dr(n,t);var r=e.loadExternalDependency;if(!r)return void this.vr(`PostHog loadExternalDependency extension not found.`);r(this._instance,`surveys`,(n=>
30{n||!e.generateSurveys?this.vr(`Could not load surveys script`,n):this.dr(e.generateSurveys,t)}))}catch(e){throw this.vr(`Error initializing surveys`,e),e}finally{this.ur=!1}}}else aZ.error(`PostHog Extensions not found.`)}}dr(e,t){this.ar=e(this._instance,t),this._surveyEventReceiver=new cZ(this._instance),aZ.info(`Surveys loaded successfully`),this.cr({isLoaded:!0})}vr(e,t){aZ.error(e,t),this.cr({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.hr.push(e),this.ar&&this.cr({isLoaded:!0}),()=>{this.hr=this.hr.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this._instance.config.disable_surveys)return aZ.info(`Disabled. Not loading surveys.`),e([]);var n=this._instance.get_property(xG);if(n&&!t)return e(n,{isLoaded:!0});if(this.lr)return e([],{isLoaded:!1,error:`Surveys are already being loaded`});try{this.lr=!0,this._instance.Ee({url:this._instance.requestRouter.endpointFor(`api`,`/api/surveys/?token=`+this._instance.config.token),method:`GET`,timeout:this._instance.config.surveys_request_timeout_ms,callback:t=>{var n;this.lr=!1;var r=t.statusCode;if(r!==200||!t.json){var i=`Surveys API could not be loaded, status: `+r;return aZ.error(i),e([],{isLoaded:!1,error:i})}var a,o=t.json.surveys||[],s=o.filter((e=>function(e){return!(!e.start_date||e.end_date)}(e)&&(function(e){var t;return!((t=e.conditions)==null||(t=t.events)==null||(t=t.values)==null||!t.length)}(e)||function(e){var t;return!((t=e.conditions)==null||(t=t.actions)==null||(t=t.values)==null||!t.length)}(e))));return s.length>0&&((a=this._surveyEventReceiver)==null||a.register(s)),(n=this._instance.persistence)==null||n.register({[xG]:o}),e(o,{isLoaded:!0})}})}catch(e){throw this.lr=!1,e}}cr(e){for(var t of this.hr)try{e.isLoaded?this.getSurveys(t):t([],e)}catch(e){aZ.error(`Error in survey callback`,e)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!wW(this.ar))return this.ar.getActiveMatchingSurveys(e,t);aZ.warn(`init was not called`)}pr(e){var t=null;return this.getSurveys((n=>{t=n.find((t=>t.id===e))??null})),t}gr(e){if(wW(this.ar))return{eligible:!1,reason:`SDK is not enabled or survey functionality is not yet loaded`};var t=typeof e==`string`?this.pr(e):e;return t?this.ar.checkSurveyEligibility(t):{eligible:!1,reason:`Survey not found`}}canRenderSurvey(e){if(wW(this.ar))return aZ.warn(`init was not called`),{visible:!1,disabledReason:`SDK is not enabled or survey functionality is not yet loaded`};var t=this.gr(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return wW(this.ar)?(aZ.warn(`init was not called`),Promise.resolve({visible:!1,disabledReason:`SDK is not enabled or survey functionality is not yet loaded`})):new Promise((n=>{this.getSurveys((t=>{var r=t.find((t=>t.id===e))??null;if(r){var i=this.gr(r);n({visible:i.eligible,disabledReason:i.reason})}else n({visible:!1,disabledReason:`Survey not found`})}),t)}))}renderSurvey(e,t){if(wW(this.ar))aZ.warn(`init was not called`);else{var n=this.pr(e),r=J?.querySelector(t);n?r?this.ar.renderSurvey(n,r):aZ.warn(`Survey element not found`):aZ.warn(`Survey not found`)}}};(function(e){return e.Button=`button`,e.Tab=`tab`,e.Selector=`selector`,e})({}),function(e){return e.TopLeft=`top_left`,e.TopRight=`top_right`,e.TopCenter=`top_center`,e.MiddleLeft=`middle_left`,e.MiddleRight=`middle_right`,e.MiddleCenter=`middle_center`,e.Left=`left`,e.Center=`center`,e.Right=`right`,e.NextToTrigger=`next_to_trigger`,e}({}),function(e){return e.Popover=`popover`,e.API=`api`,e.Widget=`widget`,e}({}),function(e){return e.Open=`open`,e.MultipleChoice=`multiple_choice`,e.SingleChoice=`single_choice`,e.Rating=`rating`,e.Link=`link`,e}({}),function(e){return e.NextQuestion=`next_question`,e.End=`end`,e.ResponseBased=`response_based`,e.SpecificQuestion=`specific_question`,e}({}),function(e){return e.Once=`once`,e.Recurring=`recurring`,e.Always=`always`,e}({});var uZ=function(e){return e.SHOWN=`survey shown`,e.DISMISSED=`survey dismissed`,e.SENT=`survey sent`,e}({}),dZ=function(e){return e.SURVEY_ID=`$survey_id`,e.SURVEY_NAME=`$survey_name`,e.SURVEY_RESPONSE=`$survey_response`,e.SURVEY_ITERATION=`$survey_iteration`,e.SURVEY_ITERATION_
30START_DATE=`$survey_iteration_start_date`,e.SURVEY_PARTIALLY_COMPLETED=`$survey_partially_completed`,e.SURVEY_SUBMISSION_ID=`$survey_submission_id`,e.SURVEY_QUESTIONS=`$survey_questions`,e.SURVEY_COMPLETED=`$survey_completed`,e}({}),fZ=AW(`[RateLimiter]`),pZ=class{constructor(e){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach((e=>{fZ.info((e||`events`)+` is quota limited.`),this.serverLimits[e]=new Date().getTime()+6e4}))}catch(e){fZ.warn(`could not rate limit - continuing. Error: "`+e?.message+`"`,{text:t});return}},this.instance=e,this.captureEventsPerSecond=e.config.rate_limiting?.events_per_second||10,this.captureEventsBurstLimit=Math.max(e.config.rate_limiting?.events_burst_limit||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}clientRateLimitContext(e){var t;e===void 0&&(e=!1);var n=new Date().getTime(),r=this.instance.persistence?.get_property(EG)??{tokens:this.captureEventsBurstLimit,last:n};r.tokens+=(n-r.last)/1e3*this.captureEventsPerSecond,r.last=n,r.tokens>this.captureEventsBurstLimit&&(r.tokens=this.captureEventsBurstLimit);var i=r.tokens<1;return i||e||(r.tokens=Math.max(0,r.tokens-1)),!i||this.lastEventRateLimited||e||this.instance.capture(`$$client_ingestion_warning`,{$$client_ingestion_warning_message:`posthog-js client rate limited. Config is set to `+this.captureEventsPerSecond+` events per second and `+this.captureEventsBurstLimit+` events burst limit.`},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=i,(t=this.instance.persistence)==null||t.set_property(EG,r),{isRateLimited:i,remainingTokens:r.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||`events`]||!1;return!1!==t&&new Date().getTime()<t}},mZ=AW(`[RemoteConfig]`),hZ=class{constructor(e){this._instance=e}get remoteConfig(){var e;return(e=Y._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.config}_r(e){var t,n;(t=Y.__PosthogExtensions__)!=null&&t.loadExternalDependency?(n=Y.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,`remote-config`,(()=>e(this.remoteConfig))):(mZ.error(`PostHog Extensions not found. Cannot load remote config.`),e())}mr(e){this._instance.Ee({method:`GET`,url:this._instance.requestRouter.endpointFor(`assets`,`/array/`+this._instance.config.token+`/config`),callback:t=>{e(t.json)}})}load(){try{if(this.remoteConfig)return mZ.info(`Using preloaded remote config`,this.remoteConfig),void this.Ie(this.remoteConfig);if(this._instance.I())return void mZ.warn(`Remote config is disabled. Falling back to local config.`);this._r((e=>{if(!e)return mZ.info(`No config found after loading remote JS config. Falling back to JSON.`),void this.mr((e=>{this.Ie(e)}));this.Ie(e)}))}catch(e){mZ.error(`Error loading remote config`,e)}}Ie(e){e?this._instance.config.__preview_remote_config?(this._instance.Ie(e),!1!==e.hasFeatureFlags&&this._instance.featureFlags.ensureFlagsLoaded()):mZ.info(`__preview_remote_config is disabled. Logging config instead`,e):mZ.error(`Failed to fetch remote config from PostHog.`)}},gZ=3e3,_Z=class{constructor(e,t){this.br=!0,this.yr=[],this.wr=qK(t?.flush_interval_ms||gZ,250,5e3,`flush interval`,gZ),this.Sr=e}enqueue(e){this.yr.push(e),this.$r||this.kr()}unload(){this.Er();var e=this.yr.length>0?this.Ir():{},t=Object.values(e);[...t.filter((e=>e.url.indexOf(`/e`)===0)),...t.filter((e=>e.url.indexOf(`/e`)!==0))].map((e=>{this.Sr(Q({},e,{transport:`sendBeacon`}))}))}enable(){this.br=!1,this.kr()}kr(){var e=this;this.br||(this.$r=setTimeout((()=>{if(this.Er(),this.yr.length>0){var t=this.Ir(),n=function(){var n=t[r],i=new Date().getTime();n.data&&_W(n.data)&&IW(n.data,(e=>{e.offset=Math.abs(e.timestamp-i),delete e.timestamp})),e.Sr(n)};for(var r in t)n()}}),this.wr))}Er(){clearTimeout(this.$r),this.$r=void 0}Ir(){var e={};return IW(this.yr,(t=>{var n,r=t,i=(r?r.batchKey:null)||r.url;X(e[i])&&(e[i]=Q({},r,{data:[]})),(n=e[i].data)==null||n.push(r.data)})),this.yr=[],e}},vZ=[`retriesPerformedSoFar`],yZ=class{constructor(e){this.Pr=!1,this.Rr=3e3,this.yr=[],this._instance=e,this.yr=[],this.Tr=!0,!X(q)&&`onLine`in q.navigator&&(this.Tr=q.navigator.onLine,qW(q,`online`,(()=>{this.Tr=!0,this.se()})),qW(q,`offline`,(()=>{this.Tr=!1})))}get length(){return this.yr.length}retriableRequest(e){var{retriesPerformedSoFar:t}=e,n=NW(e,vZ);TW(t)&&t>0&&(n.url=wY(n.url,{retry_count:t})),this._instance.Ee(Q({},n,{callback:e=>{e.statusCode!==200&&(e.statusCode<400||e.statusCode>=500)&&(t??0)<10?this.Mr(Q({retriesPerformedSoFar:t},n)):n.callback==null||n.callback(e)}}))}Mr(e){var t=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=t+1;var n=function(e){var t=3e3*2**e,n=t/2,r=Math.min(18e5,t),i=(Math.random()-.5)*(r-n);return Math.ceil(r+i)}(t),r=Date.now()+n;this.yr.push({retryAt:r,requestOptions:e});var i=`Enqueued failed request for retry in `+n;navigator.onLine||(i+=` (Browser is offline)`),Z.warn(i),this.Pr||(this.Pr=!0,this.Cr())}Cr(){this.Fr&&clearTimeout(this.Fr),this.Fr=setTimeout((()=>{this.Tr&&this.yr.length>0&&this.se(),this.Cr()}),this.Rr)}se(){var e=Date.now(),t=[],n=this.yr.filter((n=>n.retryAt<e||(t.push(n),!1)));if(this.yr=t,n.length>0)for(var{requestOptions:r}of n)this.retriableRequest(r)}unload(){for(var{requestOptions:e}of(this.Fr&&(clearTimeout(this.Fr),this.Fr=void 0),this.yr))try{this._instance.Ee(Q({},e,{transport:`sendBeacon`}))}catch(e){Z.error(e)}this.yr=[]}},bZ=class{constructor(e){this.Or=()=>{this.Ar||(this.Ar={});var e=this.scrollElement(),t=this.scrollY(),n=e?Math.max(0,e.scrollHeight-e.clientHeight):0,r=t+(e?.clientHeight||0),i=e?.scrollHeight||0;this.Ar.lastScrollY=Math.ceil(t),this.Ar.maxScrollY=Math.max(t,this.Ar.maxScrollY??0),this.Ar.maxScrollHeight=Math.max(n,this.Ar.maxScrollHeight??0),this.Ar.last
30ContentY=r,this.Ar.maxContentY=Math.max(r,this.Ar.maxContentY??0),this.Ar.maxContentHeight=Math.max(i,this.Ar.maxContentHeight??0)},this._instance=e}getContext(){return this.Ar}resetContext(){var e=this.Ar;return setTimeout(this.Or,0),e}startMeasuringScrollPosition(){qW(q,`scroll`,this.Or,{capture:!0}),qW(q,`scrollend`,this.Or,{capture:!0}),qW(q,`resize`,this.Or)}scrollElement(){if(!this._instance.config.scroll_root_selector)return q?.document.documentElement;for(var e of _W(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector]){var t=q?.document.querySelector(e);if(t)return t}}scrollY(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollTop||0}return q&&(q.scrollY||q.pageYOffset||q.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollLeft||0}return q&&(q.scrollX||q.pageXOffset||q.document.documentElement.scrollLeft)||0}},xZ=e=>BX(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties),SZ=class{constructor(e,t,n,r){this.Dr=e=>{var t=this.Lr();if(!t||t.sessionId!==e){var n={sessionId:e,props:this.jr(this._instance)};this.Nr.register({[TG]:n})}},this._instance=e,this.zr=t,this.Nr=n,this.jr=r||xZ,this.zr.onSessionId(this.Dr)}Lr(){return this.Nr.props[TG]}getSetOnceProps(){var e=this.Lr()?.props;return e?`r`in e?VX(e):{$referring_domain:e.referringDomain,$pathname:e.initialPathName,utm_source:e.utm_source,utm_campaign:e.utm_campaign,utm_medium:e.utm_medium,utm_content:e.utm_content,utm_term:e.utm_term}:{}}getSessionProps(){var e={};return IW(HW(this.getSetOnceProps()),((t,n)=>{n===`$current_url`&&(n=`url`),e[`$session_entry_`+fW(n)]=t})),e}},CZ=AW(`[SessionId]`),wZ=class{constructor(e,t,n){var r;if(this.Ur=[],!e.persistence)throw Error(`SessionIdManager requires a PostHogPersistence instance`);if(e.config.__preview_experimental_cookieless_mode)throw Error(`SessionIdManager cannot be used with __preview_experimental_cookieless_mode`);this.S=e.config,this.Nr=e.persistence,this.fi=void 0,this.Ct=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.qr=t||DK,this.Br=n||DK;var i=this.S.persistence_name||this.S.token,a=this.S.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*qK(a,60,36e3,`session_idle_timeout_seconds`,1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.Hr(),this.Wr=`ph_`+i+`_window_id`,this.Gr=`ph_`+i+`_primary_window_exists`,this.Jr()){var o=BK.L(this.Wr),s=BK.L(this.Gr);o&&!s?this.fi=o:BK.N(this.Wr),BK.j(this.Gr,!0)}if((r=this.S.bootstrap)!=null&&r.sessionID)try{var c=(e=>{var t=e.replace(/-/g,``);if(t.length!==32)throw Error(`Not a valid UUID`);if(t[12]!==`7`)throw Error(`Not a UUIDv7`);return parseInt(t.substring(0,12),16)})(this.S.bootstrap.sessionID);this.Vr(this.S.bootstrap.sessionID,new Date().getTime(),c)}catch(e){CZ.error(`Invalid sessionID in bootstrap`,e)}this.Kr()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return X(this.Ur)&&(this.Ur=[]),this.Ur.push(e),this.Ct&&e(this.Ct,this.fi),()=>{this.Ur=this.Ur.filter((t=>t!==e))}}Jr(){return this.S.persistence!==`memory`&&!this.Nr.Fe&&BK.O()}Yr(e){e!==this.fi&&(this.fi=e,this.Jr()&&BK.j(this.Wr,e))}Xr(){return this.fi?this.fi:this.Jr()?BK.L(this.Wr):null}Vr(e,t,n){e===this.Ct&&t===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=t,this.Ct=e,this.Nr.register({[fG]:[t,e,n]}))}Qr(){if(this.Ct&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this.Ct,this._sessionStartTimestamp];var e=this.Nr.props[fG];return _W(e)&&e.length===2&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.Vr(null,null,null)}Kr(){qW(q,`beforeunload`,(()=>{this.Jr()&&BK.N(this.Gr)}),{capture:!1})}checkAndGetSessionAndWindowId(e,t){if(e===void 0&&(e=!1),t===void 0&&(t=null),this.S.__preview_experimental_cookieless_mode)throw Error(`checkAndGetSessionAndWindowId should not be called in __preview_experimental_cookieless_mode`);var n=t||new Date().getTime(),[r,i,a]=this.Qr(),o=this.Xr(),s=TW(a)&&a>0&&Math.abs(n-a)>864e5,c=!1,l=!i,u=!e&&Math.abs(n-r)>this.sessionTimeoutMs;l||u||s?(i=this.qr(),o=this.Br(),CZ.info(`new session ID generated`,{sessionId:i,windowId:o,changeReason:{noSessionId:l,activityTimeout:u,sessionPastMaximumLength:s}}),a=n,c=!0):o||(o=this.Br(),c=!0);var d=r===0||!e||s?n:r,f=a===0?new Date().getTime():a;return this.Yr(o),this.Vr(i,d,f),e||this.Hr(),c&&this.Ur.forEach((e=>e(i,o,c?{noSessionId:l,activityTimeout:u,sessionPastMaximumLength:s}:void 0))),{sessionId:i,windowId:o,sessionStartTimestamp:f,changeReason:c?{noSessionId:l,activityTimeout:u,sessionPastMaximumLength:s}:void 0,lastActivityTimestamp:r}}Hr(){clearTimeout(this.Zr),this.Zr=setTimeout((()=>{this.resetSessionId()}),1.1*this.sessionTimeoutMs)}},TZ=[`$set_once`,`$set`],EZ=AW(`[SiteApps]`),DZ=class{constructor(e){this._instance=e,this.ts=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}es(e,t){if(t){var n=this.globalsForEvent(t);this.ts.push(n),this.ts.length>1e3&&(this.ts=this.ts.slice(10))}}get siteAppLoaders(){var e;return(e=Y._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}
30init(){if(this.isEnabled){var e=this._instance.Ge(this.es.bind(this));this.rs=()=>{e(),this.ts=[],this.rs=void 0}}}globalsForEvent(e){if(!e)throw Error(`Event payload is required`);var t={},n=this._instance.get_property(`$groups`)||[],r=this._instance.get_property(`$stored_group_properties`)||{};for(var[i,a]of Object.entries(r))t[i]={id:n[i],type:i,properties:a};var{$set_once:o,$set:s}=e;return{event:Q({},NW(e,TZ),{properties:Q({},e.properties,s?{$set:Q({},e.properties?.$set??{},s)}:{},o?{$set_once:Q({},e.properties?.$set_once??{},o)}:{}),elements_chain:e.properties?.$elements_chain??``,distinct_id:e.properties?.distinct_id}),person:{properties:this._instance.get_property(`$stored_person_properties`)},groups:t}}setupSiteApp(e){var t=this.apps[e.id],n=()=>{var n;(!t.errored&&this.ts.length&&(EZ.info(`Processing `+this.ts.length+` events for site app with id `+e.id),this.ts.forEach((e=>t.processEvent==null?void 0:t.processEvent(e))),t.processedBuffer=!0),Object.values(this.apps).every((e=>e.processedBuffer||e.errored)))&&((n=this.rs)==null||n.call(this))},r=!1,i=i=>{t.errored=!i,t.loaded=!0,EZ.info(`Site app with id `+e.id+` `+(i?`loaded`:`errored`)),r&&n()};try{var{processEvent:a}=e.init({posthog:this._instance,callback:e=>{i(e)}});a&&(t.processEvent=a),r=!0}catch(t){EZ.error(`Error while initializing PostHog app with config id `+e.id,t),i(!1)}if(r&&t.loaded)try{n()}catch(n){EZ.error(`Error while processing buffered events PostHog app with config id `+e.id,n),t.errored=!0}}ss(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var n of e)this.setupSiteApp(n)}ns(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var n of Object.values(this.apps))try{n.processEvent==null||n.processEvent(t)}catch(t){EZ.error(`Error while processing event `+e.event+` for site app `+n.id,t)}}}onRemoteConfig(e){var t,n,r,i=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.ss(),void this._instance.on(`eventCaptured`,(e=>this.ns(e)))):void EZ.error(`PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.`);if((n=this.rs)==null||n.call(this),(r=e.siteApps)!=null&&r.length)if(this.isEnabled){var a=function(e){var t;Y[`__$$ph_site_app_`+e]=i._instance,(t=Y.__PosthogExtensions__)==null||t.loadSiteApp==null||t.loadSiteApp(i._instance,s,(t=>{if(t)return EZ.error(`Error while initializing PostHog app with config id `+e,t)}))};for(var{id:o,url:s}of e.siteApps)a(o)}else EZ.error(`PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.`)}},OZ=`amazonbot,amazonproductbot,app.hypefactors.com,applebot,archive.org_bot,awariobot,backlinksextendedbot,baiduspider,bingbot,bingpreview,chrome-lighthouse,dataforseobot,deepscan,duckduckbot,facebookexternal,facebookcatalog,http://yandex.com/bots,hubspot,ia_archiver,leikibot,linkedinbot,meta-externalagent,mj12bot,msnbot,nessus,petalbot,pinterest,prerender,rogerbot,screaming frog,sebot-wa,sitebulb,slackbot,slurp,trendictionbot,turnitin,twitterbot,vercelbot,yahoo! slurp,yandexbot,zoombot,bot.htm,bot.php,(bot;,bot/,crawler,ahrefsbot,ahrefssiteaudit,semrushbot,siteauditbot,splitsignalbot,gptbot,oai-searchbot,chatgpt-user,perplexitybot,better uptime bot,sentryuptimebot,uptimerobot,headlesschrome,cypress,google-hoteladsverifier,adsbot-google,apis-google,duplexweb-google,feedfetcher-google,google favicon,google web preview,google-read-aloud,googlebot,googleother,google-cloudvertexbot,googleweblight,mediapartners-google,storebot-google,google-inspectiontool,bytespider`.split(`,`),kZ=function(e,t){if(!e)return!1;var n=e.toLowerCase();return OZ.concat(t||[]).some((e=>{var t=e.toLowerCase();return n.indexOf(t)!==-1}))},AZ=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&kZ(n,t))return!0;try{var r=e?.userAgentData;if(r!=null&&r.brands&&r.brands.some((e=>kZ(e?.brand,t))))return!0}catch{}return!!e.webdriver},jZ=function(e){return e.US=`us`,e.EU=`eu`,e.CUSTOM=`custom`,e}({}),MZ=`i.posthog.com`,NZ=class{constructor(e){this.os={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,``);return e===`https://app.posthog.com`?`https://us.i.posthog.com`:e}get uiHost(){var e=this.instance.config.ui_host?.replace(/\/$/,``);return e||(e=this.apiHost.replace(`.`+MZ,`.posthog.com`)),e===`https://app.posthog.com`?`https://us.posthog.com`:e}get region(){return this.os[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.os[this.apiHost]=jZ.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.os[this.apiHost]=jZ.EU:this.os[this.apiHost]=jZ.CUSTOM),this.os[this.apiHost]}endpointFor(e,t){if(t===void 0&&(t=``),t&&(t=t[0]===`/`?t:`/`+t),e===`ui`)return this.uiHost+t;if(this.region===jZ.CUSTOM)return this.apiHost+t;var n=MZ+t;switch(e){case`assets`:return`https://`+this.region+`-assets.`+n;case`api`:return`https://`+this.region+`.`+n}}},PZ={icontains:(e,t)=>!!q&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!q&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!q&&OY(t.href,e),not_regex:(e,t)=>!!q&&!OY(t.href,e),exact:(e,t)=>
30t.href===e,is_not:(e,t)=>t.href!==e},FZ=class e{constructor(t){var n=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(t){t===void 0&&(t=!1),n.getWebExperiments((t=>{e.ls(`retrieved web experiments from the server`),n.us=new Map,t.forEach((t=>{if(t.feature_flag_key){var r;n.us&&(e.ls(`setting flag key `,t.feature_flag_key,` to web experiment `,t),(r=n.us)==null||r.set(t.feature_flag_key,t));var i=n._instance.getFeatureFlag(t.feature_flag_key);xW(i)&&t.variants[i]&&n.hs(t.name,i,t.variants[i].transforms)}else if(t.variants)for(var a in t.variants){var o=t.variants[a];e.ds(o)&&n.hs(t.name,a,o.transforms)}}))}),t)},this._instance=t,this._instance.onFeatureFlags((e=>{this.onFeatureFlags(e)}))}onFeatureFlags(t){if(this._is_bot())e.ls(`Refusing to render web experiment since the viewer is a likely bot`);else if(!this._instance.config.disable_web_experiments){if(wW(this.us))return this.us=new Map,this.loadIfEnabled(),void this.previewWebExperiment();e.ls(`applying feature flags`,t),t.forEach((e=>{var t;if(this.us&&(t=this.us)!=null&&t.has(e)){var n=this._instance.getFeatureFlag(e),r=this.us?.get(e);n&&r!=null&&r.variants[n]&&this.hs(r.name,n,r.variants[n].transforms)}}))}}previewWebExperiment(){var t=e.getWindowLocation();if(t!=null&&t.search){var n=fK(t?.search,`__experiment_id`),r=fK(t?.search,`__experiment_variant`);n&&r&&(e.ls(`previewing web experiments `+n+` && `+r),this.getWebExperiments((e=>{this.vs(parseInt(n),r,e)}),!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,t,n){if(this._instance.config.disable_web_experiments&&!n)return e([]);var r=this._instance.get_property(`$web_experiments`);if(r&&!t)return e(r);this._instance.Ee({url:this._instance.requestRouter.endpointFor(`api`,`/api/web_experiments/?token=`+this._instance.config.token),method:`GET`,callback:t=>t.statusCode!==200||!t.json?e([]):e(t.json.experiments||[])})}vs(t,n,r){var i=r.filter((e=>e.id===t));i&&i.length>0&&(e.ls(`Previewing web experiment [`+i[0].name+`] with variant [`+n+`]`),this.hs(i[0].name,n,i[0].variants[n].transforms))}static ds(t){return!wW(t.conditions)&&e.cs(t)&&e.fs(t)}static cs(t){if(wW(t.conditions)||wW(t.conditions?.url))return!0;var n,r=e.getWindowLocation();return!!r&&((n=t.conditions)==null||!n.url||PZ[t.conditions?.urlMatchType??`icontains`](t.conditions.url,r))}
30static getWindowLocation(){return q?.location}static fs(e){if(wW(e.conditions)||wW(e.conditions?.utm))return!0;var t=FX();if(t.utm_source){var n,r,i,a,o,s,c,l,u=(n=e.conditions)==null||(n=n.utm)==null||!n.utm_campaign||((r=e.conditions)==null||(r=r.utm)==null?void 0:r.utm_campaign)==t.utm_campaign,d=(i=e.conditions)==null||(i=i.utm)==null||!i.utm_source||((a=e.conditions)==null||(a=a.utm)==null?void 0:a.utm_source)==t.utm_source,f=(o=e.conditions)==null||(o=o.utm)==null||!o.utm_medium||((s=e.conditions)==null||(s=s.utm)==null?void 0:s.utm_medium)==t.utm_medium,p=(c=e.conditions)==null||(c=c.utm)==null||!c.utm_term||((l=e.conditions)==null||(l=l.utm)==null?void 0:l.utm_term)==t.utm_term;return u&&f&&p&&d}return!1}static ls(e){var t=[...arguments].slice(1);Z.info(`[WebExperiments] `+e,t)}hs(t,n,r){this._is_bot()?e.ls(`Refusing to render web experiment since the viewer is a likely bot`):n===`control`?e.ls(`Control variants leave the page unmodified.`):r.forEach((r=>{r.selector&&(e.ls(`applying transform of variant `+n+` for experiment `+t+` `,r),(document?.querySelectorAll(r.selector))?.forEach((e=>{var t=e;r.html&&(t.innerHTML=r.html),r.css&&t.setAttribute(`style`,r.css)})))}))}_is_bot(){return $U&&this._instance?AZ($U,this._instance.config.custom_blocked_useragents):void 0}},IZ=AW(`[PostHog ExternalIntegrations]`),LZ={intercom:`intercom-integration`,crispChat:`crisp-chat-integration`},RZ=class{constructor(e){this._instance=e}J(e,t){var n;(n=Y.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,e,(e=>{if(e)return IZ.error(`failed to load script`,e);t()}))}startIfEnabledOrStop(){var e=this,t=function(t){var n,i,a;(!r||(n=Y.__PosthogExtensions__)!=null&&(n=n.integrations)!=null&&n[t]||e.J(LZ[t],(()=>{var n;(n=Y.__PosthogExtensions__)==null||(n=n.integrations)==null||(n=n[t])==null||n.start(e._instance)})),!r&&(i=Y.__PosthogExtensions__)!=null&&(i=i.integrations)!=null&&i[t])&&((a=Y.__PosthogExtensions__)==null||(a=a.integrations)==null||(a=a[t])==null||a.stop())};for(var[n,r]of Object.entries((i=this._instance.config.integrations)??{})){var i;t(n)}}},zZ={},BZ=()=>{},VZ=`posthog`,HZ=!SY&&iW?.indexOf(`MSIE`)===-1&&iW?.indexOf(`Mozilla`)===-1,UZ=e=>{var t;return{api_host:`https://us.i.posthog.com`,ui_host:null,token:``,autocapture:!0,rageclick:!0,cross_subdomain_cookie:GW(J?.location),persistence:`localStorage+cookie`,persistence_name:``,loaded:BZ,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:e!==`2025-05-24`||`history_change`,capture_pageleave:`if_capture_pageview`,defaults:e??`unset`,debug:eW&&xW(eW?.search)&&eW.search.indexOf(`__posthog_debug=true`)!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(q==null||(t=q.location)==null?void 0:t.protocol)===`https:`,ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:`localStorage`,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:e=>{var t=`Bad HTTP status: `+e.statusCode+` `+e.text;Z.error(t)},get_device_id:e=>e,capture_performance:void 0,name:`posthog`,bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:`identified_only`,before_send:void 0,request_queue_config:{flush_interval_ms:gZ},error_tracking:{},_onCapture:BZ}},WZ=e=>{var t={};X(e.process_person)||(t.person_profiles=e.process_person),X(e.xhr_headers)||(t.request_headers=e.x
30hr_headers),X(e.cookie_name)||(t.persistence_name=e.cookie_name),X(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),X(e.store_google)||(t.save_campaign_params=e.store_google),X(e.verbose)||(t.debug=e.verbose);var n=LW({},t,e);return _W(e.property_blacklist)&&(X(e.property_denylist)?n.property_denylist=e.property_blacklist:_W(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:Z.error(`Invalid value for property_denylist config: `+e.property_denylist)),n},GZ=class{constructor(){this.__forceAllowLocalhost=!1}get ps(){return this.__forceAllowLocalhost}set ps(e){Z.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}},KZ=class e{get decideEndpointWasHit(){var e;return(e=this.featureFlags?.hasLoadedFlags)!=null&&e}get flagsEndpointWasHit(){var e;return(e=this.featureFlags?.hasLoadedFlags)!=null&&e}constructor(){this.webPerformance=new GZ,this.gs=!1,this.version=aW.LIB_VERSION,this._s=new rZ,this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=UZ(),this.SentryIntegration=oY,this.sentryIntegration=e=>function(e,t){var n=aY(e,t);return{name:iY,processEvent:e=>n(e)}}(this,e),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint=`/e/`,this.bs=!1,this.ys=null,this.ws=null,this.Ss=null,this.featureFlags=new eZ(this),this.toolbar=new dY(this),this.scrollManager=new bZ(this),this.pageViewManager=new bY(this),this.surveys=new lZ(this),this.experiments=new FZ(this),this.exceptions=new NY(this),this.rateLimiter=new pZ(this),this.requestRouter=new NZ(this),this.consent=new HK(this),this.externalIntegrations=new RZ(this),this.people={set:(e,t,n)=>{var r=xW(e)?{[e]:t}:e;this.setPersonProperties(r),n?.({})},set_once:(e,t,n)=>{var r=xW(e)?{[e]:t}:e;this.setPersonProperties(void 0,r),n?.({})}},this.on(`eventCaptured`,(e=>Z.info(`send "`+e?.event+`"`,e)))}init(t,n,r){if(r&&r!==VZ){var i=zZ[r]??new e;return i._init(t,n,r),zZ[r]=i,zZ[VZ][r]=i,i}return this._init(t,n,r)}_init(e,t,n){var r;if(t===void 0&&(t={}),X(e)||SW(e))return Z.critical(`PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()`),this;if(this.__loaded)return Z.warn(`You have already initialized PostHog! Re-initializing is a no-op`),this;this.__loaded=!0,this.config={},this.$s=t,this.ks=[],t.person_profiles&&(this.ws=t.person_profiles),this.set_config(LW({},UZ(t.defaults),WZ(t),{name:n,token:e})),this.config.on_xhr_error&&Z.error(`on_xhr_error is deprecated. Use on_request_error instead`),this.compression=t.disable_compression?void 0:cW.GZipJS,this.persistence=new nZ(this.config),this.sessionPersistence=this.config.persistence===`sessionStorage`||this.config.persistence===`memory`?this.persistence:new nZ(Q({},this.config,{persistence:`sessionStorage`}));var i=Q({},this.persistence.props),a=Q({},this.sessionPersistence.props);if(this.register({$initialization_time:new Date().toISOString()}),this.xs=new _Z((e=>this.Es(e)),this.config.request_queue_config),this.Is=new yZ(this),this.__request_queue=[],this.config.__preview_experimental_cookieless_mode||(this.sessionManager=new wZ(this),this.sessionPropsManager=new SZ(this,this.sessionManager,this.persistence)),new pY(this).startIfEnabledOrStop(),this.siteApps=new DZ(this),(r=this.siteApps)==null||r.init(),this.config.__preview_experimental_cookieless_mode||(this.sessionRecording=new tY(this),this.sessionRecording.startIfEnabledOrStop()),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new bK(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new yY(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new gY(this),this.exceptionObserver=new XK(this),this.exceptionObserver.startIfEnabled(),this.deadClicksAutocapture=new KK(this,GK),this.deadClicksAutocapture.startIfEnabled(),this.historyAutocapture=new Oq(this),this.historyAutocapture.startIfEnabled(),aW.DEBUG=aW.DEBUG||this.config.debug,aW.DEBUG&&Z.info(`Starting in debug mode`,{this:this,config:t,thisC:Q({},this.config),p:i,s:a}),this.Ps(),t.bootstrap?.distinctID!==void 0){var o,s,c=this.config.get_device_id(DK()),l=(o=t.bootstrap)!=null&&o.isIdentifiedID?c:t.bootstrap.distinctID;this.persistence.set_property(wG,(s=t.bootstrap)!=null&&s.isIdentifiedID?`identified`:`anonymous`),this.register({distinct_id:t.bootstrap.distinctID,$device_id:l})}if(this.Rs()){var u=Object.keys(t.bootstrap?.featureFlags||{}).filter((e=>{var n;return!((n=t.bootstrap)==null||(n=n.featureFlags)==null||!n[e])})).reduce(((e,n)=>{var r;return e[n]=((r=t.bootstrap)==null||(r=r.featureFlags)==null?void 0:r[n])||!1,e}),{}),d=Object.keys(t.bootstrap?.featureFlagPayloads||{}).filter((e=>u[e])).reduce(((e,n)=>{var r,i;return(r=t.bootstrap)!=null&&(r=r.featureFlagPayloads)!=null&&r[n]&&(e[n]=(i=t.bootstrap)==null||(i=i.featureFlagPayloads)==null?void 0:i[n]),e}),{});this.featureFlags.receivedFeatureFlags({featureFlags:u,featureFlagPayloads:d})}if(this.config.__preview_experimental_cookieless_mode)this.register_once({distinct_id:MG,$device_id:null},``);else if(!this.get_distinct_id()){var f=this.config.get_device_id(DK());this.register_once({distinct_id:f,$device_id:f},``),this.persistence.set_property(wG,`anonymous`)}return qW(q,`onpagehide`in self?`pagehide`:`unload`,this._handle_unload.bind(this),{passive:!1}),this.toolbar.maybeLoadToolbar(),t.segment?rY(this,(()=>this.Ts())):this.Ts(),vW(this.config._onCapture)&&this.config._onCapture!==BZ&&(Z.warn("onCapture is deprecated. Please use `before_send` instead"),this.on(`eventCaptured`,(e=>this.config._onCapture(e.event,e)))),this.config.ip&&Z.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Ie(e){var t,n,r,i,a,o,s,c;if(!J||!J.body)return Z.info(`document not ready yet, trying again in 500 milliseconds...`),void setTimeout((()=>{this.Ie(e)}),500);this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=uW(e.supportedCompression,cW.GZipJS)?cW.GZipJS:uW(e.supportedCompression,cW.Base64)?cW.Base64:void 0),(t=e.anal
30ytics)!=null&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.ws?this.ws:`identified_only`}),(n=this.siteApps)==null||n.onRemoteConfig(e),(r=this.sessionRecording)==null||r.onRemoteConfig(e),(i=this.autocapture)==null||i.onRemoteConfig(e),(a=this.heatmaps)==null||a.onRemoteConfig(e),this.surveys.onRemoteConfig(e),(o=this.webVitalsAutocapture)==null||o.onRemoteConfig(e),(s=this.exceptionObserver)==null||s.onRemoteConfig(e),this.exceptions.onRemoteConfig(e),(c=this.deadClicksAutocapture)==null||c.onRemoteConfig(e)}Ts(){try{this.config.loaded(this)}catch(e){Z.critical("`loaded` function failed",e)}this.Ms(),this.config.capture_pageview&&setTimeout((()=>{this.consent.isOptedIn()&&this.Cs()}),1),new hZ(this).load(),this.featureFlags.flags()}Ms(){var e;this.has_opted_out_capturing()||this.config.request_batching&&((e=this.xs)==null||e.enable())}_dom_loaded(){this.has_opted_out_capturing()||FW(this.__request_queue,(e=>this.Es(e))),this.__request_queue=[],this.Ms()}_handle_unload(){var e,t;this.config.request_batching?(this.Fs()&&this.capture(`$pageleave`),(e=this.xs)==null||e.unload(),(t=this.Is)==null||t.unload()):this.Fs()&&this.capture(`$pageleave`,null,{transport:`sendBeacon`})}Ee(e){this.__loaded&&(HZ?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=wY(e.url,{ip:+!!this.config.ip}),e.headers=Q({},this.config.request_headers),e.compression=e.compression===`best-available`?this.compression:e.compression,e.fetchOptions=e.fetchOptions||this.config.fetch_options,(e=>{var t=Q({},e);t.timeout=t.timeout||6e4,t.url=wY(t.url,{_:new Date().getTime().toString(),ver:aW.LIB_VERSION,compression:t.compression});var n=t.transport??`fetch`,r=KW(DY,(e=>e.transport===n))?.method??DY[0].method;if(!r)throw Error(`No available transport method`);r(t)})(Q({},e,{callback:t=>{var n,r;(this.rateLimiter.checkForLimiting(t),t.statusCode>=400)&&((n=(r=this.config).on_request_error)==null||n.call(r,t)),e.callback==null||e.callback(t)}}))))}Es(e){this.Is?this.Is.retriableRequest(e):this.Ee(e)}_execute_array(e){var t,n=[],r=[],i=[];FW(e,(e=>{e&&(t=e[0],_W(t)?i.push(e):vW(e)?e.call(this):_W(e)&&t===`alias`?n.push(e):_W(e)&&t.indexOf(`capture`)!==-1&&vW(this[t])?i.push(e):r.push(e))}));var a=function(e,t){FW(e,(function(e){if(_W(e[0])){var n=t;IW(e,(function(e){n=n[e[0]].apply(n,e.slice(1))}))}else this[e[0]].apply(this,e.slice(1))}),t)};a(n,this),a(r,this),a(i,this)}Rs(){return this.config.bootstrap?.featureFlags&&Object.keys(this.config.bootstrap?.featureFlags).length>0||!1}push(e){this._execute_array([e])}capture(e,t,n){if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.xs){if(!this.consent.isOptedOut())if(!X(e)&&xW(e)){if(this.config.opt_out_useragent_filter||!this._is_bot()){var r=n!=null&&n.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(r==null||!r.isRateLimited){t!=null&&t.$current_url&&!xW(t?.$current_url)&&(Z.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),t==null||delete t.$current_url),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var i=new Date,a=n?.timestamp||i,o=DK(),s={uuid:o,event:e,properties:this.calculateEventProperties(e,t||{},a,o)};r&&(s.properties.$lib_rate_limit_remaining_tokens=r.remainingTokens),n!=null&&n.$set&&(s.$set=n?.$set);var c,l,u=this.Os(n?.$set_once);if(u&&(s.$set_once=u),(s=UW(s,n!=null&&n._noTruncate?null:this.config.properties_string_max_length)).timestamp=a,X(n?.timestamp)||(s.properties.$event_time_override_provided=!0,s.properties.$event_time_override_system_time=i),e===uZ.DISMISSED||e===uZ.SENT){var d=t?.[dZ.SURVEY_ID],f=t?.[dZ.SURVEY_ITERATION];localStorage.setItem((l=``+oZ+(c={id:d,current_iteration:f}).id,c.current_iteration&&c.current_iteration>0&&(l=``+oZ+c.id+`_`+c.current_iteration),l),`true`),s.$set=Q({},s.$set,{[sZ({id:d,current_iteration:f},e===uZ.SENT?`responded`:`dismissed`)]:!0})}var p=Q({},s.properties.$set,s.$set);if(bW(p)||this.setPersonPropertiesForFlags(p),!wW(this.config.before_send)){var m=this.As(s);if(!m)return;s=m}this._s.emit(`eventCaptured`,s);var h={method:`POST`,url:n?._url??this.requestRouter.endpointFor(`api`,this.analyticsDefaultEndpoint),data:s,compression:`best-available`,batchKey:n?._batchKey};return!this.config.request_batching||n&&(n==null||!n._batchKey)||n!=null&&n.send_instantly?this.Es(h):this.xs.enqueue(h),s}Z.critical(`This capture call is ignored due to client rate limiting.`)}}else Z.error(`No event name provided to posthog.capture`)}else Z.uninitializedWarning(`posthog.capture`)}Ge(e){return this.on(`eventCaptured`,(t=>e(t.event,t)))}calculateEventProperties(e,t,n,r,i){if(n=n||new Date,!this.persistence||!this.sessionPersistence)return t;var a=i?void 0:this.persistence.remove_event_timer(e),o=Q({},t);if(o.token=this.config.token,o.$config_defaults=this.config.defaults,this.config.__preview_experimental_cookieless_mode&&(o.$cookieless_mode=!0),e===`$snapshot`){var s=Q({},this.persistence.properties(),this.sessionPersistence.properties());return o.distinct_id=s.distinct_id,(!xW(o.distinct_id)&&!TW(o.distinct_id)||SW(o.distinct_id))&&Z.error(`Invalid distinct_id for replay event. This indicates a bug in your implementation`),o}var c,l=WX(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:u,windowId:d}=this.sessionManager.checkAndGetSessionAndWindowId(i,n.getTime());o.$session_id=u,o.$window_id=d}this.sessionPropsManager&&LW(o,this.sessionPropsManager.getSessionProps());try{this.sessionRecording&&LW(o,this.sessionRecording.sdkDebugProperties),o.$sdk_debug_retry_queue_size=this.Is?.length}catch(e){o.$sdk_debug_error_capturing_properties=String(e)}if(this.requestRouter.region===jZ.CUSTOM&&(o.$lib_custom_api_host=this.config.api_host),c=e!==`$pageview`||i?e!==`$pageleave`||i?this.pageViewM
30anager.doEvent():this.pageViewManager.doPageLeave(n):this.pageViewManager.doPageView(n,r),o=LW(o,c),e===`$pageview`&&J&&(o.title=J.title),!X(a)){var f=n.getTime()-a;o.$duration=parseFloat((f/1e3).toFixed(3))}iW&&this.config.opt_out_useragent_filter&&(o.$browser_type=this._is_bot()?`bot`:`browser`),(o=LW({},l,this.persistence.properties(),this.sessionPersistence.properties(),o)).$is_identified=this._isIdentified(),_W(this.config.property_denylist)?IW(this.config.property_denylist,(function(e){delete o[e]})):Z.error(`Invalid value for property_denylist config: `+this.config.property_denylist+` or property_blacklist config: `+this.config.property_blacklist);var p=this.config.sanitize_properties;p&&(Z.error(`sanitize_properties is deprecated. Use before_send instead`),o=p(o,e));var m=this.Ds();return o.$process_person_profile=m,m&&!i&&this.Ls(`_calculate_event_properties`),o}Os(e){if(!this.persistence||!this.Ds()||this.gs)return e;var t=LW({},this.persistence.get_initial_props(),this.sessionPropsManager?.getSetOnceProps()||{},e||{}),n=this.config.sanitize_properties;return n&&(Z.error(`sanitize_properties is deprecated. Use before_send instead`),t=n(t,`$set_once`)),this.gs=!0,bW(t)?void 0:t}register(e,t){var n;(n=this.persistence)==null||n.register(e,t)}register_once(e,t,n){var r;(r=this.persistence)==null||r.register_once(e,t,n)}register_for_session(e){var t;(t=this.sessionPersistence)==null||t.register(e)}unregister(e){var t;(t=this.persistence)==null||t.unregister(e)}unregister_for_session(e){var t;(t=this.sessionPersistence)==null||t.unregister(e)}js(e,t){this.register({[e]:t})}getFeatureFlag(e,t){return this.featureFlags.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(t)}catch{return t}}isFeatureEnabled(e,t){return this.featureFlags.isFeatureEnabled(e,t)}reloadFeatureFlags(){this.featureFlags.reloadFeatureFlags()}updateEarlyAccessFeatureEnrollment(e,t){this.featureFlags.updateEarlyAccessFeatureEnrollment(e,t)}getEarlyAccessFeatures(e,t,n){return t===void 0&&(t=!1),this.featureFlags.getEarlyAccessFeatures(e,t,n)}on(e,t){return this._s.on(e,t)}onFeatureFlags(e){return this.featureFlags.onFeatureFlags(e)}onSurveysLoaded(e){return this.surveys.onSurveysLoaded(e)}onSessionId(e){return this.sessionManager?.onSessionId(e)??(()=>{})}getSurveys(e,t){t===void 0&&(t=!1),this.surveys.getSurveys(e,t)}getActiveMatchingSurveys(e,t){t===void 0&&(t=!1),this.surveys.getActiveMatchingSurveys(e,t)}renderSurvey(e,t){this.surveys.renderSurvey(e,t)}canRenderSurvey(e){return this.surveys.canRenderSurvey(e)}canRenderSurveyAsync(e,t){return t===void 0&&(t=!1),this.surveys.canRenderSurveyAsync(e,t)}identify(e,t,n){if(!this.__loaded||!this.persistence)return Z.uninitializedWarning(`posthog.identify`);if(TW(e)&&(e=e.toString(),Z.warn(`The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.`)),e)if([`distinct_id`,`distinctid`].includes(e.toLowerCase()))Z.critical(`The string "`+e+`" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.`);else if(e!==MG){if(this.Ls(`posthog.identify`)){var r=this.get_distinct_id();if(this.register({$user_id:e}),!this.get_property(`$device_id`)){var i=r;this.register_once({$had_persisted_distinct_id:!0,$device_id:i},``)}e!==r&&e!==this.get_property(YW)&&(this.unregister(YW),this.register({distinct_id:e}));var a=(this.persistence.get_property(wG)||`anonymous`)===`anonymous`;e!==r&&a?(this.persistence.set_property(wG,`identified`),this.setPersonPropertiesForFlags(Q({},n||{},t||{}),!1),this.capture(`$identify`,{distinct_id:e,$anon_distinct_id:r},{$set:t||{},$set_once:n||{}}),this.Ss=kY(e,t,n),this.featureFlags.setAnonymousDistinctId(r)):(t||n)&&this.setPersonProperties(t,n),e!==r&&(this.reloadFeatureFlags(),this.unregister(CG))}}else Z.critical(`The string "`+MG+`" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.`);else Z.error(`Unique user id has not been set in posthog.identify`)}setPersonProperties(e,t){if((e||t)&&this.Ls(`posthog.setPersonProperties`)){var n=kY(this.get_distinct_id(),e,t);this.Ss===n?Z.info(`A duplicate setPersonProperties call was made with the same properties. It has been ignored.`):(this.setPersonPropertiesForFlags(Q({},t||{},e||{})),this.capture(`$set`,{$set:e||{},$set_once:t||{}}),this.Ss=n)}}group(e,t,n){if(e&&t){if(this.Ls(`posthog.group`)){var r=this.getGroups();r[e]!==t&&this.resetGroupPropertiesForFlags(e),this.register({$groups:Q({},r,{[e]:t})}),n&&(this.capture(`$groupidentify`,{$group_type:e,$group_key:t,$group_set:n}),this.setGroupPropertiesForFlags({[e]:n})),r[e]===t||n||this.reloadFeatureFlags()}}else Z.error(`posthog.group requires a group type and group key`)}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}
30setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0),this.featureFlags.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(){this.featureFlags.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0),this.Ls(`posthog.setGroupPropertiesForFlags`)&&this.featureFlags.setGroupPropertiesForFlags(e,t)}resetGroupPropertiesForFlags(e){this.featureFlags.resetGroupPropertiesForFlags(e)}reset(e){var t,n,r,i;if(Z.info(`reset`),!this.__loaded)return Z.uninitializedWarning(`posthog.reset`);var a=this.get_property(`$device_id`);if(this.consent.reset(),(t=this.persistence)==null||t.clear(),(n=this.sessionPersistence)==null||n.clear(),this.surveys.reset(),this.featureFlags.reset(),(r=this.persistence)==null||r.set_property(wG,`anonymous`),(i=this.sessionManager)==null||i.resetSessionId(),this.Ss=null,this.config.__preview_experimental_cookieless_mode)this.register_once({distinct_id:MG,$device_id:null},``);else{var o=this.config.get_device_id(DK());this.register_once({distinct_id:o,$device_id:e?o:a},``)}this.register({$last_posthog_reset:new Date().toISOString()},1)}get_distinct_id(){return this.get_property(`distinct_id`)}getGroups(){return this.get_property(`$groups`)||{}}get_session_id(){return this.sessionManager?.checkAndGetSessionAndWindowId(!0).sessionId??``}get_session_replay_url(e){if(!this.sessionManager)return``;var{sessionId:t,sessionStartTimestamp:n}=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=this.requestRouter.endpointFor(`ui`,`/project/`+this.config.token+`/replay/`+t);if(e!=null&&e.withTimestamp&&n){var i=e.timestampLookBack??10;if(!n)return r;r+=`?t=`+Math.max(Math.floor((new Date().getTime()-n)/1e3)-i,0)}return r}alias(e,t){return e===this.get_property(JW)?(Z.critical(`Attempting to create alias for existing People user - aborting.`),-2):this.Ls(`posthog.alias`)?(X(t)&&(t=this.get_distinct_id()),e===t?(Z.warn(`alias matches current distinct_id - skipping api call.`),this.identify(e),-1):(this.js(YW,e),this.capture(`$create_alias`,{alias:e,distinct_id:t}))):void 0}set_config(e){var t,n,r,i,a,o=Q({},this.config);yW(e)&&(LW(this.config,WZ(e)),(t=this.persistence)==null||t.update_config(this.config,o),this.sessionPersistence=this.config.persistence===`sessionStorage`||this.config.persistence===`memory`?this.persistence:new nZ(Q({},this.config,{persistence:`sessionStorage`})),PK.O()&&PK.D(`ph_debug`)===`true`&&(this.config.debug=!0),this.config.debug&&(aW.DEBUG=!0,Z.info(`set_config`,{config:e,oldConfig:o,newConfig:Q({},this.config)})),(n=this.sessionRecording)==null||n.startIfEnabledOrStop(),(r=this.autocapture)==null||r.startIfEnabled(),(i=this.heatmaps)==null||i.startIfEnabled(),this.surveys.loadIfEnabled(),this.Ps(),(a=this.externalIntegrations)==null||a.startIfEnabledOrStop())}startSessionRecording(e){var t=!0===e,n={sampling:t||!(e==null||!e.sampling),linked_flag:t||!(e==null||!e.linked_flag),url_trigger:t||!(e==null||!e.url_trigger),event_trigger:t||!(e==null||!e.event_trigger)};if(Object.values(n).some(Boolean)){var r,i,a,o,s;(r=this.sessionManager)==null||r.checkAndGetSessionAndWindowId(),n.sampling&&((i=this.sessionRecording)==null||i.overrideSampling()),n.linked_flag&&((a=this.sessionRecording)==null||a.overrideLinkedFlag()),n.url_trigger&&((o=this.sessionRecording)==null||o.overrideTrigger(`url`)),n.event_trigger&&((s=this.sessionRecording)==null||s.overrideTrigger(`event`))}this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!((e=this.sessionRecording)==null||!e.started)}captureException(e,t){var n=Error(`PostHog syntheticException`);this.exceptions.sendExceptionEvent(Q({},Eq((e=>e instanceof Error)(e)?{error:e,event:e.message}:{event:e},{syntheticException:n}),t))}loadToolbar(e){return this.toolbar.loadToolbar(e)}get_property(e){return this.persistence?.props[e]}getSessionProperty(e){return this.sessionPersistence?.props[e]}toString(){var e=this.config.name??VZ;return e!==VZ&&(e=VZ+`.`+e),e}_isIdentified(){return this.persistence?.get_property(wG)===`identified`||this.sessionPersistence?.get_property(wG)===`identified`}Ds(){var e,t;return!(this.config.person_profiles===`never`||this.config.person_profiles===`identified_only`&&!this._isIdentified()&&bW(this.getGroups())&&((e=this.persistence)==null||(e=e.props)==null||!e[YW])&&((t=this.persistence)==null||(t=t.props)==null||!t[AG]))}Fs(){return!0===this.config.capture_pageleave||this.config.capture_pageleave===`if_capture_pageview`&&(!0===this.config.capture_pageview||this.config.capture_pageview===`history_change`)}createPersonProfile(){this.Ds()||this.Ls(`posthog.createPersonProfile`)&&this.setPersonProperties({},{})}Ls(e){return this.config.person_profiles===`never`?(Z.error(e+` was called, but process_person is set to "never". This call will be ignored.`),!1):(this.js(AG,!0),!0)}Ps(){var e,t,n=this.consent.isOptedOut(),r=this.config.opt_out_persistence_by_default,i=this.config.disable_persistence||n&&!!r;this.persistence?.Fe!==i&&((e=this.persistence)==null||e.set_disabled(i)),this.sessionPersistence?.Fe!==i&&((t=this.sessionPersistence)==null||t.set_disabled(i))}opt_in_capturing(e){(this.consent.optInOut(!0),this.Ps(),X(e?.captureEventName)||e!=null&&e.captureEventName)&&this.capture(e?.captureEventName??`$opt_in`,e?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Cs()}opt_out_capturing(){this.consent.optInOut(!1),this.Ps()}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}clear_opt_in_out_capturing(){this.consent.reset(),this.Ps()}_is_bot(){return $U?AZ($U,this.config.custom_blocked_useragents):void 0}Cs(){J&&(J.visibilityState===`visible`?this.bs||(this.bs=!0,this.capture(`$pageview`,{title:J.title},{send_instantly:!0}),this.ys&&(J.removeEventListener(`visibilitychange`,this.ys),this.ys=null)):this.ys||(this.ys=this.Cs.bind(this),qW(J,`visibilitychange`,this.ys)))}
30debug(e){!1===e?(q?.console.log(`You've disabled debug mode.`),localStorage&&localStorage.removeItem(`ph_debug`),this.set_config({debug:!1})):(q?.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem(`ph_debug`,`true`),this.set_config({debug:!0}))}I(){var e,t,n,r,i,a,o,s=this.$s||{};return`advanced_disable_flags`in s?!!s.advanced_disable_flags:!1===this.config.advanced_disable_flags?!0===this.config.advanced_disable_decide?(Z.warn(`Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version.`),!0):(n=`advanced_disable_decide`,r=!1,i=Z,a=(t=`advanced_disable_flags`)in(e=s)&&!X(e[t]),o=n in e&&!X(e[n]),a?e[t]:o?(i&&i.warn(`Config field '`+n+`' is deprecated. Please use '`+t+`' instead. The old field will be removed in a future major version.`),e[n]):r):!!this.config.advanced_disable_flags}As(e){if(wW(this.config.before_send))return e;var t=_W(this.config.before_send)?this.config.before_send:[this.config.before_send],n=e;for(var r of t){if(n=r(n),wW(n)){var i=`Event '`+e.event+`' was rejected in beforeSend function`;return OW(e.event)?Z.warn(i+`. This can cause unexpected behavior.`):Z.info(i),null}n.properties&&!bW(n.properties)||Z.warn(`Event '`+e.event+`' has no properties after beforeSend function, this is likely an error.`)}return n}getPageViewId(){return this.pageViewManager.ce?.pageViewId}captureTraceFeedback(e,t){this.capture(`$ai_feedback`,{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,n){this.capture(`$ai_metric`,{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(n)})}};(function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=VW(e.prototype[t[n]])})(KZ,[`identify`]);var qZ,JZ=(qZ=zZ[VZ]=new KZ,function(){function e(){e.done||(e.done=!0,HZ=!1,IW(zZ,(function(e){e._dom_loaded()})))}J!=null&&J.addEventListener?J.readyState===`complete`?e():qW(J,`DOMContentLoaded`,e,{capture:!1}):q&&Z.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),qZ);Le();var YZ=-1,XZ=e=>{addEventListener(`pageshow`,(t=>{t.persisted&&(YZ=t.timeStamp,e(t))}),!0)},ZZ=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`)(t.value,n),e(t)))}},QZ=e=>{requestAnimationFrame((()=>requestAnimationFrame((()=>e()))))},$Z=()=>{let e=performance.getEntriesByType(`navigation`)[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},eQ=()=>$Z()?.activationStart??0,tQ=(e,t=-1)=>{let n=$Z(),r=`navigate`;return YZ>=0?r=`back-forward-cache`:n&&(document.prerendering||eQ()>0?r=`prerender`:document.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+0xe8d4a51000}`,navigationType:r}},nQ=new WeakMap;function rQ(e,t){return nQ.get(e)||nQ.set(e,new t),nQ.get(e)}var iQ=class{constructor(){ke(this,`t`,void 0),ke(this,`i`,0),ke(this,`o`,[])}h(e){if(e.hadRecentInput)return;let t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},aQ=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe({type:e,buffered:!0,...n}),r}}catch{}},oQ=e=>{let t=!1;return()=>{t||(e(),t=!0)}},sQ=-1,cQ=new Set,lQ=()=>document.visibilityState!==`hidden`||document.prerendering?1/0:0,uQ=e=>{if(document.visibilityState===`hidden`){if(e.type===`visibilitychange`)for(let e of cQ)e();isFinite(sQ)||(sQ=e.type===`visibilitychange`?e.timeStamp:0,removeEventListener(`prerenderingchange`,uQ,!0))}},dQ=()=>{if(sQ<0){let e=eQ();sQ=(document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).filter((t=>t.name===`hidden`&&t.startTime>e))[0]?.startTime)??lQ(),addEventListener(`visibilitychange`,uQ,!0),addEventListener(`prerenderingchange`,uQ,!0),XZ((()=>{setTimeout((()=>{sQ=lQ()}))}))}return{get firstHiddenTime(){return sQ},onHidden(e){cQ.add(e)}}},fQ=e=>{document.prerendering?addEventListener(`prerenderingchange`,(()=>e()),!0):e()},pQ=[1800,3e3],mQ=(e,t={})=>{fQ((()=>{let n=dQ(),r,i=tQ(`FCP`),a=aQ(`paint`,(e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-eQ(),0),i.entries.push(t),r(!0)))}));a&&(r=ZZ(e,i,pQ,t.reportAllChanges),XZ((n=>{i=tQ(`FCP`),r=ZZ(e,i,pQ,t.reportAllChanges),QZ((()=>{i.value=performance.now()-n.timeStamp,r(!0)}))})))}))},hQ=[.1,.25],gQ=(e,t={})=>{let n=dQ();mQ(oQ((()=>{let r,i=tQ(`CLS`,0),a=rQ(t,iQ),o=e=>{for(let t of e)a.h(t);a.i>i.value&&(i.value=a.i,i.entries=a.o,r())},s=aQ(`layout-shift`,o);s&&(r=ZZ(e,i,hQ,t.reportAllChanges),n.onHidden((()=>{o(s.takeRecords()),r(!0)})),XZ((()=>{a.i=0,i=tQ(`CLS`,0),r=ZZ(e,i,hQ,t.reportAllChanges),QZ((()=>r()))}
30)),setTimeout(r))})))},_Q=0,vQ=1/0,yQ=0,bQ=e=>{for(let t of e)t.interactionId&&(vQ=Math.min(vQ,t.interactionId),yQ=Math.max(yQ,t.interactionId),_Q=yQ?(yQ-vQ)/7+1:0)},xQ,SQ=()=>xQ?_Q:performance.interactionCount??0,CQ=()=>{`interactionCount`in performance||xQ||(xQ=aQ(`event`,bQ,{type:`event`,buffered:!0,durationThreshold:0}))},wQ=0,TQ=class{constructor(){ke(this,`u`,[]),ke(this,`l`,new Map),ke(this,`m`,void 0),ke(this,`p`,void 0)}v(){wQ=SQ(),this.u.length=0,this.l.clear()}L(){let e=Math.min(this.u.length-1,Math.floor((SQ()-wQ)/50));return this.u[e]}h(e){if(this.m?.(e),!e.interactionId&&e.entryType!==`first-input`)return;let t=this.u.at(-1),n=this.l.get(e.interactionId);if(n||this.u.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.l.set(n.id,n),this.u.push(n)),this.u.sort(((e,t)=>t.P-e.P)),this.u.length>10){let e=this.u.splice(10);for(let t of e)this.l.delete(t.id)}this.p?.(n)}}},EQ=e=>{let t=globalThis.requestIdleCallback||setTimeout;document.visibilityState===`hidden`?e():(e=oQ(e),addEventListener(`visibilitychange`,e,{once:!0,capture:!0}),t((()=>{e(),removeEventListener(`visibilitychange`,e,{capture:!0})})))},DQ=[200,500],OQ=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!(`interactionId`in PerformanceEventTiming.prototype))return;let n=dQ();fQ((()=>{CQ();let r,i=tQ(`INP`),a=rQ(t,TQ),o=e=>{EQ((()=>{for(let t of e)a.h(t);let t=a.L();t&&t.P!==i.value&&(i.value=t.P,i.entries=t.entries,r())}))},s=aQ(`event`,o,{durationThreshold:t.durationThreshold??40});r=ZZ(e,i,DQ,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden((()=>{o(s.takeRecords()),r(!0)})),XZ((()=>{a.v(),i=tQ(`INP`),r=ZZ(e,i,DQ,t.reportAllChanges)})))}))},kQ=class{constructor(){ke(this,`m`,void 0)}h(e){this.m?.(e)}},AQ=[2500,4e3],jQ=(e,t={})=>{fQ((()=>{let n=dQ(),r,i=tQ(`LCP`),a=rQ(t,kQ),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)a.h(t),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-eQ(),0),i.entries=[t],r())},s=aQ(`largest-contentful-paint`,o);if(s){r=ZZ(e,i,AQ,t.reportAllChanges);let n=oQ((()=>{o(s.takeRecords()),s.disconnect(),r(!0)})),a=e=>{e.isTrusted&&(EQ(n),removeEventListener(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])addEventListener(e,a,{capture:!0});XZ((n=>{i=tQ(`LCP`),r=ZZ(e,i,AQ,t.reportAllChanges),QZ((()=>{i.value=performance.now()-n.timeStamp,r(!0)}))}))}}))},MQ=[800,1800],NQ=e=>{document.prerendering?fQ((()=>NQ(e))):document.readyState===`complete`?setTimeout(e):addEventListener(`load`,(()=>NQ(e)),!0)},PQ=(e,t={})=>{let n=tQ(`TTFB`),r=ZZ(e,n,MQ,t.reportAllChanges);NQ((()=>{let i=$Z();i&&(n.value=Math.max(i.responseStart-eQ(),0),n.entries=[i],r(!0),XZ((()=>{n=tQ(`TTFB`,0),r=ZZ(e,n,MQ,t.reportAllChanges),r(!0)})))}))};function FQ(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var IQ={exports:{}},LQ=typeof Reflect==`object`?Reflect:null,RQ=LQ&&typeof LQ.apply==`function`?LQ.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},zQ=LQ&&typeof LQ.ownKeys==`function`?LQ.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};function BQ(e){console&&console.warn&&console.warn(e)}var VQ=Number.isNaN||function(e){return e!==e};function HQ(){HQ.init.call(this)}IQ.exports=HQ,IQ.exports.once=e$,HQ.EventEmitter=HQ,HQ.prototype._events=void 0,HQ.prototype._eventsCount=0,HQ.prototype._maxListeners=void 0;var UQ=10;function WQ(e){if(typeof e!=`function`)throw TypeError(`The "listener" argument must be of type Function. Received type `+typeof e)}Object.defineProperty(HQ,"defaultMaxListeners",{enumerable:!0,get:function(){return UQ},set:function(e){if(typeof e!=`number`||e<0||VQ(e))throw RangeError(`The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received `+e+`.`);UQ=e}}),HQ.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},HQ.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||VQ(e))throw RangeError(`The value of "n" is out of range. It must be a non-negative number. Received `+e+`.`);return this._maxListeners=e,this};function GQ(e){return e._maxListeners===void 0?HQ.defaultMaxListeners:e._maxListeners}HQ.prototype.getMaxListeners=function(){return GQ(this)},HQ.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r=e===`error`,i=this._events;if(i!==void 0)r=r&&i.error===void 0;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=Error(`Unhandled error.`+(a?` (`+a.message+`)`:``));throw o.context=a,o}var s=i[e];if(s===void 0)return!1;if(typeof s==`function`)RQ(s,this,t);else for(var c=s.length,l=ZQ(s,c),n=0;n<c;++n)RQ(l[n],this,t);return!0};function KQ(e,t,n,r){var i,a,o;if(WQ(n),a=e._events,a===void 0?(a=e._events=Object.create(null),e._eventsCount=0):(a.newListener!==void 0&&(e.emit(`newListener`,t,n.listener?n.listener:n),a=e._events),o=a[t]),o===void 0)
30o=a[t]=n,++e._eventsCount;else if(typeof o==`function`?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),i=GQ(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var s=Error(`Possible EventEmitter memory leak detected. `+o.length+` `+String(t)+` listeners added. Use emitter.setMaxListeners() to increase limit`);s.name=`MaxListenersExceededWarning`,s.emitter=e,s.type=t,s.count=o.length,BQ(s)}return e}HQ.prototype.addListener=function(e,t){return KQ(this,e,t,!1)},HQ.prototype.on=HQ.prototype.addListener,HQ.prototype.prependListener=function(e,t){return KQ(this,e,t,!0)};function qQ(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function JQ(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=qQ.bind(r);return i.listener=n,r.wrapFn=i,i}HQ.prototype.once=function(e,t){return WQ(t),this.on(e,JQ(this,e,t)),this},HQ.prototype.prependOnceListener=function(e,t){return WQ(t),this.prependListener(e,JQ(this,e,t)),this},HQ.prototype.removeListener=function(e,t){var n,r,i,a,o;if(WQ(t),r=this._events,r===void 0||(n=r[e],n===void 0))return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;i===0?n.shift():QQ(n,i),n.length===1&&(r[e]=n[0]),r.removeListener!==void 0&&this.emit(`removeListener`,e,o||t)}return this},HQ.prototype.off=HQ.prototype.removeListener,HQ.prototype.removeAllListeners=function(e){var t,n=this._events,r;if(n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var i=Object.keys(n),a;for(r=0;r<i.length;++r)a=i[r],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t!==void 0)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this};function YQ(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i==`function`?n?[i.listener||i]:[i]:n?$Q(i):ZQ(i,i.length)}HQ.prototype.listeners=function(e){return YQ(this,e,!0)},HQ.prototype.rawListeners=function(e){return YQ(this,e,!1)},HQ.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):XQ.call(e,t)},HQ.prototype.listenerCount=XQ;function XQ(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n==`function`)return 1;if(n!==void 0)return n.length}return 0}HQ.prototype.eventNames=function(){return this._eventsCount>0?zQ(this._events):[]};function ZQ(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function QQ(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function $Q(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function e$(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){typeof e.removeListener==`function`&&e.removeListener(`error`,i),n([].slice.call(arguments))}n$(e,t,a,{once:!0}),t!==`error`&&t$(e,i,{once:!0})})}function t$(e,t,n){typeof e.on==`function`&&n$(e,`error`,t,n)}function n$(e,t,n,r){if(typeof e.on==`function`)r.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener==`function`)e.addEventListener(t,function i(a){r.once&&e.removeEventListener(t,i),n(a)});else throw TypeError(`The "emitter" argument must be of type EventEmitter. Received type `+typeof e)}var r$=IQ.exports,i$=FQ(r$),a$;(function(e){e[e.timeout=1]=`timeout`,e[e.transportClosed=2]=`transportClosed`,e[e.clientDisconnected=3]=`clientDisconnected`,e[e.clientClosed=4]=`clientClosed`,e[e.clientConnectToken=5]=`clientConnectToken`,e[e.clientRefreshToken=6]=`clientRefreshToken`,e[e.subscriptionUnsubscribed=7]=`subscriptionUnsubscribed`,e[e.subscriptionSubscribeToken=8]=`subscriptionSubscribeToken`,e[e.subscriptionRefreshToken=9]=`subscriptionRefreshToken`,e[e.transportWriteError=10]=`transportWriteError`,e[e.connectionClosed=11]=`connectionClosed`,e[e.badConfiguration=12]=`badConfiguration`})(a$||(a$={}));var o$;(function(e){e[e.connectCalled=0]=`connectCalled`,e[e.transportClosed=1]=`transportClosed`,e[e.noPing=2]=`noPing`,e[e.subscribeTimeout=3]=`subscribeTimeout`,e[e.unsubscribeError=4]=`unsubscribeError`})(o$||(o$={}));var s$;(function(e){e[e.disconnectCalled=0]=`disconnectCalled`,e[e.unauthorized=1]=`unauthorized`,e[e.badProtocol=2]=`badProtocol`,e[e.messageSizeLimit=3]=`messageSizeLimit`})(s$||(s$={}));var c$;(function(e){e[e.subscribeCalled=0]=`subscribeCalled`,e[e.transportClosed=1]=`transportClosed`})(c$||(c$={}));var l$;(function(e){e[e.unsubscribeCalled=0]=`unsubscribeCalled`,e[e.unauthorized=1]=`unauthorized`,e[e.clientClosed=2]=`clientClosed`})(l$||(l$={}));var u$;(function(e){e.Disconnected=`disconnected`,e.Connecting=`connecting`,e.Connected=`connected`})(u$||(u$={}));var d$;(function(e){e.Unsubscribed=`unsubscribed`,e.Subscribing=`subscribing`,e.Subscribed=`subscribed`})(d$||(d$={}));function f$(e,t){return e.lastIndexOf(t,0)===0}function p$(e){return e==null?!1:typeof e==`function`}function m$(e,t){if(globalThis.console){let n=globalThis.console[e];p$(n)&&n.apply(globalThis.console,t)}}function h$(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function g$(e,t,n){e>31&&(e=31);let r=h$(0,Math.min(n,t*2**e));return Math.min(n,t+r)}function _$(e){return`error`in e&&e.error!==null}function v$(e){return Math.min(e*1e3,2147483647)}var y$=class extends i${constructor(e,t,n){super(),this._resubscribeTimeout=null,this._refreshTimeout=null,this.channel=t,this.state=d$.Unsubscribed,this._centrifuge=e,this._token=``,this._getToken=null,this._data=null,this._getData=null,this._recover=!1,this._offset=null,this._epoch=null,this._recoverable=!1,this._positioned=!1,this._joinLeave=!1,this._minResubscribeDelay=500,this._maxResubscribeDelay=2e4,this._resubscribeTimeout=null,this._resubscribeAttempts=0,this._promises={},this._promiseId=0,this._inflight=!1,this._refreshTimeout=null,this._setOptions(n),this._centrifuge._debugEnabled?(this.on(`state`,e=>{this._centrifuge._debug(`subscription state`,t,e.oldState,`->`,e.newState)}),this.on(`error`,e=>{this._centrifuge._debug(`subscription error`,t,e)})):this.on(`error`,function(){Function.prototype()})}ready(e){return this.state===d$.Unsubscribed?Promise.reject({code:a$.subscriptionUnsubscribed,message:this.state}):this.state===d$.Subscribed?Promise.resolve():new Promise((t,n)=>{let r={resolve:t,reject:n};e&&(r.timeout=setTimeout(function(){n({code:a$.timeout,message:`timeout`})},e)),this._promises[this._nextPromiseId()]=r})}subscribe(){this._isSubscribed()||(this._resubscribeAttempts=0,this._setSubscribing(c$.subscribeCalled,`subscribe called`))}unsubscribe(){this._setUnsubscribed(l$.unsubscribeCalled,`unsubscribe called`,!0)}publish(e){let t=this;return this._methodCall().then(function(){return t._centrifuge.publish(t.channel,e)})}presence(){let e=this;return this._methodCall().then(function(){return e._centrifuge.presence(e.channel)})}presenceStats(){let e=this;return this._methodCall().then(function(){return e._centrifuge.presenceStats(e.channel)})}history(e){let t=this;return this._methodCall().then(function(){return t._centrifuge.history(t.channel,e)})}_methodCall(){return this._isSubscribed()?Promise.resolve():this._isUnsubscribed()?Promise.reject({code:a$.subscriptionUnsubscribed,message:this.state}):new Promise((e,t)=>
30{let n=setTimeout(function(){t({code:a$.timeout,message:`timeout`})},this._centrifuge._config.timeout);this._promises[this._nextPromiseId()]={timeout:n,resolve:e,reject:t}})}_nextPromiseId(){return++this._promiseId}_needRecover(){return this._recover===!0}_isUnsubscribed(){return this.state===d$.Unsubscribed}_isSubscribing(){return this.state===d$.Subscribing}_isSubscribed(){return this.state===d$.Subscribed}_setState(e){if(this.state!==e){let t=this.state;return this.state=e,this.emit(`state`,{newState:e,oldState:t,channel:this.channel}),!0}return!1}_usesToken(){return this._token!==``||this._getToken!==null}_clearSubscribingState(){this._resubscribeAttempts=0,this._clearResubscribeTimeout()}_clearSubscribedState(){this._clearRefreshTimeout()}_setSubscribed(e){if(!this._isSubscribing())return;this._clearSubscribingState(),e.recoverable&&(this._recover=!0,this._offset=e.offset||0,this._epoch=e.epoch||``),this._setState(d$.Subscribed);let t=this._centrifuge._getSubscribeContext(this.channel,e);this.emit(`subscribed`,t),this._resolvePromises();let n=e.publications;if(n&&n.length>0)for(let e in n)n.hasOwnProperty(e)&&this._handlePublication(n[e]);e.expires===!0&&(this._refreshTimeout=setTimeout(()=>this._refresh(),v$(e.ttl)))}_setSubscribing(e,t){this._isSubscribing()||(this._isSubscribed()&&this._clearSubscribedState(),this._setState(d$.Subscribing)&&this.emit(`subscribing`,{channel:this.channel,code:e,reason:t}),this._subscribe(!1,!1))}_subscribe(e,t){if(this._centrifuge._debug(`subscribing on`,this.channel),this._centrifuge.state!==u$.Connected&&!e)return this._centrifuge._debug(`delay subscribe on`,this.channel,`till connected`),null;let n=this,r={channel:n.channel};return!this._usesToken()||this._token?n._getData?(n._getData(r).then(function(e){n._isSubscribing()&&(n._data=e,n._sendSubscribe(n._token,!1))}),null):n._sendSubscribe(n._token,t):(e||this._getSubscriptionToken().then(function(e){if(n._isSubscribing()){if(!e){n._failUnauthorized();return}n._token=e,n._getData?n._getData(r).then(function(t){n._isSubscribing()&&(n._data=t,n._sendSubscribe(e,!1))}):n._sendSubscribe(e,!1)}}).catch(function(e){if(n._isSubscribing()){if(e instanceof O$){n._failUnauthorized();return}n.emit(`error`,{type:`subscribeToken`,channel:n.channel,error:{code:a$.subscriptionSubscribeToken,message:e===void 0?``:e.toString()}}),n._scheduleResubscribe()}}),null)}_sendSubscribe(e,t){let n={channel:this.channel};if(e&&(n.token=e),this._data&&(n.data=this._data),this._positioned&&(n.positioned=!0),this._recoverable&&(n.recoverable=!0),this._joinLeave&&(n.join_leave=!0),this._needRecover()){n.recover=!0;let e=this._getOffset();e&&(n.offset=e);let t=this._getEpoch();t&&(n.epoch=t)}let r={subscribe:n};return this._inflight=!0,this._centrifuge._call(r,t).then(e=>{this._inflight=!1;let t=e.reply.subscribe;this._handleSubscribeResponse(t),e.next&&e.next()},e=>{this._inflight=!1,this._handleSubscribeError(e.error),e.next&&e.next()}),r}_handleSubscribeError(e){if(this._isSubscribing()){if(e.code===a$.timeout){this._centrifuge._disconnect(o$.subscribeTimeout,`subscribe timeout`,!0);return}this._subscribeError(e)}}_handleSubscribeResponse(e){this._isSubscribing()&&this._setSubscribed(e)}_setUnsubscribed(e,t,n){this._isUnsubscribed()||(this._isSubscribed()&&(n&&this._centrifuge._unsubscribe(this),this._clearSubscribedState()),this._isSubscribing()&&(this._inflight&&n&&this._centrifuge._unsubscribe(this),this._clearSubscribingState()),this._setState(d$.Unsubscribed)&&this.emit(`unsubscribed`,{channel:this.channel,code:e,reason:t}),this._rejectPromises({code:a$.subscriptionUnsubscribed,message:this.state}))}_handlePublication(e){let t=this._centrifuge._getPublicationContext(this.channel,e);this.emit(`publication`,t),e.offset&&(this._offset=e.offset)}_handleJoin(e){let t=this._centrifuge._getJoinLeaveContext(e.info);this.emit(`join`,{channel:this.channel,info:t})}_handleLeave(e){let t=this._centrifuge._getJoinLeaveContext(e.info);this.emit(`leave`,{channel:this.channel,info:t})}_resolvePromises(){for(let e in this._promises)this._promises[e].timeout&&clearTimeout(this._promises[e].timeout),this._promises[e].resolve(),delete this._promises[e]}_rejectPromises(e){for(let t in this._promises)this._promises[t].timeout&&clearTimeout(this._promises[t].timeout),this._promises[t].reject(e),delete this._promises[t]}_scheduleResubscribe(){let e=this,t=this._getResubscribeDelay();this._resubscribeTimeout=setTimeout(function(){e._isSubscribing()&&e._subscribe(!1,!1)},t)}_subscribeError(e){if(this._isSubscribing())if(e.code<100||e.code===109||e.temporary===!0){e.code===109&&(this._token=``);let t={channel:this.channel,type:`subscribe`,error:e};
30this._centrifuge.state===u$.Connected&&this.emit(`error`,t),this._scheduleResubscribe()}else this._setUnsubscribed(e.code,e.message,!1)}_getResubscribeDelay(){let e=g$(this._resubscribeAttempts,this._minResubscribeDelay,this._maxResubscribeDelay);return this._resubscribeAttempts++,e}_setOptions(e){e&&(e.since&&(this._offset=e.since.offset,this._epoch=e.since.epoch,this._recover=!0),e.data&&(this._data=e.data),e.getData&&(this._getData=e.getData),e.minResubscribeDelay!==void 0&&(this._minResubscribeDelay=e.minResubscribeDelay),e.maxResubscribeDelay!==void 0&&(this._maxResubscribeDelay=e.maxResubscribeDelay),e.token&&(this._token=e.token),e.getToken&&(this._getToken=e.getToken),e.positioned===!0&&(this._positioned=!0),e.recoverable===!0&&(this._recoverable=!0),e.joinLeave===!0&&(this._joinLeave=!0))}_getOffset(){let e=this._offset;return e===null?0:e}_getEpoch(){let e=this._epoch;return e===null?``:e}_clearRefreshTimeout(){this._refreshTimeout!==null&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)}_clearResubscribeTimeout(){this._resubscribeTimeout!==null&&(clearTimeout(this._resubscribeTimeout),this._resubscribeTimeout=null)}_getSubscriptionToken(){this._centrifuge._debug(`get subscription token for channel`,this.channel);let e={channel:this.channel},t=this._getToken;if(t===null)throw this.emit(`error`,{type:`configuration`,channel:this.channel,error:{code:a$.badConfiguration,message:`provide a function to get channel subscription token`}}),new O$(``);return t(e)}_refresh(){this._clearRefreshTimeout();let e=this;this._getSubscriptionToken().then(function(t){if(!e._isSubscribed())return;if(!t){e._failUnauthorized();return}e._token=t;let n={sub_refresh:{channel:e.channel,token:t}};e._centrifuge._call(n).then(t=>{let n=t.reply.sub_refresh;e._refreshResponse(n),t.next&&t.next()},t=>{e._refreshError(t.error),t.next&&t.next()})}).catch(function(t){if(t instanceof O$){e._failUnauthorized();return}e.emit(`error`,{type:`refreshToken`,channel:e.channel,error:{code:a$.subscriptionRefreshToken,message:t===void 0?``:t.toString()}}),e._refreshTimeout=setTimeout(()=>e._refresh(),e._getRefreshRetryDelay())})}_refreshResponse(e){this._isSubscribed()&&(this._centrifuge._debug(`subscription token refreshed, channel`,this.channel),this._clearRefreshTimeout(),e.expires===!0&&(this._refreshTimeout=setTimeout(()=>this._refresh(),v$(e.ttl))))}_refreshError(e){this._isSubscribed()&&(e.code<100||e.temporary===!0?(this.emit(`error`,{type:`refresh`,channel:this.channel,error:e}),this._refreshTimeout=setTimeout(()=>this._refresh(),this._getRefreshRetryDelay())):this._setUnsubscribed(e.code,e.message,!0))}_getRefreshRetryDelay(){return g$(0,1e4,2e4)}_failUnauthorized(){this._setUnsubscribed(l$.unauthorized,`unauthorized`,!0)}},b$=class{constructor(e,t){this.endpoint=e,this.options=t,this._transport=null}name(){return`sockjs`}subName(){return`sockjs-`+this._transport.transport}emulation(){return!1}supported(){return this.options.sockjs!==null}initialize(e,t){this._transport=new this.options.sockjs(this.endpoint,null,this.options.sockjsOptions),this._transport.onopen=()=>{t.onOpen()},this._transport.onerror=e=>{t.onError(e)},this._transport.onclose=e=>{t.onClose(e)},this._transport.onmessage=e=>{t.onMessage(e.data)}}close(){this._transport.close()}send(e){this._transport.send(e)}},x$=class{constructor(e,t){this.endpoint=e,this.options=t,this._transport=null}name(){return`websocket`}subName(){return`websocket`}emulation(){return!1}supported(){return this.options.websocket!==void 0&&this.options.websocket!==null}initialize(e,t){let n=``;e===`protobuf`&&(n=`centrifuge-protobuf`),n===``?this._transport=new this.options.websocket(this.endpoint):this._transport=new this.options.websocket(this.endpoint,n),e===`protobuf`&&(this._transport.binaryType=`arraybuffer`),this._transport.onopen=()=>{t.onOpen()},this._transport.onerror=e=>{t.onError(e)},this._transport.onclose=e=>{t.onClose(e)},this._transport.onmessage=e=>{t.onMessage(e.data)}}close(){this._transport.close()}send(e){this._transport.send(e)}},S$=class{constructor(e,t){this.endpoint=e,this.options=t,this._abortController=null,this._utf8decoder=new TextDecoder,this._protocol=`json`}name(){return`http_stream`}subName(){return`http_stream`}emulation(){return!0}_handleErrors(e){if(!e.ok)throw Error(e.status);return e}_fetchEventTarget(e,t,n){let r=new EventTarget,i=e.options.fetch;return i(t,n).then(e._handleErrors).then(t=>{r.dispatchEvent(new Event(`open`));let n=``,i=0,a=new Uint8Array,o=t.body.getReader();return new e.options.readableStream({start(t){function s(){return o.read().then(({done:o,value:c})=>
30{if(o){r.dispatchEvent(new Event(`close`)),t.close();return}try{if(e._protocol===`json`)for(n+=e._utf8decoder.decode(c);i<n.length;)if(n[i]===`
31`){let e=n.substring(0,i);r.dispatchEvent(new MessageEvent(`message`,{data:e})),n=n.substring(i+1),i=0}else++i;else{let t=new Uint8Array(a.length+c.length);for(t.set(a),t.set(c,a.length),a=t;;){let t=e.options.decoder.decodeReply(a);if(t.ok){let e=a.slice(0,t.pos);r.dispatchEvent(new MessageEvent(`message`,{data:e})),a=a.slice(t.pos);continue}break}}}catch(e){r.dispatchEvent(new Event(`error`,{detail:e})),r.dispatchEvent(new Event(`close`)),t.close();return}s()}).catch(function(e){r.dispatchEvent(new Event(`error`,{detail:e})),r.dispatchEvent(new Event(`close`)),t.close()})}return s()}})}).catch(e=>{r.dispatchEvent(new Event(`error`,{detail:e})),r.dispatchEvent(new Event(`close`))}),r}supported(){return this.options.fetch!==null&&this.options.readableStream!==null&&typeof TextDecoder<`u`&&typeof AbortController<`u`&&typeof EventTarget<`u`&&typeof Event<`u`&&typeof MessageEvent<`u`&&typeof Error<`u`}initialize(e,t,n){this._protocol=e,this._abortController=new AbortController;let r,i;e===`json`?(r={Accept:`application/json`,"Content-Type":`application/json`},i=n):(r={Accept:`application/octet-stream`,"Content-Type":`application/octet-stream`},i=n);let a={method:`POST`,headers:r,body:i,mode:`cors`,credentials:`include`,cache:`no-cache`,signal:this._abortController.signal},o=this._fetchEventTarget(this,this.endpoint,a);o.addEventListener(`open`,()=>{t.onOpen()}),o.addEventListener(`error`,e=>{this._abortController.abort(),t.onError(e)}),o.addEventListener(`close`,()=>{this._abortController.abort(),t.onClose({code:4,reason:`connection closed`})}),o.addEventListener(`message`,e=>{t.onMessage(e.data)})}close(){this._abortController.abort()}send(e,t,n){let r,i,a={session:t,node:n,data:e};this._protocol===`json`?(r={"Content-Type":`application/json`},i=JSON.stringify(a)):(r={"Content-Type":`application/octet-stream`},i=this.options.encoder.encodeEmulationRequest(a));let o=this.options.fetch,s={method:`POST`,headers:r,body:i,mode:`cors`,credentials:`include`,cache:`no-cache`};o(this.options.emulationEndpoint,s)}},C$=class{constructor(e,t){this.endpoint=e,this.options=t,this._protocol=`json`,this._transport=null,this._onClose=null}name(){return`sse`}subName(){return`sse`}emulation(){return!0}supported(){return this.options.eventsource!==null&&this.options.fetch!==null}initialize(e,t,n){let r;r=globalThis&&globalThis.document&&globalThis.document.baseURI?new URL(this.endpoint,globalThis.document.baseURI):new URL(this.endpoint),r.searchParams.append(`cf_connect`,n);let i=new this.options.eventsource(r.toString(),{withCredentials:!0});this._transport=i;let a=this;i.onopen=function(){t.onOpen()},i.onerror=function(e){i.close(),t.onError(e),t.onClose({code:4,reason:`connection closed`})},i.onmessage=function(e){t.onMessage(e.data)},a._onClose=function(){t.onClose({code:4,reason:`connection closed`})}}close(){this._transport.close(),this._onClose!==null&&this._onClose()}send(e,t,n){let r={session:t,node:n,data:e},i={"Content-Type":`application/json`},a=JSON.stringify(r),o=this.options.fetch,s={method:`POST`,headers:i,body:a,mode:`cors`,credentials:`include`,cache:`no-cache`};o(this.options.emulationEndpoint,s)}};function w$(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}var T$=class{constructor(e,t){this.endpoint=e,this.options=t,this._transport=null,this._stream=null,this._writer=null,this._utf8decoder=new TextDecoder,this._protocol=`json`}name(){return`webtransport`}subName(){return`webtransport`}emulation(){return!1}supported(){return this.options.webtransport!==void 0&&this.options.webtransport!==null}initialize(e,t){return w$(this,void 0,void 0,function*(){let n;n=globalThis&&globalThis.document&&globalThis.document.baseURI?new URL(this.endpoint,globalThis.document.baseURI):new URL(this.endpoint),e===`protobuf`&&n.searchParams.append(`cf_protocol`,`protobuf`),this._protocol=e;let r=new EventTarget;this._transport=new this.options.webtransport(n.toString()),this._transport.closed.then(()=>{t.onClose({code:4,reason:`connection closed`})}).catch(()=>{t.onClose({code:4,reason:`connection closed`})});try{yield this._transport.ready}catch{this.close();return}let i;try{i=yield this._transport.createBidirectionalStream()}catch{this.close();return}this._stream=i,this._writer=this._stream.writable.getWriter(),r.addEventListener(`close`,()=>{t.onClose({code:4,reason:`connection closed`})}),r.addEventListener(`message`,e=>{t.onMessage(e.data)}),this._startReading(r),t.onOpen()})}_startReading(e){return w$(this,void 0,void 0,function*(){let t=this._stream.readable.getReader(),n=``,r=0,i=new Uint8Array;try{for(;;){let{done:a,value:o}=yield t.read();if(o.length>0)if(this._protocol===`json`)for(n+=this._utf8decoder.decode(o);r<n.length;)if(n[r]===`
32`){let t=n.substring(0,r);e.dispatchEvent(new MessageEvent(`message`,{data:t})),n=n.substring(r+1),r=0}else++r;else{let t=new Uint8Array(i.length+o.length);for(t.set(i),t.set(o,i.length),i=t;;){let t=this.options.decoder.decodeReply(i);if(t.ok){let n=i.slice(0,t.pos);e.dispatchEvent(new MessageEvent(`message`,{data:n})),i=i.slice(t.pos);continue}break}}if(a)break}}catch{e.dispatchEvent(new Event(`close`))}})}close(){return w$(this,void 0,void 0,function*(){try{this._writer&&(yield this._writer.close()),this._transport.close()}catch{}})}send(e){return w$(this,void 0,void 0,function*(){let t;t=this._protocol===`json`?new TextEncoder().encode(e+`
33`):e;try{yield this._writer.write(t)}catch{this.close()}})}},E$=class{name(){return`json`}encodeCommands(e){return e.map(e=>JSON.stringify(e)).join(`
34`)}decodeReplies(e){return e.trim().split(`
35`).map(e=>JSON.parse(e))}},D$={token:``,getToken:null,data:null,getData:null,debug:!1,name:`js`,version:``,fetch:null,readableStream:null,websocket:null,eventsource:null,sockjs:null,sockjsOptions:{},emulationEndpoint:`/emulation`,minReconnectDelay:500,maxReconnectDelay:2e4,timeout:5e3,maxServerPingDelay:1e4,networkEventTarget:null}
35,O$=class extends Error{constructor(e){super(e),this.name=this.constructor.name}},k$=class extends i${constructor(e,t){super(),this._reconnectTimeout=null,this._refreshTimeout=null,this._serverPingTimeout=null,this.state=u$.Disconnected,this._endpoint=e,this._emulation=!1,this._transports=[],this._currentTransportIndex=0,this._triedAllTransports=!1,this._transportWasOpen=!1,this._transport=null,this._transportId=0,this._deviceWentOffline=!1,this._transportClosed=!0,this._codec=new E$,this._reconnecting=!1,this._reconnectTimeout=null,this._reconnectAttempts=0,this._client=null,this._session=``,this._node=``,this._subs={},this._serverSubs={},this._commandId=0,this._commands=[],this._batching=!1,this._refreshRequired=!1,this._refreshTimeout=null,this._callbacks={},this._token=``,this._data=null,this._dispatchPromise=Promise.resolve(),this._serverPing=0,this._serverPingTimeout=null,this._sendPong=!1,this._promises={},this._promiseId=0,this._debugEnabled=!1,this._networkEventsSet=!1,this._config=Object.assign(Object.assign({},D$),t),this._configure(),this._debugEnabled?(this.on(`state`,e=>{this._debug(`client state`,e.oldState,`->`,e.newState)}),this.on(`error`,e=>{this._debug(`client error`,e)})):this.on(`error`,function(){Function.prototype()})}newSubscription(e,t){if(this.getSubscription(e)!==null)throw Error(`Subscription to the channel `+e+` already exists`);let n=new y$(this,e,t);return this._subs[e]=n,n}getSubscription(e){return this._getSub(e)}removeSubscription(e){e&&(e.state!==d$.Unsubscribed&&e.unsubscribe(),this._removeSubscription(e))}subscriptions(){return this._subs}ready(e){return this.state===u$.Disconnected?Promise.reject({code:a$.clientDisconnected,message:`client disconnected`}):this.state===u$.Connected?Promise.resolve():new Promise((t,n)=>{let r={resolve:t,reject:n};e&&(r.timeout=setTimeout(function(){n({code:a$.timeout,message:`timeout`})},e)),this._promises[this._nextPromiseId()]=r})}connect(){if(this._isConnected()){this._debug(`connect called when already connected`);return}if(this._isConnecting()){this._debug(`connect called when already connecting`);return}this._debug(`connect called`),this._reconnectAttempts=0,this._startConnecting()}disconnect(){this._disconnect(s$.disconnectCalled,`disconnect called`,!1)}setToken(e){this._token=e}send(e){let t={send:{data:e}},n=this;return this._methodCall().then(function(){return n._transportSendCommands([t])?Promise.resolve():Promise.reject(n._createErrorObject(a$.transportWriteError,`transport write error`))})}rpc(e,t){let n={rpc:{method:e,data:t}},r=this;return this._methodCall().then(function(){return r._callPromise(n,function(e){return{data:e.rpc.data}})})}publish(e,t){let n={publish:{channel:e,data:t}},r=this;return this._methodCall().then(function(){return r._callPromise(n,function(){return{}})})}history(e,t){let n={history:this._getHistoryRequest(e,t)},r=this;return this._methodCall().then(function(){return r._callPromise(n,function(t){let n=t.history,i=[];if(n.publications)for(let t=0;t<n.publications.length;t++)i.push(r._getPublicationContext(e,n.publications[t]));return{publications:i,epoch:n.epoch||``,offset:n.offset||0}})})}presence(e){let t={presence:{channel:e}},n=this;return this._methodCall().then(function(){return n._callPromise(t,function(e){let t=e.presence.presence;for(let e in t)if(t.hasOwnProperty(e)){let n=t[e].conn_info,r=t[e].chan_info;n&&(t[e].connInfo=n),r&&(t[e].chanInfo=r)}return{clients:t}})})}presenceStats(e){let t={presence_stats:{channel:e}},n=this;return this._methodCall().then(function(){return n._callPromise(t,function(e){let t=e.presence_stats;return{numUsers:t.num_users,numClients:t.num_clients}})})}startBatching(){this._batching=!0}stopBatching(){let e=this;Promise.resolve().then(function(){Promise.resolve().then(function(){e._batching=!1,e._flush()})})}_debug(...e){this._debugEnabled&&m$(`debug`,e)}_formatOverride(){}_configure(){if(!(`Promise`in globalThis))throw Error(`Promise polyfill required`);if(!this._endpoint)throw Error(`endpoint configuration required`);if(this._config.token!==null&&(this._token=this._config.token),this._config.data!==null&&(this._data=this._config.data),this._codec=new E$,this._formatOverride(),(this._config.debug===!0||typeof localStorage<`u`&&localStorage.getItem(`centrifuge.debug`))&&(this._debugEnabled=!0),this._debug(`config`,this._config),typeof this._endpoint!=`string`)if(typeof this._endpoint==`object`&&this._endpoint instanceof Array){this._transports=this._endpoint,this._emulation=!0;for(let e in this._transports){let t=this._transports[e];if(!t.endpoint||!t.transport)throw Error(`malformed transport configuration`);let n=t.transport;if([`websocket`,`http_stream`,`sse`,`sockjs`,`webtransport`].indexOf(n)<0)throw Error(`unsupported transport name: `+n)}}else throw Error(`unsupported url configuration type: only string or array of objects are supported`)}_setState(e){if(this.state!==e){this._reconnecting=!1;let t=this.state;
35return this.state=e,this.emit(`state`,{newState:e,oldState:t}),!0}return!1}_isDisconnected(){return this.state===u$.Disconnected}_isConnecting(){return this.state===u$.Connecting}_isConnected(){return this.state===u$.Connected}_nextCommandId(){return++this._commandId}_setNetworkEvents(){if(this._networkEventsSet)return;let e=null;this._config.networkEventTarget===null?globalThis.addEventListener!==void 0&&(e=globalThis):e=this._config.networkEventTarget,e&&(e.addEventListener(`offline`,()=>{this._debug(`offline event triggered`),(this.state===u$.Connected||this.state===u$.Connecting)&&(this._disconnect(o$.transportClosed,`transport closed`,!0),this._deviceWentOffline=!0)}),e.addEventListener(`online`,()=>{this._debug(`online event triggered`),this.state===u$.Connecting&&(this._deviceWentOffline&&!this._transportClosed&&(this._deviceWentOffline=!1,this._transportClosed=!0),this._clearReconnectTimeout(),this._startReconnecting())}),this._networkEventsSet=!0)}_getReconnectDelay(){let e=g$(this._reconnectAttempts,this._config.minReconnectDelay,this._config.maxReconnectDelay);return this._reconnectAttempts+=1,e}_clearOutgoingRequests(){for(let e in this._callbacks)if(this._callbacks.hasOwnProperty(e)){let t=this._callbacks[e];clearTimeout(t.timeout);let n=t.errback;if(!n)continue;n({error:this._createErrorObject(a$.connectionClosed,`connection closed`)})}this._callbacks={}}_clearConnectedState(){this._client=null,this._clearServerPingTimeout(),this._clearRefreshTimeout();for(let e in this._subs){if(!this._subs.hasOwnProperty(e))continue;let t=this._subs[e];t.state===d$.Subscribed&&t._setSubscribing(c$.transportClosed,`transport closed`)}for(let e in this._serverSubs)this._serverSubs.hasOwnProperty(e)&&this.emit(`subscribing`,{channel:e})}_handleWriteError(e){for(let t of e){let e=t.id;if(!(e in this._callbacks))continue;let n=this._callbacks[e];clearTimeout(this._callbacks[e].timeout),delete this._callbacks[e];let r=n.errback;r({error:this._createErrorObject(a$.transportWriteError,`transport write error`)})}}_transportSendCommands(e){if(!e.length)return!0;if(!this._transport)return!1;try{this._transport.send(this._codec.encodeCommands(e),this._session,this._node)}catch(t){return this._debug(`error writing commands`,t),this._handleWriteError(e),!1}return!0}_initializeTransport(){let e;this._config.websocket===null?typeof globalThis.WebSocket!=`function`&&typeof globalThis.WebSocket!=`object`||(e=globalThis.WebSocket):e=this._config.websocket;let t=null;this._config.sockjs===null?globalThis.SockJS!==void 0&&(t=globalThis.SockJS):t=this._config.sockjs;let n=null;this._config.eventsource===null?globalThis.EventSource!==void 0&&(n=globalThis.EventSource):n=this._config.eventsource;let r=null;this._config.fetch===null?globalThis.fetch!==void 0&&(r=globalThis.fetch):r=this._config.fetch;let i=null;if(this._config.readableStream===null?globalThis.ReadableStream!==void 0&&(i=globalThis.ReadableStream):i=this._config.readableStream,this._emulation){this._currentTransportIndex>=this._transports.length&&(this._triedAllTransports=!0,this._currentTransportIndex=0);let a=0;for(;;){if(a>=this._transports.length)throw Error(`no supported transport found`);let o=this._transports[this._currentTransportIndex],s=o.transport,c=o.endpoint;if(s===`websocket`){if(this._debug(`trying websocket transport`),this._transport=new x$(c,{websocket:e}),!this._transport.supported()){this._debug(`websocket transport not available`),this._currentTransportIndex++,a++;continue}}else if(s===`webtransport`){if(this._debug(`trying webtransport transport`),this._transport=new T$(c,{webtransport:globalThis.WebTransport,decoder:this._codec,encoder:this._codec}),!this._transport.supported()){this._debug(`webtransport transport not available`),this._currentTransportIndex++,a++;continue}}else if(s===`http_stream`){if(this._debug(`trying http_stream transport`),this._transport=new S$(c,{fetch:r,readableStream:i,emulationEndpoint:this._config.emulationEndpoint,decoder:this._codec,encoder:this._codec}),!this._transport.supported()){this._debug(`http_stream transport not available`),this._currentTransportIndex++,a++;continue}}else if(s===`sse`){if(this._debug(`trying sse transport`),this._transport=new C$(c,{eventsource:n,fetch:r,emulationEndpoint:this._config.emulationEndpoint}),!this._transport.supported()){this._debug(`sse transport not available`),this._currentTransportIndex++,a++;continue}}else if(s===`sockjs`){if(this._debug(`trying sockjs`),this._transport=new b$(c,{sockjs:t,
35sockjsOptions:this._config.sockjsOptions}),!this._transport.supported()){this._debug(`sockjs transport not available`),this._currentTransportIndex++,a++;continue}}else throw Error(`unknown transport `+s);break}}else{if(f$(this._endpoint,`http`))throw Error(`Provide explicit transport endpoints configuration in case of using HTTP (i.e. using array of TransportEndpoint instead of a single string), or use ws(s):// scheme in an endpoint if you aimed using WebSocket transport`);if(this._debug(`client will use websocket`),this._transport=new x$(this._endpoint,{websocket:e}),!this._transport.supported())throw Error(`WebSocket not available`)}let a=this,o=this._transport,s=this._nextTransportId();a._debug(`id of transport`,s);let c=!1,l=!0;this._transport.name()===`sse`&&(l=!1);let u=[];if(this._transport.emulation()){let e=a._sendConnect(!0);if(u.push(e),l){let e=a._sendSubscribeCommands(!0,!0);for(let t in e)u.push(e[t])}}this._setNetworkEvents();let d=this._codec.encodeCommands(u);this._transportClosed=!1;let f;f=setTimeout(function(){o.close()},this._config.timeout),this._transport.initialize(this._codec.name(),{onOpen:function(){if(f&&(clearTimeout(f),f=null),a._transportId!=s){a._debug(`open callback from non-actual transport`),o.close();return}c=!0,a._debug(o.subName(),`transport open`),a._transportWasOpen=!0,!o.emulation()&&(a.startBatching(),a._sendConnect(!1),l&&a._sendSubscribeCommands(!0,!1),a.stopBatching())},onError:function(e){if(a._transportId!=s){a._debug(`error callback from non-actual transport`);return}a._debug(`transport level error`,e)},onClose:function(e){if(f&&(clearTimeout(f),f=null),a._transportId!=s){a._debug(`close callback from non-actual transport`);return}a._debug(o.subName(),`transport closed`),a._transportClosed=!0;let t=`connection closed`,n=!0,r=0;if(e&&`code`in e&&e.code&&(r=e.code),e&&e.reason)try{let r=JSON.parse(e.reason);t=r.reason,n=r.reconnect}catch{t=e.reason,(r>=3500&&r<4e3||r>=4500&&r<5e3)&&(n=!1)}r<3e3?(r===1009?(r=s$.messageSizeLimit,t=`message size limit exceeded`,n=!1):(r=o$.transportClosed,t=`transport closed`),a._emulation&&!a._transportWasOpen&&(a._currentTransportIndex++,a._currentTransportIndex>=a._transports.length&&(a._triedAllTransports=!0,a._currentTransportIndex=0))):a._transportWasOpen=!0,a._isConnecting()&&!c&&a.emit(`error`,{type:`transport`,error:{code:a$.transportClosed,message:`transport closed`},transport:o.name()}),a._reconnecting=!1,a._disconnect(r,t,n)},onMessage:function(e){a._dataReceived(e)}},d)}_sendConnect(e){let t=this._constructConnectCommand(),n=this;return this._call(t,e).then(e=>{let t=e.reply.connect;n._connectResponse(t),e.next&&e.next()},e=>{n._connectError(e.error),e.next&&e.next()}),t}_startReconnecting(){if(this._debug(`start reconnecting`),!this._isConnecting()){this._debug(`stop reconnecting: client not in connecting state`);return}if(this._reconnecting){this._debug(`reconnect already in progress, return from reconnect routine`);return}if(this._transportClosed===!1){this._debug(`waiting for transport close`);return}this._reconnecting=!0;let e=this,t=this._token===``;if(!(this._refreshRequired||t&&this._config.getToken!==null)){this._config.getData?this._config.getData().then(function(t){e._isConnecting()&&(e._data=t,e._initializeTransport())}):this._initializeTransport();return}this._getToken().then(function(t){if(e._isConnecting()){if(t==null||t==null){e._failUnauthorized();return}e._token=t,e._debug(`connection token refreshed`),e._config.getData?e._config.getData().then(function(t){e._isConnecting()&&(e._data=t,e._initializeTransport())}):e._initializeTransport()}}).catch(function(t){if(!e._isConnecting())return;if(t instanceof O$){e._failUnauthorized();return}e.emit(`error`,{type:`connectToken`,error:{code:a$.clientConnectToken,message:t===void 0?``:t.toString()}});let n=e._getReconnectDelay();e._debug(`error on connection token refresh, reconnect after `+n+` milliseconds`,t),e._reconnecting=!1,e._reconnectTimeout=setTimeout(()=>{e._startReconnecting()},n)})}_connectError(e){this.state===u$.Connecting&&(e.code===109&&(this._refreshRequired=!0),e.code<100||e.temporary===!0||e.code===109?(this.emit
35(`error`,{type:`connect`,error:e}),this._debug(`closing transport due to connect error`),this._reconnecting=!1,this._disconnect(e.code,e.message,!0)):this._disconnect(e.code,e.message,!1))}_scheduleReconnect(){if(!this._isConnecting())return;let e=!1;this._emulation&&!this._transportWasOpen&&!this._triedAllTransports&&(e=!0);let t=this._getReconnectDelay();e&&(t=0),this._debug(`reconnect after `+t+` milliseconds`),this._reconnectTimeout=setTimeout(()=>{this._startReconnecting()},t)}_constructConnectCommand(){let e={};this._token&&(e.token=this._token),this._data&&(e.data=this._data),this._config.name&&(e.name=this._config.name),this._config.version&&(e.version=this._config.version);let t={},n=!1;for(let e in this._serverSubs)if(this._serverSubs.hasOwnProperty(e)&&this._serverSubs[e].recoverable){n=!0;let r={recover:!0};this._serverSubs[e].offset&&(r.offset=this._serverSubs[e].offset),this._serverSubs[e].epoch&&(r.epoch=this._serverSubs[e].epoch),t[e]=r}return n&&(e.subs=t),{connect:e}}_getHistoryRequest(e,t){let n={channel:e};return t!==void 0&&(t.since&&(n.since={offset:t.since.offset},t.since.epoch&&(n.since.epoch=t.since.epoch)),t.limit!==void 0&&(n.limit=t.limit),t.reverse===!0&&(n.reverse=!0)),n}_methodCall(){return this._isConnected()?Promise.resolve():new Promise((e,t)=>{let n=setTimeout(function(){t({code:a$.timeout,message:`timeout`})},this._config.timeout);this._promises[this._nextPromiseId()]={timeout:n,resolve:e,reject:t}})}_callPromise(e,t){return new Promise((n,r)=>{this._call(e,!1).then(e=>{n(t(e.reply)),e.next&&e.next()},e=>{r(e.error),e.next&&e.next()})})}_dataReceived(e){this._serverPing>0&&this._waitServerPing();let t=this._codec.decodeReplies(e);this._dispatchPromise=this._dispatchPromise.then(()=>{let e;this._dispatchPromise=new Promise(t=>{e=t}),this._dispatchSynchronized(t,e)})}_dispatchSynchronized(e,t){let n=Promise.resolve();for(let t in e)e.hasOwnProperty(t)&&(n=n.then(()=>this._dispatchReply(e[t])));n=n.then(()=>{t()})}_dispatchReply(e){let t,n=new Promise(e=>{t=e});if(e==null)return this._debug(`dispatch: got undefined or null reply`),t(),n;let r=e.id;return r&&r>0?this._handleReply(e,t):e.push?this._handlePush(e.push,t):this._handleServerPing(t),n}_call(e,t){return new Promise((n,r)=>{e.id=this._nextCommandId(),this._registerCall(e.id,n,r),t||this._addCommand(e)})}_startConnecting(){this._debug(`start connecting`),this._setState(u$.Connecting)&&this.emit(`connecting`,{code:o$.connectCalled,reason:`connect called`}),this._client=null,this._startReconnecting()}_disconnect(e,t,n){if(this._isDisconnected())return;let r=this.state,i={code:e,reason:t},a=!1;if(n?a=this._setState(u$.Connecting):(a=this._setState(u$.Disconnected),this._rejectPromises({code:a$.clientDisconnected,message:`disconnected`})),this._clearOutgoingRequests(),r===u$.Connecting&&this._clearReconnectTimeout(),r===u$.Connected&&this._clearConnectedState(),a&&(this._isConnecting()?this.emit(`connecting`,i):this.emit(`disconnected`,i)),this._transport){this._debug(`closing existing transport`);let e=this._transport;this._transport=null,e.close(),this._transportClosed=!0,this._nextTransportId()}else this._debug(`no transport to close`);this._scheduleReconnect()}_failUnauthorized(){this._disconnect(s$.unauthorized,`unauthorized`,!1)}_getToken(){if(this._debug(`get connection token`),!this._config.getToken)throw this.emit(`error`,{type:`configuration`,error:{code:a$.badConfiguration,message:`token expired but no getToken function set in the configuration`}}),new O$(``);return this._config.getToken({})}_refresh(){let e=this._client,t=this;this._getToken().then(function(n){if(e!==t._client)return;if(!n){t._failUnauthorized();return}if(t._token=n,t._debug(`connection token refreshed`),!t._isConnected())return;let r={refresh:{token:t._token}};t._call(r,!1).then(e=>{let n=e.reply.refresh;t._refreshResponse(n),e.next&&e.next()},e=>{t._refreshError(e.error),e.next&&e.next()})}).catch(function(e){if(t._isConnected()){if(e instanceof O$){t._failUnauthorized();return}t.emit(`error`,{type:`refreshToken`,error:{code:a$.clientRefreshToken,message:e===void 0?``:e.toString()}}),t._refreshTimeout=setTimeout(()=>t._refresh(),t._getRefreshRetryDelay())}})}
35_refreshError(e){e.code<100||e.temporary===!0?(this.emit(`error`,{type:`refresh`,error:e}),this._refreshTimeout=setTimeout(()=>this._refresh(),this._getRefreshRetryDelay())):this._disconnect(e.code,e.message,!1)}_getRefreshRetryDelay(){return g$(0,5e3,1e4)}_refreshResponse(e){this._refreshTimeout&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null),e.expires&&(this._client=e.client,this._refreshTimeout=setTimeout(()=>this._refresh(),v$(e.ttl)))}_removeSubscription(e){e!==null&&delete this._subs[e.channel]}_unsubscribe(e){if(!this._isConnected())return;let t={unsubscribe:{channel:e.channel}},n=this;this._call(t,!1).then(e=>{e.next&&e.next()},e=>{e.next&&e.next(),n._disconnect(o$.unsubscribeError,`unsubscribe error`,!0)})}_getSub(e){return this._subs[e]||null}_isServerSub(e){return this._serverSubs[e]!==void 0}_sendSubscribeCommands(e,t){let n=[];for(let r in this._subs){if(!this._subs.hasOwnProperty(r))continue;let i=this._subs[r];if(i._inflight!==!0&&i.state===d$.Subscribing){let r=i._subscribe(e,t);r&&n.push(r)}}return n}_connectResponse(e){if(this._transportWasOpen=!0,this._reconnectAttempts=0,this._refreshRequired=!1,this._isConnected())return;this._client=e.client,this._setState(u$.Connected),this._refreshTimeout&&clearTimeout(this._refreshTimeout),e.expires&&(this._refreshTimeout=setTimeout(()=>this._refresh(),v$(e.ttl))),this._session=e.session,this._node=e.node,this.startBatching(),this._sendSubscribeCommands(!1,!1),this.stopBatching();let t={client:e.client,transport:this._transport.subName()};e.data&&(t.data=e.data),this.emit(`connected`,t),this._resolvePromises(),this._processServerSubs(e.subs||{}),e.ping&&e.ping>0?(this._serverPing=e.ping*1e3,this._sendPong=e.pong===!0,this._waitServerPing()):this._serverPing=0}_processServerSubs(e){for(let t in e){if(!e.hasOwnProperty(t))continue;let n=e[t];this._serverSubs[t]={offset:n.offset,epoch:n.epoch,recoverable:n.recoverable||!1};let r=this._getSubscribeContext(t,n);this.emit(`subscribed`,r)}for(let t in e){if(!e.hasOwnProperty(t))continue;let n=e[t];if(n.recovered){let e=n.publications;if(e&&e.length>0)for(let n in e)e.hasOwnProperty(n)&&this._handlePublication(t,e[n])}}for(let t in this._serverSubs)this._serverSubs.hasOwnProperty(t)&&(e[t]||(this.emit(`unsubscribed`,{channel:t}),delete this._serverSubs[t]))}_clearRefreshTimeout(){this._refreshTimeout!==null&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)}_clearReconnectTimeout(){this._reconnectTimeout!==null&&(clearTimeout(this._reconnectTimeout),this._reconnectTimeout=null)}_clearServerPingTimeout(){this._serverPingTimeout!==null&&(clearTimeout(this._serverPingTimeout),this._serverPingTimeout=null)}_waitServerPing(){this._config.maxServerPingDelay!==0&&this._isConnected()&&(this._clearServerPingTimeout(),this._serverPingTimeout=setTimeout(()=>{this._isConnected()&&this._disconnect(o$.noPing,`no ping`,!0)},this._serverPing+this._config.maxServerPingDelay))}_getSubscribeContext(e,t){let n={channel:e,positioned:!1,recoverable:!1,wasRecovering:!1,recovered:!1};t.recovered&&(n.recovered=!0),t.positioned&&(n.positioned=!0),t.recoverable&&(n.recoverable=!0),t.was_recovering&&(n.wasRecovering=!0);let r=``;`epoch`in t&&(r=t.epoch);let i=0;return`offset`in t&&(i=t.offset),(n.positioned||n.recoverable)&&(n.streamPosition={offset:i,epoch:r}),t.data&&(n.data=t.data),n}_handleReply(e,t){let n=e.id;if(!(n in this._callbacks)){t();return}let r=this._callbacks[n];if(clearTimeout(this._callbacks[n].timeout),delete this._callbacks[n],_$(e)){let n=r.errback;if(!n){t();return}let i=e.error;n({error:i,next:t})}else{let n=r.callback;if(!n)return;n({reply:e,next:t})}}_handleJoin(e,t){let n=this._getSub(e);if(!n){if(this._isServerSub(e)){let n={channel:e,info:this._getJoinLeaveContext(t.info)};this.emit(`join`,n)}return}n._handleJoin(t)}_handleLeave(e,t){let n=this._getSub(e);if(!n){if(this._isServerSub(e)){let n={channel:e,info:this._getJoinLeaveContext(t.info)};this.emit(`leave`,n)}return}n._handleLeave(t)}_handleUnsubscribe(e,t){let n=this._getSub(e);if(!n){this._isServerSub(e)&&(delete this._serverSubs[e],this.emit
35(`unsubscribed`,{channel:e}));return}t.code<2500?n._setUnsubscribed(t.code,t.reason,!1):n._setSubscribing(t.code,t.reason)}_handleSubscribe(e,t){this._serverSubs[e]={offset:t.offset,epoch:t.epoch,recoverable:t.recoverable||!1},this.emit(`subscribed`,this._getSubscribeContext(e,t))}_handleDisconnect(e){let t=e.code,n=!0;(t>=3500&&t<4e3||t>=4500&&t<5e3)&&(n=!1),this._disconnect(t,e.reason,n)}_getPublicationContext(e,t){let n={channel:e,data:t.data};return t.offset&&(n.offset=t.offset),t.info&&(n.info=this._getJoinLeaveContext(t.info)),t.tags&&(n.tags=t.tags),n}_getJoinLeaveContext(e){let t={client:e.client,user:e.user};return e.conn_info&&(t.connInfo=e.conn_info),e.chan_info&&(t.chanInfo=e.chan_info),t}_handlePublication(e,t){let n=this._getSub(e);if(!n){if(this._isServerSub(e)){let n=this._getPublicationContext(e,t);this.emit(`publication`,n),t.offset!==void 0&&(this._serverSubs[e].offset=t.offset)}return}n._handlePublication(t)}_handleMessage(e){this.emit(`message`,{data:e.data})}_handleServerPing(e){this._sendPong&&this._transportSendCommands([{}]),e()}_handlePush(e,t){let n=e.channel;e.pub?this._handlePublication(n,e.pub):e.message?this._handleMessage(e.message):e.join?this._handleJoin(n,e.join):e.leave?this._handleLeave(n,e.leave):e.unsubscribe?this._handleUnsubscribe(n,e.unsubscribe):e.subscribe?this._handleSubscribe(n,e.subscribe):e.disconnect&&this._handleDisconnect(e.disconnect),t()}_flush(){let e=this._commands.slice(0);this._commands=[],this._transportSendCommands(e)}_createErrorObject(e,t,n){let r={code:e,message:t};return n&&(r.temporary=!0),r}_registerCall(e,t,n){this._callbacks[e]={callback:t,errback:n,timeout:null},this._callbacks[e].timeout=setTimeout(()=>{delete this._callbacks[e],p$(n)&&n({error:this._createErrorObject(a$.timeout,`timeout`)})},this._config.timeout)}_addCommand(e){this._batching?this._commands.push(e):this._transportSendCommands([e])}_nextPromiseId(){return++this._promiseId}_nextTransportId(){return++this._transportId}_resolvePromises(){for(let e in this._promises)this._promises[e].timeout&&clearTimeout(this._promises[e].timeout),this._promises[e].resolve(),delete this._promises[e]}_rejectPromises(e){for(let t in this._promises)this._promises[t].timeout&&clearTimeout(this._promises[t].timeout),this._promises[t].reject(e),delete this._promises[t]}};k$.SubscriptionState=d$,k$.State=u$,k$.UnauthorizedError=O$;var A$=function(e,t){return A$=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},A$(e,t)};function j$(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);A$(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var M$=function(){return M$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},M$.apply(this,arguments)};function N$(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}he(),Se(),y(),M();var P$=`11.3.0`;function F$(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(cF().__INTLIFY_PROD_DEVTOOLS__=!1)}var I$={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function L$(e,...t){return OF(e,null,void 0)}I$.UNEXPECTED_RETURN_TYPE,I$.INVALID_ARGUMENT,I$.MUST_BE_CALL_SETUP_TOP,I$.NOT_INSTALLED,I$.UNEXPECTED_ERROR,I$.REQUIRED_VALUE,I$.INVALID_VALUE,I$.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I$.NOT_INSTALLED_WITH_PROVIDE,I$.NOT_COMPATIBLE_LEGACY_VUE_I18N,I$.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var R$=ZP(`__translateVNode`),z$=ZP(`__datetimeParts`),B$=ZP(`__numberParts`),V$=ZP(`__setPluralRules`);ZP(`__intlifyMeta`);var H$=ZP(`__injectWithOption`),U$=ZP(`__dispose`),W$={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15};W$.FALLBACK_TO_ROOT,W$.NOT_FOUND_PARENT_SCOPE,W$.IGNORE_OBJ_FLATTEN,W$.DEPRECATE_LEGACY_MODE,W$.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,W$.DUPLICATE_USE_I18N_CALLING;function G$(e){if(!_F(e)||lI(e))return e;for(let t in e)if(pF(e,t))if(!t.includes(`.`))_F(e[t])&&G$(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);
35if(n[e]in i||(i[n[e]]=oF()),!_F(i[n[e]])){a=!0;break}i=i[n[e]]}if(a||(lI(i)?DI.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!lI(i)){let e=i[n[r]];_F(e)&&G$(e)}}return e}function K$(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=xF(n)?n:mF(r)?oF():{[e]:oF()};if(mF(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||oF(),TF(n,o[t])):TF(n,o)}else G(e)&&TF(JSON.parse(e),o)}),i==null&&a)for(let e in o)pF(o,e)&&G$(o[e]);return o}function q$(e){return e.type}function J$(e,t,n){let r=_F(t.messages)?t.messages:oF();`__i18nGlobal`in n&&(r=K$(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),_F(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(_F(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function Y$(e){return g(Ue,null,e,0)}function X$(){let e=`currentInstance`;return e in le?le[e]:N()}var Z$=()=>[],Q$=()=>!1,$$=0;function e1(e){return((t,n,r,i)=>e(n,r,X$()||void 0,i))}function t1(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=XP?_:P,o=gF(e.inheritLocale)?e.inheritLocale:!0,s=a(t&&o?t.locale.value:G(e.locale)?e.locale:uL),c=a(t&&o?t.fallbackLocale.value:G(e.fallbackLocale)||mF(e.fallbackLocale)||xF(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(K$(s.value,e)),u=a(xF(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(xF(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:gF(e.missingWarn)||nF(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:gF(e.fallbackWarn)||nF(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:gF(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,v=hF(e.missing)?e.missing:null,y=hF(e.missing)?e1(e.missing):null,b=hF(e.postTranslation)?e.postTranslation:null,x=t?t.warnHtmlMessage:gF(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,C=t?t.modifiers:xF(e.modifiers)?e.modifiers:{},w=e.pluralRules||t&&t.pluralRules,T;T=(()=>{r&&SL(null);let t={version:P$,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:C,pluralRules:w,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:p,fallbackFormat:g,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:x,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=xF(T)?T.__datetimeFormatters:void 0,t.__numberFormatters=xF(T)?T.__numberFormatters:void 0;let n=TL(t);return r&&SL(n),n})(),OL(T,s.value,c.value);function E(){return[s.value,c.value,l.value,u.value,d.value]}let D=m({get:()=>s.value,set:e=>{T.locale=e,s.value=e}}),O=m({get:()=>c.value,set:e=>{T.fallbackLocale=e,c.value=e,OL(T,s.value,e)}}),k=m(()=>l.value),A=m(()=>u.value),j=m(()=>d.value);function ee(){return hF(b)?b:null}function M(e){b=e,T.postTranslation=e}function N(){return v}function F(e){e!==null&&(y=e1(e)),v=e,T.missing=y}let I=(e,n,i,a,o,s)=>{E();let c;try{__INTLIFY_PROD_DEVTOOLS__,r||(T.fallbackContext=t?CL():void 0),c=e(T)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(T.fallbackContext=void 0)}if(i!==`translate exists`&&eF(c)&&c===-1||i===`translate exists`&&!c){let[e,r]=n();return t&&h?a(t):o(e)}else if(s(c))return c;else throw L$(I$.UNEXPECTED_RETURN_TYPE)};function L(...e){return I(t=>Reflect.apply(XL,null,[t,...e]),()=>tR(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>G(e))}function te(...e){let[t,n,r]=e;if(r&&!_F(r))throw L$(I$.INVALID_ARGUMENT);return L(t,n,iF({resolvedMessage:!0},r||{}))}function R(...e){return I(t=>Reflect.apply(ML,null,[t,...e]),()=>PL(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>G(e)||mF(e))}function ne(...e){return I(t=>Reflect.apply(IL,null,[t,...e]),()=>RL(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>G(e)||mF(e))}function z(e){return e.map(e=>G(e)||eF(e)||gF(e)?Y$(String(e)):e)}let re={normalize:z,interpolate:e=>e,type:`vnode`};function ie(...e){return I(t=>{let n,r=t;try{r.processor=re,n=Reflect.apply(XL,null,[r,...e])}finally{r.processor=null}return n},()=>tR(...e),`translate`,t=>t[R$](...e),e=>[Y$(e)],e=>mF(e))}function ae(...e){return I(t=>Reflect.apply(IL,null,[t,...e]),()=>RL(...e),`number format`,t=>t[B$](...e),Z$,e=>G(e)||mF(e))}function oe(...e){return I(t=>Reflect.apply(ML,null,[t,...e]),()=>PL(...e),`datetime format`,t=>t[z$](...e),Z$,e=>G(e)||mF(e))}function se(e){w=e,T.pluralRules=w}function ce(e,t){return I(()=>
35{if(!e)return!1;let n=G(t)?t:s.value,r=G(t)?[n]:JI(T,c.value,n);for(let t=0;t<r.length;t++){let n=de(r[t]),i=T.messageResolver(n,e);if(i===null&&(i=n[e]),lI(i)||YL(i)||G(i))return!0}return!1},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Q$,e=>gF(e))}function le(e){let t=null,n=JI(T,c.value,s.value);for(let r=0;r<n.length;r++){let i=l.value[n[r]]||{},a=T.messageResolver(i,e);if(a!=null){t=a;break}}return t}function ue(e){return le(e)??(t&&t.tm(e)||{})}function de(e){return l.value[e]||{}}function fe(e,t){if(i){let n={[e]:t};for(let e in n)pF(n,e)&&G$(n[e]);t=n[e]}l.value[e]=t,T.messages=l.value}function pe(e,t){l.value[e]=l.value[e]||{};let n={[e]:t};if(i)for(let e in n)pF(n,e)&&G$(n[e]);t=n[e],TF(t,l.value[e]),T.messages=l.value}function me(e){return u.value[e]||{}}function he(e,t){u.value[e]=t,T.datetimeFormats=u.value,FL(T,e,t)}function ge(e,t){u.value[e]=iF(u.value[e]||{},t),T.datetimeFormats=u.value,FL(T,e,t)}function _e(e){return d.value[e]||{}}function ve(e,t){d.value[e]=t,T.numberFormats=d.value,zL(T,e,t)}function ye(e,t){d.value[e]=iF(d.value[e]||{},t),T.numberFormats=d.value,zL(T,e,t)}$$++,t&&XP&&(B(t.locale,e=>{o&&(s.value=e,T.locale=e,OL(T,s.value,c.value))}),B(t.fallbackLocale,e=>{o&&(c.value=e,T.fallbackLocale=e,OL(T,s.value,c.value))}));let be={id:$$,locale:D,fallbackLocale:O,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,OL(T,s.value,c.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:k,get modifiers(){return C},get pluralRules(){return w||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,T.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,T.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(e){h=e},get fallbackFormat(){return g},set fallbackFormat(e){g=e,T.fallbackFormat=g},get warnHtmlMessage(){return x},set warnHtmlMessage(e){x=e,T.warnHtmlMessage=e},get escapeParameter(){return S},set escapeParameter(e){S=e,T.escapeParameter=e},t:L,getLocaleMessage:de,setLocaleMessage:fe,mergeLocaleMessage:pe,getPostTranslationHandler:ee,setPostTranslationHandler:M,getMissingHandler:N,setMissingHandler:F,[V$]:se};return be.datetimeFormats=A,be.numberFormats=j,be.rt=te,be.te=ce,be.tm=ue,be.d=R,be.n=ne,be.getDateTimeFormat=me,be.setDateTimeFormat=he,be.mergeDateTimeFormat=ge,be.getNumberFormat=_e,be.setNumberFormat=ve,be.mergeNumberFormat=ye,be[H$]=n,be[R$]=ie,be[z$]=oe,be[B$]=ae,be}function n1(e){let t=G(e.locale)?e.locale:uL,n=G(e.fallbackLocale)||mF(e.fallbackLocale)||xF(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=hF(e.missing)?e.missing:void 0,i=gF(e.silentTranslationWarn)||nF(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=gF(e.silentFallbackWarn)||nF(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=gF(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,c=xF(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,u=hF(e.postTranslation)?e.postTranslation:void 0,d=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!==`off`:!0,f=!!e.escapeParameterHtml,p=gF(e.sync)?e.sync:!0,m=e.messages;if(xF(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,n)=>(iF(e[n]||(e[n]={}),t[n]),e),m||{})}let{__i18n:h,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:b,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:l,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:g,__injectWithOption:_}}function r1(e={}){let t=t1(n1(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return gF(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=gF(e)?!e:e},get silentFallbackWarn(){return gF(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=gF(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function i1(e,t,n){return{beforeCreate(){let r=X$();if(!r)throw L$(I$.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=a1(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=r1(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=a1(e,i);else{this.$i18n=r1({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&J$(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>
35this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){let e=X$();if(!e)throw L$(I$.UNEXPECTED_ERROR);let t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function a1(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[V$](t.pluralizationRules||e.pluralizationRules);let n=K$(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var o1={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function s1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===Ge?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},oF())}function c1(){return Ge}var l1=T({name:`i18n-t`,props:iF({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>eF(e)||!isNaN(e)}},o1),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||b1({useScope:e.scope,__useComponent:!0});return()=>{let a=Object.keys(n).filter(e=>e[0]!==`_`),o=oF();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=G(e.plural)?+e.plural:e.plural);let s=s1(t,a),l=i[R$](e.keypath,s,o),u=iF(oF(),r);return c(G(e.tag)||_F(e.tag)?e.tag:c1(),u,l)}}});function u1(e){return mF(e)&&!G(e[0])}function d1(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t={part:!0},o=oF();e.locale&&(t.locale=e.locale),G(e.format)?t.key=e.format:_F(e.format)&&(G(e.format.key)&&(t.key=e.format.key),o=Object.keys(e.format).reduce((t,r)=>n.includes(r)?iF(oF(),t,{[r]:e.format[r]}):t,oF()));let s=r(e.value,t,o),l=[t.key];mF(s)?l=s.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];return u1(r)&&(r[0].key=`${e.type}-${t}`),r}):G(s)&&(l=[s]);let u=iF(oF(),a);return c(G(e.tag)||_F(e.tag)?e.tag:c1(),u,l)}}var f1=T({name:`i18n-n`,props:iF({value:{type:Number,required:!0},format:{type:[String,Object]}},o1),setup(e,t){let n=e.i18n||b1({useScope:e.scope,__useComponent:!0});return d1(e,t,LL,(...e)=>n[B$](...e))}});function p1(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function m1(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw L$(I$.UNEXPECTED_ERROR);let i=p1(e,n.$),a=h1(r);return[Reflect.apply(i.t,i,[...g1(a)]),i]};return{created:(e,n)=>{let[r,i]=t(n);XP&&(e.__i18nWatcher=B(i.locale,()=>{n.instance&&n.instance.$forceUpdate()})),e.__composer=i,e.textContent=r},unmounted:e=>{XP&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=h1(t);e.textContent=Reflect.apply(n.t,n,[...g1(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function h1(e){if(G(e))return{path:e};if(xF(e)){if(!(`path`in e))throw L$(I$.REQUIRED_VALUE,`path`);return e}else throw L$(I$.INVALID_VALUE)}function g1(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return G(n)&&(o.locale=n),eF(i)&&(o.plural=i),eF(a)&&(o.plural=a),[t,s,o]}function _1(e,t,...n){let r=xF(n[0])?n[0]:{};(!gF(r.globalInstall)||r.globalInstall)&&([l1.name,`I18nT`].forEach(t=>e.component(t,l1)),[f1.name,`I18nN`].forEach(t=>e.component(t,f1)),[j1.name,`I18nD`].forEach(t=>e.component(t,j1))),e.directive(`t`,m1(t))}var v1=ZP(`global-vue-i18n`);function y1(e={}){let t=gF(e.legacy)?e.legacy:!0,n=gF(e.globalInjection)?e.globalInjection:!0,r=new Map,[i,a]=x1(e,t),o=ZP(``);function s(e){return r.get(e)||null}function c(e,t){r.set(e,t)}function l(e){r.delete(e)}let u={get mode(){return t?`legacy`:`composition`}
35,async install(e,...r){if(e.__VUE_I18N_SYMBOL__=o,e.provide(e.__VUE_I18N_SYMBOL__,u),xF(r[0])){let e=r[0];u.__composerExtend=e.__composerExtend,u.__vueI18nExtend=e.__vueI18nExtend}let i=null;!t&&n&&(i=A1(e,u.global)),_1(e,u,...r),t&&e.mixin(i1(a,a.__composer,u));let s=e.unmount;e.unmount=()=>{i&&i(),u.dispose(),s()}},get global(){return a},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:c,__deleteInstance:l};return u}function b1(e={}){let t=X$();if(t==null)throw L$(I$.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw L$(I$.NOT_INSTALLED);let n=S1(t),r=w1(n),i=q$(t),a=C1(e,i);if(a===`global`)return J$(r,e,i),r;if(a===`parent`){let i=T1(n,t,e.__useComponent);return i??(i=r),i}let o=n,s=o.__getInstance(t);if(s==null){let n=iF({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=t1(n),o.__composerExtend&&(s[U$]=o.__composerExtend(s)),D1(o,t,s),o.__setInstance(t,s)}return s}function x1(e,t){let n=p(),r=t?n.run(()=>r1(e)):n.run(()=>t1(e));if(r==null)throw L$(I$.UNEXPECTED_ERROR);return[n,r]}function S1(e){let t=F(e.isCE?v1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw L$(e.isCE?I$.NOT_INSTALLED_WITH_PROVIDE:I$.UNEXPECTED_ERROR);return t}function C1(e,t){return rF(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function w1(e){return e.mode===`composition`?e.global:e.global.__composer}function T1(e,t,n=!1){let r=null,i=t.root,a=E1(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else{let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[H$]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function E1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function D1(e,t,n){Be(()=>{},t),Oe(()=>{let r=n;e.__deleteInstance(t);let i=r[U$];i&&(i(),delete r[U$])},t)}var O1=[`locale`,`fallbackLocale`,`availableLocales`],k1=[`t`,`rt`,`d`,`n`,`tm`,`te`];function A1(e,t){let n=Object.create(null);return O1.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw L$(I$.UNEXPECTED_ERROR);let i=s(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,k1.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw L$(I$.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,k1.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}var j1=T({name:`i18n-d`,props:iF({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},o1),setup(e,t){let n=e.i18n||b1({useScope:e.scope,__useComponent:!0});return d1(e,t,NL,(...e)=>n[z$](...e))}});if(F$(),mL(II),gL(sL),vL(JI),__INTLIFY_PROD_DEVTOOLS__){let e=cF();e.__INTLIFY__=!0,RI(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var M1=e=>e instanceof Date,N1=e=>Object.keys(e).length===0,P1=e=>typeof e==`object`&&!!e,F1=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),I1=e=>P1(e)&&N1(e),L1=()=>Object.create(null),R1=(e,t)=>{if(e===t)return{};if(!P1(e)||!P1(t))return t;let n=Object.keys(e).reduce((e,n)=>(F1(t,n)||(e[n]=void 0),e),L1());return M1(e)||M1(t)?e.valueOf()==t.valueOf()?{}:t:Object.keys(t).reduce((n,r)=>{if(!F1(e,r))return n[r]=t[r],n;let i=R1(e[r],t[r]);return I1(i)&&!M1(i)&&(I1(e[r])||!I1(t[r]))||(n[r]=i),n},n)},z1=(e,t)=>e===t||!P1(e)||!P1(t)?{}:Object.keys(t).reduce((n,r)=>{if(F1(e,r)){let i=z1(e[r],t[r]);return P1(i)&&N1(i)||(n[r]=i),n}return n[r]=t[r],n},L1()),B1=(e,t)=>e===t||!P1(e)||!P1(t)?{}:Object.keys(e).reduce((n,r)=>{if(F1(t,r)){let i=B1(e[r],t[r]);return P1(i)&&N1(i)||(n[r]=i),n}return n[r]=void 0,n},L1()),V1=(e,t)=>e===t?{}:!P1(e)||!P1(t)?t:M1(e)||M1(t)?e.valueOf()==t.valueOf()?{}:t:Object.keys(t).reduce((n,r)=>{if(F1(e,r)){let i=V1(e[r],t[r]);return I1(i)&&!M1(i)&&(I1(e[r])||!I1(t[r]))||(n[r]=i),n}return n},L1()),H1=(e,t)=>({added:z1(e,t),deleted:B1(e,t),updated:V1(e,t)});function U1(){let e=Object.create(null);return{getCache:(t,n)=>e[t]===void 0?e[t]=typeof n==`function`?n():n:e[t],setCache(t,n){e[t]=n},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t===void 0?e=Object.create(null):delete e[t]}}}var W1=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];
35function G1(e,t,n){return Object.prototype.toString.call(e)===`[object Date]`&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Q1($1(e,t,n))}function K1(e,t,n){return e0(Z1(e,t,n))}function q1(e){return Y1(e)===0}function J1(e,t){return t<=6?31:t<=11||q1(e)?30:29}function Y1(e){let t=W1.length,n=W1[0],r,i,a,o,s;if(e<n||e>=W1[t-1])throw Error(`Invalid Jalaali year `+e);for(s=1;s<t&&(r=W1[s],i=r-n,!(e<r));s+=1)n=r;return o=e-n,i-o<6&&(o=o-i+t0(i+4,33)*33),a=n0(n0(o+1,33)-1,4),a===-1&&(a=4),a}function X1(e,t){let n=W1.length,r=e+621,i=-14,a=W1[0],o,s,c,l,u;if(e<a||e>=W1[n-1])throw Error(`Invalid Jalaali year `+e);for(u=1;u<n&&(o=W1[u],s=o-a,!(e<o));u+=1)i=i+t0(s,33)*8+t0(n0(s,33),4),a=o;l=e-a,i=i+t0(l,33)*8+t0(n0(l,33)+3,4),n0(s,33)===4&&s-l===4&&(i+=1);let d=t0(r,4)-t0((t0(r,100)+1)*3,4)-150,f=20+i-d;return t||(s-l<6&&(l=l-s+t0(s+4,33)*33),c=n0(n0(l+1,33)-1,4),c===-1&&(c=4)),{leap:c,gy:r,march:f}}function Z1(e,t,n){let r=X1(e,!0);return $1(r.gy,3,r.march)+(t-1)*31-t0(t,7)*(t-7)+n-1}function Q1(e){let t=e0(e).gy,n=t-621,r,i,a,o=X1(n,!1);if(a=e-$1(t,3,o.march),a>=0){if(a<=185)return i=1+t0(a,31),r=n0(a,31)+1,{jy:n,jm:i,jd:r};a-=186}else--n,a+=179,o.leap===1&&(a+=1);return i=7+t0(a,30),r=n0(a,30)+1,{jy:n,jm:i,jd:r}}function $1(e,t,n){let r=t0((e+t0(t-8,6)+100100)*1461,4)+t0(153*n0(t+9,12)+2,5)+n-34840408;return r=r-t0(t0(e+100100+t0(t-8,6),100)*3,4)+752,r}function e0(e){let t=4*e+139361631;t=t+t0(t0(4*e+183187720,146097)*3,4)*4-3908;let n=t0(n0(t,1461),4)*5+308,r=t0(n0(n,153),5)+1,i=n0(t0(n,153),12)+1;return{gy:t0(t,1461)-100100+t0(8-i,6),gm:i,gd:r}}function t0(e,t){return~~(e/t)}function n0(e,t){return e-~~(e/t)*t}y();var r0=[`gregorian`,`persian`],i0={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>r0.includes(e),default:`gregorian`},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},a0=[`update:modelValue`];function o0(e){return e.year+`/`+pN(e.month)+`/`+pN(e.day)}function s0(e,t){let n=m(()=>e.disable!==!0&&e.readonly!==!0),r=m(()=>n.value===!0?0:-1),i=m(()=>{let t=[];return e.color!==void 0&&t.push(`bg-${e.color}`),e.textColor!==void 0&&t.push(`text-${e.textColor}`),t.join(` `)});function a(){return e.locale===void 0?t.lang.date:{...t.lang.date,...e.locale}}function o(t){let n=new Date,r=t===!0?null:0;if(e.calendar===`persian`){let e=G1(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:r,minute:r,second:r,millisecond:r}}return{editable:n,tabindex:r,headerClass:i,getLocale:a,getCurrentDate:o}}var c0=864e5,l0=36e5,u0=6e4,d0=`YYYY-MM-DDTHH:mm:ss.SSSZ`,f0=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,p0=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,m0={};function h0(e,t){let n=`(`+t.days.join(`|`)+`)`,r=e+n;if(m0[r]!==void 0)return m0[r];let i=`(`+t.daysShort.join(`|`)+`)`,a=`(`+t.months.join(`|`)+`)`,o=`(`+t.monthsShort.join(`|`)+`)`,s={},c=0,l=e.replace(p0,e=>{switch(c++,e){case`YY`:return s.YY=c,`(-?\\d{1,2})`;case`YYYY`:return s.YYYY=c,`(-?\\d{1,4})`;case`M`:return s.M=c,`(\\d{1,2})`;case`Mo`:return s.M=c++,`(\\d{1,2}(st|nd|rd|th))`;case`MM`:return s.M=c,`(\\d{2})`;case`MMM`:return s.MMM=c,o;case`MMMM`:return s.MMMM=c,a;case`D`:return s.D=c,`(\\d{1,2})`;case`Do`:return s.D=c++,`(\\d{1,2}(st|nd|rd|th))`;case`DD`:return s.D=c,`(\\d{2})`;case`H`:return s.H=c,`(\\d{1,2})`;case`HH`:return s.H=c,`(\\d{2})`;case`h`:return s.h=c,`(\\d{1,2})`;case`hh`:return s.h=c,`(\\d{2})`;case`m`:return s.m=c,`(\\d{1,2})`;case`mm`:return s.m=c,`(\\d{2})`;case`s`:return s.s=c,`(\\d{1,2})`;case`ss`:return s.s=c,`(\\d{2})`;case`S`:return s.S=c,`(\\d{1})`;case`SS`:return s.S=c,`(\\d{2})`;case`SSS`:return s.S=c,`(\\d{3})`;case`A`:return s.A=c,`(AM|PM)`;case`a`:return s.a=c,`(am|pm)`;case`aa`:return s.aa=c,`(a\\.m\\.|p\\.m\\.)`;case`ddd`:return i;case`dddd`:return n;case`Q`:case`d`:case`E`:return`(\\d{1})`;case`do`:return c++,`(\\d{1}(st|nd|rd|th))`;case`Qo`:return`(1st|2nd|3rd|4th)`;case`DDD`:case`DDDD`:return`(\\d{1,3})`;case`DDDo`:return c++,`(\\d{1,3}(st|nd|rd|th))`;case`w`:return`(\\d{1,2})`;case`wo`:return c++,`(\\d{1,2}(st|nd|rd|th))`;case`ww`:return`(\\d{2})`;case`Z`:return s.Z=c,`(Z|[+-]\\d{2}:\\d{2})`;case`ZZ`:return s.ZZ=c,`(Z|[+-]\\d{2}\\d{2})`;case`X`:return s.X=c,`(-?\\d+)`;case`x`:return s.x=c,`(-?\\d{4,})`;default:return c--,e[0]===`[`&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}}),u={map:s,regex:RegExp(`^`+l)};return m0[r]=u,u}function g0(e,t){return e===void 0?t===void 0?mj.date:t.date:e}function _0(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.floor(r/60),a=r%60;return n+pN(i)+t+pN(a)}function v0(e,t,n,r,i){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(i!==void 0&&Object.assign(a,i),e==null||e===``||typeof e!=`string`)return a;t===void 0&&(t=d0);let o=g0(n,gj.props),s=o.months,c=o.monthsShort,{regex:l,map:u}=h0(t,o),d=e.match(l);if(d===null)return a;let f=``;if(u.X!==void 0||u.x!==void 0){let e=parseInt(d[u.X===void 0?u.x:u.X],10);if(isNaN(e)===!0||e<0)return a;let t=new Date(e*(u.X===void 0?1:1e3));a.year=t.getFullYear(),a.month=t.getMonth()+1,a.day=t.getDate(),a.hour=t.getHours(),a.minute=t.getMinutes(),a.second=t.getSeconds(),a.millisecond=t.getMilliseconds()}else{if(u.YYYY!==void 0)a.year=parseInt(d[u.YYYY],10);else if(u.YY!==void 0){let e=parseInt(d[u.YY],10);a.year=e<0?e:2e3+e}if(u.M!==void 0){if(a.month=parseInt(d[u.M],10),a.month<1||a.month>12)return a}else u.MMM===void 0?u.MMMM!==void 0&&(a.month=s.indexOf(d[u.MMMM])+1):a.month=c.indexOf(d[u.MMM])+1;if(u.D!==void 0){if(a.day=parseInt(d[u.D],10),a.year===null||a.month===null||a.day<1)return a;let e=r===`persian`?J1(a.year,a.month):new Date(a.year,a.month,0).getDate();if(a.day>e)return a}u.H===void 0?u.h!==void 0&&(a.hour=parseInt(d[u.h],10)%12,(u.A&&d[u.A]===`PM`||u.a&&d[u.a]===`pm`||u.aa&&d[u.aa]===`p.m.`)&&(a.hour+=12),a.hour%=24):a.hour=parseInt(d[u.H],10)%24,u.m!==void 0&&(a.minute=parseInt(d[u.m],10)%60),u.s!==void 0&&(a.second=parseInt(d[u.s],10)%60),u.S!==void 0&&(a.millisecond=parseInt(d[u.S],10)*10**(3-d[u.S].length)),(u.Z!==void 0||u.ZZ!==void 0)&&(f=u.Z===void 0?d[u.ZZ]:d[u.Z].replace(`:`,``),a.timezoneOffset=(f[0]===`+`?-1:1)*(60*f.slice(1,3)+1*f.slice(3,5)))}return a.dateHash=pN(a.year,6)+`/`+pN(a.month)+`/`+pN(a.day),a.timeHash=pN(a.hour)+`:`+pN(a.minute)+`:`+pN(a.second)+f,a}function y0(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);let r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);let i=(t-n)/(c0*7);return 1+Math.floor(i)}
35function b0(e,t,n){let r=new Date(e),i=`set${n===!0?`UTC`:``}`;switch(t){case`year`:case`years`:r[`${i}Month`](0);case`month`:case`months`:r[`${i}Date`](1);case`day`:case`days`:case`date`:r[`${i}Hours`](0);case`hour`:case`hours`:r[`${i}Minutes`](0);case`minute`:case`minutes`:r[`${i}Seconds`](0);case`second`:case`seconds`:r[`${i}Milliseconds`](0)}return r}function x0(e,t,n){return(e.getTime()-e.getTimezoneOffset()*u0-(t.getTime()-t.getTimezoneOffset()*u0))/n}function S0(e,t,n=`days`){let r=new Date(e),i=new Date(t);switch(n){case`years`:case`year`:return r.getFullYear()-i.getFullYear();case`months`:case`month`:return(r.getFullYear()-i.getFullYear())*12+r.getMonth()-i.getMonth();case`days`:case`day`:case`date`:return x0(b0(r,`day`),b0(i,`day`),c0);case`hours`:case`hour`:return x0(b0(r,`hour`),b0(i,`hour`),l0);case`minutes`:case`minute`:return x0(b0(r,`minute`),b0(i,`minute`),u0);case`seconds`:case`second`:return x0(b0(r,`second`),b0(i,`second`),1e3)}}function C0(e){return S0(e,b0(e,`year`),`days`)+1}function w0(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}var T0={YY(e,t,n){let r=this.YYYY(e,t,n)%100;return r>=0?pN(r):`-`+pN(Math.abs(r))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return w0(e.getMonth()+1)},MM(e){return pN(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return w0(this.Q(e))},D(e){return e.getDate()},Do(e){return w0(e.getDate())},DD(e){return pN(e.getDate())},DDD(e){return C0(e)},DDDo(e){return w0(C0(e))},DDDD(e){return pN(C0(e),3)},d(e){return e.getDay()},do(e){return w0(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return y0(e)},wo(e){return w0(y0(e))},ww(e){return pN(y0(e))},H(e){return e.getHours()},HH(e){return pN(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return pN(this.h(e))},m(e){return e.getMinutes()},mm(e){return pN(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return pN(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return pN(Math.floor(e.getMilliseconds()/10))},SSS(e){return pN(e.getMilliseconds(),3)},A(e){return e.getHours()<12?`AM`:`PM`},a(e){return e.getHours()<12?`am`:`pm`},aa(e){return e.getHours()<12?`a.m.`:`p.m.`},Z(e,t,n,r){return _0(r??e.getTimezoneOffset(),`:`)},ZZ(e,t,n,r){return _0(r??e.getTimezoneOffset())},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function E0(e,t,n,r,i){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=d0);let o=g0(n,gj.props);return t.replace(f0,(e,t)=>e in T0?T0[e](a,o,r,i):t===void 0?e:t.split(`\\]`).join(`]`))}y(),Se(),he();var D0=20,O0=[`Calendar`,`Years`,`Months`],k0=e=>O0.includes(e),A0=e=>/^-?[\d]+\/[0-1]\d$/.test(e),j0=` — `;function M0(e){return e.year+`/`+pN(e.month)}var N0=Ey({name:`QDate`,props:{...i0,...kT,...Xb,modelValue:{required:!0,validator:e=>typeof e==`string`||Array.isArray(e)===!0||Object(e)===e||e===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...i0.mask,default:`YYYY/MM/DD`},defaultYearMonth:{type:String,validator:A0},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:A0},navigationMaxYearMonth:{type:String,validator:A0},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:`Calendar`,validator:k0}},emits:[...a0,`rangeStart`,`rangeEnd`,`navigation`],setup(e,{slots:t,emit:n}){let{proxy:r}=N(),{$q:i}=r,a=Zb(e,i),{getCache:o}=U1(),{tabindex:s,headerClass:l,getLocale:u,getCurrentDate:d}=s0(e,i),f,p=jT(AT(e)),h=_(null),g=_(ke()),v=_(u()),y=m(()=>ke()),b=m(()=>u()),x=m(()=>d()),C=_(je(g.value,v.value)),w=_(e.defaultView),T=m(()=>i.lang.rtl===!0?`right`:`left`),E=_(T.value),D=_(T.value),O=C.value.year,k=_(O-O%D0-(O<0?D0:0)),A=_(null),j=m(()=>{let t=e.landscape===!0?`landscape`:`portrait`;return`q-date q-date--${t} q-date--${t}-${e.minimal===!0?`minimal`:`standard`}
35`+(a.value===!0?` q-date--dark q-dark`:``)+(e.bordered===!0?` q-date--bordered`:``)+(e.square===!0?` q-date--square no-border-radius`:``)+(e.flat===!0?` q-date--flat no-shadow`:``)+(e.disable===!0?` disabled`:e.readonly===!0?` q-date--readonly`:``)}),ee=m(()=>e.color||`primary`),M=m(()=>e.textColor||`white`),P=m(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),F=m(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),I=m(()=>F.value.filter(e=>typeof e==`string`).map(e=>Ae(e,g.value,v.value)).filter(e=>e.dateHash!==null&&e.day!==null&&e.month!==null&&e.year!==null)),L=m(()=>{let e=e=>Ae(e,g.value,v.value);return F.value.filter(e=>bj(e)===!0&&e.from!==void 0&&e.to!==void 0).map(t=>({from:e(t.from),to:e(t.to)})).filter(e=>e.from.dateHash!==null&&e.to.dateHash!==null&&e.from.dateHash<e.to.dateHash)}),te=m(()=>e.calendar===`persian`?e=>{let t=K1(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)}:e=>new Date(e.year,e.month-1,e.day)),R=m(()=>e.calendar===`persian`?o0:(e,t,n)=>E0(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),t===void 0?g.value:t,n===void 0?v.value:n,e.year,e.timezoneOffset)),ne=m(()=>I.value.length+L.value.reduce((e,t)=>e+1+S0(te.value(t.to),te.value(t.from)),0)),z=m(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(A.value!==null){let e=A.value.init,t=te.value(e);return v.value.daysShort[t.getDay()]+`, `+v.value.monthsShort[e.month-1]+` `+e.day+` — ?`}if(ne.value===0)return j0;if(ne.value>1)return`${ne.value} ${v.value.pluralDay}`;let t=I.value[0],n=te.value(t);return isNaN(n.valueOf())===!0?j0:v.value.headerTitle===void 0?v.value.daysShort[n.getDay()]+`, `+v.value.monthsShort[t.month-1]+` `+t.day:v.value.headerTitle(n,t)}),re=m(()=>I.value.concat(L.value.map(e=>e.from)).sort((e,t)=>e.year-t.year||e.month-t.month)[0]),ie=m(()=>I.value.concat(L.value.map(e=>e.to)).sort((e,t)=>t.year-e.year||t.month-e.month)[0]),ae=m(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(ne.value===0)return j0;if(ne.value>1){let e=re.value,t=ie.value,n=v.value.monthsShort;return n[e.month-1]+(e.year===t.year?e.month===t.month?``:j0+n[t.month-1]:` `+e.year+j0+n[t.month-1]+` `)+` `+t.year}return I.value[0].year}),oe=m(()=>{let e=[i.iconSet.datetime.arrowLeft,i.iconSet.datetime.arrowRight];return i.lang.rtl===!0?e.reverse():e}),se=m(()=>e.firstDayOfWeek===void 0?v.value.firstDayOfWeek:Number(e.firstDayOfWeek)),ce=m(()=>{let e=v.value.daysShort,t=se.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e}),le=m(()=>{let t=C.value;return e.calendar===`persian`?J1(t.year,t.month):new Date(t.year,t.month,0).getDate()}),ue=m(()=>typeof e.eventColor==`function`?e.eventColor:()=>e.eventColor),de=m(()=>{if(e.navigationMinYearMonth===void 0)return null;let t=e.navigationMinYearMonth.split(`/`);return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}),fe=m(()=>{if(e.navigationMaxYearMonth===void 0)return null;let t=e.navigationMaxYearMonth.split(`/`);return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}),pe=m(()=>{let e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return de.value!==null&&de.value.year>=C.value.year&&(e.year.prev=!1,de.value.year===C.value.year&&de.value.month>=C.value.month&&(e.month.prev=!1)),fe.value!==null&&fe.value.year<=C.value.year&&(e.year.next=!1,fe.value.year===C.value.year&&fe.value.month<=C.value.month&&(e.month.next=!1)),e}),me=m(()=>{let e={};return I.value.forEach(t=>{let n=M0(t);e[n]===void 0&&(e[n]=[]),e[n].push(t.day)}),e}),he=m(()=>{let e={};return L.value.forEach(t=>{let n=M0(t.from),r=M0(t.to);if(e[n]===void 0&&(e[n]=[]),e[n].push({from:t.from.day,to:n===r?t.to.day:void 0,range:t}),n<r){let n,{year:i,month:a}=t.from,o=a<12?{year:i,month:a+1}:{year:i+1,month:1};for(;(n=M0(o))<=r;)e[n]===void 0&&(e[n]=[]),e[n].push({from:void 0,to:n===r?t.to.day:void 0,range:t}),o.month++,o.month>12&&(o.year++,o.month=1)}}),e}),ge=m(()=>{if(A.value===null)return;let{init:e,initHash:t,final:n,finalHash:r}=A.value,[i,a]=t<=r?[e,n]:[n,e],o=M0(i),s=M0(a);if(o!==_e.value&&s!==_e.value)return;let c={};return o===_e.value?(c.from=i.day,c.includeFrom=!0):c.from=1,s===_e.value?(c.to=a.day,c.includeTo=!0):c.to=le.value,c}),_e=m(()=>M0(C.value)),ve=m(()=>{let t={};if(e.options===void 0){for(let e=1;e<=le.value;e++)t[e]=!0;return t}
35let n=typeof e.options==`function`?e.options:t=>e.options.includes(t);for(let e=1;e<=le.value;e++)t[e]=n(_e.value+`/`+pN(e));return t}),ye=m(()=>{let t={};if(e.events===void 0)for(let e=1;e<=le.value;e++)t[e]=!1;else{let n=typeof e.events==`function`?e.events:t=>e.events.includes(t);for(let e=1;e<=le.value;e++){let r=_e.value+`/`+pN(e);t[e]=n(r)===!0&&ue.value(r)}}return t}),be=m(()=>{let t,n,{year:r,month:i}=C.value;if(e.calendar!==`persian`)t=new Date(r,i-1,1),n=new Date(r,i-1,0).getDate();else{let e=K1(r,i,1);t=new Date(e.gy,e.gm-1,e.gd);let a=i-1,o=r;a===0&&(a=12,o--),n=J1(o,a)}return{days:t.getDay()-se.value-1,endDay:n}}),xe=m(()=>{let e=[],{days:t,endDay:n}=be.value,r=t<0?t+7:t;if(r<6)for(let t=n-r;t<=n;t++)e.push({i:t,fill:!0});let i=e.length;for(let t=1;t<=le.value;t++){let n={i:t,event:ye.value[t],classes:[]};ve.value[t]===!0&&(n.in=!0,n.flat=!0),e.push(n)}if(me.value[_e.value]!==void 0&&me.value[_e.value].forEach(t=>{let n=i+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:ee.value,textColor:M.value})}),he.value[_e.value]!==void 0&&he.value[_e.value].forEach(t=>{if(t.from!==void 0){let n=i+t.from-1,r=i+(t.to||le.value)-1;for(let i=n;i<=r;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:ee.value,textColor:M.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),t.to!==void 0&&Object.assign(e[r],{rangeTo:!0,flat:!1})}else if(t.to!==void 0){let n=i+t.to-1;for(let r=i;r<=n;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:ee.value,textColor:M.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{let n=i+le.value-1;for(let r=i;r<=n;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:ee.value,textColor:M.value})}}),ge.value!==void 0){let t=i+ge.value.from-1,n=i+ge.value.to-1;for(let r=t;r<=n;r++)e[r].color=ee.value,e[r].editRange=!0;ge.value.includeFrom===!0&&(e[t].editRangeFrom=!0),ge.value.includeTo===!0&&(e[n].editRangeTo=!0)}C.value.year===x.value.year&&C.value.month===x.value.month&&(e[i+x.value.day-1].today=!0);let a=e.length%7;if(a>0){let t=7-a;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach(e=>{let t=`q-date__calendar-item `;e.fill===!0?t+=`q-date__calendar-item--fill`:(t+=`q-date__calendar-item--${e.in===!0?`in`:`out`}`,e.range!==void 0&&(t+=` q-date__range${e.rangeTo===!0?`-to`:e.rangeFrom===!0?`-from`:``}`),e.editRange===!0&&(t+=` q-date__edit-range${e.editRangeFrom===!0?`-from`:``}${e.editRangeTo===!0?`-to`:``}`),(e.range!==void 0||e.editRange===!0)&&(t+=` text-${e.color}`)),e.classes=t}),e}),Se=m(()=>e.disable===!0?{"aria-disabled":`true`}:{});B(()=>e.modelValue,e=>{if(f===e)f=0;else{let e=je(g.value,v.value);ze(e.year,e.month,e)}}),B(w,()=>{h.value!==null&&r.$el.contains(document.activeElement)===!0&&h.value.focus()}),B(()=>C.value.year+`|`+C.value.month,()=>{n(`navigation`,{year:C.value.year,month:C.value.month})}),B(y,e=>{Ke(e,v.value,`mask`),g.value=e}),B(b,e=>{Ke(g.value,e,`locale`),v.value=e});function we(){let{year:e,month:t,day:n}=x.value,r={...C.value,year:e,month:t,day:n},i=me.value[M0(r)];(i===void 0||i.includes(r.day)===!1)&&We(r),De(r.year,r.month)}function Te(e){k0(e)===!0&&(w.value=e)}function Ee(e,t){[`month`,`year`].includes(e)&&(e===`month`?Ne:Pe)(t===!0?-1:1)}function De(e,t){w.value=`Calendar`,ze(e,t)}function Oe(t,n){if(e.range===!1||!t){A.value=null;return}let r=Object.assign({...C.value},t),i=n===void 0?r:Object.assign({...C.value},n);A.value={init:r,initHash:o0(r),final:i,finalHash:o0(i)},De(r.year,r.month)}function ke(){return e.calendar===`persian`?`YYYY/MM/DD`:e.mask}function Ae(t,n,r){return v0(t,n,r,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function je(t,n){let r=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(r.length===0)return Me();let i=r[r.length-1],a=Ae(i.from===void 0?i:i.from,t,n);return a.dateHash===null?Me():a}function Me(){let t,n;if(e.defaultYearMonth!==void 0){let r=e.defaultYearMonth.split(`/`);t=parseInt(r[0],10),n=parseInt(r[1],10)}else{let e=x.value===void 0?d():x.value;t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+`/`+pN(n)+`/01`}}function Ne(e){let t=C.value.year,n=Number(C.value.month)+e;n===13?(n=1,t++):n===0&&(n=12,t--),ze(t,n),P.value===!0&&Ve(`month`)}function Pe(e){ze(Number(C.value.year)+e,C.value.month),P.value===!0&&Ve(`year`)}function Fe(t){ze(t,C.value.month),w.value=e.defaultView===`Years`?`Months`:`Calendar`,P.value===!0&&Ve(`year`)}function Ie(e){ze(C.value.year,e),w.value=`Calendar`,P.value===!0&&Ve(`month`)}function Le(e,t){let n=me.value[t];(n!==void 0&&n.includes(e.day)===!0?Ge:We)(e)}function Re(e){return{year:e.year,month:e.month,day:e.day}}function ze(e,t,n){if(de.value!==null&&e<=de.value.year&&((t<de.value.month||e<de.value.year)&&(t=de.value.month),e=de.value.year),fe.value!==null&&e>=fe.value.year&&((t>fe.value.month||e>fe.value.year)&&(t=fe.value.month),e=fe.value.year),n!==void 0){let{hour:e,minute:t,second:r,millisecond:i,timezoneOffset:a,timeHash:o}=n;Object.assign(C.value,{hour:e,minute:t,second:r,millisecond:i,timezoneOffset:a,timeHash:o})}let r=e+`/`+pN(t)+`/01`;r!==C.value.dateHash&&(E.value=C.value.dateHash<r==(i.lang.rtl!==!0)?`left`:`right`,e!==C.value.year&&(D.value=E.value),S(()=>{k.value=e-e%D0-(e<0?D0:0),Object.assign(C.value,{year:e,month:t,day:1,dateHash:r})}))}function Be(t,r,i){let a=t!==null&&t.length===1&&e.multiple===!1?t[0]:t;f=a;let{reason:o,details:s}=He(r,i);n(`update:modelValue`,a,o,s)}function Ve(t){let r=I.value[0]!==void 0&&I.value[0].dateHash!==null?{...I.value[0]}:{...C.value};S(()=>{r.year=C.value.year,r.month=C.value.month;let i=e.calendar===`persian`?J1(r.year,r.month):new Date(r.year,r.month,0).getDate();r.day=Math.min(Math.max(1,r.day),i);let a=Ue(r);f=a;let{details:o}=He(``,r);n(`update:modelValue`,a,t,o)})}function He(e,t){return t.from===void 0?{reason:`${e}-day`,details:Re(t)}:{reason:`${e}-range`,details:{...Re(t.target),from:Re(t.from),to:Re(t.to)}}}
35function Ue(e,t,n){return e.from===void 0?R.value(e,t,n):{from:R.value(e.from,t,n),to:R.value(e.to,t,n)}}function We(t){let n;if(e.multiple===!0)if(t.from!==void 0){let e=o0(t.from),r=o0(t.to),i=I.value.filter(t=>t.dateHash<e||t.dateHash>r),a=L.value.filter(({from:t,to:n})=>n.dateHash<e||t.dateHash>r);n=i.concat(a).concat(t).map(e=>Ue(e))}else{let e=F.value.slice();e.push(Ue(t)),n=e}else n=Ue(t);Be(n,`add`,t)}function Ge(t){if(e.noUnset===!0)return;let n=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let r=Ue(t);n=t.from===void 0?e.modelValue.filter(e=>e!==r):e.modelValue.filter(e=>e.from===void 0?!0:e.from!==r.from&&e.to!==r.to),n.length===0&&(n=null)}Be(n,`remove`,t)}function Ke(t,r,i){let a=I.value.concat(L.value).map(e=>Ue(e,t,r)).filter(e=>e.from===void 0?e.dateHash!==null:e.from.dateHash!==null&&e.to.dateHash!==null);n(`update:modelValue`,(e.multiple===!0?a:a[0])||null,i)}function qe(){if(e.minimal!==!0)return c(`div`,{class:`q-date__header `+l.value},[c(`div`,{class:`relative-position`},[c(Ce,{name:`q-transition--fade`},()=>c(`div`,{key:`h-yr-`+ae.value,class:`q-date__header-subtitle q-date__header-link `+(w.value===`Years`?`q-date__header-link--active`:`cursor-pointer`),tabindex:s.value,...o(`vY`,{onClick(){w.value=`Years`},onKeyup(e){e.keyCode===13&&(w.value=`Years`)}})},[ae.value]))]),c(`div`,{class:`q-date__header-title relative-position flex no-wrap`},[c(`div`,{class:`relative-position col`},[c(Ce,{name:`q-transition--fade`},()=>c(`div`,{key:`h-sub`+z.value,class:`q-date__header-title-label q-date__header-link `+(w.value===`Calendar`?`q-date__header-link--active`:`cursor-pointer`),tabindex:s.value,...o(`vC`,{onClick(){w.value=`Calendar`},onKeyup(e){e.keyCode===13&&(w.value=`Calendar`)}})},[z.value]))]),e.todayBtn===!0?c(Yb,{class:`q-date__header-today self-start`,icon:i.iconSet.datetime.today,flat:!0,size:`sm`,round:!0,tabindex:s.value,onClick:we}):null])])}function Je({label:e,type:t,key:n,dir:r,goTo:i,boundaries:a,cls:l}){return[c(`div`,{class:`row items-center q-date__arrow`}
35,[c(Yb,{round:!0,dense:!0,size:`sm`,flat:!0,icon:oe.value[0],tabindex:s.value,disable:a.prev===!1,...o(`go-#`+t,{onClick(){i(-1)}})})]),c(`div`,{class:`relative-position overflow-hidden flex flex-center`+l},[c(Ce,{name:`q-transition--jump-`+r},()=>c(`div`,{key:n},[c(Yb,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:s.value,...o(`view#`+t,{onClick:()=>{w.value=t}})})]))]),c(`div`,{class:`row items-center q-date__arrow`},[c(Yb,{round:!0,dense:!0,size:`sm`,flat:!0,icon:oe.value[1],tabindex:s.value,disable:a.next===!1,...o(`go+#`+t,{onClick(){i(1)}})})])]}let Ye={Calendar:()=>[c(`div`,{key:`calendar-view`,class:`q-date__view q-date__calendar`},[c(`div`,{class:`q-date__navigation row items-center no-wrap`},Je({label:v.value.months[C.value.month-1],type:`Months`,key:C.value.month,dir:E.value,goTo:Ne,boundaries:pe.value.month,cls:` col`}).concat(Je({label:C.value.year,type:`Years`,key:C.value.year,dir:D.value,goTo:Pe,boundaries:pe.value.year,cls:``}))),c(`div`,{class:`q-date__calendar-weekdays row items-center no-wrap`},ce.value.map(e=>c(`div`,{class:`q-date__calendar-item`},[c(`div`,e)]))),c(`div`,{class:`q-date__calendar-days-container relative-position overflow-hidden`},[c(Ce,{name:`q-transition--slide-`+E.value},()=>c(`div`,{key:_e.value,class:`q-date__calendar-days fit`},xe.value.map(e=>c(`div`,{class:e.classes},[e.in===!0?c(Yb,{class:e.today===!0?`q-date__today`:``,dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:s.value,...o(`day#`+e.i,{onClick:()=>{Xe(e.i)},onMouseover:()=>{Ze(e.i)}})},e.event===!1?null:()=>c(`div`,{class:`q-date__event bg-`+e.event})):c(`div`,``+e.i)]))))])])],Months(){let t=C.value.year===x.value.year,n=e=>de.value!==null&&C.value.year===de.value.year&&de.value.month>e||fe.value!==null&&C.value.year===fe.value.year&&fe.value.month<e,r=v.value.monthsShort.map((e,r)=>{let i=C.value.month===r+1;return c(`div`,{class:`q-date__months-item flex flex-center`},[c(Yb,{class:t===!0&&x.value.month===r+1?`q-date__today`:null,flat:i!==!0,label:e,unelevated:i,color:i===!0?ee.value:null,textColor:i===!0?M.value:null,tabindex:s.value,disable:n(r+1),...o(`month#`+r,{onClick:()=>{Ie(r+1)}})})])});return e.yearsInMonthView===!0&&r.unshift(c(`div`,{class:`row no-wrap full-width`},[Je({label:C.value.year,type:`Years`,key:C.value.year,dir:D.value,goTo:Pe,boundaries:pe.value.year,cls:` col`})])),c(`div`,{key:`months-view`,class:`q-date__view q-date__months flex flex-center`},r)},Years(){let e=k.value,t=e+D0,n=[],r=e=>de.value!==null&&de.value.year>e||fe.value!==null&&fe.value.year<e;for(let i=e;i<=t;i++){let e=C.value.year===i;n.push(c(`div`,{class:`q-date__years-item flex flex-center`},[c(Yb,{key:`yr`+i,class:x.value.year===i?`q-date__today`:null,flat:!e,label:i,dense:!0,unelevated:e,color:e===!0?ee.value:null,textColor:e===!0?M.value:null,tabindex:s.value,disable:r(i),...o(`yr#`+i,{onClick:()=>{Fe(i)}})})]))}return c(`div`,{class:`q-date__view q-date__years flex flex-center`},[c(`div`,{class:`col-auto`}
35,[c(Yb,{round:!0,dense:!0,flat:!0,icon:oe.value[0],tabindex:s.value,disable:r(e),...o(`y-`,{onClick:()=>{k.value-=D0}})})]),c(`div`,{class:`q-date__years-content col self-stretch row items-center`},n),c(`div`,{class:`col-auto`},[c(Yb,{round:!0,dense:!0,flat:!0,icon:oe.value[1],tabindex:s.value,disable:r(t),...o(`y+`,{onClick:()=>{k.value+=D0}})})])])}};function Xe(t){let r={...C.value,day:t};if(e.range===!1){Le(r,_e.value);return}if(A.value===null){let i=xe.value.find(e=>e.fill!==!0&&e.i===t);if(e.noUnset!==!0&&i.range!==void 0){Ge({target:r,from:i.range.from,to:i.range.to});return}if(i.selected===!0){Ge(r);return}let a=o0(r);A.value={init:r,initHash:a,final:r,finalHash:a},n(`rangeStart`,Re(r))}else{let e=A.value.initHash,t=o0(r),i=e<=t?{from:A.value.init,to:r}:{from:r,to:A.value.init};A.value=null,We(e===t?r:{target:r,...i}),n(`rangeEnd`,{from:Re(i.from),to:Re(i.to)})}}function Ze(e){if(A.value!==null){let t={...C.value,day:e};Object.assign(A.value,{final:t,finalHash:o0(t)})}}return Object.assign(r,{setToday:we,setView:Te,offsetCalendar:Ee,setCalendarTo:De,setEditingRange:Oe}),()=>{let n=[c(`div`,{class:`q-date__content col relative-position`},[c(Ce,{name:`q-transition--fade`},Ye[w.value])])],r=ky(t.default);return r!==void 0&&n.push(c(`div`,{class:`q-date__actions`},r)),e.name!==void 0&&e.disable!==!0&&p(n,`push`),c(`div`,{class:j.value,...Se.value},[qe(),c(`div`,{ref:h,class:`q-date__main col column`,tabindex:-1},n)])}}});y(),Se();var P0=()=>c(`svg`,{key:`svg`,class:`q-radio__bg absolute non-selectable`,viewBox:`0 0 24 24`},[c(`path`,{d:`M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12`}),c(`path`,{class:`q-radio__check`,d:`M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6`})]),F0=Ey({name:`QRadio`,props:{...Xb,...Cy,...kT,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:[`update:modelValue`],setup(e,{slots:t,emit:n}){let{proxy:r}=N(),i=Zb(e,r.$q),a=wy(e,NT),o=_(null),{refocusTargetEl:s,refocusTarget:l}=OT(e,o),u=m(()=>Ke(e.modelValue)===Ke(e.val)),d=m(()=>`q-radio cursor-pointer no-outline row inline no-wrap items-center`+(e.disable===!0?` disabled`:``)+(i.value===!0?` q-radio--dark`:``)+(e.dense===!0?` q-radio--dense`:``)+(e.leftLabel===!0?` reverse`:``)),f=m(()=>{let t=e.color!==void 0&&(e.keepColor===!0||u.value===!0)?` text-${e.color}`:``;return`q-radio__inner relative-position q-radio__inner--${u.value===!0?`truthy`:`falsy`}${t}`}),p=m(()=>(u.value===!0?e.checkedIcon:e.uncheckedIcon)||null),h=m(()=>e.disable===!0?-1:e.tabindex||0),g=jT(m(()=>{let t={type:`radio`};return e.name!==void 0&&Object.assign(t,{".checked":u.value===!0,"^checked":u.value===!0?`checked`:void 0,name:e.name,value:e.val}),t}));function v(t){t!==void 0&&(cb(t),l(t)),e.disable!==!0&&u.value!==!0&&n(`update:modelValue`,e.val,t)}function y(e){(e.keyCode===13||e.keyCode===32)&&cb(e)}function b(e){(e.keyCode===13||e.keyCode===32)&&v(e)}Object.assign(r,{set:v});let x=P0();return()=>{let n=p.value===null?[x]:[c(`div`,{key:`icon`,class:`q-radio__icon-container absolute-full flex flex-center no-wrap`},[c(Jy,{class:`q-radio__icon`,name:p.value})])];e.disable!==!0&&g(n,`unshift`,` q-radio__native q-ma-none q-pa-none`);let r=[c(`div`,{class:f.value,style:a.value,"aria-hidden":`true`},n)];s.value!==null&&r.push(s.value);let i=e.label===void 0?ky(t.default):jy(t.default,[e.label]);return i!==void 0&&r.push(c(`div`,{class:`q-radio__label q-anchor--skip`},i)),c(`div`,{ref:o,class:d.value,tabindex:h.value,role:`radio`,"aria-label":e.label,"aria-checked":u.value===!0?`true`:`false`,"aria-disabled":e.disable===!0?`true`:void 0,onClick:v,onKeydown:y,onKeyup:b},r)}}});function I0(e){Object.getOwnPropertySymbols(e).forEach(t=>{l6[t]=e[t]})}function L0(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:m6}}function R0(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=m6){return e&&(s?(e.helper(k3),e.helper(t2(e.inSSR,l))):e.helper(e2(e.inSSR,l)),o&&e.helper(V3)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function z0(e,t=m6){return{type:17,loc:t,elements:e}}function B0(e,t=m6){return{type:15,loc:t,properties:e}}
35function V0(e,t){return{type:16,loc:m6,key:Re(e)?$(e,!0):e,value:t}}function $(e,t=!1,n=m6,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function H0(e,t){return{type:5,loc:t,content:Re(e)?$(e,!1,t):e}}function U0(e,t=m6){return{type:8,loc:t,children:e}}function W0(e,t=[],n=m6){return{type:14,loc:n,callee:e,arguments:t}}function G0(e,t=void 0,n=!1,r=!1,i=m6){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function K0(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:m6}}function q0(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:m6}}function J0(e){return{type:21,body:e,loc:m6}}function Y0(e){return{type:22,elements:e,loc:m6}}function X0(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:m6}}function Z0(e,t){return{type:24,left:e,right:t,loc:m6}}function Q0(e){return{type:25,expressions:e,loc:m6}}function $0(e){return{type:26,returns:e,loc:m6}}function e2(e,t){return e||t?M3:N3}function t2(e,t){return e||t?A3:j3}function n2(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(e2(r,e.isComponent)),t(k3),t(t2(r,e.isComponent)))}function r2(e){return e>=97&&e<=122||e>=65&&e<=90}function i2(e){return e===32||e===10||e===9||e===12||e===13}function a2(e){return e===47||e===62||i2(e)}function o2(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function s2(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function c2(e,t){let n=s2(`MODE`,t),r=s2(e,t);return n===3?r===!0:r!==!1}function l2(e,t,n,...r){return c2(e,t)}function u2(e,t,n,...r){if(s2(e,t)===`suppress-warning`)return;let{message:i,link:a}=b6[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
36  Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function d2(e){throw e}function f2(e){}function p2(e,t,n,r){let i=`https://vuejs.org/error-reference/#compiler-${e}`,a=SyntaxError(String(i));return a.code=e,a.loc=t,a}function m2(e,t,n=!1,r=[],i=Object.create(null)){}function h2(e,t,n){return!1}function g2(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function _2(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function v2(e,t){for(let n of e.params)for(let e of C2(n))t(e)}function y2(e,t){let n=e.type===`SwitchCase`?e.consequent:e.body;for(let e of n)if(e.type===`VariableDeclaration`){if(e.declare)continue;for(let n of e.declarations)for(let e of C2(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else b2(e)?x2(e,!0,t):e.type===`SwitchStatement`&&S2(e,!0,t)}function b2(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function x2(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of C2(e.id))n(t)}function S2(e,t,n){for(let r of e.cases){for(let e of r.consequent)if(e.type===`VariableDeclaration`&&(e.kind===`var`?t:!t))for(let t of e.declarations)for(let e of C2(t.id))n(e);y2(r,n)}}function C2(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?C2(n.argument,t):C2(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&C2(e,t)});break;case`RestElement`:C2(e.argument,t);break;case`AssignmentPattern`:C2(e.left,t);break}return t}function w2(e){return E6.includes(e.type)?w2(e.expression):e}function T2(e){switch(e){case`Teleport`:case`teleport`:return T3;case`Suspense`:case`suspense`:return E3;case`KeepAlive`:case`keep-alive`:return D3;case`BaseTransition`:case`base-transition`:return O3}}function E2(e,t,n=t.length){return D2({offset:e.offset,line:e.line,column:e.column},t,n)}function D2(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function O2(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function k2(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(Re(t)?i.name===t:t.test(i.name)))return i}}function A2(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;
36if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&j2(a.arg,t))return a}}function j2(e,t){return!!(e&&D6(e)&&e.content===t)}function M2(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function N2(e){return e.type===5||e.type===2}function P2(e){return e.type===7&&e.name===`pre`}function F2(e){return e.type===7&&e.name===`slot`}function I2(e){return e.type===1&&e.tagType===3}function L2(e){return e.type===1&&e.tagType===2}function R2(e,t=[]){if(e&&!Re(e)&&e.type===14){let n=e.callee;if(!Re(n)&&V6.has(n))return R2(e.arguments[0],t.concat(e))}return[e,t]}function z2(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!Re(i)&&i.type===14){let e=R2(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||Re(i))r=B0([t]);else if(i.type===14){let e=i.arguments[0];!Re(e)&&e.type===15?B2(t,e)||e.properties.unshift(t):i.callee===Z3?r=W0(n.helper(K3),[B0([t]),i]):i.arguments.unshift(B0([t])),!r&&(r=i)}else i.type===15?(B2(t,i)||i.properties.unshift(t),r=i):(r=W0(n.helper(K3),[B0([t]),i]),o&&o.callee===X3&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function B2(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function V2(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function H2(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(H2(r.arg,t)||H2(r.exp,t)))return!0}return e.children.some(e=>H2(e,t));case 11:return H2(e.source,t)?!0:e.children.some(e=>H2(e,t));case 9:return e.branches.some(e=>H2(e,t));case 10:return H2(e.condition,t)?!0:e.children.some(e=>H2(e,t));case 4:return!e.isStatic&&k6(e.content)&&!!t[e.content];case 8:return e.children.some(e=>Fe(e)&&H2(e,t));case 5:case 12:return H2(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function U2(e){return e.type===14&&e.callee===s6?e.arguments[1].returns:e}function W2(e){for(let t=0;t<e.length;t++)if(!i2(e.charCodeAt(t)))return!1;return!0}function G2(e){return e.type===2&&W2(e.content)||e.type===12&&G2(e.content)}function K2(e){return e.type===3||G2(e)}function q2(e){let t=e.loc,n=e.content,r=n.match(H6);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return d4(e,!1,s4(i,i+e.length),0,+!!r)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(i8,``).trim(),l=i.indexOf(c),u=c.match(r8);if(u){c=c.replace(r8,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function J2(e,t){return K6.slice(e,t)}function Y2(e){n8.inSFCRoot&&(q6.innerLoc=s4(e+1,e+1)),o4(q6);let{tag:t,ns:n}=q6;n===0&&W6.isPreTag(t)&&Q6++,W6.isVoidTag(t)?Z2(q6,e):(t8.unshift(q6),(n===1||n===2)&&(n8.inXML=!0)),q6=null}function X2(e,t,n){{let t=t8[0]&&t8[0].tag;t!==`script`&&t!==`style`&&e.includes(`&`)&&(e=W6.decodeEntities(e,!1))}let r=t8[0]||G6,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,l4(i.loc,n)):r.children.push({type:2,content:e,loc:s4(t,n)})}function Z2(e,t,n=!1){n?l4(e.loc,$2(t,60)):l4(e.loc,Q2(t,62)+1),n8.inSFCRoot&&(e.children.length?e.innerLoc.end=R({},e.children[e.children.length-1].loc.end):e.innerLoc.end=R({},e.innerLoc.start),e.innerLoc.source=J2(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if($6||(r===`slot`?e.tagType=2:e4(e)?e.tagType=3:t4(e)&&(e.tagType=1)),n8.inRCDATA||(e.children=r4(a)),i===0&&W6.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&W6.isPreTag(r)&&Q6--,e8===e&&($6=n8.inVPre=!1,e8=null),n8.inXML&&(t8[0]?t8[0].ns:W6.ns)===0&&(n8.inXML=!1);{let t=e.props;if(!n8.inSFCRoot&&c2(`COMPILER_NATIVE_TEMPLATE`,W6)&&e.tag===`template`&&!e4(e)){let t=t8[0]||G6,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&l2(`COMPILER_INLINE_TEMPLATE`,W6,n.loc)&&e.children.length&&(n.value={type:2,content:J2(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Q2(e,t){let n=e;for(;K6.charCodeAt(n)!==t&&n<K6.length-1;)n++;return n}function $2(e,t){let n=e;for(;K6.charCodeAt(n)!==t&&n>=0;)n--;return n}function e4({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&a8.has(t[e].name))return!0}return!1}function t4({tag:e,props:t}){if(W6.isCustomElement(e))return!1;if(e===`component`||n4(e.charCodeAt(0))||T2(e)||W6.isBuiltInComponent&&W6.isBuiltInComponent(e)||W6.isNativeTag&&!W6.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||l2(`COMPILER_IS_ON_ELEMENT`,W6,n.loc)))return!0}else if(n.name===`bind`&&j2(n.arg,`is`)&&l2(`COMPILER_IS_ON_ELEMENT`,W6,n.loc))return!0}return!1}function n4(e){return e>64&&e<91}function r4(e){let t=W6.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(Q6)i.content=i.content.replace(o8,`
37`);else if(W2(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&i4(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=a4(i.content))}return n?e.filter(Boolean):e}function i4(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function a4(e){let t=``,n=!1;for(let r=0;r<e.length;r++)i2(e.charCodeAt(r))?n||(t+=` `,n=!0):(t+=e[r],n=!1);return t}function o4(e){(t8[0]||G6).children.push(e)}function s4(e,t){return{start:n8.getPos(e),end:t==null?t:n8.getPos(t),source:t==null?t:J2(e,t)}}function c4(e){return s4(e.start.offset,e.end.offset)}function l4(e,t){e.end=n8.getPos(t),e.source=J2(e.start.offset,t)}function u4(e){let t={type:6,name:e.rawName,nameLoc:s4(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function d4(e,t=!1,n,r=0,i=0){return $(e,t,n,r)}function f4(e,t,n){W6.onError(p2(e,s4(t,t),void 0,n))}function p4(){n8.reset(),q6=null,J6=null,Y6=``,X6=-1,Z6=-1,t8.length=0}
37function m4(e,t){if(p4(),K6=e,W6=R({},U6),t){let e;for(e in t)t[e]!=null&&(W6[e]=t[e])}n8.mode=W6.parseMode===`html`?1:W6.parseMode===`sfc`?2:0,n8.inXML=W6.ns===1||W6.ns===2;let n=t&&t.delimiters;n&&(n8.delimiterOpen=o2(n[0]),n8.delimiterClose=o2(n[1]));let r=G6=L0([],e);return n8.parse(K6),r.loc=s4(0,e.length),r.children=r4(r.children),G6=null,r}function h4(e,t){_4(e,void 0,t,!!g4(e))}function g4(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!L2(t[0])?t[0]:null}function _4(e,t,n,r=!1,i=!1){let{children:o}=e,s=[];for(let t=0;t<o.length;t++){let a=o[t];if(a.type===1&&a.tagType===0){let e=r?0:v4(a,n);if(e>0){if(e>=2){a.codegenNode.patchFlag=-1,s.push(a);continue}}else{let e=a.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&b4(a,n)>=2){let t=x4(a);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(a.type===12&&(r?0:v4(a,n))>=2){a.codegenNode.type===14&&a.codegenNode.arguments.length>0&&a.codegenNode.arguments.push(`-1`),s.push(a);continue}if(a.type===1){let t=a.tagType===1;t&&n.scopes.vSlot++,_4(a,e,n,!1,i),t&&n.scopes.vSlot--}else if(a.type===11)_4(a,e,n,a.children.length===1,!0);else if(a.type===9)for(let t=0;t<a.branches.length;t++)_4(a.branches[t],e,n,a.branches[t].children.length===1,i)}let c=!1;if(s.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&a(e.codegenNode.children))e.codegenNode.children=l(z0(e.codegenNode.children)),c=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!a(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=u(e.codegenNode,`default`);t&&(t.returns=l(z0(t.returns)),c=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!a(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=k2(e,`slot`,!0),r=n&&n.arg&&u(t.codegenNode,n.arg);r&&(r.returns=l(z0(r.returns)),c=!0)}}if(!c)for(let e of s)e.codegenNode=n.cache(e.codegenNode);function l(e){let t=n.cache(e);return t.needArraySpread=!0,t}function u(e,t){if(e.children&&!a(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}s.length&&n.transformHoist&&n.transformHoist(o,n,e)}function v4(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=b4(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=v4(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=v4(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(k3),t.removeHelper(t2(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(e2(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return v4(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(Re(r)||ue(r))continue;let i=v4(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}function y4(e,t){if(e.type===14&&!Re(e.callee)&&s8.has(e.callee)){let n=e.arguments[0];if(n.type===4)return v4(n,t);if(n.type===14)return y4(n,t)}return 0}function b4(e,t){let n=3,r=x4(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=v4(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?v4(a,t):a.type===14?y4(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function x4(e){let t=e.codegenNode;if(t.type===13)return t.props}function S4(e,{filename:t=``,prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:s={},transformHoist:c=null,isBuiltInComponent:l=Pe,isCustomElement:u=Pe,expressionPlugins:d=[],scopeId:f=null,slotted:p=!0,ssr:m=!1,inSSR:h=!1,ssrCssVars:g=``,bindingMetadata:_=v,inline:y=!1,isTS:b=!1,onError:x=d2,onWarn:S=f2,compatConfig:w}){let T=t.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),E={filename:t,selfName:T&&z(C(T[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:a,nodeTransforms:o,directiveTransforms:s,transformHoist:c,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:p,ssr:m,inSSR:h,ssrCssVars:g,bindingMetadata:_,inline:y,isTS:b,onError:x,onWarn:S,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){let t=E.helpers.get(e);if(t){let n=t-1;n?E.helpers.set(e,n):E.helpers.delete(e)}},helperString(e){return`_${l6[E.helper(e)]}`},replaceNode(e){E.parent.children[E.childIndex]=E.currentNode=e},removeNode(e){let t=E.parent.children,n=e?t.indexOf(e):E.currentNode?E.childIndex:-1;!e||e===E.currentNode?(E.currentNode=null,E.onNodeRemoved()):E.childIndex>n&&(E.childIndex--,E.onNodeRemoved()),E.parent.children.splice(n,1)},onNodeRemoved:Pe,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){Re(e)&&(e=$(e)),E.hoists.push(e);let t=$(`_hoisted_${E.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=q0(E.cached.length,e,t,n);return E.cached.push(r),r}};return E.filters=new Set,E}function C4(e,t){let n=S4(e,t);E4(e,n),t.hoistStatic&&h4(e,n),t.ssr||w4(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function w4(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=g4(e);
37if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&&n2(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else r.length>1&&(e.codegenNode=R0(t,n(w3),void 0,e.children,64,void 0,void 0,!0,void 0,!1))}function T4(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];Re(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,E4(i,t))}}function E4(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let o=n[i](e,t);if(o&&(a(o)?r.push(...o):r.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(P3);break;case 5:t.ssr||t.helper(G3);break;case 9:for(let n=0;n<e.branches.length;n++)E4(e.branches[n],t);break;case 10:case 11:case 1:case 0:T4(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function D4(e,t){let n=Re(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(F2))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}function O4(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:s=`Vue`,runtimeModuleName:c=`vue`,ssrRuntimeModuleName:l=`vue/server-renderer`,ssr:u=!1,isTS:d=!1,inSSR:f=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:f,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${l6[e]}`},push(e,t=-2,n){p.code+=e},indent(){m(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:m(--p.indentLevel)},newline(){m(p.indentLevel)}};function m(e){p.push(`
38`+`  `.repeat(e),0)}return p}function k4(e,t={}){let n=O4(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`;if(A4(e,n),i(`function ${u?`ssrRender`:`render`}(${(u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(l8).join(`, `)} } = _Vue
39`,-1),c())),e.components.length&&(j4(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(j4(e.directives,`directive`,n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),j4(e.filters,`filter`,n),c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
40`,0),c()),u||i(`return `),e.codegenNode?F4(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:``,map:n.map?n.map.toJSON():void 0}}function A4(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=s,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${l}
41`,-1),e.hoists.length&&i(`const { ${[M3,N3,P3,F3,I3].filter(e=>u.includes(e)).map(l8).join(`, `)} } = _Vue
42`,-1)),M4(e.hoists,t),a(),i(`return `)}function j4(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?B3:t===`component`?L3:z3);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${V2(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function M4(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),F4(a,t),r())}t.pure=!1}function N4(e,t){let n=e.length>3||!1;t.push(`[`),n&&t.indent(),P4(e,t,n),n&&t.deindent(),t.push(`]`)}function P4(e,t,n=!1,r=!0){let{push:i,newline:o}=t;for(let s=0;s<e.length;s++){let c=e[s];Re(c)?i(c,-3):a(c)?N4(c,t):F4(c,t),s<e.length-1&&(n?(r&&i(`,`),o()):r&&i(`, `))}}function F4(e,t){if(Re(e)){t.push(e,-3);return}if(ue(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:F4(e.codegenNode,t);break;case 2:I4(e,t);break;case 4:L4(e,t);break;case 5:R4(e,t);break;case 12:F4(e.codegenNode,t);break;case 8:z4(e,t);break;case 3:V4(e,t);break;case 13:H4(e,t);break;case 14:W4(e,t);break;case 15:G4(e,t);break;case 17:K4(e,t);break;case 18:q4(e,t);break;case 19:J4(e,t);break;case 20:Y4(e,t);break;case 21:P4(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:}}function I4(e,t){t.push(JSON.stringify(e.content),-3,e)}
42function L4(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function R4(e,t){let{push:n,helper:r,pure:i}=t;i&&n(c8),n(`${r(G3)}(`),F4(e.content,t),n(`)`)}function z4(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];Re(r)?t.push(r,-3):F4(r,t)}}function B4(e,t){let{push:n}=t;e.type===8?(n(`[`),z4(e,t),n(`]`)):e.isStatic?n(k6(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function V4(e,t){let{push:n,helper:r,pure:i}=t;i&&n(c8),n(`${r(P3)}(${JSON.stringify(e.content)})`,-3,e)}function H4(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=String(c)),u&&n(r(V3)+`(`),d&&n(`(${r(k3)}(${f?`true`:``}), `),i&&n(c8),n(r(d?t2(t.inSSR,p):e2(t.inSSR,p))+`(`,-2,e),P4(U4([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),F4(u,t),n(`)`))}function U4(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function W4(e,t){let{push:n,helper:r,pure:i}=t,a=Re(e.callee)?e.callee:r(e.callee);i&&n(c8),n(a+`(`,-2,e),P4(e.arguments,t),n(`)`)}function G4(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||!1;n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];B4(r,t),n(`: `),F4(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function K4(e,t){N4(e.elements,t)}function q4(e,t){let{push:n,indent:r,deindent:i}=t,{params:o,returns:s,body:c,newline:l,isSlot:u}=e;u&&n(`_${l6[i6]}(`),n(`(`,-2,e),a(o)?P4(o,t):o&&F4(o,t),n(`) => `),(l||c)&&(n(`{`),r()),s?(l&&n(`return `),a(s)?N4(s,t):F4(s,t)):c&&F4(c,t),(l||c)&&(i(),n(`}`)),u&&(e.isNonScopedSlot&&n(`, undefined, true`),n(`)`))}function J4(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!k6(n.content);e&&o(`(`),L4(n,t),e&&o(`)`)}else o(`(`),F4(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),F4(r,t),t.indentLevel--,a&&l(
42),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,F4(i,t),u||t.indentLevel--,a&&c(!0)}function Y4(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(t6)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),F4(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(t6)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function X4(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return e}function Z4(e){return Re(e)?e:e.type===4?e.content:e.children.map(Z4).join(``)}function Q4(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(p2(28,t.loc)),t.exp=$(`true`,!1,r)}if(t.name===`if`){let i=$4(e,t),a={type:9,loc:c4(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=i.indexOf(e);for(;a-->=-1;){let o=i[a];if(o&&K2(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name===`else-if`||t.name===`else`)&&o.branches[o.branches.length-1].condition===void 0&&n.onError(p2(30,e.loc)),n.removeNode();let i=$4(e,t);o.branches.push(i);let a=r&&r(o,i,!1);E4(i,n),a&&a(),n.currentNode=null}else n.onError(p2(30,e.loc));break}}}function $4(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!k2(e,`for`)?e.children:[e],userKey:A2(e,`key`),isTemplateIf:n}}function e3(e,t,n){return e.condition?K0(e.condition,t3(e,t,n),W0(n.helper(P3),[`""`,`true`])):t3(e,t,n)}function t3(e,t,n){let{helper:r}=n,i=V0(`key`,$(`${t}`,!1,m6,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return z2(e,i,n),e}else return R0(n,r(w3),B0([i]),a,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode,t=U2(e);return t.type===13&&n2(t,n),z2(t,i,n),e}}function n3(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}function r3(e,t,n,r){if(!t.exp){n.onError(p2(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(p2(32,t.loc));return}i3(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:I2(e)?e.children:[e]};n.replaceNode(f),s.vFor++;let p=r&&r(f);return()=>{s.vFor--,p&&p()}}function i3(e,t){e.finalized||(e.finalized=!0)}function a3({value:e,key:t,index:n},r=[]){return o3([e,t,n,...r])}function o3(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||$(`_`.repeat(t+1),!1))}function s3(e,t,n=g8){t.helper(i6);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0,c=k2(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!D6(e)&&(s=!0),a.push(V0(e||$(`default`,!0),n(t,void 0,r,i)))}let l=!1,u=!1,d=[],f=new Set,p=0;for(let e=0;e<r.length;e++){let i=r[e],m;if(!I2(i)||!(m=k2(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(p2(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=$(`default`,!0),exp:v,loc:y}=m,b;D6(_)?b=_?_.content:`default`:s=!0;let x=k2(i,`for`),S=n(v,x,h,g),C,w;if(C=k2(i,`if`))s=!0,o.push(K0(C.exp,c3(_,S,p++),p8));else if(w=k2(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],K2(i)););if(i&&I2(i)&&k2(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?K0(w.exp,c3(_,S,p++),p8):c3(_,S,p++)}else t.onError(p2(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(i3(e,t),o.push(W0(t.helper(H3),[e.source,G0(a3(e),c3(_,S),!0)]))):t.onError(p2(32,x.loc))}else{if(b){if(f.has(b)){t.onError(p2(38,y));continue}f.add(b),b==="default"&&(u=!0)}a.push(V0(_,S))}}if(!c){let e=(e,r)=>{let a=n(e,void 0,r,i);return t.compatConfig&&(a.isNonScopedSlot=!0),V0(`default`,a)};l?d.length&&!d.every(G2)&&(u?t.onError(p2(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:l3(e.children)?3:1,h=B0(a.concat(V0(`_`,$(m+``,!1))),i);return o.length&&(h=W0(t.helper(W3),[h,z0(o)])),{slots:h,hasDynamicSlots:s}}function c3(e,t,n){let r=[V0(`name`,e),V0(`fn`,t)];return n!=null&&r.push(V0(`key`,$(String(n),!0))),B0(r)}function l3(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||l3(n.children))return!0;break;case 9:if(l3(n.branches))return!0;break;case 10:case 11:if(l3(n.children))return!0;break}}return!1}function u3(e,t,n=!1){let{tag:r}=e,i=g3(r),a=A2(e,`is`,!1,!0);if(a)if(i||c2(`COMPILER_IS_ON_ELEMENT`,t)){let e;if(a.type===6?e=a.value&&$(a.value.content,!0):(e=a.exp,e||(e=$(`is`,!1,a.arg.loc))),e)return W0(t.helper(R3),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=T2(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(L3),t.components.add(r),V2(r,`component`))}function d3(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:s,children:c}=e,l=[],u=[],d=[],f=c.length>0,p=!1,m=0,h=!1,g=!1,_=!1,v=!1,y=!1,b=!1,x=[],S=e=>
42{l.length&&(u.push(B0(f3(l),s)),l=[]),e&&u.push(e)},C=()=>{t.scopes.vFor>0&&l.push(V0($(`ref_for`,!0),$(`true`)))},w=({key:e,value:n})=>{if(D6(e)){let a=e.content,o=ve(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!se(a)&&(v=!0),o&&se(a)&&(b=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&v4(n,t)>0)return;a===`ref`?h=!0:a===`class`?g=!0:a===`style`?_=!0:a!==`key`&&!x.includes(a)&&x.push(a),r&&(a===`class`||a===`style`)&&!x.includes(a)&&x.push(a)}else y=!0};for(let i=0;i<n.length;i++){let c=n[i];if(c.type===6){let{loc:e,name:n,nameLoc:r,value:i}=c;if(n===`ref`&&(h=!0,C()),n===`is`&&(g3(o)||i&&i.content.startsWith(`vue:`)||c2(`COMPILER_IS_ON_ELEMENT`,t)))continue;l.push(V0($(n,!0,r),$(i?i.content:``,!0,i?i.loc:e)))}else{let{name:n,arg:i,exp:h,loc:g,modifiers:_}=c,v=n===`bind`,b=n===`on`;if(n===`slot`){r||t.onError(p2(40,g));continue}if(n===`once`||n===`memo`||n===`is`||v&&j2(i,`is`)&&(g3(o)||c2(`COMPILER_IS_ON_ELEMENT`,t))||b&&a)continue;if((v&&j2(i,`key`)||b&&f&&j2(i,`vue:before-update`))&&(p=!0),v&&j2(i,`ref`)&&C(),!i&&(v||b)){if(y=!0,h)if(v){if(S(),c2(`COMPILER_V_BIND_OBJECT_ORDER`,t)){u.unshift(h);continue}C(),S(),u.push(h)}else S({type:14,loc:g,callee:t.helper(Z3),arguments:r?[h]:[h,`true`]});else t.onError(p2(v?34:35,g));continue}v&&_.some(e=>e.content===`prop`)&&(m|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(c,e,t);!a&&n.forEach(w),b&&i&&!D6(i)?S(B0(n,s)):l.push(...n),r&&(d.push(c),ue(r)&&_8.set(c,r))}else me(n)||(d.push(c),f&&(p=!0))}}let T;if(u.length?(S(),T=u.length>1?W0(t.helper(K3),u,s):u[0]):l.length&&(T=B0(f3(l),s)),y?m|=16:(g&&!r&&(m|=2),_&&!r&&(m|=4),x.length&&(m|=8),v&&(m|=32)),!p&&(m===0||m===32)&&(h||b||d.length>0)&&(m|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<T.properties.length;t++){let i=T.properties[t].key;D6(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=T.properties[e],a=T.properties[n];r?T=W0(t.helper(Y3),[T]):(i&&!D6(i.value)&&(i.value=W0(t.helper(q3),[i.value])),a&&(_||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=W0(t.helper(J3),[a.value])));break;case 14:break;default:T=W0(t.helper(Y3),[W0(t.helper(X3),[T])]);break}return{props:T,directives:d,patchFlag:m,dynamicPropNames:x,shouldUseBlock:p}}function f3(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let a=i.key.content,o=t.get(a);o?(a===`style`||a===`class`||ve(a))&&p3(o,i):(t.set(a,i),n.push(i))}return n}function p3(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=z0([e.value,t.value],e.loc)}function m3(e,t){let n=[],r=_8.get(e);r?n.push(t.helperString(r)):(t.helper(z3),t.directives.add(e.name),n.push(V2(e.name,`directive`)));let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=$(`true`,!1,i);n.push(B0(e.modifiers.map(e=>V0(e,t)),i))}return z0(n,e.loc)}function h3(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function g3(e){return e===`component`||e===`Component`}function _3(e,t){let n=`"default"`,r,i=[];for(let t=0;t<e.props.length;t++){let r=e.props[t];r.type===6?r.value&&(r.name===`name`?n=JSON.stringify(r.value.content):(r.name=C(r.name),i.push(r))):r.name===`bind`&&j2(r.arg,`name`)?r.exp?n=r.exp:r.arg&&r.arg.type===4&&(n=r.exp=$(C(r.arg.content),!1,r.arg.loc)):(r.name===`bind`&&r.arg&&D6(r.arg)&&(r.arg.content=C(r.arg.content)),i.push(r))}if(i.length>0){let{props:n,directives:a}=d3(e,t,i,!1,!1);r=n,a.length&&t.onError(p2(36,a[0].loc))}return{slotName:n,slotProps:r}}function v3(e=[]){return{props:e}}function y3(e,t){if(e.type===4)b3(e,t);else for(let n=0;n<e.children.length;n++){let r=e.children[n];typeof r==`object`&&(r.type===4?b3(r,t):r.type===8?y3(r,t):r.type===5&&y3(r.content,t))}}function b3(e,t){let n=e.content,r=!1,i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0,d,f,p,m,h=[];for(p=0;p<n.length;p++)if(f=d,d=n.charCodeAt(p),r)d===39&&f!==92&&(r=!1);else if(i)d===34&&f!==92&&(i=!1);
42else if(a)d===96&&f!==92&&(a=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!c&&!l)m===void 0?(u=p+1,m=n.slice(0,p).trim()):g();else{switch(d){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:s++;break;case 125:s--;break}if(d===47){let e=p-1,t;for(;e>=0&&(t=n.charAt(e),t===` `);e--);(!t||!D8.test(t))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():u!==0&&g();function g(){h.push(n.slice(u,p).trim()),u=p+1}if(h.length){for(p=0;p<h.length;p++)m=x3(m,h[p],t);e.content=m,e.ast=void 0}}function x3(e,t,n){n.helper(B3);let r=t.indexOf(`(`);if(r<0)return n.filters.add(t),`${V2(t,`filter`)}(${e})`;{let i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${V2(i,`filter`)}(${e}${a===`)`?a:`,`+a}`}}function S3(e){return[[j8,T8,d8,A8,f8,O8,y8,v8,m8,C8],{on:b8,bind:x8,model:E8}]}function C3(e,t={}){let n=t.onError||d2,r=t.mode===`module`;t.prefixIdentifiers===!0?n(p2(48)):r&&n(p2(49)),t.cacheHandlers&&n(p2(50)),t.scopeId&&!r&&n(p2(51));let i=R({},t,{prefixIdentifiers:!1}),a=Re(e)?m4(e,i):e,[o,s]=S3();return C4(a,R({},i,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:R({},s,t.directiveTransforms||{})})),k4(a,i)}var w3,T3,E3,D3,O3,k3,A3,j3,M3,N3,P3,F3,I3,L3,R3,z3,B3,V3,H3,U3,W3,G3,K3,q3,J3,Y3,X3,Z3,Q3,$3,e6,t6,n6,r6,i6,a6,o6,s6,c6,l6,u6,d6,f6,p6,m6,h6,g6,_6,v6,y6,b6,x6,S6,C6,w6,T6,E6,D6,O6,k6,A6,j6,M6,N6,P6,F6,I6,L6,R6,z6,B6,V6,H6,U6,W6,G6,K6,q6,J6,Y6,X6,Z6,Q6,$6,e8,t8,n8,r8,i8,a8,o8,s8,c8,l8,u8,d8,f8,p8,m8,h8,g8,_8,v8,y8,b8,x8,S8,C8,w8,T8,E8,D8,O8,k8,A8,j8,M8,N8,P8=t((()=>{M(),w3=Symbol(``),T3=Symbol(``),E3=Symbol(``),D3=Symbol(``),O3=Symbol(``),k3=Symbol(``),A3=Symbol(``),j3=Symbol(``),M3=Symbol(``),N3=Symbol(``),P3=Symbol(``),F3=Symbol(``),I3=Symbol(``),L3=Symbol(``),R3=Symbol(``),z3=Symbol(``),B3=Symbol(``),V3=Symbol(``),H3=Symbol(``),U3=Symbol(``),W3=Symbol(``),G3=Symbol(``),K3=Symbol(``),q3=Symbol(``),J3=Symbol(``),Y3=Symbol(``),X3=Symbol(``),Z3=Symbol(``),Q3=Symbol(``),$3=Symbol(``),e6=Symbol(``),t6=Symbol(``),n6=Symbol(``),r6=Symbol(``),i6=Symbol(``),a6=Symbol(``),o6=Symbol(``),s6=Symbol(``),c6=Symbol(``),l6={[w3]:`Fragment`,[T3]:`Teleport`,[E3]:`Suspense`,[D3]:`KeepAlive`,[O3]:`BaseTransition`,[k3]:`openBlock`,[A3]:`createBlock`,[j3]:`createElementBlock`,[M3]:`createVNode`,[N3]:`createElementVNode`,[P3]:`createCommentVNode`,[F3]:`createTextVNode`,[I3]:`createStaticVNode`,[L3]:`resolveComponent`,[R3]:`resolveDynamicComponent`,[z3]:`resolveDirective`,[B3]:`resolveFilter`,[V3]:`withDirectives`,[H3]:`renderList`,[U3]:`renderSlot`,[W3]:`createSlots`,[G3]:`toDisplayString`,[K3]:`mergeProps`,[q3]:`normalizeClass`,[J3]:`normalizeStyle`,[Y3]:`normalizeProps`,[X3]:`guardReactiveProps`,[Z3]:`toHandlers`,[Q3]:`camelize`,[$3]:`capitalize`,[e6]:`toHandlerKey`,[t6]:`setBlockTracking`,[n6]:`pushScopeId`,[r6]:`popScopeId`,[i6]:`withCtx`,[a6]:`unref`,[o6]:`isRef`,[s6]:`withMemo`,[c6]:`isMemoSame`},u6={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},d6={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},f6={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},p6={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},m6={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``},h6=new Uint8Array([123,123]),g6=new Uint8Array([125,125]),_6={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,12
vendor: 8,780 bytes, line 42
420,116,97,114,101,97])},v6=class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=h6,this.delimiterClose=g6,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=h6,this.delimiterClose=g6}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){let r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let t=r-1;t>=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?a2(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||i2(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===_6.TitleEnd||this.currentSequence===_6.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===_6.Cdata[this.sequenceIndex]?++this.sequenceIndex===_6.Cdata.length&&(this.state=28,this.currentSequence=_6.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===_6.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):r2(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){a2(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(a2(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(o2(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){i2(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=r2(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||i2(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):i2(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):i2(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||a2(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||a2(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||a2(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||a2(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||a2(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):i2(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):i2(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){i2(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=_6.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===_6.ScriptEnd[3]?this.startSpecial(_6.ScriptEnd,4):e
42===_6.StyleEnd[3]?this.startSpecial(_6.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===_6.TitleEnd[3]?this.startSpecial(_6.TitleEnd,4):e===_6.TextareaEnd[3]?this.startSpecial(_6.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();break}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===_6.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}},y6={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},b6={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}
42\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_OBJECT_ORDER:{message:`v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-bind.html`},COMPILER_V_ON_NATIVE:{message:`.native modifier for v-on has been removed as is no longer necessary.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:`v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,link:`https://v3-migration.vuejs.org/breaking-changes/v
42-if-v-for.html`},COMPILER_NATIVE_TEMPLATE:{message:`<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`},COMPILER_INLINE_TEMPLATE:{message:`"inline-template" has been removed in Vue 3.`,link:`https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`},COMPILER_FILTERS:{message:`filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,link:`https://v3-migration.vuejs.org/breaking-changes/filters.html`}},x6={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:`ABRUPT_CLOSING_OF_EMPTY_COMMENT`,CDATA_IN_HTML_CONTENT:1,1:`CDATA_IN_HTML_CONTENT`,DUPLICATE_ATTRIBUTE:2,2:`DUPLICATE_ATTRIBUTE`,END_TAG_WITH_ATTRIBUTES:3,3:`END_TAG_WITH_ATTRIBUTES`,END_TAG_WITH_TRAILING_SOLIDUS:4,4:`END_TAG_WITH_TRAILING_SOLIDUS`,EOF_BEFORE_TAG_NAME:5,5:`EOF_BEFORE_TAG_NAME`,EOF_IN_CDATA:6,6:`EOF_IN_CDATA`,EOF_IN_COMMENT:7,7:`EOF_IN_COMMENT`,EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:`EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT`,EOF_IN_TAG:9,9:`EOF_IN_TAG`,INCORRECTLY_CLOSED_COMMENT:10,10:`INCORRECTLY_CLOSED_COMMENT`,INCORRECTLY_OPENED_COMMENT:11,11:`INCORRECTLY_OPENED_COMMENT`,INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:`INVALID_FIRST_CHARACTER_OF_TAG_NAME`,MISSING_ATTRIBUTE_VALUE:13,13:`MISSING_ATTRIBUTE_VALUE`,MISSING_END_TAG_NAME:14,14:`MISSING_END_TAG_NAME`,MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:`MISSING_WHITESPACE_BETWEEN_ATTRIBUTES`,NESTED_COMMENT:16,16:`NESTED_COMMENT`,UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:`UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME`,UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:`UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE`,UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:`UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME`,UNEXPECTED_NULL_CHARACTER:20,20:`UNEXPECTED_NULL_CHARACTER`,UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:`UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME`,UNEXPECTED_SOLIDUS_IN_TAG:22,22:`UNEXPECTED_SOLIDUS_IN_TAG`,X_INVALID_END_TAG:23,23:`X_INVALID_END_TAG`,X_MISSING_END_TAG:24,24:`X_MISSING_END_TAG`,X_MISSING_INTERPOLATION_END:25,25:`X_MISSING_INTERPOLATION_END`,X_MISSING_DIRECTIVE_NAME:26,26:`X_MISSING_DIRECTIVE_NAME`,X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:`X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END`,X_V_IF_NO_EXPRESSION:28,28:`X_V_IF_NO_EXPRESSION`,X_V_IF_SAME_KEY:29,29:`X_V_IF_SAME_KEY`,X_V_ELSE_NO_ADJACENT_IF:30,30:`X_V_ELSE_NO_ADJACENT_IF`,X_V_FOR_NO_EXPRESSION:31,31:`X_V_FOR_NO_EXPRESSION`,X_V_FOR_MALFORMED_EXPRESSION:32,32:`X_V_FOR_MALFORMED_EXPRESSION`,X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:`X_V_FOR_TEMPLATE_KEY_PLACEMENT`,X_V_BIND_NO_EXPRESSION:34,34:`X_V_BIND_NO_EXPRESSION`,X_V_ON_NO_EXPRESSION:35,35:`X_V_ON_NO_EXPRESSION`,X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:`X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET`,X_V_SLOT_MIXED_SLOT_USAGE:37,37:`X_V_SLOT_MIXED_SLOT_USAGE`,X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:`X_V_SLOT_DUPLICATE_SLOT_NAMES`,X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:`X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN`,X_V_SLOT_MISPLACED:40,40:`X_V_SLOT_MISPLACED`,X_V_MODEL_NO_EXPRESSION:41,41:`X_V_MODEL_NO_EXPRESSION`,X_V_MODEL_MALFORMED_EXPRESSION:42,42:`X_V_MODEL_MALFORMED_EXPRESSION`,X_V_MODEL_ON_SCOPE_VARIABLE:43,43:`X_V_MODEL_ON_SCOPE_VARIABLE`,X_V_MODEL_ON_PROPS:44,44:`X_V_MODEL_ON_PROPS`,X_V_MODEL_ON_CONST:45,45:`X_V_MODEL_ON_CONST`,X_INVALID_EXPRESSION:46,46:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:47,47:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:48,48:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:49,49:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:50,50:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:51,51:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:52,52:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:54,54:`__EXTEND_POINT__`},S6={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '&lt;' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invali
42d expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,53:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
43Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`v-model cannot be used on a const binding because it is not writable.`,46:`Error parsing JavaScript expression: `,47:`<KeepAlive> expects exactly one child component.`,52:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,48:`"prefixIdentifiers" option is not supported in this build of compiler.`,49:`ES module mode is not supported in this build of compiler.`,50:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,51:`"scopeId" option is only supported in module mode.`,54:``},C6=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),w6=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,T6=(e,t)=>w6(t)&&t.key===e,E6=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`],D6=e=>e.type===4&&e.isStatic,O6=/^$|^\d|[^\$\w\xA0-\uFFFF]/,k6=e=>!O6.test(e),A6=/[A-Za-z_$\xA0-\uFFFF]/,j6=/[\.\?\w$\xA0-\uFFFF]/,M6=/\s+[.[]\s*|\s*[.[]\s+/g,N6=e=>e.type===4?e.content:e.loc.source,P6=e=>{let t=N6(e).trim().replace(M6,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?A6:j6).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},F6=Pe,I6=P6,L6=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,R6=e=>L6.test(N6(e)),z6=Pe,B6=R6,V6=new Set([Y3,X3]),H6=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,U6={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:w,isPreTag:w,isIgnoreNewlineTag:w,isCustomElement:w,onError:d2,onWarn:f2,comments:!1,prefixIdentifiers:!1},W6=U6,G6=null,K6=``,q6=null,J6=null,Y6=``,X6=-1,Z6=-1,Q6=0,$6=!1,e8=null,t8=[],n8=new v6(t8,{onerr:f4,ontext(e,t){X2(J2(e,t),e,t)},ontextentity(e,t,n){X2(e,t,n)},oninterpolation(e,t){if($6)return X2(J2(e,t),e,t);let n=e+n8.delimiterOpen.length,r=t-n8.delimiterClose.length;for(;i2(K6.charCodeAt(n));)n++;for(;i2(K6.charCodeAt(r-1));)r--;let i=J2(n,r);i.includes(`&`)&&(i=W6.decodeEntities(i,!1)),o4({type:5,content:d4(i,!1,s4(n,r)),loc:s4(e,t)})},onopentagname(e,t){let n=J2(e,t);q6={type:1,tag:n,ns:W6.getNamespace(n,t8[0],W6.ns),tagType:0,props:[],children:[],loc:s4(e-1,t),codegenNode:void 0}},onopentagend(e){Y2(e)},onclosetag(e,t){let n=J2(e,t);if(!W6.isVoidTag(n)){let r=!1;for(let e=0;e<t8.length;e++)if(t8[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&f4(24,t8[0].loc.start.offset);for(let n=0;n<=e;n++)Z2(t8.shift(),t,n<e);break}r||f4(23,$2(e,60))}},onselfclosingtag(e){let t=q6.tag;q6.isSelfClosing=!0,Y2(e),t8[0]&&t8[0].tag===t&&Z2(t8.shift(),e)},onattribname(e,t){J6={type:6,name:J2(e,t),nameLoc:s4(e,t),value:void 0,loc:s4(e)}},ondirname(e,t){let n=J2(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!$6&&r===``&&f4(26,e),$6||r===``)J6={type:6,name:n,nameLoc:s4(e,t),value:void 0,loc:s4(e)};else if(J6={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[$(`prop`)]:[],loc:s4(e)},r===`pre`){$6=n8.inVPre=!0,e8=q6;let e=q6.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=u4(e[t]))}},ondirarg(e,t){if(e===t)return;let n=J2(e,t);if($6&&!P2(J6))J6.name+=n,l4(J6.nameLoc,t);else{let r=n[0]!==`[`;J6.arg=d4(r?n:n.slice(1,-1),r,s4(e,t),r?3:0)}},ondirmodifier(e,t){let n=J2(e,t);if($6&&!P2(J6))J6.name+=`.`+n,l4(J6.nameLoc,t);else if(J6.name===`slot`){let e=J6.arg;e&&(e.content+=`.`+n,l4(e.loc,t))}else{let r=$(n,!0,s4(e,t));J6.modifiers.push(r)}},onattribdata(e,t){Y6+=J2(e,t),X6<0&&(X6=e),Z6=t}
43,onattribentity(e,t,n){Y6+=e,X6<0&&(X6=t),Z6=n},onattribnameend(e){let t=J6.loc.start.offset,n=J2(t,e);J6.type===7&&(J6.rawName=n),q6.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&f4(2,t)},onattribend(e,t){if(q6&&J6){if(l4(J6.loc,t),e!==0)if(Y6.includes(`&`)&&(Y6=W6.decodeEntities(Y6,!0)),J6.type===6)J6.name===`class`&&(Y6=a4(Y6).trim()),e===1&&!Y6&&f4(13,t),J6.value={type:2,content:Y6,loc:e===1?s4(X6,Z6):s4(X6-1,Z6+1)},n8.inSFCRoot&&q6.tag===`template`&&J6.name===`lang`&&Y6&&Y6!==`html`&&n8.enterRCDATA(o2(`</template`),0);else{J6.exp=d4(Y6,!1,s4(X6,Z6),0,0),J6.name===`for`&&(J6.forParseResult=q2(J6.exp));let e=-1;J6.name===`bind`&&(e=J6.modifiers.findIndex(e=>e.content===`sync`))>-1&&l2(`COMPILER_V_BIND_SYNC`,W6,J6.loc,J6.arg.loc.source)&&(J6.name=`model`,J6.modifiers.splice(e,1))}(J6.type!==7||J6.name!==`pre`)&&q6.props.push(J6)}Y6=``,X6=Z6=-1},oncomment(e,t){W6.comments&&o4({type:3,content:J2(e,t),loc:s4(e-4,t+3)})},onend(){let e=K6.length;for(let t=0;t<t8.length;t++)Z2(t8[t],e-1),f4(24,t8[t].loc.start.offset)},oncdata(e,t){(t8[0]?t8[0].ns:W6.ns)===0?f4(1,e-9):X2(J2(e,t),e,t)},onprocessinginstruction(e){(t8[0]?t8[0].ns:W6.ns)===0&&f4(21,e-1)}}),r8=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,i8=/^\(|\)$/g,a8=new Set([`if`,`else`,`else-if`,`for`,`slot`]),o8=/\r\n/g,s8=new Set([q3,J3,Y3,X3]),c8=`/*@__PURE__*/`,l8=e=>`${l6[e]}: _${l6[e]}`,RegExp(`\\b`+`arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield`.split(`,`).join(`\\b|\\b`)+`\\b`),u8=(e,t)=>{if(e.type===5)e.content=X4(e.content,t);else if(e.type===1){let n=k2(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let r=i.exp,a=i.arg;r&&r.type===4&&!(i.name===`on`&&a)&&!(n&&t.vForMemoKeyedNodes.has(e)&&a&&a.type===4&&a.content===`key`)&&(i.exp=X4(r,t,i.name===`slot`)),a&&a.type===4&&!
43a.isStatic&&(i.arg=X4(a,t))}}}},d8=D4(/^(?:if|else|else-if)$/,(e,t,n)=>Q4(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=e3(t,o,n);else{let r=n3(e.codegenNode);r.alternate=e3(t,o+e.branches.length-1,n)}}})),f8=D4(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return r3(e,t,n,t=>{let a=W0(r(H3),[t.source]),o=I2(e),s=k2(e,`memo`),c=A2(e,`key`,!1,!0);c&&c.type;let l=c&&(c.type===6?c.value?$(c.value.content,!0):void 0:c.exp),u=l?V0(`key`,l):null,d=t.source.type===4&&t.source.constType>0,f=d?64:c?128:256;return t.codegenNode=R0(n,r(w3),void 0,a,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let c,{children:f}=t,p=f.length!==1||f[0].type!==1,m=L2(e)?e:o&&e.children.length===1&&L2(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&u&&z2(c,u,n)):p?c=R0(n,r(w3),u?B0([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,o&&u&&z2(c,u,n),c.isBlock!==!d&&(c.isBlock?(i(k3),i(t2(n.inSSR,c.isComponent))):i(e2(n.inSSR,c.isComponent))),c.isBlock=!d,c.isBlock?(r(k3),r(t2(n.inSSR,c.isComponent))):r(e2(n.inSSR,c.isComponent))),s){let e=G0(a3(t.parseResult,[$(`_cached`)]));e.body=J0([U0([`const _memo = (`,s.exp,`)`]),U0([`if (_cached && _cached.el`,...l?[` && _cached.key === `,l]:[],` && ${n.helperString(c6)}(_cached, _memo)) return _cached`]),U0([`const _item = `,c]),$(`_item.memo = _memo`),$(`return _item`)]),a.arguments.push(e,$(`_cache`),$(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(G0(a3(t.parseResult),c,!0))}})}),p8=$(`undefined`,!1),m8=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=k2(e,`slot`);if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},h8=(e,t)=>{let n;if(I2(e)&&e.props.some(F2)&&(n=k2(e,`for`))){let e=n.forParseResult;if(e){i3(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},g8=(e,t,n,r)=>G0(e,n,!1,!0,n.length?n[0].loc:r),_8=new WeakMap,v8=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?u3(e,t):`"${n}"`,o=Fe(a)&&a.callee===R3,s,c,l=0,u,d,f,p=o||a===T3||a===E3||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=d3(e,t,void 0,i,o);s=n.props,l=n.patchFlag,d=n.dynamicPropNames;let r=n.directives;f=r&&r.length?z0(r.map(e=>m3(e,t))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(a===D3&&(p=!0,l|=1024),i&&a!==T3&&a!==D3){let{slots:n,hasDynamicSlots:r}=s3(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==T3){let n=e.children[0],r=n.type,i=r===5||r===8;i&&v4(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;d&&d.length&&(u=h3(d)),e.codegenNode=R0(t,a,s,c,l===0?void 0:l,u,f,!!p,!1,i,e.loc)},y8=(e,t)=>{if(L2(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=_3(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=G0([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=W0(t.helper(U3),o,r)}},b8=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(p2(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=$(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?oe(C(e)):`on:${e}`,!0,o.loc)}else s=U0([`${n.helperString(e6)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString(e6)}(`),s.children.push(`)`);let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){let e=I6(c),t=!(e||B6(c)),n=c.content.includes(`;`);(t||l&&e)&&(c=U0([`${t?`$event`:`(...args)`} => ${n?`{`:`(`}`,c,n?`}`:`)`]))}let u={props:[V0(s,c||$(`() => {}`,!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},x8=(e,t,n)=>{let{modifiers:r,loc:i}=e,a=e.arg,{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),a.type===4?a.isStatic||(a.content=a.content?`${a.content} || ""`:`""`):(a.children.unshift(`(`),a.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(a.type===4?a.isStatic?a.content=C(a.content):a.content=`${n.helperString(Q3)}(${a.content})`:(a.children.unshift(`${n.helperString(Q3)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&S8(a,`.`),r.some(e=>e.content===`attr`)&&S8(a,`^`)),{props:[V0(a,o)]}},S8=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},C8=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(N2(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(N2(a))r||(r=n[e]=U0([t],t.loc)),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name])&&e.tag!==`template`)))for(let e=0;e<n.length;e++){let r=n[e];if(N2(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&v4(r,t)===0&&i.push(`1`),n[e]={type:12,content:r,loc:r.loc,codegenNode:W0(t.helper(F3),i)}}}}},w8=new WeakSet,T8=(e,t)=>
43{if(e.type===1&&k2(e,`once`,!0))return w8.has(e)||t.inVOnce||t.inSSR?void 0:(w8.add(e),t.inVOnce=!0,t.helper(t6),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},E8=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(p2(41,e.loc)),v3();let a=r.loc.source.trim(),o=r.type===4?r.content:a,s=n.bindingMetadata[a];if(s===`props`||s===`props-aliased`)return n.onError(p2(44,r.loc)),v3();if(s===`literal-const`||s===`setup-const`)return n.onError(p2(45,r.loc)),v3();if(!o.trim()||!I6(r))return n.onError(p2(42,r.loc)),v3();let c=i||$(`modelValue`,!0),l=i?D6(i)?`onUpdate:${C(i.content)}`:U0([`"onUpdate:" + `,i]):`onUpdate:modelValue`,u;u=U0([`${n.isTS?`($event: any)`:`$event`} => ((`,r,`) = $event)`]);let d=[V0(c,e.exp),V0(l,u)];if(e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(k6(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?D6(i)?`${i.content}Modifiers`:U0([i,` + "Modifiers"`]):`modelModifiers`;d.push(V0(n,$(`{ ${t} }`,!1,e.loc,2)))}return v3(d)},D8=/[\w).+\-_$\]]/,O8=(e,t)=>{c2(`COMPILER_FILTERS`,t)&&(e.type===5?y3(e.content,t):e.type===1&&e.props.forEach(e=>{e.type===7&&e.name!==`for`&&e.exp&&y3(e.exp,t)}))},k8=new WeakSet,A8=(e,t)=>{if(e.type===1){let n=k2(e,`memo`);return!n||k8.has(e)||t.inSSR?void 0:(k8.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&n2(r,t),e.codegenNode=W0(t.helper(s6),[n.exp,G0(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},j8=(e,t)=>{if(e.type===1){for(let n of e.props)if(n.type===7&&n.name===`bind`&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){let e=n.arg;if(e.type!==4||!e.isStatic)t.onError(p2(53,e.loc)),n.exp=$(``,!0,e.loc);else{let t=C(e.content);(A6.test(t[0])||t[0]===`-`)&&(n.exp=$(t,!1,e.loc))}}}},M8={DATA:`data`,PROPS:`props`,PROPS_ALIASED:`props-aliased`,SETUP_LET:`setup-let`,SETUP_CONST:`setup-const`,SETUP_REACTIVE_CONST:`setup-reactive-const`,SETUP_MAYBE_REF:`setup-maybe-ref`,SETUP_REF:`setup-ref`,OPTIONS:`options`,LITERAL_CONST:`literal-const`},N8=()=>({props:[]})})),F8=n({BASE_TRANSITION:()=>O3,BindingTypes:()=>M8,CAMELIZE:()=>Q3,CAPITALIZE:()=>$3,CREATE_BLOCK:()=>A3,CREATE_COMMENT:()=>P3,CREATE_ELEMENT_BLOCK:()=>j3,CREATE_ELEMENT_VNODE:()=>N3,CREATE_SLOTS:()=>W3,CREATE_STATIC:()=>I3,CREATE_TEXT:()=>F3,CREATE_VNODE:()=>M3,CompilerDeprecationTypes:()=>y6,ConstantTypes:()=>p6,DOMDirectiveTransforms:()=>h5,DOMErrorCodes:()=>e5,DOMErrorMessages:()=>t5,DOMNodeTransforms:()=>m5,ElementTypes:()=>f6,ErrorCodes:()=>x6,FRAGMENT:()=>w3,GUARD_REACTIVE_PROPS:()=>X3,IS_MEMO_SAME:()=>c6,IS_REF:()=>o6,KEEP_ALIVE:()=>D3,MERGE_PROPS:()=>K3,NORMALIZE_CLASS:()=>q3,NORMALIZE_PROPS:()=>Y3,NORMALIZE_STYLE:()=>J3,Namespaces:()=>u6,NodeTypes:()=>d6,OPEN_BLOCK:()=>k3,POP_SCOPE_ID:()=>r6,PUSH_SCOPE_ID:()=>n6,RENDER_LIST:()=>H3,RENDER_SLOT:()=>U3,RESOLVE_COMPONENT:()=>L3,RESOLVE_DIRECTIVE:()=>z3,RESOLVE_DYNAMIC_COMPONENT:()=>R3,RESOLVE_FILTER:()=>B3,SET_BLOCK_TRACKING:()=>t6,SUSPENSE:()=>E3,TELEPORT:()=>T3,TO_DISPLAY_STRING:()=>G3,TO_HANDLERS:()=>Z3,TO_HANDLER_KEY:()=>e6,TRANSITION:()=>J8,TRANSITION_GROUP:()=>Y8,TS_NODE_TYPES:()=>E6,UNREF:()=>a6,V_MODEL_CHECKBOX:()=>V8,V_MODEL_DYNAMIC:()=>W8,V_MODEL_RADIO:()=>B8,V_MODEL_SELECT:()=>U8,V_MODEL_TEXT:()=>H8,V_ON_WITH_KEYS:()=>K8,V_ON_WITH_MODIFIERS:()=>G8,V_SHOW:()=>q8,WITH_CTX:()=>i6,WITH_DIRECTIVES:()=>V3,WITH_MEMO:()=>s6,advancePositionWithClone:()=>E2,advancePositionWithMutation:()=>D2,assert:()=>O2,baseCompile:()=>C3,baseParse:()=>m4,buildDirectiveArgs:()=>m3,buildProps:()=>d3,buildSlots:()=>s3,checkCompatEnabled:()=>l2,compile:()=>R8,convertToBlock:()=>n2,createArrayExpression:()=>z0,createAssignmentExpression:()=>Z0,createBlockStatement:()=>J0,createCacheExpression:()=>q0,createCallExpression:()=>W0,createCompilerError:()=>p2,createCompoundExpression:()=>U0,createConditionalExpression:()=>K0,createDOMCompilerError:()=>L8,createForLoopParams:()=>a3,createFunctionExpression:()=>G0,createIfStatement:()=>X0,createInterpolation:()=>H0,createObjectExpression:()=>B0,createObjectProperty:()=>V0,createReturnStatement:()=>$0,createRoot:()=>L0,createSequenceExpression:()=>Q0,createSimpleExpression:()=>$,createStructuralDirectiveTransform:()=>
43D4,createTemplateLiteral:()=>Y0,createTransformContext:()=>S4,createVNodeCall:()=>R0,errorMessages:()=>S6,extractIdentifiers:()=>C2,findDir:()=>k2,findProp:()=>A2,forAliasRE:()=>H6,generate:()=>k4,generateCodeFrame:()=>ie,getBaseTransformPreset:()=>S3,getConstantType:()=>v4,getMemoedVNodeCall:()=>U2,getVNodeBlockHelper:()=>t2,getVNodeHelper:()=>e2,hasDynamicKeyVBind:()=>M2,hasScopeRef:()=>H2,helperNameMap:()=>l6,injectProp:()=>z2,isAllWhitespace:()=>W2,isCommentOrWhitespace:()=>K2,isCoreComponent:()=>T2,isFnExpression:()=>B6,isFnExpressionBrowser:()=>R6,isFnExpressionNode:()=>z6,isFunctionType:()=>C6,isInDestructureAssignment:()=>g2,isInNewExpression:()=>_2,isMemberExpression:()=>I6,isMemberExpressionBrowser:()=>P6,isMemberExpressionNode:()=>F6,isReferencedIdentifier:()=>h2,isSimpleIdentifier:()=>k6,isSlotOutlet:()=>L2,isStaticArgOf:()=>j2,isStaticExp:()=>D6,isStaticProperty:()=>w6,isStaticPropertyKey:()=>T6,isTemplateNode:()=>I2,isText:()=>N2,isVPre:()=>P2,isVSlot:()=>F2,isWhitespaceText:()=>G2,locStub:()=>m6,noopDirectiveTransform:()=>N8,parse:()=>z8,parserOptions:()=>Z8,processExpression:()=>X4,processFor:()=>r3,processIf:()=>Q4,processSlotOutlet:()=>_3,registerRuntimeHelpers:()=>I0,resolveComponentType:()=>u3,stringifyExpression:()=>Z4,toValidAssetId:()=>V2,trackSlotScopes:()=>m8,trackVForSlotScopes:()=>h8,transform:()=>C4,transformBind:()=>x8,transformElement:()=>v8,transformExpression:()=>u8,transformModel:()=>E8,transformOn:()=>b8,transformStyle:()=>Q8,transformVBindShorthand:()=>j8,traverseNode:()=>E4,unwrapTSNode:()=>w2,validFirstIdentCharRE:()=>A6,walkBlockDeclarations:()=>y2,walkFunctionParams:()=>v2,walkIdentifiers:()=>m2,warnDeprecation:()=>u2});function I8(e,t=!1){return X8||(X8=document.createElement(`div`)),t?(X8.innerHTML=`<div foo="${e.replace(/"/g,`&quot;`)}">`,X8.children[0].getAttribute(`foo`)):(X8.innerHTML=e,X8.textContent)}function L8(e,t){return p2(e,t,void 0)}function R8(e,t={}){return C3(e,R({},Z8,t,{nodeTransforms:[p5,...m5,...t.nodeTransforms||[]],directiveTransforms:R({},h5,t.directiveTransforms||{}),transformHoist:null}))}function z8(e,t={}){return m4(e,R({},Z8,t))}var B8,V8,H8,U8,W8,G8,K8,q8,J8,Y8,X8,Z8,Q8,$8,e5,t5,n5,r5,i5,a5,o5,s5,c5,l5,u5,d5,f5,p5,m5,h5,g5=t((()=>{P8(),P8(),M(),B8=Symbol(``),V8=Symbol(``),H8=Symbol(``),U8=Symbol(``),W8=Symbol(``),G8=Symbol(``),K8=Symbol(``),q8=Symbol(``),J8=Symbol(``),Y8=Symbol(``),I0({[B8]:`vModelRadio`,[V8]:`vModelCheckbox`,[H8]:`vModelText`,[U8]:`vModelSelect`,[W8]:`vModelDynamic`,[G8]:`withModifiers`,[K8]:`withKeys`,[q8]:`vShow`,[J8]:`Transition`,[Y8]:`TransitionGroup`}),Z8={parseMode:`html`,isVoidTag:we,isNativeTag:e=>ze(e)||Ae(e)||De(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:I8,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return J8;if(e===`TransitionGroup`||e===`transition-group`)return Y8},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(e===`svg`)return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(e===`svg`)return 1;if(e===`math`)return 2}return r}},Q8=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:$(`style`,!0,t.loc),exp:$8(t.value.content,t.loc),modifiers:[],loc:t.loc})})},$8=(e,t)=>{let n=Ee(e);return $(JSON.stringify(n),!1,t,3)},e5={X_V_HTML_NO_EXPRESSION:54,54:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:55,55:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:56,56:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:57,57:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:58,58:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:59,59:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:61,61:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:62,62:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVA
43LID_CHILDREN:63,63:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:64,64:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:65,65:`__EXTEND_POINT__`},t5={54:`v-html is missing expression.`,55:`v-html will override element children.`,56:`v-text is missing expression.`,57:`v-text will override element children.`,58:`v-model can only be used on <input>, <textarea> and <select> elements.`,59:`v-model argument is not supported on plain elements.`,60:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,61:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,62:`v-show is missing expression.`,63:`<Transition> expects exactly one child element or component.`,64:`Tags with side effect (<script> and <style>) are ignored in client component templates.`},n5=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(L8(54,i)),t.children.length&&(n.onError(L8(55,i)),t.children.length=0),{props:[V0($(`innerHTML`,!0,i),r||$(``,!0))]}},r5=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(L8(56,i)),t.children.length&&(n.onError(L8(57,i)),t.children.length=0),{props:[V0($(`textContent`,!0),r?v4(r,n)>0?r:W0(n.helperString(G3),[r],i):$(``,!0))]}},i5=(e,t,n)=>{let r=E8(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(L8(59,e.arg.loc));let{tag:i}=t,a=n.isCustomElement(i);if(i===`input`||i===`textarea`||i===`select`||a){let o=H8,s=!1;if(i===`input`||a){let r=A2(t,`type`);if(r){if(r.type===7)o=W8;else if(r.value)switch(r.value.content){case`radio`:o=B8;break;case`checkbox`:o=V8;break;case`file`:s=!0,n.onError(L8(60,e.loc));break;default:break}}else M2(t)&&(o=W8)}else i===`select`&&(o=U8);s||(r.needRuntime=n.helper(o))}else n.onError(L8(58,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},a5=He(`passive,once,capture`),o5=He(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),s5=He(`left,right`),c5=He(`onkeyup,onkeydown,onkeypress`),l5=(e,t,n,r)=>{let i=[],a=[],o=[];for(let s=0;s<t.length;s++){let c=t[s].content;c===`native`&&l2(`COMPILER_V_ON_NATIVE`,n,r)||a5(c)?o.push(c):s5(c)?D6(e)?c5(e.content.toLowerCase())?i.push(c):a.push(c):(i.push(c),a.push(c)):o5(c)?a.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},u5=(e,t)=>D6(e)&&e.content.toLowerCase()===`onclick`?$(t,!0):e.type===4?e:U0([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),d5=(e,t,n)=>b8(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0],{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:c}=l5(i,r,n,e.loc);if(s.includes(`right`)&&(i=u5(i,`onContextmenu`)),s.includes(`middle`)&&(i=u5(i,`onMouseup`)),s.length&&(a=W0(n.helper(G8),[a,JSON.stringify(s)])),o.length&&(!D6(i)||c5(i.content.toLowerCase()))&&(a=W0(n.helper(K8),[a,JSON.stringify(o)])),c.length){let e=c.map(z).join(``);i=D6(i)?$(`${i.content}${e}`,!0):U0([`(`,i,`) + "${e}"`])}return{props:[V0(i,a)]}}),f5=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(L8(62,i)),{props:[],needRuntime:n.helper(q8)}},p5=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&t.removeNode()},m5=[Q8],h5={cloak:N8,html:n5,text:r5,model:i5,on:d5,show:f5}})),_5=r((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=(g5(),e(F8)),r=(he(),e(Me)),i=(M(),e(_e));function a(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var o=a(r),s=Object.create(null);function c(e,t){if(!i.isString(e))if(e.nodeType)e=e.innerHTML;else return i.NOOP;let r=i.genCacheKey(e,t),a=s[r];if(a)return a;if(e[0]===`#`){let t=document.querySelector(e);e=t?t.innerHTML:``}let c=i.extend({hoistStatic:!0,onError:void 0,onWarn:i.NOOP},t);!c.isCustomElement&&typeof customElements<`u`&&(c.isCustomElement=e=>!!customElements.get(e));let{code:l}=n.compile(e,c),u=Function(`Vue`,l)(o);return u._rc=!0,s[r]=u}r.registerRuntimeCompiler(c),t.compile=c,Object.keys(r).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&(t[e]=r[e])})})),v5=r(((e,t)=>{t.exports=_5()}));function y5(e){let t=document.createElement(`textarea`);t.value=e,t.contentEditable=`true`,t.style.position=`fixed`;let n=()=>{};
43Zw(n),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand(`copy`);return t.remove(),Qw(n),r}function b5(e){return navigator.clipboard===void 0?new Promise((t,n)=>{let r=y5(e);r?t(!0):n(r)}):navigator.clipboard.writeText(e)}y(),Se();function x5(e,t,n={}){let r,i,a,o=!0,s=()=>{o=!0,a()};B(e,s,{flush:`sync`,...n});let c=typeof t==`function`?t:t.get,l=typeof t==`function`?void 0:t.set,u=h((e,t)=>(i=e,a=t,{get(){return o&&(r=c(r),o=!1),i(),r},set(e){l?.(e)}}));return u.trigger=s,u}function S5(e,t){return A()?(D(e,t),!0):!1}function C5(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return S5(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function w5(e){let t=!1,n,r=p(!0);return((...i)=>(t||(n=r.run(()=>e(...i)),t=!0),n))}var T5=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var E5=e=>e!==void 0,D5=Object.prototype.toString,O5=e=>D5.call(e)===`[object Object]`,k5=A5();function A5(){var e,t;return T5&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function j5(e){return Array.isArray(e)?e:[e]}function M5(e){return e||N()}function N5(e){if(!T5)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=p(!0),n=r.run(()=>e(...a))),S5(i),n))}function P5(e,t=1e4){return h((n,r)=>{let i=b(e),a,o=()=>setTimeout(()=>{i=b(e),r()},b(t));return S5(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function F5(e,t){M5(t)&&re(e,t)}function I5(e,t=!0,n){M5(n)?Be(e,n):t?e():S(e)}function L5(e,t,n){return B(e,t,{...n,immediate:!0})}y(),he(),Se();var R5=T5?window:void 0;T5&&window.document,T5&&window.navigator,T5&&window.location;function z5(e){let t=b(e);return t?.$el??t}function B5(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=m(()=>{let t=j5(b(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return L5(()=>[n.value?.map(e=>z5(e))??[R5].filter(e=>e!=null),j5(b(n.value?e[1]:e[0])),j5(L(n.value?e[2]:e[1])),b(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=O5(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function V5(){let e=P(!1),t=N();return t&&Be(()=>{e.value=!0},t),e}function H5(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function U5(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=R5,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=H5(t);return B5(i,a,e=>{e.repeat&&b(s)||c(e)&&n(e)},o)}function W5(e){return JSON.parse(JSON.stringify(e))}function G5(e){let t=N(),n=x5(()=>null,()=>e?z5(e):t.proxy.$el);return Ie(n.trigger),Be(n.trigger),n}function K5(e=G5()){let t=P(),n=()=>{let n=z5(e);n&&(t.value=n.parentElement)};return I5(n),B(()=>b(e),n),t}function q5(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=N(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),h=c;t||(t=`modelValue`),h=h||`update:${t.toString()}`;let g=e=>o?typeof o==`function`?o(e):W5(e):e,v=()=>E5(e[t])?g(e[t]):u,y=e=>{d?d(e)&&p(h,e):p(h,e)};if(s){let n=_(v()),r=!1;return B(()=>e[t],e=>{r||(r=!0,n.value=g(e),S(()=>r=!1))}),B(n,n=>{!r&&(n!==e[t]||l)&&y(n)},{deep:l}),n}else return m({get(){return v()},set(e){y(e)}})}y(),Se();function J5(e,t,n,r){let i=[];return e.forEach(e=>{r(e)===!0?i.push(e):t.push({failedPropValidation:n,file:e})}),i}function Y5(e){e&&e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`),cb(e)}var X5={multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},Z5=[`rejected`];function Q5({editable:e,dnd:t,getFileInput:n,addFilesToQueue:r}){let{props:i,emit:a,proxy:o}=N(),s=_(null),l=m(()=>i.accept===void 0?null:i.accept.split(`,`).map(e=>(e=e.trim(),e===`*`?`*/`:(e.endsWith(`/*`)&&(e=e.slice(0,e.length-1)),e.toUpperCase())))),u=m(()=>parseInt(i.maxFiles,10)),d=m(()=>parseInt(i.maxTotalSize,10));function f(t){if(e.value)if(t!==Object(t)&&(t={target:null}),t.target!==null&&t.target.matches(`input[type="file"]`)===!0)t.clientX===0&&t.clientY===0&&ob(t);else{let e=n();e&&e!==t.target&&e.click(t)}}function p(t){e.value&&t&&r(null,t)}function h(e,t,n,r){let o=Array.from(t||e.target.files),s=[],c=()=>{s.length!==0&&a(`rejected`,s)};if(i.accept!==void 0&&l.value.indexOf(`*/`)===-1&&(o=J5(o,s,`accept`,e=>l.value.some(t=>e.type.toUpperCase().startsWith(t)||e.name.toUpperCase().endsWith(t))),o.length===0))return c();if(i.maxFileSize!==void 0){let e=parseInt(i.maxFileSize,10);if(o=J5(o,s,`max-file-size`,t=>t.size<=e),o.length===0)return c()}
43if(i.multiple!==!0&&o.length!==0&&(o=[o[0]]),o.forEach(e=>{e.__key=e.webkitRelativePath+e.lastModified+e.name+e.size}),r===!0){let e=n.map(e=>e.__key);o=J5(o,s,`duplicate`,t=>e.includes(t.__key)===!1)}if(o.length===0)return c();if(i.maxTotalSize!==void 0){let e=r===!0?n.reduce((e,t)=>e+t.size,0):0;if(o=J5(o,s,`max-total-size`,t=>(e+=t.size,e<=d.value)),o.length===0)return c()}if(typeof i.filter==`function`){let e=i.filter(o);o=J5(o,s,`filter`,t=>e.includes(t))}if(i.maxFiles!==void 0){let e=r===!0?n.length:0;if(o=J5(o,s,`max-files`,()=>(e++,e<=u.value)),o.length===0)return c()}if(c(),o.length!==0)return o}function g(e){Y5(e),t.value!==!0&&(t.value=!0)}function v(e){cb(e),(e.relatedTarget!==null||wC.is.safari!==!0?e.relatedTarget!==s.value:document.elementsFromPoint(e.clientX,e.clientY).includes(s.value)===!1)&&(t.value=!1)}function y(e){Y5(e);let n=e.dataTransfer.files;n.length!==0&&r(null,n),t.value=!1}function b(e){if(t.value===!0)return c(`div`,{ref:s,class:`q-${e}__dnd absolute-full`,onDragenter:Y5,onDragover:Y5,onDragleave:v,onDrop:y})}return Object.assign(o,{pickFiles:f,addFiles:p}),{pickFiles:f,addFiles:p,onDragover:g,onDragleave:v,processFiles:h,getDndNode:b,maxFilesNumber:u,maxTotalSizeNumber:d}}y(),Se();var $5=Ey({name:`QFile`,inheritAttrs:!1,props:{...gM,...kT,...X5,modelValue:[File,FileList,Array],append:Boolean,useChips:Boolean,displayValue:[String,Number],tabindex:{type:[String,Number],default:0},counterLabel:Function,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...vM,...Z5],setup(e,{slots:t,emit:n,attrs:r}){let{proxy:i}=N(),a=yM(),o=_(null),s=_(!1),l=MT(e),{pickFiles:u,onDragover:d,onDragleave:f,processFiles:p,getDndNode:h}=Q5({editable:a.editable,dnd:s,getFileInput:j,addFilesToQueue:ee}),g=kM(e),v=m(()=>Object(e.modelValue)===e.modelValue?`length`in e.modelValue?Array.from(e.modelValue):[e.modelValue]:[]),y=m(()=>hM(v.value)),b=m(()=>v.value.map(e=>e.name).join(`, `)),x=m(()=>dN(v.value.reduce((e,t)=>e+t.size,0))),S=m(()=>({totalSize:x.value,filesNumber:v.value.length,maxFiles:e.maxFiles})),C=m(()=>({tabindex:-1,type:`file`,title:``,accept:e.accept,capture:e.capture,name:l.value,...r,id:a.targetUid.value,disabled:a.editable.value!==!0})),w=m(()=>`q-file q-field--auto-height`+(s.value===!0?` q-file--dnd`:``)),T=m(()=>e.multiple===!0&&e.append===!0);function E(e){let t=v.value.slice();t.splice(e,1),O(t)}function D(e){let t=v.value.indexOf(e);t!==-1&&E(t)}function O(t){n(`update:modelValue`,e.multiple===!0?t:t[0])}function k(e){e.keyCode===13&&sb(e)}function A(e){(e.keyCode===13||e.keyCode===32)&&u(e)}function j(){return o.value}function ee(t,n){let r=p(t,n,v.value,T.value),i=j();i!=null&&(i.value=``),r!==void 0&&((e.multiple===!0?e.modelValue&&r.every(e=>v.value.includes(e)):e.modelValue===r[0])||O(T.value===!0?v.value.concat(r):r))}function M(){return[c(`input`,{class:[e.inputClass,`q-file__filler`],style:e.inputStyle})]}function P(){if(t.file!==void 0)return v.value.length===0?M():v.value.map((e,n)=>t.file({index:n,file:e,ref:this}));if(t.selected!==void 0)return v.value.length===0?M():t.selected({files:v.value,ref:this});if(e.useChips===!0)return v.value.length===0?M():v.value.map((t,n)=>c(QM,{key:`file-`+n,removable:a.editable.value,dense:!0,textColor:e.color,tabindex:e.tabindex,onRemove:()=>{E(n)}},()=>c(`span`,{class:`ellipsis`,textContent:t.name})));let n=e.displayValue===void 0?b.value:e.displayValue;return n.length===0?M():[c(`div`,{class:e.inputClass,style:e.inputStyle,textContent:n})]}function F(){let t={ref:o,...C.value,...g.value,class:`q-field__input fit absolute-full cursor-pointer`,onChange:ee};return e.multiple===!0&&(t.multiple=!0),c(`input`,t)}return Object.assign(a,{fieldClass:w,emitValue:O,hasValue:y,inputRef:o,innerValue:v,floatingLabel:m(()=>y.value===!0||hM(e.displayValue)),computedCounter:m(()=>{if(e.counterLabel!==void 0)return e.counterLabel(S.value);let t=e.maxFiles;return`${v.value.length}${t===void 0?``:` / `+t} (${x.value})`}),getControlChild:()=>h(`file`),getControl:()=>{let t={ref:a.targetRef,class:`q-field__native row items-center cursor-pointer`,tabindex:e.tabindex};return a.editable.value===!0&&Object.assign(t,{onDragover:d,onDragleave:f,onKeydown:k,onKeyup:A}),c(`div`,t,[F()].concat(P()))}}),Object.assign(i,{removeAtIndex:E,removeFile:D,getNativeElement:()=>o.value}),Ty(i,`nativeEl`,()=>o.value),bM(a)}}),e7={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},t7=Object.keys(e7);e7.all=!0;function n7(e){let t={};for(let n of t7)e[n]===!0&&(t[n]=!0);return Object.keys(t).length===0?e7:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var r7=[`INPUT`,`TEXTAREA`];function i7(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler==`function`&&r7.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function a7(e){let t=[.06,6,50];return typeof e==`string`&&e.length&&e.split(`:`).forEach((e,n)=>{let r=parseFloat(e);r&&(t[n]=r)}),t}var o7=Dy({name:`touch-swipe`,beforeMount(e,{value:t,arg:n,modifiers:r}){if(r.mouse!==!0&&wC.has.touch!==!0)return;let i=r.mouseCapture===!0?`Capture`:``,a={handler:t,sensitivity:a7(n),direction:n7(r),noop:nb,mouseStart(e){i7(e,a)&&rb(e)&&(ub(a,`temp`,[[document,`mousemove`,`move`,`notPassive${i}`],[document,`mouseup`,`end`,`notPassiveCapture`]]),a.start(e,!0))},touchStart(e){if(i7(e,a)){let t=e.target;ub(a,`temp`,[[t,`touchmove`,`move`,`notPassiveCapture`],[t,`touchcancel`,`end`,`notPassiveCapture`],[t,`touchend`,`end`,`notPassiveCapture`]]),a.start(e)}},start(t,n){wC.is.firefox===!0&&lb(e,!0);let r=ib(t);a.event={x:r.left,y:r.top,time:Date.now(),mouse:n===!0,dir:!1}},move(e){if(a.event===void 0)return;
43if(a.event.dir!==!1){cb(e);return}let t=Date.now()-a.event.time;if(t===0)return;let n=ib(e),r=n.left-a.event.x,i=Math.abs(r),o=n.top-a.event.y,s=Math.abs(o);if(a.event.mouse!==!0){if(i<a.sensitivity[1]&&s<a.sensitivity[1]){a.end(e);return}}else if(window.getSelection().toString()!==``){a.end(e);return}else if(i<a.sensitivity[2]&&s<a.sensitivity[2])return;let c=i/t,l=s/t;a.direction.vertical===!0&&i<s&&i<100&&l>a.sensitivity[0]&&(a.event.dir=o<0?`up`:`down`),a.direction.horizontal===!0&&i>s&&s<100&&c>a.sensitivity[0]&&(a.event.dir=r<0?`left`:`right`),a.direction.up===!0&&i<s&&o<0&&i<100&&l>a.sensitivity[0]&&(a.event.dir=`up`),a.direction.down===!0&&i<s&&o>0&&i<100&&l>a.sensitivity[0]&&(a.event.dir=`down`),a.direction.left===!0&&i>s&&r<0&&s<100&&c>a.sensitivity[0]&&(a.event.dir=`left`),a.direction.right===!0&&i>s&&r>0&&s<100&&c>a.sensitivity[0]&&(a.event.dir=`right`),a.event.dir===!1?a.end(e):(cb(e),a.event.mouse===!0&&(document.body.classList.add(`no-pointer-events--children`),document.body.classList.add(`non-selectable`),rT(),a.styleCleanup=e=>{a.styleCleanup=void 0,document.body.classList.remove(`non-selectable`);let t=()=>{document.body.classList.remove(`no-pointer-events--children`)};e===!0?setTimeout(t,50):t()}),a.handler({evt:e,touch:a.event.mouse!==!0,mouse:a.event.mouse,direction:a.event.dir,duration:t,distance:{x:i,y:s}}))},end(t){a.event!==void 0&&(db(a,`temp`),wC.is.firefox===!0&&lb(e,!1),a.styleCleanup!==void 0&&a.styleCleanup(!0),t!==void 0&&a.event.dir!==!1&&cb(t),a.event=void 0)}};e.__qtouchswipe=a,r.mouse===!0&&ub(a,`main`,[[e,`mousedown`,`mouseStart`,`passive${r.mouseCapture===!0||r.mousecapture===!0?`Capture`:``}`]]),wC.has.touch===!0&&ub(a,`main`,[[e,`touchstart`,`touchStart`,`passive${r.capture===!0?`Capture`:``}`],[e,`touchmove`,`noop`,`notPassiveCapture`]])},updated(e,t){let n=e.__qtouchswipe;n!==void 0&&(t.oldValue!==t.value&&(typeof t.value!=`function`&&n.end(),n.handler=t.value),n.direction=n7(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(db(t,`main`),db(t,`temp`),wC.is.firefox===!0&&lb(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}}),s7=Dy({name:`touch-hold`,beforeMount(e,t){let{modifiers:n}=t;if(n.mouse!==!0&&wC.has.touch!==!0)return;let r={handler:t.value,noop:nb,mouseStart(e){typeof r.handler==`function`&&rb(e)===!0&&(ub(r,`temp`,[[document,`mousemove`,`move`,`passiveCapture`],[document,`click`,`end`,`notPassiveCapture`]]),r.start(e,!0))},touchStart(e){if(e.target!==void 0&&typeof r.handler==`function`){let t=e.target;ub(r,`temp`,[[t,`touchmove`,`move`,`passiveCapture`],[t,`touchcancel`,`end`,`notPassiveCapture`],[t,`touchend`,`end`,`notPassiveCapture`]]),r.start(e)}},start(e,t){r.origin=ib(e);let n=Date.now();wC.is.mobile===!0&&(document.body.classList.add(`non-selectable`),rT(),r.styleCleanup=e=>{r.styleCleanup=void 0;let t=()=>{document.body.classList.remove(`non-selectable`)};e===!0?(rT(),setTimeout(t,10)):t()}),r.triggered=!1,r.sensitivity=t===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,rT(),r.triggered=!0,r.handler({evt:e,touch:t!==!0,mouse:t===!0,position:r.origin,duration:Date.now()-n})},r.duration)},move(e){let{top:t,left:n}=ib(e);r.timer!==void 0&&(Math.abs(n-r.origin.left)>=r.sensitivity||Math.abs(t-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(e){db(r,`temp`),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?e!==void 0&&cb(e):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},i=[600,5,7];typeof t.arg==`string`&&t.arg.length!==0&&t.arg.split(`:`).forEach((e,t)=>{let n=parseInt(e,10);n&&(i[t]=n)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=i,e.__qtouchhold=r,n.mouse===!0&&ub(r,`main`,[[e,`mousedown`,`mouseStart`,`passive${n.mouseCapture===!0||n.mousecapture===!0?`Capture`:``}`]]),wC.has.touch===!0&&ub(r,`main`,[[e,`touchstart`,`touchStart`,`passive${n.capture===!0?`Capture`:``}`],[e,`touchend`,`noop`,`notPassiveCapture`]])},updated(e,t){let n=e.__qtouchhold;n!==void 0&&t.oldValue!==t.value&&(typeof t.value!=`function`&&n.end(),n.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(db(t,`main`),db(t,`temp`),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}}),c7={threshold:0,root:null,rootMargin:`0px`};function l7(e,t,n){let r,i,a;typeof n==`function`?(r=n,i=c7,a=t.cfg===void 0):(r=n.handler,i=Object.assign({},c7,n.cfg),a=t.cfg===void 0||yj(t.cfg,i)===!1),t.handler!==r&&(t.handler=r),a===!0&&(t.cfg=i,t.observer!==void 0&&t.observer.unobserve(e),t.observer=new IntersectionObserver(([n])=>{if(typeof t.handler==`function`){if(n.rootBounds===null&&document.body.contains(e)===!0){t.observer.unobserve(e),t.observer.observe(e);return}(t.handler(n,t.observer)===!1||t.once===!0&&n.isIntersecting===!0)&&u7(e)}},i),t.observer.observe(e))}function u7(e){let t=e.__qvisible;t!==void 0&&(t.observer!==void 0&&t.observer.unobserve(e),delete e.__qvisible)}var d7=Dy({name:`intersection`,mounted(e,{modifiers:t,value:n}){let r={once:t.once===!0};l7(e,r,n),e.__qvisible=r},updated(e,t){let n=e.__qvisible;n!==void 0&&l7(e,n,t.value)},beforeUnmount:u7});y();var f7=Ey({name:`QTimeline`,props:{...Xb,color:{type:String,default:`primary`},side:{type:String,default:`right`,validator:e=>[`left`,`right`].includes(e)},layout:{type:String,default:`dense`,validator:e=>[`dense`,`comfortable`,`loose`].includes(e)}},setup(e,{slots:t}){let n=Zb(e,N().proxy.$q);je(Je,e);let r=m(()=>`q-timeline q-timeline--${e.layout} q-timeline--${e.layout}--${e.side}`+(n.value===!0?` q-timeline--dark`:``));return()=>c(`ul`,{class:r.value},ky(t.default))}});y();var p7=Ey({name:`QTimelineEntry`,props:{heading:Boolean,tag:{type:String,default:`h3`},side:{type:String,default:`right`,validator:e=>[`left`,`right`].includes(e)},icon:String,avatar:String,color:String,title:String,subtitle:String,body:String},setup(e,{slots:t}){let n=F(Je,Ze);if(n===Ze)return console.error(`QTimelineEntry needs to be child of QTimeline`),Ze;let r=m(()=>`q-timeline__entry q-timeline__entry--${e.side}`+(e.icon!==void 0||e.avatar!==void 0?` q-timeline__entry--icon`:``)),i=m(()=>`q-timeline__dot text-${e.color||n.color}`),a=m(()=>n.layout===`comfortable`&&n.side===`left`);return()=>{let n=Ay(t.default,[]);if(e.body!==void 0&&n.unshift(e.body),e.heading===!0){let t=[c(`div`),c(`div`),c(e.tag,{class:`q-timeline__heading-title`},n)];return c(`div`,{class:`q-timeline__heading`},a.value===!0?t.reverse():t)}let o;e.icon===void 0?e.avatar!==void 0&&(o=[c(`img`,{class:`q-timeline__dot-img`,src:e.avatar})]):o=[c(Jy,{class:`row items-center justify-center`,name:e.icon})];let s=[c(`div`,{class:`q-timeline__subtitle`},[c(`span`,{}
43,ky(t.subtitle,[e.subtitle]))]),c(`div`,{class:i.value},o),c(`div`,{class:`q-timeline__content`},[c(`h6`,{class:`q-timeline__title`},ky(t.title,[e.title]))].concat(n))];return c(`li`,{class:r.value},a.value===!0?s.reverse():s)}}});export{VP as $,ld as $n,rC as $t,N$ as A,pf as An,$e as Ar,oA as At,NU as B,Fd as Bn,_O as Bt,F0 as C,Ff as Cn,It as Cr,dA as Ct,y1 as D,Df as Dn,Vt as Dr,lA as Dt,R1 as E,kf as En,Wt as Er,pA as Et,gQ as F,Kd as Fn,Ot as Fr,CO as Ft,EU as G,Sd as Gn,ET as Gt,jU as H,Md as Hn,$k as Ht,OQ as I,zd as In,At as Ir,wO as It,Lz as J,yd as Jn,dC as Jt,TU as K,xd as Kn,nT as Kt,jQ as L,Rd as Ln,jt as Lr,xO as Lt,O$ as M,rf as Mn,Tt as Mr,tA as Mt,PQ as N,Jd as Nn,St as Nr,SO as Nt,M$ as O,Sf as On,an as Or,aA as Ot,mQ as P,qd as Pn,Et as Pr,vO as Pt,UP as Q,dd as Qn,eC as Qt,JZ as R,Ld as Rn,Qe as Rr,BO as Rt,v5 as S,Lf as Sn,on as Sr,fA as St,H1 as T,Nf as Tn,cn as Tr,mA as Tt,OU as U,Td as Un,RT as Ut,MU as V,Pd as Vn,gO as Vt,DU as W,Cd as Wn,DT as Wt,lI as X,gd as Xn,hS as Xt,uR as Y,_d as Yn,fC as Yt,JP as Z,hd as Zn,$S as Zt,T5 as _,Op as _n,hn as _r,ej as _t,o7 as a,Zy as an,Hu as ar,GM as at,F5 as b,Gf as bn,Kt as br,CA as bt,U5 as c,$m as cn,tl as cr,jM as ct,V5 as d,fh as dn,Fi as dr,zj as dt,hC as en,ad as er,$N as et,K5 as f,W as fn,di as fr,Rj as ft,N5 as g,Mp as gn,or as gr,Tj as gt,w5 as h,Np as hn,sr as hr,Fj as ht,s7 as i,yb as in,Uu as ir,KM as it,k$ as j,uf as jn,xt as jr,nA as jt,j$ as k,hf as kn,ln as kr,cA as kt,z5 as l,rh as ln,Xc as lr,nM as lt,C5 as m,Fp as mn,ii as mr,Ij as mt,f7 as n,ex as nn,ed as nr,YM as nt,$5 as o,Jy as on,ju as or,BM as ot,q5 as p,V as pn,oi as pr,Lj as pt,wU as q,bd as qn,ww as qt,d7 as r,Yb as rn,Wu as rr,JM as rt,R5 as s,yy as sn,jl as sr,MM as st,p7 as t,mC as tn,td as tr,_N as tt,B5 as u,lh as un,qc as ur,Vj as ut,k5 as v,ep as vn,Mt as vr,nj as vt,N0 as w,Pf as wn,sn as wr,uA as wt,b5 as x,Wf as xn,rn as xr,sA as xt,P5 as y,Zf as yn,Rt as yr,TA as yt,JU as z,Id as zn,qe as zr,kO as zt};
44//# sourceMappingURL=DLkVZSuR.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.