@wix/members 1.0.541 → 1.0.543

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.
Files changed (60) hide show
  1. package/account-details-context-provider/package.json +3 -0
  2. package/account-home-context-provider/package.json +3 -0
  3. package/address-context-provider/package.json +3 -0
  4. package/addresses-context-provider/package.json +3 -0
  5. package/build/cjs/context-account-details.d.ts +246 -0
  6. package/build/cjs/context-account-details.js +9513 -0
  7. package/build/cjs/context-account-details.js.map +1 -0
  8. package/build/cjs/context-account-home.d.ts +54 -0
  9. package/build/cjs/context-account-home.js +719 -0
  10. package/build/cjs/context-account-home.js.map +1 -0
  11. package/build/cjs/context-address.d.ts +52 -0
  12. package/build/cjs/context-address.js +587 -0
  13. package/build/cjs/context-address.js.map +1 -0
  14. package/build/cjs/context-addresses.d.ts +104 -0
  15. package/build/cjs/context-addresses.js +9054 -0
  16. package/build/cjs/context-addresses.js.map +1 -0
  17. package/build/cjs/context-authentication.d.ts +633 -0
  18. package/build/cjs/context-authentication.js +4253 -0
  19. package/build/cjs/context-authentication.js.map +1 -0
  20. package/build/es/context-account-details.d.mts +246 -0
  21. package/build/es/context-account-details.mjs +9467 -0
  22. package/build/es/context-account-details.mjs.map +1 -0
  23. package/build/es/context-account-home.d.mts +54 -0
  24. package/build/es/context-account-home.mjs +690 -0
  25. package/build/es/context-account-home.mjs.map +1 -0
  26. package/build/es/context-address.d.mts +52 -0
  27. package/build/es/context-address.mjs +557 -0
  28. package/build/es/context-address.mjs.map +1 -0
  29. package/build/es/context-addresses.d.mts +104 -0
  30. package/build/es/context-addresses.mjs +9012 -0
  31. package/build/es/context-addresses.mjs.map +1 -0
  32. package/build/es/context-authentication.d.mts +633 -0
  33. package/build/es/context-authentication.mjs +4221 -0
  34. package/build/es/context-authentication.mjs.map +1 -0
  35. package/build/internal/cjs/context-account-details.d.ts +246 -0
  36. package/build/internal/cjs/context-account-home.d.ts +54 -0
  37. package/build/internal/cjs/context-address.d.ts +52 -0
  38. package/build/internal/cjs/context-addresses.d.ts +104 -0
  39. package/build/internal/cjs/context-authentication.d.ts +633 -0
  40. package/build/internal/es/context-account-details.d.mts +246 -0
  41. package/build/internal/es/context-account-home.d.mts +54 -0
  42. package/build/internal/es/context-address.d.mts +52 -0
  43. package/build/internal/es/context-addresses.d.mts +104 -0
  44. package/build/internal/es/context-authentication.d.mts +633 -0
  45. package/context/account-details/package.json +3 -0
  46. package/context/account-home/package.json +3 -0
  47. package/context/address/package.json +3 -0
  48. package/context/addresses/package.json +3 -0
  49. package/context/authentication/package.json +3 -0
  50. package/context-runtime/context-account-details/runtime.d.ts +246 -0
  51. package/context-runtime/context-account-details/runtime.js +14 -0
  52. package/context-runtime/context-account-home/runtime.d.ts +54 -0
  53. package/context-runtime/context-account-home/runtime.js +2 -0
  54. package/context-runtime/context-address/runtime.d.ts +52 -0
  55. package/context-runtime/context-address/runtime.js +2 -0
  56. package/context-runtime/context-addresses/runtime.d.ts +104 -0
  57. package/context-runtime/context-addresses/runtime.js +14 -0
  58. package/context-runtime/context-authentication/runtime.d.ts +633 -0
  59. package/context-runtime/context-authentication/runtime.js +6 -0
  60. package/package.json +86 -13
@@ -0,0 +1,14 @@
1
+ import*as e from"react";import t,{createContext as n,createElement as r,useCallback as i,useContext as a,useEffect as o,useMemo as s,useRef as c,useState as l}from"react";import{useService as u}from"@wix/services-manager-react";import*as d from"react-dom";import f from"react-dom";import{jsx as p,jsxs as m}from"react/jsx-runtime";var h=Object.defineProperty,g=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},_=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),v=(e,t)=>{let n={};for(var r in e)h(n,r,{get:e[r],enumerable:!0});return t||h(n,Symbol.toStringTag,{value:`Module`}),n},y={};function b(e,t=!1,n=e=>e){return()=>({__type:`event-definition`,type:e,isDomainEvent:t,transformations:n})}var x=e=>{switch(e){case`get`:case`GET`:return`GET`;case`post`:case`POST`:return`POST`;case`put`:case`PUT`:return`PUT`;case`delete`:case`DELETE`:return`DELETE`;case`patch`:case`PATCH`:return`PATCH`;case`head`:case`HEAD`:return`HEAD`;case`options`:case`OPTIONS`:return`OPTIONS`;default:throw Error(`Unknown method: ${e}`)}},S=e=>t=>async n=>{let r,i=t=>{if(r=e(n)(t),r.url===void 0)throw Error(`Url was not successfully created for this request, please reach out to support channels for assistance.`);let{method:i,url:a,params:o}=r;return{...r,method:x(i),url:a,data:r.data,params:o}};try{let e=await t.request(i);if(r===void 0)throw Error(`Request options were not created for this request, please reach out to support channels for assistance.`);let n=Array.isArray(r.transformResponse)?r.transformResponse:[r.transformResponse],a=e.data;return n.forEach(t=>{t&&(a=t(e.data,e.headers))}),a}catch(e){throw typeof e==`object`&&e&&`response`in e&&typeof e.response==`object`&&e.response!==null&&`data`in e.response?e.response.data:e}},C=e=>e.__isAmbassador?!0:!!e().__isAmbassador,ee=`__metadata`,w=`edge.wixapis.com`,T=class extends Error{message;response;constructor(e,t){super(e),this.message=e,this.response=t}async details(){let e=await this.response.json();return te(this.response.status,e?.message,e?.details,{requestId:this.response.headers.get(`X-Wix-Request-Id`),details:e})}},te=(e,t,n,r)=>({details:{...!n?.validationError&&{applicationError:{description:t,code:e,data:r}},...n},message:t,requestId:r?.requestId}),ne=e=>e?.method&&[`post`,`put`,`patch`].includes(e.method.toLocaleLowerCase())&&e.body?{"Content-Type":`application/json`}:{},re=e=>e&&typeof e==`object`&&!Array.isArray(e),ie=e=>e.__type===`host`;function ae(e,t){return e.create(t)}var oe=`x-wix-bi-gateway`;function E(e,t,n){return{[oe]:se({environment:`js-sdk${n?`-${n}`:``}`,"package-name":e.packageName??t?.PACKAGE_NAME,"method-fqn":e.methodFqn,entity:e.entityFqdn})}}function se(e){return Object.entries(e).filter(([e,t])=>!!t).map(([e,t])=>`${e}=${t}`).join(`,`)}function D(e){let t=globalThis.__wix_context__,n={client:y.client,elevatedClient:y.elevatedClient},r;globalThis.__wix_context__=void 0,y.client=void 0,y.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,y.client=n.client,y.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}var ce={id:`_id`,createdDate:`_createdDate`,updatedDate:`_updatedDate`};function le(e){return A(e).map(e=>e.toLocaleUpperCase()).join(`_`)}var O=/([\p{Ll}\d])(\p{Lu})/gu,k=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,ue=`$1\0$2`,de=/[^\p{L}\d]+/giu;function A(e){let t=e.trim();t=t.replace(O,ue).replace(k,ue),t=t.replace(de,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}var j=e=>`validationError`in(e.response?.data?.details??{}),M=e=>`applicationError`in(e.response?.data?.details??{}),N=e=>(e.response?.status??-1)>=400&&(e.response?.status??-1)<500;function fe(e,t={explicitPathsToArguments:{},spreadPathsToArguments:{},singleArgumentUnchanged:!1},n=[]){if(typeof e!=`object`||!e)throw e;if(j(e))return P(e,t,n);if(M(e))return pe(e);if(N(e)){let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i={applicationError:{description:n,code:le(n),data:{}},requestId:e.requestId};return F(e,{message:JSON.stringify({message:r,details:i},null,2),extraProperties:{details:i,status:t}})}return me(e)}var P=(e,t,n)=>{let r=e.response?.data,i=e.requestId,{fieldViolations:a}=r.details.validationError,o=he(t,a,n)?.sort((e,t)=>e.field<t.field?-1:1),s=`INVALID_ARGUMENT: ${o?.map(({field:e,description:t})=>`"${e}" ${t}`)?.join(`, `)}`,c={validationError:{fieldViolations:o},requestId:i};return F(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:e.response?.status,requestId:i}})},F=(e,{message:t,extraProperties:n})=>Object.assign(e,{...n,message:t}),pe=e=>{let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i=e.response?.data?.details?.applicationError?.description??n,a=e.response?.data?.details?.applicationError?.code??le(n),o=e.response?.data?.details?.applicationError?.data??{},s=r===i?r:`${r}: ${i}`,c={applicationError:{description:i,code:a,data:o},requestId:e.requestId};return F(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:t,requestId:e.requestId}})},me=e=>F(e,{message:e.requestId?`System error occurred, request-id: ${e.requestId}`:`System error occurred: ${JSON.stringify(e)}`,extraProperties:{requestId:e.requestId,status:e.response?.status,code:le(e.response?.statusText??`UNKNOWN`),...!e.response&&{runtimeError:e}}}),he=({spreadPathsToArguments:e,explicitPathsToArguments:t,singleArgumentUnchanged:n},r,i)=>{let a={...e,...t},o=Object.keys(a);return r?.filter(e=>!r.some(t=>t.field.length>e.field.length&&t.field.startsWith(e.field)&&o.includes(t.field))).map(e=>{let r=t[e.field];if(r)return{...e,field:ge(r,i)};let s=o?.sort((e,t)=>t.length-e.length)?.find(t=>e.field.startsWith(t));if(s){let t=a[s];if(t)return{...e,field:e.field.replace(s,ge(t,i))}}return n?{...e,field:`${i[0]}.${e.field}`}:e})},ge=(e,t)=>{let n=I(e);return n==null?e:e.replace(`$[${n}]`,t[n])},I=e=>{let t=e.match(/\$\[(?<argIndex>\d+)\]/);return t&&t.groups&&Number(t.groups.argIndex)};function _e(e,t,n,r,i,a,o,s,c,l,u){return D(()=>e({request:async e=>{let i=e({host:s?.HTTPHost||`www.wixapis.com`}),a=i;a.method===`GET`&&a.fallback?.length&&(a.params?.toString().length??0)>4e3&&(a=i.fallback[0]);let o=s?.HTTPHost??`www.wixapis.com`,u=`https://${l?w:o}${a.url}`;a.params&&a.params.toString()&&(u+=`?${a.params.toString()}`);try{let e=E(i,t,c),o={method:a.method,...a.data&&{body:JSON.stringify(a.data)},headers:{...e}},s=await n(u,o);if(s.status!==200){let e=null;try{e=await s.json()}catch{}let t=ye(s.status,e?.message??s.statusText,e?.details,{requestId:s.headers.get(`X-Wix-Request-Id`),details:e}),n=fe(t);throw r?.handleError(n,{requestOptions:{url:a.url,method:a.method,entityFqdn:i.entityFqdn,methodFqn:i.methodFqn}}),t}let l=await s.json();return{data:a.migrationOptions?.optInTransformResponse&&a.transformResponse?Array.isArray(a.transformResponse)?a.transformResponse[0](l):a.transformResponse(l):l,headers:s.headers,status:s.status,statusText:s.statusText}}catch(e){throw e.message?.includes(`fetch is not defined`)&&console.error(`Node.js v18+ is required`),e}},fetchWithAuth:n,wixAPIFetch:i,getActiveToken:a,getAuthHeaders:o},{validateRequestSchema:u}))}var ve=class extends Error{response;requestId;constructor(e){super(),this.response=e.response,this.requestId=e.requestId}},ye=(e,t,n,r)=>new ve({response:{data:{details:{...!n?.validationError&&{applicationError:{description:t,code:e,data:r}},...n},message:t},status:e},requestId:r?.requestId}),be=`.`;function xe(e,t,n){if(e==null)throw Error(`Cannot set value on null or undefined`);let r=Se(t),i=e;for(let e=0;e<r.length;e++){let t=r[e];if(e===r.length-1){i[t]=n;break}let a=r[e+1];(!(t in i)||i[t]==null||typeof i[t]!=`object`||i[t]===null)&&(i[t]=typeof a==`number`?[]:{}),i=i[t]}return e}function Se(e){return Array.isArray(e)?e:e.split(be).map(e=>Ce(e)?Number(e):e)}function Ce(e){return/^\d+$/.test(e)}function we(e){let t={};for(let[n,r]of Object.entries(e))Te(n)||xe(t,Se(n),r);return t}function Te(e){return e===`__proto__`||e===`constructor`||e===`prototype`}var Ee=class{BRACKET_PATTERN=/\[(\d+)\]/g;NUMERIC_PATTERN=/^\d+$/;ESCAPED_DOT_PATTERN=/\\\./g;ESCAPED_LEFT_BRACKET_PATTERN=/\\\[/g;ESCAPED_RIGHT_BRACKET_PATTERN=/\\\]/g;SPLIT_PATTERN=/\.|\[(\d+)\]/g;DOT_BEFORE_BRACKET_PATTERN=/\.\[/g;ESCAPED_DOT_PLACEHOLDER=`__DOT__`;ESCAPED_RIGHT_BRACKET_PLACEHOLDER=`__RB__`;ESCAPED_LEFT_BRACKET_PLACEHOLDER=`__LB__`;modifiedFields;cleanedModifiedFields;constructor(e){this.modifiedFields=e}replaceEscapedCharacters(e){return e.replace(this.ESCAPED_DOT_PATTERN,this.ESCAPED_DOT_PLACEHOLDER).replace(this.ESCAPED_LEFT_BRACKET_PATTERN,this.ESCAPED_LEFT_BRACKET_PLACEHOLDER).replace(this.ESCAPED_RIGHT_BRACKET_PATTERN,this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER)}restoreEscapedCharacters(e){return e.replace(this.ESCAPED_DOT_PLACEHOLDER,`\\.`).replace(this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER,`\\]`).replace(this.ESCAPED_LEFT_BRACKET_PLACEHOLDER,`\\[`)}unflatten(){return this.cleanedModifiedFields=Object.fromEntries(Object.entries(this.modifiedFields).map(([e,t])=>[this.replaceEscapedCharacters(this.bracketToDotNotation(e)),t])),we(this.cleanedModifiedFields)}flatten(e){let t={};for(let n of Object.keys(this.cleanedModifiedFields)){let r=this.splitPath(n),i=this.navigatePath(e,r);t={...t,...i}}return Object.fromEntries(Object.entries(t).map(([e,t])=>[this.restoreEscapedCharacters(e),t]))}splitPath(e){let t=[],n=0,r=Array.from(e.matchAll(this.SPLIT_PATTERN));for(let i of r)i.index>n&&t.push(e.substring(n,i.index)),i[1]&&t.push(i[1]),n=i.index+i[0].length;return n<e.length&&t.push(e.substring(n)),t}navigatePath(e,t){let n=e,r=[],i=e=>{if(!Array.isArray(n))throw Error(`Expected array at path ${this.buildPathString(r)}, but got ${typeof n}`);r.push(`[${e}]`),n=n[parseInt(e,10)]},a=(e,t)=>{let i=e in ce?ce[e]:void 0;if(i&&i in t){r.push(i),n=t[i];return}let a=Ae(e);if(a&&a in t){r.push(a),n=t[a];return}throw Error(`Cannot find key '${e}' or its transformations at path ${this.buildPathString(r)}`)},o=(e,t)=>{r.push(e),n=t[e]};for(let e of t){if(this.NUMERIC_PATTERN.test(e)){i(e);continue}if(typeof n!=`object`||!n)throw Error(`Cannot access property '${e}' on ${typeof n} at path ${this.buildPathString(r)}`);let t=n;if(e in n){o(e,t);continue}a(e,t)}return{[this.buildPathString(r)]:n}}buildPathString(e){return e.join(`.`).replace(this.DOT_BEFORE_BRACKET_PATTERN,`[`)}bracketToDotNotation(e){return e.replace(this.BRACKET_PATTERN,(t,n,r)=>r>0&&e[r-1]===`\\`?t:`.`+n)}};function De(e,t){let n=e?.modifiedFields;if(!n)return null;let r=Oe(n);if(!r)return null;let{unflattenedModifiedFields:i,modifiedFieldsManipulator:a}=r;e={...e,modifiedFields:i};let o=t(e),s=o?.modifiedFields;if(!s)return null;let c=ke(s,a);return c===null?null:(o.modifiedFields=c,o)}function Oe(e){if(typeof e==`object`&&e&&!Array.isArray(e))try{let t=new Ee(e);return{unflattenedModifiedFields:t.unflatten(),modifiedFieldsManipulator:t}}catch{return null}return null}function ke(e,t){if(typeof e==`object`&&e&&!Array.isArray(e))try{return t.flatten(e)}catch{return null}return null}function Ae(e){return e.replace(/[-_\s]+(.)?/g,(e,t)=>t?t.toUpperCase():``).replace(/^./,e=>e.toLowerCase())}function je(){return{emit(e,...t){for(let n=0,r=this.events[e]||[],i=r.length;n<i;n++)r[n](...t)},events:{},on(e,t){return(this.events[e]||=[]).push(t),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}}}var Me=e=>e.__type===`event-definition`;function Ne(e,t,n,r){let i;if(e.isDomainEvent){let{deletedEvent:e,actionEvent:t,createdEvent:a,updatedEvent:o,...s}=n,c={...r,...s};i=e?e?.deletedEntity?{entity:e?.deletedEntity,metadata:c}:{metadata:c}:t?{data:t.body,metadata:c}:o?{entity:o.currentEntity,metadata:c,...o.modifiedFields?{modifiedFields:o.modifiedFields}:{}}:{entity:a?.entity,metadata:c}}else i={data:n,metadata:r};let a=e.transformations??(e=>e),o=i,s=i;if(s.modifiedFields){let e=s.modifiedFields;if(typeof e==`object`&&e&&!Array.isArray(e)){o=structuredClone(i);let e=De(s,a);if(e)return t(e)}}return t(a(o))}function Pe(e){let t=new Map,n=je();return{initModule(e){return r=>{let i=t.get(e.type)??[];i.push({eventDefinition:e,handler:r}),t.set(e.type,i),n.emit(`registered`,e)}},client:{...n,getRegisteredEvents:()=>t,async process(e,n={expectedEvents:[]}){let{eventType:r,identity:i,instanceId:a,payload:o,accountInfo:s}=await this.parseJWT(e),c=[...n.expectedEvents,...Array.from(t.keys()).map(e=>({type:e}))];if(c.length>0&&!c.some(({type:e})=>e===r))throw Error(`Unexpected event type: ${r}. Expected one of: ${c.map(e=>e.type).join(`, `)}`);let l=t.get(r)??[];return await Promise.all(l.map(({eventDefinition:e,handler:t})=>Ne(e,t,o,{instanceId:a,identity:i,accountInfo:s}))),{instanceId:a,eventType:r,payload:o,identity:i,accountInfo:s}},async processRequest(e,t){let n=await e.text();return this.process(n,t)},async parseJWT(t){let n=e();if(!n.decodeJWT)throw Error(`decodeJWT is not supported by the authentication strategy`);let{decoded:r,valid:i}=await n.decodeJWT(t);if(!i)throw Error(`JWT is not valid`);if(typeof r.data!=`string`)throw Error(`Unexpected type of JWT data: expected string, got ${typeof r.data}`);let a=JSON.parse(r.data),o=a.eventType,s=a.accountInfo,c=a.instanceId,l=a.identity?JSON.parse(a.identity):void 0;return{instanceId:c,eventType:o,payload:JSON.parse(a.data),identity:l,accountInfo:s}},async parseRequest(e){let t=await e.text();return this.parseJWT(t)},async executeHandlers(e){let n=Array.from(t.keys()).map(e=>({type:e}));if(n.length>0&&!n.some(({type:t})=>t===e.eventType))throw Error(`Unexpected event type: ${e.eventType}. Expected one of: ${n.map(e=>e.type).join(`, `)}`);let r=t.get(e.eventType)??[];await Promise.all(r.map(({eventDefinition:t,handler:n})=>Ne(t,n,e.payload,{instanceId:e.instanceId,identity:e.identity})))},apps:{AppInstalled:b(`AppInstalled`)(),AppRemoved:b(`AppRemoved`)()}}}}var Fe=e=>e.__type===`service-plugin-definition`;function Ie(e){let t=new Map,n=je();return{initModule(e){return r=>{let i=t.get(e.componentType.toLowerCase())??[];i.push({servicePluginDefinition:e,implementation:r}),t.set(e.componentType.toLowerCase(),i),n.emit(`registered`,e)}},client:{...n,getRegisteredServicePlugins:()=>t,async parseJWT(t){let n=e();if(!n.decodeJWT)throw Error(`decodeJWT is not supported by the authentication strategy`);let{decoded:r,valid:i}=await n.decodeJWT(t,!0);if(!i)throw Error(`JWT is not valid`);if(typeof r.data!=`object`||r.data===null||!(`metadata`in r.data)||typeof r.data.metadata!=`object`||r.data.metadata===null||!(`appExtensionType`in r.data.metadata)||typeof r.data.metadata.appExtensionType!=`string`)throw Error(`Unexpected JWT data: expected object with metadata.appExtensionType string`);return r.data},async process(e){let t=await this.parseJWT(e.body);return this.executeHandler(t,e.url)},async parseRequest(e){let t=await e.text();return this.parseJWT(t)},async processRequest(e){let t=await this.parseRequest(e);return this.processParsedRequest(t,e.url)},async processParsedRequest(e,t){try{let n=await this.executeHandler(e,t);return Response.json(n)}catch(e){if(e.errorType===`SPI`&&e.applicationCode&&e.httpCode)return Response.json({applicationError:{code:e.applicationCode,data:e.data}},{status:e.httpCode});throw e}},async executeHandler(e,n){let r=e.metadata.appExtensionType.toLowerCase(),i=t.get(r)??[];if(i.length===0)throw Error(`No service plugin implementations found for component type ${r}`);if(i.length>1)throw Error(`Multiple service plugin implementations found for component type ${r}. This is currently not supported`);let{implementation:a,servicePluginDefinition:o}=i[0],s=o.methods.find(e=>n.endsWith(e.primaryHttpMappingPath));if(!s)throw Error(`Unexpect request: request url did not match any method: `+n);let c=a[s.name];if(!c)throw Error(`Got request for service plugin method ${s.name} but no implementation was provided. Available methods: ${Object.keys(a).join(`, `)}`);return s.transformations.toREST(await c(s.transformations.fromREST(e)))}}}}var Le=`X-Wix-Consistent`;function Re(e){let t=e.headers||{Authorization:``},n={getAuthHeaders:e=>Promise.resolve({headers:{}})},r=e.auth,i=typeof r==`function`?r:()=>r??n,a=()=>i().getAuthHeaders(e.host),o=()=>e.fetch??fetch,s=async(n,r)=>{let i=o(),s=await a(),c={...r?.headers??{},...s.headers,...e.host?.essentials?.passThroughHeaders,...t[`X-Wix-Consistent`]?{[Le]:t[Le]}:{}},l=e.host?.getErrorHandler?.();try{if(typeof n==`string`||n instanceof URL){let e=await i(n,{...r,headers:c});l?.handleError(e,{requestOptions:{url:n.toString(),method:r?.method}});let a=ze(e);return a&&(t[Le]=a),e}{for(let[e,t]of Object.entries(c))typeof t==`string`&&n.headers.set(e,t);let e=await i(n,r);l?.handleError(e,{requestOptions:{url:n.url,method:r?.method}});let a=ze(e);return a&&(t[Le]=a),e}}catch(e){throw l?.handleError(e,{requestOptions:{url:typeof n==`string`||n instanceof URL?n.toString():n.url,method:r?.method}}),e}},{client:c,initModule:l}=Ie(i),{client:u,initModule:d}=Pe(i),f=async(n,r)=>{let i=o(),s=await a(),c=ne(r),l=await i(n,{...r,headers:{...c,...t,...s?.headers,...r?.headers,...e.host?.essentials?.passThroughHeaders,...t[`X-Wix-Consistent`]?{[Le]:t[Le]}:{}}}),u=ze(l);return u&&(t[Le]=u),l},p=(t,n)=>{if(Me(t))return d(t);if(Fe(t))return l(t);if(ie(t)&&e.host)return ae(t,e.host);if(typeof t==`function`){if(`__type`in t&&t.__type===`wix_spi_error`)return t;let r=e.host?.apiBaseUrl??`www.wixapis.com`,o=e.useCDN===void 0?i().shouldUseCDN:e.useCDN;return _e(D(()=>C(t))?S(t):t,n??{},f,e.host?.getErrorHandler?.(),(e,t)=>{let n=new URL(e,`https://${r}`);return n.host=r,n.protocol=`https`,f(n.toString(),t)},i().getActiveToken,async()=>a(),{HTTPHost:r},e.host?.name,o,e.validateRequestSchema)}return re(t)?Object.fromEntries(Object.entries(t).map(([e,n])=>[e,p(n,t[ee])])):t},m=e=>{for(let n in e)t[n]=e[n]};return{...e.modules?p(e.modules):{},get auth(){let t=i();return t.getAuthHeaders=t.getAuthHeaders.bind(void 0,e.host),t},setHeaders:m,use:p,enableContext(e,t={elevated:!1}){e===`global`?globalThis.__wix_context__==null?t.elevated?globalThis.__wix_context__={elevatedClient:this}:globalThis.__wix_context__={client:this}:t.elevated?globalThis.__wix_context__.elevatedClient=this:globalThis.__wix_context__.client=this:t.elevated?y.elevatedClient=this:y.client=this},fetch:(t,n)=>{let r=e.host?.apiBaseUrl??`www.wixapis.com`,i=new URL(t,`https://${r}`);return i.host=r,i.protocol=`https`,f(i.toString(),n)},fetchWithAuth:s,async graphql(t,n,r={apiVersion:`alpha`}){let i=e?.host?.apiBaseUrl??`www.wixapis.com`,a=await f(`https://${i}/graphql/${r.apiVersion}`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({query:t,variables:n})});if(a.status!==200)throw new T(`GraphQL request failed with status ${a.status}`,a);let{data:o,errors:s}=await a.json();return{data:o??{},errors:s}},webhooks:u,servicePlugins:c}}function ze(e){return e.headers?.get(`X-Wix-Consistent`)??e.headers?.get(`x-wix-consistent`)}var Be={_id:`id`,_createdDate:`createdDate`,_updatedDate:`updatedDate`},Ve={id:`_id`,createdDate:`_createdDate`,updatedDate:`_updatedDate`};function He(e,t){return e?.split(`.`).map(e=>t?.[e]??e).join(`.`)}var Ue=`sort.fieldName`;function We(e,t,n){return(e===Ue||e.endsWith(`.${Ue}`))&&typeof t==`string`?He(t,n):t}function Ge(e,t,n){let r=e=>n.includes(e),i=(e,n)=>{if(Array.isArray(e))e.forEach(e=>{i(e,n)});else if(typeof e==`object`&&e){let a=e;Object.keys(a).forEach(e=>{let o=n===``?e:`${n}.${e}`;if(r(o))return;let s=Ke(e,t);s!==e&&!(s in a)&&(a[s]=a[e],delete a[e]),a[s]=We(o,a[s],t),i(a[s],o)})}};return i(e,``),e}function Ke(e,t){let n;return n=e.includes(`.`)?e.split(`.`).map(e=>t[e]??e).join(`.`):t[e]??e,n}function qe(e,t=[]){return Ge(e,Be,t)}function Je(e,t=[]){return Ge(e,Ve,t)}function Ye(e){return e?.toISOString()}function Xe(e){return e?new Date(e):void 0}var Ze=new WeakMap;function Qe(){return{leaves:void 0,fields:void 0,mapFields:void 0,anyField:void 0}}function $e(e,t){let n=e.get(t);return n||(n=Qe(),e.set(t,n)),n}function et(e,t){return t===`*`?(e.anyField??=Qe(),e.anyField):t.endsWith(`{}`)?(e.mapFields??=new Map,$e(e.mapFields,t.slice(0,-2))):(e.fields??=new Map,$e(e.fields,t))}function tt(e){let t=Qe();for(let n of e){let e=n.path.split(`.`).reduce(et,t);e.leaves??=[],e.leaves.push(n)}return t}function nt(e){let t=Ze.get(e);return t||(t=tt(e),Ze.set(e,t)),t}function rt(e){return typeof e==`object`&&!!e}function it(e,{isRepeated:t,isMap:n},r){return t?Array.isArray(e)?e.map(r):e:n?rt(e)?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)])):e:r(e)}function at(e,t,n){rt(e)&&ct(e,t,n)}function ot(e,t,n){for(let[r,i]of t){if(!(r in e))continue;if(i.leaves)for(let t of i.leaves)e[r]=it(e[r],t,n);let t=e[r];Array.isArray(t)?t.forEach(e=>at(e,i,n)):at(t,i,n)}}function st(e,t,n){for(let[r,i]of t){let t=e[r];rt(t)&&Object.values(t).forEach(e=>at(e,i,n))}}function ct(e,{fields:t,mapFields:n,anyField:r},i){t&&ot(e,t,i),n&&st(e,n,i),r&&Object.values(e).forEach(e=>at(e,r,i))}function lt(e,t){if(!rt(e))return e;for(let{paths:n,transformFn:r}of t)ct(e,nt(n),r);return e}function ut(e){return ht(e).map(e=>e.toLocaleUpperCase()).join(`_`)}var dt=/([\p{Ll}\d])(\p{Lu})/gu,ft=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,pt=`$1\0$2`,mt=/[^\p{L}\d]+/giu;function ht(e){let t=e.trim();t=t.replace(dt,pt).replace(ft,pt),t=t.replace(mt,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}var gt=e=>`validationError`in(e.response?.data?.details??{}),_t=e=>`applicationError`in(e.response?.data?.details??{}),vt=e=>(e.response?.status??-1)>=400&&(e.response?.status??-1)<500;function yt(e,t={explicitPathsToArguments:{},spreadPathsToArguments:{},singleArgumentUnchanged:!1},n=[]){if(typeof e!=`object`||!e)throw e;if(gt(e))return bt(e,t,n);if(_t(e))return St(e);if(vt(e)){let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i={applicationError:{description:n,code:ut(n),data:{}},requestId:e.requestId};return xt(e,{message:JSON.stringify({message:r,details:i},null,2),extraProperties:{details:i,status:t}})}return Ct(e)}var bt=(e,t,n)=>{let r=e.response?.data,i=e.requestId,{fieldViolations:a}=r.details.validationError,o=wt(t,a,n)?.sort((e,t)=>e.field<t.field?-1:1),s=`INVALID_ARGUMENT: ${o?.map(({field:e,description:t})=>`"${e}" ${t}`)?.join(`, `)}`,c={validationError:{fieldViolations:o},requestId:i};return xt(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:e.response?.status,requestId:i}})},xt=(e,{message:t,extraProperties:n})=>Object.assign(e,{...n,message:t}),St=e=>{let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i=e.response?.data?.details?.applicationError?.description??n,a=e.response?.data?.details?.applicationError?.code??ut(n),o=e.response?.data?.details?.applicationError?.data??{},s=r===i?r:`${r}: ${i}`,c={applicationError:{description:i,code:a,data:o},requestId:e.requestId};return xt(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:t,requestId:e.requestId}})},Ct=e=>xt(e,{message:e.requestId?`System error occurred, request-id: ${e.requestId}`:`System error occurred: ${JSON.stringify(e)}`,extraProperties:{requestId:e.requestId,status:e.response?.status,code:ut(e.response?.statusText??`UNKNOWN`),...!e.response&&{runtimeError:e}}}),wt=({spreadPathsToArguments:e,explicitPathsToArguments:t,singleArgumentUnchanged:n},r,i)=>{let a={...e,...t},o=Object.keys(a);return r?.filter(e=>!r.some(t=>t.field.length>e.field.length&&t.field.startsWith(e.field)&&o.includes(t.field))).map(e=>{let r=t[e.field];if(r)return{...e,field:Tt(r,i)};let s=o?.sort((e,t)=>t.length-e.length)?.find(t=>e.field.startsWith(t));if(s){let t=a[s];if(t)return{...e,field:e.field.replace(s,Tt(t,i))}}return n?{...e,field:`${i[0]}.${e.field}`}:e})},Tt=(e,t)=>{let n=Et(e);return n==null?e:e.replace(`$[${n}]`,t[n])},Et=e=>{let t=e.match(/\$\[(?<argIndex>\d+)\]/);return t&&t.groups&&Number(t.groups.argIndex)};function Dt(){let e=typeof $wixContext<`u`&&$wixContext.initWixModules?$wixContext.initWixModules:globalThis.__wix_context__!==void 0&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(e)return{initWixModules(t,n){return Ot(()=>e(t,n))},fetchWithAuth(){throw Error(`fetchWithAuth is not available in this context`)},graphql(){throw Error(`graphql is not available in this context`)}};let t=typeof $wixContext<`u`?$wixContext.client:y.client===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.client:y.client,n=typeof $wixContext<`u`?$wixContext.elevatedClient:y.elevatedClient===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.elevatedClient:y.elevatedClient;if(t||n)return{initWixModules(e,r){if(r){if(!n)throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);return Ot(()=>n.use(e))}if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return Ot(()=>t.use(e))},fetchWithAuth:(e,n)=>{if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.fetchWithAuth(e,n)},getAuth(){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.auth},async graphql(e,n,r){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.graphql(e,n,r)}}}function Ot(e){let t=globalThis.__wix_context__,n={client:y.client,elevatedClient:y.elevatedClient},r;globalThis.__wix_context__=void 0,y.client=void 0,y.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,y.client=n.client,y.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}function kt(e,t){return((...n)=>{let r=Dt();return r?r.initWixModules(e,t).apply(void 0,n):e.apply(void 0,n)})}function At(e,t=!1){return kt(e,t)}function jt(e,t){let n=Nt(e),r=Object.entries(n).some(([e,t])=>e.includes(`.`)||Array.isArray(t)&&t.some(e=>typeof e==`object`));return t&&r?new URLSearchParams({".r":Ft(JSON.stringify(e))}):Object.entries(n).reduce((e,[t,n])=>((Array.isArray(n)?n:[n]).forEach(r=>{r==null||Array.isArray(n)&&typeof r==`object`||e.append(t,r)}),e),new URLSearchParams)}function Mt(e){let t=Jt(Kt(e.host),e.domainToMappings);return rn(en(e.protoPath,e.data||{}),t)}function Nt(e,t=``){let n={};return Object.entries(e).forEach(([e,r])=>{let i=typeof r==`object`&&!!r&&!Array.isArray(r),a=Pt(t,e);if(i){let e=Nt(r,a);Object.assign(n,e)}else n[a]=r}),n}function Pt(e,t){return`${e}${e?`.`:``}${t}`}var Ft=e=>{let t=new TextEncoder().encode(e);return(typeof btoa<`u`?btoa(String.fromCodePoint(...t)):Buffer.from(e,`utf-8`).toString(`base64`)).replace(/=/g,``).replace(/\+/g,`-`).replace(/\//g,`_`)},It=[`wix.com`,`editorx.com`],Lt=`_`,Rt=`*.`,zt=RegExp(`\\.(${It.join(`|`)})$`),Bt=[`42.wixprod.net`,`uw2-edt-1.wixprod.net`,`virginia-edt.wixprod.net`],Vt={"payments.base44.com":`manage.wix.com`,"create.editorx.com":`editor.editorx.com`},Ht=`dev.wix-code.com`,Ut=/{(.*)}/,Wt=RegExp(`\\.(${Bt.join(`|`)})$`),Gt=RegExp(`.*\\.${Ht}$`);function Kt(e){return qt(e).replace(zt,`._base_domain_`).replace(Wt,`._api_base_domain_`).replace(Gt,`*.dev.wix-code.com`)}function qt(e){return Vt[e]??e}function Jt(e,t){let n=t[e];if(n)return n;let r=Yt(e,t)??Xt(e,t);if(!r){if(Qt(e)){let e=t[$t];if(e)return e}let n=t[Lt];if(n)return n}return r??[]}function Yt(e,t){return Object.entries(t).find(([t])=>{let[,...n]=e.split(`.`);return n.join(`.`)===t})?.[1]}function Xt(e,t){let[n]=Object.entries(t).filter(([t])=>Zt(e,t)).sort(([e],[t])=>t.length-e.length);if(!n)return;let[,r]=n;return r}function Zt(e,t){if(!t.startsWith(Rt))return!1;let n=t.slice(1);return e.length>n.length&&e.endsWith(n)}function Qt(e){return!!e.match(/\._base_domain_$/)}var $t=`www._base_domain_`;function en(e,t){return e.split(`/`).map(e=>tn(e,t)).join(`/`)}function tn(e,t){let n=e.match(Ut)||[],r=n[1];return r?nn(t,r,e,e.replace(n[0],``)):e}function nn(e,t,n,r){let i=e;for(let e of t.split(`.`)){if(!i)return n;i=i[e]}return`${i}${r}`}function rn(e,t){let n=t?.find(t=>e.startsWith(t.destPath));return n?n.srcPath+e.slice(n.destPath.length):e}function an(e){return e===`NaN`?NaN:e===`Infinity`?1/0:e===`-Infinity`?-1/0:e}function on(e){return Mt(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/iam/authentication`,destPath:``}],"users._base_domain_":[{srcPath:`/iam/wix/google`,destPath:`/v1/sso/callback/root/0e6a50f5-b523-4e29-990d-f37fa2ffdd69`},{srcPath:`/authentication`,destPath:``},{srcPath:`/_api/iam/authentication/v1/sso/callback`,destPath:`/v1/sso/callback`},{srcPath:`/_api/iam/authentication`,destPath:``},{srcPath:`/_api/iam/authentication/v1/sso/login-with-token-params-redirect/`,destPath:`/v1/sso/login-with-token-params-redirect`}],"www.wixapis.com":[{srcPath:`/_api/iam/authentication`,destPath:``},{srcPath:`/iam/authentication`,destPath:``}],"bo._base_domain_":[{srcPath:`/_api/iam/authentication`,destPath:``}],"wixbo.ai":[{srcPath:`/_api/iam/authentication`,destPath:``}],"wix-bo.com":[{srcPath:`/_api/iam/authentication`,destPath:``}],"dev._base_domain_":[{srcPath:`/_api/iam/authentication`,destPath:``}],"manage._base_domain_":[{srcPath:`/_api/authentication`,destPath:``},{srcPath:`/_api/iam/authentication`,destPath:``}],"www._base_domain_":[{srcPath:`/_api/iam/authentication`,destPath:``}],"*.dev.wix-code.com":[{srcPath:`/iam/authentication/v2/sign-on`,destPath:`/v2/sign-on`},{srcPath:`/iam/authentication/v1/logout`,destPath:`/v1/logout`},{srcPath:`/iam/authentication/v2/change-password`,destPath:`/v2/change-password`},{srcPath:`/iam/authentication/v2/verify`,destPath:`/v2/verify`},{srcPath:`/iam/authentication/v2/login`,destPath:`/v2/login`},{srcPath:`/iam/authentication/v2/register`,destPath:`/v2/register`},{srcPath:`/iam/authentication/v2`,destPath:`/v2`}]}}))}var sn=`@wix/auto_sdk_identity_authentication`;function cn(e){function t({host:t}){return{entityFqdn:`wix.iam.authentication.v1.authentication`,method:`POST`,methodFqn:`wix.iam.authentication.v1.AuthenticationService.ChangePassword`,packageName:sn,migrationOptions:{optInTransformResponse:!0},url:on({protoPath:`/v2/change-password`,data:e,host:t}),data:e}}return t}async function ln(e){let{httpClient:t,sideEffects:n}=arguments[1],r=cn(qe({newPassword:e}));n?.onSiteCall?.();try{let e=await t.request(r);n?.onSuccess?.(e)}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{newPassword:`$[0]`},singleArgumentUnchanged:!1},[`newPassword`]);throw n?.onError?.(e),t}}function un(e){return t=>ln(t,{httpClient:e})}var dn=At(un),fn=`modulepreload`,pn=function(e,t){return new URL(e,t).href},mn={},L=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=pn(t,n),t=s(t),t in mn)return;mn[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:fn,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},hn=`x-wix-linguist`,gn=`00000000-0000-0000-0000-000000000000`,_n=`false`,vn=()=>{let e=xn(`language`),t=xn(`locale`);if(e)return{[hn]:[e,t||e,_n,gn].join(`|`)}};function yn(){let e=null,t=null;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var bn=()=>(typeof window<`u`?window.commonConfig:void 0)??globalThis.commonConfig,xn=e=>bn()?.[e],Sn=({createHost:e})=>({__type:`host`,create:e=>({}),host:t=>{let{applicationId:n,componentId:r}=t??{},i=typeof window<`u`?window.wixEmbedsAPI:void 0,a=e(t),o=wn();return{...a,apiBaseUrl:o,getMonitoringClient:i?.getMonitoringClientFunction?.(n,r),essentials:{language:xn(`language`),locale:xn(`locale`),get passThroughHeaders(){return vn()}}}},auth:e=>{let t=typeof window<`u`?window.wixEmbedsAPI:void 0;!e&&Cn()&&(e=t?.getAccessTokenFunction?.());let n=!1,{resolve:r,promise:i}=yn();return{getAuthHeaders:async()=>{if(!e&&n&&(e=await i),!e)throw Error(`Failed to resolve auth token`);return{headers:{Authorization:await e()}}},getAccessTokenInjector:()=>(n=!0,e=>{r(e)})}}});function Cn(){return typeof document<`u`&&document.currentScript?.tagName===`SCRIPT`}function wn(){let e=(typeof window<`u`?window.wixEmbedsAPI:void 0)?.getExternalBaseUrl?.();if(!e)return;let t=new URL(e);return t?.pathname&&t.pathname!==`/`?`${t.hostname}${t.pathname}`:t.hostname}var Tn=({clientSdk:e,applicationId:t})=>({invoke:async({namespace:n,method:r,args:i})=>{if(!e)throw Error(`Wix Site SDK only works in a Wix site environment. Learn more: https://dev.wix.com/docs/sdk/host-modules/site/introduction`);return e.invoke({namespace:n,method:r,args:i,applicationId:t,accessToken:`accessToken`})},getAccessToken:()=>{throw Error(`Not implemented`)},observeState:()=>({disconnect:()=>{}})}),En=Sn({createHost:function(e){let t=(typeof $wixContext<`u`?$wixContext.clientSdk:void 0)??e?.clientSdk??(typeof window<`u`?window?.clientSdk:void 0),{applicationId:n}=e||{};if(!n)throw Error(`"createHost" was called without a required field "applicationId"`);return{channel:Tn({clientSdk:t,applicationId:n}),close:()=>{}}}}),Dn=(e,t)=>{let n=En.host({applicationId:e,componentId:t}),r=En.auth();return Re({auth:r,host:n}).enableContext(`module`),r.getAccessTokenInjector()},On=e=>Dn(`14cc59bc-f0b7-15b8-e1c7-89ce41d0e0c9`,e),R=e=>typeof e==`string`,kn=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},An=e=>e==null?``:String(e),jn=e=>R(e)&&/^[A-Za-z0-9_@.-]{1,128}$/.test(e)&&!e.includes(`..`)&&![`__proto__`,`constructor`,`prototype`].includes(e),Mn=e=>e?.callbackApi??e?.constructor?.callbackApi,Nn=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Pn=/###/g,Fn=e=>e&&e.includes(`###`)?e.replace(Pn,`.`):e,In=e=>!e||R(e),Ln=(e,t,n)=>{let r=R(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(In(e))return{};let t=Fn(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return In(e)?{}:{obj:e,k:Fn(r[i])}},Rn=(e,t,n)=>{let{obj:r,k:i}=Ln(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Ln(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Ln(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},zn=(e,t,n,r)=>{let{obj:i,k:a}=Ln(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Bn=(e,t)=>{let{obj:n,k:r}=Ln(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Vn=(e,t,n)=>{let r=Bn(e,n);return r===void 0?Bn(t,n):r},Hn=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?R(e[r])||e[r]instanceof String||R(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Hn(e[r],t[r],n):e[r]=t[r]);return e},Un=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Wn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`,"/":`&#x2F;`},Gn=e=>R(e)?e.replace(/[&<>"'\/]/g,e=>Wn[e]):e,Kn=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},qn=[` `,`,`,`?`,`!`,`;`],Jn=new Kn(20),Yn=(e,t,n)=>{t||=``,n||=``;let r=qn.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=Jn.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},Xn=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],(typeof t==`function`||a===`__proto__`)&&!Object.prototype.hasOwnProperty.call(i,a)&&(t=void 0),t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Zn=e=>e?.replace(/_/g,`-`),Qn={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},z=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Qn,this.options=t,this.debug=t.debug,this.seen=new Set}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}once(e,t,...n){return!this.debug||this.seen.has(e)||this.seen.size>=1e3?null:(this.seen.add(e),this[t](...n))}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>R(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),R(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},$n=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){(typeof e==`string`?e.split(` `):[e]).forEach(e=>{if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}})}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},er=new WeakSet,tr=class extends $n{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.logger=z.create(`resourceStore`),this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}deprecateDottedLng(e){this.logger.once(e,`deprecate`,`${e}: a dotted language ('en.translation.key') that carries the namespace and key is removed in v27; pass language, namespace and key as separate arguments`)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?(this.deprecateDottedLng(`getResource`),o=e.split(`.`)):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):R(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Bn(this.data,o);return s==null&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s!=null||!a||!R(n)?s:Xn(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(this.deprecateDottedLng(`addResource`),o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Rn(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(R(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(this.deprecateDottedLng(`addResourceBundle`),o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Bn(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Hn(s,n,i):s={...s,...n},Rn(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return er.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&er.add(n),!0)})}toJSON(){return this.data}},nr={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},rr=Symbol(`i18next/PATH_KEY`);function ir(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===rr?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function ar(e,t){let{[rr]:n}=e(ir()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var or=e=>!R(e)&&typeof e!=`boolean`&&typeof e!=`number`,sr=class e extends $n{constructor(e,t={}){super(),Nn([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`,`ownPostProcessors`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=z.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=or(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Yn(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:R(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:R(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=ar(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?ar(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!R(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,ee=b&&!i.ordinal&&i.count===0,w=ee&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,T=m;y&&!m&&x&&(T=w);let te=or(T),ne=Object.prototype.toString.apply(T);if(y&&T&&te&&!_.includes(ne)&&!(R(v)&&Array.isArray(T))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||(this.logger.warn(`accessing an object - but returnObjects options is not enabled!`),this.logger.once(`returnedObject`,`deprecate`,`accessing an object without returnObjects returns a sentence about it today; from v27 t() returns the key, as for a missing key (returnedObjectHandler can keep today's text)`));let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,T,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(T),t=e?[]:{},n=e?g:h;for(let e in T)if(Object.prototype.hasOwnProperty.call(T,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:or(w)?w[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=T[e])}m=t}}else if(y&&R(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,p,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=w),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&w!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?w:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i,void 0,this.utils?.hasLoadedNamespace),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);ee&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||w)})}):n(e,s,w))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=R(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!R(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=R(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(o.forEach(e=>{this.logger.debug&&nr.processors[e]&&this.ownPostProcessors&&!this.ownPostProcessors.has(e)&&this.logger.once(e,`deprecate`,`postProcess: '${e}' was registered with use() on another i18next instance; from v27 post-processors are per instance, so call use() with it on this instance too`)}),e=nr.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return R(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?ar(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!R(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(R(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!R(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},cr=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=z.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=Zn(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Zn(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(R(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}let t=this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e;return this.logger.debug&&R(e)&&this.deprecateBareCode(e,t),t}deprecateBareCode(e,t){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{return}this.options.lowerCaseLng&&(n=n.toLowerCase()),n!==t&&this.logger.once(e,`deprecate`,`language code '${e}' is used as '${t}'; i18next v27 canonicalizes it to '${n}', use '${n}' in lng, fallbackLng, supportedLngs and the resources`)}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!(!e.includes(`-`)||r.includes(`-`)||e.slice(0,e.indexOf(`-`))!==r))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),R(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||R(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=R(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return R(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):R(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},lr={zero:0,one:1,two:2,few:3,many:4,other:5},ur={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},dr=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=z.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Zn(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),ur;if(!e.match(/-|_/))return ur;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>lr[e]-lr[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},fr=(e,t,n,r=`.`,i=!0)=>{let a=Vn(e,t,n);return a==null&&i&&R(n)&&(a=Xn(e,n,r),a===void 0&&(a=Xn(t,n,r))),a},pr=class{constructor(e={}){this.logger=z.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;if(a||s||f||m){let e=Object.entries({prefixEscaped:a,suffixEscaped:s,nestingPrefixEscaped:f,nestingSuffixEscaped:m}).filter(([,e])=>e).map(([e])=>e);this.logger.once(e.join(),`deprecate`,`interpolation.${e.join(`, interpolation.`)}: the regex-escaped delimiter options are removed in v27; pass the literal delimiters as prefix, suffix, nestingPrefix and nestingSuffix`)}this.escape=t===void 0?Gn:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?Un(i):a||`{{`,this.suffix=o?Un(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?Un(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?Un(l):``,this.nestingPrefix=d?Un(d):f||Un(`$t(`),this.nestingSuffix=p?Un(p):m||Un(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=e,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(!e.includes(this.formatSeparator)){let i=fr(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(fr(t,c,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let u=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables,f=[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?(this.escape===Gn&&this.options?.interpolation?.escapeValue!==!1&&R(e)&&e.includes(`/`)&&this.logger.once(`/`,`deprecate`,`escapeValue renders '/' in a value as '&#x2F;' today; from v27 the default escape leaves '/' as it is`),this.escape(e)):e}],p=[],m=0;return f.forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i.index-m,c=p.find(([e,t])=>n>=e&&n<t);if(c){t.regex.lastIndex=c[1]+m;continue}let f=i[1].trim();if(a=l(f),a===void 0){if(typeof u==`function`){let t=u(e,i,r);a=R(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,f))a=``;else if(d){this.logger.debug&&this.logger.once(`${s}\u0000${i[0]}`,`warn`,`missed to pass in variable ${f} for interpolating ${s}`),a=i[0];continue}else this.logger.warn(`missed to pass in variable ${f} for interpolating ${e}`),a=``}else!R(a)&&!this.useRawValueToEscape&&(a=An(a));let h=An(t.safeValue(a));if(e=e.slice(0,i.index)+h+e.slice(i.index+i[0].length),d?(t.regex===this.regexpUnescape?p.push([i.index,i.index+h.length]):m+=h.length-i[0].length,t.regex.lastIndex+=h.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${Un(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e},s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!R(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!R(i))return i;R(i)||(i=An(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+An(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},mr=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},hr=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o;try{o=r+JSON.stringify(a)}catch{return e(Zn(r),i)(n)}let s=t[o];return s||(s=e(Zn(r),i),t[o]=s),s(n)}},gr=e=>(t,n,r)=>e(Zn(n),r)(t),_r=class{constructor(e={}){this.logger=z.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?hr:gr;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=hr(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=mr(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},vr=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},yr=class extends $n{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=z.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r),this.callbackApi=Mn(this.backend),this.backend&&this.callbackApi===void 0&&(this.backend.read||this.backend.create)&&this.logger.deprecate(`backend: set callbackApi to declare the calling convention (true: read(language, namespace, callback) and create(languages, namespace, key, fallbackValue, callback, options); false: both return a promise or a value); guessing it from the number of parameters is deprecated`)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:!n.reload&&this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{zn(n.loaded,[i],a),vr(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(this.callbackApi===!1||this.callbackApi===void 0&&s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();R(e)&&(e=this.languageUtils.toResolveHierarchy(e)),R(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}noticeDevFallback(e){e===`dev`&&this.devIsDefaultFallback&&this.logger.once(`dev`,`warn`,`language 'dev' is requested because fallbackLng is not set (its default is ['dev']); i18next v27 defaults to fallbackLng: false and loads and saves missing keys in the requested language instead. Set fallbackLng to your source language, or to 'dev' to keep this behavior`)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.noticeDevFallback(r),this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{},s=this.newestCloneHasLoadedNamespace||this.services?.utils?.hasLoadedNamespace){if(s&&!s(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(n!=null&&n!==``){if(this.backend?.create){e?.forEach?.(e=>this.noticeDevFallback(e));let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(this.callbackApi===!1||this.callbackApi===void 0&&c.length<6)try{let i;i=this.callbackApi===!1||c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},br=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),R(e[1])&&(t.defaultValue=e[1]),R(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),xr=e=>(R(e.ns)&&(e.ns=[e.ns]),R(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),R(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),Sr=()=>{},Cr,wr=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},B=class e extends $n{constructor(e={},t){if(super(),this.options=xr(e),this.services={ownPostProcessors:new Set},this.logger=z,this.modules={external:[]},wr(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(R(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=e.fallbackLng===void 0&&this.options.fallbackLng===void 0,r=br();this.options={...r,...this.options,...xr(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);let i=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){Cr&&Cr!==this&&Cr.modules.logger!==this.modules.logger&&z.deprecate(`init: this init() replaces the logger another i18next instance set with use(), as the logger is shared in v26; from v27 each instance keeps its own logger`),Cr=this.modules.logger?this:void 0,this.modules.logger?z.init(i(this.modules.logger),this.options):z.init(null,this.options),this.pendingWarnings?.forEach(e=>this.logger.warn(e)),this.pendingWarnings=void 0;let e;e=this.modules.formatter?this.modules.formatter:_r;let t=new cr(this.options);this.store=new tr(this.options.resources,this.options);let r=this.services;r.logger=z,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new dr(t,{prepend:this.options.pluralSeparator}),e&&(r.formatter=i(e),r.formatter.init&&r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new pr(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this),reloadResources:this.reloadResources.bind(this)},r.backendConnector=new yr(i(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.devIsDefaultFallback=n,r.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(r.languageDetector=i(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options),r.languageDetector.async&&Mn(r.languageDetector)===void 0&&this.logger.deprecate(`languageDetector: set callbackApi to declare how the async detect() answers (true: detect(callback); false: detect() returns a promise); guessing it from the number of parameters is deprecated`)),this.modules.i18nFormat&&(r.i18nFormat=i(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new sr(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Sr,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let a=kn(),o=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),a.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?o():setTimeout(o,0),a}loadResources(e,t=Sr){let n=t,r=R(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=kn();if(typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),!e){let t=Object.keys(this.services.backendConnector.state).map(e=>e.split(`|`)[0]);e=[...new Set([...this.languages||[],...t])].filter(e=>e!==`cimode`)}return t||=this.options.ns,n||=Sr,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);let t=t=>{if(this.modules[t]&&this.modules[t]!==e){let e=`use: this ${t} replaces the ${t} passed to an earlier use() call; only one ${t} is used per instance`;this.isInitializing||this.isInitialized?this.logger.warn(e):(this.pendingWarnings=this.pendingWarnings||[]).push(e)}this.modules[t]=e};return e.type===`backend`&&t(`backend`),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&t(`languageDetector`),e.type===`i18nFormat`&&t(`i18nFormat`),e.type===`postProcessor`&&(nr.addPostProcessor(e),this.services.ownPostProcessors?.add(e.name)),e.type===`formatter`&&t(`formatter`),e.type===`3rdParty`&&this.modules.external.push(e),this}hydrate(e,t){return this.options.isClone?this:this.services.resourceStore?(e&&!this.initializedStoreOnce&&(this.services.resourceStore.data=e,Object.values(e).forEach(e=>{Object.keys(e).forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)})}),this.initializedStoreOnce=!0,this.isInitialized=!0),t&&!this.initializedLanguageOnce&&(this.changeLanguage(t),this.initializedLanguageOnce=!0),this):(this.logger.warn(`hydrate: call init() first, the instance has no resource store yet`),this)}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=kn();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=R(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(R(t)?[t]:t);a&&this.logger.debug&&!jn(a)&&![].concat(this.options.supportedLngs||[],this.services.languageUtils.getFallbackCodes(this.options.fallbackLng,a),this.options.preload||[]).includes(a)&&!Object.prototype.hasOwnProperty.call(this.store.data,a)&&this.logger.once(`lng:${a}`,`deprecate`,`changeLanguage: the language code '${a.slice(0,64)}' comes from lng, changeLanguage() or the language detector and is not configured; from v27 such a code is refused unless it has only letters, digits, '-', '_', '@' and '.' (no '..'), at most 128 characters. Set supportedLngs, or check the code before passing it on`),a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};if(!e&&this.services.languageDetector&&!this.services.languageDetector.async)a(this.services.languageDetector.detect());else if(!e&&this.services.languageDetector&&this.services.languageDetector.async){let e=Mn(this.services.languageDetector);e===!1||e===void 0&&this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a)}else a(e);return n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=ar(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=ar(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=ar(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return R(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?this.translator.translate(...e):(this.logger.warn(`t: called before init(); returning an empty string`),``)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=kn();return this.options.ns?(R(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=kn();R(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`ltr`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new cr(br());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Sr){let r=t.forkResourceStore;r&&(t={...t},delete t.forkResourceStore);let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={...a.services.utils,hasLoadedNamespace:a.hasLoadedNamespace.bind(a),reloadResources:a.reloadResources.bind(a)},r){let e=t=>{let n=Array.isArray(t)?[...t]:{...t};return Object.keys(n).forEach(t=>{n[t]&&typeof n[t]==`object`&&(n[t]=e(n[t]))}),n};a.store=new tr(e(this.store.data),i),a.services.resourceStore=a.store}if(t.interpolation){let e={...br().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new pr(n)}return a.translator=new sr(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.newestCloneHasLoadedNamespace=a.hasLoadedNamespace.bind(a),a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();B.createInstance,B.dir,B.init,B.loadResources,B.reloadResources,B.use,B.changeLanguage,B.getFixedT,B.t,B.exists,B.setDefaultNamespace,B.hasLoadedNamespace,B.loadNamespaces,B.loadLanguages;var Tr=({locale:e,asyncMessagesLoader:t,messages:n,useSuspense:r=!1,disableAutoInit:i=!1,bindI18n:a},{icu:o}={})=>{let s={lng:e,fallbackLng:`en`,keySeparator:!1,react:{useSuspense:r,bindI18n:a},_polyfill:{isLoading:!1}},c=B.createInstance(i?s:void 0);return o&&c.use(o),t&&c.use({type:`backend`,read:async(e,n,r)=>{try{return r(null,await t(e))}catch(e){return r(e,null)}}}),n&&(s.resources={[e]:{translation:n}}),i||c.init(s),c};function Er(e,t){let n=t&&t.cache?t.cache:Ir,r=t&&t.serializer?t.serializer:Pr;return(t&&t.strategy?t.strategy:jr)(e,{cache:n,serializer:r})}function Dr(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Or(e,t,n,r){let i=Dr(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function kr(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function Ar(e,t,n,r,i){return n.bind(t,e,r,i)}function jr(e,t){let n=e.length===1?Or:kr;return Ar(e,this,n,t.cache.create(),t.serializer)}function Mr(e,t){return Ar(e,this,kr,t.cache.create(),t.serializer)}function Nr(e,t){return Ar(e,this,Or,t.cache.create(),t.serializer)}var Pr=function(){return JSON.stringify(arguments)},Fr=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Ir={create:function(){return new Fr}},Lr={variadic:Mr,monadic:Nr},Rr=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function zr(e){let t={};return e.replace(Rr,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var Br=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Vr(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(Br).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function Hr(e){return e.replace(/^(.*?)-/,``)}var Ur=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Wr=/^(@+)?(\+|#+)?[rs]?$/g,Gr=/(\*)(0+)|(#+)(0+)|(0+)/g,Kr=/^(0+)$/;function qr(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(Wr,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function Jr(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function Yr(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!Kr.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function Xr(e){return Jr(e)||{}}function Zr(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=Hr(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t={...t,notation:`scientific`,...n.options.reduce((e,t)=>({...e,...Xr(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...Xr(t)}),{})};continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(Gr,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if(Kr.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Ur.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(Ur,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...qr(e)});continue}if(Wr.test(n.stem)){t={...t,...qr(n.stem)};continue}let e=Jr(n.stem);e&&(t={...t,...e});let r=Yr(n.stem);r&&(t={...t,...r})}return t}var Qr=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e}({});function $r(e){return e.type===0}function ei(e){return e.type===1}function ti(e){return e.type===2}function ni(e){return e.type===3}function ri(e){return e.type===4}function ii(e){return e.type===5}function ai(e){return e.type===6}function oi(e){return e.type===7}function si(e){return e.type===8}function ci(e){return!!(e&&typeof e==`object`&&e.type===0)}function li(e){return!!(e&&typeof e==`object`&&e.type===1)}var ui=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,di={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function fi(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=pi(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else n+=i===`J`?`H`:i}return n}function pi(e){let t=e.hourCycle;if(t===void 0){let n=e;t=n.getHourCycles?.()[0]??n.hourCycles?.[0]}if(t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(di[`${n}-${r}`]||di[r||``]||di[n||``]||di[`${n}-001`]||di[`001`])[0].charAt(0)}var mi=RegExp(`^${ui.source}*`),hi=RegExp(`${ui.source}*$`);function V(e,t){return{start:e,end:t}}var gi=!!Object.fromEntries,_i=!!String.prototype.trimStart,vi=!!String.prototype.trimEnd,yi=gi?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},bi=_i?function(e){return e.trimStart()}:function(e){return e.replace(mi,``)},xi=vi?function(e){return e.trimEnd()}:function(e){return e.replace(hi,``)},Si=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function Ci(e,t){return Si.lastIndex=t,Si.exec(e)[1]??``}function wi(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r<e.length;){let i=e.charCodeAt(r);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(i===10)t++,n=1,r++;else if(n++,i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);r+=t>=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}var Ti=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let e=wi(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:V(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:7,location:V(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,V(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ei(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:0,value:`<${r}/>`,location:V(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!Ei(this.char()))return this.error(23,V(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:8,value:r,children:a,location:V(n,this.clonePosition())},err:null}:this.error(23,V(o,this.clonePosition()))):this.error(26,V(e,this.clonePosition()))}return this.error(27,V(n,this.clonePosition()))}return this.error(23,V(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Oi(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}let i=V(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Di(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,V(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,V(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,V(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,V(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:V(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,V(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,V(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=Ci(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:V(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(4,V(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=xi(n.val);if(r.length===0)return this.error(6,V(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:V(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=V(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=bi(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:2,value:n,location:i,style:r.val},err:null}}{if(t.length===0)return this.error(10,i);let r=t;this.locale&&(r=fi(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?zr(r):{}};return{val:{type:a===`date`?3:4,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?2:a===`date`?3:4,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(12,V(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,V(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=V(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:yi(c.val),location:u},err:null}:{val:{type:6,value:n,options:yi(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,V(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,V(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(11,V(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=Vr(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Zr(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;c=V(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?21:20,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?17:18,V(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:V(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,V(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,V(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=V(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&ki(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function Ei(e){return e>=97&&e<=122||e>=65&&e<=90}function Di(e){return Ei(e)||e===47}function Oi(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ki(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ai(e){e.forEach(e=>{if(delete e.location,ii(e)||ai(e))for(let t in e.options)delete e.options[t].location,Ai(e.options[t].value);else ti(e)&&ci(e.style)||(ni(e)||ri(e))&&li(e.style)?delete e.style.location:si(e)&&Ai(e.children)})}function ji(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new Ti(e,t).parse();if(n.err){let e=SyntaxError(Qr[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||Ai(n.val),n.val}var Mi=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},Ni=class extends Mi{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,`INVALID_VALUE`,r)}},Pi=class extends Mi{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,`INVALID_VALUE`,n)}},Fi=class extends Mi{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,`MISSING_VALUE`,t)}};function Ii(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==0||t.type!==0?e.push(t):n.value+=t.value,e},[])}function Li(e){return typeof e==`function`}function Ri(e,t,n,r,i,a,o){if(e.length===1&&$r(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if($r(c)){s.push({type:0,value:c.value});continue}if(oi(c)){typeof a==`number`&&s.push({type:0,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new Fi(e,o);let l=i[e];if(ei(c)){(!l||typeof l==`string`||typeof l==`number`||typeof l==`bigint`)&&(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?0:1,value:l});continue}if(ni(c)){let e=typeof c.style==`string`?r.date[c.style]:li(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)});continue}if(ri(c)){let e=typeof c.style==`string`?r.time[c.style]:li(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)});continue}if(ti(c)){let e=typeof c.style==`string`?r.number[c.style]:ci(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:0,value:n.getNumberFormat(t,e).format(l)});continue}if(si(c)){let{children:e,value:l}=c,u=i[l];if(!Li(u))throw new Pi(l,`function`,o);let d=u(Ri(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?0:1,value:e})))}if(ii(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new Ni(c.value,l,Object.keys(c.options),o);s.push(...Ri(a.value,t,n,r,i));continue}if(ai(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new Mi(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,`MISSING_INTL_API`,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new Ni(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...Ri(a.value,t,n,r,i,u-(c.offset||0)));continue}}return Ii(s)}function zi(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Bi(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=zi(e[r],t[r]),n),{...e}):e}function Vi(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function Hi(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:Er((...e)=>new Intl.NumberFormat(...e),{cache:Vi(e.number),strategy:Lr.variadic}),getDateTimeFormat:Er((...e)=>new Intl.DateTimeFormat(...e),{cache:Vi(e.dateTime),strategy:Lr.variadic}),getPluralRules:Er((...e)=>new Intl.PluralRules(...e),{cache:Vi(e.pluralRules),strategy:Lr.variadic})}}var Ui=class e{constructor(t,n=e.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(t.length===1)return t[0].value;let n=t.reduce((e,t)=>(!e.length||t.type!==0||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e),[]);return n.length<=1?n[0]||``:n},this.formatToParts=e=>Ri(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...n}=i||{};this.ast=e.__parse(t,{...n,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=Bi(e.formats,r),this.formatters=i&&i.formatters||Hi(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(Intl.Locale===void 0)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}}static{this.__parse=ji}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}}}},Wi=[`__proto__`,`constructor`,`prototype`];function Gi(e,t,n){function r(e){return e&&e.indexOf(`###`)>-1?e.replace(/###/g,`.`):e}function i(){return!e||typeof e==`string`}for(var a=typeof t==`string`?t.split(`.`):[].concat(t);a.length>1;){if(i())return{};var o=r(a.shift());if(Wi.indexOf(o)>-1)return{};!e[o]&&n&&(e[o]=new n),e=e[o]}if(i())return{};var s=r(a.shift());return Wi.indexOf(s)>-1?{}:{obj:e,k:s}}function Ki(e,t,n){var r=Gi(e,t,Object),i=r.obj,a=r.k;i!==void 0&&(i[a]=n)}function qi(e,t){var n=Gi(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ji(e){return[...arguments].slice(1).forEach(function(t){if(t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Wi.indexOf(i)>-1||e[i]===void 0&&(e[i]=t[i])}}),e}function Yi(e,t){return ea(e)||$i(e,t)||Zi(e,t)||Xi()}function Xi(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zi(e,t){if(e){if(typeof e==`string`)return Qi(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qi(e,t):void 0}}function Qi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $i(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ea(e){if(Array.isArray(e))return e}function ta(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function na(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ta(Object(n),!0).forEach(function(t){ra(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ta(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ra(e,t,n){return(t=sa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function aa(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,sa(r.key),r)}}function oa(e,t,n){return t&&aa(e.prototype,t),n&&aa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function sa(e){var t=ca(e,`string`);return la(t)==`symbol`?t:t+``}function ca(e,t){if(la(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(la(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function la(e){"@babel/helpers - typeof";return la=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},la(e)}var ua=`https://www.i18next.com/how-to/using-icu-or-mf2`,da=[`zero`,`one`,`two`,`few`,`many`,`other`];function fa(){return{memoize:!0,memoizeFallback:!1,bindI18n:``,bindI18nStore:``,parseErrorHandler:function(e,t,n,r){return n},parseLngForICU:function(e){return e},escapeVariables:!1}}function pa(e,t,n,r){return n&&t&&la(t)===`object`?`${r} resolved to an object or array, but i18next-icu does not support returnObjects or joinArrays and returns the raw value unformatted.`:n&&typeof t==`string`&&t.indexOf(`{{`)>-1?`${r} could not be parsed (${e.message}). It contains "{{": i18next interpolation like {{name}} does not work with ICU, use {name}.`:`${r} could not be ${n?`parsed`:`formatted`}: ${e.message}`}var ma=function(){function e(t){ia(this,e),this.type=`i18nFormat`,this.mem={},this.warned=new Set,this.init(null,t)}return oa(e,[{key:`init`,value:function(e,t){var n=this,r=e&&e.options&&e.options.i18nFormat||{};if(this.options=Ji(r,t,this.options||{},fa()),this.formats=this.options.formats,e){var i=this.options,a=i.bindI18n,o=i.bindI18nStore,s=i.memoize;e.IntlMessageFormat=Ui,e.ICU=this,this.i18next=e,this.debug=!!(e.options&&e.options.debug),this.debug&&e.options.interpolation&&e.options.interpolation.escapeValue!==!1&&!this.options.escapeVariables&&this.warn(`interpolation.escapeValue is not applied, values are inserted without HTML escaping. Set the i18next-icu option escapeVariables: true to escape them, or interpolation.escapeValue: false if your output is escaped elsewhere (e.g. by React).`),s&&(a&&e.on(a,function(){return n.clearCache()}),o&&e.store.on(o,function(){return n.clearCache()}))}}},{key:`addUserDefinedFormats`,value:function(e){this.formats=this.formats?na(na({},this.formats),e):e,this.clearCache()}},{key:`parse`,value:function(e,t,n,r,i,a){var o=a&&a.resolved&&a.resolved.res,s=this.options.memoize&&[n,r,i],c;if(this.options.memoize){var l=qi(this.mem,s);l&&l.res===e&&(c=l.fc)}try{c||(this.debug&&typeof e==`string`&&e.indexOf(`$t(`)>-1&&this.firstTime(`nesting ${n} ${r} ${i}`)&&this.warn(`key "${i}" (${n}/${r}) contains "\$t(", but i18next-icu does not support nesting, the text is output as is.`),c=new Ui(e,this.options.parseLngForICU(n),this.formats,{ignoreTag:!0}),this.options.memoize&&(this.options.memoizeFallback||!a||o)&&Ki(this.mem,s,{res:e,fc:c}));var u=t&&t.replace&&la(t.replace)===`object`?na(na({},t),t.replace):t;return c.format(this.escapeVariableValues(u))}catch(a){return this.debug&&this.firstTime(`error ${n} ${r} ${i}`)&&this.warn(pa(a,e,!c,`key "${i}" (${n}/${r})`)),this.options.parseErrorHandler(a,i,e,t)}}},{key:`addLookupKeys`,value:function(e,t,n,r,i){return this.debug&&i&&this.checkSuffixKeys(t,n,r,i),e}},{key:`checkSuffixKeys`,value:function(e,t,n,r){var i=r.count,a=r.context,o=this.i18next.options,s=o.pluralSeparator,c=s===void 0?`_`:s,l=o.contextSeparator,u=l===void 0?`_`:l,d=this.i18next.services.resourceStore,f=`key "${e}" (${t}/${n})`;if(i!==void 0&&this.firstTime(`plural ${t} ${n} ${e}`)){var p=da.concat(da.map(function(e){return`ordinal${c}${e}`})).map(function(t){return`${e}${c}${t}`}).filter(function(e){return d.getResource(t,n,e)!==void 0});p.length&&this.warn(`${f} was called with count, but i18next-icu does not look up plural suffix keys (${p.join(`, `)}). Put the plural into the message: {count, plural, one {# item} other {# items}}.`)}var m=`${e}${u}${a}`;a!==void 0&&a!==``&&this.firstTime(`context ${t} ${n} ${m}`)&&d.getResource(t,n,m)!==void 0&&this.warn(`${f} was called with context "${a}", but i18next-icu does not look up context keys (${m}). Use a select in the message: {context, select, ${a} {...} other {...}}.`)}},{key:`firstTime`,value:function(e){return!this.warned.has(e)&&(this.warned.add(e),!0)}},{key:`warn`,value:function(e){this.i18next.services.logger.warn(`i18next-icu: ${e} See ${ua}`)}},{key:`clearCache`,value:function(){this.mem={}}},{key:`escapeVariableValues`,value:function(e){if(!this.options.escapeVariables||!e||la(e)!==`object`)return e;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=Yi(r[n],2),a=i[0],o=i[1];t[a]=typeof o==`string`?o.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#39;`):o}return t}}]),e}();ma.type=`i18nFormat`;function ha({icuOptions:e={},...t}){let{parseErrorHandler:n=void 0}=t;return Tr(t,{icu:new ma({parseErrorHandler:n,bindI18n:t.bindI18n,...e})})}var ga=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);Ca(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},_a={},va=(e,t,n,r)=>{Ca(n)&&_a[n]||(Ca(n)&&(_a[n]=new Date),ga(e,t,n,r))},ya=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},ba=(e,t,n)=>{e.loadNamespaces(t,ya(e,n))},xa=(e,t,n,r)=>{if(Ca(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ba(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,ya(e,r))},Sa=(e,t,n={})=>!t.languages||!t.languages.length?(va(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),Ca=e=>typeof e==`string`,wa=e=>typeof e==`object`&&!!e,Ta=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ea={"&amp;":`&`,"&#38;":`&`,"&lt;":`<`,"&#60;":`<`,"&gt;":`>`,"&#62;":`>`,"&apos;":`'`,"&#39;":`'`,"&quot;":`"`,"&#34;":`"`,"&nbsp;":` `,"&#160;":` `,"&copy;":`©`,"&#169;":`©`,"&reg;":`®`,"&#174;":`®`,"&hellip;":`…`,"&#8230;":`…`,"&#x2F;":`/`,"&#47;":`/`},Da=e=>Ea[e],Oa={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:e=>e.replace(Ta,Da)},ka=()=>Oa,Aa,ja=()=>Aa,Ma=n(),Na=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},Pa=(e,t)=>{let n=c();return o(()=>{n.current=t?n.current:e},[e,t]),n.current},Fa=(e,t,n,r)=>e.getFixedT(t,n,r),Ia=(e,t,n,r)=>i(Fa(e,t,n,r),[e,t,n,r]),La=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=a(Ma)||{},s=n||r||ja();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Na),!s){va(s,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next`);let e=(e,t)=>Ca(t)?t:wa(t)&&Ca(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react?.wait&&va(s,`DEPRECATED_OPTION`,`useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.`);let u={...ka(),...s.options.react,...t},{useSuspense:d,keyPrefix:f}=u,p=e||i||s.options?.defaultNS;p=Ca(p)?[p]:p||[`translation`],s.reportNamespaces.addUsedNamespaces?.(p);let m=(s.isInitialized||s.initializedStoreOnce)&&p.every(e=>Sa(e,s,u)),h=Ia(s,t.lng||null,u.nsMode===`fallback`?p:p[0],f),g=()=>h,_=()=>Fa(s,t.lng||null,u.nsMode===`fallback`?p:p[0],f),[v,y]=l(g),b=p.join();t.lng&&(b=`${t.lng}${b}`);let x=Pa(b),S=c(!0);o(()=>{let{bindI18n:e,bindI18nStore:n}=u;S.current=!0,!m&&!d&&(t.lng?xa(s,t.lng,p,()=>{S.current&&y(_)}):ba(s,p,()=>{S.current&&y(_)})),m&&x&&x!==b&&S.current&&y(_);let r=()=>{S.current&&y(_)};return e&&s?.on(e,r),n&&s?.store.on(n,r),()=>{S.current=!1,s&&e&&e?.split(` `).forEach(e=>s.off(e,r)),n&&s&&n.split(` `).forEach(e=>s.store.off(e,r))}},[s,b]),o(()=>{S.current&&m&&y(g)},[s,f,m]);let C=[v,s,m];if(C.t=v,C.i18n=s,C.ready=m,m||!m&&!d)return C;throw new Promise(e=>{t.lng?xa(s,t.lng,p,()=>e()):ba(s,p,()=>e())})};function Ra({i18n:e,defaultNS:t,children:n}){let i=s(()=>({i18n:e,defaultNS:t}),[e,t]);return r(Ma.Provider,{value:i},n)}function za(e){return e}var Ba=za(`@wix/viewer-service-site-members`);function Va(e){return e}var Ha=Va(`@wix/site-service-locale`);function Ua(e){return e}var Wa=Ua(`@wix/site-service-renderer-configuration`),Ga=e=>{try{return u(e)}catch{return}},Ka=e=>e.toLowerCase()===`jp`?`ja`:e;function qa(){let e=Ga(Wa)?.languageCode,t=Ga(Ha)?.language;return Ka(e||t||`en`)}var Ja=e=>{let[t=``]=e.toLowerCase().split(/[-_]/);return t===`jp`?`ja`:t},Ya=(e,t)=>Object.entries(e).find(([e])=>e.endsWith(`/messages_${t}.json`))?.[1],Xa=new WeakMap,Za=(e,t)=>{let n=Xa.get(e)??new Map;Xa.set(e,n);let r=n.get(t);return r||(r=ha({locale:t,messages:Ya(e,Ja(t))??Ya(e,`en`)}),n.set(t,r)),r},Qa=e=>Za(e,qa()),$a=Object.assign({"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ar.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_bg.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ca.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_cs.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_da.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_de.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_el.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_en.json":{account_settings_login_email_changed_toast:`Login email updated.`,account_settings_password_changed_toast:`Password updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Personal info updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_es.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_fi.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_fr.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_he.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_hi.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_hr.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_hu.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_id.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_it.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ja.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ko.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_lt.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_lv.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ms.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_nl.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_no.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_pl.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_pt.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ro.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_ru.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_sk.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_sl.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_sv.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_th.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_tl.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_tr.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_uk.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_vi.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`},"../../../assets/locale/units/wixMembersArea.AccountDetailsContextProvider/messages_zh.json":{account_settings_login_email_changed_toast:`Your login email was updated.`,account_settings_password_changed_toast:`Your password was updated.`,account_settings_password_sign_in_unconfirmed_toast:`We couldn't confirm it's you, so your password wasn't changed.`,account_settings_personal_info_saved_toast:`Your info was updated.`,account_settings_set_password_email_sent_toast:`Email sent. Follow the link to set your password.`}}),eo=(e,t)=>Object.entries(t).reduce((e,[t,n])=>e.replaceAll(`{{${t}}}`,String(n)),e),to=(e,t,n={})=>eo(e(t.key,{defaultValue:t.fallback,...n}),n),no=e=>{let{t}=La(),n={};for(let r of Object.keys(e)){let i=e[r];n[r]=i.prop===void 0?to(t,i):i.prop}return n},ro=[...`--wst-button-primary-background-color.--wst-button-primary-background-image.--wst-button-primary-padding-top.--wst-button-primary-border-top-color.--wst-button-primary-border-top-width.--wst-button-primary-border-top-style.--wst-button-primary-padding-right.--wst-button-primary-border-right-color.--wst-button-primary-border-right-width.--wst-button-primary-border-right-style.--wst-button-primary-padding-bottom.--wst-button-primary-border-bottom-color.--wst-button-primary-border-bottom-width.--wst-button-primary-border-bottom-style.--wst-button-primary-padding-left.--wst-button-primary-border-left-color.--wst-button-primary-border-left-width.--wst-button-primary-border-left-style.--wst-button-primary-border-top-left-radius.--wst-button-primary-border-top-right-radius.--wst-button-primary-border-bottom-right-radius.--wst-button-primary-border-bottom-left-radius.--wst-button-primary-box-shadow.--wst-button-primary-column-gap.--wst-button-primary-row-gap.--wst-button-primary-letter-spacing.--wst-button-primary-text-decoration.--wst-button-primary-text-transform.--wst-button-primary-text-shadow.--wst-button-secondary-background-color.--wst-button-secondary-background-image.--wst-button-secondary-padding-top.--wst-button-secondary-border-top-color.--wst-button-secondary-border-top-width.--wst-button-secondary-border-top-style.--wst-button-secondary-padding-right.--wst-button-secondary-border-right-color.--wst-button-secondary-border-right-width.--wst-button-secondary-border-right-style.--wst-button-secondary-padding-bottom.--wst-button-secondary-border-bottom-color.--wst-button-secondary-border-bottom-width.--wst-button-secondary-border-bottom-style.--wst-button-secondary-padding-left.--wst-button-secondary-border-left-color.--wst-button-secondary-border-left-width.--wst-button-secondary-border-left-style.--wst-button-secondary-border-top-left-radius.--wst-button-secondary-border-top-right-radius.--wst-button-secondary-border-bottom-right-radius.--wst-button-secondary-border-bottom-left-radius.--wst-button-secondary-box-shadow.--wst-button-secondary-column-gap.--wst-button-secondary-row-gap.--wst-button-secondary-letter-spacing.--wst-button-secondary-text-decoration.--wst-button-secondary-text-transform.--wst-button-secondary-text-shadow`.split(`.`),`--wst-graphics-1-color`,`--wst-system-line-1-color`,`--wst-system-line-1-width`,`--wst-system-disabled-color`,`--wst-primary-background-color`,`--wst-secondary-background-color`,`--wst-shade-2-color`,`--wst-shade-3-color`,`--wst-paragraph-1-color`,`--wst-paragraph-1-font`,`--wst-paragraph-2-color`,`--wst-paragraph-2-font`,`--wst-paragraph-2-letter-spacing`,`--wst-paragraph-2-text-decoration`,`--wst-paragraph-3-color`,`--wst-paragraph-3-font`,`--wst-paragraph-3-letter-spacing`,`--wst-paragraph-3-text-decoration`,`--wst-heading-2-font`,`--wst-heading-2-letter-spacing`,`--wst-heading-2-text-decoration`,`--wst-heading-5-color`,`--wst-heading-5-font`,`--wst-heading-6-color`,`--wst-heading-6-font`,`--wst-button-primary-color`,`--wst-button-primary-font`,`--wst-button-secondary-color`,`--wst-button-secondary-font`,`--wst-button-tertiary-color`,`--wst-button-tertiary-font`,`--wst-button-tertiary-letter-spacing`,`--wst-button-tertiary-text-decoration`,`--wst-links-and-actions-color`,`--wst-system-alert-color`,`--wst-system-error-color`,`--wst-system-success-color`,`--wst-system-default-light-color`,`--wst-system-default-dark-color`],io=`--builder-base`,ao=e=>{let[,t]=l(!1);o(()=>{t(!0)},[]);let n=i(()=>{let t=e.current;if(!t)return{};let n=getComputedStyle(t),r={};for(let e of ro){let t=n.getPropertyValue(e).trim();t&&(r[e]=t)}return n.fontSize&&(r[io]=n.fontSize),r},[e]),[,r]=l(``);return o(()=>{let e=()=>r(JSON.stringify(n()));return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[n]),i(()=>n(),[n])};function oo(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=oo(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t)}return r}function so(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=oo(e))&&(r&&(r+=` `),r+=t);return r}var co={...e},lo=`u`>typeof document?e.useLayoutEffect:()=>{},uo=`u`>typeof navigator,fo=_o(),po=yo(),mo=vo();`u`>typeof CSS&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter:none`),fo.platform===`MacIntel`&&fo.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(fo.platform),uo&&/firefox/i.test(mo);var ho=uo&&/apple/i.test(navigator.vendor);uo&&/Edg/i.test(mo),uo&&/android/i.test(po)||/android/i.test(mo),uo&&po.toLowerCase().startsWith(`mac`)&&navigator.maxTouchPoints;var go=mo.includes(`jsdom/`);function _o(){if(!uo)return{platform:``,maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??-1}}function vo(){if(!uo)return``;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(` `):navigator.userAgent}function yo(){if(!uo)return``;let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??``}var bo={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},xo={...bo,position:`fixed`,top:0,left:0};({...bo});function So(){return`u`>typeof window}function Co(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function wo(e){return So()?e instanceof Node||e instanceof Co(e).Node:!1}function To(e){return So()?e instanceof HTMLElement||e instanceof Co(e).HTMLElement:!1}function Eo(e){return!So()||`u`<typeof ShadowRoot?!1:e instanceof ShadowRoot||e instanceof Co(e).ShadowRoot}function Do(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Oo(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&Eo(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function ko(e){return`composedPath`in e?e.composedPath()[0]:e.target}function Ao(e){return e?.ownerDocument||document}var jo={},Mo={};function No(e){var t=Mo[e];if(t!==void 0)return t.exports;var n=Mo[e]={exports:{}};return jo[e](n,n.exports,No),n.exports}No.m=jo,No.add=function(e){Object.assign(No.m,e)},No.add({"../../node_modules/use-sync-external-store/cjs/use-sync-external-store.development.js"(e,t,n){},"../../node_modules/use-sync-external-store/cjs/use-sync-external-store.production.js"(e,t,n){t.useSyncExternalStore=n(`react?f15c`).useSyncExternalStore},"../../node_modules/use-sync-external-store/index.js"(e,t,n){e.exports=n(`../../node_modules/use-sync-external-store/cjs/use-sync-external-store.production.js`)},"react?f15c"(t){t.exports=e}});var Po={};function Fo(t,n){let r=e.useRef(Po);return r.current===Po&&(r.current=t(n)),r}function Io(e,t,n,r){let i=Fo(Ro).current;return zo(i,e,t,n,r)&&Vo(i,[e,t,n,r]),i.callback}function Lo(e){let t=Fo(Ro).current;return Bo(t,e)&&Vo(t,e),t.callback}function Ro(){return{callback:null,cleanup:null,refs:[]}}function zo(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function Bo(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function Vo(e,t){if(e.refs=t,t.every(e=>e==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(i!=null)switch(typeof i){case`function`:{let t=i(n);typeof t==`function`&&(r[e]=t);break}case`object`:i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(n!=null)switch(typeof n){case`function`:{let t=r[e];typeof t==`function`?t():n(null);break}case`object`:n.current=null}}}}}}function Ho(){}Object.freeze([]);var Uo=Object.freeze({});function Wo(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var Go=Wo(`https://base-ui.com/production-error`,`Base UI`),Ko=parseInt(e.version,10);function qo(e){return Ko>=e}function Jo(t){if(!e.isValidElement(t))return null;let n=t,r=n.props;return(qo(19)?r?.ref:n.ref)??null}function Yo(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function Xo(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e);continue}!0===i?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function Zo(e,t){return typeof e==`function`?e(t):e}function Qo(e,t){return typeof e==`function`?e(t):e}var $o={};function es(e,t,n,r,i){if(!n&&!r&&!i&&!e)return ns(t);let a=ns(e);return t&&(a=rs(a,t)),n&&(a=rs(a,n)),r&&(a=rs(a,r)),i&&(a=rs(a,i)),a}function ts(e){if(e.length===0)return $o;if(e.length===1)return ns(e[0]);let t=ns(e[0]);for(let n=1;n<e.length;n+=1)t=rs(t,e[n]);return t}function ns(e){return ss(e)?{...cs(e,$o)}:is(e)}function rs(e,t){return ss(t)?cs(t,e):as(e,t)}function is(e){let t={...e};for(let e in t){let n=t[e];os(e,n)&&(t[e]=us(n))}return t}function as(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case`style`:e[n]=Yo(e.style,r);break;case`className`:e[n]=fs(e.className,r);break;default:e[n]=os(n,r)?ls(e[n],r):r}}return e}function os(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t==`function`||t===void 0)}function ss(e){return typeof e==`function`}function cs(e,t){return ss(e)?e(t):e??$o}function ls(e,t){return t?e?(...n)=>{let r=n[0];if(ps(r)){let i=r;ds(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let i=t(...n);return e?.(...n),i}:us(t):e}function us(e){return e&&((...t)=>{let n=t[0];return ps(n)&&ds(n),e(...t)})}function ds(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function fs(e,t){return t?e?t+` `+e:t:e}function ps(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function ms(e,t,n={}){let r=t.render,i=hs(t,n);return!1===n.enabled?null:vs(e,r,i,n.state??Uo)}function hs(e,t={}){let{className:n,style:r,render:i}=e,{state:a=Uo,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?Zo(n,a):void 0,d=l?Qo(r,a):void 0,f=l?Xo(a,c):Uo,p=l&&s?gs(s):void 0,m=l?Yo(f,p)??{}:Uo;return`u`>typeof document&&(l?m.ref=Array.isArray(o)?Lo([m.ref,Jo(i),...o]):Io(m.ref,Jo(i),o):Io(null,null)),l?(u!==void 0&&(m.className=fs(m.className,u)),d!==void 0&&(m.style=Yo(m.style,d)),m):Uo}function gs(e){return Array.isArray(e)?ts(e):es(void 0,e)}var _s=Symbol.for(`react.lazy`);function vs(t,n,r,i){if(n){if(typeof n==`function`)return n(r,i);let t=es(r,n.props);t.ref=r.ref;let a=n;return a?.$$typeof===_s&&(a=e.Children.toArray(n)[0]),e.cloneElement(a,t)}if(t&&typeof t==`string`)return ys(t,r);throw Error(Go(8))}function ys(t,n){return t===`button`?(0,e.createElement)(`button`,{type:`button`,...n,key:n.key}):t===`img`?(0,e.createElement)(`img`,{alt:``,...n,key:n.key}):e.createElement(t,n)}var bs=co.useInsertionEffect,xs=bs&&bs!==co.useLayoutEffect?bs:e=>e();function Ss(e){let t=Fo(Cs).current;return t.next=e,xs(t.effect),t.trampoline}function Cs(){let e={next:void 0,callback:ws,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ws(){}No.add({"../../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js"(e,t,n){},"../../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js"(e,t,n){var r=n(`react?1096`);function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=r.useSyncExternalStore,s=r.useRef,c=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},"../../node_modules/use-sync-external-store/with-selector.js"(e,t,n){e.exports=n(`../../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js`)},"react?1096"(t){t.exports=e}});function Ts(e){return`data-base-ui-${e}`}var H=(e,t,n,r,i,a,...o)=>{if(o.length>0)throw Error(Go(1));let s;if(e&&t&&n&&r&&i&&a)s=(o,s,c,l)=>a(e(o,s,c,l),t(o,s,c,l),n(o,s,c,l),r(o,s,c,l),i(o,s,c,l),s,c,l);else if(e&&t&&n&&r&&i)s=(a,o,s,c)=>i(e(a,o,s,c),t(a,o,s,c),n(a,o,s,c),r(a,o,s,c),o,s,c);else if(e&&t&&n&&r)s=(i,a,o,s)=>r(e(i,a,o,s),t(i,a,o,s),n(i,a,o,s),a,o,s);else if(e&&t&&n)s=(r,i,a,o)=>n(e(r,i,a,o),t(r,i,a,o),i,a,o);else if(e&&t)s=(n,r,i,a)=>t(e(n,r,i,a),r,i,a);else if(e)s=e;else throw Error(`Missing arguments`);return s},Es=[];function Ds(e){Es.push(e)}var Os=No(`../../node_modules/use-sync-external-store/index.js`),ks=No(`../../node_modules/use-sync-external-store/with-selector.js`),As=qo(19)?Ns:Ps;function js(e,t,n,r,i){return As(e,t,n,r,i)}function Ms(t,n,r,i,a){let o=e.useCallback(()=>n(t.getSnapshot(),r,i,a),[t,n,r,i,a]);return(0,Os.useSyncExternalStore)(t.subscribe,o,o)}Ds({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);(r.didChange||!Object.is(r.value,i))&&(t=!0,r.value=i,r.didChange=!1)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Os.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Ns(e,t,n,r,i){return Ms(e,t,n,r,i)}function Ps(e,t,n,r,i){return(0,ks.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var Fs=class{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return js(this,e,t,n,r)}},Is=class extends Fs{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(t,n){e.useDebugValue(t);let r=this;lo(()=>{r.state[t]!==n&&r.set(t,n)},[r,t,n])}useSyncedValueWithCleanup(e,t){let n=this;lo(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;lo(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(t,n){e.useDebugValue(t);let r=this,i=n!==void 0;lo(()=>{i&&!Object.is(r.state[t],n)&&r.setState({...r.state,[t]:n})},[r,t,n,i])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(t,n,r,i){return e.useDebugValue(t),js(this,this.selectors[t],n,r,i)}useContextCallback(t,n){e.useDebugValue(t);let r=Ss(n??Ho);this.context[t]=r}useStateSetter(t){let n=e.useRef(void 0);return n.current===void 0&&(n.current=e=>{this.set(t,e)}),n.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},Ls=0;function Rs(t,n=`mui`){let[r,i]=e.useState(t),a=t||r;return e.useEffect(()=>{r??(Ls+=1,i(`${n}-${Ls}`))},[r,n]),a}var zs=co.useId;function Bs(e,t){if(zs!==void 0){let n=zs();return e??(t?`${t}-${n}`:n)}return Rs(e,t)}function Vs(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}function Hs(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}var Us=e.forwardRef(function(t,n){let[r,i]=e.useState();lo(()=>{ho&&i(`button`)},[]);let a={tabIndex:0,role:r};return p(`span`,{...t,ref:n,style:xo,"aria-hidden":!r||void 0,...a,"data-base-ui-focus-guard":``})}),Ws=`data-base-ui-swipe-ignore`,Gs=`data-swipe-ignore`,Ks=`[${Ws}]`,qs=`[${Gs}]`,Js=e.createContext(null),Ys=()=>e.useContext(Js),Xs=Ts(`portal`);function Zs(t={}){let{ref:n,container:r,componentProps:i=Uo,elementProps:a}=t,o=Bs(),s=Ys()?.portalNode,[c,l]=e.useState(null),[u,f]=e.useState(null),p=Ss(e=>{e!==null&&f(e)}),m=e.useRef(null);lo(()=>{if(r===null){m.current&&(m.current=null,f(null),l(null));return}if(o==null)return;let e=(r&&(wo(r)?r:r.current))??s??document.body;if(e==null){m.current&&(m.current=null,f(null),l(null));return}m.current!==e&&(m.current=e,f(null),l(e))},[r,s,o]);let h=ms(`div`,i,{ref:[n,p],props:[{id:o,[Xs]:``},a]});return{portalNode:u,portalSubtree:c&&h?d.createPortal(h,c):null}}var Qs=e.forwardRef(function(t,n){let{children:r,container:i,className:a,render:o,style:s,...c}=t,{portalNode:l,portalSubtree:u}=Zs({container:i,ref:n,componentProps:t,elementProps:c});return!u&&!l?null:m(e.Fragment,{children:[u,l&&d.createPortal(r,l)]})}),$s=[];function ec(t){e.useEffect(t,$s)}var tc=0,nc=class e{static create(){return new e}currentId=tc;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=tc,t()},e)}isStarted(){return this.currentId!==tc}clear=()=>{this.currentId!==tc&&(clearTimeout(this.currentId),this.currentId=tc)};disposeEffect=()=>this.clear};function rc(){let e=Fo(nc.create).current;return ec(e.disposeEffect),e}function ic(e){if(!e||go)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}var ac=null;globalThis.requestAnimationFrame;var oc=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,--this.callbacksCount)}},sc=class e{static create(){return new e}static request(e){return oc.request(e)}static cancel(e){return oc.cancel(e)}currentId=ac;request(e){this.cancel(),this.currentId=oc.request(()=>{this.currentId=ac,e()})}cancel=()=>{this.currentId!==ac&&(oc.cancel(this.currentId),this.currentId=ac)};disposeEffect=()=>this.cancel};function cc(){let e=Fo(sc.create).current;return ec(e.disposeEffect),e}var lc=function(e){return e.startingStyle=`data-starting-style`,e.endingStyle=`data-ending-style`,e}({}),uc={[lc.startingStyle]:``},dc={[lc.endingStyle]:``},fc={transitionStatus(e){return e===`starting`?uc:e===`ending`?dc:null}};function pc(e){return e==null?e:`current`in e?e.current:e}function mc(e,t=!1,n=!0){let r=cc();return Ss((i,a=null)=>{r.cancel();let o=pc(e);if(o==null)return;let s=o,c=()=>{d.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void i();function l(){Promise.all(s.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||c()}).catch(()=>{if(n){a?.aborted||c();return}let e=s.getAnimations();!a?.aborted&&e.length>0&&e.some(e=>e.pending||e.playState!==`finished`)&&l()})}if(t){let e=lc.startingStyle;if(!s.hasAttribute(e))return void r.request(l);let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0});return}r.request(l)})}function hc(t){let{enabled:n=!0,open:r,ref:i,onComplete:a}=t,o=Ss(a),s=mc(i,r,!1);e.useEffect(()=>{if(!n)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[n,r,o,s])}function gc(e,t,n){switch(e){case`up`:return-n;case`down`:return n;case`left`:return-t;case`right`:return t;default:return 0}}function _c(e){let t=Co(e).getComputedStyle(e).transform,n=0,r=0,i=1;if(t&&t!==`none`){let e=t.match(/matrix(?:3d)?\(([^)]+)\)/);if(e){let t=e[1].split(`, `).map(parseFloat);t.length===6?(n=t[4],r=t[5],i=Math.sqrt(t[0]*t[0]+t[1]*t[1])):t.length===16&&(n=t[12],r=t[13],i=t[0])}}return{x:n,y:r,scale:i}}function vc(e){return qo(19)?e:e?`true`:void 0}var yc=e.createContext(void 0);function bc(t=!1){let n=e.useContext(yc);if(n===void 0&&!t)throw Error(Go(16));return n}function xc(t){let{focusableWhenDisabled:n,disabled:r,composite:i=!1,tabIndex:a=0,isNativeButton:o}=t,s=i&&!1!==n,c=i&&!1===n;return{props:e.useMemo(()=>{let e={onKeyDown(e){r&&n&&e.key!==`Tab`&&e.preventDefault()}};return i||(e.tabIndex=a,!o&&r&&(e.tabIndex=n?a:-1)),(o&&(n||s)||!o&&r)&&(e[`aria-disabled`]=r),o&&(!n||c)&&(e.disabled=r),e},[i,r,n,s,c,o,a])}}function Sc(t={}){let{disabled:n=!1,focusableWhenDisabled:r,tabIndex:i=0,native:a=!0,composite:o}=t,s=e.useRef(null),c=bc(!0),l=o??c!==void 0,{props:u}=xc({focusableWhenDisabled:r,disabled:n,composite:l,tabIndex:i,isNativeButton:a}),d=e.useCallback(()=>{let e=s.current;Cc(e)&&l&&n&&u.disabled===void 0&&e.disabled&&(e.disabled=!1)},[n,u.disabled,l]);return lo(d,[d]),{getButtonProps:e.useCallback((e={})=>{let{onClick:t,onMouseDown:r,onKeyUp:i,onKeyDown:o,onPointerDown:s,...c}=e;return es({onClick(e){if(n)return void e.preventDefault();t?.(e)},onMouseDown(e){n||r?.(e)},onKeyDown(e){if(n||(ds(e),o?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,s=Cc(i),c=!a&&wc(i),u=r&&(a?s:!c),d=e.key===`Enter`,f=e.key===` `,p=i.getAttribute(`role`),m=p?.startsWith(`menuitem`)||p===`option`||p===`gridcell`;if(r&&l&&f){if(e.defaultPrevented&&m)return;e.preventDefault(),c||a&&s?(i.click(),e.preventBaseUIHandler()):u&&(t?.(e),e.preventBaseUIHandler());return}u&&(!a&&(f||d)&&e.preventDefault(),!a&&d&&t?.(e))},onKeyUp(e){if(!n){if(ds(e),i?.(e),e.target===e.currentTarget&&a&&l&&Cc(e.currentTarget)&&e.key===` `)return void e.preventDefault();e.baseUIHandlerPrevented||e.target===e.currentTarget&&!a&&!l&&e.key===` `&&t?.(e)}},onPointerDown(e){if(n)return void e.preventDefault();s?.(e)}},a?{type:`button`}:{role:`button`},u,c)},[n,u,l,a]),buttonRef:Ss(e=>{s.current=e,d()})}}function Cc(e){return To(e)&&e.tagName===`BUTTON`}function wc(e){return!!(e?.tagName===`A`&&e?.href)}function Tc(){if(!(`u`<typeof document))return document.querySelector(`#SITE_PAGES > .theme-vars`)??document.body}var Ec=Qs,Dc=e.createContext(void 0);function Oc(){let t=e.useContext(Dc);if(!t)throw Error(Go(73));return t}var kc=function(e){return e.frontmostHeight=`--toast-frontmost-height`,e}({}),Ac=e.forwardRef(function(t,n){let{render:r,className:i,style:a,children:o,...s}=t,c=Oc(),l=rc(),u=e.useRef(!1),d=e.useRef(!1),f=e.useRef(!1),h=c.useState(`isEmpty`),g=c.useState(`toasts`),_=c.useState(`focused`),v=c.useState(`expanded`),y=c.useState(`prevFocusElement`),b=g[0]?.height??0,x=e.useMemo(()=>g.some(e=>e.transitionStatus===`ending`),[g]),S=e.useMemo(()=>g.filter(e=>e.priority===`high`),[g]);e.useEffect(()=>{let e=c.state.viewport;if(!e)return;function t(t){h||t.key===`F6`&&ko(t)!==e&&(t.preventDefault(),c.setPrevFocusElement(Do(Ao(e))),e?.focus({preventScroll:!0}),c.pauseTimers(),c.setFocused(!0))}return Hs(Co(e),`keydown`,t)},[c,h]),e.useEffect(()=>{let e=c.state.viewport;if(!e||h)return;let t=Co(e);function n(e){ko(e)===t&&(c.setIsWindowFocused(!1),c.pauseTimers())}function r(n){if(n.relatedTarget)return;let r=ko(n),i=Do(Ao(e));(r===t||!Oo(e,r)||!ic(i))&&c.resumeTimers(),l.start(0,()=>c.setIsWindowFocused(!0))}return Vs(Hs(t,`blur`,n,!0),Hs(t,`focus`,r,!0))},[c,l,h]),e.useEffect(()=>{let e=c.state.viewport;return!e||h?void 0:Hs(Ao(e),`pointerdown`,c.handleDocumentPointerDown,!0)},[h,c]);function C(e){let t=c.state.viewport;t&&(u.current=!0,e.relatedTarget===t?g[0]?.ref?.current?.focus():c.restoreFocusToPrevElement())}function ee(e){e.key===`Tab`&&e.shiftKey&&ko(e.nativeEvent)===c.state.viewport&&(e.preventDefault(),c.restoreFocusToPrevElement(),c.resumeTimers())}function w(){let e=c.state.toasts.some(e=>e.transitionStatus===`ending`);c.state.isWindowFocused&&!e&&!f.current&&d.current&&(c.resumeTimers(),c.setHovering(!1),d.current=!1)}e.useEffect(w,[x,c]);function T(){c.pauseTimers(),c.setHovering(!0),d.current=!1}function te(){x||f.current?d.current=!0:(c.resumeTimers(),c.setHovering(!1))}function ne(e){e.pointerType===`touch`&&(f.current=!0)}function re(e){e.pointerType===`touch`&&(f.current=!1,w())}function ie(){if(u.current){u.current=!1;return}_||ic(Do(Ao(c.state.viewport)))&&(c.setFocused(!0),c.pauseTimers())}function ae(e){_&&!Oo(c.state.viewport,e.relatedTarget)&&(c.setFocused(!1),c.resumeTimers())}let oe={tabIndex:-1,role:`region`,"aria-live":`polite`,"aria-atomic":!1,"aria-relevant":`additions text`,"aria-label":`Notifications`,onMouseEnter:T,onMouseMove:T,onMouseLeave:te,onFocus:ie,onBlur:ae,onKeyDown:ee,onClick:ie,onPointerDown:ne,onPointerUp:re,onPointerCancel:re},E={expanded:v},se=ms(`div`,t,{ref:[n,c.setViewport],state:E,props:[oe,{style:{[kc.frontmostHeight]:b?`${b}px`:void 0}},s,{children:m(e.Fragment,{children:[!h&&y&&p(Us,{onFocus:C}),o,!h&&y&&p(Us,{onFocus:C})]})}]});return m(e.Fragment,{children:[!h&&y&&p(Us,{onFocus:C}),se,!_&&S.length>0&&p(`div`,{style:xo,children:S.map(e=>m(`div`,{role:`alert`,"aria-atomic":!0,children:[p(`div`,{children:e.title}),p(`div`,{children:e.description})]},e.id))})]})}),jc=e.createContext(void 0);function Mc(){let t=e.useContext(jc);if(!t)throw Error(Go(66));return t}var Nc=function(e){return e.index=`--toast-index`,e.offsetY=`--toast-offset-y`,e.height=`--toast-height`,e.swipeMovementX=`--toast-swipe-movement-x`,e.swipeMovementY=`--toast-swipe-movement-y`,e}({}),Pc={...fc,swipeDirection(e){return e?{"data-swipe-direction":e}:null}},Fc=40,Ic=10,Lc=.5,Rc=1,zc=`${Ks},${qs}`,Bc=e.forwardRef(function(t,n){let{toast:r,render:i,className:a,swipeDirection:o=[`down`,`right`],style:s,...c}=t,l=r.positionerProps?.anchor!==void 0,u=[];l||(u=Array.isArray(o)?o:[o]);let f=u.length>0,m=Oc(),[h,g]=e.useState(void 0),[_,v]=e.useState(!1),[y,b]=e.useState(!1),[x,S]=e.useState(!1),[C,ee]=e.useState({x:0,y:0}),[w,T]=e.useState({x:0,y:0,scale:1}),[te,ne]=e.useState(),[re,ie]=e.useState(),[ae,oe]=e.useState(null),E=e.useRef(null),se=e.useRef({x:0,y:0}),D=e.useRef({x:0,y:0,scale:1}),ce=e.useRef(void 0),le=e.useRef(0),O=e.useRef(!1),k=e.useRef({x:0,y:0}),ue=e.useRef(!1),de=e.useRef({x:0,y:0}),A=e.useRef(null),j=e.useRef(null),M=m.useState(`toastIndex`,r.id),N=m.useState(`toastVisibleIndex`,r.id),fe=m.useState(`toastOffsetY`,r.id),P=m.useState(`focused`),F=m.useState(`expanded`);hc({open:r.transitionStatus!==`ending`,ref:E,onComplete(){r.transitionStatus===`ending`&&m.removeToast(r.id)}});let pe=Ss((e=!1)=>{let t=E.current;if(!t)return;let n=t.style.height;t.style.height=`auto`;let i=t.offsetHeight;t.style.height=n;function a(){m.updateToastInternal(r.id,{ref:E,height:i,...r.transitionStatus===`starting`?{transitionStatus:void 0}:{}})}e?d.flushSync(a):a()});lo(pe,[pe]);function me(e){de.current=e,ee(e)}lo(()=>()=>{j.current?.abort()},[]);function he(e,t){let n=e,r=t;return u.includes(`left`)||u.includes(`right`)?(!u.includes(`right`)&&e>0&&(n=e**Lc),!u.includes(`left`)&&e<0&&(n=-(Math.abs(e)**Lc))):n=e>0?e**Lc:-(Math.abs(e)**Lc),u.includes(`up`)||u.includes(`down`)?(!u.includes(`down`)&&t>0&&(r=t**Lc),!u.includes(`up`)&&t<0&&(r=-(Math.abs(t)**Lc))):r=t>0?t**Lc:-(Math.abs(t)**Lc),{x:n,y:r}}let ge=Ss(e=>{if(e.pointerId!==A.current)return;A.current=null,j.current?.abort(),j.current=null,v(!1),b(!1),oe(null);let t=D.current;if(e.type===`pointercancel`||O.current){me({x:t.x,y:t.y}),g(void 0);return}let n=!1,i=de.current,a=i.x-t.x,o=i.y-t.y,s;for(let e of u){switch(e){case`right`:a>Fc&&(n=!0,s=`right`);break;case`left`:a<-40&&(n=!0,s=`left`);break;case`down`:o>Fc&&(n=!0,s=`down`);break;case`up`:o<-40&&(n=!0,s=`up`)}if(n)break}n?(g(s),S(!0),m.closeToast(r.id)):(me({x:t.x,y:t.y}),g(void 0))});function I(e){if(e.button!==0)return;e.pointerType===`touch`&&m.pauseTimers();let t=ko(e.nativeEvent);if(t&&t.closest(`button,a,input,textarea,[role="button"],${zc}`))return;if(O.current=!1,ce.current=void 0,le.current=0,A.current=e.pointerId,se.current={x:e.clientX,y:e.clientY},k.current=se.current,E.current){let e=_c(E.current);D.current=e,T(e),me({x:e.x,y:e.y})}m.setHovering(!0),v(!0),b(!1),oe(null),ue.current=!0;let n=E.current;if(n){j.current?.abort();let t=new AbortController;j.current=t;let r=Ao(n);r.addEventListener(`pointerup`,ge,{signal:t.signal}),r.addEventListener(`pointercancel`,ge,{signal:t.signal}),n.setPointerCapture?.(e.pointerId)}}function _e(e){if(e.pointerId!==A.current)return;e.preventDefault(),ue.current&&=(se.current={x:e.clientX,y:e.clientY},!1);let{clientY:t,clientX:n,movementX:r,movementY:i}=e;(i<0&&t>k.current.y||i>0&&t<k.current.y)&&(k.current={x:k.current.x,y:t}),(r<0&&n>k.current.x||r>0&&n<k.current.x)&&(k.current={x:n,y:k.current.y});let a=n-se.current.x,o=t-se.current.y,s=t-k.current.y,c=n-k.current.x;if(!y&&Math.sqrt(a*a+o*o)>=Rc&&(b(!0),ae===null)){let e=u.includes(`left`)||u.includes(`right`),t=u.includes(`up`)||u.includes(`down`);e&&t&&oe(Math.abs(a)>Math.abs(o)?`horizontal`:`vertical`)}let l;if(ce.current){let e=ce.current,t=gc(e,c,s);t>Fc?(O.current=!1,g(e)):!(u.includes(`left`)&&u.includes(`right`))&&!(u.includes(`up`)&&u.includes(`down`))&&le.current-t>=Ic&&(O.current=!0)}else ae===`vertical`?o>0?l=`down`:o<0&&(l=`up`):ae===`horizontal`?a>0?l=`right`:a<0&&(l=`left`):l=Math.abs(a)>=Math.abs(o)?a>0?`right`:`left`:o>0?`down`:`up`,l&&u.includes(l)&&(ce.current=l,le.current=gc(l,a,o),g(l));let d=he(a,o),f=D.current.x,p=D.current.y;ae===`horizontal`?(u.includes(`left`)||u.includes(`right`))&&(f+=d.x):(ae===`vertical`||(u.includes(`left`)||u.includes(`right`))&&(f+=d.x),(u.includes(`up`)||u.includes(`down`))&&(p+=d.y)),me({x:f,y:p})}function ve(e){if(e.key===`Escape`){if(!E.current||!Oo(E.current,Do(Ao(E.current))))return;m.closeToast(r.id)}}e.useEffect(()=>{if(!f)return;let e=E.current;if(!e)return;function t(t){Oo(e,ko(t))&&t.preventDefault()}return Hs(e,`touchmove`,t,{passive:!1})},[f]);function ye(){if(!_&&C.x===w.x&&C.y===w.y&&!x)return{[Nc.swipeMovementX]:`0px`,[Nc.swipeMovementY]:`0px`};let e=C.x-w.x,t=C.y-w.y;return{transition:_?`none`:void 0,transform:_?`translateX(${C.x}px) translateY(${C.y}px) scale(${w.scale})`:void 0,[Nc.swipeMovementX]:`${e}px`,[Nc.swipeMovementY]:`${t}px`}}let be=r.priority===`high`,xe={role:be?`alertdialog`:`dialog`,tabIndex:0,"aria-modal":!1,"aria-labelledby":te,"aria-describedby":re,"aria-hidden":be&&!P?!0:void 0,onPointerDown:f?I:void 0,onPointerMove:f?_e:void 0,onPointerUp:f?ge:void 0,onPointerCancel:f?ge:void 0,onKeyDown:ve,inert:vc(r.limited),style:{...ye(),[Nc.index]:r.transitionStatus===`ending`?M:N,[Nc.offsetY]:`${fe}px`,[Nc.height]:r.height?`${r.height}px`:void 0}},Se=e.useMemo(()=>({rootRef:E,toast:r,titleId:te,setTitleId:ne,descriptionId:re,setDescriptionId:ie,swiping:_,swipeDirection:h,recalculateHeight:pe,index:M,visibleIndex:N,expanded:F}),[r,te,re,_,h,pe,M,N,F]),Ce={transitionStatus:r.transitionStatus,expanded:F,limited:r.limited||!1,type:r.type,swiping:Se.swiping,swipeDirection:Se.swipeDirection},we=ms(`div`,t,{ref:[n,Se.rootRef],state:Ce,stateAttributesMapping:Pc,props:[xe,c]});return p(jc.Provider,{value:Se,children:we})}),Vc=e.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,children:o,...s}=e,{toast:c,setTitleId:l}=Mc(),u=o??c.title,d=!!u,f=Bs(a);lo(()=>{if(d)return l(f),()=>{l(void 0)}},[d,f,l]);let p=ms(`h2`,e,{ref:t,state:{type:c.type},props:{...s,id:f,children:u}});return d?p:null}),Hc=e.forwardRef(function(t,n){let{render:r,className:i,style:a,disabled:o,nativeButton:s=!0,...c}=t,l=Oc(),{toast:u}=Mc(),d=l.useState(`expanded`),[f,p]=e.useState(!1),{getButtonProps:m,buttonRef:h}=Sc({disabled:o,native:s}),g={type:u.type};return ms(`button`,t,{ref:[n,h],state:g,props:[{"aria-hidden":!d&&!f,onClick(){l.closeToast(u.id)},onFocus(){p(!0)},onBlur(){p(!1)}},c,m]})}),Uc=0;function Wc(e){return Uc+=1,`${e}-${Math.random().toString(36).slice(2,6)}-${Uc}`}function Gc(e,t){if(typeof e==`string`)return{description:e};if(typeof e==`function`){let n=e(t);return typeof n==`string`?{description:n}:n}return e}function Kc(e){let t=new Map,n=0,r=0;return e.forEach((e,i)=>{let a=e.transitionStatus===`ending`;t.set(e.id,{value:e,domIndex:i,visibleIndex:a?-1:n,offsetY:r}),r+=e.height||0,a||(n+=1)}),t}var qc=e=>e.toastMetadata,Jc={toasts:H(e=>e.toasts),isEmpty:H(e=>e.toasts.length===0),toast:H(qc,(e,t)=>e.get(t)?.value),toastIndex:H(qc,(e,t)=>e.get(t)?.domIndex??-1),toastOffsetY:H(qc,(e,t)=>e.get(t)?.offsetY??0),toastVisibleIndex:H(qc,(e,t)=>e.get(t)?.visibleIndex??-1),hovering:H(e=>e.hovering),focused:H(e=>e.focused),expanded:H(e=>e.hovering||e.focused),expandedOrOutOfFocus:H(e=>e.hovering||e.focused||!e.isWindowFocused),prevFocusElement:H(e=>e.prevFocusElement)},Yc=class extends Is{timers=new Map;areTimersPaused=!1;constructor(e){super({...e,toastMetadata:Kc(e.toasts)},{},Jc)}setFocused(e){this.set(`focused`,e)}setHovering(e){this.set(`hovering`,e)}setIsWindowFocused(e){this.set(`isWindowFocused`,e)}setPrevFocusElement(e){this.set(`prevFocusElement`,e)}setViewport=e=>{this.set(`viewport`,e)};disposeEffect=()=>()=>{this.timers.forEach(e=>{e.timeout?.clear()}),this.timers.clear()};removeToast(e,t={}){let n=Jc.toastIndex(this.state,e);if(n===-1)return;let r=this.state.toasts[n];t.skipOnRemove||r?.onRemove?.();let i=[...this.state.toasts];i.splice(n,1),this.setToasts(i)}addToast=e=>{let{timeout:t,limit:n}=this.state,r=e.id||Wc(`toast`);if(e.id){let t=Jc.toast(this.state,e.id);if(t){if(t.transitionStatus===`ending`)this.removeToast(e.id,{skipOnRemove:!0});else{let{id:t,transitionStatus:n,...r}=e;return this.updateToastInternal(e.id,r,{resetTimer:!0,markUpdated:!0}),e.id}}}let i={...e,id:r,updateKey:0,transitionStatus:`starting`},a=[i,...this.state.toasts],o=a.filter(e=>e.transitionStatus!==`ending`);if(o.length>n){let e=o.length-n,t=o.slice(-e),r=new Set(t.map(e=>e.id));this.setToasts(a.map(e=>{let t=r.has(e.id);return e.limited===t?e:{...e,limited:t}}))}else this.setToasts(a.map(e=>e.limited?{...e,limited:!1}:e));let s=i.timeout??t;return i.type!==`loading`&&s>0&&this.scheduleTimer(r,s,()=>this.closeToast(r)),Jc.expandedOrOutOfFocus(this.state)&&this.pauseTimers(),r};updateToast=(e,t)=>{this.updateToastInternal(e,t,{markUpdated:!0})};updateToastInternal=(e,t,n={})=>{let{timeout:r,toasts:i}=this.state,a=Jc.toast(this.state,e)??null;if(!a||a.transitionStatus===`ending`)return;let o={...a,...t,...n.markUpdated&&{updateKey:(a.updateKey??0)+1}};this.setToasts(i.map(t=>t.id===e?o:t));let s=o.timeout??r,c=a?.timeout??r,l=Object.hasOwn(t,`timeout`),u=o.transitionStatus!==`ending`&&o.type!==`loading`&&s>0,d=this.timers.has(e),f=c!==s,p=a?.type===`loading`;if(!u&&d){this.timers.get(e)?.timeout?.clear(),this.timers.delete(e);return}if(u&&(!d||f||l||p||n.resetTimer)){let t=this.timers.get(e);t&&(t.timeout?.clear(),this.timers.delete(e)),this.scheduleTimer(e,s,()=>this.closeToast(e)),Jc.expandedOrOutOfFocus(this.state)&&this.pauseTimers()}};closeToast=e=>{let t=e===void 0,{limit:n,toasts:r}=this.state,i;if(t)i=r,this.timers.forEach(e=>{e.timeout?.clear()}),this.timers.clear();else{let t=Jc.toast(this.state,e);if(!t)return;i=[t];let n=this.timers.get(e);n?.timeout&&(n.timeout.clear(),this.timers.delete(e))}let a=0,o=r.map(r=>{if(t||r.id===e)return{...r,transitionStatus:`ending`,height:0};if(r.transitionStatus===`ending`)return r;let i=a>=n;return a+=1,r.limited===i?r:{...r,limited:i}}),s={toasts:o,toastMetadata:Kc(o)};(t||r.length===1)&&(s.hovering=!1,s.focused=!1),this.update(s),i.forEach(e=>{e.transitionStatus!==`ending`&&e.onClose?.()}),this.handleFocusManagement(e)};promiseToast=(e,t)=>{let n=Gc(t.loading),r=this.addToast({...n,type:`loading`}),i=e.then(e=>{let n=Gc(t.success,e);return this.updateToast(r,{...n,type:`success`,timeout:n.timeout}),e}).catch(e=>{let n=Gc(t.error,e);return this.updateToast(r,{...n,type:`error`,timeout:n.timeout}),Promise.reject(e)});return{}.hasOwnProperty.call(t,`setPromise`)&&t.setPromise(i),i};pauseTimers(){this.areTimersPaused||(this.areTimersPaused=!0,this.timers.forEach(e=>{if(e.timeout){e.timeout.clear();let t=Date.now()-e.start,n=e.delay-t;e.remaining=n>0?n:0}}))}resumeTimers(){this.areTimersPaused&&(this.areTimersPaused=!1,this.timers.forEach((e,t)=>{e.remaining=e.remaining>0?e.remaining:e.delay,e.timeout??=nc.create(),e.timeout.start(e.remaining,()=>{this.timers.delete(t),e.callback()}),e.start=Date.now()}))}restoreFocusToPrevElement(){this.state.prevFocusElement?.focus({preventScroll:!0})}handleDocumentPointerDown=e=>{if(e.pointerType!==`touch`)return;let t=ko(e);Oo(this.state.viewport,t)||(this.resumeTimers(),this.update({hovering:!1,focused:!1}))};scheduleTimer(e,t,n){let r=Date.now(),i=!Jc.expandedOrOutOfFocus(this.state),a=i?nc.create():void 0;a?.start(t,()=>{this.timers.delete(e),n()}),this.timers.set(e,{timeout:a,start:i?r:0,delay:t,remaining:t,callback:n})}setToasts(e){let t={toasts:e,toastMetadata:Kc(e)};e.length===0&&(t.hovering=!1,t.focused=!1),this.update(t)}handleFocusManagement(e){let t=Do(Ao(this.state.viewport));if(!this.state.viewport||!Oo(this.state.viewport,t)||!ic(t))return;if(e===void 0)return void this.restoreFocusToPrevElement();let n=Jc.toasts(this.state),r=Jc.toastIndex(this.state,e),i=null,a=r+1;for(;a<n.length;){if(n[a].transitionStatus!==`ending`){i=n[a];break}a+=1}if(!i)for(a=r-1;a>=0;){if(n[a].transitionStatus!==`ending`){i=n[a];break}--a}i?i.ref?.current?.focus():this.restoreFocusToPrevElement()}},Xc=function(t){let{children:n,timeout:r=5e3,limit:i=3,toastManager:a}=t,o=Fo(()=>new Yc({timeout:r,limit:i,viewport:null,toasts:[],hovering:!1,focused:!1,isWindowFocused:!0,prevFocusElement:null})).current;return ec(o.disposeEffect),e.useEffect(function(){if(a)return a[` subscribe`](({action:e,options:t})=>{let n=t.id;e===`promise`&&t.promise?o.promiseToast(t.promise,t):e===`update`&&n?o.updateToast(n,t):e===`close`?o.closeToast(n):o.addToast(t)})},[o,a]),o.useSyncedValues({timeout:r,limit:i}),p(Dc.Provider,{value:o,children:n})};function Zc(){let t=e.useContext(Dc);if(!t)throw Error(Go(73));let n=t.useState(`toasts`);return e.useMemo(()=>({toasts:n,add:t.addToast,close:t.closeToast,update:t.updateToast,promise:t.promiseToast}),[n,t])}var Qc={viewport:`viewport-Wd6ktK`,root:`root-TfN4xI`,status:`status-O_LUHn`,success:`success-tUs5Op`,error:`error-clgmW0`,preview:`preview-HUjSkl`,title:`title-ECAZRW`,close:`close-GX8r1b`},$c=({size:e,...t})=>p(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:e||`24`,height:e||`24`,...t,children:p(`path`,{fillRule:`evenodd`,d:`M19.2928932,3.99989322 L20,4.707 L12.7068932,11.9998932 L20,19.2928932 L19.2928932,20 L11.9998932,12.7068932 L4.707,20 L3.99989322,19.2928932 L11.2928932,11.9998932 L3.99989322,4.707 L4.707,3.99989322 L11.9998932,11.2928932 L19.2928932,3.99989322 Z`})});function el(e){switch(e){case`success`:return Qc.success;case`error`:return Qc.error;case`preview`:return Qc.preview;default:return Qc.status}}var tl={Provider:Xc,Portal:({container:e,...t})=>p(Ec,{container:e??Tc(),...t}),Viewport:e.forwardRef(({className:e,...t},n)=>p(Ac,{ref:n,className:so(Qc.viewport,`theme-vars`,e),...t})),Root:e.forwardRef(({className:e,skin:t,swipeDirection:n=[],toast:r,...i},a)=>p(Bc,{ref:a,toast:r,className:so(Qc.root,el(t),e),swipeDirection:n,...i})),Title:e.forwardRef(({className:e,...t},n)=>p(Vc,{ref:n,className:so(Qc.title,e),...t})),Close:e.forwardRef(({className:e,...t},n)=>p(Hc,{ref:n,className:so(Qc.close,e),...t,children:p($c,{"aria-hidden":`true`})})),useToastManager:Zc},nl=`.viewport-Wd6ktK{z-index:var(--above-all-z-index);flex-direction:column;display:flex;position:fixed;bottom:0;left:0;right:0}.root-TfN4xI{box-sizing:border-box;color:#fff;width:100%;font:var(--wst-paragraph-3-font);border:var(--wst-system-line-1-width) solid color-mix(in srgb,var(--wst-system-default-light-color) 40%,transparent);opacity:0;visibility:hidden;border-radius:2px;align-items:center;gap:20px;padding-inline:32px 12px;transition:visibility .2s,opacity .2s,transform .4s;display:flex;transform:translateY(-50%);box-shadow:0 0 4px #0000001a,0 4px 8px #0000001a}.root-TfN4xI:not([data-starting-style]):not([data-ending-style]){opacity:1;visibility:visible;transform:translateY(0)}.root-TfN4xI:focus-visible{outline:2px solid var(--wst-links-and-actions-color);outline-offset:-2px}.status-O_LUHn{background-color:var(--wst-system-default-dark-color)}.success-tUs5Op{background-color:var(--wst-system-success-color)}.error-clgmW0{background-color:var(--wst-system-error-color)}.preview-HUjSkl{background-color:color-mix(in srgb,var(--wst-system-default-dark-color) 60%,transparent)}.title-ECAZRW{-webkit-line-clamp:2;min-width:0;font:inherit;-webkit-box-orient:vertical;flex:1;margin-block:16px;display:-webkit-box;overflow:hidden}.close-GX8r1b{cursor:pointer;color:inherit;background:none;border:none;justify-content:center;align-items:center;padding:14px 12px;display:inline-flex}.close-GX8r1b:hover{background-color:color-mix(in srgb,currentColor 12%,transparent)}.close-GX8r1b:focus-visible{outline:2px solid var(--wst-links-and-actions-color);outline-offset:2px}.close-GX8r1b>svg{width:20px;height:20px}@media(prefers-reduced-motion:reduce){.root-TfN4xI[data-starting-style],.root-TfN4xI[data-ending-style]{transition:opacity .12s;transform:none}}@media(width<=750px){.root-TfN4xI{padding-inline:20px}.title-ECAZRW{-webkit-line-clamp:3}}`,rl={viewport:`page-toasts-viewport`,toast:`page-toast`,toastTitle:`page-toast-title`,closeAction:`page-toast-close`},il=`[data-hook=page-toasts-viewport]{top:auto;bottom:0}`,{createRoot:al}=f,ol=Symbol.for(`@wix/app-builder-common/toasts/page-host`),sl=()=>{let{toasts:e}=tl.useToastManager();return t.createElement(tl.Portal,null,t.createElement(tl.Viewport,{"data-hook":rl.viewport},e.map(e=>t.createElement(tl.Root,{key:e.id,toast:e,skin:e.type,style:e.data?.theme,"data-hook":rl.toast},t.createElement(tl.Title,{"data-hook":rl.toastTitle}),t.createElement(tl.Close,{"data-hook":rl.closeAction})))))},cl=({onReady:e})=>{let{add:t}=tl.useToastManager();return o(()=>{e(({title:e,type:n,theme:r})=>t({title:e,type:n,data:{theme:r}}))},[t,e]),null},ll=()=>{let e=null,n=[],r=t=>{e=t,n.splice(0).forEach(t)},i=document.createElement(`div`),a=document.createElement(`style`);a.textContent=`${nl}\n${il}`,document.head.appendChild(a),document.body.appendChild(i);let o=al(i);return o.render(t.createElement(tl.Provider,null,t.createElement(cl,{onReady:r}),t.createElement(sl,null))),{post:t=>{if(e){e(t);return}n.push(t)},unmount:()=>{o.unmount(),a.remove(),i.remove()}}},ul=e=>{if(typeof document>`u`)return;let t=globalThis;t[ol]??=ll(),t[ol].post(e)},dl=e=>{let t=c(null),n=e??t,i=ao(n),a=s(()=>e?null:r(`span`,{ref:t,hidden:!0}),[e]),[u,d]=l([]),f=c(!1),p=c({}),m=c(()=>p.current);return m.current=()=>(n.current?.isConnected&&(p.current=i()),p.current),o(()=>(f.current=!0,m.current(),()=>{f.current=!1}),[]),o(()=>{u.length&&(u.forEach(ul),d([]))},[u]),s(()=>{let e=(e,t)=>{let n={title:e,type:t,theme:m.current()};if(f.current){d(e=>[...e,n]);return}ul(n)};return{success:t=>e(t,`success`),error:t=>e(t,`error`),themeAnchor:a}},[a])};function fl(){let e=typeof $wixContext<`u`&&$wixContext.initWixModules?$wixContext.initWixModules:globalThis.__wix_context__!==void 0&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(e)return{initWixModules(t,n){return pl(()=>e(t,n))},fetchWithAuth(){throw Error(`fetchWithAuth is not available in this context`)},graphql(){throw Error(`graphql is not available in this context`)}};let t=typeof $wixContext<`u`?$wixContext.client:y.client===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.client:y.client,n=typeof $wixContext<`u`?$wixContext.elevatedClient:y.elevatedClient===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.elevatedClient:y.elevatedClient;if(t||n)return{initWixModules(e,r){if(r){if(!n)throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);return pl(()=>n.use(e))}if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return pl(()=>t.use(e))},fetchWithAuth:(e,n)=>{if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.fetchWithAuth(e,n)},getAuth(){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.auth},async graphql(e,n,r){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.graphql(e,n,r)}}}function pl(e){let t=globalThis.__wix_context__,n={client:y.client,elevatedClient:y.elevatedClient},r;globalThis.__wix_context__=void 0,y.client=void 0,y.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,y.client=n.client,y.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}function ml(e,t){return{...e,...Object.fromEntries(t.map(t=>[t,(...n)=>{let r=fl();if(!r)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return r.initWixModules(e)[t].apply(void 0,n)}]))}}function hl(e){return ml({__type:`host`,create:t=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:r(t)}),{})},Object.keys(e))}function gl(e){"@babel/helpers - typeof";return gl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},gl(e)}function _l(e,t){if(gl(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(gl(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vl(e){var t=_l(e,`string`);return gl(t)==`symbol`?t:t+``}function U(e,t,n){return(t=vl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return{evid:100,src:176,endpoint:``,params:e}}function bl(e){return{evid:101,src:176,endpoint:``,params:e}}function xl(e){return{evid:102,src:176,endpoint:``,params:e}}function Sl(e){return{evid:103,src:176,endpoint:``,params:e}}function Cl(e){return{evid:404,src:176,endpoint:``,params:e}}function wl(e){return e}function Tl(e,t){var n;let{errorAccessor:r,requestOptions:i}=t,{biLogger:a,onlineManager:o,webWindow:s,environment:c,biDefaultsOverrides:l}=e,{statusCode:u,errorData:d,errorDetails:f,errorMessage:p,exceptionMessage:m,httpError:h,errorHandlerState:g}=r,_=h?.config;a.report(wl(Cl)({artifact_id:c.artifactId,full_artifact_id:c.fullArtifactId,hostingEnvironment:l?.hostingEnvironment,app_id:l?.app_id,artifactVersion:c.version,error_code:u,error_json:d?JSON.stringify(d):void 0,exception_message:m,error_message:p,client_error_code:r?.clientCode,error_type:f!=null&&f.applicationError?`applicationError`:f!=null&&f.validationError?`validationError`:void 0,request_id:h?.requestId,hasInternetConnection:o.onLine,pageUrl:s==null||(n=s.location)==null?void 0:n.href,session_id:g?.sessionId,serverUrl:_?.url||i?.url,method:_?.method||i?.method||`unknown`,entity_fqdn:_?.entityFqdn||i?.entityFqdn,method_fqn:_?.methodFqn||i?.methodFqn,server_artifactid:_?.artifactId}))}var El={400:`INVALID_ARGUMENT`,401:`UNAUTHENTICATED`,403:`PERMISSION_DENIED`,404:`NOT_FOUND`,409:`ALREADY_EXISTS`,428:`FAILED_PRECONDITION`,429:`RESOURCE_EXHAUSTED`,499:`CANCELED`,500:`INTERNAL`,501:`NOT_IMPLEMENTED`,502:`BAD_GATEWAY`,503:`UNAVAILABLE`};function Dl(e){let{errorAccessor:t,errorCodesMap:n}=e,{applicationError:r,statusCode:i,error:a,validationError:o}=t;if(r){let{code:e}=r,t=n.applicationError?.[e];if(t===!1)return null;if(t)return t(r,a)}if(n.validationError){var s;let e=Object.keys(n.validationError),t=o==null||(s=o.fieldViolations)==null?void 0:s.find(t=>{let{ruleName:n}=t;return e.includes(n)});if(t!=null&&t.ruleName){let e=n.validationError?.[t.ruleName];if(e)return e(a)}}let c=i==null?null:El[i],l={...n.serverError?{INTERNAL:n.serverError,NOT_IMPLEMENTED:n.serverError,BAD_GATEWAY:n.serverError,UNAVAILABLE:n.serverError}:{},...n.statusCodeError},u=c==null?null:l[c];return u?u(a):null}var Ol=class{constructor(e){U(this,`errorAccessor`,void 0),U(this,`errorCodesMap`,void 0),U(this,`commonErrorsMapState`,void 0),U(this,`onlineManager`,void 0),U(this,`consumerResolvedError`,void 0),U(this,`commonResolvedError`,void 0),this.commonErrorsMapState=e.commonErrorsMapState,this.errorAccessor=e.errorAccessor,this.errorCodesMap=e.errorCodesMap,this.onlineManager=e.onlineManager}get commonErrors(){return this.commonErrorsMapState.commonErrors}_resolveNetworkError(){let{onlineManager:e,commonErrors:t,errorAccessor:n}=this;return t?e.onLine?t.getNetworkErrorShowErrorProps(n):t.connectionErrorShowErrorProps:null}_resolveCommonError(){let{errorAccessor:e,commonErrors:t,errorCodesMap:n}=this,{error:r,httpError:i,validationError:a}=e;if(i==null)return this._resolveNetworkError();if(!t)return null;if(a){var o;return(o=t.commonErrorsMap.statusCodeError)==null||o.INVALID_ARGUMENT==null?void 0:o.INVALID_ARGUMENT(r)}return Dl({errorAccessor:e,errorCodesMap:t.commonErrorsMap})||((n==null||n.serverError==null?void 0:n.serverError(r))??t.defaultErrorShowErrorProps)}_resolveConsumerError(){let{errorCodesMap:e,errorAccessor:t}=this,{httpError:n}=t;return n==null||e==null?null:Dl({errorAccessor:t,errorCodesMap:e})}resolve(){this.consumerResolvedError=this._resolveConsumerError(),this.consumerResolvedError??(this.commonResolvedError=this._resolveCommonError())}get errorToShow(){return this.consumerResolvedError??this.commonResolvedError}};function kl(e,t){let{commonErrorsMapState:n,onlineManager:r}=e,{errorAccessor:i,errorCodesMap:a}=t,o=new Ol({errorAccessor:i,errorCodesMap:a,commonErrorsMapState:n,onlineManager:r});return o.resolve(),o}function Al(e){return typeof e.biLoggerOrFactory==`function`?e.biLoggerOrFactory().logger():e.biLoggerOrFactory}function jl(e){return e!=null}function Ml(e){return jl(e)&&e.response!=null}function Nl(e){return jl(e)&&e.message!=null}function Pl(e){return jl(e)&&e.details!=null}function Fl(e){return e!=null}function Il(e){return Fl(e)&&e.status!=null}function Ll(e){return{response:{data:{details:e.details},status:e.status},requestId:e.requestId}}function Rl(e){return{response:{data:e._errorHandlerState?.responseData,status:e.status},requestId:e.headers.get(`X-Wix-Request-Id`)}}var zl=class{constructor(e){U(this,`inputError`,void 0),U(this,`_error`,void 0),U(this,`_httpError`,void 0),U(this,`_errorDetails`,void 0),this.inputError=e.error}get error(){let{inputError:e}=this;return this._error??=typeof Response<`u`&&e instanceof Response||e instanceof Error?e:null}get exceptionMessage(){return this.error?.message}get httpError(){let{inputError:e}=this;return this._httpError??=Ml(e)?e:typeof Response<`u`&&e instanceof Response?Rl(e):Il(e)?Ll(e):null}get errorHandlerState(){let{error:e}=this;return e?e._errorHandlerState??={}:null}get clientCode(){return this.httpError?.code}get errorResponse(){return this.httpError?.response}get statusCode(){return this.errorResponse?.status}get errorData(){return this.errorResponse?.data}get errorDetails(){let{errorData:e}=this;return this._errorDetails??=Pl(e)?e.details:null}get errorMessage(){let{errorData:e}=this;return Nl(e)?e.message:void 0}get applicationError(){return this.errorDetails?.applicationError}get validationError(){return this.errorDetails?.validationError}},Bl=v({default:()=>Vl}),Vl,Hl=g((()=>{Vl={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Ul=v({default:()=>Wl}),Wl,Gl=g((()=>{Wl={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Kl=v({default:()=>ql}),ql,Jl=g((()=>{ql={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Yl=v({default:()=>Xl}),Xl,Zl=g((()=>{Xl={"errorHandler.common-error.permission-denied.site":`Nemáte oprávnění provést tuto akci. Požádejte o\xA0přístup vlastníka webu.`,"errorHandler.uncommon-error.NotImplemented":`Tato akce není momentálně dostupná.`,"errorHandler.common-error.conflict":`Změny nelze uložit, protože tato stránka byla aktualizována někde jinde. Poznamenejte si změny, obnovte stránku a zkuste ji upravit znovu.`,"errorHandler.common-error.permission-denied.app":`Pro tuto akci nemáte oprávnění. Požádejte o\xA0přístup vlastníka aplikace.`,"errorHandler.common-error.permission-denied.workspace":`Pro tuto akci nemáte oprávnění. Požádejte o\xA0přístup vlastníka pracovního prostoru.`,"errorHandler.common-error.CheckStatus.cta":`Stránka se stavem kontroly`,"errorHandler.common-error.refresh.cta":`Obnovit`,"errorHandler.common-error.noConnection":`Vypadá to, že jste offline. Zkontrolujte připojení a zkuste to znovu.`,"errorHandler.common-error.resource-exhausted":`Příliš mnoho akcí bylo provedeno příliš rychle. Chvíli počkejte a zkuste to znovu.`,"errorHandler.common-error.unauthenticated.cta":`Přihlásit se`,"errorHandler.common-error.goBack.cta":`Vrátit se`,"errorHandler.common-error.not-found":`Vypadá to, že tato položka již neexistuje.`,"errorHandler.common-error.captchaRequired.verify.cta":`Ověřit`,"errorHandler.common-error.tryAgain.cta":`Zkusit znovu`,"errorHandler.requestID.tooltip.cta":`Kopírovat ID`,"errorHandler.common-error.permission-denied":`Nemáte potřebná oprávnění. Požádejte o\xA0přístup vlastníka.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`Máme technické potíže. Zkuste to znovu nebo obnovte stránku.`,"errorHandler.common-error.unauthenticated":`Jste odhlášeni. Pro pokračování se přihlaste.`,"errorHandler.common-error.networkError":`Objevily se potíže při připojování k vaší síti. Zkontrolujte připojení a zkuste to znovu.`,"errorHandler.common-error.technicalIssue":`Máme technické potíže. Zkuste to znovu nebo obnovte stránku.`,"errorHandler.common-error.captchaRequired":`Pokud chcete pokračovat, bude potřeba ověřit, zda jste člověk.`,"errorHandler.common-error.technicalIssue.generic":`Máme technické potíže. Zkuste to znovu nebo obnovte stránku.`,"errorHandler.common-error.validationBasic":`Některá pole obsahují neplatné nebo chybějící údaje.`,"errorHandler.requestID.tooltip.cta.copied-success":`Zkopírováno!`}})),Ql=v({default:()=>$l}),$l,eu=g((()=>{$l={"errorHandler.common-error.permission-denied.site":`Du har ikke tilladelse til at gøre dette. Anmod om adgang fra hjemmesideejeren.`,"errorHandler.uncommon-error.NotImplemented":`Denne handling er ikke tilgængelig lige nu.`,"errorHandler.common-error.conflict":`Ændringerne kan ikke gemmes, fordi denne side er blevet ændret et andet sted. Noter dine ændringer, genindlæs, og prøv derefter at redigere igen.`,"errorHandler.common-error.permission-denied.app":`Du har ikke tilladelse til at udføre denne handling. Anmod om adgang fra app-ejeren.`,"errorHandler.common-error.permission-denied.workspace":`Du har ikke tilladelse til at udføre denne handling. Anmod om adgang fra ejer af workspace.`,"errorHandler.common-error.CheckStatus.cta":`Tjek statussiden`,"errorHandler.common-error.refresh.cta":`Genindlæs`,"errorHandler.common-error.noConnection":`Det ser ud til, at du er offline. Tjek forbindelsen, og prøv igen.`,"errorHandler.common-error.resource-exhausted":`For mange handlinger blev udført for hurtigt. Vent et øjeblik og prøv igen.`,"errorHandler.common-error.unauthenticated.cta":`Log ind`,"errorHandler.common-error.goBack.cta":`Gå tilbage`,"errorHandler.common-error.not-found":`Det ser ud til, at dette ikke eksisterer længere.`,"errorHandler.common-error.captchaRequired.verify.cta":`Bekræft`,"errorHandler.common-error.tryAgain.cta":`Prøv igen`,"errorHandler.requestID.tooltip.cta":`Kopiér ID`,"errorHandler.common-error.permission-denied":`Du har ikke de nødvendige tilladelser. Anmod om adgang fra ejeren.`,"errorHandler.requestID.tooltip.description":`Hvis du rapporterer denne fejl til kundeservice, skal du dele dette anmodnings-ID, så de kan undersøge sagen.`,"errorHandler.common-error.technicalIssue-unmappedError":`Der er opstået et teknisk problem hos os. Prøv igen, eller opdater.`,"errorHandler.common-error.unauthenticated":`Du er logget ud. Log ind igen for at fortsætte.`,"errorHandler.common-error.networkError":`Der opstod et problem med at oprette forbindelse til dit netværk. Tjek forbindelsen, og prøv igen.`,"errorHandler.common-error.technicalIssue":`Der er opstået et teknisk problem hos os. Prøv igen, eller opdater.`,"errorHandler.common-error.captchaRequired":`Bekræft, at du er et menneske for at fortsætte.`,"errorHandler.common-error.technicalIssue.generic":`Der er opstået et teknisk problem hos os. Prøv igen, eller opdater.`,"errorHandler.common-error.validationBasic":`Nogle felter har ugyldige eller manglende oplysninger.`,"errorHandler.requestID.tooltip.cta.copied-success":`Kopieret!`}})),tu=v({default:()=>nu}),nu,ru=g((()=>{nu={"errorHandler.common-error.permission-denied.site":`Du bist nicht zu dieser Aktion berechtigt. Bitte den Website-Eigentümer um Zugriff.`,"errorHandler.uncommon-error.NotImplemented":`Diese Aktion ist zurzeit nicht verfügbar.`,"errorHandler.common-error.conflict":`Die Änderungen konnten nicht gespeichert werden, da die Seite an anderer Stelle aktualisiert wurde. Mache Notiz von deinen Änderungen, aktualisiere die Seite und versuche erneut, sie zu bearbeiten.`,"errorHandler.common-error.permission-denied.app":`Du bist zu dieser Aktion nicht berechtigt. Bitte den App-Eigentümer um Zugriff.`,"errorHandler.common-error.permission-denied.workspace":`Du bist zu dieser Aktion nicht berechtigt. Bitte den Workspace-Eigentümer um Zugriff.`,"errorHandler.common-error.CheckStatus.cta":`Statusseite prüfen`,"errorHandler.common-error.refresh.cta":`Aktualisieren`,"errorHandler.common-error.noConnection":`Du bist offline. Überprüfe deine Verbindung und versuche es erneut.`,"errorHandler.common-error.resource-exhausted":`Zu viele Aktionen wurden zu schnell durchgeführt. Warte kurz und versuche es erneut.`,"errorHandler.common-error.unauthenticated.cta":`Anmelden`,"errorHandler.common-error.goBack.cta":`Zurück`,"errorHandler.common-error.not-found":`Dieses Element gibt es nicht mehr.`,"errorHandler.common-error.captchaRequired.verify.cta":`Bestätigen`,"errorHandler.common-error.tryAgain.cta":`Erneut versuchen`,"errorHandler.requestID.tooltip.cta":`ID kopieren`,"errorHandler.common-error.permission-denied":`Du hast nicht die erforderlichen Berechtigungen. Bitte den Eigentümer um Zugriff.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`Es gab ein technisches Problem. Versuche es erneut oder aktualisiere die Seite.`,"errorHandler.common-error.unauthenticated":`Du bist abgemeldet. Melde dich an, um fortzufahren.`,"errorHandler.common-error.networkError":`Es gab ein Netzwerkproblem. Überprüfe deine Verbindung und versuche es erneut.`,"errorHandler.common-error.technicalIssue":`Es gab ein technisches Problem. Versuche es erneut oder aktualisiere die Seite.`,"errorHandler.common-error.captchaRequired":`Um fortzufahren, bestätige, dass du kein Roboter bist.`,"errorHandler.common-error.technicalIssue.generic":`Es gab ein technisches Problem. Versuche es erneut oder aktualisiere die Seite.`,"errorHandler.common-error.validationBasic":`Einige Felder enthalten ungültige oder fehlende Informationen.`,"errorHandler.requestID.tooltip.cta.copied-success":`Kopiert`}})),iu=v({default:()=>au}),au,ou=g((()=>{au={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Ανανέωση`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Σύνδεση`,"errorHandler.common-error.goBack.cta":`Πίσω`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`επαλήθευση`,"errorHandler.common-error.tryAgain.cta":`Προσπαθήστε ξανά`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),su=v({default:()=>cu}),cu,lu=g((()=>{cu={"errorHandler.common-error.conflict":`Can’t save changes because this page was updated somewhere else. Take note of your changes, then refresh and try editing again.`,"errorHandler.common-error.resource-exhausted":`Too many actions were done too quickly. Wait a minute and try again.`,"errorHandler.common-error.not-found":`It looks like this doesn't exist anymore.`,"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Request access from the site owner.`,"errorHandler.common-error.unauthenticated":`You’re logged out. Log back in to continue.`,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.common-error.technicalIssue":`There was a technical issue on our end. Try again or refresh.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Request access from the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Request access from the workspace owner.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.permission-denied":`You don't have the necessary permissions. Request access from the owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.uncommon-error.NotImplemented":`This action isn't available right now.`,"errorHandler.common-error.technicalIssue-unmappedError":`There was a technical issue on our end. Try again or refresh.`,"errorHandler.common-error.technicalIssue.generic":`There was a technical issue on our end. Try again or refresh.`,"errorHandler.requestID.tooltip.description":`If you report this error to Customer Care, share this request ID so they can investigate.`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),uu=v({default:()=>du}),du,fu=g((()=>{du={"errorHandler.common-error.permission-denied.site":`No tienes permiso para realizar esta acción. Solicita acceso al propietario del sitio.`,"errorHandler.uncommon-error.NotImplemented":`Esta acción no está disponible en este momento.`,"errorHandler.common-error.conflict":`No se pueden guardar los cambios porque esta página se actualizó en otro lugar. Ten en cuenta los cambios, actualiza e intenta editar nuevamente.`,"errorHandler.common-error.permission-denied.app":`No tienes permiso para realizar esta acción. Solicita acceso al propietario de la app.`,"errorHandler.common-error.permission-denied.workspace":`No tienes permiso para realizar esta acción. Solicita acceso al propietario del espacio de trabajo.`,"errorHandler.common-error.CheckStatus.cta":`Verificar estado de página`,"errorHandler.common-error.refresh.cta":`Actualizar`,"errorHandler.common-error.noConnection":`Parece que estás sin conexión. Comprueba tu conexión a Internet y vuelve a intentarlo.`,"errorHandler.common-error.resource-exhausted":`Se realizaron demasiadas acciones en muy poco tiempo. Espera un minuto y vuelve a intentarlo.`,"errorHandler.common-error.unauthenticated.cta":`Iniciar sesión`,"errorHandler.common-error.goBack.cta":`Volver`,"errorHandler.common-error.not-found":`Parece que esto ya no existe.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verificar`,"errorHandler.common-error.tryAgain.cta":`Reintentar`,"errorHandler.requestID.tooltip.cta":`Copiar ID`,"errorHandler.common-error.permission-denied":`No tienes los permisos necesarios. Solicita acceso al propietario.`,"errorHandler.requestID.tooltip.description":`Si informas de este error a Atención al Cliente, comparte este ID de solicitud para que puedan investigarlo.`,"errorHandler.common-error.technicalIssue-unmappedError":`Hubo un problema técnico de nuestra parte. Actualiza o inténtalo de nuevo.`,"errorHandler.common-error.unauthenticated":`Se ha cerrado la sesión de tu cuenta. Vuelve a iniciar sesión para continuar.`,"errorHandler.common-error.networkError":`Hubo un problema al conectarse a la red. Comprueba tu conexión a Internet y vuelve a intentarlo.`,"errorHandler.common-error.technicalIssue":`Hubo un problema técnico de nuestra parte. Actualiza o inténtalo de nuevo.`,"errorHandler.common-error.captchaRequired":`Para continuar, verifica que eres humano.`,"errorHandler.common-error.technicalIssue.generic":`Hubo un problema técnico de nuestra parte. Actualiza o inténtalo de nuevo.`,"errorHandler.common-error.validationBasic":`Algunos campos no contienen información válida o falta información.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copiado`}})),pu=v({default:()=>mu}),mu,hu=g((()=>{mu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),gu=v({default:()=>_u}),_u,vu=g((()=>{_u={"errorHandler.common-error.permission-denied.site":`Vous n'avez pas les autorisations nécessaires. Demandez l'accès au propriétaire du site.`,"errorHandler.uncommon-error.NotImplemented":`Cette action n'est pas disponible pour le moment.`,"errorHandler.common-error.conflict":`Impossible d'enregistrer les modifications car cette page a été mise à jour ailleurs. Prenez note de vos modifications, puis actualisez la page et réessayez de la modifier.`,"errorHandler.common-error.permission-denied.app":`Vous n'avez pas l'autorisation nécessaire pour effectuer cette action. Demandez l'accès au propriétaire de l'appli.`,"errorHandler.common-error.permission-denied.workspace":`Vous n'avez pas l'autorisation nécessaire pour effectuer cette action. Demandez l'accès au propriétaire de l'espace de travail.`,"errorHandler.common-error.CheckStatus.cta":`Voir la page de statut`,"errorHandler.common-error.refresh.cta":`Actualiser`,"errorHandler.common-error.noConnection":`Il semble que vous êtes hors ligne. Vérifiez votre connexion et réessayez.`,"errorHandler.common-error.resource-exhausted":`Trop d'actions ont été effectuées trop rapidement. Patientez une minute puis réessayez.`,"errorHandler.common-error.unauthenticated.cta":`Se connecter`,"errorHandler.common-error.goBack.cta":`Retour`,"errorHandler.common-error.not-found":`Il semble que cela n'existe plus.`,"errorHandler.common-error.captchaRequired.verify.cta":`Vérifier`,"errorHandler.common-error.tryAgain.cta":`Réessayer`,"errorHandler.requestID.tooltip.cta":`Copier l'ID`,"errorHandler.common-error.permission-denied":`Vous n'avez pas les autorisations nécessaires. Demandez l'accès au propriétaire.`,"errorHandler.requestID.tooltip.description":`Si vous signalez cette erreur à l'Assistance, partagez cet ID de demande pour qu'ils puissent enquêter.`,"errorHandler.common-error.technicalIssue-unmappedError":`Nous avons rencontré un problème technique. Veuillez réessayer ou actualiser la page.`,"errorHandler.common-error.unauthenticated":`Vous êtes déconnecté. Reconnectez-vous pour continuer.`,"errorHandler.common-error.networkError":`Un problème de connexion à votre réseau est survenu. Vérifiez votre connexion et réessayez.`,"errorHandler.common-error.technicalIssue":`Nous avons rencontré un problème technique. Veuillez réessayer ou actualiser la page.`,"errorHandler.common-error.captchaRequired":`Pour continuer, vérifiez que vous êtes un humain.`,"errorHandler.common-error.technicalIssue.generic":`Nous avons rencontré un problème technique. Veuillez réessayer ou actualiser la page.`,"errorHandler.common-error.validationBasic":`Certains champs contiennent des informations invalides ou manquantes.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copié.`}})),yu=v({default:()=>bu}),bu,xu=g((()=>{bu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Su=v({default:()=>Cu}),Cu,wu=g((()=>{Cu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Tu=v({default:()=>Eu}),Eu,Du=g((()=>{Eu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Ou=v({default:()=>ku}),ku,Au=g((()=>{ku={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),ju=v({default:()=>Mu}),Mu,Nu=g((()=>{Mu={"errorHandler.common-error.permission-denied.site":`Anda tidak memiliki izin untuk melakukan ini. Minta akses dari pemilik situs.`,"errorHandler.uncommon-error.NotImplemented":`Tindakan ini tidak tersedia saat ini.`,"errorHandler.common-error.conflict":`Tidak dapat menyimpan perubahan karena halaman ini diperbarui di tempat lain. Catat perubahan Anda, lalu muat ulang dan coba edit lagi.`,"errorHandler.common-error.permission-denied.app":`Anda tidak memiliki izin untuk melakukan tindakan ini. Minta akses dari pemilik aplikasi.`,"errorHandler.common-error.permission-denied.workspace":`Anda tidak memiliki izin untuk melakukan tindakan ini. Minta akses dari pemilik ruang kerja.`,"errorHandler.common-error.CheckStatus.cta":`Periksa Halaman Status`,"errorHandler.common-error.refresh.cta":`Muat Ulang`,"errorHandler.common-error.noConnection":`Sepertinya Anda sedang offline. Periksa koneksi Anda dan coba lagi.`,"errorHandler.common-error.resource-exhausted":`Terlalu banyak tindakan yang dilakukan terlalu cepat. Tunggu sebentar dan coba lagi.`,"errorHandler.common-error.unauthenticated.cta":`Login`,"errorHandler.common-error.goBack.cta":`Kembali`,"errorHandler.common-error.not-found":`Sepertinya ini tidak ada lagi.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verifikasi`,"errorHandler.common-error.tryAgain.cta":`Coba Lagi`,"errorHandler.requestID.tooltip.cta":`Salin ID`,"errorHandler.common-error.permission-denied":`Anda tidak memiliki izin yang diperlukan. Minta akses dari pemilik.`,"errorHandler.requestID.tooltip.description":`Jika Anda melaporkan kesalahan ini ke Layanan Pelanggan, bagikan ID permintaan ini agar mereka dapat menyelidikinya.`,"errorHandler.common-error.technicalIssue-unmappedError":`Ada masalah teknis di pihak kami. Coba lagi atau muat ulang.`,"errorHandler.common-error.unauthenticated":`Anda telah logout. Login kembali untuk melanjutkan.`,"errorHandler.common-error.networkError":`Terjadi masalah saat menghubungkan ke jaringan Anda. Periksa koneksi Anda dan coba lagi.`,"errorHandler.common-error.technicalIssue":`Ada masalah teknis di pihak kami. Coba lagi atau muat ulang.`,"errorHandler.common-error.captchaRequired":`Untuk melanjutkan, verifikasi bahwa Anda manusia.`,"errorHandler.common-error.technicalIssue.generic":`Ada masalah teknis di pihak kami. Coba lagi atau muat ulang.`,"errorHandler.common-error.validationBasic":`Beberapa kolom memiliki informasi yang tidak valid atau tidak memiliki informasi.`,"errorHandler.requestID.tooltip.cta.copied-success":`Disalin!`}})),Pu=v({default:()=>Fu}),Fu,Iu=g((()=>{Fu={"errorHandler.common-error.permission-denied.site":`Non hai l'autorizzazione per farlo. Richiedi l'accesso al proprietario del sito.`,"errorHandler.uncommon-error.NotImplemented":`Questa azione non è disponibile al momento.`,"errorHandler.common-error.conflict":`Impossibile salvare le modifiche perché la pagina è stata aggiornata altrove. Prendi nota delle modifiche, aggiorna la pagina e riprova.`,"errorHandler.common-error.permission-denied.app":`Non hai l'autorizzazione per eseguire quest'azione. Richiedi l'accesso al proprietario dell'app.`,"errorHandler.common-error.permission-denied.workspace":`Non hai l'autorizzazione per eseguire quest'azione. Richiedi l'accesso al proprietario dello spazio di lavoro.`,"errorHandler.common-error.CheckStatus.cta":`Controlla la pagina dello stato`,"errorHandler.common-error.refresh.cta":`Aggiorna`,"errorHandler.common-error.noConnection":`Sembra che tu sia offline. Verifica la connessione e riprova.`,"errorHandler.common-error.resource-exhausted":`C'è stato un problema tecnico interno. Riprova o ricarica la pagina.`,"errorHandler.common-error.unauthenticated.cta":`Accedi`,"errorHandler.common-error.goBack.cta":`Indietro`,"errorHandler.common-error.not-found":`Sembra che questo elemento non esista più.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verifica`,"errorHandler.common-error.tryAgain.cta":`Riprova.`,"errorHandler.requestID.tooltip.cta":`Copia ID`,"errorHandler.common-error.permission-denied":`Non hai l'autorizzazione. Richiedi l'accesso al proprietario.`,"errorHandler.requestID.tooltip.description":`Se segnali un errore all'Assistenza clienti, condividi l'ID di questa richiesta per aiutarli a indagare.`,"errorHandler.common-error.technicalIssue-unmappedError":`C'è stato un problema tecnico interno. Riprova o ricarica la pagina.`,"errorHandler.common-error.unauthenticated":`La connessione è stata interrotta. Accedi di nuovo per continuare.`,"errorHandler.common-error.networkError":`Si è verificato un problema di connessione alla rete. Verifica la connessione e riprova.`,"errorHandler.common-error.technicalIssue":`C'è stato un problema tecnico interno. Riprova o ricarica la pagina.`,"errorHandler.common-error.captchaRequired":`Per continuare, conferma di essere umano.`,"errorHandler.common-error.technicalIssue.generic":`C'è stato un problema tecnico interno. Riprova o ricarica la pagina.`,"errorHandler.common-error.validationBasic":`Alcuni campi contengono informazioni non valide o mancanti.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copiato!`}})),Lu=v({default:()=>Ru}),Ru,zu=g((()=>{Ru={"errorHandler.common-error.permission-denied.site":`これを行う権限がありません。サイト所有者にアクセス権をリクエストしてください。`,"errorHandler.uncommon-error.NotImplemented":`このアクションは現在ご利用いただけません。`,"errorHandler.common-error.conflict":`このページは別の場所で更新されたため、変更が保存されませんでした。変更内容を記録した上で、ページを再読み込みして再度お試しください。`,"errorHandler.common-error.permission-denied.app":`この操作を行う権限がありません。アプリのオーナーにアクセス権をリクエストしてください。`,"errorHandler.common-error.permission-denied.workspace":`このアクションを行う権限がありません。ワークスペースオーナーにアクセス権をリクエストしてください。`,"errorHandler.common-error.CheckStatus.cta":`ステータスページを確認する`,"errorHandler.common-error.refresh.cta":`再読み込みする`,"errorHandler.common-error.noConnection":`オフラインのようです。お手数ですが、接続状況を確認してもう一度お試しください。`,"errorHandler.common-error.resource-exhausted":`短い時間に多くの操作が行われました。お手数ですが、少しお待ちいただいてから、もう一度お試しください。`,"errorHandler.common-error.unauthenticated.cta":`ログイン`,"errorHandler.common-error.goBack.cta":`戻る`,"errorHandler.common-error.not-found":`このアイテムはもう存在しないようです。`,"errorHandler.common-error.captchaRequired.verify.cta":`確認する`,"errorHandler.common-error.tryAgain.cta":`もう一度試す`,"errorHandler.requestID.tooltip.cta":`ID をコピー`,"errorHandler.common-error.permission-denied":`必要な権限がありません。サイト所有者にアクセス権をリクエストしてください。`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`弊社側で技術的な問題が発生しました。お手数ですが、再度お試しになるかページを再読み込みしてください。`,"errorHandler.common-error.unauthenticated":`ログアウトしています。続行するには再度ログインしてください。`,"errorHandler.common-error.networkError":`ネットワーク接続中に問題が発生しました。お手数ですが、接続状況を確認してもう一度お試しください。`,"errorHandler.common-error.technicalIssue":`弊社側で技術的な問題が発生しました。お手数ですが、再度お試しになるかページを再読み込みしてください。`,"errorHandler.common-error.captchaRequired":`続行するには、あなたが人間であることを確認してください。`,"errorHandler.common-error.technicalIssue.generic":`弊社側で技術的な問題が発生しました。お手数ですが、再度お試しになるかページを再読み込みしてください。`,"errorHandler.common-error.validationBasic":`一部の項目には、情報が無効または不足しています。`,"errorHandler.requestID.tooltip.cta.copied-success":`コピー済み`}})),Bu=v({default:()=>Vu}),Vu,Hu=g((()=>{Vu={"errorHandler.common-error.permission-denied.site":`해당 권한이 없습니다. 사이트 소유자에게 액세스 권한을 요청하세요.`,"errorHandler.uncommon-error.NotImplemented":`현재 실행이 불가능한 작업입니다.`,"errorHandler.common-error.conflict":`페이지가 다른 곳에서 업데이트되어 변경사항을 저장할 수 없습니다. 변경사항을 기억한 다음 페이지를 새로고침하고 다시 편집해보세요.`,"errorHandler.common-error.permission-denied.app":`작업 권한이 없습니다. 앱 소유자에게 액세스 권한을 요청하세요.`,"errorHandler.common-error.permission-denied.workspace":`작업 권한이 없습니다. 워크스페이스 소유자에게 액세스 권한을 요청하세요.`,"errorHandler.common-error.CheckStatus.cta":`상태 페이지 확인`,"errorHandler.common-error.refresh.cta":`새로고침`,"errorHandler.common-error.noConnection":`현재 오프라인 상태입니다. 인터넷 연결 상태를 확인한 후 다시 시도해보세요.`,"errorHandler.common-error.resource-exhausted":`짧은 시간 안에 너무 많은 작업이 수행되었습니다. 잠시 후에 다시 시도해보세요.`,"errorHandler.common-error.unauthenticated.cta":`로그인`,"errorHandler.common-error.goBack.cta":`돌아가기`,"errorHandler.common-error.not-found":`더 이상 존재하지 않습니다.`,"errorHandler.common-error.captchaRequired.verify.cta":`인증`,"errorHandler.common-error.tryAgain.cta":`다시 시도`,"errorHandler.requestID.tooltip.cta":`ID 복사`,"errorHandler.common-error.permission-denied":`필요한 권한이 없습니다. 소유자에게 액세스 권한을 요청하세요.`,"errorHandler.requestID.tooltip.description":`고객지원팀에 오류를 신고하는 경우, 담당자가 문제를 확인할 수 있도록 본 요청 ID를 공유해주세요.`,"errorHandler.common-error.technicalIssue-unmappedError":`Wix에 기술적인 문제가 발생하였습니다. 다시 시도하거나 페이지를 새로고침하세요.`,"errorHandler.common-error.unauthenticated":`로그아웃 상태입니다. 로그인 후 계속 진행하세요.`,"errorHandler.common-error.networkError":`오류가 발생하여 네트워크에 연결할 수 없습니다. 인터넷 연결 상태를 확인한 후 다시 시도해보세요.`,"errorHandler.common-error.technicalIssue":`Wix에 기술적인 문제가 발생하였습니다. 다시 시도하거나 페이지를 새로고침하세요.`,"errorHandler.common-error.captchaRequired":`계속 진행하려면 본인임을 인증하세요.`,"errorHandler.common-error.technicalIssue.generic":`Wix에 기술적인 문제가 발생하였습니다. 다시 시도하거나 페이지를 새로고침하세요.`,"errorHandler.common-error.validationBasic":`일부 입력란에 유효하지 않거나 누락된 정보가 있습니다.`,"errorHandler.requestID.tooltip.cta.copied-success":`복사됨`}})),Uu=v({default:()=>Wu}),Wu,Gu=g((()=>{Wu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Ku=v({default:()=>qu}),qu,Ju=g((()=>{qu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Yu=v({default:()=>Xu}),Xu,Zu=g((()=>{Xu={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Qu=v({default:()=>$u}),$u,ed=g((()=>{$u={"errorHandler.common-error.permission-denied.site":`Je hebt geen machtiging om dit te doen. Vraag toegang aan bij de website-eigenaar.`,"errorHandler.uncommon-error.NotImplemented":`Deze actie is momenteel niet beschikbaar.`,"errorHandler.common-error.conflict":`Kan wijzigingen niet opslaan, omdat deze pagina ergens anders is bijgewerkt. Noteer je wijzigingen, vernieuw de pagina en probeer het opnieuw.`,"errorHandler.common-error.permission-denied.app":`Je bent niet gemachtigd om deze actie uit te voeren. Vraag toegang aan bij de app-eigenaar.`,"errorHandler.common-error.permission-denied.workspace":`Je bent niet gemachtigd om deze actie uit te voeren. Vraag toegang aan bij de werkruimte-eigenaar.`,"errorHandler.common-error.CheckStatus.cta":`Statuspagina controleren`,"errorHandler.common-error.refresh.cta":`Vernieuwen`,"errorHandler.common-error.noConnection":`Het lijkt erop dat je offline bent. Controleer je internetverbinding en probeer het opnieuw.`,"errorHandler.common-error.resource-exhausted":`Er zijn te veel acties te snel uitgevoerd. Wacht even en probeer het opnieuw.`,"errorHandler.common-error.unauthenticated.cta":`inloggen`,"errorHandler.common-error.goBack.cta":`Terug`,"errorHandler.common-error.not-found":`Het lijkt erop dat dit niet meer bestaat.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verifiëren`,"errorHandler.common-error.tryAgain.cta":`Opnieuw proberen`,"errorHandler.requestID.tooltip.cta":`ID kopiëren`,"errorHandler.common-error.permission-denied":`Je hebt de benodigde machtigingen niet. Vraag toegang aan bij de eigenaar.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`Er is een technisch probleem opgetreden aan onze kant. Probeer het opnieuw of vernieuw de pagina.`,"errorHandler.common-error.unauthenticated":`Je bent uitgelogd. Log opnieuw in om verder te gaan.`,"errorHandler.common-error.networkError":`Er is een probleem opgetreden tijdens het koppelen aan je netwerk. Controleer je internetverbinding en probeer het opnieuw.`,"errorHandler.common-error.technicalIssue":`Er is een technisch probleem opgetreden aan onze kant. Probeer het opnieuw of vernieuw de pagina.`,"errorHandler.common-error.captchaRequired":`Om door te gaan, verifieer je dat je een mens bent.`,"errorHandler.common-error.technicalIssue.generic":`Er is een technisch probleem opgetreden aan onze kant. Probeer het opnieuw of vernieuw de pagina.`,"errorHandler.common-error.validationBasic":`Sommige velden bevatten ongeldige of ontbrekende informatie.`,"errorHandler.requestID.tooltip.cta.copied-success":`Gekopieerd`}})),td=v({default:()=>nd}),nd,rd=g((()=>{nd={"errorHandler.common-error.permission-denied.site":`Du har ikke tillatelse til å gjøre dette. Be om tilgang fra nettstedets eier.`,"errorHandler.uncommon-error.NotImplemented":`Denne handlingen er ikke tilgjengelig akkurat nå.`,"errorHandler.common-error.conflict":`Kan ikke lagre endringene fordi denne siden ble oppdatert et annet sted. Merk endringene dine, oppdater deretter og prøv å redigere på nytt.`,"errorHandler.common-error.permission-denied.app":`Du har ikke tillatelse til å utføre denne handlingen. Be om tilgang fra appens eier.`,"errorHandler.common-error.permission-denied.workspace":`Du har ikke tillatelse til å utføre denne handlingen. Be om tilgang fra eieren av arbeidsområdet.`,"errorHandler.common-error.CheckStatus.cta":`Sjekk status-siden`,"errorHandler.common-error.refresh.cta":`Oppdater`,"errorHandler.common-error.noConnection":`Det ser ut til at du er frakoblet. Sjekk tilkoblingen og prøv igjen.`,"errorHandler.common-error.resource-exhausted":`For mange handlinger ble utført for raskt. Vent et øyeblikk og prøv igjen.`,"errorHandler.common-error.unauthenticated.cta":`Logg inn`,"errorHandler.common-error.goBack.cta":`Gå tilbake`,"errorHandler.common-error.not-found":`Det ser ut til at dette ikke eksisterer lenger.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verifiser`,"errorHandler.common-error.tryAgain.cta":`Prøv på nytt`,"errorHandler.requestID.tooltip.cta":`Kopier ID`,"errorHandler.common-error.permission-denied":`Du har ikke de nødvendige tillatelsene. Be om tilgang fra eieren.`,"errorHandler.requestID.tooltip.description":`Hvis du rapporterer denne feilen til brukerstøtte, må du dele denne forespørsels-ID-en, slik at de kan undersøke saken.`,"errorHandler.common-error.technicalIssue-unmappedError":`Det oppstod et teknisk problem hos oss. Prøv på nytt eller last oppdater.`,"errorHandler.common-error.unauthenticated":`Du er logget ut. Logg inn igjen for å fortsette.`,"errorHandler.common-error.networkError":`Det oppstod et problem med tilkoblingen til nettverket ditt. Sjekk tilkoblingen og prøv igjen.`,"errorHandler.common-error.technicalIssue":`Det oppstod et teknisk problem hos oss. Prøv på nytt eller oppdater.`,"errorHandler.common-error.captchaRequired":`For å fortsette må du verifisere at du er et menneske.`,"errorHandler.common-error.technicalIssue.generic":`Det oppstod et teknisk problem hos oss. Prøv på nytt eller oppdater.`,"errorHandler.common-error.validationBasic":`Noen felt har ugyldig eller manglende informasjon.`,"errorHandler.requestID.tooltip.cta.copied-success":`Kopiert!`}})),id=v({default:()=>ad}),ad,od=g((()=>{ad={"errorHandler.common-error.permission-denied.site":`Nie masz uprawnień, aby to zrobić. Poproś właściciela strony o dostęp.`,"errorHandler.uncommon-error.NotImplemented":`Wykonanie tego działania jest w tej chwili niemożliwe.`,"errorHandler.common-error.conflict":`Nie można zapisać zmian, ponieważ ta strona została zaktualizowana w innym miejscu. Zanotuj zmiany, a następnie odśwież i spróbuj edytować ponownie.`,"errorHandler.common-error.permission-denied.app":`Nie masz uprawnień do wykonania tej czynności. Poproś właściciela aplikacji o dostęp.`,"errorHandler.common-error.permission-denied.workspace":`Nie masz uprawnień do wykonania tej czynności. Poproś właściciela obszaru roboczego o dostęp.`,"errorHandler.common-error.CheckStatus.cta":`Sprawdź stronę statusu`,"errorHandler.common-error.refresh.cta":`Odśwież`,"errorHandler.common-error.noConnection":`Wygląda na to, że jesteś offline. Sprawdź połączenie i spróbuj ponownie.`,"errorHandler.common-error.resource-exhausted":`Wiele działań zostało wykonanych zbyt szybko. Zaczekaj minutę i spróbuj ponownie.`,"errorHandler.common-error.unauthenticated.cta":`Zaloguj się`,"errorHandler.common-error.goBack.cta":`Wróć`,"errorHandler.common-error.not-found":`To już nie istnieje.`,"errorHandler.common-error.captchaRequired.verify.cta":`Zweryfikuj`,"errorHandler.common-error.tryAgain.cta":`Spróbuj ponownie`,"errorHandler.requestID.tooltip.cta":`Skopiuj identyfikator`,"errorHandler.common-error.permission-denied":`Nie masz wymaganych uprawnień. Poproś właściciela o dostęp.`,"errorHandler.requestID.tooltip.description":`Jeśli chcesz zgłosić ten błąd do działu obsługi klienta, podaj następujący identyfikator żądania, aby mogli przyjrzeć się tej sprawie.`,"errorHandler.common-error.technicalIssue-unmappedError":`Wystąpił problem techniczny po naszej stronie. Spróbuj ponownie lub odśwież.`,"errorHandler.common-error.unauthenticated":`Wylogowano. Zaloguj się ponownie, aby kontynuować.`,"errorHandler.common-error.networkError":`Wystąpił problem podczas połączenia z Twoją siecią. Sprawdź połączenie i spróbuj ponownie.`,"errorHandler.common-error.technicalIssue":`Wystąpił problem techniczny po naszej stronie. Spróbuj ponownie lub odśwież.`,"errorHandler.common-error.captchaRequired":`Aby kontynuować, potwierdź, że jesteś człowiekiem.`,"errorHandler.common-error.technicalIssue.generic":`Wystąpił problem techniczny po naszej stronie. Spróbuj ponownie lub odśwież.`,"errorHandler.common-error.validationBasic":`Niektóre pola zawierają nieprawidłowe lub brakujące informacje.`,"errorHandler.requestID.tooltip.cta.copied-success":`Skopiowano!`}})),sd=v({default:()=>cd}),cd,ld=g((()=>{cd={"errorHandler.common-error.permission-denied.site":`Você não tem permissão para fazer isso. Solicite acesso ao proprietário do site.`,"errorHandler.uncommon-error.NotImplemented":`Essa ação não está disponível no momento.`,"errorHandler.common-error.conflict":`Não é possível salvar as alterações porque essa página foi atualizada em outro lugar. Anote suas alterações, atualize e tente editar novamente.`,"errorHandler.common-error.permission-denied.app":`Você não tem permissão para fazer essa ação. Solicite acesso do proprietário do app.`,"errorHandler.common-error.permission-denied.workspace":`Você não tem permissão para fazer essa ação. Solicite acesso ao proprietário do espaço de trabalho.`,"errorHandler.common-error.CheckStatus.cta":`Verificar página de status`,"errorHandler.common-error.refresh.cta":`Atualizar`,"errorHandler.common-error.noConnection":`Parece que você está offline. Verifique sua conexão e tente novamente.`,"errorHandler.common-error.resource-exhausted":`Muitas ações foram feitas muito rapidamente. Aguarde alguns minutos e tente novamente.`,"errorHandler.common-error.unauthenticated.cta":`Fazer login`,"errorHandler.common-error.goBack.cta":`Voltar`,"errorHandler.common-error.not-found":`Parece que isso não existe mais.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verificar`,"errorHandler.common-error.tryAgain.cta":`Tentar novamente`,"errorHandler.requestID.tooltip.cta":`Copiar ID`,"errorHandler.common-error.permission-denied":`Você não tem as permissões necessárias. Solicite acesso ao proprietário.`,"errorHandler.requestID.tooltip.description":`Se você for reportar esse erro ao Apoio ao Cliente, compartilhe esse ID de solicitação para que eles possam investigar.`,"errorHandler.common-error.technicalIssue-unmappedError":`Houve um problema técnico no nosso sistema. Tente novamente ou atualize.`,"errorHandler.common-error.unauthenticated":`Sua conta está desconectada. Faça login novamente para continuar.`,"errorHandler.common-error.networkError":`Houve um problema na conexão com sua rede. Verifique sua conexão e tente novamente.`,"errorHandler.common-error.technicalIssue":`Houve um problema técnico no nosso sistema. Tente novamente ou atualize.`,"errorHandler.common-error.captchaRequired":`Para continuar, confirme que você é humano.`,"errorHandler.common-error.technicalIssue.generic":`Houve um problema técnico no nosso sistema. Tente novamente ou atualize.`,"errorHandler.common-error.validationBasic":`Alguns campos têm informações inválidas ou ausentes.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copiado`}})),ud=v({default:()=>dd}),dd,fd=g((()=>{dd={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),pd=v({default:()=>md}),md,hd=g((()=>{md={"errorHandler.common-error.permission-denied.site":`У вас нет разрешения на это действие. Запросите доступ у владельца сайта.`,"errorHandler.uncommon-error.NotImplemented":`Сейчас это действие недоступно.`,"errorHandler.common-error.conflict":`Невозможно сохранить изменения, поскольку эта страница была обновлена в другом месте. Обратите внимание на изменения, затем обновите страницу и попробуйте редактировать снова.`,"errorHandler.common-error.permission-denied.app":`У вас нет разрешения для этого действия. Запросите доступ у владельца приложения.`,"errorHandler.common-error.permission-denied.workspace":`У вас нет разрешения для этого действия. Запросите доступ у владельца рабочего пространства.`,"errorHandler.common-error.CheckStatus.cta":`Проверить страницу статуса`,"errorHandler.common-error.refresh.cta":`Обновить`,"errorHandler.common-error.noConnection":`Похоже, вы оффлайн. Проверьте соединение и попробуйте снова.`,"errorHandler.common-error.resource-exhausted":`Слишком много действий выполнено слишком быстро. Попробуйте снова через минуту.`,"errorHandler.common-error.unauthenticated.cta":`Вход`,"errorHandler.common-error.goBack.cta":`Назад`,"errorHandler.common-error.not-found":`Похоже, этой опции больше нет.`,"errorHandler.common-error.captchaRequired.verify.cta":`Подтвердить`,"errorHandler.common-error.tryAgain.cta":`Попробовать еще раз`,"errorHandler.requestID.tooltip.cta":`Копировать ID`,"errorHandler.common-error.permission-denied":`У вас нет необходимых разрешений. Запросите доступ у владельца.`,"errorHandler.requestID.tooltip.description":`Если вы сообщите об ошибке команде поддержки, отправьте этот идентификатор запроса, чтобы они могли разобраться.`,"errorHandler.common-error.technicalIssue-unmappedError":`Возникла техническая проблема на нашей стороне. Попробуйте еще раз или обновите страницу.`,"errorHandler.common-error.unauthenticated":`Вы вышли из аккаунта. Войдите снова, чтобы продолжить.`,"errorHandler.common-error.networkError":`Возникла проблема при подключении к вашей сети. Проверьте подключение и попробуйте снова.`,"errorHandler.common-error.technicalIssue":`Возникла техническая проблема на нашей стороне. Попробуйте еще раз или обновите страницу.`,"errorHandler.common-error.captchaRequired":`Чтобы продолжить, подтвердите, что вы человек.`,"errorHandler.common-error.technicalIssue.generic":`Возникла техническая проблема на нашей стороне. Попробуйте еще раз или обновите страницу.`,"errorHandler.common-error.validationBasic":`В некоторых полях указана недействительная информация, или они не заполнены.`,"errorHandler.requestID.tooltip.cta.copied-success":`Скопировано!`}})),gd=v({default:()=>_d}),_d,vd=g((()=>{_d={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),yd=v({default:()=>bd}),bd,xd=g((()=>{bd={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),Sd=v({default:()=>Cd}),Cd,wd=g((()=>{Cd={"errorHandler.common-error.permission-denied.site":`Du har inte behörighet till detta. Begär åtkomst från sidägaren.`,"errorHandler.uncommon-error.NotImplemented":`Den här åtgärden är inte tillgänglig just nu.`,"errorHandler.common-error.conflict":`Det går inte att spara ändringar eftersom den här sidan har uppdaterats någon annanstans. Kom ihåg dina ändringar. Uppdatera sedan sidan och försök att redigera igen.`,"errorHandler.common-error.permission-denied.app":`Du har inte behörighet att utföra den här åtgärden. Begär åtkomst från appägaren.`,"errorHandler.common-error.permission-denied.workspace":`Du har inte behörighet att utföra den här åtgärden. Begär åtkomst från arbetsytans ägare.`,"errorHandler.common-error.CheckStatus.cta":`Kontrollera statussidan`,"errorHandler.common-error.refresh.cta":`Uppdatera`,"errorHandler.common-error.noConnection":`Det verkar som att du är offline. Kontrollera din anslutning och försök igen.`,"errorHandler.common-error.resource-exhausted":`För många åtgärder gjordes för snabbt. Vänta en stund och försök sedan igen.`,"errorHandler.common-error.unauthenticated.cta":`Logga in`,"errorHandler.common-error.goBack.cta":`Gå tillbaka`,"errorHandler.common-error.not-found":`Det här objektet verkar inte finnas längre.`,"errorHandler.common-error.captchaRequired.verify.cta":`Bekräfta`,"errorHandler.common-error.tryAgain.cta":`Försök igen`,"errorHandler.requestID.tooltip.cta":`Kopiera ID`,"errorHandler.common-error.permission-denied":`Du har inte de nödvändiga behörigheterna. Begär åtkomst från ägaren.`,"errorHandler.requestID.tooltip.description":`Om du rapporterar det här felet till kundtjänst kan du dela detta förfrågnings-ID så att de kan undersöka.`,"errorHandler.common-error.technicalIssue-unmappedError":`Det uppstod ett tekniskt problem på vår sida. Försök igen eller uppdatera.`,"errorHandler.common-error.unauthenticated":`Du är utloggad. Logga in igen för att fortsätta.`,"errorHandler.common-error.networkError":`Det uppstod ett problem med att ansluta till ditt nätverk. Kontrollera din anslutning och försök igen.`,"errorHandler.common-error.technicalIssue":`Det uppstod ett tekniskt problem på vår sida. Försök igen eller uppdatera.`,"errorHandler.common-error.captchaRequired":`Bekräfta att du inte är en robot för att fortsätta.`,"errorHandler.common-error.technicalIssue.generic":`Det uppstod ett tekniskt problem på vår sida. Försök igen eller uppdatera.`,"errorHandler.common-error.validationBasic":`Vissa fält har uppgifter som är ogiltiga eller saknas.`,"errorHandler.requestID.tooltip.cta.copied-success":`Kopierad!`}})),Td=v({default:()=>Ed}),Ed,Dd=g((()=>{Ed={"errorHandler.common-error.permission-denied.site":`คุณไม่ได้รับอนุญาตให้ดำเนินการนี้ โปรดขออนุญาตจากเจ้าของเว็บไซต์เพื่อเข้าถึง`,"errorHandler.uncommon-error.NotImplemented":`ไม่สามารถดำเนินการนี้ได้ในขณะนี้`,"errorHandler.common-error.conflict":`ไม่สามารถบันทึกการแก้ไขเนื่องจากมีผู้อื่นอัปเดตหน้าเพจนี้ จดบันทึกสิ่งที่คุณแก้ไข จากนั้นรีเฟรชแล้วลองแก้ไขอีกครั้ง`,"errorHandler.common-error.permission-denied.app":`คุณไม่ได้รับอนุญาตให้ดำเนินการนี้ โปรดขออนุญาตจากเจ้าของแอปเพื่อเข้าถึง`,"errorHandler.common-error.permission-denied.workspace":`คุณไม่ได้รับอนุญาตให้ดำเนินการนี้ โปรดขออนุญาตจากเจ้าของพื้นที่ทำงานเพื่อเข้าถึง`,"errorHandler.common-error.CheckStatus.cta":`ตรวจสอบหน้าเพจสถานะ`,"errorHandler.common-error.refresh.cta":`รีเฟรช`,"errorHandler.common-error.noConnection":`ดูเหมือนคุณกำลังออฟไลน์ โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตจากนั้นลองอีกครั้ง`,"errorHandler.common-error.resource-exhausted":`มีการดำเนินการมากเกินไปในเวลาอันรวดเร็ว โปรดรอสักครู่แล้วลองอีกครั้ง`,"errorHandler.common-error.unauthenticated.cta":`เข้าสู่ระบบ`,"errorHandler.common-error.goBack.cta":`ย้อนกลับ`,"errorHandler.common-error.not-found":`ดูเหมือนว่าไม่มีข้อมูลนี้แล้ว`,"errorHandler.common-error.captchaRequired.verify.cta":`ยืนยัน`,"errorHandler.common-error.tryAgain.cta":`ลองอีกครั้ง`,"errorHandler.requestID.tooltip.cta":`คัดลอก ID`,"errorHandler.common-error.permission-denied":`คุณไม่ได้รับอนุญาตตามที่จำเป็น โปรดขออนุญาตจากเจ้าของเพื่อเข้าถึง`,"errorHandler.requestID.tooltip.description":`หากคุณรายงานปัญหานี้ให้ฝ่ายดูแลลูกค้าทราบ โปรดแจ้ง ID คำขอนี้เพื่อให้พวกเขาตรวจสอบได้`,"errorHandler.common-error.technicalIssue-unmappedError":`พบปัญหาทางเทคนิคในส่วนของเรา ลองอีกครั้งหรือรีเฟรช`,"errorHandler.common-error.unauthenticated":`คุณออกจากระบบแล้ว โปรดเข้าสู่ระบบใหม่เพื่อดำเนินการต่อ`,"errorHandler.common-error.networkError":`พบปัญหาในการเชื่อมต่อกับเครือข่ายของคุณ โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตจากนั้นลองอีกครั้ง`,"errorHandler.common-error.technicalIssue":`พบปัญหาทางเทคนิคในส่วนของเรา ลองอีกครั้งหรือรีเฟรช`,"errorHandler.common-error.captchaRequired":`โปรดยืนยันว่าคุณเป็นมนุษย์ เพื่อดำเนินการต่อ`,"errorHandler.common-error.technicalIssue.generic":`พบปัญหาทางเทคนิคในส่วนของเรา ลองอีกครั้งหรือรีเฟรช`,"errorHandler.common-error.validationBasic":`ข้อมูลในบางช่องไม่ถูกต้องหรือไม่ครบถ้วน`,"errorHandler.requestID.tooltip.cta.copied-success":`คัดลอกแล้ว !`}})),Od=v({default:()=>kd}),kd,Ad=g((()=>{kd={"errorHandler.common-error.permission-denied.site":`You don't have permission to do this. Contact the site owner.`,"errorHandler.uncommon-error.NotImplemented":`Unfortunately, this action isn’t available.`,"errorHandler.common-error.conflict":`This was recently updated somewhere else. Refresh the page to get the latest version.`,"errorHandler.common-error.permission-denied.app":`You don't have permission to perform this action. Contact the app owner.`,"errorHandler.common-error.permission-denied.workspace":`You don't have permission to perform this action. Contact the workspace owner.`,"errorHandler.common-error.CheckStatus.cta":`Check Status Page`,"errorHandler.common-error.refresh.cta":`Refresh`,"errorHandler.common-error.noConnection":`Looks like you're offline. Check your connection and try again.`,"errorHandler.common-error.resource-exhausted":`This action couldn't be completed due to a technical issue. Wait a minute and try again. `,"errorHandler.common-error.unauthenticated.cta":`Log In`,"errorHandler.common-error.goBack.cta":`Go Back`,"errorHandler.common-error.not-found":`It looks like this item doesn't exist anymore.`,"errorHandler.common-error.captchaRequired.verify.cta":`Verify`,"errorHandler.common-error.tryAgain.cta":`Try Again`,"errorHandler.requestID.tooltip.cta":`Copy ID`,"errorHandler.common-error.permission-denied":`You don't have permission to perform this action. Request access from the owner.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`This action wasn't completed due to a technical issue. Try again or refresh.`,"errorHandler.common-error.unauthenticated":`Your session has expired. Refresh the page to log in again.`,"errorHandler.common-error.networkError":`There was an issue connecting to your network. Check your connection and try again.`,"errorHandler.common-error.technicalIssue":`This action wasn't completed due to a technical issue.`,"errorHandler.common-error.captchaRequired":`To continue, verify you are human.`,"errorHandler.common-error.technicalIssue.generic":`This action wasn't completed due to a technical issue. Try again.`,"errorHandler.common-error.validationBasic":`Some fields have invalid or missing information.`,"errorHandler.requestID.tooltip.cta.copied-success":`Copied!`}})),jd=v({default:()=>Md}),Md,Nd=g((()=>{Md={"errorHandler.common-error.permission-denied.site":`Bu eylem için izniniz yok. Site sahibinden izin isteyin.`,"errorHandler.uncommon-error.NotImplemented":`Bu eylem şu anda kullanılamıyor.`,"errorHandler.common-error.conflict":`Bu sayfa başka bir yerde güncellendiği için değişiklikler kaydedilemiyor. Değişikliklerinizi not alın ve sayfayı yenileyip tekrar düzenlemeyi deneyin.`,"errorHandler.common-error.permission-denied.app":`Bu eylemi gerçekleştirme izniniz yok. Uygulama sahibinden izin isteyin.`,"errorHandler.common-error.permission-denied.workspace":`Bu eylemi gerçekleştirme izniniz yok. Çalışma alanı sahibinden izin isteyin.`,"errorHandler.common-error.CheckStatus.cta":`Durum Sayfası`,"errorHandler.common-error.refresh.cta":`Yenile`,"errorHandler.common-error.noConnection":`Çevrim dışısınız. Bağlantınızı kontrol edip tekrar deneyin.`,"errorHandler.common-error.resource-exhausted":`Kısa sürede çok fazla eylem gerçekleştirildi. Bir dakika bekleyip tekrar deneyin.`,"errorHandler.common-error.unauthenticated.cta":`Giriş Yap`,"errorHandler.common-error.goBack.cta":`Geri Dön`,"errorHandler.common-error.not-found":`Bu öge artık mevcut değil.`,"errorHandler.common-error.captchaRequired.verify.cta":`Doğrula`,"errorHandler.common-error.tryAgain.cta":`Tekrar Dene`,"errorHandler.requestID.tooltip.cta":`Kimliği kopyala`,"errorHandler.common-error.permission-denied":`Gerekli izinleriniz yok. Site sahibinden erişim isteyin.`,"errorHandler.requestID.tooltip.description":`Bu hatayı müşteri hizmetlerine bildirirseniz araştırılabilmesi için bu talep kimliğini paylaşın.`,"errorHandler.common-error.technicalIssue-unmappedError":`Bizim tarafımızda teknik bir sorun oluştu. Tekrar deneyin veya ekranı yenileyin.`,"errorHandler.common-error.unauthenticated":`Çıkış yaptınız. Devam etmek için tekrar giriş yapın.`,"errorHandler.common-error.networkError":`Ağınıza bağlanılırken bir sorun oluştu. Bağlantınızı kontrol edip tekrar deneyin.`,"errorHandler.common-error.technicalIssue":`Bizim tarafımızda teknik bir sorun oluştu. Tekrar deneyin veya ekranı yenileyin.`,"errorHandler.common-error.captchaRequired":`Devam etmek için insan olduğunuzu doğrulayın.`,"errorHandler.common-error.technicalIssue.generic":`Bizim tarafımızda teknik bir sorun oluştu. Tekrar deneyin veya ekranı yenileyin.`,"errorHandler.common-error.validationBasic":`Bazı alanlardaki bilgiler geçersiz veya eksik.`,"errorHandler.requestID.tooltip.cta.copied-success":`Kopyalandı!`}})),Pd=v({default:()=>Fd}),Fd,Id=g((()=>{Fd={"errorHandler.common-error.permission-denied.site":`У вас немає дозволу виконувати цю дію. Попросіть власника сайту надати вам доступ.`,"errorHandler.uncommon-error.NotImplemented":`Ця дія зараз недоступна.`,"errorHandler.common-error.conflict":`Не вдається зберегти зміни, бо цю сторінку оновлено в іншому місці. Запишіть зміни, оновіть і спробуйте відредагувати знову.`,"errorHandler.common-error.permission-denied.app":`У вас немає дозволу виконувати цю дію. Попросіть власника додатка надати вам доступ.`,"errorHandler.common-error.permission-denied.workspace":`У вас немає дозволу виконувати цю дію. Попросіть власника робочого простору надати вам доступ.`,"errorHandler.common-error.CheckStatus.cta":`Перевірте сторінку статусу`,"errorHandler.common-error.refresh.cta":`Перезавантажити`,"errorHandler.common-error.noConnection":`Схоже, що ви не в мережі. Перевірте підключення до інтернету та повторіть спробу.`,"errorHandler.common-error.resource-exhausted":`Забагато дій виконано зашвидко. Почекайте хвилину та спробуйте знову.`,"errorHandler.common-error.unauthenticated.cta":`Увійдіть`,"errorHandler.common-error.goBack.cta":`Повернутися`,"errorHandler.common-error.not-found":`Схоже, що цього більше не існує.`,"errorHandler.common-error.captchaRequired.verify.cta":`Підтвердити`,"errorHandler.common-error.tryAgain.cta":`Спробувати знову`,"errorHandler.requestID.tooltip.cta":`Копіювати ідентифікатор`,"errorHandler.common-error.permission-denied":`У вас немає потрібних дозволів. Попросіть власника надати вам доступ.`,"errorHandler.requestID.tooltip.description":`If the issue continues, contact Customer Care and share this Request ID with them so they can investigate.`,"errorHandler.common-error.technicalIssue-unmappedError":`У нас виникла технічна проблема. Спробуйте знову або оновіть.`,"errorHandler.common-error.unauthenticated":`Ви вийшли з акаунта. Увійдіть, щоб продовжити.`,"errorHandler.common-error.networkError":`Виникла проблема з підключенням до вашої мережі. Перевірте підключення до інтернету та повторіть спробу.`,"errorHandler.common-error.technicalIssue":`У нас виникла технічна проблема. Спробуйте знову або оновіть.`,"errorHandler.common-error.captchaRequired":`Щоб продовжити, підтвердьте, що ви людина.`,"errorHandler.common-error.technicalIssue.generic":`У нас виникла технічна проблема. Спробуйте знову або оновіть.`,"errorHandler.common-error.validationBasic":`Інформація в деяких полях відсутня або недійсна.`,"errorHandler.requestID.tooltip.cta.copied-success":`Скопійовано`}})),Ld=v({default:()=>Rd}),Rd,zd=g((()=>{Rd={"errorHandler.common-error.permission-denied.site":`Bạn không có quyền thực hiện thao tác này. Yêu cầu quyền truy cập từ chủ trang web.`,"errorHandler.uncommon-error.NotImplemented":`Hành động này hiện không khả dụng.`,"errorHandler.common-error.conflict":`Không thể lưu thay đổi vì trang này đã được cập nhật ở một nơi khác. Ghi chú lại các thay đổi của bạn, sau đó làm mới và thử chỉnh sửa lại.`,"errorHandler.common-error.permission-denied.app":`Bạn không có quyền thực hiện hành động này. Hãy cầu quyền truy cập từ chủ sở hữu ứng dụng.`,"errorHandler.common-error.permission-denied.workspace":`Bạn không có quyền thực hiện hành động này. Hãy yêu cầu quyền truy cập từ chủ sở hữu vùng làm việc.`,"errorHandler.common-error.CheckStatus.cta":`Kiểm tra trang trạng thái`,"errorHandler.common-error.refresh.cta":`Làm mới`,"errorHandler.common-error.noConnection":`Có vẻ bạn đang ngoại tuyến. Hãy kiểm tra kết nối rồi thử lại.`,"errorHandler.common-error.resource-exhausted":`Đã thực hiện quá nhiều thao tác trong thời gian ngắn. Hãy đợi một lát và thử lại.`,"errorHandler.common-error.unauthenticated.cta":`Đăng nhập`,"errorHandler.common-error.goBack.cta":`Quay lại`,"errorHandler.common-error.not-found":`Có vẻ như nội dung này không tồn tại nữa.`,"errorHandler.common-error.captchaRequired.verify.cta":`xác minh`,"errorHandler.common-error.tryAgain.cta":`Thử lại`,"errorHandler.requestID.tooltip.cta":`Sao chép ID`,"errorHandler.common-error.permission-denied":`Bạn không có đủ các quyền cần thiết. Hãy yêu cầu quyền truy cập từ chủ sở hữu.`,"errorHandler.requestID.tooltip.description":`Nếu bạn báo cáo lỗi này cho bộ phận Chăm sóc khách hàng, hãy chia sẻ ID yêu cầu này để họ có thể điều tra.`,"errorHandler.common-error.technicalIssue-unmappedError":`Chúng tôi đã gặp phải vấn đề kỹ thuật. Hãy thử lại hoặc làm mới.`,"errorHandler.common-error.unauthenticated":`Bạn đã đăng xuất. Đăng nhập lại để tiếp tục.`,"errorHandler.common-error.networkError":`Đã xảy ra sự cố khi kết nối với mạng của bạn. Hãy kiểm tra kết nối rồi thử lại.`,"errorHandler.common-error.technicalIssue":`Chúng tôi đã gặp phải vấn đề kỹ thuật. Hãy thử lại hoặc làm mới.`,"errorHandler.common-error.captchaRequired":`Để tiếp tục, hãy xác minh bạn là con người.`,"errorHandler.common-error.technicalIssue.generic":`Chúng tôi đã gặp phải vấn đề kỹ thuật. Hãy thử lại hoặc làm mới.`,"errorHandler.common-error.validationBasic":`Một số trường có thông tin không hợp lệ hoặc thiếu thông tin.`,"errorHandler.requestID.tooltip.cta.copied-success":`Đã sao chép!`}})),Bd=v({default:()=>Vd}),Vd,Hd=g((()=>{Vd={"errorHandler.common-error.permission-denied.site":`您沒有執行此操作的權限。請向網站負責人請求存取權限。`,"errorHandler.uncommon-error.NotImplemented":`此操作暫不可用。`,"errorHandler.common-error.conflict":`無法儲存變更,因為頁面已在別處更新。請記下變更,然後重新整理並嘗試再次編輯。`,"errorHandler.common-error.permission-denied.app":`您沒有權限執行這個操作。請向應用程式負責人請求存取權限。`,"errorHandler.common-error.permission-denied.workspace":`您沒有權限執行這個操作。請向工作空間負責人請求存取權限。`,"errorHandler.common-error.CheckStatus.cta":`檢查狀態頁面`,"errorHandler.common-error.refresh.cta":`重新整理`,"errorHandler.common-error.noConnection":`您似乎已離線。請檢查連線並再試一次。`,"errorHandler.common-error.resource-exhausted":`過快完成過多操作。請稍候片刻,然後再試一次。`,"errorHandler.common-error.unauthenticated.cta":`登入`,"errorHandler.common-error.goBack.cta":`返回`,"errorHandler.common-error.not-found":`這似乎不再存在。`,"errorHandler.common-error.captchaRequired.verify.cta":`驗證`,"errorHandler.common-error.tryAgain.cta":`再試一次`,"errorHandler.requestID.tooltip.cta":`複製 ID`,"errorHandler.common-error.permission-denied":`您沒有必要的權限。請向負責人請求存取權限。`,"errorHandler.requestID.tooltip.description":`如果您向顧客服務報告此錯誤,請提供此請求 ID 以便調查。`,"errorHandler.common-error.technicalIssue-unmappedError":`我們這邊發生技術問題。請再試一次或者重新整理。`,"errorHandler.common-error.unauthenticated":`您已登出。若要繼續,請重新登入。`,"errorHandler.common-error.networkError":`連結到網路時發生問題。請檢查連線並再試一次。`,"errorHandler.common-error.technicalIssue":`我們這邊發生技術問題。請再試一次或者重新整理。`,"errorHandler.common-error.captchaRequired":`若要繼續,請驗證您是人類。`,"errorHandler.common-error.technicalIssue.generic":`我們這邊發生技術問題。請再試一次或者重新整理。`,"errorHandler.common-error.validationBasic":`某些欄位具有無效資訊或缺少資訊。`,"errorHandler.requestID.tooltip.cta.copied-success":`已複製!`}})),Ud={ar:()=>L(()=>Promise.resolve().then(()=>(Hl(),Bl)),void 0,import.meta.url),bg:()=>L(()=>Promise.resolve().then(()=>(Gl(),Ul)),void 0,import.meta.url),ca:()=>L(()=>Promise.resolve().then(()=>(Jl(),Kl)),void 0,import.meta.url),cs:()=>L(()=>Promise.resolve().then(()=>(Zl(),Yl)),void 0,import.meta.url),da:()=>L(()=>Promise.resolve().then(()=>(eu(),Ql)),void 0,import.meta.url),de:()=>L(()=>Promise.resolve().then(()=>(ru(),tu)),void 0,import.meta.url),el:()=>L(()=>Promise.resolve().then(()=>(ou(),iu)),void 0,import.meta.url),en:()=>L(()=>Promise.resolve().then(()=>(lu(),su)),void 0,import.meta.url),es:()=>L(()=>Promise.resolve().then(()=>(fu(),uu)),void 0,import.meta.url),fi:()=>L(()=>Promise.resolve().then(()=>(hu(),pu)),void 0,import.meta.url),fr:()=>L(()=>Promise.resolve().then(()=>(vu(),gu)),void 0,import.meta.url),he:()=>L(()=>Promise.resolve().then(()=>(xu(),yu)),void 0,import.meta.url),hi:()=>L(()=>Promise.resolve().then(()=>(wu(),Su)),void 0,import.meta.url),hr:()=>L(()=>Promise.resolve().then(()=>(Du(),Tu)),void 0,import.meta.url),hu:()=>L(()=>Promise.resolve().then(()=>(Au(),Ou)),void 0,import.meta.url),id:()=>L(()=>Promise.resolve().then(()=>(Nu(),ju)),void 0,import.meta.url),it:()=>L(()=>Promise.resolve().then(()=>(Iu(),Pu)),void 0,import.meta.url),ja:()=>L(()=>Promise.resolve().then(()=>(zu(),Lu)),void 0,import.meta.url),ko:()=>L(()=>Promise.resolve().then(()=>(Hu(),Bu)),void 0,import.meta.url),lt:()=>L(()=>Promise.resolve().then(()=>(Gu(),Uu)),void 0,import.meta.url),lv:()=>L(()=>Promise.resolve().then(()=>(Ju(),Ku)),void 0,import.meta.url),ms:()=>L(()=>Promise.resolve().then(()=>(Zu(),Yu)),void 0,import.meta.url),nl:()=>L(()=>Promise.resolve().then(()=>(ed(),Qu)),void 0,import.meta.url),no:()=>L(()=>Promise.resolve().then(()=>(rd(),td)),void 0,import.meta.url),pl:()=>L(()=>Promise.resolve().then(()=>(od(),id)),void 0,import.meta.url),pt:()=>L(()=>Promise.resolve().then(()=>(ld(),sd)),void 0,import.meta.url),ro:()=>L(()=>Promise.resolve().then(()=>(fd(),ud)),void 0,import.meta.url),ru:()=>L(()=>Promise.resolve().then(()=>(hd(),pd)),void 0,import.meta.url),sk:()=>L(()=>Promise.resolve().then(()=>(vd(),gd)),void 0,import.meta.url),sl:()=>L(()=>Promise.resolve().then(()=>(xd(),yd)),void 0,import.meta.url),sv:()=>L(()=>Promise.resolve().then(()=>(wd(),Sd)),void 0,import.meta.url),th:()=>L(()=>Promise.resolve().then(()=>(Dd(),Td)),void 0,import.meta.url),tl:()=>L(()=>Promise.resolve().then(()=>(Ad(),Od)),void 0,import.meta.url),tr:()=>L(()=>Promise.resolve().then(()=>(Nd(),jd)),void 0,import.meta.url),uk:()=>L(()=>Promise.resolve().then(()=>(Id(),Pd)),void 0,import.meta.url),vi:()=>L(()=>Promise.resolve().then(()=>(zd(),Ld)),void 0,import.meta.url),zh:()=>L(()=>Promise.resolve().then(()=>(Hd(),Bd)),void 0,import.meta.url)},Wd=e=>typeof e.default==`object`?e.default:e,Gd=async e=>{let t=Ud[e];if(t==null)throw Error(`@wix/cairo: Failed to find translations for locale '${e}'`);return Wd(await t())},Kd=class{constructor(e){U(this,`i18n`,void 0),U(this,`_initPromise`,void 0),U(this,`_ready`,void 0),U(this,`translate`,(e,t)=>this.i18n.t(e,t)),U(this,`getTranslateFn`,async()=>(await this.getInitPromise(),this.translate)),this.i18n=e.createI18n({asyncMessagesLoader:Gd,disableAutoInit:!0}),this._initPromise=new Promise(async e=>{var t,n;let r=!1,i=(t,n,a)=>{var o,s;t===`en`&&((o=(s=this.i18n).off)==null||o.call(s,`failedLoading`,i),r=!0,e(a))};(t=(n=this.i18n).on)==null||t.call(n,`failedLoading`,i);try{if(await this.i18n.init(),r)return;e(null),this._ready=!0}catch(t){e(t)}})}async getInitPromise(){let e=await this._initPromise;if(e)throw e}};function qd(e,t){var n;let{errorAccessor:r,errorCodesMap:i}=t,{biLogger:a}=e,{errorHandlerState:o,applicationError:s}=r,c=s?.code,l=i==null||(n=i.applicationError)==null?void 0:n[c];a.report(wl(yl)({error_opt_out:l===!1,is_override_error:String(i!=null),session_id:o?.sessionId}))}for(var W=[],Jd=0;Jd<256;++Jd)W.push((Jd+256).toString(16).slice(1));function Yd(e,t=0){return(W[e[t+0]]+W[e[t+1]]+W[e[t+2]]+W[e[t+3]]+`-`+W[e[t+4]]+W[e[t+5]]+`-`+W[e[t+6]]+W[e[t+7]]+`-`+W[e[t+8]]+W[e[t+9]]+`-`+W[e[t+10]]+W[e[t+11]]+W[e[t+12]]+W[e[t+13]]+W[e[t+14]]+W[e[t+15]]).toLowerCase()}var Xd,Zd=new Uint8Array(16);function Qd(){if(!Xd&&(Xd=typeof crypto<`u`&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Xd))throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);return Xd(Zd)}var $d={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ef(e,t,n){if($d.randomUUID&&!t&&!e)return $d.randomUUID();e||={};var r=e.random||(e.rng||Qd)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n||=0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return Yd(r)}function tf(e,t){let{message:n,action:r,errorAccessor:i,errorResolution:a}=t,{biLogger:o,commonErrorsMapState:s,translations:c}=e,{errorHandlerState:l}=i,{consumerResolvedError:u}=a??{};o.report(wl(bl)({session_id:l?.sessionId,translated_message:n,action_text:r?.text,is_consumer_resolved_error:u!=null,common_errors_load_failed:String(s.commonErrors==null),isEn:c.i18n.language===`en`}))}function nf(e,t){let{message:n,action:r,errorAccessor:i}=t,{biLogger:a,translations:o}=e;a.report(wl(xl)({session_id:i.errorHandlerState?.sessionId,displayed_message:n,displayed_action:r?.text,action_was_provided:String(r?.onClick!=null),isEn:o.i18n.language===`en`}))}var rf=v({createCommonErrorsMapping:()=>af,createGetNetworkErrorShowErrorProps:()=>cf,getConnectionErrorShowErrorProps:()=>of,getDefaultErrorShowErrorProps:()=>sf,setCommonErrors:()=>lf});function af(e,t){let{webWindow:n}=t,r=n?.location;return{applicationError:{CAPTCHA_REQUIRED:()=>({message:e(`errorHandler.common-error.captchaRequired`)})},statusCodeError:{UNAUTHENTICATED:()=>({message:e(`errorHandler.common-error.unauthenticated`),action:n?{text:e(`errorHandler.common-error.unauthenticated.cta`),onClick:()=>{let e=new URL(`https://users.wix.com/signin`);e.searchParams.set(`redirectTo`,window.location.href),n.open==null||n.open(e.href,`_blank`)}}:void 0}),INVALID_ARGUMENT:()=>({message:e(`errorHandler.common-error.validationBasic`)}),PERMISSION_DENIED:()=>({message:e(`errorHandler.common-error.permission-denied.site`)}),NOT_FOUND:()=>({message:e(`errorHandler.common-error.not-found`)}),ALREADY_EXISTS:()=>({message:e(`errorHandler.common-error.conflict`),action:r?{text:e(`errorHandler.common-error.refresh.cta`),onClick:()=>{r.reload()}}:void 0}),UNAVAILABLE:()=>({message:e(`errorHandler.common-error.technicalIssue`)}),RESOURCE_EXHAUSTED:()=>({message:e(`errorHandler.common-error.resource-exhausted`)}),BAD_GATEWAY:()=>({message:e(`errorHandler.common-error.technicalIssue`)}),GATEWAY_TIMEOUT:()=>({message:e(`errorHandler.common-error.technicalIssue`)}),INTERNAL:()=>({message:e(`errorHandler.common-error.technicalIssue`)})}}}function of(e){return{message:e(`errorHandler.common-error.noConnection`)}}function sf(e){return{message:e(`errorHandler.common-error.technicalIssue`)}}function cf(e){return t=>{let n=t.exceptionMessage?.toLowerCase();return n===`network error`?{message:e(`errorHandler.common-error.networkError`)}:n===`request aborted`||n===`timeout exceeded`?{message:e(`errorHandler.common-error.technicalIssue.generic`)}:{message:e(`errorHandler.common-error.technicalIssue-unmappedError`)}}}async function lf(e){let{translations:t,errorMonitor:n}=e;try{let n=await t.getTranslateFn();e.commonErrors={commonErrorsMap:af(n,e),connectionErrorShowErrorProps:of(n),defaultErrorShowErrorProps:sf(n),getNetworkErrorShowErrorProps:cf(n)}}catch(e){n.captureException(e)}}var uf=g((()=>{})),df=()=>L(()=>Promise.resolve().then(()=>(uf(),rf)),void 0,import.meta.url),ff=class{constructor(e){U(this,`translations`,void 0),U(this,`errorMonitor`,void 0),U(this,`webWindow`,void 0),U(this,`getErrorCodesMap`,void 0),U(this,`_initPromise`,void 0),U(this,`commonErrors`,void 0),this.translations=e.translations,this.errorMonitor=e.errorMonitor,this.webWindow=e.webWindow,this.getErrorCodesMap=e.getErrorCodesMap??df,this._initPromise=this._init()}async getInitPromise(){let e=await this._initPromise;if(e)throw e}async _init(){try{let{setCommonErrors:e}=await this.getErrorCodesMap();return await e(this),null}catch(e){return e}}};function pf(e,t){let{biLogger:n}=e,{errorAccessor:r}=t,{errorHandlerState:i}=r,a=i?.sessionId;a&&n.report(wl(Sl)({session_id:a}))}var mf=class{constructor(e){var t=this;U(this,`errorHandler`,void 0),U(this,`withErrorHandler`,async function(e,n,r){r===void 0&&(r={});let{errorHandler:i}=t,a={errorCodesMap:{validationError:n,statusCodeError:r.statusCodesOverrides,applicationError:Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r&&(e[n]=(e,t)=>r(t)),e},{}),serverError:r.serverErrorOverride}},o=await i.withErrorHandler(e,a);if(typeof Response<`u`&&o instanceof Response){let e=new zl({error:o});i._setErrorHandlerErrorCodesMap(e,a);let{errorHandlerState:t}=e;!o.ok&&t&&(t.responseData=await o.json().catch(()=>null))}return o}),U(this,`getResolvedError`,e=>{let{errorHandler:t}=this,{errorMonitor:n}=t;try{let n=new zl({error:e}),{httpError:r,errorHandlerState:i}=n,a=t._resolveError(n),o=i?.resolvedError,s=o?.message??`This action wasn't completed due to a technical issue.`,c=o?.action,l=o?.requestId??r?.requestId;return tf(t,{message:s,action:c,errorAccessor:n,errorResolution:a}),{message:s,action:c,requestId:l,...o}}catch(e){throw console.error(e),n.captureException(e),e}}),U(this,`showError`,(e,t)=>{this.errorHandler.showError(e,t)}),U(this,`reportRetryAttempt`,e=>{this.errorHandler.reportRetryAttempt(e)}),U(this,`handleError`,(e,t)=>{let{errorHandler:n}=this;typeof Response<`u`&&e instanceof Response&&e.ok||n.handleError(e,t)}),this.errorHandler=e}};function hf(e){return e==null?e:e.split(`,`)[0]?.trim()}var gf=class{constructor(e){var t=this;U(this,`environment`,void 0),U(this,`biDefaultsOverrides`,void 0),U(this,`biLogger`,void 0),U(this,`errorMonitor`,void 0),U(this,`experiments`,void 0),U(this,`platformShowError`,void 0),U(this,`translations`,void 0),U(this,`commonErrorsMapState`,void 0),U(this,`onlineManager`,void 0),U(this,`webWindow`,void 0),U(this,`_skipWaitTranslations`,void 0),U(this,`v2`,void 0),U(this,`handleError`,function(e,n){if(n===void 0&&(n={}),t._isErrorHandlerDisabled())return;let{errorMonitor:r}=t;try{let r=new zl({error:e});t._setErrorHandlerSessionId(r),Tl(t,{errorAccessor:r,requestOptions:n.requestOptions})}catch(e){console.error(e),r.captureException(e)}}),U(this,`withErrorHandler`,async(e,t)=>{try{return await e()}catch(e){let n=new zl({error:e});throw this._setErrorHandlerErrorCodesMap(n,t),e}}),U(this,`getResolvedError`,e=>{let{errorMonitor:t}=this;try{let t=new zl({error:e}),{applicationError:n,validationError:r,httpError:i,errorHandlerState:a}=t,o=this._resolveError(t),s=a?.resolvedError,c=s?.message??`This action wasn't completed due to a technical issue.`;return tf(this,{message:c,action:s?.action,errorAccessor:t,errorResolution:o}),{message:c,action:s?.action,validationError:r,applicationError:n,httpError:i,requestId:hf(i?.requestId)}}catch(e){throw console.error(e),t.captureException(e),e}}),U(this,`reportRetryAttempt`,e=>{let{errorMonitor:t}=this;try{let t=new zl({error:e});pf(this,{errorAccessor:t})}catch(e){console.error(e),t.captureException(e)}}),U(this,`showError`,(e,t)=>{let{platformShowError:n,errorMonitor:r}=this;if(n)try{let r=new zl({error:e}),{errorHandlerState:i}=r;this._resolveError(r);let a=i?.resolvedError,o={...a,...t},s=t?.message??a?.message??`This action wasn't completed due to a technical issue.`,c=t?.action??a?.action;nf(this,{message:s,action:c,errorAccessor:r}),n({...o,requestId:hf(r.httpError?.requestId),message:s,action:c!=null&&c.onClick?{text:c.text,onClick:c.onClick}:void 0})}catch(e){console.error(e),r.captureException(e)}}),this.environment=e.environment,this.biDefaultsOverrides=e.biDefaultsOverrides,this.biLogger=Al(e),this.errorMonitor=e.createErrorMonitor({dsn:`https://831e1d96e7944c6aae0c9ed9d6babd35@sentry.wixpress.com/5896`}),this.experiments=e.createExperiments==null?void 0:e.createExperiments({scopes:[`error-handler`]}),this.platformShowError=e.showError,this.translations=new Kd(e),this.onlineManager=e.onlineManager??(typeof navigator<`u`?navigator:{onLine:!0}),this.webWindow=e.webWindow??(typeof window<`u`?window:void 0),this.commonErrorsMapState=new ff(this),this.v2=new mf(this)}_setErrorHandlerSessionId(e){let{errorHandlerState:t}=e;t&&(t.sessionId=ef())}_setErrorHandlerResolvedError(e,t){let{errorHandlerState:n}=e;n&&(n.resolvedError=t.errorToShow)}_setErrorHandlerErrorCodesMap(e,t){t===void 0&&(t={});let{errorCodesMap:n}=t;qd(this,{errorAccessor:e,errorCodesMap:n});let{errorHandlerState:r}=e;r&&(r.errorCodesMap=n)}_isErrorHandlerDisabled(){let{experiments:e}=this;return e!=null&&!e.enabled(`specs.os.EnableErrorHandlerInEditor`)}_resolveError(e,t){if(t===void 0&&(t={}),this._isErrorHandlerDisabled())return;let n=t.errorCodesMap??e.errorHandlerState?.errorCodesMap,r=kl(this,{errorAccessor:e,errorCodesMap:n});return this._setErrorHandlerResolvedError(e,r),r}toJSON(){return{}}},G=e=>typeof e==`string`,_f=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},vf=e=>e==null?``:``+e,yf=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},bf=/###/g,xf=e=>e&&e.indexOf(`###`)>-1?e.replace(bf,`.`):e,Sf=e=>!e||G(e),Cf=(e,t,n)=>{let r=G(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Sf(e))return{};let t=xf(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Sf(e)?{}:{obj:e,k:xf(r[i])}},wf=(e,t,n)=>{let{obj:r,k:i}=Cf(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Cf(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Cf(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Tf=(e,t,n,r)=>{let{obj:i,k:a}=Cf(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Ef=(e,t)=>{let{obj:n,k:r}=Cf(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Df=(e,t,n)=>{let r=Ef(e,n);return r===void 0?Ef(t,n):r},Of=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?G(e[r])||e[r]instanceof String||G(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Of(e[r],t[r],n):e[r]=t[r]);return e},kf=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Af={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`,"/":`&#x2F;`},jf=e=>G(e)?e.replace(/[&<>"'\/]/g,e=>Af[e]):e,Mf=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},Nf=[` `,`,`,`?`,`!`,`;`],Pf=new Mf(20),Ff=(e,t,n)=>{t||=``,n||=``;let r=Nf.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=Pf.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},If=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Lf=e=>e?.replace(/_/g,`-`),Rf={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},zf=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Rf,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(G(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},Bf=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},Vf=class extends Bf{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):G(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Ef(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!G(n)?s:If(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),wf(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(G(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Ef(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Of(s,n,i):s={...s,...n},wf(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},Hf={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},Uf=Symbol(`i18next/PATH_KEY`);function Wf(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===Uf?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function Gf(e,t){let{[Uf]:n}=e(Wf()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var Kf={},qf=e=>!G(e)&&typeof e!=`boolean`&&typeof e!=`number`,Jf=class e extends Bf{constructor(e,t={}){super(),yf([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=zf.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=qf(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ff(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:G(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:G(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=Gf(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?Gf(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!G(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,ee=b&&!i.ordinal&&i.count===0,w=ee&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,T=m;y&&!m&&x&&(T=w);let te=qf(T),ne=Object.prototype.toString.apply(T);if(y&&T&&te&&_.indexOf(ne)<0&&!(G(v)&&Array.isArray(T))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,T,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(T),t=e?[]:{},n=e?g:h;for(let e in T)if(Object.prototype.hasOwnProperty.call(T,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:qf(w)?w[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=T[e])}m=t}}else if(y&&G(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=w),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&w!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?w:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);ee&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||w)})}):n(e,s,w))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=G(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!G(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=G(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=Hf.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return G(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?Gf(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!G(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(G(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!Kf[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Kf[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!G(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},Yf=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=zf.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Lf(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Lf(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(G(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),G(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return G(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):G(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},Xf={zero:0,one:1,two:2,few:3,many:4,other:5},Zf={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},Qf=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=zf.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Lf(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),Zf;if(!e.match(/-|_/))return Zf;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>Xf[e]-Xf[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},$f=(e,t,n,r=`.`,i=!0)=>{let a=Df(e,t,n);return!a&&i&&G(n)&&(a=If(e,n,r),a===void 0&&(a=If(t,n,r))),a},ep=e=>e.replace(/\$/g,`$$$$`),tp=class{constructor(e={}){this.logger=zf.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?jf:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?kf(i):a||`{{`,this.suffix=o?kf(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?kf(d):f||kf(`$t(`),this.nestingSuffix=p?kf(p):m||kf(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=$f(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format($f(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>ep(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?ep(this.escape(e)):ep(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=G(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!G(a)&&!this.useRawValueToEscape&&(a=vf(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${kf(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!G(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!G(i))return i;G(i)||(i=vf(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},np=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},rp=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Lf(r),i),t[o]=s),s(n)}},ip=e=>(t,n,r)=>e(Lf(n),r)(t),ap=class{constructor(e={}){this.logger=zf.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?rp:ip;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=rp(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=np(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},op=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},sp=class extends Bf{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=zf.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Tf(n.loaded,[i],a),op(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();G(e)&&(e=this.languageUtils.toResolveHierarchy(e)),G(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},cp=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),G(e[1])&&(t.defaultValue=e[1]),G(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),lp=e=>(G(e.ns)&&(e.ns=[e.ns]),G(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),G(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),up=()=>{},dp=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},fp=`__i18next_supportNoticeShown`,pp=()=>!!(typeof globalThis<`u`&&globalThis[fp]||typeof process<`u`&&{}.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`),mp=()=>{typeof globalThis<`u`&&(globalThis[fp]=!0)},hp=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),K=class e extends Bf{constructor(e={},t){if(super(),this.options=lp(e),this.services={},this.logger=zf,this.modules={external:[]},dp(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(G(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=cp();this.options={...n,...this.options,...lp(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!hp(this)&&!pp()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),mp());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?zf.init(r(this.modules.logger),this.options):zf.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:ap;let t=new Yf(this.options);this.store=new Vf(this.options.resources,this.options);let i=this.services;i.logger=zf,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new Qf(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new tp(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new sp(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Jf(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=up,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=_f(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=up){let n=t,r=G(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=_f();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=up,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&Hf.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=_f();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=G(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(G(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=Gf(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=Gf(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=Gf(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return G(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=_f();return this.options.ns?(G(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=_f();G(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new Yf(cp());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=up){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new Vf(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...cp().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new tp(n)}return a.translator=new Jf(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();K.createInstance,K.dir,K.init,K.loadResources,K.reloadResources,K.use,K.changeLanguage,K.getFixedT,K.t,K.exists,K.setDefaultNamespace,K.hasLoadedNamespace,K.loadNamespaces,K.loadLanguages;var gp=function(e,t){return gp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},gp(e,t)};function _p(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);gp(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var q=function(){return q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},q.apply(this,arguments)};function vp(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 yp(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function bp(e,t){var n=t&&t.cache?t.cache:Ap,r=t&&t.serializer?t.serializer:Op;return(t&&t.strategy?t.strategy:Tp)(e,{cache:n,serializer:r})}function xp(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Sp(e,t,n,r){var i=xp(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function Cp(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function wp(e,t,n,r,i){return n.bind(t,e,r,i)}function Tp(e,t){var n=e.length===1?Sp:Cp;return wp(e,this,n,t.cache.create(),t.serializer)}function Ep(e,t){return wp(e,this,Cp,t.cache.create(),t.serializer)}function Dp(e,t){return wp(e,this,Sp,t.cache.create(),t.serializer)}var Op=function(){return JSON.stringify(arguments)},kp=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),Ap={create:function(){return new kp}},jp={variadic:Ep,monadic:Dp},J;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`})(J||={});var Y;(function(e){e[e.literal=0]=`literal`,e[e.argument=1]=`argument`,e[e.number=2]=`number`,e[e.date=3]=`date`,e[e.time=4]=`time`,e[e.select=5]=`select`,e[e.plural=6]=`plural`,e[e.pound=7]=`pound`,e[e.tag=8]=`tag`})(Y||={});var Mp;(function(e){e[e.number=0]=`number`,e[e.dateTime=1]=`dateTime`})(Mp||={});function Np(e){return e.type===Y.literal}function Pp(e){return e.type===Y.argument}function Fp(e){return e.type===Y.number}function Ip(e){return e.type===Y.date}function Lp(e){return e.type===Y.time}function Rp(e){return e.type===Y.select}function zp(e){return e.type===Y.plural}function Bp(e){return e.type===Y.pound}function Vp(e){return e.type===Y.tag}function Hp(e){return!!(e&&typeof e==`object`&&e.type===Mp.number)}function Up(e){return!!(e&&typeof e==`object`&&e.type===Mp.dateTime)}var Wp=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Gp=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Kp(e){var t={};return e.replace(Gp,function(e){var n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-4];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-4];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var qp=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Jp(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);for(var t=e.split(qp).filter(function(e){return e.length>0}),n=[],r=0,i=t;r<i.length;r++){var a=i[r].split(`/`);if(a.length===0)throw Error(`Invalid number skeleton`);for(var o=a[0],s=a.slice(1),c=0,l=s;c<l.length;c++)if(l[c].length===0)throw Error(`Invalid number skeleton`);n.push({stem:o,options:s})}return n}function Yp(e){return e.replace(/^(.*?)-/,``)}var Xp=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zp=/^(@+)?(\+|#+)?[rs]?$/g,Qp=/(\*)(0+)|(#+)(0+)|(0+)/g,$p=/^(0+)$/;function em(e){var t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(Zp,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function tm(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function nm(e){var t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){var n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!$p.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function rm(e){return tm(e)||{}}function im(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=i.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=Yp(i.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t=q(q(q({},t),{notation:`scientific`}),i.options.reduce(function(e,t){return q(q({},e),rm(t))},{}));continue;case`engineering`:t=q(q(q({},t),{notation:`engineering`}),i.options.reduce(function(e,t){return q(q({},e),rm(t))},{}));continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(i.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(i.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);i.options[0].replace(Qp,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if($p.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Xp.test(i.stem)){if(i.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);i.stem.replace(Xp,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});var a=i.options[0];a===`w`?t=q(q({},t),{trailingZeroDisplay:`stripIfInteger`}):a&&(t=q(q({},t),em(a)));continue}if(Zp.test(i.stem)){t=q(q({},t),em(i.stem));continue}var o=tm(i.stem);o&&(t=q(q({},t),o));var s=nm(i.stem);s&&(t=q(q({},t),s))}return t}var am={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function om(e,t){for(var n=``,r=0;r<e.length;r++){var i=e.charAt(r);if(i===`j`){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(a&1),s=a<2?1:3+(a>>1),c=`a`,l=sm(t);for((l==`H`||l==`k`)&&(s=0);s-->0;)n+=c;for(;o-->0;)n=l+n}else n+=i===`J`?`H`:i}return n}function sm(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}var n=e.language,r;return n!==`root`&&(r=e.maximize().region),(am[r||``]||am[n||``]||am[`${n}-001`]||am[`001`])[0]}var cm=RegExp(`^${Wp.source}*`),lm=RegExp(`${Wp.source}*\$`);function X(e,t){return{start:e,end:t}}var um=!!String.prototype.startsWith&&`_a`.startsWith(`a`,1),dm=!!String.fromCodePoint,fm=!!Object.fromEntries,pm=!!String.prototype.codePointAt,mm=!!String.prototype.trimStart,hm=!!String.prototype.trimEnd,gm=Number.isSafeInteger?Number.isSafeInteger:function(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},_m=!0;try{_m=wm(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`).exec(`a`)?.[0]===`a`}catch{_m=!1}var vm=um?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},ym=dm?String.fromCodePoint:function(){for(var e=[...arguments],t=``,n=e.length,r=0,i;n>r;){if(i=e[r++],i>1114111)throw RangeError(i+` is not a valid code point`);t+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return t},bm=fm?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0];t[a]=i[1]}return t},xm=pm?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),i;return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:(r-55296<<10)+(i-56320)+65536}},Sm=mm?function(e){return e.trimStart()}:function(e){return e.replace(cm,``)},Cm=hm?function(e){return e.trimEnd()}:function(e){return e.replace(lm,``)};function wm(e,t){return new RegExp(e,t)}var Tm;if(_m){var Em=wm(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);Tm=function(e,t){return Em.lastIndex=t,Em.exec(e)[1]??``}}else Tm=function(e,t){for(var n=[];;){var r=xm(e,t);if(r===void 0||jm(r)||Mm(r))break;n.push(r),t+=r>=65536?2:1}return ym.apply(void 0,n)};var Dm=function(){function e(e,t){t===void 0&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error(`parser can only be used once`);return this.parseMessage(0,``,!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){var o=this.clonePosition();this.bump(),r.push({type:Y.pound,location:X(o,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(J.UNMATCHED_CLOSING_TAG,X(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Om(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:Y.literal,value:`<${r}/>`,location:X(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!Om(this.char()))return this.error(J.INVALID_TAG,X(o,this.clonePosition()));var s=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:Y.tag,value:r,children:a,location:X(n,this.clonePosition())},err:null}:this.error(J.INVALID_TAG,X(o,this.clonePosition()))):this.error(J.UNMATCHED_CLOSING_TAG,X(s,this.clonePosition()))}return this.error(J.UNCLOSED_TAG,X(n,this.clonePosition()))}return this.error(J.INVALID_TAG,X(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Am(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r=``;;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=X(n,this.clonePosition());return{val:{type:Y.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!km(this.peek()||0))?(this.bump(),`<`):null},e.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return ym.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),ym(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(J.EMPTY_ARGUMENT,X(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(J.MALFORMED_ARGUMENT,X(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Y.argument,value:r,location:X(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(J.MALFORMED_ARGUMENT,X(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Tm(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:X(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(J.EXPECT_ARGUMENT_TYPE,X(i,o));case`number`:case`date`:case`time`:this.bumpSpace();var s=null;if(this.bumpIf(`,`)){this.bumpSpace();var c=this.clonePosition(),l=this.parseSimpleArgStyleIfPossible();if(l.err)return l;var u=Cm(l.val);if(u.length===0)return this.error(J.EXPECT_ARGUMENT_STYLE,X(this.clonePosition(),this.clonePosition()));s={style:u,styleLocation:X(c,this.clonePosition())}}var d=this.tryParseArgumentClose(r);if(d.err)return d;var f=X(r,this.clonePosition());if(s&&vm(s?.style,`::`,0)){var p=Sm(s.style.slice(2));if(a===`number`){var l=this.parseNumberSkeletonFromString(p,s.styleLocation);return l.err?l:{val:{type:Y.number,value:n,location:f,style:l.val},err:null}}if(p.length===0)return this.error(J.EXPECT_DATE_TIME_SKELETON,f);var m=p;this.locale&&(m=om(p,this.locale));var u={type:Mp.dateTime,pattern:m,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?Kp(m):{}};return{val:{type:a===`date`?Y.date:Y.time,value:n,location:f,style:u},err:null}}return{val:{type:a===`number`?Y.number:a===`date`?Y.date:Y.time,value:n,location:f,style:s?.style??null},err:null};case`plural`:case`selectordinal`:case`select`:var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(J.EXPECT_SELECT_ARGUMENT_OPTIONS,X(h,q({},h)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),_=0;if(a!==`select`&&g.value===`offset`){if(!this.bumpIf(`:`))return this.error(J.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,X(this.clonePosition(),this.clonePosition()));this.bumpSpace();var l=this.tryParseDecimalInteger(J.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(l.err)return l;this.bumpSpace(),g=this.parseIdentifierIfPossible(),_=l.val}var v=this.tryParsePluralOrSelectOptions(e,a,t,g);if(v.err)return v;var d=this.tryParseArgumentClose(r);if(d.err)return d;var y=X(r,this.clonePosition());return a===`select`?{val:{type:Y.select,value:n,options:bm(v.val),location:y},err:null}:{val:{type:Y.plural,value:n,options:bm(v.val),offset:_,pluralType:a===`plural`?`cardinal`:`ordinal`,location:y},err:null};default:return this.error(J.INVALID_ARGUMENT_TYPE,X(i,o))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,X(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(J.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,X(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=Jp(e)}catch{return this.error(J.INVALID_NUMBER_SKELETON,t)}return{val:{type:Mp.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?im(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,c=r.value,l=r.location;;){if(c.length===0){var u=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){var d=this.tryParseDecimalInteger(J.EXPECT_PLURAL_ARGUMENT_SELECTOR,J.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=X(u,this.clonePosition()),c=this.message.slice(u.offset,this.offset())}else break}if(s.has(c))return this.error(t===`select`?J.DUPLICATE_SELECT_ARGUMENT_SELECTOR:J.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);c===`other`&&(a=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?J.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:J.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,X(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(f);if(m.err)return m;o.push([c,{value:p.val,location:X(f,this.clonePosition())}]),s.add(c),this.bumpSpace(),i=this.parseIdentifierIfPossible(),c=i.value,l=i.location}return o.length===0?this.error(t===`select`?J.EXPECT_SELECT_ARGUMENT_SELECTOR:J.EXPECT_PLURAL_ARGUMENT_SELECTOR,X(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(J.MISSING_OTHER_CLAUSE,X(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=a*10+(o-48),this.bump();else break}var s=X(r,this.clonePosition());return i?(a*=n,gm(a)?{val:a,err:null}:this.error(t,s)):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);var t=xm(this.message,e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(vm(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&jm(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e}();function Om(e){return e>=97&&e<=122||e>=65&&e<=90}function km(e){return Om(e)||e===47}function Am(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function jm(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Mm(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Nm(e){e.forEach(function(e){if(delete e.location,Rp(e)||zp(e))for(var t in e.options)delete e.options[t].location,Nm(e.options[t].value);else Fp(e)&&Hp(e.style)||(Ip(e)||Lp(e))&&Up(e.style)?delete e.style.location:Vp(e)&&Nm(e.children)})}function Pm(e,t){t===void 0&&(t={}),t=q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Dm(e,t).parse();if(n.err){var r=SyntaxError(J[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||Nm(n.val),n.val}var Fm;(function(e){e.MISSING_VALUE=`MISSING_VALUE`,e.INVALID_VALUE=`INVALID_VALUE`,e.MISSING_INTL_API=`MISSING_INTL_API`})(Fm||={});var Im=function(e){_p(t,e);function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return t.prototype.toString=function(){return`[formatjs Error: ${this.code}] ${this.message}`},t}(Error),Lm=function(e){_p(t,e);function t(t,n,r,i){return e.call(this,`Invalid values for "${t}": "${n}". Options are "${Object.keys(r).join(`", "`)}"`,Fm.INVALID_VALUE,i)||this}return t}(Im),Rm=function(e){_p(t,e);function t(t,n,r){return e.call(this,`Value for "${t}" must be of type ${n}`,Fm.INVALID_VALUE,r)||this}return t}(Im),zm=function(e){_p(t,e);function t(t,n){return e.call(this,`The intl string context variable "${t}" was not provided to the string "${n}"`,Fm.MISSING_VALUE,n)||this}return t}(Im),Z;(function(e){e[e.literal=0]=`literal`,e[e.object=1]=`object`})(Z||={});function Bm(e){return e.length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return!n||n.type!==Z.literal||t.type!==Z.literal?e.push(t):n.value+=t.value,e},[])}function Vm(e){return typeof e==`function`}function Hm(e,t,n,r,i,a,o){if(e.length===1&&Np(e[0]))return[{type:Z.literal,value:e[0].value}];for(var s=[],c=0,l=e;c<l.length;c++){var u=l[c];if(Np(u)){s.push({type:Z.literal,value:u.value});continue}if(Bp(u)){typeof a==`number`&&s.push({type:Z.literal,value:n.getNumberFormat(t).format(a)});continue}var d=u.value;if(!(i&&d in i))throw new zm(d,o);var f=i[d];if(Pp(u)){(!f||typeof f==`string`||typeof f==`number`)&&(f=typeof f==`string`||typeof f==`number`?String(f):``),s.push({type:typeof f==`string`?Z.literal:Z.object,value:f});continue}if(Ip(u)){var p=typeof u.style==`string`?r.date[u.style]:Up(u.style)?u.style.parsedOptions:void 0;s.push({type:Z.literal,value:n.getDateTimeFormat(t,p).format(f)});continue}if(Lp(u)){var p=typeof u.style==`string`?r.time[u.style]:Up(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Z.literal,value:n.getDateTimeFormat(t,p).format(f)});continue}if(Fp(u)){var p=typeof u.style==`string`?r.number[u.style]:Hp(u.style)?u.style.parsedOptions:void 0;p&&p.scale&&(f*=p.scale||1),s.push({type:Z.literal,value:n.getNumberFormat(t,p).format(f)});continue}if(Vp(u)){var m=u.children,h=u.value,g=i[h];if(!Vm(g))throw new Rm(h,`function`,o);var _=g(Hm(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(_)||(_=[_]),s.push.apply(s,_.map(function(e){return{type:typeof e==`string`?Z.literal:Z.object,value:e}}))}if(Rp(u)){var v=u.options[f]||u.options.other;if(!v)throw new Lm(u.value,f,Object.keys(u.options),o);s.push.apply(s,Hm(v.value,t,n,r,i));continue}if(zp(u)){var v=u.options[`=${f}`];if(!v){if(!Intl.PluralRules)throw new Im(`Intl.PluralRules is not available in this environment.
5
+ Try polyfilling it using "@formatjs/intl-pluralrules"
6
+ `,Fm.MISSING_INTL_API,o);var y=n.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));v=u.options[y]||u.options.other}if(!v)throw new Lm(u.value,f,Object.keys(u.options),o);s.push.apply(s,Hm(v.value,t,n,r,i,f-(u.offset||0)));continue}}return Bm(s)}function Um(e,t){return t?q(q(q({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=q(q({},e[r]),t[r]||{}),n},{})):e}function Wm(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Um(e[r],t[r]),n},q({},e)):e}function Gm(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Km(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bp(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yp([void 0],t,!1)))},{cache:Gm(e.number),strategy:jp.variadic}),getDateTimeFormat:bp(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yp([void 0],t,!1)))},{cache:Gm(e.dateTime),strategy:jp.variadic}),getPluralRules:bp(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yp([void 0],t,!1)))},{cache:Gm(e.pluralRules),strategy:jp.variadic})}}var qm=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(t.length===1)return t[0].value;var n=t.reduce(function(e,t){return!e.length||t.type!==Z.literal||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e},[]);return n.length<=1?n[0]||``:n},this.formatToParts=function(e){return Hm(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=vp(o,[`formatters`]);this.ast=e.__parse(t,q(q({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=Wm(e.formats,r),this.formatters=i&&i.formatters||Km(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(Intl.Locale!==void 0){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}},e.__parse=Pm,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}},e}(),Jm=[`__proto__`,`constructor`,`prototype`];function Ym(e,t,n){function r(e){return e&&e.indexOf(`###`)>-1?e.replace(/###/g,`.`):e}function i(){return!e||typeof e==`string`}for(var a=typeof t==`string`?t.split(`.`):[].concat(t);a.length>1;){if(i())return{};var o=r(a.shift());if(Jm.indexOf(o)>-1)return{};!e[o]&&n&&(e[o]=new n),e=e[o]}if(i())return{};var s=r(a.shift());return Jm.indexOf(s)>-1?{}:{obj:e,k:s}}function Xm(e,t,n){var r=Ym(e,t,Object),i=r.obj,a=r.k;i!==void 0&&(i[a]=n)}function Zm(e,t){var n=Ym(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Qm(e){return[...arguments].slice(1).forEach(function(t){if(t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Jm.indexOf(i)>-1||e[i]===void 0&&(e[i]=t[i])}}),e}function $m(e,t){return ih(e)||rh(e,t)||th(e,t)||eh()}function eh(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function th(e,t){if(e){if(typeof e==`string`)return nh(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nh(e,t):void 0}}function nh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rh(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ih(e){if(Array.isArray(e))return e}function ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ah(Object(n),!0).forEach(function(t){sh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ah(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sh(e,t,n){return(t=dh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ch(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function lh(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,dh(r.key),r)}}function uh(e,t,n){return t&&lh(e.prototype,t),n&&lh(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function dh(e){var t=fh(e,`string`);return ph(t)==`symbol`?t:t+``}function fh(e,t){if(ph(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ph(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ph(e){"@babel/helpers - typeof";return ph=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ph(e)}var mh=`https://www.i18next.com/how-to/using-icu-or-mf2`,hh=[`zero`,`one`,`two`,`few`,`many`,`other`];function gh(){return{memoize:!0,memoizeFallback:!1,bindI18n:``,bindI18nStore:``,parseErrorHandler:function(e,t,n,r){return n},parseLngForICU:function(e){return e},escapeVariables:!1}}function _h(e,t,n,r){return n&&t&&ph(t)===`object`?`${r} resolved to an object or array, but i18next-icu does not support returnObjects or joinArrays and returns the raw value unformatted.`:n&&typeof t==`string`&&t.indexOf(`{{`)>-1?`${r} could not be parsed (${e.message}). It contains "{{": i18next interpolation like {{name}} does not work with ICU, use {name}.`:`${r} could not be ${n?`parsed`:`formatted`}: ${e.message}`}var vh=function(){function e(t){ch(this,e),this.type=`i18nFormat`,this.mem={},this.warned=new Set,this.init(null,t)}return uh(e,[{key:`init`,value:function(e,t){var n=this,r=e&&e.options&&e.options.i18nFormat||{};if(this.options=Qm(r,t,this.options||{},gh()),this.formats=this.options.formats,e){var i=this.options,a=i.bindI18n,o=i.bindI18nStore,s=i.memoize;e.IntlMessageFormat=qm,e.ICU=this,this.i18next=e,this.debug=!!(e.options&&e.options.debug),this.debug&&e.options.interpolation&&e.options.interpolation.escapeValue!==!1&&!this.options.escapeVariables&&this.warn(`interpolation.escapeValue is not applied, values are inserted without HTML escaping. Set the i18next-icu option escapeVariables: true to escape them, or interpolation.escapeValue: false if your output is escaped elsewhere (e.g. by React).`),s&&(a&&e.on(a,function(){return n.clearCache()}),o&&e.store.on(o,function(){return n.clearCache()}))}}},{key:`addUserDefinedFormats`,value:function(e){this.formats=this.formats?oh(oh({},this.formats),e):e,this.clearCache()}},{key:`parse`,value:function(e,t,n,r,i,a){var o=a&&a.resolved&&a.resolved.res,s=this.options.memoize&&[n,r,i],c;if(this.options.memoize){var l=Zm(this.mem,s);l&&l.res===e&&(c=l.fc)}try{c||(this.debug&&typeof e==`string`&&e.indexOf(`$t(`)>-1&&this.firstTime(`nesting ${n} ${r} ${i}`)&&this.warn(`key "${i}" (${n}/${r}) contains "\$t(", but i18next-icu does not support nesting, the text is output as is.`),c=new qm(e,this.options.parseLngForICU(n),this.formats,{ignoreTag:!0}),this.options.memoize&&(this.options.memoizeFallback||!a||o)&&Xm(this.mem,s,{res:e,fc:c}));var u=t&&t.replace&&ph(t.replace)===`object`?oh(oh({},t),t.replace):t;return c.format(this.escapeVariableValues(u))}catch(a){return this.debug&&this.firstTime(`error ${n} ${r} ${i}`)&&this.warn(_h(a,e,!c,`key "${i}" (${n}/${r})`)),this.options.parseErrorHandler(a,i,e,t)}}},{key:`addLookupKeys`,value:function(e,t,n,r,i){return this.debug&&i&&this.checkSuffixKeys(t,n,r,i),e}},{key:`checkSuffixKeys`,value:function(e,t,n,r){var i=r.count,a=r.context,o=this.i18next.options,s=o.pluralSeparator,c=s===void 0?`_`:s,l=o.contextSeparator,u=l===void 0?`_`:l,d=this.i18next.services.resourceStore,f=`key "${e}" (${t}/${n})`;if(i!==void 0&&this.firstTime(`plural ${t} ${n} ${e}`)){var p=hh.concat(hh.map(function(e){return`ordinal${c}${e}`})).map(function(t){return`${e}${c}${t}`}).filter(function(e){return d.getResource(t,n,e)!==void 0});p.length&&this.warn(`${f} was called with count, but i18next-icu does not look up plural suffix keys (${p.join(`, `)}). Put the plural into the message: {count, plural, one {# item} other {# items}}.`)}var m=`${e}${u}${a}`;a!==void 0&&a!==``&&this.firstTime(`context ${t} ${n} ${m}`)&&d.getResource(t,n,m)!==void 0&&this.warn(`${f} was called with context "${a}", but i18next-icu does not look up context keys (${m}). Use a select in the message: {context, select, ${a} {...} other {...}}.`)}},{key:`firstTime`,value:function(e){return!this.warned.has(e)&&(this.warned.add(e),!0)}},{key:`warn`,value:function(e){this.i18next.services.logger.warn(`i18next-icu: ${e} See ${mh}`)}},{key:`clearCache`,value:function(){this.mem={}}},{key:`escapeVariableValues`,value:function(e){if(!this.options.escapeVariables||!e||ph(e)!==`object`)return e;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=$m(r[n],2),a=i[0],o=i[1];t[a]=typeof o==`string`?o.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#39;`):o}return t}}]),e}();vh.type=`i18nFormat`;function yh(e,t){let n=K.createInstance({lng:e.essentials?.locale||`en`,fallbackLng:`en`,keySeparator:!1}).use(vh);return t&&n.use(bh(t)),n}function bh(e){return{type:`backend`,init:()=>{},read:async(t,n,r)=>{try{return r(null,await e(t))}catch(e){return r(e,null)}}}}function xh(e){return new gf({environment:{artifactId:`sdk-essentials`},biDefaultsOverrides:{hostingEnvironment:e.name},biLoggerOrFactory:{async report(){}},showError:e.showError,createErrorMonitor:()=>({captureException(){}}),createI18n:({asyncMessagesLoader:t})=>yh(e,t)}).v2}var Sh=e=>t=>{if(t.getErrorHandler)return e(t.getErrorHandler());let n=xh(t);return t.getErrorHandler=()=>n,e(xh(t))},Ch=hl({withErrorHandler:Sh(e=>e.withErrorHandler),getResolvedError:Sh(e=>e.getResolvedError),showError:Sh(e=>e.showError),reportRetryAttempt:Sh(e=>e.reportRetryAttempt)}),wh=Ch.withErrorHandler,Th=Ch.getResolvedError;Ch.showError,Ch.reportRetryAttempt;var Eh=class{constructor(e){this.message=e,this.captureException=()=>{console.error(this.message)},this.captureMessage=()=>{console.error(this.message)},this.startSpan=(e,t)=>(console.error(this.message),t(void 0)),this.startSpanManual=()=>(console.error(this.message),{end:()=>{},fail:()=>{}}),this.endSpanManual=()=>{console.error(this.message)},this.addBreadcrumb=()=>{console.error(this.message)}}},Dh=e=>new Eh(e),Oh=hl({getMonitoringClient:e=>()=>e.getMonitoringClient?e.getMonitoringClient():Dh(`Host monitoring client is not available on the current host. Make sure to use an updated version of the host initialization package.`)});_((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.WIX_HOTELS_RUNNER=e.WIX_VIDEO=e.WIX_GET_SUBSCRIBERS=e.INSTAGRAM_FEED_NEW=e.INSTAGRAM_FEED=e.DEVIANTART_FEED=e.WIX_AI_CHAT_ASSISTANT=e.WIX_CHAT=e.PAY_BUTTON=e.WIX_RESTAURANTS_TABLE_RESERVATIONS=e.WIX_RESTAURANTS_MENUS_NEW=e.WIX_RESTAURANTS_MENUS=e.WIX_RESTAURANTS_ORDERS_NEW=e.WIX_RESTAURANTS_ORDERS=e.WIX_RESERVATIONS=e.NOTIFICATIONS=e.META_SITE=e.MEMBERS=e.MEMBERS_AREA_V2=e.MEMBERS_AREA=e.WIX_NEW_STORES=e.WIX_STORES=e.WIX_ECOM=e.WIX_PROMOS=e.PRICING_PLANS=e.WIX_FORUM=e.WIX_SERVICES=e.WIX_BOOKINGS=e.WIX_EVENTS=e.WIX_BLOG=e.WIX_HOTELS=e.ADMIN_PAGES=e.DASHBOARD_SALES=e.DASHBOARD_SUGGESTIONS=e.DASHBOARD_SETUP=e.BUSINESS_DASHBOARD=e.WIX_CODE_PLATFORM_VISIBILITY=e.WIX_ACCESSIBILITY_WIZARD=e.WIX_CODE_SITE_MONITORING=e.DEVELOPER_TOOLS=e.WIX_CODE_SECRETS_MANAGER=e.WIX_CODE_RELEASE_MANAGER=e.CLOUD_DATA_SCHEMA_NOTIFIER=e.OLD_BLOG=e.SITE_MEMBERS=e.DATA_BINDING=e.WIX_CODE_DUPLEXER=e.VELO=e.WIX_CODE_SITE_EXTENSION=e.WIX_CODE=void 0,e.WIX_DONATIONS=e.PRODUCT_PAGE_ON_BLOCKS=e.WIX_CHECKOUT_REQUIREMENTS=e.FERA_REVIEWS=e.WIX_HEADLESS=e.WIX_PODCAST_PLAYER=e.MEMBER_AUTHENTICATION=e.CUSTOM_LOGIN=e.SETTINGS=e.MY_ADDRESSES=e.MY_WALLET=e.MY_REWARDS=e.WIX_REFERRAL_PROGRAM=e.WIX_LOYALTY_PROGRAM=e.CMS=e.WIX_CMS=e.MULTILINGUAL=e.MEMBERS_FOLLOWERS=e.MEMBERS_STAFF_WIDGET=e.MEMBERS_PROFILE_CARD=e.MEMBERS_ACCOUNT_INFO=e.MEMBERS_ABOUT=e.MY_SUBSCRIPTIONS=e.MAP_PLUGIN=e.WIX_REVIEWS=e.WISHLIST_BLOCKS=e.RESTAURANTS=e.WIX_FILE_SHARE=e.RICOS_EDITOR_ELEMENTS=e.RICH_CONTENT=e.WIX_GROUPS=e.WIX_CHALLENGES=e.FORM_APP=e.WIX_FORMS=e.WIX_FAQ=e.WIX_SITE_SEARCH=e.WIX_MUSIC=e.BANDSINTOWN=e.WIX_PORTFOLIO=e.WIX_PRO_GALLERY=e.WIX_PHOTO_ALBUMS=void 0,e.getAppDependencies=n,e.WIX_CODE=`wix-code`,e.WIX_CODE_SITE_EXTENSION=`CloudSiteExtension`,e.VELO=`2f70e2b4-ff36-472e-bdb9-ce393b13669e`,e.WIX_CODE_DUPLEXER=`af6d536e-0fc6-428b-a7f9-1d8cd6aa3703`,e.DATA_BINDING=`dataBinding`,e.SITE_MEMBERS=`SiteMembers`,e.OLD_BLOG=`79f391eb-7dfc-4adf-be6e-64434c4838d9`,e.CLOUD_DATA_SCHEMA_NOTIFIER=`f1fbeff1-05c3-4121-bdb5-75e74b6e9e51`,e.WIX_CODE_RELEASE_MANAGER=`8c41f3a6-47f7-40be-ad77-02a72cb2ddb3`,e.WIX_CODE_SECRETS_MANAGER=`4b10fcce-732d-4be3-9d46-801d271acda9`,e.DEVELOPER_TOOLS=`4b10fcce-732d-4be3-9d46-801d271acda9`,e.WIX_CODE_SITE_MONITORING=`675bbcef-18d8-41f5-800e-131ec9e08762`,e.WIX_ACCESSIBILITY_WIZARD=`9699c03d-5c19-4a7c-a454-e8109a6e43fc`,e.WIX_CODE_PLATFORM_VISIBILITY=`8048f115-449b-4dab-b0e6-e09d5ffc8199`,e.BUSINESS_DASHBOARD=`a7597ab5-1ed4-458f-a5c1-5884d5e14281`,e.DASHBOARD_SETUP=`0750d046-d599-4cfc-9f6b-e9f4af169aa9`,e.DASHBOARD_SUGGESTIONS=`cead4297-02ee-4c0f-ae07-461f4ba71b3b`,e.DASHBOARD_SALES=`f95c72b1-84de-48ec-a61b-d96d61315ffe`,e.ADMIN_PAGES=`1514b01b-cb08-41b4-8582-0a88551ac769`,e.WIX_HOTELS=`135aad86-9125-6074-7346-29dc6a3c9bcf`,e.WIX_BLOG=`14bcded7-0066-7c35-14d7-466cb3f09103`,e.WIX_EVENTS=`140603ad-af8d-84a5-2c80-a0f60cb47351`,e.WIX_BOOKINGS=`13d21c63-b5ec-5912-8397-c3a5ddb27a97`,e.WIX_SERVICES=`cc552162-24a4-45e0-9695-230c4931ef40`,e.WIX_FORUM=`14724f35-6794-cd1a-0244-25fd138f9242`,e.PRICING_PLANS=`1522827f-c56c-a5c9-2ac9-00f9e6ae12d3`,e.WIX_PROMOS=`7fdf5576-9d52-4c0a-9840-6e226f2ec415`,e.WIX_ECOM=`1380b703-ce81-ff05-f115-39571d94dfcd`,e.WIX_STORES=`1380b703-ce81-ff05-f115-39571d94dfcd`,e.WIX_NEW_STORES=`215238eb-22a5-4c36-9e7b-e7c08025e04e`,e.MEMBERS_AREA=`14cc59bc-f0b7-15b8-e1c7-89ce41d0e0c9`,e.MEMBERS_AREA_V2=`b976560c-3122-4351-878f-453f337b7245`,e.MEMBERS=`14dbefd2-01b4-fb61-32a7-3abd44da4908`,e.META_SITE=`22bef345-3c5b-4c18-b782-74d4085112ff`,e.NOTIFICATIONS=`14f25924-5664-31b2-9568-f9c5ed98c9b1`,e.WIX_RESERVATIONS=`1475ab65-206b-d79a-856d-fa10bdb479ea`,e.WIX_RESTAURANTS_ORDERS=`13e8d036-5516-6104-b456-c8466db39542`,e.WIX_RESTAURANTS_ORDERS_NEW=`9a5d83fd-8570-482e-81ab-cfa88942ee60`,e.WIX_RESTAURANTS_MENUS=`13c1402c-27f2-d4ab-7463-ee7c89e07578`,e.WIX_RESTAURANTS_MENUS_NEW=`b278a256-2757-4f19-9313-c05c783bec92`,e.WIX_RESTAURANTS_TABLE_RESERVATIONS=`f9c07de2-5341-40c6-b096-8eb39de391fb`,e.PAY_BUTTON=`6aee8fe8-66c9-47aa-a0dd-0f2c18256c4f`,e.WIX_CHAT=`14517e1a-3ff0-af98-408e-2bd6953c36a2`,e.WIX_AI_CHAT_ASSISTANT=`31ceda3c-e2c8-4e83-816d-ba293597730c`,e.DEVIANTART_FEED=`7d297b79-baed-46d7-ac58-4bd68dcb70d0`,e.INSTAGRAM_FEED=`14635256-b183-1c71-a4d2-f55179b80e8a`,e.INSTAGRAM_FEED_NEW=`deb18ef1-e0c6-4668-a7bc-4a13785eb5b7`,e.WIX_GET_SUBSCRIBERS=`1375baa8-8eca-5659-ce9d-455b2009250d`,e.WIX_VIDEO=`14409595-f076-4753-8303-9a86f9f71469`,e.WIX_HOTELS_RUNNER=`826670ba-3a6b-4157-ac72-7c4fca9ce220`,e.WIX_PHOTO_ALBUMS=`13ff8629-c1fc-e289-e81f-bc8c8968e9d6`,e.WIX_PRO_GALLERY=`14271d6f-ba62-d045-549b-ab972ae1f70e`,e.WIX_PORTFOLIO=`d90652a2-f5a1-4c7c-84c4-d4cdcc41f130`,e.BANDSINTOWN=`1405ef82-0ee0-65fb-88a1-2f172aa3573c`,e.WIX_MUSIC=`13bb5d67-1add-e770-a71f-001277e17c57`,e.WIX_SITE_SEARCH=`1484cb44-49cd-5b39-9681-75188ab429de`,e.WIX_FAQ=`14c92d28-031e-7910-c9a8-a670011e062d`,e.WIX_FORMS=`14ce1214-b278-a7e4-1373-00cebd1bef7c`,e.FORM_APP=`225dd912-7dea-4738-8688-4b8c6955ffc2`,e.WIX_CHALLENGES=`2936472a-a1ed-4ae5-9f71-614313a9f4e7`,e.WIX_GROUPS=`148c2287-c669-d849-d153-463c7486a694`,e.RICH_CONTENT=`949cfcc9-2a3f-4a96-bd6c-11d9d82763a4`,e.RICOS_EDITOR_ELEMENTS=`61270055-5726-4cb1-9a7a-467bbbaf465f`,e.WIX_FILE_SHARE=`1537b24e-29d1-6d8f-b8e1-d6860f2f70b9`,e.RESTAURANTS=`9142e27e-2e30-4948-ad8f-7e128939efc4`,e.WISHLIST_BLOCKS=`a97c0203-062a-4dd5-97cf-a90f9800a13a`,e.WIX_REVIEWS=`a95a5fce-e370-4402-9ce4-96956acc747d`,e.MAP_PLUGIN=`c5fedde3-63c7-4041-a5fb-c77bbe6308dc`,e.MY_SUBSCRIPTIONS=`2bef2abe-7abe-43da-889c-53c1500a328c`,e.MEMBERS_ABOUT=`14dbef06-cc42-5583-32a7-3abd44da4908`,e.MEMBERS_ACCOUNT_INFO=`14cffd81-5215-0a7f-22f8-074b0e2401fb`,e.MEMBERS_PROFILE_CARD=`14ce28f7-7eb0-3745-22f8-074b0e2401fb`,e.MEMBERS_STAFF_WIDGET=`cffc6740-8042-48cc-a35b-d3fd03a69f0c`,e.MEMBERS_FOLLOWERS=`14ebe801-d78a-daa9-c9e5-0286a891e46f`,e.MULTILINGUAL=`14d84998-ae09-1abf-c6fc-3f3cace5bf19`,e.WIX_CMS=`e593b0bd-b783-45b8-97c2-873d42aacaf4`,e.CMS=`1973457f-c021-4da5-941f-58444ff761d4`,e.WIX_LOYALTY_PROGRAM=`553c79f3-5625-4f38-b14b-ef7c0d1e87df`,e.WIX_REFERRAL_PROGRAM=`58be0514-fc10-4eb1-886e-2909d18f33b3`,e.MY_REWARDS=`16ed1ac6-01cb-4fb6-a59e-c215cce8fdf6`,e.MY_WALLET=`4aebd0cb-fbdb-4da7-b5d1-d05660a30172`,e.MY_ADDRESSES=`1505b775-e885-eb1b-b665-1e485d9bf90e`,e.SETTINGS=`14f25dc5-6af3-5420-9568-f9c5ed98c9b1`,e.CUSTOM_LOGIN=`bbe1406a-31f5-4f3f-9e0a-b39dfd25274f`,e.MEMBER_AUTHENTICATION=`1052fa8e-e3e2-46dc-ab66-8badb2d08fe9`,e.WIX_PODCAST_PLAYER=`153e1aeb-2ec2-58c4-9715-1b25977bd56f`,e.WIX_HEADLESS=`78640cbb-be47-45f8-b6de-8ed97287872c`,e.FERA_REVIEWS=`c9064755-5cc8-4faf-a5a6-41a0150a6640`,e.WIX_CHECKOUT_REQUIREMENTS=`eeb6edab-5c38-4903-b070-58ac767a3389`,e.PRODUCT_PAGE_ON_BLOCKS=`a0c68605-c2e7-4c8d-9ea1-767f9770e087`,e.WIX_DONATIONS=`333b456e-dd48-4d6b-b32b-9fd48d74e163`;var t={};function n(e){return t[e]||[]}}))();var kh=e=>Th(e),Ah={toasts:{personalInfoSaved:{key:`account_settings_personal_info_saved_toast`,fallback:`Personal info updated.`},loginEmailChanged:{key:`account_settings_login_email_changed_toast`,fallback:`Login email updated.`},passwordChanged:{key:`account_settings_password_changed_toast`,fallback:`Password updated.`},passwordSignInUnconfirmed:{key:`account_settings_password_sign_in_unconfirmed_toast`,fallback:`We couldn't confirm it's you, so your password wasn't changed.`},setPasswordEmailSent:{key:`account_settings_set_password_email_sent_toast`,fallback:`Email sent. Follow the link to set your password.`}}};function jh(e){if(!e)return;let t=``;return(e.filename||e.altText)&&(t=`/${encodeURIComponent(e.filename||e.altText)}`),e.id?`wix:image://v1/${e.id}${t}#originWidth=${e.width}&originHeight=${e.height}`:e.url}function Mh(e){return Mt(Object.assign(e,{domainToMappings:{"api._api_base_domain_":[{srcPath:`/wix-sm-members-proxy`,destPath:``}],"*.dev.wix-code.com":[{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"*.pub.wix-code.com":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],_:[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`}],"bo._base_domain_":[{srcPath:`/wow/data-hub/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/wow/bulx/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`}],"wixbo.ai":[{srcPath:`/wow/data-hub/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/wow/bulx/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`}],"wix-bo.com":[{srcPath:`/wow/data-hub/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/wow/bulx/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`}],"dev._base_domain_":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"editor._base_domain_":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"blocks._base_domain_":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"create.editorx":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"editor.wixapps.net":[{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`}],"forums._base_domain_":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"groups.wixapps.net":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"manage._base_domain_":[{srcPath:`/corvid/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`}],"sslusers._base_domain_":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/wix-sm/api/v1/members`,destPath:`/api/v1/members`}],"users._base_domain_":[{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/wix-sm/api/v1/members`,destPath:`/api/v1/members`}],"www._base_domain_":[{srcPath:`/blacklivesmatter/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/corvid/api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm-webapp/v1/members`,destPath:`/api/v1/members`},{srcPath:`/_api/wix-sm/v1/members`,destPath:`/api/v1/members`},{srcPath:`/api/wix-sm/v1/members`,destPath:`/api/v1/members`}],"www.wixapis.com":[{srcPath:`/api/v1/members`,destPath:`/api/v1/members`}]}}))}function Nh(e){return Mt(Object.assign(e,{domainToMappings:{"www.wixapis.com":[{srcPath:`/wix-sm/api/v1/auth`,destPath:``},{srcPath:`/members/v1/wix-sm-webapp-proxy/v1/auth`,destPath:`/api/v1/auth`},{srcPath:`/identity/members/v1/auth/members`,destPath:`/v1/auth/members`}],"*.dev.wix-code.com":[{srcPath:`/identity/members/api/v1/auth/login`,destPath:`/api/v1/auth/login`},{srcPath:`/identity/members/v1/auth/members`,destPath:`/v1/auth/members`}],_:[{srcPath:`/identity/members/api/v1/auth/login`,destPath:`/api/v1/auth/login`},{srcPath:`/identity/members/v1/auth/members`,destPath:`/v1/auth/members`}]}}))}var Ph=`@wix/auto_sdk_members_authentication`;function Fh(e){function t({host:t}){return{entityFqdn:`wix.identity.members.v1.member`,method:`POST`,methodFqn:`wix.members.api.v1.AuthService.Login`,packageName:Ph,migrationOptions:{optInTransformResponse:!0},url:Nh({protoPath:`/api/v1/auth/login`,data:e,host:t}),data:e,transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`member.creationDate`},{path:`member.lastUpdateDate`},{path:`member.lastLoginDate`},{path:`member.customFields.dateValue`},{path:`member.picture.urlExpirationDate`}]},{transformFn:an,paths:[{path:`member.customFields.numValue`},{path:`member.picture.focalPoint.x`},{path:`member.picture.focalPoint.y`}]}])}}return t}function Ih(e){function t({host:t}){return{entityFqdn:`wix.identity.members.v1.member`,method:`POST`,methodFqn:`wix.members.api.v1.AuthService.SendSetPasswordEmail`,packageName:Ph,migrationOptions:{optInTransformResponse:!0},url:Nh({protoPath:`/v1/auth/members/send-set-password-email`,data:e,host:t}),data:e}}return t}function Lh(e){function t({host:t}){return{entityFqdn:`wix.identity.members.v1.member`,method:`PATCH`,methodFqn:`wix.members.api.v1.MembersService.ChangeLoginEmail`,packageName:Ph,migrationOptions:{optInTransformResponse:!0},url:Mh({protoPath:`/api/v1/members/{id}/change-login-email`,data:e,host:t}),data:e,transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`member.creationDate`},{path:`member.lastUpdateDate`},{path:`member.lastLoginDate`},{path:`member.customFields.dateValue`},{path:`member.picture.urlExpirationDate`}]},{transformFn:an,paths:[{path:`member.customFields.numValue`},{path:`member.picture.focalPoint.x`},{path:`member.picture.focalPoint.y`}]}])}}return t}async function Rh(e,t,n){let{httpClient:r,sideEffects:i}=arguments[3],a=Fh(qe({email:e,password:t,recaptchaToken:n?.recaptchaToken,invisibleRecaptchaToken:n?.invisibleRecaptchaToken,emailVerification:n?.emailVerification,isMobile:n?.isMobile}));i?.onSiteCall?.();try{let e=await r.request(a);return i?.onSuccess?.(e),Je(lt(e.data,[{transformFn:jh,paths:[{path:`member.picture`}]}]))}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{email:`$[0]`,password:`$[1]`,recaptchaToken:`$[2].recaptchaToken`,invisibleRecaptchaToken:`$[2].invisibleRecaptchaToken`,emailVerification:`$[2].emailVerification`,isMobile:`$[2].isMobile`},singleArgumentUnchanged:!1},[`email`,`password`,`options`]);throw i?.onError?.(e),t}}async function zh(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=Ih(qe({email:e,requestedByMember:t?.requestedByMember,hideIgnoreMessage:t?.hideIgnoreMessage}));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),Je(e.data)}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{email:`$[0]`,requestedByMember:`$[1].requestedByMember`,hideIgnoreMessage:`$[1].hideIgnoreMessage`},singleArgumentUnchanged:!1},[`email`,`options`]);throw r?.onError?.(e),t}}async function Bh(e,t,n){let{httpClient:r,sideEffects:i}=arguments[3],a=Lh(qe({id:e,newEmail:t,revokeCurrentSessions:n?.revokeCurrentSessions}));i?.onSiteCall?.();try{let e=await r.request(a);return i?.onSuccess?.(e),Je(lt(e.data,[{transformFn:jh,paths:[{path:`member.picture`}]}]))}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{id:`$[0]`,newEmail:`$[1]`,revokeCurrentSessions:`$[2].revokeCurrentSessions`},singleArgumentUnchanged:!1},[`_id`,`newEmail`,`options`]);throw i?.onError?.(e),t}}function Vh(e){return(t,n,r)=>Rh(t,n,r,{httpClient:e})}function Hh(e){return(t,n)=>zh(t,n,{httpClient:e})}function Uh(e){return(t,n,r)=>Bh(t,n,r,{httpClient:e})}var Wh=At(Vh),Gh=At(Hh),Kh=At(Uh);function qh(e){return Mt(Object.assign(e,{domainToMappings:{"manage._base_domain_":[{srcPath:`/_api/members/v1/custom-fields`,destPath:`/v1/custom-fields`}],_:[{srcPath:`/_api/members/v1/custom-fields`,destPath:`/v1/custom-fields`}],"www._base_domain_":[{srcPath:`/_api/members/v1/custom-fields`,destPath:`/v1/custom-fields`}],"www.wixapis.com":[{srcPath:`/members/v1/custom-fields`,destPath:`/v1/custom-fields`}],"editor-flow.wixapps.net":[{srcPath:`/_api/members/v1/custom-fields`,destPath:`/v1/custom-fields`}],"api._api_base_domain_":[{srcPath:`/members/v1/custom-fields`,destPath:``}],"editor.wixapps.net":[{srcPath:`/_api/members/v1/custom-fields`,destPath:`/v1/custom-fields`}],"*.dev.wix-code.com":[{srcPath:`/members/v1/custom-fields`,destPath:`/v1/custom-fields`}]}}))}var Jh=`@wix/auto_sdk_members_custom-fields`;function Yh(e){function t({host:t}){return{entityFqdn:`wix.members.v1.custom_field`,method:`GET`,methodFqn:`com.wixpress.members.customfields.CustomFields.ListCustomFields`,packageName:Jh,migrationOptions:{optInTransformResponse:!0},url:qh({protoPath:`/v1/custom-fields`,data:e,host:t}),params:jt(e),transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`fields.createdDate`},{path:`fields.updatedDate`}]}])}}return t}async function Xh(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Yh(qe({paging:e?.paging}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),Je(e.data)}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{paging:`$[0].paging`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function Zh(e){return t=>Xh(t,{httpClient:e})}var Qh=At(Zh);function $h(e){return Mt(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/members/v1/custom-fields-applications`,destPath:`/v1/custom-fields-applications`}],"manage._base_domain_":[{srcPath:`/_api/members/v1/custom-fields-applications`,destPath:`/v1/custom-fields-applications`}],"www._base_domain_":[{srcPath:`/_api/members/v1/custom-fields-applications`,destPath:`/v1/custom-fields-applications`}],"www.wixapis.com":[{srcPath:`/members/v1/custom-fields-applications`,destPath:`/v1/custom-fields-applications`}],"*.dev.wix-code.com":[{srcPath:`/members/v1/custom-fields-applications`,destPath:`/v1/custom-fields-applications`}]}}))}var eg=`@wix/auto_sdk_members_custom-field-applications`;function tg(e){function t({host:t}){return{entityFqdn:`wix.members.v1.custom_field_application`,method:`POST`,methodFqn:`com.wixpress.members.customfields.applications.CustomFieldApplications.GetMembersCustomFieldApplications`,packageName:eg,migrationOptions:{optInTransformResponse:!0},url:$h({protoPath:`/v1/custom-fields-applications/members`,data:e,host:t}),data:e,transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`results.applications.customField.createdDate`},{path:`results.applications.customField.updatedDate`}]}])}}return t}async function ng(e){let{httpClient:t,sideEffects:n}=arguments[1],r=tg(qe({memberIds:e}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),Je(e.data)}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{memberIds:`$[0]`},singleArgumentUnchanged:!1},[`memberIds`]);throw n?.onError?.(e),t}}function rg(e){return t=>ng(t,{httpClient:e})}var ig=At(rg);function ag(e){return Mt(Object.assign(e,{domainToMappings:{"www.wixapis.com":[{srcPath:`/members/v1/members`,destPath:`/v1/members`}],"api._api_base_domain_":[{srcPath:`/members-ng-api`,destPath:``}],"www._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"manage._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"editor._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"blocks._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"create.editorx":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"editor.wixapps.net":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"*.dev.wix-code.com":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"bo._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"wixbo.ai":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"wix-bo.com":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],_:[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"members.wixapps.net":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}]}}))}var og=`@wix/auto_sdk_members_members`;function sg(e){function t({host:t}){return{entityFqdn:`wix.members.v1.member`,method:`GET`,methodFqn:`com.wixpress.members.api.Members.GetMyMember`,packageName:og,migrationOptions:{optInTransformResponse:!0},url:ag({protoPath:`/v1/members/my`,data:e,host:t}),params:jt(e),transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`member.createdDate`},{path:`member.updatedDate`},{path:`member.lastLoginDate`}]}])}}return t}function cg(e){function t({host:t}){let n=lt(e,[{transformFn:Ye,paths:[{path:`member.createdDate`},{path:`member.updatedDate`},{path:`member.lastLoginDate`}]}]);return{entityFqdn:`wix.members.v1.member`,method:`PATCH`,methodFqn:`com.wixpress.members.api.Members.UpdateMember`,packageName:og,migrationOptions:{optInTransformResponse:!0},url:ag({protoPath:`/v1/members/{member.id}`,data:n,host:t}),data:n,transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`member.createdDate`},{path:`member.updatedDate`},{path:`member.lastLoginDate`}]}])}}return t}function lg(e){function t({host:t}){return{entityFqdn:`wix.members.v1.member`,method:`DELETE`,methodFqn:`com.wixpress.members.api.Members.DeleteMemberPhones`,packageName:og,migrationOptions:{optInTransformResponse:!0},url:ag({protoPath:`/v1/members/{id}/phones`,data:e,host:t}),params:jt(e),transformResponse:e=>lt(e,[{transformFn:Xe,paths:[{path:`member.createdDate`},{path:`member.updatedDate`},{path:`member.lastLoginDate`}]}])}}return t}async function ug(e){let{httpClient:t,sideEffects:n}=arguments[1],r=sg(qe({fieldsets:e?.fieldsets}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),Je(e.data)}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{fieldsets:`$[0].fieldsets`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}async function dg(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=cg(qe({member:{...t,id:e}}));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),Je(e.data)?.member}catch(e){let t=yt(e,{spreadPathsToArguments:{member:`$[1]`},explicitPathsToArguments:{"member.id":`$[0]`},singleArgumentUnchanged:!1},[`_id`,`member`]);throw r?.onError?.(e),t}}async function fg(e){let{httpClient:t,sideEffects:n}=arguments[1],r=lg(qe({id:e}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),Je(e.data)}catch(e){let t=yt(e,{spreadPathsToArguments:{},explicitPathsToArguments:{id:`$[0]`},singleArgumentUnchanged:!1},[`_id`]);throw n?.onError?.(e),t}}function pg(e){return t=>ug(t,{httpClient:e})}function mg(e){return(t,n)=>dg(t,n,{httpClient:e})}function hg(e){return t=>fg(t,{httpClient:e})}var gg=At(pg),_g=At(mg),vg=At(hg),yg=/^System error occurred/,bg=({name:e,message:t,stack:n})=>{let r=n?.split(`
8
+ `,1)[0];return yg.test(t)&&r?.startsWith(`${e}: `)?r.slice(e.length+2):t},xg=e=>{let{response:t,status:n}=e??{};return t==null&&n==null},Sg=e=>{let t=e.requestId??e.details?.requestId;if(!(e.status!=null||t!=null||yg.test(e.message)))return e;let n=xg(e)?`no response`:[e.status!=null&&`status ${e.status}`,t!=null&&`request-id ${t}`].filter(Boolean).join(`, `);return Object.assign(Object.create(Object.getPrototypeOf(e)),{name:e.name,message:`${bg(e)} (${n})`,stack:e.stack,cause:e})},Cg=e=>e instanceof Error?Sg(e):e instanceof Response?Error(`Request failed with status ${e.status}`,{cause:e}):Error(String(e),{cause:e}),wg=(e,t=`request`)=>{console.error(`[${t}]`,e);try{Oh.getMonitoringClient().captureException(Cg(e),{tags:{scope:t}})}catch{}},Tg=1e3,Eg=!1,Dg=-1/0;typeof window<`u`&&(window.addEventListener(`beforeunload`,()=>{Dg=Date.now()}),window.addEventListener(`pagehide`,()=>{Eg=!0}),window.addEventListener(`pageshow`,()=>{Eg=!1,Dg=-1/0}));var Og=()=>Eg||Date.now()-Dg<=Tg,kg=e=>(e instanceof TypeError||e?.name===`AbortError`)&&xg(e),Ag=e=>Og()&&kg(e),jg=e=>e instanceof TypeError&&xg(e)&&!Og(),Mg=e=>()=>e().catch(t=>{if(jg(t))return e();throw t}),Ng=e=>typeof e.message==`string`,Pg=e=>{try{let t=Oh.getMonitoringClient();return Ng(t)?void 0:t.startSpanManual({name:e,tags:{scope:e}})}catch{return}},Fg=e=>{try{e()}catch{}},Ig=async(e,t,{errorCodesMap:n={},statusCodesMap:r,serverError:i,isExpected:a,isRead:o=!1}={})=>{let s=Pg(e);try{let e=await wh(o?Mg(t):t,n,{statusCodesOverrides:r,serverErrorOverride:i});if(e instanceof Response&&!e.ok)throw e;return Fg(()=>s?.end()),e}catch(t){throw a?.(t)||Ag(t)?Fg(()=>s?.end()):s?(console.error(`[${e}]`,t),Fg(()=>s.fail(Cg(t)))):wg(t,e),t}},Q={INCORRECT_PASSWORD:`INCORRECT_PASSWORD`,EMAIL_IN_USE:`EMAIL_IN_USE`,INVALID_EMAIL:`INVALID_EMAIL`,PASSWORD_TOO_SHORT:`PASSWORD_TOO_SHORT`,PASSWORD_TOO_LONG:`PASSWORD_TOO_LONG`,PASSWORD_NOT_ALLOWED:`PASSWORD_NOT_ALLOWED`,UNKNOWN:`UNKNOWN`},Lg=`-19976`,Rg=`STEP_UP_REQUIRED`,zg=`PERMISSION_DENIED`,Bg=`-19995`,Vg=e=>{let t=e??{},n=t.details?.applicationError?.code??t.response?.data?.details?.applicationError?.code;return n===void 0?void 0:String(n)},Hg=e=>(e??{}).details?.validationError?.fieldViolations??[],Ug=e=>Hg(e).some(e=>e.field===`newEmail`),Wg={VALUE_TOO_SHORT:Q.PASSWORD_TOO_SHORT,VALUE_TOO_LONG:Q.PASSWORD_TOO_LONG,VALUE_DID_NOT_MATCH:Q.PASSWORD_NOT_ALLOWED},Gg=e=>{let t=Hg(e).find(({field:e})=>e===`password`);return t?.ruleName===void 0?void 0:Wg[t.ruleName]},Kg=e=>{let t=e??{};return t.name===`AuthenticationError`&&t.reason===`INVALID_CREDENTIALS`},qg=e=>{let t=Vg(e);return t===Lg||Kg(e)?Q.INCORRECT_PASSWORD:t===Bg?Q.EMAIL_IN_USE:Ug(e)?Q.INVALID_EMAIL:Gg(e)??Q.UNKNOWN},Jg=e=>Vg(e)===zg||e instanceof Error&&e.message.includes(`Missing site member id`),Yg=e=>qg(e)===Q.INCORRECT_PASSWORD,Xg=e=>{let t=qg(e);return t===Q.EMAIL_IN_USE||t===Q.INVALID_EMAIL},Zg=e=>Vg(e)===Rg,Qg=class extends Error{name=`SignInUnconfirmedError`},$g=e=>({async getCurrentMember(){return Ig(`accountSettings.getCurrentMember`,()=>gg({fieldsets:[`FULL`]}),{isExpected:Jg,isRead:!0})},async listCustomFields(){return Ig(`accountSettings.listCustomFields`,()=>Qh(),{isRead:!0})},async getMemberCustomFieldApplications(e){return Ig(`accountSettings.getMemberCustomFieldApplications`,()=>ig([e]),{isRead:!0})},async updateMember(e,t){return Ig(`accountSettings.updateMember`,()=>_g(e,t))},async verifyPassword(e,t){return Ig(`accountSettings.verifyPassword`,async()=>{await Wh(e,t)},{isExpected:Yg})},async signInAgain(t,n){return Ig(`accountSettings.signInAgain`,async()=>{let r=await e.login?.(t,n);if(r?.status!==`SUCCESS`)throw new Qg(`Signing in again ended in ${r?.status??`no host sign-in`}`)},{isExpected:e=>e instanceof Qg||Yg(e)})},async deleteMemberPhones(e){return Ig(`accountSettings.deleteMemberPhones`,()=>vg(e))},async changeLoginEmail(e,t){return Ig(`accountSettings.changeLoginEmail`,()=>Kh(e,t),{isExpected:Xg})},async sendSetPasswordEmail(e){return Ig(`accountSettings.sendSetPasswordEmail`,()=>Gh(e))},async changePassword(e){return Ig(`accountSettings.changePassword`,()=>dn(e),{isExpected:Zg})}}),e_={TEXT:`TEXT`,NUMBER:`NUMBER`,DATE:`DATE`,URL:`URL`,SOCIAL:`SOCIAL`,CHOICE:`CHOICE`,PHONE:`PHONE`},t_={REQUIRED:`REQUIRED`,NUMBER:`NUMBER`,DATE:`DATE`,URL:`URL`,CHOICE:`CHOICE`,PHONE:`PHONE`},n_={GENERAL:`GENERAL`,DISPLAY_INFO:`DISPLAY_INFO`,SOCIAL:`SOCIAL`},r_=e_,i_={isSaving:!1,error:null},a_=n(null);a_.displayName=`AccountSettingsContext`;var o_=()=>a(a_),s_={"customfields.system.firstname":`firstName`,"customfields.system.lastname":`lastName`,"customfields.contact.birthdate":`birthdate`,"customfields.contact.company":`company`,"customfields.contact.position":`jobTitle`},c_={"customfields.system.title":`title`},l_={"customfields.system.email":`emails`,"customfields.system.phone":`phones`},u_=[`customfields.system.email`],d_={TEXT:r_.TEXT,NUMBER:r_.NUMBER,DATE:r_.DATE,URL:r_.URL,SOCIAL:r_.SOCIAL},f_=(e,t,n,r,i,a=null,o=null)=>({id:e,key:t,kind:n,isRequired:!1,isReadOnly:u_.includes(t),label:r,socialType:o,loadedValue:i,value:i,isChanged:!1,options:a}),p_=(e,t)=>{let n=e.contact??{},r=c_[t.key];if(r)return String(e.profile?.[r]??``);let i=s_[t.key];if(i)return String(n[i]??``);let a=l_[t.key];return a?n[a]?.[0]??``:``},m_=({member:e,definitions:t})=>{let n=[],r=[],i=[];t.forEach(t=>{let a=d_[t.fieldType];if(!a)return;let o=f_(t.id,t.key,a,t.name,p_(e,t),null,t.socialType??null);if(t.section===n_.DISPLAY_INFO){r.push(o);return}if(t.section===n_.SOCIAL){i.push(o);return}t.section===n_.GENERAL&&n.push(o)});let a=[];return n.length&&a.push({kind:n_.GENERAL,index:0,fields:n}),r.length&&a.push({kind:n_.DISPLAY_INFO,index:0,fields:r}),i.length&&a.push({kind:n_.SOCIAL,index:0,fields:i}),a},h_=(e,t)=>e.map(e=>({...e,fields:e.fields.map(e=>{let n=t[e.id]??e.loadedValue;return{...e,value:n,isChanged:n!==e.loadedValue}})})),g_=e=>e.map(e=>({...e,fields:e.fields.map(e=>({...e,loadedValue:e.value,isChanged:!1}))})),__=e=>e.flatMap(e=>e.fields.filter(e=>e.isChanged)),v_=(e,t)=>{let n=e.contact??{},r={},i={},a=[];t.forEach(e=>{e.fields.forEach(e=>{if(!e.isChanged||e.isReadOnly)return;let t=c_[e.key];if(t){Object.assign(i,{[t]:e.value});return}let o=s_[e.key];if(o){Object.assign(r,{[o]:e.value});return}let s=l_[e.key];if(s){let t=[...n[s]??[]];t[0]=e.value;let i=t.filter(Boolean);i.length?r[s]=i:a.push(s);return}})});let o={};return Object.keys(r).length&&(o.contact=r),Object.keys(i).length&&(o.profile=i),{member:o,cleared:a}},y_={version:4,country_calling_codes:{1:[`US`,`AG`,`AI`,`AS`,`BB`,`BM`,`BS`,`CA`,`DM`,`DO`,`GD`,`GU`,`JM`,`KN`,`KY`,`LC`,`MP`,`MS`,`PR`,`SX`,`TC`,`TT`,`VC`,`VG`,`VI`],7:[`RU`,`KZ`],20:[`EG`],27:[`ZA`],30:[`GR`],31:[`NL`],32:[`BE`],33:[`FR`],34:[`ES`],36:[`HU`],39:[`IT`,`VA`],40:[`RO`],41:[`CH`],43:[`AT`],44:[`GB`,`GG`,`IM`,`JE`],45:[`DK`],46:[`SE`],47:[`NO`,`SJ`],48:[`PL`],49:[`DE`],51:[`PE`],52:[`MX`],53:[`CU`],54:[`AR`],55:[`BR`],56:[`CL`],57:[`CO`],58:[`VE`],60:[`MY`],61:[`AU`,`CC`,`CX`],62:[`ID`],63:[`PH`],64:[`NZ`],65:[`SG`],66:[`TH`],81:[`JP`],82:[`KR`],84:[`VN`],86:[`CN`],90:[`TR`],91:[`IN`],92:[`PK`],93:[`AF`],94:[`LK`],95:[`MM`],98:[`IR`],211:[`SS`],212:[`MA`,`EH`],213:[`DZ`],216:[`TN`],218:[`LY`],220:[`GM`],221:[`SN`],222:[`MR`],223:[`ML`],224:[`GN`],225:[`CI`],226:[`BF`],227:[`NE`],228:[`TG`],229:[`BJ`],230:[`MU`],231:[`LR`],232:[`SL`],233:[`GH`],234:[`NG`],235:[`TD`],236:[`CF`],237:[`CM`],238:[`CV`],239:[`ST`],240:[`GQ`],241:[`GA`],242:[`CG`],243:[`CD`],244:[`AO`],245:[`GW`],246:[`IO`],247:[`AC`],248:[`SC`],249:[`SD`],250:[`RW`],251:[`ET`],252:[`SO`],253:[`DJ`],254:[`KE`],255:[`TZ`],256:[`UG`],257:[`BI`],258:[`MZ`],260:[`ZM`],261:[`MG`],262:[`RE`,`YT`],263:[`ZW`],264:[`NA`],265:[`MW`],266:[`LS`],267:[`BW`],268:[`SZ`],269:[`KM`],290:[`SH`,`TA`],291:[`ER`],297:[`AW`],298:[`FO`],299:[`GL`],350:[`GI`],351:[`PT`],352:[`LU`],353:[`IE`],354:[`IS`],355:[`AL`],356:[`MT`],357:[`CY`],358:[`FI`,`AX`],359:[`BG`],370:[`LT`],371:[`LV`],372:[`EE`],373:[`MD`],374:[`AM`],375:[`BY`],376:[`AD`],377:[`MC`],378:[`SM`],380:[`UA`],381:[`RS`],382:[`ME`],383:[`XK`],385:[`HR`],386:[`SI`],387:[`BA`],389:[`MK`],420:[`CZ`],421:[`SK`],423:[`LI`],500:[`FK`],501:[`BZ`],502:[`GT`],503:[`SV`],504:[`HN`],505:[`NI`],506:[`CR`],507:[`PA`],508:[`PM`],509:[`HT`],590:[`GP`,`BL`,`MF`],591:[`BO`],592:[`GY`],593:[`EC`],594:[`GF`],595:[`PY`],596:[`MQ`],597:[`SR`],598:[`UY`],599:[`CW`,`BQ`],670:[`TL`],672:[`NF`],673:[`BN`],674:[`NR`],675:[`PG`],676:[`TO`],677:[`SB`],678:[`VU`],679:[`FJ`],680:[`PW`],681:[`WF`],682:[`CK`],683:[`NU`],685:[`WS`],686:[`KI`],687:[`NC`],688:[`TV`],689:[`PF`],690:[`TK`],691:[`FM`],692:[`MH`],850:[`KP`],852:[`HK`],853:[`MO`],855:[`KH`],856:[`LA`],880:[`BD`],886:[`TW`],960:[`MV`],961:[`LB`],962:[`JO`],963:[`SY`],964:[`IQ`],965:[`KW`],966:[`SA`],967:[`YE`],968:[`OM`],970:[`PS`],971:[`AE`],972:[`IL`],973:[`BH`],974:[`QA`],975:[`BT`],976:[`MN`],977:[`NP`],992:[`TJ`],993:[`TM`],994:[`AZ`],995:[`GE`],996:[`KG`],998:[`UZ`]},countries:{AC:[`247`,`00`,`(?:[01589]\\d|[2-467])\\d{4}`,[5,6]],AD:[`376`,`00`,`(?:1|6\\d)\\d{7}|[135-9]\\d{5}`,[6,8,9],[[`(\\d{3})(\\d{3})`,`$1 $2`,[`[135-9]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`1`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]]]],AE:[`971`,`00`,`(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}`,[5,6,7,8,9,10,11,12],[[`(\\d{3})(\\d{2,9})`,`$1 $2`,[`60|8`]],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[236]|[479][2-8]`],`0$1`],[`(\\d{3})(\\d)(\\d{5})`,`$1 $2 $3`,[`[479]`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`5`],`0$1`]],`0`],AF:[`93`,`00`,`[2-7]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`]],`0`],AG:[`1`,`011`,`(?:268|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([457]\\d{6})$|1`,`268$1`,0,`268`],AI:[`1`,`011`,`(?:264|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2457]\\d{6})$|1`,`264$1`,0,`264`],AL:[`355`,`00`,`(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}`,[6,7,8,9],[[`(\\d{3})(\\d{3,4})`,`$1 $2`,[`80|9`],`0$1`],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`4[2-6]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2358][2-5]|4`],`0$1`],[`(\\d{3})(\\d{5})`,`$1 $2`,[`[23578]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`6`],`0$1`]],`0`],AM:[`374`,`00`,`(?:[1-489]\\d|55|60|77)\\d{6}`,[8],[[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`[89]0`],`0 $1`],[`(\\d{3})(\\d{5})`,`$1 $2`,[`2|3[12]`],`(0$1)`],[`(\\d{2})(\\d{6})`,`$1 $2`,[`1|47`],`(0$1)`],[`(\\d{2})(\\d{6})`,`$1 $2`,[`[3-9]`],`0$1`]],`0`],AO:[`244`,`00`,`[29]\\d{8}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[29]`]]]],AR:[`54`,`00`,`(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}`,[10,11],[[`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2-$3`,[`2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])`,`2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)`,`2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]`,`2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]`],`0$1`,1],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`1`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[68]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[23]`],`0$1`,1],[`(\\d)(\\d{4})(\\d{2})(\\d{4})`,`$2 15-$3-$4`,[`9(?:2[2-469]|3[3-578])`,`9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))`,`9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)`,`9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]`,`9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]`],`0$1`,0,`$1 $2 $3-$4`],[`(\\d)(\\d{2})(\\d{4})(\\d{4})`,`$2 15-$3-$4`,[`91`],`0$1`,0,`$1 $2 $3-$4`],[`(\\d{3})(\\d{3})(\\d{5})`,`$1-$2-$3`,[`8`],`0$1`],[`(\\d)(\\d{3})(\\d{3})(\\d{4})`,`$2 15-$3-$4`,[`9`],`0$1`,0,`$1 $2 $3-$4`]],`0`,0,`0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-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`],AS:[`1`,`011`,`(?:[58]\\d\\d|684|900)\\d{7}`,[10],0,`1`,0,`([267]\\d{6})$|1`,`684$1`,0,`684`],AT:[`43`,`00`,`1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}`,[4,5,6,7,8,9,10,11,12,13],[[`(\\d)(\\d{3,12})`,`$1 $2`,[`1(?:11|[2-9])`],`0$1`],[`(\\d{3})(\\d{2})`,`$1 $2`,[`517`],`0$1`],[`(\\d{2})(\\d{3,5})`,`$1 $2`,[`5[079]`],`0$1`],[`(\\d{3})(\\d{3,10})`,`$1 $2`,[`(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]`,`(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]`],`0$1`],[`(\\d{4})(\\d{3,9})`,`$1 $2`,[`[2-467]|5[2-6]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`5`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4,7})`,`$1 $2 $3`,[`5`],`0$1`]],`0`],AU:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}`,[5,6,7,8,9,10,12],[[`(\\d{2})(\\d{3,4})`,`$1 $2`,[`16`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2,4})`,`$1 $2 $3`,[`16`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`14|4`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[2378]`],`(0$1)`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1(?:30|[89])`]]],`0`,0,`(183[12])|0`,0,0,0,[[`(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,[`163\\d{2,6}`,[5,6,7,8,9]],[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],AW:[`297`,`00`,`(?:[25-79]\\d\\d|800)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[25-9]`]]]],AX:[`358`,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}`,[5,6,7,8,9,10,11,12],0,`0`,0,0,0,0,`18`,0,`00`],AZ:[`994`,`00`,`365\\d{6}|(?:[124579]\\d|60|88)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`90`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[28]|2|365|46`,`1[28]|2|365[45]|46`,`1[28]|2|365(?:4|5[02])|46`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[13-9]`],`0$1`]],`0`],BA:[`387`,`00`,`6\\d{8}|(?:[35689]\\d|49|70)\\d{6}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6[1-3]|[7-9]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2-$3`,[`[3-5]|6[56]`],`0$1`],[`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`6`],`0$1`]],`0`],BB:[`1`,`011`,`(?:246|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`246$1`,0,`246`],BD:[`880`,`00`,`[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}`,[6,7,8,9,10],[[`(\\d{2})(\\d{4,6})`,`$1-$2`,[`31[5-8]|[459]1`],`0$1`],[`(\\d{3})(\\d{3,7})`,`$1-$2`,[`3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]`],`0$1`],[`(\\d{4})(\\d{3,6})`,`$1-$2`,[`[13-9]|2[23]`],`0$1`],[`(\\d)(\\d{7,8})`,`$1-$2`,[`2`],`0$1`]],`0`],BE:[`32`,`00`,`4\\d{8}|[1-9]\\d{7}`,[8,9],[[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`(?:80|9)0`],`0$1`],[`(\\d)(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[239]|4[23]`],`0$1`],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[15-8]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`4`],`0$1`]],`0`],BF:[`226`,`00`,`[024-7]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[024-7]`]]]],BG:[`359`,`00`,`00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}`,[6,7,8,9,12],[[`(\\d)(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`2`],`0$1`],[`(\\d{3})(\\d{4})`,`$1 $2`,[`43[1-6]|70[1-9]`],`0$1`],[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`(?:70|8)0`],`0$1`],[`(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3`,[`43[1-7]|7`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[48]|9[08]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`]],`0`],BH:[`973`,`00`,`[136-9]\\d{7}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[13679]|8[02-4679]`]]]],BI:[`257`,`00`,`(?:[267]\\d|31)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2367]`]]]],BJ:[`229`,`00`,`(?:01\\d|8)\\d{7}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`0`]]]],BL:[`590`,`00`,`7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],BM:[`1`,`011`,`(?:441|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`441$1`,0,`441`],BN:[`673`,`00`,`[2-578]\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-578]`]]]],BO:[`591`,`00(?:1\\d)?`,`(?:[2-7]\\d\\d|8001)\\d{5}`,[8,9],[[`(\\d)(\\d{7})`,`$1 $2`,[`[23]|4[46]|50`]],[`(\\d{8})`,`$1`,[`[5-7]`]],[`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`8`]]],`0`,0,`0(1\\d)?`],BQ:[`599`,`00`,`(?:[34]1|7\\d)\\d{5}`,[7],0,0,0,0,0,0,`[347]`],BR:[`55`,`00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)`,`[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}`,[8,9,10,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37|86)`,`300|4(?:0(?:0|20)|370|864)`]],[`(\\d{3})(\\d{2,3})(\\d{4})`,`$1 $2 $3`,[`(?:[358]|90)0`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2-$3`,[`(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]`],`($1)`],[`(\\d{2})(\\d{5})(\\d{4})`,`$1 $2-$3`,[`[16][1-9]|[2-57-9]`],`($1)`]],`0`,0,`(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?`,`$2`],BS:[`1`,`011`,`(?:242|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([3-8]\\d{6})$|1`,`242$1`,0,`242`],BT:[`975`,`00`,`[178]\\d{7}|[2-8]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-6]|7[246]|8[2-4]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|[78]`]]]],BW:[`267`,`00`,`(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}`,[7,8,10],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`90`]],[`(\\d{3})(\\d{4})`,`$1 $2`,[`[24-6]|3[15-9]`]],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[37]`]],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`0`]],[`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`8`]]]],BY:[`375`,`810`,`(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}`,[6,7,8,9,10,11],[[`(\\d{3})(\\d{3})`,`$1 $2`,[`800`],`8 $1`],[`(\\d{3})(\\d{2})(\\d{2,4})`,`$1 $2 $3`,[`800`],`8 $1`],[`(\\d{4})(\\d{2})(\\d{3})`,`$1 $2-$3`,[`1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])`,`1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])`],`8 0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`1(?:[56]|7[467])|2[1-3]`],`8 0$1`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[1-4]`],`8 0$1`],[`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[89]`],`8 $1`]],`8`,0,`0|80?`,0,0,0,0,`8~10`],BZ:[`501`,`00`,`(?:0800\\d|[2-8])\\d{6}`,[7,11],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-8]`]],[`(\\d)(\\d{3})(\\d{4})(\\d{3})`,`$1-$2-$3-$4`,[`0`]]]],CA:[`1`,`011`,`[2-9]\\d{9}|3\\d{6}`,[7,10],0,`1`,0,0,0,0,0,[[`(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}`,[10]],[``,[10]],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`,[10]],[`900[2-9]\\d{6}`,[10]],[`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}`,[10]],0,[`310\\d{4}`,[7]],0,[`600[2-9]\\d{6}`,[10]]]],CC:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}`,[6,7,8,9,10,12],0,`0`,0,`([59]\\d{7})$|0`,`8$1`,0,0,[[`8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,0,[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],CD:[`243`,`00`,`(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}`,[7,8,9,10],[[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`88`],`0$1`],[`(\\d{2})(\\d{5})`,`$1 $2`,[`[1-6]`],`0$1`],[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]`],`0$1`],[`(\\d{2})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`5`],`0$1`]],`0`],CF:[`236`,`00`,`8776\\d{4}|(?:[27]\\d|61)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-8]`]]]],CG:[`242`,`00`,`222\\d{6}|(?:0\\d|80)\\d{7}`,[9],[[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[02]`]]]],CH:[`41`,`00`,`8\\d{11}|[2-9]\\d{8}`,[9,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8[047]|90`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-79]|81`],`0$1`],[`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`8`],`0$1`]],`0`],CI:[`225`,`00`,`[02]\\d{9}`,[10],[[`(\\d{2})(\\d{2})(\\d)(\\d{5})`,`$1 $2 $3 $4`,[`2`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3 $4`,[`0`]]]],CK:[`682`,`00`,`[2-578]\\d{4}`,[5],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`[2-578]`]]]],CL:[`56`,`(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0`,`12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}`,[9,10,11],[[`(\\d{5})(\\d{4})`,`$1 $2`,[`219`,`2196`],`($1)`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`60|809`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`44`]],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[1-36]`],`($1)`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`9(?:10|[2-9])`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])`],`($1)`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`60|8`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[`(\\d{3})(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`60`]]]],CM:[`237`,`00`,`[26]\\d{8}|88\\d{6,7}`,[8,9],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`88`]],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[26]|88`]]]],CN:[`86`,`00|1(?:[12]\\d|79)\\d\\d00`,`(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}`,[7,8,9,10,11,12],[[`(\\d{2})(\\d{5,6})`,`$1 $2`,[`(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]`,`(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123`,`10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123`],`0$1`],[`(\\d{3})(\\d{5,6})`,`$1 $2`,[`3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]`,`(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]`,`85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])`,`85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`(?:4|80)0`]],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`10|2(?:[02-57-9]|1[1-9])`,`10|2(?:[02-57-9]|1[1-9])`,`10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]`],`0$1`,1],[`(\\d{3})(\\d{7,8})`,`$1 $2`,[`9`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`80`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[3-578]`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`1[3-9]`]],[`(\\d{2})(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`[12]`],`0$1`,1]],`0`,0,`(1(?:[12]\\d|79)\\d\\d)|0`,0,0,0,0,`00`],CO:[`57`,`00(?:4(?:[14]4|56)|[579])`,`(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}`,[8,10,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`46`]],[`(\\d{3})(\\d{7})`,`$1 $2`,[`6|90`],`($1)`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`3[0-357]|9[14]`]],[`(\\d)(\\d{3})(\\d{7})`,`$1-$2-$3`,[`1`],`0$1`,0,`$1 $2 $3`]],`0`,0,`0([3579]|4(?:[14]4|56))?`],CR:[`506`,`00`,`(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}`,[8,10],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-7]|8[3-9]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[89]`]]],0,0,`(19(?:0[0-2468]|1[09]|20|66|77|99))`],CU:[`53`,`119`,`(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}`,[6,7,8,10],[[`(\\d{2})(\\d{4,6})`,`$1 $2`,[`2[1-4]|[34]`],`(0$1)`],[`(\\d)(\\d{6,7})`,`$1 $2`,[`7`],`(0$1)`],[`(\\d)(\\d{7})`,`$1 $2`,[`[56]`],`0$1`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`8`],`0$1`]],`0`],CV:[`238`,`0`,`(?:[2-59]\\d\\d|800)\\d{4}`,[7],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-589]`]]]],CW:[`599`,`00`,`(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[3467]`]],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9[4-8]`]]],0,0,0,0,0,`[69]`],CX:[`61`,`001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011`,`1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}`,[6,7,8,9,10,12],0,`0`,0,`([59]\\d{7})$|0`,`8$1`,0,0,[[`8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}`,[9]],[`180(?:0\\d{3}|2)\\d{3}`,[7,10]],[`190[0-26]\\d{6}`,[10]],0,0,0,0,[`14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}`,[9]],[`13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}`,[6,8,10,12]]],`0011`],CY:[`357`,`00`,`(?:[279]\\d|[58]0)\\d{6}`,[8],[[`(\\d{2})(\\d{6})`,`$1 $2`,[`[257-9]`]]]],CZ:[`420`,`00`,`(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}`,[9,10,11,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-8]|9[015-7]`]],[`(\\d{2})(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`96`]],[`(\\d{2})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`9`]],[`(\\d{3})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`9`]]]],DE:[`49`,`00`,`[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}`,[4,5,6,7,8,9,10,11,12,13,14,15],[[`(\\d{2})(\\d{3,13})`,`$1 $2`,[`3[02]|40|[68]9`],`0$1`],[`(\\d{3})(\\d{3,12})`,`$1 $2`,[`2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1`,`2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1`],`0$1`],[`(\\d{4})(\\d{2,11})`,`$1 $2`,[`[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]`,`[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]`],`0$1`],[`(\\d{3})(\\d{4})`,`$1 $2`,[`138`],`0$1`],[`(\\d{5})(\\d{2,10})`,`$1 $2`,[`3`],`0$1`],[`(\\d{3})(\\d{5,11})`,`$1 $2`,[`181`],`0$1`],[`(\\d{3})(\\d)(\\d{4,10})`,`$1 $2 $3`,[`1(?:3|80)|9`],`0$1`],[`(\\d{3})(\\d{7,8})`,`$1 $2`,[`1[67]`],`0$1`],[`(\\d{3})(\\d{7,12})`,`$1 $2`,[`8`],`0$1`],[`(\\d{5})(\\d{6})`,`$1 $2`,[`185`,`1850`,`18500`],`0$1`],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`],[`(\\d{4})(\\d{7})`,`$1 $2`,[`18[68]`],`0$1`],[`(\\d{4})(\\d{7})`,`$1 $2`,[`15[1279]`],`0$1`],[`(\\d{5})(\\d{6})`,`$1 $2`,[`15[03568]`,`15(?:[0568]|3[13])`],`0$1`],[`(\\d{3})(\\d{8})`,`$1 $2`,[`18`],`0$1`],[`(\\d{3})(\\d{2})(\\d{7,8})`,`$1 $2 $3`,[`1(?:6[023]|7)`],`0$1`],[`(\\d{4})(\\d{2})(\\d{7})`,`$1 $2 $3`,[`15[279]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{8})`,`$1 $2 $3`,[`15`],`0$1`]],`0`],DJ:[`253`,`00`,`(?:2\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[27]`]]]],DK:[`45`,`00`,`[2-9]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-9]`]]]],DM:[`1`,`011`,`(?:[58]\\d\\d|767|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`767$1`,0,`767`],DO:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,0,0,0,`8001|8[024]9`],DZ:[`213`,`00`,`(?:[1-4]|[5-79]\\d|80)\\d{7}`,[8,9],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[1-4]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`9`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-8]`],`0$1`]],`0`],EC:[`593`,`00`,`1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}`,[8,9,10,11],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2-$3`,[`[2-7]`],`(0$1)`,0,`$1-$2-$3`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1`]]],`0`],EE:[`372`,`00`,`8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}`,[7,8,10],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88`,`[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88`]],[`(\\d{4})(\\d{3,4})`,`$1 $2`,[`[45]|8(?:00|[1-49])`,`[45]|8(?:00[1-9]|[1-49])`]],[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`7`]],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]]]],EG:[`20`,`00`,`[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}`,[8,9,10],[[`(\\d)(\\d{7,8})`,`$1 $2`,[`[23]`],`0$1`],[`(\\d{2})(\\d{6,7})`,`$1 $2`,[`1[35]|[4-6]|8[2468]|9[235-7]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`],`0$1`],[`(\\d{2})(\\d{8})`,`$1 $2`,[`1`],`0$1`]],`0`],EH:[`212`,`00`,`[5-8]\\d{8}`,[9],0,`0`,0,0,0,0,0,[[`528[89]\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\d{6}`],[`80[0-7]\\d{6}`],[`89\\d{7}`],0,0,0,0,[`(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}`]]],ER:[`291`,`00`,`[178]\\d{6}`,[7],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[178]`],`0$1`]],`0`],ES:[`34`,`00`,`(?:400|[5-9]\\d\\d)\\d{6}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[89]00`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[4-9]`]]]],ET:[`251`,`00`,`(?:11|[2-57-9]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-57-9]`],`0$1`]],`0`],FI:[`358`,`00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))`,`[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}`,[5,6,7,8,9,10,11,12],[[`(\\d{5})`,`$1`,[`20[2-59]`],`0$1`],[`(\\d{3})(\\d{3,7})`,`$1 $2`,[`(?:[1-3]0|[68])0|70[07-9]`],`0$1`],[`(\\d{2})(\\d{4,8})`,`$1 $2`,[`[14]|2[09]|50|7[135]`],`0$1`],[`(\\d{2})(\\d{6,10})`,`$1 $2`,[`7`],`0$1`],[`(\\d)(\\d{4,9})`,`$1 $2`,[`(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9`],`0$1`]],`0`,0,0,0,0,`1[03-79]|[2-9]`,0,`00`],FJ:[`679`,`0(?:0|52)`,`45\\d{5}|(?:0800\\d|[235-9])\\d{6}`,[7,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[235-9]|45`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]]],0,0,0,0,0,0,0,`00`],FK:[`500`,`00`,`[2-7]\\d{4}`,[5]],FM:[`691`,`00`,`(?:[39]\\d\\d|820)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[389]`]]]],FO:[`298`,`00`,`[2-9]\\d{5}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-9]`]]],0,0,`(10(?:01|[12]0|88))`],FR:[`33`,`00`,`[1-9]\\d{8}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0 $1`],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[1-79]`],`0$1`]],`0`],GA:[`241`,`00`,`(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}`,[7,8],[[`(\\d)(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-7]`],`0$1`],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`0`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`11|[67]`],`0$1`]],0,0,`0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})`,`$1`],GB:[`44`,`00`,`[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}`,[7,9,10],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`800`,`8001`,`80011`,`800111`,`8001111`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`845`,`8454`,`84546`,`845464`],`0$1`],[`(\\d{3})(\\d{6})`,`$1 $2`,[`800`],`0$1`],[`(\\d{5})(\\d{4,5})`,`$1 $2`,[`1(?:38|5[23]|69|76|94)`,`1(?:(?:38|69)7|5(?:24|39)|768|946)`,`1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)`],`0$1`],[`(\\d{4})(\\d{5,6})`,`$1 $2`,[`1(?:[2-69][02-9]|[78])`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[25]|7(?:0|6[02-9])`,`[25]|7(?:0|6(?:[03-9]|2[356]))`],`0$1`],[`(\\d{4})(\\d{6})`,`$1 $2`,[`7`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1389]`],`0$1`]],`0`,0,`0|180020`,0,0,0,[[`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}`,[9,10]],[`7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}`,[10]],[`80[08]\\d{7}|800\\d{6}|8001111`],[`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d`,[7,10]],[`70\\d{8}`,[10]],0,[`(?:3[0347]|55)\\d{8}`,[10]],[`76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}`,[10]],[`56\\d{8}`,[10]]],0,` x`],GD:[`1`,`011`,`(?:473|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`473$1`,0,`473`],GE:[`995`,`00`,`(?:[3-57]\\d\\d|800)\\d{6}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`70`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`32`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[57]`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[348]`],`0$1`]],`0`],GF:[`594`,`00`,`(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]|80[6-9]|9[47]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[89]`],`0$1`]],`0`],GG:[`44`,`00`,`(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?`,[7,9,10],0,`0`,0,`([25-9]\\d{5})$|0|180020`,`1481$1`,0,0,[[`1481[25-9]\\d{5}`,[10]],[`7(?:(?:781|839)\\d|911[17])\\d{5}`,[10]],[`80[08]\\d{7}|800\\d{6}|8001111`],[`(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d`,[7,10]],[`70\\d{8}`,[10]],0,[`(?:3[0347]|55)\\d{8}`,[10]],[`76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}`,[10]],[`56\\d{8}`,[10]]]],GH:[`233`,`00`,`[235]\\d{8}|800\\d{5,6}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2358]`],`0$1`]],`0`],GI:[`350`,`00`,`(?:[25]\\d|60)\\d{6}`,[8],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`2`]]]],GL:[`299`,`00`,`(?:19|[2-689]\\d|70)\\d{4}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`19|[2-9]`]]]],GM:[`220`,`00`,`[48]\\d{8}|[2-9]\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[235-9]|4(?:[0-35]|4[16-9])`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[48]`]]]],GN:[`224`,`00`,`722\\d{6}|(?:3|6\\d)\\d{7}`,[8,9],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`3`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[67]`]]]],GP:[`590`,`00`,`7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-79]|80[6-9]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`,0,0,0,0,0,[[`(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],GQ:[`240`,`00`,`222\\d{6}|(?:3\\d|55|[89]0)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235]`]],[`(\\d{3})(\\d{6})`,`$1 $2`,[`[89]`]]]],GR:[`30`,`00`,`5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}`,[10,11,12],[[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`21|7`]],[`(\\d{4})(\\d{6})`,`$1 $2`,[`2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2689]`]],[`(\\d{3})(\\d{3,4})(\\d{5})`,`$1 $2 $3`,[`8`]]]],GT:[`502`,`00`,`80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}`,[8,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-8]`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]]],GU:[`1`,`011`,`(?:[58]\\d\\d|671|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`671$1`,0,`671`],GW:[`245`,`00`,`[49]\\d{8}|4\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`40`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`]]]],GY:[`592`,`001`,`(?:[2-8]\\d{3}|9008)\\d{3}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]]],HK:[`852`,`00(?:30|5[09]|[126-9]?)`,`8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}`,[5,6,7,8,9,11],[[`(\\d{3})(\\d{2,5})`,`$1 $2`,[`900`,`9003`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2-7]|8[1-4]|9(?:0[1-9]|[1-8])`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{3})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`9`]]],0,0,0,0,0,0,0,`00`],HN:[`504`,`00`,`8\\d{10}|[237-9]\\d{7}`,[8,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`[237-9]`]]]],HR:[`385`,`00`,`[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}`,[7,8,9],[[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`6[01]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{4})(\\d{3})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`6|7[245]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-57]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`],`0$1`]],`0`],HT:[`509`,`00`,`[2-589]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[2-589]`]]]],HU:[`36`,`00`,`[235-7]\\d{8}|[1-9]\\d{7}`,[8,9],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`(06 $1)`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]`],`(06 $1)`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-9]`],`06 $1`]],`06`],ID:[`62`,`00[89]`,`00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}`,[7,8,9,10,11,12,13,14,15,16,17],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`15`]],[`(\\d{2})(\\d{5,9})`,`$1 $2`,[`2[124]|[36]1`],`(0$1)`],[`(\\d{3})(\\d{5,7})`,`$1 $2`,[`800`],`0$1`],[`(\\d{3})(\\d{5,8})`,`$1 $2`,[`[2-79]`],`(0$1)`],[`(\\d{3})(\\d{3,4})(\\d{3})`,`$1-$2-$3`,[`8[1-35-9]`],`0$1`],[`(\\d{3})(\\d{6,8})`,`$1 $2`,[`1`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`804`],`0$1`],[`(\\d{3})(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`80`],`0$1`],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1-$2-$3`,[`8`],`0$1`]],`0`],IE:[`353`,`00`,`(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}`,[7,8,9,10],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`2[24-9]|47|58|6[237-9]|9[35-9]`],`(0$1)`],[`(\\d{3})(\\d{5})`,`$1 $2`,[`[45]0`],`(0$1)`],[`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`1`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2569]|4[1-69]|7[14]`],`(0$1)`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`70`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`81`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[78]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`4`],`(0$1)`],[`(\\d{2})(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`],IL:[`972`,`0(?:0|1(?:05|[2-9]))`,`1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}`,[7,8,9,10,11,12],[[`(\\d{4})(\\d{3})`,`$1-$2`,[`125`]],[`(\\d{4})(\\d{2})(\\d{2})`,`$1-$2-$3`,[`121`]],[`(\\d)(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[2-489]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`12`]],[`(\\d{4})(\\d{6})`,`$1-$2`,[`159`]],[`(\\d)(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3-$4`,[`1[7-9]`]],[`(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})`,`$1-$2 $3-$4`,[`15`]]],`0`],IM:[`44`,`00`,`1624\\d{6}|(?:[3578]\\d|90)\\d{8}`,[10],0,`0`,0,`([25-8]\\d{5})$|0|180020`,`1624$1`,0,`74576|(?:16|7[56])24`],IN:[`91`,`00`,`(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}`,[8,9,10,11,12,13],[[`(\\d{8})`,`$1`,[`5(?:0|2[23]|3[03]|[67]1|88)`,`5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)`,`5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)`],0,1],[`(\\d{4})(\\d{4,5})`,`$1 $2`,[`180`,`1800`],0,1],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`140`],0,1],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`11|2[02]|33|4[04]|79[1-6]|80[2-46]`,`11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])`,`11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]`,`1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]`],`0$1`,1],[`(\\d{5})(\\d{5})`,`$1 $2`,[`16|[6-9]`],`0$1`,1],[`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`18[06]`,`18[06]0`],0,1],[`(\\d{4})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`18`],0,1]],`0`],IO:[`246`,`00`,`3\\d{6}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`3`]]]],IQ:[`964`,`00`,`(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}`,[8,9,10],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-6]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`]],`0`],IR:[`98`,`00`,`[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}`,[4,5,6,7,10],[[`(\\d{4,5})`,`$1`,[`96`],`0$1`],[`(\\d{2})(\\d{4,5})`,`$1 $2`,[`(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[1-8]`],`0$1`]],`0`],IS:[`354`,`00|1(?:0(?:01|[12]0)|100)`,`(?:38\\d|[4-9])\\d{6}`,[7,9],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[4-9]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`3`]]],0,0,0,0,0,0,0,`00`],IT:[`39`,`00`,`0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?`,[6,7,8,9,10,11,12],[[`(\\d{2})(\\d{4,6})`,`$1 $2`,[`0[26]`]],[`(\\d{3})(\\d{3,6})`,`$1 $2`,[`0[13-57-9][0159]|8(?:03|4[17]|9[2-5])`,`0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))`]],[`(\\d{4})(\\d{2,6})`,`$1 $2`,[`0(?:[13-579][2-46-8]|8[236-8])`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`894`]],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[26]|5`]],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`1(?:44|[679])|[378]|43`]],[`(\\d{3})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`0[13-57-9][0159]|14`]],[`(\\d{2})(\\d{4})(\\d{5})`,`$1 $2 $3`,[`0[26]`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`0`]],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`[03]`]]],0,0,0,0,0,0,[[`0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`],[`3[2-9]\\d{7,8}|(?:31|43)\\d{8}`,[9,10]],[`80(?:0\\d{3}|3)\\d{3}`,[6,9]],[`(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}`,[6,8,9,10]],[`1(?:78\\d|99)\\d{6}`,[9,10]],[`3[2-8]\\d{9,10}`,[11,12]],0,0,[`55\\d{8}`,[10]],[`84(?:[08]\\d{3}|[17])\\d{3}`,[6,9]]]],JE:[`44`,`00`,`1534\\d{6}|(?:[3578]\\d|90)\\d{8}`,[10],0,`0`,0,`([0-24-8]\\d{5})$|0|180020`,`1534$1`,0,0,[[`1534[0-24-8]\\d{5}`],[`7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}`],[`80(?:07(?:35|81)|8901)\\d{4}`],[`(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}`],[`701511\\d{4}`],0,[`(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}`],[`76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}`],[`56\\d{8}`]]],JM:[`1`,`011`,`(?:[58]\\d\\d|658|900)\\d{7}`,[10],0,`1`,0,0,0,0,`658|876`],JO:[`962`,`00`,`(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}`,[8,9],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2356]|87`],`(0$1)`],[`(\\d{3})(\\d{5,6})`,`$1 $2`,[`[89]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`70`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[47]`],`0$1`]],`0`],JP:[`81`,`010`,`00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}`,[8,9,10,11,12,13,14,15,16,17],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1-$2-$3`,[`(?:12|57|99)0`],`0$1`],[`(\\d{4})(\\d)(\\d{4})`,`$1-$2-$3`,[`1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`,`1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`60`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1-$2-$3`,[`3|4(?:2[09]|7[01])|6[1-9]`,`3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]`,`1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3`,[`[14]|[289][2-9]|5[3-9]|7[2-4679]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`800`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[25-9]`],`0$1`]],`0`,0,`(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0`,`$1`],KE:[`254`,`000`,`(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}`,[7,8,9,10],[[`(\\d{2})(\\d{5,7})`,`$1 $2`,[`[24-6]`],`0$1`],[`(\\d{3})(\\d{6})`,`$1 $2`,[`[17]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[89]`],`0$1`]],`0`],KG:[`996`,`00`,`8\\d{9}|[235-9]\\d{8}`,[9,10],[[`(\\d{4})(\\d{5})`,`$1 $2`,[`3(?:1[346]|[24-79])`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235-79]|88`],`0$1`],[`(\\d{3})(\\d{3})(\\d)(\\d{2,3})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`],KH:[`855`,`00[14-9]`,`1\\d{9}|[1-9]\\d{7,8}`,[8,9,10],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-9]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],`0`],KI:[`686`,`00`,`(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}`,[5,8],0,`0`],KM:[`269`,`00`,`[3478]\\d{6}`,[7],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[3478]`]]]],KN:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`869$1`,0,`869`],KP:[`850`,`00|99`,`85\\d{6}|(?:19\\d|[2-7])\\d{7}`,[8,10],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-7]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`]],`0`],KR:[`82`,`00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))`,`00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}`,[5,6,8,9,10,11,12,13,14],[[`(\\d{2})(\\d{3,4})`,`$1-$2`,[`(?:3[1-3]|[46][1-4]|5[1-5])1`],`0$1`],[`(\\d{4})(\\d{4})`,`$1-$2`,[`1`]],[`(\\d)(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1-$2-$3`,[`[36]0|8`],`0$1`],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1-$2-$3`,[`[1346]|5[1-5]`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2-$3`,[`[57]`],`0$1`],[`(\\d{2})(\\d{5})(\\d{4})`,`$1-$2-$3`,[`5`],`0$1`]],`0`,0,`0(8(?:[1-46-8]|5\\d\\d))?`],KW:[`965`,`00`,`18\\d{5}|(?:[2569]\\d|41)\\d{6}`,[7,8],[[`(\\d{4})(\\d{3,4})`,`$1 $2`,[`[169]|2(?:[235]|4[1-35-9])|52`]],[`(\\d{3})(\\d{5})`,`$1 $2`,[`[245]`]]]],KY:[`1`,`011`,`(?:345|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`345$1`,0,`345`],KZ:[`7`,`810`,`8\\d{13}|[78]\\d{9}`,[10,14],0,`8`,0,0,0,0,`7`,0,`8~10`],LA:[`856`,`00`,`[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}`,[8,9,10],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2[13]|3[14]|[4-8]`],`0$1`],[`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`3`],`0$1`],[`(\\d{2})(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],`0`],LB:[`961`,`00`,`[27-9]\\d{7}|[13-9]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[27-9]`]]],`0`],LC:[`1`,`011`,`(?:[58]\\d\\d|758|900)\\d{7}`,[10],0,`1`,0,`([2-8]\\d{6})$|1`,`758$1`,0,`758`],LI:[`423`,`00`,`[68]\\d{8}|(?:[2378]\\d|90)\\d{5}`,[7,9],[[`(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2379]|8(?:0[09]|7)`,`[2379]|8(?:0(?:02|9)|7)`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`69`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]]],`0`,0,`(1001)|0`],LK:[`94`,`00`,`[1-9]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[1-689]`],`0$1`]],`0`],LR:[`231`,`00`,`(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}`,[7,8,9],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`4[67]|[56]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-578]`],`0$1`]],`0`],LS:[`266`,`00`,`(?:[256]\\d\\d|800)\\d{5}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2568]`]]]],LT:[`370`,`00`,`(?:[3469]\\d|52|[78]0)\\d{6}`,[8],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`52[0-7]`],`(0-$1)`,1],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`[7-9]`],`0 $1`,1],[`(\\d{2})(\\d{6})`,`$1 $2`,[`37|4(?:[15]|6[1-8])`],`(0-$1)`,1],[`(\\d{3})(\\d{5})`,`$1 $2`,[`[3-6]`],`(0-$1)`,1]],`0`,0,`[08]`],LU:[`352`,`00`,`35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}`,[4,5,6,7,8,9,10,11],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])`]],[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])`]],[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`20[2-689]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4`,[`20`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})`,`$1 $2 $3 $4`,[`[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]`]],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`80[01]|90[015]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3 $4`,[`20`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})`,`$1 $2 $3 $4 $5`,[`20`]]],0,0,`(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)`],LV:[`371`,`00`,`(?:[268]\\d|78|90)\\d{6}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2679]|8[01]`]]]],LY:[`218`,`00`,`[2-9]\\d{8}`,[9],[[`(\\d{2})(\\d{7})`,`$1-$2`,[`[2-9]`],`0$1`]],`0`],MA:[`212`,`00`,`[5-8]\\d{8}`,[9],[[`(\\d{4})(\\d{5})`,`$1-$2`,[`892`],`0$1`],[`(\\d{2})(\\d{7})`,`$1-$2`,[`8(?:0[0-7]|9)`],`0$1`],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[5-8]`],`0$1`]],`0`,0,0,0,0,`[5-8]`],MC:[`377`,`00`,`(?:[3489]|[67]\\d)\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`4`],`0$1`],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[389]`]],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[67]`],`0$1`]],`0`],MD:[`373`,`00`,`(?:[235-7]\\d|[89]0)\\d{6}`,[8],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`[89]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`22|3`],`0$1`],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`[25-7]`],`0$1`]],`0`],ME:[`382`,`00`,`(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[2-9]`],`0$1`]],`0`],MF:[`590`,`00`,`7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],0,0,0,0,[`9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}`]]],MG:[`261`,`00`,`[23]\\d{8}`,[9],[[`(\\d{2})(\\d{2})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`[23]`],`0$1`]],`0`,0,`([24-9]\\d{6})$|0`,`20$1`],MH:[`692`,`011`,`329\\d{4}|(?:[256]\\d|45)\\d{5}`,[7],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[2-6]`]]],`1`],MK:[`389`,`00`,`[2-578]\\d{7}`,[8],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2|34[47]|4(?:[37]7|5[47]|64)`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[347]`],`0$1`],[`(\\d{3})(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[58]`],`0$1`]],`0`],ML:[`223`,`00`,`[24-9]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24-9]`]]]],MM:[`95`,`00`,`1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}`,[6,7,8,9,10],[[`(\\d)(\\d{2})(\\d{3})`,`$1 $2 $3`,[`16|2`],`0$1`],[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]`],`0$1`],[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[12]|452|678|86`,`[12]|452|6788|86`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[4-7]|8[1-35]`],`0$1`],[`(\\d)(\\d{3})(\\d{4,6})`,`$1 $2 $3`,[`9(?:2[0-4]|[35-9]|4[137-9])`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`],[`(\\d)(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`92`],`0$1`],[`(\\d)(\\d{5})(\\d{4})`,`$1 $2 $3`,[`9`],`0$1`]],`0`],MN:[`976`,`001`,`[12]\\d{7,9}|[5-9]\\d{7}`,[8,9,10],[[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`11|2[16]`],`0$1`],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[5-9]`]],[`(\\d{3})(\\d{5,6})`,`$1 $2`,[`[12]2[1-3]`],`0$1`],[`(\\d{4})(\\d{5,6})`,`$1 $2`,[`[12](?:27|3[2-8]|4[2-68]|5[1-4689])`,`[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]`],`0$1`],[`(\\d{5})(\\d{4,5})`,`$1 $2`,[`[12]`],`0$1`]],`0`],MO:[`853`,`00`,`0800\\d{3}|(?:28|[68]\\d)\\d{6}`,[7,8],[[`(\\d{4})(\\d{3})`,`$1 $2`,[`0`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[268]`]]]],MP:[`1`,`011`,`[58]\\d{9}|(?:67|90)0\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`670$1`,0,`670`],MQ:[`596`,`00`,`7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-79]|8(?:0[6-9]|[36])`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`],MR:[`222`,`00`,`(?:[2-4]\\d\\d|800)\\d{5}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-48]`]]]],MS:[`1`,`011`,`(?:[58]\\d\\d|664|900)\\d{7}`,[10],0,`1`,0,`([34]\\d{6})$|1`,`664$1`,0,`664`],MT:[`356`,`00`,`3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[2357-9]`]]]],MU:[`230`,`0(?:0|[24-7]0|3[03])`,`(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}`,[7,8,10],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-46]|8[013]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[57]`]],[`(\\d{5})(\\d{5})`,`$1 $2`,[`8`]]],0,0,0,0,0,0,0,`020`],MV:[`960`,`0(?:0|19)`,`(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}`,[7,10],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[34679]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`]]],0,0,0,0,0,0,0,`00`],MW:[`265`,`00`,`(?:[1289]\\d|31|77)\\d{7}|1\\d{6}`,[7,9],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1[2-9]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[1-37-9]`],`0$1`]],`0`],MX:[`52`,`0[09]`,`[2-9]\\d{9}`,[10],[[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`33|5[56]|81`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2-9]`]]],0,0,0,0,0,0,0,`00`],MY:[`60`,`00`,`1\\d{8,9}|(?:3\\d|[4-9])\\d{7}`,[8,9,10],[[`(\\d)(\\d{3})(\\d{4})`,`$1-$2 $3`,[`[4-79]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1-$2 $3`,[`1(?:[02469]|[378][1-9]|53)|8`,`1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8`],`0$1`],[`(\\d)(\\d{4})(\\d{4})`,`$1-$2 $3`,[`3`],`0$1`],[`(\\d)(\\d{3})(\\d{2})(\\d{4})`,`$1-$2-$3-$4`,[`1(?:[367]|80)`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1-$2 $3`,[`15`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4})`,`$1-$2 $3`,[`1`],`0$1`]],`0`],MZ:[`258`,`00`,`(?:2|8\\d)\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2|8[2-9]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`8`]]]],NA:[`264`,`00`,`[68]\\d{7,8}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`88`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`6`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`87`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`]],`0`],NC:[`687`,`00`,`(?:050|[2-57-9]\\d\\d)\\d{3}`,[6],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1.$2.$3`,[`[02-57-9]`]]]],NE:[`227`,`00`,`[027-9]\\d{7}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`08`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[089]|2[013]|7[0467]`]]]],NF:[`672`,`00`,`[13]\\d{5}`,[6],[[`(\\d{2})(\\d{4})`,`$1 $2`,[`1[0-3]`]],[`(\\d)(\\d{5})`,`$1 $2`,[`[13]`]]],0,0,`([0-258]\\d{4})$`,`3$1`],NG:[`234`,`009`,`(?:20|9\\d)\\d{8}|[78]\\d{9,13}`,[10,11,12,13,14],[[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[7-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`20[129]`],`0$1`],[`(\\d{4})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{3})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`[78]`],`0$1`],[`(\\d{3})(\\d{5})(\\d{5,6})`,`$1 $2 $3`,[`[78]`],`0$1`]],`0`],NI:[`505`,`00`,`(?:1800|[25-8]\\d{3})\\d{4}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[125-8]`]]]],NL:[`31`,`00`,`(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}`,[5,6,7,8,9,10,11],[[`(\\d{3})(\\d{4,7})`,`$1 $2`,[`[89]0`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`66`],`0$1`],[`(\\d)(\\d{8})`,`$1 $2`,[`6`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1[16-8]|2[259]|3[124]|4[17-9]|5[124679]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-578]|91`],`0$1`],[`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`,[`9`],`0$1`]],`0`],NO:[`47`,`00`,`(?:0|[2-9]\\d{3})\\d{4}`,[5,8],[[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[2-79]`]]],0,0,0,0,0,`[02-689]|7[0-8]`],NP:[`977`,`00`,`(?:1\\d|9)\\d{9}|[1-9]\\d{7}`,[8,10,11],[[`(\\d)(\\d{7})`,`$1-$2`,[`1[2-6]`],`0$1`],[`(\\d{2})(\\d{6})`,`$1-$2`,[`1[01]|[2-8]|9(?:[1-59]|[67][2-6])`],`0$1`],[`(\\d{3})(\\d{7})`,`$1-$2`,[`9`]]],`0`],NR:[`674`,`00`,`(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[24-9]`]]]],NU:[`683`,`00`,`(?:[4-7]|888\\d)\\d{3}`,[4,7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`8`]]]],NZ:[`64`,`0(?:0|161)`,`[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}`,[5,6,7,8,9,10],[[`(\\d{2})(\\d{3,8})`,`$1 $2`,[`8[1-79]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`50[036-8]|8|90`,`50(?:[0367]|88)|8|90`],`0$1`],[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`24|[346]|7[2-57-9]|9[2-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2(?:10|74)|[589]`],`0$1`],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`1|2[028]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,5})`,`$1 $2 $3`,[`2(?:[169]|7[0-35-9])|7`],`0$1`]],`0`,0,0,0,0,0,0,`00`],OM:[`968`,`00`,`(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}`,[7,8,9],[[`(\\d{3})(\\d{4,6})`,`$1 $2`,[`[58]`]],[`(\\d{2})(\\d{6})`,`$1 $2`,[`2`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[179]`]]]],PA:[`507`,`00`,`(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}`,[7,8,10,11],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`[1-57-9]`]],[`(\\d{4})(\\d{4})`,`$1-$2`,[`[68]`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]]]],PE:[`51`,`00|19(?:1[124]|77|90)00`,`(?:[14-8]|9\\d)\\d{7}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`80`],`(0$1)`],[`(\\d)(\\d{7})`,`$1 $2`,[`1`],`(0$1)`],[`(\\d{2})(\\d{6})`,`$1 $2`,[`[4-8]`],`(0$1)`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`]]],`0`,0,0,0,0,0,0,`00`,` Anexo `],PF:[`689`,`00`,`4\\d{5}(?:\\d{2})?|8\\d{7,8}`,[6,8,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`44`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`4|8[7-9]`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]]]],PG:[`675`,`00|140[1-3]`,`(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`18|[2-69]|85[02-46-9]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[78]`]]],0,0,0,0,0,0,0,`00`],PH:[`63`,`00`,`(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}`,[6,8,9,10,11,12,13],[[`(\\d)(\\d{5})`,`$1 $2`,[`2`],`(0$1)`],[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2`,`3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))`],`(0$1)`],[`(\\d{5})(\\d{4})`,`$1 $2`,[`346|4(?:27|9[35])|883`,`3469|4(?:279|9(?:30|56))|8834`],`(0$1)`],[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[3-7]|8[2-8]`],`(0$1)`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[89]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]],[`(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})`,`$1 $2 $3 $4`,[`1`]]],`0`],PK:[`92`,`00`,`122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}`,[8,9,10,11,12],[[`(\\d{3})(\\d{3})(\\d{2,7})`,`$1 $2 $3`,[`[89]0`],`0$1`],[`(\\d{4})(\\d{5})`,`$1 $2`,[`1`]],[`(\\d{3})(\\d{6,7})`,`$1 $2`,[`2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])`,`9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]`],`(0$1)`],[`(\\d{2})(\\d{7,8})`,`$1 $2`,[`(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]`],`(0$1)`],[`(\\d{5})(\\d{5})`,`$1 $2`,[`58`],`(0$1)`],[`(\\d{3})(\\d{7})`,`$1 $2`,[`3`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91`],`(0$1)`],[`(\\d{3})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[24-9]`],`(0$1)`]],`0`],PL:[`48`,`00`,`(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}`,[6,7,8,9,10],[[`(\\d{5})`,`$1`,[`19`]],[`(\\d{3})(\\d{3})`,`$1 $2`,[`11|20|64`]],[`(\\d{2})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`30|(?: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`,`30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19`]],[`(\\d{3})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`64`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)`]],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[2-8]|[2-7]|8[1-79]|9[145]`]],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`8`]]]],PM:[`508`,`00`,`[78]\\d{8}|[2-9]\\d{5}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`7`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`],PR:[`1`,`011`,`(?:[589]\\d\\d|787)\\d{7}`,[10],0,`1`,0,0,0,0,`787|939`],PS:[`970`,`00`,`[2489]2\\d{6}|(?:1\\d|5)\\d{8}`,[8,9,10],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2489]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`5`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],`0`],PT:[`351`,`00`,`1693\\d{5}|(?:[26-9]\\d|30)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2[12]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`16|[236-9]`]]]],PW:[`680`,`01[12]`,`(?:[24-8]\\d\\d|345|900)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-9]`]]]],PY:[`595`,`00`,`[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}`,[6,7,8,9,10,11],[[`(\\d{3})(\\d{3,6})`,`$1 $2`,[`[2-9]0`],`0$1`],[`(\\d{2})(\\d{5})`,`$1 $2`,[`3[289]|4[246-8]|61|7[1-3]|8[1-36]`],`(0$1)`],[`(\\d{3})(\\d{4,5})`,`$1 $2`,[`2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]`],`(0$1)`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`87`]],[`(\\d{3})(\\d{6})`,`$1 $2`,[`9(?:[5-79]|8[1-7])`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-8]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`9`]]],`0`],QA:[`974`,`00`,`800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}`,[7,8,9,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`2[136]|8`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]]],RE:[`262`,`00`,`709\\d{6}|(?:26|[689]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-9]`],`0$1`]],`0`,0,0,0,0,0,[[`2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}`],[`(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}`],[`80\\d{7}`],[`89[1-37-9]\\d{6}`],0,0,0,0,[`9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}`],[`8(?:1[019]|2[0156]|84|90)\\d{6}`]]],RO:[`40`,`00`,`(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}`,[6,9],[[`(\\d{3})(\\d{3})`,`$1 $2`,[`2[3-6]`,`2[3-6]\\d9`],`0$1`],[`(\\d{2})(\\d{4})`,`$1 $2`,[`219|31`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[23]1`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[236-9]`],`0$1`]],`0`,0,0,0,0,0,0,0,` int `],RS:[`381`,`00`,`38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}`,[6,7,8,9,10,11,12],[[`(\\d{3})(\\d{3,9})`,`$1 $2`,[`(?:2[389]|39)0|[7-9]`],`0$1`],[`(\\d{2})(\\d{5,10})`,`$1 $2`,[`[1-36]`],`0$1`]],`0`],RU:[`7`,`810`,`8\\d{13}|[347-9]\\d{9}`,[10,14],[[`(\\d{4})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`7(?:1[0-8]|2[1-9])`,`7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))`,`7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2`],`8 ($1)`,1],[`(\\d{5})(\\d)(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`7(?:1[0-68]|2[1-9])`,`7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))`,`7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]`],`8 ($1)`,1],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`7`],`8 ($1)`,1],[`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[349]|8(?:[02-7]|1[1-8])`],`8 ($1)`,1],[`(\\d{4})(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`8`],`8 ($1)`]],`8`,0,0,0,0,`[3489]`,0,`8~10`],RW:[`250`,`00`,`(?:06|[27]\\d\\d|[89]00)\\d{6}`,[8,9],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`0`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[7-9]`],`0$1`]],`0`],SA:[`966`,`00`,`(?:[15]\\d|800|92)\\d{7}`,[9,10],[[`(\\d{4})(\\d{5})`,`$1 $2`,[`9`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`5`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]]],`0`],SB:[`677`,`0[01]`,`[6-9]\\d{6}|[1-6]\\d{4}`,[5,7],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])`]]]],SC:[`248`,`010|0[0-2]`,`(?:[2489]\\d|64)\\d{5}`,[7],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[246]|9[57]`]]],0,0,0,0,0,0,0,`00`],SD:[`249`,`00`,`[19]\\d{8}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[19]`],`0$1`]],`0`],SE:[`46`,`00`,`(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}`,[6,7,8,9,10,12],[[`(\\d{2})(\\d{2,3})(\\d{2})`,`$1-$2 $3`,[`20`],`0$1`,0,`$1 $2 $3`],[`(\\d{3})(\\d{4})`,`$1-$2`,[`9(?:00|39|44|9)`],`0$1`,0,`$1 $2`],[`(\\d{2})(\\d{3})(\\d{2})`,`$1-$2 $3`,[`[12][136]|3[356]|4[0246]|6[03]|90[1-9]`],`0$1`,0,`$1 $2 $3`],[`(\\d)(\\d{2,3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2,3})(\\d{2})`,`$1-$2 $3`,[`1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])`],`0$1`,0,`$1 $2 $3`],[`(\\d{3})(\\d{2,3})(\\d{3})`,`$1-$2 $3`,[`9(?:00|39|44)`],`0$1`,0,`$1 $2 $3`],[`(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`10|7`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1-$2 $3 $4`,[`8`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1-$2 $3 $4`,[`[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{3})`,`$1-$2 $3 $4`,[`9`],`0$1`,0,`$1 $2 $3 $4`],[`(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1-$2 $3 $4 $5`,[`[26]`],`0$1`,0,`$1 $2 $3 $4 $5`]],`0`],SG:[`65`,`0[0-3]\\d`,`(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}`,[8,10,11],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[369]|8(?:0[1-9]|[1-9])`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`]],[`(\\d{4})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`7`]],[`(\\d{4})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`1`]]]],SH:[`290`,`00`,`(?:[256]\\d|8)\\d{3}`,[4,5],0,0,0,0,0,0,`[256]`],SI:[`386`,`00|10(?:22|66|88|99)`,`[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}`,[5,6,7,8],[[`(\\d{2})(\\d{3,6})`,`$1 $2`,[`8[09]|9`],`0$1`],[`(\\d{3})(\\d{5})`,`$1 $2`,[`59|8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[37][01]|4[013]|51|6`],`0$1`],[`(\\d)(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[1-57]`],`(0$1)`]],`0`,0,0,0,0,0,0,`00`],SJ:[`47`,`00`,`0\\d{4}|(?:[489]\\d|79)\\d{6}`,[5,8],0,0,0,0,0,0,`79`],SK:[`421`,`00`,`[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}`,[6,7,9],[[`(\\d)(\\d{2})(\\d{3,4})`,`$1 $2 $3`,[`21`],`0$1`],[`(\\d{2})(\\d{2})(\\d{2,3})`,`$1 $2 $3`,[`[3-5][1-8]1`,`[3-5][1-8]1[67]`],`0$1`],[`(\\d)(\\d{3})(\\d{3})(\\d{2})`,`$1 $2 $3 $4`,[`2`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[689]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[3-5]`],`0$1`]],`0`],SL:[`232`,`00`,`(?:[237-9]\\d|66)\\d{6}`,[8],[[`(\\d{2})(\\d{6})`,`$1 $2`,[`[236-9]`],`(0$1)`]],`0`],SM:[`378`,`00`,`(?:0549|[5-7]\\d)\\d{6}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]`]],[`(\\d{4})(\\d{6})`,`$1 $2`,[`0`]]],0,0,`([89]\\d{5})$`,`0549$1`],SN:[`221`,`00`,`(?:[378]\\d|93)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[379]`]]]],SO:[`252`,`00`,`[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}`,[6,7,8,9],[[`(\\d{2})(\\d{4})`,`$1 $2`,[`8[125]`]],[`(\\d{6})`,`$1`,[`[134]`]],[`(\\d)(\\d{6})`,`$1 $2`,[`[15]|2[0-79]|3[0-46-8]|4[0-7]`]],[`(\\d{2})(\\d{5,7})`,`$1 $2`,[`1|28|9[2-9]`]],[`(\\d)(\\d{7})`,`$1 $2`,[`[267]|904`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[346-9]`]]],`0`],SR:[`597`,`00`,`(?:[2-5]|[6-9]\\d)\\d{5}`,[6,7],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1-$2-$3`,[`56`]],[`(\\d{3})(\\d{3})`,`$1-$2`,[`[2-5]`]],[`(\\d{3})(\\d{4})`,`$1-$2`,[`[6-9]`]]]],SS:[`211`,`00`,`[19]\\d{8}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[19]`],`0$1`]],`0`],ST:[`239`,`00`,`(?:22|9\\d)\\d{5}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[29]`]]]],SV:[`503`,`00`,`[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?`,[7,8,11],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[89]`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[25-7]`]],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[89]`]]]],SX:[`1`,`011`,`7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`(5\\d{6})$|1`,`721$1`,0,`721`],SY:[`963`,`00`,`[1-359]\\d{8}|[1-5]\\d{7}`,[8,9],[[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-4]|5[1-3]`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[59]`],`0$1`,1]],`0`],SZ:[`268`,`00`,`0800\\d{4}|(?:[237]\\d|900)\\d{6}`,[8,9],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[0237]`]],[`(\\d{5})(\\d{4})`,`$1 $2`,[`9`]]]],TA:[`290`,`00`,`8\\d{3}`,[4],0,0,0,0,0,0,`8`],TC:[`1`,`011`,`(?:[58]\\d\\d|649|900)\\d{7}`,[10],0,`1`,0,`([2-479]\\d{6})$|1`,`649$1`,0,`649`],TD:[`235`,`00|16`,`(?:22|[3689]\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[236-9]`]]],0,0,0,0,0,0,0,`00`],TG:[`228`,`00`,`[279]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[279]`]]]],TH:[`66`,`00[1-9]`,`(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}`,[8,9,10,13],[[`(\\d)(\\d{3})(\\d{4})`,`$1 $2 $3`,[`2`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[13-9]`],`0$1`],[`(\\d{4})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`1`]]],`0`],TJ:[`992`,`810`,`(?:[0-57-9]\\d|66)\\d{7}`,[9],[[`(\\d{6})(\\d)(\\d{2})`,`$1 $2 $3`,[`331`,`3317`]],[`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`44[02-479]|[34]7`]],[`(\\d{4})(\\d)(\\d{4})`,`$1 $2 $3`,[`3(?:[1245]|3[12])`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`\\d`]]],0,0,0,0,0,0,0,`8~10`],TK:[`690`,`00`,`[2-47]\\d{3,6}`,[4,5,6,7]],TL:[`670`,`00`,`7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}`,[7,8],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[2-489]|70`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`7`]]]],TM:[`993`,`810`,`[1-7]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`12`],`(8 $1)`],[`(\\d{3})(\\d)(\\d{2})(\\d{2})`,`$1 $2-$3-$4`,[`[1-5]`],`(8 $1)`],[`(\\d{2})(\\d{6})`,`$1 $2`,[`[67]`],`8 $1`]],`8`,0,0,0,0,0,0,`8~10`],TN:[`216`,`00`,`[2-57-9]\\d{7}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-57-9]`]]]],TO:[`676`,`00`,`(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}`,[5,7],[[`(\\d{2})(\\d{3})`,`$1-$2`,[`[2-4]|50|6[09]|7[0-24-69]|8[05]`]],[`(\\d{4})(\\d{3})`,`$1 $2`,[`0`]],[`(\\d{3})(\\d{4})`,`$1 $2`,[`[5-9]`]]]],TR:[`90`,`00`,`4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}`,[7,10,12,13],[[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`512|8[01589]|90`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`5`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[24][1-8]|3[1-9]`],`(0$1)`,1],[`(\\d{3})(\\d{3})(\\d{6,7})`,`$1 $2 $3`,[`80`],`0$1`,1]],`0`],TT:[`1`,`011`,`(?:[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-46-8]\\d{6})$|1`,`868$1`,0,`868`],TV:[`688`,`00`,`(?:2|7\\d\\d|90)\\d{4}`,[5,6,7],[[`(\\d{2})(\\d{3})`,`$1 $2`,[`2`]],[`(\\d{2})(\\d{4})`,`$1 $2`,[`90`]],[`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]]],TW:[`886`,`0(?:0[25-79]|19)`,`[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}`,[7,8,9,10,11],[[`(\\d{2})(\\d)(\\d{4})`,`$1 $2 $3`,[`202`],`0$1`],[`(\\d{3})(\\d{5})`,`$1 $2`,[`826`],`0$1`],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`83`],`0$1`],[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`82`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[25]0|37|49|8[09]`],`0$1`],[`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[23568]|4(?:0[02-48]|[1-478])|7[1-9]`,`[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[49]`],`0$1`],[`(\\d{2})(\\d{4})(\\d{4,5})`,`$1 $2 $3`,[`7`],`0$1`]],`0`,0,0,0,0,0,0,0,`#`],TZ:[`255`,`00[056]`,`(?:[25-8]\\d|41|90)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`[89]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[24]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`5`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[67]`],`0$1`]],`0`],UA:[`380`,`00`,`[89]\\d{9}|[3-9]\\d{8}`,[9,10],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]`,`6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]`],`0$1`],[`(\\d{4})(\\d{5})`,`$1 $2`,[`3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])`,`3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[3-7]|89|9[1-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[89]`],`0$1`]],`0`,0,0,0,0,0,0,`0~0`],UG:[`256`,`00[057]`,`800\\d{6}|(?:[29]0|[347]\\d)\\d{7}`,[9],[[`(\\d{4})(\\d{5})`,`$1 $2`,[`202`,`2024`,`20240`],`0$1`],[`(\\d{3})(\\d{6})`,`$1 $2`,[`20[0-35-7]|4(?:6[45]|[7-9])|[7-9]`,`20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[2-4]`],`0$1`]],`0`],US:[`1`,`011`,`[2-9]\\d{9}|3\\d{6}`,[10],[[`(\\d{3})(\\d{4})`,`$1-$2`,[`310`],0,1],[`(\\d{3})(\\d{3})(\\d{4})`,`($1) $2-$3`,[`[2-9]`],0,1,`$1-$2-$3`]],`1`,0,0,0,0,0,[[`(?:472[2-47-9]|983[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}`],[``],[`8(?:00|33|44|55|66|77|88)[2-9]\\d{6}`],[`900[2-9]\\d{6}`],[`52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],UY:[`598`,`0(?:0|1[3-9]\\d)`,`0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}`,[4,5,6,7,8,9,10,11,12,13],[[`(\\d{4,5})`,`$1`,[`21`]],[`(\\d{3})(\\d{3,4})`,`$1 $2`,[`0`]],[`(\\d{3})(\\d{4})`,`$1 $2`,[`[49]0|8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`9`],`0$1`],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[124]`]],[`(\\d{3})(\\d{3})(\\d{2,4})`,`$1 $2 $3`,[`0`]],[`(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})`,`$1 $2 $3 $4`,[`0`]]],`0`,0,0,0,0,0,0,`00`,` int. `],UZ:[`998`,`00`,`(?:20|33|[5-9]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[235-9]`]]]],VA:[`39`,`00`,`0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}`,[6,7,8,9,10,11,12],0,0,0,0,0,0,`06698`],VC:[`1`,`011`,`(?:[58]\\d\\d|784|900)\\d{7}`,[10],0,`1`,0,`([2-7]\\d{6})$|1`,`784$1`,0,`784`],VE:[`58`,`00`,`[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}`,[10],[[`(\\d{3})(\\d{7})`,`$1-$2`,[`[24-689]`],`0$1`]],`0`],VG:[`1`,`011`,`(?:284|[58]\\d\\d|900)\\d{7}`,[10],0,`1`,0,`([2-578]\\d{6})$|1`,`284$1`,0,`284`],VI:[`1`,`011`,`[58]\\d{9}|(?:34|90)0\\d{7}`,[10],0,`1`,0,`([2-9]\\d{6})$|1`,`340$1`,0,`340`],VN:[`84`,`00`,`[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}`,[7,8,9,10],[[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1(?:2[02]|[89])`],0,1],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[26]|6`],`0$1`,1],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[357-9]`],`0$1`,1],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`2[48]`],`0$1`,1],[`(\\d{3})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`2`],`0$1`,1]],`0`],VU:[`678`,`00`,`[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}`,[5,7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[57-9]`]]]],WF:[`681`,`00`,`(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[47-9]`]],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]]]],WS:[`685`,`0`,`(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}`,[5,6,7,10],[[`(\\d{5})`,`$1`,[`[2-5]|6[1-9]`]],[`(\\d{3})(\\d{3,7})`,`$1 $2`,[`[68]`]],[`(\\d{2})(\\d{5})`,`$1 $2`,[`7`]]]],XK:[`383`,`00`,`2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}`,[8,9,10,11,12],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`[89]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-4]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`2|39`],`0$1`],[`(\\d{2})(\\d{7,10})`,`$1 $2`,[`3`],`0$1`]],`0`],YE:[`967`,`00`,`(?:1|7\\d)\\d{7}|[1-7]\\d{6}`,[7,8,9],[[`(\\d)(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[1-6]|7(?:[24-6]|8[0-7])`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`7`],`0$1`]],`0`],YT:[`262`,`00`,`(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}`],[`(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}`],[`80\\d{7}`],0,0,0,0,0,[`9(?:(?:39|47)8[01]|769\\d)\\d{4}`]]],ZA:[`27`,`00`,`[1-79]\\d{8}|8\\d{4,9}`,[5,6,7,8,9,10],[[`(\\d{2})(\\d{3,4})`,`$1 $2`,[`8[1-4]`],`0$1`],[`(\\d{2})(\\d{3})(\\d{2,3})`,`$1 $2 $3`,[`8[1-4]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`860`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-9]`],`0$1`],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`8`],`0$1`]],`0`],ZM:[`260`,`00`,`800\\d{6}|(?:21|[579]\\d|63)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[579]`],`0$1`]],`0`],ZW:[`263`,`00`,`(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[2-689]\\d{6}`,[7,9,10],[[`(\\d{2})(\\d{3,5})`,`$1 $2`,[`1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]`],`0$1`],[`(\\d{3})(\\d{3,5})`,`$1 $2`,[`2(?:0[45]|[27]|48)|37|675|(?:55|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{4})(\\d{3,5})`,`$1 $2`,[`548`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`29[013-9]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[256]|39|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`,[`3`],`0$1`],[`(\\d{4})(\\d{6})`,`$1 $2`,[`8`],`0$1`]],`0`]},nonGeographic:{800:[`800`,0,`(?:00|[1-9]\\d)\\d{6}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`\\d`]]],0,0,0,0,0,0,[0,0,[`(?:00|[1-9]\\d)\\d{6}`]]],808:[`808`,0,`[1-9]\\d{7}`,[8],[[`(\\d{4})(\\d{4})`,`$1 $2`,[`[1-9]`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,[`[1-9]\\d{7}`]]],870:[`870`,0,`7\\d{11}|[235-7]\\d{8}`,[9,12],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[235-7]`]]],0,0,0,0,0,0,[0,[`(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}`],0,0,0,0,0,0,[`2\\d{8}`,[9]]]],878:[`878`,0,`10\\d{10}`,[12],[[`(\\d{2})(\\d{5})(\\d{5})`,`$1 $2 $3`,[`1`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[`10\\d{10}`]]],881:[`881`,0,`6\\d{9}|[0-36-9]\\d{8}`,[9,10],[[`(\\d)(\\d{3})(\\d{5})`,`$1 $2 $3`,[`[0-37-9]`]],[`(\\d)(\\d{3})(\\d{5,6})`,`$1 $2 $3`,[`6`]]],0,0,0,0,0,0,[0,[`6\\d{9}|[0-36-9]\\d{8}`]]],882:[`882`,0,`[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?`,[7,8,9,10,11,12],[[`(\\d{2})(\\d{5})`,`$1 $2`,[`16|342`]],[`(\\d{2})(\\d{6})`,`$1 $2`,[`49`]],[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`1[36]|9`]],[`(\\d{2})(\\d{4})(\\d{3})`,`$1 $2 $3`,[`3[23]`]],[`(\\d{2})(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`16`]],[`(\\d{2})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`10|23|3(?:[15]|4[57])|4|5[12]`]],[`(\\d{3})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`34`]],[`(\\d{2})(\\d{4,5})(\\d{5})`,`$1 $2 $3`,[`[1-35]`]]],0,0,0,0,0,0,[0,[`342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}`,[7,8,9,10,12]],0,0,0,[`348[57]\\d{7}`,[11]],0,0,[`1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}`]]],883:[`883`,0,`(?:[1-4]\\d|51)\\d{6,10}`,[8,9,10,11,12],[[`(\\d{3})(\\d{3})(\\d{2,8})`,`$1 $2 $3`,[`[14]|2[24-689]|3[02-689]|51[24-9]`]],[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`510`]],[`(\\d{3})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`21`]],[`(\\d{4})(\\d{4})(\\d{4})`,`$1 $2 $3`,[`51[13]`]],[`(\\d{3})(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3 $4`,[`[235]`]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[`(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}`]]],888:[`888`,0,`\\d{11}`,[11],[[`(\\d{3})(\\d{3})(\\d{5})`,`$1 $2 $3`]],0,0,0,0,0,0,[0,0,0,0,0,0,[`\\d{11}`]]],979:[`979`,0,`[1359]\\d{8}`,[9],[[`(\\d)(\\d{4})(\\d{4})`,`$1 $2 $3`,[`[1359]`]]],0,0,0,0,0,0,[0,0,0,[`[1359]\\d{8}`]]]}};function b_(e,t){var n=Array.prototype.slice.call(t);return n.push(y_),e.apply(this,n)}function x_(e,t){e=e.split(`-`),t=t.split(`-`);for(var n=e[0].split(`.`),r=t[0].split(`.`),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var S_={}.constructor;function C_(e){return e!=null&&e.constructor===S_}var w_=/^\d+$/;function T_(e){return w_.test(e)}function E_(e){"@babel/helpers - typeof";return E_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},E_(e)}function D_(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function O_(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,A_(r.key),r)}}function k_(e,t,n){return t&&O_(e.prototype,t),n&&O_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function A_(e){var t=j_(e,`string`);return E_(t)==`symbol`?t:t+``}function j_(e,t){if(E_(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(E_(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var M_=`1.2.0`,N_=`1.7.35`,P_=` ext. `,$=function(){function e(t){D_(this,e),B_(t),this.metadata=t,W_.call(this,t)}return k_(e,[{key:`getCountries`,value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!==`001`})}},{key:`getCountryMetadata`,value:function(e){return this.metadata.countries[e]}},{key:`nonGeographic`,value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:`hasCountry`,value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:`hasCallingCode`,value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{key:`isNonGeographicCallingCode`,value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:`country`,value:function(e){return this.selectNumberingPlan(e)}},{key:`selectNumberingPlan`,value:function(e,t){var n,r;if(e&&(T_(e)?r=e:n=e),t&&(r=t),n&&n!==`001`){var i=this.getCountryMetadata(n);if(!i)throw Error(`Unknown country: ${n}`);this.numberingPlan=new F_(i,this)}else if(r){if(!this.hasCallingCode(r))throw Error(`Unknown calling code: ${r}`);this.numberingPlan=new F_(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[0]===`001`)return this.metadata.countries[`001`]}}},{key:`countryCallingCode`,value:function(){return this.numberingPlan.callingCode()}},{key:`IDDPrefix`,value:function(){return this.numberingPlan.IDDPrefix()}},{key:`defaultIDDPrefix`,value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:`nationalNumberPattern`,value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:`possibleLengths`,value:function(){return this.numberingPlan.possibleLengths()}},{key:`formats`,value:function(){return this.numberingPlan.formats()}},{key:`nationalPrefixForParsing`,value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:`nationalPrefixTransformRule`,value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:`leadingDigits`,value:function(){return this.numberingPlan.leadingDigits()}},{key:`hasTypes`,value:function(){return this.numberingPlan.hasTypes()}},{key:`type`,value:function(e){return this.numberingPlan.type(e)}},{key:`ext`,value:function(){return this.numberingPlan.ext()}},{key:`countryCallingCodes`,value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:`chooseCountryByCountryCallingCode`,value:function(e){return this.selectNumberingPlan(e)}},{key:`hasSelectedNumberingPlan`,value:function(){return this.numberingPlan!==void 0}}])}(),F_=function(){function e(t,n){D_(this,e),this.globalMetadataObject=n,this.metadata=t,W_.call(this,n.metadata)}return k_(e,[{key:`callingCode`,value:function(){return this.metadata[0]}},{key:`_getDefaultCountryMetadataForThisCallingCode`,value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:`getDefaultCountryMetadataForRegion`,value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:`IDDPrefix`,value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:`defaultIDDPrefix`,value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:`nationalNumberPattern`,value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:`possibleLengths`,value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:`_getFormats`,value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:`formats`,value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[]).map(function(t){return new I_(t,e)})}},{key:`nationalPrefix`,value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:`_getNationalPrefixFormattingRule`,value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:`nationalPrefixFormattingRule`,value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:`_nationalPrefixForParsing`,value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:`nationalPrefixForParsing`,value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:`nationalPrefixTransformRule`,value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:`_getNationalPrefixIsOptionalWhenFormatting`,value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:`nationalPrefixIsOptionalWhenFormattingInNationalFormat`,value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:`leadingDigits`,value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:`types`,value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:`hasTypes`,value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:`type`,value:function(e){if(this.hasTypes()&&z_(this.types(),e))return new R_(z_(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?P_:this.metadata[13]||P_}}])}(),I_=function(){function e(t,n){D_(this,e),this._format=t,this.metadata=n}return k_(e,[{key:`pattern`,value:function(){return this._format[0]}},{key:`format`,value:function(){return this._format[1]}},{key:`leadingDigitsPatterns`,value:function(){return this._format[2]||[]}},{key:`nationalPrefixFormattingRule`,value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:`nationalPrefixIsOptionalWhenFormattingInNationalFormat`,value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:`nationalPrefixIsMandatoryWhenFormattingInNationalFormat`,value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:`usesNationalPrefix`,value:function(){return!(!this.nationalPrefixFormattingRule()||L_.test(this.nationalPrefixFormattingRule()))}},{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}])}(),L_=/^\(?\$1\)?$/,R_=function(){function e(t,n){D_(this,e),this.type=t,this.metadata=n}return k_(e,[{key:`pattern`,value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:`possibleLengths`,value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function z_(e,t){switch(t){case`FIXED_LINE`:return e[0];case`MOBILE`:return e[1];case`TOLL_FREE`:return e[2];case`PREMIUM_RATE`:return e[3];case`PERSONAL_NUMBER`:return e[4];case`VOICEMAIL`:return e[5];case`UAN`:return e[6];case`PAGER`:return e[7];case`VOIP`:return e[8];case`SHARED_COST`:return e[9]}}function B_(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!C_(e)||!C_(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${C_(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+V_(e)+`: `+e}.`)}var V_=function(e){return E_(e)};function H_(e,t){var n=new $(t);if(n.hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function U_(e,t){return t.countries.hasOwnProperty(e)}function W_(e){var t=e.version;typeof t==`number`?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?x_(t,M_)===-1?this.v2=!0:x_(t,N_)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function G_(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=K_(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K_(e,t){if(e){if(typeof e==`string`)return q_(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q_(e,t):void 0}}function q_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function J_(e,t){for(var n=e.slice(),r=G_(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(e,t){return e-t})}function Y_(e,t,n){return X_(e,void 0,t,n)}function X_(e,t,n,r){n&&(r=new $(r.metadata),r.selectNumberingPlan(n));var i=r.type(t),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return`IS_POSSIBLE`;if(t===`FIXED_LINE_OR_MOBILE`){if(!r.type(`FIXED_LINE`))return X_(e,`MOBILE`,n,r);var o=r.type(`MOBILE`);o&&(a=J_(a,o.possibleLengths()))}else if(t&&!i)return`INVALID_LENGTH`;var s=e.length,c=a[0];return c===s?`IS_POSSIBLE`:c>s?`TOO_SHORT`:a[a.length-1]<s?`TOO_LONG`:a.indexOf(s,1)>=0?`IS_POSSIBLE`:`INVALID_LENGTH`}function Z_(e,t,n){t===void 0&&(t={});var r=new $(n);if(t.v2){if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);r.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return Q_(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error(`Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.`)}function Q_(e,t){switch(Y_(e,void 0,t)){case`IS_POSSIBLE`:return!0;default:return!1}}function $_(e,t){return e||=``,RegExp(`^(?:`+t+`)$`).test(e)}function ev(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=tv(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tv(e,t){if(e){if(typeof e==`string`)return nv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nv(e,t):void 0}}function nv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rv=[`MOBILE`,`PREMIUM_RATE`,`TOLL_FREE`,`SHARED_COST`,`VOIP`,`PERSONAL_NUMBER`,`PAGER`,`UAN`,`VOICEMAIL`];function iv(e,t,n){if(t||={},e.country||e.countryCallingCode){var r=new $(n);r.selectNumberingPlan(e.country||e.countryCallingCode);var i=t.v2?e.nationalNumber:e.phone;if($_(i,r.nationalNumberPattern())){if(av(i,`FIXED_LINE`,r))return r.type(`MOBILE`)&&r.type(`MOBILE`).pattern()===``||!r.type(`MOBILE`)||av(i,`MOBILE`,r)?`FIXED_LINE_OR_MOBILE`:`FIXED_LINE`;for(var a=ev(rv),o;!(o=a()).done;){var s=o.value;if(av(i,s,r))return s}}}}function av(e,t,n){var r=n.type(t);return!r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?!1:$_(e,r.pattern())}function ov(e,t,n){t||={};var r=new $(n);return r.selectNumberingPlan(e.country||e.countryCallingCode),r.hasTypes()?iv(e,t,r.metadata)!==void 0:$_(t.v2?e.nationalNumber:e.phone,r.nationalNumberPattern())}var sv=/^[A-Z]{2}$/;function cv(e){return sv.test(e)}function lv(e,t){var n,r,i=new $(t);return cv(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e,{country:n,callingCode:r}}function uv(e,t,n){var r=new $(n).getCountryCodesForCallingCode(e);return r?r.filter(function(e){return dv(t,e,n)}):[]}function dv(e,t,n){var r=new $(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var fv=`0-90-9٠-٩۰-۹`,pv=`-‐-―−ー-//.. \xA0­​⁠ ()()[]\\[\\]~⁓∼~`,mv=`++`,hv=RegExp(`([`+fv+`])`);function gv(e,t,n,r){if(t){var i=new $(r);i.selectNumberingPlan(t||n);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var o=e.match(hv);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]===`0`))return e}}}function _v(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=RegExp(`^(?:`+t.numberingPlan.nationalPrefixForParsing()+`)`),r=n.exec(e);if(r){var i,a,o=r.length-1,s=o>0&&r[o];if(t.nationalPrefixTransformRule()&&s)i=e.replace(n,t.nationalPrefixTransformRule()),o>1&&(a=r[1]);else{var c=r[0];i=e.slice(c.length),s&&(a=r[1])}var l;if(s){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(l=t.numberingPlan.nationalPrefix())}else l=r[0];return{nationalNumber:i,nationalPrefix:l,carrierCode:a}}}return{nationalNumber:e}}function vv(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=yv(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yv(e,t){if(e){if(typeof e==`string`)return bv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bv(e,t):void 0}}function bv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xv(e,t,n){for(var r=new $(n),i=vv(t),a;!(a=i()).done;){var o=a.value;if(r.selectNumberingPlan(o),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return o}else if(iv({phone:e,country:o},void 0,r.metadata))return o}}function Sv(e,t){var n=t.nationalNumber,r=t.metadata,i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:xv(n,i,r.metadata)}function Cv(e,t,n){var r=_v(e,n),i=r.carrierCode,a=r.nationalNumber;return a!==e&&(!wv(e,a,n)||n.numberingPlan.possibleLengths()&&(t||=Sv(n.numberingPlan.callingCode(),{nationalNumber:a,metadata:n}),!Tv(a,t,n)))?{nationalNumber:e}:{nationalNumber:a,carrierCode:i}}function wv(e,t,n){return!($_(e,n.nationalNumberPattern())&&!$_(t,n.nationalNumberPattern()))}function Tv(e,t,n){switch(Y_(e,t,n)){case`TOO_SHORT`:case`INVALID_LENGTH`:return!1;default:return!0}}function Ev(e,t,n,r,i){if(!(t||n||r))return{number:e};var a=t||n?H_(t||n,i):r;if(e.indexOf(a)===0){var o=new $(i);o.selectNumberingPlan(t||n||r);var s=e.slice(a.length),c=Cv(s,void 0,o).nationalNumber,l=Cv(e,void 0,o).nationalNumber;if(!$_(l,o.nationalNumberPattern())&&$_(c,o.nationalNumberPattern())||Y_(l,void 0,o)===`TOO_LONG`)return{countryCallingCode:a,number:s}}return{number:e}}function Dv(e,t,n,r,i){if(!e)return{};var a;if(e[0]!==`+`){var o=gv(e,t||n,r,i);if(o&&o!==e)a=!0,e=`+`+o;else{if(t||n||r){var s=Ev(e,t,n,r,i),c=s.countryCallingCode,l=s.number;if(c)return{countryCallingCodeSource:`FROM_NUMBER_WITHOUT_PLUS_SIGN`,countryCallingCode:c,number:l}}return{number:e}}}if(e[1]===`0`)return{};for(var u=new $(i),d=2;d-1<=3&&d<=e.length;){var f=e.slice(1,d);if(u.hasCallingCode(f))return u.selectNumberingPlan(f),{countryCallingCodeSource:a?`FROM_NUMBER_WITH_IDD`:`FROM_NUMBER_WITH_PLUS_SIGN`,countryCallingCode:f,number:e.slice(d)};d++}return{}}function Ov(e){return e.replace(RegExp(`[${pv}]+`,`g`),` `).trim()}var kv=/(\$\d)/;function Av(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(kv,t.nationalPrefixFormattingRule()):t.format());return r?Ov(a):a}var jv=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Mv(e,t,n){var r=new $(n);if(r.selectNumberingPlan(e||t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(jv.test(r.IDDPrefix()))return r.IDDPrefix()}var Nv=`;ext=`,Pv=function(e){return`([${fv}]{1,${e}})`};function Fv(e){var t=`20`,n=`15`,r=`9`,i=`6`,a=`[ \xA0\\t,]*`,o=`[:\\..]?[ \xA0\\t,-]*`,s=`#?`,c=`(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)`,l=`(?:[xx##~~]|int|int)`,u=`[- ]+`,d=`[ \xA0\\t]*`,f=`(?:,{2}|;)`,p=Nv+Pv(t),m=a+c+o+Pv(t)+s,h=a+l+o+Pv(r)+s,g=u+Pv(i)+`#`,_=d+f+o+Pv(n)+s,v=d+`(?:,)+`+o+Pv(r)+s;return p+`|`+m+`|`+h+`|`+g+`|`+_+`|`+v}var Iv=`[`+fv+`]{2}`,Lv=`[`+mv+`]{0,1}(?:[`+pv+`]*[`+fv+`]){3,}[`+pv+fv+`]*`,Rv=RegExp(`^[`+mv+`]{0,1}(?:[`+pv+`]*[`+fv+`]){1,2}$`,`i`),zv=Lv+`(?:`+Fv()+`)?`,Bv=RegExp(`^`+Iv+`$|^`+zv+`$`,`i`);function Vv(e){return e.length>=2&&Bv.test(e)}function Hv(e){return Rv.test(e)}function Uv(e){var t=e.number,n=e.ext;if(!t)return``;if(t[0]!==`+`)throw Error(`"formatRFC3966()" expects "number" to be in E.164 format.`);return`tel:${t}${n?`;ext=`+n:``}`}var Wv={formatExtension:function(e,t,n){return`${e}${n.ext()}${t}`}};function Gv(e,t,n,r){n=n?Xv({},Wv,n):Wv;var i=new $(r);if(e.country&&e.country!==`001`){if(!i.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);i.selectNumberingPlan(e.country)}else if(e.countryCallingCode)i.selectNumberingPlan(e.countryCallingCode);else return e.phone||``;var a=i.countryCallingCode(),o=n.v2?e.nationalNumber:e.phone,s;switch(t){case`NATIONAL`:return o?(s=Kv(o,e.carrierCode,`NATIONAL`,i,n),Jv(s,e.ext,i,n.formatExtension)):``;case`INTERNATIONAL`:return o?(s=Kv(o,null,`INTERNATIONAL`,i,n),s=`+${a} ${s}`,Jv(s,e.ext,i,n.formatExtension)):`+${a}`;case`E.164`:return`+${a}${o}`;case`RFC3966`:return Uv({number:`+${a}${o}`,ext:e.ext});case`IDD`:if(!n.fromCountry)return;var c=Yv(o,e.carrierCode,a,n.fromCountry,i);return c?Jv(c,e.ext,i,n.formatExtension):void 0;default:throw Error(`Unknown "format" argument passed to "formatNumber()": "${t}"`)}}function Kv(e,t,n,r,i){var a=qv(r.formats(),e);return a?Av(e,a,{useInternationalFormat:n===`INTERNATIONAL`,withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function qv(e,t){return Zv(e,function(e){if(e.leadingDigitsPatterns().length>0){var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(t.search(n)!==0)return!1}return $_(t,e.pattern())})}function Jv(e,t,n,r){return t?r(e,t,n):e}function Yv(e,t,n,r,i){if(H_(r,i.metadata)===n){var a=Kv(e,t,`NATIONAL`,i);return n===`1`?n+` `+a:a}var o=Mv(r,void 0,i.metadata);if(o)return`${o} ${n} ${Kv(e,null,`INTERNATIONAL`,i)}`}function Xv(){for(var e=1,t=[...arguments];e<t.length;){if(t[e])for(var n in t[e])t[0][n]=t[e][n];e++}return t[0]}function Zv(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function Qv(e){"@babel/helpers - typeof";return Qv=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Qv(e)}function $v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ey(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$v(Object(n),!0).forEach(function(t){ty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ty(e,t,n){return(t=ay(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ny(e,t){if(!(e instanceof t))throw 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,ay(r.key),r)}}function iy(e,t,n){return t&&ry(e.prototype,t),n&&ry(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ay(e){var t=oy(e,`string`);return Qv(t)==`symbol`?t:t+``}function oy(e,t){if(Qv(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Qv(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var sy=function(){function e(t,n,r){if(ny(this,e),!t)throw TypeError(`First argument is required`);if(typeof t!=`string`)throw TypeError(`First argument must be a string`);if(t[0]===`+`&&!n)throw TypeError("`metadata` argument not passed");if(C_(n)&&C_(n.countries)){r=n;var i=t;if(!cy.test(i))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=Dv(i,void 0,void 0,void 0,r),o=a.countryCallingCode;if(n=a.number,t=o,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if(typeof n!=`string`)throw TypeError("`nationalNumber` argument must be a string");B_(r);var s=lv(t,r),c=s.country,l=s.callingCode;this.country=c,this.countryCallingCode=l,this.nationalNumber=n,this.number=`+`+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return iy(e,[{key:`setExt`,value:function(e){this.ext=e}},{key:`getPossibleCountries`,value:function(){return this.country?[this.country]:uv(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:`isPossible`,value:function(){return Z_(this,{v2:!0},this.getMetadata())}},{key:`isValid`,value:function(){return ov(this,{v2:!0},this.getMetadata())}},{key:`isNonGeographic`,value:function(){return new $(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:`isEqual`,value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:`getType`,value:function(){return iv(this,{v2:!0},this.getMetadata())}},{key:`format`,value:function(e,t){return Gv(this,e,t?ey(ey({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:`formatNational`,value:function(e){return this.format(`NATIONAL`,e)}},{key:`formatInternational`,value:function(e){return this.format(`INTERNATIONAL`,e)}},{key:`getURI`,value:function(e){return this.format(`RFC3966`,e)}}])}(),cy=/^\+\d+$/;function ly(e){"@babel/helpers - typeof";return ly=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ly(e)}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,fy(r.key),r)}}function dy(e,t,n){return t&&uy(e.prototype,t),n&&uy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fy(e){var t=py(e,`string`);return ly(t)==`symbol`?t:t+``}function py(e,t){if(ly(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ly(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function my(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function hy(e,t,n){return t=wy(t),gy(e,xy()?Reflect.construct(t,n||[],wy(e).constructor):t.apply(e,n))}function gy(e,t){if(t&&(ly(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return _y(e)}function _y(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function vy(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cy(e,t)}function yy(e){var t=typeof Map==`function`?new Map:void 0;return yy=function(e){if(e===null||!Sy(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return by(e,arguments,wy(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Cy(n,e)},yy(e)}function by(e,t,n){if(xy())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Cy(i,n.prototype),i}function xy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(xy=function(){return!!e})()}function Sy(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function Cy(e,t){return Cy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cy(e,t)}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wy(e)}var Ty=function(e){function t(e){var n;return my(this,t),n=hy(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return vy(t,e),dy(t)}(yy(Error)),Ey=RegExp(`(?:`+Fv()+`)$`,`i`);function Dy(e){var t=e.search(Ey);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Ey),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}var Oy={0:`0`,1:`1`,2:`2`,3:`3`,4:`4`,5:`5`,6:`6`,7:`7`,8:`8`,9:`9`,"0":`0`,"1":`1`,"2":`2`,"3":`3`,"4":`4`,"5":`5`,"6":`6`,"7":`7`,"8":`8`,"9":`9`,"٠":`0`,"١":`1`,"٢":`2`,"٣":`3`,"٤":`4`,"٥":`5`,"٦":`6`,"٧":`7`,"٨":`8`,"٩":`9`,"۰":`0`,"۱":`1`,"۲":`2`,"۳":`3`,"۴":`4`,"۵":`5`,"۶":`6`,"۷":`7`,"۸":`8`,"۹":`9`};function ky(e){return Oy[e]}function Ay(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=jy(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jy(e,t){if(e){if(typeof e==`string`)return My(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?My(e,t):void 0}}function My(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ny(e){for(var t=``,n=Ay(e.split(``)),r;!(r=n()).done;){var i=r.value;t+=Py(i,t)||``}return t}function Py(e,t,n){if(e===`+`){if(t){typeof n==`function`&&n(`end`);return}return`+`}return ky(e)}var Fy=`([`+fv+`]|[\\-\\.\\(\\)]?)`,Iy=`^\\+`+Fy+`*[`+fv+`]`+Fy+`*$`,Ly=new RegExp(Iy,`g`),Ry=fv,zy=`[`+Ry+`]+((\\-)*[`+Ry+`])*`,By=`[a-zA-Z]+((\\-)*[`+Ry+`])*`,Vy=`^(`+zy+`\\.)*`+By+`\\.?$`,Hy=new RegExp(Vy,`g`),Uy=`tel:`,Wy=`;phone-context=`,Gy=`;isub=`;function Ky(e){var t=e.indexOf(Wy);if(t<0)return null;var n=t+Wy.length;if(n>=e.length)return``;var r=e.indexOf(`;`,n);return r>=0?e.substring(n,r):e.substring(n)}function qy(e){return e===null?!0:e.length===0?!1:Ly.test(e)||Hy.test(e)}function Jy(e,t){var n=t.extractFormattedPhoneNumber,r=Ky(e);if(!qy(r))throw new Ty(`NOT_A_NUMBER`);var i;if(r===null)i=n(e)||``;else{i=``,r.charAt(0)===`+`&&(i+=r);var a=e.indexOf(Uy),o=a>=0?a+Uy.length:0,s=e.indexOf(Wy);i+=e.substring(o,s)}var c=i.indexOf(Gy);if(c>0&&(i=i.substring(0,c)),i!==``)return i}var Yy=250,Xy=RegExp(`[`+mv+fv+`]`),Zy=RegExp(`[^`+fv+`#]+$`);function Qy(e,t,n){t||={};var r=new $(n);if(t.defaultCountry&&!r.hasCountry(t.defaultCountry))throw t.v2?new Ty(`INVALID_COUNTRY`):Error(`Unknown country: ${t.defaultCountry}`);var i=eb(e,t.v2,t.extract),a=i.number,o=i.ext,s=i.error;if(!a){if(t.v2)throw s===`TOO_SHORT`?new Ty(`TOO_SHORT`):new Ty(`NOT_A_NUMBER`);return{}}var c=nb(a,t.defaultCountry,t.defaultCallingCode,r),l=c.country,u=c.nationalNumber,d=c.countryCallingCode,f=c.countryCallingCodeSource,p=c.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new Ty(`INVALID_COUNTRY`);return{}}if(!u||u.length<2){if(t.v2)throw new Ty(`TOO_SHORT`);return{}}if(u.length>17){if(t.v2)throw new Ty(`TOO_LONG`);return{}}if(t.v2){var m=new sy(d,u,r.metadata);return l&&(m.country=l),p&&(m.carrierCode=p),o&&(m.ext=o),m.__countryCallingCodeSource=f,m}var h=(t.extended?r.hasSelectedNumberingPlan():l)?$_(u,r.nationalNumberPattern()):!1;return t.extended?{country:l,countryCallingCode:d,carrierCode:p,valid:h,possible:h?!0:!!(t.extended===!0&&r.possibleLengths()&&Q_(u,r)),phone:u,ext:o}:h?tb(l,u,o):{}}function $y(e,t,n){if(e){if(e.length>Yy){if(n)throw new Ty(`TOO_LONG`);return}if(t===!1)return e;var r=e.search(Xy);if(!(r<0))return e.slice(r).replace(Zy,``)}}function eb(e,t,n){var r=Jy(e,{extractFormattedPhoneNumber:function(e){return $y(e,n,t)}});if(!r)return{};if(!Vv(r))return Hv(r)?{error:`TOO_SHORT`}:{};var i=Dy(r);return i.ext?i:{number:r}}function tb(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function nb(e,t,n,r){var i=Dv(Ny(e),void 0,t,n,r.metadata),a=i.countryCallingCodeSource,o=i.countryCallingCode,s=i.number,c;if(o)r.selectNumberingPlan(o);else if(s&&(t||n))t?(c=t,r.selectNumberingPlan(t),o=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),o=n);else return{};if(!s)return{countryCallingCodeSource:a,countryCallingCode:o};var l=Cv(Ny(s),void 0,r),u=l.nationalNumber,d=l.carrierCode,f=Sv(o,{nationalNumber:u,metadata:r});return f&&(c=f,f===`001`||r.selectNumberingPlan(c)),{country:c,countryCallingCode:o,countryCallingCodeSource:a,nationalNumber:u,carrierCode:d}}function rb(e){"@babel/helpers - typeof";return rb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},rb(e)}function ib(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ab(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ib(Object(n),!0).forEach(function(t){ob(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ib(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ob(e,t,n){return(t=sb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sb(e){var t=cb(e,`string`);return rb(t)==`symbol`?t:t+``}function cb(e,t){if(rb(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(rb(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lb(e,t,n){return Qy(e,ab(ab({},t),{},{v2:!0}),n)}function ub(e){"@babel/helpers - typeof";return ub=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ub(e)}function db(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?db(Object(n),!0).forEach(function(t){pb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):db(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pb(e,t,n){return(t=mb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mb(e){var t=hb(e,`string`);return ub(t)==`symbol`?t:t+``}function hb(e,t){if(ub(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ub(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function gb(e,t){return xb(e)||bb(e,t)||vb(e,t)||_b()}function _b(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vb(e,t){if(e){if(typeof e==`string`)return yb(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yb(e,t):void 0}}function yb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bb(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function xb(e){if(Array.isArray(e))return e}function Sb(e){var t=gb(Array.prototype.slice.call(e),4),n=t[0],r=t[1],i=t[2],a=t[3],o,s,c;if(typeof n==`string`)o=n;else throw TypeError(`A text for parsing must be a string.`);if(!r||typeof r==`string`)a?(s=i,c=a):(s=void 0,c=i),r&&(s=fb({defaultCountry:r},s));else if(C_(r))i?(s=r,c=i):c=r;else throw Error(`Invalid second argument: ${r}`);return{text:o,options:s,metadata:c}}function Cb(e){"@babel/helpers - typeof";return Cb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Cb(e)}function wb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Tb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wb(Object(n),!0).forEach(function(t){Eb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Eb(e,t,n){return(t=Db(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Db(e){var t=Ob(e,`string`);return Cb(t)==`symbol`?t:t+``}function Ob(e,t){if(Cb(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Cb(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function kb(e,t,n){t&&t.defaultCountry&&!U_(t.defaultCountry,n)&&(t=Tb(Tb({},t),{},{defaultCountry:void 0}));try{return lb(e,t,n)}catch(e){if(!(e instanceof Ty))throw e}}function Ab(e){"@babel/helpers - typeof";return Ab=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ab(e)}function jb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Mb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jb(Object(n),!0).forEach(function(t){Nb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Nb(e,t,n){return(t=Pb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pb(e){var t=Fb(e,`string`);return Ab(t)==`symbol`?t:t+``}function Fb(e,t){if(Ab(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Ab(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ib(){var e=Sb(arguments),t=e.text,n=e.options,r=e.metadata;n=Mb(Mb({},n),{},{extract:!1});var i=kb(t,n,r);return i&&i.isValid()||!1}function Lb(){return b_(Ib,arguments)}var Rb=/^\+[1-9]\d+$/,zb=/[\s().-]/g,Bb=e=>{let t=e.replace(zb,``);return Rb.test(t)&&Lb(t)},Vb=e=>({name:e.label,value:e.value}),Hb=(e,t)=>t.validity[e.id]??null,Ub={firstName:`customfields.system.firstname`,lastName:`customfields.system.lastname`,phone:`customfields.system.phone`,title:`customfields.system.title`,birthdate:`customfields.contact.birthdate`,company:`customfields.contact.company`,position:`customfields.contact.position`},Wb={jobTitle:`position`},Gb=new Set(Object.values(Ub)),Kb=Object.keys(Ub),qb=e=>{let t=Object.fromEntries(Kb.map(t=>[t,e(t)]));return{...t,...Object.fromEntries(Object.entries(Wb).map(([e,n])=>[e,t[n]]))}},Jb={...qb(()=>({name:void 0,value:``})),validationErrors:qb(()=>null)},Yb={name:null,value:``},Xb=e=>{let t=new Map;return e.forEach(e=>{e.fields.forEach(e=>{t.has(e.key)||t.set(e.key,e)})}),t},Zb=(e,t)=>{let n=Xb(e),r=e=>n.get(Ub[e]);return{...qb(e=>{let t=r(e);return t?Vb(t):Yb}),validationErrors:qb(e=>{let n=r(e);return n?Hb(n,t):null})}},Qb=(e,t)=>{let n=Object.hasOwn(Wb,t)?Wb[t]:t;if(!Object.hasOwn(Ub,n))return null;let r=Xb(e).get(Ub[n]);return r&&!r.isReadOnly?r.id:null},$b=t_,ex=/^\d{4}-\d{2}-\d{2}$/,tx=e=>{if(!ex.test(e))return!1;let[t,n,r]=e.split(`-`).map(Number),i=new Date(Date.UTC(t,n-1,r));return i.getUTCFullYear()===t&&i.getUTCMonth()===n-1&&i.getUTCDate()===r},nx=e=>{try{return new URL(e.includes(`://`)?e:`https://${e}`).hostname.includes(`.`)}catch{return!1}},rx=e=>{let t=e.value.trim();if(!t)return e.isRequired?$b.REQUIRED:null;if(e.key===Ub.phone)return Bb(t)?null:$b.PHONE;switch(e.kind){case r_.NUMBER:return Number.isFinite(Number(t))?null:$b.NUMBER;case r_.DATE:return tx(t)?null:$b.DATE;case r_.URL:case r_.SOCIAL:return nx(t)?null:$b.URL;case r_.CHOICE:return!e.options?.length||e.options.some(e=>e.value===t)?null:$b.CHOICE;default:return null}},ix=e=>{let t={};return e.forEach(e=>{e.fields.forEach(e=>{if(e.isReadOnly)return;let n=rx(e);n&&(t[e.id]=n)})}),t},ax=e=>e.flatMap(e=>e.fields.filter(e=>!e.isReadOnly&&rx(e)!==null).map(e=>e.id)),ox={LOGIN_EMAIL:`LOGIN_EMAIL`,PASSWORD:`PASSWORD`};function sx(e){return e}var cx=sx(`@wix/site-service-business-logger`);function lx(){let{reportBi:e}=u(cx);return i(({src:t,evid:n,endpoint:r,params:i})=>e({src:t,evid:n,...i},{endpoint:r}),[e])}function ux(e){return{evid:815,src:69,endpoint:`members-app-uou`,params:e}}function dx(e){return{evid:5001,src:5,endpoint:``,params:e}}function fx(e){return{evid:5002,src:5,endpoint:``,params:e}}function px(e){return{evid:5003,src:5,endpoint:``,params:e}}function mx(e){return{evid:5005,src:5,endpoint:``,params:e}}function hx(e){return{evid:5006,src:5,endpoint:``,params:e}}function gx(e){return{evid:5007,src:5,endpoint:``,params:e}}function _x(e){return{evid:5008,src:5,endpoint:``,params:e}}var vx={EXIT:`exit`,CANCEL:`cancel`,RESET_OR_CREATE_PASSWORD:`reset_or_create_password`},yx=`my_account`,bx=({role:e,isProfilePublic:t})=>({...e?{role:e}:{},is_social:t}),xx=(e,t)=>e?`${e}, ${t}`:t,Sx=e=>e.reduce((e,t)=>t.key===Ub.title?{...e,titleChanged:!0}:t.origin===`SYSTEM`?{...e,systemFieldsChanged:xx(e.systemFieldsChanged,t.label)}:t.origin===`CONTACT`?{...e,contactsFieldsChanges:xx(e.contactsFieldsChanges,t.label)}:e,{}),Cx=(e,t)=>ux({...bx(e),saveOrigin:yx,componentType:`builder`,privacyChanged:!1,urlChanged:!1,...Sx(t)}),wx=()=>dx({}),Tx=()=>fx({}),Ex=()=>px({}),Dx=()=>hx({}),Ox=e=>gx({button_click:e}),kx=(e,t)=>mx({is_success:e,failure_reason:t}),Ax=(e,t)=>_x({is_success:e,failure_reason:t}),jx={NONE:`NONE`,SITE_OWNER:`SITE_OWNER`,SITE_COLLABORATOR:`SITE_COLLABORATOR`},Mx=e=>e?.owner===!0||e?.role===`OWNER`?jx.SITE_OWNER:e?.role===`CONTRIBUTOR`?jx.SITE_COLLABORATOR:jx.NONE,Nx={memberId:``,rawMember:{},loginEmail:``,credentialRestriction:jx.NONE,definitions:[],fieldSections:[],fieldOrigins:{},biMember:{role:``,isProfilePublic:!1}},Px={[ox.LOGIN_EMAIL]:()=>[wx(),Ex()],[ox.PASSWORD]:()=>[Tx(),Dx()]},Fx=(e,t)=>({...e,rawMember:t,loginEmail:t.loginEmail||e.loginEmail,fieldSections:m_({member:t,definitions:e.definitions}),biMember:{...e.biMember,isProfilePublic:t.privacyStatus===`PUBLIC`}}),Ix=async(e,t)=>{try{let n=await t.getMemberDetails?.(),r=(await e.getCurrentMember().catch(e=>{if(Jg(e))return null;throw e}))?.member,i=r?._id;if(!r||!i)return{ok:!0,data:Nx};let[{fields:a},{results:o}]=await Promise.all([e.listCustomFields(),e.getMemberCustomFieldApplications(i)]),s=new Set((o?.[0]?.applications??[]).filter(e=>e.applies).map(e=>e.customFieldKey)),c=(a??[]).filter(e=>s.has(e.key)&&e.fieldOrigin!==`CUSTOM`&&Gb.has(e.key??``)),l=c.map(e=>({id:e._id??e.key??``,key:e.key??``,name:e.name??``,fieldType:String(e.fieldType??``),socialType:e.socialType,section:String(e.section??``)}));return{ok:!0,data:{memberId:i,rawMember:r,loginEmail:r.loginEmail??``,credentialRestriction:Mx(n),definitions:l,fieldSections:m_({member:r,definitions:l}),fieldOrigins:Object.fromEntries(c.map(e=>[e._id??e.key??``,String(e.fieldOrigin??``)])),biMember:{role:n?.role??``,isProfilePublic:r.privacyStatus===`PUBLIC`}}}}catch(e){return{ok:!1,error:kh(e).message,cause:e}}},Lx=({children:e})=>{let t=u(Ba),n=lx(),r=s(()=>$g(t),[t]),a=dl(),d=no(Ah.toasts),f=i(()=>Ix(r,t),[r,t]),[p,h]=l(null),g=c(null),[_,v]=l(!1),[y,b]=l(!1),[x,S]=l({}),[C,ee]=l(0),[w,T]=l(i_),[te,ne]=l(null),[re,ie]=l(null),ae=c(f),oe=c(t),[E,se]=l(0),D=c(0),ce=c(null),le=c(0),O=c(null),[k,ue]=l(!1),de=c(null),A=c(null),j=i(()=>{le.current+=1;let e=le.current,t=D.current;return b(!0),()=>le.current===e&&D.current===t},[]),M=i((e,t)=>{if(t.always?.(),t.isCurrent()){if(b(!1),v(!0),!e.ok){t.onFailed?.(e.error);return}g.current=e.data,h(e.data),t.onCommitted?.()}},[]),N=i(()=>{let e=D.current;return()=>D.current===e},[]);o(()=>{let e=oe.current,t=!0,n=e=>{(e?.id===void 0||e.id!==ce.current)&&(D.current+=1,g.current=null,h(null),v(!1),S({}),ne(null),T(i_),b(!1),O.current=null,ue(!1),A.current?.resolvers.forEach(e=>e(!1)),A.current=null,se(e=>e+1))},r=e=>{if(e?.id!==void 0&&e.id===ce.current)return;let r=g.current?.memberId;if(!r||e?.id!==r){n(e);return}let i=j();ae.current().then(e=>{let n=O.current===D.current,r=g.current;M(e.ok&&n&&r!==null?{ok:!0,data:{...e.data,fieldSections:r.fieldSections}}:e,{isCurrent:()=>t&&i()})})},i=e.addMemberLoginListener?.(n),a=e.addMemberDetailsRefreshListener?.(r);return()=>{t=!1,i!==void 0&&e.removeMemberLoginListener?.(i),a!==void 0&&e.removeMemberDetailsRefreshListener?.(a)}},[j,M]),o(()=>{let e=!0,t=j();return ae.current().then(n=>{M(n,{isCurrent:()=>e&&t(),onFailed:()=>{!n.ok&&g.current===null&&ie({cause:n.cause})}})}),()=>{e=!1}},[E,j,M]);let fe=i((e,t)=>{S(n=>({...n,[e]:t}))},[]),P=p??Nx,F=!!P.memberId&&P.credentialRestriction===jx.NONE,pe=i(e=>{F&&te!==e&&(ne(e),Px[e]().forEach(n))},[F,te,n]),me=i(()=>pe(ox.LOGIN_EMAIL),[pe]),he=i(()=>pe(ox.PASSWORD),[pe]),ge=i(()=>ne(null),[]),I=s(()=>h_(P.fieldSections,x),[P.fieldSections,x]),_e=s(()=>({validity:ix(I)}),[I]),ve=s(()=>p===null?Jb:Zb(I,_e),[p,I,_e]),ye=__(I).length>0||k;o(()=>{if(!ye)return;let e=e=>{e.preventDefault(),e.returnValue=``};return window.addEventListener(`beforeunload`,e),()=>{window.removeEventListener(`beforeunload`,e)}},[ye]);let be=i(async()=>{let e=D.current;if(!P.memberId)return!1;if(ax(I).length)return ee(e=>e+1),!1;let t=__(I);if(O.current===e)return!t.length&&de.current?de.current:new Promise(t=>{let n=A.current??{session:e,drafts:x,resolvers:[]};n.drafts=x,n.resolvers.push(t),A.current=n});if(!t.length)return a.success(d.personalInfoSaved),!0;n(Cx(P.biMember,t.map(e=>({key:e.key,label:e.label,origin:P.fieldOrigins[e.id]??``}))));let i=N(),o=()=>{O.current===e&&(O.current=null,ue(!1))},s=g.current??P,c=x,{member:l,cleared:u}=v_(P.rawMember,I);O.current=e,ue(!0),M({ok:!0,data:{...s,fieldSections:g_(I)}},{isCurrent:j(),onCommitted:()=>S({})});let f=(async()=>{try{let e=P.rawMember;if(Object.keys(l).length&&(e=await r.updateMember(P.memberId,l)),u.includes(`phones`)){let{member:t}=await r.deleteMemberPhones(P.memberId);e=t??e}if(!i())return!1;let t=!1,n=g.current??P;return M({ok:!0,data:Fx(n,{...e,loginEmail:n.loginEmail})},{isCurrent:j(),always:o,onCommitted:()=>{t=!0,a.success(d.personalInfoSaved)}}),t}catch(e){if(!i())return!1;let t=g.current??s;return M({ok:!0,data:{...t,rawMember:s.rawMember,fieldSections:s.fieldSections,biMember:s.biMember}},{isCurrent:j(),always:o,onCommitted:()=>S(e=>({...c,...e}))}),a.error(kh(e).message),!1}finally{o()}})();return de.current=f,f},[x,I,P,N,j,n,r,M,d.personalInfoSaved,a]);o(()=>{let e=A.current;if(!k&&e){if(A.current=null,e.session!==D.current){e.resolvers.forEach(e=>e(!1));return}be().then(t=>e.resolvers.forEach(e=>e(t)))}},[k,be]);let xe=i(async(e,t)=>{if(!F)return!1;let i=N();T({isSaving:!0,error:null});try{if(await r.verifyPassword(P.loginEmail,t),!i())return!1;let{member:o}=await r.changeLoginEmail(P.memberId,e);if(!i())return!1;n(kx(!0));let s=g.current??P,c=!1;return M({ok:!0,data:{...Fx(s,{...s.rawMember,loginEmail:o?.loginEmail||e}),fieldSections:s.fieldSections}},{isCurrent:j(),always:()=>T(e=>({...e,isSaving:!1})),onCommitted:()=>{T(i_),c=!0,a.success(d.loginEmailChanged)}}),c}catch(e){if(!i())return!1;let t=qg(e);return n(kx(!1,t)),T({isSaving:!1,error:t}),t===Q.UNKNOWN&&a.error(kh(e).message),!1}},[F,P,N,j,n,r,M,d.loginEmailChanged,a]),Se=i(async(e,t)=>{if(!F)return!1;let i=N();T({isSaving:!0,error:null});try{ce.current=P.memberId;try{await r.signInAgain(P.loginEmail,e)}finally{ce.current=null}return!i()||(await r.changePassword(t),!i())?!1:(n(Ax(!0)),T(i_),a.success(d.passwordChanged),!0)}catch(e){if(!i())return!1;let t=qg(e);return n(Ax(!1,t)),T({isSaving:!1,error:t}),e instanceof Qg?a.error(d.passwordSignInUnconfirmed):t===Q.UNKNOWN&&a.error(kh(e).message),!1}},[F,P,N,n,r,d.passwordChanged,d.passwordSignInUnconfirmed,a]),Ce=i(async()=>{if(!F)return!1;n(Ox(vx.RESET_OR_CREATE_PASSWORD));let e=N();T({isSaving:!0,error:null});try{return await r.sendSetPasswordEmail(P.loginEmail),e()?(T(i_),a.success(d.setPasswordEmailSent),!0):!1}catch(t){if(!e())return!1;let n=qg(t);return T({isSaving:!1,error:n}),n===Q.UNKNOWN&&a.error(kh(t).message),!1}},[F,P,N,n,r,d.setPasswordEmailSent,a]),we=s(()=>{let e=!!P.memberId,t=t=>p===null?void 0:e?t:null;return{isLoading:!_||y,...ve,focusRequest:C,updateNamedField:(e,t)=>{let n=Qb(I,e);n&&fe(n,String(t.target.value??``))},loginEmail:t(P.loginEmail||null),credentialRestriction:t(P.credentialRestriction),credentialSaving:w.isSaving,credentialError:w.error,credentialDialog:te,openChangeLoginEmailDialog:me,openChangePasswordDialog:he,closeCredentialDialog:ge,savePersonalInfo:be,changeLoginEmail:xe,changePassword:Se,sendSetPasswordEmail:Ce}},[p,_,P,I,ve,C,fe,y,w,te,me,he,ge,be,xe,Se,Ce]);if(re)throw re.cause;return m(a_.Provider,{value:we,children:[e,a.themeAnchor]})};Lx.displayName=`AccountSettingsProviderBody`;var Rx=({children:e})=>{let t=Qa($a);return p(Ra,{i18n:t,children:p(Lx,{children:e})})},zx=On(`f8f3ae80-3fdf-4c8f-a197-d3bb73f04444`);export{a_ as AccountSettingsContext,ox as CREDENTIAL_DIALOG,Q as CREDENTIAL_ERROR,r_ as FIELD_KIND,Ub as NAMED_FIELD_KEYS,n_ as SECTION_KIND,Rx as default,zx as injectAccessTokenGetter,o_ as useAccountSettings};
14
+ //# sourceMappingURL=context-provider-f8f3ae80-3fdf-4c8f-a197-d3bb73f04444-DXfgM0Hw.js.map