@photonhealth/elements 0.10.7 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +18 -18
- package/dist/index.mjs +288 -287
- package/dist/stores/pharmacy.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ import { ApolloClient, HttpLink } from '@apollo/client';
|
|
|
51
51
|
const client = new ApolloClient({
|
|
52
52
|
link: new HttpLink({ uri: '/graphql', fetch })
|
|
53
53
|
});
|
|
54
|
-
`):new Tt(23)},SI=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},OI=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function TI(e,t){var n=[],r=function(p,m){n.push("".concat(p,"=").concat(encodeURIComponent(m)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=ip(t.variables,"Variables map")}catch(p){return{parseError:p}}r("variables",i)}if(t.extensions){var o=void 0;try{o=ip(t.extensions,"Extensions map")}catch(p){return{parseError:p}}r("extensions",o)}var a="",l=e,c=e.indexOf("#");c!==-1&&(a=e.substr(c),l=e.substr(0,c));var u=l.indexOf("?")===-1?"?":"&",f=l+u+n.join("&")+a;return{newURI:f}}var H6=vi(function(){return fetch}),AI=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,o=i===void 0?xI:i,a=e.includeExtensions,l=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,f=u===void 0?!1:u,p=ma(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&EI(r||H6);var m={http:{includeExtensions:a,preserveHeaderCase:l},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new Fl(function(g){var v=OI(g,n),w=g.getContext(),x={};if(w.clientAwareness){var A=w.clientAwareness,S=A.name,O=A.version;S&&(x["apollographql-client-name"]=S),O&&(x["apollographql-client-version"]=O)}var E=ie(ie({},x),w.headers),M={http:w.http,options:w.fetchOptions,credentials:w.credentials,headers:E},P=kI(g,o,_I,m,M),L=P.options,U=P.body;if(U.variables&&!f){var Z=new Set(Object.keys(U.variables));Ro(g.query,{Variable:function(J,we,ee){ee&&ee.kind!=="VariableDefinition"&&Z.delete(J.name.value)}}),Z.size&&(U.variables=ie({},U.variables),Z.forEach(function(J){delete U.variables[J]}))}var ce;if(!L.signal){var Q=SI(),G=Q.controller,re=Q.signal;ce=G,ce&&(L.signal=re)}var K=function(J){return J.kind==="OperationDefinition"&&J.operation==="mutation"};if(c&&!g.query.definitions.some(K)&&(L.method="GET"),Gm(["defer"],g.query)&&(L.headers=L.headers||{},L.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),L.method==="GET"){var H=TI(v,U),ye=H.newURI,pe=H.parseError;if(pe)return j6(pe);v=ye}else try{L.body=ip(U,"Payload")}catch(J){return j6(J)}return new Xt(function(J){var we=r||vi(function(){return fetch})||H6;return we(v,L).then(function(ee){var ae;g.setContext({response:ee});var ne=(ae=ee.headers)===null||ae===void 0?void 0:ae.get("content-type");return ne!==null&&/^multipart\/mixed/i.test(ne)?mI(ee,J):vI(ee,g,J)}).catch(function(ee){return a4(ee,J)}),function(){ce&&ce.abort()}})})},l$=function(e){Ui(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,AI(n).request)||this;return r.options=n,r}return t}(Fl),d$=Object.prototype,q6=d$.toString,NI=d$.hasOwnProperty,W6=Function.prototype.toString,op=new Map;function Rn(e,t){try{return ap(e,t)}finally{op.clear()}}function ap(e,t){if(e===t)return!0;var n=q6.call(e),r=q6.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Y6(e,t))return!0;var i=G6(e),o=G6(t),a=i.length;if(a!==o.length)return!1;for(var l=0;l<a;++l)if(!NI.call(t,i[l]))return!1;for(var l=0;l<a;++l){var c=i[l];if(!ap(e[c],t[c]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e=="".concat(t);case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Y6(e,t))return!0;for(var u=e.entries(),f=n==="[object Map]";;){var p=u.next();if(p.done)break;var m=p.value,g=m[0],v=m[1];if(!t.has(g)||f&&!ap(v,t.get(g)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{var w=e.byteLength;if(w===t.byteLength)for(;w--&&e[w]===t[w];);return w===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var x=W6.call(e);return x!==W6.call(t)?!1:!MI(x,II)}}return!1}function G6(e){return Object.keys(e).filter(PI,e)}function PI(e){return this[e]!==void 0}var II="{ [native code] }";function MI(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function Y6(e,t){var n=op.get(e);if(n){if(n.has(t))return!0}else op.set(e,n=new Set);return n.add(t),!1}var DI=function(){return Object.create(null)},c$=Array.prototype,FI=c$.forEach,RI=c$.slice,xc=function(){function e(t,n){t===void 0&&(t=!0),n===void 0&&(n=DI),this.weakness=t,this.makeData=n}return e.prototype.lookup=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this.lookupArray(t)},e.prototype.lookupArray=function(t){var n=this;return FI.call(t,function(r){return n=n.getChildTrie(r)}),n.data||(n.data=this.makeData(RI.call(t)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&LI(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();function LI(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}var er=null,Q6={},zI=1,jI=function(){return function(){function e(){this.id=["slot",zI++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var t=er;t;t=t.parent)if(this.id in t.slots){var n=t.slots[this.id];if(n===Q6)break;return t!==er&&(er.slots[this.id]=n),!0}return er&&(er.slots[this.id]=Q6),!1},e.prototype.getValue=function(){if(this.hasValue())return er.slots[this.id]},e.prototype.withValue=function(t,n,r,i){var o,a=(o={__proto__:null},o[this.id]=t,o),l=er;er={parent:l,slots:a};try{return n.apply(i,r)}finally{er=l}},e.bind=function(t){var n=er;return function(){var r=er;try{return er=n,t.apply(this,arguments)}finally{er=r}}},e.noContext=function(t,n,r){if(er){var i=er;try{return er=null,t.apply(r,n)}finally{er=i}}else return t.apply(r,n)},e}()};function K6(e){try{return e()}catch{}}var Rh="@wry/context:Slot",UI=K6(function(){return globalThis})||K6(function(){return global})||Object.create(null),Z6=UI,V2=Z6[Rh]||Array[Rh]||function(e){try{Object.defineProperty(Z6,Rh,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(jI());V2.bind;V2.noContext;function VI(){}var BI=function(){function e(t,n){t===void 0&&(t=1/0),n===void 0&&(n=VI),this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(t){return this.map.has(t)},e.prototype.get=function(t){var n=this.getNode(t);return n&&n.value},e.prototype.getNode=function(t){var n=this.map.get(t);if(n&&n!==this.newest){var r=n.older,i=n.newer;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n},e.prototype.set=function(t,n){var r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(t){var n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1},e}(),B2=new V2,Lh,HI=Object.prototype.hasOwnProperty,s4=(Lh=Array.from,Lh===void 0?function(e){var t=[];return e.forEach(function(n){return t.push(n)}),t}:Lh);function b1(e){var t=e.unsubscribe;typeof t=="function"&&(e.unsubscribe=void 0,t())}var ic=[],qI=100;function xl(e,t){if(!e)throw new Error(t||"assertion failure")}function WI(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function u$(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function GI(e){return e.slice(0)}var YI=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(this.value.length===1&&!va(this))return X6(this),this.value[0]},e.prototype.recompute=function(t){return xl(!this.recomputing,"already recomputing"),X6(this),va(this)?QI(this,t):u$(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,f$(this),b1(this))},e.prototype.dispose=function(){var t=this;this.setDirty(),v$(this),l4(this,function(n,r){n.setDirty(),y$(n,t)})},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(t){t.add(this),this.deps||(this.deps=ic.pop()||new Set),this.deps.add(t)},e.prototype.forgetDeps=function(){var t=this;this.deps&&(s4(this.deps).forEach(function(n){return n.delete(t)}),this.deps.clear(),ic.push(this.deps),this.deps=null)},e.count=0,e}();function X6(e){var t=B2.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),va(e)?p$(t,e):m$(t,e),t}function QI(e,t){return v$(e),B2.withValue(e,KI,[e,t]),XI(e,t)&&ZI(e),u$(e.value)}function KI(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function va(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function ZI(e){e.dirty=!1,!va(e)&&h$(e)}function f$(e){l4(e,p$)}function h$(e){l4(e,m$)}function l4(e,t){var n=e.parents.size;if(n)for(var r=s4(e.parents),i=0;i<n;++i)t(r[i],e)}function p$(e,t){xl(e.childValues.has(t)),xl(va(t));var n=!va(e);if(!e.dirtyChildren)e.dirtyChildren=ic.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&f$(e)}function m$(e,t){xl(e.childValues.has(t)),xl(!va(t));var n=e.childValues.get(t);n.length===0?e.childValues.set(t,GI(t.value)):WI(n,t.value)||e.setDirty(),g$(e,t),!va(e)&&h$(e)}function g$(e,t){var n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(ic.length<qI&&ic.push(n),e.dirtyChildren=null))}function v$(e){e.childValues.size>0&&e.childValues.forEach(function(t,n){y$(e,n)}),e.forgetDeps(),xl(e.dirtyChildren===null)}function y$(e,t){t.parents.delete(e),e.childValues.delete(t),g$(e,t)}function XI(e,t){if(typeof e.subscribe=="function")try{b1(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}var JI={setDirty:!0,dispose:!0,forget:!0};function b$(e){var t=new Map,n=e&&e.subscribe;function r(i){var o=B2.getValue();if(o){var a=t.get(i);a||t.set(i,a=new Set),o.dependOn(a),typeof n=="function"&&(b1(a),a.unsubscribe=n(i))}}return r.dirty=function(o,a){var l=t.get(o);if(l){var c=a&&HI.call(JI,a)?a:"setDirty";s4(l).forEach(function(u){return u[c]()}),t.delete(o),b1(l)}},r}function $$(){var e=new xc(typeof WeakMap=="function");return function(){return e.lookupArray(arguments)}}$$();var zh=new Set;function $1(e,t){t===void 0&&(t=Object.create(null));var n=new BI(t.max||Math.pow(2,16),function(u){return u.dispose()}),r=t.keyArgs,i=t.makeCacheKey||$$(),o=function(){var u=i.apply(null,r?r.apply(null,arguments):arguments);if(u===void 0)return e.apply(null,arguments);var f=n.get(u);f||(n.set(u,f=new YI(e)),f.subscribe=t.subscribe,f.forget=function(){return n.delete(u)});var p=f.recompute(Array.prototype.slice.call(arguments));return n.set(u,f),zh.add(n),B2.hasValue()||(zh.forEach(function(m){return m.clean()}),zh.clear()),p};Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1});function a(u){var f=n.get(u);f&&f.setDirty()}o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))};function l(u){var f=n.get(u);if(f)return f.peek()}o.peekKey=l,o.peek=function(){return l(i.apply(null,arguments))};function c(u){return n.delete(u)}return o.forgetKey=c,o.forget=function(){return c(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(o)}var eM=function(){function e(){this.getFragmentDoc=$1(mP)}return e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(ie(ie({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(ie(ie({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=ma(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,o=t.fragmentName,a=ma(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),o=n(i);return o==null?i:(r.writeQuery(ie(ie({},t),{data:o})),o)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),o=n(i);return o==null?i:(r.writeFragment(ie(ie({},t),{data:o})),o)}})},e}(),w$=function(e){Ui(t,e);function t(n,r,i,o){var a,l=e.call(this,n)||this;if(l.message=n,l.path=r,l.query=i,l.variables=o,Array.isArray(l.path)){l.missing=l.message;for(var c=l.path.length-1;c>=0;--c)l.missing=(a={},a[l.path[c]]=l.missing,a)}else l.missing=l.path;return l.__proto__=t.prototype,l}return t}(Error),qn=Object.prototype.hasOwnProperty;function Cd(e){return e==null}function _$(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=Cd(r)?Cd(i)?void 0:{_id:i}:{id:r}),Cd(r)&&!Cd(i)&&(r=i),!Cd(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var x$={dataIdFromObject:_$,addTypename:!0,resultCaching:!0,canonizeResults:!1};function tM(e){return U2(x$,e)}function k$(e){var t=e.canonizeResults;return t===void 0?x$.canonizeResults:t}function nM(e,t){return Lt(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var C$=/^[_a-z][_0-9a-z]*/i;function ya(e){var t=e.match(C$);return t?t[0]:e}function sp(e,t,n){return vn(t)?yn(t)?t.every(function(r){return sp(e,r,n)}):e.selections.every(function(r){if(ls(r)&&R2(r,n)){var i=ss(r);return qn.call(t,i)&&(!r.selectionSet||sp(r.selectionSet,t[i],n))}return!0}):!1}function il(e){return vn(e)&&!Lt(e)&&!yn(e)}function rM(){return new ga}function E$(e,t){var n=Ym(Zm(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var g0=Object.create(null),jh=function(){return g0},J6=Object.create(null),oc=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,o){return J5(Lt(i)?r.get(i.__ref,o):i&&i[o])},this.canRead=function(i){return Lt(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,o){if(typeof i=="string")return cl(i);if(Lt(i))return i;var a=r.policies.identify(i)[0];if(a){var l=cl(a);return o&&r.merge(a,i),l}}}return e.prototype.toObject=function(){return ie({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),qn.call(this.data,t)){var r=this.data[t];if(r&&qn.call(r,n))return r[n]}if(n==="__typename"&&qn.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof ia)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),qn.call(this.data,t))return this.data[t];if(this instanceof ia)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;Lt(t)&&(t=t.__ref),Lt(n)&&(n=n.__ref);var o=typeof t=="string"?this.lookup(i=t):t,a=typeof n=="string"?this.lookup(i=n):n;if(!!a){__DEV__?Se(typeof i=="string","store.merge expects a string ID"):Se(typeof i=="string",1);var l=new ga(oM).merge(o,a);if(this.data[i]=l,l!==o&&(delete this.refs[i],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(u){if(!o||o[u]!==l[u]){c[u]=1;var f=ya(u);f!==u&&!r.policies.hasKeyArgs(l.__typename,f)&&(c[f]=1),l[u]===void 0&&!(r instanceof ia)&&delete l[u]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[i]===l.__typename&&delete c.__typename,Object.keys(c).forEach(function(u){return r.group.dirty(i,u)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var o=Object.create(null),a=!1,l=!0,c={DELETE:g0,INVALIDATE:J6,isReference:Lt,toReference:this.toReference,canRead:this.canRead,readField:function(u,f){return r.policies.readField(typeof u=="string"?{fieldName:u,from:f||cl(t)}:u,{store:r})}};if(Object.keys(i).forEach(function(u){var f=ya(u),p=i[u];if(p!==void 0){var m=typeof n=="function"?n:n[u]||n[f];if(m){var g=m===jh?g0:m(J5(p),ie(ie({},c),{fieldName:f,storeFieldName:u,storage:r.getStorage(t,u)}));g===J6?r.group.dirty(t,u):(g===g0&&(g=void 0),g!==p&&(o[u]=g,a=!0,p=g))}p!==void 0&&(l=!1)}}),a)return this.merge(t,o),l&&(this instanceof ia?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},e.prototype.delete=function(t,n,r){var i,o=this.lookup(t);if(o){var a=this.getFieldValue(o,"__typename"),l=n&&r?this.policies.getStoreFieldName({typename:a,fieldName:n,args:r}):n;return this.modify(t,l?(i={},i[l]=jh,i):jh)}return!1},e.prototype.evict=function(t,n){var r=!1;return t.id&&(qn.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof ia&&this!==n&&(r=this.parent.evict(t,n)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var t=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(i){qn.call(t.policies.rootTypenamesById,i)||r.push(i)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(t){var n=this;if(Object.keys(this.data).forEach(function(o){t&&qn.call(t,o)||n.delete(o)}),t){var r=t.__META,i=ma(t,["__META"]);Object.keys(i).forEach(function(o){n.merge(o,i[o])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},e.prototype.release=function(t){if(this.rootIds[t]>0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof ia?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(a){qn.call(r,a)&&(Object.keys(t.findChildRefIds(a)).forEach(n.add,n),delete r[a])});var i=Object.keys(r);if(i.length){for(var o=this;o instanceof ia;)o=o.parent;i.forEach(function(a){return o.delete(a)})}return i},e.prototype.findChildRefIds=function(t){if(!qn.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(o){Lt(o)&&(n[o.__ref]=!0),vn(o)&&Object.keys(o).forEach(function(a){var l=o[a];vn(l)&&i.add(l)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),S$=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?b$():null,this.keyMaker=new xc(bs)},e.prototype.depend=function(t,n){if(this.d){this.d(Uh(t,n));var r=ya(n);r!==n&&this.d(Uh(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(Uh(t,n),n==="__exists"?"forget":"setDirty")},e}();function Uh(e,t){return t+"#"+e}function e9(e,t){Yd(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){Ui(r,n);function r(i){var o=i.policies,a=i.resultCaching,l=a===void 0?!0:a,c=i.seed,u=n.call(this,o,new S$(l))||this;return u.stump=new iM(u),u.storageTrie=new xc(bs),c&&u.replace(c),u}return r.prototype.addLayer=function(i,o){return this.stump.addLayer(i,o)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(oc||(oc={}));var ia=function(e){Ui(t,e);function t(n,r,i,o){var a=e.call(this,r.policies,o)||this;return a.id=n,a.parent=r,a.replay=i,a.group=o,i(a),a}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=r.data[o],l=i.lookup(o);l?a?a!==l&&Object.keys(a).forEach(function(c){Rn(a[c],l[c])||r.group.dirty(o,c)}):(r.group.dirty(o,"__exists"),Object.keys(l).forEach(function(c){r.group.dirty(o,c)})):r.delete(o)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return ie(ie({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return qn.call(this.data,n)?ie(ie({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(oc),iM=function(e){Ui(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new S$(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(ia);function oM(e,t,n){var r=e[n],i=t[n];return Rn(r,i)?r:i}function Yd(e){return!!(e instanceof oc&&e.group.caching)}function aM(e){return vn(e)?yn(e)?e.slice(0):ie({__proto__:Object.getPrototypeOf(e)},e):e}var lp=function(){function e(){this.known=new(KP?WeakSet:Set),this.pool=new xc(bs),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return vn(t)&&this.known.has(t)},e.prototype.pass=function(t){if(vn(t)){var n=aM(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(vn(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var o=t.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),__DEV__&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(t))return t;var l=Object.getPrototypeOf(t),c=[l],u=this.sortedKeys(t);c.push(u.json);var f=c.length;u.sorted.forEach(function(g){c.push(n.admit(t[g]))});var a=this.pool.lookupArray(c);if(!a.object){var p=a.object=Object.create(l);this.known.add(p),u.sorted.forEach(function(g,v){p[g]=c[f+v]}),__DEV__&&Object.freeze(p)}return a.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),rs=Object.assign(function(e){if(vn(e)){dp===void 0&&t9();var t=dp.admit(e),n=cp.get(t);return n===void 0&&cp.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:t9}),dp,cp;function t9(){dp=new lp,cp=new(bs?WeakMap:Map)}function n9(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var sM=function(){function e(t){var n=this;this.knownResults=new(bs?WeakMap:Map),this.config=U2(t,{addTypename:t.addTypename!==!1,canonizeResults:k$(t)}),this.canon=t.canon||new lp,this.executeSelectionSet=$1(function(r){var i,o=r.context.canonizeResults,a=n9(r);a[3]=!o;var l=(i=n.executeSelectionSet).peek.apply(i,a);return l?o?ie(ie({},l),{result:n.canon.admit(l.result)}):l:(e9(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:n9,makeCacheKey:function(r,i,o,a){if(Yd(o.store))return o.store.makeCacheKey(r,Lt(i)?i.__ref:i,o.varString,a)}}),this.executeSubSelectedArray=$1(function(r){return e9(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(r){var i=r.field,o=r.array,a=r.context;if(Yd(a.store))return a.store.makeCacheKey(i,o,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new lp},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,o=i===void 0?"ROOT_QUERY":i,a=t.variables,l=t.returnPartialData,c=l===void 0?!0:l,u=t.canonizeResults,f=u===void 0?this.config.canonizeResults:u,p=this.config.cache.policies;a=ie(ie({},Jm(Zb(r))),a);var m=cl(o),g=this.executeSelectionSet({selectionSet:Xm(r).selectionSet,objectOrReference:m,enclosingRef:m,context:ie({store:n,query:r,policies:p,variables:a,varString:rs(a),canonizeResults:f},E$(r,this.config.fragments))}),v;if(g.missing&&(v=[new w$(lM(g.missing),g.missing,r,a)],!c))throw v[0];return{result:g.result,complete:!v,missing:v}},e.prototype.isFresh=function(t,n,r,i){if(Yd(i.store)&&this.knownResults.get(t)===r){var o=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(o&&t===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,o=t.enclosingRef,a=t.context;if(Lt(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var l=a.variables,c=a.policies,u=a.store,f=u.getFieldValue(i,"__typename"),p=[],m,g=new ga;this.config.addTypename&&typeof f=="string"&&!c.rootIdsByTypename[f]&&p.push({__typename:f});function v(O,E){var M;return O.missing&&(m=g.merge(m,(M={},M[E]=O.missing,M))),O.result}var w=new Set(r.selections);w.forEach(function(O){var E,M;if(!!R2(O,l))if(ls(O)){var P=c.readField({fieldName:O.name.value,field:O,variables:a.variables,from:i},a),L=ss(O);P===void 0?e4.added(O)||(m=g.merge(m,(E={},E[L]="Can't find field '".concat(O.name.value,"' on ").concat(Lt(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),E))):yn(P)?P=v(n.executeSubSelectedArray({field:O,array:P,enclosingRef:o,context:a}),L):O.selectionSet?P!=null&&(P=v(n.executeSelectionSet({selectionSet:O.selectionSet,objectOrReference:P,enclosingRef:Lt(P)?P:o,context:a}),L)):a.canonizeResults&&(P=n.canon.pass(P)),P!==void 0&&p.push((M={},M[L]=P,M))}else{var U=Qm(O,a.lookupFragment);if(!U&&O.kind===Ie.FRAGMENT_SPREAD)throw __DEV__?new Tt("No fragment named ".concat(O.name.value)):new Tt(5);U&&c.fragmentMatches(U,f)&&U.selectionSet.selections.forEach(w.add,w)}});var x=t4(p),A={result:x,missing:m},S=a.canonizeResults?this.canon.admit(A):J5(A);return S.result&&this.knownResults.set(S.result,r),S},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,o=t.enclosingRef,a=t.context,l,c=new ga;function u(f,p){var m;return f.missing&&(l=c.merge(l,(m={},m[p]=f.missing,m))),f.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(f,p){return f===null?null:yn(f)?u(n.executeSubSelectedArray({field:r,array:f,enclosingRef:o,context:a}),p):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:f,enclosingRef:Lt(f)?f:o,context:a}),p):(__DEV__&&dM(a.store,r,f),f)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:l}},e}();function lM(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function dM(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){vn(i)&&(__DEV__?Se(!Lt(i),"Missing selection set for object of type ".concat(nM(e,i)," returned for query field ").concat(t.name.value)):Se(!Lt(i),6),Object.values(i).forEach(r.add,r))})}}var d4=new V2,r9=new WeakMap;function Qd(e){var t=r9.get(e);return t||r9.set(e,t={vars:new Set,dep:b$()}),t}function i9(e){Qd(e).vars.forEach(function(t){return t.forgetCache(e)})}function cM(e){Qd(e).vars.forEach(function(t){return t.attachCache(e)})}function uM(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(c){Qd(c).dep.dirty(r),fM(c)});var a=Array.from(n);n.clear(),a.forEach(function(c){return c(e)})}}else{var l=d4.getValue();l&&(i(l),Qd(l).dep(r))}return e};r.onNextChange=function(o){return n.add(o),function(){n.delete(o)}};var i=r.attachCache=function(o){return t.add(o),Qd(o).vars.add(r),r};return r.forgetCache=function(o){return t.delete(o)},r}function fM(e){e.broadcastWatches&&e.broadcastWatches()}var o9=Object.create(null);function c4(e){var t=JSON.stringify(e);return o9[t]||(o9[t]=Object.create(null))}function a9(e){var t=c4(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(a,l){return r.readField(l,a)},o=r.keyObject=u4(e,function(a){var l=fl(r.storeObject,a,i);return l===void 0&&n!==r.storeObject&&qn.call(n,a[0])&&(l=fl(n,a,T$)),__DEV__?Se(l!==void 0,"Missing field '".concat(a.join("."),"' while extracting keyFields from ").concat(JSON.stringify(n))):Se(l!==void 0,2),l});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function s9(e){var t=c4(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,o=r.variables,a=r.fieldName,l=u4(e,function(u){var f=u[0],p=f.charAt(0);if(p==="@"){if(i&&$i(i.directives)){var m=f.slice(1),g=i.directives.find(function(A){return A.name.value===m}),v=g&&L2(g,o);return v&&fl(v,u.slice(1))}return}if(p==="$"){var w=f.slice(1);if(o&&qn.call(o,w)){var x=u.slice(0);return x[0]=w,fl(o,x)}return}if(n)return fl(n,u)}),c=JSON.stringify(l);return(n||c!=="{}")&&(a+=":"+c),a})}function u4(e,t){var n=new ga;return O$(e).reduce(function(r,i){var o,a=t(i);if(a!==void 0){for(var l=i.length-1;l>=0;--l)a=(o={},o[i[l]]=a,o);r=n.merge(r,a)}return r},Object.create(null))}function O$(e){var t=c4(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,o){yn(i)?(O$(i).forEach(function(a){return n.push(r.concat(a))}),r.length=0):(r.push(i),yn(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function T$(e,t){return e[t]}function fl(e,t,n){return n=n||T$,A$(t.reduce(function r(i,o){return yn(i)?i.map(function(a){return r(a,o)}):i&&n(i,o)},e))}function A$(e){return vn(e)?yn(e)?e.map(A$):u4(Object.keys(e).sort(),function(t){return fl(e,t)}):e}Km.setStringify(rs);function up(e){return e.args!==void 0?e.args:e.field?L2(e.field,e.variables):null}var hM=function(){},l9=function(e,t){return t.fieldName},d9=function(e,t,n){var r=n.mergeObjects;return r(e,t)},c9=function(e,t){return t},pM=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=ie({dataIdFromObject:_$},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,o=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=n&&n.storeObject||t,l=ie(ie({},n),{typename:o,storeObject:a,readField:n&&n.readField||function(){var m=f4(arguments,a);return i.readField(m,{store:i.cache.data,variables:m.variables})}}),c,u=o&&this.getTypePolicy(o),f=u&&u.keyFn||this.config.dataIdFromObject;f;){var p=f(t,l);if(yn(p))f=a9(p);else{c=p;break}}return c=c?String(c):void 0,l.keyObject?[c,l.keyObject]:[c]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],o=i.queryType,a=i.mutationType,l=i.subscriptionType,c=ma(i,["queryType","mutationType","subscriptionType"]);o&&n.setRootTypename("Query",r),a&&n.setRootTypename("Mutation",r),l&&n.setRootTypename("Subscription",r),qn.call(n.toBeAdded,r)?n.toBeAdded[r].push(c):n.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),o=n.keyFields,a=n.fields;function l(c,u){c.merge=typeof u=="function"?u:u===!0?d9:u===!1?c9:c.merge}l(i,n.merge),i.keyFn=o===!1?hM:yn(o)?a9(o):typeof o=="function"?o:i.keyFn,a&&Object.keys(a).forEach(function(c){var u=r.getFieldPolicy(t,c,!0),f=a[c];if(typeof f=="function")u.read=f;else{var p=f.keyArgs,m=f.read,g=f.merge;u.keyFn=p===!1?l9:yn(p)?s9(p):typeof p=="function"?p:u.keyFn,typeof m=="function"&&(u.read=m),l(u,g)}u.read&&u.merge&&(u.keyFn=u.keyFn||l9)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(__DEV__?Se(!i||i===t,"Cannot change root ".concat(t," __typename more than once")):Se(!i||i===t,3),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var o=i.match(C$);(!o||o[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!qn.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);i&&i.size&&i.forEach(function(a){var l=n.getTypePolicy(a),c=l.fields,u=ma(l,["fields"]);Object.assign(r,u),Object.assign(r.fields,c)})}var o=this.toBeAdded[t];return o&&o.length&&o.splice(0).forEach(function(a){n.updateTypePolicy(t,a)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var o=this;if(!t.typeCondition)return!0;if(!n)return!1;var a=t.typeCondition.name.value;if(n===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var l=this.getSupertypeSet(n,!0),c=[l],u=function(v){var w=o.getSupertypeSet(v,!1);w&&w.size&&c.indexOf(w)<0&&c.push(w)},f=!!(r&&this.fuzzySubtypes.size),p=!1,m=0;m<c.length;++m){var g=c[m];if(g.has(a))return l.has(a)||(p&&__DEV__&&Se.warn("Inferring subtype ".concat(n," of supertype ").concat(a)),l.add(a)),!0;g.forEach(u),f&&m===c.length-1&&sp(t.selectionSet,r,i)&&(f=!1,p=!0,this.fuzzySubtypes.forEach(function(v,w){var x=n.match(v);x&&x[0]===n&&u(w)}))}return!1},e.prototype.hasKeyArgs=function(t,n){var r=this.getFieldPolicy(t,n,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(t){var n=t.typename,r=t.fieldName,i=this.getFieldPolicy(n,r,!1),o,a=i&&i.keyFn;if(a&&n)for(var l={typename:n,fieldName:r,field:t.field||null,variables:t.variables},c=up(t);a;){var u=a(c,l);if(yn(u))a=s9(u);else{o=u||r;break}}return o===void 0&&(o=t.field?EP(t.field,t.variables):Km(r,up(t))),o===!1?r:r===ya(o)?o:r+":"+o},e.prototype.readField=function(t,n){var r=t.from;if(!!r){var i=t.field||t.fieldName;if(!!i){if(t.typename===void 0){var o=n.store.getFieldValue(r,"__typename");o&&(t.typename=o)}var a=this.getStoreFieldName(t),l=ya(a),c=n.store.getFieldValue(r,a),u=this.getFieldPolicy(t.typename,l,!1),f=u&&u.read;if(f){var p=u9(this,r,t,n,n.store.getStorage(Lt(r)?r.__ref:r,a));return d4.withValue(this.cache,f,[c,p])}return c}}},e.prototype.getReadFunction=function(t,n){var r=this.getFieldPolicy(t,n,!1);return r&&r.read},e.prototype.getMergeFunction=function(t,n,r){var i=this.getFieldPolicy(t,n,!1),o=i&&i.merge;return!o&&r&&(i=this.getTypePolicy(r),o=i&&i.merge),o},e.prototype.runMergeFunction=function(t,n,r,i,o){var a=r.field,l=r.typename,c=r.merge;return c===d9?N$(i.store)(t,n):c===c9?n:(i.overwrite&&(t=void 0),c(t,n,u9(this,void 0,{typename:l,fieldName:a.name.value,field:a,variables:i.variables},i,o||Object.create(null))))},e}();function u9(e,t,n,r,i){var o=e.getStoreFieldName(n),a=ya(o),l=n.variables||r.variables,c=r.store,u=c.toReference,f=c.canRead;return{args:up(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:l,isReference:Lt,toReference:u,storage:i,cache:e.cache,canRead:f,readField:function(){return e.readField(f4(arguments,t,l),r)},mergeObjects:N$(r.store)}}function f4(e,t,n){var r=e[0],i=e[1],o=e.length,a;return typeof r=="string"?a={fieldName:r,from:o>1?i:t}:(a=ie({},r),qn.call(a,"from")||(a.from=t)),__DEV__&&a.from===void 0&&__DEV__&&Se.warn("Undefined 'from' passed to readField with arguments ".concat(JP(Array.from(e)))),a.variables===void 0&&(a.variables=n),a}function N$(e){return function(n,r){if(yn(n)||yn(r))throw __DEV__?new Tt("Cannot automatically merge arrays"):new Tt(4);if(vn(n)&&vn(r)){var i=e.getFieldValue(n,"__typename"),o=e.getFieldValue(r,"__typename"),a=i&&o&&i!==o;if(a)return r;if(Lt(n)&&il(r))return e.merge(n.__ref,r),n;if(il(n)&&Lt(r))return e.merge(n,r.__ref),r;if(il(n)&&il(r))return ie(ie({},n),r)}return r}}function Vh(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:ie(ie({},e),{clientOnly:t,deferred:n})),i}var mM=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,o=n.result,a=n.dataId,l=n.variables,c=n.overwrite,u=_c(i),f=rM();l=ie(ie({},Jm(u)),l);var p=ie(ie({store:t,written:Object.create(null),merge:function(g,v){return f.merge(g,v)},variables:l,varString:rs(l)},E$(i,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:p});if(!Lt(m))throw __DEV__?new Tt("Could not identify object ".concat(JSON.stringify(o))):new Tt(7);return p.incomingById.forEach(function(g,v){var w=g.storeObject,x=g.mergeTree,A=g.fieldNodeSet,S=cl(v);if(x&&x.map.size){var O=r.applyMerges(x,S,w,p);if(Lt(O))return;w=O}if(__DEV__&&!p.overwrite){var E=Object.create(null);A.forEach(function(L){L.selectionSet&&(E[L.name.value]=!0)});var M=function(L){return E[ya(L)]===!0},P=function(L){var U=x&&x.map.get(L);return Boolean(U&&U.info&&U.info.merge)};Object.keys(w).forEach(function(L){M(L)&&!P(L)&&gM(S,w,L,p.store)})}t.merge(v,w)}),t.retain(m.__ref),m},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,o=t.selectionSet,a=t.context,l=t.mergeTree,c=this.cache.policies,u=Object.create(null),f=r&&c.rootTypenamesById[r]||Y5(i,o,a.fragmentMap)||r&&a.store.get(r,"__typename");typeof f=="string"&&(u.__typename=f);var p=function(){var O=f4(arguments,u,a.variables);if(Lt(O.from)){var E=a.incomingById.get(O.from.__ref);if(E){var M=c.readField(ie(ie({},O),{from:E.storeObject}),a);if(M!==void 0)return M}}return c.readField(O,a)},m=new Set;this.flattenFields(o,i,a,f).forEach(function(O,E){var M,P=ss(E),L=i[P];if(m.add(E),L!==void 0){var U=c.getStoreFieldName({typename:f,fieldName:E.name.value,field:E,variables:O.variables}),Z=f9(l,U),ce=n.processFieldValue(L,E,E.selectionSet?Vh(O,!1,!1):O,Z),Q=void 0;E.selectionSet&&(Lt(ce)||il(ce))&&(Q=p("__typename",ce));var G=c.getMergeFunction(f,E.name.value,Q);G?Z.info={field:E,typename:f,merge:G}:h9(l,U),u=O.merge(u,(M={},M[U]=ce,M))}else __DEV__&&!O.clientOnly&&!O.deferred&&!e4.added(E)&&!c.getReadFunction(f,E.name.value)&&__DEV__&&Se.error("Missing field '".concat(ss(E),"' while writing result ").concat(JSON.stringify(i,null,2)).substring(0,1e3))});try{var g=c.identify(i,{typename:f,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:u,readField:p}),v=g[0],w=g[1];r=r||v,w&&(u=a.merge(u,w))}catch(O){if(!r)throw O}if(typeof r=="string"){var x=cl(r),A=a.written[r]||(a.written[r]=[]);if(A.indexOf(o)>=0||(A.push(o),this.reader&&this.reader.isFresh(i,x,o,a)))return x;var S=a.incomingById.get(r);return S?(S.storeObject=a.merge(S.storeObject,u),S.mergeTree=fp(S.mergeTree,l),m.forEach(function(O){return S.fieldNodeSet.add(O)})):a.incomingById.set(r,{storeObject:u,mergeTree:w1(l)?void 0:l,fieldNodeSet:m}),x}return u},e.prototype.processFieldValue=function(t,n,r,i){var o=this;return!n.selectionSet||t===null?__DEV__?r$(t):t:yn(t)?t.map(function(a,l){var c=o.processFieldValue(a,n,r,f9(i,l));return h9(i,l),c}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=Y5(n,t,r.fragmentMap));var o=new Map,a=this.cache.policies,l=new xc(!1);return function c(u,f){var p=l.lookup(u,f.clientOnly,f.deferred);p.visited||(p.visited=!0,u.selections.forEach(function(m){if(!!R2(m,r.variables)){var g=f.clientOnly,v=f.deferred;if(!(g&&v)&&$i(m.directives)&&m.directives.forEach(function(A){var S=A.name.value;if(S==="client"&&(g=!0),S==="defer"){var O=L2(A,r.variables);(!O||O.if!==!1)&&(v=!0)}}),ls(m)){var w=o.get(m);w&&(g=g&&w.clientOnly,v=v&&w.deferred),o.set(m,Vh(r,g,v))}else{var x=Qm(m,r.lookupFragment);if(!x&&m.kind===Ie.FRAGMENT_SPREAD)throw __DEV__?new Tt("No fragment named ".concat(m.name.value)):new Tt(8);x&&a.fragmentMatches(x,i,n,r.variables)&&c(x.selectionSet,Vh(r,g,v))}}}))}(t,r),o},e.prototype.applyMerges=function(t,n,r,i,o){var a,l=this;if(t.map.size&&!Lt(r)){var c=!yn(r)&&(Lt(n)||il(n))?n:void 0,u=r;c&&!o&&(o=[Lt(c)?c.__ref:c]);var f,p=function(m,g){return yn(m)?typeof g=="number"?m[g]:void 0:i.store.getFieldValue(m,String(g))};t.map.forEach(function(m,g){var v=p(c,g),w=p(u,g);if(w!==void 0){o&&o.push(g);var x=l.applyMerges(m,v,w,i,o);x!==w&&(f=f||new Map,f.set(g,x)),o&&Se(o.pop()===g)}}),f&&(r=yn(u)?u.slice(0):ie({},u),f.forEach(function(m,g){r[g]=m}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,o&&(a=i.store).getStorage.apply(a,o)):r},e}(),P$=[];function f9(e,t){var n=e.map;return n.has(t)||n.set(t,P$.pop()||{map:new Map}),n.get(t)}function fp(e,t){if(e===t||!t||w1(t))return e;if(!e||w1(e))return t;var n=e.info&&t.info?ie(ie({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,o={info:n,map:i};if(r){var a=new Set(t.map.keys());e.map.forEach(function(l,c){o.map.set(c,fp(l,t.map.get(c))),a.delete(c)}),a.forEach(function(l){o.map.set(l,fp(t.map.get(l),e.map.get(l)))})}return o}function w1(e){return!e||!(e.info||e.map.size)}function h9(e,t){var n=e.map,r=n.get(t);r&&w1(r)&&(P$.push(r),n.delete(t))}var p9=new Set;function gM(e,t,n,r){var i=function(p){var m=r.getFieldValue(p,n);return typeof m=="object"&&m},o=i(e);if(!!o){var a=i(t);if(!!a&&!Lt(o)&&!Rn(o,a)&&!Object.keys(o).every(function(p){return r.getFieldValue(a,p)!==void 0})){var l=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=ya(n),u="".concat(l,".").concat(c);if(!p9.has(u)){p9.add(u);var f=[];!yn(o)&&!yn(a)&&[o,a].forEach(function(p){var m=r.getFieldValue(p,"__typename");typeof m=="string"&&!f.includes(m)&&f.push(m)}),__DEV__&&Se.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(l,` object.
|
|
54
|
+
`):new Tt(23)},SI=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},OI=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function TI(e,t){var n=[],r=function(p,m){n.push("".concat(p,"=").concat(encodeURIComponent(m)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=ip(t.variables,"Variables map")}catch(p){return{parseError:p}}r("variables",i)}if(t.extensions){var o=void 0;try{o=ip(t.extensions,"Extensions map")}catch(p){return{parseError:p}}r("extensions",o)}var a="",l=e,c=e.indexOf("#");c!==-1&&(a=e.substr(c),l=e.substr(0,c));var u=l.indexOf("?")===-1?"?":"&",f=l+u+n.join("&")+a;return{newURI:f}}var H6=vi(function(){return fetch}),AI=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,o=i===void 0?xI:i,a=e.includeExtensions,l=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,f=u===void 0?!1:u,p=ma(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&EI(r||H6);var m={http:{includeExtensions:a,preserveHeaderCase:l},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new Fl(function(g){var v=OI(g,n),w=g.getContext(),x={};if(w.clientAwareness){var A=w.clientAwareness,S=A.name,O=A.version;S&&(x["apollographql-client-name"]=S),O&&(x["apollographql-client-version"]=O)}var E=ie(ie({},x),w.headers),M={http:w.http,options:w.fetchOptions,credentials:w.credentials,headers:E},P=kI(g,o,_I,m,M),L=P.options,U=P.body;if(U.variables&&!f){var Z=new Set(Object.keys(U.variables));Ro(g.query,{Variable:function(ee,we,X){X&&X.kind!=="VariableDefinition"&&Z.delete(ee.name.value)}}),Z.size&&(U.variables=ie({},U.variables),Z.forEach(function(ee){delete U.variables[ee]}))}var ce;if(!L.signal){var Q=SI(),G=Q.controller,re=Q.signal;ce=G,ce&&(L.signal=re)}var K=function(ee){return ee.kind==="OperationDefinition"&&ee.operation==="mutation"};if(c&&!g.query.definitions.some(K)&&(L.method="GET"),Gm(["defer"],g.query)&&(L.headers=L.headers||{},L.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),L.method==="GET"){var H=TI(v,U),ye=H.newURI,pe=H.parseError;if(pe)return j6(pe);v=ye}else try{L.body=ip(U,"Payload")}catch(ee){return j6(ee)}return new Xt(function(ee){var we=r||vi(function(){return fetch})||H6;return we(v,L).then(function(X){var ae;g.setContext({response:X});var ne=(ae=X.headers)===null||ae===void 0?void 0:ae.get("content-type");return ne!==null&&/^multipart\/mixed/i.test(ne)?mI(X,ee):vI(X,g,ee)}).catch(function(X){return a4(X,ee)}),function(){ce&&ce.abort()}})})},l$=function(e){Ui(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,AI(n).request)||this;return r.options=n,r}return t}(Fl),d$=Object.prototype,q6=d$.toString,NI=d$.hasOwnProperty,W6=Function.prototype.toString,op=new Map;function Rn(e,t){try{return ap(e,t)}finally{op.clear()}}function ap(e,t){if(e===t)return!0;var n=q6.call(e),r=q6.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Y6(e,t))return!0;var i=G6(e),o=G6(t),a=i.length;if(a!==o.length)return!1;for(var l=0;l<a;++l)if(!NI.call(t,i[l]))return!1;for(var l=0;l<a;++l){var c=i[l];if(!ap(e[c],t[c]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e=="".concat(t);case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Y6(e,t))return!0;for(var u=e.entries(),f=n==="[object Map]";;){var p=u.next();if(p.done)break;var m=p.value,g=m[0],v=m[1];if(!t.has(g)||f&&!ap(v,t.get(g)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{var w=e.byteLength;if(w===t.byteLength)for(;w--&&e[w]===t[w];);return w===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var x=W6.call(e);return x!==W6.call(t)?!1:!MI(x,II)}}return!1}function G6(e){return Object.keys(e).filter(PI,e)}function PI(e){return this[e]!==void 0}var II="{ [native code] }";function MI(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function Y6(e,t){var n=op.get(e);if(n){if(n.has(t))return!0}else op.set(e,n=new Set);return n.add(t),!1}var DI=function(){return Object.create(null)},c$=Array.prototype,FI=c$.forEach,RI=c$.slice,xc=function(){function e(t,n){t===void 0&&(t=!0),n===void 0&&(n=DI),this.weakness=t,this.makeData=n}return e.prototype.lookup=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this.lookupArray(t)},e.prototype.lookupArray=function(t){var n=this;return FI.call(t,function(r){return n=n.getChildTrie(r)}),n.data||(n.data=this.makeData(RI.call(t)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&LI(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();function LI(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}var er=null,Q6={},zI=1,jI=function(){return function(){function e(){this.id=["slot",zI++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var t=er;t;t=t.parent)if(this.id in t.slots){var n=t.slots[this.id];if(n===Q6)break;return t!==er&&(er.slots[this.id]=n),!0}return er&&(er.slots[this.id]=Q6),!1},e.prototype.getValue=function(){if(this.hasValue())return er.slots[this.id]},e.prototype.withValue=function(t,n,r,i){var o,a=(o={__proto__:null},o[this.id]=t,o),l=er;er={parent:l,slots:a};try{return n.apply(i,r)}finally{er=l}},e.bind=function(t){var n=er;return function(){var r=er;try{return er=n,t.apply(this,arguments)}finally{er=r}}},e.noContext=function(t,n,r){if(er){var i=er;try{return er=null,t.apply(r,n)}finally{er=i}}else return t.apply(r,n)},e}()};function K6(e){try{return e()}catch{}}var Rh="@wry/context:Slot",UI=K6(function(){return globalThis})||K6(function(){return global})||Object.create(null),Z6=UI,V2=Z6[Rh]||Array[Rh]||function(e){try{Object.defineProperty(Z6,Rh,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(jI());V2.bind;V2.noContext;function VI(){}var BI=function(){function e(t,n){t===void 0&&(t=1/0),n===void 0&&(n=VI),this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(t){return this.map.has(t)},e.prototype.get=function(t){var n=this.getNode(t);return n&&n.value},e.prototype.getNode=function(t){var n=this.map.get(t);if(n&&n!==this.newest){var r=n.older,i=n.newer;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n},e.prototype.set=function(t,n){var r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(t){var n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1},e}(),B2=new V2,Lh,HI=Object.prototype.hasOwnProperty,s4=(Lh=Array.from,Lh===void 0?function(e){var t=[];return e.forEach(function(n){return t.push(n)}),t}:Lh);function b1(e){var t=e.unsubscribe;typeof t=="function"&&(e.unsubscribe=void 0,t())}var ic=[],qI=100;function xl(e,t){if(!e)throw new Error(t||"assertion failure")}function WI(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function u$(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function GI(e){return e.slice(0)}var YI=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(this.value.length===1&&!va(this))return X6(this),this.value[0]},e.prototype.recompute=function(t){return xl(!this.recomputing,"already recomputing"),X6(this),va(this)?QI(this,t):u$(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,f$(this),b1(this))},e.prototype.dispose=function(){var t=this;this.setDirty(),v$(this),l4(this,function(n,r){n.setDirty(),y$(n,t)})},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(t){t.add(this),this.deps||(this.deps=ic.pop()||new Set),this.deps.add(t)},e.prototype.forgetDeps=function(){var t=this;this.deps&&(s4(this.deps).forEach(function(n){return n.delete(t)}),this.deps.clear(),ic.push(this.deps),this.deps=null)},e.count=0,e}();function X6(e){var t=B2.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),va(e)?p$(t,e):m$(t,e),t}function QI(e,t){return v$(e),B2.withValue(e,KI,[e,t]),XI(e,t)&&ZI(e),u$(e.value)}function KI(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function va(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function ZI(e){e.dirty=!1,!va(e)&&h$(e)}function f$(e){l4(e,p$)}function h$(e){l4(e,m$)}function l4(e,t){var n=e.parents.size;if(n)for(var r=s4(e.parents),i=0;i<n;++i)t(r[i],e)}function p$(e,t){xl(e.childValues.has(t)),xl(va(t));var n=!va(e);if(!e.dirtyChildren)e.dirtyChildren=ic.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&f$(e)}function m$(e,t){xl(e.childValues.has(t)),xl(!va(t));var n=e.childValues.get(t);n.length===0?e.childValues.set(t,GI(t.value)):WI(n,t.value)||e.setDirty(),g$(e,t),!va(e)&&h$(e)}function g$(e,t){var n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(ic.length<qI&&ic.push(n),e.dirtyChildren=null))}function v$(e){e.childValues.size>0&&e.childValues.forEach(function(t,n){y$(e,n)}),e.forgetDeps(),xl(e.dirtyChildren===null)}function y$(e,t){t.parents.delete(e),e.childValues.delete(t),g$(e,t)}function XI(e,t){if(typeof e.subscribe=="function")try{b1(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}var JI={setDirty:!0,dispose:!0,forget:!0};function b$(e){var t=new Map,n=e&&e.subscribe;function r(i){var o=B2.getValue();if(o){var a=t.get(i);a||t.set(i,a=new Set),o.dependOn(a),typeof n=="function"&&(b1(a),a.unsubscribe=n(i))}}return r.dirty=function(o,a){var l=t.get(o);if(l){var c=a&&HI.call(JI,a)?a:"setDirty";s4(l).forEach(function(u){return u[c]()}),t.delete(o),b1(l)}},r}function $$(){var e=new xc(typeof WeakMap=="function");return function(){return e.lookupArray(arguments)}}$$();var zh=new Set;function $1(e,t){t===void 0&&(t=Object.create(null));var n=new BI(t.max||Math.pow(2,16),function(u){return u.dispose()}),r=t.keyArgs,i=t.makeCacheKey||$$(),o=function(){var u=i.apply(null,r?r.apply(null,arguments):arguments);if(u===void 0)return e.apply(null,arguments);var f=n.get(u);f||(n.set(u,f=new YI(e)),f.subscribe=t.subscribe,f.forget=function(){return n.delete(u)});var p=f.recompute(Array.prototype.slice.call(arguments));return n.set(u,f),zh.add(n),B2.hasValue()||(zh.forEach(function(m){return m.clean()}),zh.clear()),p};Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1});function a(u){var f=n.get(u);f&&f.setDirty()}o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))};function l(u){var f=n.get(u);if(f)return f.peek()}o.peekKey=l,o.peek=function(){return l(i.apply(null,arguments))};function c(u){return n.delete(u)}return o.forgetKey=c,o.forget=function(){return c(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(o)}var eM=function(){function e(){this.getFragmentDoc=$1(mP)}return e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(ie(ie({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(ie(ie({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=ma(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,o=t.fragmentName,a=ma(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),o=n(i);return o==null?i:(r.writeQuery(ie(ie({},t),{data:o})),o)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),o=n(i);return o==null?i:(r.writeFragment(ie(ie({},t),{data:o})),o)}})},e}(),w$=function(e){Ui(t,e);function t(n,r,i,o){var a,l=e.call(this,n)||this;if(l.message=n,l.path=r,l.query=i,l.variables=o,Array.isArray(l.path)){l.missing=l.message;for(var c=l.path.length-1;c>=0;--c)l.missing=(a={},a[l.path[c]]=l.missing,a)}else l.missing=l.path;return l.__proto__=t.prototype,l}return t}(Error),qn=Object.prototype.hasOwnProperty;function Cd(e){return e==null}function _$(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=Cd(r)?Cd(i)?void 0:{_id:i}:{id:r}),Cd(r)&&!Cd(i)&&(r=i),!Cd(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var x$={dataIdFromObject:_$,addTypename:!0,resultCaching:!0,canonizeResults:!1};function tM(e){return U2(x$,e)}function k$(e){var t=e.canonizeResults;return t===void 0?x$.canonizeResults:t}function nM(e,t){return Lt(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var C$=/^[_a-z][_0-9a-z]*/i;function ya(e){var t=e.match(C$);return t?t[0]:e}function sp(e,t,n){return vn(t)?yn(t)?t.every(function(r){return sp(e,r,n)}):e.selections.every(function(r){if(ls(r)&&R2(r,n)){var i=ss(r);return qn.call(t,i)&&(!r.selectionSet||sp(r.selectionSet,t[i],n))}return!0}):!1}function il(e){return vn(e)&&!Lt(e)&&!yn(e)}function rM(){return new ga}function E$(e,t){var n=Ym(Zm(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var g0=Object.create(null),jh=function(){return g0},J6=Object.create(null),oc=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,o){return J5(Lt(i)?r.get(i.__ref,o):i&&i[o])},this.canRead=function(i){return Lt(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,o){if(typeof i=="string")return cl(i);if(Lt(i))return i;var a=r.policies.identify(i)[0];if(a){var l=cl(a);return o&&r.merge(a,i),l}}}return e.prototype.toObject=function(){return ie({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),qn.call(this.data,t)){var r=this.data[t];if(r&&qn.call(r,n))return r[n]}if(n==="__typename"&&qn.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof ia)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),qn.call(this.data,t))return this.data[t];if(this instanceof ia)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;Lt(t)&&(t=t.__ref),Lt(n)&&(n=n.__ref);var o=typeof t=="string"?this.lookup(i=t):t,a=typeof n=="string"?this.lookup(i=n):n;if(!!a){__DEV__?Se(typeof i=="string","store.merge expects a string ID"):Se(typeof i=="string",1);var l=new ga(oM).merge(o,a);if(this.data[i]=l,l!==o&&(delete this.refs[i],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(u){if(!o||o[u]!==l[u]){c[u]=1;var f=ya(u);f!==u&&!r.policies.hasKeyArgs(l.__typename,f)&&(c[f]=1),l[u]===void 0&&!(r instanceof ia)&&delete l[u]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[i]===l.__typename&&delete c.__typename,Object.keys(c).forEach(function(u){return r.group.dirty(i,u)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var o=Object.create(null),a=!1,l=!0,c={DELETE:g0,INVALIDATE:J6,isReference:Lt,toReference:this.toReference,canRead:this.canRead,readField:function(u,f){return r.policies.readField(typeof u=="string"?{fieldName:u,from:f||cl(t)}:u,{store:r})}};if(Object.keys(i).forEach(function(u){var f=ya(u),p=i[u];if(p!==void 0){var m=typeof n=="function"?n:n[u]||n[f];if(m){var g=m===jh?g0:m(J5(p),ie(ie({},c),{fieldName:f,storeFieldName:u,storage:r.getStorage(t,u)}));g===J6?r.group.dirty(t,u):(g===g0&&(g=void 0),g!==p&&(o[u]=g,a=!0,p=g))}p!==void 0&&(l=!1)}}),a)return this.merge(t,o),l&&(this instanceof ia?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},e.prototype.delete=function(t,n,r){var i,o=this.lookup(t);if(o){var a=this.getFieldValue(o,"__typename"),l=n&&r?this.policies.getStoreFieldName({typename:a,fieldName:n,args:r}):n;return this.modify(t,l?(i={},i[l]=jh,i):jh)}return!1},e.prototype.evict=function(t,n){var r=!1;return t.id&&(qn.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof ia&&this!==n&&(r=this.parent.evict(t,n)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var t=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(i){qn.call(t.policies.rootTypenamesById,i)||r.push(i)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(t){var n=this;if(Object.keys(this.data).forEach(function(o){t&&qn.call(t,o)||n.delete(o)}),t){var r=t.__META,i=ma(t,["__META"]);Object.keys(i).forEach(function(o){n.merge(o,i[o])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},e.prototype.release=function(t){if(this.rootIds[t]>0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof ia?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(a){qn.call(r,a)&&(Object.keys(t.findChildRefIds(a)).forEach(n.add,n),delete r[a])});var i=Object.keys(r);if(i.length){for(var o=this;o instanceof ia;)o=o.parent;i.forEach(function(a){return o.delete(a)})}return i},e.prototype.findChildRefIds=function(t){if(!qn.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(o){Lt(o)&&(n[o.__ref]=!0),vn(o)&&Object.keys(o).forEach(function(a){var l=o[a];vn(l)&&i.add(l)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),S$=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?b$():null,this.keyMaker=new xc(bs)},e.prototype.depend=function(t,n){if(this.d){this.d(Uh(t,n));var r=ya(n);r!==n&&this.d(Uh(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(Uh(t,n),n==="__exists"?"forget":"setDirty")},e}();function Uh(e,t){return t+"#"+e}function e9(e,t){Yd(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){Ui(r,n);function r(i){var o=i.policies,a=i.resultCaching,l=a===void 0?!0:a,c=i.seed,u=n.call(this,o,new S$(l))||this;return u.stump=new iM(u),u.storageTrie=new xc(bs),c&&u.replace(c),u}return r.prototype.addLayer=function(i,o){return this.stump.addLayer(i,o)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(oc||(oc={}));var ia=function(e){Ui(t,e);function t(n,r,i,o){var a=e.call(this,r.policies,o)||this;return a.id=n,a.parent=r,a.replay=i,a.group=o,i(a),a}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=r.data[o],l=i.lookup(o);l?a?a!==l&&Object.keys(a).forEach(function(c){Rn(a[c],l[c])||r.group.dirty(o,c)}):(r.group.dirty(o,"__exists"),Object.keys(l).forEach(function(c){r.group.dirty(o,c)})):r.delete(o)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return ie(ie({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return qn.call(this.data,n)?ie(ie({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(oc),iM=function(e){Ui(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new S$(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(ia);function oM(e,t,n){var r=e[n],i=t[n];return Rn(r,i)?r:i}function Yd(e){return!!(e instanceof oc&&e.group.caching)}function aM(e){return vn(e)?yn(e)?e.slice(0):ie({__proto__:Object.getPrototypeOf(e)},e):e}var lp=function(){function e(){this.known=new(KP?WeakSet:Set),this.pool=new xc(bs),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return vn(t)&&this.known.has(t)},e.prototype.pass=function(t){if(vn(t)){var n=aM(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(vn(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var o=t.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),__DEV__&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(t))return t;var l=Object.getPrototypeOf(t),c=[l],u=this.sortedKeys(t);c.push(u.json);var f=c.length;u.sorted.forEach(function(g){c.push(n.admit(t[g]))});var a=this.pool.lookupArray(c);if(!a.object){var p=a.object=Object.create(l);this.known.add(p),u.sorted.forEach(function(g,v){p[g]=c[f+v]}),__DEV__&&Object.freeze(p)}return a.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),rs=Object.assign(function(e){if(vn(e)){dp===void 0&&t9();var t=dp.admit(e),n=cp.get(t);return n===void 0&&cp.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:t9}),dp,cp;function t9(){dp=new lp,cp=new(bs?WeakMap:Map)}function n9(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var sM=function(){function e(t){var n=this;this.knownResults=new(bs?WeakMap:Map),this.config=U2(t,{addTypename:t.addTypename!==!1,canonizeResults:k$(t)}),this.canon=t.canon||new lp,this.executeSelectionSet=$1(function(r){var i,o=r.context.canonizeResults,a=n9(r);a[3]=!o;var l=(i=n.executeSelectionSet).peek.apply(i,a);return l?o?ie(ie({},l),{result:n.canon.admit(l.result)}):l:(e9(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:n9,makeCacheKey:function(r,i,o,a){if(Yd(o.store))return o.store.makeCacheKey(r,Lt(i)?i.__ref:i,o.varString,a)}}),this.executeSubSelectedArray=$1(function(r){return e9(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(r){var i=r.field,o=r.array,a=r.context;if(Yd(a.store))return a.store.makeCacheKey(i,o,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new lp},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,o=i===void 0?"ROOT_QUERY":i,a=t.variables,l=t.returnPartialData,c=l===void 0?!0:l,u=t.canonizeResults,f=u===void 0?this.config.canonizeResults:u,p=this.config.cache.policies;a=ie(ie({},Jm(Zb(r))),a);var m=cl(o),g=this.executeSelectionSet({selectionSet:Xm(r).selectionSet,objectOrReference:m,enclosingRef:m,context:ie({store:n,query:r,policies:p,variables:a,varString:rs(a),canonizeResults:f},E$(r,this.config.fragments))}),v;if(g.missing&&(v=[new w$(lM(g.missing),g.missing,r,a)],!c))throw v[0];return{result:g.result,complete:!v,missing:v}},e.prototype.isFresh=function(t,n,r,i){if(Yd(i.store)&&this.knownResults.get(t)===r){var o=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(o&&t===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,o=t.enclosingRef,a=t.context;if(Lt(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var l=a.variables,c=a.policies,u=a.store,f=u.getFieldValue(i,"__typename"),p=[],m,g=new ga;this.config.addTypename&&typeof f=="string"&&!c.rootIdsByTypename[f]&&p.push({__typename:f});function v(O,E){var M;return O.missing&&(m=g.merge(m,(M={},M[E]=O.missing,M))),O.result}var w=new Set(r.selections);w.forEach(function(O){var E,M;if(!!R2(O,l))if(ls(O)){var P=c.readField({fieldName:O.name.value,field:O,variables:a.variables,from:i},a),L=ss(O);P===void 0?e4.added(O)||(m=g.merge(m,(E={},E[L]="Can't find field '".concat(O.name.value,"' on ").concat(Lt(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),E))):yn(P)?P=v(n.executeSubSelectedArray({field:O,array:P,enclosingRef:o,context:a}),L):O.selectionSet?P!=null&&(P=v(n.executeSelectionSet({selectionSet:O.selectionSet,objectOrReference:P,enclosingRef:Lt(P)?P:o,context:a}),L)):a.canonizeResults&&(P=n.canon.pass(P)),P!==void 0&&p.push((M={},M[L]=P,M))}else{var U=Qm(O,a.lookupFragment);if(!U&&O.kind===Ie.FRAGMENT_SPREAD)throw __DEV__?new Tt("No fragment named ".concat(O.name.value)):new Tt(5);U&&c.fragmentMatches(U,f)&&U.selectionSet.selections.forEach(w.add,w)}});var x=t4(p),A={result:x,missing:m},S=a.canonizeResults?this.canon.admit(A):J5(A);return S.result&&this.knownResults.set(S.result,r),S},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,o=t.enclosingRef,a=t.context,l,c=new ga;function u(f,p){var m;return f.missing&&(l=c.merge(l,(m={},m[p]=f.missing,m))),f.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(f,p){return f===null?null:yn(f)?u(n.executeSubSelectedArray({field:r,array:f,enclosingRef:o,context:a}),p):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:f,enclosingRef:Lt(f)?f:o,context:a}),p):(__DEV__&&dM(a.store,r,f),f)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:l}},e}();function lM(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function dM(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){vn(i)&&(__DEV__?Se(!Lt(i),"Missing selection set for object of type ".concat(nM(e,i)," returned for query field ").concat(t.name.value)):Se(!Lt(i),6),Object.values(i).forEach(r.add,r))})}}var d4=new V2,r9=new WeakMap;function Qd(e){var t=r9.get(e);return t||r9.set(e,t={vars:new Set,dep:b$()}),t}function i9(e){Qd(e).vars.forEach(function(t){return t.forgetCache(e)})}function cM(e){Qd(e).vars.forEach(function(t){return t.attachCache(e)})}function uM(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(c){Qd(c).dep.dirty(r),fM(c)});var a=Array.from(n);n.clear(),a.forEach(function(c){return c(e)})}}else{var l=d4.getValue();l&&(i(l),Qd(l).dep(r))}return e};r.onNextChange=function(o){return n.add(o),function(){n.delete(o)}};var i=r.attachCache=function(o){return t.add(o),Qd(o).vars.add(r),r};return r.forgetCache=function(o){return t.delete(o)},r}function fM(e){e.broadcastWatches&&e.broadcastWatches()}var o9=Object.create(null);function c4(e){var t=JSON.stringify(e);return o9[t]||(o9[t]=Object.create(null))}function a9(e){var t=c4(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(a,l){return r.readField(l,a)},o=r.keyObject=u4(e,function(a){var l=fl(r.storeObject,a,i);return l===void 0&&n!==r.storeObject&&qn.call(n,a[0])&&(l=fl(n,a,T$)),__DEV__?Se(l!==void 0,"Missing field '".concat(a.join("."),"' while extracting keyFields from ").concat(JSON.stringify(n))):Se(l!==void 0,2),l});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function s9(e){var t=c4(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,o=r.variables,a=r.fieldName,l=u4(e,function(u){var f=u[0],p=f.charAt(0);if(p==="@"){if(i&&$i(i.directives)){var m=f.slice(1),g=i.directives.find(function(A){return A.name.value===m}),v=g&&L2(g,o);return v&&fl(v,u.slice(1))}return}if(p==="$"){var w=f.slice(1);if(o&&qn.call(o,w)){var x=u.slice(0);return x[0]=w,fl(o,x)}return}if(n)return fl(n,u)}),c=JSON.stringify(l);return(n||c!=="{}")&&(a+=":"+c),a})}function u4(e,t){var n=new ga;return O$(e).reduce(function(r,i){var o,a=t(i);if(a!==void 0){for(var l=i.length-1;l>=0;--l)a=(o={},o[i[l]]=a,o);r=n.merge(r,a)}return r},Object.create(null))}function O$(e){var t=c4(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,o){yn(i)?(O$(i).forEach(function(a){return n.push(r.concat(a))}),r.length=0):(r.push(i),yn(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function T$(e,t){return e[t]}function fl(e,t,n){return n=n||T$,A$(t.reduce(function r(i,o){return yn(i)?i.map(function(a){return r(a,o)}):i&&n(i,o)},e))}function A$(e){return vn(e)?yn(e)?e.map(A$):u4(Object.keys(e).sort(),function(t){return fl(e,t)}):e}Km.setStringify(rs);function up(e){return e.args!==void 0?e.args:e.field?L2(e.field,e.variables):null}var hM=function(){},l9=function(e,t){return t.fieldName},d9=function(e,t,n){var r=n.mergeObjects;return r(e,t)},c9=function(e,t){return t},pM=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=ie({dataIdFromObject:_$},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,o=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=n&&n.storeObject||t,l=ie(ie({},n),{typename:o,storeObject:a,readField:n&&n.readField||function(){var m=f4(arguments,a);return i.readField(m,{store:i.cache.data,variables:m.variables})}}),c,u=o&&this.getTypePolicy(o),f=u&&u.keyFn||this.config.dataIdFromObject;f;){var p=f(t,l);if(yn(p))f=a9(p);else{c=p;break}}return c=c?String(c):void 0,l.keyObject?[c,l.keyObject]:[c]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],o=i.queryType,a=i.mutationType,l=i.subscriptionType,c=ma(i,["queryType","mutationType","subscriptionType"]);o&&n.setRootTypename("Query",r),a&&n.setRootTypename("Mutation",r),l&&n.setRootTypename("Subscription",r),qn.call(n.toBeAdded,r)?n.toBeAdded[r].push(c):n.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),o=n.keyFields,a=n.fields;function l(c,u){c.merge=typeof u=="function"?u:u===!0?d9:u===!1?c9:c.merge}l(i,n.merge),i.keyFn=o===!1?hM:yn(o)?a9(o):typeof o=="function"?o:i.keyFn,a&&Object.keys(a).forEach(function(c){var u=r.getFieldPolicy(t,c,!0),f=a[c];if(typeof f=="function")u.read=f;else{var p=f.keyArgs,m=f.read,g=f.merge;u.keyFn=p===!1?l9:yn(p)?s9(p):typeof p=="function"?p:u.keyFn,typeof m=="function"&&(u.read=m),l(u,g)}u.read&&u.merge&&(u.keyFn=u.keyFn||l9)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(__DEV__?Se(!i||i===t,"Cannot change root ".concat(t," __typename more than once")):Se(!i||i===t,3),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var o=i.match(C$);(!o||o[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!qn.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);i&&i.size&&i.forEach(function(a){var l=n.getTypePolicy(a),c=l.fields,u=ma(l,["fields"]);Object.assign(r,u),Object.assign(r.fields,c)})}var o=this.toBeAdded[t];return o&&o.length&&o.splice(0).forEach(function(a){n.updateTypePolicy(t,a)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var o=this;if(!t.typeCondition)return!0;if(!n)return!1;var a=t.typeCondition.name.value;if(n===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var l=this.getSupertypeSet(n,!0),c=[l],u=function(v){var w=o.getSupertypeSet(v,!1);w&&w.size&&c.indexOf(w)<0&&c.push(w)},f=!!(r&&this.fuzzySubtypes.size),p=!1,m=0;m<c.length;++m){var g=c[m];if(g.has(a))return l.has(a)||(p&&__DEV__&&Se.warn("Inferring subtype ".concat(n," of supertype ").concat(a)),l.add(a)),!0;g.forEach(u),f&&m===c.length-1&&sp(t.selectionSet,r,i)&&(f=!1,p=!0,this.fuzzySubtypes.forEach(function(v,w){var x=n.match(v);x&&x[0]===n&&u(w)}))}return!1},e.prototype.hasKeyArgs=function(t,n){var r=this.getFieldPolicy(t,n,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(t){var n=t.typename,r=t.fieldName,i=this.getFieldPolicy(n,r,!1),o,a=i&&i.keyFn;if(a&&n)for(var l={typename:n,fieldName:r,field:t.field||null,variables:t.variables},c=up(t);a;){var u=a(c,l);if(yn(u))a=s9(u);else{o=u||r;break}}return o===void 0&&(o=t.field?EP(t.field,t.variables):Km(r,up(t))),o===!1?r:r===ya(o)?o:r+":"+o},e.prototype.readField=function(t,n){var r=t.from;if(!!r){var i=t.field||t.fieldName;if(!!i){if(t.typename===void 0){var o=n.store.getFieldValue(r,"__typename");o&&(t.typename=o)}var a=this.getStoreFieldName(t),l=ya(a),c=n.store.getFieldValue(r,a),u=this.getFieldPolicy(t.typename,l,!1),f=u&&u.read;if(f){var p=u9(this,r,t,n,n.store.getStorage(Lt(r)?r.__ref:r,a));return d4.withValue(this.cache,f,[c,p])}return c}}},e.prototype.getReadFunction=function(t,n){var r=this.getFieldPolicy(t,n,!1);return r&&r.read},e.prototype.getMergeFunction=function(t,n,r){var i=this.getFieldPolicy(t,n,!1),o=i&&i.merge;return!o&&r&&(i=this.getTypePolicy(r),o=i&&i.merge),o},e.prototype.runMergeFunction=function(t,n,r,i,o){var a=r.field,l=r.typename,c=r.merge;return c===d9?N$(i.store)(t,n):c===c9?n:(i.overwrite&&(t=void 0),c(t,n,u9(this,void 0,{typename:l,fieldName:a.name.value,field:a,variables:i.variables},i,o||Object.create(null))))},e}();function u9(e,t,n,r,i){var o=e.getStoreFieldName(n),a=ya(o),l=n.variables||r.variables,c=r.store,u=c.toReference,f=c.canRead;return{args:up(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:l,isReference:Lt,toReference:u,storage:i,cache:e.cache,canRead:f,readField:function(){return e.readField(f4(arguments,t,l),r)},mergeObjects:N$(r.store)}}function f4(e,t,n){var r=e[0],i=e[1],o=e.length,a;return typeof r=="string"?a={fieldName:r,from:o>1?i:t}:(a=ie({},r),qn.call(a,"from")||(a.from=t)),__DEV__&&a.from===void 0&&__DEV__&&Se.warn("Undefined 'from' passed to readField with arguments ".concat(JP(Array.from(e)))),a.variables===void 0&&(a.variables=n),a}function N$(e){return function(n,r){if(yn(n)||yn(r))throw __DEV__?new Tt("Cannot automatically merge arrays"):new Tt(4);if(vn(n)&&vn(r)){var i=e.getFieldValue(n,"__typename"),o=e.getFieldValue(r,"__typename"),a=i&&o&&i!==o;if(a)return r;if(Lt(n)&&il(r))return e.merge(n.__ref,r),n;if(il(n)&&Lt(r))return e.merge(n,r.__ref),r;if(il(n)&&il(r))return ie(ie({},n),r)}return r}}function Vh(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:ie(ie({},e),{clientOnly:t,deferred:n})),i}var mM=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,o=n.result,a=n.dataId,l=n.variables,c=n.overwrite,u=_c(i),f=rM();l=ie(ie({},Jm(u)),l);var p=ie(ie({store:t,written:Object.create(null),merge:function(g,v){return f.merge(g,v)},variables:l,varString:rs(l)},E$(i,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:p});if(!Lt(m))throw __DEV__?new Tt("Could not identify object ".concat(JSON.stringify(o))):new Tt(7);return p.incomingById.forEach(function(g,v){var w=g.storeObject,x=g.mergeTree,A=g.fieldNodeSet,S=cl(v);if(x&&x.map.size){var O=r.applyMerges(x,S,w,p);if(Lt(O))return;w=O}if(__DEV__&&!p.overwrite){var E=Object.create(null);A.forEach(function(L){L.selectionSet&&(E[L.name.value]=!0)});var M=function(L){return E[ya(L)]===!0},P=function(L){var U=x&&x.map.get(L);return Boolean(U&&U.info&&U.info.merge)};Object.keys(w).forEach(function(L){M(L)&&!P(L)&&gM(S,w,L,p.store)})}t.merge(v,w)}),t.retain(m.__ref),m},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,o=t.selectionSet,a=t.context,l=t.mergeTree,c=this.cache.policies,u=Object.create(null),f=r&&c.rootTypenamesById[r]||Y5(i,o,a.fragmentMap)||r&&a.store.get(r,"__typename");typeof f=="string"&&(u.__typename=f);var p=function(){var O=f4(arguments,u,a.variables);if(Lt(O.from)){var E=a.incomingById.get(O.from.__ref);if(E){var M=c.readField(ie(ie({},O),{from:E.storeObject}),a);if(M!==void 0)return M}}return c.readField(O,a)},m=new Set;this.flattenFields(o,i,a,f).forEach(function(O,E){var M,P=ss(E),L=i[P];if(m.add(E),L!==void 0){var U=c.getStoreFieldName({typename:f,fieldName:E.name.value,field:E,variables:O.variables}),Z=f9(l,U),ce=n.processFieldValue(L,E,E.selectionSet?Vh(O,!1,!1):O,Z),Q=void 0;E.selectionSet&&(Lt(ce)||il(ce))&&(Q=p("__typename",ce));var G=c.getMergeFunction(f,E.name.value,Q);G?Z.info={field:E,typename:f,merge:G}:h9(l,U),u=O.merge(u,(M={},M[U]=ce,M))}else __DEV__&&!O.clientOnly&&!O.deferred&&!e4.added(E)&&!c.getReadFunction(f,E.name.value)&&__DEV__&&Se.error("Missing field '".concat(ss(E),"' while writing result ").concat(JSON.stringify(i,null,2)).substring(0,1e3))});try{var g=c.identify(i,{typename:f,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:u,readField:p}),v=g[0],w=g[1];r=r||v,w&&(u=a.merge(u,w))}catch(O){if(!r)throw O}if(typeof r=="string"){var x=cl(r),A=a.written[r]||(a.written[r]=[]);if(A.indexOf(o)>=0||(A.push(o),this.reader&&this.reader.isFresh(i,x,o,a)))return x;var S=a.incomingById.get(r);return S?(S.storeObject=a.merge(S.storeObject,u),S.mergeTree=fp(S.mergeTree,l),m.forEach(function(O){return S.fieldNodeSet.add(O)})):a.incomingById.set(r,{storeObject:u,mergeTree:w1(l)?void 0:l,fieldNodeSet:m}),x}return u},e.prototype.processFieldValue=function(t,n,r,i){var o=this;return!n.selectionSet||t===null?__DEV__?r$(t):t:yn(t)?t.map(function(a,l){var c=o.processFieldValue(a,n,r,f9(i,l));return h9(i,l),c}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=Y5(n,t,r.fragmentMap));var o=new Map,a=this.cache.policies,l=new xc(!1);return function c(u,f){var p=l.lookup(u,f.clientOnly,f.deferred);p.visited||(p.visited=!0,u.selections.forEach(function(m){if(!!R2(m,r.variables)){var g=f.clientOnly,v=f.deferred;if(!(g&&v)&&$i(m.directives)&&m.directives.forEach(function(A){var S=A.name.value;if(S==="client"&&(g=!0),S==="defer"){var O=L2(A,r.variables);(!O||O.if!==!1)&&(v=!0)}}),ls(m)){var w=o.get(m);w&&(g=g&&w.clientOnly,v=v&&w.deferred),o.set(m,Vh(r,g,v))}else{var x=Qm(m,r.lookupFragment);if(!x&&m.kind===Ie.FRAGMENT_SPREAD)throw __DEV__?new Tt("No fragment named ".concat(m.name.value)):new Tt(8);x&&a.fragmentMatches(x,i,n,r.variables)&&c(x.selectionSet,Vh(r,g,v))}}}))}(t,r),o},e.prototype.applyMerges=function(t,n,r,i,o){var a,l=this;if(t.map.size&&!Lt(r)){var c=!yn(r)&&(Lt(n)||il(n))?n:void 0,u=r;c&&!o&&(o=[Lt(c)?c.__ref:c]);var f,p=function(m,g){return yn(m)?typeof g=="number"?m[g]:void 0:i.store.getFieldValue(m,String(g))};t.map.forEach(function(m,g){var v=p(c,g),w=p(u,g);if(w!==void 0){o&&o.push(g);var x=l.applyMerges(m,v,w,i,o);x!==w&&(f=f||new Map,f.set(g,x)),o&&Se(o.pop()===g)}}),f&&(r=yn(u)?u.slice(0):ie({},u),f.forEach(function(m,g){r[g]=m}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,o&&(a=i.store).getStorage.apply(a,o)):r},e}(),P$=[];function f9(e,t){var n=e.map;return n.has(t)||n.set(t,P$.pop()||{map:new Map}),n.get(t)}function fp(e,t){if(e===t||!t||w1(t))return e;if(!e||w1(e))return t;var n=e.info&&t.info?ie(ie({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,o={info:n,map:i};if(r){var a=new Set(t.map.keys());e.map.forEach(function(l,c){o.map.set(c,fp(l,t.map.get(c))),a.delete(c)}),a.forEach(function(l){o.map.set(l,fp(t.map.get(l),e.map.get(l)))})}return o}function w1(e){return!e||!(e.info||e.map.size)}function h9(e,t){var n=e.map,r=n.get(t);r&&w1(r)&&(P$.push(r),n.delete(t))}var p9=new Set;function gM(e,t,n,r){var i=function(p){var m=r.getFieldValue(p,n);return typeof m=="object"&&m},o=i(e);if(!!o){var a=i(t);if(!!a&&!Lt(o)&&!Rn(o,a)&&!Object.keys(o).every(function(p){return r.getFieldValue(a,p)!==void 0})){var l=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=ya(n),u="".concat(l,".").concat(c);if(!p9.has(u)){p9.add(u);var f=[];!yn(o)&&!yn(a)&&[o,a].forEach(function(p){var m=r.getFieldValue(p,"__typename");typeof m=="string"&&!f.includes(m)&&f.push(m)}),__DEV__&&Se.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(l,` object.
|
|
55
55
|
|
|
56
56
|
To address this problem (which is not a bug in Apollo Client), `).concat(f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(u,` field, so InMemoryCache can safely merge these objects:
|
|
57
57
|
|
|
@@ -759,8 +759,8 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
|
|
|
759
759
|
mutation deleteWebhookConfig($id: String!) {
|
|
760
760
|
deleteWebhookConfig(id: $id)
|
|
761
761
|
}
|
|
762
|
-
`;return kr(this.apollo,t)}}class tD{constructor(t){this.client=new XM(t),this.organization=new JM(t),this.webhook=new eD(t)}}var _9;(function(e){e.Drug="DRUG",e.Package="PACKAGE",e.Product="PRODUCT"})(_9||(_9={}));var x9;(function(e){e.Icd10="ICD10"})(x9||(x9={}));var k9;(function(e){e.Canceled="CANCELED",e.New="NEW",e.Scheduled="SCHEDULED",e.Sent="SENT"})(k9||(k9={}));var C9;(function(e){e.MailOrder="MAIL_ORDER",e.PickUp="PICK_UP"})(C9||(C9={}));var E9;(function(e){e.Otc="OTC",e.Rx="RX"})(E9||(E9={}));var S9;(function(e){e.Canceled="CANCELED",e.Completed="COMPLETED",e.Error="ERROR",e.Pending="PENDING",e.Placed="PLACED",e.Routing="ROUTING"})(S9||(S9={}));var O9;(function(e){e.Pharmacy="PHARMACY",e.Prescriber="PRESCRIBER"})(O9||(O9={}));var T9;(function(e){e.Active="ACTIVE",e.Depleted="DEPLETED",e.Expired="EXPIRED",e.Canceled="CANCELED"})(T9||(T9={}));var A9;(function(e){e.I="I",e.Ii="II",e.Iii="III",e.Iv="IV",e.V="V"})(A9||(A9={}));var N9;(function(e){e.Concept="CONCEPT",e.Form="FORM",e.Route="ROUTE",e.Strength="STRENGTH"})(N9||(N9={}));var P9;(function(e){e.Female="FEMALE",e.Male="MALE",e.Unknown="UNKNOWN"})(P9||(P9={}));const nD="@photonhealth/sdk",rD="1.3.3",iD="dist/lib.js",oD={build:"npx nx run sdk:build",docs:'find src -name "*.ts" | xargs npx typedoc --out docs',prepublishOnly:"npm run build"},aD={access:"public"},sD=[],lD="",dD="ISC",cD={"@babel/core":"^7.18.9","@babel/preset-env":"^7.18.9","@rollup/plugin-typescript":"^8.3.4","@types/node":"^18.6.3",path:"^0.12.7",rimraf:"^3.0.2",tslib:"^2.4.0",typedoc:"^0.23.10"},uD={"@apollo/client":"^3.6.9","@auth0/auth0-spa-js":"^2.1.3","@nanostores/react":"^0.4.1",nanostores:"^0.7.4"},fD={".":{import:"./dist/lib.mjs",require:"./dist/lib.js"}},hD="./dist/lib.d.ts",pD={type:"git",url:"git+https://github.com/Photon-Health/photon-sdk-js.git"},mD={url:"https://github.com/Photon-Health/photon-sdk-js/issues"},gD="https://github.com/Photon-Health/photon-sdk-js#readme",vD="",yD="af370de34a8764638dbdc4bd5092f62db2eefee2",Qh={name:nD,version:rD,main:iD,scripts:oD,publishConfig:aD,keywords:sD,author:lD,license:dD,devDependencies:cD,dependencies:uD,exports:fD,types:hD,repository:pD,bugs:mD,homepage:gD,description:vD,gitHead:yD};var Kh;const bD=(Kh=Qh?.version)!==null&&Kh!==void 0?Kh:"unknown";class $D{constructor({domain:t,clientId:n,redirectURI:r,organization:i,env:o="photon",audience:a,connection:l,uri:c,developmentMode:u=!1},f){this.audience=a||Bu[o],this.uri=c||`${Bu[o]}/graphql`,this.clinicalUrl=c?jM(c):gp[o],this.clinicalApiUri=`${w9[o]}/graphql`,u&&(this.audience=Bu.neutron,this.uri=`${Bu.neutron}/graphql`,this.clinicalApiUri=`${w9.neutron}/graphql`);const p={domain:t||(u?"auth.neutron.health":"auth.photon.health"),clientId:n,cacheLocation:"localstorage",useRefreshTokens:!0,useRefreshTokensFallback:!0,authorizationParams:Object.assign({redirect_uri:r,audience:this.audience},l?{connection:l}:{})};this.auth0Client=new bN(p),this.organization=i,this.authentication=new qh(Object.assign({authentication:this.auth0Client,organization:this.organization,audience:this.audience},l?{connection:l}:{})),this.apollo=this.constructApolloClient({elementsVersion:f,isServices:!1}),this.apolloClinical=this.constructApolloClient({elementsVersion:f,isServices:!0}),this.clinical=new ZM(this.apollo),this.management=new tD(this.apollo)}constructApolloClient({elementsVersion:t,isServices:n}={isServices:!1}){return new CM({link:MM((i,o)=>Je(this,void 0,void 0,function*(){var{headers:a}=o,l=ma(o,["headers"]);const c=yield this.authentication.getAccessToken(),u=Object.assign(Object.assign(Object.assign({},a),{"x-photon-sdk-version":bD}),t?{"x-photon-elements-version":t}:{});return c?Object.assign(Object.assign({},l),{headers:n?Object.assign(Object.assign({},u),{"x-photon-auth-token":c,"x-photon-auth-token-type":"auth0"}):Object.assign(Object.assign({},u),{authorization:c})}):Object.assign({headers:u},l)})).concat(new l$({uri:n?this.clinicalApiUri:this.uri})),defaultOptions:{query:{fetchPolicy:"cache-first",errorPolicy:"all"},mutate:{onQueryUpdated:_D}},cache:new vM({typePolicies:{Patient:{fields:{name:{merge(i,o,{mergeObjects:a}){return a(i,o)}},address:{merge(i,o,{mergeObjects:a}){return a(i,o)}}}},User:{fields:{name:{merge(i,o,{mergeObjects:a}){return a(i,o)}},address:{merge(i,o,{mergeObjects:a}){return a(i,o)}}}}}})})}setOrganization(t){return this.organization=t,this.authentication=new qh({authentication:this.auth0Client,organization:t,audience:this.audience}),this}clearOrganization(){return this.organization=void 0,this.authentication=new qh({authentication:this.auth0Client,organization:void 0,audience:this.audience}),this.authentication.login({}),this}}const wD=e=>new Promise(t=>setTimeout(t,e)),_D=e=>Je(void 0,void 0,void 0,function*(){yield wD(1e3),e.refetch()}),xD=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],kD=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...xD]),CD=new Set(["innerHTML","textContent","innerText","children"]),ED=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),I9=Object.assign(Object.create(null),{class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"}),SD=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),OD=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),TD={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function AD(e,t,n){let r=n.length,i=t.length,o=r,a=0,l=0,c=t[i-1].nextSibling,u=null;for(;a<i||l<o;){if(t[a]===n[l]){a++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===a){const f=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],f)}else if(o===l)for(;a<i;)(!u||!u.has(t[a]))&&t[a].remove(),a++;else if(t[a]===n[o-1]&&n[l]===t[i-1]){const f=t[--i].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--o],f),t[i]=n[o]}else{if(!u){u=new Map;let p=l;for(;p<o;)u.set(n[p],p++)}const f=u.get(t[a]);if(f!=null)if(l<f&&f<o){let p=a,m=1,g;for(;++p<i&&p<o&&!((g=u.get(t[p]))==null||g!==f+m);)m++;if(m>f-l){const v=t[a];for(;l<f;)e.insertBefore(n[l++],v)}else e.replaceChild(n[l++],t[a++])}else a++;else t[a++].remove()}}}const M9="_$DX_DELEGATE";function _(e,t,n){const r=document.createElement("template");r.innerHTML=e;let i=r.content.firstChild;return n&&(i=i.firstChild),i}function po(e,t=window.document){const n=t[M9]||(t[M9]=new Set);for(let r=0,i=e.length;r<i;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,FD))}}function zt(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function ND(e,t,n,r){r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r)}function Jt(e,t){t==null?e.removeAttribute("class"):e.className=t}function L$(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const i=n[0];e.addEventListener(t,n[0]=o=>i.call(e,n[1],o))}else e.addEventListener(t,n)}function PD(e,t,n={}){const r=Object.keys(t||{}),i=Object.keys(n);let o,a;for(o=0,a=i.length;o<a;o++){const l=i[o];!l||l==="undefined"||t[l]||(D9(e,l,!1),delete n[l])}for(o=0,a=r.length;o<a;o++){const l=r[o],c=!!t[l];!l||l==="undefined"||n[l]===c||!c||(D9(e,l,!0),n[l]=c)}return n}function Ii(e,t,n){if(!t)return n?zt(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)i=t[o],i!==n[o]&&(r.setProperty(o,i),n[o]=i);return n}function wi(e,t={},n,r){const i={};return r||ve(()=>i.children=kl(e,t.children,i.children)),ve(()=>t.ref&&t.ref(e)),ve(()=>ID(e,t,n,!0,i,!0)),i}function lo(e,t,n){return Ce(()=>e(t,n))}function R(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return kl(e,t,r,n);ve(i=>kl(e,t(),i,n),r)}function ID(e,t,n,r,i={},o=!1){t||(t={});for(const a in i)if(!(a in t)){if(a==="children")continue;i[a]=F9(e,a,null,i[a],n,o)}for(const a in t){if(a==="children"){r||kl(e,t.children);continue}const l=t[a];i[a]=F9(e,a,l,i[a],n,o)}}function MD(e){let t,n;return!Ot.context||!(t=Ot.registry.get(n=RD()))?e.cloneNode(!0):(Ot.completed&&Ot.completed.add(t),Ot.registry.delete(n),t)}function DD(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function D9(e,t,n){const r=t.trim().split(/\s+/);for(let i=0,o=r.length;i<o;i++)e.classList.toggle(r[i],n)}function F9(e,t,n,r,i,o){let a,l,c;if(t==="style")return Ii(e,n,r);if(t==="classList")return PD(e,n,r);if(n===r)return r;if(t==="ref")o||n(e);else if(t.slice(0,3)==="on:"){const u=t.slice(3);r&&e.removeEventListener(u,r),n&&e.addEventListener(u,n)}else if(t.slice(0,10)==="oncapture:"){const u=t.slice(10);r&&e.removeEventListener(u,r,!0),n&&e.addEventListener(u,n,!0)}else if(t.slice(0,2)==="on"){const u=t.slice(2).toLowerCase(),f=SD.has(u);if(!f&&r){const p=Array.isArray(r)?r[0]:r;e.removeEventListener(u,p)}(f||n)&&(L$(e,u,n,f),f&&po([u]))}else if((c=CD.has(t))||!i&&(I9[t]||(l=kD.has(t)))||(a=e.nodeName.includes("-")))t==="class"||t==="className"?Jt(e,n):a&&!l&&!c?e[DD(t)]=n:e[I9[t]||t]=n;else{const u=i&&t.indexOf(":")>-1&&TD[t.split(":")[0]];u?ND(e,u,t,n):zt(e,ED[t]||t,n)}return n}function FD(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),Ot.registry&&!Ot.done&&(Ot.done=!0,document.querySelectorAll("[id^=pl-]").forEach(r=>{for(;r&&r.nodeType!==8&&r.nodeValue!=="pl-"+e;){let i=r.nextSibling;r.remove(),r=i}r&&r.remove()}));n;){const r=n[t];if(r&&!n.disabled){const i=n[`${t}Data`];if(i!==void 0?r.call(n,i,e):r.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function kl(e,t,n,r,i){for(Ot.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,a=r!==void 0;if(e=a&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(Ot.context)return n;if(o==="number"&&(t=t.toString()),a){let l=n[0];l&&l.nodeType===3?l.data=t:l=document.createTextNode(t),n=Vs(e,n,r,l)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(Ot.context)return n;n=Vs(e,n,r)}else{if(o==="function")return ve(()=>{let l=t();for(;typeof l=="function";)l=l();n=kl(e,l,n,r)}),()=>n;if(Array.isArray(t)){const l=[],c=n&&Array.isArray(n);if(vp(l,t,n,i))return ve(()=>n=kl(e,l,n,r,!0)),()=>n;if(Ot.context){if(!l.length)return n;for(let u=0;u<l.length;u++)if(l[u].parentNode)return n=l}if(l.length===0){if(n=Vs(e,n,r),a)return n}else c?n.length===0?R9(e,l,r):AD(e,n,l):(n&&Vs(e),R9(e,l));n=l}else if(t instanceof Node){if(Ot.context&&t.parentNode)return n=a?[t]:t;if(Array.isArray(n)){if(a)return n=Vs(e,n,r,t);Vs(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function vp(e,t,n,r){let i=!1;for(let o=0,a=t.length;o<a;o++){let l=t[o],c=n&&n[o];if(l instanceof Node)e.push(l);else if(!(l==null||l===!0||l===!1))if(Array.isArray(l))i=vp(e,l,c)||i;else if(typeof l=="function")if(r){for(;typeof l=="function";)l=l();i=vp(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||i}else e.push(l),i=!0;else{const u=String(l);c&&c.nodeType===3&&c.data===u?e.push(c):e.push(document.createTextNode(u))}}return i}function R9(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function Vs(e,t,n,r){if(n===void 0)return e.textContent="";const i=r||document.createTextNode("");if(t.length){let o=!1;for(let a=t.length-1;a>=0;a--){const l=t[a];if(i!==l){const c=l.parentNode===e;!o&&!a?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove()}else o=!0}}else e.insertBefore(i,n);return[i]}function RD(){const e=Ot.context;return`${e.id}${e.count++}`}const LD="http://www.w3.org/2000/svg";function zD(e,t=!1){return t?document.createElementNS(LD,e):document.createElement(e)}function jD(e){const[t,n]=$l(e,["component"]),r=oe(()=>t.component);return oe(()=>{const i=r();switch(typeof i){case"function":return Ce(()=>i(n));case"string":const o=OD.has(i),a=Ot.context?MD():zD(i,o);return wi(a,n,o),a}})}function UD(e,...t){const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function No(e){let t;return UD(e,n=>t=n)(),t}class VD extends Error{constructor(t,n){super(t),this.name="FelteSubmitError",this.response=n}}function BD(e,t){return Object.keys(e).some(n=>t(e[n]))}function q2(e,t){return Object.keys(e||{}).reduce((n,r)=>Object.assign(Object.assign({},n),{[r]:t(e[r])}),{})}function ut(e){return Object.prototype.toString.call(e)==="[object Object]"}function zr(e){return Object.keys(e||{}).reduce((t,n)=>Object.assign(Object.assign({},t),{[n]:ut(e[n])?zr(e[n]):Array.isArray(e[n])?[...e[n]]:e[n]}),{})}function HD(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function qD(e){return function(t){if(ut(t)){const n=jr(t,e);return HD(n,["key"])}return e}}function jr(e,t){return q2(e,n=>ut(n)?jr(n,t):Array.isArray(n)?n.map(qD(t)):t)}function ca(...e){const t=e.pop(),n=e.shift();if(typeof n=="string")return n;const r=zr(n);if(e.length===0)return r;for(const i of e){if(!i)continue;if(typeof i=="string")return i;let o=t(r,i);if(typeof o<"u")return o;const a=Array.from(new Set(Object.keys(r).concat(Object.keys(i))));for(const l of a)if(o=t(r[l],i[l]),typeof o<"u")r[l]=o;else if(ut(i[l])&&ut(r[l]))r[l]=ca(r[l],i[l],t);else if(Array.isArray(i[l]))r[l]=i[l].map((c,u)=>{if(!ut(c))return c;const f=Array.isArray(r[l])?r[l][u]:r[l];return ca(f,c,t)});else if(ut(i[l])){const c=jr(zr(i[l]),void 0);r[l]=ca(c,i[l],t)}else typeof i[l]<"u"&&(r[l]=i[l])}return r}function WD(e,t){if(!(ut(e)&&ut(t))){if(Array.isArray(t)){if(t.some(ut))return;const n=Array.isArray(e)?e:[];return t.map((r,i)=>{var o;return(o=n[i])!==null&&o!==void 0?o:r})}if(typeof e<"u")return e}}function L9(...e){return ca(...e,WD)}function z$(...e){return ca(...e,()=>{})}function io(e,t,n){const r=o=>String.prototype.split.call(t,o).filter(Boolean).reduce((a,l)=>a!=null?a[l]:a,e),i=r(/[,[\]]+?/)||r(/[,[\].]+?/);return i===void 0||i===e?n:i}function Rl(e,t,n){e&&(e=zr(e)),ut(e)||(e={});const r=Array.isArray(t)?t:t.match(/[^.[\]]+/g)||[],i=r[r.length-1];if(!i)return e;let o=e;for(let a=0;a<r.length-1;a++){const l=r[a];if(!o[l]||!ut(o[l])&&!Array.isArray(o[l])){const c=r[a+1];isNaN(Number(c))?o[l]={}:o[l]=[]}o=o[l]}return o[i]=n(o[i]),e}function Kt(e,t,n){return Rl(e,t,()=>n)}function Bd(e,t){if(!e||Object(e)!==e)return;typeof e<"u"&&(e=zr(e));const n=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g)||[],r=n.length===1?e:io(e,n.slice(0,-1).join("."));return Array.isArray(r)?r.splice(Number(n[n.length-1]),1):r==null||delete r[n[n.length-1]],e}function sc(e,t){return BD(e,n=>ut(n)?sc(n,t):Array.isArray(n)?n.length===0||n.every(r=>typeof r=="string")?t(n):n.some(r=>ut(r)?sc(r,t):t(r)):t(n))}function hl(e){return e?.nodeName==="INPUT"}function GD(e){return e?.nodeName==="TEXTAREA"}function pl(e){return e?.nodeName==="SELECT"}function W2(e){return e?.nodeName==="FIELDSET"}function Ln(e){return hl(e)||GD(e)||pl(e)}function yp(e){return e.nodeType===Node.ELEMENT_NODE}function tr(e,t){return t??(Ln(e)?e.name:"")}function Zh(e){let t=e;for(;t&&t.nodeName!=="FORM";){if(t.hasAttribute("data-felte-ignore"))return!0;t=t.parentElement}return!1}function z9(e,t){return!ut(e)||!t?e:typeof t=="string"?io(e,t):t(e)}function YD(e,t){if(!(ut(e)||ut(t))){if(e===null||e==="")return t;if(t===null||t===""||!t)return e;if(!(!e||!t)){if(Array.isArray(e)){if(!Array.isArray(t))return[...e,t];const n=[],r=Math.max(t.length,e.length);for(let i=0;i<r;i++){let o=e[i],a=t[i];!ut(o)&&!ut(a)?(Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]),n.push(...o,...a)):n.push(Ks([o??{},a??{}]))}return n.filter(Boolean)}return Array.isArray(t)||(t=[t]),[e,...t].reduce((n,r)=>n.concat(r),[]).filter(Boolean)}}}function Ks(e){return ca(...e,YD)}function QD(e,t){return t?(Array.isArray(t)?t:[t]).map(n=>n(e)):[]}function bp(e,t){return t?Array.isArray(t)?t.reduce((n,r)=>r(n),e):t(e):e}function j$(e=8){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let r=0;r<e;r++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}function $p(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length!==t.length?!1:e.every((n,r)=>$p(n,t[r]));if(ut(e)&&ut(t)){const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length?!1:n.every(i=>$p(e[i],t[i]))}return!1}function x1(e,t,{onInit:n,onEnd:r}={}){let i;return(...o)=>{i||n?.(),i&&clearTimeout(i),i=setTimeout(()=>{e.apply(this,o),i=void 0,r?.()},t)}}function wp(e){if(Ln(e))return[e];if(e.childElementCount===0)return[];const t=new Set;for(const n of e.children){if(Ln(n)&&t.add(n),W2(n))for(const r of n.elements)Ln(r)&&t.add(r);n.childElementCount>0&&wp(n).forEach(r=>t.add(r))}return Array.from(t)}function U$(e){for(const t of e.elements)!Ln(t)&&!W2(t)||e.hasAttribute("data-felte-keep-on-remove")&&!t.hasAttribute("data-felte-keep-on-remove")&&(t.dataset.felteKeepOnRemove=e.dataset.felteKeepOnRemove)}function V$(e){return e.type.match(/^(number|range)$/)?e.value?+e.value:null:e.value}function j9(e){var t;let n={},r={};for(const i of e.elements){if(W2(i)&&U$(i),!Ln(i)||!i.name)continue;const o=tr(i);if(hl(i)){if(i.type==="checkbox"){if(typeof io(n,o)>"u"){if(Array.from(e.querySelectorAll(`[name="${i.name}"]`)).filter(l=>Ln(l)?o===tr(l):!1).length===1){n=Kt(n,o,i.checked),r=Kt(r,o,!1);continue}n=Kt(n,o,i.checked?[i.value]:[]),r=Kt(r,o,!1);continue}Array.isArray(io(n,o))&&i.checked&&(n=Rl(n,o,l=>[...l,i.value]));continue}if(i.type==="radio"){if(io(n,o))continue;n=Kt(n,o,i.checked?i.value:void 0),r=Kt(r,o,!1);continue}if(i.type==="file"){n=Kt(n,o,i.multiple?Array.from(i.files||[]):(t=i.files)===null||t===void 0?void 0:t[0]),r=Kt(r,o,!1);continue}}else if(pl(i)){if(!i.multiple)n=Kt(n,o,i.value);else{const l=Array.from(i.selectedOptions).map(c=>c.value);n=Kt(n,o,l)}r=Kt(r,o,!1);continue}const a=V$(i);n=Kt(n,o,a),r=Kt(r,o,!1)}return{defaultData:n,defaultTouched:r}}function y0(e,t){var n;if(!Ln(e))return;const r=t;if(hl(e)){if(e.type==="checkbox"){const i=r;if(typeof i>"u"||typeof i=="boolean"){e.checked=!!i;return}Array.isArray(i)&&(i.includes(e.value)?e.checked=!0:e.checked=!1);return}if(e.type==="radio"){const i=r;e.value===i?e.checked=!0:e.checked=!1;return}if(e.type==="file"){if(t instanceof FileList)e.files=t;else if(t instanceof File&&typeof DataTransfer<"u"){const i=new DataTransfer;i.items.add(t),e.files=i.files}else if(typeof DataTransfer<"u"&&Array.isArray(t)&&t.some(i=>i instanceof File)){const i=new DataTransfer;for(const o of t)o instanceof File&&i.items.add(o);e.files=i.files}else(!t||Array.isArray(t)&&!t.length)&&(e.files=null,e.value="");return}}else if(pl(e)){if(e.multiple){if(Array.isArray(r)){e.value=String((n=r[0])!==null&&n!==void 0?n:"");const i=r.map(o=>String(o));for(const o of e.options)i.includes(o.value)?o.selected=!0:o.selected=!1}}else{e.value=String(r??"");for(const i of e.options)i.value===String(r)?i.selected=!0:i.selected=!1}return}e.value=String(r??"")}function Hu(e,t){for(const n of e.elements){if(W2(n)&&U$(n),!Ln(n)||!n.name)continue;const r=tr(n);y0(n,io(t,r))}}const KD={attributes:!0,attributeFilter:["data-felte-validation-message","aria-invalid"]};function ZD(e,t){var n,r;let i,o,a,l,c,u;typeof e=="string"?(i=e,o=t?.defaultValue,a=(n=t?.touchOnChange)!==null&&n!==void 0?n:!1,u=t?.onFormReset):(i=e.name,o=e.defaultValue,a=(r=e.touchOnChange)!==null&&r!==void 0?r:!1,u=e?.onFormReset);function f(x,A){if(!c)return;y0(c,A);const S=new Event(x,{bubbles:!0,composed:!0});c.dispatchEvent(S)}function p(x){x.forEach(()=>{const A=c.getAttribute("aria-invalid");A?l.setAttribute("aria-invalid",A):l.removeAttribute("aria-invalid");const S=c.getAttribute("data-felte-validation-message");S?l.setAttribute("data-felte-validation-message",S):l.removeAttribute("data-felte-validation-message")})}function m(x){!u||(y0(c,o),u(x))}function g(x){l=x;let A,S;if(Ln(x))return c=x,c.name=i,{};{let O=!1,E=!1;return setTimeout(()=>{if(E)return;const M=l.parentNode;if(!M||!yp(M))return;const P=M.querySelector(`[name="${i}"]`);if(!P||!Ln(P)){const L=document.createElement("input");L.type="hidden",L.name=i,M.insertBefore(L,x.nextSibling),c=L,O=!0}else c=P;y0(c,o),A=new MutationObserver(p),A.observe(c,KD),S=c.closest("form"),S?.addEventListener("reset",m)}),{destroy(){var M;O&&((M=c.parentNode)===null||M===void 0||M.removeChild(c)),E=!0,A?.disconnect(),S?.removeEventListener("reset",m)}}}}function v(x){f(a?"change":"input",x)}function w(){f("focusout")}return{field:g,onInput:v,onChange:v,onBlur:w}}function B$(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Po(e,t){return q2(e,n=>ut(n)?Po(n,t):Array.isArray(n)?n.length===0||n.every(r=>typeof r=="string")?t:n.map(r=>{const i=Po(r,t);return B$(i,["key"])}):t)}function ds(e){return e?q2(e,t=>ut(t)?ds(t):Array.isArray(t)?t.length===0||t.every(n=>typeof n=="string")?t:t.map(n=>{if(!ut(n))return n;const r=ds(n);return r.key||(r.key=j$()),r}):t):{}}function es(e){return e?q2(e,t=>ut(t)?es(t):Array.isArray(t)?t.length===0||t.every(n=>typeof n=="string")?t:t.map(n=>{if(!ut(n))return n;const r=es(n);return B$(r,["key"])}):t):{}}function XD(){class e extends CustomEvent{constructor(i){super("feltesuccess",{detail:i})}}class t extends CustomEvent{constructor(i){super("felteerror",{detail:i,cancelable:!0})}setErrors(i){this.preventDefault(),this.errors=i}}class n extends Event{constructor(){super("feltesubmit",{cancelable:!0})}handleSubmit(i){this.onSubmit=i}handleError(i){this.onError=i}handleSuccess(i){this.onSuccess=i}}return{createErrorEvent:r=>new t(r),createSubmitEvent:()=>new n,createSuccessEvent:r=>new e(r)}}function JD(e){if(e)return async function(){let t=new FormData(e);const n=new URL(e.action),r=e.method.toLowerCase()==="get"?"get":n.searchParams.get("_method")||e.method;let i=e.enctype;e.querySelector('input[type="file"]')&&(i="multipart/form-data"),(r==="get"||i==="application/x-www-form-urlencoded")&&(t=new URLSearchParams(t));let o;r==="get"?(t.forEach((l,c)=>{n.searchParams.append(c,l)}),o={method:r,headers:{Accept:"application/json"}}):o={method:r,body:t,headers:Object.assign(Object.assign({},i!=="multipart/form-data"&&{"Content-Type":i}),{Accept:"application/json"})};const a=await window.fetch(n.toString(),o);if(a.ok)return a;throw new VD("An error occurred while submitting the form",a)}}function qu(e,t,n,r){return Rl(e,t,i=>(typeof i<"u"&&!Array.isArray(i)||(i||(i=[]),typeof r>"u"?i.push(n):i.splice(r,0,n)),i))}function eF(e,t,n,r){return Rl(e,t,i=>(!i||!Array.isArray(i)||([i[n],i[r]]=[i[r],i[n]]),i))}function tF(e,t,n,r){return Rl(e,t,i=>(!i||!Array.isArray(i)||i.splice(r,0,i.splice(n,1)[0]),i))}function U9(e){return typeof e=="function"}function Jo(e){return(t,n)=>{if(typeof t=="string"){const r=t;e(i=>{const o=U9(n)?n(io(i,r)):n;return Kt(i,r,o)})}else e(r=>U9(t)?t(r):t)}}function nF({stores:e,config:t,validateErrors:n,validateWarnings:r,_getCurrentExtenders:i}){var o;let a,l=ds((o=t.initialValues)!==null&&o!==void 0?o:{});const{data:c,touched:u,errors:f,warnings:p,isDirty:m,isSubmitting:g,interacted:v}=e,w=Jo(c.update),x=Jo(u.update),A=Jo(f.update),S=Jo(p.update);function O(J){w(we=>{const ee=J(we);return a&&Hu(a,ee),ee})}const E=(J,we,ee)=>{Jo(O)(J,we),typeof J=="string"&&ee&&x(J,!0)};function M(J,we,ee){const ae=ut(we)?Po(we,!1):!1,ne=ut(ae)?jr(ae,[]):[];we=ut(we)?Object.assign(Object.assign({},we),{key:j$()}):we,f.update(ze=>qu(ze,J,ne,ee)),p.update(ze=>qu(ze,J,ne,ee)),u.update(ze=>qu(ze,J,ae,ee)),c.update(ze=>{const Be=qu(ze,J,we,ee);return setTimeout(()=>a&&Hu(a,Be)),Be})}function P(J){f.update(J),p.update(J),u.update(J),c.update(we=>{const ee=J(we);return setTimeout(()=>a&&Hu(a,ee)),ee})}function L(J){P(we=>Bd(we,J))}function U(J,we,ee){P(ae=>eF(ae,J,we,ee))}function Z(J,we,ee){P(ae=>tF(ae,J,we,ee))}function ce(J){const we=io(l,J),ee=ut(we)?Po(we,!1):!1,ae=ut(ee)?jr(ee,[]):[];c.update(ne=>{const ze=Kt(ne,J,we);return a&&Hu(a,ze),ze}),u.update(ne=>Kt(ne,J,ee)),f.update(ne=>Kt(ne,J,ae)),p.update(ne=>Kt(ne,J,ae))}const Q=Jo(g.update),G=Jo(m.update),re=Jo(v.update);async function K(){const J=No(c);u.set(Po(J,!0)),v.set(null);const we=await n(J);return await r(J),we}function H(){E(zr(l)),x(J=>jr(J,!1)),v.set(null),m.set(!1)}function ye(J){return async function(we){var ee,ae,ne,ze,Be,rt,_e;const{createErrorEvent:at,createSubmitEvent:Ue,createSuccessEvent:Ve}=XD(),ct=Ue();a?.dispatchEvent(ct);const _t=(ae=(ee=ct.onError)!==null&&ee!==void 0?ee:J?.onError)!==null&&ae!==void 0?ae:t.onError,It=(ze=(ne=ct.onSuccess)!==null&&ne!==void 0?ne:J?.onSuccess)!==null&&ze!==void 0?ze:t.onSuccess,Te=(_e=(rt=(Be=ct.onSubmit)!==null&&Be!==void 0?Be:J?.onSubmit)!==null&&rt!==void 0?rt:t.onSubmit)!==null&&_e!==void 0?_e:JD(a);if(!Te||(we?.preventDefault(),ct.defaultPrevented))return;g.set(!0),v.set(null);const se=es(No(c)),Fe=await n(se,J?.validate),Ze=await r(se,J?.warn);if(Ze&&p.set(z$(jr(se,[]),Ze)),u.set(Po(se,!0)),Fe&&(u.set(Po(Fe,!0)),sc(Fe,bt=>Array.isArray(bt)?bt.length>=1:!!bt))){await new Promise(bt=>setTimeout(bt)),i().forEach(bt=>{var Yt;return(Yt=bt.onSubmitError)===null||Yt===void 0?void 0:Yt.call(bt,{data:se,errors:Fe})}),g.set(!1);return}const mt={event:we,setFields:E,setData:w,setTouched:x,setErrors:A,setWarnings:S,unsetField:L,addField:M,resetField:ce,reset:H,setInitialValues:pe.setInitialValues,moveField:Z,swapFields:U,form:a,controls:a&&Array.from(a.elements).filter(Ln),config:Object.assign(Object.assign({},t),J)};try{const bt=await Te(se,mt);a?.dispatchEvent(Ve(Object.assign({response:bt},mt))),await It?.(bt,mt)}catch(bt){const Yt=at(Object.assign({error:bt},mt));if(a?.dispatchEvent(Yt),!_t&&!Yt.defaultPrevented)throw bt;if(!_t&&!Yt.errors)return;const gt=Yt.errors||await _t?.(bt,mt);gt&&(u.set(Po(gt,!0)),f.set(gt),await new Promise(an=>setTimeout(an)),i().forEach(an=>{var Un;return(Un=an.onSubmitError)===null||Un===void 0?void 0:Un.call(an,{data:se,errors:No(f)})}))}finally{g.set(!1)}}}const pe={setData:w,setFields:E,setTouched:x,setErrors:A,setWarnings:S,setIsSubmitting:Q,setIsDirty:G,setInteracted:re,validate:K,reset:H,unsetField:L,resetField:ce,addField:M,swapFields:U,moveField:Z,createSubmitHandler:ye,handleSubmit:ye(),setInitialValues:J=>{l=ds(J)}};return{public:pe,private:{_setFormNode(J){a=J},_getInitialValues:()=>l}}}function rF({helpers:e,stores:t,config:n,extender:r,createSubmitHandler:i,handleSubmit:o,_setFormNode:a,_getInitialValues:l,_setCurrentExtenders:c,_getCurrentExtenders:u}){const{setFields:f,setTouched:p,reset:m,setInitialValues:g}=e,{addValidator:v,addTransformer:w,validate:x}=e,{data:A,errors:S,warnings:O,touched:E,isSubmitting:M,isDirty:P,interacted:L,isValid:U,isValidating:Z}=t;function ce(Q){Q.requestSubmit||(Q.requestSubmit=o);function G(Te){return function(se){return se({form:Q,stage:Te,controls:Array.from(Q.elements).filter(Ln),data:A,errors:S,warnings:O,touched:E,isValid:U,isValidating:Z,isSubmitting:M,isDirty:P,interacted:L,config:n,addValidator:v,addTransformer:w,setFields:f,validate:x,reset:m,createSubmitHandler:i,handleSubmit:o})}}c(r.map(G("MOUNT"))),Q.noValidate=!!n.validate;const{defaultData:re,defaultTouched:K}=j9(Q);a(Q),g(z$(zr(re),l())),f(l()),E.set(K);function H(Te){const se=tr(Te),Fe=Array.from(Q.querySelectorAll(`[name="${Te.name}"]`)).filter(Ze=>Ln(Ze)?se===tr(Ze):!1);if(Fe.length!==0)return Fe.length===1?A.update(Ze=>Kt(Ze,tr(Te),Te.checked)):A.update(Ze=>Kt(Ze,tr(Te),Fe.filter(hl).filter(mt=>mt.checked).map(mt=>mt.value)))}function ye(Te){const se=Q.querySelectorAll(`[name="${Te.name}"]`),Fe=Array.from(se).find(Ze=>hl(Ze)&&Ze.checked);A.update(Ze=>Kt(Ze,tr(Te),Fe?.value))}function pe(Te){var se;const Fe=Array.from((se=Te.files)!==null&&se!==void 0?se:[]);A.update(Ze=>Kt(Ze,tr(Te),Te.multiple?Fe:Fe[0]))}function J(Te){if(!Te.multiple)A.update(se=>Kt(se,tr(Te),Te.value));else{const se=Array.from(Te.selectedOptions).map(Fe=>Fe.value);A.update(Fe=>Kt(Fe,tr(Te),se))}}function we(Te){const se=Te.target;if(!se||!Ln(se)||pl(se)||Zh(se)||["checkbox","radio","file"].includes(se.type)||!se.name)return;P.set(!0);const Fe=V$(se);L.set(se.name),A.update(Ze=>Kt(Ze,tr(se),Fe))}function ee(Te){const se=Te.target;if(!(!se||!Ln(se)||Zh(se))&&!!se.name)if(p(tr(se),!0),L.set(se.name),(pl(se)||["checkbox","radio","file","hidden"].includes(se.type))&&P.set(!0),se.type==="hidden"&&A.update(Fe=>Kt(Fe,tr(se),se.value)),pl(se))J(se);else if(hl(se))se.type==="checkbox"?H(se):se.type==="radio"?ye(se):se.type==="file"&&pe(se);else return}function ae(Te){const se=Te.target;!se||!Ln(se)||Zh(se)||!se.name||(p(tr(se),!0),L.set(se.name))}function ne(Te){Te.preventDefault(),m()}const ze={childList:!0,subtree:!0};function Be(Te){let se=No(A),Fe=No(E),Ze=No(S),mt=No(O);for(const bt of Te.reverse()){if(bt.hasAttribute("data-felte-keep-on-remove")&&bt.dataset.felteKeepOnRemove!=="false")continue;const Yt=/.*(\[[0-9]+\]|\.[0-9]+)\.[^.]+$/;let gt=tr(bt);const an=No(E);if(Yt.test(gt)){const Un=gt.split(".").slice(0,-1).join("."),ii=io(an,Un);ut(ii)&&Object.keys(ii).length<=1&&(gt=Un)}se=Bd(se,gt),Fe=Bd(Fe,gt),Ze=Bd(Ze,gt),mt=Bd(mt,gt)}A.set(se),E.set(Fe),S.set(Ze),O.set(mt)}const rt=x1(()=>{u().forEach(Fe=>{var Ze;return(Ze=Fe.destroy)===null||Ze===void 0?void 0:Ze.call(Fe)}),c(r.map(G("UPDATE")));const{defaultData:Te,defaultTouched:se}=j9(Q);A.update(Fe=>L9(Fe,Te)),E.update(Fe=>L9(Fe,se)),e.setFields(No(A))},0);let _e=[];const at=x1(()=>{u().forEach(Te=>{var se;return(se=Te.destroy)===null||se===void 0?void 0:se.call(Te)}),c(r.map(G("UPDATE"))),Be(_e),_e=[]},0);function Ue(Te){!Array.from(Te.addedNodes).some(se=>yp(se)?Ln(se)?!0:wp(se).length>0:!1)||rt()}function Ve(Te){for(const se of Te.removedNodes){if(!yp(se))continue;const Fe=wp(se);Fe.length!==0&&(_e.push(...Fe),at())}}function ct(Te){for(const se of Te)se.type==="childList"&&(se.addedNodes.length>0&&Ue(se),se.removedNodes.length>0&&Ve(se))}const _t=new MutationObserver(ct);_t.observe(Q,ze),Q.addEventListener("input",we),Q.addEventListener("change",ee),Q.addEventListener("focusout",ae),Q.addEventListener("submit",o),Q.addEventListener("reset",ne);const It=S.subscribe(Te=>{for(const se of Q.elements){if(!Ln(se)||!se.name)continue;const Fe=io(Te,tr(se)),Ze=Array.isArray(Fe)?Fe.join(`
|
|
763
|
-
`):typeof Fe=="string"?Fe:void 0;Ze!==se.dataset.felteValidationMessage&&(Ze?(se.dataset.felteValidationMessage=Ze,se.setAttribute("aria-invalid","true")):(delete se.dataset.felteValidationMessage,se.removeAttribute("aria-invalid")))}});return{destroy(){_t.disconnect(),Q.removeEventListener("input",we),Q.removeEventListener("change",ee),Q.removeEventListener("focusout",ae),Q.removeEventListener("submit",o),Q.removeEventListener("reset",ne),It(),u().forEach(Te=>{var se;return(se=Te.destroy)===null||se===void 0?void 0:se.call(Te)})}}}return{form:ce}}function iF(e){const t={aborted:!1,priority:e};return{signal:t,abort(){t.aborted=!0}}}function oF(e,t){if(ut(e))return!t||ut(t)&&Object.keys(t).length===0?jr(e,null):void 0;if(Array.isArray(e)){if(e.some(ut))return;const n=Array.isArray(t)?t:[];return e.map((r,i)=>{const o=n[i];return Array.isArray(o)&&o.length===0?null:r&&o||null})}return Array.isArray(t)&&t.length===0?null:Array.isArray(t)?e?t:null:e&&t?[t]:null}function aF(e,t){if(ut(e))return!t||ut(t)&&Object.keys(t).length===0?jr(e,null):void 0;if(Array.isArray(e)){if(e.some(ut))return;const n=Array.isArray(t)?t:[];return e.map((r,i)=>{const o=n[i];return Array.isArray(o)&&o.length===0?null:o||null})}return Array.isArray(t)&&t.length===0?null:Array.isArray(t)?t:t?[t]:null}function sF([e,t]){return ca(t,e,oF)}function lF([e,t]){return ca(t,e,aF)}function dF(e){return function(t,n,r){const i=Array.isArray(t)?t:[t],o=new Array(i.length),a=e(r),l=a.set,c=a.subscribe;let u;function f(){u=i.map((m,g)=>m.subscribe(v=>{o[g]=v,l(n(o))}))}function p(){u?.forEach(m=>m())}return a.subscribe=function(m){const g=c(m);return()=>{g()}},[a,f,p]}}function cF(e,t){var n,r,i,o,a,l,c,u,f;const p=dF(e),m=t.initialValues=t.initialValues?ds(bp(zr(t.initialValues),t.transform)):{},g=Po(es(m),!1),v=e(g),w=e(0),[x,A,S]=p([v,w],([Ut,Vt])=>sc(Ut,Mt=>!!Mt)&&Vt>=1,!1);delete x.set,delete x.update;function O(Ut){let Vt;return async function(Mt,Zn,ar,$n=!1){if(!ar||!Mt)return;let vr=Zn&&Object.keys(Zn).length>0?Zn:jr(Mt,[]);const yr=iF($n);if((!Vt?.signal.priority||$n)&&(Vt?.abort(),Vt=yr),Vt.signal.priority&&!$n)return;w.update(sr=>sr+1);const Ir=QD(Mt,ar);return Ir.forEach(async sr=>{const Hr=await sr;yr.signal.aborted||(vr=Ks([vr,Hr]),Ut.set(vr))}),await Promise.all(Ir),Vt=void 0,w.update(sr=>sr-1),vr}}let E=jr(g,[]);const M=e(m),P=jr(g,[]),L=e(P),U=e(zr(P)),[Z,ce,Q]=p([L,U],Ks,zr(P)),G=jr(g,[]),re=e(G),K=e(zr(G)),[H,ye,pe]=p([re,K],Ks,zr(G)),[J,we,ee]=p([Z,v],sF,zr(P)),[ae,ne,ze]=p([H,v],lF,zr(G));let Be=!1;const[rt,_e,at]=p(Z,([Ut])=>{var Vt;return Be?!sc(Ut,Mt=>Array.isArray(Mt)?Mt.length>=1:!!Mt):(Be=!0,!t.validate&&!(!((Vt=t.debounced)===null||Vt===void 0)&&Vt.validate))},!t.validate&&!(!((n=t.debounced)===null||n===void 0)&&n.validate));delete rt.set,delete rt.update;const Ue=e(!1),Ve=e(!1),ct=e(null),_t=O(L),It=O(re),Te=O(U),se=O(K),Fe=x1(Te,(a=(i=(r=t.debounced)===null||r===void 0?void 0:r.validateTimeout)!==null&&i!==void 0?i:(o=t.debounced)===null||o===void 0?void 0:o.timeout)!==null&&a!==void 0?a:300,{onInit:()=>{w.update(Ut=>Ut+1)},onEnd:()=>{w.update(Ut=>Ut-1)}}),Ze=x1(se,(f=(c=(l=t.debounced)===null||l===void 0?void 0:l.warnTimeout)!==null&&c!==void 0?c:(u=t.debounced)===null||u===void 0?void 0:u.timeout)!==null&&f!==void 0?f:300);async function mt(Ut,Vt){var Mt;const Zn=es(Ut),ar=_t(Zn,E,Vt??t.validate,!0);if(Vt)return ar;const $n=Te(Zn,E,(Mt=t.debounced)===null||Mt===void 0?void 0:Mt.validate,!0);return Ks(await Promise.all([ar,$n]))}async function bt(Ut,Vt){var Mt;const Zn=es(Ut),ar=It(Zn,E,Vt??t.warn,!0);if(Vt)return ar;const $n=se(Zn,E,(Mt=t.debounced)===null||Mt===void 0?void 0:Mt.warn,!0);return Ks(await Promise.all([ar,$n]))}let Yt=P,gt=G;function an(){const Ut=M.subscribe($n=>{var vr,yr;const Ir=es($n);_t(Ir,E,t.validate),It(Ir,E,t.warn),Fe(Ir,E,(vr=t.debounced)===null||vr===void 0?void 0:vr.validate),Ze(Ir,E,(yr=t.debounced)===null||yr===void 0?void 0:yr.warn)}),Vt=v.subscribe($n=>{E=jr($n,[])}),Mt=Z.subscribe($n=>{Yt=$n}),Zn=H.subscribe($n=>{gt=$n});ce(),_e(),ye(),we(),ne(),A();function ar(){Ut(),ee(),Q(),pe(),ze(),at(),S(),Vt(),Mt(),Zn()}return ar}function Un(Ut){L.set(Ut(Yt)),U.set({})}function ii(Ut){re.set(Ut(gt)),K.set({})}function Kl(Ut){Un(()=>Ut)}function vo(Ut){ii(()=>Ut)}return J.set=Kl,J.update=Un,ae.set=vo,ae.update=ii,{data:M,errors:J,warnings:ae,touched:v,isValid:rt,isSubmitting:Ue,isDirty:Ve,isValidating:x,interacted:ct,validateErrors:mt,validateWarnings:bt,cleanup:t.preventStoreStart?()=>{}:an(),start:an}}function uF(e,t){var n,r;(n=e.extend)!==null&&n!==void 0||(e.extend=[]),(r=e.debounced)!==null&&r!==void 0||(e.debounced={}),e.validate&&!Array.isArray(e.validate)&&(e.validate=[e.validate]),e.debounced.validate&&!Array.isArray(e.debounced.validate)&&(e.debounced.validate=[e.debounced.validate]),e.transform&&!Array.isArray(e.transform)&&(e.transform=[e.transform]),e.warn&&!Array.isArray(e.warn)&&(e.warn=[e.warn]),e.debounced.warn&&!Array.isArray(e.debounced.warn)&&(e.debounced.warn=[e.debounced.warn]);function i(ye,{debounced:pe,level:J}={debounced:!1,level:"error"}){var we;const ee=J==="error"?"validate":"warn";(we=e.debounced)!==null&&we!==void 0||(e.debounced={});const ae=pe?e.debounced:e;ae[ee]?ae[ee]=[...ae[ee],ye]:ae[ee]=[ye]}function o(ye){e.transform?e.transform=[...e.transform,ye]:e.transform=[ye]}const a=Array.isArray(e.extend)?e.extend:[e.extend];let l=[];const c=()=>l,u=ye=>{l=ye},{isSubmitting:f,isValidating:p,data:m,errors:g,warnings:v,touched:w,isValid:x,isDirty:A,cleanup:S,start:O,validateErrors:E,validateWarnings:M,interacted:P}=cF(t.storeFactory,e),L=m.update,U=m.set,Z=ye=>L(pe=>ds(bp(ye(pe),e.transform))),ce=ye=>U(ds(bp(ye,e.transform)));m.update=Z,m.set=ce;const Q=nF({extender:a,config:e,addValidator:i,addTransformer:o,validateErrors:E,validateWarnings:M,_getCurrentExtenders:c,stores:{data:m,errors:g,warnings:v,touched:w,isValid:x,isValidating:p,isSubmitting:f,isDirty:A,interacted:P}}),{createSubmitHandler:G,handleSubmit:re}=Q.public;l=a.map(ye=>ye({stage:"SETUP",errors:g,warnings:v,touched:w,data:m,isDirty:A,isValid:x,isValidating:p,isSubmitting:f,interacted:P,config:e,addValidator:i,addTransformer:o,setFields:Q.public.setFields,reset:Q.public.reset,validate:Q.public.validate,handleSubmit:re,createSubmitHandler:G}));const K=Object.assign({config:e,stores:{data:m,touched:w,errors:g,warnings:v,isSubmitting:f,isValidating:p,isValid:x,isDirty:A,interacted:P},createSubmitHandler:G,handleSubmit:re,helpers:Object.assign(Object.assign({},Q.public),{addTransformer:o,addValidator:i}),extender:a,_getCurrentExtenders:c,_setCurrentExtenders:u},Q.private),{form:H}=rF(K);return Object.assign({data:m,errors:g,warnings:v,touched:w,isValid:x,isSubmitting:f,isValidating:p,isDirty:A,interacted:P,form:H,cleanup:S,startStores:O},Q.public)}function fF(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function hF(e){const t={},n={};function r(i){if(!i)return e();if(!t[i.toString()]){const a=te(z9(Ce(e),i));n[i.toString()]=a,t[i.toString()]=i}const[o]=n[i.toString()];return o()}return Ae(()=>{const i=e(),o=Object.keys(t);for(const a of o){const l=t[a],c=z9(i,l),[u,f]=n[l.toString()];$p(c,Ce(u))||f(c)}}),r}function pF(e){return function(t){return dl(n=>(Ae(()=>t(e())),n))}}const mF=e=>{const[t,n]=te(e);function r(l){n(()=>l)}function i(l){n(l)}const o=hF(t),a=pF(t);return o.subscribe=a,o.set=r,o.update=i,o};function H$(e){const t=uF(e??{},{storeFactory:mF}),{form:n,cleanup:r,startStores:i,data:o,errors:a,warnings:l,touched:c}=t,u=fF(t,["form","cleanup","startStores","data","errors","warnings","touched"]);function f(p){const{destroy:m}=n(p);return Sr(m),{destroy:m}}return Sr(r),Object.assign(Object.assign({},u),{data:o,errors:a,warnings:l,touched:c,form:f})}function gF(e,t){const{field:n,onChange:r,onInput:i,onBlur:o}=ZD(e,t);function a(l){const{destroy:c}=n(l);return Sr(()=>c?.()),{destroy:c}}return{field:a,onChange:r,onInput:i,onBlur:o}}function vF(e){function t(n){return n.issues.reduce((r,i)=>i.path?Rl(r,i.path.join("."),o=>!o||!Array.isArray(o)?[i.message]:[...o,i.message]):r,{})}return async function(n){try{await e.parseAsync(n)}catch(r){return t(r)}}}function q$({schema:e,level:t="error"}){return function(n){if(n.stage!=="SETUP")return{};const r=vF(e);return n.addValidator(r,{level:t}),{}}}var St;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const o={};for(const a of i)o[a]=a;return o},e.getValidEnumValues=i=>{const o=e.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),a={};for(const l of o)a[l]=i[l];return e.objectValues(a)},e.objectValues=i=>e.objectKeys(i).map(function(o){return i[o]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const o=[];for(const a in i)Object.prototype.hasOwnProperty.call(i,a)&&o.push(a);return o},e.find=(i,o)=>{for(const a of i)if(o(a))return a},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,o=" | "){return i.map(a=>typeof a=="string"?`'${a}'`:a).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(St||(St={}));var V9;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(V9||(V9={}));const Le=St.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Qa=e=>{switch(typeof e){case"undefined":return Le.undefined;case"string":return Le.string;case"number":return isNaN(e)?Le.nan:Le.number;case"boolean":return Le.boolean;case"function":return Le.function;case"bigint":return Le.bigint;case"symbol":return Le.symbol;case"object":return Array.isArray(e)?Le.array:e===null?Le.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Le.promise:typeof Map<"u"&&e instanceof Map?Le.map:typeof Set<"u"&&e instanceof Set?Le.set:typeof Date<"u"&&e instanceof Date?Le.date:Le.object;default:return Le.unknown}},ke=St.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class cs extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(o){return o.message},r={_errors:[]},i=o=>{for(const a of o.issues)if(a.code==="invalid_union")a.unionErrors.map(i);else if(a.code==="invalid_return_type")i(a.returnTypeError);else if(a.code==="invalid_arguments")i(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let l=r,c=0;for(;c<a.path.length;){const u=a.path[c];c===a.path.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(n(a))):l[u]=l[u]||{_errors:[]},l=l[u],c++}}};return i(this),r}toString(){return this.message}get message(){return JSON.stringify(this.issues,St.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const i of this.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}cs.create=e=>new cs(e);const W$=(e,t)=>{let n;switch(e.code){case ke.invalid_type:e.received===Le.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ke.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,St.jsonStringifyReplacer)}`;break;case ke.unrecognized_keys:n=`Unrecognized key(s) in object: ${St.joinValues(e.keys,", ")}`;break;case ke.invalid_union:n="Invalid input";break;case ke.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${St.joinValues(e.options)}`;break;case ke.invalid_enum_value:n=`Invalid enum value. Expected ${St.joinValues(e.options)}, received '${e.received}'`;break;case ke.invalid_arguments:n="Invalid function arguments";break;case ke.invalid_return_type:n="Invalid function return type";break;case ke.invalid_date:n="Invalid date";break;case ke.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:St.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ke.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ke.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ke.custom:n="Invalid input";break;case ke.invalid_intersection_types:n="Intersection results could not be merged";break;case ke.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ke.not_finite:n="Number must be finite";break;default:n=t.defaultError,St.assertNever(e)}return{message:n}};let yF=W$;function bF(){return yF}const $F=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],a={...i,path:o};let l="";const c=r.filter(u=>!!u).slice().reverse();for(const u of c)l=u(a,{data:t,defaultError:l}).message;return{...i,path:o,message:i.message||l}};function Re(e,t){const n=$F({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,bF(),W$].filter(r=>!!r)});e.common.issues.push(n)}class Jr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return pt;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n)r.push({key:await i.key,value:await i.value});return Jr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:o,value:a}=i;if(o.status==="aborted"||a.status==="aborted")return pt;o.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof a.value<"u"||i.alwaysSet)&&(r[o.value]=a.value)}return{status:t.value,value:r}}}const pt=Object.freeze({status:"aborted"}),wF=e=>({status:"dirty",value:e}),ki=e=>({status:"valid",value:e}),B9=e=>e.status==="aborted",H9=e=>e.status==="dirty",k1=e=>e.status==="valid",_p=e=>typeof Promise<"u"&&e instanceof Promise;var He;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(He||(He={}));class ba{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const q9=(e,t)=>{if(k1(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new cs(e.common.issues);return this._error=n,this._error}}};function ft(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,a)=>o.code!=="invalid_type"?{message:a.defaultError}:typeof a.data>"u"?{message:r??a.defaultError}:{message:n??a.defaultError},description:i}}class xt{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Qa(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Qa(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Jr,ctx:{common:t.parent.common,data:t.data,parsedType:Qa(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(_p(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const i={common:{issues:[],async:(r=n?.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qa(t)},o=this._parseSync({data:t,path:i.path,parent:i});return q9(i,o)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qa(t)},i=this._parse({data:t,path:r.path,parent:r}),o=await(_p(i)?i:Promise.resolve(i));return q9(r,o)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,o)=>{const a=t(i),l=()=>o.addIssue({code:ke.custom,...r(i)});return typeof Promise<"u"&&a instanceof Promise?a.then(c=>c?!0:(l(),!1)):a?!0:(l(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new El({schema:this,typeName:et.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ua.create(this,this._def)}nullable(){return Sl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return oo.create(this,this._def)}promise(){return O1.create(this,this._def)}or(t){return E1.create([this,t],this._def)}and(t){return S1.create(this,t,this._def)}transform(t){return new El({...ft(this._def),schema:this,typeName:et.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new kp({...ft(this._def),innerType:this,defaultValue:n,typeName:et.ZodDefault})}brand(){return new IF({typeName:et.ZodBranded,type:this,...ft(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Cp({...ft(this._def),innerType:this,catchValue:n,typeName:et.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return h4.create(this,t)}readonly(){return Ep.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const _F=/^c[^\s-]{8,}$/i,xF=/^[a-z][a-z0-9]*$/,kF=/^[0-9A-HJKMNP-TV-Z]{26}$/,CF=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,EF=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,SF="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Xh;const OF=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,TF=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,AF=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function NF(e,t){return!!((t==="v4"||!t)&&OF.test(e)||(t==="v6"||!t)&&TF.test(e))}class da extends xt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Le.string){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.string,received:i.parsedType}),pt}const n=new Jr;let r;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="max")t.data.length>i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.length<i.value;(o||a)&&(r=this._getOrReturnCtx(t,r),o?Re(r,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&Re(r,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if(i.kind==="email")EF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"email",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="emoji")Xh||(Xh=new RegExp(SF,"u")),Xh.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"emoji",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="uuid")CF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"uuid",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid")_F.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"cuid",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid2")xF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"cuid2",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="ulid")kF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"ulid",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{r=this._getOrReturnCtx(t,r),Re(r,{validation:"url",code:ke.invalid_string,message:i.message}),n.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"regex",code:ke.invalid_string,message:i.message}),n.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):i.kind==="datetime"?AF(i).test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:"datetime",message:i.message}),n.dirty()):i.kind==="ip"?NF(t.data,i.version)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"ip",code:ke.invalid_string,message:i.message}),n.dirty()):St.assertNever(i);return{status:n.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:ke.invalid_string,...He.errToObj(r)})}_addCheck(t){return new da({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...He.errToObj(t)})}url(t){return this._addCheck({kind:"url",...He.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...He.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...He.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...He.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...He.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...He.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...He.errToObj(t)})}datetime(t){var n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:(n=t?.offset)!==null&&n!==void 0?n:!1,...He.errToObj(t?.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...He.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...He.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...He.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...He.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...He.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...He.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...He.errToObj(n)})}nonempty(t){return this.min(1,He.errToObj(t))}trim(){return new da({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new da({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new da({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}da.create=e=>{var t;return new da({checks:[],typeName:et.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...ft(e)})};function PF(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,o=parseInt(e.toFixed(i).replace(".","")),a=parseInt(t.toFixed(i).replace(".",""));return o%a/Math.pow(10,i)}class lc extends xt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Le.number){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.number,received:i.parsedType}),pt}let n;const r=new Jr;for(const i of this._def.checks)i.kind==="int"?St.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?PF(t.data,i.value)!==0&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.not_finite,message:i.message}),r.dirty()):St.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,i){return new lc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(i)}]})}_addCheck(t){return new lc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:He.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:He.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:He.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:He.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&St.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}lc.create=e=>new lc({checks:[],typeName:et.ZodNumber,coerce:e?.coerce||!1,...ft(e)});class dc extends xt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==Le.bigint){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.bigint,received:i.parsedType}),pt}let n;const r=new Jr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):St.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,i){return new dc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(i)}]})}_addCheck(t){return new dc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}dc.create=e=>{var t;return new dc({checks:[],typeName:et.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...ft(e)})};class W9 extends xt{_parse(t){if(this._def.coerce&&(t.data=Boolean(t.data)),this._getType(t)!==Le.boolean){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.boolean,received:n.parsedType}),pt}return ki(t.data)}}W9.create=e=>new W9({typeName:et.ZodBoolean,coerce:e?.coerce||!1,...ft(e)});class C1 extends xt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Le.date){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.date,received:i.parsedType}),pt}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_date}),pt}const n=new Jr;let r;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):St.assertNever(i);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new C1({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:He.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:He.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}C1.create=e=>new C1({checks:[],coerce:e?.coerce||!1,typeName:et.ZodDate,...ft(e)});class G9 extends xt{_parse(t){if(this._getType(t)!==Le.symbol){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.symbol,received:n.parsedType}),pt}return ki(t.data)}}G9.create=e=>new G9({typeName:et.ZodSymbol,...ft(e)});class Y9 extends xt{_parse(t){if(this._getType(t)!==Le.undefined){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.undefined,received:n.parsedType}),pt}return ki(t.data)}}Y9.create=e=>new Y9({typeName:et.ZodUndefined,...ft(e)});class Q9 extends xt{_parse(t){if(this._getType(t)!==Le.null){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.null,received:n.parsedType}),pt}return ki(t.data)}}Q9.create=e=>new Q9({typeName:et.ZodNull,...ft(e)});class K9 extends xt{constructor(){super(...arguments),this._any=!0}_parse(t){return ki(t.data)}}K9.create=e=>new K9({typeName:et.ZodAny,...ft(e)});class Z9 extends xt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ki(t.data)}}Z9.create=e=>new Z9({typeName:et.ZodUnknown,...ft(e)});class $a extends xt{_parse(t){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.never,received:n.parsedType}),pt}}$a.create=e=>new $a({typeName:et.ZodNever,...ft(e)});class X9 extends xt{_parse(t){if(this._getType(t)!==Le.undefined){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.void,received:n.parsedType}),pt}return ki(t.data)}}X9.create=e=>new X9({typeName:et.ZodVoid,...ft(e)});class oo extends xt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==Le.array)return Re(n,{code:ke.invalid_type,expected:Le.array,received:n.parsedType}),pt;if(i.exactLength!==null){const a=n.data.length>i.exactLength.value,l=n.data.length<i.exactLength.value;(a||l)&&(Re(n,{code:a?ke.too_big:ke.too_small,minimum:l?i.exactLength.value:void 0,maximum:a?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(Re(n,{code:ke.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(Re(n,{code:ke.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,l)=>i.type._parseAsync(new ba(n,a,n.path,l)))).then(a=>Jr.mergeArray(r,a));const o=[...n.data].map((a,l)=>i.type._parseSync(new ba(n,a,n.path,l)));return Jr.mergeArray(r,o)}get element(){return this._def.type}min(t,n){return new oo({...this._def,minLength:{value:t,message:He.toString(n)}})}max(t,n){return new oo({...this._def,maxLength:{value:t,message:He.toString(n)}})}length(t,n){return new oo({...this._def,exactLength:{value:t,message:He.toString(n)}})}nonempty(t){return this.min(1,t)}}oo.create=(e,t)=>new oo({type:e,minLength:null,maxLength:null,exactLength:null,typeName:et.ZodArray,...ft(t)});function Zs(e){if(e instanceof mn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ua.create(Zs(r))}return new mn({...e._def,shape:()=>t})}else return e instanceof oo?new oo({...e._def,type:Zs(e.element)}):e instanceof ua?ua.create(Zs(e.unwrap())):e instanceof Sl?Sl.create(Zs(e.unwrap())):e instanceof us?us.create(e.items.map(t=>Zs(t))):e}class mn extends xt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=St.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==Le.object){const c=this._getOrReturnCtx(t);return Re(c,{code:ke.invalid_type,expected:Le.object,received:c.parsedType}),pt}const{status:n,ctx:r}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof $a&&this._def.unknownKeys==="strip"))for(const c in r.data)o.includes(c)||a.push(c);const l=[];for(const c of o){const u=i[c],f=r.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new ba(r,f,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof $a){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of a)l.push({key:{status:"valid",value:u},value:{status:"valid",value:r.data[u]}});else if(c==="strict")a.length>0&&(Re(r,{code:ke.unrecognized_keys,keys:a}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of a){const f=r.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new ba(r,f,r.path,u)),alwaysSet:u in r.data})}}return r.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const f=await u.key;c.push({key:f,value:await u.value,alwaysSet:u.alwaysSet})}return c}).then(c=>Jr.mergeObjectSync(n,c)):Jr.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(t){return He.errToObj,new mn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,o,a,l;const c=(a=(o=(i=this._def).errorMap)===null||o===void 0?void 0:o.call(i,n,r).message)!==null&&a!==void 0?a:r.defaultError;return n.code==="unrecognized_keys"?{message:(l=He.errToObj(t).message)!==null&&l!==void 0?l:c}:{message:c}}}:{}})}strip(){return new mn({...this._def,unknownKeys:"strip"})}passthrough(){return new mn({...this._def,unknownKeys:"passthrough"})}extend(t){return new mn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new mn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:et.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new mn({...this._def,catchall:t})}pick(t){const n={};return St.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new mn({...this._def,shape:()=>n})}omit(t){const n={};return St.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new mn({...this._def,shape:()=>n})}deepPartial(){return Zs(this)}partial(t){const n={};return St.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new mn({...this._def,shape:()=>n})}required(t){const n={};return St.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof ua;)i=i._def.innerType;n[r]=i}}),new mn({...this._def,shape:()=>n})}keyof(){return G$(St.objectKeys(this.shape))}}mn.create=(e,t)=>new mn({shape:()=>e,unknownKeys:"strip",catchall:$a.create(),typeName:et.ZodObject,...ft(t)});mn.strictCreate=(e,t)=>new mn({shape:()=>e,unknownKeys:"strict",catchall:$a.create(),typeName:et.ZodObject,...ft(t)});mn.lazycreate=(e,t)=>new mn({shape:e,unknownKeys:"strip",catchall:$a.create(),typeName:et.ZodObject,...ft(t)});class E1 extends xt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(o){for(const l of o)if(l.result.status==="valid")return l.result;for(const l of o)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const a=o.map(l=>new cs(l.ctx.common.issues));return Re(n,{code:ke.invalid_union,unionErrors:a}),pt}if(n.common.async)return Promise.all(r.map(async o=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(i);{let o;const a=[];for(const c of r){const u={...n,common:{...n.common,issues:[]},parent:null},f=c._parseSync({data:n.data,path:n.path,parent:u});if(f.status==="valid")return f;f.status==="dirty"&&!o&&(o={result:f,ctx:u}),u.common.issues.length&&a.push(u.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;const l=a.map(c=>new cs(c));return Re(n,{code:ke.invalid_union,unionErrors:l}),pt}}get options(){return this._def.options}}E1.create=(e,t)=>new E1({options:e,typeName:et.ZodUnion,...ft(t)});function xp(e,t){const n=Qa(e),r=Qa(t);if(e===t)return{valid:!0,data:e};if(n===Le.object&&r===Le.object){const i=St.objectKeys(t),o=St.objectKeys(e).filter(l=>i.indexOf(l)!==-1),a={...e,...t};for(const l of o){const c=xp(e[l],t[l]);if(!c.valid)return{valid:!1};a[l]=c.data}return{valid:!0,data:a}}else if(n===Le.array&&r===Le.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let o=0;o<e.length;o++){const a=e[o],l=t[o],c=xp(a,l);if(!c.valid)return{valid:!1};i.push(c.data)}return{valid:!0,data:i}}else return n===Le.date&&r===Le.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class S1 extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=(o,a)=>{if(B9(o)||B9(a))return pt;const l=xp(o.value,a.value);return l.valid?((H9(o)||H9(a))&&n.dirty(),{status:n.value,value:l.data}):(Re(r,{code:ke.invalid_intersection_types}),pt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([o,a])=>i(o,a)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}S1.create=(e,t,n)=>new S1({left:e,right:t,typeName:et.ZodIntersection,...ft(n)});class us extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Le.array)return Re(r,{code:ke.invalid_type,expected:Le.array,received:r.parsedType}),pt;if(r.data.length<this._def.items.length)return Re(r,{code:ke.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),pt;!this._def.rest&&r.data.length>this._def.items.length&&(Re(r,{code:ke.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((o,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new ba(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(i).then(o=>Jr.mergeArray(n,o)):Jr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new us({...this._def,rest:t})}}us.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new us({items:e,typeName:et.ZodTuple,rest:null,...ft(t)})};class J9 extends xt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Le.map)return Re(r,{code:ke.invalid_type,expected:Le.map,received:r.parsedType}),pt;const i=this._def.keyType,o=this._def.valueType,a=[...r.data.entries()].map(([l,c],u)=>({key:i._parse(new ba(r,l,r.path,[u,"key"])),value:o._parse(new ba(r,c,r.path,[u,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const c of a){const u=await c.key,f=await c.value;if(u.status==="aborted"||f.status==="aborted")return pt;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),l.set(u.value,f.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const c of a){const u=c.key,f=c.value;if(u.status==="aborted"||f.status==="aborted")return pt;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),l.set(u.value,f.value)}return{status:n.value,value:l}}}}J9.create=(e,t,n)=>new J9({valueType:t,keyType:e,typeName:et.ZodMap,...ft(n)});class cc extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Le.set)return Re(r,{code:ke.invalid_type,expected:Le.set,received:r.parsedType}),pt;const i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(Re(r,{code:ke.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(Re(r,{code:ke.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const o=this._def.valueType;function a(c){const u=new Set;for(const f of c){if(f.status==="aborted")return pt;f.status==="dirty"&&n.dirty(),u.add(f.value)}return{status:n.value,value:u}}const l=[...r.data.values()].map((c,u)=>o._parse(new ba(r,c,r.path,u)));return r.common.async?Promise.all(l).then(c=>a(c)):a(l)}min(t,n){return new cc({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new cc({...this._def,maxSize:{value:t,message:He.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}cc.create=(e,t)=>new cc({valueType:e,minSize:null,maxSize:null,typeName:et.ZodSet,...ft(t)});class e7 extends xt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}e7.create=(e,t)=>new e7({getter:e,typeName:et.ZodLazy,...ft(t)});class t7 extends xt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Re(n,{received:n.data,code:ke.invalid_literal,expected:this._def.value}),pt}return{status:"valid",value:t.data}}get value(){return this._def.value}}t7.create=(e,t)=>new t7({value:e,typeName:et.ZodLiteral,...ft(t)});function G$(e,t){return new Cl({values:e,typeName:et.ZodEnum,...ft(t)})}class Cl extends xt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Re(n,{expected:St.joinValues(r),received:n.parsedType,code:ke.invalid_type}),pt}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return Re(n,{received:n.data,code:ke.invalid_enum_value,options:r}),pt}return ki(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return Cl.create(t)}exclude(t){return Cl.create(this.options.filter(n=>!t.includes(n)))}}Cl.create=G$;class n7 extends xt{_parse(t){const n=St.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Le.string&&r.parsedType!==Le.number){const i=St.objectValues(n);return Re(r,{expected:St.joinValues(i),received:r.parsedType,code:ke.invalid_type}),pt}if(n.indexOf(t.data)===-1){const i=St.objectValues(n);return Re(r,{received:r.data,code:ke.invalid_enum_value,options:i}),pt}return ki(t.data)}get enum(){return this._def.values}}n7.create=(e,t)=>new n7({values:e,typeName:et.ZodNativeEnum,...ft(t)});class O1 extends xt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Le.promise&&n.common.async===!1)return Re(n,{code:ke.invalid_type,expected:Le.promise,received:n.parsedType}),pt;const r=n.parsedType===Le.promise?n.data:Promise.resolve(n.data);return ki(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}O1.create=(e,t)=>new O1({type:e,typeName:et.ZodPromise,...ft(t)});class El extends xt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===et.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,o={addIssue:a=>{Re(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){const a=i.transform(r.data,o);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(a).then(l=>this._def.schema._parseAsync({data:l,path:r.path,parent:r})):this._def.schema._parseSync({data:a,path:r.path,parent:r})}if(i.type==="refinement"){const a=l=>{const c=i.refinement(l,o);if(r.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?pt:(l.status==="dirty"&&n.dirty(),a(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?pt:(l.status==="dirty"&&n.dirty(),a(l.value).then(()=>({status:n.value,value:l.value}))))}if(i.type==="transform")if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!k1(a))return a;const l=i.transform(a.value,o);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>k1(a)?Promise.resolve(i.transform(a.value,o)).then(l=>({status:n.value,value:l})):a);St.assertNever(i)}}El.create=(e,t,n)=>new El({schema:e,typeName:et.ZodEffects,effect:t,...ft(n)});El.createWithPreprocess=(e,t,n)=>new El({schema:t,effect:{type:"preprocess",transform:e},typeName:et.ZodEffects,...ft(n)});class ua extends xt{_parse(t){return this._getType(t)===Le.undefined?ki(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ua.create=(e,t)=>new ua({innerType:e,typeName:et.ZodOptional,...ft(t)});class Sl extends xt{_parse(t){return this._getType(t)===Le.null?ki(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Sl.create=(e,t)=>new Sl({innerType:e,typeName:et.ZodNullable,...ft(t)});class kp extends xt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Le.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}kp.create=(e,t)=>new kp({innerType:e,typeName:et.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ft(t)});class Cp extends xt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return _p(i)?i.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new cs(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new cs(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Cp.create=(e,t)=>new Cp({innerType:e,typeName:et.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ft(t)});class r7 extends xt{_parse(t){if(this._getType(t)!==Le.nan){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.nan,received:n.parsedType}),pt}return{status:"valid",value:t.data}}}r7.create=e=>new r7({typeName:et.ZodNaN,...ft(e)});class IF extends xt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class h4 extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?pt:i.status==="dirty"?(n.dirty(),wF(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?pt:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new h4({in:t,out:n,typeName:et.ZodPipeline})}}class Ep extends xt{_parse(t){const n=this._def.innerType._parse(t);return k1(n)&&(n.value=Object.freeze(n.value)),n}}Ep.create=(e,t)=>new Ep({innerType:e,typeName:et.ZodReadonly,...ft(t)});mn.lazycreate;var et;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(et||(et={}));const Xs=da.create;$a.create;oo.create;const Y$=mn.create;mn.strictCreate;E1.create;S1.create;us.create;Cl.create;O1.create;ua.create;Sl.create;var Ol=function(){return Ol=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ol.apply(this,arguments)};function Jh(e,t){if(!Boolean(e))throw new Error(t)}function MF(e){return typeof e=="object"&&e!==null}function DF(e,t){if(!Boolean(e))throw new Error(t??"Unexpected invariant triggered.")}const FF=/\r\n|[\n\r]/g;function Sp(e,t){let n=0,r=1;for(const i of e.body.matchAll(FF)){if(typeof i.index=="number"||DF(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function RF(e){return Q$(e.source,Sp(e.source,e.start))}function Q$(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,l=t.line===1?n:0,c=t.column+l,u=`${e.name}:${a}:${c}
|
|
762
|
+
`;return kr(this.apollo,t)}}class tD{constructor(t){this.client=new XM(t),this.organization=new JM(t),this.webhook=new eD(t)}}var _9;(function(e){e.Drug="DRUG",e.Package="PACKAGE",e.Product="PRODUCT"})(_9||(_9={}));var x9;(function(e){e.Icd10="ICD10"})(x9||(x9={}));var k9;(function(e){e.Canceled="CANCELED",e.New="NEW",e.Scheduled="SCHEDULED",e.Sent="SENT"})(k9||(k9={}));var C9;(function(e){e.MailOrder="MAIL_ORDER",e.PickUp="PICK_UP"})(C9||(C9={}));var E9;(function(e){e.Otc="OTC",e.Rx="RX"})(E9||(E9={}));var S9;(function(e){e.Canceled="CANCELED",e.Completed="COMPLETED",e.Error="ERROR",e.Pending="PENDING",e.Placed="PLACED",e.Routing="ROUTING"})(S9||(S9={}));var O9;(function(e){e.Pharmacy="PHARMACY",e.Prescriber="PRESCRIBER"})(O9||(O9={}));var T9;(function(e){e.Active="ACTIVE",e.Depleted="DEPLETED",e.Expired="EXPIRED",e.Canceled="CANCELED"})(T9||(T9={}));var A9;(function(e){e.I="I",e.Ii="II",e.Iii="III",e.Iv="IV",e.V="V"})(A9||(A9={}));var N9;(function(e){e.Concept="CONCEPT",e.Form="FORM",e.Route="ROUTE",e.Strength="STRENGTH"})(N9||(N9={}));var P9;(function(e){e.Female="FEMALE",e.Male="MALE",e.Unknown="UNKNOWN"})(P9||(P9={}));const nD="@photonhealth/sdk",rD="1.3.3",iD="dist/lib.js",oD={build:"npx nx run sdk:build",docs:'find src -name "*.ts" | xargs npx typedoc --out docs',prepublishOnly:"npm run build"},aD={access:"public"},sD=[],lD="",dD="ISC",cD={"@babel/core":"^7.18.9","@babel/preset-env":"^7.18.9","@rollup/plugin-typescript":"^8.3.4","@types/node":"^18.6.3",path:"^0.12.7",rimraf:"^3.0.2",tslib:"^2.4.0",typedoc:"^0.23.10"},uD={"@apollo/client":"^3.6.9","@auth0/auth0-spa-js":"^2.1.3","@nanostores/react":"^0.4.1",nanostores:"^0.7.4"},fD={".":{import:"./dist/lib.mjs",require:"./dist/lib.js"}},hD="./dist/lib.d.ts",pD={type:"git",url:"git+https://github.com/Photon-Health/photon-sdk-js.git"},mD={url:"https://github.com/Photon-Health/photon-sdk-js/issues"},gD="https://github.com/Photon-Health/photon-sdk-js#readme",vD="",yD="af370de34a8764638dbdc4bd5092f62db2eefee2",Qh={name:nD,version:rD,main:iD,scripts:oD,publishConfig:aD,keywords:sD,author:lD,license:dD,devDependencies:cD,dependencies:uD,exports:fD,types:hD,repository:pD,bugs:mD,homepage:gD,description:vD,gitHead:yD};var Kh;const bD=(Kh=Qh?.version)!==null&&Kh!==void 0?Kh:"unknown";class $D{constructor({domain:t,clientId:n,redirectURI:r,organization:i,env:o="photon",audience:a,connection:l,uri:c,developmentMode:u=!1},f){this.audience=a||Bu[o],this.uri=c||`${Bu[o]}/graphql`,this.clinicalUrl=c?jM(c):gp[o],this.clinicalApiUri=`${w9[o]}/graphql`,u&&(this.audience=Bu.neutron,this.uri=`${Bu.neutron}/graphql`,this.clinicalApiUri=`${w9.neutron}/graphql`);const p={domain:t||(u?"auth.neutron.health":"auth.photon.health"),clientId:n,cacheLocation:"localstorage",useRefreshTokens:!0,useRefreshTokensFallback:!0,authorizationParams:Object.assign({redirect_uri:r,audience:this.audience},l?{connection:l}:{})};this.auth0Client=new bN(p),this.organization=i,this.authentication=new qh(Object.assign({authentication:this.auth0Client,organization:this.organization,audience:this.audience},l?{connection:l}:{})),this.apollo=this.constructApolloClient({elementsVersion:f,isServices:!1}),this.apolloClinical=this.constructApolloClient({elementsVersion:f,isServices:!0}),this.clinical=new ZM(this.apollo),this.management=new tD(this.apollo)}constructApolloClient({elementsVersion:t,isServices:n}={isServices:!1}){return new CM({link:MM((i,o)=>Je(this,void 0,void 0,function*(){var{headers:a}=o,l=ma(o,["headers"]);const c=yield this.authentication.getAccessToken(),u=Object.assign(Object.assign(Object.assign({},a),{"x-photon-sdk-version":bD}),t?{"x-photon-elements-version":t}:{});return c?Object.assign(Object.assign({},l),{headers:n?Object.assign(Object.assign({},u),{"x-photon-auth-token":c,"x-photon-auth-token-type":"auth0"}):Object.assign(Object.assign({},u),{authorization:c})}):Object.assign({headers:u},l)})).concat(new l$({uri:n?this.clinicalApiUri:this.uri})),defaultOptions:{query:{fetchPolicy:"cache-first",errorPolicy:"all"},mutate:{onQueryUpdated:_D}},cache:new vM({typePolicies:{Patient:{fields:{name:{merge(i,o,{mergeObjects:a}){return a(i,o)}},address:{merge(i,o,{mergeObjects:a}){return a(i,o)}}}},User:{fields:{name:{merge(i,o,{mergeObjects:a}){return a(i,o)}},address:{merge(i,o,{mergeObjects:a}){return a(i,o)}}}}}})})}setOrganization(t){return this.organization=t,this.authentication=new qh({authentication:this.auth0Client,organization:t,audience:this.audience}),this}clearOrganization(){return this.organization=void 0,this.authentication=new qh({authentication:this.auth0Client,organization:void 0,audience:this.audience}),this.authentication.login({}),this}}const wD=e=>new Promise(t=>setTimeout(t,e)),_D=e=>Je(void 0,void 0,void 0,function*(){yield wD(1e3),e.refetch()}),xD=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],kD=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...xD]),CD=new Set(["innerHTML","textContent","innerText","children"]),ED=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),I9=Object.assign(Object.create(null),{class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"}),SD=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),OD=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),TD={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function AD(e,t,n){let r=n.length,i=t.length,o=r,a=0,l=0,c=t[i-1].nextSibling,u=null;for(;a<i||l<o;){if(t[a]===n[l]){a++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===a){const f=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],f)}else if(o===l)for(;a<i;)(!u||!u.has(t[a]))&&t[a].remove(),a++;else if(t[a]===n[o-1]&&n[l]===t[i-1]){const f=t[--i].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--o],f),t[i]=n[o]}else{if(!u){u=new Map;let p=l;for(;p<o;)u.set(n[p],p++)}const f=u.get(t[a]);if(f!=null)if(l<f&&f<o){let p=a,m=1,g;for(;++p<i&&p<o&&!((g=u.get(t[p]))==null||g!==f+m);)m++;if(m>f-l){const v=t[a];for(;l<f;)e.insertBefore(n[l++],v)}else e.replaceChild(n[l++],t[a++])}else a++;else t[a++].remove()}}}const M9="_$DX_DELEGATE";function _(e,t,n){const r=document.createElement("template");r.innerHTML=e;let i=r.content.firstChild;return n&&(i=i.firstChild),i}function po(e,t=window.document){const n=t[M9]||(t[M9]=new Set);for(let r=0,i=e.length;r<i;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,FD))}}function zt(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function ND(e,t,n,r){r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r)}function Jt(e,t){t==null?e.removeAttribute("class"):e.className=t}function L$(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const i=n[0];e.addEventListener(t,n[0]=o=>i.call(e,n[1],o))}else e.addEventListener(t,n)}function PD(e,t,n={}){const r=Object.keys(t||{}),i=Object.keys(n);let o,a;for(o=0,a=i.length;o<a;o++){const l=i[o];!l||l==="undefined"||t[l]||(D9(e,l,!1),delete n[l])}for(o=0,a=r.length;o<a;o++){const l=r[o],c=!!t[l];!l||l==="undefined"||n[l]===c||!c||(D9(e,l,!0),n[l]=c)}return n}function Ii(e,t,n){if(!t)return n?zt(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)i=t[o],i!==n[o]&&(r.setProperty(o,i),n[o]=i);return n}function wi(e,t={},n,r){const i={};return r||ve(()=>i.children=kl(e,t.children,i.children)),ve(()=>t.ref&&t.ref(e)),ve(()=>ID(e,t,n,!0,i,!0)),i}function lo(e,t,n){return Ce(()=>e(t,n))}function R(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return kl(e,t,r,n);ve(i=>kl(e,t(),i,n),r)}function ID(e,t,n,r,i={},o=!1){t||(t={});for(const a in i)if(!(a in t)){if(a==="children")continue;i[a]=F9(e,a,null,i[a],n,o)}for(const a in t){if(a==="children"){r||kl(e,t.children);continue}const l=t[a];i[a]=F9(e,a,l,i[a],n,o)}}function MD(e){let t,n;return!Ot.context||!(t=Ot.registry.get(n=RD()))?e.cloneNode(!0):(Ot.completed&&Ot.completed.add(t),Ot.registry.delete(n),t)}function DD(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function D9(e,t,n){const r=t.trim().split(/\s+/);for(let i=0,o=r.length;i<o;i++)e.classList.toggle(r[i],n)}function F9(e,t,n,r,i,o){let a,l,c;if(t==="style")return Ii(e,n,r);if(t==="classList")return PD(e,n,r);if(n===r)return r;if(t==="ref")o||n(e);else if(t.slice(0,3)==="on:"){const u=t.slice(3);r&&e.removeEventListener(u,r),n&&e.addEventListener(u,n)}else if(t.slice(0,10)==="oncapture:"){const u=t.slice(10);r&&e.removeEventListener(u,r,!0),n&&e.addEventListener(u,n,!0)}else if(t.slice(0,2)==="on"){const u=t.slice(2).toLowerCase(),f=SD.has(u);if(!f&&r){const p=Array.isArray(r)?r[0]:r;e.removeEventListener(u,p)}(f||n)&&(L$(e,u,n,f),f&&po([u]))}else if((c=CD.has(t))||!i&&(I9[t]||(l=kD.has(t)))||(a=e.nodeName.includes("-")))t==="class"||t==="className"?Jt(e,n):a&&!l&&!c?e[DD(t)]=n:e[I9[t]||t]=n;else{const u=i&&t.indexOf(":")>-1&&TD[t.split(":")[0]];u?ND(e,u,t,n):zt(e,ED[t]||t,n)}return n}function FD(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),Ot.registry&&!Ot.done&&(Ot.done=!0,document.querySelectorAll("[id^=pl-]").forEach(r=>{for(;r&&r.nodeType!==8&&r.nodeValue!=="pl-"+e;){let i=r.nextSibling;r.remove(),r=i}r&&r.remove()}));n;){const r=n[t];if(r&&!n.disabled){const i=n[`${t}Data`];if(i!==void 0?r.call(n,i,e):r.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function kl(e,t,n,r,i){for(Ot.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,a=r!==void 0;if(e=a&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(Ot.context)return n;if(o==="number"&&(t=t.toString()),a){let l=n[0];l&&l.nodeType===3?l.data=t:l=document.createTextNode(t),n=Vs(e,n,r,l)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(Ot.context)return n;n=Vs(e,n,r)}else{if(o==="function")return ve(()=>{let l=t();for(;typeof l=="function";)l=l();n=kl(e,l,n,r)}),()=>n;if(Array.isArray(t)){const l=[],c=n&&Array.isArray(n);if(vp(l,t,n,i))return ve(()=>n=kl(e,l,n,r,!0)),()=>n;if(Ot.context){if(!l.length)return n;for(let u=0;u<l.length;u++)if(l[u].parentNode)return n=l}if(l.length===0){if(n=Vs(e,n,r),a)return n}else c?n.length===0?R9(e,l,r):AD(e,n,l):(n&&Vs(e),R9(e,l));n=l}else if(t instanceof Node){if(Ot.context&&t.parentNode)return n=a?[t]:t;if(Array.isArray(n)){if(a)return n=Vs(e,n,r,t);Vs(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function vp(e,t,n,r){let i=!1;for(let o=0,a=t.length;o<a;o++){let l=t[o],c=n&&n[o];if(l instanceof Node)e.push(l);else if(!(l==null||l===!0||l===!1))if(Array.isArray(l))i=vp(e,l,c)||i;else if(typeof l=="function")if(r){for(;typeof l=="function";)l=l();i=vp(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||i}else e.push(l),i=!0;else{const u=String(l);c&&c.nodeType===3&&c.data===u?e.push(c):e.push(document.createTextNode(u))}}return i}function R9(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function Vs(e,t,n,r){if(n===void 0)return e.textContent="";const i=r||document.createTextNode("");if(t.length){let o=!1;for(let a=t.length-1;a>=0;a--){const l=t[a];if(i!==l){const c=l.parentNode===e;!o&&!a?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove()}else o=!0}}else e.insertBefore(i,n);return[i]}function RD(){const e=Ot.context;return`${e.id}${e.count++}`}const LD="http://www.w3.org/2000/svg";function zD(e,t=!1){return t?document.createElementNS(LD,e):document.createElement(e)}function jD(e){const[t,n]=$l(e,["component"]),r=oe(()=>t.component);return oe(()=>{const i=r();switch(typeof i){case"function":return Ce(()=>i(n));case"string":const o=OD.has(i),a=Ot.context?MD():zD(i,o);return wi(a,n,o),a}})}function UD(e,...t){const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function No(e){let t;return UD(e,n=>t=n)(),t}class VD extends Error{constructor(t,n){super(t),this.name="FelteSubmitError",this.response=n}}function BD(e,t){return Object.keys(e).some(n=>t(e[n]))}function q2(e,t){return Object.keys(e||{}).reduce((n,r)=>Object.assign(Object.assign({},n),{[r]:t(e[r])}),{})}function ut(e){return Object.prototype.toString.call(e)==="[object Object]"}function zr(e){return Object.keys(e||{}).reduce((t,n)=>Object.assign(Object.assign({},t),{[n]:ut(e[n])?zr(e[n]):Array.isArray(e[n])?[...e[n]]:e[n]}),{})}function HD(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function qD(e){return function(t){if(ut(t)){const n=jr(t,e);return HD(n,["key"])}return e}}function jr(e,t){return q2(e,n=>ut(n)?jr(n,t):Array.isArray(n)?n.map(qD(t)):t)}function ca(...e){const t=e.pop(),n=e.shift();if(typeof n=="string")return n;const r=zr(n);if(e.length===0)return r;for(const i of e){if(!i)continue;if(typeof i=="string")return i;let o=t(r,i);if(typeof o<"u")return o;const a=Array.from(new Set(Object.keys(r).concat(Object.keys(i))));for(const l of a)if(o=t(r[l],i[l]),typeof o<"u")r[l]=o;else if(ut(i[l])&&ut(r[l]))r[l]=ca(r[l],i[l],t);else if(Array.isArray(i[l]))r[l]=i[l].map((c,u)=>{if(!ut(c))return c;const f=Array.isArray(r[l])?r[l][u]:r[l];return ca(f,c,t)});else if(ut(i[l])){const c=jr(zr(i[l]),void 0);r[l]=ca(c,i[l],t)}else typeof i[l]<"u"&&(r[l]=i[l])}return r}function WD(e,t){if(!(ut(e)&&ut(t))){if(Array.isArray(t)){if(t.some(ut))return;const n=Array.isArray(e)?e:[];return t.map((r,i)=>{var o;return(o=n[i])!==null&&o!==void 0?o:r})}if(typeof e<"u")return e}}function L9(...e){return ca(...e,WD)}function z$(...e){return ca(...e,()=>{})}function io(e,t,n){const r=o=>String.prototype.split.call(t,o).filter(Boolean).reduce((a,l)=>a!=null?a[l]:a,e),i=r(/[,[\]]+?/)||r(/[,[\].]+?/);return i===void 0||i===e?n:i}function Rl(e,t,n){e&&(e=zr(e)),ut(e)||(e={});const r=Array.isArray(t)?t:t.match(/[^.[\]]+/g)||[],i=r[r.length-1];if(!i)return e;let o=e;for(let a=0;a<r.length-1;a++){const l=r[a];if(!o[l]||!ut(o[l])&&!Array.isArray(o[l])){const c=r[a+1];isNaN(Number(c))?o[l]={}:o[l]=[]}o=o[l]}return o[i]=n(o[i]),e}function Kt(e,t,n){return Rl(e,t,()=>n)}function Bd(e,t){if(!e||Object(e)!==e)return;typeof e<"u"&&(e=zr(e));const n=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g)||[],r=n.length===1?e:io(e,n.slice(0,-1).join("."));return Array.isArray(r)?r.splice(Number(n[n.length-1]),1):r==null||delete r[n[n.length-1]],e}function sc(e,t){return BD(e,n=>ut(n)?sc(n,t):Array.isArray(n)?n.length===0||n.every(r=>typeof r=="string")?t(n):n.some(r=>ut(r)?sc(r,t):t(r)):t(n))}function hl(e){return e?.nodeName==="INPUT"}function GD(e){return e?.nodeName==="TEXTAREA"}function pl(e){return e?.nodeName==="SELECT"}function W2(e){return e?.nodeName==="FIELDSET"}function Ln(e){return hl(e)||GD(e)||pl(e)}function yp(e){return e.nodeType===Node.ELEMENT_NODE}function tr(e,t){return t??(Ln(e)?e.name:"")}function Zh(e){let t=e;for(;t&&t.nodeName!=="FORM";){if(t.hasAttribute("data-felte-ignore"))return!0;t=t.parentElement}return!1}function z9(e,t){return!ut(e)||!t?e:typeof t=="string"?io(e,t):t(e)}function YD(e,t){if(!(ut(e)||ut(t))){if(e===null||e==="")return t;if(t===null||t===""||!t)return e;if(!(!e||!t)){if(Array.isArray(e)){if(!Array.isArray(t))return[...e,t];const n=[],r=Math.max(t.length,e.length);for(let i=0;i<r;i++){let o=e[i],a=t[i];!ut(o)&&!ut(a)?(Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]),n.push(...o,...a)):n.push(Ks([o??{},a??{}]))}return n.filter(Boolean)}return Array.isArray(t)||(t=[t]),[e,...t].reduce((n,r)=>n.concat(r),[]).filter(Boolean)}}}function Ks(e){return ca(...e,YD)}function QD(e,t){return t?(Array.isArray(t)?t:[t]).map(n=>n(e)):[]}function bp(e,t){return t?Array.isArray(t)?t.reduce((n,r)=>r(n),e):t(e):e}function j$(e=8){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let r=0;r<e;r++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}function $p(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length!==t.length?!1:e.every((n,r)=>$p(n,t[r]));if(ut(e)&&ut(t)){const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length?!1:n.every(i=>$p(e[i],t[i]))}return!1}function x1(e,t,{onInit:n,onEnd:r}={}){let i;return(...o)=>{i||n?.(),i&&clearTimeout(i),i=setTimeout(()=>{e.apply(this,o),i=void 0,r?.()},t)}}function wp(e){if(Ln(e))return[e];if(e.childElementCount===0)return[];const t=new Set;for(const n of e.children){if(Ln(n)&&t.add(n),W2(n))for(const r of n.elements)Ln(r)&&t.add(r);n.childElementCount>0&&wp(n).forEach(r=>t.add(r))}return Array.from(t)}function U$(e){for(const t of e.elements)!Ln(t)&&!W2(t)||e.hasAttribute("data-felte-keep-on-remove")&&!t.hasAttribute("data-felte-keep-on-remove")&&(t.dataset.felteKeepOnRemove=e.dataset.felteKeepOnRemove)}function V$(e){return e.type.match(/^(number|range)$/)?e.value?+e.value:null:e.value}function j9(e){var t;let n={},r={};for(const i of e.elements){if(W2(i)&&U$(i),!Ln(i)||!i.name)continue;const o=tr(i);if(hl(i)){if(i.type==="checkbox"){if(typeof io(n,o)>"u"){if(Array.from(e.querySelectorAll(`[name="${i.name}"]`)).filter(l=>Ln(l)?o===tr(l):!1).length===1){n=Kt(n,o,i.checked),r=Kt(r,o,!1);continue}n=Kt(n,o,i.checked?[i.value]:[]),r=Kt(r,o,!1);continue}Array.isArray(io(n,o))&&i.checked&&(n=Rl(n,o,l=>[...l,i.value]));continue}if(i.type==="radio"){if(io(n,o))continue;n=Kt(n,o,i.checked?i.value:void 0),r=Kt(r,o,!1);continue}if(i.type==="file"){n=Kt(n,o,i.multiple?Array.from(i.files||[]):(t=i.files)===null||t===void 0?void 0:t[0]),r=Kt(r,o,!1);continue}}else if(pl(i)){if(!i.multiple)n=Kt(n,o,i.value);else{const l=Array.from(i.selectedOptions).map(c=>c.value);n=Kt(n,o,l)}r=Kt(r,o,!1);continue}const a=V$(i);n=Kt(n,o,a),r=Kt(r,o,!1)}return{defaultData:n,defaultTouched:r}}function y0(e,t){var n;if(!Ln(e))return;const r=t;if(hl(e)){if(e.type==="checkbox"){const i=r;if(typeof i>"u"||typeof i=="boolean"){e.checked=!!i;return}Array.isArray(i)&&(i.includes(e.value)?e.checked=!0:e.checked=!1);return}if(e.type==="radio"){const i=r;e.value===i?e.checked=!0:e.checked=!1;return}if(e.type==="file"){if(t instanceof FileList)e.files=t;else if(t instanceof File&&typeof DataTransfer<"u"){const i=new DataTransfer;i.items.add(t),e.files=i.files}else if(typeof DataTransfer<"u"&&Array.isArray(t)&&t.some(i=>i instanceof File)){const i=new DataTransfer;for(const o of t)o instanceof File&&i.items.add(o);e.files=i.files}else(!t||Array.isArray(t)&&!t.length)&&(e.files=null,e.value="");return}}else if(pl(e)){if(e.multiple){if(Array.isArray(r)){e.value=String((n=r[0])!==null&&n!==void 0?n:"");const i=r.map(o=>String(o));for(const o of e.options)i.includes(o.value)?o.selected=!0:o.selected=!1}}else{e.value=String(r??"");for(const i of e.options)i.value===String(r)?i.selected=!0:i.selected=!1}return}e.value=String(r??"")}function Hu(e,t){for(const n of e.elements){if(W2(n)&&U$(n),!Ln(n)||!n.name)continue;const r=tr(n);y0(n,io(t,r))}}const KD={attributes:!0,attributeFilter:["data-felte-validation-message","aria-invalid"]};function ZD(e,t){var n,r;let i,o,a,l,c,u;typeof e=="string"?(i=e,o=t?.defaultValue,a=(n=t?.touchOnChange)!==null&&n!==void 0?n:!1,u=t?.onFormReset):(i=e.name,o=e.defaultValue,a=(r=e.touchOnChange)!==null&&r!==void 0?r:!1,u=e?.onFormReset);function f(x,A){if(!c)return;y0(c,A);const S=new Event(x,{bubbles:!0,composed:!0});c.dispatchEvent(S)}function p(x){x.forEach(()=>{const A=c.getAttribute("aria-invalid");A?l.setAttribute("aria-invalid",A):l.removeAttribute("aria-invalid");const S=c.getAttribute("data-felte-validation-message");S?l.setAttribute("data-felte-validation-message",S):l.removeAttribute("data-felte-validation-message")})}function m(x){!u||(y0(c,o),u(x))}function g(x){l=x;let A,S;if(Ln(x))return c=x,c.name=i,{};{let O=!1,E=!1;return setTimeout(()=>{if(E)return;const M=l.parentNode;if(!M||!yp(M))return;const P=M.querySelector(`[name="${i}"]`);if(!P||!Ln(P)){const L=document.createElement("input");L.type="hidden",L.name=i,M.insertBefore(L,x.nextSibling),c=L,O=!0}else c=P;y0(c,o),A=new MutationObserver(p),A.observe(c,KD),S=c.closest("form"),S?.addEventListener("reset",m)}),{destroy(){var M;O&&((M=c.parentNode)===null||M===void 0||M.removeChild(c)),E=!0,A?.disconnect(),S?.removeEventListener("reset",m)}}}}function v(x){f(a?"change":"input",x)}function w(){f("focusout")}return{field:g,onInput:v,onChange:v,onBlur:w}}function B$(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Po(e,t){return q2(e,n=>ut(n)?Po(n,t):Array.isArray(n)?n.length===0||n.every(r=>typeof r=="string")?t:n.map(r=>{const i=Po(r,t);return B$(i,["key"])}):t)}function ds(e){return e?q2(e,t=>ut(t)?ds(t):Array.isArray(t)?t.length===0||t.every(n=>typeof n=="string")?t:t.map(n=>{if(!ut(n))return n;const r=ds(n);return r.key||(r.key=j$()),r}):t):{}}function es(e){return e?q2(e,t=>ut(t)?es(t):Array.isArray(t)?t.length===0||t.every(n=>typeof n=="string")?t:t.map(n=>{if(!ut(n))return n;const r=es(n);return B$(r,["key"])}):t):{}}function XD(){class e extends CustomEvent{constructor(i){super("feltesuccess",{detail:i})}}class t extends CustomEvent{constructor(i){super("felteerror",{detail:i,cancelable:!0})}setErrors(i){this.preventDefault(),this.errors=i}}class n extends Event{constructor(){super("feltesubmit",{cancelable:!0})}handleSubmit(i){this.onSubmit=i}handleError(i){this.onError=i}handleSuccess(i){this.onSuccess=i}}return{createErrorEvent:r=>new t(r),createSubmitEvent:()=>new n,createSuccessEvent:r=>new e(r)}}function JD(e){if(e)return async function(){let t=new FormData(e);const n=new URL(e.action),r=e.method.toLowerCase()==="get"?"get":n.searchParams.get("_method")||e.method;let i=e.enctype;e.querySelector('input[type="file"]')&&(i="multipart/form-data"),(r==="get"||i==="application/x-www-form-urlencoded")&&(t=new URLSearchParams(t));let o;r==="get"?(t.forEach((l,c)=>{n.searchParams.append(c,l)}),o={method:r,headers:{Accept:"application/json"}}):o={method:r,body:t,headers:Object.assign(Object.assign({},i!=="multipart/form-data"&&{"Content-Type":i}),{Accept:"application/json"})};const a=await window.fetch(n.toString(),o);if(a.ok)return a;throw new VD("An error occurred while submitting the form",a)}}function qu(e,t,n,r){return Rl(e,t,i=>(typeof i<"u"&&!Array.isArray(i)||(i||(i=[]),typeof r>"u"?i.push(n):i.splice(r,0,n)),i))}function eF(e,t,n,r){return Rl(e,t,i=>(!i||!Array.isArray(i)||([i[n],i[r]]=[i[r],i[n]]),i))}function tF(e,t,n,r){return Rl(e,t,i=>(!i||!Array.isArray(i)||i.splice(r,0,i.splice(n,1)[0]),i))}function U9(e){return typeof e=="function"}function Jo(e){return(t,n)=>{if(typeof t=="string"){const r=t;e(i=>{const o=U9(n)?n(io(i,r)):n;return Kt(i,r,o)})}else e(r=>U9(t)?t(r):t)}}function nF({stores:e,config:t,validateErrors:n,validateWarnings:r,_getCurrentExtenders:i}){var o;let a,l=ds((o=t.initialValues)!==null&&o!==void 0?o:{});const{data:c,touched:u,errors:f,warnings:p,isDirty:m,isSubmitting:g,interacted:v}=e,w=Jo(c.update),x=Jo(u.update),A=Jo(f.update),S=Jo(p.update);function O(ee){w(we=>{const X=ee(we);return a&&Hu(a,X),X})}const E=(ee,we,X)=>{Jo(O)(ee,we),typeof ee=="string"&&X&&x(ee,!0)};function M(ee,we,X){const ae=ut(we)?Po(we,!1):!1,ne=ut(ae)?jr(ae,[]):[];we=ut(we)?Object.assign(Object.assign({},we),{key:j$()}):we,f.update(ze=>qu(ze,ee,ne,X)),p.update(ze=>qu(ze,ee,ne,X)),u.update(ze=>qu(ze,ee,ae,X)),c.update(ze=>{const Be=qu(ze,ee,we,X);return setTimeout(()=>a&&Hu(a,Be)),Be})}function P(ee){f.update(ee),p.update(ee),u.update(ee),c.update(we=>{const X=ee(we);return setTimeout(()=>a&&Hu(a,X)),X})}function L(ee){P(we=>Bd(we,ee))}function U(ee,we,X){P(ae=>eF(ae,ee,we,X))}function Z(ee,we,X){P(ae=>tF(ae,ee,we,X))}function ce(ee){const we=io(l,ee),X=ut(we)?Po(we,!1):!1,ae=ut(X)?jr(X,[]):[];c.update(ne=>{const ze=Kt(ne,ee,we);return a&&Hu(a,ze),ze}),u.update(ne=>Kt(ne,ee,X)),f.update(ne=>Kt(ne,ee,ae)),p.update(ne=>Kt(ne,ee,ae))}const Q=Jo(g.update),G=Jo(m.update),re=Jo(v.update);async function K(){const ee=No(c);u.set(Po(ee,!0)),v.set(null);const we=await n(ee);return await r(ee),we}function H(){E(zr(l)),x(ee=>jr(ee,!1)),v.set(null),m.set(!1)}function ye(ee){return async function(we){var X,ae,ne,ze,Be,rt,_e;const{createErrorEvent:at,createSubmitEvent:Ue,createSuccessEvent:Ve}=XD(),ct=Ue();a?.dispatchEvent(ct);const _t=(ae=(X=ct.onError)!==null&&X!==void 0?X:ee?.onError)!==null&&ae!==void 0?ae:t.onError,It=(ze=(ne=ct.onSuccess)!==null&&ne!==void 0?ne:ee?.onSuccess)!==null&&ze!==void 0?ze:t.onSuccess,Te=(_e=(rt=(Be=ct.onSubmit)!==null&&Be!==void 0?Be:ee?.onSubmit)!==null&&rt!==void 0?rt:t.onSubmit)!==null&&_e!==void 0?_e:JD(a);if(!Te||(we?.preventDefault(),ct.defaultPrevented))return;g.set(!0),v.set(null);const se=es(No(c)),Fe=await n(se,ee?.validate),Ze=await r(se,ee?.warn);if(Ze&&p.set(z$(jr(se,[]),Ze)),u.set(Po(se,!0)),Fe&&(u.set(Po(Fe,!0)),sc(Fe,bt=>Array.isArray(bt)?bt.length>=1:!!bt))){await new Promise(bt=>setTimeout(bt)),i().forEach(bt=>{var Yt;return(Yt=bt.onSubmitError)===null||Yt===void 0?void 0:Yt.call(bt,{data:se,errors:Fe})}),g.set(!1);return}const mt={event:we,setFields:E,setData:w,setTouched:x,setErrors:A,setWarnings:S,unsetField:L,addField:M,resetField:ce,reset:H,setInitialValues:pe.setInitialValues,moveField:Z,swapFields:U,form:a,controls:a&&Array.from(a.elements).filter(Ln),config:Object.assign(Object.assign({},t),ee)};try{const bt=await Te(se,mt);a?.dispatchEvent(Ve(Object.assign({response:bt},mt))),await It?.(bt,mt)}catch(bt){const Yt=at(Object.assign({error:bt},mt));if(a?.dispatchEvent(Yt),!_t&&!Yt.defaultPrevented)throw bt;if(!_t&&!Yt.errors)return;const gt=Yt.errors||await _t?.(bt,mt);gt&&(u.set(Po(gt,!0)),f.set(gt),await new Promise(an=>setTimeout(an)),i().forEach(an=>{var Un;return(Un=an.onSubmitError)===null||Un===void 0?void 0:Un.call(an,{data:se,errors:No(f)})}))}finally{g.set(!1)}}}const pe={setData:w,setFields:E,setTouched:x,setErrors:A,setWarnings:S,setIsSubmitting:Q,setIsDirty:G,setInteracted:re,validate:K,reset:H,unsetField:L,resetField:ce,addField:M,swapFields:U,moveField:Z,createSubmitHandler:ye,handleSubmit:ye(),setInitialValues:ee=>{l=ds(ee)}};return{public:pe,private:{_setFormNode(ee){a=ee},_getInitialValues:()=>l}}}function rF({helpers:e,stores:t,config:n,extender:r,createSubmitHandler:i,handleSubmit:o,_setFormNode:a,_getInitialValues:l,_setCurrentExtenders:c,_getCurrentExtenders:u}){const{setFields:f,setTouched:p,reset:m,setInitialValues:g}=e,{addValidator:v,addTransformer:w,validate:x}=e,{data:A,errors:S,warnings:O,touched:E,isSubmitting:M,isDirty:P,interacted:L,isValid:U,isValidating:Z}=t;function ce(Q){Q.requestSubmit||(Q.requestSubmit=o);function G(Te){return function(se){return se({form:Q,stage:Te,controls:Array.from(Q.elements).filter(Ln),data:A,errors:S,warnings:O,touched:E,isValid:U,isValidating:Z,isSubmitting:M,isDirty:P,interacted:L,config:n,addValidator:v,addTransformer:w,setFields:f,validate:x,reset:m,createSubmitHandler:i,handleSubmit:o})}}c(r.map(G("MOUNT"))),Q.noValidate=!!n.validate;const{defaultData:re,defaultTouched:K}=j9(Q);a(Q),g(z$(zr(re),l())),f(l()),E.set(K);function H(Te){const se=tr(Te),Fe=Array.from(Q.querySelectorAll(`[name="${Te.name}"]`)).filter(Ze=>Ln(Ze)?se===tr(Ze):!1);if(Fe.length!==0)return Fe.length===1?A.update(Ze=>Kt(Ze,tr(Te),Te.checked)):A.update(Ze=>Kt(Ze,tr(Te),Fe.filter(hl).filter(mt=>mt.checked).map(mt=>mt.value)))}function ye(Te){const se=Q.querySelectorAll(`[name="${Te.name}"]`),Fe=Array.from(se).find(Ze=>hl(Ze)&&Ze.checked);A.update(Ze=>Kt(Ze,tr(Te),Fe?.value))}function pe(Te){var se;const Fe=Array.from((se=Te.files)!==null&&se!==void 0?se:[]);A.update(Ze=>Kt(Ze,tr(Te),Te.multiple?Fe:Fe[0]))}function ee(Te){if(!Te.multiple)A.update(se=>Kt(se,tr(Te),Te.value));else{const se=Array.from(Te.selectedOptions).map(Fe=>Fe.value);A.update(Fe=>Kt(Fe,tr(Te),se))}}function we(Te){const se=Te.target;if(!se||!Ln(se)||pl(se)||Zh(se)||["checkbox","radio","file"].includes(se.type)||!se.name)return;P.set(!0);const Fe=V$(se);L.set(se.name),A.update(Ze=>Kt(Ze,tr(se),Fe))}function X(Te){const se=Te.target;if(!(!se||!Ln(se)||Zh(se))&&!!se.name)if(p(tr(se),!0),L.set(se.name),(pl(se)||["checkbox","radio","file","hidden"].includes(se.type))&&P.set(!0),se.type==="hidden"&&A.update(Fe=>Kt(Fe,tr(se),se.value)),pl(se))ee(se);else if(hl(se))se.type==="checkbox"?H(se):se.type==="radio"?ye(se):se.type==="file"&&pe(se);else return}function ae(Te){const se=Te.target;!se||!Ln(se)||Zh(se)||!se.name||(p(tr(se),!0),L.set(se.name))}function ne(Te){Te.preventDefault(),m()}const ze={childList:!0,subtree:!0};function Be(Te){let se=No(A),Fe=No(E),Ze=No(S),mt=No(O);for(const bt of Te.reverse()){if(bt.hasAttribute("data-felte-keep-on-remove")&&bt.dataset.felteKeepOnRemove!=="false")continue;const Yt=/.*(\[[0-9]+\]|\.[0-9]+)\.[^.]+$/;let gt=tr(bt);const an=No(E);if(Yt.test(gt)){const Un=gt.split(".").slice(0,-1).join("."),ii=io(an,Un);ut(ii)&&Object.keys(ii).length<=1&&(gt=Un)}se=Bd(se,gt),Fe=Bd(Fe,gt),Ze=Bd(Ze,gt),mt=Bd(mt,gt)}A.set(se),E.set(Fe),S.set(Ze),O.set(mt)}const rt=x1(()=>{u().forEach(Fe=>{var Ze;return(Ze=Fe.destroy)===null||Ze===void 0?void 0:Ze.call(Fe)}),c(r.map(G("UPDATE")));const{defaultData:Te,defaultTouched:se}=j9(Q);A.update(Fe=>L9(Fe,Te)),E.update(Fe=>L9(Fe,se)),e.setFields(No(A))},0);let _e=[];const at=x1(()=>{u().forEach(Te=>{var se;return(se=Te.destroy)===null||se===void 0?void 0:se.call(Te)}),c(r.map(G("UPDATE"))),Be(_e),_e=[]},0);function Ue(Te){!Array.from(Te.addedNodes).some(se=>yp(se)?Ln(se)?!0:wp(se).length>0:!1)||rt()}function Ve(Te){for(const se of Te.removedNodes){if(!yp(se))continue;const Fe=wp(se);Fe.length!==0&&(_e.push(...Fe),at())}}function ct(Te){for(const se of Te)se.type==="childList"&&(se.addedNodes.length>0&&Ue(se),se.removedNodes.length>0&&Ve(se))}const _t=new MutationObserver(ct);_t.observe(Q,ze),Q.addEventListener("input",we),Q.addEventListener("change",X),Q.addEventListener("focusout",ae),Q.addEventListener("submit",o),Q.addEventListener("reset",ne);const It=S.subscribe(Te=>{for(const se of Q.elements){if(!Ln(se)||!se.name)continue;const Fe=io(Te,tr(se)),Ze=Array.isArray(Fe)?Fe.join(`
|
|
763
|
+
`):typeof Fe=="string"?Fe:void 0;Ze!==se.dataset.felteValidationMessage&&(Ze?(se.dataset.felteValidationMessage=Ze,se.setAttribute("aria-invalid","true")):(delete se.dataset.felteValidationMessage,se.removeAttribute("aria-invalid")))}});return{destroy(){_t.disconnect(),Q.removeEventListener("input",we),Q.removeEventListener("change",X),Q.removeEventListener("focusout",ae),Q.removeEventListener("submit",o),Q.removeEventListener("reset",ne),It(),u().forEach(Te=>{var se;return(se=Te.destroy)===null||se===void 0?void 0:se.call(Te)})}}}return{form:ce}}function iF(e){const t={aborted:!1,priority:e};return{signal:t,abort(){t.aborted=!0}}}function oF(e,t){if(ut(e))return!t||ut(t)&&Object.keys(t).length===0?jr(e,null):void 0;if(Array.isArray(e)){if(e.some(ut))return;const n=Array.isArray(t)?t:[];return e.map((r,i)=>{const o=n[i];return Array.isArray(o)&&o.length===0?null:r&&o||null})}return Array.isArray(t)&&t.length===0?null:Array.isArray(t)?e?t:null:e&&t?[t]:null}function aF(e,t){if(ut(e))return!t||ut(t)&&Object.keys(t).length===0?jr(e,null):void 0;if(Array.isArray(e)){if(e.some(ut))return;const n=Array.isArray(t)?t:[];return e.map((r,i)=>{const o=n[i];return Array.isArray(o)&&o.length===0?null:o||null})}return Array.isArray(t)&&t.length===0?null:Array.isArray(t)?t:t?[t]:null}function sF([e,t]){return ca(t,e,oF)}function lF([e,t]){return ca(t,e,aF)}function dF(e){return function(t,n,r){const i=Array.isArray(t)?t:[t],o=new Array(i.length),a=e(r),l=a.set,c=a.subscribe;let u;function f(){u=i.map((m,g)=>m.subscribe(v=>{o[g]=v,l(n(o))}))}function p(){u?.forEach(m=>m())}return a.subscribe=function(m){const g=c(m);return()=>{g()}},[a,f,p]}}function cF(e,t){var n,r,i,o,a,l,c,u,f;const p=dF(e),m=t.initialValues=t.initialValues?ds(bp(zr(t.initialValues),t.transform)):{},g=Po(es(m),!1),v=e(g),w=e(0),[x,A,S]=p([v,w],([Ut,Vt])=>sc(Ut,Mt=>!!Mt)&&Vt>=1,!1);delete x.set,delete x.update;function O(Ut){let Vt;return async function(Mt,Zn,ar,$n=!1){if(!ar||!Mt)return;let vr=Zn&&Object.keys(Zn).length>0?Zn:jr(Mt,[]);const yr=iF($n);if((!Vt?.signal.priority||$n)&&(Vt?.abort(),Vt=yr),Vt.signal.priority&&!$n)return;w.update(sr=>sr+1);const Ir=QD(Mt,ar);return Ir.forEach(async sr=>{const Hr=await sr;yr.signal.aborted||(vr=Ks([vr,Hr]),Ut.set(vr))}),await Promise.all(Ir),Vt=void 0,w.update(sr=>sr-1),vr}}let E=jr(g,[]);const M=e(m),P=jr(g,[]),L=e(P),U=e(zr(P)),[Z,ce,Q]=p([L,U],Ks,zr(P)),G=jr(g,[]),re=e(G),K=e(zr(G)),[H,ye,pe]=p([re,K],Ks,zr(G)),[ee,we,X]=p([Z,v],sF,zr(P)),[ae,ne,ze]=p([H,v],lF,zr(G));let Be=!1;const[rt,_e,at]=p(Z,([Ut])=>{var Vt;return Be?!sc(Ut,Mt=>Array.isArray(Mt)?Mt.length>=1:!!Mt):(Be=!0,!t.validate&&!(!((Vt=t.debounced)===null||Vt===void 0)&&Vt.validate))},!t.validate&&!(!((n=t.debounced)===null||n===void 0)&&n.validate));delete rt.set,delete rt.update;const Ue=e(!1),Ve=e(!1),ct=e(null),_t=O(L),It=O(re),Te=O(U),se=O(K),Fe=x1(Te,(a=(i=(r=t.debounced)===null||r===void 0?void 0:r.validateTimeout)!==null&&i!==void 0?i:(o=t.debounced)===null||o===void 0?void 0:o.timeout)!==null&&a!==void 0?a:300,{onInit:()=>{w.update(Ut=>Ut+1)},onEnd:()=>{w.update(Ut=>Ut-1)}}),Ze=x1(se,(f=(c=(l=t.debounced)===null||l===void 0?void 0:l.warnTimeout)!==null&&c!==void 0?c:(u=t.debounced)===null||u===void 0?void 0:u.timeout)!==null&&f!==void 0?f:300);async function mt(Ut,Vt){var Mt;const Zn=es(Ut),ar=_t(Zn,E,Vt??t.validate,!0);if(Vt)return ar;const $n=Te(Zn,E,(Mt=t.debounced)===null||Mt===void 0?void 0:Mt.validate,!0);return Ks(await Promise.all([ar,$n]))}async function bt(Ut,Vt){var Mt;const Zn=es(Ut),ar=It(Zn,E,Vt??t.warn,!0);if(Vt)return ar;const $n=se(Zn,E,(Mt=t.debounced)===null||Mt===void 0?void 0:Mt.warn,!0);return Ks(await Promise.all([ar,$n]))}let Yt=P,gt=G;function an(){const Ut=M.subscribe($n=>{var vr,yr;const Ir=es($n);_t(Ir,E,t.validate),It(Ir,E,t.warn),Fe(Ir,E,(vr=t.debounced)===null||vr===void 0?void 0:vr.validate),Ze(Ir,E,(yr=t.debounced)===null||yr===void 0?void 0:yr.warn)}),Vt=v.subscribe($n=>{E=jr($n,[])}),Mt=Z.subscribe($n=>{Yt=$n}),Zn=H.subscribe($n=>{gt=$n});ce(),_e(),ye(),we(),ne(),A();function ar(){Ut(),X(),Q(),pe(),ze(),at(),S(),Vt(),Mt(),Zn()}return ar}function Un(Ut){L.set(Ut(Yt)),U.set({})}function ii(Ut){re.set(Ut(gt)),K.set({})}function Kl(Ut){Un(()=>Ut)}function vo(Ut){ii(()=>Ut)}return ee.set=Kl,ee.update=Un,ae.set=vo,ae.update=ii,{data:M,errors:ee,warnings:ae,touched:v,isValid:rt,isSubmitting:Ue,isDirty:Ve,isValidating:x,interacted:ct,validateErrors:mt,validateWarnings:bt,cleanup:t.preventStoreStart?()=>{}:an(),start:an}}function uF(e,t){var n,r;(n=e.extend)!==null&&n!==void 0||(e.extend=[]),(r=e.debounced)!==null&&r!==void 0||(e.debounced={}),e.validate&&!Array.isArray(e.validate)&&(e.validate=[e.validate]),e.debounced.validate&&!Array.isArray(e.debounced.validate)&&(e.debounced.validate=[e.debounced.validate]),e.transform&&!Array.isArray(e.transform)&&(e.transform=[e.transform]),e.warn&&!Array.isArray(e.warn)&&(e.warn=[e.warn]),e.debounced.warn&&!Array.isArray(e.debounced.warn)&&(e.debounced.warn=[e.debounced.warn]);function i(ye,{debounced:pe,level:ee}={debounced:!1,level:"error"}){var we;const X=ee==="error"?"validate":"warn";(we=e.debounced)!==null&&we!==void 0||(e.debounced={});const ae=pe?e.debounced:e;ae[X]?ae[X]=[...ae[X],ye]:ae[X]=[ye]}function o(ye){e.transform?e.transform=[...e.transform,ye]:e.transform=[ye]}const a=Array.isArray(e.extend)?e.extend:[e.extend];let l=[];const c=()=>l,u=ye=>{l=ye},{isSubmitting:f,isValidating:p,data:m,errors:g,warnings:v,touched:w,isValid:x,isDirty:A,cleanup:S,start:O,validateErrors:E,validateWarnings:M,interacted:P}=cF(t.storeFactory,e),L=m.update,U=m.set,Z=ye=>L(pe=>ds(bp(ye(pe),e.transform))),ce=ye=>U(ds(bp(ye,e.transform)));m.update=Z,m.set=ce;const Q=nF({extender:a,config:e,addValidator:i,addTransformer:o,validateErrors:E,validateWarnings:M,_getCurrentExtenders:c,stores:{data:m,errors:g,warnings:v,touched:w,isValid:x,isValidating:p,isSubmitting:f,isDirty:A,interacted:P}}),{createSubmitHandler:G,handleSubmit:re}=Q.public;l=a.map(ye=>ye({stage:"SETUP",errors:g,warnings:v,touched:w,data:m,isDirty:A,isValid:x,isValidating:p,isSubmitting:f,interacted:P,config:e,addValidator:i,addTransformer:o,setFields:Q.public.setFields,reset:Q.public.reset,validate:Q.public.validate,handleSubmit:re,createSubmitHandler:G}));const K=Object.assign({config:e,stores:{data:m,touched:w,errors:g,warnings:v,isSubmitting:f,isValidating:p,isValid:x,isDirty:A,interacted:P},createSubmitHandler:G,handleSubmit:re,helpers:Object.assign(Object.assign({},Q.public),{addTransformer:o,addValidator:i}),extender:a,_getCurrentExtenders:c,_setCurrentExtenders:u},Q.private),{form:H}=rF(K);return Object.assign({data:m,errors:g,warnings:v,touched:w,isValid:x,isSubmitting:f,isValidating:p,isDirty:A,interacted:P,form:H,cleanup:S,startStores:O},Q.public)}function fF(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function hF(e){const t={},n={};function r(i){if(!i)return e();if(!t[i.toString()]){const a=te(z9(Ce(e),i));n[i.toString()]=a,t[i.toString()]=i}const[o]=n[i.toString()];return o()}return Ae(()=>{const i=e(),o=Object.keys(t);for(const a of o){const l=t[a],c=z9(i,l),[u,f]=n[l.toString()];$p(c,Ce(u))||f(c)}}),r}function pF(e){return function(t){return dl(n=>(Ae(()=>t(e())),n))}}const mF=e=>{const[t,n]=te(e);function r(l){n(()=>l)}function i(l){n(l)}const o=hF(t),a=pF(t);return o.subscribe=a,o.set=r,o.update=i,o};function H$(e){const t=uF(e??{},{storeFactory:mF}),{form:n,cleanup:r,startStores:i,data:o,errors:a,warnings:l,touched:c}=t,u=fF(t,["form","cleanup","startStores","data","errors","warnings","touched"]);function f(p){const{destroy:m}=n(p);return Sr(m),{destroy:m}}return Sr(r),Object.assign(Object.assign({},u),{data:o,errors:a,warnings:l,touched:c,form:f})}function gF(e,t){const{field:n,onChange:r,onInput:i,onBlur:o}=ZD(e,t);function a(l){const{destroy:c}=n(l);return Sr(()=>c?.()),{destroy:c}}return{field:a,onChange:r,onInput:i,onBlur:o}}function vF(e){function t(n){return n.issues.reduce((r,i)=>i.path?Rl(r,i.path.join("."),o=>!o||!Array.isArray(o)?[i.message]:[...o,i.message]):r,{})}return async function(n){try{await e.parseAsync(n)}catch(r){return t(r)}}}function q$({schema:e,level:t="error"}){return function(n){if(n.stage!=="SETUP")return{};const r=vF(e);return n.addValidator(r,{level:t}),{}}}var St;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const o={};for(const a of i)o[a]=a;return o},e.getValidEnumValues=i=>{const o=e.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),a={};for(const l of o)a[l]=i[l];return e.objectValues(a)},e.objectValues=i=>e.objectKeys(i).map(function(o){return i[o]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const o=[];for(const a in i)Object.prototype.hasOwnProperty.call(i,a)&&o.push(a);return o},e.find=(i,o)=>{for(const a of i)if(o(a))return a},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,o=" | "){return i.map(a=>typeof a=="string"?`'${a}'`:a).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(St||(St={}));var V9;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(V9||(V9={}));const Le=St.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Qa=e=>{switch(typeof e){case"undefined":return Le.undefined;case"string":return Le.string;case"number":return isNaN(e)?Le.nan:Le.number;case"boolean":return Le.boolean;case"function":return Le.function;case"bigint":return Le.bigint;case"symbol":return Le.symbol;case"object":return Array.isArray(e)?Le.array:e===null?Le.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Le.promise:typeof Map<"u"&&e instanceof Map?Le.map:typeof Set<"u"&&e instanceof Set?Le.set:typeof Date<"u"&&e instanceof Date?Le.date:Le.object;default:return Le.unknown}},ke=St.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class cs extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(o){return o.message},r={_errors:[]},i=o=>{for(const a of o.issues)if(a.code==="invalid_union")a.unionErrors.map(i);else if(a.code==="invalid_return_type")i(a.returnTypeError);else if(a.code==="invalid_arguments")i(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let l=r,c=0;for(;c<a.path.length;){const u=a.path[c];c===a.path.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(n(a))):l[u]=l[u]||{_errors:[]},l=l[u],c++}}};return i(this),r}toString(){return this.message}get message(){return JSON.stringify(this.issues,St.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const i of this.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}cs.create=e=>new cs(e);const W$=(e,t)=>{let n;switch(e.code){case ke.invalid_type:e.received===Le.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ke.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,St.jsonStringifyReplacer)}`;break;case ke.unrecognized_keys:n=`Unrecognized key(s) in object: ${St.joinValues(e.keys,", ")}`;break;case ke.invalid_union:n="Invalid input";break;case ke.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${St.joinValues(e.options)}`;break;case ke.invalid_enum_value:n=`Invalid enum value. Expected ${St.joinValues(e.options)}, received '${e.received}'`;break;case ke.invalid_arguments:n="Invalid function arguments";break;case ke.invalid_return_type:n="Invalid function return type";break;case ke.invalid_date:n="Invalid date";break;case ke.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:St.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ke.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ke.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ke.custom:n="Invalid input";break;case ke.invalid_intersection_types:n="Intersection results could not be merged";break;case ke.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ke.not_finite:n="Number must be finite";break;default:n=t.defaultError,St.assertNever(e)}return{message:n}};let yF=W$;function bF(){return yF}const $F=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],a={...i,path:o};let l="";const c=r.filter(u=>!!u).slice().reverse();for(const u of c)l=u(a,{data:t,defaultError:l}).message;return{...i,path:o,message:i.message||l}};function Re(e,t){const n=$F({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,bF(),W$].filter(r=>!!r)});e.common.issues.push(n)}class Jr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return pt;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n)r.push({key:await i.key,value:await i.value});return Jr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:o,value:a}=i;if(o.status==="aborted"||a.status==="aborted")return pt;o.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof a.value<"u"||i.alwaysSet)&&(r[o.value]=a.value)}return{status:t.value,value:r}}}const pt=Object.freeze({status:"aborted"}),wF=e=>({status:"dirty",value:e}),ki=e=>({status:"valid",value:e}),B9=e=>e.status==="aborted",H9=e=>e.status==="dirty",k1=e=>e.status==="valid",_p=e=>typeof Promise<"u"&&e instanceof Promise;var He;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(He||(He={}));class ba{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const q9=(e,t)=>{if(k1(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new cs(e.common.issues);return this._error=n,this._error}}};function ft(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,a)=>o.code!=="invalid_type"?{message:a.defaultError}:typeof a.data>"u"?{message:r??a.defaultError}:{message:n??a.defaultError},description:i}}class xt{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Qa(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Qa(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Jr,ctx:{common:t.parent.common,data:t.data,parsedType:Qa(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(_p(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const i={common:{issues:[],async:(r=n?.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qa(t)},o=this._parseSync({data:t,path:i.path,parent:i});return q9(i,o)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qa(t)},i=this._parse({data:t,path:r.path,parent:r}),o=await(_p(i)?i:Promise.resolve(i));return q9(r,o)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,o)=>{const a=t(i),l=()=>o.addIssue({code:ke.custom,...r(i)});return typeof Promise<"u"&&a instanceof Promise?a.then(c=>c?!0:(l(),!1)):a?!0:(l(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new El({schema:this,typeName:et.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ua.create(this,this._def)}nullable(){return Sl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return oo.create(this,this._def)}promise(){return O1.create(this,this._def)}or(t){return E1.create([this,t],this._def)}and(t){return S1.create(this,t,this._def)}transform(t){return new El({...ft(this._def),schema:this,typeName:et.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new kp({...ft(this._def),innerType:this,defaultValue:n,typeName:et.ZodDefault})}brand(){return new IF({typeName:et.ZodBranded,type:this,...ft(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Cp({...ft(this._def),innerType:this,catchValue:n,typeName:et.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return h4.create(this,t)}readonly(){return Ep.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const _F=/^c[^\s-]{8,}$/i,xF=/^[a-z][a-z0-9]*$/,kF=/^[0-9A-HJKMNP-TV-Z]{26}$/,CF=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,EF=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,SF="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Xh;const OF=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,TF=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,AF=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function NF(e,t){return!!((t==="v4"||!t)&&OF.test(e)||(t==="v6"||!t)&&TF.test(e))}class da extends xt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Le.string){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.string,received:i.parsedType}),pt}const n=new Jr;let r;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="max")t.data.length>i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.length<i.value;(o||a)&&(r=this._getOrReturnCtx(t,r),o?Re(r,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&Re(r,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if(i.kind==="email")EF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"email",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="emoji")Xh||(Xh=new RegExp(SF,"u")),Xh.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"emoji",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="uuid")CF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"uuid",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid")_F.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"cuid",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid2")xF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"cuid2",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="ulid")kF.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"ulid",code:ke.invalid_string,message:i.message}),n.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{r=this._getOrReturnCtx(t,r),Re(r,{validation:"url",code:ke.invalid_string,message:i.message}),n.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"regex",code:ke.invalid_string,message:i.message}),n.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):i.kind==="datetime"?AF(i).test(t.data)||(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.invalid_string,validation:"datetime",message:i.message}),n.dirty()):i.kind==="ip"?NF(t.data,i.version)||(r=this._getOrReturnCtx(t,r),Re(r,{validation:"ip",code:ke.invalid_string,message:i.message}),n.dirty()):St.assertNever(i);return{status:n.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:ke.invalid_string,...He.errToObj(r)})}_addCheck(t){return new da({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...He.errToObj(t)})}url(t){return this._addCheck({kind:"url",...He.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...He.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...He.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...He.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...He.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...He.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...He.errToObj(t)})}datetime(t){var n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:(n=t?.offset)!==null&&n!==void 0?n:!1,...He.errToObj(t?.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...He.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...He.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...He.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...He.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...He.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...He.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...He.errToObj(n)})}nonempty(t){return this.min(1,He.errToObj(t))}trim(){return new da({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new da({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new da({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}da.create=e=>{var t;return new da({checks:[],typeName:et.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...ft(e)})};function PF(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,o=parseInt(e.toFixed(i).replace(".","")),a=parseInt(t.toFixed(i).replace(".",""));return o%a/Math.pow(10,i)}class lc extends xt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Le.number){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.number,received:i.parsedType}),pt}let n;const r=new Jr;for(const i of this._def.checks)i.kind==="int"?St.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?PF(t.data,i.value)!==0&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.not_finite,message:i.message}),r.dirty()):St.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,i){return new lc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(i)}]})}_addCheck(t){return new lc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:He.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:He.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:He.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:He.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&St.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}lc.create=e=>new lc({checks:[],typeName:et.ZodNumber,coerce:e?.coerce||!1,...ft(e)});class dc extends xt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==Le.bigint){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.bigint,received:i.parsedType}),pt}let n;const r=new Jr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Re(n,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):St.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,i){return new dc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(i)}]})}_addCheck(t){return new dc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}dc.create=e=>{var t;return new dc({checks:[],typeName:et.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...ft(e)})};class W9 extends xt{_parse(t){if(this._def.coerce&&(t.data=Boolean(t.data)),this._getType(t)!==Le.boolean){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.boolean,received:n.parsedType}),pt}return ki(t.data)}}W9.create=e=>new W9({typeName:et.ZodBoolean,coerce:e?.coerce||!1,...ft(e)});class C1 extends xt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Le.date){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_type,expected:Le.date,received:i.parsedType}),pt}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Re(i,{code:ke.invalid_date}),pt}const n=new Jr;let r;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(r=this._getOrReturnCtx(t,r),Re(r,{code:ke.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):St.assertNever(i);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new C1({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:He.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:He.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}C1.create=e=>new C1({checks:[],coerce:e?.coerce||!1,typeName:et.ZodDate,...ft(e)});class G9 extends xt{_parse(t){if(this._getType(t)!==Le.symbol){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.symbol,received:n.parsedType}),pt}return ki(t.data)}}G9.create=e=>new G9({typeName:et.ZodSymbol,...ft(e)});class Y9 extends xt{_parse(t){if(this._getType(t)!==Le.undefined){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.undefined,received:n.parsedType}),pt}return ki(t.data)}}Y9.create=e=>new Y9({typeName:et.ZodUndefined,...ft(e)});class Q9 extends xt{_parse(t){if(this._getType(t)!==Le.null){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.null,received:n.parsedType}),pt}return ki(t.data)}}Q9.create=e=>new Q9({typeName:et.ZodNull,...ft(e)});class K9 extends xt{constructor(){super(...arguments),this._any=!0}_parse(t){return ki(t.data)}}K9.create=e=>new K9({typeName:et.ZodAny,...ft(e)});class Z9 extends xt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ki(t.data)}}Z9.create=e=>new Z9({typeName:et.ZodUnknown,...ft(e)});class $a extends xt{_parse(t){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.never,received:n.parsedType}),pt}}$a.create=e=>new $a({typeName:et.ZodNever,...ft(e)});class X9 extends xt{_parse(t){if(this._getType(t)!==Le.undefined){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.void,received:n.parsedType}),pt}return ki(t.data)}}X9.create=e=>new X9({typeName:et.ZodVoid,...ft(e)});class oo extends xt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==Le.array)return Re(n,{code:ke.invalid_type,expected:Le.array,received:n.parsedType}),pt;if(i.exactLength!==null){const a=n.data.length>i.exactLength.value,l=n.data.length<i.exactLength.value;(a||l)&&(Re(n,{code:a?ke.too_big:ke.too_small,minimum:l?i.exactLength.value:void 0,maximum:a?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(Re(n,{code:ke.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(Re(n,{code:ke.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,l)=>i.type._parseAsync(new ba(n,a,n.path,l)))).then(a=>Jr.mergeArray(r,a));const o=[...n.data].map((a,l)=>i.type._parseSync(new ba(n,a,n.path,l)));return Jr.mergeArray(r,o)}get element(){return this._def.type}min(t,n){return new oo({...this._def,minLength:{value:t,message:He.toString(n)}})}max(t,n){return new oo({...this._def,maxLength:{value:t,message:He.toString(n)}})}length(t,n){return new oo({...this._def,exactLength:{value:t,message:He.toString(n)}})}nonempty(t){return this.min(1,t)}}oo.create=(e,t)=>new oo({type:e,minLength:null,maxLength:null,exactLength:null,typeName:et.ZodArray,...ft(t)});function Zs(e){if(e instanceof mn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ua.create(Zs(r))}return new mn({...e._def,shape:()=>t})}else return e instanceof oo?new oo({...e._def,type:Zs(e.element)}):e instanceof ua?ua.create(Zs(e.unwrap())):e instanceof Sl?Sl.create(Zs(e.unwrap())):e instanceof us?us.create(e.items.map(t=>Zs(t))):e}class mn extends xt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=St.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==Le.object){const c=this._getOrReturnCtx(t);return Re(c,{code:ke.invalid_type,expected:Le.object,received:c.parsedType}),pt}const{status:n,ctx:r}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof $a&&this._def.unknownKeys==="strip"))for(const c in r.data)o.includes(c)||a.push(c);const l=[];for(const c of o){const u=i[c],f=r.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new ba(r,f,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof $a){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of a)l.push({key:{status:"valid",value:u},value:{status:"valid",value:r.data[u]}});else if(c==="strict")a.length>0&&(Re(r,{code:ke.unrecognized_keys,keys:a}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of a){const f=r.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new ba(r,f,r.path,u)),alwaysSet:u in r.data})}}return r.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const f=await u.key;c.push({key:f,value:await u.value,alwaysSet:u.alwaysSet})}return c}).then(c=>Jr.mergeObjectSync(n,c)):Jr.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(t){return He.errToObj,new mn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,o,a,l;const c=(a=(o=(i=this._def).errorMap)===null||o===void 0?void 0:o.call(i,n,r).message)!==null&&a!==void 0?a:r.defaultError;return n.code==="unrecognized_keys"?{message:(l=He.errToObj(t).message)!==null&&l!==void 0?l:c}:{message:c}}}:{}})}strip(){return new mn({...this._def,unknownKeys:"strip"})}passthrough(){return new mn({...this._def,unknownKeys:"passthrough"})}extend(t){return new mn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new mn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:et.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new mn({...this._def,catchall:t})}pick(t){const n={};return St.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new mn({...this._def,shape:()=>n})}omit(t){const n={};return St.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new mn({...this._def,shape:()=>n})}deepPartial(){return Zs(this)}partial(t){const n={};return St.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new mn({...this._def,shape:()=>n})}required(t){const n={};return St.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof ua;)i=i._def.innerType;n[r]=i}}),new mn({...this._def,shape:()=>n})}keyof(){return G$(St.objectKeys(this.shape))}}mn.create=(e,t)=>new mn({shape:()=>e,unknownKeys:"strip",catchall:$a.create(),typeName:et.ZodObject,...ft(t)});mn.strictCreate=(e,t)=>new mn({shape:()=>e,unknownKeys:"strict",catchall:$a.create(),typeName:et.ZodObject,...ft(t)});mn.lazycreate=(e,t)=>new mn({shape:e,unknownKeys:"strip",catchall:$a.create(),typeName:et.ZodObject,...ft(t)});class E1 extends xt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(o){for(const l of o)if(l.result.status==="valid")return l.result;for(const l of o)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const a=o.map(l=>new cs(l.ctx.common.issues));return Re(n,{code:ke.invalid_union,unionErrors:a}),pt}if(n.common.async)return Promise.all(r.map(async o=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(i);{let o;const a=[];for(const c of r){const u={...n,common:{...n.common,issues:[]},parent:null},f=c._parseSync({data:n.data,path:n.path,parent:u});if(f.status==="valid")return f;f.status==="dirty"&&!o&&(o={result:f,ctx:u}),u.common.issues.length&&a.push(u.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;const l=a.map(c=>new cs(c));return Re(n,{code:ke.invalid_union,unionErrors:l}),pt}}get options(){return this._def.options}}E1.create=(e,t)=>new E1({options:e,typeName:et.ZodUnion,...ft(t)});function xp(e,t){const n=Qa(e),r=Qa(t);if(e===t)return{valid:!0,data:e};if(n===Le.object&&r===Le.object){const i=St.objectKeys(t),o=St.objectKeys(e).filter(l=>i.indexOf(l)!==-1),a={...e,...t};for(const l of o){const c=xp(e[l],t[l]);if(!c.valid)return{valid:!1};a[l]=c.data}return{valid:!0,data:a}}else if(n===Le.array&&r===Le.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let o=0;o<e.length;o++){const a=e[o],l=t[o],c=xp(a,l);if(!c.valid)return{valid:!1};i.push(c.data)}return{valid:!0,data:i}}else return n===Le.date&&r===Le.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class S1 extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=(o,a)=>{if(B9(o)||B9(a))return pt;const l=xp(o.value,a.value);return l.valid?((H9(o)||H9(a))&&n.dirty(),{status:n.value,value:l.data}):(Re(r,{code:ke.invalid_intersection_types}),pt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([o,a])=>i(o,a)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}S1.create=(e,t,n)=>new S1({left:e,right:t,typeName:et.ZodIntersection,...ft(n)});class us extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Le.array)return Re(r,{code:ke.invalid_type,expected:Le.array,received:r.parsedType}),pt;if(r.data.length<this._def.items.length)return Re(r,{code:ke.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),pt;!this._def.rest&&r.data.length>this._def.items.length&&(Re(r,{code:ke.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((o,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new ba(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(i).then(o=>Jr.mergeArray(n,o)):Jr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new us({...this._def,rest:t})}}us.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new us({items:e,typeName:et.ZodTuple,rest:null,...ft(t)})};class J9 extends xt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Le.map)return Re(r,{code:ke.invalid_type,expected:Le.map,received:r.parsedType}),pt;const i=this._def.keyType,o=this._def.valueType,a=[...r.data.entries()].map(([l,c],u)=>({key:i._parse(new ba(r,l,r.path,[u,"key"])),value:o._parse(new ba(r,c,r.path,[u,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const c of a){const u=await c.key,f=await c.value;if(u.status==="aborted"||f.status==="aborted")return pt;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),l.set(u.value,f.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const c of a){const u=c.key,f=c.value;if(u.status==="aborted"||f.status==="aborted")return pt;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),l.set(u.value,f.value)}return{status:n.value,value:l}}}}J9.create=(e,t,n)=>new J9({valueType:t,keyType:e,typeName:et.ZodMap,...ft(n)});class cc extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Le.set)return Re(r,{code:ke.invalid_type,expected:Le.set,received:r.parsedType}),pt;const i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(Re(r,{code:ke.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(Re(r,{code:ke.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const o=this._def.valueType;function a(c){const u=new Set;for(const f of c){if(f.status==="aborted")return pt;f.status==="dirty"&&n.dirty(),u.add(f.value)}return{status:n.value,value:u}}const l=[...r.data.values()].map((c,u)=>o._parse(new ba(r,c,r.path,u)));return r.common.async?Promise.all(l).then(c=>a(c)):a(l)}min(t,n){return new cc({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new cc({...this._def,maxSize:{value:t,message:He.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}cc.create=(e,t)=>new cc({valueType:e,minSize:null,maxSize:null,typeName:et.ZodSet,...ft(t)});class e7 extends xt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}e7.create=(e,t)=>new e7({getter:e,typeName:et.ZodLazy,...ft(t)});class t7 extends xt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Re(n,{received:n.data,code:ke.invalid_literal,expected:this._def.value}),pt}return{status:"valid",value:t.data}}get value(){return this._def.value}}t7.create=(e,t)=>new t7({value:e,typeName:et.ZodLiteral,...ft(t)});function G$(e,t){return new Cl({values:e,typeName:et.ZodEnum,...ft(t)})}class Cl extends xt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Re(n,{expected:St.joinValues(r),received:n.parsedType,code:ke.invalid_type}),pt}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return Re(n,{received:n.data,code:ke.invalid_enum_value,options:r}),pt}return ki(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return Cl.create(t)}exclude(t){return Cl.create(this.options.filter(n=>!t.includes(n)))}}Cl.create=G$;class n7 extends xt{_parse(t){const n=St.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Le.string&&r.parsedType!==Le.number){const i=St.objectValues(n);return Re(r,{expected:St.joinValues(i),received:r.parsedType,code:ke.invalid_type}),pt}if(n.indexOf(t.data)===-1){const i=St.objectValues(n);return Re(r,{received:r.data,code:ke.invalid_enum_value,options:i}),pt}return ki(t.data)}get enum(){return this._def.values}}n7.create=(e,t)=>new n7({values:e,typeName:et.ZodNativeEnum,...ft(t)});class O1 extends xt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Le.promise&&n.common.async===!1)return Re(n,{code:ke.invalid_type,expected:Le.promise,received:n.parsedType}),pt;const r=n.parsedType===Le.promise?n.data:Promise.resolve(n.data);return ki(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}O1.create=(e,t)=>new O1({type:e,typeName:et.ZodPromise,...ft(t)});class El extends xt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===et.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,o={addIssue:a=>{Re(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){const a=i.transform(r.data,o);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(a).then(l=>this._def.schema._parseAsync({data:l,path:r.path,parent:r})):this._def.schema._parseSync({data:a,path:r.path,parent:r})}if(i.type==="refinement"){const a=l=>{const c=i.refinement(l,o);if(r.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?pt:(l.status==="dirty"&&n.dirty(),a(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?pt:(l.status==="dirty"&&n.dirty(),a(l.value).then(()=>({status:n.value,value:l.value}))))}if(i.type==="transform")if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!k1(a))return a;const l=i.transform(a.value,o);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>k1(a)?Promise.resolve(i.transform(a.value,o)).then(l=>({status:n.value,value:l})):a);St.assertNever(i)}}El.create=(e,t,n)=>new El({schema:e,typeName:et.ZodEffects,effect:t,...ft(n)});El.createWithPreprocess=(e,t,n)=>new El({schema:t,effect:{type:"preprocess",transform:e},typeName:et.ZodEffects,...ft(n)});class ua extends xt{_parse(t){return this._getType(t)===Le.undefined?ki(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ua.create=(e,t)=>new ua({innerType:e,typeName:et.ZodOptional,...ft(t)});class Sl extends xt{_parse(t){return this._getType(t)===Le.null?ki(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Sl.create=(e,t)=>new Sl({innerType:e,typeName:et.ZodNullable,...ft(t)});class kp extends xt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Le.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}kp.create=(e,t)=>new kp({innerType:e,typeName:et.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ft(t)});class Cp extends xt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return _p(i)?i.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new cs(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new cs(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Cp.create=(e,t)=>new Cp({innerType:e,typeName:et.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ft(t)});class r7 extends xt{_parse(t){if(this._getType(t)!==Le.nan){const n=this._getOrReturnCtx(t);return Re(n,{code:ke.invalid_type,expected:Le.nan,received:n.parsedType}),pt}return{status:"valid",value:t.data}}}r7.create=e=>new r7({typeName:et.ZodNaN,...ft(e)});class IF extends xt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class h4 extends xt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?pt:i.status==="dirty"?(n.dirty(),wF(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?pt:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new h4({in:t,out:n,typeName:et.ZodPipeline})}}class Ep extends xt{_parse(t){const n=this._def.innerType._parse(t);return k1(n)&&(n.value=Object.freeze(n.value)),n}}Ep.create=(e,t)=>new Ep({innerType:e,typeName:et.ZodReadonly,...ft(t)});mn.lazycreate;var et;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(et||(et={}));const Xs=da.create;$a.create;oo.create;const Y$=mn.create;mn.strictCreate;E1.create;S1.create;us.create;Cl.create;O1.create;ua.create;Sl.create;var Ol=function(){return Ol=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ol.apply(this,arguments)};function Jh(e,t){if(!Boolean(e))throw new Error(t)}function MF(e){return typeof e=="object"&&e!==null}function DF(e,t){if(!Boolean(e))throw new Error(t??"Unexpected invariant triggered.")}const FF=/\r\n|[\n\r]/g;function Sp(e,t){let n=0,r=1;for(const i of e.body.matchAll(FF)){if(typeof i.index=="number"||DF(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function RF(e){return Q$(e.source,Sp(e.source,e.start))}function Q$(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,l=t.line===1?n:0,c=t.column+l,u=`${e.name}:${a}:${c}
|
|
764
764
|
`,f=r.split(/\r\n|[\n\r]/g),p=f[i];if(p.length>120){const m=Math.floor(c/80),g=c%80,v=[];for(let w=0;w<p.length;w+=80)v.push(p.slice(w,w+80));return u+i7([[`${a} |`,v[0]],...v.slice(1,m+1).map(w=>["|",w]),["|","^".padStart(g)],["|",v[m+1]]])}return u+i7([[`${a-1} |`,f[i-1]],[`${a} |`,p],["|","^".padStart(c)],[`${a+1} |`,f[i+1]]])}function i7(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(`
|
|
765
765
|
`)}function LF(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class p4 extends Error{constructor(t,...n){var r,i,o;const{nodes:a,source:l,positions:c,path:u,originalError:f,extensions:p}=LF(n);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=f??void 0,this.nodes=o7(Array.isArray(a)?a:a?[a]:void 0);const m=o7((r=this.nodes)===null||r===void 0?void 0:r.map(v=>v.loc).filter(v=>v!=null));this.source=l??(m==null||(i=m[0])===null||i===void 0?void 0:i.source),this.positions=c??m?.map(v=>v.start),this.locations=c&&l?c.map(v=>Sp(l,v)):m?.map(v=>Sp(v.source,v.start));const g=MF(f?.extensions)?f?.extensions:void 0;this.extensions=(o=p??g)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),f!=null&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p4):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=`
|
|
766
766
|
|
|
@@ -778,7 +778,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
|
|
|
778
778
|
id
|
|
779
779
|
}
|
|
780
780
|
}
|
|
781
|
-
`;function EK(e){const[t,n]=te(!1),r=ri(),i=async l=>{await r.apollo.mutate({mutation:CK,variables:{id:e.patientId,address:l},update:()=>{n(!1),Cr({header:"Address Updated",body:"The patient address has been updated.",status:"success"}),e?.setAddress&&e.setAddress(l)}})},{form:o,errors:a}=H$({onSubmit:async l=>{n(!0);try{i({country:"US",...l})}catch{Cr({header:"Error Updating Patient",body:"The patient address has not been updated.",status:"info"})}},extend:q$({schema:kK})});return $(Er,{get children(){return[(()=>{const l=_K.cloneNode(!0);return R(l,$(De,{color:"gray",children:"Patient Address"}),null),R(l,$(Pt,{type:"submit",form:"patient-address",get disabled(){return t()},get loading(){return t()},children:"Save Address"}),null),l})(),(()=>{const l=xK.cloneNode(!0),c=l.firstChild,u=c.firstChild;return R(l,$(k4,{status:"info",children:"Patient address is required to write a prescription"}),c),lo(o,c),R(c,$(rr,{label:"Address Line 1 *",subLabel:"Enter Street Number and Name",get error(){return a().street1},get children(){return $(_r,{type:"text",name:"street1"})}}),u),R(c,$(rr,{label:"Address Line 2",subLabel:"Enter Apt, Unit, or Suite",get children(){return $(_r,{type:"text",name:"street2"})}}),u),R(c,$(rr,{label:"City *",get error(){return a().city},get children(){return $(_r,{type:"text",name:"city"})}}),u),R(u,$(rr,{label:"State *",get error(){return a().state},get children(){return $(RQ,{list:LY,selectMessage:"Select a State",name:"state"})}}),null),R(u,$(rr,{label:"Zip Code *",get error(){return a().postalCode},get children(){return $(_r,{type:"text",name:"postalCode"})}}),null),l})()]}})}const SK=_('<div><div class="flex"><div class="flex-shrink-0"></div><div class="ml-3"><h3></h3><div><p class="text-sm mb-0"></p></div></div></div></div>'),Ip=e=>{const t=oe(()=>{switch(e.type){case"success":return"checkCircle";case"info":return"informationCircle";case"warning":return"exclamationTriangle";case"error":return"xCircle"}}),n=oe(()=>{switch(e.type){case"success":return"text-green-800";case"info":return"text-blue-800";case"warning":return"text-yellow-800";case"error":return"text-red-800"}}),r=oe(()=>{switch(e.type){case"success":return"bg-green-50";case"info":return"bg-blue-50";case"warning":return"bg-yellow-50";case"error":return"bg-red-50"}}),i=oe(()=>{switch(e.type){case"success":return"border-green-200";case"info":return"border-blue-200";case"warning":return"border-yellow-200";case"error":return"border-red-200"}});return(()=>{const o=SK.cloneNode(!0),a=o.firstChild,l=a.firstChild,c=l.nextSibling,u=c.firstChild,f=u.nextSibling,p=f.firstChild;return R(l,$(kt,{get name(){return t()},get class(){return n()}})),R(u,()=>e.header),R(p,()=>e.message),ve(m=>{const g=`rounded-md ${r()} border-2 ${i()} p-4`,v=`text-base font-medium mt-0 ${n()}`,w=`mt-2 ${n()}`;return g!==m._v$&&Jt(o,m._v$=g),v!==m._v$2&&Jt(u,m._v$2=v),w!==m._v$3&&Jt(f,m._v$3=w),m},{_v$:void 0,_v$2:void 0,_v$3:void 0}),o})()};var OK=()=>{},h7=(e,t)=>t();function TK(e,t){const n=Ce(e),r=n?[n]:[],{onEnter:i=h7,onExit:o=h7}=t,[a,l]=te(t.appear?[]:r),[c]=TA();let u,f=!1;function p(v,w){if(!v)return w&&w();f=!0,o(v,()=>{tc(()=>{f=!1,l(x=>x.filter(A=>A!==v)),w&&w()})})}function m(v){const w=u;if(!w)return v&&v();u=void 0,l(x=>[w,...x]),i(w,v??OK)}const g=t.mode==="out-in"?v=>f||p(v,m):t.mode==="in-out"?v=>m(()=>p(v)):v=>{m(),p(v)};return h1(v=>{const w=e();return Ce(c)?(c(),v):(w!==v&&(u=w,tc(()=>Ce(()=>g(v)))),w)},t.appear?void 0:n),a}var p7=e=>e instanceof Element;function Mp(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return Mp(e(),t);if(Array.isArray(e))for(const n of e){const r=Mp(n,t);if(r)return r}return null}function AK(e,t=p7,n=p7){const r=oe(e);return oe(()=>Mp(r(),t))}function NK(e){return oe(()=>{const t=e.name||"s";return{enterActiveClasses:(e.enterActiveClass||t+"-enter-active").split(" "),enterClasses:(e.enterClass||t+"-enter").split(" "),enterToClasses:(e.enterToClass||t+"-enter-to").split(" "),exitActiveClasses:(e.exitActiveClass||t+"-exit-active").split(" "),exitClasses:(e.exitClass||t+"-exit").split(" "),exitToClasses:(e.exitToClass||t+"-exit-to").split(" "),moveClasses:(e.moveClass||t+"-move").split(" ")}})}function Ow(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function PK(e,t,n,r){const{enterClasses:i,enterActiveClasses:o,enterToClasses:a}=e,{onBeforeEnter:l,onEnter:c,onAfterEnter:u}=t;l?.(n),n.classList.add(...i),n.classList.add(...o),queueMicrotask(()=>{if(!n.parentNode)return r?.();c?.(n,()=>f())}),Ow(()=>{n.classList.remove(...i),n.classList.add(...a),(!c||c.length<2)&&(n.addEventListener("transitionend",f),n.addEventListener("animationend",f))});function f(p){(!p||p.target===n)&&(r?.(),n.removeEventListener("transitionend",f),n.removeEventListener("animationend",f),n.classList.remove(...o),n.classList.remove(...a),u?.(n))}}function IK(e,t,n,r){const{exitClasses:i,exitActiveClasses:o,exitToClasses:a}=e,{onBeforeExit:l,onExit:c,onAfterExit:u}=t;if(!n.parentNode)return r?.();l?.(n),n.classList.add(...i),n.classList.add(...o),c?.(n,()=>f()),Ow(()=>{n.classList.remove(...i),n.classList.add(...a),(!c||c.length<2)&&(n.addEventListener("transitionend",f),n.addEventListener("animationend",f))});function f(p){(!p||p.target===n)&&(r?.(),n.removeEventListener("transitionend",f),n.removeEventListener("animationend",f),n.classList.remove(...o),n.classList.remove(...a),u?.(n))}}var MK={inout:"in-out",outin:"out-in"},m7=e=>{const t=NK(e);return TK(AK(()=>e.children),{mode:MK[e.mode],appear:e.appear,onEnter(n,r){PK(t(),e,n,r)},onExit(n,r){IK(t(),e,n,r)}})};const Zu=(e,t)=>(n,r)=>{n.animate(e,t).finished.then(r)},DK=_('<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>'),FK=_('<div class="relative z-10"></div>'),RK=_('<div class="absolute right-0 top-0 pr-4 pt-4 sm:pr-6 sm:pt-6 sm:block"><button type="button" class="rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"><span class="sr-only">Close</span></button></div>'),LK=_('<div class="fixed inset-0 z-10 overflow-y-auto"><div class="flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"><div></div></div></div>'),Xu=100;function Vl(e){const t=ot({size:"md",open:!1},e),n=oe(()=>Ur("relative transform rounded-lg bg-white p-4 text-left shadow-xl transition-all sm:my-8 w-full sm:p-6",{"sm:max-w-lg":t.size==="lg","sm:max-w-sm":t.size==="md"}));return Ae(()=>{window?.zE&&(t.open?window.zE("messenger","hide"):window.zE("messenger","show"))}),(()=>{const r=FK.cloneNode(!0);return R(r,$(m7,{get onEnter(){return Zu([{opacity:0},{opacity:1}],{duration:Xu,easing:"ease-in"})},get onExit(){return Zu([{opacity:1},{opacity:0}],{duration:Xu,easing:"ease-out"})},get children(){return $($e,{get when(){return t.open},get children(){return DK.cloneNode(!0)}})}}),null),R(r,$(m7,{get onEnter(){return Zu([{opacity:0,transform:"scale(0.95)"},{opacity:1,transform:"scale(1)"}],{duration:Xu,easing:"ease-in"})},get onExit(){return Zu([{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.95)"}],{duration:Xu,easing:"ease-out"})},get children(){return oe(()=>!!t.open)()&&(()=>{const i=LK.cloneNode(!0),o=i.firstChild,a=o.firstChild;return R(a,$($e,{get when(){return t?.onClose},get children(){const l=RK.cloneNode(!0),c=l.firstChild;return c.firstChild,L$(c,"click",t.onClose,!0),R(c,$(kt,{name:"xMark",class:"h-6 w-6","aria-hidden":"true"}),null),l}}),null),R(a,()=>t.children,null),ve(()=>Jt(a,n())),i})()}}),null),r})()}po(["click"]);const g7=["mcg","mg","g"],v7=["mL","L"],y7=["mcg/kg","mg/kg","g/kg"],Dp=e=>.453592*e,Fp=e=>2.20462*e,Tw=e=>e/16,Aw=e=>e/1e3,b7=e=>Dp(Tw(e)),$7=e=>Fp(Aw(e)),w7=e=>1e3*e,_7=e=>16*e,zK={lb:{lb:e=>e,kg:Dp,oz:e=>16*e,g:e=>w7(Dp(e))},kg:{lb:Fp,kg:e=>e,oz:e=>_7(Fp(e)),g:e=>1e3*e},oz:{lb:Tw,kg:b7,oz:e=>e,g:e=>w7(b7(e))},g:{lb:$7,kg:Aw,oz:e=>_7($7(e)),g:e=>e}},jK=(e,t)=>zK[t.unit][e](t.value),UK={g:{g:e=>e,mcg:e=>e*1e3*1e3,mg:e=>e*1e3},mg:{g:e=>e/1e3,mg:e=>e,mcg:e=>e*1e3},mcg:{g:e=>e/(1e3*1e3),mg:e=>e/1e3,mcg:e=>e}},VK=e=>e.split("/")[0],BK=(e,t)=>UK[t.unit][VK(e)](t.value),HK=e=>{switch(e){case"g/kg":case"mg/kg":case"mcg/kg":return"kg"}},qK=(e,t)=>e.value*jK(HK(e.unit),t),WK=(e,t,n)=>{const r=n.unit==="L"?n.value*1e3:n.value;return e.value*r/BK(e.unit,t)};function GK(e,t){const n=r=>{e?.contains(r.target)||t()};document.body.addEventListener("click",n),Sr(()=>document.body.removeEventListener("click",n))}const YK=_('<ul role="listbox" tabindex="-1"></ul>'),Nw=_("<div></div>"),QK=_('<span class="absolute inset-y-0 right-0 flex items-center pr-4"></span>'),KK=_('<li role="option" tabindex="-1"><span class="block truncate"></span></li>'),ZK=_('<button class="absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" title="Input dropdown"></button>'),XK=_('<div class="relative"></div>'),J2=ti([{open:!1,selected:{},active:"",typing:!1},{setOpen:()=>{},setSelected:()=>{},setActive:()=>{},setTyping:()=>{}}]);function JK(e){const[t,n]=zl({open:!1,selected:{},active:"",typing:!1}),r=[t,{setOpen(i){n("open",i)},setSelected(i){n("selected",i)},setActive(i){n("active",i)},setTyping(i){n("typing",i)}}];return $(J2.Provider,{value:r,get children(){return e.children}})}function Pw(){return Nr(J2)}function eZ(e){const[t]=Nr(J2);let n;const r=oe(()=>{if(t.open&&n?.getBoundingClientRect){const o=n.getBoundingClientRect(),a=window.innerHeight-o.bottom,l=o.top;return a>l?"bottom":"top"}return"bottom"}),i=oe(()=>Ur("absolute z-10 w-full bg-white shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm",{"bottom-full mb-1":r()==="top","top-full mt-1":r()==="bottom"}));return(()=>{const o=Nw.cloneNode(!0),a=n;return typeof a=="function"?lo(a,o):n=o,R(o,$($e,{get when(){return t.open},get children(){const l=YK.cloneNode(!0);return R(l,()=>e.children),ve(()=>Jt(l,i())),l}})),o})()}function tZ(e){const[t,{setSelected:n,setActive:r}]=Nr(J2),i=oe(()=>Ur("relative cursor-default select-none py-2 pl-3 pr-9 text-gray-900 cursor-pointer",{"bg-blue-600 text-white":t.active===e.key})),o=oe(()=>Ur(t.active===e.key?"text-white":"text-blue-600"));return(()=>{const a=KK.cloneNode(!0),l=a.firstChild;return a.addEventListener("mouseenter",()=>r(e.key)),a.$$click=()=>n(e.value),R(l,()=>e.children),R(a,$($e,{get when(){return t.selected?.id===e.key},get children(){const c=QK.cloneNode(!0);return R(c,$(kt,{name:"checkCircle",get class(){return o()}})),c}}),null),ve(()=>Jt(a,i())),a})()}function nZ(e){const[t,{setOpen:n}]=Pw(),[r]=y4(),[i,o]=$l(e,["onInput","value"]),[a,l]=te("");let c;return Ht(()=>{GK(c,()=>{n(!1)})}),Ae(()=>{t.selected&&l(e.displayValue(t.selected)),t.typing&&l(""),t.open||l(e.displayValue(t.selected)||"")}),[(()=>{const u=Nw.cloneNode(!0),f=c;return typeof f=="function"?lo(f,u):c=u,R(u,$(_r,ot(o,{get value(){return a()||""},onClick:()=>n(!t.open),onInput:p=>{i?.onInput&&i?.onInput(p),l(p.currentTarget.value),n(!0)},type:"text"}))),u})(),(()=>{const u=ZK.cloneNode(!0);return u.$$click=()=>n(!t.open),R(u,$($e,{get when(){return!r.loading&&!e.loading},get children(){return $(kt,{name:"chevronUpDown",class:"text-gray-400"})}})),u})()]}function rZ(e){const[t,{setSelected:n}]=Pw();return Ht(()=>{e.value&&n(e.value),e.setSelected&&e.setSelected(t.selected)}),Ae(()=>{t.selected&&e.setSelected?.(t.selected)}),Ae(()=>{e.value&&n(e.value)}),(()=>{const r=XK.cloneNode(!0);return R(r,()=>e.children),r})()}function fn(e){return $(JK,{get children(){return $(rZ,ot(e,{get children(){return e.children}}))}})}fn.Input=nZ;fn.Options=eZ;fn.Option=tZ;po(["click"]);const iZ=e=>e.map((t,n)=>({id:n.toString(),name:t}));function Ad(e){const t=oe(()=>iZ(e.options)),n=oe(()=>e.initialIdx?e.initialIdx:e.initialValue?e.options.indexOf(e.initialValue):0);return $(fn,{get value(){return t()[n()]},setSelected:r=>e.setSelected(r.name),get children(){return[$(fn.Input,{displayValue:r=>r.name}),$(fn.Options,{get children(){return $(Cn,{get each(){return t()},children:r=>$(fn.Option,{get key(){return r.id},value:r,get children(){return r.name}})})}})]}})}const oZ=_('<div class="flex items-center"><h2>Calculate Dose Quantity</h2></div>'),aZ=_("<p>Enter desired dosage and patient weight to calculate total and dose quantity.</p>"),sZ=_('<div class="my-8"><div class="flex items-center"><h3>Selected Medication</h3></div><p></p></div>'),lZ=_('<div class="grid grid-cols-1 sm:grid-cols-2 gap-4"><div class="grid grid-cols-2 gap-4 sm:gap-2"></div><div class="flex gap-4 items-center"><div>per</div><div class="grow"></div></div></div>'),dZ=_('<div class="grid grid-cols-1 sm:grid-cols-2 gap-4"><div class="grid grid-cols-2 gap-4 sm:gap-2"></div></div>'),x7=_('<div class="flex gap-4 sm:gap-2"></div>'),cZ=_('<section class="mt-8"><div class="flex items-center"><h3>Dosage Inputs</h3></div><div class="grid grid-cols-1 sm:grid-cols-2 sm:gap-4"></div></section>'),uZ=_('<section class="mt-8"><div class="flex items-center"><h3>Frequency</h3></div><div class="grid grid-cols-2 gap-4"></div></section>'),fZ=_('<section class="mt-8"><div class="flex items-center"><h3>Dosage</h3></div><div class="grid grid-cols-2 gap-4"></div><hr class="h-px mb-4 bg-gray-200 border-0 dark:bg-gray-700 w-full"><div class="grid grid-cols-2 gap-4"></div></section>'),hZ=_('<div class="mt-8 flex gap-4 justify-end"></div>'),Bs=e=>parseFloat(e.toFixed(1)),k7=["day","dose"],C7=["lb","kg"],pZ=e=>{switch(e?.toLowerCase()){case"kg":case"kgs":return"kg";case"lb":case"lbs":return"lb";default:return}},Ju=e=>isNaN(e)||!isFinite(e)?0:e;function mZ(e){const[t,n]=te(0),[r,i]=te(y7[0]),[o,a]=te(k7[0]),[l,c]=te(0),[u,f]=te(C7[0]),[p,m]=te(0),[g,v]=te(g7[0]),[w,x]=te(0),[A,S]=te(v7[0]),[O,E]=te(1),[M,P]=te(1);Ht(()=>{const K=pZ(e.weightUnit);K?(e.weight&&c(e.weight),e.weightUnit&&f(K)):(c(0),f("lb"))});const L=oe(()=>u()?qK({unit:r(),value:t()},{unit:u(),value:l()}):0),U=oe(()=>WK({unit:r(),value:L()},{unit:g(),value:p()},{unit:A(),value:w()})),Z=oe(()=>Ju(o()==="day"?L()/M():L())),ce=oe(()=>Ju(Z()*O()*M())),Q=oe(()=>r().split("/")[0]),G=oe(()=>Ju(o()==="day"?U()/M():U())),re=oe(()=>Ju(G()*O()*M()));return $(Vl,{get open(){return e.open},get onClose(){return e.onClose},size:"lg",get children(){return[(()=>{const K=oZ.cloneNode(!0),H=K.firstChild;return R(K,$(kt,{name:"calculator",class:"mr-2"}),H),K})(),aZ.cloneNode(!0),(()=>{const K=sZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling;return R(H,$(kt,{name:"pencilSquare",class:"mr-2"}),ye),R(pe,()=>e?.medicationName||"None Selected"),ve(()=>Jt(pe,e?.medicationName?"":"@apply text-gray-400")),K})(),(()=>{const K=cZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling;return R(H,$(kt,{name:"beaker",class:"mr-2"}),ye),R(K,$(rr,{label:"Dose",get children(){const J=lZ.cloneNode(!0),we=J.firstChild,ee=we.nextSibling,ae=ee.firstChild,ne=ae.nextSibling;return R(we,$(_r,{type:"number",inputmode:"decimal",get value(){return t()},onInput:ze=>n(ze.currentTarget?.valueAsNumber??0)}),null),R(we,$(Ad,{setSelected:i,options:y7,initialIdx:1}),null),R(ne,$(Ad,{setSelected:a,options:k7})),J}}),pe),R(K,$(rr,{label:"Patient Weight",get children(){const J=dZ.cloneNode(!0),we=J.firstChild;return R(we,$(_r,{type:"number",inputmode:"decimal",get value(){return l()},onInput:ee=>c(ee.currentTarget?.valueAsNumber??0)}),null),R(we,$(Ad,{setSelected:f,options:C7,get initialValue(){return u()}}),null),J}}),pe),R(pe,$(rr,{label:"Liquid Concentration",get children(){const J=x7.cloneNode(!0);return R(J,$(_r,{type:"number",inputmode:"decimal",get value(){return p()},onInput:we=>m(we.currentTarget?.valueAsNumber??0)}),null),R(J,$(Ad,{setSelected:v,options:g7,initialIdx:1}),null),J}}),null),R(pe,$(rr,{label:"Per Volume",get children(){const J=x7.cloneNode(!0);return R(J,$(_r,{type:"number",inputmode:"decimal",get value(){return w()},onInput:we=>x(we.currentTarget?.valueAsNumber??0)}),null),R(J,$(Ad,{setSelected:S,options:v7}),null),J}}),null),K})(),(()=>{const K=uZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling;return R(H,$(kt,{name:"clock",class:"mr-2"}),ye),R(pe,$(rr,{label:"Duration in Days",get children(){return $(_r,{type:"number",inputmode:"decimal",get value(){return O()},onInput:J=>E(J.currentTarget?.valueAsNumber)})}}),null),R(pe,$(rr,{label:"Doses per Day",get children(){return $(_r,{type:"number",inputmode:"decimal",get value(){return M()},onInput:J=>P(J.currentTarget?.valueAsNumber)})}}),null),K})(),(()=>{const K=fZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling,J=pe.nextSibling,we=J.nextSibling;return R(H,$(kt,{name:"chartPie",class:"mr-2"}),ye),R(pe,$(rr,{label:"Single Dose",get children(){return $(_r,{type:"text",get value(){return`${Bs(Z())} ${Q()}`},readonly:!0,copy:!0})}}),null),R(pe,$(rr,{label:"Total Quantity",get children(){return $(_r,{type:"text",get value(){return`${Bs(ce())} ${Q()}`},readonly:!0,copy:!0})}}),null),R(we,$(rr,{label:"Single Liquid Dose",get children(){return $(_r,{type:"text",get value(){return`${Bs(G())} ${A()}`},readonly:!0,copy:!0})}}),null),R(we,$(rr,{label:"Total Liquid Quantity",get children(){return $(_r,{type:"text",get value(){return`${Bs(re())} ${A()}`},readonly:!0,copy:!0})}}),null),K})(),(()=>{const K=hZ.cloneNode(!0);return R(K,$(Pt,{variant:"secondary",get onClick(){return e.onClose},children:"Cancel"}),null),R(K,$(Pt,{onClick:()=>{e.setAutocompleteValues({days:O(),liquidDose:Bs(G()),totalLiquid:Bs(re()),unit:A()}),e.onClose()},get disabled(){return re()===0},children:"Autofill"}),null),K})()]}})}function Tl({dispenseQuantity:e=0,dispenseUnit:t="",fillsAllowed:n=0,instructions:r=""}){const i=Math.max(n-1,0);return`${e} ${t}, ${i} Refill${i===1?"":"s"} - ${r}`}function ms(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Pr(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function $0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$0=function(t){return typeof t}:$0=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$0(e)}function mo(e){Pr(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||$0(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function gZ(e,t){Pr(2,arguments);var n=mo(e).getTime(),r=ms(t);return new Date(n+r)}var vZ={};function ef(){return vZ}function yZ(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function w0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w0=function(t){return typeof t}:w0=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w0(e)}function bZ(e){return Pr(1,arguments),e instanceof Date||w0(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $Z(e){if(Pr(1,arguments),!bZ(e)&&typeof e!="number")return!1;var t=mo(e);return!isNaN(Number(t))}function wZ(e,t){Pr(2,arguments);var n=ms(t);return gZ(e,-n)}var _Z=864e5;function xZ(e){Pr(1,arguments);var t=mo(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/_Z)+1}function M1(e){Pr(1,arguments);var t=1,n=mo(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Iw(e){Pr(1,arguments);var t=mo(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=M1(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=M1(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function kZ(e){Pr(1,arguments);var t=Iw(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=M1(n);return r}var CZ=6048e5;function EZ(e){Pr(1,arguments);var t=mo(e),n=M1(t).getTime()-kZ(t).getTime();return Math.round(n/CZ)+1}function D1(e,t){var n,r,i,o,a,l,c,u;Pr(1,arguments);var f=ef(),p=ms((n=(r=(i=(o=t?.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=mo(e),g=m.getUTCDay(),v=(g<p?7:0)+g-p;return m.setUTCDate(m.getUTCDate()-v),m.setUTCHours(0,0,0,0),m}function Mw(e,t){var n,r,i,o,a,l,c,u;Pr(1,arguments);var f=mo(e),p=f.getUTCFullYear(),m=ef(),g=ms((n=(r=(i=(o=t?.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&r!==void 0?r:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(p+1,0,g),v.setUTCHours(0,0,0,0);var w=D1(v,t),x=new Date(0);x.setUTCFullYear(p,0,g),x.setUTCHours(0,0,0,0);var A=D1(x,t);return f.getTime()>=w.getTime()?p+1:f.getTime()>=A.getTime()?p:p-1}function SZ(e,t){var n,r,i,o,a,l,c,u;Pr(1,arguments);var f=ef(),p=ms((n=(r=(i=(o=t?.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=Mw(e,t),g=new Date(0);g.setUTCFullYear(m,0,p),g.setUTCHours(0,0,0,0);var v=D1(g,t);return v}var OZ=6048e5;function TZ(e,t){Pr(1,arguments);var n=mo(e),r=D1(n,t).getTime()-SZ(n,t).getTime();return Math.round(r/OZ)+1}function Ft(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var AZ={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Ft(t==="yy"?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):Ft(n+1,2)},d:function(e,t){return Ft(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return Ft(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Ft(e.getUTCHours(),t.length)},m:function(e,t){return Ft(e.getUTCMinutes(),t.length)},s:function(e,t){return Ft(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return Ft(i,t.length)}};const na=AZ;var Hs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},NZ={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return na.y(e,t)},Y:function(e,t,n,r){var i=Mw(e,r),o=i>0?i:1-i;if(t==="YY"){var a=o%100;return Ft(a,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):Ft(o,t.length)},R:function(e,t){var n=Iw(e);return Ft(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return Ft(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ft(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ft(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return na.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Ft(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=TZ(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):Ft(i,t.length)},I:function(e,t,n){var r=EZ(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ft(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):na.d(e,t)},D:function(e,t,n){var r=xZ(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ft(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Ft(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Ft(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return Ft(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours(),i=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r=e.getUTCHours(),i;switch(r===12?i=Hs.noon:r===0?i=Hs.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r=e.getUTCHours(),i;switch(r>=17?i=Hs.evening:r>=12?i=Hs.afternoon:r>=4?i=Hs.morning:i=Hs.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return na.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):na.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ft(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ft(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):na.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):na.s(e,t)},S:function(e,t){return na.S(e,t)},X:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return S7(o);case"XXXX":case"XX":return Va(o);case"XXXXX":case"XXX":default:return Va(o,":")}},x:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"x":return S7(o);case"xxxx":case"xx":return Va(o);case"xxxxx":case"xxx":default:return Va(o,":")}},O:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+E7(o,":");case"OOOO":default:return"GMT"+Va(o,":")}},z:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+E7(o,":");case"zzzz":default:return"GMT"+Va(o,":")}},t:function(e,t,n,r){var i=r._originalDate||e,o=Math.floor(i.getTime()/1e3);return Ft(o,t.length)},T:function(e,t,n,r){var i=r._originalDate||e,o=i.getTime();return Ft(o,t.length)}};function E7(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t||"";return n+String(i)+a+Ft(o,2)}function S7(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Ft(Math.abs(e)/60,2)}return Va(e,t)}function Va(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=Ft(Math.floor(i/60),2),a=Ft(i%60,2);return r+o+n+a}const PZ=NZ;var O7=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Dw=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},IZ=function(e,t){var n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return O7(e,t);var o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",O7(r,t)).replace("{{time}}",Dw(i,t))},MZ={p:Dw,P:IZ};const DZ=MZ;var FZ=["D","DD"],RZ=["YY","YYYY"];function LZ(e){return FZ.indexOf(e)!==-1}function zZ(e){return RZ.indexOf(e)!==-1}function T7(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var jZ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},UZ=function(e,t,n){var r,i=jZ[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};const VZ=UZ;function t5(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var BZ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},HZ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qZ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},WZ={date:t5({formats:BZ,defaultWidth:"full"}),time:t5({formats:HZ,defaultWidth:"full"}),dateTime:t5({formats:qZ,defaultWidth:"full"})};const GZ=WZ;var YZ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},QZ=function(e,t,n,r){return YZ[e]};const KZ=QZ;function Nd(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var l=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var ZZ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},XZ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},JZ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},eX={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},tX={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},nX={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},rX=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},iX={ordinalNumber:rX,era:Nd({values:ZZ,defaultWidth:"wide"}),quarter:Nd({values:XZ,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Nd({values:JZ,defaultWidth:"wide"}),day:Nd({values:eX,defaultWidth:"wide"}),dayPeriod:Nd({values:tX,defaultWidth:"wide",formattingValues:nX,defaultFormattingWidth:"wide"})};const oX=iX;function Pd(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?sX(l,function(p){return p.test(a)}):aX(l,function(p){return p.test(a)}),u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(a.length);return{value:u,rest:f}}}function aX(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function sX(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function lX(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(i.length);return{value:a,rest:l}}}var dX=/^(\d+)(th|st|nd|rd)?/i,cX=/\d+/i,uX={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},fX={any:[/^b/i,/^(a|c)/i]},hX={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},pX={any:[/1/i,/2/i,/3/i,/4/i]},mX={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},gX={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},vX={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yX={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},bX={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$X={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},wX={ordinalNumber:lX({matchPattern:dX,parsePattern:cX,valueCallback:function(e){return parseInt(e,10)}}),era:Pd({matchPatterns:uX,defaultMatchWidth:"wide",parsePatterns:fX,defaultParseWidth:"any"}),quarter:Pd({matchPatterns:hX,defaultMatchWidth:"wide",parsePatterns:pX,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Pd({matchPatterns:mX,defaultMatchWidth:"wide",parsePatterns:gX,defaultParseWidth:"any"}),day:Pd({matchPatterns:vX,defaultMatchWidth:"wide",parsePatterns:yX,defaultParseWidth:"any"}),dayPeriod:Pd({matchPatterns:bX,defaultMatchWidth:"any",parsePatterns:$X,defaultParseWidth:"any"})};const _X=wX;var xX={code:"en-US",formatDistance:VZ,formatLong:GZ,formatRelative:KZ,localize:oX,match:_X,options:{weekStartsOn:0,firstWeekContainsDate:1}};const kX=xX;var CX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,EX=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,SX=/^'([^]*?)'?$/,OX=/''/g,TX=/[a-zA-Z]/;function AX(e,t,n){var r,i,o,a,l,c,u,f,p,m,g,v,w,x,A,S,O,E;Pr(2,arguments);var M=String(t),P=ef(),L=(r=(i=n?.locale)!==null&&i!==void 0?i:P.locale)!==null&&r!==void 0?r:kX,U=ms((o=(a=(l=(c=n?.firstWeekContainsDate)!==null&&c!==void 0?c:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&l!==void 0?l:P.firstWeekContainsDate)!==null&&a!==void 0?a:(p=P.locale)===null||p===void 0||(m=p.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Z=ms((g=(v=(w=(x=n?.weekStartsOn)!==null&&x!==void 0?x:n==null||(A=n.locale)===null||A===void 0||(S=A.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&w!==void 0?w:P.weekStartsOn)!==null&&v!==void 0?v:(O=P.locale)===null||O===void 0||(E=O.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&g!==void 0?g:0);if(!(Z>=0&&Z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var ce=mo(e);if(!$Z(ce))throw new RangeError("Invalid time value");var Q=yZ(ce),G=wZ(ce,Q),re={firstWeekContainsDate:U,weekStartsOn:Z,locale:L,_originalDate:ce},K=M.match(EX).map(function(H){var ye=H[0];if(ye==="p"||ye==="P"){var pe=DZ[ye];return pe(H,L.formatLong)}return H}).join("").match(CX).map(function(H){if(H==="''")return"'";var ye=H[0];if(ye==="'")return NX(H);var pe=PZ[ye];if(pe)return!(n!=null&&n.useAdditionalWeekYearTokens)&&zZ(H)&&T7(H,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&LZ(H)&&T7(H,t,String(e)),pe(G,H,L.localize,re);if(ye.match(TX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ye+"`");return H}).join("");return K}function NX(e){var t=e.match(SX);return t?t[1].replace(OX,"'"):e}const A7=e=>({id:String(Math.random()),effectiveDate:AX(new Date,"yyyy-MM-dd").toString(),treatment:e.treatment,dispenseAsWritten:e.dispenseAsWritten,dispenseQuantity:e.dispenseQuantity,dispenseUnit:e.dispenseUnit,daysSupply:e.daysSupply,refillsInput:e.fillsAllowed?e.fillsAllowed-1:0,fillsAllowed:e.fillsAllowed,instructions:e.instructions,notes:e.notes,addToTemplates:!1,catalogId:void 0,isPrivate:e.__typename==="PrescriptionTemplate"?e.isPrivate:!0,name:e.__typename==="PrescriptionTemplate"?e.name:null}),PX=_('<div class="flex items-start gap-3"></div>'),IX=_('<div class="flex justify-between items-center gap-4"><div class="flex flex-col items-start"></div></div>'),MX=_('<div class="space-y-3"></div>'),N7=_("<button></button>"),DX=ni`
|
|
781
|
+
`;function EK(e){const[t,n]=te(!1),r=ri(),i=async l=>{await r.apollo.mutate({mutation:CK,variables:{id:e.patientId,address:l},update:()=>{n(!1),Cr({header:"Address Updated",body:"The patient address has been updated.",status:"success"}),e?.setAddress&&e.setAddress(l)}})},{form:o,errors:a}=H$({onSubmit:async l=>{n(!0);try{i({country:"US",...l})}catch{Cr({header:"Error Updating Patient",body:"The patient address has not been updated.",status:"info"})}},extend:q$({schema:kK})});return $(Er,{get children(){return[(()=>{const l=_K.cloneNode(!0);return R(l,$(De,{color:"gray",children:"Patient Address"}),null),R(l,$(Pt,{type:"submit",form:"patient-address",get disabled(){return t()},get loading(){return t()},children:"Save Address"}),null),l})(),(()=>{const l=xK.cloneNode(!0),c=l.firstChild,u=c.firstChild;return R(l,$(k4,{status:"info",children:"Patient address is required to write a prescription"}),c),lo(o,c),R(c,$(rr,{label:"Address Line 1 *",subLabel:"Enter Street Number and Name",get error(){return a().street1},get children(){return $(_r,{type:"text",name:"street1"})}}),u),R(c,$(rr,{label:"Address Line 2",subLabel:"Enter Apt, Unit, or Suite",get children(){return $(_r,{type:"text",name:"street2"})}}),u),R(c,$(rr,{label:"City *",get error(){return a().city},get children(){return $(_r,{type:"text",name:"city"})}}),u),R(u,$(rr,{label:"State *",get error(){return a().state},get children(){return $(RQ,{list:LY,selectMessage:"Select a State",name:"state"})}}),null),R(u,$(rr,{label:"Zip Code *",get error(){return a().postalCode},get children(){return $(_r,{type:"text",name:"postalCode"})}}),null),l})()]}})}const SK=_('<div><div class="flex"><div class="flex-shrink-0"></div><div class="ml-3"><h3></h3><div><p class="text-sm mb-0"></p></div></div></div></div>'),Ip=e=>{const t=oe(()=>{switch(e.type){case"success":return"checkCircle";case"info":return"informationCircle";case"warning":return"exclamationTriangle";case"error":return"xCircle"}}),n=oe(()=>{switch(e.type){case"success":return"text-green-800";case"info":return"text-blue-800";case"warning":return"text-yellow-800";case"error":return"text-red-800"}}),r=oe(()=>{switch(e.type){case"success":return"bg-green-50";case"info":return"bg-blue-50";case"warning":return"bg-yellow-50";case"error":return"bg-red-50"}}),i=oe(()=>{switch(e.type){case"success":return"border-green-200";case"info":return"border-blue-200";case"warning":return"border-yellow-200";case"error":return"border-red-200"}});return(()=>{const o=SK.cloneNode(!0),a=o.firstChild,l=a.firstChild,c=l.nextSibling,u=c.firstChild,f=u.nextSibling,p=f.firstChild;return R(l,$(kt,{get name(){return t()},get class(){return n()}})),R(u,()=>e.header),R(p,()=>e.message),ve(m=>{const g=`rounded-md ${r()} border-2 ${i()} p-4`,v=`text-base font-medium mt-0 ${n()}`,w=`mt-2 ${n()}`;return g!==m._v$&&Jt(o,m._v$=g),v!==m._v$2&&Jt(u,m._v$2=v),w!==m._v$3&&Jt(f,m._v$3=w),m},{_v$:void 0,_v$2:void 0,_v$3:void 0}),o})()};var OK=()=>{},h7=(e,t)=>t();function TK(e,t){const n=Ce(e),r=n?[n]:[],{onEnter:i=h7,onExit:o=h7}=t,[a,l]=te(t.appear?[]:r),[c]=TA();let u,f=!1;function p(v,w){if(!v)return w&&w();f=!0,o(v,()=>{tc(()=>{f=!1,l(x=>x.filter(A=>A!==v)),w&&w()})})}function m(v){const w=u;if(!w)return v&&v();u=void 0,l(x=>[w,...x]),i(w,v??OK)}const g=t.mode==="out-in"?v=>f||p(v,m):t.mode==="in-out"?v=>m(()=>p(v)):v=>{m(),p(v)};return h1(v=>{const w=e();return Ce(c)?(c(),v):(w!==v&&(u=w,tc(()=>Ce(()=>g(v)))),w)},t.appear?void 0:n),a}var p7=e=>e instanceof Element;function Mp(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return Mp(e(),t);if(Array.isArray(e))for(const n of e){const r=Mp(n,t);if(r)return r}return null}function AK(e,t=p7,n=p7){const r=oe(e);return oe(()=>Mp(r(),t))}function NK(e){return oe(()=>{const t=e.name||"s";return{enterActiveClasses:(e.enterActiveClass||t+"-enter-active").split(" "),enterClasses:(e.enterClass||t+"-enter").split(" "),enterToClasses:(e.enterToClass||t+"-enter-to").split(" "),exitActiveClasses:(e.exitActiveClass||t+"-exit-active").split(" "),exitClasses:(e.exitClass||t+"-exit").split(" "),exitToClasses:(e.exitToClass||t+"-exit-to").split(" "),moveClasses:(e.moveClass||t+"-move").split(" ")}})}function Ow(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function PK(e,t,n,r){const{enterClasses:i,enterActiveClasses:o,enterToClasses:a}=e,{onBeforeEnter:l,onEnter:c,onAfterEnter:u}=t;l?.(n),n.classList.add(...i),n.classList.add(...o),queueMicrotask(()=>{if(!n.parentNode)return r?.();c?.(n,()=>f())}),Ow(()=>{n.classList.remove(...i),n.classList.add(...a),(!c||c.length<2)&&(n.addEventListener("transitionend",f),n.addEventListener("animationend",f))});function f(p){(!p||p.target===n)&&(r?.(),n.removeEventListener("transitionend",f),n.removeEventListener("animationend",f),n.classList.remove(...o),n.classList.remove(...a),u?.(n))}}function IK(e,t,n,r){const{exitClasses:i,exitActiveClasses:o,exitToClasses:a}=e,{onBeforeExit:l,onExit:c,onAfterExit:u}=t;if(!n.parentNode)return r?.();l?.(n),n.classList.add(...i),n.classList.add(...o),c?.(n,()=>f()),Ow(()=>{n.classList.remove(...i),n.classList.add(...a),(!c||c.length<2)&&(n.addEventListener("transitionend",f),n.addEventListener("animationend",f))});function f(p){(!p||p.target===n)&&(r?.(),n.removeEventListener("transitionend",f),n.removeEventListener("animationend",f),n.classList.remove(...o),n.classList.remove(...a),u?.(n))}}var MK={inout:"in-out",outin:"out-in"},m7=e=>{const t=NK(e);return TK(AK(()=>e.children),{mode:MK[e.mode],appear:e.appear,onEnter(n,r){PK(t(),e,n,r)},onExit(n,r){IK(t(),e,n,r)}})};const Zu=(e,t)=>(n,r)=>{n.animate(e,t).finished.then(r)},DK=_('<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>'),FK=_('<div class="relative z-10"></div>'),RK=_('<div class="absolute right-0 top-0 pr-4 pt-4 sm:pr-6 sm:pt-6 sm:block"><button type="button" class="rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"><span class="sr-only">Close</span></button></div>'),LK=_('<div class="fixed inset-0 z-10 overflow-y-auto"><div class="flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"><div></div></div></div>'),Xu=100;function Vl(e){const t=ot({size:"md",open:!1},e),n=oe(()=>Ur("relative transform rounded-lg bg-white p-4 text-left shadow-xl transition-all sm:my-8 w-full sm:p-6",{"sm:max-w-lg":t.size==="lg","sm:max-w-sm":t.size==="md"}));return Ae(()=>{window?.zE&&(t.open?window.zE("messenger","hide"):window.zE("messenger","show"))}),(()=>{const r=FK.cloneNode(!0);return R(r,$(m7,{get onEnter(){return Zu([{opacity:0},{opacity:1}],{duration:Xu,easing:"ease-in"})},get onExit(){return Zu([{opacity:1},{opacity:0}],{duration:Xu,easing:"ease-out"})},get children(){return $($e,{get when(){return t.open},get children(){return DK.cloneNode(!0)}})}}),null),R(r,$(m7,{get onEnter(){return Zu([{opacity:0,transform:"scale(0.95)"},{opacity:1,transform:"scale(1)"}],{duration:Xu,easing:"ease-in"})},get onExit(){return Zu([{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.95)"}],{duration:Xu,easing:"ease-out"})},get children(){return oe(()=>!!t.open)()&&(()=>{const i=LK.cloneNode(!0),o=i.firstChild,a=o.firstChild;return R(a,$($e,{get when(){return t?.onClose},get children(){const l=RK.cloneNode(!0),c=l.firstChild;return c.firstChild,L$(c,"click",t.onClose,!0),R(c,$(kt,{name:"xMark",class:"h-6 w-6","aria-hidden":"true"}),null),l}}),null),R(a,()=>t.children,null),ve(()=>Jt(a,n())),i})()}}),null),r})()}po(["click"]);const g7=["mcg","mg","g"],v7=["mL","L"],y7=["mcg/kg","mg/kg","g/kg"],Dp=e=>.453592*e,Fp=e=>2.20462*e,Tw=e=>e/16,Aw=e=>e/1e3,b7=e=>Dp(Tw(e)),$7=e=>Fp(Aw(e)),w7=e=>1e3*e,_7=e=>16*e,zK={lb:{lb:e=>e,kg:Dp,oz:e=>16*e,g:e=>w7(Dp(e))},kg:{lb:Fp,kg:e=>e,oz:e=>_7(Fp(e)),g:e=>1e3*e},oz:{lb:Tw,kg:b7,oz:e=>e,g:e=>w7(b7(e))},g:{lb:$7,kg:Aw,oz:e=>_7($7(e)),g:e=>e}},jK=(e,t)=>zK[t.unit][e](t.value),UK={g:{g:e=>e,mcg:e=>e*1e3*1e3,mg:e=>e*1e3},mg:{g:e=>e/1e3,mg:e=>e,mcg:e=>e*1e3},mcg:{g:e=>e/(1e3*1e3),mg:e=>e/1e3,mcg:e=>e}},VK=e=>e.split("/")[0],BK=(e,t)=>UK[t.unit][VK(e)](t.value),HK=e=>{switch(e){case"g/kg":case"mg/kg":case"mcg/kg":return"kg"}},qK=(e,t)=>e.value*jK(HK(e.unit),t),WK=(e,t,n)=>{const r=n.unit==="L"?n.value*1e3:n.value;return e.value*r/BK(e.unit,t)};function GK(e,t){const n=r=>{e?.contains(r.target)||t()};document.body.addEventListener("click",n),Sr(()=>document.body.removeEventListener("click",n))}const YK=_('<ul role="listbox" tabindex="-1"></ul>'),Nw=_("<div></div>"),QK=_('<span class="absolute inset-y-0 right-0 flex items-center pr-4"></span>'),KK=_('<li role="option" tabindex="-1"><span class="block truncate"></span></li>'),ZK=_('<button class="absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" title="Input dropdown"></button>'),XK=_('<div class="relative"></div>'),J2=ti([{open:!1,selected:{},active:"",typing:!1},{setOpen:()=>{},setSelected:()=>{},setActive:()=>{},setTyping:()=>{}}]);function JK(e){const[t,n]=zl({open:!1,selected:{},active:"",typing:!1}),r=[t,{setOpen(i){n("open",i)},setSelected(i){n("selected",i)},setActive(i){n("active",i)},setTyping(i){n("typing",i)}}];return $(J2.Provider,{value:r,get children(){return e.children}})}function Pw(){return Nr(J2)}function eZ(e){const[t]=Nr(J2);let n;const r=oe(()=>{if(t.open&&n?.getBoundingClientRect){const o=n.getBoundingClientRect(),a=window.innerHeight-o.bottom,l=o.top;return a>l?"bottom":"top"}return"bottom"}),i=oe(()=>Ur("absolute z-10 w-full bg-white shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm",{"bottom-full mb-1":r()==="top","top-full mt-1":r()==="bottom"}));return(()=>{const o=Nw.cloneNode(!0),a=n;return typeof a=="function"?lo(a,o):n=o,R(o,$($e,{get when(){return t.open},get children(){const l=YK.cloneNode(!0);return R(l,()=>e.children),ve(()=>Jt(l,i())),l}})),o})()}function tZ(e){const[t,{setSelected:n,setActive:r}]=Nr(J2),i=oe(()=>Ur("relative cursor-default select-none py-2 pl-3 pr-9 text-gray-900 cursor-pointer",{"bg-blue-600 text-white":t.active===e.key})),o=oe(()=>Ur(t.active===e.key?"text-white":"text-blue-600"));return(()=>{const a=KK.cloneNode(!0),l=a.firstChild;return a.addEventListener("mouseenter",()=>r(e.key)),a.$$click=()=>n(e.value),R(l,()=>e.children),R(a,$($e,{get when(){return t.selected?.id===e.key},get children(){const c=QK.cloneNode(!0);return R(c,$(kt,{name:"checkCircle",get class(){return o()}})),c}}),null),ve(()=>Jt(a,i())),a})()}function nZ(e){const[t,{setOpen:n}]=Pw(),[r]=y4(),[i,o]=$l(e,["onInput","value"]),[a,l]=te("");let c;return Ht(()=>{GK(c,()=>{n(!1)})}),Ae(()=>{t.selected&&l(e.displayValue(t.selected)),t.typing&&l(""),t.open||l(e.displayValue(t.selected)||"")}),[(()=>{const u=Nw.cloneNode(!0),f=c;return typeof f=="function"?lo(f,u):c=u,R(u,$(_r,ot(o,{get value(){return a()||""},onClick:()=>n(!t.open),onInput:p=>{i?.onInput&&i?.onInput(p),l(p.currentTarget.value),n(!0)},type:"text"}))),u})(),(()=>{const u=ZK.cloneNode(!0);return u.$$click=()=>n(!t.open),R(u,$($e,{get when(){return!r.loading&&!e.loading},get children(){return $(kt,{name:"chevronUpDown",class:"text-gray-400"})}})),u})()]}function rZ(e){const[t,{setSelected:n}]=Pw();return Ht(()=>{e.value&&n(e.value),e.setSelected&&e.setSelected(t.selected)}),Ae(()=>{t.selected&&e.setSelected?.(t.selected)}),Ae(()=>{e.value&&n(e.value)}),(()=>{const r=XK.cloneNode(!0);return R(r,()=>e.children),r})()}function fn(e){return $(JK,{get children(){return $(rZ,ot(e,{get children(){return e.children}}))}})}fn.Input=nZ;fn.Options=eZ;fn.Option=tZ;po(["click"]);const iZ=e=>e.map((t,n)=>({id:n.toString(),name:t}));function Ad(e){const t=oe(()=>iZ(e.options)),n=oe(()=>e.initialIdx?e.initialIdx:e.initialValue?e.options.indexOf(e.initialValue):0);return $(fn,{get value(){return t()[n()]},setSelected:r=>e.setSelected(r.name),get children(){return[$(fn.Input,{displayValue:r=>r.name}),$(fn.Options,{get children(){return $(Cn,{get each(){return t()},children:r=>$(fn.Option,{get key(){return r.id},value:r,get children(){return r.name}})})}})]}})}const oZ=_('<div class="flex items-center"><h2>Calculate Dose Quantity</h2></div>'),aZ=_("<p>Enter desired dosage and patient weight to calculate total and dose quantity.</p>"),sZ=_('<div class="my-8"><div class="flex items-center"><h3>Selected Medication</h3></div><p></p></div>'),lZ=_('<div class="grid grid-cols-1 sm:grid-cols-2 gap-4"><div class="grid grid-cols-2 gap-4 sm:gap-2"></div><div class="flex gap-4 items-center"><div>per</div><div class="grow"></div></div></div>'),dZ=_('<div class="grid grid-cols-1 sm:grid-cols-2 gap-4"><div class="grid grid-cols-2 gap-4 sm:gap-2"></div></div>'),x7=_('<div class="flex gap-4 sm:gap-2"></div>'),cZ=_('<section class="mt-8"><div class="flex items-center"><h3>Dosage Inputs</h3></div><div class="grid grid-cols-1 sm:grid-cols-2 sm:gap-4"></div></section>'),uZ=_('<section class="mt-8"><div class="flex items-center"><h3>Frequency</h3></div><div class="grid grid-cols-2 gap-4"></div></section>'),fZ=_('<section class="mt-8"><div class="flex items-center"><h3>Dosage</h3></div><div class="grid grid-cols-2 gap-4"></div><hr class="h-px mb-4 bg-gray-200 border-0 dark:bg-gray-700 w-full"><div class="grid grid-cols-2 gap-4"></div></section>'),hZ=_('<div class="mt-8 flex gap-4 justify-end"></div>'),Bs=e=>parseFloat(e.toFixed(1)),k7=["day","dose"],C7=["lb","kg"],pZ=e=>{switch(e?.toLowerCase()){case"kg":case"kgs":return"kg";case"lb":case"lbs":return"lb";default:return}},Ju=e=>isNaN(e)||!isFinite(e)?0:e;function mZ(e){const[t,n]=te(0),[r,i]=te(y7[0]),[o,a]=te(k7[0]),[l,c]=te(0),[u,f]=te(C7[0]),[p,m]=te(0),[g,v]=te(g7[0]),[w,x]=te(0),[A,S]=te(v7[0]),[O,E]=te(1),[M,P]=te(1);Ht(()=>{const K=pZ(e.weightUnit);K?(e.weight&&c(e.weight),e.weightUnit&&f(K)):(c(0),f("lb"))});const L=oe(()=>u()?qK({unit:r(),value:t()},{unit:u(),value:l()}):0),U=oe(()=>WK({unit:r(),value:L()},{unit:g(),value:p()},{unit:A(),value:w()})),Z=oe(()=>Ju(o()==="day"?L()/M():L())),ce=oe(()=>Ju(Z()*O()*M())),Q=oe(()=>r().split("/")[0]),G=oe(()=>Ju(o()==="day"?U()/M():U())),re=oe(()=>Ju(G()*O()*M()));return $(Vl,{get open(){return e.open},get onClose(){return e.onClose},size:"lg",get children(){return[(()=>{const K=oZ.cloneNode(!0),H=K.firstChild;return R(K,$(kt,{name:"calculator",class:"mr-2"}),H),K})(),aZ.cloneNode(!0),(()=>{const K=sZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling;return R(H,$(kt,{name:"pencilSquare",class:"mr-2"}),ye),R(pe,()=>e?.medicationName||"None Selected"),ve(()=>Jt(pe,e?.medicationName?"":"@apply text-gray-400")),K})(),(()=>{const K=cZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling;return R(H,$(kt,{name:"beaker",class:"mr-2"}),ye),R(K,$(rr,{label:"Dose",get children(){const ee=lZ.cloneNode(!0),we=ee.firstChild,X=we.nextSibling,ae=X.firstChild,ne=ae.nextSibling;return R(we,$(_r,{type:"number",inputmode:"decimal",get value(){return t()},onInput:ze=>n(ze.currentTarget?.valueAsNumber??0)}),null),R(we,$(Ad,{setSelected:i,options:y7,initialIdx:1}),null),R(ne,$(Ad,{setSelected:a,options:k7})),ee}}),pe),R(K,$(rr,{label:"Patient Weight",get children(){const ee=dZ.cloneNode(!0),we=ee.firstChild;return R(we,$(_r,{type:"number",inputmode:"decimal",get value(){return l()},onInput:X=>c(X.currentTarget?.valueAsNumber??0)}),null),R(we,$(Ad,{setSelected:f,options:C7,get initialValue(){return u()}}),null),ee}}),pe),R(pe,$(rr,{label:"Liquid Concentration",get children(){const ee=x7.cloneNode(!0);return R(ee,$(_r,{type:"number",inputmode:"decimal",get value(){return p()},onInput:we=>m(we.currentTarget?.valueAsNumber??0)}),null),R(ee,$(Ad,{setSelected:v,options:g7,initialIdx:1}),null),ee}}),null),R(pe,$(rr,{label:"Per Volume",get children(){const ee=x7.cloneNode(!0);return R(ee,$(_r,{type:"number",inputmode:"decimal",get value(){return w()},onInput:we=>x(we.currentTarget?.valueAsNumber??0)}),null),R(ee,$(Ad,{setSelected:S,options:v7}),null),ee}}),null),K})(),(()=>{const K=uZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling;return R(H,$(kt,{name:"clock",class:"mr-2"}),ye),R(pe,$(rr,{label:"Duration in Days",get children(){return $(_r,{type:"number",inputmode:"decimal",get value(){return O()},onInput:ee=>E(ee.currentTarget?.valueAsNumber)})}}),null),R(pe,$(rr,{label:"Doses per Day",get children(){return $(_r,{type:"number",inputmode:"decimal",get value(){return M()},onInput:ee=>P(ee.currentTarget?.valueAsNumber)})}}),null),K})(),(()=>{const K=fZ.cloneNode(!0),H=K.firstChild,ye=H.firstChild,pe=H.nextSibling,ee=pe.nextSibling,we=ee.nextSibling;return R(H,$(kt,{name:"chartPie",class:"mr-2"}),ye),R(pe,$(rr,{label:"Single Dose",get children(){return $(_r,{type:"text",get value(){return`${Bs(Z())} ${Q()}`},readonly:!0,copy:!0})}}),null),R(pe,$(rr,{label:"Total Quantity",get children(){return $(_r,{type:"text",get value(){return`${Bs(ce())} ${Q()}`},readonly:!0,copy:!0})}}),null),R(we,$(rr,{label:"Single Liquid Dose",get children(){return $(_r,{type:"text",get value(){return`${Bs(G())} ${A()}`},readonly:!0,copy:!0})}}),null),R(we,$(rr,{label:"Total Liquid Quantity",get children(){return $(_r,{type:"text",get value(){return`${Bs(re())} ${A()}`},readonly:!0,copy:!0})}}),null),K})(),(()=>{const K=hZ.cloneNode(!0);return R(K,$(Pt,{variant:"secondary",get onClick(){return e.onClose},children:"Cancel"}),null),R(K,$(Pt,{onClick:()=>{e.setAutocompleteValues({days:O(),liquidDose:Bs(G()),totalLiquid:Bs(re()),unit:A()}),e.onClose()},get disabled(){return re()===0},children:"Autofill"}),null),K})()]}})}function Tl({dispenseQuantity:e=0,dispenseUnit:t="",fillsAllowed:n=0,instructions:r=""}){const i=Math.max(n-1,0);return`${e} ${t}, ${i} Refill${i===1?"":"s"} - ${r}`}function ms(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Pr(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function $0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$0=function(t){return typeof t}:$0=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$0(e)}function mo(e){Pr(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||$0(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function gZ(e,t){Pr(2,arguments);var n=mo(e).getTime(),r=ms(t);return new Date(n+r)}var vZ={};function ef(){return vZ}function yZ(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function w0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w0=function(t){return typeof t}:w0=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w0(e)}function bZ(e){return Pr(1,arguments),e instanceof Date||w0(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $Z(e){if(Pr(1,arguments),!bZ(e)&&typeof e!="number")return!1;var t=mo(e);return!isNaN(Number(t))}function wZ(e,t){Pr(2,arguments);var n=ms(t);return gZ(e,-n)}var _Z=864e5;function xZ(e){Pr(1,arguments);var t=mo(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/_Z)+1}function M1(e){Pr(1,arguments);var t=1,n=mo(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Iw(e){Pr(1,arguments);var t=mo(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=M1(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=M1(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function kZ(e){Pr(1,arguments);var t=Iw(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=M1(n);return r}var CZ=6048e5;function EZ(e){Pr(1,arguments);var t=mo(e),n=M1(t).getTime()-kZ(t).getTime();return Math.round(n/CZ)+1}function D1(e,t){var n,r,i,o,a,l,c,u;Pr(1,arguments);var f=ef(),p=ms((n=(r=(i=(o=t?.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=mo(e),g=m.getUTCDay(),v=(g<p?7:0)+g-p;return m.setUTCDate(m.getUTCDate()-v),m.setUTCHours(0,0,0,0),m}function Mw(e,t){var n,r,i,o,a,l,c,u;Pr(1,arguments);var f=mo(e),p=f.getUTCFullYear(),m=ef(),g=ms((n=(r=(i=(o=t?.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&r!==void 0?r:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(p+1,0,g),v.setUTCHours(0,0,0,0);var w=D1(v,t),x=new Date(0);x.setUTCFullYear(p,0,g),x.setUTCHours(0,0,0,0);var A=D1(x,t);return f.getTime()>=w.getTime()?p+1:f.getTime()>=A.getTime()?p:p-1}function SZ(e,t){var n,r,i,o,a,l,c,u;Pr(1,arguments);var f=ef(),p=ms((n=(r=(i=(o=t?.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=Mw(e,t),g=new Date(0);g.setUTCFullYear(m,0,p),g.setUTCHours(0,0,0,0);var v=D1(g,t);return v}var OZ=6048e5;function TZ(e,t){Pr(1,arguments);var n=mo(e),r=D1(n,t).getTime()-SZ(n,t).getTime();return Math.round(r/OZ)+1}function Ft(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var AZ={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Ft(t==="yy"?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):Ft(n+1,2)},d:function(e,t){return Ft(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return Ft(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Ft(e.getUTCHours(),t.length)},m:function(e,t){return Ft(e.getUTCMinutes(),t.length)},s:function(e,t){return Ft(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return Ft(i,t.length)}};const na=AZ;var Hs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},NZ={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return na.y(e,t)},Y:function(e,t,n,r){var i=Mw(e,r),o=i>0?i:1-i;if(t==="YY"){var a=o%100;return Ft(a,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):Ft(o,t.length)},R:function(e,t){var n=Iw(e);return Ft(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return Ft(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ft(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ft(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return na.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Ft(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=TZ(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):Ft(i,t.length)},I:function(e,t,n){var r=EZ(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ft(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):na.d(e,t)},D:function(e,t,n){var r=xZ(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ft(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Ft(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Ft(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return Ft(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours(),i=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r=e.getUTCHours(),i;switch(r===12?i=Hs.noon:r===0?i=Hs.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r=e.getUTCHours(),i;switch(r>=17?i=Hs.evening:r>=12?i=Hs.afternoon:r>=4?i=Hs.morning:i=Hs.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return na.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):na.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ft(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ft(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):na.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):na.s(e,t)},S:function(e,t){return na.S(e,t)},X:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return S7(o);case"XXXX":case"XX":return Va(o);case"XXXXX":case"XXX":default:return Va(o,":")}},x:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"x":return S7(o);case"xxxx":case"xx":return Va(o);case"xxxxx":case"xxx":default:return Va(o,":")}},O:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+E7(o,":");case"OOOO":default:return"GMT"+Va(o,":")}},z:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+E7(o,":");case"zzzz":default:return"GMT"+Va(o,":")}},t:function(e,t,n,r){var i=r._originalDate||e,o=Math.floor(i.getTime()/1e3);return Ft(o,t.length)},T:function(e,t,n,r){var i=r._originalDate||e,o=i.getTime();return Ft(o,t.length)}};function E7(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t||"";return n+String(i)+a+Ft(o,2)}function S7(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Ft(Math.abs(e)/60,2)}return Va(e,t)}function Va(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=Ft(Math.floor(i/60),2),a=Ft(i%60,2);return r+o+n+a}const PZ=NZ;var O7=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Dw=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},IZ=function(e,t){var n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return O7(e,t);var o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",O7(r,t)).replace("{{time}}",Dw(i,t))},MZ={p:Dw,P:IZ};const DZ=MZ;var FZ=["D","DD"],RZ=["YY","YYYY"];function LZ(e){return FZ.indexOf(e)!==-1}function zZ(e){return RZ.indexOf(e)!==-1}function T7(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var jZ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},UZ=function(e,t,n){var r,i=jZ[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};const VZ=UZ;function t5(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var BZ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},HZ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qZ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},WZ={date:t5({formats:BZ,defaultWidth:"full"}),time:t5({formats:HZ,defaultWidth:"full"}),dateTime:t5({formats:qZ,defaultWidth:"full"})};const GZ=WZ;var YZ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},QZ=function(e,t,n,r){return YZ[e]};const KZ=QZ;function Nd(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var l=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var ZZ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},XZ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},JZ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},eX={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},tX={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},nX={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},rX=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},iX={ordinalNumber:rX,era:Nd({values:ZZ,defaultWidth:"wide"}),quarter:Nd({values:XZ,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Nd({values:JZ,defaultWidth:"wide"}),day:Nd({values:eX,defaultWidth:"wide"}),dayPeriod:Nd({values:tX,defaultWidth:"wide",formattingValues:nX,defaultFormattingWidth:"wide"})};const oX=iX;function Pd(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?sX(l,function(p){return p.test(a)}):aX(l,function(p){return p.test(a)}),u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(a.length);return{value:u,rest:f}}}function aX(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function sX(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function lX(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(i.length);return{value:a,rest:l}}}var dX=/^(\d+)(th|st|nd|rd)?/i,cX=/\d+/i,uX={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},fX={any:[/^b/i,/^(a|c)/i]},hX={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},pX={any:[/1/i,/2/i,/3/i,/4/i]},mX={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},gX={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},vX={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yX={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},bX={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$X={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},wX={ordinalNumber:lX({matchPattern:dX,parsePattern:cX,valueCallback:function(e){return parseInt(e,10)}}),era:Pd({matchPatterns:uX,defaultMatchWidth:"wide",parsePatterns:fX,defaultParseWidth:"any"}),quarter:Pd({matchPatterns:hX,defaultMatchWidth:"wide",parsePatterns:pX,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Pd({matchPatterns:mX,defaultMatchWidth:"wide",parsePatterns:gX,defaultParseWidth:"any"}),day:Pd({matchPatterns:vX,defaultMatchWidth:"wide",parsePatterns:yX,defaultParseWidth:"any"}),dayPeriod:Pd({matchPatterns:bX,defaultMatchWidth:"any",parsePatterns:$X,defaultParseWidth:"any"})};const _X=wX;var xX={code:"en-US",formatDistance:VZ,formatLong:GZ,formatRelative:KZ,localize:oX,match:_X,options:{weekStartsOn:0,firstWeekContainsDate:1}};const kX=xX;var CX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,EX=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,SX=/^'([^]*?)'?$/,OX=/''/g,TX=/[a-zA-Z]/;function AX(e,t,n){var r,i,o,a,l,c,u,f,p,m,g,v,w,x,A,S,O,E;Pr(2,arguments);var M=String(t),P=ef(),L=(r=(i=n?.locale)!==null&&i!==void 0?i:P.locale)!==null&&r!==void 0?r:kX,U=ms((o=(a=(l=(c=n?.firstWeekContainsDate)!==null&&c!==void 0?c:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&l!==void 0?l:P.firstWeekContainsDate)!==null&&a!==void 0?a:(p=P.locale)===null||p===void 0||(m=p.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Z=ms((g=(v=(w=(x=n?.weekStartsOn)!==null&&x!==void 0?x:n==null||(A=n.locale)===null||A===void 0||(S=A.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&w!==void 0?w:P.weekStartsOn)!==null&&v!==void 0?v:(O=P.locale)===null||O===void 0||(E=O.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&g!==void 0?g:0);if(!(Z>=0&&Z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var ce=mo(e);if(!$Z(ce))throw new RangeError("Invalid time value");var Q=yZ(ce),G=wZ(ce,Q),re={firstWeekContainsDate:U,weekStartsOn:Z,locale:L,_originalDate:ce},K=M.match(EX).map(function(H){var ye=H[0];if(ye==="p"||ye==="P"){var pe=DZ[ye];return pe(H,L.formatLong)}return H}).join("").match(CX).map(function(H){if(H==="''")return"'";var ye=H[0];if(ye==="'")return NX(H);var pe=PZ[ye];if(pe)return!(n!=null&&n.useAdditionalWeekYearTokens)&&zZ(H)&&T7(H,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&LZ(H)&&T7(H,t,String(e)),pe(G,H,L.localize,re);if(ye.match(TX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ye+"`");return H}).join("");return K}function NX(e){var t=e.match(SX);return t?t[1].replace(OX,"'"):e}const A7=e=>({id:String(Math.random()),effectiveDate:AX(new Date,"yyyy-MM-dd").toString(),treatment:e.treatment,dispenseAsWritten:e.dispenseAsWritten,dispenseQuantity:e.dispenseQuantity,dispenseUnit:e.dispenseUnit,daysSupply:e.daysSupply,refillsInput:e.fillsAllowed?e.fillsAllowed-1:0,fillsAllowed:e.fillsAllowed,instructions:e.instructions,notes:e.notes,addToTemplates:!1,catalogId:void 0,isPrivate:e.__typename==="PrescriptionTemplate"?e.isPrivate:!0,name:e.__typename==="PrescriptionTemplate"?e.name:null,externalId:"externalId"in e?e.externalId:void 0}),PX=_('<div class="flex items-start gap-3"></div>'),IX=_('<div class="flex justify-between items-center gap-4"><div class="flex flex-col items-start"></div></div>'),MX=_('<div class="space-y-3"></div>'),N7=_("<button></button>"),DX=ni`
|
|
782
782
|
query TemplatesFromCatalogs {
|
|
783
783
|
catalogs {
|
|
784
784
|
templates {
|
|
@@ -814,7 +814,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
|
-
`,P7=e=>$(Er,{get children(){const t=IX.cloneNode(!0),n=t.firstChild;return R(n,()=>e.LeftChildren),R(t,$($e,{get when(){return e?.RightChildren},get children(){const r=PX.cloneNode(!0);return R(r,()=>e.RightChildren),r}}),null),t}});function RX(e){const t=ot({draftPrescriptions:[],templateIds:[],templateOverrides:{},prescriptionIds:[]},e),[n,r]=te(!0),i=ri();async function o(){r(!0);const a=[];if(t.templateIds.length>0){const{data:l}=await i.apollo.query({query:DX});if(l?.catalogs){const c=l.catalogs.reduce((u,f)=>[...u,...f.templates],[]);t.templateIds.forEach(u=>{const f=c.find(p=>p.id===u);if(!f)return console.error(`Invalid template id ${u}`);if(!f?.treatment||!f?.dispenseQuantity||!f?.dispenseUnit||!f?.fillsAllowed||!f?.instructions)console.error(`Template is missing required prescription details ${u}`);else{const p=t?.templateOverrides?.[f.id],m=p?{...f,...p}:f;a.push(A7(m))}})}}t.prescriptionIds.length>0&&await Promise.allSettled(t.prescriptionIds.map(async l=>{const{data:c}=await i.apollo.query({query:FX,variables:{id:l}}),u=c?.prescription;if(!u)return console.error(`Invalid prescription id ${l}`);a.push(A7(u))})),a.length>0&&e.setDraftPrescriptions(a),r(!1)}return Ht(()=>{t.templateIds.length>0||t.prescriptionIds.length>0?o():r(!1)}),(()=>{const a=MX.cloneNode(!0);return R(a,$($e,{get when(){return n()},get children(){return $(Cn,{get each(){return[...t.templateIds,...t.prescriptionIds]},children:()=>$(P7,{get LeftChildren(){return[$(De,{size:"lg",sampleLoadingText:"Medication 100mg",loading:!0}),$(De,{size:"sm",sampleLoadingText:"Loading notes about the medication",loading:!0})]}})})}}),null),R(a,$($e,{get when(){return!n()&&t.draftPrescriptions.length===0},get children(){return $(k4,{status:"info",children:"Add prescription(s) before sending an order"})}}),null),R(a,$($e,{get when(){return!n()&&t.draftPrescriptions.length>0},get children(){return $(Cn,{get each(){return t.draftPrescriptions},children:l=>$(P7,{get LeftChildren(){return[$(De,{get children(){return l.treatment.name}}),$(De,{color:"gray",size:"sm",get children(){return Tl({dispenseQuantity:l?.dispenseQuantity??void 0,dispenseUnit:l?.dispenseUnit??void 0,fillsAllowed:l?.fillsAllowed??void 0,instructions:l?.instructions??void 0})}})]},get RightChildren(){return[(()=>{const c=N7.cloneNode(!0);return c.$$click=()=>t.handleEdit&&t.handleEdit(l.id),R(c,$(kt,{name:"pencilSquare",size:"sm",class:"text-gray-500 hover:text-amber-500"})),c})(),(()=>{const c=N7.cloneNode(!0);return c.$$click=()=>t.handleDelete&&t.handleDelete(l.id),R(c,$(kt,{name:"trash",size:"sm",class:"text-gray-500 hover:text-red-500"})),c})()]}})})}}),null),a})()}po(["click"]);var gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function LX(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var C4={exports:{}},Fw={exports:{}};(function(e){(function(){var t=this||self;function n(b,C){function D(){}D.prototype=C.prototype,b.Ba=C.prototype,b.prototype=new D,b.prototype.constructor=b,b.Ha=function(q,Y,ue){for(var xe=Array(arguments.length-2),tt=2;tt<arguments.length;tt++)xe[tt-2]=arguments[tt];return C.prototype[Y].apply(q,xe)}}function r(b){var C=[];let D=0;for(var q in b)C[D++]=b[q];return C}function i(b,C){for(this.h=b,this.g={},b=0;b<C.length;b++){var D=C[b];this.g[D.g]=D}}function o(b){return b=r(b.g),b.sort(function(C,D){return C.g-D.g}),b}function a(b,C){switch(this.g=b,this.m=!!C.ga,this.h=C.i,this.u=C.type,this.s=!1,this.h){case u:case f:case p:case m:case g:case c:case l:this.s=!0}this.j=C.defaultValue}var l=1,c=2,u=3,f=4,p=6,m=16,g=18;function v(){this.h={},this.j=this.o().g,this.g=this.m=null}v.prototype.has=function(b){return x(this,b.g)},v.prototype.get=function(b,C){return S(this,b.g,C)},v.prototype.set=function(b,C){P(this,b.g,C)},v.prototype.add=function(b,C){L(this,b.g,C)};function w(b,C){for(var D=o(b.o()),q=0;q<D.length;q++){var Y=D[q],ue=Y.g;if(x(C,ue)){b.g&&delete b.g[Y.g];var xe=Y.h==11||Y.h==10;if(Y.m){Y=E(C,ue);for(var tt=0;tt<Y.length;tt++)L(b,ue,xe?Y[tt].clone():Y[tt])}else Y=A(C,ue),xe?(xe=A(b,ue))?w(xe,Y):P(b,ue,Y.clone()):P(b,ue,Y)}}}v.prototype.clone=function(){var b=new this.constructor;return b!=this&&(b.h={},b.g&&(b.g={}),w(b,this)),b};function x(b,C){return b.h[C]!=null}function A(b,C){var D=b.h[C];if(D==null)return null;if(b.m){if(!(C in b.g)){var q=b.m,Y=b.j[C];if(D!=null)if(Y.m){for(var ue=[],xe=0;xe<D.length;xe++)ue[xe]=q.h(Y,D[xe]);D=ue}else D=q.h(Y,D);return b.g[C]=D}return b.g[C]}return D}function S(b,C,D){var q=A(b,C);return b.j[C].m?q[D||0]:q}function O(b,C){if(x(b,C))b=S(b,C);else e:{if(b=b.j[C],b.j===void 0)if(C=b.u,C===Boolean)b.j=!1;else if(C===Number)b.j=0;else if(C===String)b.j=b.s?"0":"";else{b=new C;break e}b=b.j}return b}function E(b,C){return A(b,C)||[]}function M(b,C){return b.j[C].m?x(b,C)?b.h[C].length:0:x(b,C)?1:0}function P(b,C,D){b.h[C]=D,b.g&&(b.g[C]=D)}function L(b,C,D){b.h[C]||(b.h[C]=[]),b.h[C].push(D),b.g&&delete b.g[C]}function U(b,C){var D=[],q;for(q in C)q!=0&&D.push(new a(q,C[q]));return new i(b,D)}function Z(){}Z.prototype.g=function(b){throw new b.h,Error("Unimplemented")},Z.prototype.h=function(b,C){if(b.h==11||b.h==10)return C instanceof v?C:this.g(b.u.prototype.o(),C);if(b.h==14)return typeof C=="string"&&ce.test(C)&&(b=Number(C),0<b)?b:C;if(!b.s)return C;if(b=b.u,b===String){if(typeof C=="number")return String(C)}else if(b===Number&&typeof C=="string"&&(C==="Infinity"||C==="-Infinity"||C==="NaN"||ce.test(C)))return Number(C);return C};var ce=/^-?[0-9]+$/;function Q(){}n(Q,Z),Q.prototype.g=function(b,C){return b=new b.h,b.m=this,b.h=C,b.g={},b};function G(){}n(G,Q),G.prototype.h=function(b,C){return b.h==8?!!C:Z.prototype.h.apply(this,arguments)},G.prototype.g=function(b,C){return G.Ba.g.call(this,b,C)};function re(b,C){b!=null&&this.g.apply(this,arguments)}re.prototype.h="",re.prototype.set=function(b){this.h=""+b},re.prototype.g=function(b,C,D){if(this.h+=String(b),C!=null)for(let q=1;q<arguments.length;q++)this.h+=arguments[q];return this};function K(b){b.h=""}re.prototype.toString=function(){return this.h};function H(){v.call(this)}n(H,v);var ye=null;function pe(){v.call(this)}n(pe,v);var J=null;function we(){v.call(this)}n(we,v);var ee=null;we.prototype.ia=function(){return S(this,10)},H.prototype.o=function(){var b=ye;return b||(ye=b=U(H,{0:{name:"NumberFormat",na:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,i:9,type:String},2:{name:"format",required:!0,i:9,type:String},3:{name:"leading_digits_pattern",ga:!0,i:9,type:String},4:{name:"national_prefix_formatting_rule",i:9,type:String},6:{name:"national_prefix_optional_when_formatting",i:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",i:9,type:String}})),b},H.o=H.prototype.o,pe.prototype.o=function(){var b=J;return b||(J=b=U(pe,{0:{name:"PhoneNumberDesc",na:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",i:9,type:String},9:{name:"possible_length",ga:!0,i:5,type:Number},10:{name:"possible_length_local_only",ga:!0,i:5,type:Number},6:{name:"example_number",i:9,type:String}})),b},pe.o=pe.prototype.o,we.prototype.o=function(){var b=ee;return b||(ee=b=U(we,{0:{name:"PhoneMetadata",na:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",i:11,type:pe},2:{name:"fixed_line",i:11,type:pe},3:{name:"mobile",i:11,type:pe},4:{name:"toll_free",i:11,type:pe},5:{name:"premium_rate",i:11,type:pe},6:{name:"shared_cost",i:11,type:pe},7:{name:"personal_number",i:11,type:pe},8:{name:"voip",i:11,type:pe},21:{name:"pager",i:11,type:pe},25:{name:"uan",i:11,type:pe},27:{name:"emergency",i:11,type:pe},28:{name:"voicemail",i:11,type:pe},29:{name:"short_code",i:11,type:pe},30:{name:"standard_rate",i:11,type:pe},31:{name:"carrier_specific",i:11,type:pe},33:{name:"sms_services",i:11,type:pe},24:{name:"no_international_dialling",i:11,type:pe},9:{name:"id",required:!0,i:9,type:String},10:{name:"country_code",i:5,type:Number},11:{name:"international_prefix",i:9,type:String},17:{name:"preferred_international_prefix",i:9,type:String},12:{name:"national_prefix",i:9,type:String},13:{name:"preferred_extn_prefix",i:9,type:String},15:{name:"national_prefix_for_parsing",i:9,type:String},16:{name:"national_prefix_transform_rule",i:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",i:8,defaultValue:!1,type:Boolean},19:{name:"number_format",ga:!0,i:11,type:H},20:{name:"intl_number_format",ga:!0,i:11,type:H},22:{name:"main_country_for_code",i:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",i:9,type:String}})),b},we.o=we.prototype.o;function ae(){v.call(this)}n(ae,v);var ne=null;ae.prototype.ia=function(){return S(this,1)};var ze={Ga:0,Fa:1,Ea:5,Da:10,Ca:20};ae.prototype.o=function(){var b=ne;return b||(ne=b=U(ae,{0:{name:"PhoneNumber",na:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,i:5,type:Number},2:{name:"national_number",required:!0,i:4,type:Number},3:{name:"extension",i:9,type:String},4:{name:"italian_leading_zero",i:8,type:Boolean},8:{name:"number_of_leading_zeros",i:5,defaultValue:1,type:Number},5:{name:"raw_input",i:9,type:String},6:{name:"country_code_source",i:14,defaultValue:0,type:ze},7:{name:"preferred_domestic_carrier_code",i:9,type:String}})),b},ae.ctor=ae,ae.ctor.o=ae.prototype.o;var Be={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},rt={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-59]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\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]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|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])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\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]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|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])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:222|[45]\\d)\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-35-7]|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|[67][125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[24-689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}",,,,"20211234"],[,,"(?:4[0-356]|[56]\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|92)\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[0-4]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|2[0-7])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[024-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[25-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|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})|[1-9]\\d{6})|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[02-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]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["10|96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",,,,,,,[10,11],[7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60[124-8][2-9]\\d{6}",,,,"6012345678",,,[10],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0(4(?:[14]4|56)|[579])?",,,,[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|63)\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"59[1-9]\\d{6}|(?:[1-3]\\d|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[02]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|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}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]94\\d{6}|(?:80|9\\d)\\d{7}",,,,,,,[9]],[,,"594(?:[02-49]\\d|1[0-4]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-8])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-489])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-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[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-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[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([3-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"9008\\d{3}|(?:[2-467]\\d\\d|510|862)\\d{4}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"(?:510|6\\d\\d|7(?:0\\d|1[0-8]|25|49))\\d{4}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:44[5-9]|6(?:0[0-7]|1[0-6]|4[0-57-9]|6[0-4]|7[0-8]))|573[0-6]|6(?:26[013-8]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|9(?:29[013-9]|59[0-4]))\\d{4}|(?:4(?:4[01]|6[2358])|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])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|77|9[67])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"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-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"(?:[2-489]\\d|55)\\d{6}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|55)\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2[2-9]|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:0\\d|5[09]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014]|30)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[2-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|66)|222|3[36]3|444|7(?:0[013-9]|[67]\\d)|888|9(?:[069]\\d|3[039]))|9(?:(?:0[09]|[4679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[2359]\\d|7[6-8]|88)|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5[0-4])\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-47-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|45[78]|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[356])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\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\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"596\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"596(?:[03-7]\\d|10|2[7-9]|8[0-39]|9[04-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-2]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-2]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\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]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"657[12]\\d{6}|(?:1(?:2(?:2[1-9]|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]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|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]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\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]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[047]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:70[13-689]|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[024-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|6[89]|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|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[056]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[128])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-24]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1(?:[145]\\d|3[1-5])|2\\d\\d)\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}|(?:708|80\\d)\\d{6}",,,,,,,[6,9]],[,,"(?:4[1-35-7]|5[01])\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[056]|708[45][0-5])\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:3[03]|9\\d))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6222\\d{5}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]9233\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[16]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}",,,,"262161234"],[,,"69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-29])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"800\\d{4}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"8(?:08[01]|95[0-2])\\d{4}|(?:8(?:0[1-7]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:(?:[06-8]\\d|21|90)\\d|5(?:01|[19]0|25|[38]3|[4-7]\\d))\\d{5}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9[1-689]\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[0235689]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[019]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[0-57-9]\\d{8}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:4[046]|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:41[18]|81[1-9])\\d{6}|(?:0[0-57-9]|1[017]|2[02]|[34]0|5[05]|7[0178]|8[078]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[04]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[125-9]|7[13-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[01578]\\d|20|36|4[0-4]|6[0-5]|9[89])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9]|983[29])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9]|983[29])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|87))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:4\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234"],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"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{4})","$1 $2 $3",["4"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\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])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:200[01]|(?:33|50|88|9[0-57-9])\\d\\d)\\d|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]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|63|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[5-79]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function _e(){this.g={}}_e.g=void 0,_e.h=function(){return _e.g?_e.g:_e.g=new _e};var at={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9"},Ue={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":"+","*":"*","#":"#"},Ve={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},ct=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,_t=RegExp("[+\uFF0B]+"),It=RegExp("^[+\uFF0B]+"),Te=RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"),se=RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"),Fe=/[\\\/] *x/,Ze=RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"),mt=/(?:.*?[A-Za-z]){3}.*/,bt=RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"),Yt=RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$");function gt(b){return"([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1,"+b+"})"}function an(){return";ext="+gt("20")+"|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*"+(gt("20")+"#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*")+(gt("9")+"#?|[- ]+")+(gt("6")+"#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*")+(gt("15")+"#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*")+(gt("9")+"#?")}var Un=new RegExp("(?:"+an()+")$","i"),ii=new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:"+an()+")?$","i"),Kl=/(\$\d)/,vo=/^\(?\$1\)?$/;function Ut(b){return 2>b.length?!1:ai(ii,b)}function Vt(b){return ai(mt,b)?yr(b,Ve):yr(b,at)}function Mt(b){var C=Vt(b.toString());K(b),b.g(C)}function Zn(){return Object.keys(rt).filter(function(b){return isNaN(b)})}function ar(){return Object.keys(rt).filter(function(b){return!isNaN(b)}).map(function(b){return parseInt(b,10)})}function $n(){var b=Object.keys(Be);return[...ar(),...b.map(function(C){return parseInt(C,10)})]}function vr(b){return b!=null&&(M(b,9)!=1||E(b,9)[0]!=-1)}function yr(b,C){for(var D=new re,q,Y=b.length,ue=0;ue<Y;++ue)q=b.charAt(ue),q=C[q.toUpperCase()],q!=null&&D.g(q);return D.toString()}function Ir(b){return b.length==0||vo.test(b)}function sr(b){return b!=null&&isNaN(b)&&b.toUpperCase()in rt}function Hr(b,C,D){if(S(C,2)==0&&x(C,5)){var q=O(C,5);if(0<q.length)return q}q=O(C,1);var Y=qi(C);return D==0?Zl(q,0,Y,""):q in Be?(b=Hi(b,q,Wi(q)),C=Ic(C,b,D),Y=Xl(Y,b,D),Zl(q,D,Y,C)):Y}function Hi(b,C,D){return D=="001"?oi(b,""+C):oi(b,D)}function ff(b,C){var D=Vn;if(!sr(C))return Hr(D,b,1);var q=O(b,1),Y=qi(b);if(!(q in Be))return Y;if(q==1){if(C!=null&&Be[1].includes(C.toUpperCase()))return q+" "+Hr(D,b,2)}else if(q==yo(D,C))return Hr(D,b,2);var ue=oi(D,C),xe=O(ue,11);return C="",x(ue,17)?C=O(ue,17):ai(ct,xe)&&(C=xe),D=Hi(D,q,Wi(q)),Y=Xl(Y,D,1),b=Ic(b,D,1),0<C.length?C+" "+q+" "+Y+b:Zl(q,1,Y,b)}function qi(b){if(!x(b,2))return"";var C=""+S(b,2);return x(b,4)&&S(b,4)&&0<O(b,8)?Array(O(b,8)+1).join("0")+C:C}function Zl(b,C,D,q){switch(C){case 0:return"+"+b+D+q;case 1:return"+"+b+" "+D+q;case 3:return"tel:+"+b+"-"+D+q;default:return D+q}}function Xl(b,C,D){e:{C=E(C,20).length==0||D==2?E(C,19):E(C,20);for(var q,Y=C.length,ue=0;ue<Y;++ue){q=C[ue];var xe=M(q,3);if((xe==0||b.search(S(q,3,xe-1))==0)&&(xe=new RegExp(S(q,1)),ai(xe,b))){C=q;break e}}C=null}return C==null||(Y=C,C=O(Y,2),q=new RegExp(S(Y,1)),O(Y,5),Y=O(Y,4),b=D==2&&Y!=null&&0<Y.length?b.replace(q,C.replace(Kl,Y)):b.replace(q,C),D==3&&(b=b.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"),""),b=b.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+","g"),"-"))),D=b,D}function Jl(b,C){var D=Vn;if(!sr(b))return null;C=_s(oi(D,b),C);try{if(x(C,6)){var q=S(C,6);return td(D,q,b)}}catch{}return null}function Ic(b,C,D){return x(b,3)&&S(b,3).length!=0?D==3?";ext="+S(b,3):x(C,13)?S(C,13)+O(b,3):" ext. "+O(b,3):""}function _s(b,C){switch(C){case 4:return S(b,5);case 3:return S(b,4);case 1:return S(b,3);case 0:case 2:return S(b,2);case 5:return S(b,6);case 6:return S(b,8);case 7:return S(b,7);case 8:return S(b,21);case 9:return S(b,25);case 10:return S(b,28);default:return S(b,1)}}function ed(b,C){return lr(b,S(C,1))?lr(b,S(C,5))?4:lr(b,S(C,4))?3:lr(b,S(C,6))?5:lr(b,S(C,8))?6:lr(b,S(C,7))?7:lr(b,S(C,21))?8:lr(b,S(C,25))?9:lr(b,S(C,28))?10:lr(b,S(C,2))?S(C,18)||lr(b,S(C,3))?2:0:!S(C,18)&&lr(b,S(C,3))?1:-1:-1}function oi(b,C){if(C==null)return null;C=C.toUpperCase();var D=b.g[C];if(D==null){if(D=rt[C],D==null)return null;D=new G().g(we.o(),D),b.g[C]=D}return D}function lr(b,C){var D=b.length;return 0<M(C,9)&&E(C,9).indexOf(D)==-1?!1:ai(O(C,2),b)}function Mc(b){var C=Vn,D=xs(C,b),q=O(b,1),Y=Hi(C,q,D);return Y==null||D!="001"&&q!=yo(C,D)?Y=!1:(b=qi(b),Y=ed(b,Y)!=-1),Y}function xs(b,C){if(C==null)return null;var D=O(C,1);if(D=Be[D],D==null)b=null;else if(D.length==1)b=D[0];else e:{C=qi(C);for(var q,Y=D.length,ue=0;ue<Y;ue++){q=D[ue];var xe=oi(b,q);if(x(xe,23)){if(C.search(S(xe,23))==0){b=q;break e}}else if(ed(C,xe)!=-1){b=q;break e}}b=null}return b}function Wi(b){return b=Be[b],b==null?"ZZ":b[0]}function yo(b,C){if(b=oi(b,C),b==null)throw Error("Invalid region code: "+C);return O(b,10)}function Dc(b){return b=Fc(b),b==0||b==4}function Uo(b,C,D,q){var Y=_s(D,q),ue=M(Y,9)==0?E(S(D,1),9):E(Y,9);if(Y=E(Y,10),q==2)if(vr(_s(D,0)))b=_s(D,1),vr(b)&&(ue=ue.concat(M(b,9)==0?E(S(D,1),9):E(b,9)),ue.sort(),Y.length==0?Y=E(b,10):(Y=Y.concat(E(b,10)),Y.sort()));else return Uo(b,C,D,1);return ue[0]==-1?5:(C=C.length,-1<Y.indexOf(C)?4:(D=ue[0],D==C?0:D>C?2:ue[ue.length-1]<C?3:-1<ue.indexOf(C,1)?0:5))}function Fc(b){var C=Vn,D=qi(b);return b=O(b,1),b in Be?(b=Hi(C,b,Wi(b)),Uo(C,D,b,-1)):1}function Rc(b,C){if(b=b.toString(),b.length==0||b.charAt(0)=="0")return 0;for(var D,q=b.length,Y=1;3>=Y&&Y<=q;++Y)if(D=parseInt(b.substring(0,Y),10),D in Be)return C.g(b.substring(Y)),D;return 0}function Lc(b,C,D,q,Y){if(C.length==0)return 0;C=new re(C);var ue;D!=null&&(ue=S(D,11)),ue==null&&(ue="NonMatch");var xe=C.toString();if(xe.length==0)ue=20;else if(It.test(xe))xe=xe.replace(It,""),K(C),C.g(Vt(xe)),ue=1;else{if(xe=new RegExp(ue),Mt(C),ue=C.toString(),ue.search(xe)==0){xe=ue.match(xe)[0].length;var tt=ue.substring(xe).match(Te);tt&&tt[1]!=null&&0<tt[1].length&&yr(tt[1],at)=="0"?ue=!1:(K(C),C.g(ue.substring(xe)),ue=!0)}else ue=!1;ue=ue?5:20}if(ue!=20){if(2>=C.h.length)throw Error("Phone number too short after IDD");if(b=Rc(C,q),b!=0)return P(Y,1,b),b;throw Error("Invalid country calling code")}return D!=null&&(ue=O(D,10),xe=""+ue,tt=C.toString(),tt.lastIndexOf(xe,0)==0&&(xe=new re(tt.substring(xe.length)),tt=S(D,1),tt=new RegExp(O(tt,2)),zc(xe,D,null),xe=xe.toString(),!ai(tt,C.toString())&&ai(tt,xe)||Uo(b,C.toString(),D,-1)==3))?(q.g(xe),P(Y,1,ue),ue):(P(Y,1,0),0)}function zc(b,C,D){var q=b.toString(),Y=q.length,ue=S(C,15);if(Y!=0&&ue!=null&&ue.length!=0){var xe=new RegExp("^(?:"+ue+")");if(Y=xe.exec(q)){ue=new RegExp(O(S(C,1),2));var tt=ai(ue,q),hn=Y.length-1;C=S(C,16),C==null||C.length==0||Y[hn]==null||Y[hn].length==0?(!tt||ai(ue,q.substring(Y[0].length)))&&(D!=null&&0<hn&&Y[hn]!=null&&D.g(Y[1]),b.set(q.substring(Y[0].length))):(q=q.replace(xe,C),(!tt||ai(ue,q))&&(D!=null&&0<hn&&D.g(Y[1]),b.set(q)))}}}function td(b,C,D){if(C==null)throw Error("The string supplied did not seem to be a phone number");if(250<C.length)throw Error("The string supplied is too long to be a phone number");var q=new re,Y=C.indexOf(";phone-context=");if(Y===-1)Y=null;else if(Y+=15,Y>=C.length)Y="";else{var ue=C.indexOf(";",Y);Y=ue!==-1?C.substring(Y,ue):C.substring(Y)}var xe=Y;if(xe==null?ue=!0:xe.length===0?ue=!1:(ue=bt.exec(xe),xe=Yt.exec(xe),ue=ue!==null||xe!==null),!ue||(Y!=null?(Y.charAt(0)==="+"&&q.g(Y),Y=C.indexOf("tel:"),q.g(C.substring(0<=Y?Y+4:0,C.indexOf(";phone-context=")))):(Y=q.g,C=C??"",ue=C.search(se),0<=ue?(C=C.substring(ue),C=C.replace(Ze,""),ue=C.search(Fe),0<=ue&&(C=C.substring(0,ue))):C="",Y.call(q,C)),C=q.toString(),Y=C.indexOf(";isub="),0<Y&&(K(q),q.g(C.substring(0,Y))),!Ut(q.toString())))throw Error("The string supplied did not seem to be a phone number");if(C=q.toString(),!(sr(D)||C!=null&&0<C.length&&It.test(C)))throw Error("Invalid country calling code");C=new ae;e:{if(Y=q.toString(),ue=Y.search(Un),0<=ue&&Ut(Y.substring(0,ue))){xe=Y.match(Un);for(var tt=xe.length,hn=1;hn<tt;++hn)if(xe[hn]!=null&&0<xe[hn].length){K(q),q.g(Y.substring(0,ue)),Y=xe[hn];break e}}Y=""}0<Y.length&&P(C,3,Y),ue=oi(b,D),Y=new re,xe=0,tt=q.toString();try{xe=Lc(b,tt,ue,Y,C)}catch($o){if($o.message=="Invalid country calling code"&&It.test(tt)){if(tt=tt.replace(It,""),xe=Lc(b,tt,ue,Y,C),xe==0)throw $o}else throw $o}if(xe!=0?(q=Wi(xe),q!=D&&(ue=Hi(b,xe,q))):(Mt(q),Y.g(q.toString()),D!=null&&(xe=O(ue,10),P(C,1,xe))),2>Y.h.length||(ue!=null&&(D=new re(Y.toString()),zc(D,ue,new re),b=Uo(b,D.toString(),ue,-1),b!=2&&b!=4&&b!=5&&(Y=D)),b=Y.toString(),D=b.length,2>D))throw Error("The string supplied is too short to be a phone number");if(17<D)throw Error("The string supplied is too long to be a phone number");if(1<b.length&&b.charAt(0)=="0"){for(P(C,4,!0),D=1;D<b.length-1&&b.charAt(D)=="0";)D++;D!=1&&P(C,8,D)}return P(C,2,parseInt(b,10)),C}_e.prototype.ja=function(b){var C=oi(this,xs(this,b));return C==null?!0:(b=qi(b),!lr(b,S(C,24)))};function ai(b,C){return!!((b=typeof b=="string"?C.match("^(?:"+b+")$"):C.match(b))&&b[0].length==C.length)}function hf(b){this.ka=RegExp("\u2008"),this.la="",this.$=new re,this.da="",this.u=new re,this.ba=new re,this.v=!0,this.ea=this.ca=this.oa=!1,this.pa=_e.h(),this.aa=0,this.h=new re,this.ha=!1,this.s="",this.g=new re,this.j=[],this.ma=b,this.wa=this.m=nd(this,this.ma)}var jc=new we;P(jc,11,"NA");var Uc=RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"),Vc=/[- ]/;function nd(b,C){return C=sr(C)?yo(b.pa,C):0,b=oi(b.pa,Wi(C)),b??jc}function Bc(b){for(var C=b.j.length,D=0;D<C;++D){var q=b.j[D],Y=O(q,1);if(b.da==Y)return!1;var ue=b,xe=q,tt=O(xe,1);K(ue.$);var hn=ue;xe=O(xe,2);var $o="999999999999999".match(tt)[0];if($o.length<hn.g.h.length?hn="":(hn=$o.replace(new RegExp(tt,"g"),xe),hn=hn.replace(RegExp("9","g"),"\u2008")),0<hn.length?(ue.$.g(hn),ue=!0):ue=!1,ue)return b.da=Y,b.ha=Vc.test(S(q,4)),b.aa=0,!0}return b.v=!1}function Hc(b,C){for(var D=[],q=C.length-3,Y=b.j.length,ue=0;ue<Y;++ue){var xe=b.j[ue];M(xe,3)==0?D.push(b.j[ue]):(xe=S(xe,3,Math.min(q,M(xe,3)-1)),C.search(xe)==0&&D.push(b.j[ue]))}b.j=D}function pf(b,C){b.u.g(C);var D=C;if(Te.test(D)||b.u.h.length==1&&_t.test(D)?(C=="+"?(D=C,b.ba.g(C)):(D=at[C],b.ba.g(D),b.g.g(D)),C=D):(b.v=!1,b.oa=!0),!b.v){if(!b.oa){if(Yc(b)){if(rd(b))return qc(b)}else if(0<b.s.length&&(C=b.g.toString(),K(b.g),b.g.g(b.s),b.g.g(C),C=b.h.toString(),D=C.lastIndexOf(b.s),K(b.h),b.h.g(C.substring(0,D))),b.s!=Gc(b))return b.h.g(" "),qc(b)}return b.u.toString()}switch(b.ba.h.length){case 0:case 1:case 2:return b.u.toString();case 3:if(Yc(b))b.ea=!0;else return b.s=Gc(b),Vo(b);default:return b.ea?(rd(b)&&(b.ea=!1),b.h.toString()+b.g.toString()):0<b.j.length?(C=id(b,C),D=Ea(b),0<D.length?D:(Hc(b,b.g.toString()),Bc(b)?Wc(b):b.v?ks(b,C):b.u.toString())):Vo(b)}}function qc(b){return b.v=!0,b.ea=!1,b.j=[],b.aa=0,K(b.$),b.da="",Vo(b)}function Ea(b){for(var C=b.g.toString(),D=b.j.length,q=0;q<D;++q){var Y=b.j[q],ue=O(Y,1);if(new RegExp("^(?:"+ue+")$").test(C)&&(b.ha=Vc.test(S(Y,4)),Y=C.replace(new RegExp(ue,"g"),S(Y,2)),Y=ks(b,Y),yr(Y,Ue)==b.ba))return Y}return""}function ks(b,C){var D=b.h.h.length;return b.ha&&0<D&&b.h.toString().charAt(D-1)!=" "?b.h+" "+C:b.h+C}function Vo(b){var C=b.g.toString();if(3<=C.length){for(var D=b.ca&&b.s.length==0&&0<M(b.m,20)?E(b.m,20):E(b.m,19),q=D.length,Y=0;Y<q;++Y){var ue=D[Y];0<b.s.length&&Ir(O(ue,4))&&!S(ue,6)&&!x(ue,5)||(b.s.length!=0||b.ca||Ir(O(ue,4))||S(ue,6))&&Uc.test(O(ue,2))&&b.j.push(ue)}return Hc(b,C),C=Ea(b),0<C.length?C:Bc(b)?Wc(b):b.u.toString()}return ks(b,C)}function Wc(b){var C=b.g.toString(),D=C.length;if(0<D){for(var q="",Y=0;Y<D;Y++)q=id(b,C.charAt(Y));return b.v?ks(b,q):b.u.toString()}return b.h.toString()}function Gc(b){var C=b.g.toString(),D=0;if(b.m.ia()!=1)var q=!1;else q=b.g.toString(),q=q.charAt(0)=="1"&&q.charAt(1)!="0"&&q.charAt(1)!="1";return q?(D=1,b.h.g("1").g(" "),b.ca=!0):x(b.m,15)&&(q=new RegExp("^(?:"+S(b.m,15)+")"),q=C.match(q),q!=null&&q[0]!=null&&0<q[0].length&&(b.ca=!0,D=q[0].length,b.h.g(C.substring(0,D)))),K(b.g),b.g.g(C.substring(D)),C.substring(0,D)}function Yc(b){var C=b.ba.toString(),D=new RegExp("^(?:\\+|"+S(b.m,11)+")");return D=C.match(D),D!=null&&D[0]!=null&&0<D[0].length?(b.ca=!0,D=D[0].length,K(b.g),b.g.g(C.substring(D)),K(b.h),b.h.g(C.substring(0,D)),C.charAt(0)!="+"&&b.h.g(" "),!0):!1}function rd(b){if(b.g.h.length==0)return!1;var C=new re,D=Rc(b.g,C);return D==0?!1:(K(b.g),b.g.g(C.toString()),C=Wi(D),C=="001"?b.m=oi(b.pa,""+D):C!=b.ma&&(b.m=nd(b,C)),b.h.g(""+D).g(" "),b.s="",!0)}function id(b,C){var D=b.$.toString();if(0<=D.substring(b.aa).search(b.ka)){var q=D.search(b.ka);return C=D.replace(b.ka,C),K(b.$),b.$.g(C),b.aa=q,C.substring(0,b.aa+1)}return b.j.length==1&&(b.v=!1),b.da="",b.u.toString()}var Vn=_e.h();function mf(b){var C=Vn,D=xs(C,b);switch(C=Hi(C,O(b,1),D),C==null?b=-1:(b=qi(b),b=ed(b,C)),b){case 0:return"fixed-line";case 2:return"fixed-line-or-mobile";case 1:return"mobile";case 8:return"pager";case 7:return"personal-number";case 4:return"premium-rate";case 5:return"shared-cost";case 3:return"toll-free";case 9:return"uan";case 6:return"voip";default:case-1:return"unknown"}}function gf(b){switch(b){case"fixed-line":return 0;case"fixed-line-or-mobile":return 2;case"mobile":return 1;case"pager":return 8;case"personal-number":return 7;case"premium-rate":return 4;case"shared-cost":return 5;case"toll-free":return 3;case"uan":return 9;case"voip":return 6;default:case"unknown":return-1}}function Qc(b){try{switch(Fc(b)){case 0:return"is-possible";case 1:return"invalid-country-code";case 3:return"too-long";case 2:return"too-short"}if(Dc(b))return"is-possible"}catch{}return"unknown"}function vf(b,C){if(b.charAt(0)!=="+"&&b.slice(0,2)!=="00")return{parsed:D,fa:q};try{var D=td(Vn,b,C)}catch{}if(D){var q=xs(Vn,D);if(q!=null&&q!=="ZZ")return{parsed:D,fa:q}}for(C=1;4>C;++C){if(q=void 0,b.length<C+1)return{parsed:D,fa:q};if(q=Wi(b.substring(1,C+1)),q!=="ZZ")return{fa:q}}return{parsed:D,fa:void 0}}var Cs;e:{try{Cs=new WeakMap;break e}catch{}Cs=void 0}var Sa=Cs;function Qe(b,C){if(!(this instanceof Qe))return new Qe(b,C);var D=C?.regionCode;if(typeof b=="string")var q=!1;else try{Mc(b),q=!0}catch{q=!1}let Y;if(!q&&typeof b!="string")throw Error("Invalid phone number, expected a string");if(!q&&typeof C!="object"&&typeof C<"u")throw Error(`Invalid options, expected object, got ${typeof C}. This may be because of not yet upgraded code.`);if(!q&&D!=null&&typeof D!="string")throw Error(`Invalid region code, expected a string, got ${typeof D} ${D}`);if(q||(b=b.trim(),D&&b.charAt(0)==="+"&&(D=null),D&&b.charAt(0)!=="+"&&b.slice(0,2)!=="00"||({fa:D=null,parsed:Y}=vf(b,D))),this.g={number:{},regionCode:D,valid:!1,possible:!1},Sa&&Sa.set(this.g,this),q)this.l=b;else{if(this.l=null,this.g.number.input=b,!D){this.g.possibility="invalid-country-code";return}if(Bo(D)===0){this.g.possibility="invalid-country-code";return}try{this.l=Y||td(Vn,b,D)}catch{this.g.possibility=Qc(b);return}}this.g.number.international=Hr(Vn,this.l,1),this.g.number.national=Hr(Vn,this.l,2),this.g.number.e164=Hr(Vn,this.l,0),this.g.number.rfc3966=Hr(Vn,this.l,3),this.g.number.significant=qi(this.l),this.g.canBeInternationallyDialled=Vn.ja(this.l),this.g.valid=Mc(this.l),this.g.possible=Dc(this.l),this.g.possibility=Qc(this.l),!this.g.valid&&this.g.possible&&(this.g.possibility="invalid",this.g.possible=!1),this.g.type=mf(this.l),this.g.typeIsMobile=this.sa(),this.g.typeIsFixedLine=this.ra(),this.g.countryCode=sr(D)?yo(Vn,D):0}var bo=["PhoneNumber$$module$src$index"],si=t;bo[0]in si||typeof si.execScript>"u"||si.execScript("var "+bo[0]);for(var Gi;bo.length&&(Gi=bo.shift());)bo.length||Qe===void 0?si[Gi]&&si[Gi]!==Object.prototype[Gi]?si=si[Gi]:si=si[Gi]={}:si[Gi]=Qe;function Bo(b){return sr(b)?yo(Vn,b):0}Qe.getCountryCodeForRegionCode=Bo,Qe.getRegionCodeForCountryCode=function(b){return Wi(b)};function od(b){var C={};return b.filter(D=>C.hasOwnProperty(D)?!1:(C[D]=1,!0))}Qe.getSupportedRegionCodes=function(){return od(Zn())},Qe.getSupportedCallingCodes=function(){return od($n())},Qe.getExample=function(b,C){var D;return C?D=Jl(b,gf(C)):D=Jl(b,0),new Qe(D,b).toJSON()},Qe.getAsYouType=function(b){return new Bn(b)},Qe.getNumberFrom=function(b,C){try{e:{if(Sa){var D=Sa.get(b);if(D){var q=D;break e}}let Y;q=new Qe(b==null||(Y=b.number)==null?void 0:Y.e164,{})}return{valid:!0,number:ff(q.l,C)}}catch(Y){return{valid:!1,error:Y}}},Qe.prototype.toJSON=function(){return this.g},Qe.prototype.toJSON=Qe.prototype.toJSON,Qe.prototype.ja=function(){return this.g.canBeInternationallyDialled},Qe.prototype.canBeInternationallyDialled=Qe.prototype.ja,Qe.prototype.ya=function(){return this.g.valid},Qe.prototype.isValid=Qe.prototype.ya,Qe.prototype.xa=function(){return this.g.possible},Qe.prototype.isPossible=Qe.prototype.xa,Qe.prototype.getType=function(){return this.g.type},Qe.prototype.getType=Qe.prototype.getType,Qe.prototype.sa=function(){return this.g.type==="mobile"||this.g.type==="fixed-line-or-mobile"},Qe.prototype.isMobile=Qe.prototype.sa,Qe.prototype.ra=function(){return this.g.type==="fixed-line"||this.g.type==="fixed-line-or-mobile"},Qe.prototype.isFixedLine=Qe.prototype.ra,Qe.prototype.ta=function(b){return this.g.number[b??"e164"]},Qe.prototype.getNumber=Qe.prototype.ta,Qe.prototype.va=function(){return this.g.regionCode},Qe.prototype.getRegionCode=Qe.prototype.va,Qe.prototype.ia=function(){return Bo(this.g.regionCode)},Qe.prototype.getCountryCode=Qe.prototype.ia;function Bn(b){this.j=b,this.h=new hf(b),this.l=this.g=""}Bn.prototype.qa=function(b){this.g+=b;var C=this.h;return C.la=pf(C,b),this.l=C.la},Bn.prototype.addChar=Bn.prototype.qa,Bn.prototype.za=function(){return this.l},Bn.prototype.number=Bn.prototype.za,Bn.prototype.Aa=function(){return this.g===""?this.l:this.reset(this.g.slice(0,this.g.length-1))},Bn.prototype.removeChar=Bn.prototype.Aa,Bn.prototype.reset=function(b){var C=this.h;if(C.la="",K(C.u),K(C.ba),K(C.$),C.aa=0,C.da="",K(C.h),C.s="",K(C.g),C.v=!0,C.oa=!1,C.ca=!1,C.ea=!1,C.j=[],C.ha=!1,C.m!=C.wa&&(C.m=nd(C,C.ma)),this.l=this.g="",b){C=0;for(var D=b.length;C<D;++C)this.qa(b.charAt(C))}return this.l},Bn.prototype.reset=Bn.prototype.reset,Bn.prototype.ua=function(){return new Qe(this.l,{regionCode:this.j}).toJSON()},Bn.prototype.getPhoneNumber=Bn.prototype.ua}).call(e.exports||typeof globalThis<"u"&&globalThis||typeof gl<"u"&&gl||typeof window<"u"&&window||typeof self<"u"&&self||gl)})(Fw);var zX=Fw.exports;C4.exports;(function(e){const t="PhoneNumber$$module$src$index";e.exports=zX[t]||(typeof globalThis<"u"&&globalThis||typeof gl<"u"&&gl||typeof window<"u"&&window||typeof self<"u"&&self||gl)[t],Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.parsePhoneNumber=(...n)=>{try{const r=e.exports(...n).toJSON();return!r.valid&&!r.possible&&(r.possible=!1,r.possibility||(r.possibility="invalid")),r}catch(r){return{valid:!1,possible:!1,possibility:"invalid",error:r}}},e.exports.getCountryCodeForRegionCode=e.exports.getCountryCodeForRegionCode,e.exports.getRegionCodeForCountryCode=e.exports.getRegionCodeForCountryCode,e.exports.getSupportedCallingCodes=e.exports.getSupportedCallingCodes,e.exports.getSupportedRegionCodes=e.exports.getSupportedRegionCodes,e.exports.getExample=e.exports.getExample,e.exports.getAsYouType=e.exports.getAsYouType,e.exports.getNumberFrom=e.exports.getNumberFrom})(C4);var jX=C4.exports,UX=LX(jX);const VX=(...e)=>{try{const t=UX(...e).toJSON();return!t.valid&&!t.possible&&(t.possible=!1,t.possibility||(t.possibility="invalid")),t}catch(t){return{valid:!1,possible:!1,possibility:"invalid",error:t}}},BX=_('<tr><td class="align-top py-1 w-20"></td><td class="align-top py-1"></td></tr>'),HX=_('<div class="flex items-center justify-between"></div>'),n5=_("<div></div>"),qX=_('<div class="pt-4" data-dd-privacy="mask"><div class="pt-4 sm:grid sm:grid-cols-2 sm:gap-2"><table class="table-auto"><tbody></tbody></table><table class="table-auto"><tbody></tbody></table></div></div>'),WX=_("<div>N/A</div>"),GX=ni`
|
|
817
|
+
`,P7=e=>$(Er,{get children(){const t=IX.cloneNode(!0),n=t.firstChild;return R(n,()=>e.LeftChildren),R(t,$($e,{get when(){return e?.RightChildren},get children(){const r=PX.cloneNode(!0);return R(r,()=>e.RightChildren),r}}),null),t}});function RX(e){const t=ot({draftPrescriptions:[],templateIds:[],templateOverrides:{},prescriptionIds:[]},e),[n,r]=te(!0),i=ri();async function o(){r(!0);const a=[];if(t.templateIds.length>0){const{data:l}=await i.apollo.query({query:DX});if(l?.catalogs){const c=l.catalogs.reduce((u,f)=>[...u,...f.templates],[]);t.templateIds.forEach(u=>{const f=c.find(p=>p.id===u);if(!f)return console.error(`Invalid template id ${u}`);if(!f?.treatment||!f?.dispenseQuantity||!f?.dispenseUnit||!f?.fillsAllowed||!f?.instructions)console.error(`Template is missing required prescription details ${u}`);else{const p=t?.templateOverrides?.[f.id],m=p?{...f,...p}:f;a.push(A7(m))}})}}t.prescriptionIds.length>0&&await Promise.allSettled(t.prescriptionIds.map(async l=>{const{data:c}=await i.apollo.query({query:FX,variables:{id:l}}),u=c?.prescription;if(!u)return console.error(`Invalid prescription id ${l}`);a.push(A7(u))})),a.length>0&&e.setDraftPrescriptions(a),r(!1)}return Ht(()=>{t.templateIds.length>0||t.prescriptionIds.length>0?o():r(!1)}),(()=>{const a=MX.cloneNode(!0);return R(a,$($e,{get when(){return n()},get children(){return $(Cn,{get each(){return[...t.templateIds,...t.prescriptionIds]},children:()=>$(P7,{get LeftChildren(){return[$(De,{size:"lg",sampleLoadingText:"Medication 100mg",loading:!0}),$(De,{size:"sm",sampleLoadingText:"Loading notes about the medication",loading:!0})]}})})}}),null),R(a,$($e,{get when(){return!n()&&t.draftPrescriptions.length===0},get children(){return $(k4,{status:"info",children:"Add prescription(s) before sending an order"})}}),null),R(a,$($e,{get when(){return!n()&&t.draftPrescriptions.length>0},get children(){return $(Cn,{get each(){return t.draftPrescriptions},children:l=>$(P7,{get LeftChildren(){return[$(De,{get children(){return l.treatment.name}}),$(De,{color:"gray",size:"sm",get children(){return Tl({dispenseQuantity:l?.dispenseQuantity??void 0,dispenseUnit:l?.dispenseUnit??void 0,fillsAllowed:l?.fillsAllowed??void 0,instructions:l?.instructions??void 0})}})]},get RightChildren(){return[(()=>{const c=N7.cloneNode(!0);return c.$$click=()=>t.handleEdit&&t.handleEdit(l.id),R(c,$(kt,{name:"pencilSquare",size:"sm",class:"text-gray-500 hover:text-amber-500"})),c})(),(()=>{const c=N7.cloneNode(!0);return c.$$click=()=>t.handleDelete&&t.handleDelete(l.id),R(c,$(kt,{name:"trash",size:"sm",class:"text-gray-500 hover:text-red-500"})),c})()]}})})}}),null),a})()}po(["click"]);var gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function LX(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var C4={exports:{}},Fw={exports:{}};(function(e){(function(){var t=this||self;function n(b,C){function D(){}D.prototype=C.prototype,b.Ba=C.prototype,b.prototype=new D,b.prototype.constructor=b,b.Ha=function(q,Y,ue){for(var xe=Array(arguments.length-2),tt=2;tt<arguments.length;tt++)xe[tt-2]=arguments[tt];return C.prototype[Y].apply(q,xe)}}function r(b){var C=[];let D=0;for(var q in b)C[D++]=b[q];return C}function i(b,C){for(this.h=b,this.g={},b=0;b<C.length;b++){var D=C[b];this.g[D.g]=D}}function o(b){return b=r(b.g),b.sort(function(C,D){return C.g-D.g}),b}function a(b,C){switch(this.g=b,this.m=!!C.ga,this.h=C.i,this.u=C.type,this.s=!1,this.h){case u:case f:case p:case m:case g:case c:case l:this.s=!0}this.j=C.defaultValue}var l=1,c=2,u=3,f=4,p=6,m=16,g=18;function v(){this.h={},this.j=this.o().g,this.g=this.m=null}v.prototype.has=function(b){return x(this,b.g)},v.prototype.get=function(b,C){return S(this,b.g,C)},v.prototype.set=function(b,C){P(this,b.g,C)},v.prototype.add=function(b,C){L(this,b.g,C)};function w(b,C){for(var D=o(b.o()),q=0;q<D.length;q++){var Y=D[q],ue=Y.g;if(x(C,ue)){b.g&&delete b.g[Y.g];var xe=Y.h==11||Y.h==10;if(Y.m){Y=E(C,ue);for(var tt=0;tt<Y.length;tt++)L(b,ue,xe?Y[tt].clone():Y[tt])}else Y=A(C,ue),xe?(xe=A(b,ue))?w(xe,Y):P(b,ue,Y.clone()):P(b,ue,Y)}}}v.prototype.clone=function(){var b=new this.constructor;return b!=this&&(b.h={},b.g&&(b.g={}),w(b,this)),b};function x(b,C){return b.h[C]!=null}function A(b,C){var D=b.h[C];if(D==null)return null;if(b.m){if(!(C in b.g)){var q=b.m,Y=b.j[C];if(D!=null)if(Y.m){for(var ue=[],xe=0;xe<D.length;xe++)ue[xe]=q.h(Y,D[xe]);D=ue}else D=q.h(Y,D);return b.g[C]=D}return b.g[C]}return D}function S(b,C,D){var q=A(b,C);return b.j[C].m?q[D||0]:q}function O(b,C){if(x(b,C))b=S(b,C);else e:{if(b=b.j[C],b.j===void 0)if(C=b.u,C===Boolean)b.j=!1;else if(C===Number)b.j=0;else if(C===String)b.j=b.s?"0":"";else{b=new C;break e}b=b.j}return b}function E(b,C){return A(b,C)||[]}function M(b,C){return b.j[C].m?x(b,C)?b.h[C].length:0:x(b,C)?1:0}function P(b,C,D){b.h[C]=D,b.g&&(b.g[C]=D)}function L(b,C,D){b.h[C]||(b.h[C]=[]),b.h[C].push(D),b.g&&delete b.g[C]}function U(b,C){var D=[],q;for(q in C)q!=0&&D.push(new a(q,C[q]));return new i(b,D)}function Z(){}Z.prototype.g=function(b){throw new b.h,Error("Unimplemented")},Z.prototype.h=function(b,C){if(b.h==11||b.h==10)return C instanceof v?C:this.g(b.u.prototype.o(),C);if(b.h==14)return typeof C=="string"&&ce.test(C)&&(b=Number(C),0<b)?b:C;if(!b.s)return C;if(b=b.u,b===String){if(typeof C=="number")return String(C)}else if(b===Number&&typeof C=="string"&&(C==="Infinity"||C==="-Infinity"||C==="NaN"||ce.test(C)))return Number(C);return C};var ce=/^-?[0-9]+$/;function Q(){}n(Q,Z),Q.prototype.g=function(b,C){return b=new b.h,b.m=this,b.h=C,b.g={},b};function G(){}n(G,Q),G.prototype.h=function(b,C){return b.h==8?!!C:Z.prototype.h.apply(this,arguments)},G.prototype.g=function(b,C){return G.Ba.g.call(this,b,C)};function re(b,C){b!=null&&this.g.apply(this,arguments)}re.prototype.h="",re.prototype.set=function(b){this.h=""+b},re.prototype.g=function(b,C,D){if(this.h+=String(b),C!=null)for(let q=1;q<arguments.length;q++)this.h+=arguments[q];return this};function K(b){b.h=""}re.prototype.toString=function(){return this.h};function H(){v.call(this)}n(H,v);var ye=null;function pe(){v.call(this)}n(pe,v);var ee=null;function we(){v.call(this)}n(we,v);var X=null;we.prototype.ia=function(){return S(this,10)},H.prototype.o=function(){var b=ye;return b||(ye=b=U(H,{0:{name:"NumberFormat",na:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,i:9,type:String},2:{name:"format",required:!0,i:9,type:String},3:{name:"leading_digits_pattern",ga:!0,i:9,type:String},4:{name:"national_prefix_formatting_rule",i:9,type:String},6:{name:"national_prefix_optional_when_formatting",i:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",i:9,type:String}})),b},H.o=H.prototype.o,pe.prototype.o=function(){var b=ee;return b||(ee=b=U(pe,{0:{name:"PhoneNumberDesc",na:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",i:9,type:String},9:{name:"possible_length",ga:!0,i:5,type:Number},10:{name:"possible_length_local_only",ga:!0,i:5,type:Number},6:{name:"example_number",i:9,type:String}})),b},pe.o=pe.prototype.o,we.prototype.o=function(){var b=X;return b||(X=b=U(we,{0:{name:"PhoneMetadata",na:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",i:11,type:pe},2:{name:"fixed_line",i:11,type:pe},3:{name:"mobile",i:11,type:pe},4:{name:"toll_free",i:11,type:pe},5:{name:"premium_rate",i:11,type:pe},6:{name:"shared_cost",i:11,type:pe},7:{name:"personal_number",i:11,type:pe},8:{name:"voip",i:11,type:pe},21:{name:"pager",i:11,type:pe},25:{name:"uan",i:11,type:pe},27:{name:"emergency",i:11,type:pe},28:{name:"voicemail",i:11,type:pe},29:{name:"short_code",i:11,type:pe},30:{name:"standard_rate",i:11,type:pe},31:{name:"carrier_specific",i:11,type:pe},33:{name:"sms_services",i:11,type:pe},24:{name:"no_international_dialling",i:11,type:pe},9:{name:"id",required:!0,i:9,type:String},10:{name:"country_code",i:5,type:Number},11:{name:"international_prefix",i:9,type:String},17:{name:"preferred_international_prefix",i:9,type:String},12:{name:"national_prefix",i:9,type:String},13:{name:"preferred_extn_prefix",i:9,type:String},15:{name:"national_prefix_for_parsing",i:9,type:String},16:{name:"national_prefix_transform_rule",i:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",i:8,defaultValue:!1,type:Boolean},19:{name:"number_format",ga:!0,i:11,type:H},20:{name:"intl_number_format",ga:!0,i:11,type:H},22:{name:"main_country_for_code",i:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",i:9,type:String}})),b},we.o=we.prototype.o;function ae(){v.call(this)}n(ae,v);var ne=null;ae.prototype.ia=function(){return S(this,1)};var ze={Ga:0,Fa:1,Ea:5,Da:10,Ca:20};ae.prototype.o=function(){var b=ne;return b||(ne=b=U(ae,{0:{name:"PhoneNumber",na:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,i:5,type:Number},2:{name:"national_number",required:!0,i:4,type:Number},3:{name:"extension",i:9,type:String},4:{name:"italian_leading_zero",i:8,type:Boolean},8:{name:"number_of_leading_zeros",i:5,defaultValue:1,type:Number},5:{name:"raw_input",i:9,type:String},6:{name:"country_code_source",i:14,defaultValue:0,type:ze},7:{name:"preferred_domestic_carrier_code",i:9,type:String}})),b},ae.ctor=ae,ae.ctor.o=ae.prototype.o;var Be={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},rt={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-59]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\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]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|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])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\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]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|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])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:222|[45]\\d)\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-35-7]|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|[67][125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[24-689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}",,,,"20211234"],[,,"(?:4[0-356]|[56]\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|92)\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[0-4]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|2[0-7])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[024-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[25-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|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})|[1-9]\\d{6})|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[02-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]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["10|96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",,,,,,,[10,11],[7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60[124-8][2-9]\\d{6}",,,,"6012345678",,,[10],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0(4(?:[14]4|56)|[579])?",,,,[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|63)\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"59[1-9]\\d{6}|(?:[1-3]\\d|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[02]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|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}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]94\\d{6}|(?:80|9\\d)\\d{7}",,,,,,,[9]],[,,"594(?:[02-49]\\d|1[0-4]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-8])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-489])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-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[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-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[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([3-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"9008\\d{3}|(?:[2-467]\\d\\d|510|862)\\d{4}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"(?:510|6\\d\\d|7(?:0\\d|1[0-8]|25|49))\\d{4}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:44[5-9]|6(?:0[0-7]|1[0-6]|4[0-57-9]|6[0-4]|7[0-8]))|573[0-6]|6(?:26[013-8]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|9(?:29[013-9]|59[0-4]))\\d{4}|(?:4(?:4[01]|6[2358])|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])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|77|9[67])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"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-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"(?:[2-489]\\d|55)\\d{6}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|55)\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2[2-9]|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:0\\d|5[09]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014]|30)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[2-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|66)|222|3[36]3|444|7(?:0[013-9]|[67]\\d)|888|9(?:[069]\\d|3[039]))|9(?:(?:0[09]|[4679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[2359]\\d|7[6-8]|88)|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5[0-4])\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-47-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|45[78]|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[356])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\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\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"596\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"596(?:[03-7]\\d|10|2[7-9]|8[0-39]|9[04-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-2]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-2]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\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]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"657[12]\\d{6}|(?:1(?:2(?:2[1-9]|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]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|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]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\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]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[047]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:70[13-689]|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[024-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|6[89]|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|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[056]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[128])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-24]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1(?:[145]\\d|3[1-5])|2\\d\\d)\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}|(?:708|80\\d)\\d{6}",,,,,,,[6,9]],[,,"(?:4[1-35-7]|5[01])\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[056]|708[45][0-5])\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:3[03]|9\\d))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6222\\d{5}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]9233\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[16]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}",,,,"262161234"],[,,"69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-29])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"800\\d{4}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"8(?:08[01]|95[0-2])\\d{4}|(?:8(?:0[1-7]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:(?:[06-8]\\d|21|90)\\d|5(?:01|[19]0|25|[38]3|[4-7]\\d))\\d{5}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9[1-689]\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[0235689]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[019]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[0-57-9]\\d{8}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:4[046]|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:41[18]|81[1-9])\\d{6}|(?:0[0-57-9]|1[017]|2[02]|[34]0|5[05]|7[0178]|8[078]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[04]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[125-9]|7[13-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[01578]\\d|20|36|4[0-4]|6[0-5]|9[89])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9]|983[29])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9]|983[29])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|87))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:4\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234"],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"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{4})","$1 $2 $3",["4"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\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])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:200[01]|(?:33|50|88|9[0-57-9])\\d\\d)\\d|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]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|63|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[5-79]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function _e(){this.g={}}_e.g=void 0,_e.h=function(){return _e.g?_e.g:_e.g=new _e};var at={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9"},Ue={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":"+","*":"*","#":"#"},Ve={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},ct=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,_t=RegExp("[+\uFF0B]+"),It=RegExp("^[+\uFF0B]+"),Te=RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"),se=RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"),Fe=/[\\\/] *x/,Ze=RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"),mt=/(?:.*?[A-Za-z]){3}.*/,bt=RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"),Yt=RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$");function gt(b){return"([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1,"+b+"})"}function an(){return";ext="+gt("20")+"|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*"+(gt("20")+"#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*")+(gt("9")+"#?|[- ]+")+(gt("6")+"#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*")+(gt("15")+"#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*")+(gt("9")+"#?")}var Un=new RegExp("(?:"+an()+")$","i"),ii=new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:"+an()+")?$","i"),Kl=/(\$\d)/,vo=/^\(?\$1\)?$/;function Ut(b){return 2>b.length?!1:ai(ii,b)}function Vt(b){return ai(mt,b)?yr(b,Ve):yr(b,at)}function Mt(b){var C=Vt(b.toString());K(b),b.g(C)}function Zn(){return Object.keys(rt).filter(function(b){return isNaN(b)})}function ar(){return Object.keys(rt).filter(function(b){return!isNaN(b)}).map(function(b){return parseInt(b,10)})}function $n(){var b=Object.keys(Be);return[...ar(),...b.map(function(C){return parseInt(C,10)})]}function vr(b){return b!=null&&(M(b,9)!=1||E(b,9)[0]!=-1)}function yr(b,C){for(var D=new re,q,Y=b.length,ue=0;ue<Y;++ue)q=b.charAt(ue),q=C[q.toUpperCase()],q!=null&&D.g(q);return D.toString()}function Ir(b){return b.length==0||vo.test(b)}function sr(b){return b!=null&&isNaN(b)&&b.toUpperCase()in rt}function Hr(b,C,D){if(S(C,2)==0&&x(C,5)){var q=O(C,5);if(0<q.length)return q}q=O(C,1);var Y=qi(C);return D==0?Zl(q,0,Y,""):q in Be?(b=Hi(b,q,Wi(q)),C=Ic(C,b,D),Y=Xl(Y,b,D),Zl(q,D,Y,C)):Y}function Hi(b,C,D){return D=="001"?oi(b,""+C):oi(b,D)}function ff(b,C){var D=Vn;if(!sr(C))return Hr(D,b,1);var q=O(b,1),Y=qi(b);if(!(q in Be))return Y;if(q==1){if(C!=null&&Be[1].includes(C.toUpperCase()))return q+" "+Hr(D,b,2)}else if(q==yo(D,C))return Hr(D,b,2);var ue=oi(D,C),xe=O(ue,11);return C="",x(ue,17)?C=O(ue,17):ai(ct,xe)&&(C=xe),D=Hi(D,q,Wi(q)),Y=Xl(Y,D,1),b=Ic(b,D,1),0<C.length?C+" "+q+" "+Y+b:Zl(q,1,Y,b)}function qi(b){if(!x(b,2))return"";var C=""+S(b,2);return x(b,4)&&S(b,4)&&0<O(b,8)?Array(O(b,8)+1).join("0")+C:C}function Zl(b,C,D,q){switch(C){case 0:return"+"+b+D+q;case 1:return"+"+b+" "+D+q;case 3:return"tel:+"+b+"-"+D+q;default:return D+q}}function Xl(b,C,D){e:{C=E(C,20).length==0||D==2?E(C,19):E(C,20);for(var q,Y=C.length,ue=0;ue<Y;++ue){q=C[ue];var xe=M(q,3);if((xe==0||b.search(S(q,3,xe-1))==0)&&(xe=new RegExp(S(q,1)),ai(xe,b))){C=q;break e}}C=null}return C==null||(Y=C,C=O(Y,2),q=new RegExp(S(Y,1)),O(Y,5),Y=O(Y,4),b=D==2&&Y!=null&&0<Y.length?b.replace(q,C.replace(Kl,Y)):b.replace(q,C),D==3&&(b=b.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"),""),b=b.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+","g"),"-"))),D=b,D}function Jl(b,C){var D=Vn;if(!sr(b))return null;C=_s(oi(D,b),C);try{if(x(C,6)){var q=S(C,6);return td(D,q,b)}}catch{}return null}function Ic(b,C,D){return x(b,3)&&S(b,3).length!=0?D==3?";ext="+S(b,3):x(C,13)?S(C,13)+O(b,3):" ext. "+O(b,3):""}function _s(b,C){switch(C){case 4:return S(b,5);case 3:return S(b,4);case 1:return S(b,3);case 0:case 2:return S(b,2);case 5:return S(b,6);case 6:return S(b,8);case 7:return S(b,7);case 8:return S(b,21);case 9:return S(b,25);case 10:return S(b,28);default:return S(b,1)}}function ed(b,C){return lr(b,S(C,1))?lr(b,S(C,5))?4:lr(b,S(C,4))?3:lr(b,S(C,6))?5:lr(b,S(C,8))?6:lr(b,S(C,7))?7:lr(b,S(C,21))?8:lr(b,S(C,25))?9:lr(b,S(C,28))?10:lr(b,S(C,2))?S(C,18)||lr(b,S(C,3))?2:0:!S(C,18)&&lr(b,S(C,3))?1:-1:-1}function oi(b,C){if(C==null)return null;C=C.toUpperCase();var D=b.g[C];if(D==null){if(D=rt[C],D==null)return null;D=new G().g(we.o(),D),b.g[C]=D}return D}function lr(b,C){var D=b.length;return 0<M(C,9)&&E(C,9).indexOf(D)==-1?!1:ai(O(C,2),b)}function Mc(b){var C=Vn,D=xs(C,b),q=O(b,1),Y=Hi(C,q,D);return Y==null||D!="001"&&q!=yo(C,D)?Y=!1:(b=qi(b),Y=ed(b,Y)!=-1),Y}function xs(b,C){if(C==null)return null;var D=O(C,1);if(D=Be[D],D==null)b=null;else if(D.length==1)b=D[0];else e:{C=qi(C);for(var q,Y=D.length,ue=0;ue<Y;ue++){q=D[ue];var xe=oi(b,q);if(x(xe,23)){if(C.search(S(xe,23))==0){b=q;break e}}else if(ed(C,xe)!=-1){b=q;break e}}b=null}return b}function Wi(b){return b=Be[b],b==null?"ZZ":b[0]}function yo(b,C){if(b=oi(b,C),b==null)throw Error("Invalid region code: "+C);return O(b,10)}function Dc(b){return b=Fc(b),b==0||b==4}function Uo(b,C,D,q){var Y=_s(D,q),ue=M(Y,9)==0?E(S(D,1),9):E(Y,9);if(Y=E(Y,10),q==2)if(vr(_s(D,0)))b=_s(D,1),vr(b)&&(ue=ue.concat(M(b,9)==0?E(S(D,1),9):E(b,9)),ue.sort(),Y.length==0?Y=E(b,10):(Y=Y.concat(E(b,10)),Y.sort()));else return Uo(b,C,D,1);return ue[0]==-1?5:(C=C.length,-1<Y.indexOf(C)?4:(D=ue[0],D==C?0:D>C?2:ue[ue.length-1]<C?3:-1<ue.indexOf(C,1)?0:5))}function Fc(b){var C=Vn,D=qi(b);return b=O(b,1),b in Be?(b=Hi(C,b,Wi(b)),Uo(C,D,b,-1)):1}function Rc(b,C){if(b=b.toString(),b.length==0||b.charAt(0)=="0")return 0;for(var D,q=b.length,Y=1;3>=Y&&Y<=q;++Y)if(D=parseInt(b.substring(0,Y),10),D in Be)return C.g(b.substring(Y)),D;return 0}function Lc(b,C,D,q,Y){if(C.length==0)return 0;C=new re(C);var ue;D!=null&&(ue=S(D,11)),ue==null&&(ue="NonMatch");var xe=C.toString();if(xe.length==0)ue=20;else if(It.test(xe))xe=xe.replace(It,""),K(C),C.g(Vt(xe)),ue=1;else{if(xe=new RegExp(ue),Mt(C),ue=C.toString(),ue.search(xe)==0){xe=ue.match(xe)[0].length;var tt=ue.substring(xe).match(Te);tt&&tt[1]!=null&&0<tt[1].length&&yr(tt[1],at)=="0"?ue=!1:(K(C),C.g(ue.substring(xe)),ue=!0)}else ue=!1;ue=ue?5:20}if(ue!=20){if(2>=C.h.length)throw Error("Phone number too short after IDD");if(b=Rc(C,q),b!=0)return P(Y,1,b),b;throw Error("Invalid country calling code")}return D!=null&&(ue=O(D,10),xe=""+ue,tt=C.toString(),tt.lastIndexOf(xe,0)==0&&(xe=new re(tt.substring(xe.length)),tt=S(D,1),tt=new RegExp(O(tt,2)),zc(xe,D,null),xe=xe.toString(),!ai(tt,C.toString())&&ai(tt,xe)||Uo(b,C.toString(),D,-1)==3))?(q.g(xe),P(Y,1,ue),ue):(P(Y,1,0),0)}function zc(b,C,D){var q=b.toString(),Y=q.length,ue=S(C,15);if(Y!=0&&ue!=null&&ue.length!=0){var xe=new RegExp("^(?:"+ue+")");if(Y=xe.exec(q)){ue=new RegExp(O(S(C,1),2));var tt=ai(ue,q),hn=Y.length-1;C=S(C,16),C==null||C.length==0||Y[hn]==null||Y[hn].length==0?(!tt||ai(ue,q.substring(Y[0].length)))&&(D!=null&&0<hn&&Y[hn]!=null&&D.g(Y[1]),b.set(q.substring(Y[0].length))):(q=q.replace(xe,C),(!tt||ai(ue,q))&&(D!=null&&0<hn&&D.g(Y[1]),b.set(q)))}}}function td(b,C,D){if(C==null)throw Error("The string supplied did not seem to be a phone number");if(250<C.length)throw Error("The string supplied is too long to be a phone number");var q=new re,Y=C.indexOf(";phone-context=");if(Y===-1)Y=null;else if(Y+=15,Y>=C.length)Y="";else{var ue=C.indexOf(";",Y);Y=ue!==-1?C.substring(Y,ue):C.substring(Y)}var xe=Y;if(xe==null?ue=!0:xe.length===0?ue=!1:(ue=bt.exec(xe),xe=Yt.exec(xe),ue=ue!==null||xe!==null),!ue||(Y!=null?(Y.charAt(0)==="+"&&q.g(Y),Y=C.indexOf("tel:"),q.g(C.substring(0<=Y?Y+4:0,C.indexOf(";phone-context=")))):(Y=q.g,C=C??"",ue=C.search(se),0<=ue?(C=C.substring(ue),C=C.replace(Ze,""),ue=C.search(Fe),0<=ue&&(C=C.substring(0,ue))):C="",Y.call(q,C)),C=q.toString(),Y=C.indexOf(";isub="),0<Y&&(K(q),q.g(C.substring(0,Y))),!Ut(q.toString())))throw Error("The string supplied did not seem to be a phone number");if(C=q.toString(),!(sr(D)||C!=null&&0<C.length&&It.test(C)))throw Error("Invalid country calling code");C=new ae;e:{if(Y=q.toString(),ue=Y.search(Un),0<=ue&&Ut(Y.substring(0,ue))){xe=Y.match(Un);for(var tt=xe.length,hn=1;hn<tt;++hn)if(xe[hn]!=null&&0<xe[hn].length){K(q),q.g(Y.substring(0,ue)),Y=xe[hn];break e}}Y=""}0<Y.length&&P(C,3,Y),ue=oi(b,D),Y=new re,xe=0,tt=q.toString();try{xe=Lc(b,tt,ue,Y,C)}catch($o){if($o.message=="Invalid country calling code"&&It.test(tt)){if(tt=tt.replace(It,""),xe=Lc(b,tt,ue,Y,C),xe==0)throw $o}else throw $o}if(xe!=0?(q=Wi(xe),q!=D&&(ue=Hi(b,xe,q))):(Mt(q),Y.g(q.toString()),D!=null&&(xe=O(ue,10),P(C,1,xe))),2>Y.h.length||(ue!=null&&(D=new re(Y.toString()),zc(D,ue,new re),b=Uo(b,D.toString(),ue,-1),b!=2&&b!=4&&b!=5&&(Y=D)),b=Y.toString(),D=b.length,2>D))throw Error("The string supplied is too short to be a phone number");if(17<D)throw Error("The string supplied is too long to be a phone number");if(1<b.length&&b.charAt(0)=="0"){for(P(C,4,!0),D=1;D<b.length-1&&b.charAt(D)=="0";)D++;D!=1&&P(C,8,D)}return P(C,2,parseInt(b,10)),C}_e.prototype.ja=function(b){var C=oi(this,xs(this,b));return C==null?!0:(b=qi(b),!lr(b,S(C,24)))};function ai(b,C){return!!((b=typeof b=="string"?C.match("^(?:"+b+")$"):C.match(b))&&b[0].length==C.length)}function hf(b){this.ka=RegExp("\u2008"),this.la="",this.$=new re,this.da="",this.u=new re,this.ba=new re,this.v=!0,this.ea=this.ca=this.oa=!1,this.pa=_e.h(),this.aa=0,this.h=new re,this.ha=!1,this.s="",this.g=new re,this.j=[],this.ma=b,this.wa=this.m=nd(this,this.ma)}var jc=new we;P(jc,11,"NA");var Uc=RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"),Vc=/[- ]/;function nd(b,C){return C=sr(C)?yo(b.pa,C):0,b=oi(b.pa,Wi(C)),b??jc}function Bc(b){for(var C=b.j.length,D=0;D<C;++D){var q=b.j[D],Y=O(q,1);if(b.da==Y)return!1;var ue=b,xe=q,tt=O(xe,1);K(ue.$);var hn=ue;xe=O(xe,2);var $o="999999999999999".match(tt)[0];if($o.length<hn.g.h.length?hn="":(hn=$o.replace(new RegExp(tt,"g"),xe),hn=hn.replace(RegExp("9","g"),"\u2008")),0<hn.length?(ue.$.g(hn),ue=!0):ue=!1,ue)return b.da=Y,b.ha=Vc.test(S(q,4)),b.aa=0,!0}return b.v=!1}function Hc(b,C){for(var D=[],q=C.length-3,Y=b.j.length,ue=0;ue<Y;++ue){var xe=b.j[ue];M(xe,3)==0?D.push(b.j[ue]):(xe=S(xe,3,Math.min(q,M(xe,3)-1)),C.search(xe)==0&&D.push(b.j[ue]))}b.j=D}function pf(b,C){b.u.g(C);var D=C;if(Te.test(D)||b.u.h.length==1&&_t.test(D)?(C=="+"?(D=C,b.ba.g(C)):(D=at[C],b.ba.g(D),b.g.g(D)),C=D):(b.v=!1,b.oa=!0),!b.v){if(!b.oa){if(Yc(b)){if(rd(b))return qc(b)}else if(0<b.s.length&&(C=b.g.toString(),K(b.g),b.g.g(b.s),b.g.g(C),C=b.h.toString(),D=C.lastIndexOf(b.s),K(b.h),b.h.g(C.substring(0,D))),b.s!=Gc(b))return b.h.g(" "),qc(b)}return b.u.toString()}switch(b.ba.h.length){case 0:case 1:case 2:return b.u.toString();case 3:if(Yc(b))b.ea=!0;else return b.s=Gc(b),Vo(b);default:return b.ea?(rd(b)&&(b.ea=!1),b.h.toString()+b.g.toString()):0<b.j.length?(C=id(b,C),D=Ea(b),0<D.length?D:(Hc(b,b.g.toString()),Bc(b)?Wc(b):b.v?ks(b,C):b.u.toString())):Vo(b)}}function qc(b){return b.v=!0,b.ea=!1,b.j=[],b.aa=0,K(b.$),b.da="",Vo(b)}function Ea(b){for(var C=b.g.toString(),D=b.j.length,q=0;q<D;++q){var Y=b.j[q],ue=O(Y,1);if(new RegExp("^(?:"+ue+")$").test(C)&&(b.ha=Vc.test(S(Y,4)),Y=C.replace(new RegExp(ue,"g"),S(Y,2)),Y=ks(b,Y),yr(Y,Ue)==b.ba))return Y}return""}function ks(b,C){var D=b.h.h.length;return b.ha&&0<D&&b.h.toString().charAt(D-1)!=" "?b.h+" "+C:b.h+C}function Vo(b){var C=b.g.toString();if(3<=C.length){for(var D=b.ca&&b.s.length==0&&0<M(b.m,20)?E(b.m,20):E(b.m,19),q=D.length,Y=0;Y<q;++Y){var ue=D[Y];0<b.s.length&&Ir(O(ue,4))&&!S(ue,6)&&!x(ue,5)||(b.s.length!=0||b.ca||Ir(O(ue,4))||S(ue,6))&&Uc.test(O(ue,2))&&b.j.push(ue)}return Hc(b,C),C=Ea(b),0<C.length?C:Bc(b)?Wc(b):b.u.toString()}return ks(b,C)}function Wc(b){var C=b.g.toString(),D=C.length;if(0<D){for(var q="",Y=0;Y<D;Y++)q=id(b,C.charAt(Y));return b.v?ks(b,q):b.u.toString()}return b.h.toString()}function Gc(b){var C=b.g.toString(),D=0;if(b.m.ia()!=1)var q=!1;else q=b.g.toString(),q=q.charAt(0)=="1"&&q.charAt(1)!="0"&&q.charAt(1)!="1";return q?(D=1,b.h.g("1").g(" "),b.ca=!0):x(b.m,15)&&(q=new RegExp("^(?:"+S(b.m,15)+")"),q=C.match(q),q!=null&&q[0]!=null&&0<q[0].length&&(b.ca=!0,D=q[0].length,b.h.g(C.substring(0,D)))),K(b.g),b.g.g(C.substring(D)),C.substring(0,D)}function Yc(b){var C=b.ba.toString(),D=new RegExp("^(?:\\+|"+S(b.m,11)+")");return D=C.match(D),D!=null&&D[0]!=null&&0<D[0].length?(b.ca=!0,D=D[0].length,K(b.g),b.g.g(C.substring(D)),K(b.h),b.h.g(C.substring(0,D)),C.charAt(0)!="+"&&b.h.g(" "),!0):!1}function rd(b){if(b.g.h.length==0)return!1;var C=new re,D=Rc(b.g,C);return D==0?!1:(K(b.g),b.g.g(C.toString()),C=Wi(D),C=="001"?b.m=oi(b.pa,""+D):C!=b.ma&&(b.m=nd(b,C)),b.h.g(""+D).g(" "),b.s="",!0)}function id(b,C){var D=b.$.toString();if(0<=D.substring(b.aa).search(b.ka)){var q=D.search(b.ka);return C=D.replace(b.ka,C),K(b.$),b.$.g(C),b.aa=q,C.substring(0,b.aa+1)}return b.j.length==1&&(b.v=!1),b.da="",b.u.toString()}var Vn=_e.h();function mf(b){var C=Vn,D=xs(C,b);switch(C=Hi(C,O(b,1),D),C==null?b=-1:(b=qi(b),b=ed(b,C)),b){case 0:return"fixed-line";case 2:return"fixed-line-or-mobile";case 1:return"mobile";case 8:return"pager";case 7:return"personal-number";case 4:return"premium-rate";case 5:return"shared-cost";case 3:return"toll-free";case 9:return"uan";case 6:return"voip";default:case-1:return"unknown"}}function gf(b){switch(b){case"fixed-line":return 0;case"fixed-line-or-mobile":return 2;case"mobile":return 1;case"pager":return 8;case"personal-number":return 7;case"premium-rate":return 4;case"shared-cost":return 5;case"toll-free":return 3;case"uan":return 9;case"voip":return 6;default:case"unknown":return-1}}function Qc(b){try{switch(Fc(b)){case 0:return"is-possible";case 1:return"invalid-country-code";case 3:return"too-long";case 2:return"too-short"}if(Dc(b))return"is-possible"}catch{}return"unknown"}function vf(b,C){if(b.charAt(0)!=="+"&&b.slice(0,2)!=="00")return{parsed:D,fa:q};try{var D=td(Vn,b,C)}catch{}if(D){var q=xs(Vn,D);if(q!=null&&q!=="ZZ")return{parsed:D,fa:q}}for(C=1;4>C;++C){if(q=void 0,b.length<C+1)return{parsed:D,fa:q};if(q=Wi(b.substring(1,C+1)),q!=="ZZ")return{fa:q}}return{parsed:D,fa:void 0}}var Cs;e:{try{Cs=new WeakMap;break e}catch{}Cs=void 0}var Sa=Cs;function Qe(b,C){if(!(this instanceof Qe))return new Qe(b,C);var D=C?.regionCode;if(typeof b=="string")var q=!1;else try{Mc(b),q=!0}catch{q=!1}let Y;if(!q&&typeof b!="string")throw Error("Invalid phone number, expected a string");if(!q&&typeof C!="object"&&typeof C<"u")throw Error(`Invalid options, expected object, got ${typeof C}. This may be because of not yet upgraded code.`);if(!q&&D!=null&&typeof D!="string")throw Error(`Invalid region code, expected a string, got ${typeof D} ${D}`);if(q||(b=b.trim(),D&&b.charAt(0)==="+"&&(D=null),D&&b.charAt(0)!=="+"&&b.slice(0,2)!=="00"||({fa:D=null,parsed:Y}=vf(b,D))),this.g={number:{},regionCode:D,valid:!1,possible:!1},Sa&&Sa.set(this.g,this),q)this.l=b;else{if(this.l=null,this.g.number.input=b,!D){this.g.possibility="invalid-country-code";return}if(Bo(D)===0){this.g.possibility="invalid-country-code";return}try{this.l=Y||td(Vn,b,D)}catch{this.g.possibility=Qc(b);return}}this.g.number.international=Hr(Vn,this.l,1),this.g.number.national=Hr(Vn,this.l,2),this.g.number.e164=Hr(Vn,this.l,0),this.g.number.rfc3966=Hr(Vn,this.l,3),this.g.number.significant=qi(this.l),this.g.canBeInternationallyDialled=Vn.ja(this.l),this.g.valid=Mc(this.l),this.g.possible=Dc(this.l),this.g.possibility=Qc(this.l),!this.g.valid&&this.g.possible&&(this.g.possibility="invalid",this.g.possible=!1),this.g.type=mf(this.l),this.g.typeIsMobile=this.sa(),this.g.typeIsFixedLine=this.ra(),this.g.countryCode=sr(D)?yo(Vn,D):0}var bo=["PhoneNumber$$module$src$index"],si=t;bo[0]in si||typeof si.execScript>"u"||si.execScript("var "+bo[0]);for(var Gi;bo.length&&(Gi=bo.shift());)bo.length||Qe===void 0?si[Gi]&&si[Gi]!==Object.prototype[Gi]?si=si[Gi]:si=si[Gi]={}:si[Gi]=Qe;function Bo(b){return sr(b)?yo(Vn,b):0}Qe.getCountryCodeForRegionCode=Bo,Qe.getRegionCodeForCountryCode=function(b){return Wi(b)};function od(b){var C={};return b.filter(D=>C.hasOwnProperty(D)?!1:(C[D]=1,!0))}Qe.getSupportedRegionCodes=function(){return od(Zn())},Qe.getSupportedCallingCodes=function(){return od($n())},Qe.getExample=function(b,C){var D;return C?D=Jl(b,gf(C)):D=Jl(b,0),new Qe(D,b).toJSON()},Qe.getAsYouType=function(b){return new Bn(b)},Qe.getNumberFrom=function(b,C){try{e:{if(Sa){var D=Sa.get(b);if(D){var q=D;break e}}let Y;q=new Qe(b==null||(Y=b.number)==null?void 0:Y.e164,{})}return{valid:!0,number:ff(q.l,C)}}catch(Y){return{valid:!1,error:Y}}},Qe.prototype.toJSON=function(){return this.g},Qe.prototype.toJSON=Qe.prototype.toJSON,Qe.prototype.ja=function(){return this.g.canBeInternationallyDialled},Qe.prototype.canBeInternationallyDialled=Qe.prototype.ja,Qe.prototype.ya=function(){return this.g.valid},Qe.prototype.isValid=Qe.prototype.ya,Qe.prototype.xa=function(){return this.g.possible},Qe.prototype.isPossible=Qe.prototype.xa,Qe.prototype.getType=function(){return this.g.type},Qe.prototype.getType=Qe.prototype.getType,Qe.prototype.sa=function(){return this.g.type==="mobile"||this.g.type==="fixed-line-or-mobile"},Qe.prototype.isMobile=Qe.prototype.sa,Qe.prototype.ra=function(){return this.g.type==="fixed-line"||this.g.type==="fixed-line-or-mobile"},Qe.prototype.isFixedLine=Qe.prototype.ra,Qe.prototype.ta=function(b){return this.g.number[b??"e164"]},Qe.prototype.getNumber=Qe.prototype.ta,Qe.prototype.va=function(){return this.g.regionCode},Qe.prototype.getRegionCode=Qe.prototype.va,Qe.prototype.ia=function(){return Bo(this.g.regionCode)},Qe.prototype.getCountryCode=Qe.prototype.ia;function Bn(b){this.j=b,this.h=new hf(b),this.l=this.g=""}Bn.prototype.qa=function(b){this.g+=b;var C=this.h;return C.la=pf(C,b),this.l=C.la},Bn.prototype.addChar=Bn.prototype.qa,Bn.prototype.za=function(){return this.l},Bn.prototype.number=Bn.prototype.za,Bn.prototype.Aa=function(){return this.g===""?this.l:this.reset(this.g.slice(0,this.g.length-1))},Bn.prototype.removeChar=Bn.prototype.Aa,Bn.prototype.reset=function(b){var C=this.h;if(C.la="",K(C.u),K(C.ba),K(C.$),C.aa=0,C.da="",K(C.h),C.s="",K(C.g),C.v=!0,C.oa=!1,C.ca=!1,C.ea=!1,C.j=[],C.ha=!1,C.m!=C.wa&&(C.m=nd(C,C.ma)),this.l=this.g="",b){C=0;for(var D=b.length;C<D;++C)this.qa(b.charAt(C))}return this.l},Bn.prototype.reset=Bn.prototype.reset,Bn.prototype.ua=function(){return new Qe(this.l,{regionCode:this.j}).toJSON()},Bn.prototype.getPhoneNumber=Bn.prototype.ua}).call(e.exports||typeof globalThis<"u"&&globalThis||typeof gl<"u"&&gl||typeof window<"u"&&window||typeof self<"u"&&self||gl)})(Fw);var zX=Fw.exports;C4.exports;(function(e){const t="PhoneNumber$$module$src$index";e.exports=zX[t]||(typeof globalThis<"u"&&globalThis||typeof gl<"u"&&gl||typeof window<"u"&&window||typeof self<"u"&&self||gl)[t],Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.parsePhoneNumber=(...n)=>{try{const r=e.exports(...n).toJSON();return!r.valid&&!r.possible&&(r.possible=!1,r.possibility||(r.possibility="invalid")),r}catch(r){return{valid:!1,possible:!1,possibility:"invalid",error:r}}},e.exports.getCountryCodeForRegionCode=e.exports.getCountryCodeForRegionCode,e.exports.getRegionCodeForCountryCode=e.exports.getRegionCodeForCountryCode,e.exports.getSupportedCallingCodes=e.exports.getSupportedCallingCodes,e.exports.getSupportedRegionCodes=e.exports.getSupportedRegionCodes,e.exports.getExample=e.exports.getExample,e.exports.getAsYouType=e.exports.getAsYouType,e.exports.getNumberFrom=e.exports.getNumberFrom})(C4);var jX=C4.exports,UX=LX(jX);const VX=(...e)=>{try{const t=UX(...e).toJSON();return!t.valid&&!t.possible&&(t.possible=!1,t.possibility||(t.possibility="invalid")),t}catch(t){return{valid:!1,possible:!1,possibility:"invalid",error:t}}},BX=_('<tr><td class="align-top py-1 w-20"></td><td class="align-top py-1"></td></tr>'),HX=_('<div class="flex items-center justify-between"></div>'),n5=_("<div></div>"),qX=_('<div class="pt-4" data-dd-privacy="mask"><div class="pt-4 sm:grid sm:grid-cols-2 sm:gap-2"><table class="table-auto"><tbody></tbody></table><table class="table-auto"><tbody></tbody></table></div></div>'),WX=_("<div>N/A</div>"),GX=ni`
|
|
818
818
|
query GetPatient($id: ID!) {
|
|
819
819
|
patient(id: $id) {
|
|
820
820
|
id
|
|
@@ -911,7 +911,7 @@ Replace your options with a function.`),t;const o=typeof t=="function"?t():t;ret
|
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
`;function Bw(e){const t=ri(),[n,r]=te(),[i,o]=te(""),[a,l]=te(null),[c,u]=te(null),[f,p]=te([]),[m,g]=te(!1),[v,w]=te(!1),[x,A]=te(!1),[S,O]=te(),[E,M]=te(null);async function P(){const{data:G}=await t.apollo.query({query:IJ,variables:{location:{latitude:a()?.latitude,longitude:a()?.longitude,radius:20}}});G?.pharmacies?.length>0&&u(G.pharmacies.map(re=>({...re,preferred:!1}))),g(!1)}async function L(G){w(!0);try{const{data:re}=await t.apollo.query({query:Uw,variables:{id:G}}),{data:K}=await t.apollo.query({query:Vw,variables:{id:G}}),H=re?.patient?.address;if(H){const ye=jw(H),pe=S();if(await Lp(()=>!!pe,10,20),pe)await Q(ye,pe);else throw new Error("Hit max attempts to load geocoder")}re?.patient?.preferredPharmacies?.length>0&&p(re?.patient?.preferredPharmacies.map(ye=>({...ye,preferred:!0}))),K?.orders?.length>0&&M(K?.orders?.[0]?.pharmacy?.id)}catch(re){console.error("Error fetching preferred and previous pharmacies:",re)}finally{w(!1)}}const U=oe(()=>{const G=c()||[],re=[...f().filter(H=>G.some(ye=>ye.id===H.id)),...G],K=re.map(H=>H.id);return re.filter((H,ye)=>K.indexOf(H.id)===ye)});Ae(()=>{a()?.latitude&&a()?.longitude&&(u(null),g(!0),P())});const Z=oe(()=>U()===null||U()?.length===0?[]:i()===""?U():U()?.filter(G=>G.name.toLowerCase().includes(i().toLowerCase()))||[]);Ae(()=>{n()?.id&&(o(""),e?.setPharmacy?.(n()))});const ce=G=>`${a5(G.address?.street1||"")}, ${a5(G.address?.city||"")}, ${G.address?.state}`;async function Q(G,re){const K=await Rp(G||"",re);K.length>0&&l(K[0])}return Ht(()=>{e?.address&&g(!0),zw({onLoad:async()=>{const G=new google.maps.Geocoder;O(G),e?.address&&Q(e.address||"",G)}})}),Ae(()=>{e?.patientId&&L(e?.patientId)}),Ae(()=>{e?.address&&(g(!0),Q(e.address,S()))}),(()=>{const G=SJ.cloneNode(!0);return R(G,$(wJ,{setLocation:l,get open(){return x()},setOpen:A}),null),R(G,$(rr,{get label(){return(()=>{const re=TJ.cloneNode(!0);return re.firstChild,R(re,$($e,{get when(){return!v()},get fallback(){return $(jo,{size:"sm"})},get children(){const K=OJ.cloneNode(!0);return K.$$click=H=>{H.preventDefault(),A(!0)},R(K,$(kt,{name:"mapPin",size:"sm",class:"inline-block mr-1"}),null),R(K,()=>a()?.address||"Set a location",null),K}}),null),re})()},get helpText(){return(()=>{const re=AJ.cloneNode(!0);return R(re,$($e,{get when(){return n()?.preferred},get children(){return $(sl,{size:"sm",color:"blue",children:"Preferred"})}}),null),R(re,$($e,{get when(){return oe(()=>!!E()&&E()===n()?.id)()&&!n()?.preferred},get children(){return $(sl,{size:"sm",color:"green",children:"Previous"})}}),null),re})()},get loading(){return m()},get children(){return $(fn,{get value(){return oe(()=>f()?.length>0)()&&U()?.[0]||void 0},setSelected:r,get children(){return[$(fn.Input,{onInput:re=>o(re.currentTarget.value),displayValue:re=>re?.name?`${re.name}, ${a5(re.address?.street1||"")}`:""}),$(fn.Options,{get children(){return[$($e,{get when(){return(Z()?.length||0)>0},get children(){return $(Cn,{get each(){return Z()},children:re=>$(fn.Option,{get key(){return re.id},value:re,get children(){return[(()=>{const K=NJ.cloneNode(!0),H=K.firstChild;return R(K,()=>re.name,H),R(K,$($e,{get when(){return re.preferred},get children(){return $(sl,{size:"sm",color:"blue",children:"Preferred"})}}),null),R(K,$($e,{get when(){return E()===re.id&&!re.preferred},get children(){return $(sl,{size:"sm",color:"green",children:"Previous"})}}),null),K})(),(()=>{const K=PJ.cloneNode(!0);return R(K,()=>ce(re)),K})()]}})})}}),$($e,{get when(){return Z()?.length===0},get children(){return EJ.cloneNode(!0)}})]}})]}})}}),null),R(G,$($e,{get when(){return oe(()=>!e?.hidePreferred&&!m()&&!v()&&!!n())()&&!n()?.preferred},get children(){return $(CJ,{id:"set-preferred-pharmacy",mainText:"Set as preferred pharmacy",checked:!1,onChange:re=>e?.setPreferred?.(re)})}}),null),G})()}po(["click"]);var Ka=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function E4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S4(e,t){return e(t={exports:{}},t.exports),t.exports}var Ba=S4(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function r(){var i=this;this.locked=new Map,this.addToLocked=function(o,a){var l=i.locked.get(o);l===void 0?a===void 0?i.locked.set(o,[]):i.locked.set(o,[a]):a!==void 0&&(l.unshift(a),i.locked.set(o,l))},this.isLocked=function(o){return i.locked.has(o)},this.lock=function(o){return new Promise(function(a,l){i.isLocked(o)?i.addToLocked(o,a):(i.addToLocked(o),a())})},this.unlock=function(o){var a=i.locked.get(o);if(a!==void 0&&a.length!==0){var l=a.pop();i.locked.set(o,a),l!==void 0&&setTimeout(l,0)}else i.locked.delete(o)}}return r.getInstance=function(){return r.instance===void 0&&(r.instance=new r),r.instance},r}();t.default=function(){return n.getInstance()}});E4(Ba);var MJ=E4(S4(function(e,t){var n=Ka&&Ka.__awaiter||function(f,p,m,g){return new(m||(m=Promise))(function(v,w){function x(O){try{S(g.next(O))}catch(E){w(E)}}function A(O){try{S(g.throw(O))}catch(E){w(E)}}function S(O){O.done?v(O.value):new m(function(E){E(O.value)}).then(x,A)}S((g=g.apply(f,p||[])).next())})},r=Ka&&Ka.__generator||function(f,p){var m,g,v,w,x={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return w={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function A(S){return function(O){return function(E){if(m)throw new TypeError("Generator is already executing.");for(;x;)try{if(m=1,g&&(v=2&E[0]?g.return:E[0]?g.throw||((v=g.return)&&v.call(g),0):g.next)&&!(v=v.call(g,E[1])).done)return v;switch(g=0,v&&(E=[2&E[0],v.value]),E[0]){case 0:case 1:v=E;break;case 4:return x.label++,{value:E[1],done:!1};case 5:x.label++,g=E[1],E=[0];continue;case 7:E=x.ops.pop(),x.trys.pop();continue;default:if(v=x.trys,!((v=v.length>0&&v[v.length-1])||E[0]!==6&&E[0]!==2)){x=0;continue}if(E[0]===3&&(!v||E[1]>v[0]&&E[1]<v[3])){x.label=E[1];break}if(E[0]===6&&x.label<v[1]){x.label=v[1],v=E;break}if(v&&x.label<v[2]){x.label=v[2],x.ops.push(E);break}v[2]&&x.ops.pop(),x.trys.pop();continue}E=p.call(f,x)}catch(M){E=[6,M],g=0}finally{m=v=0}if(5&E[0])throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}([S,O])}}},i=Ka;Object.defineProperty(t,"__esModule",{value:!0});var o="browser-tabs-lock-key",a={key:function(f){return n(i,void 0,void 0,function(){return r(this,function(p){throw new Error("Unsupported")})})},getItem:function(f){return n(i,void 0,void 0,function(){return r(this,function(p){throw new Error("Unsupported")})})},clear:function(){return n(i,void 0,void 0,function(){return r(this,function(f){return[2,window.localStorage.clear()]})})},removeItem:function(f){return n(i,void 0,void 0,function(){return r(this,function(p){throw new Error("Unsupported")})})},setItem:function(f,p){return n(i,void 0,void 0,function(){return r(this,function(m){throw new Error("Unsupported")})})},keySync:function(f){return window.localStorage.key(f)},getItemSync:function(f){return window.localStorage.getItem(f)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(f){return window.localStorage.removeItem(f)},setItemSync:function(f,p){return window.localStorage.setItem(f,p)}};function l(f){return new Promise(function(p){return setTimeout(p,f)})}function c(f){for(var p="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",m="",g=0;g<f;g++)m+=p[Math.floor(Math.random()*p.length)];return m}var u=function(){function f(p){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+c(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),this.storageHandler=p,f.waiters===void 0&&(f.waiters=[])}return f.prototype.acquireLock=function(p,m){return m===void 0&&(m=5e3),n(this,void 0,void 0,function(){var g,v,w,x,A,S,O;return r(this,function(E){switch(E.label){case 0:g=Date.now()+c(4),v=Date.now()+m,w=o+"-"+p,x=this.storageHandler===void 0?a:this.storageHandler,E.label=1;case 1:return Date.now()<v?[4,l(30)]:[3,8];case 2:return E.sent(),x.getItemSync(w)!==null?[3,5]:(A=this.id+"-"+p+"-"+g,[4,l(Math.floor(25*Math.random()))]);case 3:return E.sent(),x.setItemSync(w,JSON.stringify({id:this.id,iat:g,timeoutKey:A,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,l(30)];case 4:return E.sent(),(S=x.getItemSync(w))!==null&&(O=JSON.parse(S)).id===this.id&&O.iat===g?(this.acquiredIatSet.add(g),this.refreshLockWhileAcquired(w,g),[2,!0]):[3,7];case 5:return f.lockCorrector(this.storageHandler===void 0?a:this.storageHandler),[4,this.waitForSomethingToChange(v)];case 6:E.sent(),E.label=7;case 7:return g=Date.now()+c(4),[3,1];case 8:return[2,!1]}})})},f.prototype.refreshLockWhileAcquired=function(p,m){return n(this,void 0,void 0,function(){var g=this;return r(this,function(v){return setTimeout(function(){return n(g,void 0,void 0,function(){var w,x,A;return r(this,function(S){switch(S.label){case 0:return[4,Ba.default().lock(m)];case 1:return S.sent(),this.acquiredIatSet.has(m)?(w=this.storageHandler===void 0?a:this.storageHandler,(x=w.getItemSync(p))===null?(Ba.default().unlock(m),[2]):((A=JSON.parse(x)).timeRefreshed=Date.now(),w.setItemSync(p,JSON.stringify(A)),Ba.default().unlock(m),this.refreshLockWhileAcquired(p,m),[2])):(Ba.default().unlock(m),[2])}})})},1e3),[2]})})},f.prototype.waitForSomethingToChange=function(p){return n(this,void 0,void 0,function(){return r(this,function(m){switch(m.label){case 0:return[4,new Promise(function(g){var v=!1,w=Date.now(),x=!1;function A(){if(x||(window.removeEventListener("storage",A),f.removeFromWaiting(A),clearTimeout(S),x=!0),!v){v=!0;var O=50-(Date.now()-w);O>0?setTimeout(g,O):g(null)}}window.addEventListener("storage",A),f.addToWaiting(A);var S=setTimeout(A,Math.max(0,p-Date.now()))})];case 1:return m.sent(),[2]}})})},f.addToWaiting=function(p){this.removeFromWaiting(p),f.waiters!==void 0&&f.waiters.push(p)},f.removeFromWaiting=function(p){f.waiters!==void 0&&(f.waiters=f.waiters.filter(function(m){return m!==p}))},f.notifyWaiters=function(){f.waiters!==void 0&&f.waiters.slice().forEach(function(p){return p()})},f.prototype.releaseLock=function(p){return n(this,void 0,void 0,function(){return r(this,function(m){switch(m.label){case 0:return[4,this.releaseLock__private__(p)];case 1:return[2,m.sent()]}})})},f.prototype.releaseLock__private__=function(p){return n(this,void 0,void 0,function(){var m,g,v,w;return r(this,function(x){switch(x.label){case 0:return m=this.storageHandler===void 0?a:this.storageHandler,g=o+"-"+p,(v=m.getItemSync(g))===null?[2]:(w=JSON.parse(v)).id!==this.id?[3,2]:[4,Ba.default().lock(w.iat)];case 1:x.sent(),this.acquiredIatSet.delete(w.iat),m.removeItemSync(g),Ba.default().unlock(w.iat),f.notifyWaiters(),x.label=2;case 2:return[2]}})})},f.lockCorrector=function(p){for(var m=Date.now()-5e3,g=p,v=[],w=0;;){var x=g.keySync(w);if(x===null)break;v.push(x),w++}for(var A=!1,S=0;S<v.length;S++){var O=v[S];if(O.includes(o)){var E=g.getItemSync(O);if(E!==null){var M=JSON.parse(E);(M.timeRefreshed===void 0&&M.timeAcquired<m||M.timeRefreshed!==void 0&&M.timeRefreshed<m)&&(g.removeItemSync(O),A=!0)}}}A&&f.notifyWaiters()},f.waiters=void 0,f}();t.default=u})),ts=S4(function(e,t){var n=Ka&&Ka.__assign||function(){return n=Object.assign||function(c){for(var u,f=1,p=arguments.length;f<p;f++)for(var m in u=arguments[f])Object.prototype.hasOwnProperty.call(u,m)&&(c[m]=u[m]);return c},n.apply(this,arguments)};function r(c,u){if(!u)return"";var f="; "+c;return u===!0?f:f+"="+u}function i(c,u,f){return encodeURIComponent(c).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(u).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(p){if(typeof p.expires=="number"){var m=new Date;m.setMilliseconds(m.getMilliseconds()+864e5*p.expires),p.expires=m}return r("Expires",p.expires?p.expires.toUTCString():"")+r("Domain",p.domain)+r("Path",p.path)+r("Secure",p.secure)+r("SameSite",p.sameSite)}(f)}function o(c){for(var u={},f=c?c.split("; "):[],p=/(%[\dA-F]{2})+/gi,m=0;m<f.length;m++){var g=f[m].split("="),v=g.slice(1).join("=");v.charAt(0)==='"'&&(v=v.slice(1,-1));try{u[g[0].replace(p,decodeURIComponent)]=v.replace(p,decodeURIComponent)}catch{}}return u}function a(){return o(document.cookie)}function l(c,u,f){document.cookie=i(c,u,n({path:"/"},f))}t.__esModule=!0,t.encode=i,t.parse=o,t.getAll=a,t.get=function(c){return a()[c]},t.set=l,t.remove=function(c,u){l(c,"",n(n({},u),{expires:-1}))}});E4(ts),ts.encode,ts.parse,ts.getAll;ts.get;ts.set;ts.remove;new MJ;Gt`
|
|
914
|
+
`;function Bw(e){const t=ri(),[n,r]=te(),[i,o]=te(""),[a,l]=te(null),[c,u]=te(null),[f,p]=te([]),[m,g]=te(!1),[v,w]=te(!1),[x,A]=te(!1),[S,O]=te(),[E,M]=te(null);async function P(){const{data:G}=await t.apollo.query({query:IJ,variables:{location:{latitude:a()?.latitude,longitude:a()?.longitude}}});G?.pharmacies?.length>0&&u(G.pharmacies.map(re=>({...re,preferred:!1}))),g(!1)}async function L(G){w(!0);try{const{data:re}=await t.apollo.query({query:Uw,variables:{id:G}}),{data:K}=await t.apollo.query({query:Vw,variables:{id:G}}),H=re?.patient?.address;if(H){const ye=jw(H),pe=S();if(await Lp(()=>!!pe,10,20),pe)await Q(ye,pe);else throw new Error("Hit max attempts to load geocoder")}re?.patient?.preferredPharmacies?.length>0&&p(re?.patient?.preferredPharmacies.map(ye=>({...ye,preferred:!0}))),K?.orders?.length>0&&M(K?.orders?.[0]?.pharmacy?.id)}catch(re){console.error("Error fetching preferred and previous pharmacies:",re)}finally{w(!1)}}const U=oe(()=>{const G=c()||[],re=[...f().filter(H=>G.some(ye=>ye.id===H.id)),...G],K=re.map(H=>H.id);return re.filter((H,ye)=>K.indexOf(H.id)===ye)});Ae(()=>{a()?.latitude&&a()?.longitude&&(u(null),g(!0),P())});const Z=oe(()=>U()===null||U()?.length===0?[]:i()===""?U():U()?.filter(G=>G.name.toLowerCase().includes(i().toLowerCase()))||[]);Ae(()=>{n()?.id&&(o(""),e?.setPharmacy?.(n()))});const ce=G=>`${a5(G.address?.street1||"")}, ${a5(G.address?.city||"")}, ${G.address?.state}`;async function Q(G,re){const K=await Rp(G||"",re);K.length>0&&l(K[0])}return Ht(()=>{e?.address&&g(!0),zw({onLoad:async()=>{const G=new google.maps.Geocoder;O(G),e?.address&&Q(e.address||"",G)}})}),Ae(()=>{e?.patientId&&L(e?.patientId)}),Ae(()=>{e?.address&&(g(!0),Q(e.address,S()))}),(()=>{const G=SJ.cloneNode(!0);return R(G,$(wJ,{setLocation:l,get open(){return x()},setOpen:A}),null),R(G,$(rr,{get label(){return(()=>{const re=TJ.cloneNode(!0);return re.firstChild,R(re,$($e,{get when(){return!v()},get fallback(){return $(jo,{size:"sm"})},get children(){const K=OJ.cloneNode(!0);return K.$$click=H=>{H.preventDefault(),A(!0)},R(K,$(kt,{name:"mapPin",size:"sm",class:"inline-block mr-1"}),null),R(K,()=>a()?.address||"Set a location",null),K}}),null),re})()},get helpText(){return(()=>{const re=AJ.cloneNode(!0);return R(re,$($e,{get when(){return n()?.preferred},get children(){return $(sl,{size:"sm",color:"blue",children:"Preferred"})}}),null),R(re,$($e,{get when(){return oe(()=>!!E()&&E()===n()?.id)()&&!n()?.preferred},get children(){return $(sl,{size:"sm",color:"green",children:"Previous"})}}),null),re})()},get loading(){return m()},get children(){return $(fn,{get value(){return oe(()=>f()?.length>0)()&&U()?.[0]||void 0},setSelected:r,get children(){return[$(fn.Input,{onInput:re=>o(re.currentTarget.value),displayValue:re=>re?.name?`${re.name}, ${a5(re.address?.street1||"")}`:""}),$(fn.Options,{get children(){return[$($e,{get when(){return(Z()?.length||0)>0},get children(){return $(Cn,{get each(){return Z()},children:re=>$(fn.Option,{get key(){return re.id},value:re,get children(){return[(()=>{const K=NJ.cloneNode(!0),H=K.firstChild;return R(K,()=>re.name,H),R(K,$($e,{get when(){return re.preferred},get children(){return $(sl,{size:"sm",color:"blue",children:"Preferred"})}}),null),R(K,$($e,{get when(){return E()===re.id&&!re.preferred},get children(){return $(sl,{size:"sm",color:"green",children:"Previous"})}}),null),K})(),(()=>{const K=PJ.cloneNode(!0);return R(K,()=>ce(re)),K})()]}})})}}),$($e,{get when(){return Z()?.length===0},get children(){return EJ.cloneNode(!0)}})]}})]}})}}),null),R(G,$($e,{get when(){return oe(()=>!e?.hidePreferred&&!m()&&!v()&&!!n())()&&!n()?.preferred},get children(){return $(CJ,{id:"set-preferred-pharmacy",mainText:"Set as preferred pharmacy",checked:!1,onChange:re=>e?.setPreferred?.(re)})}}),null),G})()}po(["click"]);var Ka=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function E4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S4(e,t){return e(t={exports:{}},t.exports),t.exports}var Ba=S4(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function r(){var i=this;this.locked=new Map,this.addToLocked=function(o,a){var l=i.locked.get(o);l===void 0?a===void 0?i.locked.set(o,[]):i.locked.set(o,[a]):a!==void 0&&(l.unshift(a),i.locked.set(o,l))},this.isLocked=function(o){return i.locked.has(o)},this.lock=function(o){return new Promise(function(a,l){i.isLocked(o)?i.addToLocked(o,a):(i.addToLocked(o),a())})},this.unlock=function(o){var a=i.locked.get(o);if(a!==void 0&&a.length!==0){var l=a.pop();i.locked.set(o,a),l!==void 0&&setTimeout(l,0)}else i.locked.delete(o)}}return r.getInstance=function(){return r.instance===void 0&&(r.instance=new r),r.instance},r}();t.default=function(){return n.getInstance()}});E4(Ba);var MJ=E4(S4(function(e,t){var n=Ka&&Ka.__awaiter||function(f,p,m,g){return new(m||(m=Promise))(function(v,w){function x(O){try{S(g.next(O))}catch(E){w(E)}}function A(O){try{S(g.throw(O))}catch(E){w(E)}}function S(O){O.done?v(O.value):new m(function(E){E(O.value)}).then(x,A)}S((g=g.apply(f,p||[])).next())})},r=Ka&&Ka.__generator||function(f,p){var m,g,v,w,x={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return w={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function A(S){return function(O){return function(E){if(m)throw new TypeError("Generator is already executing.");for(;x;)try{if(m=1,g&&(v=2&E[0]?g.return:E[0]?g.throw||((v=g.return)&&v.call(g),0):g.next)&&!(v=v.call(g,E[1])).done)return v;switch(g=0,v&&(E=[2&E[0],v.value]),E[0]){case 0:case 1:v=E;break;case 4:return x.label++,{value:E[1],done:!1};case 5:x.label++,g=E[1],E=[0];continue;case 7:E=x.ops.pop(),x.trys.pop();continue;default:if(v=x.trys,!((v=v.length>0&&v[v.length-1])||E[0]!==6&&E[0]!==2)){x=0;continue}if(E[0]===3&&(!v||E[1]>v[0]&&E[1]<v[3])){x.label=E[1];break}if(E[0]===6&&x.label<v[1]){x.label=v[1],v=E;break}if(v&&x.label<v[2]){x.label=v[2],x.ops.push(E);break}v[2]&&x.ops.pop(),x.trys.pop();continue}E=p.call(f,x)}catch(M){E=[6,M],g=0}finally{m=v=0}if(5&E[0])throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}([S,O])}}},i=Ka;Object.defineProperty(t,"__esModule",{value:!0});var o="browser-tabs-lock-key",a={key:function(f){return n(i,void 0,void 0,function(){return r(this,function(p){throw new Error("Unsupported")})})},getItem:function(f){return n(i,void 0,void 0,function(){return r(this,function(p){throw new Error("Unsupported")})})},clear:function(){return n(i,void 0,void 0,function(){return r(this,function(f){return[2,window.localStorage.clear()]})})},removeItem:function(f){return n(i,void 0,void 0,function(){return r(this,function(p){throw new Error("Unsupported")})})},setItem:function(f,p){return n(i,void 0,void 0,function(){return r(this,function(m){throw new Error("Unsupported")})})},keySync:function(f){return window.localStorage.key(f)},getItemSync:function(f){return window.localStorage.getItem(f)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(f){return window.localStorage.removeItem(f)},setItemSync:function(f,p){return window.localStorage.setItem(f,p)}};function l(f){return new Promise(function(p){return setTimeout(p,f)})}function c(f){for(var p="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",m="",g=0;g<f;g++)m+=p[Math.floor(Math.random()*p.length)];return m}var u=function(){function f(p){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+c(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),this.storageHandler=p,f.waiters===void 0&&(f.waiters=[])}return f.prototype.acquireLock=function(p,m){return m===void 0&&(m=5e3),n(this,void 0,void 0,function(){var g,v,w,x,A,S,O;return r(this,function(E){switch(E.label){case 0:g=Date.now()+c(4),v=Date.now()+m,w=o+"-"+p,x=this.storageHandler===void 0?a:this.storageHandler,E.label=1;case 1:return Date.now()<v?[4,l(30)]:[3,8];case 2:return E.sent(),x.getItemSync(w)!==null?[3,5]:(A=this.id+"-"+p+"-"+g,[4,l(Math.floor(25*Math.random()))]);case 3:return E.sent(),x.setItemSync(w,JSON.stringify({id:this.id,iat:g,timeoutKey:A,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,l(30)];case 4:return E.sent(),(S=x.getItemSync(w))!==null&&(O=JSON.parse(S)).id===this.id&&O.iat===g?(this.acquiredIatSet.add(g),this.refreshLockWhileAcquired(w,g),[2,!0]):[3,7];case 5:return f.lockCorrector(this.storageHandler===void 0?a:this.storageHandler),[4,this.waitForSomethingToChange(v)];case 6:E.sent(),E.label=7;case 7:return g=Date.now()+c(4),[3,1];case 8:return[2,!1]}})})},f.prototype.refreshLockWhileAcquired=function(p,m){return n(this,void 0,void 0,function(){var g=this;return r(this,function(v){return setTimeout(function(){return n(g,void 0,void 0,function(){var w,x,A;return r(this,function(S){switch(S.label){case 0:return[4,Ba.default().lock(m)];case 1:return S.sent(),this.acquiredIatSet.has(m)?(w=this.storageHandler===void 0?a:this.storageHandler,(x=w.getItemSync(p))===null?(Ba.default().unlock(m),[2]):((A=JSON.parse(x)).timeRefreshed=Date.now(),w.setItemSync(p,JSON.stringify(A)),Ba.default().unlock(m),this.refreshLockWhileAcquired(p,m),[2])):(Ba.default().unlock(m),[2])}})})},1e3),[2]})})},f.prototype.waitForSomethingToChange=function(p){return n(this,void 0,void 0,function(){return r(this,function(m){switch(m.label){case 0:return[4,new Promise(function(g){var v=!1,w=Date.now(),x=!1;function A(){if(x||(window.removeEventListener("storage",A),f.removeFromWaiting(A),clearTimeout(S),x=!0),!v){v=!0;var O=50-(Date.now()-w);O>0?setTimeout(g,O):g(null)}}window.addEventListener("storage",A),f.addToWaiting(A);var S=setTimeout(A,Math.max(0,p-Date.now()))})];case 1:return m.sent(),[2]}})})},f.addToWaiting=function(p){this.removeFromWaiting(p),f.waiters!==void 0&&f.waiters.push(p)},f.removeFromWaiting=function(p){f.waiters!==void 0&&(f.waiters=f.waiters.filter(function(m){return m!==p}))},f.notifyWaiters=function(){f.waiters!==void 0&&f.waiters.slice().forEach(function(p){return p()})},f.prototype.releaseLock=function(p){return n(this,void 0,void 0,function(){return r(this,function(m){switch(m.label){case 0:return[4,this.releaseLock__private__(p)];case 1:return[2,m.sent()]}})})},f.prototype.releaseLock__private__=function(p){return n(this,void 0,void 0,function(){var m,g,v,w;return r(this,function(x){switch(x.label){case 0:return m=this.storageHandler===void 0?a:this.storageHandler,g=o+"-"+p,(v=m.getItemSync(g))===null?[2]:(w=JSON.parse(v)).id!==this.id?[3,2]:[4,Ba.default().lock(w.iat)];case 1:x.sent(),this.acquiredIatSet.delete(w.iat),m.removeItemSync(g),Ba.default().unlock(w.iat),f.notifyWaiters(),x.label=2;case 2:return[2]}})})},f.lockCorrector=function(p){for(var m=Date.now()-5e3,g=p,v=[],w=0;;){var x=g.keySync(w);if(x===null)break;v.push(x),w++}for(var A=!1,S=0;S<v.length;S++){var O=v[S];if(O.includes(o)){var E=g.getItemSync(O);if(E!==null){var M=JSON.parse(E);(M.timeRefreshed===void 0&&M.timeAcquired<m||M.timeRefreshed!==void 0&&M.timeRefreshed<m)&&(g.removeItemSync(O),A=!0)}}}A&&f.notifyWaiters()},f.waiters=void 0,f}();t.default=u})),ts=S4(function(e,t){var n=Ka&&Ka.__assign||function(){return n=Object.assign||function(c){for(var u,f=1,p=arguments.length;f<p;f++)for(var m in u=arguments[f])Object.prototype.hasOwnProperty.call(u,m)&&(c[m]=u[m]);return c},n.apply(this,arguments)};function r(c,u){if(!u)return"";var f="; "+c;return u===!0?f:f+"="+u}function i(c,u,f){return encodeURIComponent(c).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(u).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(p){if(typeof p.expires=="number"){var m=new Date;m.setMilliseconds(m.getMilliseconds()+864e5*p.expires),p.expires=m}return r("Expires",p.expires?p.expires.toUTCString():"")+r("Domain",p.domain)+r("Path",p.path)+r("Secure",p.secure)+r("SameSite",p.sameSite)}(f)}function o(c){for(var u={},f=c?c.split("; "):[],p=/(%[\dA-F]{2})+/gi,m=0;m<f.length;m++){var g=f[m].split("="),v=g.slice(1).join("=");v.charAt(0)==='"'&&(v=v.slice(1,-1));try{u[g[0].replace(p,decodeURIComponent)]=v.replace(p,decodeURIComponent)}catch{}}return u}function a(){return o(document.cookie)}function l(c,u,f){document.cookie=i(c,u,n({path:"/"},f))}t.__esModule=!0,t.encode=i,t.parse=o,t.getAll=a,t.get=function(c){return a()[c]},t.set=l,t.remove=function(c,u){l(c,"",n(n({},u),{expires:-1}))}});E4(ts),ts.encode,ts.parse,ts.getAll;ts.get;ts.set;ts.remove;new MJ;Gt`
|
|
915
915
|
fragment OrganizationFields on Organization {
|
|
916
916
|
id
|
|
917
917
|
name
|
|
@@ -1280,7 +1280,7 @@ Description:
|
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
|
-
`,gte={CatalogTreatmentsFieldsElementsFragment:mte};class vte{sdk;setStore;store;authentication;getSDK;clinical;autoLogin;constructor(t,n=!1){this.sdk=t,this.autoLogin=n;const[r,i]=Ca({authentication:{isAuthenticated:!1,isInOrg:!1,permissions:[],isLoading:!0,error:void 0,user:void 0},catalog:{isLoading:!1,treatments:[],templates:[]},catalogs:{isLoading:!1,catalogs:[]},dispenseUnits:{isLoading:!1,dispenseUnits:new Array},patients:{isLoading:!1,patients:[],finished:!1},patient:{isLoading:!1,patient:void 0},prescription:{isLoading:!1,errors:[],error:void 0,data:void 0}});this.setStore=i,this.store=r,this.authentication={state:r.authentication,handleRedirect:async o=>{try{const a=await this.sdk.authentication.handleRedirect(o);pte(a?.appState),await this.authentication.checkSession()}catch(a){const c=new URLSearchParams(window.location.search).get("error_description");a.message.includes("must be an organization id")?this.setStore("authentication",{...this.store.authentication,error:"The provided organization id is invalid or does not exist"}):c?.includes("is not part of the org")?this.setStore("authentication",{...this.store.authentication,error:"User is not authorized",isLoading:!1}):this.setStore("authentication",{...this.store.authentication,error:a.message})}},checkSession:this.checkSession.bind(this),login:this.login.bind(this),logout:this.logout.bind(this)},this.getSDK=this._getSDK.bind(this),this.clinical={catalog:{state:r.catalog,getCatalog:this.getCatalog.bind(this)},catalogs:{state:r.catalogs,getCatalogs:this.getCatalogs.bind(this)},dispenseUnits:{state:r.dispenseUnits,getDispenseUnits:this.getDispenseUnits.bind(this)},patients:{state:r.patients,getPatients:this.getPatients.bind(this)},patient:{state:r.patient,getPatient:this.getPatient.bind(this)},prescription:{state:r.prescription,createPrescription:this.createPrescription.bind(this)}}}_getSDK(){return this.sdk}async checkSession(){try{await this.sdk.authentication.checkSession();const t=await this.sdk.authentication.isAuthenticated();this.setStore("authentication",{...this.store.authentication,isAuthenticated:t});const n=await this.sdk.authentication.getUser(),r=!!this.sdk?.organization&&!!n?.org_id;let i=[];if(this.autoLogin||t)try{const o=await this.sdk.authentication.getAccessToken();i=c_(o)?.permissions||[]}catch{i=[]}this.setStore("authentication",{...this.store.authentication,user:n,isLoading:!1,isInOrg:t&&r&&this.sdk.organization===n.org_id,permissions:i||[]})}catch{this.setStore("authentication",{...this.store.authentication,isLoading:!1})}}async login(t={}){await this.sdk.authentication.login(t),await this.checkSession()}async logout(t={}){await this.sdk.authentication.logout(t),this.setStore("authentication",{...this.store.authentication,isAuthenticated:!1,isInOrg:!1,permissions:[],user:void 0})}async getPatients(t){t||(t={}),this.setStore("patients",{...this.store.patients,isLoading:!0});const{data:n}=await this.sdk.clinical.patient.getPatients(t);this.setStore("patients",{...this.store.patients,isLoading:!1,patients:t.clear?n.patients:this.store.patients.patients.concat(n.patients),finished:n.patients.length==0})}async getPatient(t){this.setStore("patient",{...this.store.patient,isLoading:!0});const{data:n}=await this.sdk.clinical.patient.getPatient(t);return this.setStore("patient",{...this.store.patient,isLoading:!1,patient:n.patient}),n.patient}async getCatalog(t){this.setStore("catalog",{...this.store.catalog,isLoading:!0});const{data:n}=await this.sdk.clinical.catalog.getCatalog({id:t.id,fragment:gte});this.setStore("catalog",{...this.store.catalog,isLoading:!1,treatments:n.catalog.treatments.map(r=>r)||[],templates:n.catalog.templates.map(r=>r)||[]})}async getCatalogs(){this.setStore("catalogs",{...this.store.catalogs,isLoading:!0});const{data:t}=await this.sdk.clinical.catalog.getCatalogs();this.setStore("catalogs",{...this.store.catalogs,isLoading:!1,catalogs:t.catalogs})}async getDispenseUnits(){this.setStore("dispenseUnits",{...this.store.dispenseUnits,isLoading:!0});const{data:t}=await this.sdk.clinical.prescription.getDispenseUnits();this.setStore("dispenseUnits",{...this.store.dispenseUnits,isLoading:!1,dispenseUnits:t.dispenseUnits.map((n,r)=>({id:String(r),...n}))})}async createPrescription(t){this.setStore("prescription",{...this.store.prescription,isLoading:!0});const n=this.sdk.clinical.prescription.createPrescription({});try{const{data:r,errors:i}=await n({variables:t,refetchQueries:[],awaitRefetchQueries:!1});return i&&i.length>0&&this.setStore("prescription",{...this.store.prescription,errors:[...i]}),r?.createPrescription&&this.setStore("prescription",{...this.store.prescription,data:r.createPrescription}),this.setStore("prescription",{...this.store.prescription,isLoading:!1}),{data:r,errors:i}}catch(r){return this.setStore("prescription",{...this.store.prescription,error:r,isLoading:!1}),{data:null,errors:[]}}}}const yte=(e=window.location.search)=>{if(!e)return!1;const t=o_.parse(e);return"state"in t&&"photon"in t&&("code"in t||"error"in t)},bte=e=>/^\d+$/.test(e)&&e.length>=5;function n3(e,t){return e.every(n=>t.includes(n))}const u_=ti(),Br=()=>Nr(u_),$te="@photonhealth/elements",wte="0.10.7",_te="",xte="dist/index.js",kte="./dist/index.d.ts",Cte={start:"vite --port 3000",build:"rimraf dist && NODE_ENV=development vite build","build:prod":"npx nx run elements:build","build:watch":"rimraf dist && vite build --watch",prepublishOnly:"npm run build:prod","upload-s3":"npm run upload-s3:package-json && npm run upload-s3:dist && npm run upload-s3:package-json-latest && npm run upload-s3:dist-latest","upload-s3:package-json":"s3-deploy './package.json' --cwd './' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX","upload-s3:dist":"s3-deploy './dist/**' --cwd './dist/' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX/dist","upload-s3:package-json-latest":"s3-deploy './package.json' --cwd './' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX_LATEST","upload-s3:dist-latest":"s3-deploy './dist/**' --cwd './dist/' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX_LATEST/dist",lint:"eslint src","lint:only-errors":"eslint src --quiet","lint:fix":"eslint src --fix"},Ete={access:"public"},Ste=["dist","package.json"],Ote=[],Tte="",Ate="ISC",Nte={"@babel/core":"^7.18.13","@csstools/postcss-sass":"^5.0.1","@rollup/plugin-typescript":"^11.0.0","@types/lodash":"^4.14.185","@types/node":"^18.7.18","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1",autoprefixer:"^10.4.13","babel-loader":"^8.2.5","css-has-pseudo":"^4.0.1",eslint:"^8.31.0","eslint-plugin-unused-imports":"^2.0.0","fast-glob":"^3.2.12","open-props":"^1.4.16",postcss:"^8.4.31","postcss-custom-media":"^8.0.2","postcss-jit-props":"^1.0.7",rimraf:"^3.0.2",vite:"^3.0.6","vite-plugin-solid":"^2.3.0","vite-plugin-static-copy":"^0.13.1"},Pte={"@photonhealth/components":"*","@photonhealth/sdk":"*","@shoelace-style/shoelace":"^2.4.0","@solid-primitives/scheduled":"^1.2.0","@solid-primitives/timer":"^1.3.4","@tanstack/solid-virtual":"^3.0.0-beta.6","date-fns":"^2.29.3",graphql:"^16.6.0","graphql-tag":"^2.12.6","jwt-decode":"^3.1.2","libphonenumber-js":"^1.10.14","solid-element":"^1.6.4",superstruct:"^1.0.3"},Ite={".":{import:"./dist/index.mjs",require:"./dist/index.js"}},Mte="3283ed3794cd092af27cfc26db5ad4535853caf8",Dte={name:$te,version:wte,description:_te,main:xte,types:kte,scripts:Cte,publishConfig:Ete,files:Ste,keywords:Ote,author:Tte,license:Ate,devDependencies:Nte,dependencies:Pte,exports:Ite,gitHead:Mte},Fte=de("<slot></slot>"),Rte=de("<div></div>"),Lte=Dte?.version??"unknown",zte=e=>{let t;const n=e.redirectUri?e.redirectUri:window.location.origin,r=o_.stringifyUrl({url:n,query:{photon:!0}}),i=new $D({env:e.env,domain:e.domain,audience:e.audience,connection:e.connection,uri:e.uri,clientId:e.id,redirectURI:r,organization:e.org,developmentMode:e.developmentMode},Lte),o=new vte(i,e.autoLogin);e.developmentMode&&console.info("[PhotonClient]: Development mode enabled");const[a]=te(o),l=async()=>{await a()?.authentication.handleRedirect(),e.redirectPath&&window.location.replace(e.redirectPath)},c=async()=>{await a()?.authentication.checkSession(),Kee(async()=>{await a()?.authentication.checkSession()},6e4,setInterval)};return Ae(()=>{yte()&&a()?l():a()&&c()}),Ae(()=>{if(!a()?.authentication.state.isLoading){if(!a()?.authentication.state.isAuthenticated&&e.autoLogin){const u={appState:{}};e.redirectPath&&(u.appState.returnTo=e.redirectPath),a()?.authentication.login(u)}else if(e.externalUserId!=null&&a().authentication.state.user?.sub?.split("|").reverse()[0]!==e.externalUserId){a()?.authentication.logout();const u={appState:{}};e.redirectPath&&(u.appState.returnTo=e.redirectPath),a()?.authentication.login(u)}}}),(()=>{const u=Rte.cloneNode(!0),f=t;return typeof f=="function"?wt(f,u):t=u,z(u,$(u_.Provider,{get value(){return a()},get children(){return $(VQ,{client:i,get children(){const p=Fte.cloneNode(!0);return p._$owner=Oe(),p}})}})),u})()};qt("photon-client",{domain:{attribute:"domain",value:void 0,reflect:!1,notify:!1,parse:!1},id:{attribute:"id",value:void 0,reflect:!1,notify:!1,parse:!1},redirectUri:{attribute:"redirect-uri",value:void 0,reflect:!1,notify:!1,parse:!1},redirectPath:{attribute:"redirect-path",value:void 0,reflect:!1,notify:!1,parse:!1},org:{attribute:"org",value:void 0,reflect:!1,notify:!1,parse:!1},audience:{attribute:"audience",value:void 0,reflect:!1,notify:!1,parse:!1},connection:{attribute:"connection",value:void 0,reflect:!1,notify:!1,parse:!1},uri:{attribute:"uri",value:void 0,reflect:!1,notify:!1,parse:!1},developmentMode:{attribute:"dev-mode",value:!1,reflect:!0,notify:!1,parse:!0},errorMessage:{attribute:"error-message",value:"Oh snap! There was an error loading. Please contact your site's administrator",reflect:!1,notify:!1,parse:!1},autoLogin:{attribute:"auto-login",value:!1,reflect:!1,notify:!1,parse:!0},env:{attribute:"env",value:void 0,reflect:!1,notify:!1,parse:!1},externalUserId:{attribute:"user-id",value:void 0,reflect:!0,notify:!0,parse:!1}},zte);const En=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.left-4{left:1rem}.top-0{top:0}.z-10{z-index:10}.order-last{order:9999}.m-3{margin:.75rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.mt-2{margin-top:.5rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-\\[21px\\]{height:21px}.h-\\[28px\\]{height:28px}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-2\\/5{width:40%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-\\[40\\%\\]{min-width:40%}.min-w-\\[48\\%\\]{min-width:48%}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.bg-\\[\\#F9FAFB\\]{--tw-bg-opacity: 1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-photon-blue{--tw-bg-opacity: 1;background-color:rgb(49 130 206/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-24{padding-bottom:6rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-\\[19\\.75px\\]{padding-left:19.75px}.pr-2{padding-right:.5rem}.pt-1{padding-top:.25rem}.pt-28{padding-top:7rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.italic{font-style:italic}.leading-snug{line-height:1.375}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-card{--tw-shadow: 0px 0px 1px rgba(48, 49, 51, .05),0px 2px 4px rgba(48, 49, 51, .1);--tw-shadow-colored: 0px 0px 1px var(--tw-shadow-color), 0px 2px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.hover\\:bg-photon-blue-dark:hover{--tw-bg-opacity: 1;background-color:rgb(43 108 176/var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}.disabled\\:bg-gray-500:disabled{--tw-bg-opacity: 1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}@media (min-width: 475px){.xs\\:mx-auto{margin-left:auto;margin-right:auto}.xs\\:min-w-\\[40\\%\\]{min-width:40%}.xs\\:min-w-\\[48\\%\\]{min-width:48%}.xs\\:flex-row{flex-direction:row}.xs\\:gap-4{gap:1rem}.xs\\:pb-2{padding-bottom:.5rem}.xs\\:pt-28{padding-top:7rem}.xs\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 640px){.sm\\:order-first{order:-9999}.sm\\:mt-0{margin-top:0}.sm\\:inline{display:inline}.sm\\:grid{display:grid}.sm\\:w-\\[600px\\]{width:600px}.sm\\:w-auto{width:auto}.sm\\:flex-none{flex:none}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:gap-3{gap:.75rem}.sm\\:gap-4{gap:1rem}.sm\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.sm\\:text-right{text-align:right}}@media (min-width: 768px){.md\\:static{position:static}.md\\:mb-0{margin-bottom:0}.md\\:\\!w-auto{width:auto!important}.md\\:flex-1{flex:1 1 0%}.md\\:flex-row{flex-direction:row}.md\\:justify-center{justify-content:center}.md\\:px-4{padding-left:1rem;padding-right:1rem}.md\\:px-8{padding-left:2rem;padding-right:2rem}.md\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\\:pb-52{padding-bottom:13rem}.md\\:pr-2{padding-right:.5rem}.md\\:pt-4{padding-top:1rem}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\\:gap-2{gap:.5rem}.lg\\:pt-20{padding-top:5rem}}
|
|
1283
|
+
`,gte={CatalogTreatmentsFieldsElementsFragment:mte};class vte{sdk;setStore;store;authentication;getSDK;clinical;autoLogin;constructor(t,n=!1){this.sdk=t,this.autoLogin=n;const[r,i]=Ca({authentication:{isAuthenticated:!1,isInOrg:!1,permissions:[],isLoading:!0,error:void 0,user:void 0},catalog:{isLoading:!1,treatments:[],templates:[]},catalogs:{isLoading:!1,catalogs:[]},dispenseUnits:{isLoading:!1,dispenseUnits:new Array},patients:{isLoading:!1,patients:[],finished:!1},patient:{isLoading:!1,patient:void 0},prescription:{isLoading:!1,errors:[],error:void 0,data:void 0}});this.setStore=i,this.store=r,this.authentication={state:r.authentication,handleRedirect:async o=>{try{const a=await this.sdk.authentication.handleRedirect(o);pte(a?.appState),await this.authentication.checkSession()}catch(a){const c=new URLSearchParams(window.location.search).get("error_description");a.message.includes("must be an organization id")?this.setStore("authentication",{...this.store.authentication,error:"The provided organization id is invalid or does not exist"}):c?.includes("is not part of the org")?this.setStore("authentication",{...this.store.authentication,error:"User is not authorized",isLoading:!1}):this.setStore("authentication",{...this.store.authentication,error:a.message})}},checkSession:this.checkSession.bind(this),login:this.login.bind(this),logout:this.logout.bind(this)},this.getSDK=this._getSDK.bind(this),this.clinical={catalog:{state:r.catalog,getCatalog:this.getCatalog.bind(this)},catalogs:{state:r.catalogs,getCatalogs:this.getCatalogs.bind(this)},dispenseUnits:{state:r.dispenseUnits,getDispenseUnits:this.getDispenseUnits.bind(this)},patients:{state:r.patients,getPatients:this.getPatients.bind(this)},patient:{state:r.patient,getPatient:this.getPatient.bind(this)},prescription:{state:r.prescription,createPrescription:this.createPrescription.bind(this)}}}_getSDK(){return this.sdk}async checkSession(){try{await this.sdk.authentication.checkSession();const t=await this.sdk.authentication.isAuthenticated();this.setStore("authentication",{...this.store.authentication,isAuthenticated:t});const n=await this.sdk.authentication.getUser(),r=!!this.sdk?.organization&&!!n?.org_id;let i=[];if(this.autoLogin||t)try{const o=await this.sdk.authentication.getAccessToken();i=c_(o)?.permissions||[]}catch{i=[]}this.setStore("authentication",{...this.store.authentication,user:n,isLoading:!1,isInOrg:t&&r&&this.sdk.organization===n.org_id,permissions:i||[]})}catch{this.setStore("authentication",{...this.store.authentication,isLoading:!1})}}async login(t={}){await this.sdk.authentication.login(t),await this.checkSession()}async logout(t={}){await this.sdk.authentication.logout(t),this.setStore("authentication",{...this.store.authentication,isAuthenticated:!1,isInOrg:!1,permissions:[],user:void 0})}async getPatients(t){t||(t={}),this.setStore("patients",{...this.store.patients,isLoading:!0});const{data:n}=await this.sdk.clinical.patient.getPatients(t);this.setStore("patients",{...this.store.patients,isLoading:!1,patients:t.clear?n.patients:this.store.patients.patients.concat(n.patients),finished:n.patients.length==0})}async getPatient(t){this.setStore("patient",{...this.store.patient,isLoading:!0});const{data:n}=await this.sdk.clinical.patient.getPatient(t);return this.setStore("patient",{...this.store.patient,isLoading:!1,patient:n.patient}),n.patient}async getCatalog(t){this.setStore("catalog",{...this.store.catalog,isLoading:!0});const{data:n}=await this.sdk.clinical.catalog.getCatalog({id:t.id,fragment:gte});this.setStore("catalog",{...this.store.catalog,isLoading:!1,treatments:n.catalog.treatments.map(r=>r)||[],templates:n.catalog.templates.map(r=>r)||[]})}async getCatalogs(){this.setStore("catalogs",{...this.store.catalogs,isLoading:!0});const{data:t}=await this.sdk.clinical.catalog.getCatalogs();this.setStore("catalogs",{...this.store.catalogs,isLoading:!1,catalogs:t.catalogs})}async getDispenseUnits(){this.setStore("dispenseUnits",{...this.store.dispenseUnits,isLoading:!0});const{data:t}=await this.sdk.clinical.prescription.getDispenseUnits();this.setStore("dispenseUnits",{...this.store.dispenseUnits,isLoading:!1,dispenseUnits:t.dispenseUnits.map((n,r)=>({id:String(r),...n}))})}async createPrescription(t){this.setStore("prescription",{...this.store.prescription,isLoading:!0});const n=this.sdk.clinical.prescription.createPrescription({});try{const{data:r,errors:i}=await n({variables:t,refetchQueries:[],awaitRefetchQueries:!1});return i&&i.length>0&&this.setStore("prescription",{...this.store.prescription,errors:[...i]}),r?.createPrescription&&this.setStore("prescription",{...this.store.prescription,data:r.createPrescription}),this.setStore("prescription",{...this.store.prescription,isLoading:!1}),{data:r,errors:i}}catch(r){return this.setStore("prescription",{...this.store.prescription,error:r,isLoading:!1}),{data:null,errors:[]}}}}const yte=(e=window.location.search)=>{if(!e)return!1;const t=o_.parse(e);return"state"in t&&"photon"in t&&("code"in t||"error"in t)},bte=e=>/^\d+$/.test(e)&&e.length>=5;function n3(e,t){return e.every(n=>t.includes(n))}const u_=ti(),Br=()=>Nr(u_),$te="@photonhealth/elements",wte="0.10.9",_te="",xte="dist/index.js",kte="./dist/index.d.ts",Cte={start:"vite --port 3000",build:"rimraf dist && NODE_ENV=development vite build","build:prod":"npx nx run elements:build","build:watch":"rimraf dist && vite build --watch",prepublishOnly:"npm run build:prod","upload-s3":"npm run upload-s3:package-json && npm run upload-s3:dist && npm run upload-s3:package-json-latest && npm run upload-s3:dist-latest","upload-s3:package-json":"s3-deploy './package.json' --cwd './' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX","upload-s3:dist":"s3-deploy './dist/**' --cwd './dist/' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX/dist","upload-s3:package-json-latest":"s3-deploy './package.json' --cwd './' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX_LATEST","upload-s3:dist-latest":"s3-deploy './dist/**' --cwd './dist/' --region 'us-east-1' --bucket 'cdn.rx.dev' --filePrefix $PREFIX_LATEST/dist",lint:"eslint src","lint:only-errors":"eslint src --quiet","lint:fix":"eslint src --fix"},Ete={access:"public"},Ste=["dist","package.json"],Ote=[],Tte="",Ate="ISC",Nte={"@babel/core":"^7.18.13","@csstools/postcss-sass":"^5.0.1","@rollup/plugin-typescript":"^11.0.0","@types/lodash":"^4.14.185","@types/node":"^18.7.18","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1",autoprefixer:"^10.4.13","babel-loader":"^8.2.5","css-has-pseudo":"^4.0.1",eslint:"^8.31.0","eslint-plugin-unused-imports":"^2.0.0","fast-glob":"^3.2.12","open-props":"^1.4.16",postcss:"^8.4.31","postcss-custom-media":"^8.0.2","postcss-jit-props":"^1.0.7",rimraf:"^3.0.2",vite:"^3.0.6","vite-plugin-solid":"^2.3.0","vite-plugin-static-copy":"^0.13.1"},Pte={"@photonhealth/components":"*","@photonhealth/sdk":"*","@shoelace-style/shoelace":"^2.4.0","@solid-primitives/scheduled":"^1.2.0","@solid-primitives/timer":"^1.3.4","@tanstack/solid-virtual":"^3.0.0-beta.6","date-fns":"^2.29.3",graphql:"^16.6.0","graphql-tag":"^2.12.6","jwt-decode":"^3.1.2","libphonenumber-js":"^1.10.14","solid-element":"^1.6.4",superstruct:"^1.0.3"},Ite={".":{import:"./dist/index.mjs",require:"./dist/index.js"}},Mte="3283ed3794cd092af27cfc26db5ad4535853caf8",Dte={name:$te,version:wte,description:_te,main:xte,types:kte,scripts:Cte,publishConfig:Ete,files:Ste,keywords:Ote,author:Tte,license:Ate,devDependencies:Nte,dependencies:Pte,exports:Ite,gitHead:Mte},Fte=de("<slot></slot>"),Rte=de("<div></div>"),Lte=Dte?.version??"unknown",zte=e=>{let t;const n=e.redirectUri?e.redirectUri:window.location.origin,r=o_.stringifyUrl({url:n,query:{photon:!0}}),i=new $D({env:e.env,domain:e.domain,audience:e.audience,connection:e.connection,uri:e.uri,clientId:e.id,redirectURI:r,organization:e.org,developmentMode:e.developmentMode},Lte),o=new vte(i,e.autoLogin);e.developmentMode&&console.info("[PhotonClient]: Development mode enabled");const[a]=te(o),l=async()=>{await a()?.authentication.handleRedirect(),e.redirectPath&&window.location.replace(e.redirectPath)},c=async()=>{await a()?.authentication.checkSession(),Kee(async()=>{await a()?.authentication.checkSession()},6e4,setInterval)};return Ae(()=>{yte()&&a()?l():a()&&c()}),Ae(()=>{if(!a()?.authentication.state.isLoading){if(!a()?.authentication.state.isAuthenticated&&e.autoLogin){const u={appState:{}};e.redirectPath&&(u.appState.returnTo=e.redirectPath),a()?.authentication.login(u)}else if(e.externalUserId!=null&&a().authentication.state.user?.sub?.split("|").reverse()[0]!==e.externalUserId){a()?.authentication.logout();const u={appState:{}};e.redirectPath&&(u.appState.returnTo=e.redirectPath),a()?.authentication.login(u)}}}),(()=>{const u=Rte.cloneNode(!0),f=t;return typeof f=="function"?wt(f,u):t=u,z(u,$(u_.Provider,{get value(){return a()},get children(){return $(VQ,{client:i,get children(){const p=Fte.cloneNode(!0);return p._$owner=Oe(),p}})}})),u})()};qt("photon-client",{domain:{attribute:"domain",value:void 0,reflect:!1,notify:!1,parse:!1},id:{attribute:"id",value:void 0,reflect:!1,notify:!1,parse:!1},redirectUri:{attribute:"redirect-uri",value:void 0,reflect:!1,notify:!1,parse:!1},redirectPath:{attribute:"redirect-path",value:void 0,reflect:!1,notify:!1,parse:!1},org:{attribute:"org",value:void 0,reflect:!1,notify:!1,parse:!1},audience:{attribute:"audience",value:void 0,reflect:!1,notify:!1,parse:!1},connection:{attribute:"connection",value:void 0,reflect:!1,notify:!1,parse:!1},uri:{attribute:"uri",value:void 0,reflect:!1,notify:!1,parse:!1},developmentMode:{attribute:"dev-mode",value:!1,reflect:!0,notify:!1,parse:!0},errorMessage:{attribute:"error-message",value:"Oh snap! There was an error loading. Please contact your site's administrator",reflect:!1,notify:!1,parse:!1},autoLogin:{attribute:"auto-login",value:!1,reflect:!1,notify:!1,parse:!0},env:{attribute:"env",value:void 0,reflect:!1,notify:!1,parse:!1},externalUserId:{attribute:"user-id",value:void 0,reflect:!0,notify:!0,parse:!1}},zte);const En=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.left-4{left:1rem}.top-0{top:0}.z-10{z-index:10}.order-last{order:9999}.m-3{margin:.75rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.mt-2{margin-top:.5rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-\\[21px\\]{height:21px}.h-\\[28px\\]{height:28px}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-2\\/5{width:40%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-\\[40\\%\\]{min-width:40%}.min-w-\\[48\\%\\]{min-width:48%}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.bg-\\[\\#F9FAFB\\]{--tw-bg-opacity: 1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-photon-blue{--tw-bg-opacity: 1;background-color:rgb(49 130 206/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-24{padding-bottom:6rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-\\[19\\.75px\\]{padding-left:19.75px}.pr-2{padding-right:.5rem}.pt-1{padding-top:.25rem}.pt-28{padding-top:7rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.italic{font-style:italic}.leading-snug{line-height:1.375}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-card{--tw-shadow: 0px 0px 1px rgba(48, 49, 51, .05),0px 2px 4px rgba(48, 49, 51, .1);--tw-shadow-colored: 0px 0px 1px var(--tw-shadow-color), 0px 2px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.hover\\:bg-photon-blue-dark:hover{--tw-bg-opacity: 1;background-color:rgb(43 108 176/var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}.disabled\\:bg-gray-500:disabled{--tw-bg-opacity: 1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}@media (min-width: 475px){.xs\\:mx-auto{margin-left:auto;margin-right:auto}.xs\\:min-w-\\[40\\%\\]{min-width:40%}.xs\\:min-w-\\[48\\%\\]{min-width:48%}.xs\\:flex-row{flex-direction:row}.xs\\:gap-4{gap:1rem}.xs\\:pb-2{padding-bottom:.5rem}.xs\\:pt-28{padding-top:7rem}.xs\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 640px){.sm\\:order-first{order:-9999}.sm\\:mt-0{margin-top:0}.sm\\:inline{display:inline}.sm\\:grid{display:grid}.sm\\:w-\\[600px\\]{width:600px}.sm\\:w-auto{width:auto}.sm\\:flex-none{flex:none}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:gap-3{gap:.75rem}.sm\\:gap-4{gap:1rem}.sm\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.sm\\:text-right{text-align:right}}@media (min-width: 768px){.md\\:static{position:static}.md\\:mb-0{margin-bottom:0}.md\\:\\!w-auto{width:auto!important}.md\\:flex-1{flex:1 1 0%}.md\\:flex-row{flex-direction:row}.md\\:justify-center{justify-content:center}.md\\:px-4{padding-left:1rem;padding-right:1rem}.md\\:px-8{padding-left:2rem;padding-right:2rem}.md\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\\:pb-52{padding-bottom:13rem}.md\\:pr-2{padding-right:.5rem}.md\\:pt-4{padding-top:1rem}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\\:gap-2{gap:.5rem}.lg\\:pt-20{padding-top:5rem}}
|
|
1284
1284
|
`,jte=de("<style></style>"),Ute=de('<button class="w-full disabled:bg-gray-500 bg-photon-blue hover:bg-blue-700 text-white h-10 px-4 rounded-lg font-sans hover:bg-photon-blue-dark transition ease-in-out delay-50"></button>'),Vte=e=>{const t=Br();return Ae(()=>{t||console.error("[photon-auth-button] No valid PhotonClient instance was provided. Please ensure you are wrapping the element in a photon-client element")}),[(()=>{const n=jte.cloneNode(!0);return z(n,En),n})(),t?(()=>{const n=Ute.cloneNode(!0);return n.$$click=async()=>{const r={appState:{}};e.redirectPath&&(r.appState.returnTo=e.redirectPath),t.authentication.state.isAuthenticated?await t.authentication.logout():await t.authentication.login(r)},z(n,()=>t.authentication.state.isAuthenticated?"Log out":"Log in"),ve(()=>n.disabled=t.authentication.state.isLoading),n})():null]};qt("photon-auth-button",{redirectPath:{attribute:"redirect-path",value:void 0,reflect:!1,notify:!1,parse:!1}},Vte);I2(["click"]);const Bte=de("<style></style>"),Hte=de(`<div class="flex flex-col w-screen max-w-sm"><svg viewBox="0 0 305 62.61" xmlns="http://www.w3.org/2000/svg" class="h-[28px] pl-[19.75px]"><g fill="#273D52"><path d="M0 54.1169H6.81375V35.7722H18.0826C29.5481 35.7722 34.3963 30.3343 34.3963 18.7378V17.4275C34.3963 5.76548 29.417 0.655167 18.0826 0.655167H0V54.1169ZM6.81375 30.1377V6.28961H18.2792C24.7653 6.28961 27.386 8.9758 27.386 16.0516V20.0481C27.386 27.1895 24.7653 30.1377 18.2792 30.1377H6.81375Z"></path><path d="M70.9593 54.1169H77.773V0.655167H70.9593V24.4378H50.8456V0.655167H44.0319V54.1169H50.8456V30.3343H70.9593V54.1169Z"></path><path d="M107.146 54.772C119.528 54.772 125.687 46.5169 125.687 34.9205V19.7861C125.687 8.25511 119.528 0 107.146 0C94.6974 0 88.5388 8.25511 88.5388 19.7861V34.9205C88.5388 46.5169 94.6974 54.772 107.146 54.772ZM95.5491 35.9687V18.8033C95.5491 10.7448 99.4801 5.89651 107.146 5.89651C114.745 5.89651 118.677 10.7448 118.677 18.8033V35.9687C118.677 44.0928 114.745 48.8755 107.146 48.8755C99.4801 48.8755 95.5491 44.0928 95.5491 35.9687Z"></path><path d="M144.295 54.1169H151.109V6.48616H164.54V0.655167H130.864V6.48616H144.295V54.1169Z"></path><path d="M188.299 54.772C200.682 54.772 206.841 46.5169 206.841 34.9205V19.7861C206.841 8.25511 200.682 0 188.299 0C175.851 0 169.693 8.25511 169.693 19.7861V34.9205C169.693 46.5169 175.851 54.772 188.299 54.772ZM176.703 35.9687V18.8033C176.703 10.7448 180.634 5.89651 188.299 5.89651C195.899 5.89651 199.83 10.7448 199.83 18.8033V35.9687C199.83 44.0928 195.899 48.8755 188.299 48.8755C180.634 48.8755 176.703 44.0928 176.703 35.9687Z"></path><path d="M217.6 54.1169H224.021V14.3482L245.576 54.1169H252.608L248.058 45.1084L245.641 40.4239L224.086 0.655167H217.6V54.1169Z"></path></g><g fill="#B35724"><circle cx="249.798" cy="5.202" r="5.202"></circle></g></svg><h1 class="font-medium text-3xl text-center font-sans mt-6 mb-3">Log in to your account</h1><p class="text-gray-500 font-sans text-center mb-8">Don't have an account? <a href="mailto:rado@photon.health" class="text-teal-600 hover:underline hover:cursor-pointer font-sans font-light">Contact Sales</a></p><photon-auth-button></photon-auth-button></div>`),qte=e=>{const t=Br();return Ae(()=>{t||console.error("[photon-login] No valid PhotonClient instance was provided. Please ensure you are wrapping the element in a photon-client element")}),[(()=>{const n=Bte.cloneNode(!0);return z(n,En),n})(),(()=>{const n=Ce(()=>document.importNode(Hte,!0)),r=n.firstChild,i=r.nextSibling,o=i.nextSibling,a=o.nextSibling;return a._$owner=Oe(),ve(()=>a.redirectPath=e.redirectPath),n})()]};qt("photon-login",{redirectPath:{attribute:"redirect-path",value:void 0,reflect:!1,notify:!1,parse:!1}},qte);var N4=(e,t)=>{let n;const r=()=>clearTimeout(n);return Oe()&&Sr(r),Object.assign((...o)=>{n!==void 0&&r(),n=setTimeout(()=>e(...o),t)},{clear:r})},x0=window,P4=x0.ShadowRoot&&(x0.ShadyCSS===void 0||x0.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I4=Symbol(),U7=new WeakMap,f_=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==I4)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(P4&&e===void 0){const n=t!==void 0&&t.length===1;n&&(e=U7.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&U7.set(t,e))}return e}toString(){return this.cssText}},Wte=e=>new f_(typeof e=="string"?e:e+"",void 0,I4),Qn=(e,...t)=>{const n=e.length===1?e[0]:t.reduce((r,i,o)=>r+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new f_(n,e,I4)},Gte=(e,t)=>{P4?e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):t.forEach(n=>{const r=document.createElement("style"),i=x0.litNonce;i!==void 0&&r.setAttribute("nonce",i),r.textContent=n.cssText,e.appendChild(r)})},V7=P4?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let n="";for(const r of t.cssRules)n+=r.cssText;return Wte(n)})(e):e,d5,L1=window,B7=L1.trustedTypes,Yte=B7?B7.emptyScript:"",H7=L1.reactiveElementPolyfillSupport,mc={toAttribute(e,t){switch(t){case Boolean:e=e?Yte:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},h_=(e,t)=>t!==e&&(t==t||e==e),c5={attribute:!0,type:String,converter:mc,reflect:!1,hasChanged:h_},nl=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,n)=>{const r=this._$Ep(n,t);r!==void 0&&(this._$Ev.set(r,n),e.push(r))}),e}static createProperty(e,t=c5){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n=typeof e=="symbol"?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,t);r!==void 0&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){const i=this[e];this[t]=r,this.requestUpdate(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||c5}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,n=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of n)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const r of n)t.unshift(V7(r))}else e!==void 0&&t.push(V7(e));return t}static _$Ep(e,t){const n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,n;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)===null||n===void 0||n.call(e))}removeController(e){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Gte(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(t=>{var n;return(n=t.hostConnected)===null||n===void 0?void 0:n.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var n;return(n=t.hostDisconnected)===null||n===void 0?void 0:n.call(t)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=c5){var r;const i=this.constructor._$Ep(e,n);if(i!==void 0&&n.reflect===!0){const o=(((r=n.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?n.converter:mc).toAttribute(t,n.type);this._$El=e,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$El=null}}_$AK(e,t){var n;const r=this.constructor,i=r._$Ev.get(e);if(i!==void 0&&this._$El!==i){const o=r.getPropertyOptions(i),a=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?o.converter:mc;this._$El=i,this[i]=a.fromAttribute(t,o.type),this._$El=null}}requestUpdate(e,t,n){let r=!0;e!==void 0&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||h_)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,i)=>this[i]=r),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var i;return(i=r.hostUpdate)===null||i===void 0?void 0:i.call(r)}),this.update(n)):this._$Ek()}catch(r){throw t=!1,this._$Ek(),r}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(n=>{var r;return(r=n.hostUpdated)===null||r===void 0?void 0:r.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((t,n)=>this._$EO(n,this[n],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};nl.finalized=!0,nl.elementProperties=new Map,nl.elementStyles=[],nl.shadowRootOptions={mode:"open"},H7?.({ReactiveElement:nl}),((d5=L1.reactiveElementVersions)!==null&&d5!==void 0?d5:L1.reactiveElementVersions=[]).push("1.6.1");var u5,z1=window,Al=z1.trustedTypes,q7=Al?Al.createPolicy("lit-html",{createHTML:e=>e}):void 0,la=`lit$${(Math.random()+"").slice(9)}$`,p_="?"+la,Qte=`<${p_}>`,Nl=document,gc=(e="")=>Nl.createComment(e),vc=e=>e===null||typeof e!="object"&&typeof e!="function",m_=Array.isArray,Kte=e=>m_(e)||typeof e?.[Symbol.iterator]=="function",Id=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W7=/-->/g,G7=/>/g,ja=RegExp(`>|[
|
|
1285
1285
|
\f\r](?:([^\\s"'>=/]+)([
|
|
1286
1286
|
\f\r]*=[
|
|
@@ -1544,7 +1544,7 @@ lit-html/directives/class-map.js:
|
|
|
1544
1544
|
background: var(--arrow-color);
|
|
1545
1545
|
z-index: -1;
|
|
1546
1546
|
}
|
|
1547
|
-
`;function Hl(e){return e.split("-")[1]}function D4(e){return e==="y"?"height":"width"}function fa(e){return e.split("-")[0]}function ql(e){return["top","bottom"].includes(fa(e))?"x":"y"}function r8(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,l=ql(t),c=D4(l),u=r[c]/2-i[c]/2,f=l==="x";let p;switch(fa(t)){case"top":p={x:o,y:r.y-i.height};break;case"bottom":p={x:o,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-i.width,y:a};break;default:p={x:r.x,y:r.y}}switch(Hl(t)){case"start":p[l]-=u*(n&&f?-1:1);break;case"end":p[l]+=u*(n&&f?-1:1)}return p}var $ne=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:p}=r8(u,r,c),m=r,g={},v=0;for(let w=0;w<l.length;w++){const{name:x,fn:A}=l[w],{x:S,y:O,data:E,reset:M}=await A({x:f,y:p,initialPlacement:r,placement:m,strategy:i,middlewareData:g,rects:u,platform:a,elements:{reference:e,floating:t}});f=S??f,p=O??p,g=Or(nn({},g),{[x]:nn(nn({},g[x]),E)}),M&&v<=50&&(v++,typeof M=="object"&&(M.placement&&(m=M.placement),M.rects&&(u=M.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):M.rects),{x:f,y:p}=r8(u,m,c)),w=-1)}return{x:f,y:p,placement:m,strategy:i,middlewareData:g}};function S_(e){return typeof e!="number"?function(t){return nn({top:0,right:0,bottom:0,left:0},t)}(e):{top:e,right:e,bottom:e,left:e}}function i3(e){return Or(nn({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}async function F4(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=t,v=S_(g),w=l[m?p==="floating"?"reference":"floating":p],x=i3(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:c})),A=p==="floating"?Or(nn({},a.floating),{x:r,y:i}):a.reference,S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),O=await(o.isElement==null?void 0:o.isElement(S))&&await(o.getScale==null?void 0:o.getScale(S))||{x:1,y:1},E=i3(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:S,strategy:c}):A);return{top:(x.top-E.top+v.top)/O.y,bottom:(E.bottom-x.bottom+v.bottom)/O.y,left:(x.left-E.left+v.left)/O.x,right:(E.right-x.right+v.right)/O.x}}var o3=Math.min,qa=Math.max;function a3(e,t,n){return qa(e,o3(t,n))}var wne=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e||{},{x:i,y:o,placement:a,rects:l,platform:c}=t;if(n==null)return{};const u=S_(r),f={x:i,y:o},p=ql(a),m=D4(p),g=await c.getDimensions(n),v=p==="y"?"top":"left",w=p==="y"?"bottom":"right",x=l.reference[m]+l.reference[p]-f[p]-l.floating[m],A=f[p]-l.reference[p],S=await(c.getOffsetParent==null?void 0:c.getOffsetParent(n));let O=S?p==="y"?S.clientHeight||0:S.clientWidth||0:0;O===0&&(O=l.floating[m]);const E=x/2-A/2,M=u[v],P=O-g[m]-u[w],L=O/2-g[m]/2+E,U=a3(M,L,P),Z=Hl(a)!=null&&L!=U&&l.reference[m]/2-(L<M?u[v]:u[w])-g[m]/2<0;return{[p]:f[p]-(Z?L<M?M-L:P-L:0),data:{[p]:U,centerOffset:L-U}}}}),_ne=["top","right","bottom","left"];_ne.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);var xne={left:"right",right:"left",bottom:"top",top:"bottom"};function V1(e){return e.replace(/left|right|bottom|top/g,t=>xne[t])}function kne(e,t,n){n===void 0&&(n=!1);const r=Hl(e),i=ql(e),o=D4(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=V1(a)),{main:a,cross:V1(a)}}var Cne={start:"end",end:"start"};function m5(e){return e.replace(/start|end/g,t=>Cne[t])}var Ene=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:c}=t,u=e,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:w=!0}=u,x=M4(u,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]),A=fa(r),S=fa(a)===a,O=await(l.isRTL==null?void 0:l.isRTL(c.floating)),E=m||(S||!w?[V1(a)]:function(G){const re=V1(G);return[m5(G),re,m5(re)]}(a));m||v==="none"||E.push(...function(G,re,K,H){const ye=Hl(G);let pe=function(J,we,ee){const ae=["left","right"],ne=["right","left"],ze=["top","bottom"],Be=["bottom","top"];switch(J){case"top":case"bottom":return ee?we?ne:ae:we?ae:ne;case"left":case"right":return we?ze:Be;default:return[]}}(fa(G),K==="start",H);return ye&&(pe=pe.map(J=>J+"-"+ye),re&&(pe=pe.concat(pe.map(m5)))),pe}(a,w,v,O));const M=[a,...E],P=await F4(t,x),L=[];let U=((n=i.flip)==null?void 0:n.overflows)||[];if(f&&L.push(P[A]),p){const{main:G,cross:re}=kne(r,o,O);L.push(P[G],P[re])}if(U=[...U,{placement:r,overflows:L}],!L.every(G=>G<=0)){var Z,ce;const G=(((Z=i.flip)==null?void 0:Z.index)||0)+1,re=M[G];if(re)return{data:{index:G,overflows:U},reset:{placement:re}};let K=(ce=U.filter(H=>H.overflows[0]<=0).sort((H,ye)=>H.overflows[1]-ye.overflows[1])[0])==null?void 0:ce.placement;if(!K)switch(g){case"bestFit":{var Q;const H=(Q=U.map(ye=>[ye.placement,ye.overflows.filter(pe=>pe>0).reduce((pe,J)=>pe+J,0)]).sort((ye,pe)=>ye[1]-pe[1])[0])==null?void 0:Q[0];H&&(K=H);break}case"initialPlacement":K=a}if(r!==K)return{reset:{placement:K}}}return{}}}},Sne=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:l,platform:c,elements:u}=o,f=await(c.isRTL==null?void 0:c.isRTL(u.floating)),p=fa(l),m=Hl(l),g=ql(l)==="x",v=["left","top"].includes(p)?-1:1,w=f&&g?-1:1,x=typeof a=="function"?a(o):a;let{mainAxis:A,crossAxis:S,alignmentAxis:O}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:nn({mainAxis:0,crossAxis:0,alignmentAxis:null},x);return m&&typeof O=="number"&&(S=m==="end"?-1*O:O),g?{x:S*w,y:A*v}:{x:A*v,y:S*w}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function One(e){return e==="x"?"y":"x"}var Tne=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,o=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:A=>{let{x:S,y:O}=A;return{x:S,y:O}}}}=o,u=M4(o,["mainAxis","crossAxis","limiter"]),f={x:n,y:r},p=await F4(t,u),m=ql(fa(i)),g=One(m);let v=f[m],w=f[g];if(a){const A=m==="y"?"bottom":"right";v=a3(v+p[m==="y"?"top":"left"],v,v-p[A])}if(l){const A=g==="y"?"bottom":"right";w=a3(w+p[g==="y"?"top":"left"],w,w-p[A])}const x=c.fn(Or(nn({},t),{[m]:v,[g]:w}));return Or(nn({},x),{data:{x:x.x-n,y:x.y-r}})}}},i8=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,a=e,{apply:l=()=>{}}=a,c=M4(a,["apply"]),u=await F4(t,c),f=fa(n),p=Hl(n),m=ql(n)==="x",{width:g,height:v}=r.floating;let w,x;f==="top"||f==="bottom"?(w=f,x=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(x=f,w=p==="end"?"top":"bottom");const A=v-u[w],S=g-u[x];let O=A,E=S;if(m?E=o3(g-u.right-u.left,S):O=o3(v-u.bottom-u.top,A),!t.middlewareData.shift&&!p){const P=qa(u.left,0),L=qa(u.right,0),U=qa(u.top,0),Z=qa(u.bottom,0);m?E=g-2*(P!==0||L!==0?P+L:qa(u.left,u.right)):O=v-2*(U!==0||Z!==0?U+Z:qa(u.top,u.bottom))}await l(Or(nn({},t),{availableWidth:E,availableHeight:O}));const M=await i.getDimensions(o.floating);return g!==M.width||v!==M.height?{reset:{rects:!0}}:{}}}};function Zr(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ao(e){return Zr(e).getComputedStyle(e)}var o8=Math.min,Xd=Math.max,B1=Math.round;function O_(e){const t=ao(e);let n=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,o=e.offsetHeight,a=B1(n)!==i||B1(r)!==o;return a&&(n=i,r=o),{width:n,height:r,fallback:a}}function xa(e){return A_(e)?(e.nodeName||"").toLowerCase():""}var n0;function T_(){if(n0)return n0;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(n0=e.brands.map(t=>t.brand+"/"+t.version).join(" "),n0):navigator.userAgent}function so(e){return e instanceof Zr(e).HTMLElement}function Ri(e){return e instanceof Zr(e).Element}function A_(e){return e instanceof Zr(e).Node}function a8(e){return typeof ShadowRoot>"u"?!1:e instanceof Zr(e).ShadowRoot||e instanceof ShadowRoot}function rf(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ao(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Ane(e){return["table","td","th"].includes(xa(e))}function s3(e){const t=/firefox/i.test(T_()),n=ao(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function l3(){return/^((?!chrome|android).)*safari/i.test(T_())}function R4(e){return["html","body","#document"].includes(xa(e))}function N_(e){return Ri(e)?e:e.contextElement}var P_={x:1,y:1};function yl(e){const t=N_(e);if(!so(t))return P_;const n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=O_(t);let a=(o?B1(n.width):n.width)/r,l=(o?B1(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function vs(e,t,n,r){var i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),l=N_(e);let c=P_;t&&(r?Ri(r)&&(c=yl(r)):c=yl(e));const u=l?Zr(l):window,f=l3()&&n;let p=(a.left+(f&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/c.x,m=(a.top+(f&&((o=u.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,g=a.width/c.x,v=a.height/c.y;if(l){const w=Zr(l),x=r&&Ri(r)?Zr(r):r;let A=w.frameElement;for(;A&&r&&x!==w;){const S=yl(A),O=A.getBoundingClientRect(),E=getComputedStyle(A);O.x+=(A.clientLeft+parseFloat(E.paddingLeft))*S.x,O.y+=(A.clientTop+parseFloat(E.paddingTop))*S.y,p*=S.x,m*=S.y,g*=S.x,v*=S.y,p+=O.x,m+=O.y,A=Zr(A).frameElement}}return{width:g,height:v,top:m,right:p+g,bottom:m+v,left:p,x:p,y:m}}function ha(e){return((A_(e)?e.ownerDocument:e.document)||window.document).documentElement}function of(e){return Ri(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function I_(e){return vs(ha(e)).left+of(e).scrollLeft}function yc(e){if(xa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||a8(e)&&e.host||ha(e);return a8(t)?t.host:t}function M_(e){const t=yc(e);return R4(t)?t.ownerDocument.body:so(t)&&rf(t)?t:M_(t)}function Jd(e,t){var n;t===void 0&&(t=[]);const r=M_(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Zr(r);return i?t.concat(o,o.visualViewport||[],rf(r)?r:[]):t.concat(r,Jd(r))}function s8(e,t,n){let r;if(t==="viewport")r=function(a,l){const c=Zr(a),u=ha(a),f=c.visualViewport;let p=u.clientWidth,m=u.clientHeight,g=0,v=0;if(f){p=f.width,m=f.height;const w=l3();(!w||w&&l==="fixed")&&(g=f.offsetLeft,v=f.offsetTop)}return{width:p,height:m,x:g,y:v}}(e,n);else if(t==="document")r=function(a){const l=ha(a),c=of(a),u=a.ownerDocument.body,f=Xd(l.scrollWidth,l.clientWidth,u.scrollWidth,u.clientWidth),p=Xd(l.scrollHeight,l.clientHeight,u.scrollHeight,u.clientHeight);let m=-c.scrollLeft+I_(a);const g=-c.scrollTop;return ao(u).direction==="rtl"&&(m+=Xd(l.clientWidth,u.clientWidth)-f),{width:f,height:p,x:m,y:g}}(ha(e));else if(Ri(t))r=function(a,l){const c=vs(a,!0,l==="fixed"),u=c.top+a.clientTop,f=c.left+a.clientLeft,p=so(a)?yl(a):{x:1,y:1};return{width:a.clientWidth*p.x,height:a.clientHeight*p.y,x:f*p.x,y:u*p.y}}(t,n);else{const a=nn({},t);if(l3()){var i,o;const l=Zr(e);a.x-=((i=l.visualViewport)==null?void 0:i.offsetLeft)||0,a.y-=((o=l.visualViewport)==null?void 0:o.offsetTop)||0}r=a}return i3(r)}function l8(e,t){return so(e)&&ao(e).position!=="fixed"?t?t(e):e.offsetParent:null}function d8(e,t){const n=Zr(e);let r=l8(e,t);for(;r&&Ane(r)&&ao(r).position==="static";)r=l8(r,t);return r&&(xa(r)==="html"||xa(r)==="body"&&ao(r).position==="static"&&!s3(r))?n:r||function(i){let o=yc(i);for(;so(o)&&!R4(o);){if(s3(o))return o;o=yc(o)}return null}(e)||n}function Nne(e,t,n){const r=so(t),i=ha(t),o=vs(e,!0,n==="fixed",t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((xa(t)!=="body"||rf(i))&&(a=of(t)),so(t)){const c=vs(t,!0);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else i&&(l.x=I_(i));return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}var k0={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=n==="clippingAncestors"?function(u,f){const p=f.get(u);if(p)return p;let m=Jd(u).filter(x=>Ri(x)&&xa(x)!=="body"),g=null;const v=ao(u).position==="fixed";let w=v?yc(u):u;for(;Ri(w)&&!R4(w);){const x=ao(w),A=s3(w);x.position==="fixed"?g=null:(v?A||g:A||x.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=x:m=m.filter(S=>S!==w),w=yc(w)}return f.set(u,m),m}(t,this._c):[].concat(n),a=[...o,r],l=a[0],c=a.reduce((u,f)=>{const p=s8(t,f,i);return u.top=Xd(p.top,u.top),u.right=o8(p.right,u.right),u.bottom=o8(p.bottom,u.bottom),u.left=Xd(p.left,u.left),u},s8(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=so(n),o=ha(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((i||!i&&r!=="fixed")&&((xa(n)!=="body"||rf(o))&&(a=of(n)),so(n))){const u=vs(n);l=yl(n),c.x=u.x+n.clientLeft,c.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+c.x,y:t.y*l.y-a.scrollTop*l.y+c.y}},isElement:Ri,getDimensions:function(e){return so(e)?O_(e):e.getBoundingClientRect()},getOffsetParent:d8,getDocumentElement:ha,getScale:yl,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||d8,o=this.getDimensions;return{reference:Nne(t,await i(n),r),floating:nn({x:0,y:0},await o(n))}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ao(e).direction==="rtl"};function Pne(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:l=!1}=r,c=i&&!l,u=c||o?[...Ri(e)?Jd(e):e.contextElement?Jd(e.contextElement):[],...Jd(t)]:[];u.forEach(g=>{c&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});let f,p=null;if(a){let g=!0;p=new ResizeObserver(()=>{g||n(),g=!1}),Ri(e)&&!l&&p.observe(e),Ri(e)||!e.contextElement||l||p.observe(e.contextElement),p.observe(t)}let m=l?vs(e):null;return l&&function g(){const v=vs(e);!m||v.x===m.x&&v.y===m.y&&v.width===m.width&&v.height===m.height||n(),m=v,f=requestAnimationFrame(g)}(),n(),()=>{var g;u.forEach(v=>{c&&v.removeEventListener("scroll",n),o&&v.removeEventListener("resize",n)}),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(f)}}var Ine=(e,t,n)=>{const r=new Map,i=nn({platform:k0},n),o=Or(nn({},i.platform),{_c:r});return $ne(e,t,Or(nn({},i),{platform:o}))};function Mne(e){return Dne(e)}function g5(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Dne(e){for(let t=e;t;t=g5(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=g5(e);t;t=g5(t)){if(!(t instanceof Element))continue;const n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||t.tagName==="BODY"))return t}return null}var en=class extends Kn{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){this.stop()}async updated(e){super.updated(e),e.has("active")&&(this.active?this.start():this.stop()),e.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const e=this.getRootNode();this.anchorEl=e.getElementById(this.anchor)}else this.anchor instanceof Element?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){!this.anchorEl||(this.cleanup=Pne(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(e=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>e())):e()})}reposition(){if(!this.active||!this.anchorEl)return;const e=[Sne({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?e.push(i8({apply:({rects:n})=>{const r=this.sync==="width"||this.sync==="both",i=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${n.reference.width}px`:"",this.popup.style.height=i?`${n.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&e.push(Ene({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&e.push(Tne({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?e.push(i8({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:n,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${n}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&e.push(wne({element:this.arrowEl,padding:this.arrowPadding}));const t=this.strategy==="absolute"?n=>k0.getOffsetParent(n,Mne):k0.getOffsetParent;Ine(this.anchorEl,this.popup,{placement:this.placement,middleware:e,strategy:this.strategy,platform:Or(nn({},k0),{getOffsetParent:t})}).then(({x:n,y:r,middlewareData:i,placement:o})=>{const a=getComputedStyle(this).direction==="rtl",l={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]];if(this.setAttribute("data-current-placement",o),Object.assign(this.popup.style,{left:`${n}px`,top:`${r}px`}),this.arrow){const c=i.arrow.x,u=i.arrow.y;let f="",p="",m="",g="";if(this.arrowPlacement==="start"){const v=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",p=a?v:"",g=a?"":v}else if(this.arrowPlacement==="end"){const v=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";p=a?"":v,g=a?v:"",m=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(g=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",f=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(g=typeof c=="number"?`${c}px`:"",f=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:f,right:p,bottom:m,left:g,[l]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return dn`
|
|
1547
|
+
`;function Hl(e){return e.split("-")[1]}function D4(e){return e==="y"?"height":"width"}function fa(e){return e.split("-")[0]}function ql(e){return["top","bottom"].includes(fa(e))?"x":"y"}function r8(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,l=ql(t),c=D4(l),u=r[c]/2-i[c]/2,f=l==="x";let p;switch(fa(t)){case"top":p={x:o,y:r.y-i.height};break;case"bottom":p={x:o,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-i.width,y:a};break;default:p={x:r.x,y:r.y}}switch(Hl(t)){case"start":p[l]-=u*(n&&f?-1:1);break;case"end":p[l]+=u*(n&&f?-1:1)}return p}var $ne=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:p}=r8(u,r,c),m=r,g={},v=0;for(let w=0;w<l.length;w++){const{name:x,fn:A}=l[w],{x:S,y:O,data:E,reset:M}=await A({x:f,y:p,initialPlacement:r,placement:m,strategy:i,middlewareData:g,rects:u,platform:a,elements:{reference:e,floating:t}});f=S??f,p=O??p,g=Or(nn({},g),{[x]:nn(nn({},g[x]),E)}),M&&v<=50&&(v++,typeof M=="object"&&(M.placement&&(m=M.placement),M.rects&&(u=M.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):M.rects),{x:f,y:p}=r8(u,m,c)),w=-1)}return{x:f,y:p,placement:m,strategy:i,middlewareData:g}};function S_(e){return typeof e!="number"?function(t){return nn({top:0,right:0,bottom:0,left:0},t)}(e):{top:e,right:e,bottom:e,left:e}}function i3(e){return Or(nn({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}async function F4(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=t,v=S_(g),w=l[m?p==="floating"?"reference":"floating":p],x=i3(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:c})),A=p==="floating"?Or(nn({},a.floating),{x:r,y:i}):a.reference,S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),O=await(o.isElement==null?void 0:o.isElement(S))&&await(o.getScale==null?void 0:o.getScale(S))||{x:1,y:1},E=i3(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:S,strategy:c}):A);return{top:(x.top-E.top+v.top)/O.y,bottom:(E.bottom-x.bottom+v.bottom)/O.y,left:(x.left-E.left+v.left)/O.x,right:(E.right-x.right+v.right)/O.x}}var o3=Math.min,qa=Math.max;function a3(e,t,n){return qa(e,o3(t,n))}var wne=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e||{},{x:i,y:o,placement:a,rects:l,platform:c}=t;if(n==null)return{};const u=S_(r),f={x:i,y:o},p=ql(a),m=D4(p),g=await c.getDimensions(n),v=p==="y"?"top":"left",w=p==="y"?"bottom":"right",x=l.reference[m]+l.reference[p]-f[p]-l.floating[m],A=f[p]-l.reference[p],S=await(c.getOffsetParent==null?void 0:c.getOffsetParent(n));let O=S?p==="y"?S.clientHeight||0:S.clientWidth||0:0;O===0&&(O=l.floating[m]);const E=x/2-A/2,M=u[v],P=O-g[m]-u[w],L=O/2-g[m]/2+E,U=a3(M,L,P),Z=Hl(a)!=null&&L!=U&&l.reference[m]/2-(L<M?u[v]:u[w])-g[m]/2<0;return{[p]:f[p]-(Z?L<M?M-L:P-L:0),data:{[p]:U,centerOffset:L-U}}}}),_ne=["top","right","bottom","left"];_ne.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);var xne={left:"right",right:"left",bottom:"top",top:"bottom"};function V1(e){return e.replace(/left|right|bottom|top/g,t=>xne[t])}function kne(e,t,n){n===void 0&&(n=!1);const r=Hl(e),i=ql(e),o=D4(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=V1(a)),{main:a,cross:V1(a)}}var Cne={start:"end",end:"start"};function m5(e){return e.replace(/start|end/g,t=>Cne[t])}var Ene=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:c}=t,u=e,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:w=!0}=u,x=M4(u,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]),A=fa(r),S=fa(a)===a,O=await(l.isRTL==null?void 0:l.isRTL(c.floating)),E=m||(S||!w?[V1(a)]:function(G){const re=V1(G);return[m5(G),re,m5(re)]}(a));m||v==="none"||E.push(...function(G,re,K,H){const ye=Hl(G);let pe=function(ee,we,X){const ae=["left","right"],ne=["right","left"],ze=["top","bottom"],Be=["bottom","top"];switch(ee){case"top":case"bottom":return X?we?ne:ae:we?ae:ne;case"left":case"right":return we?ze:Be;default:return[]}}(fa(G),K==="start",H);return ye&&(pe=pe.map(ee=>ee+"-"+ye),re&&(pe=pe.concat(pe.map(m5)))),pe}(a,w,v,O));const M=[a,...E],P=await F4(t,x),L=[];let U=((n=i.flip)==null?void 0:n.overflows)||[];if(f&&L.push(P[A]),p){const{main:G,cross:re}=kne(r,o,O);L.push(P[G],P[re])}if(U=[...U,{placement:r,overflows:L}],!L.every(G=>G<=0)){var Z,ce;const G=(((Z=i.flip)==null?void 0:Z.index)||0)+1,re=M[G];if(re)return{data:{index:G,overflows:U},reset:{placement:re}};let K=(ce=U.filter(H=>H.overflows[0]<=0).sort((H,ye)=>H.overflows[1]-ye.overflows[1])[0])==null?void 0:ce.placement;if(!K)switch(g){case"bestFit":{var Q;const H=(Q=U.map(ye=>[ye.placement,ye.overflows.filter(pe=>pe>0).reduce((pe,ee)=>pe+ee,0)]).sort((ye,pe)=>ye[1]-pe[1])[0])==null?void 0:Q[0];H&&(K=H);break}case"initialPlacement":K=a}if(r!==K)return{reset:{placement:K}}}return{}}}},Sne=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:l,platform:c,elements:u}=o,f=await(c.isRTL==null?void 0:c.isRTL(u.floating)),p=fa(l),m=Hl(l),g=ql(l)==="x",v=["left","top"].includes(p)?-1:1,w=f&&g?-1:1,x=typeof a=="function"?a(o):a;let{mainAxis:A,crossAxis:S,alignmentAxis:O}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:nn({mainAxis:0,crossAxis:0,alignmentAxis:null},x);return m&&typeof O=="number"&&(S=m==="end"?-1*O:O),g?{x:S*w,y:A*v}:{x:A*v,y:S*w}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function One(e){return e==="x"?"y":"x"}var Tne=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,o=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:A=>{let{x:S,y:O}=A;return{x:S,y:O}}}}=o,u=M4(o,["mainAxis","crossAxis","limiter"]),f={x:n,y:r},p=await F4(t,u),m=ql(fa(i)),g=One(m);let v=f[m],w=f[g];if(a){const A=m==="y"?"bottom":"right";v=a3(v+p[m==="y"?"top":"left"],v,v-p[A])}if(l){const A=g==="y"?"bottom":"right";w=a3(w+p[g==="y"?"top":"left"],w,w-p[A])}const x=c.fn(Or(nn({},t),{[m]:v,[g]:w}));return Or(nn({},x),{data:{x:x.x-n,y:x.y-r}})}}},i8=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,a=e,{apply:l=()=>{}}=a,c=M4(a,["apply"]),u=await F4(t,c),f=fa(n),p=Hl(n),m=ql(n)==="x",{width:g,height:v}=r.floating;let w,x;f==="top"||f==="bottom"?(w=f,x=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(x=f,w=p==="end"?"top":"bottom");const A=v-u[w],S=g-u[x];let O=A,E=S;if(m?E=o3(g-u.right-u.left,S):O=o3(v-u.bottom-u.top,A),!t.middlewareData.shift&&!p){const P=qa(u.left,0),L=qa(u.right,0),U=qa(u.top,0),Z=qa(u.bottom,0);m?E=g-2*(P!==0||L!==0?P+L:qa(u.left,u.right)):O=v-2*(U!==0||Z!==0?U+Z:qa(u.top,u.bottom))}await l(Or(nn({},t),{availableWidth:E,availableHeight:O}));const M=await i.getDimensions(o.floating);return g!==M.width||v!==M.height?{reset:{rects:!0}}:{}}}};function Zr(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ao(e){return Zr(e).getComputedStyle(e)}var o8=Math.min,Xd=Math.max,B1=Math.round;function O_(e){const t=ao(e);let n=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,o=e.offsetHeight,a=B1(n)!==i||B1(r)!==o;return a&&(n=i,r=o),{width:n,height:r,fallback:a}}function xa(e){return A_(e)?(e.nodeName||"").toLowerCase():""}var n0;function T_(){if(n0)return n0;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(n0=e.brands.map(t=>t.brand+"/"+t.version).join(" "),n0):navigator.userAgent}function so(e){return e instanceof Zr(e).HTMLElement}function Ri(e){return e instanceof Zr(e).Element}function A_(e){return e instanceof Zr(e).Node}function a8(e){return typeof ShadowRoot>"u"?!1:e instanceof Zr(e).ShadowRoot||e instanceof ShadowRoot}function rf(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ao(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Ane(e){return["table","td","th"].includes(xa(e))}function s3(e){const t=/firefox/i.test(T_()),n=ao(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function l3(){return/^((?!chrome|android).)*safari/i.test(T_())}function R4(e){return["html","body","#document"].includes(xa(e))}function N_(e){return Ri(e)?e:e.contextElement}var P_={x:1,y:1};function yl(e){const t=N_(e);if(!so(t))return P_;const n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=O_(t);let a=(o?B1(n.width):n.width)/r,l=(o?B1(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function vs(e,t,n,r){var i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),l=N_(e);let c=P_;t&&(r?Ri(r)&&(c=yl(r)):c=yl(e));const u=l?Zr(l):window,f=l3()&&n;let p=(a.left+(f&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/c.x,m=(a.top+(f&&((o=u.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,g=a.width/c.x,v=a.height/c.y;if(l){const w=Zr(l),x=r&&Ri(r)?Zr(r):r;let A=w.frameElement;for(;A&&r&&x!==w;){const S=yl(A),O=A.getBoundingClientRect(),E=getComputedStyle(A);O.x+=(A.clientLeft+parseFloat(E.paddingLeft))*S.x,O.y+=(A.clientTop+parseFloat(E.paddingTop))*S.y,p*=S.x,m*=S.y,g*=S.x,v*=S.y,p+=O.x,m+=O.y,A=Zr(A).frameElement}}return{width:g,height:v,top:m,right:p+g,bottom:m+v,left:p,x:p,y:m}}function ha(e){return((A_(e)?e.ownerDocument:e.document)||window.document).documentElement}function of(e){return Ri(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function I_(e){return vs(ha(e)).left+of(e).scrollLeft}function yc(e){if(xa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||a8(e)&&e.host||ha(e);return a8(t)?t.host:t}function M_(e){const t=yc(e);return R4(t)?t.ownerDocument.body:so(t)&&rf(t)?t:M_(t)}function Jd(e,t){var n;t===void 0&&(t=[]);const r=M_(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Zr(r);return i?t.concat(o,o.visualViewport||[],rf(r)?r:[]):t.concat(r,Jd(r))}function s8(e,t,n){let r;if(t==="viewport")r=function(a,l){const c=Zr(a),u=ha(a),f=c.visualViewport;let p=u.clientWidth,m=u.clientHeight,g=0,v=0;if(f){p=f.width,m=f.height;const w=l3();(!w||w&&l==="fixed")&&(g=f.offsetLeft,v=f.offsetTop)}return{width:p,height:m,x:g,y:v}}(e,n);else if(t==="document")r=function(a){const l=ha(a),c=of(a),u=a.ownerDocument.body,f=Xd(l.scrollWidth,l.clientWidth,u.scrollWidth,u.clientWidth),p=Xd(l.scrollHeight,l.clientHeight,u.scrollHeight,u.clientHeight);let m=-c.scrollLeft+I_(a);const g=-c.scrollTop;return ao(u).direction==="rtl"&&(m+=Xd(l.clientWidth,u.clientWidth)-f),{width:f,height:p,x:m,y:g}}(ha(e));else if(Ri(t))r=function(a,l){const c=vs(a,!0,l==="fixed"),u=c.top+a.clientTop,f=c.left+a.clientLeft,p=so(a)?yl(a):{x:1,y:1};return{width:a.clientWidth*p.x,height:a.clientHeight*p.y,x:f*p.x,y:u*p.y}}(t,n);else{const a=nn({},t);if(l3()){var i,o;const l=Zr(e);a.x-=((i=l.visualViewport)==null?void 0:i.offsetLeft)||0,a.y-=((o=l.visualViewport)==null?void 0:o.offsetTop)||0}r=a}return i3(r)}function l8(e,t){return so(e)&&ao(e).position!=="fixed"?t?t(e):e.offsetParent:null}function d8(e,t){const n=Zr(e);let r=l8(e,t);for(;r&&Ane(r)&&ao(r).position==="static";)r=l8(r,t);return r&&(xa(r)==="html"||xa(r)==="body"&&ao(r).position==="static"&&!s3(r))?n:r||function(i){let o=yc(i);for(;so(o)&&!R4(o);){if(s3(o))return o;o=yc(o)}return null}(e)||n}function Nne(e,t,n){const r=so(t),i=ha(t),o=vs(e,!0,n==="fixed",t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((xa(t)!=="body"||rf(i))&&(a=of(t)),so(t)){const c=vs(t,!0);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else i&&(l.x=I_(i));return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}var k0={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=n==="clippingAncestors"?function(u,f){const p=f.get(u);if(p)return p;let m=Jd(u).filter(x=>Ri(x)&&xa(x)!=="body"),g=null;const v=ao(u).position==="fixed";let w=v?yc(u):u;for(;Ri(w)&&!R4(w);){const x=ao(w),A=s3(w);x.position==="fixed"?g=null:(v?A||g:A||x.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=x:m=m.filter(S=>S!==w),w=yc(w)}return f.set(u,m),m}(t,this._c):[].concat(n),a=[...o,r],l=a[0],c=a.reduce((u,f)=>{const p=s8(t,f,i);return u.top=Xd(p.top,u.top),u.right=o8(p.right,u.right),u.bottom=o8(p.bottom,u.bottom),u.left=Xd(p.left,u.left),u},s8(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=so(n),o=ha(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((i||!i&&r!=="fixed")&&((xa(n)!=="body"||rf(o))&&(a=of(n)),so(n))){const u=vs(n);l=yl(n),c.x=u.x+n.clientLeft,c.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+c.x,y:t.y*l.y-a.scrollTop*l.y+c.y}},isElement:Ri,getDimensions:function(e){return so(e)?O_(e):e.getBoundingClientRect()},getOffsetParent:d8,getDocumentElement:ha,getScale:yl,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||d8,o=this.getDimensions;return{reference:Nne(t,await i(n),r),floating:nn({x:0,y:0},await o(n))}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ao(e).direction==="rtl"};function Pne(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:l=!1}=r,c=i&&!l,u=c||o?[...Ri(e)?Jd(e):e.contextElement?Jd(e.contextElement):[],...Jd(t)]:[];u.forEach(g=>{c&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});let f,p=null;if(a){let g=!0;p=new ResizeObserver(()=>{g||n(),g=!1}),Ri(e)&&!l&&p.observe(e),Ri(e)||!e.contextElement||l||p.observe(e.contextElement),p.observe(t)}let m=l?vs(e):null;return l&&function g(){const v=vs(e);!m||v.x===m.x&&v.y===m.y&&v.width===m.width&&v.height===m.height||n(),m=v,f=requestAnimationFrame(g)}(),n(),()=>{var g;u.forEach(v=>{c&&v.removeEventListener("scroll",n),o&&v.removeEventListener("resize",n)}),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(f)}}var Ine=(e,t,n)=>{const r=new Map,i=nn({platform:k0},n),o=Or(nn({},i.platform),{_c:r});return $ne(e,t,Or(nn({},i),{platform:o}))};function Mne(e){return Dne(e)}function g5(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Dne(e){for(let t=e;t;t=g5(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=g5(e);t;t=g5(t)){if(!(t instanceof Element))continue;const n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||t.tagName==="BODY"))return t}return null}var en=class extends Kn{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){this.stop()}async updated(e){super.updated(e),e.has("active")&&(this.active?this.start():this.stop()),e.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const e=this.getRootNode();this.anchorEl=e.getElementById(this.anchor)}else this.anchor instanceof Element?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){!this.anchorEl||(this.cleanup=Pne(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(e=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>e())):e()})}reposition(){if(!this.active||!this.anchorEl)return;const e=[Sne({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?e.push(i8({apply:({rects:n})=>{const r=this.sync==="width"||this.sync==="both",i=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${n.reference.width}px`:"",this.popup.style.height=i?`${n.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&e.push(Ene({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&e.push(Tne({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?e.push(i8({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:n,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${n}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&e.push(wne({element:this.arrowEl,padding:this.arrowPadding}));const t=this.strategy==="absolute"?n=>k0.getOffsetParent(n,Mne):k0.getOffsetParent;Ine(this.anchorEl,this.popup,{placement:this.placement,middleware:e,strategy:this.strategy,platform:Or(nn({},k0),{getOffsetParent:t})}).then(({x:n,y:r,middlewareData:i,placement:o})=>{const a=getComputedStyle(this).direction==="rtl",l={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]];if(this.setAttribute("data-current-placement",o),Object.assign(this.popup.style,{left:`${n}px`,top:`${r}px`}),this.arrow){const c=i.arrow.x,u=i.arrow.y;let f="",p="",m="",g="";if(this.arrowPlacement==="start"){const v=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",p=a?v:"",g=a?"":v}else if(this.arrowPlacement==="end"){const v=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";p=a?"":v,g=a?v:"",m=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(g=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",f=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(g=typeof c=="number"?`${c}px`:"",f=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:f,right:p,bottom:m,left:g,[l]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return dn`
|
|
1548
1548
|
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1549
1549
|
|
|
1550
1550
|
<div
|
|
@@ -2356,7 +2356,7 @@ lit-html/directives/if-defined.js:
|
|
|
2356
2356
|
*/var ere=["bottom","height","left","right","top","width"],tre=function(t,n){return t===void 0&&(t={}),n===void 0&&(n={}),ere.some(function(r){return t[r]!==n[r]})},oa=new Map,F_,nre=function e(){var t=[];oa.forEach(function(n,r){var i=r.getBoundingClientRect();tre(i,n.rect)&&(n.rect=i,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),F_=window.requestAnimationFrame(e)};function rre(e,t){return{observe:function(){var r=oa.size===0;oa.has(e)?oa.get(e).callbacks.push(t):oa.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),r&&nre()},unobserve:function(){var r=oa.get(e);if(r){var i=r.callbacks.indexOf(t);i>=0&&r.callbacks.splice(i,1),r.callbacks.length||oa.delete(e),oa.size||cancelAnimationFrame(F_)}}}}function o0(e,t,n){let r=[],i;return()=>{let o;n.key&&n.debug!=null&&n.debug()&&(o=Date.now());const a=e();if(!(a.length!==r.length||a.some((u,f)=>r[f]!==u)))return i;r=a;let c;if(n.key&&n.debug!=null&&n.debug()&&(c=Date.now()),i=t(...a),n==null||n.onChange==null||n.onChange(i),n.key&&n.debug!=null&&n.debug()){const u=Math.round((Date.now()-o)*100)/100,f=Math.round((Date.now()-c)*100)/100,p=f/16,m=(g,v)=>{for(g=String(g);g.length<v;)g=" "+g;return g};console.info("%c\u23F1 "+m(f,5)+" /"+m(u,5)+" ms",`
|
|
2357
2357
|
font-size: .6rem;
|
|
2358
2358
|
font-weight: bold;
|
|
2359
|
-
color: hsl(`+Math.max(0,Math.min(120-120*p,120))+"deg 100% 31%);",n?.key)}return i}}const ire=e=>e,ore=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},are=(e,t)=>{const n=rre(e.scrollElement,r=>{t(r)});if(!!e.scrollElement)return t(e.scrollElement.getBoundingClientRect()),n.observe(),()=>{n.unobserve()}},sre=(e,t)=>{const n=()=>t(e.scrollElement[e.options.horizontal?"scrollLeft":"scrollTop"]);if(!!e.scrollElement)return n(),e.scrollElement.addEventListener("scroll",n,{capture:!1,passive:!0}),()=>{e.scrollElement.removeEventListener("scroll",n)}},lre=(e,t)=>e.getBoundingClientRect()[t.options.horizontal?"width":"height"],dre=(e,t,n)=>{var r;(r=n.scrollElement)==null||r.scrollTo({[n.options.horizontal?"left":"top"]:e,behavior:t?"smooth":void 0})};class cre{constructor(t){var n=this;this.unsubs=[],this.scrollElement=null,this.measurementsCache=[],this.itemMeasurementsCache={},this.pendingMeasuredCacheIndexes=[],this.measureElementCache={},this.setOptions=r=>{Object.entries(r).forEach(i=>{let[o,a]=i;typeof a>"u"&&delete r[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:ire,rangeExtractor:ore,enableSmoothScroll:!0,onChange:()=>{},measureElement:lre,initialRect:{width:0,height:0},...r}},this.notify=()=>{var r,i;(r=(i=this.options).onChange)==null||r.call(i,this)},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(r=>r()),this.unsubs=[]},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{const r=this.options.getScrollElement();this.scrollElement!==r&&(this.cleanup(),this.scrollElement=r,this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.notify()})),this.unsubs.push(this.options.observeElementOffset(this,i=>{this.scrollOffset=i,this.notify()})))},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.getMeasurements=o0(()=>[this.options.count,this.options.paddingStart,this.options.getItemKey,this.itemMeasurementsCache],(r,i,o,a)=>{const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,l);for(let u=l;u<r;u++){const f=o(u),p=a[f],m=c[u-1]?c[u-1].end:i,g=typeof p=="number"?p:this.options.estimateSize(u),v=m+g;c[u]={index:u,start:m,size:g,end:v,key:f}}return this.measurementsCache=c,c},{key:!1,debug:()=>this.options.debug}),this.calculateRange=o0(()=>[this.getMeasurements(),this.getSize(),this.scrollOffset],(r,i,o)=>fre({measurements:r,outerSize:i,scrollOffset:o}),{key:!1,debug:()=>this.options.debug}),this.getIndexes=o0(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(r,i,o,a)=>r({...i,overscan:o,count:a}),{key:!1}),this.getVirtualItems=o0(()=>[this.getIndexes(),this.getMeasurements(),this.options.measureElement],(r,i,o)=>{const a=f=>p=>{var m;const g=this.measurementsCache[f];if(!p)return;const v=o(p,this),w=(m=this.itemMeasurementsCache[g.key])!=null?m:g.size;v!==w&&(g.start<this.scrollOffset&&(this.destinationOffset||this._scrollToOffset(this.scrollOffset+(v-w),!1)),this.pendingMeasuredCacheIndexes.push(f),this.itemMeasurementsCache={...this.itemMeasurementsCache,[g.key]:v},this.notify())},l=[],c={};for(let f=0,p=r.length;f<p;f++){var u;const m=r[f],v={...i[m],measureElement:c[m]=(u=this.measureElementCache[m])!=null?u:a(m)};l.push(v)}return this.measureElementCache=c,l},{key:!1}),this.scrollToOffset=function(r,i){let{align:o}=i===void 0?{align:"start"}:i;const a=()=>{const l=n.scrollOffset,c=n.getSize();o==="auto"&&(r<=l?o="start":r>=l+c?o="end":o="start"),o==="start"?n._scrollToOffset(r,!0):o==="end"?n._scrollToOffset(r-c,!0):o==="center"&&n._scrollToOffset(r-c/2,!0)};a(),requestAnimationFrame(()=>{a()})},this.scrollToIndex=function(r,i){let{align:o,...a}=i===void 0?{align:"auto"}:i;const l=n.getMeasurements(),c=n.scrollOffset,u=n.getSize(),{count:f}=n.options,p=l[Math.max(0,Math.min(r,f-1))];if(!p)return;if(o==="auto")if(p.end>=c+u-n.options.scrollPaddingEnd)o="end";else if(p.start<=c+n.options.scrollPaddingStart)o="start";else return;const m=o==="end"?p.end+n.options.scrollPaddingEnd:p.start-n.options.scrollPaddingStart;n.scrollToOffset(m,{align:o,...a})},this.getTotalSize=()=>{var r;return(((r=this.getMeasurements()[this.options.count-1])==null?void 0:r.end)||this.options.paddingStart)+this.options.paddingEnd},this._scrollToOffset=(r,i)=>{clearTimeout(this.scrollCheckFrame),this.destinationOffset=r,this.options.scrollToFn(r,this.options.enableSmoothScroll&&i,this);let o;const a=()=>{let l=this.scrollOffset;this.scrollCheckFrame=o=setTimeout(()=>{if(this.scrollCheckFrame===o){if(this.scrollOffset===l){this.destinationOffset=void 0;return}l=this.scrollOffset,a()}},100)};a()},this.measure=()=>{this.itemMeasurementsCache={},this.notify()},this.setOptions(t),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset}}const ure=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else if(o>r)t=i-1;else return i}return e>0?e-1:0};function fre(e){let{measurements:t,outerSize:n,scrollOffset:r}=e;const i=t.length-1,a=ure(0,i,c=>t[c].start,r);let l=a;for(;l<i&&t[l].end<r+n;)l++;return{startIndex:a,endIndex:l}}function hre(e){const t=ot(e),n=new cre(t),[r,i]=Ca(n.getVirtualItems()),[o,a]=te(n.getTotalSize()),l={get(u,f){switch(f){case"getVirtualItems":return()=>r;case"getTotalSize":return()=>o();default:return Reflect.get(u,f)}}},c=new Proxy(n,l);return c.setOptions(t),Ht(()=>{const u=c._didMount();c._willUpdate(),Sr(u)}),h1(()=>{c.setOptions(ot(t,e,{onChange:u=>{u._willUpdate(),i(fte(u.getVirtualItems(),{key:"index"})),a(u.getTotalSize()),e.onChange==null||e.onChange(u)}})),c.measure()}),c}function pre(e){return hre(ot({observeElementRect:are,observeElementOffset:sre,scrollToFn:dre},e))}const mre=de('<div slot="suffix" class="flex"><sl-icon class="text-gray-400 hover:text-gray-600" name="x-circle-fill"></sl-icon></div>'),R_=de("<sl-menu-item></sl-menu-item>"),gre=de('<sl-menu-item><p class="text-center text-gray-400 italic">Loading...</p></sl-menu-item>'),vre=de('<div><style></style><style></style><style></style><style></style><sl-dropdown class="dropdown relative" hoist><sl-input slot="trigger" autocomplete="off" size="medium" class="input"><p slot="help-text" class="text-red-400 pt-1 font-sans"></p><div slot="suffix" class="flex"><sl-spinner slot="suffix"></sl-spinner></div><div slot="suffix" class="flex"><sl-icon></sl-icon></div></sl-input><div class="border border-gray-200 dropdown-container overflow-hidden relative"><div class="bg-white overflow-x-hidden overflow-y-auto relative"><div></div></div></div></sl-dropdown></div>'),yre=de('<div class="flex items-center pb-2"><p class="text-gray-700 text-sm font-sans"></p></div>'),bre=de('<p class="pl-1 text-red-400">*</p>'),$re=de('<p class="text-gray-400 text-xs pl-2 font-sans">Optional</p>'),wre=de('<sl-menu-item class="group"></sl-menu-item>'),_re=de('<p class="text-center text-gray-400 italic">Loading...</p>'),xre=de('<p class="text-center text-gray-400 italic">Nothing more to load</p>'),kre=de("<p></p>");zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const Wl=e=>{let t,n,r,i,o;e.actionRef&&(e.actionRef.clear=()=>{u(void 0),p(-1),i.value="",v(""),S()});const[a,l]=te(!1),[c,u]=te(void 0),[f,p]=te(-1),[m,g]=te(),v=N4(async P=>{e.onSearchChange&&await e.onSearchChange(P)},250),w=new IntersectionObserver(async P=>{P?.at(-1)?.isIntersecting&&e.hasMore&&e.fetchMore&&await e.fetchMore()});Ae(()=>{e.data.length===0&&u(void 0)}),Ae(()=>{m()&&w.observe(m())});const x=P=>{if(P)return e.helpText?e.helpText:e.required?"Please select data...":void 0},A=P=>{const L=new CustomEvent("photon-data-selected",{composed:!0,bubbles:!0,detail:{data:P}});t?.dispatchEvent(L)},S=()=>{const P=new CustomEvent("photon-data-unselected",{composed:!0,bubbles:!0,detail:{}});t?.dispatchEvent(P)};Ae(()=>{e.selectedData&&(u(e.selectedData),A(e.selectedData)),e.selectedData===void 0&&u(void 0)}),Ht(()=>{i&&i.addEventListener("keydown",P=>{(P.code=="Space"||P.key==" ")&&P.stopImmediatePropagation()})});const O=oe(()=>{const P=c();return P?e.displayAccessor(P,!1):e.placeholder??"Select data..."}),E=oe(()=>e.groups?e.groups.map(P=>{const L=e.data.map((U,Z)=>({data:U,allItemsIdx:Z})).filter(U=>P.filter(U.data));return L.length>0?[{title:P.label},...L]:[]}).flat():e.data.map((P,L)=>({data:P,allItemsIdx:L}))),M=oe(()=>pre({count:E().length,getScrollElement:()=>r,estimateSize:()=>36.8,overscan:100}));return(()=>{const P=Ce(()=>document.importNode(vre,!0)),L=P.firstChild,U=L.nextSibling,Z=U.nextSibling,ce=Z.nextSibling,Q=ce.nextSibling,G=Q.firstChild,re=G.firstChild,K=re.nextSibling,H=K.firstChild,ye=K.nextSibling,pe=ye.firstChild,J=G.nextSibling,we=J.firstChild,ee=we.firstChild,ae=t;typeof ae=="function"?wt(ae,P):t=P,z(L,En),z(U,Ci),z(Z,Ei),z(ce,Jne),z(P,(()=>{const _e=oe(()=>!!e.label);return()=>_e()?(()=>{const at=yre.cloneNode(!0),Ue=at.firstChild;return z(Ue,()=>e.label),z(at,(()=>{const Ve=oe(()=>!!e.required);return()=>Ve()?bre.cloneNode(!0):null})(),null),z(at,(()=>{const Ve=oe(()=>!!e.optional);return()=>Ve()?$re.cloneNode(!0):null})(),null),at})():null})(),Q);const ne=n;typeof ne=="function"?wt(ne,Q):n=Q,Q.addEventListener("sl-hide",async()=>{c()||(i.value="",e.onHide&&await e.onHide()),l(!1)}),Q.addEventListener("sl-show",async()=>{l(!0),e.onOpen&&await e.onOpen()}),Q.style.setProperty("width","100%"),Q._$owner=Oe();const ze=i;typeof ze=="function"?wt(ze,G):i=G,G.addEventListener("sl-input",_e=>{a()||n.show(),v(_e.target.value)}),G.addEventListener("sl-focus",()=>{n.children[1].style.width=`${i.clientWidth}px`,f()>0&&M().scrollToIndex(f())}),G._$owner=Oe(),z(re,()=>x(e.invalid??!1)),H._$owner=Oe(),z(G,$($e,{get when(){return e.clearable},get children(){const _e=Ce(()=>document.importNode(mre,!0)),at=_e.firstChild;return at.addEventListener("click",Ue=>{Ue.stopImmediatePropagation(),u(void 0),p(-1),i.value="",v(""),S(),n.hide()}),at._$owner=Oe(),ve(()=>_e.classList.toggle("hidden",!!(e.isLoading||c()==null))),_e}}),ye),pe._$owner=Oe();const Be=o;typeof Be=="function"?wt(Be,we):o=we,we.style.setProperty("max-height","200px"),we.style.setProperty("min-height","56px"),we.style.setProperty("width","100%"),we.style.setProperty("display","flex"),we.style.setProperty("flex-direction","column");const rt=r;return typeof rt=="function"?wt(rt,ee):r=ee,ee.style.setProperty("width","100%"),z(ee,$(Cn,{get each(){return M().getVirtualItems()},children:_e=>{const at=_e.index>E().length-1,Ue=E()[_e.index],Ve="data"in Ue&&Ue.data.id===c()?.id&&!at;return $(Rm,{get children(){return[$(eo,{get when(){return"title"in Ue},get children(){return $(Cre,{item:Ue})}}),$(eo,{get when(){return"data"in Ue},get children(){return $(Ere,{item:_e,isLoader:at,isSelected:Ve,get index(){return _e.index},get hasMore(){return e.hasMore},get showOverflow(){return e.showOverflow},onClick:()=>{at||(u(Ue.data),p(Ue.allItemsIdx),i.value="",v(""),A(Ue.data),n.hide())},setLastIndex:g,get children(){return e.displayAccessor(Ue.data,!0)}})}})]}})}}),null),z(ee,$($e,{get when(){return e.data.length==0&&!e.isLoading},get children(){const _e=Ce(()=>document.importNode(R_,!0));return _e._$owner=Oe(),z(_e,()=>e.noDataMsg?e.noDataMsg:"No data found"),_e}}),null),z(ee,$($e,{get when(){return e.data.length==0&&e.isLoading},get children(){const _e=Ce(()=>document.importNode(gre,!0));return _e._$owner=Oe(),_e}}),null),ve(_e=>{const at=e.forceLabelSize&&!e.invalid?-20:e.invalid?-18:0,Ue=e.disabled??!1,Ve=O(),ct=e.disabled??!1,_t=!!(e.invalid??!1),It=!!(e.disabled??!1),Te=!c()&&i.value==="",se=e.required,Fe=!!e.forceLabelSize,Ze=!e.isLoading,mt=!!e.isLoading,bt=a()?"chevron-up":"chevron-down",Yt=e.data.length===0?"center":"start",gt=`${M().getTotalSize()}px`;return at!==_e._v$&&(Q.distance=_e._v$=at),Ue!==_e._v$2&&(Q.disabled=_e._v$2=Ue),Ve!==_e._v$3&&(G.placeholder=_e._v$3=Ve),ct!==_e._v$4&&(G.disabled=_e._v$4=ct),_t!==_e._v$5&&G.classList.toggle("invalid",_e._v$5=_t),It!==_e._v$6&&G.classList.toggle("disabled",_e._v$6=It),Te!==_e._v$7&&G.classList.toggle("placeholder",_e._v$7=Te),se!==_e._v$8&&(G.required=_e._v$8=se),Fe!==_e._v$9&&re.classList.toggle("h-[21px]",_e._v$9=Fe),Ze!==_e._v$10&&K.classList.toggle("hidden",_e._v$10=Ze),mt!==_e._v$11&&ye.classList.toggle("hidden",_e._v$11=mt),bt!==_e._v$12&&(pe.name=_e._v$12=bt),Yt!==_e._v$13&&we.style.setProperty("justify-content",_e._v$13=Yt),gt!==_e._v$14&&ee.style.setProperty("height",_e._v$14=gt),_e},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0}),P})()},Cre=e=>(()=>{const t=Ce(()=>document.importNode(wre,!0));return t._$owner=Oe(),z(t,()=>e.item.title),t})(),Ere=e=>(()=>{const t=Ce(()=>document.importNode(R_,!0));return wt(n=>{e.isLoader&&e.index>0&&e.setLastIndex(n)},t),t.$$click=()=>e.onClick(),t.style.setProperty("width","100%"),t._$owner=Oe(),z(t,(()=>{const n=oe(()=>!!e.isLoader);return()=>n()?(()=>{const r=oe(()=>!!e.hasMore);return()=>r()?_re.cloneNode(!0):xre.cloneNode(!0)})():(()=>{const r=kre.cloneNode(!0);return z(r,()=>e.children),ve(i=>{const o=!e.showOverflow,a=!e.showOverflow,l=!e.showOverflow,c=!!e.showOverflow;return o!==i._v$17&&r.classList.toggle("overflow-hidden",i._v$17=o),a!==i._v$18&&r.classList.toggle("overflow-ellipsis",i._v$18=a),l!==i._v$19&&r.classList.toggle("whitespace-nowrap",i._v$19=l),c!==i._v$20&&r.classList.toggle("whitespace-normal",i._v$20=c),i},{_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0}),r})()})()),ve(n=>{const r=e.isSelected?"selected default":"default",i=`${e.item.size}px`;return r!==n._v$15&&Pb(t,n._v$15=r),i!==n._v$16&&t.style.setProperty("min-height",n._v$16=i),n},{_v$15:void 0,_v$16:void 0}),t})();I2(["click"]);const f8=H2`
|
|
2359
|
+
color: hsl(`+Math.max(0,Math.min(120-120*p,120))+"deg 100% 31%);",n?.key)}return i}}const ire=e=>e,ore=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},are=(e,t)=>{const n=rre(e.scrollElement,r=>{t(r)});if(!!e.scrollElement)return t(e.scrollElement.getBoundingClientRect()),n.observe(),()=>{n.unobserve()}},sre=(e,t)=>{const n=()=>t(e.scrollElement[e.options.horizontal?"scrollLeft":"scrollTop"]);if(!!e.scrollElement)return n(),e.scrollElement.addEventListener("scroll",n,{capture:!1,passive:!0}),()=>{e.scrollElement.removeEventListener("scroll",n)}},lre=(e,t)=>e.getBoundingClientRect()[t.options.horizontal?"width":"height"],dre=(e,t,n)=>{var r;(r=n.scrollElement)==null||r.scrollTo({[n.options.horizontal?"left":"top"]:e,behavior:t?"smooth":void 0})};class cre{constructor(t){var n=this;this.unsubs=[],this.scrollElement=null,this.measurementsCache=[],this.itemMeasurementsCache={},this.pendingMeasuredCacheIndexes=[],this.measureElementCache={},this.setOptions=r=>{Object.entries(r).forEach(i=>{let[o,a]=i;typeof a>"u"&&delete r[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:ire,rangeExtractor:ore,enableSmoothScroll:!0,onChange:()=>{},measureElement:lre,initialRect:{width:0,height:0},...r}},this.notify=()=>{var r,i;(r=(i=this.options).onChange)==null||r.call(i,this)},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(r=>r()),this.unsubs=[]},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{const r=this.options.getScrollElement();this.scrollElement!==r&&(this.cleanup(),this.scrollElement=r,this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.notify()})),this.unsubs.push(this.options.observeElementOffset(this,i=>{this.scrollOffset=i,this.notify()})))},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.getMeasurements=o0(()=>[this.options.count,this.options.paddingStart,this.options.getItemKey,this.itemMeasurementsCache],(r,i,o,a)=>{const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,l);for(let u=l;u<r;u++){const f=o(u),p=a[f],m=c[u-1]?c[u-1].end:i,g=typeof p=="number"?p:this.options.estimateSize(u),v=m+g;c[u]={index:u,start:m,size:g,end:v,key:f}}return this.measurementsCache=c,c},{key:!1,debug:()=>this.options.debug}),this.calculateRange=o0(()=>[this.getMeasurements(),this.getSize(),this.scrollOffset],(r,i,o)=>fre({measurements:r,outerSize:i,scrollOffset:o}),{key:!1,debug:()=>this.options.debug}),this.getIndexes=o0(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(r,i,o,a)=>r({...i,overscan:o,count:a}),{key:!1}),this.getVirtualItems=o0(()=>[this.getIndexes(),this.getMeasurements(),this.options.measureElement],(r,i,o)=>{const a=f=>p=>{var m;const g=this.measurementsCache[f];if(!p)return;const v=o(p,this),w=(m=this.itemMeasurementsCache[g.key])!=null?m:g.size;v!==w&&(g.start<this.scrollOffset&&(this.destinationOffset||this._scrollToOffset(this.scrollOffset+(v-w),!1)),this.pendingMeasuredCacheIndexes.push(f),this.itemMeasurementsCache={...this.itemMeasurementsCache,[g.key]:v},this.notify())},l=[],c={};for(let f=0,p=r.length;f<p;f++){var u;const m=r[f],v={...i[m],measureElement:c[m]=(u=this.measureElementCache[m])!=null?u:a(m)};l.push(v)}return this.measureElementCache=c,l},{key:!1}),this.scrollToOffset=function(r,i){let{align:o}=i===void 0?{align:"start"}:i;const a=()=>{const l=n.scrollOffset,c=n.getSize();o==="auto"&&(r<=l?o="start":r>=l+c?o="end":o="start"),o==="start"?n._scrollToOffset(r,!0):o==="end"?n._scrollToOffset(r-c,!0):o==="center"&&n._scrollToOffset(r-c/2,!0)};a(),requestAnimationFrame(()=>{a()})},this.scrollToIndex=function(r,i){let{align:o,...a}=i===void 0?{align:"auto"}:i;const l=n.getMeasurements(),c=n.scrollOffset,u=n.getSize(),{count:f}=n.options,p=l[Math.max(0,Math.min(r,f-1))];if(!p)return;if(o==="auto")if(p.end>=c+u-n.options.scrollPaddingEnd)o="end";else if(p.start<=c+n.options.scrollPaddingStart)o="start";else return;const m=o==="end"?p.end+n.options.scrollPaddingEnd:p.start-n.options.scrollPaddingStart;n.scrollToOffset(m,{align:o,...a})},this.getTotalSize=()=>{var r;return(((r=this.getMeasurements()[this.options.count-1])==null?void 0:r.end)||this.options.paddingStart)+this.options.paddingEnd},this._scrollToOffset=(r,i)=>{clearTimeout(this.scrollCheckFrame),this.destinationOffset=r,this.options.scrollToFn(r,this.options.enableSmoothScroll&&i,this);let o;const a=()=>{let l=this.scrollOffset;this.scrollCheckFrame=o=setTimeout(()=>{if(this.scrollCheckFrame===o){if(this.scrollOffset===l){this.destinationOffset=void 0;return}l=this.scrollOffset,a()}},100)};a()},this.measure=()=>{this.itemMeasurementsCache={},this.notify()},this.setOptions(t),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset}}const ure=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else if(o>r)t=i-1;else return i}return e>0?e-1:0};function fre(e){let{measurements:t,outerSize:n,scrollOffset:r}=e;const i=t.length-1,a=ure(0,i,c=>t[c].start,r);let l=a;for(;l<i&&t[l].end<r+n;)l++;return{startIndex:a,endIndex:l}}function hre(e){const t=ot(e),n=new cre(t),[r,i]=Ca(n.getVirtualItems()),[o,a]=te(n.getTotalSize()),l={get(u,f){switch(f){case"getVirtualItems":return()=>r;case"getTotalSize":return()=>o();default:return Reflect.get(u,f)}}},c=new Proxy(n,l);return c.setOptions(t),Ht(()=>{const u=c._didMount();c._willUpdate(),Sr(u)}),h1(()=>{c.setOptions(ot(t,e,{onChange:u=>{u._willUpdate(),i(fte(u.getVirtualItems(),{key:"index"})),a(u.getTotalSize()),e.onChange==null||e.onChange(u)}})),c.measure()}),c}function pre(e){return hre(ot({observeElementRect:are,observeElementOffset:sre,scrollToFn:dre},e))}const mre=de('<div slot="suffix" class="flex"><sl-icon class="text-gray-400 hover:text-gray-600" name="x-circle-fill"></sl-icon></div>'),R_=de("<sl-menu-item></sl-menu-item>"),gre=de('<sl-menu-item><p class="text-center text-gray-400 italic">Loading...</p></sl-menu-item>'),vre=de('<div><style></style><style></style><style></style><style></style><sl-dropdown class="dropdown relative" hoist><sl-input slot="trigger" autocomplete="off" size="medium" class="input"><p slot="help-text" class="text-red-400 pt-1 font-sans"></p><div slot="suffix" class="flex"><sl-spinner slot="suffix"></sl-spinner></div><div slot="suffix" class="flex"><sl-icon></sl-icon></div></sl-input><div class="border border-gray-200 dropdown-container overflow-hidden relative"><div class="bg-white overflow-x-hidden overflow-y-auto relative"><div></div></div></div></sl-dropdown></div>'),yre=de('<div class="flex items-center pb-2"><p class="text-gray-700 text-sm font-sans"></p></div>'),bre=de('<p class="pl-1 text-red-400">*</p>'),$re=de('<p class="text-gray-400 text-xs pl-2 font-sans">Optional</p>'),wre=de('<sl-menu-item class="group"></sl-menu-item>'),_re=de('<p class="text-center text-gray-400 italic">Loading...</p>'),xre=de('<p class="text-center text-gray-400 italic">Nothing more to load</p>'),kre=de("<p></p>");zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const Wl=e=>{let t,n,r,i,o;e.actionRef&&(e.actionRef.clear=()=>{u(void 0),p(-1),i.value="",v(""),S()});const[a,l]=te(!1),[c,u]=te(void 0),[f,p]=te(-1),[m,g]=te(),v=N4(async P=>{e.onSearchChange&&await e.onSearchChange(P)},250),w=new IntersectionObserver(async P=>{P?.at(-1)?.isIntersecting&&e.hasMore&&e.fetchMore&&await e.fetchMore()});Ae(()=>{e.data.length===0&&u(void 0)}),Ae(()=>{m()&&w.observe(m())});const x=P=>{if(P)return e.helpText?e.helpText:e.required?"Please select data...":void 0},A=P=>{const L=new CustomEvent("photon-data-selected",{composed:!0,bubbles:!0,detail:{data:P}});t?.dispatchEvent(L)},S=()=>{const P=new CustomEvent("photon-data-unselected",{composed:!0,bubbles:!0,detail:{}});t?.dispatchEvent(P)};Ae(()=>{e.selectedData&&(u(e.selectedData),A(e.selectedData)),e.selectedData===void 0&&u(void 0)}),Ht(()=>{i&&i.addEventListener("keydown",P=>{(P.code=="Space"||P.key==" ")&&P.stopImmediatePropagation()})});const O=oe(()=>{const P=c();return P?e.displayAccessor(P,!1):e.placeholder??"Select data..."}),E=oe(()=>e.groups?e.groups.map(P=>{const L=e.data.map((U,Z)=>({data:U,allItemsIdx:Z})).filter(U=>P.filter(U.data));return L.length>0?[{title:P.label},...L]:[]}).flat():e.data.map((P,L)=>({data:P,allItemsIdx:L}))),M=oe(()=>pre({count:E().length,getScrollElement:()=>r,estimateSize:()=>36.8,overscan:100}));return(()=>{const P=Ce(()=>document.importNode(vre,!0)),L=P.firstChild,U=L.nextSibling,Z=U.nextSibling,ce=Z.nextSibling,Q=ce.nextSibling,G=Q.firstChild,re=G.firstChild,K=re.nextSibling,H=K.firstChild,ye=K.nextSibling,pe=ye.firstChild,ee=G.nextSibling,we=ee.firstChild,X=we.firstChild,ae=t;typeof ae=="function"?wt(ae,P):t=P,z(L,En),z(U,Ci),z(Z,Ei),z(ce,Jne),z(P,(()=>{const _e=oe(()=>!!e.label);return()=>_e()?(()=>{const at=yre.cloneNode(!0),Ue=at.firstChild;return z(Ue,()=>e.label),z(at,(()=>{const Ve=oe(()=>!!e.required);return()=>Ve()?bre.cloneNode(!0):null})(),null),z(at,(()=>{const Ve=oe(()=>!!e.optional);return()=>Ve()?$re.cloneNode(!0):null})(),null),at})():null})(),Q);const ne=n;typeof ne=="function"?wt(ne,Q):n=Q,Q.addEventListener("sl-hide",async()=>{c()||(i.value="",e.onHide&&await e.onHide()),l(!1)}),Q.addEventListener("sl-show",async()=>{l(!0),e.onOpen&&await e.onOpen()}),Q.style.setProperty("width","100%"),Q._$owner=Oe();const ze=i;typeof ze=="function"?wt(ze,G):i=G,G.addEventListener("sl-input",_e=>{a()||n.show(),v(_e.target.value)}),G.addEventListener("sl-focus",()=>{n.children[1].style.width=`${i.clientWidth}px`,f()>0&&M().scrollToIndex(f())}),G._$owner=Oe(),z(re,()=>x(e.invalid??!1)),H._$owner=Oe(),z(G,$($e,{get when(){return e.clearable},get children(){const _e=Ce(()=>document.importNode(mre,!0)),at=_e.firstChild;return at.addEventListener("click",Ue=>{Ue.stopImmediatePropagation(),u(void 0),p(-1),i.value="",v(""),S(),n.hide()}),at._$owner=Oe(),ve(()=>_e.classList.toggle("hidden",!!(e.isLoading||c()==null))),_e}}),ye),pe._$owner=Oe();const Be=o;typeof Be=="function"?wt(Be,we):o=we,we.style.setProperty("max-height","200px"),we.style.setProperty("min-height","56px"),we.style.setProperty("width","100%"),we.style.setProperty("display","flex"),we.style.setProperty("flex-direction","column");const rt=r;return typeof rt=="function"?wt(rt,X):r=X,X.style.setProperty("width","100%"),z(X,$(Cn,{get each(){return M().getVirtualItems()},children:_e=>{const at=_e.index>E().length-1,Ue=E()[_e.index],Ve="data"in Ue&&Ue.data.id===c()?.id&&!at;return $(Rm,{get children(){return[$(eo,{get when(){return"title"in Ue},get children(){return $(Cre,{item:Ue})}}),$(eo,{get when(){return"data"in Ue},get children(){return $(Ere,{item:_e,isLoader:at,isSelected:Ve,get index(){return _e.index},get hasMore(){return e.hasMore},get showOverflow(){return e.showOverflow},onClick:()=>{at||(u(Ue.data),p(Ue.allItemsIdx),i.value="",v(""),A(Ue.data),n.hide())},setLastIndex:g,get children(){return e.displayAccessor(Ue.data,!0)}})}})]}})}}),null),z(X,$($e,{get when(){return e.data.length==0&&!e.isLoading},get children(){const _e=Ce(()=>document.importNode(R_,!0));return _e._$owner=Oe(),z(_e,()=>e.noDataMsg?e.noDataMsg:"No data found"),_e}}),null),z(X,$($e,{get when(){return e.data.length==0&&e.isLoading},get children(){const _e=Ce(()=>document.importNode(gre,!0));return _e._$owner=Oe(),_e}}),null),ve(_e=>{const at=e.forceLabelSize&&!e.invalid?-20:e.invalid?-18:0,Ue=e.disabled??!1,Ve=O(),ct=e.disabled??!1,_t=!!(e.invalid??!1),It=!!(e.disabled??!1),Te=!c()&&i.value==="",se=e.required,Fe=!!e.forceLabelSize,Ze=!e.isLoading,mt=!!e.isLoading,bt=a()?"chevron-up":"chevron-down",Yt=e.data.length===0?"center":"start",gt=`${M().getTotalSize()}px`;return at!==_e._v$&&(Q.distance=_e._v$=at),Ue!==_e._v$2&&(Q.disabled=_e._v$2=Ue),Ve!==_e._v$3&&(G.placeholder=_e._v$3=Ve),ct!==_e._v$4&&(G.disabled=_e._v$4=ct),_t!==_e._v$5&&G.classList.toggle("invalid",_e._v$5=_t),It!==_e._v$6&&G.classList.toggle("disabled",_e._v$6=It),Te!==_e._v$7&&G.classList.toggle("placeholder",_e._v$7=Te),se!==_e._v$8&&(G.required=_e._v$8=se),Fe!==_e._v$9&&re.classList.toggle("h-[21px]",_e._v$9=Fe),Ze!==_e._v$10&&K.classList.toggle("hidden",_e._v$10=Ze),mt!==_e._v$11&&ye.classList.toggle("hidden",_e._v$11=mt),bt!==_e._v$12&&(pe.name=_e._v$12=bt),Yt!==_e._v$13&&we.style.setProperty("justify-content",_e._v$13=Yt),gt!==_e._v$14&&X.style.setProperty("height",_e._v$14=gt),_e},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0}),P})()},Cre=e=>(()=>{const t=Ce(()=>document.importNode(wre,!0));return t._$owner=Oe(),z(t,()=>e.item.title),t})(),Ere=e=>(()=>{const t=Ce(()=>document.importNode(R_,!0));return wt(n=>{e.isLoader&&e.index>0&&e.setLastIndex(n)},t),t.$$click=()=>e.onClick(),t.style.setProperty("width","100%"),t._$owner=Oe(),z(t,(()=>{const n=oe(()=>!!e.isLoader);return()=>n()?(()=>{const r=oe(()=>!!e.hasMore);return()=>r()?_re.cloneNode(!0):xre.cloneNode(!0)})():(()=>{const r=kre.cloneNode(!0);return z(r,()=>e.children),ve(i=>{const o=!e.showOverflow,a=!e.showOverflow,l=!e.showOverflow,c=!!e.showOverflow;return o!==i._v$17&&r.classList.toggle("overflow-hidden",i._v$17=o),a!==i._v$18&&r.classList.toggle("overflow-ellipsis",i._v$18=a),l!==i._v$19&&r.classList.toggle("whitespace-nowrap",i._v$19=l),c!==i._v$20&&r.classList.toggle("whitespace-normal",i._v$20=c),i},{_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0}),r})()})()),ve(n=>{const r=e.isSelected?"selected default":"default",i=`${e.item.size}px`;return r!==n._v$15&&Pb(t,n._v$15=r),i!==n._v$16&&t.style.setProperty("min-height",n._v$16=i),n},{_v$15:void 0,_v$16:void 0}),t})();I2(["click"]);const f8=H2`
|
|
2360
2360
|
fragment PatientOrderFields on Patient {
|
|
2361
2361
|
id
|
|
2362
2362
|
externalId
|
|
@@ -2790,7 +2790,7 @@ lit-html/static.js:
|
|
|
2790
2790
|
</label>
|
|
2791
2791
|
`}};hr.styles=Wre;F([Sn('input[type="checkbox"]')],hr.prototype,"input",2);F([go()],hr.prototype,"hasFocus",2);F([W()],hr.prototype,"title",2);F([W()],hr.prototype,"name",2);F([W()],hr.prototype,"value",2);F([W({reflect:!0})],hr.prototype,"size",2);F([W({type:Boolean,reflect:!0})],hr.prototype,"disabled",2);F([W({type:Boolean,reflect:!0})],hr.prototype,"checked",2);F([af("checked")],hr.prototype,"defaultChecked",2);F([W({reflect:!0})],hr.prototype,"form",2);F([W({type:Boolean,reflect:!0})],hr.prototype,"required",2);F([rn("checked",{waitUntilFirstUpdate:!0})],hr.prototype,"handleCheckedChange",1);F([rn("disabled",{waitUntilFirstUpdate:!0})],hr.prototype,"handleDisabledChange",1);hr=F([mr("sl-switch")],hr);const Bi=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}h1,h2,h3,h4,h5,h6,p,div,li,a,ul,input{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-weight:400;line-height:1.625}body,html{--tw-text-opacity: 1;color:rgb(17 24 39/var(--tw-text-opacity))}h1,h2,h3,h4,h5,h6,label{font-weight:500;line-height:1.25}h1{font-size:1.875rem;line-height:2.25rem;margin-top:.5rem;margin-bottom:.5rem}h2{font-size:1.5rem;line-height:2rem;margin-top:.5rem;margin-bottom:.5rem}h3{font-size:1.25rem;line-height:1.75rem;margin-top:.25rem;margin-bottom:.25rem}h4{font-size:1.125rem;line-height:1.75rem;margin-top:.25rem;margin-bottom:.25rem}h5{font-size:1rem;line-height:1.5rem;margin-top:.25rem;margin-bottom:.25rem}h6,label{font-size:.875rem;line-height:1.25rem;margin-top:.25rem;margin-bottom:.25rem}p{margin-top:.5rem;margin-bottom:.5rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.-bottom-8{bottom:-2rem}.bottom-full{bottom:100%}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-full{top:100%}.z-10{z-index:10}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.my-px{margin-top:1px;margin-bottom:1px}.-mb-px{margin-bottom:-1px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-3{margin-left:.75rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-px{height:1px}.max-h-60{max-height:15rem}.max-h-80{max-height:20rem}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-12{width:3rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-10{row-gap:2.5rem}.gap-y-4{row-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * (1 - var(--tw-space-x-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * (1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * (1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * (1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235/var(--tw-divide-opacity))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219/var(--tw-divide-opacity))}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-solid{border-style:solid}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253/var(--tw-border-opacity))}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172/var(--tw-border-opacity))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128/var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252/var(--tw-border-opacity))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(249 168 212/var(--tw-border-opacity))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-\\[\\#FFFAEB\\]{--tw-bg-opacity: 1;background-color:rgb(255 250 235/var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255/var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243/var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.fill-blue-500{fill:#3b82f6}.fill-green-500{fill:#22c55e}.p-2{padding:.5rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-6{line-height:1.5rem}.leading-snug{line-height:1.375}.text-\\[\\#DC6803\\]{--tw-text-opacity: 1;color:rgb(220 104 3/var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138/var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202/var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(190 24 93/var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206/var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139/var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.ring-blue-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-red-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.theme-photon,[data-theme=photon]{--twc-primaryText: 210 20% 98%;--twc-primary500: 238.70000000000005 83.5% 66.7%;--twc-primary600: 243.39999999999998 75.4% 58.6%;--twc-secondaryText: 220.89999999999998 39.3% 11%;--twc-secondary50: 225.89999999999998 100% 96.7%;--twc-secondary100: 226.5 100% 93.9%}.theme-weekend,[data-theme=weekend]{--twc-primaryText: 210 20% 98%;--twc-primary500: 198.60000000000002 88.7% 48.4%;--twc-primary600: 200.39999999999998 98% 39.4%;--twc-secondaryText: 220.89999999999998 39.3% 11%;--twc-secondary50: 204 100% 97.1%;--twc-secondary100: 204 93.8% 93.7%}.\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}@keyframes animateEnter{0%{transform:translate3d(0,-20%,0) scale(.8);opacity:.5}to{transform:translateZ(0) scale(1);opacity:1}}@keyframes animateLeave{0%{transform:translateZ(-1px) scale(1);opacity:1}to{transform:translate3d(0,-20%,-1px) scale(.8);opacity:0}}.animate-enter{animation:animateEnter .2s cubic-bezier(.21,1.02,.73,1) forwards}.animate-leave{animation:animateLeave .2s cubic-bezier(.06,.71,.55,1) forwards}.placeholder\\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.placeholder\\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.placeholder\\:text-red-300::-moz-placeholder{--tw-text-opacity: 1;color:rgb(252 165 165/var(--tw-text-opacity))}.placeholder\\:text-red-300::placeholder{--tw-text-opacity: 1;color:rgb(252 165 165/var(--tw-text-opacity))}.even\\:bg-gray-50:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.hover\\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.hover\\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.hover\\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11/var(--tw-text-opacity))}.hover\\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246/var(--tw-text-opacity))}.hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128/var(--tw-text-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68/var(--tw-text-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-0:focus{outline-width:0px}.focus\\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\\:ring-blue-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity))}.focus\\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.group:hover .group-hover\\:bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.group:hover .group-hover\\:text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235/var(--tw-text-opacity))}.group:hover .group-hover\\:text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138/var(--tw-text-opacity))}.group:hover .group-hover\\:opacity-100{opacity:1}@media (prefers-color-scheme: dark){.dark\\:bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark\\:text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}}@media (min-width: 640px){.sm\\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:mt-5{margin-top:1.25rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:block{display:block}.sm\\:grid{display:grid}.sm\\:w-auto{width:auto}.sm\\:max-w-lg{max-width:32rem}.sm\\:max-w-md{max-width:28rem}.sm\\:max-w-sm{max-width:24rem}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:gap-2{gap:.5rem}.sm\\:gap-4{gap:1rem}.sm\\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * (1 - var(--tw-space-x-reverse)))}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-4{padding-top:1rem;padding-bottom:1rem}.sm\\:pr-6{padding-right:1.5rem}.sm\\:pt-6{padding-top:1.5rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.md\\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * (1 - var(--tw-space-x-reverse)))}}@media (min-width: 1024px){.lg\\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\\:px-8{padding-left:2rem;padding-right:2rem}}
|
|
2792
2792
|
`,Gre=de('<div class="w-full flex justify-center"></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");function _5(e){return $(Ip,{type:"error",header:"Unauthorized",get message(){return e.message}})}const V_=e=>{const t=ot({permissions:[]},e),n=Br(),[r,i]=te(n?.authentication.state.isLoading||!1),[o,a]=te(n?.authentication.state.isAuthenticated||!1),[l,c]=te(n?.authentication.state.isInOrg||!1),[u,f]=te(n3(t.permissions,n?.authentication.state.permissions||[]));Ae(()=>{i(n?.authentication.state.isLoading||!1)}),Ae(()=>{a(n?.authentication.state.isAuthenticated||!1)}),Ae(()=>{c(n?.authentication.state.isInOrg||!1)}),Ae(()=>{f(n3(t.permissions,n?.authentication.state.permissions||[]))});const p=oe(()=>o()&&l()&&u());return $($e,{get when(){return n&&!r()},get children(){return $($e,{get when(){return p()},get fallback(){return $($e,{get when(){return!o()},get fallback(){return $($e,{get when(){return!l()},get fallback(){return $(_5,{message:"You are not authorized to prescribe"})},get children(){return $(_5,{message:"You tried logging in with an account not associated with any organizations. Please check your email for an invite, or ask your administrator for assistance."})}})},get children(){return $($e,{get when(){return n?.autoLogin},get fallback(){return $(_5,{message:"You are not signed in"})},get children(){const m=Gre.cloneNode(!0);return z(m,$(jo,{color:"green"})),m}})}})},get children(){return t.children}})}})};function Vr(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function on(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function E0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E0=function(n){return typeof n}:E0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},E0(e)}function jn(e){on(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||E0(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Yre(e,t){on(2,arguments);var n=jn(e).getTime(),r=Vr(t);return new Date(n+r)}var Qre={};function Ql(){return Qre}function B_(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function g8(e){on(1,arguments);var t=jn(e);return t.setHours(0,0,0,0),t}var Kre=6e4,H_=36e5,Zre=1e3;function Xre(e,t){on(2,arguments);var n=g8(e),r=g8(t);return n.getTime()===r.getTime()}function S0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S0=function(n){return typeof n}:S0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},S0(e)}function Jre(e){return on(1,arguments),e instanceof Date||S0(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function eie(e){if(on(1,arguments),!Jre(e)&&typeof e!="number")return!1;var t=jn(e);return!isNaN(Number(t))}function tie(e,t){return on(2,arguments),jn(e).getTime()-jn(t).getTime()}var v8={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},nie="trunc";function rie(e){return e?v8[e]:v8[nie]}function iie(e,t,n){on(2,arguments);var r=tie(e,t)/H_;return rie(n?.roundingMethod)(r)}function q_(e,t){on(2,arguments);var n=Vr(t);return Yre(e,-n)}var oie=864e5;function aie(e){on(1,arguments);var t=jn(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/oie)+1}function Il(e){on(1,arguments);var t=1,n=jn(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function W_(e){on(1,arguments);var t=jn(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=Il(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=Il(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function sie(e){on(1,arguments);var t=W_(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Il(n);return r}var lie=6048e5;function G_(e){on(1,arguments);var t=jn(e),n=Il(t).getTime()-sie(t).getTime();return Math.round(n/lie)+1}function ys(e,t){var n,r,i,o,a,l,c,u;on(1,arguments);var f=Ql(),p=Vr((n=(r=(i=(o=t?.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=jn(e),g=m.getUTCDay(),v=(g<p?7:0)+g-p;return m.setUTCDate(m.getUTCDate()-v),m.setUTCHours(0,0,0,0),m}function U4(e,t){var n,r,i,o,a,l,c,u;on(1,arguments);var f=jn(e),p=f.getUTCFullYear(),m=Ql(),g=Vr((n=(r=(i=(o=t?.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&r!==void 0?r:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(p+1,0,g),v.setUTCHours(0,0,0,0);var w=ys(v,t),x=new Date(0);x.setUTCFullYear(p,0,g),x.setUTCHours(0,0,0,0);var A=ys(x,t);return f.getTime()>=w.getTime()?p+1:f.getTime()>=A.getTime()?p:p-1}function die(e,t){var n,r,i,o,a,l,c,u;on(1,arguments);var f=Ql(),p=Vr((n=(r=(i=(o=t?.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=U4(e,t),g=new Date(0);g.setUTCFullYear(m,0,p),g.setUTCHours(0,0,0,0);var v=ys(g,t);return v}var cie=6048e5;function Y_(e,t){on(1,arguments);var n=jn(e),r=ys(n,t).getTime()-die(n,t).getTime();return Math.round(r/cie)+1}function Rt(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var uie={y:function(t,n){var r=t.getUTCFullYear(),i=r>0?r:1-r;return Rt(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):Rt(r+1,2)},d:function(t,n){return Rt(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return Rt(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Rt(t.getUTCHours(),n.length)},m:function(t,n){return Rt(t.getUTCMinutes(),n.length)},s:function(t,n){return Rt(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return Rt(o,n.length)}};const ra=uie;var Ws={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},fie={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return ra.y(t,n)},Y:function(t,n,r,i){var o=U4(t,i),a=o>0?o:1-o;if(n==="YY"){var l=a%100;return Rt(l,2)}return n==="Yo"?r.ordinalNumber(a,{unit:"year"}):Rt(a,n.length)},R:function(t,n){var r=W_(t);return Rt(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return Rt(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return Rt(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return Rt(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return ra.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return Rt(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var o=Y_(t,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):Rt(o,n.length)},I:function(t,n,r){var i=G_(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):Rt(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):ra.d(t,n)},D:function(t,n,r){var i=aie(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):Rt(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return Rt(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return Rt(a,n.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return Rt(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),o;switch(i===12?o=Ws.noon:i===0?o=Ws.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),o;switch(i>=17?o=Ws.evening:i>=12?o=Ws.afternoon:i>=4?o=Ws.morning:o=Ws.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return ra.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ra.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):Rt(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):Rt(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ra.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ra.s(t,n)},S:function(t,n){return ra.S(t,n)},X:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return b8(a);case"XXXX":case"XX":return Wa(a);case"XXXXX":case"XXX":default:return Wa(a,":")}},x:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"x":return b8(a);case"xxxx":case"xx":return Wa(a);case"xxxxx":case"xxx":default:return Wa(a,":")}},O:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+y8(a,":");case"OOOO":default:return"GMT"+Wa(a,":")}},z:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+y8(a,":");case"zzzz":default:return"GMT"+Wa(a,":")}},t:function(t,n,r,i){var o=i._originalDate||t,a=Math.floor(o.getTime()/1e3);return Rt(a,n.length)},T:function(t,n,r,i){var o=i._originalDate||t,a=o.getTime();return Rt(a,n.length)}};function y8(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t||"";return n+String(i)+a+Rt(o,2)}function b8(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Rt(Math.abs(e)/60,2)}return Wa(e,t)}function Wa(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=Rt(Math.floor(i/60),2),a=Rt(i%60,2);return r+o+n+a}const hie=fie;var $8=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Q_=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},pie=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return $8(t,n);var a;switch(i){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",$8(i,n)).replace("{{time}}",Q_(o,n))},mie={p:Q_,P:pie};const h3=mie;var gie=["D","DD"],vie=["YY","YYYY"];function K_(e){return gie.indexOf(e)!==-1}function Z_(e){return vie.indexOf(e)!==-1}function W1(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var yie={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},bie=function(t,n,r){var i,o=yie[t];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const $ie=bie;function x5(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var wie={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_ie={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},xie={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},kie={date:x5({formats:wie,defaultWidth:"full"}),time:x5({formats:_ie,defaultWidth:"full"}),dateTime:x5({formats:xie,defaultWidth:"full"})};const Cie=kie;var Eie={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Sie=function(t,n,r,i){return Eie[t]};const Oie=Sie;function Rd(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var l=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var Tie={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Aie={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Nie={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Pie={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Iie={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Mie={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Die=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Fie={ordinalNumber:Die,era:Rd({values:Tie,defaultWidth:"wide"}),quarter:Rd({values:Aie,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Rd({values:Nie,defaultWidth:"wide"}),day:Rd({values:Pie,defaultWidth:"wide"}),dayPeriod:Rd({values:Iie,defaultWidth:"wide",formattingValues:Mie,defaultFormattingWidth:"wide"})};const Rie=Fie;function Ld(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?zie(l,function(p){return p.test(a)}):Lie(l,function(p){return p.test(a)}),u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(a.length);return{value:u,rest:f}}}function Lie(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function zie(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function jie(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(i.length);return{value:a,rest:l}}}var Uie=/^(\d+)(th|st|nd|rd)?/i,Vie=/\d+/i,Bie={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Hie={any:[/^b/i,/^(a|c)/i]},qie={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wie={any:[/1/i,/2/i,/3/i,/4/i]},Gie={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Yie={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Qie={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Kie={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zie={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Xie={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Jie={ordinalNumber:jie({matchPattern:Uie,parsePattern:Vie,valueCallback:function(t){return parseInt(t,10)}}),era:Ld({matchPatterns:Bie,defaultMatchWidth:"wide",parsePatterns:Hie,defaultParseWidth:"any"}),quarter:Ld({matchPatterns:qie,defaultMatchWidth:"wide",parsePatterns:Wie,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ld({matchPatterns:Gie,defaultMatchWidth:"wide",parsePatterns:Yie,defaultParseWidth:"any"}),day:Ld({matchPatterns:Qie,defaultMatchWidth:"wide",parsePatterns:Kie,defaultParseWidth:"any"}),dayPeriod:Ld({matchPatterns:Zie,defaultMatchWidth:"any",parsePatterns:Xie,defaultParseWidth:"any"})};const eoe=Jie;var toe={code:"en-US",formatDistance:$ie,formatLong:Cie,formatRelative:Oie,localize:Rie,match:eoe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const X_=toe;var noe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,roe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ioe=/^'([^]*?)'?$/,ooe=/''/g,aoe=/[a-zA-Z]/;function V4(e,t,n){var r,i,o,a,l,c,u,f,p,m,g,v,w,x,A,S,O,E;on(2,arguments);var M=String(t),P=Ql(),L=(r=(i=n?.locale)!==null&&i!==void 0?i:P.locale)!==null&&r!==void 0?r:X_,U=Vr((o=(a=(l=(c=n?.firstWeekContainsDate)!==null&&c!==void 0?c:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&l!==void 0?l:P.firstWeekContainsDate)!==null&&a!==void 0?a:(p=P.locale)===null||p===void 0||(m=p.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Z=Vr((g=(v=(w=(x=n?.weekStartsOn)!==null&&x!==void 0?x:n==null||(A=n.locale)===null||A===void 0||(S=A.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&w!==void 0?w:P.weekStartsOn)!==null&&v!==void 0?v:(O=P.locale)===null||O===void 0||(E=O.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&g!==void 0?g:0);if(!(Z>=0&&Z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var ce=jn(e);if(!eie(ce))throw new RangeError("Invalid time value");var Q=B_(ce),G=q_(ce,Q),re={firstWeekContainsDate:U,weekStartsOn:Z,locale:L,_originalDate:ce},K=M.match(roe).map(function(H){var ye=H[0];if(ye==="p"||ye==="P"){var pe=h3[ye];return pe(H,L.formatLong)}return H}).join("").match(noe).map(function(H){if(H==="''")return"'";var ye=H[0];if(ye==="'")return soe(H);var pe=hie[ye];if(pe)return!(n!=null&&n.useAdditionalWeekYearTokens)&&Z_(H)&&W1(H,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&K_(H)&&W1(H,t,String(e)),pe(G,H,L.localize,re);if(ye.match(aoe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ye+"`");return H}).join("");return K}function soe(e){var t=e.match(ioe);return t?t[1].replace(ooe,"'"):e}function loe(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function O0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O0=function(n){return typeof n}:O0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O0(e)}function J_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p3(e,t)}function p3(e,t){return p3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},p3(e,t)}function ex(e){var t=coe();return function(){var r=G1(e),i;if(t){var o=G1(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return doe(this,i)}}function doe(e,t){return t&&(O0(t)==="object"||typeof t=="function")?t:m3(e)}function m3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function coe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function G1(e){return G1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},G1(e)}function B4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w8(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 H4(e,t,n){return t&&w8(e.prototype,t),n&&w8(e,n),e}function g3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uoe=10,tx=function(){function e(){B4(this,e),g3(this,"subPriority",0)}return H4(e,[{key:"validate",value:function(n,r){return!0}}]),e}(),foe=function(e){J_(n,e);var t=ex(n);function n(r,i,o,a,l){var c;return B4(this,n),c=t.call(this),c.value=r,c.validateValue=i,c.setValue=o,c.priority=a,l&&(c.subPriority=l),c}return H4(n,[{key:"validate",value:function(i,o){return this.validateValue(i,this.value,o)}},{key:"set",value:function(i,o,a){return this.setValue(i,o,this.value,a)}}]),n}(tx),hoe=function(e){J_(n,e);var t=ex(n);function n(){var r;B4(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),g3(m3(r),"priority",uoe),g3(m3(r),"subPriority",-1),r}return H4(n,[{key:"set",value:function(i,o){if(o.timestampIsSet)return i;var a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}}]),n}(tx);function poe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _8(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 moe(e,t,n){return t&&_8(e.prototype,t),n&&_8(e,n),e}var At=function(){function e(){poe(this,e)}return moe(e,[{key:"run",value:function(n,r,i,o){var a=this.parse(n,r,i,o);return a?{setter:new foe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(n,r,i){return!0}}]),e}();function T0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T0=function(n){return typeof n}:T0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T0(e)}function goe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x8(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 voe(e,t,n){return t&&x8(e.prototype,t),n&&x8(e,n),e}function yoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v3(e,t)}function v3(e,t){return v3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},v3(e,t)}function boe(e){var t=woe();return function(){var r=Y1(e),i;if(t){var o=Y1(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return $oe(this,i)}}function $oe(e,t){return t&&(T0(t)==="object"||typeof t=="function")?t:y3(e)}function y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function woe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Y1(e){return Y1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Y1(e)}function k8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _oe=function(e){yoe(n,e);var t=boe(n);function n(){var r;goe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),k8(y3(r),"priority",140),k8(y3(r),"incompatibleTokens",["R","u","t","T"]),r}return voe(n,[{key:"parse",value:function(i,o,a){switch(o){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})||a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"})}}},{key:"set",value:function(i,o,a){return o.era=a,i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(At),xn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Xi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function kn(e,t){return e&&{value:t(e.value),rest:e.rest}}function un(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ji(e,t){var n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};var r=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*H_+o*Kre+a*Zre),rest:t.slice(n[0].length)}}function nx(e){return un(xn.anyDigitsSigned,e)}function bn(e,t){switch(e){case 1:return un(xn.singleDigit,t);case 2:return un(xn.twoDigits,t);case 3:return un(xn.threeDigits,t);case 4:return un(xn.fourDigits,t);default:return un(new RegExp("^\\d{1,"+e+"}"),t)}}function Q1(e,t){switch(e){case 1:return un(xn.singleDigitSigned,t);case 2:return un(xn.twoDigitsSigned,t);case 3:return un(xn.threeDigitsSigned,t);case 4:return un(xn.fourDigitsSigned,t);default:return un(new RegExp("^-?\\d{1,"+e+"}"),t)}}function q4(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function rx(e,t){var n=t>0,r=n?t:1-t,i;if(r<=50)i=e||100;else{var o=r+50,a=Math.floor(o/100)*100,l=e>=o%100;i=e+a-(l?100:0)}return n?i:1-i}function ix(e){return e%400===0||e%4===0&&e%100!==0}function A0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A0=function(n){return typeof n}:A0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},A0(e)}function xoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C8(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 koe(e,t,n){return t&&C8(e.prototype,t),n&&C8(e,n),e}function Coe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b3(e,t)}function b3(e,t){return b3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},b3(e,t)}function Eoe(e){var t=Ooe();return function(){var r=K1(e),i;if(t){var o=K1(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Soe(this,i)}}function Soe(e,t){return t&&(A0(t)==="object"||typeof t=="function")?t:$3(e)}function $3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ooe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function K1(e){return K1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},K1(e)}function E8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Toe=function(e){Coe(n,e);var t=Eoe(n);function n(){var r;xoe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),E8($3(r),"priority",130),E8($3(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return koe(n,[{key:"parse",value:function(i,o,a){var l=function(u){return{year:u,isTwoDigitYear:o==="yy"}};switch(o){case"y":return kn(bn(4,i),l);case"yo":return kn(a.ordinalNumber(i,{unit:"year"}),l);default:return kn(bn(o.length,i),l)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a){var l=i.getUTCFullYear();if(a.isTwoDigitYear){var c=rx(a.year,l);return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}var u=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(u,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(At);function N0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N0=function(n){return typeof n}:N0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},N0(e)}function Aoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S8(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 Noe(e,t,n){return t&&S8(e.prototype,t),n&&S8(e,n),e}function Poe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w3(e,t)}function w3(e,t){return w3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},w3(e,t)}function Ioe(e){var t=Doe();return function(){var r=Z1(e),i;if(t){var o=Z1(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Moe(this,i)}}function Moe(e,t){return t&&(N0(t)==="object"||typeof t=="function")?t:_3(e)}function _3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Doe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Z1(e){return Z1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Z1(e)}function O8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Foe=function(e){Poe(n,e);var t=Ioe(n);function n(){var r;Aoe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),O8(_3(r),"priority",130),O8(_3(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return Noe(n,[{key:"parse",value:function(i,o,a){var l=function(u){return{year:u,isTwoDigitYear:o==="YY"}};switch(o){case"Y":return kn(bn(4,i),l);case"Yo":return kn(a.ordinalNumber(i,{unit:"year"}),l);default:return kn(bn(o.length,i),l)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a,l){var c=U4(i,l);if(a.isTwoDigitYear){var u=rx(a.year,c);return i.setUTCFullYear(u,0,l.firstWeekContainsDate),i.setUTCHours(0,0,0,0),ys(i,l)}var f=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(f,0,l.firstWeekContainsDate),i.setUTCHours(0,0,0,0),ys(i,l)}}]),n}(At);function P0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P0=function(n){return typeof n}:P0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},P0(e)}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T8(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 Loe(e,t,n){return t&&T8(e.prototype,t),n&&T8(e,n),e}function zoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x3(e,t)}function x3(e,t){return x3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},x3(e,t)}function joe(e){var t=Voe();return function(){var r=X1(e),i;if(t){var o=X1(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Uoe(this,i)}}function Uoe(e,t){return t&&(P0(t)==="object"||typeof t=="function")?t:k3(e)}function k3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Voe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function X1(e){return X1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},X1(e)}function A8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Boe=function(e){zoe(n,e);var t=joe(n);function n(){var r;Roe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),A8(k3(r),"priority",130),A8(k3(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return Loe(n,[{key:"parse",value:function(i,o){return Q1(o==="R"?4:o.length,i)}},{key:"set",value:function(i,o,a){var l=new Date(0);return l.setUTCFullYear(a,0,4),l.setUTCHours(0,0,0,0),Il(l)}}]),n}(At);function I0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I0=function(n){return typeof n}:I0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},I0(e)}function Hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N8(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 qoe(e,t,n){return t&&N8(e.prototype,t),n&&N8(e,n),e}function Woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C3(e,t)}function C3(e,t){return C3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},C3(e,t)}function Goe(e){var t=Qoe();return function(){var r=J1(e),i;if(t){var o=J1(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Yoe(this,i)}}function Yoe(e,t){return t&&(I0(t)==="object"||typeof t=="function")?t:E3(e)}function E3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function J1(e){return J1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},J1(e)}function P8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Koe=function(e){Woe(n,e);var t=Goe(n);function n(){var r;Hoe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),P8(E3(r),"priority",130),P8(E3(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return qoe(n,[{key:"parse",value:function(i,o){return Q1(o==="u"?4:o.length,i)}},{key:"set",value:function(i,o,a){return i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(At);function M0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M0=function(n){return typeof n}:M0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M0(e)}function Zoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I8(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 Xoe(e,t,n){return t&&I8(e.prototype,t),n&&I8(e,n),e}function Joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S3(e,t)}function S3(e,t){return S3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},S3(e,t)}function eae(e){var t=nae();return function(){var r=e2(e),i;if(t){var o=e2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return tae(this,i)}}function tae(e,t){return t&&(M0(t)==="object"||typeof t=="function")?t:O3(e)}function O3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e2(e){return e2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},e2(e)}function M8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rae=function(e){Joe(n,e);var t=eae(n);function n(){var r;Zoe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),M8(O3(r),"priority",120),M8(O3(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return Xoe(n,[{key:"parse",value:function(i,o,a){switch(o){case"Q":case"QQ":return bn(o.length,i);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})||a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(At);function D0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D0=function(n){return typeof n}:D0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},D0(e)}function iae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D8(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 oae(e,t,n){return t&&D8(e.prototype,t),n&&D8(e,n),e}function aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T3(e,t)}function T3(e,t){return T3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},T3(e,t)}function sae(e){var t=dae();return function(){var r=t2(e),i;if(t){var o=t2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return lae(this,i)}}function lae(e,t){return t&&(D0(t)==="object"||typeof t=="function")?t:A3(e)}function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function t2(e){return t2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},t2(e)}function F8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cae=function(e){aae(n,e);var t=sae(n);function n(){var r;iae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),F8(A3(r),"priority",120),F8(A3(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return oae(n,[{key:"parse",value:function(i,o,a){switch(o){case"q":case"qq":return bn(o.length,i);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})||a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(At);function F0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F0=function(n){return typeof n}:F0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},F0(e)}function uae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R8(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 fae(e,t,n){return t&&R8(e.prototype,t),n&&R8(e,n),e}function hae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N3(e,t)}function N3(e,t){return N3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},N3(e,t)}function pae(e){var t=gae();return function(){var r=n2(e),i;if(t){var o=n2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return mae(this,i)}}function mae(e,t){return t&&(F0(t)==="object"||typeof t=="function")?t:P3(e)}function P3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function n2(e){return n2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},n2(e)}function L8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vae=function(e){hae(n,e);var t=pae(n);function n(){var r;uae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),L8(P3(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),L8(P3(r),"priority",110),r}return fae(n,[{key:"parse",value:function(i,o,a){var l=function(u){return u-1};switch(o){case"M":return kn(un(xn.month,i),l);case"MM":return kn(bn(2,i),l);case"Mo":return kn(a.ordinalNumber(i,{unit:"month"}),l);case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})||a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(At);function R0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R0=function(n){return typeof n}:R0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},R0(e)}function yae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z8(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 bae(e,t,n){return t&&z8(e.prototype,t),n&&z8(e,n),e}function $ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I3(e,t)}function I3(e,t){return I3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},I3(e,t)}function wae(e){var t=xae();return function(){var r=r2(e),i;if(t){var o=r2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return _ae(this,i)}}function _ae(e,t){return t&&(R0(t)==="object"||typeof t=="function")?t:M3(e)}function M3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function r2(e){return r2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},r2(e)}function j8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kae=function(e){$ae(n,e);var t=wae(n);function n(){var r;yae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),j8(M3(r),"priority",110),j8(M3(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return bae(n,[{key:"parse",value:function(i,o,a){var l=function(u){return u-1};switch(o){case"L":return kn(un(xn.month,i),l);case"LL":return kn(bn(2,i),l);case"Lo":return kn(a.ordinalNumber(i,{unit:"month"}),l);case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})||a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(At);function Cae(e,t,n){on(2,arguments);var r=jn(e),i=Vr(t),o=Y_(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}function L0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L0=function(n){return typeof n}:L0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},L0(e)}function Eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U8(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 Sae(e,t,n){return t&&U8(e.prototype,t),n&&U8(e,n),e}function Oae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D3(e,t)}function D3(e,t){return D3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},D3(e,t)}function Tae(e){var t=Nae();return function(){var r=i2(e),i;if(t){var o=i2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Aae(this,i)}}function Aae(e,t){return t&&(L0(t)==="object"||typeof t=="function")?t:F3(e)}function F3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function i2(e){return i2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i2(e)}function V8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pae=function(e){Oae(n,e);var t=Tae(n);function n(){var r;Eae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),V8(F3(r),"priority",100),V8(F3(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return Sae(n,[{key:"parse",value:function(i,o,a){switch(o){case"w":return un(xn.week,i);case"wo":return a.ordinalNumber(i,{unit:"week"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a,l){return ys(Cae(i,a,l),l)}}]),n}(At);function Iae(e,t){on(2,arguments);var n=jn(e),r=Vr(t),i=G_(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}function z0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z0=function(n){return typeof n}:z0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},z0(e)}function Mae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B8(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 Dae(e,t,n){return t&&B8(e.prototype,t),n&&B8(e,n),e}function Fae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R3(e,t)}function R3(e,t){return R3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},R3(e,t)}function Rae(e){var t=zae();return function(){var r=o2(e),i;if(t){var o=o2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Lae(this,i)}}function Lae(e,t){return t&&(z0(t)==="object"||typeof t=="function")?t:L3(e)}function L3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function o2(e){return o2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},o2(e)}function H8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jae=function(e){Fae(n,e);var t=Rae(n);function n(){var r;Mae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),H8(L3(r),"priority",100),H8(L3(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return Dae(n,[{key:"parse",value:function(i,o,a){switch(o){case"I":return un(xn.week,i);case"Io":return a.ordinalNumber(i,{unit:"week"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a){return Il(Iae(i,a))}}]),n}(At);function j0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j0=function(n){return typeof n}:j0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},j0(e)}function Uae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q8(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 Vae(e,t,n){return t&&q8(e.prototype,t),n&&q8(e,n),e}function Bae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z3(e,t)}function z3(e,t){return z3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},z3(e,t)}function Hae(e){var t=Wae();return function(){var r=a2(e),i;if(t){var o=a2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return qae(this,i)}}function qae(e,t){return t&&(j0(t)==="object"||typeof t=="function")?t:U0(e)}function U0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function a2(e){return a2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},a2(e)}function k5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gae=[31,28,31,30,31,30,31,31,30,31,30,31],Yae=[31,29,31,30,31,30,31,31,30,31,30,31],Qae=function(e){Bae(n,e);var t=Hae(n);function n(){var r;Uae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),k5(U0(r),"priority",90),k5(U0(r),"subPriority",1),k5(U0(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return Vae(n,[{key:"parse",value:function(i,o,a){switch(o){case"d":return un(xn.date,i);case"do":return a.ordinalNumber(i,{unit:"date"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),l=ix(a),c=i.getUTCMonth();return l?o>=1&&o<=Yae[c]:o>=1&&o<=Gae[c]}},{key:"set",value:function(i,o,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),n}(At);function V0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V0=function(n){return typeof n}:V0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},V0(e)}function Kae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W8(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 Zae(e,t,n){return t&&W8(e.prototype,t),n&&W8(e,n),e}function Xae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j3(e,t)}function j3(e,t){return j3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},j3(e,t)}function Jae(e){var t=tse();return function(){var r=s2(e),i;if(t){var o=s2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ese(this,i)}}function ese(e,t){return t&&(V0(t)==="object"||typeof t=="function")?t:B0(e)}function B0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function s2(e){return s2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},s2(e)}function C5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nse=function(e){Xae(n,e);var t=Jae(n);function n(){var r;Kae(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),C5(B0(r),"priority",90),C5(B0(r),"subpriority",1),C5(B0(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return Zae(n,[{key:"parse",value:function(i,o,a){switch(o){case"D":case"DD":return un(xn.dayOfYear,i);case"Do":return a.ordinalNumber(i,{unit:"date"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),l=ix(a);return l?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),n}(At);function W4(e,t,n){var r,i,o,a,l,c,u,f;on(2,arguments);var p=Ql(),m=Vr((r=(i=(o=(a=n?.weekStartsOn)!==null&&a!==void 0?a:n==null||(l=n.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&o!==void 0?o:p.weekStartsOn)!==null&&i!==void 0?i:(u=p.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=jn(e),v=Vr(t),w=g.getUTCDay(),x=v%7,A=(x+7)%7,S=(A<m?7:0)+v-w;return g.setUTCDate(g.getUTCDate()+S),g}function H0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H0=function(n){return typeof n}:H0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},H0(e)}function rse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G8(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 ise(e,t,n){return t&&G8(e.prototype,t),n&&G8(e,n),e}function ose(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U3(e,t)}function U3(e,t){return U3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},U3(e,t)}function ase(e){var t=lse();return function(){var r=l2(e),i;if(t){var o=l2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return sse(this,i)}}function sse(e,t){return t&&(H0(t)==="object"||typeof t=="function")?t:V3(e)}function V3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function l2(e){return l2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},l2(e)}function Y8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dse=function(e){ose(n,e);var t=ase(n);function n(){var r;rse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),Y8(V3(r),"priority",90),Y8(V3(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return ise(n,[{key:"parse",value:function(i,o,a){switch(o){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,l){return i=W4(i,a,l),i.setUTCHours(0,0,0,0),i}}]),n}(At);function q0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q0=function(n){return typeof n}:q0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},q0(e)}function cse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q8(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 use(e,t,n){return t&&Q8(e.prototype,t),n&&Q8(e,n),e}function fse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B3(e,t)}function B3(e,t){return B3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},B3(e,t)}function hse(e){var t=mse();return function(){var r=d2(e),i;if(t){var o=d2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return pse(this,i)}}function pse(e,t){return t&&(q0(t)==="object"||typeof t=="function")?t:H3(e)}function H3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function d2(e){return d2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},d2(e)}function K8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gse=function(e){fse(n,e);var t=hse(n);function n(){var r;cse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),K8(H3(r),"priority",90),K8(H3(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return use(n,[{key:"parse",value:function(i,o,a,l){var c=function(f){var p=Math.floor((f-1)/7)*7;return(f+l.weekStartsOn+6)%7+p};switch(o){case"e":case"ee":return kn(bn(o.length,i),c);case"eo":return kn(a.ordinalNumber(i,{unit:"day"}),c);case"eee":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,l){return i=W4(i,a,l),i.setUTCHours(0,0,0,0),i}}]),n}(At);function W0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W0=function(n){return typeof n}:W0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},W0(e)}function vse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z8(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 yse(e,t,n){return t&&Z8(e.prototype,t),n&&Z8(e,n),e}function bse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q3(e,t)}function q3(e,t){return q3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},q3(e,t)}function $se(e){var t=_se();return function(){var r=c2(e),i;if(t){var o=c2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return wse(this,i)}}function wse(e,t){return t&&(W0(t)==="object"||typeof t=="function")?t:W3(e)}function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _se(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c2(e){return c2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},c2(e)}function X8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xse=function(e){bse(n,e);var t=$se(n);function n(){var r;vse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),X8(W3(r),"priority",90),X8(W3(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return yse(n,[{key:"parse",value:function(i,o,a,l){var c=function(f){var p=Math.floor((f-1)/7)*7;return(f+l.weekStartsOn+6)%7+p};switch(o){case"c":case"cc":return kn(bn(o.length,i),c);case"co":return kn(a.ordinalNumber(i,{unit:"day"}),c);case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})||a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,l){return i=W4(i,a,l),i.setUTCHours(0,0,0,0),i}}]),n}(At);function kse(e,t){on(2,arguments);var n=Vr(t);n%7===0&&(n=n-7);var r=1,i=jn(e),o=i.getUTCDay(),a=n%7,l=(a+7)%7,c=(l<r?7:0)+n-o;return i.setUTCDate(i.getUTCDate()+c),i}function G0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G0=function(n){return typeof n}:G0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},G0(e)}function Cse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J8(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 Ese(e,t,n){return t&&J8(e.prototype,t),n&&J8(e,n),e}function Sse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G3(e,t)}function G3(e,t){return G3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},G3(e,t)}function Ose(e){var t=Ase();return function(){var r=u2(e),i;if(t){var o=u2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Tse(this,i)}}function Tse(e,t){return t&&(G0(t)==="object"||typeof t=="function")?t:Y3(e)}function Y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ase(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u2(e){return u2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},u2(e)}function ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nse=function(e){Sse(n,e);var t=Ose(n);function n(){var r;Cse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),ey(Y3(r),"priority",90),ey(Y3(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return Ese(n,[{key:"parse",value:function(i,o,a){var l=function(u){return u===0?7:u};switch(o){case"i":case"ii":return bn(o.length,i);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return kn(a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),l);case"iiiii":return kn(a.day(i,{width:"narrow",context:"formatting"}),l);case"iiiiii":return kn(a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),l);case"iiii":default:return kn(a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),l)}}},{key:"validate",value:function(i,o){return o>=1&&o<=7}},{key:"set",value:function(i,o,a){return i=kse(i,a),i.setUTCHours(0,0,0,0),i}}]),n}(At);function Y0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y0=function(n){return typeof n}:Y0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Y0(e)}function Pse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ty(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 Ise(e,t,n){return t&&ty(e.prototype,t),n&&ty(e,n),e}function Mse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q3(e,t)}function Q3(e,t){return Q3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Q3(e,t)}function Dse(e){var t=Rse();return function(){var r=f2(e),i;if(t){var o=f2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Fse(this,i)}}function Fse(e,t){return t&&(Y0(t)==="object"||typeof t=="function")?t:K3(e)}function K3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f2(e){return f2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},f2(e)}function ny(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lse=function(e){Mse(n,e);var t=Dse(n);function n(){var r;Pse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),ny(K3(r),"priority",80),ny(K3(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return Ise(n,[{key:"parse",value:function(i,o,a){switch(o){case"a":case"aa":case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(q4(a),0,0,0),i}}]),n}(At);function Q0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q0=function(n){return typeof n}:Q0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Q0(e)}function zse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ry(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 jse(e,t,n){return t&&ry(e.prototype,t),n&&ry(e,n),e}function Use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z3(e,t)}function Z3(e,t){return Z3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Z3(e,t)}function Vse(e){var t=Hse();return function(){var r=h2(e),i;if(t){var o=h2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Bse(this,i)}}function Bse(e,t){return t&&(Q0(t)==="object"||typeof t=="function")?t:X3(e)}function X3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function h2(e){return h2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},h2(e)}function iy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qse=function(e){Use(n,e);var t=Vse(n);function n(){var r;zse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),iy(X3(r),"priority",80),iy(X3(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return jse(n,[{key:"parse",value:function(i,o,a){switch(o){case"b":case"bb":case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(q4(a),0,0,0),i}}]),n}(At);function K0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K0=function(n){return typeof n}:K0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},K0(e)}function Wse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oy(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 Gse(e,t,n){return t&&oy(e.prototype,t),n&&oy(e,n),e}function Yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J3(e,t)}function J3(e,t){return J3=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},J3(e,t)}function Qse(e){var t=Zse();return function(){var r=p2(e),i;if(t){var o=p2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Kse(this,i)}}function Kse(e,t){return t&&(K0(t)==="object"||typeof t=="function")?t:em(e)}function em(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zse(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function p2(e){return p2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},p2(e)}function ay(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xse=function(e){Yse(n,e);var t=Qse(n);function n(){var r;Wse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),ay(em(r),"priority",80),ay(em(r),"incompatibleTokens",["a","b","t","T"]),r}return Gse(n,[{key:"parse",value:function(i,o,a){switch(o){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(q4(a),0,0,0),i}}]),n}(At);function Z0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z0=function(n){return typeof n}:Z0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Z0(e)}function Jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sy(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 ele(e,t,n){return t&&sy(e.prototype,t),n&&sy(e,n),e}function tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function tm(e,t){return tm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},tm(e,t)}function nle(e){var t=ile();return function(){var r=m2(e),i;if(t){var o=m2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return rle(this,i)}}function rle(e,t){return t&&(Z0(t)==="object"||typeof t=="function")?t:nm(e)}function nm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ile(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function m2(e){return m2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},m2(e)}function ly(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ole=function(e){tle(n,e);var t=nle(n);function n(){var r;Jse(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),ly(nm(r),"priority",70),ly(nm(r),"incompatibleTokens",["H","K","k","t","T"]),r}return ele(n,[{key:"parse",value:function(i,o,a){switch(o){case"h":return un(xn.hour12h,i);case"ho":return a.ordinalNumber(i,{unit:"hour"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=12}},{key:"set",value:function(i,o,a){var l=i.getUTCHours()>=12;return l&&a<12?i.setUTCHours(a+12,0,0,0):!l&&a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(At);function X0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X0=function(n){return typeof n}:X0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},X0(e)}function ale(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dy(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 sle(e,t,n){return t&&dy(e.prototype,t),n&&dy(e,n),e}function lle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function rm(e,t){return rm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},rm(e,t)}function dle(e){var t=ule();return function(){var r=g2(e),i;if(t){var o=g2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return cle(this,i)}}function cle(e,t){return t&&(X0(t)==="object"||typeof t=="function")?t:im(e)}function im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ule(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function g2(e){return g2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},g2(e)}function cy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fle=function(e){lle(n,e);var t=dle(n);function n(){var r;ale(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),cy(im(r),"priority",70),cy(im(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return sle(n,[{key:"parse",value:function(i,o,a){switch(o){case"H":return un(xn.hour23h,i);case"Ho":return a.ordinalNumber(i,{unit:"hour"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=23}},{key:"set",value:function(i,o,a){return i.setUTCHours(a,0,0,0),i}}]),n}(At);function J0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J0=function(n){return typeof n}:J0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},J0(e)}function hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uy(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 ple(e,t,n){return t&&uy(e.prototype,t),n&&uy(e,n),e}function mle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function om(e,t){return om=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},om(e,t)}function gle(e){var t=yle();return function(){var r=v2(e),i;if(t){var o=v2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return vle(this,i)}}function vle(e,t){return t&&(J0(t)==="object"||typeof t=="function")?t:am(e)}function am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yle(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function v2(e){return v2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},v2(e)}function fy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ble=function(e){mle(n,e);var t=gle(n);function n(){var r;hle(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),fy(am(r),"priority",70),fy(am(r),"incompatibleTokens",["h","H","k","t","T"]),r}return ple(n,[{key:"parse",value:function(i,o,a){switch(o){case"K":return un(xn.hour11h,i);case"Ko":return a.ordinalNumber(i,{unit:"hour"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){var l=i.getUTCHours()>=12;return l&&a<12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(At);function e1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e1=function(n){return typeof n}:e1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e1(e)}function $le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hy(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 wle(e,t,n){return t&&hy(e.prototype,t),n&&hy(e,n),e}function _le(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sm(e,t)}function sm(e,t){return sm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},sm(e,t)}function xle(e){var t=Cle();return function(){var r=y2(e),i;if(t){var o=y2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return kle(this,i)}}function kle(e,t){return t&&(e1(t)==="object"||typeof t=="function")?t:lm(e)}function lm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cle(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function y2(e){return y2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},y2(e)}function py(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ele=function(e){_le(n,e);var t=xle(n);function n(){var r;$le(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),py(lm(r),"priority",70),py(lm(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return wle(n,[{key:"parse",value:function(i,o,a){switch(o){case"k":return un(xn.hour24h,i);case"ko":return a.ordinalNumber(i,{unit:"hour"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=24}},{key:"set",value:function(i,o,a){var l=a<=24?a%24:a;return i.setUTCHours(l,0,0,0),i}}]),n}(At);function t1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t1=function(n){return typeof n}:t1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t1(e)}function Sle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function my(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 Ole(e,t,n){return t&&my(e.prototype,t),n&&my(e,n),e}function Tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function dm(e,t){return dm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},dm(e,t)}function Ale(e){var t=Ple();return function(){var r=b2(e),i;if(t){var o=b2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Nle(this,i)}}function Nle(e,t){return t&&(t1(t)==="object"||typeof t=="function")?t:cm(e)}function cm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ple(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function b2(e){return b2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},b2(e)}function gy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ile=function(e){Tle(n,e);var t=Ale(n);function n(){var r;Sle(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),gy(cm(r),"priority",60),gy(cm(r),"incompatibleTokens",["t","T"]),r}return Ole(n,[{key:"parse",value:function(i,o,a){switch(o){case"m":return un(xn.minute,i);case"mo":return a.ordinalNumber(i,{unit:"minute"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCMinutes(a,0,0),i}}]),n}(At);function n1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n1=function(n){return typeof n}:n1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n1(e)}function Mle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vy(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 Dle(e,t,n){return t&&vy(e.prototype,t),n&&vy(e,n),e}function Fle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function um(e,t){return um=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},um(e,t)}function Rle(e){var t=zle();return function(){var r=$2(e),i;if(t){var o=$2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Lle(this,i)}}function Lle(e,t){return t&&(n1(t)==="object"||typeof t=="function")?t:fm(e)}function fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zle(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function $2(e){return $2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$2(e)}function yy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jle=function(e){Fle(n,e);var t=Rle(n);function n(){var r;Mle(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),yy(fm(r),"priority",50),yy(fm(r),"incompatibleTokens",["t","T"]),r}return Dle(n,[{key:"parse",value:function(i,o,a){switch(o){case"s":return un(xn.second,i);case"so":return a.ordinalNumber(i,{unit:"second"});default:return bn(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCSeconds(a,0),i}}]),n}(At);function r1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r1=function(n){return typeof n}:r1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r1(e)}function Ule(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(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 Vle(e,t,n){return t&&by(e.prototype,t),n&&by(e,n),e}function Ble(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function hm(e,t){return hm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},hm(e,t)}function Hle(e){var t=Wle();return function(){var r=w2(e),i;if(t){var o=w2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return qle(this,i)}}function qle(e,t){return t&&(r1(t)==="object"||typeof t=="function")?t:pm(e)}function pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wle(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function w2(e){return w2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},w2(e)}function $y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gle=function(e){Ble(n,e);var t=Hle(n);function n(){var r;Ule(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),$y(pm(r),"priority",30),$y(pm(r),"incompatibleTokens",["t","T"]),r}return Vle(n,[{key:"parse",value:function(i,o){var a=function(c){return Math.floor(c*Math.pow(10,-o.length+3))};return kn(bn(o.length,i),a)}},{key:"set",value:function(i,o,a){return i.setUTCMilliseconds(a),i}}]),n}(At);function i1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i1=function(n){return typeof n}:i1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i1(e)}function Yle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wy(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 Qle(e,t,n){return t&&wy(e.prototype,t),n&&wy(e,n),e}function Kle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mm(e,t)}function mm(e,t){return mm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},mm(e,t)}function Zle(e){var t=Jle();return function(){var r=_2(e),i;if(t){var o=_2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Xle(this,i)}}function Xle(e,t){return t&&(i1(t)==="object"||typeof t=="function")?t:gm(e)}function gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jle(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _2(e){return _2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_2(e)}function _y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ede=function(e){Kle(n,e);var t=Zle(n);function n(){var r;Yle(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),_y(gm(r),"priority",10),_y(gm(r),"incompatibleTokens",["t","T","x"]),r}return Qle(n,[{key:"parse",value:function(i,o){switch(o){case"X":return Ji(Xi.basicOptionalMinutes,i);case"XX":return Ji(Xi.basic,i);case"XXXX":return Ji(Xi.basicOptionalSeconds,i);case"XXXXX":return Ji(Xi.extendedOptionalSeconds,i);case"XXX":default:return Ji(Xi.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),n}(At);function o1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o1=function(n){return typeof n}:o1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o1(e)}function tde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xy(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 nde(e,t,n){return t&&xy(e.prototype,t),n&&xy(e,n),e}function rde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vm(e,t)}function vm(e,t){return vm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},vm(e,t)}function ide(e){var t=ade();return function(){var r=x2(e),i;if(t){var o=x2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ode(this,i)}}function ode(e,t){return t&&(o1(t)==="object"||typeof t=="function")?t:ym(e)}function ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ade(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function x2(e){return x2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},x2(e)}function ky(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sde=function(e){rde(n,e);var t=ide(n);function n(){var r;tde(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),ky(ym(r),"priority",10),ky(ym(r),"incompatibleTokens",["t","T","X"]),r}return nde(n,[{key:"parse",value:function(i,o){switch(o){case"x":return Ji(Xi.basicOptionalMinutes,i);case"xx":return Ji(Xi.basic,i);case"xxxx":return Ji(Xi.basicOptionalSeconds,i);case"xxxxx":return Ji(Xi.extendedOptionalSeconds,i);case"xxx":default:return Ji(Xi.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),n}(At);function a1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a1=function(n){return typeof n}:a1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},a1(e)}function lde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cy(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 dde(e,t,n){return t&&Cy(e.prototype,t),n&&Cy(e,n),e}function cde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bm(e,t)}function bm(e,t){return bm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},bm(e,t)}function ude(e){var t=hde();return function(){var r=k2(e),i;if(t){var o=k2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return fde(this,i)}}function fde(e,t){return t&&(a1(t)==="object"||typeof t=="function")?t:$m(e)}function $m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hde(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function k2(e){return k2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},k2(e)}function Ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pde=function(e){cde(n,e);var t=ude(n);function n(){var r;lde(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),Ey($m(r),"priority",40),Ey($m(r),"incompatibleTokens","*"),r}return dde(n,[{key:"parse",value:function(i){return nx(i)}},{key:"set",value:function(i,o,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),n}(At);function s1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s1=function(n){return typeof n}:s1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},s1(e)}function mde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sy(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 gde(e,t,n){return t&&Sy(e.prototype,t),n&&Sy(e,n),e}function vde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wm(e,t)}function wm(e,t){return wm=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},wm(e,t)}function yde(e){var t=$de();return function(){var r=C2(e),i;if(t){var o=C2(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return bde(this,i)}}function bde(e,t){return t&&(s1(t)==="object"||typeof t=="function")?t:_m(e)}function _m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $de(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function C2(e){return C2=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},C2(e)}function Oy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wde=function(e){vde(n,e);var t=yde(n);function n(){var r;mde(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),Oy(_m(r),"priority",20),Oy(_m(r),"incompatibleTokens","*"),r}return gde(n,[{key:"parse",value:function(i){return nx(i)}},{key:"set",value:function(i,o,a){return[new Date(a),{timestampIsSet:!0}]}}]),n}(At),_de={G:new _oe,y:new Toe,Y:new Foe,R:new Boe,u:new Koe,Q:new rae,q:new cae,M:new vae,L:new kae,w:new Pae,I:new jae,d:new Qae,D:new nse,E:new dse,e:new gse,c:new xse,i:new Nse,a:new Lse,b:new qse,B:new Xse,h:new ole,H:new fle,K:new ble,k:new Ele,m:new Ile,s:new jle,S:new Gle,X:new ede,x:new sde,t:new pde,T:new wde};function l1(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l1=function(n){return typeof n}:l1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l1(e)}function Ty(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=xde(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2793
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,l;return{s:function(){n=e[Symbol.iterator]()},n:function(){var u=n.next();return o=u.done,u},e:function(u){a=!0,l=u},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}}}function xde(e,t){if(!!e){if(typeof e=="string")return Ay(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ay(e,t)}}function Ay(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Cde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ede=/^'([^]*?)'?$/,Sde=/''/g,Ode=/\S/,Tde=/[a-zA-Z]/;function Ade(e,t,n,r){var i,o,a,l,c,u,f,p,m,g,v,w,x,A,S,O,E,M;on(3,arguments);var P=String(e),L=String(t),U=Ql(),Z=(i=(o=r?.locale)!==null&&o!==void 0?o:U.locale)!==null&&i!==void 0?i:X_;if(!Z.match)throw new RangeError("locale must contain match property");var ce=Vr((a=(l=(c=(u=r?.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(f=r.locale)===null||f===void 0||(p=f.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&c!==void 0?c:U.firstWeekContainsDate)!==null&&l!==void 0?l:(m=U.locale)===null||m===void 0||(g=m.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(ce>=1&&ce<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Q=Vr((v=(w=(x=(A=r?.weekStartsOn)!==null&&A!==void 0?A:r==null||(S=r.locale)===null||S===void 0||(O=S.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&x!==void 0?x:U.weekStartsOn)!==null&&w!==void 0?w:(E=U.locale)===null||E===void 0||(M=E.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&v!==void 0?v:0);if(!(Q>=0&&Q<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(L==="")return P===""?jn(n):new Date(NaN);var G={firstWeekContainsDate:ce,weekStartsOn:Q,locale:Z},re=[new hoe],K=L.match(Cde).map(function(Ue){var Ve=Ue[0];if(Ve in h3){var ct=h3[Ve];return ct(Ue,Z.formatLong)}return Ue}).join("").match(kde),H=[],ye=Ty(K),pe;try{var
|
|
2793
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,l;return{s:function(){n=e[Symbol.iterator]()},n:function(){var u=n.next();return o=u.done,u},e:function(u){a=!0,l=u},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}}}function xde(e,t){if(!!e){if(typeof e=="string")return Ay(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ay(e,t)}}function Ay(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Cde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ede=/^'([^]*?)'?$/,Sde=/''/g,Ode=/\S/,Tde=/[a-zA-Z]/;function Ade(e,t,n,r){var i,o,a,l,c,u,f,p,m,g,v,w,x,A,S,O,E,M;on(3,arguments);var P=String(e),L=String(t),U=Ql(),Z=(i=(o=r?.locale)!==null&&o!==void 0?o:U.locale)!==null&&i!==void 0?i:X_;if(!Z.match)throw new RangeError("locale must contain match property");var ce=Vr((a=(l=(c=(u=r?.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(f=r.locale)===null||f===void 0||(p=f.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&c!==void 0?c:U.firstWeekContainsDate)!==null&&l!==void 0?l:(m=U.locale)===null||m===void 0||(g=m.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(ce>=1&&ce<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Q=Vr((v=(w=(x=(A=r?.weekStartsOn)!==null&&A!==void 0?A:r==null||(S=r.locale)===null||S===void 0||(O=S.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&x!==void 0?x:U.weekStartsOn)!==null&&w!==void 0?w:(E=U.locale)===null||E===void 0||(M=E.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&v!==void 0?v:0);if(!(Q>=0&&Q<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(L==="")return P===""?jn(n):new Date(NaN);var G={firstWeekContainsDate:ce,weekStartsOn:Q,locale:Z},re=[new hoe],K=L.match(Cde).map(function(Ue){var Ve=Ue[0];if(Ve in h3){var ct=h3[Ve];return ct(Ue,Z.formatLong)}return Ue}).join("").match(kde),H=[],ye=Ty(K),pe;try{var ee=function(){var Ve=pe.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&Z_(Ve)&&W1(Ve,L,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&K_(Ve)&&W1(Ve,L,e);var ct=Ve[0],_t=_de[ct];if(_t){var It=_t.incompatibleTokens;if(Array.isArray(It)){var Te=H.find(function(Fe){return It.includes(Fe.token)||Fe.token===ct});if(Te)throw new RangeError("The format string mustn't contain `".concat(Te.fullToken,"` and `").concat(Ve,"` at the same time"))}else if(_t.incompatibleTokens==="*"&&H.length>0)throw new RangeError("The format string mustn't contain `".concat(Ve,"` and any other token at the same time"));H.push({token:ct,fullToken:Ve});var se=_t.run(P,Ve,Z.match,G);if(!se)return{v:new Date(NaN)};re.push(se.setter),P=se.rest}else{if(ct.match(Tde))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ct+"`");if(Ve==="''"?Ve="'":ct==="'"&&(Ve=Nde(Ve)),P.indexOf(Ve)===0)P=P.slice(Ve.length);else return{v:new Date(NaN)}}};for(ye.s();!(pe=ye.n()).done;){var we=ee();if(l1(we)==="object")return we.v}}catch(Ue){ye.e(Ue)}finally{ye.f()}if(P.length>0&&Ode.test(P))return new Date(NaN);var X=re.map(function(Ue){return Ue.priority}).sort(function(Ue,Ve){return Ve-Ue}).filter(function(Ue,Ve,ct){return ct.indexOf(Ue)===Ve}).map(function(Ue){return re.filter(function(Ve){return Ve.priority===Ue}).sort(function(Ve,ct){return ct.subPriority-Ve.subPriority})}).map(function(Ue){return Ue[0]}),ae=jn(n);if(isNaN(ae.getTime()))return new Date(NaN);var ne=q_(ae,B_(ae)),ze={},Be=Ty(X),rt;try{for(Be.s();!(rt=Be.n()).done;){var _e=rt.value;if(!_e.validate(ne,G))return new Date(NaN);var at=_e.set(ne,ze,G);Array.isArray(at)?(ne=at[0],loe(ze,at[1])):ne=at}}catch(Ue){Be.e(Ue)}finally{Be.f()}return ne}function Nde(e){return e.match(Ede)[1].replace(Sde,"'")}function Pde(e){return on(1,arguments),Xre(e,Date.now())}const Pn=(e,t)=>ws("message",n=>z_(n,e)?!0:t),Ide=(e,t,n=!0)=>ws("between",function(i){return typeof i=="number"&&(n?i>=e&&i<=t:i>e&&i<t)}),Mde=ws("NotFutureDate",e=>{const t=new Date(e);if(!(t instanceof Date))return!1;const n=new Date;return t<=n}),Dde=(e,t=n=>Ade(n,"yyyy-MM-dd",new Date))=>ws("between",function(r){return iie(t(r),e)>=0||Pde(t(r))}),Fde=()=>Yl(Xr(),"zipString",e=>/^\d{5}(-\d{4})?$/.test(e)),Rde=()=>Yl(Xr(),"email",e=>e.length===0?!0:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)),E5=()=>Yl(Pc(),"empty",e=>e===null||e==null);var Lde=Qn`
|
|
2794
2794
|
${pr}
|
|
2795
2795
|
|
|
2796
2796
|
:host {
|
|
@@ -3405,9 +3405,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3405
3405
|
${this.caret?C0` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> `:""}
|
|
3406
3406
|
${this.loading?C0`<sl-spinner></sl-spinner>`:""}
|
|
3407
3407
|
</${t}>
|
|
3408
|
-
`}};jt.styles=Lde;F([Sn(".button")],jt.prototype,"button",2);F([go()],jt.prototype,"hasFocus",2);F([go()],jt.prototype,"invalid",2);F([W()],jt.prototype,"title",2);F([W({reflect:!0})],jt.prototype,"variant",2);F([W({reflect:!0})],jt.prototype,"size",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"caret",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"disabled",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"loading",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"outline",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"pill",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"circle",2);F([W()],jt.prototype,"type",2);F([W()],jt.prototype,"name",2);F([W()],jt.prototype,"value",2);F([W()],jt.prototype,"href",2);F([W()],jt.prototype,"target",2);F([W()],jt.prototype,"rel",2);F([W()],jt.prototype,"download",2);F([W()],jt.prototype,"form",2);F([W({attribute:"formaction"})],jt.prototype,"formAction",2);F([W({attribute:"formenctype"})],jt.prototype,"formEnctype",2);F([W({attribute:"formmethod"})],jt.prototype,"formMethod",2);F([W({attribute:"formnovalidate",type:Boolean})],jt.prototype,"formNoValidate",2);F([W({attribute:"formtarget"})],jt.prototype,"formTarget",2);F([rn("disabled",{waitUntilFirstUpdate:!0})],jt.prototype,"handleDisabledChange",1);jt=F([mr("sl-button")],jt);const ox=(e,t)=>{e.updateFormValue({key:"treatment",value:t.treatment}),t.dispenseAsWritten&&e.updateFormValue({key:"dispenseAsWritten",value:t.dispenseAsWritten}),t.dispenseQuantity&&e.updateFormValue({key:"dispenseQuantity",value:Number(t.dispenseQuantity)}),t.dispenseUnit&&e.updateFormValue({key:"dispenseUnit",value:t.dispenseUnit}),t.daysSupply&&e.updateFormValue({key:"daysSupply",value:Number(t.daysSupply)}),t.fillsAllowed&&e.updateFormValue({key:"refillsInput",value:Number(t.fillsAllowed)-1}),t.instructions&&e.updateFormValue({key:"instructions",value:t.instructions}),t.notes&&e.updateFormValue({key:"notes",value:t.notes})},xm=(e,t)=>{e.updateFormValue({key:"treatment",value:void 0}),e.updateFormValue({key:"dispenseAsWritten",value:!1}),e.updateFormValue({key:"dispenseQuantity",value:void 0}),e.updateFormValue({key:"dispenseUnit",value:void 0}),e.updateFormValue({key:"daysSupply",value:void 0}),e.updateFormValue({key:"refillsInput",value:void 0}),e.updateFormValue({key:"instructions",value:""}),e.updateFormValue({key:"notes",value:t?.notes??""}),e.updateFormValue({key:"addToTemplates",value:!1})},zde=de('<div class="flex items-center justify-between"><div class="md:py-2 text-left sm:text-right text-blue-600 flex gap-2 cursor-pointer items-center h-full"><a class="font-sans text-sm ">Advanced Search</a></div></div>'),jde=de('<photon-checkbox label="Add To Personal Templates" form-name="daw"></photon-checkbox>'),Ude=de('<photon-text-input class="flex-grow flex-shrink flex-1" label="Template Name" optional="true"></photon-text-input>'),Vde=de('<div class="flex flex-col sm:gap-3"><photon-treatment-select label="Search Treatment Catalog"></photon-treatment-select><div class="flex flex-col sm:flex-none sm:grid sm:grid-cols-2 sm:gap-4"><div class="order-last sm:order-first"><photon-checkbox label="Dispense as written" tip="This prescription will be filled generically unless this box is checked" form-name="daw" class="flex-grow"></photon-checkbox><photon-med-search-dialog title="Advanced Medication Search"></photon-med-search-dialog></div></div><div class="mt-2 sm:mt-0 w-full md:pr-2"><photon-datepicker label="Do Not Fill Before" required="true"></photon-datepicker></div><div class="mt-2 sm:mt-0 sm:grid sm:grid-cols-2 sm:gap-4"><div class="flex items-end gap-1 items-stretch"><photon-number-input class="flex-grow flex-1 w-2/5 sm:w-auto" label="Quantity" required="true" min="1"></photon-number-input><div><div class="pt-1"></div></div></div><photon-dispense-units label="Dispense Unit" required="true" force-label-size="true"></photon-dispense-units></div><div class="sm:grid sm:grid-cols-2 sm:gap-4"><photon-number-input class="flex-grow flex-shrink flex-1" label="Days Supply" required="true" min="0"></photon-number-input><photon-number-input class="flex-grow flex-shrink flex-1" label="Refills" required="true" min="0" max="11"></photon-number-input></div><photon-textarea label="Patient Instructions (SIG)" form-name="patient_instructions" required="true" placeholder="Enter patient instructions"></photon-textarea><photon-textarea label="Pharmacy Note" placeholder="Enter pharmacy note"></photon-textarea><div class="flex flex-col xs:flex-row gap-2"><div class="flex flex-grow justify-end"></div></div></div>'),Bde=de("<div><style></style></div>");zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const Ny={treatment:Pn(j4(Xr(),Pc()),"Please select a treatment..."),dispenseQuantity:Pn(p8(h8(),1),"Quantity must be positive"),dispenseUnit:Pn(Yl(Xr(),"nonEmptyString",e=>e.trim().length>0),"Please select a dispensing unit..."),daysSupply:Pn(p8(h8(),0),"Days Supply must be at least 0"),refillsInput:Pn(Ide(0,11),"Refills must be 0 to 11"),instructions:Pn(pa(Xr(),1,1/0),"Please enter instructions for the patient..."),effectiveDate:Pn(Dde(new Date),"Please choose a date that isn't in the past")},Hde=e=>{const t=Br(),[n,r]=te(!1),[i,o]=te(void 0),[a]=te(void 0),[l,c]=te(!1),[,u]=Bl();let f;Ht(()=>{for(const[v,w]of Object.entries(Ny))e.actions.registerValidator({key:v,validator:w});xm(e.actions,e?.prefillNotes?{notes:e.prefillNotes}:void 0)});const p=t.getSDK().clinical.prescriptionTemplate.createPrescriptionTemplate({}),m=v=>{const w=new CustomEvent("photon-order-error",{composed:!0,bubbles:!0,detail:{errors:v}});f?.dispatchEvent(w)},g=async()=>{const v=Object.keys(Ny);if(e.actions.validate(v),e.actions.hasErrors(v))Cr({status:"error",body:"Some items in the form are incomplete, please check for errors"});else{const x={effectiveDate:e.store.effectiveDate.value,treatment:e.store.treatment.value,dispenseAsWritten:e.store.dispenseAsWritten.value,dispenseQuantity:e.store.dispenseQuantity.value,dispenseUnit:e.store.dispenseUnit.value,daysSupply:e.store.daysSupply.value,refillsInput:e.store.refillsInput.value,instructions:e.store.instructions.value,notes:e.store.notes.value,fillsAllowed:e.store.refillsInput.value+1,addToTemplates:e.store.addToTemplates?.value??!1,templateName:e.store.templateName?.value??"",catalogId:e.store.catalogId.value??void 0},A=u.checkDuplicateFill(x.treatment.name),S=async()=>{e.actions.updateFormValue({key:"draftPrescriptions",value:[...e.store.draftPrescriptions?.value||[],{id:String(Math.random()),...x}]}),e.actions.updateFormValue({key:"effectiveDate",value:V4(new Date,"yyyy-MM-dd").toString()});const O=e.store.addToTemplates?.value??!1,E=e.store.templateName?.value??"";if(e.actions.clearKeys(["treatment","dispenseAsWritten","dispenseQuantity","dispenseUnit","daysSupply","refillsInput","instructions","notes","templateName","addToTemplates"]),o(void 0),xm(e.actions,e.prefillNotes?{notes:e.prefillNotes}:void 0),O)try{const{errors:M}=await p({variables:{...x,name:E,treatmentId:x.treatment.id,isPrivate:!0},awaitRefetchQueries:!1});M?m(M):Cr({status:"success",header:"Personal Template Saved"})}catch(M){m([M])}Cr({status:"success",header:"Prescription Added",body:"You can send this order or add another prescription before sending it"})};if(e.enableCombineAndDuplicate&&A)return u.setIsDuplicateDialogOpen(!0,A,S);S()}};return(()=>{const v=Bde.cloneNode(!0),w=v.firstChild,x=f;return typeof x=="function"?wt(x,v):f=v,z(w,Bi),z(v,$(Er,{get children(){return[(()=>{const A=zde.cloneNode(!0),S=A.firstChild;return S.firstChild,z(A,$(De,{color:"gray",children:"Add Prescription"}),S),S.$$click=()=>r(!0),z(S,$(kt,{name:"magnifyingGlass",size:"sm"}),null),A})(),(()=>{const A=Ce(()=>document.importNode(Vde,!0)),S=A.firstChild,O=S.nextSibling,E=O.firstChild,M=E.firstChild,P=M.nextSibling,L=O.nextSibling,U=L.firstChild,Z=L.nextSibling,ce=Z.firstChild,Q=ce.firstChild,G=Q.nextSibling,re=G.firstChild,K=ce.nextSibling,H=Z.nextSibling,ye=H.firstChild,pe=ye.nextSibling,
|
|
3408
|
+
`}};jt.styles=Lde;F([Sn(".button")],jt.prototype,"button",2);F([go()],jt.prototype,"hasFocus",2);F([go()],jt.prototype,"invalid",2);F([W()],jt.prototype,"title",2);F([W({reflect:!0})],jt.prototype,"variant",2);F([W({reflect:!0})],jt.prototype,"size",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"caret",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"disabled",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"loading",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"outline",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"pill",2);F([W({type:Boolean,reflect:!0})],jt.prototype,"circle",2);F([W()],jt.prototype,"type",2);F([W()],jt.prototype,"name",2);F([W()],jt.prototype,"value",2);F([W()],jt.prototype,"href",2);F([W()],jt.prototype,"target",2);F([W()],jt.prototype,"rel",2);F([W()],jt.prototype,"download",2);F([W()],jt.prototype,"form",2);F([W({attribute:"formaction"})],jt.prototype,"formAction",2);F([W({attribute:"formenctype"})],jt.prototype,"formEnctype",2);F([W({attribute:"formmethod"})],jt.prototype,"formMethod",2);F([W({attribute:"formnovalidate",type:Boolean})],jt.prototype,"formNoValidate",2);F([W({attribute:"formtarget"})],jt.prototype,"formTarget",2);F([rn("disabled",{waitUntilFirstUpdate:!0})],jt.prototype,"handleDisabledChange",1);jt=F([mr("sl-button")],jt);const ox=(e,t)=>{e.updateFormValue({key:"treatment",value:t.treatment}),t.dispenseAsWritten&&e.updateFormValue({key:"dispenseAsWritten",value:t.dispenseAsWritten}),t.dispenseQuantity&&e.updateFormValue({key:"dispenseQuantity",value:Number(t.dispenseQuantity)}),t.dispenseUnit&&e.updateFormValue({key:"dispenseUnit",value:t.dispenseUnit}),t.daysSupply&&e.updateFormValue({key:"daysSupply",value:Number(t.daysSupply)}),t.fillsAllowed&&e.updateFormValue({key:"refillsInput",value:Number(t.fillsAllowed)-1}),t.instructions&&e.updateFormValue({key:"instructions",value:t.instructions}),t.notes&&e.updateFormValue({key:"notes",value:t.notes})},xm=(e,t)=>{e.updateFormValue({key:"treatment",value:void 0}),e.updateFormValue({key:"dispenseAsWritten",value:!1}),e.updateFormValue({key:"dispenseQuantity",value:void 0}),e.updateFormValue({key:"dispenseUnit",value:void 0}),e.updateFormValue({key:"daysSupply",value:void 0}),e.updateFormValue({key:"refillsInput",value:void 0}),e.updateFormValue({key:"instructions",value:""}),e.updateFormValue({key:"notes",value:t?.notes??""}),e.updateFormValue({key:"addToTemplates",value:!1})},zde=de('<div class="flex items-center justify-between"><div class="md:py-2 text-left sm:text-right text-blue-600 flex gap-2 cursor-pointer items-center h-full"><a class="font-sans text-sm ">Advanced Search</a></div></div>'),jde=de('<photon-checkbox label="Add To Personal Templates" form-name="daw"></photon-checkbox>'),Ude=de('<photon-text-input class="flex-grow flex-shrink flex-1" label="Template Name" optional="true"></photon-text-input>'),Vde=de('<div class="flex flex-col sm:gap-3"><photon-treatment-select label="Search Treatment Catalog"></photon-treatment-select><div class="flex flex-col sm:flex-none sm:grid sm:grid-cols-2 sm:gap-4"><div class="order-last sm:order-first"><photon-checkbox label="Dispense as written" tip="This prescription will be filled generically unless this box is checked" form-name="daw" class="flex-grow"></photon-checkbox><photon-med-search-dialog title="Advanced Medication Search"></photon-med-search-dialog></div></div><div class="mt-2 sm:mt-0 w-full md:pr-2"><photon-datepicker label="Do Not Fill Before" required="true"></photon-datepicker></div><div class="mt-2 sm:mt-0 sm:grid sm:grid-cols-2 sm:gap-4"><div class="flex items-end gap-1 items-stretch"><photon-number-input class="flex-grow flex-1 w-2/5 sm:w-auto" label="Quantity" required="true" min="1"></photon-number-input><div><div class="pt-1"></div></div></div><photon-dispense-units label="Dispense Unit" required="true" force-label-size="true"></photon-dispense-units></div><div class="sm:grid sm:grid-cols-2 sm:gap-4"><photon-number-input class="flex-grow flex-shrink flex-1" label="Days Supply" required="true" min="0"></photon-number-input><photon-number-input class="flex-grow flex-shrink flex-1" label="Refills" required="true" min="0" max="11"></photon-number-input></div><photon-textarea label="Patient Instructions (SIG)" form-name="patient_instructions" required="true" placeholder="Enter patient instructions"></photon-textarea><photon-textarea label="Pharmacy Note" placeholder="Enter pharmacy note"></photon-textarea><div class="flex flex-col xs:flex-row gap-2"><div class="flex flex-grow justify-end"></div></div></div>'),Bde=de("<div><style></style></div>");zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const Ny={treatment:Pn(j4(Xr(),Pc()),"Please select a treatment..."),dispenseQuantity:Pn(p8(h8(),1),"Quantity must be positive"),dispenseUnit:Pn(Yl(Xr(),"nonEmptyString",e=>e.trim().length>0),"Please select a dispensing unit..."),daysSupply:Pn(p8(h8(),0),"Days Supply must be at least 0"),refillsInput:Pn(Ide(0,11),"Refills must be 0 to 11"),instructions:Pn(pa(Xr(),1,1/0),"Please enter instructions for the patient..."),effectiveDate:Pn(Dde(new Date),"Please choose a date that isn't in the past")},Hde=e=>{const t=Br(),[n,r]=te(!1),[i,o]=te(void 0),[a]=te(void 0),[l,c]=te(!1),[,u]=Bl();let f;Ht(()=>{for(const[v,w]of Object.entries(Ny))e.actions.registerValidator({key:v,validator:w});xm(e.actions,e?.prefillNotes?{notes:e.prefillNotes}:void 0)});const p=t.getSDK().clinical.prescriptionTemplate.createPrescriptionTemplate({}),m=v=>{const w=new CustomEvent("photon-order-error",{composed:!0,bubbles:!0,detail:{errors:v}});f?.dispatchEvent(w)},g=async()=>{const v=Object.keys(Ny);if(e.actions.validate(v),e.actions.hasErrors(v))Cr({status:"error",body:"Some items in the form are incomplete, please check for errors"});else{const x={effectiveDate:e.store.effectiveDate.value,treatment:e.store.treatment.value,dispenseAsWritten:e.store.dispenseAsWritten.value,dispenseQuantity:e.store.dispenseQuantity.value,dispenseUnit:e.store.dispenseUnit.value,daysSupply:e.store.daysSupply.value,refillsInput:e.store.refillsInput.value,instructions:e.store.instructions.value,notes:e.store.notes.value,fillsAllowed:e.store.refillsInput.value+1,addToTemplates:e.store.addToTemplates?.value??!1,templateName:e.store.templateName?.value??"",catalogId:e.store.catalogId.value??void 0,externalId:e.store.externalId?.value??void 0},A=u.checkDuplicateFill(x.treatment.name),S=async()=>{e.actions.updateFormValue({key:"draftPrescriptions",value:[...e.store.draftPrescriptions?.value||[],{id:String(Math.random()),...x}]}),e.actions.updateFormValue({key:"effectiveDate",value:V4(new Date,"yyyy-MM-dd").toString()});const O=e.store.addToTemplates?.value??!1,E=e.store.templateName?.value??"";if(e.actions.clearKeys(["treatment","dispenseAsWritten","dispenseQuantity","dispenseUnit","daysSupply","refillsInput","instructions","notes","templateName","addToTemplates"]),o(void 0),xm(e.actions,e.prefillNotes?{notes:e.prefillNotes}:void 0),O)try{const{errors:M}=await p({variables:{...x,name:E,treatmentId:x.treatment.id,isPrivate:!0},awaitRefetchQueries:!1});M?m(M):Cr({status:"success",header:"Personal Template Saved"})}catch(M){m([M])}Cr({status:"success",header:"Prescription Added",body:"You can send this order or add another prescription before sending it"})};if(e.enableCombineAndDuplicate&&A)return u.setIsDuplicateDialogOpen(!0,A,S);S()}};return(()=>{const v=Bde.cloneNode(!0),w=v.firstChild,x=f;return typeof x=="function"?wt(x,v):f=v,z(w,Bi),z(v,$(Er,{get children(){return[(()=>{const A=zde.cloneNode(!0),S=A.firstChild;return S.firstChild,z(A,$(De,{color:"gray",children:"Add Prescription"}),S),S.$$click=()=>r(!0),z(S,$(kt,{name:"magnifyingGlass",size:"sm"}),null),A})(),(()=>{const A=Ce(()=>document.importNode(Vde,!0)),S=A.firstChild,O=S.nextSibling,E=O.firstChild,M=E.firstChild,P=M.nextSibling,L=O.nextSibling,U=L.firstChild,Z=L.nextSibling,ce=Z.firstChild,Q=ce.firstChild,G=Q.nextSibling,re=G.firstChild,K=ce.nextSibling,H=Z.nextSibling,ye=H.firstChild,pe=ye.nextSibling,ee=H.nextSibling,we=ee.nextSibling,X=we.nextSibling,ae=X.firstChild;return A.addEventListener("photon-medication-selected",ne=>{r(!1),o(ne.detail.medication),e.actions.updateFormValue({key:"treatment",value:ne.detail.medication})}),S.addEventListener("photon-treatment-selected",ne=>{ne.detail.data.__typename==="PrescriptionTemplate"?ox(e.actions,{...ne.detail.data,notes:[ne.detail.data?.notes,e.prefillNotes].filter(ze=>ze).join(`
|
|
3409
3409
|
|
|
3410
|
-
`)}):e.actions.updateFormValue({key:"treatment",value:ne.detail.data}),e.actions.updateFormValue({key:"catalogId",value:ne.detail.catalogId})}),S._$owner=Oe(),M.addEventListener("photon-checkbox-toggled",ne=>e.actions.updateFormValue({key:"dispenseAsWritten",value:ne.detail.checked})),M._$owner=Oe(),P.addEventListener("photon-medication-closed",()=>r(!1)),P._$owner=Oe(),U.addEventListener("photon-datepicker-selected",ne=>e.actions.updateFormValue({key:"effectiveDate",value:ne.detail.date})),U._$owner=Oe(),Q.addEventListener("photon-input-changed",ne=>{const ze=Number(ne.detail.input);!isNaN(ze)&&ne.detail.input!==""&&e.actions.updateFormValue({key:"dispenseQuantity",value:ze})}),Q.style.setProperty("width","100px"),Q._$owner=Oe(),z(ce,$(mZ,{get open(){return l()},onClose:()=>c(!1),get medicationName(){return e.store.treatment?.value?.name},get weight(){return e.weight},get weightUnit(){return e.weightUnit},setAutocompleteValues:({liquidDose:ne,totalLiquid:ze,unit:Be,days:rt})=>{e.actions.updateFormValue({key:"daysSupply",value:Number(rt)}),e.actions.updateFormValue({key:"dispenseQuantity",value:Number(ze)}),e.actions.updateFormValue({key:"instructions",value:`${ne} ${Be} ${e.store.instructions?.value}`}),Be==="mL"&&e.actions.updateFormValue({key:"dispenseUnit",value:"Milliliter"})}}),G),z(G,$(Pt,{variant:"secondary",class:"w-fit",onClick:()=>c(!0),style:{height:"40px","margin-top":"34px"},get children(){return $(kt,{name:"calculator",size:"sm"})}}),re),re.style.setProperty("height","23px"),K.addEventListener("photon-dispense-unit-selected",ne=>{e.actions.updateFormValue({key:"dispenseUnit",value:ne.detail.dispenseUnit.name})}),K._$owner=Oe(),ye.addEventListener("photon-input-changed",ne=>{e.actions.updateFormValue({key:"daysSupply",value:Number(ne.detail.input)})}),ye._$owner=Oe(),pe.addEventListener("photon-input-changed",ne=>e.actions.updateFormValue({key:"refillsInput",value:Number(ne.detail.input)})),pe._$owner=Oe(),
|
|
3410
|
+
`)}):e.actions.updateFormValue({key:"treatment",value:ne.detail.data}),e.actions.updateFormValue({key:"catalogId",value:ne.detail.catalogId})}),S._$owner=Oe(),M.addEventListener("photon-checkbox-toggled",ne=>e.actions.updateFormValue({key:"dispenseAsWritten",value:ne.detail.checked})),M._$owner=Oe(),P.addEventListener("photon-medication-closed",()=>r(!1)),P._$owner=Oe(),U.addEventListener("photon-datepicker-selected",ne=>e.actions.updateFormValue({key:"effectiveDate",value:ne.detail.date})),U._$owner=Oe(),Q.addEventListener("photon-input-changed",ne=>{const ze=Number(ne.detail.input);!isNaN(ze)&&ne.detail.input!==""&&e.actions.updateFormValue({key:"dispenseQuantity",value:ze})}),Q.style.setProperty("width","100px"),Q._$owner=Oe(),z(ce,$(mZ,{get open(){return l()},onClose:()=>c(!1),get medicationName(){return e.store.treatment?.value?.name},get weight(){return e.weight},get weightUnit(){return e.weightUnit},setAutocompleteValues:({liquidDose:ne,totalLiquid:ze,unit:Be,days:rt})=>{e.actions.updateFormValue({key:"daysSupply",value:Number(rt)}),e.actions.updateFormValue({key:"dispenseQuantity",value:Number(ze)}),e.actions.updateFormValue({key:"instructions",value:`${ne} ${Be} ${e.store.instructions?.value}`}),Be==="mL"&&e.actions.updateFormValue({key:"dispenseUnit",value:"Milliliter"})}}),G),z(G,$(Pt,{variant:"secondary",class:"w-fit",onClick:()=>c(!0),style:{height:"40px","margin-top":"34px"},get children(){return $(kt,{name:"calculator",size:"sm"})}}),re),re.style.setProperty("height","23px"),K.addEventListener("photon-dispense-unit-selected",ne=>{e.actions.updateFormValue({key:"dispenseUnit",value:ne.detail.dispenseUnit.name})}),K._$owner=Oe(),ye.addEventListener("photon-input-changed",ne=>{e.actions.updateFormValue({key:"daysSupply",value:Number(ne.detail.input)})}),ye._$owner=Oe(),pe.addEventListener("photon-input-changed",ne=>e.actions.updateFormValue({key:"refillsInput",value:Number(ne.detail.input)})),pe._$owner=Oe(),ee.addEventListener("photon-textarea-changed",ne=>e.actions.updateFormValue({key:"instructions",value:ne.detail.value})),ee._$owner=Oe(),we.addEventListener("photon-textarea-changed",ne=>e.actions.updateFormValue({key:"notes",value:ne.detail.value})),we._$owner=Oe(),z(X,$($e,{get when(){return!e.hideAddToTemplates},get children(){const ne=Ce(()=>document.importNode(jde,!0));return ne.addEventListener("photon-checkbox-toggled",ze=>e.actions.updateFormValue({key:"addToTemplates",value:ze.detail.checked})),ne._$owner=Oe(),ve(()=>ne.checked=e.store.addToTemplates?.value||!1),ne}}),ae),z(X,$($e,{get when(){return e.store.addToTemplates?.value??!1},get children(){const ne=Ce(()=>document.importNode(Ude,!0));return ne.addEventListener("photon-input-changed",ze=>e.actions.updateFormValue({key:"templateName",value:ze.detail.input})),ne._$owner=Oe(),ve(ze=>{const Be=e.store.templateName?.error??!1,rt=e.store.templateName?.error;return Be!==ze._v$&&(ne.invalid=ze._v$=Be),rt!==ze._v$2&&(ne.helpText=ze._v$2=rt),ze},{_v$:void 0,_v$2:void 0}),ve(()=>ne.value=e.store.templateName?.value??""),ne}}),ae),z(ae,$(Pt,{class:"w-full md:!w-auto",size:"lg",onClick:g,children:"Add Prescription to Order"})),ve(ne=>{const ze=e.store.treatment?.value??void 0,Be=e.store.treatment?.error??!1,rt=e.store.treatment?.error,_e=i(),at=n(),Ue=e.store.effectiveDate?.error??!1,Ve=e.store.effectiveDate?.error,ct=e.store.dispenseQuantity?.error??!1,_t=e.store.dispenseQuantity?.error,It=e.store.dispenseUnit?.value??a()?.name,Te=e.store.dispenseUnit?.error??!1,se=e.store.dispenseUnit?.error,Fe=e.store.daysSupply?.error??!1,Ze=e.store.daysSupply?.error,mt=e.store.refillsInput?.error??!1,bt=e.store.refillsInput?.error,Yt=e.store.instructions?.error??!1,gt=e.store.instructions?.error;return ze!==ne._v$3&&(S.selected=ne._v$3=ze),Be!==ne._v$4&&(S.invalid=ne._v$4=Be),rt!==ne._v$5&&(S.helpText=ne._v$5=rt),_e!==ne._v$6&&(S.offCatalogOption=ne._v$6=_e),at!==ne._v$7&&(P.open=ne._v$7=at),Ue!==ne._v$8&&(U.invalid=ne._v$8=Ue),Ve!==ne._v$9&&(U.helpText=ne._v$9=Ve),ct!==ne._v$10&&(Q.invalid=ne._v$10=ct),_t!==ne._v$11&&(Q.helpText=ne._v$11=_t),It!==ne._v$12&&(K.selected=ne._v$12=It),Te!==ne._v$13&&(K.invalid=ne._v$13=Te),se!==ne._v$14&&(K.helpText=ne._v$14=se),Fe!==ne._v$15&&(ye.invalid=ne._v$15=Fe),Ze!==ne._v$16&&(ye.helpText=ne._v$16=Ze),mt!==ne._v$17&&(pe.invalid=ne._v$17=mt),bt!==ne._v$18&&(pe.helpText=ne._v$18=bt),Yt!==ne._v$19&&(ee.invalid=ne._v$19=Yt),gt!==ne._v$20&&(ee.helpText=ne._v$20=gt),ne},{_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0,_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0}),ve(()=>M.checked=e.store.dispenseAsWritten?.value||!1),ve(()=>Q.value=e.store.dispenseQuantity?.value??null),ve(()=>ye.value=e.store.daysSupply?.value??null),ve(()=>pe.value=e.store.refillsInput?.value),ve(()=>ee.value=e.store.instructions?.value),ve(()=>we.value=e.store.notes?.value),A})()]}}),null),v})()};I2(["click"]);var qde=Qn`
|
|
3411
3411
|
${pr}
|
|
3412
3412
|
|
|
3413
3413
|
:host {
|
|
@@ -3494,9 +3494,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3494
3494
|
* Released under MIT license <https://lodash.com/license>
|
|
3495
3495
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
3496
3496
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
3497
|
-
*/(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",p=1,m=2,g=4,v=1,w=2,x=1,A=2,S=4,O=8,E=16,M=32,P=64,L=128,U=256,Z=512,ce=30,Q="...",G=800,re=16,K=1,H=2,ye=3,pe=1/0,J=9007199254740991,we=17976931348623157e292,ee=0/0,ae=4294967295,ne=ae-1,ze=ae>>>1,Be=[["ary",L],["bind",x],["bindKey",A],["curry",O],["curryRight",E],["flip",Z],["partial",M],["partialRight",P],["rearg",U]],rt="[object Arguments]",_e="[object Array]",at="[object AsyncFunction]",Ue="[object Boolean]",Ve="[object Date]",ct="[object DOMException]",_t="[object Error]",It="[object Function]",Te="[object GeneratorFunction]",se="[object Map]",Fe="[object Number]",Ze="[object Null]",mt="[object Object]",bt="[object Promise]",Yt="[object Proxy]",gt="[object RegExp]",an="[object Set]",Un="[object String]",ii="[object Symbol]",Kl="[object Undefined]",vo="[object WeakMap]",Ut="[object WeakSet]",Vt="[object ArrayBuffer]",Mt="[object DataView]",Zn="[object Float32Array]",ar="[object Float64Array]",$n="[object Int8Array]",vr="[object Int16Array]",yr="[object Int32Array]",Ir="[object Uint8Array]",sr="[object Uint8ClampedArray]",Hr="[object Uint16Array]",Hi="[object Uint32Array]",ff=/\b__p \+= '';/g,qi=/\b(__p \+=) '' \+/g,Zl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xl=/&(?:amp|lt|gt|quot|#39);/g,Jl=/[&<>"']/g,Ic=RegExp(Xl.source),_s=RegExp(Jl.source),ed=/<%-([\s\S]+?)%>/g,oi=/<%([\s\S]+?)%>/g,lr=/<%=([\s\S]+?)%>/g,Mc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xs=/^\w*$/,Wi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yo=/[\\^$.*+?()[\]{}|]/g,Dc=RegExp(yo.source),Uo=/^\s+/,Fc=/\s/,Rc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lc=/\{\n\/\* \[wrapped with (.+)\] \*/,zc=/,? & /,td=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ai=/[()=,{}\[\]\/\s]/,hf=/\\(\\)?/g,jc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Uc=/\w*$/,Vc=/^[-+]0x[0-9a-f]+$/i,nd=/^0b[01]+$/i,Bc=/^\[object .+?Constructor\]$/,Hc=/^0o[0-7]+$/i,pf=/^(?:0|[1-9]\d*)$/,qc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ea=/($^)/,ks=/['\n\r\u2028\u2029\\]/g,Vo="\\ud800-\\udfff",Wc="\\u0300-\\u036f",Gc="\\ufe20-\\ufe2f",Yc="\\u20d0-\\u20ff",rd=Wc+Gc+Yc,id="\\u2700-\\u27bf",Vn="a-z\\xdf-\\xf6\\xf8-\\xff",mf="\\xac\\xb1\\xd7\\xf7",gf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qc="\\u2000-\\u206f",vf=" \\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",Cs="A-Z\\xc0-\\xd6\\xd8-\\xde",Sa="\\ufe0e\\ufe0f",Qe=mf+gf+Qc+vf,bo="['\u2019]",si="["+Vo+"]",Gi="["+Qe+"]",Bo="["+rd+"]",od="\\d+",Bn="["+id+"]",b="["+Vn+"]",C="[^"+Vo+Qe+od+id+Vn+Cs+"]",D="\\ud83c[\\udffb-\\udfff]",q="(?:"+Bo+"|"+D+")",Y="[^"+Vo+"]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",xe="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="["+Cs+"]",hn="\\u200d",$o="(?:"+b+"|"+C+")",Ox="(?:"+tt+"|"+C+")",K4="(?:"+bo+"(?:d|ll|m|re|s|t|ve))?",Z4="(?:"+bo+"(?:D|LL|M|RE|S|T|VE))?",X4=q+"?",J4="["+Sa+"]?",Tx="(?:"+hn+"(?:"+[Y,ue,xe].join("|")+")"+J4+X4+")*",Ax="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",eg=J4+X4+Tx,Px="(?:"+[Bn,ue,xe].join("|")+")"+eg,Ix="(?:"+[Y+Bo+"?",Bo,ue,xe,si].join("|")+")",Mx=RegExp(bo,"g"),Dx=RegExp(Bo,"g"),yf=RegExp(D+"(?="+D+")|"+Ix+eg,"g"),Fx=RegExp([tt+"?"+b+"+"+K4+"(?="+[Gi,tt,"$"].join("|")+")",Ox+"+"+Z4+"(?="+[Gi,tt+$o,"$"].join("|")+")",tt+"?"+$o+"+"+K4,tt+"+"+Z4,Nx,Ax,od,Px].join("|"),"g"),Rx=RegExp("["+hn+Vo+rd+Sa+"]"),Lx=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zx=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jx=-1,tn={};tn[Zn]=tn[ar]=tn[$n]=tn[vr]=tn[yr]=tn[Ir]=tn[sr]=tn[Hr]=tn[Hi]=!0,tn[rt]=tn[_e]=tn[Vt]=tn[Ue]=tn[Mt]=tn[Ve]=tn[_t]=tn[It]=tn[se]=tn[Fe]=tn[mt]=tn[gt]=tn[an]=tn[Un]=tn[vo]=!1;var Qt={};Qt[rt]=Qt[_e]=Qt[Vt]=Qt[Mt]=Qt[Ue]=Qt[Ve]=Qt[Zn]=Qt[ar]=Qt[$n]=Qt[vr]=Qt[yr]=Qt[se]=Qt[Fe]=Qt[mt]=Qt[gt]=Qt[an]=Qt[Un]=Qt[ii]=Qt[Ir]=Qt[sr]=Qt[Hr]=Qt[Hi]=!0,Qt[_t]=Qt[It]=Qt[vo]=!1;var Ux={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Vx={"&":"&","<":"<",">":">",'"':""","'":"'"},Bx={"&":"&","<":"<",">":">",""":'"',"'":"'"},Hx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},qx=parseFloat,Wx=parseInt,tg=typeof Sd=="object"&&Sd&&Sd.Object===Object&&Sd,Gx=typeof self=="object"&&self&&self.Object===Object&&self,Xn=tg||Gx||Function("return this")(),bf=t&&!t.nodeType&&t,Oa=bf&&!0&&e&&!e.nodeType&&e,ng=Oa&&Oa.exports===bf,$f=ng&&tg.process,li=function(){try{var V=Oa&&Oa.require&&Oa.require("util").types;return V||$f&&$f.binding&&$f.binding("util")}catch{}}(),rg=li&&li.isArrayBuffer,ig=li&&li.isDate,og=li&&li.isMap,ag=li&&li.isRegExp,sg=li&&li.isSet,lg=li&&li.isTypedArray;function qr(V,le,X){switch(X.length){case 0:return V.call(le);case 1:return V.call(le,X[0]);case 2:return V.call(le,X[0],X[1]);case 3:return V.call(le,X[0],X[1],X[2])}return V.apply(le,X)}function Yx(V,le,X,Pe){for(var Xe=-1,Et=V==null?0:V.length;++Xe<Et;){var Mn=V[Xe];le(Pe,Mn,X(Mn),V)}return Pe}function di(V,le){for(var X=-1,Pe=V==null?0:V.length;++X<Pe&&le(V[X],X,V)!==!1;);return V}function Qx(V,le){for(var X=V==null?0:V.length;X--&&le(V[X],X,V)!==!1;);return V}function dg(V,le){for(var X=-1,Pe=V==null?0:V.length;++X<Pe;)if(!le(V[X],X,V))return!1;return!0}function Ho(V,le){for(var X=-1,Pe=V==null?0:V.length,Xe=0,Et=[];++X<Pe;){var Mn=V[X];le(Mn,X,V)&&(Et[Xe++]=Mn)}return Et}function Kc(V,le){var X=V==null?0:V.length;return!!X&&Es(V,le,0)>-1}function wf(V,le,X){for(var Pe=-1,Xe=V==null?0:V.length;++Pe<Xe;)if(X(le,V[Pe]))return!0;return!1}function sn(V,le){for(var X=-1,Pe=V==null?0:V.length,Xe=Array(Pe);++X<Pe;)Xe[X]=le(V[X],X,V);return Xe}function qo(V,le){for(var X=-1,Pe=le.length,Xe=V.length;++X<Pe;)V[Xe+X]=le[X];return V}function _f(V,le,X,Pe){var Xe=-1,Et=V==null?0:V.length;for(Pe&&Et&&(X=V[++Xe]);++Xe<Et;)X=le(X,V[Xe],Xe,V);return X}function Kx(V,le,X,Pe){var Xe=V==null?0:V.length;for(Pe&&Xe&&(X=V[--Xe]);Xe--;)X=le(X,V[Xe],Xe,V);return X}function xf(V,le){for(var X=-1,Pe=V==null?0:V.length;++X<Pe;)if(le(V[X],X,V))return!0;return!1}var Zx=kf("length");function Xx(V){return V.split("")}function Jx(V){return V.match(td)||[]}function cg(V,le,X){var Pe;return X(V,function(Xe,Et,Mn){if(le(Xe,Et,Mn))return Pe=Et,!1}),Pe}function Zc(V,le,X,Pe){for(var Xe=V.length,Et=X+(Pe?1:-1);Pe?Et--:++Et<Xe;)if(le(V[Et],Et,V))return Et;return-1}function Es(V,le,X){return le===le?uk(V,le,X):Zc(V,ug,X)}function ek(V,le,X,Pe){for(var Xe=X-1,Et=V.length;++Xe<Et;)if(Pe(V[Xe],le))return Xe;return-1}function ug(V){return V!==V}function fg(V,le){var X=V==null?0:V.length;return X?Ef(V,le)/X:ee}function kf(V){return function(le){return le==null?n:le[V]}}function Cf(V){return function(le){return V==null?n:V[le]}}function hg(V,le,X,Pe,Xe){return Xe(V,function(Et,Mn,Wt){X=Pe?(Pe=!1,Et):le(X,Et,Mn,Wt)}),X}function tk(V,le){var X=V.length;for(V.sort(le);X--;)V[X]=V[X].value;return V}function Ef(V,le){for(var X,Pe=-1,Xe=V.length;++Pe<Xe;){var Et=le(V[Pe]);Et!==n&&(X=X===n?Et:X+Et)}return X}function Sf(V,le){for(var X=-1,Pe=Array(V);++X<V;)Pe[X]=le(X);return Pe}function nk(V,le){return sn(le,function(X){return[X,V[X]]})}function pg(V){return V&&V.slice(0,yg(V)+1).replace(Uo,"")}function Wr(V){return function(le){return V(le)}}function Of(V,le){return sn(le,function(X){return V[X]})}function ad(V,le){return V.has(le)}function mg(V,le){for(var X=-1,Pe=V.length;++X<Pe&&Es(le,V[X],0)>-1;);return X}function gg(V,le){for(var X=V.length;X--&&Es(le,V[X],0)>-1;);return X}function rk(V,le){for(var X=V.length,Pe=0;X--;)V[X]===le&&++Pe;return Pe}var ik=Cf(Ux),ok=Cf(Vx);function ak(V){return"\\"+Hx[V]}function sk(V,le){return V==null?n:V[le]}function Ss(V){return Rx.test(V)}function lk(V){return Lx.test(V)}function dk(V){for(var le,X=[];!(le=V.next()).done;)X.push(le.value);return X}function Tf(V){var le=-1,X=Array(V.size);return V.forEach(function(Pe,Xe){X[++le]=[Xe,Pe]}),X}function vg(V,le){return function(X){return V(le(X))}}function Wo(V,le){for(var X=-1,Pe=V.length,Xe=0,Et=[];++X<Pe;){var Mn=V[X];(Mn===le||Mn===f)&&(V[X]=f,Et[Xe++]=X)}return Et}function Xc(V){var le=-1,X=Array(V.size);return V.forEach(function(Pe){X[++le]=Pe}),X}function ck(V){var le=-1,X=Array(V.size);return V.forEach(function(Pe){X[++le]=[Pe,Pe]}),X}function uk(V,le,X){for(var Pe=X-1,Xe=V.length;++Pe<Xe;)if(V[Pe]===le)return Pe;return-1}function fk(V,le,X){for(var Pe=X+1;Pe--;)if(V[Pe]===le)return Pe;return Pe}function Os(V){return Ss(V)?pk(V):Zx(V)}function Si(V){return Ss(V)?mk(V):Xx(V)}function yg(V){for(var le=V.length;le--&&Fc.test(V.charAt(le)););return le}var hk=Cf(Bx);function pk(V){for(var le=yf.lastIndex=0;yf.test(V);)++le;return le}function mk(V){return V.match(yf)||[]}function gk(V){return V.match(Fx)||[]}var vk=function V(le){le=le==null?Xn:Ts.defaults(Xn.Object(),le,Ts.pick(Xn,zx));var X=le.Array,Pe=le.Date,Xe=le.Error,Et=le.Function,Mn=le.Math,Wt=le.Object,Af=le.RegExp,yk=le.String,ci=le.TypeError,Jc=X.prototype,bk=Et.prototype,As=Wt.prototype,eu=le["__core-js_shared__"],tu=bk.toString,Dt=As.hasOwnProperty,$k=0,bg=function(){var s=/[^.]+$/.exec(eu&&eu.keys&&eu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),nu=As.toString,wk=tu.call(Wt),_k=Xn._,xk=Af("^"+tu.call(Dt).replace(yo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ru=ng?le.Buffer:n,Go=le.Symbol,iu=le.Uint8Array,$g=ru?ru.allocUnsafe:n,ou=vg(Wt.getPrototypeOf,Wt),wg=Wt.create,_g=As.propertyIsEnumerable,au=Jc.splice,xg=Go?Go.isConcatSpreadable:n,sd=Go?Go.iterator:n,Ta=Go?Go.toStringTag:n,su=function(){try{var s=Ma(Wt,"defineProperty");return s({},"",{}),s}catch{}}(),kk=le.clearTimeout!==Xn.clearTimeout&&le.clearTimeout,Ck=Pe&&Pe.now!==Xn.Date.now&&Pe.now,Ek=le.setTimeout!==Xn.setTimeout&&le.setTimeout,lu=Mn.ceil,du=Mn.floor,Nf=Wt.getOwnPropertySymbols,Sk=ru?ru.isBuffer:n,kg=le.isFinite,Ok=Jc.join,Tk=vg(Wt.keys,Wt),Dn=Mn.max,dr=Mn.min,Ak=Pe.now,Nk=le.parseInt,Cg=Mn.random,Pk=Jc.reverse,Pf=Ma(le,"DataView"),ld=Ma(le,"Map"),If=Ma(le,"Promise"),Ns=Ma(le,"Set"),dd=Ma(le,"WeakMap"),cd=Ma(Wt,"create"),cu=dd&&new dd,Ps={},Ik=Da(Pf),Mk=Da(ld),Dk=Da(If),Fk=Da(Ns),Rk=Da(dd),uu=Go?Go.prototype:n,ud=uu?uu.valueOf:n,Eg=uu?uu.toString:n;function T(s){if(pn(s)&&!nt(s)&&!(s instanceof vt)){if(s instanceof ui)return s;if(Dt.call(s,"__wrapped__"))return Sv(s)}return new ui(s)}var Is=function(){function s(){}return function(d){if(!cn(d))return{};if(wg)return wg(d);s.prototype=d;var h=new s;return s.prototype=n,h}}();function fu(){}function ui(s,d){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=n}T.templateSettings={escape:ed,evaluate:oi,interpolate:lr,variable:"",imports:{_:T}},T.prototype=fu.prototype,T.prototype.constructor=T,ui.prototype=Is(fu.prototype),ui.prototype.constructor=ui;function vt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ae,this.__views__=[]}function Lk(){var s=new vt(this.__wrapped__);return s.__actions__=Mr(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Mr(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Mr(this.__views__),s}function zk(){if(this.__filtered__){var s=new vt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function jk(){var s=this.__wrapped__.value(),d=this.__dir__,h=nt(s),y=d<0,k=h?s.length:0,N=XC(0,k,this.__views__),I=N.start,j=N.end,B=j-I,fe=y?j:I-1,he=this.__iteratees__,be=he.length,Ee=0,je=dr(B,this.__takeCount__);if(!h||!y&&k==B&&je==B)return Kg(s,this.__actions__);var We=[];e:for(;B--&&Ee<je;){fe+=d;for(var st=-1,Ge=s[fe];++st<be;){var ht=he[st],$t=ht.iteratee,Qr=ht.type,wr=$t(Ge);if(Qr==H)Ge=wr;else if(!wr){if(Qr==K)continue e;break e}}We[Ee++]=Ge}return We}vt.prototype=Is(fu.prototype),vt.prototype.constructor=vt;function Aa(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var y=s[d];this.set(y[0],y[1])}}function Uk(){this.__data__=cd?cd(null):{},this.size=0}function Vk(s){var d=this.has(s)&&delete this.__data__[s];return this.size-=d?1:0,d}function Bk(s){var d=this.__data__;if(cd){var h=d[s];return h===c?n:h}return Dt.call(d,s)?d[s]:n}function Hk(s){var d=this.__data__;return cd?d[s]!==n:Dt.call(d,s)}function qk(s,d){var h=this.__data__;return this.size+=this.has(s)?0:1,h[s]=cd&&d===n?c:d,this}Aa.prototype.clear=Uk,Aa.prototype.delete=Vk,Aa.prototype.get=Bk,Aa.prototype.has=Hk,Aa.prototype.set=qk;function wo(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var y=s[d];this.set(y[0],y[1])}}function Wk(){this.__data__=[],this.size=0}function Gk(s){var d=this.__data__,h=hu(d,s);if(h<0)return!1;var y=d.length-1;return h==y?d.pop():au.call(d,h,1),--this.size,!0}function Yk(s){var d=this.__data__,h=hu(d,s);return h<0?n:d[h][1]}function Qk(s){return hu(this.__data__,s)>-1}function Kk(s,d){var h=this.__data__,y=hu(h,s);return y<0?(++this.size,h.push([s,d])):h[y][1]=d,this}wo.prototype.clear=Wk,wo.prototype.delete=Gk,wo.prototype.get=Yk,wo.prototype.has=Qk,wo.prototype.set=Kk;function _o(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var y=s[d];this.set(y[0],y[1])}}function Zk(){this.size=0,this.__data__={hash:new Aa,map:new(ld||wo),string:new Aa}}function Xk(s){var d=Cu(this,s).delete(s);return this.size-=d?1:0,d}function Jk(s){return Cu(this,s).get(s)}function eC(s){return Cu(this,s).has(s)}function tC(s,d){var h=Cu(this,s),y=h.size;return h.set(s,d),this.size+=h.size==y?0:1,this}_o.prototype.clear=Zk,_o.prototype.delete=Xk,_o.prototype.get=Jk,_o.prototype.has=eC,_o.prototype.set=tC;function Na(s){var d=-1,h=s==null?0:s.length;for(this.__data__=new _o;++d<h;)this.add(s[d])}function nC(s){return this.__data__.set(s,c),this}function rC(s){return this.__data__.has(s)}Na.prototype.add=Na.prototype.push=nC,Na.prototype.has=rC;function Oi(s){var d=this.__data__=new wo(s);this.size=d.size}function iC(){this.__data__=new wo,this.size=0}function oC(s){var d=this.__data__,h=d.delete(s);return this.size=d.size,h}function aC(s){return this.__data__.get(s)}function sC(s){return this.__data__.has(s)}function lC(s,d){var h=this.__data__;if(h instanceof wo){var y=h.__data__;if(!ld||y.length<i-1)return y.push([s,d]),this.size=++h.size,this;h=this.__data__=new _o(y)}return h.set(s,d),this.size=h.size,this}Oi.prototype.clear=iC,Oi.prototype.delete=oC,Oi.prototype.get=aC,Oi.prototype.has=sC,Oi.prototype.set=lC;function Sg(s,d){var h=nt(s),y=!h&&Fa(s),k=!h&&!y&&Xo(s),N=!h&&!y&&!k&&Rs(s),I=h||y||k||N,j=I?Sf(s.length,yk):[],B=j.length;for(var fe in s)(d||Dt.call(s,fe))&&!(I&&(fe=="length"||k&&(fe=="offset"||fe=="parent")||N&&(fe=="buffer"||fe=="byteLength"||fe=="byteOffset")||Eo(fe,B)))&&j.push(fe);return j}function Og(s){var d=s.length;return d?s[Hf(0,d-1)]:n}function dC(s,d){return Eu(Mr(s),Pa(d,0,s.length))}function cC(s){return Eu(Mr(s))}function Mf(s,d,h){(h!==n&&!Ti(s[d],h)||h===n&&!(d in s))&&xo(s,d,h)}function fd(s,d,h){var y=s[d];(!(Dt.call(s,d)&&Ti(y,h))||h===n&&!(d in s))&&xo(s,d,h)}function hu(s,d){for(var h=s.length;h--;)if(Ti(s[h][0],d))return h;return-1}function uC(s,d,h,y){return Yo(s,function(k,N,I){d(y,k,h(k),I)}),y}function Tg(s,d){return s&&Qi(d,Hn(d),s)}function fC(s,d){return s&&Qi(d,Fr(d),s)}function xo(s,d,h){d=="__proto__"&&su?su(s,d,{configurable:!0,enumerable:!0,value:h,writable:!0}):s[d]=h}function Df(s,d){for(var h=-1,y=d.length,k=X(y),N=s==null;++h<y;)k[h]=N?n:mh(s,d[h]);return k}function Pa(s,d,h){return s===s&&(h!==n&&(s=s<=h?s:h),d!==n&&(s=s>=d?s:d)),s}function fi(s,d,h,y,k,N){var I,j=d&p,B=d&m,fe=d&g;if(h&&(I=k?h(s,y,k,N):h(s)),I!==n)return I;if(!cn(s))return s;var he=nt(s);if(he){if(I=eE(s),!j)return Mr(s,I)}else{var be=cr(s),Ee=be==It||be==Te;if(Xo(s))return Jg(s,j);if(be==mt||be==rt||Ee&&!k){if(I=B||Ee?{}:yv(s),!j)return B?BC(s,fC(I,s)):VC(s,Tg(I,s))}else{if(!Qt[be])return k?s:{};I=tE(s,be,j)}}N||(N=new Oi);var je=N.get(s);if(je)return je;N.set(s,I),Gv(s)?s.forEach(function(Ge){I.add(fi(Ge,d,h,Ge,s,N))}):qv(s)&&s.forEach(function(Ge,ht){I.set(ht,fi(Ge,d,h,ht,s,N))});var We=fe?B?th:eh:B?Fr:Hn,st=he?n:We(s);return di(st||s,function(Ge,ht){st&&(ht=Ge,Ge=s[ht]),fd(I,ht,fi(Ge,d,h,ht,s,N))}),I}function hC(s){var d=Hn(s);return function(h){return Ag(h,s,d)}}function Ag(s,d,h){var y=h.length;if(s==null)return!y;for(s=Wt(s);y--;){var k=h[y],N=d[k],I=s[k];if(I===n&&!(k in s)||!N(I))return!1}return!0}function Ng(s,d,h){if(typeof s!="function")throw new ci(a);return bd(function(){s.apply(n,h)},d)}function hd(s,d,h,y){var k=-1,N=Kc,I=!0,j=s.length,B=[],fe=d.length;if(!j)return B;h&&(d=sn(d,Wr(h))),y?(N=wf,I=!1):d.length>=i&&(N=ad,I=!1,d=new Na(d));e:for(;++k<j;){var he=s[k],be=h==null?he:h(he);if(he=y||he!==0?he:0,I&&be===be){for(var Ee=fe;Ee--;)if(d[Ee]===be)continue e;B.push(he)}else N(d,be,y)||B.push(he)}return B}var Yo=iv(Yi),Pg=iv(Rf,!0);function pC(s,d){var h=!0;return Yo(s,function(y,k,N){return h=!!d(y,k,N),h}),h}function pu(s,d,h){for(var y=-1,k=s.length;++y<k;){var N=s[y],I=d(N);if(I!=null&&(j===n?I===I&&!Yr(I):h(I,j)))var j=I,B=N}return B}function mC(s,d,h,y){var k=s.length;for(h=it(h),h<0&&(h=-h>k?0:k+h),y=y===n||y>k?k:it(y),y<0&&(y+=k),y=h>y?0:Qv(y);h<y;)s[h++]=d;return s}function Ig(s,d){var h=[];return Yo(s,function(y,k,N){d(y,k,N)&&h.push(y)}),h}function Jn(s,d,h,y,k){var N=-1,I=s.length;for(h||(h=rE),k||(k=[]);++N<I;){var j=s[N];d>0&&h(j)?d>1?Jn(j,d-1,h,y,k):qo(k,j):y||(k[k.length]=j)}return k}var Ff=ov(),Mg=ov(!0);function Yi(s,d){return s&&Ff(s,d,Hn)}function Rf(s,d){return s&&Mg(s,d,Hn)}function mu(s,d){return Ho(d,function(h){return So(s[h])})}function Ia(s,d){d=Ko(d,s);for(var h=0,y=d.length;s!=null&&h<y;)s=s[Ki(d[h++])];return h&&h==y?s:n}function Dg(s,d,h){var y=d(s);return nt(s)?y:qo(y,h(s))}function br(s){return s==null?s===n?Kl:Ze:Ta&&Ta in Wt(s)?ZC(s):cE(s)}function Lf(s,d){return s>d}function gC(s,d){return s!=null&&Dt.call(s,d)}function vC(s,d){return s!=null&&d in Wt(s)}function yC(s,d,h){return s>=dr(d,h)&&s<Dn(d,h)}function zf(s,d,h){for(var y=h?wf:Kc,k=s[0].length,N=s.length,I=N,j=X(N),B=1/0,fe=[];I--;){var he=s[I];I&&d&&(he=sn(he,Wr(d))),B=dr(he.length,B),j[I]=!h&&(d||k>=120&&he.length>=120)?new Na(I&&he):n}he=s[0];var be=-1,Ee=j[0];e:for(;++be<k&&fe.length<B;){var je=he[be],We=d?d(je):je;if(je=h||je!==0?je:0,!(Ee?ad(Ee,We):y(fe,We,h))){for(I=N;--I;){var st=j[I];if(!(st?ad(st,We):y(s[I],We,h)))continue e}Ee&&Ee.push(We),fe.push(je)}}return fe}function bC(s,d,h,y){return Yi(s,function(k,N,I){d(y,h(k),N,I)}),y}function pd(s,d,h){d=Ko(d,s),s=_v(s,d);var y=s==null?s:s[Ki(pi(d))];return y==null?n:qr(y,s,h)}function Fg(s){return pn(s)&&br(s)==rt}function $C(s){return pn(s)&&br(s)==Vt}function wC(s){return pn(s)&&br(s)==Ve}function md(s,d,h,y,k){return s===d?!0:s==null||d==null||!pn(s)&&!pn(d)?s!==s&&d!==d:_C(s,d,h,y,md,k)}function _C(s,d,h,y,k,N){var I=nt(s),j=nt(d),B=I?_e:cr(s),fe=j?_e:cr(d);B=B==rt?mt:B,fe=fe==rt?mt:fe;var he=B==mt,be=fe==mt,Ee=B==fe;if(Ee&&Xo(s)){if(!Xo(d))return!1;I=!0,he=!1}if(Ee&&!he)return N||(N=new Oi),I||Rs(s)?mv(s,d,h,y,k,N):QC(s,d,B,h,y,k,N);if(!(h&v)){var je=he&&Dt.call(s,"__wrapped__"),We=be&&Dt.call(d,"__wrapped__");if(je||We){var st=je?s.value():s,Ge=We?d.value():d;return N||(N=new Oi),k(st,Ge,h,y,N)}}return Ee?(N||(N=new Oi),KC(s,d,h,y,k,N)):!1}function xC(s){return pn(s)&&cr(s)==se}function jf(s,d,h,y){var k=h.length,N=k,I=!y;if(s==null)return!N;for(s=Wt(s);k--;){var j=h[k];if(I&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++k<N;){j=h[k];var B=j[0],fe=s[B],he=j[1];if(I&&j[2]){if(fe===n&&!(B in s))return!1}else{var be=new Oi;if(y)var Ee=y(fe,he,B,s,d,be);if(!(Ee===n?md(he,fe,v|w,y,be):Ee))return!1}}return!0}function Rg(s){if(!cn(s)||oE(s))return!1;var d=So(s)?xk:Bc;return d.test(Da(s))}function kC(s){return pn(s)&&br(s)==gt}function CC(s){return pn(s)&&cr(s)==an}function EC(s){return pn(s)&&Pu(s.length)&&!!tn[br(s)]}function Lg(s){return typeof s=="function"?s:s==null?Rr:typeof s=="object"?nt(s)?Ug(s[0],s[1]):jg(s):a6(s)}function Uf(s){if(!yd(s))return Tk(s);var d=[];for(var h in Wt(s))Dt.call(s,h)&&h!="constructor"&&d.push(h);return d}function SC(s){if(!cn(s))return dE(s);var d=yd(s),h=[];for(var y in s)y=="constructor"&&(d||!Dt.call(s,y))||h.push(y);return h}function Vf(s,d){return s<d}function zg(s,d){var h=-1,y=Dr(s)?X(s.length):[];return Yo(s,function(k,N,I){y[++h]=d(k,N,I)}),y}function jg(s){var d=rh(s);return d.length==1&&d[0][2]?$v(d[0][0],d[0][1]):function(h){return h===s||jf(h,s,d)}}function Ug(s,d){return oh(s)&&bv(d)?$v(Ki(s),d):function(h){var y=mh(h,s);return y===n&&y===d?gh(h,s):md(d,y,v|w)}}function gu(s,d,h,y,k){s!==d&&Ff(d,function(N,I){if(k||(k=new Oi),cn(N))OC(s,d,I,h,gu,y,k);else{var j=y?y(sh(s,I),N,I+"",s,d,k):n;j===n&&(j=N),Mf(s,I,j)}},Fr)}function OC(s,d,h,y,k,N,I){var j=sh(s,h),B=sh(d,h),fe=I.get(B);if(fe){Mf(s,h,fe);return}var he=N?N(j,B,h+"",s,d,I):n,be=he===n;if(be){var Ee=nt(B),je=!Ee&&Xo(B),We=!Ee&&!je&&Rs(B);he=B,Ee||je||We?nt(j)?he=j:wn(j)?he=Mr(j):je?(be=!1,he=Jg(B,!0)):We?(be=!1,he=ev(B,!0)):he=[]:$d(B)||Fa(B)?(he=j,Fa(j)?he=Kv(j):(!cn(j)||So(j))&&(he=yv(B))):be=!1}be&&(I.set(B,he),k(he,B,y,N,I),I.delete(B)),Mf(s,h,he)}function Vg(s,d){var h=s.length;if(!!h)return d+=d<0?h:0,Eo(d,h)?s[d]:n}function Bg(s,d,h){d.length?d=sn(d,function(N){return nt(N)?function(I){return Ia(I,N.length===1?N[0]:N)}:N}):d=[Rr];var y=-1;d=sn(d,Wr(qe()));var k=zg(s,function(N,I,j){var B=sn(d,function(fe){return fe(N)});return{criteria:B,index:++y,value:N}});return tk(k,function(N,I){return UC(N,I,h)})}function TC(s,d){return Hg(s,d,function(h,y){return gh(s,y)})}function Hg(s,d,h){for(var y=-1,k=d.length,N={};++y<k;){var I=d[y],j=Ia(s,I);h(j,I)&&gd(N,Ko(I,s),j)}return N}function AC(s){return function(d){return Ia(d,s)}}function Bf(s,d,h,y){var k=y?ek:Es,N=-1,I=d.length,j=s;for(s===d&&(d=Mr(d)),h&&(j=sn(s,Wr(h)));++N<I;)for(var B=0,fe=d[N],he=h?h(fe):fe;(B=k(j,he,B,y))>-1;)j!==s&&au.call(j,B,1),au.call(s,B,1);return s}function qg(s,d){for(var h=s?d.length:0,y=h-1;h--;){var k=d[h];if(h==y||k!==N){var N=k;Eo(k)?au.call(s,k,1):Gf(s,k)}}return s}function Hf(s,d){return s+du(Cg()*(d-s+1))}function NC(s,d,h,y){for(var k=-1,N=Dn(lu((d-s)/(h||1)),0),I=X(N);N--;)I[y?N:++k]=s,s+=h;return I}function qf(s,d){var h="";if(!s||d<1||d>J)return h;do d%2&&(h+=s),d=du(d/2),d&&(s+=s);while(d);return h}function dt(s,d){return lh(wv(s,d,Rr),s+"")}function PC(s){return Og(Ls(s))}function IC(s,d){var h=Ls(s);return Eu(h,Pa(d,0,h.length))}function gd(s,d,h,y){if(!cn(s))return s;d=Ko(d,s);for(var k=-1,N=d.length,I=N-1,j=s;j!=null&&++k<N;){var B=Ki(d[k]),fe=h;if(B==="__proto__"||B==="constructor"||B==="prototype")return s;if(k!=I){var he=j[B];fe=y?y(he,B,j):n,fe===n&&(fe=cn(he)?he:Eo(d[k+1])?[]:{})}fd(j,B,fe),j=j[B]}return s}var Wg=cu?function(s,d){return cu.set(s,d),s}:Rr,MC=su?function(s,d){return su(s,"toString",{configurable:!0,enumerable:!1,value:yh(d),writable:!0})}:Rr;function DC(s){return Eu(Ls(s))}function hi(s,d,h){var y=-1,k=s.length;d<0&&(d=-d>k?0:k+d),h=h>k?k:h,h<0&&(h+=k),k=d>h?0:h-d>>>0,d>>>=0;for(var N=X(k);++y<k;)N[y]=s[y+d];return N}function FC(s,d){var h;return Yo(s,function(y,k,N){return h=d(y,k,N),!h}),!!h}function vu(s,d,h){var y=0,k=s==null?y:s.length;if(typeof d=="number"&&d===d&&k<=ze){for(;y<k;){var N=y+k>>>1,I=s[N];I!==null&&!Yr(I)&&(h?I<=d:I<d)?y=N+1:k=N}return k}return Wf(s,d,Rr,h)}function Wf(s,d,h,y){var k=0,N=s==null?0:s.length;if(N===0)return 0;d=h(d);for(var I=d!==d,j=d===null,B=Yr(d),fe=d===n;k<N;){var he=du((k+N)/2),be=h(s[he]),Ee=be!==n,je=be===null,We=be===be,st=Yr(be);if(I)var Ge=y||We;else fe?Ge=We&&(y||Ee):j?Ge=We&&Ee&&(y||!je):B?Ge=We&&Ee&&!je&&(y||!st):je||st?Ge=!1:Ge=y?be<=d:be<d;Ge?k=he+1:N=he}return dr(N,ne)}function Gg(s,d){for(var h=-1,y=s.length,k=0,N=[];++h<y;){var I=s[h],j=d?d(I):I;if(!h||!Ti(j,B)){var B=j;N[k++]=I===0?0:I}}return N}function Yg(s){return typeof s=="number"?s:Yr(s)?ee:+s}function Gr(s){if(typeof s=="string")return s;if(nt(s))return sn(s,Gr)+"";if(Yr(s))return Eg?Eg.call(s):"";var d=s+"";return d=="0"&&1/s==-pe?"-0":d}function Qo(s,d,h){var y=-1,k=Kc,N=s.length,I=!0,j=[],B=j;if(h)I=!1,k=wf;else if(N>=i){var fe=d?null:GC(s);if(fe)return Xc(fe);I=!1,k=ad,B=new Na}else B=d?[]:j;e:for(;++y<N;){var he=s[y],be=d?d(he):he;if(he=h||he!==0?he:0,I&&be===be){for(var Ee=B.length;Ee--;)if(B[Ee]===be)continue e;d&&B.push(be),j.push(he)}else k(B,be,h)||(B!==j&&B.push(be),j.push(he))}return j}function Gf(s,d){return d=Ko(d,s),s=_v(s,d),s==null||delete s[Ki(pi(d))]}function Qg(s,d,h,y){return gd(s,d,h(Ia(s,d)),y)}function yu(s,d,h,y){for(var k=s.length,N=y?k:-1;(y?N--:++N<k)&&d(s[N],N,s););return h?hi(s,y?0:N,y?N+1:k):hi(s,y?N+1:0,y?k:N)}function Kg(s,d){var h=s;return h instanceof vt&&(h=h.value()),_f(d,function(y,k){return k.func.apply(k.thisArg,qo([y],k.args))},h)}function Yf(s,d,h){var y=s.length;if(y<2)return y?Qo(s[0]):[];for(var k=-1,N=X(y);++k<y;)for(var I=s[k],j=-1;++j<y;)j!=k&&(N[k]=hd(N[k]||I,s[j],d,h));return Qo(Jn(N,1),d,h)}function Zg(s,d,h){for(var y=-1,k=s.length,N=d.length,I={};++y<k;){var j=y<N?d[y]:n;h(I,s[y],j)}return I}function Qf(s){return wn(s)?s:[]}function Kf(s){return typeof s=="function"?s:Rr}function Ko(s,d){return nt(s)?s:oh(s,d)?[s]:Ev(Nt(s))}var RC=dt;function Zo(s,d,h){var y=s.length;return h=h===n?y:h,!d&&h>=y?s:hi(s,d,h)}var Xg=kk||function(s){return Xn.clearTimeout(s)};function Jg(s,d){if(d)return s.slice();var h=s.length,y=$g?$g(h):new s.constructor(h);return s.copy(y),y}function Zf(s){var d=new s.constructor(s.byteLength);return new iu(d).set(new iu(s)),d}function LC(s,d){var h=d?Zf(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.byteLength)}function zC(s){var d=new s.constructor(s.source,Uc.exec(s));return d.lastIndex=s.lastIndex,d}function jC(s){return ud?Wt(ud.call(s)):{}}function ev(s,d){var h=d?Zf(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.length)}function tv(s,d){if(s!==d){var h=s!==n,y=s===null,k=s===s,N=Yr(s),I=d!==n,j=d===null,B=d===d,fe=Yr(d);if(!j&&!fe&&!N&&s>d||N&&I&&B&&!j&&!fe||y&&I&&B||!h&&B||!k)return 1;if(!y&&!N&&!fe&&s<d||fe&&h&&k&&!y&&!N||j&&h&&k||!I&&k||!B)return-1}return 0}function UC(s,d,h){for(var y=-1,k=s.criteria,N=d.criteria,I=k.length,j=h.length;++y<I;){var B=tv(k[y],N[y]);if(B){if(y>=j)return B;var fe=h[y];return B*(fe=="desc"?-1:1)}}return s.index-d.index}function nv(s,d,h,y){for(var k=-1,N=s.length,I=h.length,j=-1,B=d.length,fe=Dn(N-I,0),he=X(B+fe),be=!y;++j<B;)he[j]=d[j];for(;++k<I;)(be||k<N)&&(he[h[k]]=s[k]);for(;fe--;)he[j++]=s[k++];return he}function rv(s,d,h,y){for(var k=-1,N=s.length,I=-1,j=h.length,B=-1,fe=d.length,he=Dn(N-j,0),be=X(he+fe),Ee=!y;++k<he;)be[k]=s[k];for(var je=k;++B<fe;)be[je+B]=d[B];for(;++I<j;)(Ee||k<N)&&(be[je+h[I]]=s[k++]);return be}function Mr(s,d){var h=-1,y=s.length;for(d||(d=X(y));++h<y;)d[h]=s[h];return d}function Qi(s,d,h,y){var k=!h;h||(h={});for(var N=-1,I=d.length;++N<I;){var j=d[N],B=y?y(h[j],s[j],j,h,s):n;B===n&&(B=s[j]),k?xo(h,j,B):fd(h,j,B)}return h}function VC(s,d){return Qi(s,ih(s),d)}function BC(s,d){return Qi(s,gv(s),d)}function bu(s,d){return function(h,y){var k=nt(h)?Yx:uC,N=d?d():{};return k(h,s,qe(y,2),N)}}function Ms(s){return dt(function(d,h){var y=-1,k=h.length,N=k>1?h[k-1]:n,I=k>2?h[2]:n;for(N=s.length>3&&typeof N=="function"?(k--,N):n,I&&$r(h[0],h[1],I)&&(N=k<3?n:N,k=1),d=Wt(d);++y<k;){var j=h[y];j&&s(d,j,y,N)}return d})}function iv(s,d){return function(h,y){if(h==null)return h;if(!Dr(h))return s(h,y);for(var k=h.length,N=d?k:-1,I=Wt(h);(d?N--:++N<k)&&y(I[N],N,I)!==!1;);return h}}function ov(s){return function(d,h,y){for(var k=-1,N=Wt(d),I=y(d),j=I.length;j--;){var B=I[s?j:++k];if(h(N[B],B,N)===!1)break}return d}}function HC(s,d,h){var y=d&x,k=vd(s);function N(){var I=this&&this!==Xn&&this instanceof N?k:s;return I.apply(y?h:this,arguments)}return N}function av(s){return function(d){d=Nt(d);var h=Ss(d)?Si(d):n,y=h?h[0]:d.charAt(0),k=h?Zo(h,1).join(""):d.slice(1);return y[s]()+k}}function Ds(s){return function(d){return _f(i6(r6(d).replace(Mx,"")),s,"")}}function vd(s){return function(){var d=arguments;switch(d.length){case 0:return new s;case 1:return new s(d[0]);case 2:return new s(d[0],d[1]);case 3:return new s(d[0],d[1],d[2]);case 4:return new s(d[0],d[1],d[2],d[3]);case 5:return new s(d[0],d[1],d[2],d[3],d[4]);case 6:return new s(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new s(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var h=Is(s.prototype),y=s.apply(h,d);return cn(y)?y:h}}function qC(s,d,h){var y=vd(s);function k(){for(var N=arguments.length,I=X(N),j=N,B=Fs(k);j--;)I[j]=arguments[j];var fe=N<3&&I[0]!==B&&I[N-1]!==B?[]:Wo(I,B);if(N-=fe.length,N<h)return uv(s,d,$u,k.placeholder,n,I,fe,n,n,h-N);var he=this&&this!==Xn&&this instanceof k?y:s;return qr(he,this,I)}return k}function sv(s){return function(d,h,y){var k=Wt(d);if(!Dr(d)){var N=qe(h,3);d=Hn(d),h=function(j){return N(k[j],j,k)}}var I=s(d,h,y);return I>-1?k[N?d[I]:I]:n}}function lv(s){return Co(function(d){var h=d.length,y=h,k=ui.prototype.thru;for(s&&d.reverse();y--;){var N=d[y];if(typeof N!="function")throw new ci(a);if(k&&!I&&ku(N)=="wrapper")var I=new ui([],!0)}for(y=I?y:h;++y<h;){N=d[y];var j=ku(N),B=j=="wrapper"?nh(N):n;B&&ah(B[0])&&B[1]==(L|O|M|U)&&!B[4].length&&B[9]==1?I=I[ku(B[0])].apply(I,B[3]):I=N.length==1&&ah(N)?I[j]():I.thru(N)}return function(){var fe=arguments,he=fe[0];if(I&&fe.length==1&&nt(he))return I.plant(he).value();for(var be=0,Ee=h?d[be].apply(this,fe):he;++be<h;)Ee=d[be].call(this,Ee);return Ee}})}function $u(s,d,h,y,k,N,I,j,B,fe){var he=d&L,be=d&x,Ee=d&A,je=d&(O|E),We=d&Z,st=Ee?n:vd(s);function Ge(){for(var ht=arguments.length,$t=X(ht),Qr=ht;Qr--;)$t[Qr]=arguments[Qr];if(je)var wr=Fs(Ge),Kr=rk($t,wr);if(y&&($t=nv($t,y,k,je)),N&&($t=rv($t,N,I,je)),ht-=Kr,je&&ht<fe){var _n=Wo($t,wr);return uv(s,d,$u,Ge.placeholder,h,$t,_n,j,B,fe-ht)}var Ai=be?h:this,To=Ee?Ai[s]:s;return ht=$t.length,j?$t=uE($t,j):We&&ht>1&&$t.reverse(),he&&B<ht&&($t.length=B),this&&this!==Xn&&this instanceof Ge&&(To=st||vd(To)),To.apply(Ai,$t)}return Ge}function dv(s,d){return function(h,y){return bC(h,s,d(y),{})}}function wu(s,d){return function(h,y){var k;if(h===n&&y===n)return d;if(h!==n&&(k=h),y!==n){if(k===n)return y;typeof h=="string"||typeof y=="string"?(h=Gr(h),y=Gr(y)):(h=Yg(h),y=Yg(y)),k=s(h,y)}return k}}function Xf(s){return Co(function(d){return d=sn(d,Wr(qe())),dt(function(h){var y=this;return s(d,function(k){return qr(k,y,h)})})})}function _u(s,d){d=d===n?" ":Gr(d);var h=d.length;if(h<2)return h?qf(d,s):d;var y=qf(d,lu(s/Os(d)));return Ss(d)?Zo(Si(y),0,s).join(""):y.slice(0,s)}function WC(s,d,h,y){var k=d&x,N=vd(s);function I(){for(var j=-1,B=arguments.length,fe=-1,he=y.length,be=X(he+B),Ee=this&&this!==Xn&&this instanceof I?N:s;++fe<he;)be[fe]=y[fe];for(;B--;)be[fe++]=arguments[++j];return qr(Ee,k?h:this,be)}return I}function cv(s){return function(d,h,y){return y&&typeof y!="number"&&$r(d,h,y)&&(h=y=n),d=Oo(d),h===n?(h=d,d=0):h=Oo(h),y=y===n?d<h?1:-1:Oo(y),NC(d,h,y,s)}}function xu(s){return function(d,h){return typeof d=="string"&&typeof h=="string"||(d=mi(d),h=mi(h)),s(d,h)}}function uv(s,d,h,y,k,N,I,j,B,fe){var he=d&O,be=he?I:n,Ee=he?n:I,je=he?N:n,We=he?n:N;d|=he?M:P,d&=~(he?P:M),d&S||(d&=~(x|A));var st=[s,d,k,je,be,We,Ee,j,B,fe],Ge=h.apply(n,st);return ah(s)&&xv(Ge,st),Ge.placeholder=y,kv(Ge,s,d)}function Jf(s){var d=Mn[s];return function(h,y){if(h=mi(h),y=y==null?0:dr(it(y),292),y&&kg(h)){var k=(Nt(h)+"e").split("e"),N=d(k[0]+"e"+(+k[1]+y));return k=(Nt(N)+"e").split("e"),+(k[0]+"e"+(+k[1]-y))}return d(h)}}var GC=Ns&&1/Xc(new Ns([,-0]))[1]==pe?function(s){return new Ns(s)}:wh;function fv(s){return function(d){var h=cr(d);return h==se?Tf(d):h==an?ck(d):nk(d,s(d))}}function ko(s,d,h,y,k,N,I,j){var B=d&A;if(!B&&typeof s!="function")throw new ci(a);var fe=y?y.length:0;if(fe||(d&=~(M|P),y=k=n),I=I===n?I:Dn(it(I),0),j=j===n?j:it(j),fe-=k?k.length:0,d&P){var he=y,be=k;y=k=n}var Ee=B?n:nh(s),je=[s,d,h,y,k,he,be,N,I,j];if(Ee&&lE(je,Ee),s=je[0],d=je[1],h=je[2],y=je[3],k=je[4],j=je[9]=je[9]===n?B?0:s.length:Dn(je[9]-fe,0),!j&&d&(O|E)&&(d&=~(O|E)),!d||d==x)var We=HC(s,d,h);else d==O||d==E?We=qC(s,d,j):(d==M||d==(x|M))&&!k.length?We=WC(s,d,h,y):We=$u.apply(n,je);var st=Ee?Wg:xv;return kv(st(We,je),s,d)}function hv(s,d,h,y){return s===n||Ti(s,As[h])&&!Dt.call(y,h)?d:s}function pv(s,d,h,y,k,N){return cn(s)&&cn(d)&&(N.set(d,s),gu(s,d,n,pv,N),N.delete(d)),s}function YC(s){return $d(s)?n:s}function mv(s,d,h,y,k,N){var I=h&v,j=s.length,B=d.length;if(j!=B&&!(I&&B>j))return!1;var fe=N.get(s),he=N.get(d);if(fe&&he)return fe==d&&he==s;var be=-1,Ee=!0,je=h&w?new Na:n;for(N.set(s,d),N.set(d,s);++be<j;){var We=s[be],st=d[be];if(y)var Ge=I?y(st,We,be,d,s,N):y(We,st,be,s,d,N);if(Ge!==n){if(Ge)continue;Ee=!1;break}if(je){if(!xf(d,function(ht,$t){if(!ad(je,$t)&&(We===ht||k(We,ht,h,y,N)))return je.push($t)})){Ee=!1;break}}else if(!(We===st||k(We,st,h,y,N))){Ee=!1;break}}return N.delete(s),N.delete(d),Ee}function QC(s,d,h,y,k,N,I){switch(h){case Mt:if(s.byteLength!=d.byteLength||s.byteOffset!=d.byteOffset)return!1;s=s.buffer,d=d.buffer;case Vt:return!(s.byteLength!=d.byteLength||!N(new iu(s),new iu(d)));case Ue:case Ve:case Fe:return Ti(+s,+d);case _t:return s.name==d.name&&s.message==d.message;case gt:case Un:return s==d+"";case se:var j=Tf;case an:var B=y&v;if(j||(j=Xc),s.size!=d.size&&!B)return!1;var fe=I.get(s);if(fe)return fe==d;y|=w,I.set(s,d);var he=mv(j(s),j(d),y,k,N,I);return I.delete(s),he;case ii:if(ud)return ud.call(s)==ud.call(d)}return!1}function KC(s,d,h,y,k,N){var I=h&v,j=eh(s),B=j.length,fe=eh(d),he=fe.length;if(B!=he&&!I)return!1;for(var be=B;be--;){var Ee=j[be];if(!(I?Ee in d:Dt.call(d,Ee)))return!1}var je=N.get(s),We=N.get(d);if(je&&We)return je==d&&We==s;var st=!0;N.set(s,d),N.set(d,s);for(var Ge=I;++be<B;){Ee=j[be];var ht=s[Ee],$t=d[Ee];if(y)var Qr=I?y($t,ht,Ee,d,s,N):y(ht,$t,Ee,s,d,N);if(!(Qr===n?ht===$t||k(ht,$t,h,y,N):Qr)){st=!1;break}Ge||(Ge=Ee=="constructor")}if(st&&!Ge){var wr=s.constructor,Kr=d.constructor;wr!=Kr&&"constructor"in s&&"constructor"in d&&!(typeof wr=="function"&&wr instanceof wr&&typeof Kr=="function"&&Kr instanceof Kr)&&(st=!1)}return N.delete(s),N.delete(d),st}function Co(s){return lh(wv(s,n,Av),s+"")}function eh(s){return Dg(s,Hn,ih)}function th(s){return Dg(s,Fr,gv)}var nh=cu?function(s){return cu.get(s)}:wh;function ku(s){for(var d=s.name+"",h=Ps[d],y=Dt.call(Ps,d)?h.length:0;y--;){var k=h[y],N=k.func;if(N==null||N==s)return k.name}return d}function Fs(s){var d=Dt.call(T,"placeholder")?T:s;return d.placeholder}function qe(){var s=T.iteratee||bh;return s=s===bh?Lg:s,arguments.length?s(arguments[0],arguments[1]):s}function Cu(s,d){var h=s.__data__;return iE(d)?h[typeof d=="string"?"string":"hash"]:h.map}function rh(s){for(var d=Hn(s),h=d.length;h--;){var y=d[h],k=s[y];d[h]=[y,k,bv(k)]}return d}function Ma(s,d){var h=sk(s,d);return Rg(h)?h:n}function ZC(s){var d=Dt.call(s,Ta),h=s[Ta];try{s[Ta]=n;var y=!0}catch{}var k=nu.call(s);return y&&(d?s[Ta]=h:delete s[Ta]),k}var ih=Nf?function(s){return s==null?[]:(s=Wt(s),Ho(Nf(s),function(d){return _g.call(s,d)}))}:_h,gv=Nf?function(s){for(var d=[];s;)qo(d,ih(s)),s=ou(s);return d}:_h,cr=br;(Pf&&cr(new Pf(new ArrayBuffer(1)))!=Mt||ld&&cr(new ld)!=se||If&&cr(If.resolve())!=bt||Ns&&cr(new Ns)!=an||dd&&cr(new dd)!=vo)&&(cr=function(s){var d=br(s),h=d==mt?s.constructor:n,y=h?Da(h):"";if(y)switch(y){case Ik:return Mt;case Mk:return se;case Dk:return bt;case Fk:return an;case Rk:return vo}return d});function XC(s,d,h){for(var y=-1,k=h.length;++y<k;){var N=h[y],I=N.size;switch(N.type){case"drop":s+=I;break;case"dropRight":d-=I;break;case"take":d=dr(d,s+I);break;case"takeRight":s=Dn(s,d-I);break}}return{start:s,end:d}}function JC(s){var d=s.match(Lc);return d?d[1].split(zc):[]}function vv(s,d,h){d=Ko(d,s);for(var y=-1,k=d.length,N=!1;++y<k;){var I=Ki(d[y]);if(!(N=s!=null&&h(s,I)))break;s=s[I]}return N||++y!=k?N:(k=s==null?0:s.length,!!k&&Pu(k)&&Eo(I,k)&&(nt(s)||Fa(s)))}function eE(s){var d=s.length,h=new s.constructor(d);return d&&typeof s[0]=="string"&&Dt.call(s,"index")&&(h.index=s.index,h.input=s.input),h}function yv(s){return typeof s.constructor=="function"&&!yd(s)?Is(ou(s)):{}}function tE(s,d,h){var y=s.constructor;switch(d){case Vt:return Zf(s);case Ue:case Ve:return new y(+s);case Mt:return LC(s,h);case Zn:case ar:case $n:case vr:case yr:case Ir:case sr:case Hr:case Hi:return ev(s,h);case se:return new y;case Fe:case Un:return new y(s);case gt:return zC(s);case an:return new y;case ii:return jC(s)}}function nE(s,d){var h=d.length;if(!h)return s;var y=h-1;return d[y]=(h>1?"& ":"")+d[y],d=d.join(h>2?", ":" "),s.replace(Rc,`{
|
|
3497
|
+
*/(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",p=1,m=2,g=4,v=1,w=2,x=1,A=2,S=4,O=8,E=16,M=32,P=64,L=128,U=256,Z=512,ce=30,Q="...",G=800,re=16,K=1,H=2,ye=3,pe=1/0,ee=9007199254740991,we=17976931348623157e292,X=0/0,ae=4294967295,ne=ae-1,ze=ae>>>1,Be=[["ary",L],["bind",x],["bindKey",A],["curry",O],["curryRight",E],["flip",Z],["partial",M],["partialRight",P],["rearg",U]],rt="[object Arguments]",_e="[object Array]",at="[object AsyncFunction]",Ue="[object Boolean]",Ve="[object Date]",ct="[object DOMException]",_t="[object Error]",It="[object Function]",Te="[object GeneratorFunction]",se="[object Map]",Fe="[object Number]",Ze="[object Null]",mt="[object Object]",bt="[object Promise]",Yt="[object Proxy]",gt="[object RegExp]",an="[object Set]",Un="[object String]",ii="[object Symbol]",Kl="[object Undefined]",vo="[object WeakMap]",Ut="[object WeakSet]",Vt="[object ArrayBuffer]",Mt="[object DataView]",Zn="[object Float32Array]",ar="[object Float64Array]",$n="[object Int8Array]",vr="[object Int16Array]",yr="[object Int32Array]",Ir="[object Uint8Array]",sr="[object Uint8ClampedArray]",Hr="[object Uint16Array]",Hi="[object Uint32Array]",ff=/\b__p \+= '';/g,qi=/\b(__p \+=) '' \+/g,Zl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xl=/&(?:amp|lt|gt|quot|#39);/g,Jl=/[&<>"']/g,Ic=RegExp(Xl.source),_s=RegExp(Jl.source),ed=/<%-([\s\S]+?)%>/g,oi=/<%([\s\S]+?)%>/g,lr=/<%=([\s\S]+?)%>/g,Mc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xs=/^\w*$/,Wi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yo=/[\\^$.*+?()[\]{}|]/g,Dc=RegExp(yo.source),Uo=/^\s+/,Fc=/\s/,Rc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lc=/\{\n\/\* \[wrapped with (.+)\] \*/,zc=/,? & /,td=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ai=/[()=,{}\[\]\/\s]/,hf=/\\(\\)?/g,jc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Uc=/\w*$/,Vc=/^[-+]0x[0-9a-f]+$/i,nd=/^0b[01]+$/i,Bc=/^\[object .+?Constructor\]$/,Hc=/^0o[0-7]+$/i,pf=/^(?:0|[1-9]\d*)$/,qc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ea=/($^)/,ks=/['\n\r\u2028\u2029\\]/g,Vo="\\ud800-\\udfff",Wc="\\u0300-\\u036f",Gc="\\ufe20-\\ufe2f",Yc="\\u20d0-\\u20ff",rd=Wc+Gc+Yc,id="\\u2700-\\u27bf",Vn="a-z\\xdf-\\xf6\\xf8-\\xff",mf="\\xac\\xb1\\xd7\\xf7",gf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qc="\\u2000-\\u206f",vf=" \\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",Cs="A-Z\\xc0-\\xd6\\xd8-\\xde",Sa="\\ufe0e\\ufe0f",Qe=mf+gf+Qc+vf,bo="['\u2019]",si="["+Vo+"]",Gi="["+Qe+"]",Bo="["+rd+"]",od="\\d+",Bn="["+id+"]",b="["+Vn+"]",C="[^"+Vo+Qe+od+id+Vn+Cs+"]",D="\\ud83c[\\udffb-\\udfff]",q="(?:"+Bo+"|"+D+")",Y="[^"+Vo+"]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",xe="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="["+Cs+"]",hn="\\u200d",$o="(?:"+b+"|"+C+")",Ox="(?:"+tt+"|"+C+")",K4="(?:"+bo+"(?:d|ll|m|re|s|t|ve))?",Z4="(?:"+bo+"(?:D|LL|M|RE|S|T|VE))?",X4=q+"?",J4="["+Sa+"]?",Tx="(?:"+hn+"(?:"+[Y,ue,xe].join("|")+")"+J4+X4+")*",Ax="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",eg=J4+X4+Tx,Px="(?:"+[Bn,ue,xe].join("|")+")"+eg,Ix="(?:"+[Y+Bo+"?",Bo,ue,xe,si].join("|")+")",Mx=RegExp(bo,"g"),Dx=RegExp(Bo,"g"),yf=RegExp(D+"(?="+D+")|"+Ix+eg,"g"),Fx=RegExp([tt+"?"+b+"+"+K4+"(?="+[Gi,tt,"$"].join("|")+")",Ox+"+"+Z4+"(?="+[Gi,tt+$o,"$"].join("|")+")",tt+"?"+$o+"+"+K4,tt+"+"+Z4,Nx,Ax,od,Px].join("|"),"g"),Rx=RegExp("["+hn+Vo+rd+Sa+"]"),Lx=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zx=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jx=-1,tn={};tn[Zn]=tn[ar]=tn[$n]=tn[vr]=tn[yr]=tn[Ir]=tn[sr]=tn[Hr]=tn[Hi]=!0,tn[rt]=tn[_e]=tn[Vt]=tn[Ue]=tn[Mt]=tn[Ve]=tn[_t]=tn[It]=tn[se]=tn[Fe]=tn[mt]=tn[gt]=tn[an]=tn[Un]=tn[vo]=!1;var Qt={};Qt[rt]=Qt[_e]=Qt[Vt]=Qt[Mt]=Qt[Ue]=Qt[Ve]=Qt[Zn]=Qt[ar]=Qt[$n]=Qt[vr]=Qt[yr]=Qt[se]=Qt[Fe]=Qt[mt]=Qt[gt]=Qt[an]=Qt[Un]=Qt[ii]=Qt[Ir]=Qt[sr]=Qt[Hr]=Qt[Hi]=!0,Qt[_t]=Qt[It]=Qt[vo]=!1;var Ux={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Vx={"&":"&","<":"<",">":">",'"':""","'":"'"},Bx={"&":"&","<":"<",">":">",""":'"',"'":"'"},Hx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},qx=parseFloat,Wx=parseInt,tg=typeof Sd=="object"&&Sd&&Sd.Object===Object&&Sd,Gx=typeof self=="object"&&self&&self.Object===Object&&self,Xn=tg||Gx||Function("return this")(),bf=t&&!t.nodeType&&t,Oa=bf&&!0&&e&&!e.nodeType&&e,ng=Oa&&Oa.exports===bf,$f=ng&&tg.process,li=function(){try{var V=Oa&&Oa.require&&Oa.require("util").types;return V||$f&&$f.binding&&$f.binding("util")}catch{}}(),rg=li&&li.isArrayBuffer,ig=li&&li.isDate,og=li&&li.isMap,ag=li&&li.isRegExp,sg=li&&li.isSet,lg=li&&li.isTypedArray;function qr(V,le,J){switch(J.length){case 0:return V.call(le);case 1:return V.call(le,J[0]);case 2:return V.call(le,J[0],J[1]);case 3:return V.call(le,J[0],J[1],J[2])}return V.apply(le,J)}function Yx(V,le,J,Pe){for(var Xe=-1,Et=V==null?0:V.length;++Xe<Et;){var Mn=V[Xe];le(Pe,Mn,J(Mn),V)}return Pe}function di(V,le){for(var J=-1,Pe=V==null?0:V.length;++J<Pe&&le(V[J],J,V)!==!1;);return V}function Qx(V,le){for(var J=V==null?0:V.length;J--&&le(V[J],J,V)!==!1;);return V}function dg(V,le){for(var J=-1,Pe=V==null?0:V.length;++J<Pe;)if(!le(V[J],J,V))return!1;return!0}function Ho(V,le){for(var J=-1,Pe=V==null?0:V.length,Xe=0,Et=[];++J<Pe;){var Mn=V[J];le(Mn,J,V)&&(Et[Xe++]=Mn)}return Et}function Kc(V,le){var J=V==null?0:V.length;return!!J&&Es(V,le,0)>-1}function wf(V,le,J){for(var Pe=-1,Xe=V==null?0:V.length;++Pe<Xe;)if(J(le,V[Pe]))return!0;return!1}function sn(V,le){for(var J=-1,Pe=V==null?0:V.length,Xe=Array(Pe);++J<Pe;)Xe[J]=le(V[J],J,V);return Xe}function qo(V,le){for(var J=-1,Pe=le.length,Xe=V.length;++J<Pe;)V[Xe+J]=le[J];return V}function _f(V,le,J,Pe){var Xe=-1,Et=V==null?0:V.length;for(Pe&&Et&&(J=V[++Xe]);++Xe<Et;)J=le(J,V[Xe],Xe,V);return J}function Kx(V,le,J,Pe){var Xe=V==null?0:V.length;for(Pe&&Xe&&(J=V[--Xe]);Xe--;)J=le(J,V[Xe],Xe,V);return J}function xf(V,le){for(var J=-1,Pe=V==null?0:V.length;++J<Pe;)if(le(V[J],J,V))return!0;return!1}var Zx=kf("length");function Xx(V){return V.split("")}function Jx(V){return V.match(td)||[]}function cg(V,le,J){var Pe;return J(V,function(Xe,Et,Mn){if(le(Xe,Et,Mn))return Pe=Et,!1}),Pe}function Zc(V,le,J,Pe){for(var Xe=V.length,Et=J+(Pe?1:-1);Pe?Et--:++Et<Xe;)if(le(V[Et],Et,V))return Et;return-1}function Es(V,le,J){return le===le?uk(V,le,J):Zc(V,ug,J)}function ek(V,le,J,Pe){for(var Xe=J-1,Et=V.length;++Xe<Et;)if(Pe(V[Xe],le))return Xe;return-1}function ug(V){return V!==V}function fg(V,le){var J=V==null?0:V.length;return J?Ef(V,le)/J:X}function kf(V){return function(le){return le==null?n:le[V]}}function Cf(V){return function(le){return V==null?n:V[le]}}function hg(V,le,J,Pe,Xe){return Xe(V,function(Et,Mn,Wt){J=Pe?(Pe=!1,Et):le(J,Et,Mn,Wt)}),J}function tk(V,le){var J=V.length;for(V.sort(le);J--;)V[J]=V[J].value;return V}function Ef(V,le){for(var J,Pe=-1,Xe=V.length;++Pe<Xe;){var Et=le(V[Pe]);Et!==n&&(J=J===n?Et:J+Et)}return J}function Sf(V,le){for(var J=-1,Pe=Array(V);++J<V;)Pe[J]=le(J);return Pe}function nk(V,le){return sn(le,function(J){return[J,V[J]]})}function pg(V){return V&&V.slice(0,yg(V)+1).replace(Uo,"")}function Wr(V){return function(le){return V(le)}}function Of(V,le){return sn(le,function(J){return V[J]})}function ad(V,le){return V.has(le)}function mg(V,le){for(var J=-1,Pe=V.length;++J<Pe&&Es(le,V[J],0)>-1;);return J}function gg(V,le){for(var J=V.length;J--&&Es(le,V[J],0)>-1;);return J}function rk(V,le){for(var J=V.length,Pe=0;J--;)V[J]===le&&++Pe;return Pe}var ik=Cf(Ux),ok=Cf(Vx);function ak(V){return"\\"+Hx[V]}function sk(V,le){return V==null?n:V[le]}function Ss(V){return Rx.test(V)}function lk(V){return Lx.test(V)}function dk(V){for(var le,J=[];!(le=V.next()).done;)J.push(le.value);return J}function Tf(V){var le=-1,J=Array(V.size);return V.forEach(function(Pe,Xe){J[++le]=[Xe,Pe]}),J}function vg(V,le){return function(J){return V(le(J))}}function Wo(V,le){for(var J=-1,Pe=V.length,Xe=0,Et=[];++J<Pe;){var Mn=V[J];(Mn===le||Mn===f)&&(V[J]=f,Et[Xe++]=J)}return Et}function Xc(V){var le=-1,J=Array(V.size);return V.forEach(function(Pe){J[++le]=Pe}),J}function ck(V){var le=-1,J=Array(V.size);return V.forEach(function(Pe){J[++le]=[Pe,Pe]}),J}function uk(V,le,J){for(var Pe=J-1,Xe=V.length;++Pe<Xe;)if(V[Pe]===le)return Pe;return-1}function fk(V,le,J){for(var Pe=J+1;Pe--;)if(V[Pe]===le)return Pe;return Pe}function Os(V){return Ss(V)?pk(V):Zx(V)}function Si(V){return Ss(V)?mk(V):Xx(V)}function yg(V){for(var le=V.length;le--&&Fc.test(V.charAt(le)););return le}var hk=Cf(Bx);function pk(V){for(var le=yf.lastIndex=0;yf.test(V);)++le;return le}function mk(V){return V.match(yf)||[]}function gk(V){return V.match(Fx)||[]}var vk=function V(le){le=le==null?Xn:Ts.defaults(Xn.Object(),le,Ts.pick(Xn,zx));var J=le.Array,Pe=le.Date,Xe=le.Error,Et=le.Function,Mn=le.Math,Wt=le.Object,Af=le.RegExp,yk=le.String,ci=le.TypeError,Jc=J.prototype,bk=Et.prototype,As=Wt.prototype,eu=le["__core-js_shared__"],tu=bk.toString,Dt=As.hasOwnProperty,$k=0,bg=function(){var s=/[^.]+$/.exec(eu&&eu.keys&&eu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),nu=As.toString,wk=tu.call(Wt),_k=Xn._,xk=Af("^"+tu.call(Dt).replace(yo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ru=ng?le.Buffer:n,Go=le.Symbol,iu=le.Uint8Array,$g=ru?ru.allocUnsafe:n,ou=vg(Wt.getPrototypeOf,Wt),wg=Wt.create,_g=As.propertyIsEnumerable,au=Jc.splice,xg=Go?Go.isConcatSpreadable:n,sd=Go?Go.iterator:n,Ta=Go?Go.toStringTag:n,su=function(){try{var s=Ma(Wt,"defineProperty");return s({},"",{}),s}catch{}}(),kk=le.clearTimeout!==Xn.clearTimeout&&le.clearTimeout,Ck=Pe&&Pe.now!==Xn.Date.now&&Pe.now,Ek=le.setTimeout!==Xn.setTimeout&&le.setTimeout,lu=Mn.ceil,du=Mn.floor,Nf=Wt.getOwnPropertySymbols,Sk=ru?ru.isBuffer:n,kg=le.isFinite,Ok=Jc.join,Tk=vg(Wt.keys,Wt),Dn=Mn.max,dr=Mn.min,Ak=Pe.now,Nk=le.parseInt,Cg=Mn.random,Pk=Jc.reverse,Pf=Ma(le,"DataView"),ld=Ma(le,"Map"),If=Ma(le,"Promise"),Ns=Ma(le,"Set"),dd=Ma(le,"WeakMap"),cd=Ma(Wt,"create"),cu=dd&&new dd,Ps={},Ik=Da(Pf),Mk=Da(ld),Dk=Da(If),Fk=Da(Ns),Rk=Da(dd),uu=Go?Go.prototype:n,ud=uu?uu.valueOf:n,Eg=uu?uu.toString:n;function T(s){if(pn(s)&&!nt(s)&&!(s instanceof vt)){if(s instanceof ui)return s;if(Dt.call(s,"__wrapped__"))return Sv(s)}return new ui(s)}var Is=function(){function s(){}return function(d){if(!cn(d))return{};if(wg)return wg(d);s.prototype=d;var h=new s;return s.prototype=n,h}}();function fu(){}function ui(s,d){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=n}T.templateSettings={escape:ed,evaluate:oi,interpolate:lr,variable:"",imports:{_:T}},T.prototype=fu.prototype,T.prototype.constructor=T,ui.prototype=Is(fu.prototype),ui.prototype.constructor=ui;function vt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ae,this.__views__=[]}function Lk(){var s=new vt(this.__wrapped__);return s.__actions__=Mr(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Mr(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Mr(this.__views__),s}function zk(){if(this.__filtered__){var s=new vt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function jk(){var s=this.__wrapped__.value(),d=this.__dir__,h=nt(s),y=d<0,k=h?s.length:0,N=XC(0,k,this.__views__),I=N.start,j=N.end,B=j-I,fe=y?j:I-1,he=this.__iteratees__,be=he.length,Ee=0,je=dr(B,this.__takeCount__);if(!h||!y&&k==B&&je==B)return Kg(s,this.__actions__);var We=[];e:for(;B--&&Ee<je;){fe+=d;for(var st=-1,Ge=s[fe];++st<be;){var ht=he[st],$t=ht.iteratee,Qr=ht.type,wr=$t(Ge);if(Qr==H)Ge=wr;else if(!wr){if(Qr==K)continue e;break e}}We[Ee++]=Ge}return We}vt.prototype=Is(fu.prototype),vt.prototype.constructor=vt;function Aa(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var y=s[d];this.set(y[0],y[1])}}function Uk(){this.__data__=cd?cd(null):{},this.size=0}function Vk(s){var d=this.has(s)&&delete this.__data__[s];return this.size-=d?1:0,d}function Bk(s){var d=this.__data__;if(cd){var h=d[s];return h===c?n:h}return Dt.call(d,s)?d[s]:n}function Hk(s){var d=this.__data__;return cd?d[s]!==n:Dt.call(d,s)}function qk(s,d){var h=this.__data__;return this.size+=this.has(s)?0:1,h[s]=cd&&d===n?c:d,this}Aa.prototype.clear=Uk,Aa.prototype.delete=Vk,Aa.prototype.get=Bk,Aa.prototype.has=Hk,Aa.prototype.set=qk;function wo(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var y=s[d];this.set(y[0],y[1])}}function Wk(){this.__data__=[],this.size=0}function Gk(s){var d=this.__data__,h=hu(d,s);if(h<0)return!1;var y=d.length-1;return h==y?d.pop():au.call(d,h,1),--this.size,!0}function Yk(s){var d=this.__data__,h=hu(d,s);return h<0?n:d[h][1]}function Qk(s){return hu(this.__data__,s)>-1}function Kk(s,d){var h=this.__data__,y=hu(h,s);return y<0?(++this.size,h.push([s,d])):h[y][1]=d,this}wo.prototype.clear=Wk,wo.prototype.delete=Gk,wo.prototype.get=Yk,wo.prototype.has=Qk,wo.prototype.set=Kk;function _o(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var y=s[d];this.set(y[0],y[1])}}function Zk(){this.size=0,this.__data__={hash:new Aa,map:new(ld||wo),string:new Aa}}function Xk(s){var d=Cu(this,s).delete(s);return this.size-=d?1:0,d}function Jk(s){return Cu(this,s).get(s)}function eC(s){return Cu(this,s).has(s)}function tC(s,d){var h=Cu(this,s),y=h.size;return h.set(s,d),this.size+=h.size==y?0:1,this}_o.prototype.clear=Zk,_o.prototype.delete=Xk,_o.prototype.get=Jk,_o.prototype.has=eC,_o.prototype.set=tC;function Na(s){var d=-1,h=s==null?0:s.length;for(this.__data__=new _o;++d<h;)this.add(s[d])}function nC(s){return this.__data__.set(s,c),this}function rC(s){return this.__data__.has(s)}Na.prototype.add=Na.prototype.push=nC,Na.prototype.has=rC;function Oi(s){var d=this.__data__=new wo(s);this.size=d.size}function iC(){this.__data__=new wo,this.size=0}function oC(s){var d=this.__data__,h=d.delete(s);return this.size=d.size,h}function aC(s){return this.__data__.get(s)}function sC(s){return this.__data__.has(s)}function lC(s,d){var h=this.__data__;if(h instanceof wo){var y=h.__data__;if(!ld||y.length<i-1)return y.push([s,d]),this.size=++h.size,this;h=this.__data__=new _o(y)}return h.set(s,d),this.size=h.size,this}Oi.prototype.clear=iC,Oi.prototype.delete=oC,Oi.prototype.get=aC,Oi.prototype.has=sC,Oi.prototype.set=lC;function Sg(s,d){var h=nt(s),y=!h&&Fa(s),k=!h&&!y&&Xo(s),N=!h&&!y&&!k&&Rs(s),I=h||y||k||N,j=I?Sf(s.length,yk):[],B=j.length;for(var fe in s)(d||Dt.call(s,fe))&&!(I&&(fe=="length"||k&&(fe=="offset"||fe=="parent")||N&&(fe=="buffer"||fe=="byteLength"||fe=="byteOffset")||Eo(fe,B)))&&j.push(fe);return j}function Og(s){var d=s.length;return d?s[Hf(0,d-1)]:n}function dC(s,d){return Eu(Mr(s),Pa(d,0,s.length))}function cC(s){return Eu(Mr(s))}function Mf(s,d,h){(h!==n&&!Ti(s[d],h)||h===n&&!(d in s))&&xo(s,d,h)}function fd(s,d,h){var y=s[d];(!(Dt.call(s,d)&&Ti(y,h))||h===n&&!(d in s))&&xo(s,d,h)}function hu(s,d){for(var h=s.length;h--;)if(Ti(s[h][0],d))return h;return-1}function uC(s,d,h,y){return Yo(s,function(k,N,I){d(y,k,h(k),I)}),y}function Tg(s,d){return s&&Qi(d,Hn(d),s)}function fC(s,d){return s&&Qi(d,Fr(d),s)}function xo(s,d,h){d=="__proto__"&&su?su(s,d,{configurable:!0,enumerable:!0,value:h,writable:!0}):s[d]=h}function Df(s,d){for(var h=-1,y=d.length,k=J(y),N=s==null;++h<y;)k[h]=N?n:mh(s,d[h]);return k}function Pa(s,d,h){return s===s&&(h!==n&&(s=s<=h?s:h),d!==n&&(s=s>=d?s:d)),s}function fi(s,d,h,y,k,N){var I,j=d&p,B=d&m,fe=d&g;if(h&&(I=k?h(s,y,k,N):h(s)),I!==n)return I;if(!cn(s))return s;var he=nt(s);if(he){if(I=eE(s),!j)return Mr(s,I)}else{var be=cr(s),Ee=be==It||be==Te;if(Xo(s))return Jg(s,j);if(be==mt||be==rt||Ee&&!k){if(I=B||Ee?{}:yv(s),!j)return B?BC(s,fC(I,s)):VC(s,Tg(I,s))}else{if(!Qt[be])return k?s:{};I=tE(s,be,j)}}N||(N=new Oi);var je=N.get(s);if(je)return je;N.set(s,I),Gv(s)?s.forEach(function(Ge){I.add(fi(Ge,d,h,Ge,s,N))}):qv(s)&&s.forEach(function(Ge,ht){I.set(ht,fi(Ge,d,h,ht,s,N))});var We=fe?B?th:eh:B?Fr:Hn,st=he?n:We(s);return di(st||s,function(Ge,ht){st&&(ht=Ge,Ge=s[ht]),fd(I,ht,fi(Ge,d,h,ht,s,N))}),I}function hC(s){var d=Hn(s);return function(h){return Ag(h,s,d)}}function Ag(s,d,h){var y=h.length;if(s==null)return!y;for(s=Wt(s);y--;){var k=h[y],N=d[k],I=s[k];if(I===n&&!(k in s)||!N(I))return!1}return!0}function Ng(s,d,h){if(typeof s!="function")throw new ci(a);return bd(function(){s.apply(n,h)},d)}function hd(s,d,h,y){var k=-1,N=Kc,I=!0,j=s.length,B=[],fe=d.length;if(!j)return B;h&&(d=sn(d,Wr(h))),y?(N=wf,I=!1):d.length>=i&&(N=ad,I=!1,d=new Na(d));e:for(;++k<j;){var he=s[k],be=h==null?he:h(he);if(he=y||he!==0?he:0,I&&be===be){for(var Ee=fe;Ee--;)if(d[Ee]===be)continue e;B.push(he)}else N(d,be,y)||B.push(he)}return B}var Yo=iv(Yi),Pg=iv(Rf,!0);function pC(s,d){var h=!0;return Yo(s,function(y,k,N){return h=!!d(y,k,N),h}),h}function pu(s,d,h){for(var y=-1,k=s.length;++y<k;){var N=s[y],I=d(N);if(I!=null&&(j===n?I===I&&!Yr(I):h(I,j)))var j=I,B=N}return B}function mC(s,d,h,y){var k=s.length;for(h=it(h),h<0&&(h=-h>k?0:k+h),y=y===n||y>k?k:it(y),y<0&&(y+=k),y=h>y?0:Qv(y);h<y;)s[h++]=d;return s}function Ig(s,d){var h=[];return Yo(s,function(y,k,N){d(y,k,N)&&h.push(y)}),h}function Jn(s,d,h,y,k){var N=-1,I=s.length;for(h||(h=rE),k||(k=[]);++N<I;){var j=s[N];d>0&&h(j)?d>1?Jn(j,d-1,h,y,k):qo(k,j):y||(k[k.length]=j)}return k}var Ff=ov(),Mg=ov(!0);function Yi(s,d){return s&&Ff(s,d,Hn)}function Rf(s,d){return s&&Mg(s,d,Hn)}function mu(s,d){return Ho(d,function(h){return So(s[h])})}function Ia(s,d){d=Ko(d,s);for(var h=0,y=d.length;s!=null&&h<y;)s=s[Ki(d[h++])];return h&&h==y?s:n}function Dg(s,d,h){var y=d(s);return nt(s)?y:qo(y,h(s))}function br(s){return s==null?s===n?Kl:Ze:Ta&&Ta in Wt(s)?ZC(s):cE(s)}function Lf(s,d){return s>d}function gC(s,d){return s!=null&&Dt.call(s,d)}function vC(s,d){return s!=null&&d in Wt(s)}function yC(s,d,h){return s>=dr(d,h)&&s<Dn(d,h)}function zf(s,d,h){for(var y=h?wf:Kc,k=s[0].length,N=s.length,I=N,j=J(N),B=1/0,fe=[];I--;){var he=s[I];I&&d&&(he=sn(he,Wr(d))),B=dr(he.length,B),j[I]=!h&&(d||k>=120&&he.length>=120)?new Na(I&&he):n}he=s[0];var be=-1,Ee=j[0];e:for(;++be<k&&fe.length<B;){var je=he[be],We=d?d(je):je;if(je=h||je!==0?je:0,!(Ee?ad(Ee,We):y(fe,We,h))){for(I=N;--I;){var st=j[I];if(!(st?ad(st,We):y(s[I],We,h)))continue e}Ee&&Ee.push(We),fe.push(je)}}return fe}function bC(s,d,h,y){return Yi(s,function(k,N,I){d(y,h(k),N,I)}),y}function pd(s,d,h){d=Ko(d,s),s=_v(s,d);var y=s==null?s:s[Ki(pi(d))];return y==null?n:qr(y,s,h)}function Fg(s){return pn(s)&&br(s)==rt}function $C(s){return pn(s)&&br(s)==Vt}function wC(s){return pn(s)&&br(s)==Ve}function md(s,d,h,y,k){return s===d?!0:s==null||d==null||!pn(s)&&!pn(d)?s!==s&&d!==d:_C(s,d,h,y,md,k)}function _C(s,d,h,y,k,N){var I=nt(s),j=nt(d),B=I?_e:cr(s),fe=j?_e:cr(d);B=B==rt?mt:B,fe=fe==rt?mt:fe;var he=B==mt,be=fe==mt,Ee=B==fe;if(Ee&&Xo(s)){if(!Xo(d))return!1;I=!0,he=!1}if(Ee&&!he)return N||(N=new Oi),I||Rs(s)?mv(s,d,h,y,k,N):QC(s,d,B,h,y,k,N);if(!(h&v)){var je=he&&Dt.call(s,"__wrapped__"),We=be&&Dt.call(d,"__wrapped__");if(je||We){var st=je?s.value():s,Ge=We?d.value():d;return N||(N=new Oi),k(st,Ge,h,y,N)}}return Ee?(N||(N=new Oi),KC(s,d,h,y,k,N)):!1}function xC(s){return pn(s)&&cr(s)==se}function jf(s,d,h,y){var k=h.length,N=k,I=!y;if(s==null)return!N;for(s=Wt(s);k--;){var j=h[k];if(I&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++k<N;){j=h[k];var B=j[0],fe=s[B],he=j[1];if(I&&j[2]){if(fe===n&&!(B in s))return!1}else{var be=new Oi;if(y)var Ee=y(fe,he,B,s,d,be);if(!(Ee===n?md(he,fe,v|w,y,be):Ee))return!1}}return!0}function Rg(s){if(!cn(s)||oE(s))return!1;var d=So(s)?xk:Bc;return d.test(Da(s))}function kC(s){return pn(s)&&br(s)==gt}function CC(s){return pn(s)&&cr(s)==an}function EC(s){return pn(s)&&Pu(s.length)&&!!tn[br(s)]}function Lg(s){return typeof s=="function"?s:s==null?Rr:typeof s=="object"?nt(s)?Ug(s[0],s[1]):jg(s):a6(s)}function Uf(s){if(!yd(s))return Tk(s);var d=[];for(var h in Wt(s))Dt.call(s,h)&&h!="constructor"&&d.push(h);return d}function SC(s){if(!cn(s))return dE(s);var d=yd(s),h=[];for(var y in s)y=="constructor"&&(d||!Dt.call(s,y))||h.push(y);return h}function Vf(s,d){return s<d}function zg(s,d){var h=-1,y=Dr(s)?J(s.length):[];return Yo(s,function(k,N,I){y[++h]=d(k,N,I)}),y}function jg(s){var d=rh(s);return d.length==1&&d[0][2]?$v(d[0][0],d[0][1]):function(h){return h===s||jf(h,s,d)}}function Ug(s,d){return oh(s)&&bv(d)?$v(Ki(s),d):function(h){var y=mh(h,s);return y===n&&y===d?gh(h,s):md(d,y,v|w)}}function gu(s,d,h,y,k){s!==d&&Ff(d,function(N,I){if(k||(k=new Oi),cn(N))OC(s,d,I,h,gu,y,k);else{var j=y?y(sh(s,I),N,I+"",s,d,k):n;j===n&&(j=N),Mf(s,I,j)}},Fr)}function OC(s,d,h,y,k,N,I){var j=sh(s,h),B=sh(d,h),fe=I.get(B);if(fe){Mf(s,h,fe);return}var he=N?N(j,B,h+"",s,d,I):n,be=he===n;if(be){var Ee=nt(B),je=!Ee&&Xo(B),We=!Ee&&!je&&Rs(B);he=B,Ee||je||We?nt(j)?he=j:wn(j)?he=Mr(j):je?(be=!1,he=Jg(B,!0)):We?(be=!1,he=ev(B,!0)):he=[]:$d(B)||Fa(B)?(he=j,Fa(j)?he=Kv(j):(!cn(j)||So(j))&&(he=yv(B))):be=!1}be&&(I.set(B,he),k(he,B,y,N,I),I.delete(B)),Mf(s,h,he)}function Vg(s,d){var h=s.length;if(!!h)return d+=d<0?h:0,Eo(d,h)?s[d]:n}function Bg(s,d,h){d.length?d=sn(d,function(N){return nt(N)?function(I){return Ia(I,N.length===1?N[0]:N)}:N}):d=[Rr];var y=-1;d=sn(d,Wr(qe()));var k=zg(s,function(N,I,j){var B=sn(d,function(fe){return fe(N)});return{criteria:B,index:++y,value:N}});return tk(k,function(N,I){return UC(N,I,h)})}function TC(s,d){return Hg(s,d,function(h,y){return gh(s,y)})}function Hg(s,d,h){for(var y=-1,k=d.length,N={};++y<k;){var I=d[y],j=Ia(s,I);h(j,I)&&gd(N,Ko(I,s),j)}return N}function AC(s){return function(d){return Ia(d,s)}}function Bf(s,d,h,y){var k=y?ek:Es,N=-1,I=d.length,j=s;for(s===d&&(d=Mr(d)),h&&(j=sn(s,Wr(h)));++N<I;)for(var B=0,fe=d[N],he=h?h(fe):fe;(B=k(j,he,B,y))>-1;)j!==s&&au.call(j,B,1),au.call(s,B,1);return s}function qg(s,d){for(var h=s?d.length:0,y=h-1;h--;){var k=d[h];if(h==y||k!==N){var N=k;Eo(k)?au.call(s,k,1):Gf(s,k)}}return s}function Hf(s,d){return s+du(Cg()*(d-s+1))}function NC(s,d,h,y){for(var k=-1,N=Dn(lu((d-s)/(h||1)),0),I=J(N);N--;)I[y?N:++k]=s,s+=h;return I}function qf(s,d){var h="";if(!s||d<1||d>ee)return h;do d%2&&(h+=s),d=du(d/2),d&&(s+=s);while(d);return h}function dt(s,d){return lh(wv(s,d,Rr),s+"")}function PC(s){return Og(Ls(s))}function IC(s,d){var h=Ls(s);return Eu(h,Pa(d,0,h.length))}function gd(s,d,h,y){if(!cn(s))return s;d=Ko(d,s);for(var k=-1,N=d.length,I=N-1,j=s;j!=null&&++k<N;){var B=Ki(d[k]),fe=h;if(B==="__proto__"||B==="constructor"||B==="prototype")return s;if(k!=I){var he=j[B];fe=y?y(he,B,j):n,fe===n&&(fe=cn(he)?he:Eo(d[k+1])?[]:{})}fd(j,B,fe),j=j[B]}return s}var Wg=cu?function(s,d){return cu.set(s,d),s}:Rr,MC=su?function(s,d){return su(s,"toString",{configurable:!0,enumerable:!1,value:yh(d),writable:!0})}:Rr;function DC(s){return Eu(Ls(s))}function hi(s,d,h){var y=-1,k=s.length;d<0&&(d=-d>k?0:k+d),h=h>k?k:h,h<0&&(h+=k),k=d>h?0:h-d>>>0,d>>>=0;for(var N=J(k);++y<k;)N[y]=s[y+d];return N}function FC(s,d){var h;return Yo(s,function(y,k,N){return h=d(y,k,N),!h}),!!h}function vu(s,d,h){var y=0,k=s==null?y:s.length;if(typeof d=="number"&&d===d&&k<=ze){for(;y<k;){var N=y+k>>>1,I=s[N];I!==null&&!Yr(I)&&(h?I<=d:I<d)?y=N+1:k=N}return k}return Wf(s,d,Rr,h)}function Wf(s,d,h,y){var k=0,N=s==null?0:s.length;if(N===0)return 0;d=h(d);for(var I=d!==d,j=d===null,B=Yr(d),fe=d===n;k<N;){var he=du((k+N)/2),be=h(s[he]),Ee=be!==n,je=be===null,We=be===be,st=Yr(be);if(I)var Ge=y||We;else fe?Ge=We&&(y||Ee):j?Ge=We&&Ee&&(y||!je):B?Ge=We&&Ee&&!je&&(y||!st):je||st?Ge=!1:Ge=y?be<=d:be<d;Ge?k=he+1:N=he}return dr(N,ne)}function Gg(s,d){for(var h=-1,y=s.length,k=0,N=[];++h<y;){var I=s[h],j=d?d(I):I;if(!h||!Ti(j,B)){var B=j;N[k++]=I===0?0:I}}return N}function Yg(s){return typeof s=="number"?s:Yr(s)?X:+s}function Gr(s){if(typeof s=="string")return s;if(nt(s))return sn(s,Gr)+"";if(Yr(s))return Eg?Eg.call(s):"";var d=s+"";return d=="0"&&1/s==-pe?"-0":d}function Qo(s,d,h){var y=-1,k=Kc,N=s.length,I=!0,j=[],B=j;if(h)I=!1,k=wf;else if(N>=i){var fe=d?null:GC(s);if(fe)return Xc(fe);I=!1,k=ad,B=new Na}else B=d?[]:j;e:for(;++y<N;){var he=s[y],be=d?d(he):he;if(he=h||he!==0?he:0,I&&be===be){for(var Ee=B.length;Ee--;)if(B[Ee]===be)continue e;d&&B.push(be),j.push(he)}else k(B,be,h)||(B!==j&&B.push(be),j.push(he))}return j}function Gf(s,d){return d=Ko(d,s),s=_v(s,d),s==null||delete s[Ki(pi(d))]}function Qg(s,d,h,y){return gd(s,d,h(Ia(s,d)),y)}function yu(s,d,h,y){for(var k=s.length,N=y?k:-1;(y?N--:++N<k)&&d(s[N],N,s););return h?hi(s,y?0:N,y?N+1:k):hi(s,y?N+1:0,y?k:N)}function Kg(s,d){var h=s;return h instanceof vt&&(h=h.value()),_f(d,function(y,k){return k.func.apply(k.thisArg,qo([y],k.args))},h)}function Yf(s,d,h){var y=s.length;if(y<2)return y?Qo(s[0]):[];for(var k=-1,N=J(y);++k<y;)for(var I=s[k],j=-1;++j<y;)j!=k&&(N[k]=hd(N[k]||I,s[j],d,h));return Qo(Jn(N,1),d,h)}function Zg(s,d,h){for(var y=-1,k=s.length,N=d.length,I={};++y<k;){var j=y<N?d[y]:n;h(I,s[y],j)}return I}function Qf(s){return wn(s)?s:[]}function Kf(s){return typeof s=="function"?s:Rr}function Ko(s,d){return nt(s)?s:oh(s,d)?[s]:Ev(Nt(s))}var RC=dt;function Zo(s,d,h){var y=s.length;return h=h===n?y:h,!d&&h>=y?s:hi(s,d,h)}var Xg=kk||function(s){return Xn.clearTimeout(s)};function Jg(s,d){if(d)return s.slice();var h=s.length,y=$g?$g(h):new s.constructor(h);return s.copy(y),y}function Zf(s){var d=new s.constructor(s.byteLength);return new iu(d).set(new iu(s)),d}function LC(s,d){var h=d?Zf(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.byteLength)}function zC(s){var d=new s.constructor(s.source,Uc.exec(s));return d.lastIndex=s.lastIndex,d}function jC(s){return ud?Wt(ud.call(s)):{}}function ev(s,d){var h=d?Zf(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.length)}function tv(s,d){if(s!==d){var h=s!==n,y=s===null,k=s===s,N=Yr(s),I=d!==n,j=d===null,B=d===d,fe=Yr(d);if(!j&&!fe&&!N&&s>d||N&&I&&B&&!j&&!fe||y&&I&&B||!h&&B||!k)return 1;if(!y&&!N&&!fe&&s<d||fe&&h&&k&&!y&&!N||j&&h&&k||!I&&k||!B)return-1}return 0}function UC(s,d,h){for(var y=-1,k=s.criteria,N=d.criteria,I=k.length,j=h.length;++y<I;){var B=tv(k[y],N[y]);if(B){if(y>=j)return B;var fe=h[y];return B*(fe=="desc"?-1:1)}}return s.index-d.index}function nv(s,d,h,y){for(var k=-1,N=s.length,I=h.length,j=-1,B=d.length,fe=Dn(N-I,0),he=J(B+fe),be=!y;++j<B;)he[j]=d[j];for(;++k<I;)(be||k<N)&&(he[h[k]]=s[k]);for(;fe--;)he[j++]=s[k++];return he}function rv(s,d,h,y){for(var k=-1,N=s.length,I=-1,j=h.length,B=-1,fe=d.length,he=Dn(N-j,0),be=J(he+fe),Ee=!y;++k<he;)be[k]=s[k];for(var je=k;++B<fe;)be[je+B]=d[B];for(;++I<j;)(Ee||k<N)&&(be[je+h[I]]=s[k++]);return be}function Mr(s,d){var h=-1,y=s.length;for(d||(d=J(y));++h<y;)d[h]=s[h];return d}function Qi(s,d,h,y){var k=!h;h||(h={});for(var N=-1,I=d.length;++N<I;){var j=d[N],B=y?y(h[j],s[j],j,h,s):n;B===n&&(B=s[j]),k?xo(h,j,B):fd(h,j,B)}return h}function VC(s,d){return Qi(s,ih(s),d)}function BC(s,d){return Qi(s,gv(s),d)}function bu(s,d){return function(h,y){var k=nt(h)?Yx:uC,N=d?d():{};return k(h,s,qe(y,2),N)}}function Ms(s){return dt(function(d,h){var y=-1,k=h.length,N=k>1?h[k-1]:n,I=k>2?h[2]:n;for(N=s.length>3&&typeof N=="function"?(k--,N):n,I&&$r(h[0],h[1],I)&&(N=k<3?n:N,k=1),d=Wt(d);++y<k;){var j=h[y];j&&s(d,j,y,N)}return d})}function iv(s,d){return function(h,y){if(h==null)return h;if(!Dr(h))return s(h,y);for(var k=h.length,N=d?k:-1,I=Wt(h);(d?N--:++N<k)&&y(I[N],N,I)!==!1;);return h}}function ov(s){return function(d,h,y){for(var k=-1,N=Wt(d),I=y(d),j=I.length;j--;){var B=I[s?j:++k];if(h(N[B],B,N)===!1)break}return d}}function HC(s,d,h){var y=d&x,k=vd(s);function N(){var I=this&&this!==Xn&&this instanceof N?k:s;return I.apply(y?h:this,arguments)}return N}function av(s){return function(d){d=Nt(d);var h=Ss(d)?Si(d):n,y=h?h[0]:d.charAt(0),k=h?Zo(h,1).join(""):d.slice(1);return y[s]()+k}}function Ds(s){return function(d){return _f(i6(r6(d).replace(Mx,"")),s,"")}}function vd(s){return function(){var d=arguments;switch(d.length){case 0:return new s;case 1:return new s(d[0]);case 2:return new s(d[0],d[1]);case 3:return new s(d[0],d[1],d[2]);case 4:return new s(d[0],d[1],d[2],d[3]);case 5:return new s(d[0],d[1],d[2],d[3],d[4]);case 6:return new s(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new s(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var h=Is(s.prototype),y=s.apply(h,d);return cn(y)?y:h}}function qC(s,d,h){var y=vd(s);function k(){for(var N=arguments.length,I=J(N),j=N,B=Fs(k);j--;)I[j]=arguments[j];var fe=N<3&&I[0]!==B&&I[N-1]!==B?[]:Wo(I,B);if(N-=fe.length,N<h)return uv(s,d,$u,k.placeholder,n,I,fe,n,n,h-N);var he=this&&this!==Xn&&this instanceof k?y:s;return qr(he,this,I)}return k}function sv(s){return function(d,h,y){var k=Wt(d);if(!Dr(d)){var N=qe(h,3);d=Hn(d),h=function(j){return N(k[j],j,k)}}var I=s(d,h,y);return I>-1?k[N?d[I]:I]:n}}function lv(s){return Co(function(d){var h=d.length,y=h,k=ui.prototype.thru;for(s&&d.reverse();y--;){var N=d[y];if(typeof N!="function")throw new ci(a);if(k&&!I&&ku(N)=="wrapper")var I=new ui([],!0)}for(y=I?y:h;++y<h;){N=d[y];var j=ku(N),B=j=="wrapper"?nh(N):n;B&&ah(B[0])&&B[1]==(L|O|M|U)&&!B[4].length&&B[9]==1?I=I[ku(B[0])].apply(I,B[3]):I=N.length==1&&ah(N)?I[j]():I.thru(N)}return function(){var fe=arguments,he=fe[0];if(I&&fe.length==1&&nt(he))return I.plant(he).value();for(var be=0,Ee=h?d[be].apply(this,fe):he;++be<h;)Ee=d[be].call(this,Ee);return Ee}})}function $u(s,d,h,y,k,N,I,j,B,fe){var he=d&L,be=d&x,Ee=d&A,je=d&(O|E),We=d&Z,st=Ee?n:vd(s);function Ge(){for(var ht=arguments.length,$t=J(ht),Qr=ht;Qr--;)$t[Qr]=arguments[Qr];if(je)var wr=Fs(Ge),Kr=rk($t,wr);if(y&&($t=nv($t,y,k,je)),N&&($t=rv($t,N,I,je)),ht-=Kr,je&&ht<fe){var _n=Wo($t,wr);return uv(s,d,$u,Ge.placeholder,h,$t,_n,j,B,fe-ht)}var Ai=be?h:this,To=Ee?Ai[s]:s;return ht=$t.length,j?$t=uE($t,j):We&&ht>1&&$t.reverse(),he&&B<ht&&($t.length=B),this&&this!==Xn&&this instanceof Ge&&(To=st||vd(To)),To.apply(Ai,$t)}return Ge}function dv(s,d){return function(h,y){return bC(h,s,d(y),{})}}function wu(s,d){return function(h,y){var k;if(h===n&&y===n)return d;if(h!==n&&(k=h),y!==n){if(k===n)return y;typeof h=="string"||typeof y=="string"?(h=Gr(h),y=Gr(y)):(h=Yg(h),y=Yg(y)),k=s(h,y)}return k}}function Xf(s){return Co(function(d){return d=sn(d,Wr(qe())),dt(function(h){var y=this;return s(d,function(k){return qr(k,y,h)})})})}function _u(s,d){d=d===n?" ":Gr(d);var h=d.length;if(h<2)return h?qf(d,s):d;var y=qf(d,lu(s/Os(d)));return Ss(d)?Zo(Si(y),0,s).join(""):y.slice(0,s)}function WC(s,d,h,y){var k=d&x,N=vd(s);function I(){for(var j=-1,B=arguments.length,fe=-1,he=y.length,be=J(he+B),Ee=this&&this!==Xn&&this instanceof I?N:s;++fe<he;)be[fe]=y[fe];for(;B--;)be[fe++]=arguments[++j];return qr(Ee,k?h:this,be)}return I}function cv(s){return function(d,h,y){return y&&typeof y!="number"&&$r(d,h,y)&&(h=y=n),d=Oo(d),h===n?(h=d,d=0):h=Oo(h),y=y===n?d<h?1:-1:Oo(y),NC(d,h,y,s)}}function xu(s){return function(d,h){return typeof d=="string"&&typeof h=="string"||(d=mi(d),h=mi(h)),s(d,h)}}function uv(s,d,h,y,k,N,I,j,B,fe){var he=d&O,be=he?I:n,Ee=he?n:I,je=he?N:n,We=he?n:N;d|=he?M:P,d&=~(he?P:M),d&S||(d&=~(x|A));var st=[s,d,k,je,be,We,Ee,j,B,fe],Ge=h.apply(n,st);return ah(s)&&xv(Ge,st),Ge.placeholder=y,kv(Ge,s,d)}function Jf(s){var d=Mn[s];return function(h,y){if(h=mi(h),y=y==null?0:dr(it(y),292),y&&kg(h)){var k=(Nt(h)+"e").split("e"),N=d(k[0]+"e"+(+k[1]+y));return k=(Nt(N)+"e").split("e"),+(k[0]+"e"+(+k[1]-y))}return d(h)}}var GC=Ns&&1/Xc(new Ns([,-0]))[1]==pe?function(s){return new Ns(s)}:wh;function fv(s){return function(d){var h=cr(d);return h==se?Tf(d):h==an?ck(d):nk(d,s(d))}}function ko(s,d,h,y,k,N,I,j){var B=d&A;if(!B&&typeof s!="function")throw new ci(a);var fe=y?y.length:0;if(fe||(d&=~(M|P),y=k=n),I=I===n?I:Dn(it(I),0),j=j===n?j:it(j),fe-=k?k.length:0,d&P){var he=y,be=k;y=k=n}var Ee=B?n:nh(s),je=[s,d,h,y,k,he,be,N,I,j];if(Ee&&lE(je,Ee),s=je[0],d=je[1],h=je[2],y=je[3],k=je[4],j=je[9]=je[9]===n?B?0:s.length:Dn(je[9]-fe,0),!j&&d&(O|E)&&(d&=~(O|E)),!d||d==x)var We=HC(s,d,h);else d==O||d==E?We=qC(s,d,j):(d==M||d==(x|M))&&!k.length?We=WC(s,d,h,y):We=$u.apply(n,je);var st=Ee?Wg:xv;return kv(st(We,je),s,d)}function hv(s,d,h,y){return s===n||Ti(s,As[h])&&!Dt.call(y,h)?d:s}function pv(s,d,h,y,k,N){return cn(s)&&cn(d)&&(N.set(d,s),gu(s,d,n,pv,N),N.delete(d)),s}function YC(s){return $d(s)?n:s}function mv(s,d,h,y,k,N){var I=h&v,j=s.length,B=d.length;if(j!=B&&!(I&&B>j))return!1;var fe=N.get(s),he=N.get(d);if(fe&&he)return fe==d&&he==s;var be=-1,Ee=!0,je=h&w?new Na:n;for(N.set(s,d),N.set(d,s);++be<j;){var We=s[be],st=d[be];if(y)var Ge=I?y(st,We,be,d,s,N):y(We,st,be,s,d,N);if(Ge!==n){if(Ge)continue;Ee=!1;break}if(je){if(!xf(d,function(ht,$t){if(!ad(je,$t)&&(We===ht||k(We,ht,h,y,N)))return je.push($t)})){Ee=!1;break}}else if(!(We===st||k(We,st,h,y,N))){Ee=!1;break}}return N.delete(s),N.delete(d),Ee}function QC(s,d,h,y,k,N,I){switch(h){case Mt:if(s.byteLength!=d.byteLength||s.byteOffset!=d.byteOffset)return!1;s=s.buffer,d=d.buffer;case Vt:return!(s.byteLength!=d.byteLength||!N(new iu(s),new iu(d)));case Ue:case Ve:case Fe:return Ti(+s,+d);case _t:return s.name==d.name&&s.message==d.message;case gt:case Un:return s==d+"";case se:var j=Tf;case an:var B=y&v;if(j||(j=Xc),s.size!=d.size&&!B)return!1;var fe=I.get(s);if(fe)return fe==d;y|=w,I.set(s,d);var he=mv(j(s),j(d),y,k,N,I);return I.delete(s),he;case ii:if(ud)return ud.call(s)==ud.call(d)}return!1}function KC(s,d,h,y,k,N){var I=h&v,j=eh(s),B=j.length,fe=eh(d),he=fe.length;if(B!=he&&!I)return!1;for(var be=B;be--;){var Ee=j[be];if(!(I?Ee in d:Dt.call(d,Ee)))return!1}var je=N.get(s),We=N.get(d);if(je&&We)return je==d&&We==s;var st=!0;N.set(s,d),N.set(d,s);for(var Ge=I;++be<B;){Ee=j[be];var ht=s[Ee],$t=d[Ee];if(y)var Qr=I?y($t,ht,Ee,d,s,N):y(ht,$t,Ee,s,d,N);if(!(Qr===n?ht===$t||k(ht,$t,h,y,N):Qr)){st=!1;break}Ge||(Ge=Ee=="constructor")}if(st&&!Ge){var wr=s.constructor,Kr=d.constructor;wr!=Kr&&"constructor"in s&&"constructor"in d&&!(typeof wr=="function"&&wr instanceof wr&&typeof Kr=="function"&&Kr instanceof Kr)&&(st=!1)}return N.delete(s),N.delete(d),st}function Co(s){return lh(wv(s,n,Av),s+"")}function eh(s){return Dg(s,Hn,ih)}function th(s){return Dg(s,Fr,gv)}var nh=cu?function(s){return cu.get(s)}:wh;function ku(s){for(var d=s.name+"",h=Ps[d],y=Dt.call(Ps,d)?h.length:0;y--;){var k=h[y],N=k.func;if(N==null||N==s)return k.name}return d}function Fs(s){var d=Dt.call(T,"placeholder")?T:s;return d.placeholder}function qe(){var s=T.iteratee||bh;return s=s===bh?Lg:s,arguments.length?s(arguments[0],arguments[1]):s}function Cu(s,d){var h=s.__data__;return iE(d)?h[typeof d=="string"?"string":"hash"]:h.map}function rh(s){for(var d=Hn(s),h=d.length;h--;){var y=d[h],k=s[y];d[h]=[y,k,bv(k)]}return d}function Ma(s,d){var h=sk(s,d);return Rg(h)?h:n}function ZC(s){var d=Dt.call(s,Ta),h=s[Ta];try{s[Ta]=n;var y=!0}catch{}var k=nu.call(s);return y&&(d?s[Ta]=h:delete s[Ta]),k}var ih=Nf?function(s){return s==null?[]:(s=Wt(s),Ho(Nf(s),function(d){return _g.call(s,d)}))}:_h,gv=Nf?function(s){for(var d=[];s;)qo(d,ih(s)),s=ou(s);return d}:_h,cr=br;(Pf&&cr(new Pf(new ArrayBuffer(1)))!=Mt||ld&&cr(new ld)!=se||If&&cr(If.resolve())!=bt||Ns&&cr(new Ns)!=an||dd&&cr(new dd)!=vo)&&(cr=function(s){var d=br(s),h=d==mt?s.constructor:n,y=h?Da(h):"";if(y)switch(y){case Ik:return Mt;case Mk:return se;case Dk:return bt;case Fk:return an;case Rk:return vo}return d});function XC(s,d,h){for(var y=-1,k=h.length;++y<k;){var N=h[y],I=N.size;switch(N.type){case"drop":s+=I;break;case"dropRight":d-=I;break;case"take":d=dr(d,s+I);break;case"takeRight":s=Dn(s,d-I);break}}return{start:s,end:d}}function JC(s){var d=s.match(Lc);return d?d[1].split(zc):[]}function vv(s,d,h){d=Ko(d,s);for(var y=-1,k=d.length,N=!1;++y<k;){var I=Ki(d[y]);if(!(N=s!=null&&h(s,I)))break;s=s[I]}return N||++y!=k?N:(k=s==null?0:s.length,!!k&&Pu(k)&&Eo(I,k)&&(nt(s)||Fa(s)))}function eE(s){var d=s.length,h=new s.constructor(d);return d&&typeof s[0]=="string"&&Dt.call(s,"index")&&(h.index=s.index,h.input=s.input),h}function yv(s){return typeof s.constructor=="function"&&!yd(s)?Is(ou(s)):{}}function tE(s,d,h){var y=s.constructor;switch(d){case Vt:return Zf(s);case Ue:case Ve:return new y(+s);case Mt:return LC(s,h);case Zn:case ar:case $n:case vr:case yr:case Ir:case sr:case Hr:case Hi:return ev(s,h);case se:return new y;case Fe:case Un:return new y(s);case gt:return zC(s);case an:return new y;case ii:return jC(s)}}function nE(s,d){var h=d.length;if(!h)return s;var y=h-1;return d[y]=(h>1?"& ":"")+d[y],d=d.join(h>2?", ":" "),s.replace(Rc,`{
|
|
3498
3498
|
/* [wrapped with `+d+`] */
|
|
3499
|
-
`)}function rE(s){return nt(s)||Fa(s)||!!(xg&&s&&s[xg])}function Eo(s,d){var h=typeof s;return d=d??J,!!d&&(h=="number"||h!="symbol"&&pf.test(s))&&s>-1&&s%1==0&&s<d}function $r(s,d,h){if(!cn(h))return!1;var y=typeof d;return(y=="number"?Dr(h)&&Eo(d,h.length):y=="string"&&d in h)?Ti(h[d],s):!1}function oh(s,d){if(nt(s))return!1;var h=typeof s;return h=="number"||h=="symbol"||h=="boolean"||s==null||Yr(s)?!0:xs.test(s)||!Mc.test(s)||d!=null&&s in Wt(d)}function iE(s){var d=typeof s;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?s!=="__proto__":s===null}function ah(s){var d=ku(s),h=T[d];if(typeof h!="function"||!(d in vt.prototype))return!1;if(s===h)return!0;var y=nh(h);return!!y&&s===y[0]}function oE(s){return!!bg&&bg in s}var aE=eu?So:xh;function yd(s){var d=s&&s.constructor,h=typeof d=="function"&&d.prototype||As;return s===h}function bv(s){return s===s&&!cn(s)}function $v(s,d){return function(h){return h==null?!1:h[s]===d&&(d!==n||s in Wt(h))}}function sE(s){var d=Au(s,function(y){return h.size===u&&h.clear(),y}),h=d.cache;return d}function lE(s,d){var h=s[1],y=d[1],k=h|y,N=k<(x|A|L),I=y==L&&h==O||y==L&&h==U&&s[7].length<=d[8]||y==(L|U)&&d[7].length<=d[8]&&h==O;if(!(N||I))return s;y&x&&(s[2]=d[2],k|=h&x?0:S);var j=d[3];if(j){var B=s[3];s[3]=B?nv(B,j,d[4]):j,s[4]=B?Wo(s[3],f):d[4]}return j=d[5],j&&(B=s[5],s[5]=B?rv(B,j,d[6]):j,s[6]=B?Wo(s[5],f):d[6]),j=d[7],j&&(s[7]=j),y&L&&(s[8]=s[8]==null?d[8]:dr(s[8],d[8])),s[9]==null&&(s[9]=d[9]),s[0]=d[0],s[1]=k,s}function dE(s){var d=[];if(s!=null)for(var h in Wt(s))d.push(h);return d}function cE(s){return nu.call(s)}function wv(s,d,h){return d=Dn(d===n?s.length-1:d,0),function(){for(var y=arguments,k=-1,N=Dn(y.length-d,0),I=X(N);++k<N;)I[k]=y[d+k];k=-1;for(var j=X(d+1);++k<d;)j[k]=y[k];return j[d]=h(I),qr(s,this,j)}}function _v(s,d){return d.length<2?s:Ia(s,hi(d,0,-1))}function uE(s,d){for(var h=s.length,y=dr(d.length,h),k=Mr(s);y--;){var N=d[y];s[y]=Eo(N,h)?k[N]:n}return s}function sh(s,d){if(!(d==="constructor"&&typeof s[d]=="function")&&d!="__proto__")return s[d]}var xv=Cv(Wg),bd=Ek||function(s,d){return Xn.setTimeout(s,d)},lh=Cv(MC);function kv(s,d,h){var y=d+"";return lh(s,nE(y,fE(JC(y),h)))}function Cv(s){var d=0,h=0;return function(){var y=Ak(),k=re-(y-h);if(h=y,k>0){if(++d>=G)return arguments[0]}else d=0;return s.apply(n,arguments)}}function Eu(s,d){var h=-1,y=s.length,k=y-1;for(d=d===n?y:d;++h<d;){var N=Hf(h,k),I=s[N];s[N]=s[h],s[h]=I}return s.length=d,s}var Ev=sE(function(s){var d=[];return s.charCodeAt(0)===46&&d.push(""),s.replace(Wi,function(h,y,k,N){d.push(k?N.replace(hf,"$1"):y||h)}),d});function Ki(s){if(typeof s=="string"||Yr(s))return s;var d=s+"";return d=="0"&&1/s==-pe?"-0":d}function Da(s){if(s!=null){try{return tu.call(s)}catch{}try{return s+""}catch{}}return""}function fE(s,d){return di(Be,function(h){var y="_."+h[0];d&h[1]&&!Kc(s,y)&&s.push(y)}),s.sort()}function Sv(s){if(s instanceof vt)return s.clone();var d=new ui(s.__wrapped__,s.__chain__);return d.__actions__=Mr(s.__actions__),d.__index__=s.__index__,d.__values__=s.__values__,d}function hE(s,d,h){(h?$r(s,d,h):d===n)?d=1:d=Dn(it(d),0);var y=s==null?0:s.length;if(!y||d<1)return[];for(var k=0,N=0,I=X(lu(y/d));k<y;)I[N++]=hi(s,k,k+=d);return I}function pE(s){for(var d=-1,h=s==null?0:s.length,y=0,k=[];++d<h;){var N=s[d];N&&(k[y++]=N)}return k}function mE(){var s=arguments.length;if(!s)return[];for(var d=X(s-1),h=arguments[0],y=s;y--;)d[y-1]=arguments[y];return qo(nt(h)?Mr(h):[h],Jn(d,1))}var gE=dt(function(s,d){return wn(s)?hd(s,Jn(d,1,wn,!0)):[]}),vE=dt(function(s,d){var h=pi(d);return wn(h)&&(h=n),wn(s)?hd(s,Jn(d,1,wn,!0),qe(h,2)):[]}),yE=dt(function(s,d){var h=pi(d);return wn(h)&&(h=n),wn(s)?hd(s,Jn(d,1,wn,!0),n,h):[]});function bE(s,d,h){var y=s==null?0:s.length;return y?(d=h||d===n?1:it(d),hi(s,d<0?0:d,y)):[]}function $E(s,d,h){var y=s==null?0:s.length;return y?(d=h||d===n?1:it(d),d=y-d,hi(s,0,d<0?0:d)):[]}function wE(s,d){return s&&s.length?yu(s,qe(d,3),!0,!0):[]}function _E(s,d){return s&&s.length?yu(s,qe(d,3),!0):[]}function xE(s,d,h,y){var k=s==null?0:s.length;return k?(h&&typeof h!="number"&&$r(s,d,h)&&(h=0,y=k),mC(s,d,h,y)):[]}function Ov(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=h==null?0:it(h);return k<0&&(k=Dn(y+k,0)),Zc(s,qe(d,3),k)}function Tv(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=y-1;return h!==n&&(k=it(h),k=h<0?Dn(y+k,0):dr(k,y-1)),Zc(s,qe(d,3),k,!0)}function Av(s){var d=s==null?0:s.length;return d?Jn(s,1):[]}function kE(s){var d=s==null?0:s.length;return d?Jn(s,pe):[]}function CE(s,d){var h=s==null?0:s.length;return h?(d=d===n?1:it(d),Jn(s,d)):[]}function EE(s){for(var d=-1,h=s==null?0:s.length,y={};++d<h;){var k=s[d];y[k[0]]=k[1]}return y}function Nv(s){return s&&s.length?s[0]:n}function SE(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=h==null?0:it(h);return k<0&&(k=Dn(y+k,0)),Es(s,d,k)}function OE(s){var d=s==null?0:s.length;return d?hi(s,0,-1):[]}var TE=dt(function(s){var d=sn(s,Qf);return d.length&&d[0]===s[0]?zf(d):[]}),AE=dt(function(s){var d=pi(s),h=sn(s,Qf);return d===pi(h)?d=n:h.pop(),h.length&&h[0]===s[0]?zf(h,qe(d,2)):[]}),NE=dt(function(s){var d=pi(s),h=sn(s,Qf);return d=typeof d=="function"?d:n,d&&h.pop(),h.length&&h[0]===s[0]?zf(h,n,d):[]});function PE(s,d){return s==null?"":Ok.call(s,d)}function pi(s){var d=s==null?0:s.length;return d?s[d-1]:n}function IE(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=y;return h!==n&&(k=it(h),k=k<0?Dn(y+k,0):dr(k,y-1)),d===d?fk(s,d,k):Zc(s,ug,k,!0)}function ME(s,d){return s&&s.length?Vg(s,it(d)):n}var DE=dt(Pv);function Pv(s,d){return s&&s.length&&d&&d.length?Bf(s,d):s}function FE(s,d,h){return s&&s.length&&d&&d.length?Bf(s,d,qe(h,2)):s}function RE(s,d,h){return s&&s.length&&d&&d.length?Bf(s,d,n,h):s}var LE=Co(function(s,d){var h=s==null?0:s.length,y=Df(s,d);return qg(s,sn(d,function(k){return Eo(k,h)?+k:k}).sort(tv)),y});function zE(s,d){var h=[];if(!(s&&s.length))return h;var y=-1,k=[],N=s.length;for(d=qe(d,3);++y<N;){var I=s[y];d(I,y,s)&&(h.push(I),k.push(y))}return qg(s,k),h}function dh(s){return s==null?s:Pk.call(s)}function jE(s,d,h){var y=s==null?0:s.length;return y?(h&&typeof h!="number"&&$r(s,d,h)?(d=0,h=y):(d=d==null?0:it(d),h=h===n?y:it(h)),hi(s,d,h)):[]}function UE(s,d){return vu(s,d)}function VE(s,d,h){return Wf(s,d,qe(h,2))}function BE(s,d){var h=s==null?0:s.length;if(h){var y=vu(s,d);if(y<h&&Ti(s[y],d))return y}return-1}function HE(s,d){return vu(s,d,!0)}function qE(s,d,h){return Wf(s,d,qe(h,2),!0)}function WE(s,d){var h=s==null?0:s.length;if(h){var y=vu(s,d,!0)-1;if(Ti(s[y],d))return y}return-1}function GE(s){return s&&s.length?Gg(s):[]}function YE(s,d){return s&&s.length?Gg(s,qe(d,2)):[]}function QE(s){var d=s==null?0:s.length;return d?hi(s,1,d):[]}function KE(s,d,h){return s&&s.length?(d=h||d===n?1:it(d),hi(s,0,d<0?0:d)):[]}function ZE(s,d,h){var y=s==null?0:s.length;return y?(d=h||d===n?1:it(d),d=y-d,hi(s,d<0?0:d,y)):[]}function XE(s,d){return s&&s.length?yu(s,qe(d,3),!1,!0):[]}function JE(s,d){return s&&s.length?yu(s,qe(d,3)):[]}var eS=dt(function(s){return Qo(Jn(s,1,wn,!0))}),tS=dt(function(s){var d=pi(s);return wn(d)&&(d=n),Qo(Jn(s,1,wn,!0),qe(d,2))}),nS=dt(function(s){var d=pi(s);return d=typeof d=="function"?d:n,Qo(Jn(s,1,wn,!0),n,d)});function rS(s){return s&&s.length?Qo(s):[]}function iS(s,d){return s&&s.length?Qo(s,qe(d,2)):[]}function oS(s,d){return d=typeof d=="function"?d:n,s&&s.length?Qo(s,n,d):[]}function ch(s){if(!(s&&s.length))return[];var d=0;return s=Ho(s,function(h){if(wn(h))return d=Dn(h.length,d),!0}),Sf(d,function(h){return sn(s,kf(h))})}function Iv(s,d){if(!(s&&s.length))return[];var h=ch(s);return d==null?h:sn(h,function(y){return qr(d,n,y)})}var aS=dt(function(s,d){return wn(s)?hd(s,d):[]}),sS=dt(function(s){return Yf(Ho(s,wn))}),lS=dt(function(s){var d=pi(s);return wn(d)&&(d=n),Yf(Ho(s,wn),qe(d,2))}),dS=dt(function(s){var d=pi(s);return d=typeof d=="function"?d:n,Yf(Ho(s,wn),n,d)}),cS=dt(ch);function uS(s,d){return Zg(s||[],d||[],fd)}function fS(s,d){return Zg(s||[],d||[],gd)}var hS=dt(function(s){var d=s.length,h=d>1?s[d-1]:n;return h=typeof h=="function"?(s.pop(),h):n,Iv(s,h)});function Mv(s){var d=T(s);return d.__chain__=!0,d}function pS(s,d){return d(s),s}function Su(s,d){return d(s)}var mS=Co(function(s){var d=s.length,h=d?s[0]:0,y=this.__wrapped__,k=function(N){return Df(N,s)};return d>1||this.__actions__.length||!(y instanceof vt)||!Eo(h)?this.thru(k):(y=y.slice(h,+h+(d?1:0)),y.__actions__.push({func:Su,args:[k],thisArg:n}),new ui(y,this.__chain__).thru(function(N){return d&&!N.length&&N.push(n),N}))});function gS(){return Mv(this)}function vS(){return new ui(this.value(),this.__chain__)}function yS(){this.__values__===n&&(this.__values__=Yv(this.value()));var s=this.__index__>=this.__values__.length,d=s?n:this.__values__[this.__index__++];return{done:s,value:d}}function bS(){return this}function $S(s){for(var d,h=this;h instanceof fu;){var y=Sv(h);y.__index__=0,y.__values__=n,d?k.__wrapped__=y:d=y;var k=y;h=h.__wrapped__}return k.__wrapped__=s,d}function wS(){var s=this.__wrapped__;if(s instanceof vt){var d=s;return this.__actions__.length&&(d=new vt(this)),d=d.reverse(),d.__actions__.push({func:Su,args:[dh],thisArg:n}),new ui(d,this.__chain__)}return this.thru(dh)}function _S(){return Kg(this.__wrapped__,this.__actions__)}var xS=bu(function(s,d,h){Dt.call(s,h)?++s[h]:xo(s,h,1)});function kS(s,d,h){var y=nt(s)?dg:pC;return h&&$r(s,d,h)&&(d=n),y(s,qe(d,3))}function CS(s,d){var h=nt(s)?Ho:Ig;return h(s,qe(d,3))}var ES=sv(Ov),SS=sv(Tv);function OS(s,d){return Jn(Ou(s,d),1)}function TS(s,d){return Jn(Ou(s,d),pe)}function AS(s,d,h){return h=h===n?1:it(h),Jn(Ou(s,d),h)}function Dv(s,d){var h=nt(s)?di:Yo;return h(s,qe(d,3))}function Fv(s,d){var h=nt(s)?Qx:Pg;return h(s,qe(d,3))}var NS=bu(function(s,d,h){Dt.call(s,h)?s[h].push(d):xo(s,h,[d])});function PS(s,d,h,y){s=Dr(s)?s:Ls(s),h=h&&!y?it(h):0;var k=s.length;return h<0&&(h=Dn(k+h,0)),Iu(s)?h<=k&&s.indexOf(d,h)>-1:!!k&&Es(s,d,h)>-1}var IS=dt(function(s,d,h){var y=-1,k=typeof d=="function",N=Dr(s)?X(s.length):[];return Yo(s,function(I){N[++y]=k?qr(d,I,h):pd(I,d,h)}),N}),MS=bu(function(s,d,h){xo(s,h,d)});function Ou(s,d){var h=nt(s)?sn:zg;return h(s,qe(d,3))}function DS(s,d,h,y){return s==null?[]:(nt(d)||(d=d==null?[]:[d]),h=y?n:h,nt(h)||(h=h==null?[]:[h]),Bg(s,d,h))}var FS=bu(function(s,d,h){s[h?0:1].push(d)},function(){return[[],[]]});function RS(s,d,h){var y=nt(s)?_f:hg,k=arguments.length<3;return y(s,qe(d,4),h,k,Yo)}function LS(s,d,h){var y=nt(s)?Kx:hg,k=arguments.length<3;return y(s,qe(d,4),h,k,Pg)}function zS(s,d){var h=nt(s)?Ho:Ig;return h(s,Nu(qe(d,3)))}function jS(s){var d=nt(s)?Og:PC;return d(s)}function US(s,d,h){(h?$r(s,d,h):d===n)?d=1:d=it(d);var y=nt(s)?dC:IC;return y(s,d)}function VS(s){var d=nt(s)?cC:DC;return d(s)}function BS(s){if(s==null)return 0;if(Dr(s))return Iu(s)?Os(s):s.length;var d=cr(s);return d==se||d==an?s.size:Uf(s).length}function HS(s,d,h){var y=nt(s)?xf:FC;return h&&$r(s,d,h)&&(d=n),y(s,qe(d,3))}var qS=dt(function(s,d){if(s==null)return[];var h=d.length;return h>1&&$r(s,d[0],d[1])?d=[]:h>2&&$r(d[0],d[1],d[2])&&(d=[d[0]]),Bg(s,Jn(d,1),[])}),Tu=Ck||function(){return Xn.Date.now()};function WS(s,d){if(typeof d!="function")throw new ci(a);return s=it(s),function(){if(--s<1)return d.apply(this,arguments)}}function Rv(s,d,h){return d=h?n:d,d=s&&d==null?s.length:d,ko(s,L,n,n,n,n,d)}function Lv(s,d){var h;if(typeof d!="function")throw new ci(a);return s=it(s),function(){return--s>0&&(h=d.apply(this,arguments)),s<=1&&(d=n),h}}var uh=dt(function(s,d,h){var y=x;if(h.length){var k=Wo(h,Fs(uh));y|=M}return ko(s,y,d,h,k)}),zv=dt(function(s,d,h){var y=x|A;if(h.length){var k=Wo(h,Fs(zv));y|=M}return ko(d,y,s,h,k)});function jv(s,d,h){d=h?n:d;var y=ko(s,O,n,n,n,n,n,d);return y.placeholder=jv.placeholder,y}function Uv(s,d,h){d=h?n:d;var y=ko(s,E,n,n,n,n,n,d);return y.placeholder=Uv.placeholder,y}function Vv(s,d,h){var y,k,N,I,j,B,fe=0,he=!1,be=!1,Ee=!0;if(typeof s!="function")throw new ci(a);d=mi(d)||0,cn(h)&&(he=!!h.leading,be="maxWait"in h,N=be?Dn(mi(h.maxWait)||0,d):N,Ee="trailing"in h?!!h.trailing:Ee);function je(_n){var Ai=y,To=k;return y=k=n,fe=_n,I=s.apply(To,Ai),I}function We(_n){return fe=_n,j=bd(ht,d),he?je(_n):I}function st(_n){var Ai=_n-B,To=_n-fe,s6=d-Ai;return be?dr(s6,N-To):s6}function Ge(_n){var Ai=_n-B,To=_n-fe;return B===n||Ai>=d||Ai<0||be&&To>=N}function ht(){var _n=Tu();if(Ge(_n))return $t(_n);j=bd(ht,st(_n))}function $t(_n){return j=n,Ee&&y?je(_n):(y=k=n,I)}function Qr(){j!==n&&Xg(j),fe=0,y=B=k=j=n}function wr(){return j===n?I:$t(Tu())}function Kr(){var _n=Tu(),Ai=Ge(_n);if(y=arguments,k=this,B=_n,Ai){if(j===n)return We(B);if(be)return Xg(j),j=bd(ht,d),je(B)}return j===n&&(j=bd(ht,d)),I}return Kr.cancel=Qr,Kr.flush=wr,Kr}var GS=dt(function(s,d){return Ng(s,1,d)}),YS=dt(function(s,d,h){return Ng(s,mi(d)||0,h)});function QS(s){return ko(s,Z)}function Au(s,d){if(typeof s!="function"||d!=null&&typeof d!="function")throw new ci(a);var h=function(){var y=arguments,k=d?d.apply(this,y):y[0],N=h.cache;if(N.has(k))return N.get(k);var I=s.apply(this,y);return h.cache=N.set(k,I)||N,I};return h.cache=new(Au.Cache||_o),h}Au.Cache=_o;function Nu(s){if(typeof s!="function")throw new ci(a);return function(){var d=arguments;switch(d.length){case 0:return!s.call(this);case 1:return!s.call(this,d[0]);case 2:return!s.call(this,d[0],d[1]);case 3:return!s.call(this,d[0],d[1],d[2])}return!s.apply(this,d)}}function KS(s){return Lv(2,s)}var ZS=RC(function(s,d){d=d.length==1&&nt(d[0])?sn(d[0],Wr(qe())):sn(Jn(d,1),Wr(qe()));var h=d.length;return dt(function(y){for(var k=-1,N=dr(y.length,h);++k<N;)y[k]=d[k].call(this,y[k]);return qr(s,this,y)})}),fh=dt(function(s,d){var h=Wo(d,Fs(fh));return ko(s,M,n,d,h)}),Bv=dt(function(s,d){var h=Wo(d,Fs(Bv));return ko(s,P,n,d,h)}),XS=Co(function(s,d){return ko(s,U,n,n,n,d)});function JS(s,d){if(typeof s!="function")throw new ci(a);return d=d===n?d:it(d),dt(s,d)}function eO(s,d){if(typeof s!="function")throw new ci(a);return d=d==null?0:Dn(it(d),0),dt(function(h){var y=h[d],k=Zo(h,0,d);return y&&qo(k,y),qr(s,this,k)})}function tO(s,d,h){var y=!0,k=!0;if(typeof s!="function")throw new ci(a);return cn(h)&&(y="leading"in h?!!h.leading:y,k="trailing"in h?!!h.trailing:k),Vv(s,d,{leading:y,maxWait:d,trailing:k})}function nO(s){return Rv(s,1)}function rO(s,d){return fh(Kf(d),s)}function iO(){if(!arguments.length)return[];var s=arguments[0];return nt(s)?s:[s]}function oO(s){return fi(s,g)}function aO(s,d){return d=typeof d=="function"?d:n,fi(s,g,d)}function sO(s){return fi(s,p|g)}function lO(s,d){return d=typeof d=="function"?d:n,fi(s,p|g,d)}function dO(s,d){return d==null||Ag(s,d,Hn(d))}function Ti(s,d){return s===d||s!==s&&d!==d}var cO=xu(Lf),uO=xu(function(s,d){return s>=d}),Fa=Fg(function(){return arguments}())?Fg:function(s){return pn(s)&&Dt.call(s,"callee")&&!_g.call(s,"callee")},nt=X.isArray,fO=rg?Wr(rg):$C;function Dr(s){return s!=null&&Pu(s.length)&&!So(s)}function wn(s){return pn(s)&&Dr(s)}function hO(s){return s===!0||s===!1||pn(s)&&br(s)==Ue}var Xo=Sk||xh,pO=ig?Wr(ig):wC;function mO(s){return pn(s)&&s.nodeType===1&&!$d(s)}function gO(s){if(s==null)return!0;if(Dr(s)&&(nt(s)||typeof s=="string"||typeof s.splice=="function"||Xo(s)||Rs(s)||Fa(s)))return!s.length;var d=cr(s);if(d==se||d==an)return!s.size;if(yd(s))return!Uf(s).length;for(var h in s)if(Dt.call(s,h))return!1;return!0}function vO(s,d){return md(s,d)}function yO(s,d,h){h=typeof h=="function"?h:n;var y=h?h(s,d):n;return y===n?md(s,d,n,h):!!y}function hh(s){if(!pn(s))return!1;var d=br(s);return d==_t||d==ct||typeof s.message=="string"&&typeof s.name=="string"&&!$d(s)}function bO(s){return typeof s=="number"&&kg(s)}function So(s){if(!cn(s))return!1;var d=br(s);return d==It||d==Te||d==at||d==Yt}function Hv(s){return typeof s=="number"&&s==it(s)}function Pu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=J}function cn(s){var d=typeof s;return s!=null&&(d=="object"||d=="function")}function pn(s){return s!=null&&typeof s=="object"}var qv=og?Wr(og):xC;function $O(s,d){return s===d||jf(s,d,rh(d))}function wO(s,d,h){return h=typeof h=="function"?h:n,jf(s,d,rh(d),h)}function _O(s){return Wv(s)&&s!=+s}function xO(s){if(aE(s))throw new Xe(o);return Rg(s)}function kO(s){return s===null}function CO(s){return s==null}function Wv(s){return typeof s=="number"||pn(s)&&br(s)==Fe}function $d(s){if(!pn(s)||br(s)!=mt)return!1;var d=ou(s);if(d===null)return!0;var h=Dt.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&tu.call(h)==wk}var ph=ag?Wr(ag):kC;function EO(s){return Hv(s)&&s>=-J&&s<=J}var Gv=sg?Wr(sg):CC;function Iu(s){return typeof s=="string"||!nt(s)&&pn(s)&&br(s)==Un}function Yr(s){return typeof s=="symbol"||pn(s)&&br(s)==ii}var Rs=lg?Wr(lg):EC;function SO(s){return s===n}function OO(s){return pn(s)&&cr(s)==vo}function TO(s){return pn(s)&&br(s)==Ut}var AO=xu(Vf),NO=xu(function(s,d){return s<=d});function Yv(s){if(!s)return[];if(Dr(s))return Iu(s)?Si(s):Mr(s);if(sd&&s[sd])return dk(s[sd]());var d=cr(s),h=d==se?Tf:d==an?Xc:Ls;return h(s)}function Oo(s){if(!s)return s===0?s:0;if(s=mi(s),s===pe||s===-pe){var d=s<0?-1:1;return d*we}return s===s?s:0}function it(s){var d=Oo(s),h=d%1;return d===d?h?d-h:d:0}function Qv(s){return s?Pa(it(s),0,ae):0}function mi(s){if(typeof s=="number")return s;if(Yr(s))return ee;if(cn(s)){var d=typeof s.valueOf=="function"?s.valueOf():s;s=cn(d)?d+"":d}if(typeof s!="string")return s===0?s:+s;s=pg(s);var h=nd.test(s);return h||Hc.test(s)?Wx(s.slice(2),h?2:8):Vc.test(s)?ee:+s}function Kv(s){return Qi(s,Fr(s))}function PO(s){return s?Pa(it(s),-J,J):s===0?s:0}function Nt(s){return s==null?"":Gr(s)}var IO=Ms(function(s,d){if(yd(d)||Dr(d)){Qi(d,Hn(d),s);return}for(var h in d)Dt.call(d,h)&&fd(s,h,d[h])}),Zv=Ms(function(s,d){Qi(d,Fr(d),s)}),Mu=Ms(function(s,d,h,y){Qi(d,Fr(d),s,y)}),MO=Ms(function(s,d,h,y){Qi(d,Hn(d),s,y)}),DO=Co(Df);function FO(s,d){var h=Is(s);return d==null?h:Tg(h,d)}var RO=dt(function(s,d){s=Wt(s);var h=-1,y=d.length,k=y>2?d[2]:n;for(k&&$r(d[0],d[1],k)&&(y=1);++h<y;)for(var N=d[h],I=Fr(N),j=-1,B=I.length;++j<B;){var fe=I[j],he=s[fe];(he===n||Ti(he,As[fe])&&!Dt.call(s,fe))&&(s[fe]=N[fe])}return s}),LO=dt(function(s){return s.push(n,pv),qr(Xv,n,s)});function zO(s,d){return cg(s,qe(d,3),Yi)}function jO(s,d){return cg(s,qe(d,3),Rf)}function UO(s,d){return s==null?s:Ff(s,qe(d,3),Fr)}function VO(s,d){return s==null?s:Mg(s,qe(d,3),Fr)}function BO(s,d){return s&&Yi(s,qe(d,3))}function HO(s,d){return s&&Rf(s,qe(d,3))}function qO(s){return s==null?[]:mu(s,Hn(s))}function WO(s){return s==null?[]:mu(s,Fr(s))}function mh(s,d,h){var y=s==null?n:Ia(s,d);return y===n?h:y}function GO(s,d){return s!=null&&vv(s,d,gC)}function gh(s,d){return s!=null&&vv(s,d,vC)}var YO=dv(function(s,d,h){d!=null&&typeof d.toString!="function"&&(d=nu.call(d)),s[d]=h},yh(Rr)),QO=dv(function(s,d,h){d!=null&&typeof d.toString!="function"&&(d=nu.call(d)),Dt.call(s,d)?s[d].push(h):s[d]=[h]},qe),KO=dt(pd);function Hn(s){return Dr(s)?Sg(s):Uf(s)}function Fr(s){return Dr(s)?Sg(s,!0):SC(s)}function ZO(s,d){var h={};return d=qe(d,3),Yi(s,function(y,k,N){xo(h,d(y,k,N),y)}),h}function XO(s,d){var h={};return d=qe(d,3),Yi(s,function(y,k,N){xo(h,k,d(y,k,N))}),h}var JO=Ms(function(s,d,h){gu(s,d,h)}),Xv=Ms(function(s,d,h,y){gu(s,d,h,y)}),eT=Co(function(s,d){var h={};if(s==null)return h;var y=!1;d=sn(d,function(N){return N=Ko(N,s),y||(y=N.length>1),N}),Qi(s,th(s),h),y&&(h=fi(h,p|m|g,YC));for(var k=d.length;k--;)Gf(h,d[k]);return h});function tT(s,d){return Jv(s,Nu(qe(d)))}var nT=Co(function(s,d){return s==null?{}:TC(s,d)});function Jv(s,d){if(s==null)return{};var h=sn(th(s),function(y){return[y]});return d=qe(d),Hg(s,h,function(y,k){return d(y,k[0])})}function rT(s,d,h){d=Ko(d,s);var y=-1,k=d.length;for(k||(k=1,s=n);++y<k;){var N=s==null?n:s[Ki(d[y])];N===n&&(y=k,N=h),s=So(N)?N.call(s):N}return s}function iT(s,d,h){return s==null?s:gd(s,d,h)}function oT(s,d,h,y){return y=typeof y=="function"?y:n,s==null?s:gd(s,d,h,y)}var e6=fv(Hn),t6=fv(Fr);function aT(s,d,h){var y=nt(s),k=y||Xo(s)||Rs(s);if(d=qe(d,4),h==null){var N=s&&s.constructor;k?h=y?new N:[]:cn(s)?h=So(N)?Is(ou(s)):{}:h={}}return(k?di:Yi)(s,function(I,j,B){return d(h,I,j,B)}),h}function sT(s,d){return s==null?!0:Gf(s,d)}function lT(s,d,h){return s==null?s:Qg(s,d,Kf(h))}function dT(s,d,h,y){return y=typeof y=="function"?y:n,s==null?s:Qg(s,d,Kf(h),y)}function Ls(s){return s==null?[]:Of(s,Hn(s))}function cT(s){return s==null?[]:Of(s,Fr(s))}function uT(s,d,h){return h===n&&(h=d,d=n),h!==n&&(h=mi(h),h=h===h?h:0),d!==n&&(d=mi(d),d=d===d?d:0),Pa(mi(s),d,h)}function fT(s,d,h){return d=Oo(d),h===n?(h=d,d=0):h=Oo(h),s=mi(s),yC(s,d,h)}function hT(s,d,h){if(h&&typeof h!="boolean"&&$r(s,d,h)&&(d=h=n),h===n&&(typeof d=="boolean"?(h=d,d=n):typeof s=="boolean"&&(h=s,s=n)),s===n&&d===n?(s=0,d=1):(s=Oo(s),d===n?(d=s,s=0):d=Oo(d)),s>d){var y=s;s=d,d=y}if(h||s%1||d%1){var k=Cg();return dr(s+k*(d-s+qx("1e-"+((k+"").length-1))),d)}return Hf(s,d)}var pT=Ds(function(s,d,h){return d=d.toLowerCase(),s+(h?n6(d):d)});function n6(s){return vh(Nt(s).toLowerCase())}function r6(s){return s=Nt(s),s&&s.replace(qc,ik).replace(Dx,"")}function mT(s,d,h){s=Nt(s),d=Gr(d);var y=s.length;h=h===n?y:Pa(it(h),0,y);var k=h;return h-=d.length,h>=0&&s.slice(h,k)==d}function gT(s){return s=Nt(s),s&&_s.test(s)?s.replace(Jl,ok):s}function vT(s){return s=Nt(s),s&&Dc.test(s)?s.replace(yo,"\\$&"):s}var yT=Ds(function(s,d,h){return s+(h?"-":"")+d.toLowerCase()}),bT=Ds(function(s,d,h){return s+(h?" ":"")+d.toLowerCase()}),$T=av("toLowerCase");function wT(s,d,h){s=Nt(s),d=it(d);var y=d?Os(s):0;if(!d||y>=d)return s;var k=(d-y)/2;return _u(du(k),h)+s+_u(lu(k),h)}function _T(s,d,h){s=Nt(s),d=it(d);var y=d?Os(s):0;return d&&y<d?s+_u(d-y,h):s}function xT(s,d,h){s=Nt(s),d=it(d);var y=d?Os(s):0;return d&&y<d?_u(d-y,h)+s:s}function kT(s,d,h){return h||d==null?d=0:d&&(d=+d),Nk(Nt(s).replace(Uo,""),d||0)}function CT(s,d,h){return(h?$r(s,d,h):d===n)?d=1:d=it(d),qf(Nt(s),d)}function ET(){var s=arguments,d=Nt(s[0]);return s.length<3?d:d.replace(s[1],s[2])}var ST=Ds(function(s,d,h){return s+(h?"_":"")+d.toLowerCase()});function OT(s,d,h){return h&&typeof h!="number"&&$r(s,d,h)&&(d=h=n),h=h===n?ae:h>>>0,h?(s=Nt(s),s&&(typeof d=="string"||d!=null&&!ph(d))&&(d=Gr(d),!d&&Ss(s))?Zo(Si(s),0,h):s.split(d,h)):[]}var TT=Ds(function(s,d,h){return s+(h?" ":"")+vh(d)});function AT(s,d,h){return s=Nt(s),h=h==null?0:Pa(it(h),0,s.length),d=Gr(d),s.slice(h,h+d.length)==d}function NT(s,d,h){var y=T.templateSettings;h&&$r(s,d,h)&&(d=n),s=Nt(s),d=Mu({},d,y,hv);var k=Mu({},d.imports,y.imports,hv),N=Hn(k),I=Of(k,N),j,B,fe=0,he=d.interpolate||Ea,be="__p += '",Ee=Af((d.escape||Ea).source+"|"+he.source+"|"+(he===lr?jc:Ea).source+"|"+(d.evaluate||Ea).source+"|$","g"),je="//# sourceURL="+(Dt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++jx+"]")+`
|
|
3499
|
+
`)}function rE(s){return nt(s)||Fa(s)||!!(xg&&s&&s[xg])}function Eo(s,d){var h=typeof s;return d=d??ee,!!d&&(h=="number"||h!="symbol"&&pf.test(s))&&s>-1&&s%1==0&&s<d}function $r(s,d,h){if(!cn(h))return!1;var y=typeof d;return(y=="number"?Dr(h)&&Eo(d,h.length):y=="string"&&d in h)?Ti(h[d],s):!1}function oh(s,d){if(nt(s))return!1;var h=typeof s;return h=="number"||h=="symbol"||h=="boolean"||s==null||Yr(s)?!0:xs.test(s)||!Mc.test(s)||d!=null&&s in Wt(d)}function iE(s){var d=typeof s;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?s!=="__proto__":s===null}function ah(s){var d=ku(s),h=T[d];if(typeof h!="function"||!(d in vt.prototype))return!1;if(s===h)return!0;var y=nh(h);return!!y&&s===y[0]}function oE(s){return!!bg&&bg in s}var aE=eu?So:xh;function yd(s){var d=s&&s.constructor,h=typeof d=="function"&&d.prototype||As;return s===h}function bv(s){return s===s&&!cn(s)}function $v(s,d){return function(h){return h==null?!1:h[s]===d&&(d!==n||s in Wt(h))}}function sE(s){var d=Au(s,function(y){return h.size===u&&h.clear(),y}),h=d.cache;return d}function lE(s,d){var h=s[1],y=d[1],k=h|y,N=k<(x|A|L),I=y==L&&h==O||y==L&&h==U&&s[7].length<=d[8]||y==(L|U)&&d[7].length<=d[8]&&h==O;if(!(N||I))return s;y&x&&(s[2]=d[2],k|=h&x?0:S);var j=d[3];if(j){var B=s[3];s[3]=B?nv(B,j,d[4]):j,s[4]=B?Wo(s[3],f):d[4]}return j=d[5],j&&(B=s[5],s[5]=B?rv(B,j,d[6]):j,s[6]=B?Wo(s[5],f):d[6]),j=d[7],j&&(s[7]=j),y&L&&(s[8]=s[8]==null?d[8]:dr(s[8],d[8])),s[9]==null&&(s[9]=d[9]),s[0]=d[0],s[1]=k,s}function dE(s){var d=[];if(s!=null)for(var h in Wt(s))d.push(h);return d}function cE(s){return nu.call(s)}function wv(s,d,h){return d=Dn(d===n?s.length-1:d,0),function(){for(var y=arguments,k=-1,N=Dn(y.length-d,0),I=J(N);++k<N;)I[k]=y[d+k];k=-1;for(var j=J(d+1);++k<d;)j[k]=y[k];return j[d]=h(I),qr(s,this,j)}}function _v(s,d){return d.length<2?s:Ia(s,hi(d,0,-1))}function uE(s,d){for(var h=s.length,y=dr(d.length,h),k=Mr(s);y--;){var N=d[y];s[y]=Eo(N,h)?k[N]:n}return s}function sh(s,d){if(!(d==="constructor"&&typeof s[d]=="function")&&d!="__proto__")return s[d]}var xv=Cv(Wg),bd=Ek||function(s,d){return Xn.setTimeout(s,d)},lh=Cv(MC);function kv(s,d,h){var y=d+"";return lh(s,nE(y,fE(JC(y),h)))}function Cv(s){var d=0,h=0;return function(){var y=Ak(),k=re-(y-h);if(h=y,k>0){if(++d>=G)return arguments[0]}else d=0;return s.apply(n,arguments)}}function Eu(s,d){var h=-1,y=s.length,k=y-1;for(d=d===n?y:d;++h<d;){var N=Hf(h,k),I=s[N];s[N]=s[h],s[h]=I}return s.length=d,s}var Ev=sE(function(s){var d=[];return s.charCodeAt(0)===46&&d.push(""),s.replace(Wi,function(h,y,k,N){d.push(k?N.replace(hf,"$1"):y||h)}),d});function Ki(s){if(typeof s=="string"||Yr(s))return s;var d=s+"";return d=="0"&&1/s==-pe?"-0":d}function Da(s){if(s!=null){try{return tu.call(s)}catch{}try{return s+""}catch{}}return""}function fE(s,d){return di(Be,function(h){var y="_."+h[0];d&h[1]&&!Kc(s,y)&&s.push(y)}),s.sort()}function Sv(s){if(s instanceof vt)return s.clone();var d=new ui(s.__wrapped__,s.__chain__);return d.__actions__=Mr(s.__actions__),d.__index__=s.__index__,d.__values__=s.__values__,d}function hE(s,d,h){(h?$r(s,d,h):d===n)?d=1:d=Dn(it(d),0);var y=s==null?0:s.length;if(!y||d<1)return[];for(var k=0,N=0,I=J(lu(y/d));k<y;)I[N++]=hi(s,k,k+=d);return I}function pE(s){for(var d=-1,h=s==null?0:s.length,y=0,k=[];++d<h;){var N=s[d];N&&(k[y++]=N)}return k}function mE(){var s=arguments.length;if(!s)return[];for(var d=J(s-1),h=arguments[0],y=s;y--;)d[y-1]=arguments[y];return qo(nt(h)?Mr(h):[h],Jn(d,1))}var gE=dt(function(s,d){return wn(s)?hd(s,Jn(d,1,wn,!0)):[]}),vE=dt(function(s,d){var h=pi(d);return wn(h)&&(h=n),wn(s)?hd(s,Jn(d,1,wn,!0),qe(h,2)):[]}),yE=dt(function(s,d){var h=pi(d);return wn(h)&&(h=n),wn(s)?hd(s,Jn(d,1,wn,!0),n,h):[]});function bE(s,d,h){var y=s==null?0:s.length;return y?(d=h||d===n?1:it(d),hi(s,d<0?0:d,y)):[]}function $E(s,d,h){var y=s==null?0:s.length;return y?(d=h||d===n?1:it(d),d=y-d,hi(s,0,d<0?0:d)):[]}function wE(s,d){return s&&s.length?yu(s,qe(d,3),!0,!0):[]}function _E(s,d){return s&&s.length?yu(s,qe(d,3),!0):[]}function xE(s,d,h,y){var k=s==null?0:s.length;return k?(h&&typeof h!="number"&&$r(s,d,h)&&(h=0,y=k),mC(s,d,h,y)):[]}function Ov(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=h==null?0:it(h);return k<0&&(k=Dn(y+k,0)),Zc(s,qe(d,3),k)}function Tv(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=y-1;return h!==n&&(k=it(h),k=h<0?Dn(y+k,0):dr(k,y-1)),Zc(s,qe(d,3),k,!0)}function Av(s){var d=s==null?0:s.length;return d?Jn(s,1):[]}function kE(s){var d=s==null?0:s.length;return d?Jn(s,pe):[]}function CE(s,d){var h=s==null?0:s.length;return h?(d=d===n?1:it(d),Jn(s,d)):[]}function EE(s){for(var d=-1,h=s==null?0:s.length,y={};++d<h;){var k=s[d];y[k[0]]=k[1]}return y}function Nv(s){return s&&s.length?s[0]:n}function SE(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=h==null?0:it(h);return k<0&&(k=Dn(y+k,0)),Es(s,d,k)}function OE(s){var d=s==null?0:s.length;return d?hi(s,0,-1):[]}var TE=dt(function(s){var d=sn(s,Qf);return d.length&&d[0]===s[0]?zf(d):[]}),AE=dt(function(s){var d=pi(s),h=sn(s,Qf);return d===pi(h)?d=n:h.pop(),h.length&&h[0]===s[0]?zf(h,qe(d,2)):[]}),NE=dt(function(s){var d=pi(s),h=sn(s,Qf);return d=typeof d=="function"?d:n,d&&h.pop(),h.length&&h[0]===s[0]?zf(h,n,d):[]});function PE(s,d){return s==null?"":Ok.call(s,d)}function pi(s){var d=s==null?0:s.length;return d?s[d-1]:n}function IE(s,d,h){var y=s==null?0:s.length;if(!y)return-1;var k=y;return h!==n&&(k=it(h),k=k<0?Dn(y+k,0):dr(k,y-1)),d===d?fk(s,d,k):Zc(s,ug,k,!0)}function ME(s,d){return s&&s.length?Vg(s,it(d)):n}var DE=dt(Pv);function Pv(s,d){return s&&s.length&&d&&d.length?Bf(s,d):s}function FE(s,d,h){return s&&s.length&&d&&d.length?Bf(s,d,qe(h,2)):s}function RE(s,d,h){return s&&s.length&&d&&d.length?Bf(s,d,n,h):s}var LE=Co(function(s,d){var h=s==null?0:s.length,y=Df(s,d);return qg(s,sn(d,function(k){return Eo(k,h)?+k:k}).sort(tv)),y});function zE(s,d){var h=[];if(!(s&&s.length))return h;var y=-1,k=[],N=s.length;for(d=qe(d,3);++y<N;){var I=s[y];d(I,y,s)&&(h.push(I),k.push(y))}return qg(s,k),h}function dh(s){return s==null?s:Pk.call(s)}function jE(s,d,h){var y=s==null?0:s.length;return y?(h&&typeof h!="number"&&$r(s,d,h)?(d=0,h=y):(d=d==null?0:it(d),h=h===n?y:it(h)),hi(s,d,h)):[]}function UE(s,d){return vu(s,d)}function VE(s,d,h){return Wf(s,d,qe(h,2))}function BE(s,d){var h=s==null?0:s.length;if(h){var y=vu(s,d);if(y<h&&Ti(s[y],d))return y}return-1}function HE(s,d){return vu(s,d,!0)}function qE(s,d,h){return Wf(s,d,qe(h,2),!0)}function WE(s,d){var h=s==null?0:s.length;if(h){var y=vu(s,d,!0)-1;if(Ti(s[y],d))return y}return-1}function GE(s){return s&&s.length?Gg(s):[]}function YE(s,d){return s&&s.length?Gg(s,qe(d,2)):[]}function QE(s){var d=s==null?0:s.length;return d?hi(s,1,d):[]}function KE(s,d,h){return s&&s.length?(d=h||d===n?1:it(d),hi(s,0,d<0?0:d)):[]}function ZE(s,d,h){var y=s==null?0:s.length;return y?(d=h||d===n?1:it(d),d=y-d,hi(s,d<0?0:d,y)):[]}function XE(s,d){return s&&s.length?yu(s,qe(d,3),!1,!0):[]}function JE(s,d){return s&&s.length?yu(s,qe(d,3)):[]}var eS=dt(function(s){return Qo(Jn(s,1,wn,!0))}),tS=dt(function(s){var d=pi(s);return wn(d)&&(d=n),Qo(Jn(s,1,wn,!0),qe(d,2))}),nS=dt(function(s){var d=pi(s);return d=typeof d=="function"?d:n,Qo(Jn(s,1,wn,!0),n,d)});function rS(s){return s&&s.length?Qo(s):[]}function iS(s,d){return s&&s.length?Qo(s,qe(d,2)):[]}function oS(s,d){return d=typeof d=="function"?d:n,s&&s.length?Qo(s,n,d):[]}function ch(s){if(!(s&&s.length))return[];var d=0;return s=Ho(s,function(h){if(wn(h))return d=Dn(h.length,d),!0}),Sf(d,function(h){return sn(s,kf(h))})}function Iv(s,d){if(!(s&&s.length))return[];var h=ch(s);return d==null?h:sn(h,function(y){return qr(d,n,y)})}var aS=dt(function(s,d){return wn(s)?hd(s,d):[]}),sS=dt(function(s){return Yf(Ho(s,wn))}),lS=dt(function(s){var d=pi(s);return wn(d)&&(d=n),Yf(Ho(s,wn),qe(d,2))}),dS=dt(function(s){var d=pi(s);return d=typeof d=="function"?d:n,Yf(Ho(s,wn),n,d)}),cS=dt(ch);function uS(s,d){return Zg(s||[],d||[],fd)}function fS(s,d){return Zg(s||[],d||[],gd)}var hS=dt(function(s){var d=s.length,h=d>1?s[d-1]:n;return h=typeof h=="function"?(s.pop(),h):n,Iv(s,h)});function Mv(s){var d=T(s);return d.__chain__=!0,d}function pS(s,d){return d(s),s}function Su(s,d){return d(s)}var mS=Co(function(s){var d=s.length,h=d?s[0]:0,y=this.__wrapped__,k=function(N){return Df(N,s)};return d>1||this.__actions__.length||!(y instanceof vt)||!Eo(h)?this.thru(k):(y=y.slice(h,+h+(d?1:0)),y.__actions__.push({func:Su,args:[k],thisArg:n}),new ui(y,this.__chain__).thru(function(N){return d&&!N.length&&N.push(n),N}))});function gS(){return Mv(this)}function vS(){return new ui(this.value(),this.__chain__)}function yS(){this.__values__===n&&(this.__values__=Yv(this.value()));var s=this.__index__>=this.__values__.length,d=s?n:this.__values__[this.__index__++];return{done:s,value:d}}function bS(){return this}function $S(s){for(var d,h=this;h instanceof fu;){var y=Sv(h);y.__index__=0,y.__values__=n,d?k.__wrapped__=y:d=y;var k=y;h=h.__wrapped__}return k.__wrapped__=s,d}function wS(){var s=this.__wrapped__;if(s instanceof vt){var d=s;return this.__actions__.length&&(d=new vt(this)),d=d.reverse(),d.__actions__.push({func:Su,args:[dh],thisArg:n}),new ui(d,this.__chain__)}return this.thru(dh)}function _S(){return Kg(this.__wrapped__,this.__actions__)}var xS=bu(function(s,d,h){Dt.call(s,h)?++s[h]:xo(s,h,1)});function kS(s,d,h){var y=nt(s)?dg:pC;return h&&$r(s,d,h)&&(d=n),y(s,qe(d,3))}function CS(s,d){var h=nt(s)?Ho:Ig;return h(s,qe(d,3))}var ES=sv(Ov),SS=sv(Tv);function OS(s,d){return Jn(Ou(s,d),1)}function TS(s,d){return Jn(Ou(s,d),pe)}function AS(s,d,h){return h=h===n?1:it(h),Jn(Ou(s,d),h)}function Dv(s,d){var h=nt(s)?di:Yo;return h(s,qe(d,3))}function Fv(s,d){var h=nt(s)?Qx:Pg;return h(s,qe(d,3))}var NS=bu(function(s,d,h){Dt.call(s,h)?s[h].push(d):xo(s,h,[d])});function PS(s,d,h,y){s=Dr(s)?s:Ls(s),h=h&&!y?it(h):0;var k=s.length;return h<0&&(h=Dn(k+h,0)),Iu(s)?h<=k&&s.indexOf(d,h)>-1:!!k&&Es(s,d,h)>-1}var IS=dt(function(s,d,h){var y=-1,k=typeof d=="function",N=Dr(s)?J(s.length):[];return Yo(s,function(I){N[++y]=k?qr(d,I,h):pd(I,d,h)}),N}),MS=bu(function(s,d,h){xo(s,h,d)});function Ou(s,d){var h=nt(s)?sn:zg;return h(s,qe(d,3))}function DS(s,d,h,y){return s==null?[]:(nt(d)||(d=d==null?[]:[d]),h=y?n:h,nt(h)||(h=h==null?[]:[h]),Bg(s,d,h))}var FS=bu(function(s,d,h){s[h?0:1].push(d)},function(){return[[],[]]});function RS(s,d,h){var y=nt(s)?_f:hg,k=arguments.length<3;return y(s,qe(d,4),h,k,Yo)}function LS(s,d,h){var y=nt(s)?Kx:hg,k=arguments.length<3;return y(s,qe(d,4),h,k,Pg)}function zS(s,d){var h=nt(s)?Ho:Ig;return h(s,Nu(qe(d,3)))}function jS(s){var d=nt(s)?Og:PC;return d(s)}function US(s,d,h){(h?$r(s,d,h):d===n)?d=1:d=it(d);var y=nt(s)?dC:IC;return y(s,d)}function VS(s){var d=nt(s)?cC:DC;return d(s)}function BS(s){if(s==null)return 0;if(Dr(s))return Iu(s)?Os(s):s.length;var d=cr(s);return d==se||d==an?s.size:Uf(s).length}function HS(s,d,h){var y=nt(s)?xf:FC;return h&&$r(s,d,h)&&(d=n),y(s,qe(d,3))}var qS=dt(function(s,d){if(s==null)return[];var h=d.length;return h>1&&$r(s,d[0],d[1])?d=[]:h>2&&$r(d[0],d[1],d[2])&&(d=[d[0]]),Bg(s,Jn(d,1),[])}),Tu=Ck||function(){return Xn.Date.now()};function WS(s,d){if(typeof d!="function")throw new ci(a);return s=it(s),function(){if(--s<1)return d.apply(this,arguments)}}function Rv(s,d,h){return d=h?n:d,d=s&&d==null?s.length:d,ko(s,L,n,n,n,n,d)}function Lv(s,d){var h;if(typeof d!="function")throw new ci(a);return s=it(s),function(){return--s>0&&(h=d.apply(this,arguments)),s<=1&&(d=n),h}}var uh=dt(function(s,d,h){var y=x;if(h.length){var k=Wo(h,Fs(uh));y|=M}return ko(s,y,d,h,k)}),zv=dt(function(s,d,h){var y=x|A;if(h.length){var k=Wo(h,Fs(zv));y|=M}return ko(d,y,s,h,k)});function jv(s,d,h){d=h?n:d;var y=ko(s,O,n,n,n,n,n,d);return y.placeholder=jv.placeholder,y}function Uv(s,d,h){d=h?n:d;var y=ko(s,E,n,n,n,n,n,d);return y.placeholder=Uv.placeholder,y}function Vv(s,d,h){var y,k,N,I,j,B,fe=0,he=!1,be=!1,Ee=!0;if(typeof s!="function")throw new ci(a);d=mi(d)||0,cn(h)&&(he=!!h.leading,be="maxWait"in h,N=be?Dn(mi(h.maxWait)||0,d):N,Ee="trailing"in h?!!h.trailing:Ee);function je(_n){var Ai=y,To=k;return y=k=n,fe=_n,I=s.apply(To,Ai),I}function We(_n){return fe=_n,j=bd(ht,d),he?je(_n):I}function st(_n){var Ai=_n-B,To=_n-fe,s6=d-Ai;return be?dr(s6,N-To):s6}function Ge(_n){var Ai=_n-B,To=_n-fe;return B===n||Ai>=d||Ai<0||be&&To>=N}function ht(){var _n=Tu();if(Ge(_n))return $t(_n);j=bd(ht,st(_n))}function $t(_n){return j=n,Ee&&y?je(_n):(y=k=n,I)}function Qr(){j!==n&&Xg(j),fe=0,y=B=k=j=n}function wr(){return j===n?I:$t(Tu())}function Kr(){var _n=Tu(),Ai=Ge(_n);if(y=arguments,k=this,B=_n,Ai){if(j===n)return We(B);if(be)return Xg(j),j=bd(ht,d),je(B)}return j===n&&(j=bd(ht,d)),I}return Kr.cancel=Qr,Kr.flush=wr,Kr}var GS=dt(function(s,d){return Ng(s,1,d)}),YS=dt(function(s,d,h){return Ng(s,mi(d)||0,h)});function QS(s){return ko(s,Z)}function Au(s,d){if(typeof s!="function"||d!=null&&typeof d!="function")throw new ci(a);var h=function(){var y=arguments,k=d?d.apply(this,y):y[0],N=h.cache;if(N.has(k))return N.get(k);var I=s.apply(this,y);return h.cache=N.set(k,I)||N,I};return h.cache=new(Au.Cache||_o),h}Au.Cache=_o;function Nu(s){if(typeof s!="function")throw new ci(a);return function(){var d=arguments;switch(d.length){case 0:return!s.call(this);case 1:return!s.call(this,d[0]);case 2:return!s.call(this,d[0],d[1]);case 3:return!s.call(this,d[0],d[1],d[2])}return!s.apply(this,d)}}function KS(s){return Lv(2,s)}var ZS=RC(function(s,d){d=d.length==1&&nt(d[0])?sn(d[0],Wr(qe())):sn(Jn(d,1),Wr(qe()));var h=d.length;return dt(function(y){for(var k=-1,N=dr(y.length,h);++k<N;)y[k]=d[k].call(this,y[k]);return qr(s,this,y)})}),fh=dt(function(s,d){var h=Wo(d,Fs(fh));return ko(s,M,n,d,h)}),Bv=dt(function(s,d){var h=Wo(d,Fs(Bv));return ko(s,P,n,d,h)}),XS=Co(function(s,d){return ko(s,U,n,n,n,d)});function JS(s,d){if(typeof s!="function")throw new ci(a);return d=d===n?d:it(d),dt(s,d)}function eO(s,d){if(typeof s!="function")throw new ci(a);return d=d==null?0:Dn(it(d),0),dt(function(h){var y=h[d],k=Zo(h,0,d);return y&&qo(k,y),qr(s,this,k)})}function tO(s,d,h){var y=!0,k=!0;if(typeof s!="function")throw new ci(a);return cn(h)&&(y="leading"in h?!!h.leading:y,k="trailing"in h?!!h.trailing:k),Vv(s,d,{leading:y,maxWait:d,trailing:k})}function nO(s){return Rv(s,1)}function rO(s,d){return fh(Kf(d),s)}function iO(){if(!arguments.length)return[];var s=arguments[0];return nt(s)?s:[s]}function oO(s){return fi(s,g)}function aO(s,d){return d=typeof d=="function"?d:n,fi(s,g,d)}function sO(s){return fi(s,p|g)}function lO(s,d){return d=typeof d=="function"?d:n,fi(s,p|g,d)}function dO(s,d){return d==null||Ag(s,d,Hn(d))}function Ti(s,d){return s===d||s!==s&&d!==d}var cO=xu(Lf),uO=xu(function(s,d){return s>=d}),Fa=Fg(function(){return arguments}())?Fg:function(s){return pn(s)&&Dt.call(s,"callee")&&!_g.call(s,"callee")},nt=J.isArray,fO=rg?Wr(rg):$C;function Dr(s){return s!=null&&Pu(s.length)&&!So(s)}function wn(s){return pn(s)&&Dr(s)}function hO(s){return s===!0||s===!1||pn(s)&&br(s)==Ue}var Xo=Sk||xh,pO=ig?Wr(ig):wC;function mO(s){return pn(s)&&s.nodeType===1&&!$d(s)}function gO(s){if(s==null)return!0;if(Dr(s)&&(nt(s)||typeof s=="string"||typeof s.splice=="function"||Xo(s)||Rs(s)||Fa(s)))return!s.length;var d=cr(s);if(d==se||d==an)return!s.size;if(yd(s))return!Uf(s).length;for(var h in s)if(Dt.call(s,h))return!1;return!0}function vO(s,d){return md(s,d)}function yO(s,d,h){h=typeof h=="function"?h:n;var y=h?h(s,d):n;return y===n?md(s,d,n,h):!!y}function hh(s){if(!pn(s))return!1;var d=br(s);return d==_t||d==ct||typeof s.message=="string"&&typeof s.name=="string"&&!$d(s)}function bO(s){return typeof s=="number"&&kg(s)}function So(s){if(!cn(s))return!1;var d=br(s);return d==It||d==Te||d==at||d==Yt}function Hv(s){return typeof s=="number"&&s==it(s)}function Pu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ee}function cn(s){var d=typeof s;return s!=null&&(d=="object"||d=="function")}function pn(s){return s!=null&&typeof s=="object"}var qv=og?Wr(og):xC;function $O(s,d){return s===d||jf(s,d,rh(d))}function wO(s,d,h){return h=typeof h=="function"?h:n,jf(s,d,rh(d),h)}function _O(s){return Wv(s)&&s!=+s}function xO(s){if(aE(s))throw new Xe(o);return Rg(s)}function kO(s){return s===null}function CO(s){return s==null}function Wv(s){return typeof s=="number"||pn(s)&&br(s)==Fe}function $d(s){if(!pn(s)||br(s)!=mt)return!1;var d=ou(s);if(d===null)return!0;var h=Dt.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&tu.call(h)==wk}var ph=ag?Wr(ag):kC;function EO(s){return Hv(s)&&s>=-ee&&s<=ee}var Gv=sg?Wr(sg):CC;function Iu(s){return typeof s=="string"||!nt(s)&&pn(s)&&br(s)==Un}function Yr(s){return typeof s=="symbol"||pn(s)&&br(s)==ii}var Rs=lg?Wr(lg):EC;function SO(s){return s===n}function OO(s){return pn(s)&&cr(s)==vo}function TO(s){return pn(s)&&br(s)==Ut}var AO=xu(Vf),NO=xu(function(s,d){return s<=d});function Yv(s){if(!s)return[];if(Dr(s))return Iu(s)?Si(s):Mr(s);if(sd&&s[sd])return dk(s[sd]());var d=cr(s),h=d==se?Tf:d==an?Xc:Ls;return h(s)}function Oo(s){if(!s)return s===0?s:0;if(s=mi(s),s===pe||s===-pe){var d=s<0?-1:1;return d*we}return s===s?s:0}function it(s){var d=Oo(s),h=d%1;return d===d?h?d-h:d:0}function Qv(s){return s?Pa(it(s),0,ae):0}function mi(s){if(typeof s=="number")return s;if(Yr(s))return X;if(cn(s)){var d=typeof s.valueOf=="function"?s.valueOf():s;s=cn(d)?d+"":d}if(typeof s!="string")return s===0?s:+s;s=pg(s);var h=nd.test(s);return h||Hc.test(s)?Wx(s.slice(2),h?2:8):Vc.test(s)?X:+s}function Kv(s){return Qi(s,Fr(s))}function PO(s){return s?Pa(it(s),-ee,ee):s===0?s:0}function Nt(s){return s==null?"":Gr(s)}var IO=Ms(function(s,d){if(yd(d)||Dr(d)){Qi(d,Hn(d),s);return}for(var h in d)Dt.call(d,h)&&fd(s,h,d[h])}),Zv=Ms(function(s,d){Qi(d,Fr(d),s)}),Mu=Ms(function(s,d,h,y){Qi(d,Fr(d),s,y)}),MO=Ms(function(s,d,h,y){Qi(d,Hn(d),s,y)}),DO=Co(Df);function FO(s,d){var h=Is(s);return d==null?h:Tg(h,d)}var RO=dt(function(s,d){s=Wt(s);var h=-1,y=d.length,k=y>2?d[2]:n;for(k&&$r(d[0],d[1],k)&&(y=1);++h<y;)for(var N=d[h],I=Fr(N),j=-1,B=I.length;++j<B;){var fe=I[j],he=s[fe];(he===n||Ti(he,As[fe])&&!Dt.call(s,fe))&&(s[fe]=N[fe])}return s}),LO=dt(function(s){return s.push(n,pv),qr(Xv,n,s)});function zO(s,d){return cg(s,qe(d,3),Yi)}function jO(s,d){return cg(s,qe(d,3),Rf)}function UO(s,d){return s==null?s:Ff(s,qe(d,3),Fr)}function VO(s,d){return s==null?s:Mg(s,qe(d,3),Fr)}function BO(s,d){return s&&Yi(s,qe(d,3))}function HO(s,d){return s&&Rf(s,qe(d,3))}function qO(s){return s==null?[]:mu(s,Hn(s))}function WO(s){return s==null?[]:mu(s,Fr(s))}function mh(s,d,h){var y=s==null?n:Ia(s,d);return y===n?h:y}function GO(s,d){return s!=null&&vv(s,d,gC)}function gh(s,d){return s!=null&&vv(s,d,vC)}var YO=dv(function(s,d,h){d!=null&&typeof d.toString!="function"&&(d=nu.call(d)),s[d]=h},yh(Rr)),QO=dv(function(s,d,h){d!=null&&typeof d.toString!="function"&&(d=nu.call(d)),Dt.call(s,d)?s[d].push(h):s[d]=[h]},qe),KO=dt(pd);function Hn(s){return Dr(s)?Sg(s):Uf(s)}function Fr(s){return Dr(s)?Sg(s,!0):SC(s)}function ZO(s,d){var h={};return d=qe(d,3),Yi(s,function(y,k,N){xo(h,d(y,k,N),y)}),h}function XO(s,d){var h={};return d=qe(d,3),Yi(s,function(y,k,N){xo(h,k,d(y,k,N))}),h}var JO=Ms(function(s,d,h){gu(s,d,h)}),Xv=Ms(function(s,d,h,y){gu(s,d,h,y)}),eT=Co(function(s,d){var h={};if(s==null)return h;var y=!1;d=sn(d,function(N){return N=Ko(N,s),y||(y=N.length>1),N}),Qi(s,th(s),h),y&&(h=fi(h,p|m|g,YC));for(var k=d.length;k--;)Gf(h,d[k]);return h});function tT(s,d){return Jv(s,Nu(qe(d)))}var nT=Co(function(s,d){return s==null?{}:TC(s,d)});function Jv(s,d){if(s==null)return{};var h=sn(th(s),function(y){return[y]});return d=qe(d),Hg(s,h,function(y,k){return d(y,k[0])})}function rT(s,d,h){d=Ko(d,s);var y=-1,k=d.length;for(k||(k=1,s=n);++y<k;){var N=s==null?n:s[Ki(d[y])];N===n&&(y=k,N=h),s=So(N)?N.call(s):N}return s}function iT(s,d,h){return s==null?s:gd(s,d,h)}function oT(s,d,h,y){return y=typeof y=="function"?y:n,s==null?s:gd(s,d,h,y)}var e6=fv(Hn),t6=fv(Fr);function aT(s,d,h){var y=nt(s),k=y||Xo(s)||Rs(s);if(d=qe(d,4),h==null){var N=s&&s.constructor;k?h=y?new N:[]:cn(s)?h=So(N)?Is(ou(s)):{}:h={}}return(k?di:Yi)(s,function(I,j,B){return d(h,I,j,B)}),h}function sT(s,d){return s==null?!0:Gf(s,d)}function lT(s,d,h){return s==null?s:Qg(s,d,Kf(h))}function dT(s,d,h,y){return y=typeof y=="function"?y:n,s==null?s:Qg(s,d,Kf(h),y)}function Ls(s){return s==null?[]:Of(s,Hn(s))}function cT(s){return s==null?[]:Of(s,Fr(s))}function uT(s,d,h){return h===n&&(h=d,d=n),h!==n&&(h=mi(h),h=h===h?h:0),d!==n&&(d=mi(d),d=d===d?d:0),Pa(mi(s),d,h)}function fT(s,d,h){return d=Oo(d),h===n?(h=d,d=0):h=Oo(h),s=mi(s),yC(s,d,h)}function hT(s,d,h){if(h&&typeof h!="boolean"&&$r(s,d,h)&&(d=h=n),h===n&&(typeof d=="boolean"?(h=d,d=n):typeof s=="boolean"&&(h=s,s=n)),s===n&&d===n?(s=0,d=1):(s=Oo(s),d===n?(d=s,s=0):d=Oo(d)),s>d){var y=s;s=d,d=y}if(h||s%1||d%1){var k=Cg();return dr(s+k*(d-s+qx("1e-"+((k+"").length-1))),d)}return Hf(s,d)}var pT=Ds(function(s,d,h){return d=d.toLowerCase(),s+(h?n6(d):d)});function n6(s){return vh(Nt(s).toLowerCase())}function r6(s){return s=Nt(s),s&&s.replace(qc,ik).replace(Dx,"")}function mT(s,d,h){s=Nt(s),d=Gr(d);var y=s.length;h=h===n?y:Pa(it(h),0,y);var k=h;return h-=d.length,h>=0&&s.slice(h,k)==d}function gT(s){return s=Nt(s),s&&_s.test(s)?s.replace(Jl,ok):s}function vT(s){return s=Nt(s),s&&Dc.test(s)?s.replace(yo,"\\$&"):s}var yT=Ds(function(s,d,h){return s+(h?"-":"")+d.toLowerCase()}),bT=Ds(function(s,d,h){return s+(h?" ":"")+d.toLowerCase()}),$T=av("toLowerCase");function wT(s,d,h){s=Nt(s),d=it(d);var y=d?Os(s):0;if(!d||y>=d)return s;var k=(d-y)/2;return _u(du(k),h)+s+_u(lu(k),h)}function _T(s,d,h){s=Nt(s),d=it(d);var y=d?Os(s):0;return d&&y<d?s+_u(d-y,h):s}function xT(s,d,h){s=Nt(s),d=it(d);var y=d?Os(s):0;return d&&y<d?_u(d-y,h)+s:s}function kT(s,d,h){return h||d==null?d=0:d&&(d=+d),Nk(Nt(s).replace(Uo,""),d||0)}function CT(s,d,h){return(h?$r(s,d,h):d===n)?d=1:d=it(d),qf(Nt(s),d)}function ET(){var s=arguments,d=Nt(s[0]);return s.length<3?d:d.replace(s[1],s[2])}var ST=Ds(function(s,d,h){return s+(h?"_":"")+d.toLowerCase()});function OT(s,d,h){return h&&typeof h!="number"&&$r(s,d,h)&&(d=h=n),h=h===n?ae:h>>>0,h?(s=Nt(s),s&&(typeof d=="string"||d!=null&&!ph(d))&&(d=Gr(d),!d&&Ss(s))?Zo(Si(s),0,h):s.split(d,h)):[]}var TT=Ds(function(s,d,h){return s+(h?" ":"")+vh(d)});function AT(s,d,h){return s=Nt(s),h=h==null?0:Pa(it(h),0,s.length),d=Gr(d),s.slice(h,h+d.length)==d}function NT(s,d,h){var y=T.templateSettings;h&&$r(s,d,h)&&(d=n),s=Nt(s),d=Mu({},d,y,hv);var k=Mu({},d.imports,y.imports,hv),N=Hn(k),I=Of(k,N),j,B,fe=0,he=d.interpolate||Ea,be="__p += '",Ee=Af((d.escape||Ea).source+"|"+he.source+"|"+(he===lr?jc:Ea).source+"|"+(d.evaluate||Ea).source+"|$","g"),je="//# sourceURL="+(Dt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++jx+"]")+`
|
|
3500
3500
|
`;s.replace(Ee,function(Ge,ht,$t,Qr,wr,Kr){return $t||($t=Qr),be+=s.slice(fe,Kr).replace(ks,ak),ht&&(j=!0,be+=`' +
|
|
3501
3501
|
__e(`+ht+`) +
|
|
3502
3502
|
'`),wr&&(B=!0,be+=`';
|
|
@@ -3513,10 +3513,10 @@ __p += '`),$t&&(be+=`' +
|
|
|
3513
3513
|
function print() { __p += __j.call(arguments, '') }
|
|
3514
3514
|
`:`;
|
|
3515
3515
|
`)+be+`return __p
|
|
3516
|
-
}`;var st=o6(function(){return Et(N,je+"return "+be).apply(n,I)});if(st.source=be,hh(st))throw st;return st}function PT(s){return Nt(s).toLowerCase()}function IT(s){return Nt(s).toUpperCase()}function MT(s,d,h){if(s=Nt(s),s&&(h||d===n))return pg(s);if(!s||!(d=Gr(d)))return s;var y=Si(s),k=Si(d),N=mg(y,k),I=gg(y,k)+1;return Zo(y,N,I).join("")}function DT(s,d,h){if(s=Nt(s),s&&(h||d===n))return s.slice(0,yg(s)+1);if(!s||!(d=Gr(d)))return s;var y=Si(s),k=gg(y,Si(d))+1;return Zo(y,0,k).join("")}function FT(s,d,h){if(s=Nt(s),s&&(h||d===n))return s.replace(Uo,"");if(!s||!(d=Gr(d)))return s;var y=Si(s),k=mg(y,Si(d));return Zo(y,k).join("")}function RT(s,d){var h=ce,y=Q;if(cn(d)){var k="separator"in d?d.separator:k;h="length"in d?it(d.length):h,y="omission"in d?Gr(d.omission):y}s=Nt(s);var N=s.length;if(Ss(s)){var I=Si(s);N=I.length}if(h>=N)return s;var j=h-Os(y);if(j<1)return y;var B=I?Zo(I,0,j).join(""):s.slice(0,j);if(k===n)return B+y;if(I&&(j+=B.length-j),ph(k)){if(s.slice(j).search(k)){var fe,he=B;for(k.global||(k=Af(k.source,Nt(Uc.exec(k))+"g")),k.lastIndex=0;fe=k.exec(he);)var be=fe.index;B=B.slice(0,be===n?j:be)}}else if(s.indexOf(Gr(k),j)!=j){var Ee=B.lastIndexOf(k);Ee>-1&&(B=B.slice(0,Ee))}return B+y}function LT(s){return s=Nt(s),s&&Ic.test(s)?s.replace(Xl,hk):s}var zT=Ds(function(s,d,h){return s+(h?" ":"")+d.toUpperCase()}),vh=av("toUpperCase");function i6(s,d,h){return s=Nt(s),d=h?n:d,d===n?lk(s)?gk(s):Jx(s):s.match(d)||[]}var o6=dt(function(s,d){try{return qr(s,n,d)}catch(h){return hh(h)?h:new Xe(h)}}),jT=Co(function(s,d){return di(d,function(h){h=Ki(h),xo(s,h,uh(s[h],s))}),s});function UT(s){var d=s==null?0:s.length,h=qe();return s=d?sn(s,function(y){if(typeof y[1]!="function")throw new ci(a);return[h(y[0]),y[1]]}):[],dt(function(y){for(var k=-1;++k<d;){var N=s[k];if(qr(N[0],this,y))return qr(N[1],this,y)}})}function VT(s){return hC(fi(s,p))}function yh(s){return function(){return s}}function BT(s,d){return s==null||s!==s?d:s}var HT=lv(),qT=lv(!0);function Rr(s){return s}function bh(s){return Lg(typeof s=="function"?s:fi(s,p))}function WT(s){return jg(fi(s,p))}function GT(s,d){return Ug(s,fi(d,p))}var YT=dt(function(s,d){return function(h){return pd(h,s,d)}}),QT=dt(function(s,d){return function(h){return pd(s,h,d)}});function $h(s,d,h){var y=Hn(d),k=mu(d,y);h==null&&!(cn(d)&&(k.length||!y.length))&&(h=d,d=s,s=this,k=mu(d,Hn(d)));var N=!(cn(h)&&"chain"in h)||!!h.chain,I=So(s);return di(k,function(j){var B=d[j];s[j]=B,I&&(s.prototype[j]=function(){var fe=this.__chain__;if(N||fe){var he=s(this.__wrapped__),be=he.__actions__=Mr(this.__actions__);return be.push({func:B,args:arguments,thisArg:s}),he.__chain__=fe,he}return B.apply(s,qo([this.value()],arguments))})}),s}function KT(){return Xn._===this&&(Xn._=_k),this}function wh(){}function ZT(s){return s=it(s),dt(function(d){return Vg(d,s)})}var XT=Xf(sn),JT=Xf(dg),eA=Xf(xf);function a6(s){return oh(s)?kf(Ki(s)):AC(s)}function tA(s){return function(d){return s==null?n:Ia(s,d)}}var nA=cv(),rA=cv(!0);function _h(){return[]}function xh(){return!1}function iA(){return{}}function oA(){return""}function aA(){return!0}function sA(s,d){if(s=it(s),s<1||s>J)return[];var h=ae,y=dr(s,ae);d=qe(d),s-=ae;for(var k=Sf(y,d);++h<s;)d(h);return k}function lA(s){return nt(s)?sn(s,Ki):Yr(s)?[s]:Mr(Ev(Nt(s)))}function dA(s){var d=++$k;return Nt(s)+d}var cA=wu(function(s,d){return s+d},0),uA=Jf("ceil"),fA=wu(function(s,d){return s/d},1),hA=Jf("floor");function pA(s){return s&&s.length?pu(s,Rr,Lf):n}function mA(s,d){return s&&s.length?pu(s,qe(d,2),Lf):n}function gA(s){return fg(s,Rr)}function vA(s,d){return fg(s,qe(d,2))}function yA(s){return s&&s.length?pu(s,Rr,Vf):n}function bA(s,d){return s&&s.length?pu(s,qe(d,2),Vf):n}var $A=wu(function(s,d){return s*d},1),wA=Jf("round"),_A=wu(function(s,d){return s-d},0);function xA(s){return s&&s.length?Ef(s,Rr):0}function kA(s,d){return s&&s.length?Ef(s,qe(d,2)):0}return T.after=WS,T.ary=Rv,T.assign=IO,T.assignIn=Zv,T.assignInWith=Mu,T.assignWith=MO,T.at=DO,T.before=Lv,T.bind=uh,T.bindAll=jT,T.bindKey=zv,T.castArray=iO,T.chain=Mv,T.chunk=hE,T.compact=pE,T.concat=mE,T.cond=UT,T.conforms=VT,T.constant=yh,T.countBy=xS,T.create=FO,T.curry=jv,T.curryRight=Uv,T.debounce=Vv,T.defaults=RO,T.defaultsDeep=LO,T.defer=GS,T.delay=YS,T.difference=gE,T.differenceBy=vE,T.differenceWith=yE,T.drop=bE,T.dropRight=$E,T.dropRightWhile=wE,T.dropWhile=_E,T.fill=xE,T.filter=CS,T.flatMap=OS,T.flatMapDeep=TS,T.flatMapDepth=AS,T.flatten=Av,T.flattenDeep=kE,T.flattenDepth=CE,T.flip=QS,T.flow=HT,T.flowRight=qT,T.fromPairs=EE,T.functions=qO,T.functionsIn=WO,T.groupBy=NS,T.initial=OE,T.intersection=TE,T.intersectionBy=AE,T.intersectionWith=NE,T.invert=YO,T.invertBy=QO,T.invokeMap=IS,T.iteratee=bh,T.keyBy=MS,T.keys=Hn,T.keysIn=Fr,T.map=Ou,T.mapKeys=ZO,T.mapValues=XO,T.matches=WT,T.matchesProperty=GT,T.memoize=Au,T.merge=JO,T.mergeWith=Xv,T.method=YT,T.methodOf=QT,T.mixin=$h,T.negate=Nu,T.nthArg=ZT,T.omit=eT,T.omitBy=tT,T.once=KS,T.orderBy=DS,T.over=XT,T.overArgs=ZS,T.overEvery=JT,T.overSome=eA,T.partial=fh,T.partialRight=Bv,T.partition=FS,T.pick=nT,T.pickBy=Jv,T.property=a6,T.propertyOf=tA,T.pull=DE,T.pullAll=Pv,T.pullAllBy=FE,T.pullAllWith=RE,T.pullAt=LE,T.range=nA,T.rangeRight=rA,T.rearg=XS,T.reject=zS,T.remove=zE,T.rest=JS,T.reverse=dh,T.sampleSize=US,T.set=iT,T.setWith=oT,T.shuffle=VS,T.slice=jE,T.sortBy=qS,T.sortedUniq=GE,T.sortedUniqBy=YE,T.split=OT,T.spread=eO,T.tail=QE,T.take=KE,T.takeRight=ZE,T.takeRightWhile=XE,T.takeWhile=JE,T.tap=pS,T.throttle=tO,T.thru=Su,T.toArray=Yv,T.toPairs=e6,T.toPairsIn=t6,T.toPath=lA,T.toPlainObject=Kv,T.transform=aT,T.unary=nO,T.union=eS,T.unionBy=tS,T.unionWith=nS,T.uniq=rS,T.uniqBy=iS,T.uniqWith=oS,T.unset=sT,T.unzip=ch,T.unzipWith=Iv,T.update=lT,T.updateWith=dT,T.values=Ls,T.valuesIn=cT,T.without=aS,T.words=i6,T.wrap=rO,T.xor=sS,T.xorBy=lS,T.xorWith=dS,T.zip=cS,T.zipObject=uS,T.zipObjectDeep=fS,T.zipWith=hS,T.entries=e6,T.entriesIn=t6,T.extend=Zv,T.extendWith=Mu,$h(T,T),T.add=cA,T.attempt=o6,T.camelCase=pT,T.capitalize=n6,T.ceil=uA,T.clamp=uT,T.clone=oO,T.cloneDeep=sO,T.cloneDeepWith=lO,T.cloneWith=aO,T.conformsTo=dO,T.deburr=r6,T.defaultTo=BT,T.divide=fA,T.endsWith=mT,T.eq=Ti,T.escape=gT,T.escapeRegExp=vT,T.every=kS,T.find=ES,T.findIndex=Ov,T.findKey=zO,T.findLast=SS,T.findLastIndex=Tv,T.findLastKey=jO,T.floor=hA,T.forEach=Dv,T.forEachRight=Fv,T.forIn=UO,T.forInRight=VO,T.forOwn=BO,T.forOwnRight=HO,T.get=mh,T.gt=cO,T.gte=uO,T.has=GO,T.hasIn=gh,T.head=Nv,T.identity=Rr,T.includes=PS,T.indexOf=SE,T.inRange=fT,T.invoke=KO,T.isArguments=Fa,T.isArray=nt,T.isArrayBuffer=fO,T.isArrayLike=Dr,T.isArrayLikeObject=wn,T.isBoolean=hO,T.isBuffer=Xo,T.isDate=pO,T.isElement=mO,T.isEmpty=gO,T.isEqual=vO,T.isEqualWith=yO,T.isError=hh,T.isFinite=bO,T.isFunction=So,T.isInteger=Hv,T.isLength=Pu,T.isMap=qv,T.isMatch=$O,T.isMatchWith=wO,T.isNaN=_O,T.isNative=xO,T.isNil=CO,T.isNull=kO,T.isNumber=Wv,T.isObject=cn,T.isObjectLike=pn,T.isPlainObject=$d,T.isRegExp=ph,T.isSafeInteger=EO,T.isSet=Gv,T.isString=Iu,T.isSymbol=Yr,T.isTypedArray=Rs,T.isUndefined=SO,T.isWeakMap=OO,T.isWeakSet=TO,T.join=PE,T.kebabCase=yT,T.last=pi,T.lastIndexOf=IE,T.lowerCase=bT,T.lowerFirst=$T,T.lt=AO,T.lte=NO,T.max=pA,T.maxBy=mA,T.mean=gA,T.meanBy=vA,T.min=yA,T.minBy=bA,T.stubArray=_h,T.stubFalse=xh,T.stubObject=iA,T.stubString=oA,T.stubTrue=aA,T.multiply=$A,T.nth=ME,T.noConflict=KT,T.noop=wh,T.now=Tu,T.pad=wT,T.padEnd=_T,T.padStart=xT,T.parseInt=kT,T.random=hT,T.reduce=RS,T.reduceRight=LS,T.repeat=CT,T.replace=ET,T.result=rT,T.round=wA,T.runInContext=V,T.sample=jS,T.size=BS,T.snakeCase=ST,T.some=HS,T.sortedIndex=UE,T.sortedIndexBy=VE,T.sortedIndexOf=BE,T.sortedLastIndex=HE,T.sortedLastIndexBy=qE,T.sortedLastIndexOf=WE,T.startCase=TT,T.startsWith=AT,T.subtract=_A,T.sum=xA,T.sumBy=kA,T.template=NT,T.times=sA,T.toFinite=Oo,T.toInteger=it,T.toLength=Qv,T.toLower=PT,T.toNumber=mi,T.toSafeInteger=PO,T.toString=Nt,T.toUpper=IT,T.trim=MT,T.trimEnd=DT,T.trimStart=FT,T.truncate=RT,T.unescape=LT,T.uniqueId=dA,T.upperCase=zT,T.upperFirst=vh,T.each=Dv,T.eachRight=Fv,T.first=Nv,$h(T,function(){var s={};return Yi(T,function(d,h){Dt.call(T.prototype,h)||(s[h]=d)}),s}(),{chain:!1}),T.VERSION=r,di(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){T[s].placeholder=T}),di(["drop","take"],function(s,d){vt.prototype[s]=function(h){h=h===n?1:Dn(it(h),0);var y=this.__filtered__&&!d?new vt(this):this.clone();return y.__filtered__?y.__takeCount__=dr(h,y.__takeCount__):y.__views__.push({size:dr(h,ae),type:s+(y.__dir__<0?"Right":"")}),y},vt.prototype[s+"Right"]=function(h){return this.reverse()[s](h).reverse()}}),di(["filter","map","takeWhile"],function(s,d){var h=d+1,y=h==K||h==ye;vt.prototype[s]=function(k){var N=this.clone();return N.__iteratees__.push({iteratee:qe(k,3),type:h}),N.__filtered__=N.__filtered__||y,N}}),di(["head","last"],function(s,d){var h="take"+(d?"Right":"");vt.prototype[s]=function(){return this[h](1).value()[0]}}),di(["initial","tail"],function(s,d){var h="drop"+(d?"":"Right");vt.prototype[s]=function(){return this.__filtered__?new vt(this):this[h](1)}}),vt.prototype.compact=function(){return this.filter(Rr)},vt.prototype.find=function(s){return this.filter(s).head()},vt.prototype.findLast=function(s){return this.reverse().find(s)},vt.prototype.invokeMap=dt(function(s,d){return typeof s=="function"?new vt(this):this.map(function(h){return pd(h,s,d)})}),vt.prototype.reject=function(s){return this.filter(Nu(qe(s)))},vt.prototype.slice=function(s,d){s=it(s);var h=this;return h.__filtered__&&(s>0||d<0)?new vt(h):(s<0?h=h.takeRight(-s):s&&(h=h.drop(s)),d!==n&&(d=it(d),h=d<0?h.dropRight(-d):h.take(d-s)),h)},vt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},vt.prototype.toArray=function(){return this.take(ae)},Yi(vt.prototype,function(s,d){var h=/^(?:filter|find|map|reject)|While$/.test(d),y=/^(?:head|last)$/.test(d),k=T[y?"take"+(d=="last"?"Right":""):d],N=y||/^find/.test(d);!k||(T.prototype[d]=function(){var I=this.__wrapped__,j=y?[1]:arguments,B=I instanceof vt,fe=j[0],he=B||nt(I),be=function(ht){var $t=k.apply(T,qo([ht],j));return y&&Ee?$t[0]:$t};he&&h&&typeof fe=="function"&&fe.length!=1&&(B=he=!1);var Ee=this.__chain__,je=!!this.__actions__.length,We=N&&!Ee,st=B&&!je;if(!N&&he){I=st?I:new vt(this);var Ge=s.apply(I,j);return Ge.__actions__.push({func:Su,args:[be],thisArg:n}),new ui(Ge,Ee)}return We&&st?s.apply(this,j):(Ge=this.thru(be),We?y?Ge.value()[0]:Ge.value():Ge)})}),di(["pop","push","shift","sort","splice","unshift"],function(s){var d=Jc[s],h=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",y=/^(?:pop|shift)$/.test(s);T.prototype[s]=function(){var k=arguments;if(y&&!this.__chain__){var N=this.value();return d.apply(nt(N)?N:[],k)}return this[h](function(I){return d.apply(nt(I)?I:[],k)})}}),Yi(vt.prototype,function(s,d){var h=T[d];if(h){var y=h.name+"";Dt.call(Ps,y)||(Ps[y]=[]),Ps[y].push({name:d,func:h})}}),Ps[$u(n,A).name]=[{name:"wrapper",func:n}],vt.prototype.clone=Lk,vt.prototype.reverse=zk,vt.prototype.value=jk,T.prototype.at=mS,T.prototype.chain=gS,T.prototype.commit=vS,T.prototype.next=yS,T.prototype.plant=$S,T.prototype.reverse=wS,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=_S,T.prototype.first=T.prototype.head,sd&&(T.prototype[sd]=bS),T},Ts=vk();Oa?((Oa.exports=Ts)._=Ts,bf._=Ts):Xn._=Ts}).call(Sd)})(km,km.exports);const Gde=de('<div class="flex items-center space-x-2 text-slate-500"></div>'),Yde=de('<div><style></style><photon-dialog label="Overwrite in progress prescription?" confirm-text="Yes, Overwrite" cancel-text="No, Cancel"><p class="font-sans text-lg xs:text-base">You are editing a prescription that has not been added. This will be overwritten if you edit another prescription.</p></photon-dialog><photon-dialog label="Delete pending prescription?" confirm-text="Yes, Delete" cancel-text="No, Cancel"><p class="font-sans text-lg xs:text-base">Deleting this prescription will remove it from your pending prescriptions. This action cannot be undone.</p></photon-dialog></div>'),Qde=Pn(pa(jre(Pc()),1,1/0),"You must add at least 1 Prescription"),Kde=e=>{let t;const[n,r]=te(!1),[i,o]=te(!1),[a,l]=te(void 0),[c,u]=te();e.actions.registerValidator({key:"draftPrescriptions",validator:Qde});const f=A=>{const S=new CustomEvent("photon-draft-prescription-deleted",{composed:!0,bubbles:!0,detail:{prescription:gs(A)}});t?.dispatchEvent(S)},p=()=>{a().treatment&&(ox(e.actions,a()),e.actions.updateFormValue({key:"catalogId",value:a().catalogId}),e.actions.updateFormValue({key:"draftPrescriptions",value:e.store.draftPrescriptions.value.filter(A=>A.id!==a().id)}),window.scrollTo({behavior:"smooth",top:(e.prescriptionRef?.getBoundingClientRect().top||0)-document.body.getBoundingClientRect().top-70}))},m=A=>{const S=e.store.draftPrescriptions.value.find(O=>O.id===A);l(S),e.store.treatment.value?o(!0):(e.setIsEditing(!0),p())},g=()=>{p(),o(!1),l(void 0)},v=()=>{o(!1),l(void 0)},w=()=>{const[A,S]=km.exports.partition(e.store.draftPrescriptions.value,O=>O.id===c());e.actions.updateFormValue({key:"draftPrescriptions",value:S}),f(A[0]),r(!1),u(void 0),e.store.draftPrescriptions?.value?.length===0&&e.setIsEditing(!0)},x=()=>{r(!1),u(void 0)};return(()=>{const A=Ce(()=>document.importNode(Yde,!0)),S=A.firstChild,O=S.nextSibling,E=O.nextSibling,M=t;return typeof M=="function"?wt(M,A):t=A,z(S,Bi),O.addEventListener("photon-dialog-confirmed",g),O.addEventListener("photon-dialog-canceled",v),O.addEventListener("photon-dialog-alt",v),O._$owner=Oe(),E.addEventListener("photon-dialog-confirmed",w),E.addEventListener("photon-dialog-canceled",x),E.addEventListener("photon-dialog-alt",x),E._$owner=Oe(),z(A,$(Er,{get children(){return[(()=>{const P=Gde.cloneNode(!0);return z(P,$(De,{color:"gray",class:"pr-2",children:"Pending Order"}),null),z(P,$(ax,{maxWidth:"300px",tip:"Each prescription will include the prescriber\u2019s digital signature and the date it was written when the order is sent to the pharmacy."}),null),P})(),$(RX,{get draftPrescriptions(){return e.store.draftPrescriptions?.value??[]},handleDelete:P=>{r(!0),u(P)},handleEdit:P=>{m(P)},get templateIds(){return e.templateIds},get templateOverrides(){return e.templateOverrides},get prescriptionIds(){return e.prescriptionIds},setDraftPrescriptions:P=>{e.actions.updateFormValue({key:"draftPrescriptions",value:P})},get error(){return e.store.draftPrescriptions?.error}})]}}),null),ve(P=>{const L=i(),U=n();return L!==P._v$&&(O.open=P._v$=L),U!==P._v$2&&(E.open=P._v$2=U),P},{_v$:void 0,_v$2:void 0}),A})()},Zde=de('<div class="flex items-center justify-between"></div>'),Xde=de("<div><style></style></div>"),Jde=e=>{const t=oe(()=>e.store.patient?.value?[e.store.patient?.value?.id]:[]),n=oe(()=>{const r=e.store.patient?.value?.address;return r?`${r.street1} ${r.street2||""} ${r.city}, ${r.state} ${r.postalCode}`:""});return(()=>{const r=Xde.cloneNode(!0),i=r.firstChild;return z(i,Bi),z(r,$(Er,{get children(){return[(()=>{const o=Zde.cloneNode(!0);return z(o,$(De,{color:"gray",children:"Select Pharmacy"})),o})(),$(ree,{get enableSendToPatient(){return e.enableSendToPatient},get enableLocalPickup(){return e.enableLocalPickup||!e?.enableSendToPatient&&!e?.mailOrderIds},get mailOrderPharmacyIds(){return oe(()=>!!e.mailOrderIds)()?e.mailOrderIds.split(","):void 0},get patientIds(){return t()},get address(){return n()},setFufillmentType:o=>{e.actions.updateFormValue({key:"fulfillmentType",value:o||""})},setPreferredPharmacy:(o=!1)=>{e.actions.updateFormValue({key:"updatePreferredPharmacy",value:o})},setPharmacyId:o=>{e.actions.updateFormValue({key:"pharmacy",value:o})}})]}}),null),r})()},ece=de('<div class="flex items-center justify-between"></div>'),tce=de("<photon-patient-select></photon-patient-select>"),nce=de("<div><photon-patient-dialog></photon-patient-dialog></div>"),rce=de('<div><photon-med-search-dialog title="Add Medication History"></photon-med-search-dialog></div>'),ice=de('<div class="flex flex-col gap-8"></div>'),oce=Pn(j4(Xr(),Pc()),"Please select a patient..."),ace=Pn(j4(Xr(),Pc()),"Please enter an address for patient..."),sce=e=>{const[t,n]=te(void 0),[r,i]=te(!1),[o,a]=te(!1),{actions:l,store:c}=sf;Ht(()=>{e.actions.registerValidator({key:"patient",validator:oce}),e.enableOrder&&e.actions.registerValidator({key:"address",validator:ace}),e?.patientId&&l.getSelectedPatient(e.client.getSDK(),e.patientId)});const u=m=>{e.actions.updateFormValue({key:"patient",value:m.detail.patient}),e.enableOrder&&!e.address&&e.actions.updateFormValue({key:"address",value:m.detail.patient.address})};Ae(()=>{c?.selectedPatient?.data&&e?.patientId&&u({detail:{patient:c?.selectedPatient?.data}})});const f=oe(()=>e.store.patient?.value?.id||e?.patientId),p=oe(()=>e.store.patient?.value?.id&&!e.store.patient?.value?.address&&e.enableOrder);return(()=>{const m=ice.cloneNode(!0);return z(m,$($e,{get when(){return!e?.patientId},get children(){return $(Er,{get children(){return[(()=>{const g=ece.cloneNode(!0);return z(g,$(De,{color:"gray",get children(){return e?.patientId?"Patient":"Select Patient"}})),g})(),(()=>{const g=Ce(()=>document.importNode(tce,!0));return g.addEventListener("photon-patient-selected",u),g._$owner=Oe(),ve(v=>{const w=e.store.patient?.error??!1,x=e.store.patient?.error,A=e.store.patient?.value?.id??e.patientId,S=e.client.getSDK();return w!==v._v$&&(g.invalid=v._v$=w),x!==v._v$2&&(g.helpText=v._v$2=x),A!==v._v$3&&(g.selected=v._v$3=A),S!==v._v$4&&(g.sdk=v._v$4=S),v},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0}),g})()]}})}}),null),z(m,$($e,{get when(){return f()&&!e.hidePatientCard},get children(){const g=Ce(()=>document.importNode(nce,!0)),v=g.firstChild;return z(g,$(QX,{get patientId(){return f()},get weight(){return e?.weight},get weightUnit(){return e?.weightUnit},get editPatient(){return e?.enableOrder&&!p()?()=>i(!0):void 0},get address(){return e?.address||e.store.patient?.value?.address}}),v),v.hideCreatePrescription=!0,v.addEventListener("photon-patient-updated",()=>{l.getSelectedPatient(e.client.getSDK(),e.store.patient?.value?.id),i(!1)}),v.addEventListener("photon-patient-closed",()=>{i(!1)}),v._$owner=Oe(),ve(w=>{const x=r(),A=f();return x!==w._v$5&&(v.open=w._v$5=x),A!==w._v$6&&(v.patientId=w._v$6=A),w},{_v$5:void 0,_v$6:void 0}),g}}),null),z(m,$($e,{get when(){return oe(()=>!!e.enableMedHistory)()&&f()},get children(){const g=Ce(()=>document.importNode(rce,!0)),v=g.firstChild;return z(g,$(Lw,{get patientId(){return f()},openAddMedication:()=>a(!0),get newMedication(){return t()},get enableLinks(){return e.enableMedHistoryLinks??!1}}),v),v.withConcept=!0,v.addEventListener("photon-medication-selected",w=>{n(w.detail.medication),a(!1)}),v.addEventListener("photon-medication-closed",()=>{a(!1)}),v._$owner=Oe(),ve(()=>v.open=o()),g}}),null),z(m,$($e,{get when(){return p()},get children(){return $(EK,{get patientId(){return f()},setAddress:g=>{e.actions.updateFormValue({key:"address",value:g}),e.actions.updateFormValue({key:"patient",value:{...e.store.patient.value,address:g}})}})}}),null),m})()},lce=de("<span>, </span>"),dce=de('<div class="flex flex-col items-start"></div>'),cce=de('<photon-card><div class="flex flex-col gap-3"><div class="flex flex-row"><p class="font-sans text-l font-medium flex-grow">Selected Pharmacy</p></div></div></photon-card>'),uce=e=>{const t=Br(),[n,r]=te(null),i=async o=>{if(o&&t){const{data:a}=await t.getSDK().clinical.pharmacy.getPharmacy({id:o});r(a.pharmacy)}};return Ae(()=>{e.pharmacyId&&i(e.pharmacyId)}),(()=>{const o=Ce(()=>document.importNode(cce,!0)),a=o.firstChild;return a.firstChild,o._$owner=Oe(),z(a,$($e,{get when(){return n()},get children(){return $(hc,{label:"Pharmacies",get initSelected(){return e?.pharmacyId||""},get children(){return $(hc.Option,{get value(){return e?.pharmacyId||""},get children(){const l=dce.cloneNode(!0);return z(l,$(De,{get loading(){return!n()},sampleLoadingText:"Loading Name",get children(){return n()?.name}}),null),z(l,$(De,{get loading(){return!n()},color:"gray",size:"sm",sampleLoadingText:"Cityville, ST",get children(){const c=lce.cloneNode(!0),u=c.firstChild;return z(c,()=>n()?.address?.city,u),z(c,()=>n()?.address?.state,null),c}}),null),l}})}})}}),null),o})()},fce=`.remove-icon-button::part(base):hover,.remove-icon-button::part(base):focus{--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}.edit-icon-button::part(base):hover,.edit-icon-button::part(base):focus{--tw-text-opacity: 1;color:rgb(234 179 8/var(--tw-text-opacity))}.enable-switch{--width: 60px;--height: 32px;--thumb-size: 26px;--sl-color-primary-600: #22c55e}
|
|
3516
|
+
}`;var st=o6(function(){return Et(N,je+"return "+be).apply(n,I)});if(st.source=be,hh(st))throw st;return st}function PT(s){return Nt(s).toLowerCase()}function IT(s){return Nt(s).toUpperCase()}function MT(s,d,h){if(s=Nt(s),s&&(h||d===n))return pg(s);if(!s||!(d=Gr(d)))return s;var y=Si(s),k=Si(d),N=mg(y,k),I=gg(y,k)+1;return Zo(y,N,I).join("")}function DT(s,d,h){if(s=Nt(s),s&&(h||d===n))return s.slice(0,yg(s)+1);if(!s||!(d=Gr(d)))return s;var y=Si(s),k=gg(y,Si(d))+1;return Zo(y,0,k).join("")}function FT(s,d,h){if(s=Nt(s),s&&(h||d===n))return s.replace(Uo,"");if(!s||!(d=Gr(d)))return s;var y=Si(s),k=mg(y,Si(d));return Zo(y,k).join("")}function RT(s,d){var h=ce,y=Q;if(cn(d)){var k="separator"in d?d.separator:k;h="length"in d?it(d.length):h,y="omission"in d?Gr(d.omission):y}s=Nt(s);var N=s.length;if(Ss(s)){var I=Si(s);N=I.length}if(h>=N)return s;var j=h-Os(y);if(j<1)return y;var B=I?Zo(I,0,j).join(""):s.slice(0,j);if(k===n)return B+y;if(I&&(j+=B.length-j),ph(k)){if(s.slice(j).search(k)){var fe,he=B;for(k.global||(k=Af(k.source,Nt(Uc.exec(k))+"g")),k.lastIndex=0;fe=k.exec(he);)var be=fe.index;B=B.slice(0,be===n?j:be)}}else if(s.indexOf(Gr(k),j)!=j){var Ee=B.lastIndexOf(k);Ee>-1&&(B=B.slice(0,Ee))}return B+y}function LT(s){return s=Nt(s),s&&Ic.test(s)?s.replace(Xl,hk):s}var zT=Ds(function(s,d,h){return s+(h?" ":"")+d.toUpperCase()}),vh=av("toUpperCase");function i6(s,d,h){return s=Nt(s),d=h?n:d,d===n?lk(s)?gk(s):Jx(s):s.match(d)||[]}var o6=dt(function(s,d){try{return qr(s,n,d)}catch(h){return hh(h)?h:new Xe(h)}}),jT=Co(function(s,d){return di(d,function(h){h=Ki(h),xo(s,h,uh(s[h],s))}),s});function UT(s){var d=s==null?0:s.length,h=qe();return s=d?sn(s,function(y){if(typeof y[1]!="function")throw new ci(a);return[h(y[0]),y[1]]}):[],dt(function(y){for(var k=-1;++k<d;){var N=s[k];if(qr(N[0],this,y))return qr(N[1],this,y)}})}function VT(s){return hC(fi(s,p))}function yh(s){return function(){return s}}function BT(s,d){return s==null||s!==s?d:s}var HT=lv(),qT=lv(!0);function Rr(s){return s}function bh(s){return Lg(typeof s=="function"?s:fi(s,p))}function WT(s){return jg(fi(s,p))}function GT(s,d){return Ug(s,fi(d,p))}var YT=dt(function(s,d){return function(h){return pd(h,s,d)}}),QT=dt(function(s,d){return function(h){return pd(s,h,d)}});function $h(s,d,h){var y=Hn(d),k=mu(d,y);h==null&&!(cn(d)&&(k.length||!y.length))&&(h=d,d=s,s=this,k=mu(d,Hn(d)));var N=!(cn(h)&&"chain"in h)||!!h.chain,I=So(s);return di(k,function(j){var B=d[j];s[j]=B,I&&(s.prototype[j]=function(){var fe=this.__chain__;if(N||fe){var he=s(this.__wrapped__),be=he.__actions__=Mr(this.__actions__);return be.push({func:B,args:arguments,thisArg:s}),he.__chain__=fe,he}return B.apply(s,qo([this.value()],arguments))})}),s}function KT(){return Xn._===this&&(Xn._=_k),this}function wh(){}function ZT(s){return s=it(s),dt(function(d){return Vg(d,s)})}var XT=Xf(sn),JT=Xf(dg),eA=Xf(xf);function a6(s){return oh(s)?kf(Ki(s)):AC(s)}function tA(s){return function(d){return s==null?n:Ia(s,d)}}var nA=cv(),rA=cv(!0);function _h(){return[]}function xh(){return!1}function iA(){return{}}function oA(){return""}function aA(){return!0}function sA(s,d){if(s=it(s),s<1||s>ee)return[];var h=ae,y=dr(s,ae);d=qe(d),s-=ae;for(var k=Sf(y,d);++h<s;)d(h);return k}function lA(s){return nt(s)?sn(s,Ki):Yr(s)?[s]:Mr(Ev(Nt(s)))}function dA(s){var d=++$k;return Nt(s)+d}var cA=wu(function(s,d){return s+d},0),uA=Jf("ceil"),fA=wu(function(s,d){return s/d},1),hA=Jf("floor");function pA(s){return s&&s.length?pu(s,Rr,Lf):n}function mA(s,d){return s&&s.length?pu(s,qe(d,2),Lf):n}function gA(s){return fg(s,Rr)}function vA(s,d){return fg(s,qe(d,2))}function yA(s){return s&&s.length?pu(s,Rr,Vf):n}function bA(s,d){return s&&s.length?pu(s,qe(d,2),Vf):n}var $A=wu(function(s,d){return s*d},1),wA=Jf("round"),_A=wu(function(s,d){return s-d},0);function xA(s){return s&&s.length?Ef(s,Rr):0}function kA(s,d){return s&&s.length?Ef(s,qe(d,2)):0}return T.after=WS,T.ary=Rv,T.assign=IO,T.assignIn=Zv,T.assignInWith=Mu,T.assignWith=MO,T.at=DO,T.before=Lv,T.bind=uh,T.bindAll=jT,T.bindKey=zv,T.castArray=iO,T.chain=Mv,T.chunk=hE,T.compact=pE,T.concat=mE,T.cond=UT,T.conforms=VT,T.constant=yh,T.countBy=xS,T.create=FO,T.curry=jv,T.curryRight=Uv,T.debounce=Vv,T.defaults=RO,T.defaultsDeep=LO,T.defer=GS,T.delay=YS,T.difference=gE,T.differenceBy=vE,T.differenceWith=yE,T.drop=bE,T.dropRight=$E,T.dropRightWhile=wE,T.dropWhile=_E,T.fill=xE,T.filter=CS,T.flatMap=OS,T.flatMapDeep=TS,T.flatMapDepth=AS,T.flatten=Av,T.flattenDeep=kE,T.flattenDepth=CE,T.flip=QS,T.flow=HT,T.flowRight=qT,T.fromPairs=EE,T.functions=qO,T.functionsIn=WO,T.groupBy=NS,T.initial=OE,T.intersection=TE,T.intersectionBy=AE,T.intersectionWith=NE,T.invert=YO,T.invertBy=QO,T.invokeMap=IS,T.iteratee=bh,T.keyBy=MS,T.keys=Hn,T.keysIn=Fr,T.map=Ou,T.mapKeys=ZO,T.mapValues=XO,T.matches=WT,T.matchesProperty=GT,T.memoize=Au,T.merge=JO,T.mergeWith=Xv,T.method=YT,T.methodOf=QT,T.mixin=$h,T.negate=Nu,T.nthArg=ZT,T.omit=eT,T.omitBy=tT,T.once=KS,T.orderBy=DS,T.over=XT,T.overArgs=ZS,T.overEvery=JT,T.overSome=eA,T.partial=fh,T.partialRight=Bv,T.partition=FS,T.pick=nT,T.pickBy=Jv,T.property=a6,T.propertyOf=tA,T.pull=DE,T.pullAll=Pv,T.pullAllBy=FE,T.pullAllWith=RE,T.pullAt=LE,T.range=nA,T.rangeRight=rA,T.rearg=XS,T.reject=zS,T.remove=zE,T.rest=JS,T.reverse=dh,T.sampleSize=US,T.set=iT,T.setWith=oT,T.shuffle=VS,T.slice=jE,T.sortBy=qS,T.sortedUniq=GE,T.sortedUniqBy=YE,T.split=OT,T.spread=eO,T.tail=QE,T.take=KE,T.takeRight=ZE,T.takeRightWhile=XE,T.takeWhile=JE,T.tap=pS,T.throttle=tO,T.thru=Su,T.toArray=Yv,T.toPairs=e6,T.toPairsIn=t6,T.toPath=lA,T.toPlainObject=Kv,T.transform=aT,T.unary=nO,T.union=eS,T.unionBy=tS,T.unionWith=nS,T.uniq=rS,T.uniqBy=iS,T.uniqWith=oS,T.unset=sT,T.unzip=ch,T.unzipWith=Iv,T.update=lT,T.updateWith=dT,T.values=Ls,T.valuesIn=cT,T.without=aS,T.words=i6,T.wrap=rO,T.xor=sS,T.xorBy=lS,T.xorWith=dS,T.zip=cS,T.zipObject=uS,T.zipObjectDeep=fS,T.zipWith=hS,T.entries=e6,T.entriesIn=t6,T.extend=Zv,T.extendWith=Mu,$h(T,T),T.add=cA,T.attempt=o6,T.camelCase=pT,T.capitalize=n6,T.ceil=uA,T.clamp=uT,T.clone=oO,T.cloneDeep=sO,T.cloneDeepWith=lO,T.cloneWith=aO,T.conformsTo=dO,T.deburr=r6,T.defaultTo=BT,T.divide=fA,T.endsWith=mT,T.eq=Ti,T.escape=gT,T.escapeRegExp=vT,T.every=kS,T.find=ES,T.findIndex=Ov,T.findKey=zO,T.findLast=SS,T.findLastIndex=Tv,T.findLastKey=jO,T.floor=hA,T.forEach=Dv,T.forEachRight=Fv,T.forIn=UO,T.forInRight=VO,T.forOwn=BO,T.forOwnRight=HO,T.get=mh,T.gt=cO,T.gte=uO,T.has=GO,T.hasIn=gh,T.head=Nv,T.identity=Rr,T.includes=PS,T.indexOf=SE,T.inRange=fT,T.invoke=KO,T.isArguments=Fa,T.isArray=nt,T.isArrayBuffer=fO,T.isArrayLike=Dr,T.isArrayLikeObject=wn,T.isBoolean=hO,T.isBuffer=Xo,T.isDate=pO,T.isElement=mO,T.isEmpty=gO,T.isEqual=vO,T.isEqualWith=yO,T.isError=hh,T.isFinite=bO,T.isFunction=So,T.isInteger=Hv,T.isLength=Pu,T.isMap=qv,T.isMatch=$O,T.isMatchWith=wO,T.isNaN=_O,T.isNative=xO,T.isNil=CO,T.isNull=kO,T.isNumber=Wv,T.isObject=cn,T.isObjectLike=pn,T.isPlainObject=$d,T.isRegExp=ph,T.isSafeInteger=EO,T.isSet=Gv,T.isString=Iu,T.isSymbol=Yr,T.isTypedArray=Rs,T.isUndefined=SO,T.isWeakMap=OO,T.isWeakSet=TO,T.join=PE,T.kebabCase=yT,T.last=pi,T.lastIndexOf=IE,T.lowerCase=bT,T.lowerFirst=$T,T.lt=AO,T.lte=NO,T.max=pA,T.maxBy=mA,T.mean=gA,T.meanBy=vA,T.min=yA,T.minBy=bA,T.stubArray=_h,T.stubFalse=xh,T.stubObject=iA,T.stubString=oA,T.stubTrue=aA,T.multiply=$A,T.nth=ME,T.noConflict=KT,T.noop=wh,T.now=Tu,T.pad=wT,T.padEnd=_T,T.padStart=xT,T.parseInt=kT,T.random=hT,T.reduce=RS,T.reduceRight=LS,T.repeat=CT,T.replace=ET,T.result=rT,T.round=wA,T.runInContext=V,T.sample=jS,T.size=BS,T.snakeCase=ST,T.some=HS,T.sortedIndex=UE,T.sortedIndexBy=VE,T.sortedIndexOf=BE,T.sortedLastIndex=HE,T.sortedLastIndexBy=qE,T.sortedLastIndexOf=WE,T.startCase=TT,T.startsWith=AT,T.subtract=_A,T.sum=xA,T.sumBy=kA,T.template=NT,T.times=sA,T.toFinite=Oo,T.toInteger=it,T.toLength=Qv,T.toLower=PT,T.toNumber=mi,T.toSafeInteger=PO,T.toString=Nt,T.toUpper=IT,T.trim=MT,T.trimEnd=DT,T.trimStart=FT,T.truncate=RT,T.unescape=LT,T.uniqueId=dA,T.upperCase=zT,T.upperFirst=vh,T.each=Dv,T.eachRight=Fv,T.first=Nv,$h(T,function(){var s={};return Yi(T,function(d,h){Dt.call(T.prototype,h)||(s[h]=d)}),s}(),{chain:!1}),T.VERSION=r,di(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){T[s].placeholder=T}),di(["drop","take"],function(s,d){vt.prototype[s]=function(h){h=h===n?1:Dn(it(h),0);var y=this.__filtered__&&!d?new vt(this):this.clone();return y.__filtered__?y.__takeCount__=dr(h,y.__takeCount__):y.__views__.push({size:dr(h,ae),type:s+(y.__dir__<0?"Right":"")}),y},vt.prototype[s+"Right"]=function(h){return this.reverse()[s](h).reverse()}}),di(["filter","map","takeWhile"],function(s,d){var h=d+1,y=h==K||h==ye;vt.prototype[s]=function(k){var N=this.clone();return N.__iteratees__.push({iteratee:qe(k,3),type:h}),N.__filtered__=N.__filtered__||y,N}}),di(["head","last"],function(s,d){var h="take"+(d?"Right":"");vt.prototype[s]=function(){return this[h](1).value()[0]}}),di(["initial","tail"],function(s,d){var h="drop"+(d?"":"Right");vt.prototype[s]=function(){return this.__filtered__?new vt(this):this[h](1)}}),vt.prototype.compact=function(){return this.filter(Rr)},vt.prototype.find=function(s){return this.filter(s).head()},vt.prototype.findLast=function(s){return this.reverse().find(s)},vt.prototype.invokeMap=dt(function(s,d){return typeof s=="function"?new vt(this):this.map(function(h){return pd(h,s,d)})}),vt.prototype.reject=function(s){return this.filter(Nu(qe(s)))},vt.prototype.slice=function(s,d){s=it(s);var h=this;return h.__filtered__&&(s>0||d<0)?new vt(h):(s<0?h=h.takeRight(-s):s&&(h=h.drop(s)),d!==n&&(d=it(d),h=d<0?h.dropRight(-d):h.take(d-s)),h)},vt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},vt.prototype.toArray=function(){return this.take(ae)},Yi(vt.prototype,function(s,d){var h=/^(?:filter|find|map|reject)|While$/.test(d),y=/^(?:head|last)$/.test(d),k=T[y?"take"+(d=="last"?"Right":""):d],N=y||/^find/.test(d);!k||(T.prototype[d]=function(){var I=this.__wrapped__,j=y?[1]:arguments,B=I instanceof vt,fe=j[0],he=B||nt(I),be=function(ht){var $t=k.apply(T,qo([ht],j));return y&&Ee?$t[0]:$t};he&&h&&typeof fe=="function"&&fe.length!=1&&(B=he=!1);var Ee=this.__chain__,je=!!this.__actions__.length,We=N&&!Ee,st=B&&!je;if(!N&&he){I=st?I:new vt(this);var Ge=s.apply(I,j);return Ge.__actions__.push({func:Su,args:[be],thisArg:n}),new ui(Ge,Ee)}return We&&st?s.apply(this,j):(Ge=this.thru(be),We?y?Ge.value()[0]:Ge.value():Ge)})}),di(["pop","push","shift","sort","splice","unshift"],function(s){var d=Jc[s],h=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",y=/^(?:pop|shift)$/.test(s);T.prototype[s]=function(){var k=arguments;if(y&&!this.__chain__){var N=this.value();return d.apply(nt(N)?N:[],k)}return this[h](function(I){return d.apply(nt(I)?I:[],k)})}}),Yi(vt.prototype,function(s,d){var h=T[d];if(h){var y=h.name+"";Dt.call(Ps,y)||(Ps[y]=[]),Ps[y].push({name:d,func:h})}}),Ps[$u(n,A).name]=[{name:"wrapper",func:n}],vt.prototype.clone=Lk,vt.prototype.reverse=zk,vt.prototype.value=jk,T.prototype.at=mS,T.prototype.chain=gS,T.prototype.commit=vS,T.prototype.next=yS,T.prototype.plant=$S,T.prototype.reverse=wS,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=_S,T.prototype.first=T.prototype.head,sd&&(T.prototype[sd]=bS),T},Ts=vk();Oa?((Oa.exports=Ts)._=Ts,bf._=Ts):Xn._=Ts}).call(Sd)})(km,km.exports);const Gde=de('<div class="flex items-center space-x-2 text-slate-500"></div>'),Yde=de('<div><style></style><photon-dialog label="Overwrite in progress prescription?" confirm-text="Yes, Overwrite" cancel-text="No, Cancel"><p class="font-sans text-lg xs:text-base">You are editing a prescription that has not been added. This will be overwritten if you edit another prescription.</p></photon-dialog><photon-dialog label="Delete pending prescription?" confirm-text="Yes, Delete" cancel-text="No, Cancel"><p class="font-sans text-lg xs:text-base">Deleting this prescription will remove it from your pending prescriptions. This action cannot be undone.</p></photon-dialog></div>'),Qde=Pn(pa(jre(Pc()),1,1/0),"You must add at least 1 Prescription"),Kde=e=>{let t;const[n,r]=te(!1),[i,o]=te(!1),[a,l]=te(void 0),[c,u]=te();e.actions.registerValidator({key:"draftPrescriptions",validator:Qde});const f=A=>{const S=new CustomEvent("photon-draft-prescription-deleted",{composed:!0,bubbles:!0,detail:{prescription:gs(A)}});t?.dispatchEvent(S)},p=()=>{a().treatment&&(ox(e.actions,a()),e.actions.updateFormValue({key:"catalogId",value:a().catalogId}),e.actions.updateFormValue({key:"draftPrescriptions",value:e.store.draftPrescriptions.value.filter(A=>A.id!==a().id)}),window.scrollTo({behavior:"smooth",top:(e.prescriptionRef?.getBoundingClientRect().top||0)-document.body.getBoundingClientRect().top-70}))},m=A=>{const S=e.store.draftPrescriptions.value.find(O=>O.id===A);l(S),e.store.treatment.value?o(!0):(e.setIsEditing(!0),p())},g=()=>{p(),o(!1),l(void 0)},v=()=>{o(!1),l(void 0)},w=()=>{const[A,S]=km.exports.partition(e.store.draftPrescriptions.value,O=>O.id===c());e.actions.updateFormValue({key:"draftPrescriptions",value:S}),f(A[0]),r(!1),u(void 0),e.store.draftPrescriptions?.value?.length===0&&e.setIsEditing(!0)},x=()=>{r(!1),u(void 0)};return(()=>{const A=Ce(()=>document.importNode(Yde,!0)),S=A.firstChild,O=S.nextSibling,E=O.nextSibling,M=t;return typeof M=="function"?wt(M,A):t=A,z(S,Bi),O.addEventListener("photon-dialog-confirmed",g),O.addEventListener("photon-dialog-canceled",v),O.addEventListener("photon-dialog-alt",v),O._$owner=Oe(),E.addEventListener("photon-dialog-confirmed",w),E.addEventListener("photon-dialog-canceled",x),E.addEventListener("photon-dialog-alt",x),E._$owner=Oe(),z(A,$(Er,{get children(){return[(()=>{const P=Gde.cloneNode(!0);return z(P,$(De,{color:"gray",class:"pr-2",children:"Pending Order"}),null),z(P,$(ax,{maxWidth:"300px",tip:"Each prescription will include the prescriber\u2019s digital signature and the date it was written when the order is sent to the pharmacy."}),null),P})(),$(RX,{get draftPrescriptions(){return e.store.draftPrescriptions?.value??[]},handleDelete:P=>{r(!0),u(P)},handleEdit:P=>{m(P)},get templateIds(){return e.templateIds},get templateOverrides(){return e.templateOverrides},get prescriptionIds(){return e.prescriptionIds},setDraftPrescriptions:P=>{e.actions.updateFormValue({key:"draftPrescriptions",value:P})},get error(){return e.store.draftPrescriptions?.error}})]}}),null),ve(P=>{const L=i(),U=n();return L!==P._v$&&(O.open=P._v$=L),U!==P._v$2&&(E.open=P._v$2=U),P},{_v$:void 0,_v$2:void 0}),A})()},Zde=de('<div class="flex items-center justify-between"></div>'),Xde=de("<div><style></style></div>"),Jde=e=>{const t=oe(()=>e.store.patient?.value?[e.store.patient?.value?.id]:[]),n=oe(()=>{const r=e.store.patient?.value?.address;return r?`${r.street1} ${r.street2||""} ${r.city}, ${r.state} ${r.postalCode}`:""});return(()=>{const r=Xde.cloneNode(!0),i=r.firstChild;return z(i,Bi),z(r,$(Er,{get children(){return[(()=>{const o=Zde.cloneNode(!0);return z(o,$(De,{color:"gray",children:"Select Pharmacy"})),o})(),$(ree,{get enableSendToPatient(){return e.enableSendToPatient},get enableLocalPickup(){return e.enableLocalPickup||!e?.enableSendToPatient&&!e?.mailOrderIds},get mailOrderPharmacyIds(){return oe(()=>!!e.mailOrderIds)()?e.mailOrderIds.split(","):void 0},get patientIds(){return t()},get address(){return n()},setFufillmentType:o=>{e.actions.updateFormValue({key:"fulfillmentType",value:o||""})},setPreferredPharmacy:(o=!1)=>{e.actions.updateFormValue({key:"updatePreferredPharmacy",value:o})},setPharmacyId:o=>{e.actions.updateFormValue({key:"pharmacy",value:o})}})]}}),null),r})()},ece=de('<div class="flex items-center justify-between"></div>'),tce=de("<photon-patient-select></photon-patient-select>"),nce=de("<div><photon-patient-dialog></photon-patient-dialog></div>"),rce=de('<div><photon-med-search-dialog title="Add Medication History"></photon-med-search-dialog></div>'),ice=de('<div class="flex flex-col gap-8"></div>'),oce=Pn(j4(Xr(),Pc()),"Please select a patient..."),ace=Pn(j4(Xr(),Pc()),"Please enter an address for patient..."),sce=e=>{const[t,n]=te(void 0),[r,i]=te(!1),[o,a]=te(!1),{actions:l,store:c}=sf;Ht(()=>{e.actions.registerValidator({key:"patient",validator:oce}),e.enableOrder&&e.actions.registerValidator({key:"address",validator:ace}),e?.patientId&&l.getSelectedPatient(e.client.getSDK(),e.patientId)});const u=m=>{e.actions.updateFormValue({key:"patient",value:m.detail.patient}),e.enableOrder&&!e.address&&e.actions.updateFormValue({key:"address",value:m.detail.patient.address})};Ae(()=>{c?.selectedPatient?.data&&e?.patientId&&u({detail:{patient:c?.selectedPatient?.data}})});const f=oe(()=>e.store.patient?.value?.id||e?.patientId),p=oe(()=>e.store.patient?.value?.id&&!e.store.patient?.value?.address&&e.enableOrder);return(()=>{const m=ice.cloneNode(!0);return z(m,$($e,{get when(){return!e?.patientId},get children(){return $(Er,{get children(){return[(()=>{const g=ece.cloneNode(!0);return z(g,$(De,{color:"gray",get children(){return e?.patientId?"Patient":"Select Patient"}})),g})(),(()=>{const g=Ce(()=>document.importNode(tce,!0));return g.addEventListener("photon-patient-selected",u),g._$owner=Oe(),ve(v=>{const w=e.store.patient?.error??!1,x=e.store.patient?.error,A=e.store.patient?.value?.id??e.patientId,S=e.client.getSDK();return w!==v._v$&&(g.invalid=v._v$=w),x!==v._v$2&&(g.helpText=v._v$2=x),A!==v._v$3&&(g.selected=v._v$3=A),S!==v._v$4&&(g.sdk=v._v$4=S),v},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0}),g})()]}})}}),null),z(m,$($e,{get when(){return f()&&!e.hidePatientCard},get children(){const g=Ce(()=>document.importNode(nce,!0)),v=g.firstChild;return z(g,$(QX,{get patientId(){return f()},get weight(){return e?.weight},get weightUnit(){return e?.weightUnit},get editPatient(){return e?.enableOrder&&!p()?()=>i(!0):void 0},get address(){return e?.address||e.store.patient?.value?.address}}),v),v.hideCreatePrescription=!0,v.addEventListener("photon-patient-updated",()=>{l.getSelectedPatient(e.client.getSDK(),e.store.patient?.value?.id),i(!1)}),v.addEventListener("photon-patient-closed",()=>{i(!1)}),v._$owner=Oe(),ve(w=>{const x=r(),A=f();return x!==w._v$5&&(v.open=w._v$5=x),A!==w._v$6&&(v.patientId=w._v$6=A),w},{_v$5:void 0,_v$6:void 0}),g}}),null),z(m,$($e,{get when(){return oe(()=>!!e.enableMedHistory)()&&f()},get children(){const g=Ce(()=>document.importNode(rce,!0)),v=g.firstChild;return z(g,$(Lw,{get patientId(){return f()},openAddMedication:()=>a(!0),get newMedication(){return t()},get enableLinks(){return e.enableMedHistoryLinks??!1}}),v),v.withConcept=!0,v.addEventListener("photon-medication-selected",w=>{n(w.detail.medication),a(!1)}),v.addEventListener("photon-medication-closed",()=>{a(!1)}),v._$owner=Oe(),ve(()=>v.open=o()),g}}),null),z(m,$($e,{get when(){return p()},get children(){return $(EK,{get patientId(){return f()},setAddress:g=>{e.actions.updateFormValue({key:"address",value:g}),e.actions.updateFormValue({key:"patient",value:{...e.store.patient.value,address:g}})}})}}),null),m})()},lce=de("<span>, </span>"),dce=de('<div class="flex flex-col items-start"></div>'),cce=de('<photon-card><div class="flex flex-col gap-3"><div class="flex flex-row"><p class="font-sans text-l font-medium flex-grow">Selected Pharmacy</p></div></div></photon-card>'),uce=e=>{const t=Br(),[n,r]=te(null),i=async o=>{if(o&&t){const{data:a}=await t.getSDK().clinical.pharmacy.getPharmacy({id:o});r(a.pharmacy)}};return Ae(()=>{e.pharmacyId&&i(e.pharmacyId)}),(()=>{const o=Ce(()=>document.importNode(cce,!0)),a=o.firstChild;return a.firstChild,o._$owner=Oe(),z(a,$($e,{get when(){return n()},get children(){return $(hc,{label:"Pharmacies",get initSelected(){return e?.pharmacyId||""},get children(){return $(hc.Option,{get value(){return e?.pharmacyId||""},get children(){const l=dce.cloneNode(!0);return z(l,$(De,{get loading(){return!n()},sampleLoadingText:"Loading Name",get children(){return n()?.name}}),null),z(l,$(De,{get loading(){return!n()},color:"gray",size:"sm",sampleLoadingText:"Cityville, ST",get children(){const c=lce.cloneNode(!0),u=c.firstChild;return z(c,()=>n()?.address?.city,u),z(c,()=>n()?.address?.state,null),c}}),null),l}})}})}}),null),o})()},fce=`.remove-icon-button::part(base):hover,.remove-icon-button::part(base):focus{--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}.edit-icon-button::part(base):hover,.edit-icon-button::part(base):focus{--tw-text-opacity: 1;color:rgb(234 179 8/var(--tw-text-opacity))}.enable-switch{--width: 60px;--height: 32px;--thumb-size: 26px;--sl-color-primary-600: #22c55e}
|
|
3517
3517
|
`,hce=(e,t="lb")=>`Patient weight: ${e} ${t}`,pce=de('<div class="w-full flex justify-center"></div>'),mce=de("<div></div>"),gce=de('<div class="m-3 gap-4"></div>'),vce=de('<div class="flex flex-row justify-end gap-2"></div>'),yce=de('<div><style></style><style></style><style></style><style></style><style></style><div><div class="flex flex-col gap-8"></div></div></div>'),bce=de("<div>No errors...</div>");zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");function $ce(e){let t;const n=Br(),[r,i]=te(!e.templateIds&&!e.prescriptionIds),[o,a]=te([]),[l,c]=te(!0),[u,f]=te(!1),[p,m]=te(n?.authentication.state.isAuthenticated||!1),[,g]=Bl();let v="";e.additionalNotes&&(v=`${e.additionalNotes}
|
|
3518
3518
|
|
|
3519
|
-
`),e.weight&&(v=`${v}${hce(e.weight,e?.weightUnit)}`),Ht(()=>{e.address&&e.formActions.updateFormValue({key:"address",value:e.address}),t.addEventListener("photon-ticket-created-duplicate",()=>{xm(e.formActions,v?{notes:v}:void 0)})}),Ae(()=>{!n?.authentication.state.isAuthenticated&&!n?.authentication.state.isLoading&&!n?.authentication.state.error&&n?.autoLogin&&n?.authentication.login({appState:{returnTo:window.location.pathname}})}),Ae(()=>{c(n?.authentication.state.isLoading||!1)}),Ae(()=>{m(n?.authentication.state.isAuthenticated||!1)});const w=oe(()=>n3(["write:prescription"],n?.authentication.state.permissions||[])),x=oe(()=>{const Q=e.formStore?.address?.value??e.formStore?.patient?.value?.address??{},{__typename:G,name:re,...K}=Q;return{street2:"",country:"US",...K}}),A=Q=>{const G=new CustomEvent("photon-prescriptions-created",{composed:!0,bubbles:!0,detail:{prescriptions:Q}});t?.dispatchEvent(G)},S=Q=>{const G=new CustomEvent("photon-order-created",{composed:!0,bubbles:!0,detail:{order:Q}});t?.dispatchEvent(G)},O=Q=>{const G=new CustomEvent("photon-prescriptions-error",{composed:!0,bubbles:!0,detail:{errors:Q}});t?.dispatchEvent(G)},E=(Q=[])=>{const G=new CustomEvent("photon-order-error",{composed:!0,bubbles:!0,detail:{errors:Q}});t?.dispatchEvent(G)},M=Q=>{const G=new CustomEvent("photon-form-validate",{composed:!0,bubbles:!0,detail:{canSubmit:Q,form:e.formStore,actions:e.formActions}});t?.dispatchEvent(G)},P=()=>g.setIsCombineDialogOpen(!0,()=>L(e.enableOrder),e.formStore.draftPrescriptions.value,x()),L=async Q=>{if(l())return;if(a([]),!w())return Cr({status:"error",header:"Unauthorized",body:"You do not have permission to prescribe"});const G=Q?["patient","draftPrescriptions","pharmacy","address"]:["patient","draftPrescriptions"];e.formActions.validate(G);const re=e.formActions.getErrors(G);if(re.length===0){c(!0),e.formActions.updateFormValue({key:"errors",value:[]});const K=n.getSDK().clinical.order.createOrder({}),H=n.getSDK().clinical.patient.removePatientPreferredPharmacy({}),ye=n.getSDK().clinical.patient.updatePatient({}),pe=n.getSDK().clinical.prescription.createPrescriptions({}),J=[],we=n.getSDK().clinical.prescriptionTemplate.createPrescriptionTemplate({});for(const ee of e.formStore.draftPrescriptions.value){const ae={daysSupply:ee.daysSupply,dispenseAsWritten:ee.dispenseAsWritten,dispenseQuantity:ee.dispenseQuantity,dispenseUnit:ee.dispenseUnit,effectiveDate:ee.effectiveDate,instructions:ee.instructions,notes:ee.notes,patientId:e.formStore.patient?.value.id,fillsAllowed:ee.refillsInput?ee.refillsInput+1:1,treatmentId:ee.treatment.id};if(ee.addToTemplates)try{const{errors:ne}=await we({variables:{...ae,catalogId:ee.catalogId,isPrivate:!0},awaitRefetchQueries:!1});ne&&E(ne)}catch(ne){E([ne])}J.push(ae)}try{const{data:ee,errors:ae}=await pe({variables:{prescriptions:J},refetchQueries:[],awaitRefetchQueries:!1});if(e.enableOrder||c(!1),ae){O(ae);return}if(A(ee.createPrescriptions),e.enableOrder){if(e.formStore.updatePreferredPharmacy?.value&&e.formStore.pharmacy?.value&&e.formStore.fulfillmentType?.value==="PICK_UP"){const Be=e.formStore.patient?.value;Be?.preferredPharmacies&&Be?.preferredPharmacies?.length>0&&H({variables:{patientId:Be.id,pharmacyId:Be?.preferredPharmacies?.[0]?.id},awaitRefetchQueries:!1}),ye({variables:{id:Be.id,preferredPharmacies:[e.formStore.pharmacy?.value]},awaitRefetchQueries:!1})}const{data:ne,errors:ze}=await K({variables:{...e.externalOrderId?{externalId:e.externalOrderId}:{},patientId:e.formStore.patient?.value.id,pharmacyId:e?.pharmacyId||e.formStore.pharmacy?.value||"",fulfillmentType:e.formStore.fulfillmentType?.value||"",address:x(),fills:ee?.createPrescriptions.map(Be=>({prescriptionId:Be.id}))},refetchQueries:[],awaitRefetchQueries:!1});if(e.enableOrder&&c(!1),ze){E(ze);return}S(ne.createOrder)}}catch(ee){E([ee]),c(!1),Cr({status:"error",header:"Error Creating Order",body:ee?.message})}}else a(re)},U=()=>e.enableCombineAndDuplicate&&g.hasRoutingOrder()?P():L(e.enableOrder);Ae(()=>{e.triggerSubmit&&Ce(()=>U())}),Ae(()=>{M(Boolean(e.formStore.draftPrescriptions?.value?.length>0&&e.formStore.patient?.value))});const Z=n.sdk.apolloClinical;let ce;return(()=>{const Q=yce.cloneNode(!0),G=Q.firstChild,re=G.nextSibling,K=re.nextSibling,H=K.nextSibling,ye=H.nextSibling,pe=ye.nextSibling,J=pe.firstChild,we=t;return typeof we=="function"?wt(we,Q):t=Q,z(G,En),z(re,Ci),z(K,Ei),z(H,fce),z(ye,Bi),z(Q,$($e,{get when(){return e.enableCombineAndDuplicate},get children(){return[$(Mo.DuplicateDialog,{}),$(Mo.CombineDialog,{}),$(Mo.IssueDialog,{})]}}),pe),z(pe,$(zee,{get buffer(){return e?.toastBuffer||0}}),J),z(J,$($e,{get when(){return oe(()=>!!(!n||l()))()&&!p()},get children(){const ee=pce.cloneNode(!0);return z(ee,$(jo,{color:"green"})),ee}}),null),z(J,$(V_,{permissions:["read:patient"],get children(){return $(Yee,{client:Z,get children(){return[$($e,{get when(){return!w()},get children(){return $(Ip,{type:"warning",header:"You do not have permission to prescribe",message:"You have access to see the form but you will not be able to submit an order."})}}),$(sce,{get actions(){return e.formActions},get store(){return e.formStore},get patientId(){return e.patientId},client:n,get enableOrder(){return e.enableOrder},get address(){return e.address},get weight(){return e.weight},get weightUnit(){return e.weightUnit},get enableMedHistory(){return e.enableMedHistory},get enableMedHistoryLinks(){return e.enableMedHistoryLinks??!1},get hidePatientCard(){return e.hidePatientCard}}),$($e,{get when(){return e.formStore.patient?.value?.address||e.formStore.patient?.value?.id&&!e.enableOrder},get children(){return[$($e,{get when(){return e.enableCombineAndDuplicate},get children(){return $(Mo.Card,{})}}),$($e,{get when(){return r()||u()},get children(){const ee=mce.cloneNode(!0),ae=ce;return typeof ae=="function"?wt(ae,ee):ce=ee,z(ee,$(Hde,{get hideAddToTemplates(){return e.hideTemplates},get actions(){return e.formActions},get store(){return e.formStore},get weight(){return e.weight},get weightUnit(){return e.weightUnit},prefillNotes:v,get enableCombineAndDuplicate(){return e.enableCombineAndDuplicate}})),ee}}),$(Kde,{get templateIds(){return e.templateIds?.split(",")||[]},get templateOverrides(){return e.templateOverrides||{}},get prescriptionIds(){return e.prescriptionIds?.split(",")||[]},prescriptionRef:ce,get actions(){return e.formActions},get store(){return e.formStore},setIsEditing:f}),$($e,{get when(){return e.enableOrder&&!e.pharmacyId},get children(){return $(Jde,{get store(){return e.formStore},get actions(){return e.formActions},get enableLocalPickup(){return e.enableLocalPickup},get enableSendToPatient(){return e.enableSendToPatient},get mailOrderIds(){return e.mailOrderIds}})}}),$($e,{get when(){return e.enableOrder&&e.pharmacyId},get children(){return $(uce,{get pharmacyId(){return e.pharmacyId}})}}),$($e,{get when(){return!e.hideSubmit},get children(){return[$($e,{get when(){return o().length>0&&e.enableOrder},get children(){const ee=gce.cloneNode(!0);return z(ee,$(Cn,{get each(){return o()},get fallback(){return bce.cloneNode(!0)},children:({key:ae,error:ne})=>$(Ip,{type:"warning",header:`Error with ${ae}`,message:ne})})),ee}}),(()=>{const ee=vce.cloneNode(!0);return z(ee,$($e,{get when(){return!r()},get children(){return $(Pt,{variant:"secondary",onClick:()=>i(!0),children:"Add Prescription"})}}),null),z(ee,$(Pt,{get loading(){return l()},onClick:U,get children(){return e.enableOrder?"Send Order":"Save Prescriptions"}}),null),ee})()]}})]}})]}})}}),null),Q})()}const wce=e=>{const{store:t,actions:n}=j_({dispenseAsWritten:!1,patient:void 0,treatment:void 0,draftPrescriptions:[],pharmacy:void 0,errors:[],address:void 0});return $(Mo,{get patientId(){return t.patient?.value?.id},get children(){return $($ce,{get patientId(){return e.patientId},get templateIds(){return e.templateIds},get templateOverrides(){return e.templateOverrides},get prescriptionIds(){return e.prescriptionIds},get hideSubmit(){return e.hideSubmit},get hideTemplates(){return e.hideTemplates},get hidePatientCard(){return e.hidePatientCard},get enableOrder(){return e.enableOrder},get enableLocalPickup(){return e.enableLocalPickup},get enableSendToPatient(){return e.enableSendToPatient},get enableMedHistory(){return e.enableMedHistory},get enableMedHistoryLinks(){return e.enableMedHistoryLinks},get enableCombineAndDuplicate(){return e.enableCombineAndDuplicate},get mailOrderIds(){return e.mailOrderIds},get pharmacyId(){return e.pharmacyId},get loading(){return e.loading},get address(){return e.address},get weight(){return e.weight},get weightUnit(){return e.weightUnit},get additionalNotes(){return e.additionalNotes},get triggerSubmit(){return e.triggerSubmit},get toastBuffer(){return e.toastBuffer},formStore:t,formActions:n,get externalOrderId(){return e.externalOrderId}})}})};qt("photon-prescribe-workflow",{patientId:void 0,templateIds:void 0,templateOverrides:void 0,prescriptionIds:void 0,hideSubmit:!1,hideTemplates:!1,hidePatientCard:!1,enableOrder:!1,enableLocalPickup:!1,enableSendToPatient:!1,enableCombineAndDuplicate:!1,enableMedHistory:!1,enableMedHistoryLinks:!1,mailOrderIds:void 0,pharmacyId:void 0,loading:!1,address:void 0,weight:void 0,weightUnit:"lbs",additionalNotes:void 0,triggerSubmit:!1,setTriggerSubmit:void 0,toastBuffer:0,externalOrderId:void 0},wce);const _ce=de('<p class="font-sans text-l font-medium mb-2"></p>'),xce=de('<sl-icon-button class="self-start"></sl-icon-button>'),kce=de("<style></style>"),Cce=de('<div class="rounded-lg bg-white p-4 shadow-card border border-gray-200"></div>'),Ece=de('<div class="flex flex-row justify-between"></div>'),Sce=de("<slot></slot>"),Oce=e=>{const[t,n]=te(!0);let r=null,i=null;return e.title&&(r=(()=>{const o=_ce.cloneNode(!0);return z(o,()=>e.title),o})()),e.collapsable&&(i=(()=>{const o=Ce(()=>document.importNode(xce,!0));return o.addEventListener("click",()=>{n(!t())}),o._$owner=Oe(),ve(()=>o.name=t()?"chevron-right":"chevron-down"),o})()),[(()=>{const o=kce.cloneNode(!0);return z(o,En),o})(),(()=>{const o=Cce.cloneNode(!0);return z(o,r||i?(()=>{const a=Ece.cloneNode(!0);return z(a,r,null),z(a,i,null),a})():null,null),z(o,(()=>{const a=oe(()=>!!(e.collapsable&&t()));return()=>a()?null:(()=>{const l=Sce.cloneNode(!0);return l._$owner=Oe(),l})()})(),null),ve(a=>{const l=!!e.invalid,c=!!e.invalid;return l!==a._v$&&o.classList.toggle("border-red-400",a._v$=l),c!==a._v$2&&o.classList.toggle("border-2",a._v$2=c),a},{_v$:void 0,_v$2:void 0}),o})()]};qt("photon-card",{invalid:!1,title:null,collapsable:!1},Oce);const Tce=H2`
|
|
3519
|
+
`),e.weight&&(v=`${v}${hce(e.weight,e?.weightUnit)}`),Ht(()=>{e.address&&e.formActions.updateFormValue({key:"address",value:e.address}),t.addEventListener("photon-ticket-created-duplicate",()=>{xm(e.formActions,v?{notes:v}:void 0)})}),Ae(()=>{!n?.authentication.state.isAuthenticated&&!n?.authentication.state.isLoading&&!n?.authentication.state.error&&n?.autoLogin&&n?.authentication.login({appState:{returnTo:window.location.pathname}})}),Ae(()=>{c(n?.authentication.state.isLoading||!1)}),Ae(()=>{m(n?.authentication.state.isAuthenticated||!1)});const w=oe(()=>n3(["write:prescription"],n?.authentication.state.permissions||[])),x=oe(()=>{const Q=e.formStore?.address?.value??e.formStore?.patient?.value?.address??{},{__typename:G,name:re,...K}=Q;return{street2:"",country:"US",...K}}),A=Q=>{const G=new CustomEvent("photon-prescriptions-created",{composed:!0,bubbles:!0,detail:{prescriptions:Q}});t?.dispatchEvent(G)},S=Q=>{const G=new CustomEvent("photon-order-created",{composed:!0,bubbles:!0,detail:{order:Q}});t?.dispatchEvent(G)},O=Q=>{const G=new CustomEvent("photon-prescriptions-error",{composed:!0,bubbles:!0,detail:{errors:Q}});t?.dispatchEvent(G)},E=(Q=[])=>{const G=new CustomEvent("photon-order-error",{composed:!0,bubbles:!0,detail:{errors:Q}});t?.dispatchEvent(G)},M=Q=>{const G=new CustomEvent("photon-form-validate",{composed:!0,bubbles:!0,detail:{canSubmit:Q,form:e.formStore,actions:e.formActions}});t?.dispatchEvent(G)},P=()=>g.setIsCombineDialogOpen(!0,()=>L(e.enableOrder),e.formStore.draftPrescriptions.value,x()),L=async Q=>{if(l())return;if(a([]),!w())return Cr({status:"error",header:"Unauthorized",body:"You do not have permission to prescribe"});const G=Q?["patient","draftPrescriptions","pharmacy","address"]:["patient","draftPrescriptions"];e.formActions.validate(G);const re=e.formActions.getErrors(G);if(re.length===0){c(!0),e.formActions.updateFormValue({key:"errors",value:[]});const K=n.getSDK().clinical.order.createOrder({}),H=n.getSDK().clinical.patient.removePatientPreferredPharmacy({}),ye=n.getSDK().clinical.patient.updatePatient({}),pe=n.getSDK().clinical.prescription.createPrescriptions({}),ee=[],we=n.getSDK().clinical.prescriptionTemplate.createPrescriptionTemplate({});for(const X of e.formStore.draftPrescriptions.value){const ae={daysSupply:X.daysSupply,dispenseAsWritten:X.dispenseAsWritten,dispenseQuantity:X.dispenseQuantity,dispenseUnit:X.dispenseUnit,effectiveDate:X.effectiveDate,instructions:X.instructions,notes:X.notes,patientId:e.formStore.patient?.value.id,fillsAllowed:X.refillsInput?X.refillsInput+1:1,treatmentId:X.treatment.id,externalId:X.externalId};if(X.addToTemplates)try{const{errors:ne}=await we({variables:{...ae,catalogId:X.catalogId,isPrivate:!0},awaitRefetchQueries:!1});ne&&E(ne)}catch(ne){E([ne])}ee.push(ae)}try{const{data:X,errors:ae}=await pe({variables:{prescriptions:ee},refetchQueries:[],awaitRefetchQueries:!1});if(e.enableOrder||c(!1),ae){O(ae);return}if(A(X.createPrescriptions),e.enableOrder){if(e.formStore.updatePreferredPharmacy?.value&&e.formStore.pharmacy?.value&&e.formStore.fulfillmentType?.value==="PICK_UP"){const Be=e.formStore.patient?.value;Be?.preferredPharmacies&&Be?.preferredPharmacies?.length>0&&H({variables:{patientId:Be.id,pharmacyId:Be?.preferredPharmacies?.[0]?.id},awaitRefetchQueries:!1}),ye({variables:{id:Be.id,preferredPharmacies:[e.formStore.pharmacy?.value]},awaitRefetchQueries:!1})}const{data:ne,errors:ze}=await K({variables:{...e.externalOrderId?{externalId:e.externalOrderId}:{},patientId:e.formStore.patient?.value.id,pharmacyId:e?.pharmacyId||e.formStore.pharmacy?.value||"",fulfillmentType:e.formStore.fulfillmentType?.value||"",address:x(),fills:X?.createPrescriptions.map(Be=>({prescriptionId:Be.id}))},refetchQueries:[],awaitRefetchQueries:!1});if(e.enableOrder&&c(!1),ze){E(ze);return}S(ne.createOrder)}}catch(X){E([X]),c(!1),Cr({status:"error",header:"Error Creating Order",body:X?.message})}}else a(re)},U=()=>e.enableCombineAndDuplicate&&g.hasRoutingOrder()?P():L(e.enableOrder);Ae(()=>{e.triggerSubmit&&Ce(()=>U())}),Ae(()=>{M(Boolean(e.formStore.draftPrescriptions?.value?.length>0&&e.formStore.patient?.value))});const Z=n.sdk.apolloClinical;let ce;return(()=>{const Q=yce.cloneNode(!0),G=Q.firstChild,re=G.nextSibling,K=re.nextSibling,H=K.nextSibling,ye=H.nextSibling,pe=ye.nextSibling,ee=pe.firstChild,we=t;return typeof we=="function"?wt(we,Q):t=Q,z(G,En),z(re,Ci),z(K,Ei),z(H,fce),z(ye,Bi),z(Q,$($e,{get when(){return e.enableCombineAndDuplicate},get children(){return[$(Mo.DuplicateDialog,{}),$(Mo.CombineDialog,{}),$(Mo.IssueDialog,{})]}}),pe),z(pe,$(zee,{get buffer(){return e?.toastBuffer||0}}),ee),z(ee,$($e,{get when(){return oe(()=>!!(!n||l()))()&&!p()},get children(){const X=pce.cloneNode(!0);return z(X,$(jo,{color:"green"})),X}}),null),z(ee,$(V_,{permissions:["read:patient"],get children(){return $(Yee,{client:Z,get children(){return[$($e,{get when(){return!w()},get children(){return $(Ip,{type:"warning",header:"You do not have permission to prescribe",message:"You have access to see the form but you will not be able to submit an order."})}}),$(sce,{get actions(){return e.formActions},get store(){return e.formStore},get patientId(){return e.patientId},client:n,get enableOrder(){return e.enableOrder},get address(){return e.address},get weight(){return e.weight},get weightUnit(){return e.weightUnit},get enableMedHistory(){return e.enableMedHistory},get enableMedHistoryLinks(){return e.enableMedHistoryLinks??!1},get hidePatientCard(){return e.hidePatientCard}}),$($e,{get when(){return e.formStore.patient?.value?.address||e.formStore.patient?.value?.id&&!e.enableOrder},get children(){return[$($e,{get when(){return e.enableCombineAndDuplicate},get children(){return $(Mo.Card,{})}}),$($e,{get when(){return r()||u()},get children(){const X=mce.cloneNode(!0),ae=ce;return typeof ae=="function"?wt(ae,X):ce=X,z(X,$(Hde,{get hideAddToTemplates(){return e.hideTemplates},get actions(){return e.formActions},get store(){return e.formStore},get weight(){return e.weight},get weightUnit(){return e.weightUnit},prefillNotes:v,get enableCombineAndDuplicate(){return e.enableCombineAndDuplicate}})),X}}),$(Kde,{get templateIds(){return e.templateIds?.split(",")||[]},get templateOverrides(){return e.templateOverrides||{}},get prescriptionIds(){return e.prescriptionIds?.split(",")||[]},prescriptionRef:ce,get actions(){return e.formActions},get store(){return e.formStore},setIsEditing:f}),$($e,{get when(){return e.enableOrder&&!e.pharmacyId},get children(){return $(Jde,{get store(){return e.formStore},get actions(){return e.formActions},get enableLocalPickup(){return e.enableLocalPickup},get enableSendToPatient(){return e.enableSendToPatient},get mailOrderIds(){return e.mailOrderIds}})}}),$($e,{get when(){return e.enableOrder&&e.pharmacyId},get children(){return $(uce,{get pharmacyId(){return e.pharmacyId}})}}),$($e,{get when(){return!e.hideSubmit},get children(){return[$($e,{get when(){return o().length>0&&e.enableOrder},get children(){const X=gce.cloneNode(!0);return z(X,$(Cn,{get each(){return o()},get fallback(){return bce.cloneNode(!0)},children:({key:ae,error:ne})=>$(Ip,{type:"warning",header:`Error with ${ae}`,message:ne})})),X}}),(()=>{const X=vce.cloneNode(!0);return z(X,$($e,{get when(){return!r()},get children(){return $(Pt,{variant:"secondary",onClick:()=>i(!0),children:"Add Prescription"})}}),null),z(X,$(Pt,{get loading(){return l()},onClick:U,get children(){return e.enableOrder?"Send Order":"Save Prescriptions"}}),null),X})()]}})]}})]}})}}),null),Q})()}const wce=e=>{const{store:t,actions:n}=j_({dispenseAsWritten:!1,patient:void 0,treatment:void 0,draftPrescriptions:[],pharmacy:void 0,errors:[],address:void 0});return $(Mo,{get patientId(){return t.patient?.value?.id},get children(){return $($ce,{get patientId(){return e.patientId},get templateIds(){return e.templateIds},get templateOverrides(){return e.templateOverrides},get prescriptionIds(){return e.prescriptionIds},get hideSubmit(){return e.hideSubmit},get hideTemplates(){return e.hideTemplates},get hidePatientCard(){return e.hidePatientCard},get enableOrder(){return e.enableOrder},get enableLocalPickup(){return e.enableLocalPickup},get enableSendToPatient(){return e.enableSendToPatient},get enableMedHistory(){return e.enableMedHistory},get enableMedHistoryLinks(){return e.enableMedHistoryLinks},get enableCombineAndDuplicate(){return e.enableCombineAndDuplicate},get mailOrderIds(){return e.mailOrderIds},get pharmacyId(){return e.pharmacyId},get loading(){return e.loading},get address(){return e.address},get weight(){return e.weight},get weightUnit(){return e.weightUnit},get additionalNotes(){return e.additionalNotes},get triggerSubmit(){return e.triggerSubmit},get toastBuffer(){return e.toastBuffer},formStore:t,formActions:n,get externalOrderId(){return e.externalOrderId}})}})};qt("photon-prescribe-workflow",{patientId:void 0,templateIds:void 0,templateOverrides:void 0,prescriptionIds:void 0,hideSubmit:!1,hideTemplates:!1,hidePatientCard:!1,enableOrder:!1,enableLocalPickup:!1,enableSendToPatient:!1,enableCombineAndDuplicate:!1,enableMedHistory:!1,enableMedHistoryLinks:!1,mailOrderIds:void 0,pharmacyId:void 0,loading:!1,address:void 0,weight:void 0,weightUnit:"lbs",additionalNotes:void 0,triggerSubmit:!1,setTriggerSubmit:void 0,toastBuffer:0,externalOrderId:void 0},wce);const _ce=de('<p class="font-sans text-l font-medium mb-2"></p>'),xce=de('<sl-icon-button class="self-start"></sl-icon-button>'),kce=de("<style></style>"),Cce=de('<div class="rounded-lg bg-white p-4 shadow-card border border-gray-200"></div>'),Ece=de('<div class="flex flex-row justify-between"></div>'),Sce=de("<slot></slot>"),Oce=e=>{const[t,n]=te(!0);let r=null,i=null;return e.title&&(r=(()=>{const o=_ce.cloneNode(!0);return z(o,()=>e.title),o})()),e.collapsable&&(i=(()=>{const o=Ce(()=>document.importNode(xce,!0));return o.addEventListener("click",()=>{n(!t())}),o._$owner=Oe(),ve(()=>o.name=t()?"chevron-right":"chevron-down"),o})()),[(()=>{const o=kce.cloneNode(!0);return z(o,En),o})(),(()=>{const o=Cce.cloneNode(!0);return z(o,r||i?(()=>{const a=Ece.cloneNode(!0);return z(a,r,null),z(a,i,null),a})():null,null),z(o,(()=>{const a=oe(()=>!!(e.collapsable&&t()));return()=>a()?null:(()=>{const l=Sce.cloneNode(!0);return l._$owner=Oe(),l})()})(),null),ve(a=>{const l=!!e.invalid,c=!!e.invalid;return l!==a._v$&&o.classList.toggle("border-red-400",a._v$=l),c!==a._v$2&&o.classList.toggle("border-2",a._v$2=c),a},{_v$:void 0,_v$2:void 0}),o})()]};qt("photon-card",{invalid:!1,title:null,collapsable:!1},Oce);const Tce=H2`
|
|
3520
3520
|
fragment CatalogTreatmentsFields on Catalog {
|
|
3521
3521
|
id
|
|
3522
3522
|
treatments {
|
|
@@ -4125,7 +4125,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4125
4125
|
phone
|
|
4126
4126
|
}
|
|
4127
4127
|
}
|
|
4128
|
-
`,w2e=()=>{const[e,t]=Ca({pharmacies:{data:[],address:void 0,errors:[],isLoading:!1},selectedPharmacy:{data:void 0,errors:[],isLoading:!1},preferredPharmacies:{data:void 0,errors:[],isLoading:!1}}),n=async(u,f,p,m)=>{try{const g=await f.geocode({address:p}),v=g.results[0].geometry.location.lat(),w=g.results[0].geometry.location.lng(),x=g.results[0].formatted_address;if(x&&t("pharmacies",{...e.pharmacies,address:x,errors:[]}),!v||!w){t("pharmacies",{...e.pharmacies,errors:[new Error("An unexpected error occured")]});return}await r(u,{name:m,location:{latitude:v,longitude:w,radius:20}})}catch(g){console.log("ERR",g),t("pharmacies",{...e.pharmacies,errors:[new Error("The provided address seems invalid. Please revise and try again.")]})}},r=async(u,f)=>{t("pharmacies",{...e.pharmacies,isLoading:!0});const{data:p,errors:m}=await u.clinical.pharmacy.getPharmacies({name:f.name,location:f.location,first:f.first,type:"PICK_UP"});t("pharmacies",{...e.pharmacies,isLoading:!1,data:p.pharmacies,errors:m})};return{store:e,actions:{getPharmacies:r,getPharmaciesByAddress:n,getPharmacy:async(u,f)=>{t("selectedPharmacy",{...e.selectedPharmacy,isLoading:!0});const{data:p,errors:m}=await u.clinical.pharmacy.getPharmacy({id:f});(e.pharmacies.errors||[]).filter(g=>g.message.includes("seems invalid")||g.message.includes("unexpected error")).length>0&&t("pharmacies",{...e.pharmacies,errors:[]}),t("selectedPharmacy",{...e.selectedPharmacy,isLoading:!1,data:p.pharmacy,errors:m})},clearSelectedPharmacy:()=>{t("selectedPharmacy",{...e.selectedPharmacy,data:void 0,errors:[]})},getPreferredPharmacies:async(u,f)=>{t("preferredPharmacies",{...e.preferredPharmacies,isLoading:!0});const{data:p,errors:m}=await u.clinical.patient.getPatient({id:f,fragment:{PatientPharmacyFields:$2e}});t("preferredPharmacies",{...e.selectedPharmacy,isLoading:!1,data:p.patient.preferredPharmacies?.map(g=>g),errors:m})},clearPreferredPharmacies:()=>{t("preferredPharmacies",{...e.selectedPharmacy,data:[],errors:[]})},reset:async()=>{t("pharmacies",{data:[],errors:[],address:void 0,isLoading:!1}),t("selectedPharmacy",{data:void 0,errors:[],isLoading:!1}),t("preferredPharmacies",{data:void 0,errors:[],isLoading:!1})}}}},_2e=w2e(),x2e=de('<div class="w-full flex justify-center"></div>'),k2e=de('<div><p class="font-sans text-lg flex-grow">Personal</p><div class="flex flex-col xs:flex-row xs:gap-4"><photon-text-input class="flex-grow min-w-[40%]" debounce-time="0" label="First Name"></photon-text-input><photon-text-input class="min-w-[48%]" debounce-time="0" label="Last Name"></photon-text-input></div><div class="flex flex-col xs:flex-row items-center xs:gap-4"><photon-datepicker no-initial-date="true" class="flex-grow w-full xs:min-w-[40%]" label="Date of Birth"></photon-datepicker><photon-phone-input class="w-full xs:min-w-[48%]" label="Mobile Number"></photon-phone-input></div><div class="flex flex-col xs:flex-row justify-between xs:gap-4"><div class="flex-grow w-full xs:min-w-[40%]"><photon-gender-input label="Gender" required="false"></photon-gender-input></div><div class="flex-grow w-full xs:min-w-[40%]"><photon-sex-input label="Sex at Birth" required="false"></photon-sex-input></div></div><div class="mt-2"><photon-text-input debounce-time="0" label="Email"></photon-text-input></div></div>'),C2e=de('<div><p class="font-sans text-lg flex-grow">Address</p><photon-text-input debounce-time="0" label="Street 1"></photon-text-input><photon-text-input debounce-time="0" label="Street 2"></photon-text-input><photon-text-input debounce-time="0" label="City"></photon-text-input><div class="flex gap-4 pb-5 xs:pb-2"><photon-state-input class="flex-grow min-w-[40%]" label="State" required="false"></photon-state-input><photon-text-input debounce-time="0" class="flex-grow min-w-[40%]" label="Zip Code"></photon-text-input></div></div>'),E2e=de('<div><p class="font-sans text-lg flex-grow">Preferred Local Pharmacy</p></div>'),S2e=de('<div class="flex flex-col gap-8"></div>'),O2e=de('<div class="w-full h-full relative"><style></style><style></style><style></style><style></style></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const T2e=(e,t)=>{const n=e.selectedPatient.data?.address;return t.address_zip?.value&&bte(t.address_zip?.value)&&t.address_zip?.value!=n?.postalCode?t.address_zip?.value:n?`${n.street1} ${n.street2??""} ${n.city}, ${n.state} ${n.postalCode}`:""},A2e=e=>{let t;const n=Br(),{store:r,actions:i}=sf,{actions:o}=_2e,{store:a,actions:l}=j_({firstName:void 0,lastName:void 0,dateOfBirth:void 0,phone:void 0,gender:void 0,sex:void 0,email:void 0,address_street1:void 0,address_street2:void 0,address_city:void 0,address_state:void 0,address_zip:void 0,preferredPharmacy:void 0});l.registerValidator({key:"firstName",validator:Pn(pa(Xr(),1,1/0),"Please enter a first name.")}),l.registerValidator({key:"lastName",validator:Pn(pa(Xr(),1,1/0),"Please enter a last name.")}),l.registerValidator({key:"dateOfBirth",validator:Pn(w5([Mde,E5()]),"Please enter a valid date of birth.")}),l.registerValidator({key:"sex",validator:Pn(Ure(Mm.map(u=>u.name)),"Please enter Sex at Birth.")}),l.registerValidator({key:"phone",validator:Pn(pa(Xr(),12),"Please enter a valid mobile number.")}),l.registerValidator({key:"email",validator:Pn(w5([Rde(),E5()]),"Please enter a valid email.")}),l.registerValidator({key:"address_zip",validator:Pn(w5([Fde(),E5()]),"Please enter a valid zip code...")}),Ht(()=>{e.patientId?i.getSelectedPatient(n.getSDK(),e.patientId):i.clearSelectedPatient()});const c=u=>{const f=new CustomEvent("photon-form-updated",{composed:!0,bubbles:!0,detail:{form:u,actions:l,selected:r,reset:()=>{l.reset(),i.reset(),o.reset()}}});t?.dispatchEvent(f)};return Ae(()=>{r.selectedPatient.data&&(l.updateFormValue({key:"firstName",value:r.selectedPatient.data.name.first}),l.updateFormValue({key:"lastName",value:r.selectedPatient.data.name.last}),l.updateFormValue({key:"phone",value:r.selectedPatient.data.phone}),l.updateFormValue({key:"gender",value:r.selectedPatient.data.gender}),l.updateFormValue({key:"sex",value:r.selectedPatient.data.sex}),l.updateFormValue({key:"email",value:r.selectedPatient.data.email}),l.updateFormValue({key:"address_street1",value:r.selectedPatient.data.address?.street1}),l.updateFormValue({key:"address_street2",value:r.selectedPatient.data.address?.street2}),l.updateFormValue({key:"address_city",value:r.selectedPatient.data.address?.city}),l.updateFormValue({key:"address_state",value:r.selectedPatient.data.address?.state}),l.updateFormValue({key:"address_zip",value:r.selectedPatient.data.address?.postalCode}),l.updateFormValue({key:"preferredPharmacy",value:r.selectedPatient.data.preferredPharmacies?.[0]?.id}))}),Ae(()=>{c(a)}),Sr(()=>{i.clearSelectedPatient(),l.reset()}),(()=>{const u=O2e.cloneNode(!0),f=u.firstChild,p=f.nextSibling,m=p.nextSibling,g=m.nextSibling,v=t;return typeof v=="function"?wt(v,u):t=u,z(f,En),z(p,Ci),z(m,Ei),z(g,Bi),z(u,$($e,{get when(){return r.selectedPatient.isLoading},get children(){const w=x2e.cloneNode(!0);return z(w,$(jo,{color:"green"})),w}}),null),z(u,$($e,{get when(){return!r.selectedPatient.isLoading},get children(){return $(V_,{permissions:["write:patient"],get children(){const w=S2e.cloneNode(!0);return z(w,$(Er,{get children(){const x=Ce(()=>document.importNode(k2e,!0)),A=x.firstChild,S=A.nextSibling,O=S.firstChild,E=O.nextSibling,M=S.nextSibling,P=M.firstChild,L=P.nextSibling,U=M.nextSibling,Z=U.firstChild,ce=Z.firstChild,Q=Z.nextSibling,G=Q.firstChild,re=U.nextSibling,K=re.firstChild;return O.addEventListener("photon-input-changed",async H=>{l.updateFormValue({key:"firstName",value:H.detail.input})}),O._$owner=Oe(),E.addEventListener("photon-input-changed",async H=>{l.updateFormValue({key:"lastName",value:H.detail.input})}),E._$owner=Oe(),P.addEventListener("photon-datepicker-selected",async H=>{l.updateFormValue({key:"dateOfBirth",value:H.detail.date})}),P._$owner=Oe(),L.addEventListener("photon-phone-changed",async H=>{l.updateFormValue({key:"phone",value:H.detail.phone})}),L._$owner=Oe(),ce.addEventListener("photon-gender-selected",H=>{l.updateFormValue({key:"gender",value:H.detail.gender})}),ce.addEventListener("photon-gender-deselected",()=>{l.updateFormValue({key:"gender",value:void 0})}),ce._$owner=Oe(),G.addEventListener("photon-sex-selected",H=>{l.updateFormValue({key:"sex",value:H.detail.sex})}),G.addEventListener("photon-sex-deselected",()=>{l.updateFormValue({key:"sex",value:void 0})}),G._$owner=Oe(),K.addEventListener("photon-input-changed",async H=>{l.updateFormValue({key:"email",value:H.detail.input})}),K._$owner=Oe(),ve(H=>{const ye=a.firstName?.error,pe=a.firstName?.error,J=a.lastName?.error,we=a.lastName?.error,ee=a.dateOfBirth?.error,ae=a.dateOfBirth?.error,ne=a.phone?.error,ze=a.phone?.error,Be=a.gender?.error,rt=a.gender?.error!==void 0,_e=r.selectedPatient.data?.gender,at=a.sex?.error,Ue=a.sex?.error!==void 0,Ve=r.selectedPatient.data?.sex,ct=a.email?.error,_t=a.email?.error;return ye!==H._v$&&(O.invalid=H._v$=ye),pe!==H._v$2&&(O.helpText=H._v$2=pe),J!==H._v$3&&(E.invalid=H._v$3=J),we!==H._v$4&&(E.helpText=H._v$4=we),ee!==H._v$5&&(P.invalid=H._v$5=ee),ae!==H._v$6&&(P.helpText=H._v$6=ae),ne!==H._v$7&&(L.invalid=H._v$7=ne),ze!==H._v$8&&(L.helpText=H._v$8=ze),Be!==H._v$9&&(ce.helpText=H._v$9=Be),rt!==H._v$10&&(ce.invalid=H._v$10=rt),_e!==H._v$11&&(ce.selected=H._v$11=_e),at!==H._v$12&&(G.helpText=H._v$12=at),Ue!==H._v$13&&(G.invalid=H._v$13=Ue),Ve!==H._v$14&&(G.selected=H._v$14=Ve),ct!==H._v$15&&(K.invalid=H._v$15=ct),_t!==H._v$16&&(K.helpText=H._v$16=_t),H},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),ve(()=>O.value=a.firstName?.value??r.selectedPatient.data?.name.first),ve(()=>E.value=a.lastName?.value??r.selectedPatient.data?.name.last),ve(()=>P.value=e.patientId?r.selectedPatient.data?.dateOfBirth:a.dateOfBirth?.value),ve(()=>L.value=a.phone?.value??r.selectedPatient.data?.phone),ve(()=>K.value=a.email?.value??r.selectedPatient.data?.email),x}}),null),z(w,$(Er,{get children(){const x=Ce(()=>document.importNode(C2e,!0)),A=x.firstChild,S=A.nextSibling,O=S.nextSibling,E=O.nextSibling,M=E.nextSibling,P=M.firstChild,L=P.nextSibling;return S.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_street1",value:U.detail.input})}),S._$owner=Oe(),O.optional=!0,O.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_street2",value:U.detail.input})}),O._$owner=Oe(),E.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_city",value:U.detail.input})}),E._$owner=Oe(),P.addEventListener("photon-state-selected",U=>{l.updateFormValue({key:"address_state",value:U.detail.state})}),P._$owner=Oe(),L.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_zip",value:U.detail.input})}),L._$owner=Oe(),ve(U=>{const Z=a.address_street1?.error,ce=a.address_street1?.error,Q=a.address_street2?.error,G=a.address_street2?.error,re=a.address_city?.error,K=a.address_city?.error,H=a.address_state?.error,ye=a.address_state?.error!==void 0,pe=a.state?.value??r.selectedPatient.data?.address?.state,J=a.address_zip?.error,we=a.address_zip?.error;return Z!==U._v$17&&(S.invalid=U._v$17=Z),ce!==U._v$18&&(S.helpText=U._v$18=ce),Q!==U._v$19&&(O.invalid=U._v$19=Q),G!==U._v$20&&(O.helpText=U._v$20=G),re!==U._v$21&&(E.invalid=U._v$21=re),K!==U._v$22&&(E.helpText=U._v$22=K),H!==U._v$23&&(P.helpText=U._v$23=H),ye!==U._v$24&&(P.invalid=U._v$24=ye),pe!==U._v$25&&(P.selected=U._v$25=pe),J!==U._v$26&&(L.invalid=U._v$26=J),we!==U._v$27&&(L.helpText=U._v$27=we),U},{_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0,_v$21:void 0,_v$22:void 0,_v$23:void 0,_v$24:void 0,_v$25:void 0,_v$26:void 0,_v$27:void 0}),ve(()=>S.value=a.address_street1?.value??r.selectedPatient.data?.address?.street1),ve(()=>O.value=a.address_street2?.value??r.selectedPatient.data?.address?.street2),ve(()=>E.value=a.address_city?.value??r.selectedPatient.data?.address?.city),ve(()=>L.value=a.address_zip?.value??r.selectedPatient.data?.address?.postalCode),x}}),null),z(w,$(Er,{get children(){const x=E2e.cloneNode(!0);return x.firstChild,z(x,$(Bw,{get address(){return T2e(r,a)},setPharmacy:A=>{l.updateFormValue({key:"preferredPharmacy",value:A.id})},get patientId(){return e.patientId},hidePreferred:!0}),null),x}}),null),w}})}}),null),u})()};qt("photon-patient-form",{patientId:""},A2e);const N2e=`.input::part(base){border-radius:var(--photon-border-radius, .5rem)}.invalid::part(base){--tw-border-opacity: 1;border-color:rgb(248 113 113/var(--tw-border-opacity));border-width:2px}.invalid::part(form-control-help-text){--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}
|
|
4128
|
+
`,w2e=()=>{const[e,t]=Ca({pharmacies:{data:[],address:void 0,errors:[],isLoading:!1},selectedPharmacy:{data:void 0,errors:[],isLoading:!1},preferredPharmacies:{data:void 0,errors:[],isLoading:!1}}),n=async(u,f,p,m)=>{try{const g=await f.geocode({address:p}),v=g.results[0].geometry.location.lat(),w=g.results[0].geometry.location.lng(),x=g.results[0].formatted_address;if(x&&t("pharmacies",{...e.pharmacies,address:x,errors:[]}),!v||!w){t("pharmacies",{...e.pharmacies,errors:[new Error("An unexpected error occured")]});return}await r(u,{name:m,location:{latitude:v,longitude:w}})}catch(g){console.log("ERR",g),t("pharmacies",{...e.pharmacies,errors:[new Error("The provided address seems invalid. Please revise and try again.")]})}},r=async(u,f)=>{t("pharmacies",{...e.pharmacies,isLoading:!0});const{data:p,errors:m}=await u.clinical.pharmacy.getPharmacies({name:f.name,location:f.location,first:f.first,type:"PICK_UP"});t("pharmacies",{...e.pharmacies,isLoading:!1,data:p.pharmacies,errors:m})};return{store:e,actions:{getPharmacies:r,getPharmaciesByAddress:n,getPharmacy:async(u,f)=>{t("selectedPharmacy",{...e.selectedPharmacy,isLoading:!0});const{data:p,errors:m}=await u.clinical.pharmacy.getPharmacy({id:f});(e.pharmacies.errors||[]).filter(g=>g.message.includes("seems invalid")||g.message.includes("unexpected error")).length>0&&t("pharmacies",{...e.pharmacies,errors:[]}),t("selectedPharmacy",{...e.selectedPharmacy,isLoading:!1,data:p.pharmacy,errors:m})},clearSelectedPharmacy:()=>{t("selectedPharmacy",{...e.selectedPharmacy,data:void 0,errors:[]})},getPreferredPharmacies:async(u,f)=>{t("preferredPharmacies",{...e.preferredPharmacies,isLoading:!0});const{data:p,errors:m}=await u.clinical.patient.getPatient({id:f,fragment:{PatientPharmacyFields:$2e}});t("preferredPharmacies",{...e.selectedPharmacy,isLoading:!1,data:p.patient.preferredPharmacies?.map(g=>g),errors:m})},clearPreferredPharmacies:()=>{t("preferredPharmacies",{...e.selectedPharmacy,data:[],errors:[]})},reset:async()=>{t("pharmacies",{data:[],errors:[],address:void 0,isLoading:!1}),t("selectedPharmacy",{data:void 0,errors:[],isLoading:!1}),t("preferredPharmacies",{data:void 0,errors:[],isLoading:!1})}}}},_2e=w2e(),x2e=de('<div class="w-full flex justify-center"></div>'),k2e=de('<div><p class="font-sans text-lg flex-grow">Personal</p><div class="flex flex-col xs:flex-row xs:gap-4"><photon-text-input class="flex-grow min-w-[40%]" debounce-time="0" label="First Name"></photon-text-input><photon-text-input class="min-w-[48%]" debounce-time="0" label="Last Name"></photon-text-input></div><div class="flex flex-col xs:flex-row items-center xs:gap-4"><photon-datepicker no-initial-date="true" class="flex-grow w-full xs:min-w-[40%]" label="Date of Birth"></photon-datepicker><photon-phone-input class="w-full xs:min-w-[48%]" label="Mobile Number"></photon-phone-input></div><div class="flex flex-col xs:flex-row justify-between xs:gap-4"><div class="flex-grow w-full xs:min-w-[40%]"><photon-gender-input label="Gender" required="false"></photon-gender-input></div><div class="flex-grow w-full xs:min-w-[40%]"><photon-sex-input label="Sex at Birth" required="false"></photon-sex-input></div></div><div class="mt-2"><photon-text-input debounce-time="0" label="Email"></photon-text-input></div></div>'),C2e=de('<div><p class="font-sans text-lg flex-grow">Address</p><photon-text-input debounce-time="0" label="Street 1"></photon-text-input><photon-text-input debounce-time="0" label="Street 2"></photon-text-input><photon-text-input debounce-time="0" label="City"></photon-text-input><div class="flex gap-4 pb-5 xs:pb-2"><photon-state-input class="flex-grow min-w-[40%]" label="State" required="false"></photon-state-input><photon-text-input debounce-time="0" class="flex-grow min-w-[40%]" label="Zip Code"></photon-text-input></div></div>'),E2e=de('<div><p class="font-sans text-lg flex-grow">Preferred Local Pharmacy</p></div>'),S2e=de('<div class="flex flex-col gap-8"></div>'),O2e=de('<div class="w-full h-full relative"><style></style><style></style><style></style><style></style></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const T2e=(e,t)=>{const n=e.selectedPatient.data?.address;return t.address_zip?.value&&bte(t.address_zip?.value)&&t.address_zip?.value!=n?.postalCode?t.address_zip?.value:n?`${n.street1} ${n.street2??""} ${n.city}, ${n.state} ${n.postalCode}`:""},A2e=e=>{let t;const n=Br(),{store:r,actions:i}=sf,{actions:o}=_2e,{store:a,actions:l}=j_({firstName:void 0,lastName:void 0,dateOfBirth:void 0,phone:void 0,gender:void 0,sex:void 0,email:void 0,address_street1:void 0,address_street2:void 0,address_city:void 0,address_state:void 0,address_zip:void 0,preferredPharmacy:void 0});l.registerValidator({key:"firstName",validator:Pn(pa(Xr(),1,1/0),"Please enter a first name.")}),l.registerValidator({key:"lastName",validator:Pn(pa(Xr(),1,1/0),"Please enter a last name.")}),l.registerValidator({key:"dateOfBirth",validator:Pn(w5([Mde,E5()]),"Please enter a valid date of birth.")}),l.registerValidator({key:"sex",validator:Pn(Ure(Mm.map(u=>u.name)),"Please enter Sex at Birth.")}),l.registerValidator({key:"phone",validator:Pn(pa(Xr(),12),"Please enter a valid mobile number.")}),l.registerValidator({key:"email",validator:Pn(w5([Rde(),E5()]),"Please enter a valid email.")}),l.registerValidator({key:"address_zip",validator:Pn(w5([Fde(),E5()]),"Please enter a valid zip code...")}),Ht(()=>{e.patientId?i.getSelectedPatient(n.getSDK(),e.patientId):i.clearSelectedPatient()});const c=u=>{const f=new CustomEvent("photon-form-updated",{composed:!0,bubbles:!0,detail:{form:u,actions:l,selected:r,reset:()=>{l.reset(),i.reset(),o.reset()}}});t?.dispatchEvent(f)};return Ae(()=>{r.selectedPatient.data&&(l.updateFormValue({key:"firstName",value:r.selectedPatient.data.name.first}),l.updateFormValue({key:"lastName",value:r.selectedPatient.data.name.last}),l.updateFormValue({key:"phone",value:r.selectedPatient.data.phone}),l.updateFormValue({key:"gender",value:r.selectedPatient.data.gender}),l.updateFormValue({key:"sex",value:r.selectedPatient.data.sex}),l.updateFormValue({key:"email",value:r.selectedPatient.data.email}),l.updateFormValue({key:"address_street1",value:r.selectedPatient.data.address?.street1}),l.updateFormValue({key:"address_street2",value:r.selectedPatient.data.address?.street2}),l.updateFormValue({key:"address_city",value:r.selectedPatient.data.address?.city}),l.updateFormValue({key:"address_state",value:r.selectedPatient.data.address?.state}),l.updateFormValue({key:"address_zip",value:r.selectedPatient.data.address?.postalCode}),l.updateFormValue({key:"preferredPharmacy",value:r.selectedPatient.data.preferredPharmacies?.[0]?.id}))}),Ae(()=>{c(a)}),Sr(()=>{i.clearSelectedPatient(),l.reset()}),(()=>{const u=O2e.cloneNode(!0),f=u.firstChild,p=f.nextSibling,m=p.nextSibling,g=m.nextSibling,v=t;return typeof v=="function"?wt(v,u):t=u,z(f,En),z(p,Ci),z(m,Ei),z(g,Bi),z(u,$($e,{get when(){return r.selectedPatient.isLoading},get children(){const w=x2e.cloneNode(!0);return z(w,$(jo,{color:"green"})),w}}),null),z(u,$($e,{get when(){return!r.selectedPatient.isLoading},get children(){return $(V_,{permissions:["write:patient"],get children(){const w=S2e.cloneNode(!0);return z(w,$(Er,{get children(){const x=Ce(()=>document.importNode(k2e,!0)),A=x.firstChild,S=A.nextSibling,O=S.firstChild,E=O.nextSibling,M=S.nextSibling,P=M.firstChild,L=P.nextSibling,U=M.nextSibling,Z=U.firstChild,ce=Z.firstChild,Q=Z.nextSibling,G=Q.firstChild,re=U.nextSibling,K=re.firstChild;return O.addEventListener("photon-input-changed",async H=>{l.updateFormValue({key:"firstName",value:H.detail.input})}),O._$owner=Oe(),E.addEventListener("photon-input-changed",async H=>{l.updateFormValue({key:"lastName",value:H.detail.input})}),E._$owner=Oe(),P.addEventListener("photon-datepicker-selected",async H=>{l.updateFormValue({key:"dateOfBirth",value:H.detail.date})}),P._$owner=Oe(),L.addEventListener("photon-phone-changed",async H=>{l.updateFormValue({key:"phone",value:H.detail.phone})}),L._$owner=Oe(),ce.addEventListener("photon-gender-selected",H=>{l.updateFormValue({key:"gender",value:H.detail.gender})}),ce.addEventListener("photon-gender-deselected",()=>{l.updateFormValue({key:"gender",value:void 0})}),ce._$owner=Oe(),G.addEventListener("photon-sex-selected",H=>{l.updateFormValue({key:"sex",value:H.detail.sex})}),G.addEventListener("photon-sex-deselected",()=>{l.updateFormValue({key:"sex",value:void 0})}),G._$owner=Oe(),K.addEventListener("photon-input-changed",async H=>{l.updateFormValue({key:"email",value:H.detail.input})}),K._$owner=Oe(),ve(H=>{const ye=a.firstName?.error,pe=a.firstName?.error,ee=a.lastName?.error,we=a.lastName?.error,X=a.dateOfBirth?.error,ae=a.dateOfBirth?.error,ne=a.phone?.error,ze=a.phone?.error,Be=a.gender?.error,rt=a.gender?.error!==void 0,_e=r.selectedPatient.data?.gender,at=a.sex?.error,Ue=a.sex?.error!==void 0,Ve=r.selectedPatient.data?.sex,ct=a.email?.error,_t=a.email?.error;return ye!==H._v$&&(O.invalid=H._v$=ye),pe!==H._v$2&&(O.helpText=H._v$2=pe),ee!==H._v$3&&(E.invalid=H._v$3=ee),we!==H._v$4&&(E.helpText=H._v$4=we),X!==H._v$5&&(P.invalid=H._v$5=X),ae!==H._v$6&&(P.helpText=H._v$6=ae),ne!==H._v$7&&(L.invalid=H._v$7=ne),ze!==H._v$8&&(L.helpText=H._v$8=ze),Be!==H._v$9&&(ce.helpText=H._v$9=Be),rt!==H._v$10&&(ce.invalid=H._v$10=rt),_e!==H._v$11&&(ce.selected=H._v$11=_e),at!==H._v$12&&(G.helpText=H._v$12=at),Ue!==H._v$13&&(G.invalid=H._v$13=Ue),Ve!==H._v$14&&(G.selected=H._v$14=Ve),ct!==H._v$15&&(K.invalid=H._v$15=ct),_t!==H._v$16&&(K.helpText=H._v$16=_t),H},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),ve(()=>O.value=a.firstName?.value??r.selectedPatient.data?.name.first),ve(()=>E.value=a.lastName?.value??r.selectedPatient.data?.name.last),ve(()=>P.value=e.patientId?r.selectedPatient.data?.dateOfBirth:a.dateOfBirth?.value),ve(()=>L.value=a.phone?.value??r.selectedPatient.data?.phone),ve(()=>K.value=a.email?.value??r.selectedPatient.data?.email),x}}),null),z(w,$(Er,{get children(){const x=Ce(()=>document.importNode(C2e,!0)),A=x.firstChild,S=A.nextSibling,O=S.nextSibling,E=O.nextSibling,M=E.nextSibling,P=M.firstChild,L=P.nextSibling;return S.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_street1",value:U.detail.input})}),S._$owner=Oe(),O.optional=!0,O.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_street2",value:U.detail.input})}),O._$owner=Oe(),E.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_city",value:U.detail.input})}),E._$owner=Oe(),P.addEventListener("photon-state-selected",U=>{l.updateFormValue({key:"address_state",value:U.detail.state})}),P._$owner=Oe(),L.addEventListener("photon-input-changed",async U=>{l.updateFormValue({key:"address_zip",value:U.detail.input})}),L._$owner=Oe(),ve(U=>{const Z=a.address_street1?.error,ce=a.address_street1?.error,Q=a.address_street2?.error,G=a.address_street2?.error,re=a.address_city?.error,K=a.address_city?.error,H=a.address_state?.error,ye=a.address_state?.error!==void 0,pe=a.state?.value??r.selectedPatient.data?.address?.state,ee=a.address_zip?.error,we=a.address_zip?.error;return Z!==U._v$17&&(S.invalid=U._v$17=Z),ce!==U._v$18&&(S.helpText=U._v$18=ce),Q!==U._v$19&&(O.invalid=U._v$19=Q),G!==U._v$20&&(O.helpText=U._v$20=G),re!==U._v$21&&(E.invalid=U._v$21=re),K!==U._v$22&&(E.helpText=U._v$22=K),H!==U._v$23&&(P.helpText=U._v$23=H),ye!==U._v$24&&(P.invalid=U._v$24=ye),pe!==U._v$25&&(P.selected=U._v$25=pe),ee!==U._v$26&&(L.invalid=U._v$26=ee),we!==U._v$27&&(L.helpText=U._v$27=we),U},{_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0,_v$21:void 0,_v$22:void 0,_v$23:void 0,_v$24:void 0,_v$25:void 0,_v$26:void 0,_v$27:void 0}),ve(()=>S.value=a.address_street1?.value??r.selectedPatient.data?.address?.street1),ve(()=>O.value=a.address_street2?.value??r.selectedPatient.data?.address?.street2),ve(()=>E.value=a.address_city?.value??r.selectedPatient.data?.address?.city),ve(()=>L.value=a.address_zip?.value??r.selectedPatient.data?.address?.postalCode),x}}),null),z(w,$(Er,{get children(){const x=E2e.cloneNode(!0);return x.firstChild,z(x,$(Bw,{get address(){return T2e(r,a)},setPharmacy:A=>{l.updateFormValue({key:"preferredPharmacy",value:A.id})},get patientId(){return e.patientId},hidePreferred:!0}),null),x}}),null),w}})}}),null),u})()};qt("photon-patient-form",{patientId:""},A2e);const N2e=`.input::part(base){border-radius:var(--photon-border-radius, .5rem)}.invalid::part(base){--tw-border-opacity: 1;border-color:rgb(248 113 113/var(--tw-border-opacity));border-width:2px}.invalid::part(form-control-help-text){--tw-text-opacity: 1;color:rgb(248 113 113/var(--tw-text-opacity))}
|
|
4129
4129
|
`,P2e=de("<div><style></style><style></style></div>"),F5=[{id:"1",name:"AL"},{id:"2",name:"AK"},{id:"3",name:"AZ"},{id:"4",name:"AR"},{id:"5",name:"CA"},{id:"6",name:"CO"},{id:"7",name:"CT"},{id:"8",name:"DE"},{id:"9",name:"DC"},{id:"10",name:"FL"},{id:"11",name:"GA"},{id:"12",name:"HI"},{id:"13",name:"ID"},{id:"14",name:"IL"},{id:"15",name:"IN"},{id:"16",name:"IA"},{id:"17",name:"KS"},{id:"18",name:"KY"},{id:"19",name:"LA"},{id:"20",name:"ME"},{id:"21",name:"MD"},{id:"22",name:"MA"},{id:"23",name:"MI"},{id:"24",name:"MN"},{id:"25",name:"MS"},{id:"26",name:"MO"},{id:"27",name:"MT"},{id:"28",name:"NE"},{id:"29",name:"NV"},{id:"30",name:"NH"},{id:"31",name:"NJ"},{id:"32",name:"NM"},{id:"33",name:"NY"},{id:"34",name:"NC"},{id:"35",name:"ND"},{id:"36",name:"OH"},{id:"37",name:"OK"},{id:"38",name:"OR"},{id:"39",name:"PA"},{id:"40",name:"PR"},{id:"41",name:"RI"},{id:"42",name:"SC"},{id:"43",name:"SD"},{id:"44",name:"TN"},{id:"45",name:"TX"},{id:"46",name:"UT"},{id:"47",name:"VT"},{id:"48",name:"VA"},{id:"49",name:"WA"},{id:"50",name:"WV"},{id:"51",name:"WI"},{id:"52",name:"WY"}],I2e=e=>{const[t,n]=te("");let r;const i=a=>{const l=new CustomEvent("photon-state-selected",{composed:!0,bubbles:!0,detail:{state:a}});r?.dispatchEvent(l)},o=a=>a.length===0?F5:F5.filter(l=>l.name.toLowerCase().includes(a.toLowerCase()));return(()=>{const a=P2e.cloneNode(!0),l=a.firstChild,c=l.nextSibling,u=r;return typeof u=="function"?wt(u,a):r=a,a.addEventListener("photon-data-selected",f=>{i(f.detail.data.name)}),z(l,En),z(c,N2e),z(a,$(Wl,{get data(){return o(t())},get label(){return e.label},get required(){return e.required},placeholder:"",get disabled(){return e.disabled},get invalid(){return e.invalid},isLoading:!1,hasMore:!1,displayAccessor:f=>f?.name||"",showOverflow:!0,onSearchChange:async f=>{n(f)},onHide:async()=>{n("")},noDataMsg:"",optional:!1,get helpText(){return e.helpText},get selectedData(){return F5.filter(f=>f.name===e.selected)?.[0]}}),null),a})()};qt("photon-state-input",{label:void 0,required:!1,value:void 0,invalid:!1,helpText:void 0,disabled:!1,selected:void 0},I2e);const M2e=de('<div class="text-black text-xl md:text-3xl"></div>'),D2e=de("<sl-icon></sl-icon>"),F2e=de('<div class="flex-1 flex justify-end"></div>'),R2e=de('<div class="fixed top-0 left-0 w-full h-screen z-10 overflow-y-scroll bg-[#F9FAFB]"><style></style><photon-dialog confirm-text="Yes, Close" cancel-text="Keep Editing"><p class="font-sans text-lg xs:text-base"></p></photon-dialog><header class="flex flex-col md:flex-row items-center px-4 py-2 md:px-8 md:py-3 bg-white fixed w-full z-10 shadow-card"><div class="flex justify-start md:flex-1 absolute md:static left-4"></div><div class="mb-2 md:mb-0 flex flex-0 md:flex-1 justify-center md:justify-center items-center"><p class="ml-1 font-sans text-sm md:text-xl font-medium"></p></div><div class="flex flex-col md:flex-row flex-1"></div></header><div class="overflow-y-scroll w-full min-h-screen bg-[#F9FAFB] pt-28 xs:pt-28 lg:pt-20"><div class="px-4 pb-24 md:pt-4 md:pb-52 md:px-4 w-full h-full sm:w-[600px] xs:mx-auto"></div></div></div>'),Sx=e=>{const t=ot({closeTitle:"Lose unsaved changes?",closeBody:"You will not be able to recover unsaved changes.",checkShouldWarn:()=>!1},e);let n;const[r,i]=te(!1),o=()=>{i(!1),t.onClosed()},a=()=>i(!1);return(()=>{const l=Ce(()=>document.importNode(R2e,!0)),c=l.firstChild,u=c.nextSibling,f=u.firstChild,p=u.nextSibling,m=p.firstChild,g=m.nextSibling,v=g.firstChild,w=g.nextSibling,x=p.nextSibling,A=x.firstChild,S=n;return typeof S=="function"?wt(S,l):n=l,z(c,En),u.addEventListener("photon-dialog-confirmed",o),u.addEventListener("photon-dialog-canceled",a),u.addEventListener("photon-dialog-alt",a),u._$owner=Oe(),z(f,()=>t.closeBody),z(m,$(Pt,{variant:"naked",size:"sm",onClick:()=>{t.checkShouldWarn()?i(!0):t.onClosed()},get children(){const O=M2e.cloneNode(!0);return z(O,$(kt,{name:"xMark"})),O}})),z(g,$($e,{get when(){return t.titleIconName},get children(){const O=Ce(()=>document.importNode(D2e,!0));return O._$owner=Oe(),ve(()=>O.name=t.titleIconName),O}}),v),z(v,()=>t.title),z(w,$($e,{get when(){return t.headerRight},get children(){const O=F2e.cloneNode(!0);return z(O,()=>t.headerRight),O}})),z(A,()=>t.form),ve(O=>{const E=t.closeTitle,M=r();return E!==O._v$&&(u.label=O._v$=E),M!==O._v$2&&(u.open=O._v$2=M),O},{_v$:void 0,_v$2:void 0}),l})()},L2e=de("<div><style></style></div>"),z2e=de('<div class="flex flex-row gap-1 lg:gap-2 justify-end items-end"></div>'),j2e=de('<div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mb-4" role="alert"><span class="block sm:inline"></span></div>'),U2e=de('<photon-patient-form slot="form"></photon-patient-form>'),V2e=e=>{let t;const n=Br(),[r,i]=te(!1),[o,a]=te(!1),[l,c]=te(void 0),[u,f]=te(void 0),[p,m]=te(void 0),[g,v]=te(void 0),w=(O,E=!1)=>{const M=new CustomEvent("photon-patient-updated",{composed:!0,bubbles:!0,detail:{patientId:O,createPrescription:E}});t?.dispatchEvent(M)},x=(O,E=!1)=>{const M=new CustomEvent("photon-patient-created",{composed:!0,bubbles:!0,detail:{patientId:O,createPrescription:E}});t?.dispatchEvent(M)},A=()=>{const O=new CustomEvent("photon-patient-closed",{composed:!0,bubbles:!0,detail:{}});t?.dispatchEvent(O)},S=async(O,E,M,P=!1)=>{v(void 0),a(P),i(!0);let L=["firstName","lastName","dateOfBirth","phone","sex","email"];if(O.address_street1?.value!==void 0||O.address_city?.value!==void 0||O.address_state?.value!==void 0||O.address_zip?.value!==void 0)E.registerValidator({key:"address_street1",validator:Pn(pa(Xr(),1,1/0),"Please enter a valid Street 1..")}),E.registerValidator({key:"address_city",validator:Pn(pa(Xr(),1,1/0),"Please enter a valid City..")}),E.registerValidator({key:"address_state",validator:Pn(pa(Xr(),2,2),"Please enter a valid State..")}),L=[...L,"address_zip","address_street1","address_city","address_state"];else{const Z=["address_street1","address_city","address_state"];for(const ce of Z)E.unRegisterValidator(ce)}if(E.validate(L),E.hasErrors(L))return i(!1),!0;O.preferredPharmacy.value&&M.selectedPatient.data?.preferredPharmacies&&M.selectedPatient.data?.preferredPharmacies.length!==0&&!M.selectedPatient.data?.preferredPharmacies?.map(Z=>Z?.id).filter(Z=>Z!==null).includes(O.preferredPharmacy.value)&&await n.getSDK().clinical.patient.removePatientPreferredPharmacy({})({variables:{patientId:e.patientId,pharmacyId:M.selectedPatient.data?.preferredPharmacies[0].id},awaitRefetchQueries:!1});const U={...e?.patientId?{id:e.patientId}:{},name:{first:O.firstName.value,last:O.lastName.value},gender:O.gender.value,email:O.email.value,phone:O.phone.value,dateOfBirth:O.dateOfBirth.value,sex:O.sex.value,address:O.address_street1.value!==void 0?{street1:O.address_street1.value,street2:O.address_street2.value,city:O.address_city.value,state:O.address_state.value,postalCode:O.address_zip.value,country:"US"}:void 0,preferredPharmacies:O.preferredPharmacy.value?[O.preferredPharmacy.value]:[]};try{if(e?.patientId)await n.getSDK().clinical.patient.updatePatient({})({variables:U,awaitRefetchQueries:!1}),w(e.patientId,P);else{const ce=await n.getSDK().clinical.patient.createPatient({})({variables:U,awaitRefetchQueries:!1});x(ce?.data?.createPatient?.id||"",P)}i(!1),E.resetStores(),e.open=!1}catch(Z){i(!1),v(Z?.message||"An error occurred while saving the patient.")}};return(()=>{const O=L2e.cloneNode(!0),E=O.firstChild,M=t;return typeof M=="function"?wt(M,O):t=O,z(E,Bi),z(O,$($e,{get when(){return e.open},get children(){return $(Sx,{onClosed:()=>{A(),p().resetStores(),e.open=!1},get title(){return e?.patientId?"Update Patient":"Create Patient"},get titleIconName(){return e?.patientId?"pencil-square":"person-plus"},get headerRight(){return(()=>{const P=z2e.cloneNode(!0);return z(P,$($e,{get when(){return!e?.hideCreatePrescription},get children(){return $(Pt,{size:"sm",variant:"secondary",get disabled(){return r()},get loading(){return oe(()=>!!r())()&&o()},onClick:()=>S(l(),p(),u(),!0),children:"Save and Create Prescription"})}}),null),z(P,$(Pt,{size:"sm",get disabled(){return r()},get loading(){return oe(()=>!!r())()&&!o()},onClick:()=>S(l(),p(),u(),!1),children:"Save"}),null),P})()},get form(){return[$($e,{get when(){return g()},get children(){const P=j2e.cloneNode(!0),L=P.firstChild;return z(L,g),P}}),(()=>{const P=Ce(()=>document.importNode(U2e,!0));return P.addEventListener("photon-form-updated",L=>{c(L.detail.form),m(Object.assign({},L.detail.actions,{resetStores:L.detail.reset})),f(L.detail.selected)}),P._$owner=Oe(),ve(()=>P.patientId=e.patientId),P})()]}})}}),null),O})()};qt("photon-patient-dialog",{patientId:"",hideCreatePrescription:!1,open:!1},V2e);const B2e=de("<photon-patient-dialog></photon-patient-dialog>"),H2e=e=>(console.warn("photon-update-patient-dialog will be deprecated soon. Please use photon-patient-dialog instead."),(()=>{const t=Ce(()=>document.importNode(B2e,!0));return t._$owner=Oe(),ve(n=>{const r=e.patientId,i=e.open;return r!==n._v$&&(t.patientId=n._v$=r),i!==n._v$2&&(t.open=n._v$2=i),n},{_v$:void 0,_v$2:void 0}),t})());qt("photon-update-patient-dialog",{patientId:"",open:!1},H2e);const q2e=de('<div class="w-full"></div>'),W2e=Ne`
|
|
4130
4130
|
query GetConcept($name: String!) {
|
|
4131
4131
|
medicationConcepts(name: $name) {
|
|
@@ -4289,4 +4289,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4289
4289
|
|
|
4290
4290
|
<slot part="label" class="radio__label"></slot>
|
|
4291
4291
|
</span>
|
|
4292
|
-
`}};ho.styles=lfe;F([go()],ho.prototype,"checked",2);F([go()],ho.prototype,"hasFocus",2);F([W()],ho.prototype,"value",2);F([W({reflect:!0})],ho.prototype,"size",2);F([W({type:Boolean,reflect:!0})],ho.prototype,"disabled",2);F([rn("checked")],ho.prototype,"handleCheckedChange",1);F([rn("disabled",{waitUntilFirstUpdate:!0})],ho.prototype,"handleDisabledChange",1);ho=F([mr("sl-radio")],ho);const dfe=de('<div class="cursor-pointer"><style></style><photon-card><div class="flex items-center gap-2"><p class="font-sans flex-grow text-gray-600 text-sm"><slot></slot></p><input type="radio"></div></photon-card></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const cfe=e=>{let t;const n=()=>{const r=new CustomEvent("photon-radio-selected",{composed:!0,bubbles:!0,detail:{value:e.value}});t?.dispatchEvent(r)};return(()=>{const r=Ce(()=>document.importNode(dfe,!0)),i=r.firstChild,o=i.nextSibling,a=o.firstChild,l=a.firstChild,c=l.firstChild,u=l.nextSibling,f=t;return typeof f=="function"?wt(f,r):t=r,z(i,En),o.addEventListener("click",()=>n()),o._$owner=Oe(),c._$owner=Oe(),ve(()=>u.checked=e.selected),r})()};qt("photon-radio-card",{selected:!1,value:""},cfe);function ufe(e){const[t,n]=Ca(Array());return Ae(()=>{if(!e)return;const r=()=>{n(e()?.assignedElements()||[])};return e()?.addEventListener("slotchange",r)}),t}const ffe=de('<div><style></style><div class="flex flex-col gap-3"><slot></slot></div></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");qt("photon-radio-group",{},()=>{let e;const[t,n]=te(),r=ufe(t),i=o=>{const a=new CustomEvent("photon-option-selected",{composed:!0,bubbles:!0,detail:{value:o}});e?.dispatchEvent(a)};return(()=>{const o=ffe.cloneNode(!0),a=o.firstChild,l=a.nextSibling,c=l.firstChild,u=e;return typeof u=="function"?wt(u,o):e=o,o.addEventListener("photon-radio-selected",f=>{f.stopImmediatePropagation(),f.stopPropagation();for(const p of r)p.value.id===f.detail.value.id||p.value===f.detail.value?p.selected=!0:p.selected=!1;i(f.detail.value)}),z(a,En),wt(f=>n(f),c),c._$owner=Oe(),o})()});const hfe=de("<photon-med-search></photon-med-search>"),pfe=de('<div class="mt-8 flex gap-4 justify-end"></div>'),mfe=de("<div><style></style></div>"),gfe=e=>{const t=Br();let n;const[r,i]=te(void 0),[o,a]=te(!0),[l,c]=te(""),[u,f]=te(!1),p=()=>{const w=new CustomEvent("photon-medication-selected",{composed:!0,bubbles:!0,detail:{medication:r()}});n?.dispatchEvent(w)},m=()=>{const w=new CustomEvent("photon-medication-closed",{composed:!0,bubbles:!0});n?.dispatchEvent(w)},g=async()=>{if(o()){f(!0);const w=t.getSDK().clinical.catalog.addToCatalog({});try{await w({variables:{catalogId:l(),treatmentId:r()?.id},awaitRefetchQueries:!1})}catch(x){console.log("Error adding to catalog: ",x?.message)}}p(),e.open=!1,f(!1)},v=()=>{m(),e.open=!1};return(()=>{const w=mfe.cloneNode(!0),x=w.firstChild,A=n;return typeof A=="function"?wt(A,w):n=w,w.addEventListener("photon-form-updated",S=>{i(S.detail.medication),a(S.detail.addToCatalog),c(S.detail.catalogId)}),w.addEventListener("photon-med-and-concept-search",S=>{i(S.detail.medication)}),z(x,Bi),z(w,$(Vl,{get open(){return e.open},onClose:v,size:"lg","on:photon-dialog-confirmed":g,"on:photon-dialog-canceled":v,"on:photon-dialog-alt":v,get children(){return[(()=>{const S=Ce(()=>document.importNode(hfe,!0));return S._$owner=Oe(),ve(O=>{const E=e.open,M=e.withConcept,P=e.title;return E!==O._v$&&(S.open=O._v$=E),M!==O._v$2&&(S.withConcept=O._v$2=M),P!==O._v$3&&(S.title=O._v$3=P),O},{_v$:void 0,_v$2:void 0,_v$3:void 0}),S})(),(()=>{const S=pfe.cloneNode(!0);return z(S,$(Pt,{variant:"secondary",onClick:v,children:"Cancel"}),null),z(S,$(Pt,{onClick:g,get disabled(){return!r()},get loading(){return u()},children:"Select Medication"}),null),S})()]}}),null),w})()};qt("photon-med-search-dialog",{open:{value:!1,reflect:!0,notify:!1,attribute:"open",parse:!0},withConcept:!1,title:""},gfe);const vfe=de(`<div><style></style><photon-dialog label="Lose Unsaved Prescription?" confirm-text="Yes, Continue" cancel-text="Keep Editing" width="500px"><p class="font-sans text-lg xs:text-base">You have a prescription "<!>" that hasn't been added. Please add it or continue.</p></photon-dialog><photon-dialog label="Save prescriptions without an order?" confirm-text="Save and create order" cancel-text="Yes, Save Only" width="500px"><p class="font-sans text-lg xs:text-base">You're about to save prescriptions without creating a pharmacy order. You can create an order now, or at a later date.</p></photon-dialog></div>`),yfe=de('<div class="flex flex-row gap-1 lg:gap-2 justify-end items-end"></div>'),bfe=de('<div class="w-full h-full bg-[#F9FAFB]"><div class="w-full h-full"><photon-prescribe-workflow hide-submit="true"></photon-prescribe-workflow></div></div>'),$fe=e=>e().notes?.value.length>0||e().instructions?.value.length>0||e().treatment?.value||e().patient?.value||e().dispenseAsWritten?.value!=!1||e().dispenseQuantity?.value!=1||e().dispenseUnit?.value!="Each"||e().daysSupply?.value!=30||e().refillsInput?.value!=0||e().addToTemplates?.value!=!1||e().effectiveDate?.value!=V4(new Date,"yyyy-MM-dd").toString()||e().draftPrescriptions?.value.length>0,wfe=e=>{let t;const n=Br(),[r,i]=te(!1),[o,a]=te(!1),[l,c]=te(),[u,f]=te(!1),[p,m]=te(!1),[g,v]=te(!1),[w,x]=te(!1),{actions:A}=sf,[S,O]=te(!0);Ht(async()=>{const ce=await n.getSDK().authentication.getAccessToken();c_(ce).permissions?.includes("write:prescription")&&a(!0)});const E=(ce,Q,G)=>{const re=new CustomEvent("photon-prescriptions-created",{composed:!0,bubbles:!0,detail:{patientId:G,prescriptionIds:Q,createOrder:ce}});t?.dispatchEvent(re)},M=()=>{const ce=new CustomEvent("photon-prescriptions-closed",{composed:!0,bubbles:!0,detail:{}});t?.dispatchEvent(ce)},P=()=>{f(!1),x(!0)},L=()=>f(!1),U=()=>{if(!r())return Cr({status:"info",body:"You need to add prescription(s) to this order before you can send it."});if(!o())return Cr({status:"error",header:"Unauthorized",body:"You do not have permission to prescribe"});if(l()?.treatment?.value?.name)return f(!0);m(!0),x(!0)},Z=()=>{if(!r())return Cr({status:"info",body:"You need to add prescription(s) to this order before you can send it."});if(!o())return Cr({status:"error",header:"Unauthorized",body:"You do not have permission to prescribe"});v(!0)};return(()=>{const ce=Ce(()=>document.importNode(vfe,!0)),Q=ce.firstChild,G=Q.nextSibling,re=G.firstChild,K=re.firstChild,H=K.nextSibling;H.nextSibling;const ye=G.nextSibling,pe=t;return typeof pe=="function"?wt(pe,ce):t=ce,z(Q,Bi),G.addEventListener("photon-dialog-confirmed",P),G.addEventListener("photon-dialog-canceled",L),G.addEventListener("photon-dialog-alt",L),G._$owner=Oe(),z(re,()=>l()?.treatment?.value?.name,H),ye.addEventListener("photon-dialog-confirmed",()=>{v(!1),m(!0),x(!0)}),ye.addEventListener("photon-dialog-canceled",()=>{v(!1)}),ye.addEventListener("photon-dialog-alt",()=>{v(!1),x(!0)}),ye._$owner=Oe(),z(ce,$(Sx,{closeTitle:"Lose unsaved prescriptions?",closeBody:"You will not be able to recover unsaved prescriptions.",onClosed:()=>{M(),A.clearSelectedPatient()},checkShouldWarn:()=>$fe(l),title:"New Prescriptions",titleIconName:"prescription",get headerRight(){return oe(()=>!!S())()?null:oe(()=>!!e.enableOrder)()?$(Pt,{size:"md",get loading(){return w()},onClick:U,children:"Send Order"}):(()=>{const J=yfe.cloneNode(!0);return z(J,$(Pt,{size:"md",variant:"secondary",get loading(){return oe(()=>!!w())()&&!p()},onClick:Z,children:"Save prescriptions"}),null),z(J,$(Pt,{size:"md",get loading(){return oe(()=>!!w())()&&p()},onClick:U,children:"Save and create order"}),null),J})()},get form(){return(()=>{const J=Ce(()=>document.importNode(bfe,!0)),we=J.firstChild,ee=we.firstChild;return ee.setTriggerSubmit=x,ee.addEventListener("photon-form-validate",ae=>{i(ae.detail.canSubmit),c(ae.detail.form)}),ee.addEventListener("photon-prescriptions-created",ae=>{ae.stopPropagation(),e.enableOrder||E(p(),ae.detail.prescriptions.map(ne=>ne.id),l()?.patient?.value?.id)}),ee.addEventListener("photon-order-error",ae=>{ae.stopPropagation(),x(!1)}),ee.addEventListener("photon-order-combine-error",ae=>{ae.stopPropagation(),x(!1)}),ee.addEventListener("photon-signature-attestation-agreed",()=>{O(!1)}),ee.addEventListener("photon-signature-attestation-canceled",()=>{M(),A.clearSelectedPatient()}),ee._$owner=Oe(),ve(ae=>{const ne=e.hideTemplates,ze=w(),Be=e.patientId,rt=e.templateIds,_e=e.prescriptionIds,at=e.weight,Ue=e.weightUnit,Ve=e.externalOrderId,ct=e.additionalNotes,_t=e.enableMedHistory,It=e.enableMedHistoryLinks,Te=e.enableOrder,se=e.enableLocalPickup,Fe=e.enableSendToPatient,Ze=e.enableCombineAndDuplicate,mt=e.pharmacyId,bt=e.mailOrderIds,Yt=w(),gt=e?.toastBuffer||0;return ne!==ae._v$3&&(ee.hideTemplates=ae._v$3=ne),ze!==ae._v$4&&(ee.loading=ae._v$4=ze),Be!==ae._v$5&&(ee.patientId=ae._v$5=Be),rt!==ae._v$6&&(ee.templateIds=ae._v$6=rt),_e!==ae._v$7&&(ee.prescriptionIds=ae._v$7=_e),at!==ae._v$8&&(ee.weight=ae._v$8=at),Ue!==ae._v$9&&(ee.weightUnit=ae._v$9=Ue),Ve!==ae._v$10&&(ee.externalOrderId=ae._v$10=Ve),ct!==ae._v$11&&(ee.additionalNotes=ae._v$11=ct),_t!==ae._v$12&&(ee.enableMedHistory=ae._v$12=_t),It!==ae._v$13&&(ee.enableMedHistoryLinks=ae._v$13=It),Te!==ae._v$14&&(ee.enableOrder=ae._v$14=Te),se!==ae._v$15&&(ee.enableLocalPickup=ae._v$15=se),Fe!==ae._v$16&&(ee.enableSendToPatient=ae._v$16=Fe),Ze!==ae._v$17&&(ee.enableCombineAndDuplicate=ae._v$17=Ze),mt!==ae._v$18&&(ee.pharmacyId=ae._v$18=mt),bt!==ae._v$19&&(ee.mailOrderIds=ae._v$19=bt),Yt!==ae._v$20&&(ee.triggerSubmit=ae._v$20=Yt),gt!==ae._v$21&&(ee.toastBuffer=ae._v$21=gt),ae},{_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0,_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0,_v$21:void 0}),J})()}}),null),ve(J=>{const we=u(),ee=g();return we!==J._v$&&(G.open=J._v$=we),ee!==J._v$2&&(ye.open=J._v$2=ee),J},{_v$:void 0,_v$2:void 0}),ce})()};qt("photon-multirx-form-wrapper",{hideTemplates:!1,patientId:void 0,pharmacyId:void 0,templateIds:void 0,prescriptionIds:void 0,weight:void 0,weightUnit:"lbs",additionalNotes:void 0,enableLocalPickup:!1,enableSendToPatient:!1,enableMedHistory:!1,enableMedHistoryLinks:!1,enableCombineAndDuplicate:!1,mailOrderIds:void 0,enableOrder:!1,toastBuffer:0,externalOrderId:void 0},wfe);
|
|
4292
|
+
`}};ho.styles=lfe;F([go()],ho.prototype,"checked",2);F([go()],ho.prototype,"hasFocus",2);F([W()],ho.prototype,"value",2);F([W({reflect:!0})],ho.prototype,"size",2);F([W({type:Boolean,reflect:!0})],ho.prototype,"disabled",2);F([rn("checked")],ho.prototype,"handleCheckedChange",1);F([rn("disabled",{waitUntilFirstUpdate:!0})],ho.prototype,"handleDisabledChange",1);ho=F([mr("sl-radio")],ho);const dfe=de('<div class="cursor-pointer"><style></style><photon-card><div class="flex items-center gap-2"><p class="font-sans flex-grow text-gray-600 text-sm"><slot></slot></p><input type="radio"></div></photon-card></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");const cfe=e=>{let t;const n=()=>{const r=new CustomEvent("photon-radio-selected",{composed:!0,bubbles:!0,detail:{value:e.value}});t?.dispatchEvent(r)};return(()=>{const r=Ce(()=>document.importNode(dfe,!0)),i=r.firstChild,o=i.nextSibling,a=o.firstChild,l=a.firstChild,c=l.firstChild,u=l.nextSibling,f=t;return typeof f=="function"?wt(f,r):t=r,z(i,En),o.addEventListener("click",()=>n()),o._$owner=Oe(),c._$owner=Oe(),ve(()=>u.checked=e.selected),r})()};qt("photon-radio-card",{selected:!1,value:""},cfe);function ufe(e){const[t,n]=Ca(Array());return Ae(()=>{if(!e)return;const r=()=>{n(e()?.assignedElements()||[])};return e()?.addEventListener("slotchange",r)}),t}const ffe=de('<div><style></style><div class="flex flex-col gap-3"><slot></slot></div></div>');zn("https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.4.0/dist/");qt("photon-radio-group",{},()=>{let e;const[t,n]=te(),r=ufe(t),i=o=>{const a=new CustomEvent("photon-option-selected",{composed:!0,bubbles:!0,detail:{value:o}});e?.dispatchEvent(a)};return(()=>{const o=ffe.cloneNode(!0),a=o.firstChild,l=a.nextSibling,c=l.firstChild,u=e;return typeof u=="function"?wt(u,o):e=o,o.addEventListener("photon-radio-selected",f=>{f.stopImmediatePropagation(),f.stopPropagation();for(const p of r)p.value.id===f.detail.value.id||p.value===f.detail.value?p.selected=!0:p.selected=!1;i(f.detail.value)}),z(a,En),wt(f=>n(f),c),c._$owner=Oe(),o})()});const hfe=de("<photon-med-search></photon-med-search>"),pfe=de('<div class="mt-8 flex gap-4 justify-end"></div>'),mfe=de("<div><style></style></div>"),gfe=e=>{const t=Br();let n;const[r,i]=te(void 0),[o,a]=te(!0),[l,c]=te(""),[u,f]=te(!1),p=()=>{const w=new CustomEvent("photon-medication-selected",{composed:!0,bubbles:!0,detail:{medication:r()}});n?.dispatchEvent(w)},m=()=>{const w=new CustomEvent("photon-medication-closed",{composed:!0,bubbles:!0});n?.dispatchEvent(w)},g=async()=>{if(o()){f(!0);const w=t.getSDK().clinical.catalog.addToCatalog({});try{await w({variables:{catalogId:l(),treatmentId:r()?.id},awaitRefetchQueries:!1})}catch(x){console.log("Error adding to catalog: ",x?.message)}}p(),e.open=!1,f(!1)},v=()=>{m(),e.open=!1};return(()=>{const w=mfe.cloneNode(!0),x=w.firstChild,A=n;return typeof A=="function"?wt(A,w):n=w,w.addEventListener("photon-form-updated",S=>{i(S.detail.medication),a(S.detail.addToCatalog),c(S.detail.catalogId)}),w.addEventListener("photon-med-and-concept-search",S=>{i(S.detail.medication)}),z(x,Bi),z(w,$(Vl,{get open(){return e.open},onClose:v,size:"lg","on:photon-dialog-confirmed":g,"on:photon-dialog-canceled":v,"on:photon-dialog-alt":v,get children(){return[(()=>{const S=Ce(()=>document.importNode(hfe,!0));return S._$owner=Oe(),ve(O=>{const E=e.open,M=e.withConcept,P=e.title;return E!==O._v$&&(S.open=O._v$=E),M!==O._v$2&&(S.withConcept=O._v$2=M),P!==O._v$3&&(S.title=O._v$3=P),O},{_v$:void 0,_v$2:void 0,_v$3:void 0}),S})(),(()=>{const S=pfe.cloneNode(!0);return z(S,$(Pt,{variant:"secondary",onClick:v,children:"Cancel"}),null),z(S,$(Pt,{onClick:g,get disabled(){return!r()},get loading(){return u()},children:"Select Medication"}),null),S})()]}}),null),w})()};qt("photon-med-search-dialog",{open:{value:!1,reflect:!0,notify:!1,attribute:"open",parse:!0},withConcept:!1,title:""},gfe);const vfe=de(`<div><style></style><photon-dialog label="Lose Unsaved Prescription?" confirm-text="Yes, Continue" cancel-text="Keep Editing" width="500px"><p class="font-sans text-lg xs:text-base">You have a prescription "<!>" that hasn't been added. Please add it or continue.</p></photon-dialog><photon-dialog label="Save prescriptions without an order?" confirm-text="Save and create order" cancel-text="Yes, Save Only" width="500px"><p class="font-sans text-lg xs:text-base">You're about to save prescriptions without creating a pharmacy order. You can create an order now, or at a later date.</p></photon-dialog></div>`),yfe=de('<div class="flex flex-row gap-1 lg:gap-2 justify-end items-end"></div>'),bfe=de('<div class="w-full h-full bg-[#F9FAFB]"><div class="w-full h-full"><photon-prescribe-workflow hide-submit="true"></photon-prescribe-workflow></div></div>'),$fe=e=>e().notes?.value.length>0||e().instructions?.value.length>0||e().treatment?.value||e().patient?.value||e().dispenseAsWritten?.value!=!1||e().dispenseQuantity?.value!=1||e().dispenseUnit?.value!="Each"||e().daysSupply?.value!=30||e().refillsInput?.value!=0||e().addToTemplates?.value!=!1||e().effectiveDate?.value!=V4(new Date,"yyyy-MM-dd").toString()||e().draftPrescriptions?.value.length>0,wfe=e=>{let t;const n=Br(),[r,i]=te(!1),[o,a]=te(!1),[l,c]=te(),[u,f]=te(!1),[p,m]=te(!1),[g,v]=te(!1),[w,x]=te(!1),{actions:A}=sf,[S,O]=te(!0);Ht(async()=>{const ce=await n.getSDK().authentication.getAccessToken();c_(ce).permissions?.includes("write:prescription")&&a(!0)});const E=(ce,Q,G)=>{const re=new CustomEvent("photon-prescriptions-created",{composed:!0,bubbles:!0,detail:{patientId:G,prescriptionIds:Q,createOrder:ce}});t?.dispatchEvent(re)},M=()=>{const ce=new CustomEvent("photon-prescriptions-closed",{composed:!0,bubbles:!0,detail:{}});t?.dispatchEvent(ce)},P=()=>{f(!1),x(!0)},L=()=>f(!1),U=()=>{if(!r())return Cr({status:"info",body:"You need to add prescription(s) to this order before you can send it."});if(!o())return Cr({status:"error",header:"Unauthorized",body:"You do not have permission to prescribe"});if(l()?.treatment?.value?.name)return f(!0);m(!0),x(!0)},Z=()=>{if(!r())return Cr({status:"info",body:"You need to add prescription(s) to this order before you can send it."});if(!o())return Cr({status:"error",header:"Unauthorized",body:"You do not have permission to prescribe"});v(!0)};return(()=>{const ce=Ce(()=>document.importNode(vfe,!0)),Q=ce.firstChild,G=Q.nextSibling,re=G.firstChild,K=re.firstChild,H=K.nextSibling;H.nextSibling;const ye=G.nextSibling,pe=t;return typeof pe=="function"?wt(pe,ce):t=ce,z(Q,Bi),G.addEventListener("photon-dialog-confirmed",P),G.addEventListener("photon-dialog-canceled",L),G.addEventListener("photon-dialog-alt",L),G._$owner=Oe(),z(re,()=>l()?.treatment?.value?.name,H),ye.addEventListener("photon-dialog-confirmed",()=>{v(!1),m(!0),x(!0)}),ye.addEventListener("photon-dialog-canceled",()=>{v(!1)}),ye.addEventListener("photon-dialog-alt",()=>{v(!1),x(!0)}),ye._$owner=Oe(),z(ce,$(Sx,{closeTitle:"Lose unsaved prescriptions?",closeBody:"You will not be able to recover unsaved prescriptions.",onClosed:()=>{M(),A.clearSelectedPatient()},checkShouldWarn:()=>$fe(l),title:"New Prescriptions",titleIconName:"prescription",get headerRight(){return oe(()=>!!S())()?null:oe(()=>!!e.enableOrder)()?$(Pt,{size:"md",get loading(){return w()},onClick:U,children:"Send Order"}):(()=>{const ee=yfe.cloneNode(!0);return z(ee,$(Pt,{size:"md",variant:"secondary",get loading(){return oe(()=>!!w())()&&!p()},onClick:Z,children:"Save prescriptions"}),null),z(ee,$(Pt,{size:"md",get loading(){return oe(()=>!!w())()&&p()},onClick:U,children:"Save and create order"}),null),ee})()},get form(){return(()=>{const ee=Ce(()=>document.importNode(bfe,!0)),we=ee.firstChild,X=we.firstChild;return X.setTriggerSubmit=x,X.addEventListener("photon-form-validate",ae=>{i(ae.detail.canSubmit),c(ae.detail.form)}),X.addEventListener("photon-prescriptions-created",ae=>{ae.stopPropagation(),e.enableOrder||E(p(),ae.detail.prescriptions.map(ne=>ne.id),l()?.patient?.value?.id)}),X.addEventListener("photon-order-error",ae=>{ae.stopPropagation(),x(!1)}),X.addEventListener("photon-order-combine-error",ae=>{ae.stopPropagation(),x(!1)}),X.addEventListener("photon-signature-attestation-agreed",()=>{O(!1)}),X.addEventListener("photon-signature-attestation-canceled",()=>{M(),A.clearSelectedPatient()}),X._$owner=Oe(),ve(ae=>{const ne=e.hideTemplates,ze=w(),Be=e.patientId,rt=e.templateIds,_e=e.prescriptionIds,at=e.weight,Ue=e.weightUnit,Ve=e.externalOrderId,ct=e.additionalNotes,_t=e.enableMedHistory,It=e.enableMedHistoryLinks,Te=e.enableOrder,se=e.enableLocalPickup,Fe=e.enableSendToPatient,Ze=e.enableCombineAndDuplicate,mt=e.pharmacyId,bt=e.mailOrderIds,Yt=w(),gt=e?.toastBuffer||0;return ne!==ae._v$3&&(X.hideTemplates=ae._v$3=ne),ze!==ae._v$4&&(X.loading=ae._v$4=ze),Be!==ae._v$5&&(X.patientId=ae._v$5=Be),rt!==ae._v$6&&(X.templateIds=ae._v$6=rt),_e!==ae._v$7&&(X.prescriptionIds=ae._v$7=_e),at!==ae._v$8&&(X.weight=ae._v$8=at),Ue!==ae._v$9&&(X.weightUnit=ae._v$9=Ue),Ve!==ae._v$10&&(X.externalOrderId=ae._v$10=Ve),ct!==ae._v$11&&(X.additionalNotes=ae._v$11=ct),_t!==ae._v$12&&(X.enableMedHistory=ae._v$12=_t),It!==ae._v$13&&(X.enableMedHistoryLinks=ae._v$13=It),Te!==ae._v$14&&(X.enableOrder=ae._v$14=Te),se!==ae._v$15&&(X.enableLocalPickup=ae._v$15=se),Fe!==ae._v$16&&(X.enableSendToPatient=ae._v$16=Fe),Ze!==ae._v$17&&(X.enableCombineAndDuplicate=ae._v$17=Ze),mt!==ae._v$18&&(X.pharmacyId=ae._v$18=mt),bt!==ae._v$19&&(X.mailOrderIds=ae._v$19=bt),Yt!==ae._v$20&&(X.triggerSubmit=ae._v$20=Yt),gt!==ae._v$21&&(X.toastBuffer=ae._v$21=gt),ae},{_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0,_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0,_v$21:void 0}),ee})()}}),null),ve(ee=>{const we=u(),X=g();return we!==ee._v$&&(G.open=ee._v$=we),X!==ee._v$2&&(ye.open=ee._v$2=X),ee},{_v$:void 0,_v$2:void 0}),ce})()};qt("photon-multirx-form-wrapper",{hideTemplates:!1,patientId:void 0,pharmacyId:void 0,templateIds:void 0,prescriptionIds:void 0,weight:void 0,weightUnit:"lbs",additionalNotes:void 0,enableLocalPickup:!1,enableSendToPatient:!1,enableMedHistory:!1,enableMedHistoryLinks:!1,enableCombineAndDuplicate:!1,mailOrderIds:void 0,enableOrder:!1,toastBuffer:0,externalOrderId:void 0},wfe);
|