@plyaz/config 1.7.14 → 1.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db/index.cjs.map +1 -1
- package/dist/db/index.mjs.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/payments/gateway.d.ts +0 -7
- package/dist/payments/gateway.d.ts.map +1 -1
- package/dist/payments/index.cjs +2 -1
- package/dist/payments/index.cjs.map +1 -1
- package/dist/payments/index.mjs +3 -2
- package/dist/payments/index.mjs.map +1 -1
- package/dist/payments/providers/stripe/config.d.ts +3 -0
- package/dist/payments/providers/stripe/config.d.ts.map +1 -0
- package/dist/payments/providers/stripe/index.d.ts +1 -0
- package/dist/payments/providers/stripe/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/db/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/db/constants.ts","../../src/db/config.ts"],"names":["NUMERIX","dynamicPoolDefaultConfig"],"mappings":";AAsCO,IAAMA,CAAAA,CAAU,CACrB,GAAA,CAAK,CAAA,CACL,IAAA,CAAM,CAAA,CACN,IAAA,CAAM,CAAA,CACN,GAAA,CAAK,EAAA,CACL,WAAA,CAAa,EAAA,CACb,UAAA,CAAY,GACZ,KAAA,CAAO,EAAA,CACP,MAAA,CAAQ,EAAA,CACR,OAAA,CAAS,GAAA,CACT,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,GAAA,CACV,kBAAA,CAAoB,IAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAS,EAAA,CACT,eAAA,CAAiB,GACnB,ECnDO,IAAMC,CAAAA,CAA2B,CACtC,GAAA,CAAK,CAAA,CACL,GAAA,CAAK,EAAA,CACL,iBAAA,CAAmB,GAAA,CACnB,oBAAA,CAAsB,IACtB,OAAA,CAAS,CACP,OAAA,CAAS,IAAA,CACT,gBAAA,CAAkB,EAAA,CAClB,kBAAA,CAAoB,EAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,CACZ,CACF","file":"index.cjs","sourcesContent":["/**\n * A centralized collection of numeric constants used to avoid magic numbers across the codebase.\n *\n * Purpose:\n * - Provide named aliases for common numeric values so intent is clearer and maintenance is easier.\n * - Keep commonly used numeric literals (counts, thresholds, time durations, limits) in one place.\n *\n * Typical uses:\n * - Time and duration calculations (e.g., seconds/minutes/hours, TTLs, timeouts).\n * - Pagination, limit and capacity defaults.\n * - Validation thresholds, scaling factors and numeric formatting.\n * - Bit/byte or base arithmetic where small numeric constants improve readability.\n *\n * Properties (brief intent and common usage):\n * - TWO (2) — small counts, boolean-like numeric operations, pair-related logic.\n * - FIVE (5) — small retry counts or UI/validation limits.\n * - NINE (9) — index/format boundaries or small-range checks.\n * - TEN (10) — decimal/base operations, digit limits, common loop bounds.\n * - SIXTEEN (16) — bit/hex operations, buffer sizes or base-16 related math.\n * - TWENTY_FOUR (24) — hours-in-day, daily calculations.\n * - THIRTY_SIX (36) — base-36 or domain-specific scaling factors.\n * - SIXTY (60) — seconds/minutes conversions.\n * - NINETY (90) — percentage/angle thresholds or large-range caps.\n * - HUNDERD (100) — percentage base or general scaling (note: name preserved for backward compatibility).\n * - THOUSAND (1000) — millisecond/rounding bases or thousand-scale thresholds.\n * - FIVE_THOUSAND (5000) — medium-duration timeouts or capacity hints (e.g., ms).\n * - THREE_HUNDERD (300) — short timeouts or conventional numeric boundaries (name preserved).\n * - THIRTY_SIX_HUNDERD (3600) — seconds-per-hour; common default TTL/cache durations (3600 seconds).\n * - THIRTY_THOUSAND (30000) — longer timeouts/polling intervals in milliseconds.\n *\n * Remarks:\n * - Using these constants improves readability and makes it easier to change a value in one place.\n * - Several keys contain spelling inconsistencies (e.g., \"HUNDERD\", \"THREE_HUNDERD\", \"THIRTY_SIX_HUNDERD\") — keep names stable to avoid breaking callers; consider normalizing names in a planned refactor.\n *\n * Example:\n * - const timeoutMs = digits.FIVE_THOUSAND; // use 5000 ms timeout\n * - const hourlySeconds = digits.THIRTY_SIX_HUNDERD; // use 3600 seconds for TTL\n */\nexport const NUMERIX = {\n TWO: 2,\n FIVE: 5,\n NINE: 9,\n TEN: 10,\n TWENTY_FOUR: 24,\n THIRTY_SIX: 36,\n SIXTY: 60,\n NINETY: 90,\n HUNDERD: 100,\n FIVE_THOUSAND: 5000,\n THOUSAND: 1000,\n THIRTY_SIX_HUNDERD: 3600,\n THREE_HUNDERD: 300,\n SIXTEEN: 16,\n THIRTY_THOUSAND: 30000,\n};\n","// Default configuration for the dynamic PostgreSQL connection pool.\n// Defines minimum/maximum connections, timeouts, and auto-scaling thresholds\n// to maintain optimal performance and resource utilization.\nexport const dynamicPoolDefaultConfig = {\n min: 2,\n max: 10,\n idleTimeoutMillis: 30000,\n acquireTimeoutMillis: 10000,\n scaling: {\n enabled: true,\n scaleUpThreshold: 80,
|
|
1
|
+
{"version":3,"sources":["../../src/db/constants.ts","../../src/db/config.ts"],"names":["NUMERIX","dynamicPoolDefaultConfig"],"mappings":";AAsCO,IAAMA,CAAAA,CAAU,CACrB,GAAA,CAAK,CAAA,CACL,IAAA,CAAM,CAAA,CACN,IAAA,CAAM,CAAA,CACN,GAAA,CAAK,EAAA,CACL,WAAA,CAAa,EAAA,CACb,UAAA,CAAY,GACZ,KAAA,CAAO,EAAA,CACP,MAAA,CAAQ,EAAA,CACR,OAAA,CAAS,GAAA,CACT,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,GAAA,CACV,kBAAA,CAAoB,IAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAS,EAAA,CACT,eAAA,CAAiB,GACnB,ECnDO,IAAMC,CAAAA,CAA2B,CACtC,GAAA,CAAK,CAAA,CACL,GAAA,CAAK,EAAA,CACL,iBAAA,CAAmB,GAAA,CACnB,oBAAA,CAAsB,IACtB,OAAA,CAAS,CACP,OAAA,CAAS,IAAA,CACT,gBAAA,CAAkB,EAAA,CAClB,kBAAA,CAAoB,EAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,CACZ,CACF","file":"index.cjs","sourcesContent":["/**\n * A centralized collection of numeric constants used to avoid magic numbers across the codebase.\n *\n * Purpose:\n * - Provide named aliases for common numeric values so intent is clearer and maintenance is easier.\n * - Keep commonly used numeric literals (counts, thresholds, time durations, limits) in one place.\n *\n * Typical uses:\n * - Time and duration calculations (e.g., seconds/minutes/hours, TTLs, timeouts).\n * - Pagination, limit and capacity defaults.\n * - Validation thresholds, scaling factors and numeric formatting.\n * - Bit/byte or base arithmetic where small numeric constants improve readability.\n *\n * Properties (brief intent and common usage):\n * - TWO (2) — small counts, boolean-like numeric operations, pair-related logic.\n * - FIVE (5) — small retry counts or UI/validation limits.\n * - NINE (9) — index/format boundaries or small-range checks.\n * - TEN (10) — decimal/base operations, digit limits, common loop bounds.\n * - SIXTEEN (16) — bit/hex operations, buffer sizes or base-16 related math.\n * - TWENTY_FOUR (24) — hours-in-day, daily calculations.\n * - THIRTY_SIX (36) — base-36 or domain-specific scaling factors.\n * - SIXTY (60) — seconds/minutes conversions.\n * - NINETY (90) — percentage/angle thresholds or large-range caps.\n * - HUNDERD (100) — percentage base or general scaling (note: name preserved for backward compatibility).\n * - THOUSAND (1000) — millisecond/rounding bases or thousand-scale thresholds.\n * - FIVE_THOUSAND (5000) — medium-duration timeouts or capacity hints (e.g., ms).\n * - THREE_HUNDERD (300) — short timeouts or conventional numeric boundaries (name preserved).\n * - THIRTY_SIX_HUNDERD (3600) — seconds-per-hour; common default TTL/cache durations (3600 seconds).\n * - THIRTY_THOUSAND (30000) — longer timeouts/polling intervals in milliseconds.\n *\n * Remarks:\n * - Using these constants improves readability and makes it easier to change a value in one place.\n * - Several keys contain spelling inconsistencies (e.g., \"HUNDERD\", \"THREE_HUNDERD\", \"THIRTY_SIX_HUNDERD\") — keep names stable to avoid breaking callers; consider normalizing names in a planned refactor.\n *\n * Example:\n * - const timeoutMs = digits.FIVE_THOUSAND; // use 5000 ms timeout\n * - const hourlySeconds = digits.THIRTY_SIX_HUNDERD; // use 3600 seconds for TTL\n */\nexport const NUMERIX = {\n TWO: 2,\n FIVE: 5,\n NINE: 9,\n TEN: 10,\n TWENTY_FOUR: 24,\n THIRTY_SIX: 36,\n SIXTY: 60,\n NINETY: 90,\n HUNDERD: 100,\n FIVE_THOUSAND: 5000,\n THOUSAND: 1000,\n THIRTY_SIX_HUNDERD: 3600,\n THREE_HUNDERD: 300,\n SIXTEEN: 16,\n THIRTY_THOUSAND: 30000,\n};\n","// Default configuration for the dynamic PostgreSQL connection pool.\n// Defines minimum/maximum connections, timeouts, and auto-scaling thresholds\n// to maintain optimal performance and resource utilization.\nexport const dynamicPoolDefaultConfig = {\n min: 2,\n max: 10,\n idleTimeoutMillis: 30000,\n acquireTimeoutMillis: 10000,\n scaling: {\n enabled: true,\n scaleUpThreshold: 80, // Scale up when pool usage exceeds 80%\n scaleDownThreshold: 20, // Scale down when usage drops below 20%\n scaleInterval: 30000, // Interval (ms) to check scaling conditions\n maxScale: 2, // Maximum scaling multiplier\n },\n};\n"]}
|
package/dist/db/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/db/constants.ts","../../src/db/config.ts"],"names":["NUMERIX","dynamicPoolDefaultConfig"],"mappings":";AAsCO,IAAMA,CAAAA,CAAU,CACrB,GAAA,CAAK,CAAA,CACL,IAAA,CAAM,CAAA,CACN,IAAA,CAAM,CAAA,CACN,GAAA,CAAK,EAAA,CACL,WAAA,CAAa,EAAA,CACb,UAAA,CAAY,GACZ,KAAA,CAAO,EAAA,CACP,MAAA,CAAQ,EAAA,CACR,OAAA,CAAS,GAAA,CACT,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,GAAA,CACV,kBAAA,CAAoB,IAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAS,EAAA,CACT,eAAA,CAAiB,GACnB,ECnDO,IAAMC,CAAAA,CAA2B,CACtC,GAAA,CAAK,CAAA,CACL,GAAA,CAAK,EAAA,CACL,iBAAA,CAAmB,GAAA,CACnB,oBAAA,CAAsB,IACtB,OAAA,CAAS,CACP,OAAA,CAAS,IAAA,CACT,gBAAA,CAAkB,EAAA,CAClB,kBAAA,CAAoB,EAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,CACZ,CACF","file":"index.mjs","sourcesContent":["/**\n * A centralized collection of numeric constants used to avoid magic numbers across the codebase.\n *\n * Purpose:\n * - Provide named aliases for common numeric values so intent is clearer and maintenance is easier.\n * - Keep commonly used numeric literals (counts, thresholds, time durations, limits) in one place.\n *\n * Typical uses:\n * - Time and duration calculations (e.g., seconds/minutes/hours, TTLs, timeouts).\n * - Pagination, limit and capacity defaults.\n * - Validation thresholds, scaling factors and numeric formatting.\n * - Bit/byte or base arithmetic where small numeric constants improve readability.\n *\n * Properties (brief intent and common usage):\n * - TWO (2) — small counts, boolean-like numeric operations, pair-related logic.\n * - FIVE (5) — small retry counts or UI/validation limits.\n * - NINE (9) — index/format boundaries or small-range checks.\n * - TEN (10) — decimal/base operations, digit limits, common loop bounds.\n * - SIXTEEN (16) — bit/hex operations, buffer sizes or base-16 related math.\n * - TWENTY_FOUR (24) — hours-in-day, daily calculations.\n * - THIRTY_SIX (36) — base-36 or domain-specific scaling factors.\n * - SIXTY (60) — seconds/minutes conversions.\n * - NINETY (90) — percentage/angle thresholds or large-range caps.\n * - HUNDERD (100) — percentage base or general scaling (note: name preserved for backward compatibility).\n * - THOUSAND (1000) — millisecond/rounding bases or thousand-scale thresholds.\n * - FIVE_THOUSAND (5000) — medium-duration timeouts or capacity hints (e.g., ms).\n * - THREE_HUNDERD (300) — short timeouts or conventional numeric boundaries (name preserved).\n * - THIRTY_SIX_HUNDERD (3600) — seconds-per-hour; common default TTL/cache durations (3600 seconds).\n * - THIRTY_THOUSAND (30000) — longer timeouts/polling intervals in milliseconds.\n *\n * Remarks:\n * - Using these constants improves readability and makes it easier to change a value in one place.\n * - Several keys contain spelling inconsistencies (e.g., \"HUNDERD\", \"THREE_HUNDERD\", \"THIRTY_SIX_HUNDERD\") — keep names stable to avoid breaking callers; consider normalizing names in a planned refactor.\n *\n * Example:\n * - const timeoutMs = digits.FIVE_THOUSAND; // use 5000 ms timeout\n * - const hourlySeconds = digits.THIRTY_SIX_HUNDERD; // use 3600 seconds for TTL\n */\nexport const NUMERIX = {\n TWO: 2,\n FIVE: 5,\n NINE: 9,\n TEN: 10,\n TWENTY_FOUR: 24,\n THIRTY_SIX: 36,\n SIXTY: 60,\n NINETY: 90,\n HUNDERD: 100,\n FIVE_THOUSAND: 5000,\n THOUSAND: 1000,\n THIRTY_SIX_HUNDERD: 3600,\n THREE_HUNDERD: 300,\n SIXTEEN: 16,\n THIRTY_THOUSAND: 30000,\n};\n","// Default configuration for the dynamic PostgreSQL connection pool.\n// Defines minimum/maximum connections, timeouts, and auto-scaling thresholds\n// to maintain optimal performance and resource utilization.\nexport const dynamicPoolDefaultConfig = {\n min: 2,\n max: 10,\n idleTimeoutMillis: 30000,\n acquireTimeoutMillis: 10000,\n scaling: {\n enabled: true,\n scaleUpThreshold: 80,
|
|
1
|
+
{"version":3,"sources":["../../src/db/constants.ts","../../src/db/config.ts"],"names":["NUMERIX","dynamicPoolDefaultConfig"],"mappings":";AAsCO,IAAMA,CAAAA,CAAU,CACrB,GAAA,CAAK,CAAA,CACL,IAAA,CAAM,CAAA,CACN,IAAA,CAAM,CAAA,CACN,GAAA,CAAK,EAAA,CACL,WAAA,CAAa,EAAA,CACb,UAAA,CAAY,GACZ,KAAA,CAAO,EAAA,CACP,MAAA,CAAQ,EAAA,CACR,OAAA,CAAS,GAAA,CACT,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,GAAA,CACV,kBAAA,CAAoB,IAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAS,EAAA,CACT,eAAA,CAAiB,GACnB,ECnDO,IAAMC,CAAAA,CAA2B,CACtC,GAAA,CAAK,CAAA,CACL,GAAA,CAAK,EAAA,CACL,iBAAA,CAAmB,GAAA,CACnB,oBAAA,CAAsB,IACtB,OAAA,CAAS,CACP,OAAA,CAAS,IAAA,CACT,gBAAA,CAAkB,EAAA,CAClB,kBAAA,CAAoB,EAAA,CACpB,aAAA,CAAe,GAAA,CACf,QAAA,CAAU,CACZ,CACF","file":"index.mjs","sourcesContent":["/**\n * A centralized collection of numeric constants used to avoid magic numbers across the codebase.\n *\n * Purpose:\n * - Provide named aliases for common numeric values so intent is clearer and maintenance is easier.\n * - Keep commonly used numeric literals (counts, thresholds, time durations, limits) in one place.\n *\n * Typical uses:\n * - Time and duration calculations (e.g., seconds/minutes/hours, TTLs, timeouts).\n * - Pagination, limit and capacity defaults.\n * - Validation thresholds, scaling factors and numeric formatting.\n * - Bit/byte or base arithmetic where small numeric constants improve readability.\n *\n * Properties (brief intent and common usage):\n * - TWO (2) — small counts, boolean-like numeric operations, pair-related logic.\n * - FIVE (5) — small retry counts or UI/validation limits.\n * - NINE (9) — index/format boundaries or small-range checks.\n * - TEN (10) — decimal/base operations, digit limits, common loop bounds.\n * - SIXTEEN (16) — bit/hex operations, buffer sizes or base-16 related math.\n * - TWENTY_FOUR (24) — hours-in-day, daily calculations.\n * - THIRTY_SIX (36) — base-36 or domain-specific scaling factors.\n * - SIXTY (60) — seconds/minutes conversions.\n * - NINETY (90) — percentage/angle thresholds or large-range caps.\n * - HUNDERD (100) — percentage base or general scaling (note: name preserved for backward compatibility).\n * - THOUSAND (1000) — millisecond/rounding bases or thousand-scale thresholds.\n * - FIVE_THOUSAND (5000) — medium-duration timeouts or capacity hints (e.g., ms).\n * - THREE_HUNDERD (300) — short timeouts or conventional numeric boundaries (name preserved).\n * - THIRTY_SIX_HUNDERD (3600) — seconds-per-hour; common default TTL/cache durations (3600 seconds).\n * - THIRTY_THOUSAND (30000) — longer timeouts/polling intervals in milliseconds.\n *\n * Remarks:\n * - Using these constants improves readability and makes it easier to change a value in one place.\n * - Several keys contain spelling inconsistencies (e.g., \"HUNDERD\", \"THREE_HUNDERD\", \"THIRTY_SIX_HUNDERD\") — keep names stable to avoid breaking callers; consider normalizing names in a planned refactor.\n *\n * Example:\n * - const timeoutMs = digits.FIVE_THOUSAND; // use 5000 ms timeout\n * - const hourlySeconds = digits.THIRTY_SIX_HUNDERD; // use 3600 seconds for TTL\n */\nexport const NUMERIX = {\n TWO: 2,\n FIVE: 5,\n NINE: 9,\n TEN: 10,\n TWENTY_FOUR: 24,\n THIRTY_SIX: 36,\n SIXTY: 60,\n NINETY: 90,\n HUNDERD: 100,\n FIVE_THOUSAND: 5000,\n THOUSAND: 1000,\n THIRTY_SIX_HUNDERD: 3600,\n THREE_HUNDERD: 300,\n SIXTEEN: 16,\n THIRTY_THOUSAND: 30000,\n};\n","// Default configuration for the dynamic PostgreSQL connection pool.\n// Defines minimum/maximum connections, timeouts, and auto-scaling thresholds\n// to maintain optimal performance and resource utilization.\nexport const dynamicPoolDefaultConfig = {\n min: 2,\n max: 10,\n idleTimeoutMillis: 30000,\n acquireTimeoutMillis: 10000,\n scaling: {\n enabled: true,\n scaleUpThreshold: 80, // Scale up when pool usage exceeds 80%\n scaleDownThreshold: 20, // Scale down when usage drops below 20%\n scaleInterval: 30000, // Interval (ms) to check scaling conditions\n maxScale: 2, // Maximum scaling multiplier\n },\n};\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';var chains=require('viem/chains'),types=require('@plyaz/types');// @plyaz package - Built with tsup
|
|
2
|
-
var
|
|
2
|
+
var l=Object.defineProperty;var r=(t,T)=>l(t,"name",{value:T,configurable:true});var h=typeof window>"u",N=globalThis.process.env.NODE_ENV==="development",K=globalThis.process.env.NODE_ENV==="production",v=globalThis.process.env.NODE_ENV==="test";var k={apiKey:globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY,rpcUrls:{ethereum:`https://eth-mainnet.g.alchemy.com/v2/${globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY}`,polygon:`https://polygon-mainnet.g.alchemy.com/v2/${globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY}`,arbitrum:`https://arb-mainnet.g.alchemy.com/v2/${globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY}`,optimism:`https://opt-mainnet.g.alchemy.com/v2/${globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY}`,base:`https://base-mainnet.g.alchemy.com/v2/${globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY}`,solana:`https://solana-mainnet.g.alchemy.com/v2/${globalThis.process.env.NEXT_PUBLIC_ALCHEMY_KEY}`}};var W={google:{clientId:globalThis.process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID,clientSecret:globalThis.process.env.GOOGLE_CLIENT_SECRET,redirectUri:globalThis.process.env.NEXT_PUBLIC_GOOGLE_REDIRECT_URI,scopes:["openid","profile","email"]},discord:{clientId:globalThis.process.env.NEXT_PUBLIC_DISCORD_CLIENT_ID,clientSecret:globalThis.process.env.DISCORD_CLIENT_SECRET,redirectUri:globalThis.process.env.NEXT_PUBLIC_DISCORD_REDIRECT_URI,scopes:["identify","email"]},facebook:{clientId:globalThis.process.env.NEXT_PUBLIC_FACEBOOK_CLIENT_ID,clientSecret:globalThis.process.env.FACEBOOK_CLIENT_SECRET,redirectUri:globalThis.process.env.NEXT_PUBLIC_FACEBOOK_REDIRECT_URI,scopes:["public_profile","email"]}};var $={nftManager:{read:{arbitrum:""},write:{arbitrum:""}},tokenManager:{read:{arbitrum:""},write:{arbitrum:""}}};var j={ethereum:chains.mainnet},ee={ethereum:chains.mainnet,sepolia:chains.sepolia},oe={sepolia:chains.sepolia};var ie={AUTH_GOOGLE:true,AUTH_DISCORD:N,AUTH_FACEBOOK:false,AUTH_GITHUB:true},Te={provider:"database",isCacheEnabled:true,cacheTtl:300,refreshInterval:60,shouldFallbackToDefaults:true,isLoggingEnabled:globalThis.process.env.NODE_ENV==="development"},Ae={provider:"memory",isCacheEnabled:true,cacheTtl:300,refreshInterval:0,shouldFallbackToDefaults:true,isLoggingEnabled:false},se=100,_e=300,ce=6e4,Se=1e3,Re=.1,Ne={MEMORY:"memory",FILE:"file",REDIS:"redis",API:"api",DATABASE:"database"},Ie={JSON:"json",YAML:"yaml"},ue={DEFAULT:"src/config/feature-provider.json",JSON_EXAMPLE:"src/config/feature-provider.json.example",YAML_EXAMPLE:"src/config/feature-provider.yaml.example"},pe={DEFAULT:"default",OVERRIDE:"override",RULE_MATCH:"rule_match",FLAG_DISABLED:"flag_disabled",ERROR:"error"};var Ce={app:"https://plyaz.co.uk",api:globalThis.process.env.NEXT_PUBLIC_API_URL};var S="en",R=["en","es","pt"],De="America/Sao_Paulo",Le=-3,ye="BR",ge="BRL",de="en";var Pe={NAME:"Plyaz",VERSION:"1.0.0",DEFAULT_LOCALE:"en",SUPPORTED_LOCALES:R},me={NAME:"Plyaz The App",VERSION:"1.0.0",DEFAULT_LOCALE:"en",SUPPORTED_LOCALES:R};var He={BLOCKED_REGIONS:["KP","SY","IR","CU","SD","SO","UA-CR","UA-DP","UA-LU"]};var Fe={RANDOM_STRING_START:2,RANDOM_STRING_LENGTH:9,UUID_RANDOM_MULTIPLIER:16,UUID_HEX_MASK:3,UUID_HEX_OR_VALUE:8},xe={JSON_INDENT_SPACES:2,CODE_INDENT_SPACES:2,TAB_SIZE:4,MAX_LINE_LENGTH:80,PRETTIER_LINE_WIDTH:100,DEFAULT_ENCODING:"utf-8",LINE_ENDING_LF:`
|
|
3
3
|
`,LINE_ENDING_CRLF:`\r
|
|
4
4
|
`,EXTENSION_JSON:".json",EXTENSION_JS:".js",EXTENSION_TS:".ts",EXTENSION_TSX:".tsx",EXTENSION_JSX:".jsx",EXTENSION_CSS:".css",EXTENSION_SCSS:".scss",EXTENSION_MD:".md",EXTENSION_YML:".yml",EXTENSION_YAML:".yaml",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',BACKTICK:"`",COMMA:",",SEMICOLON:";",COLON:":",DOT:".",SLASH:"/",BACKSLASH:"\\",UNDERSCORE:"_",HYPHEN:"-",PIPE:"|",SPACE:" ",EMPTY_STRING:"",TAB:" ",NEWLINE:`
|
|
5
|
-
`,CARRIAGE_RETURN:"\r",FORM_FEED:"\f",VERTICAL_TAB:"\v",OPEN_PAREN:"(",CLOSE_PAREN:")",OPEN_BRACKET:"[",CLOSE_BRACKET:"]",OPEN_BRACE:"{",CLOSE_BRACE:"}",OPEN_ANGLE:"<",CLOSE_ANGLE:">"};var Be={ARRAY_SPLIT_CENTER:.5,DEFAULT_PAGE_SIZE:10,DEFAULT_MAX_RETRIES:3,THREE_ITEMS:3};var Ke={FNV_32_PRIME:16777619,FNV_32_OFFSET:2166136261,FNV_64_PRIME:BigInt("0x100000001b3"),FNV_64_OFFSET:BigInt("0xcbf29ce484222325"),MASK_32:4294967295,BITS_32:32,BITS_64:64},ve={MAX_SAFE_SEED:2147483647,MAX_UINT32:4294967295},Xe={DEFAULT_BUCKET_COUNT:10,DEFAULT_PERCENTAGE_BUCKETS:100,HASH_SHIFT:5},Ve={SHA1_LENGTH:20,SHA256_LENGTH:32,SHA384_LENGTH:48,SHA512_LENGTH:64,SHA_BLOCK_SIZE:64,SHA512_BLOCK_SIZE:128},ke={MD5_LENGTH:16,MD5_BLOCK_SIZE:64},We={HEX:"hex",BASE64:"base64",BASE64URL:"base64url",BINARY:"binary",UTF8:"utf8"},we={MD5:"md5",SHA1:"sha1",SHA256:"sha256",SHA384:"sha384",SHA512:"sha512",SHA3_256:"sha3-256",SHA3_384:"sha3-384",SHA3_512:"sha3-512",BLAKE2B:"blake2b",BLAKE2S:"blake2s",FNV1A_32:"fnv1a-32",FNV1A_64:"fnv1a-64"},Ze={MURMUR3_32_SEED:0,MURMUR3_32_C1:3432918353,MURMUR3_32_C2:461845907,MURMUR3_32_R1:15,MURMUR3_32_R2:13,MURMUR3_32_M:5,MURMUR3_32_N:3864292196},Je={CRC32_POLYNOMIAL:3988292384,CRC32_INITIAL:4294967295,CRC32_XOR_OUTPUT:4294967295,CRC16_POLYNOMIAL:40961,CRC16_INITIAL:0};var E={MILLISECOND:1,SECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,WEEK:6048e5,MONTH:2592e6,YEAR:31536e6,MILLISECONDS_PER_SECOND:1e3,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,DAYS_PER_WEEK:7,DAYS_PER_MONTH:30,DAYS_PER_YEAR:365,WEEKS_PER_YEAR:52,MONTHS_PER_YEAR:12,HUNDRED_MS:100,QUARTER_SECOND:250,HALF_SECOND:500,TWO_SECONDS:2e3,THREE_SECONDS:3e3,FIVE_SECONDS:5e3,TEN_SECONDS:1e4,THIRTY_SECONDS:3e4,TWO_MINUTES:12e4,FIVE_MINUTES:3e5,TEN_MINUTES:6e5,FIFTEEN_MINUTES:9e5,THIRTY_MINUTES:18e5,ONE_HOUR:36e5,TWO_HOURS:72e5,SIX_HOURS:216e5,TWELVE_HOURS:432e5,DEFAULT_TIMEOUT:5e3,DEFAULT_SHORT_TIMEOUT:1e3,DEFAULT_LONG_TIMEOUT:3e4,DEFAULT_RETRY_DELAY:100,DEFAULT_BACKOFF_BASE:1e3,DEFAULT_MAX_BACKOFF:3e4,DEFAULT_RETRY_ATTEMPTS:3,DEFAULT_DEBOUNCE_DELAY:50,DEFAULT_THROTTLE_DELAY:100,DEFAULT_ANIMATION_FRAME:16.67,DEFAULT_TRANSITION_DURATION:300,DEFAULT_CACHE_TTL:300,DEFAULT_SHORT_CACHE_TTL:60,DEFAULT_LONG_CACHE_TTL:3600,DEFAULT_SESSION_TIMEOUT:18e5,DEFAULT_IDLE_TIMEOUT:9e5,DEFAULT_POLL_INTERVAL:5e3,DEFAULT_HEARTBEAT_INTERVAL:3e4,DEFAULT_PORT:3e3,HTTP_PORT:80,HTTPS_PORT:443,WEBSOCKET_PORT:8080,DATABASE_PORT:5432,REDIS_PORT:6379,WEBSOCKET_CLOSE_NORMAL:1e3,WEBSOCKET_CLOSE_GOING_AWAY:1001,WEBSOCKET_CLOSE_PROTOCOL_ERROR:1002,WEBSOCKET_CLOSE_UNSUPPORTED:1003,WEBSOCKET_CLOSE_ABNORMAL:1006,WEBSOCKET_RETRY_DELAY:500,WEBSOCKET_PING_INTERVAL:3e4,WEBSOCKET_RECONNECT_DELAY:1e3,WEBSOCKET_MAX_RECONNECT_DELAY:3e4};var n={BINARY_BASE:2,OCTAL_BASE:8,DECIMAL_BASE:10,DUODECIMAL_BASE:12,HEX_BASE:16,BASE32:32,BASE36:36,BASE58:58,BASE62:62,BASE64:64,HEX_PAD_LENGTH:2,HEX_COLOR_LENGTH:6,HEX_COLOR_ALPHA_LENGTH:8,BITS_PER_BYTE:8,BITS_PER_NIBBLE:4,BYTES_PER_KB:1024,BYTES_PER_MB:1048576,BYTES_PER_GB:1073741824,CURRENCY_DECIMAL_PLACES:2,PERCENTAGE_DECIMAL_PLACES:2,COORDINATE_DECIMAL_PLACES:6,MAX_SAFE_INTEGER:9007199254740991,MIN_SAFE_INTEGER:-9007199254740991,MAX_INT32:2147483647,MIN_INT32:-2147483648,MAX_UINT16:65535,MAX_UINT8:255,DEGREES_FULL_CIRCLE:360,DEGREES_HALF_CIRCLE:180,DEGREES_RIGHT_ANGLE:90,DEGREES_PER_RADIAN:57.29577951308232,RADIANS_PER_DEGREE:.017453292519943295,PI:3.141592653589793,TWO_PI:6.283185307179586,HALF_PI:1.5707963267948966,E:2.718281828459045,GOLDEN_RATIO:1.618033988749895,SQRT2:1.4142135623730951,SQRT3:1.7320508075688772,LN2:.6931471805599453,LN10:2.302585092994046,LOG2E:1.4426950408889634,LOG10E:.4342944819032518},_o={PERCENTAGE_MAX:100,HALF:.5,TENTH:.1,TWENTIETH:.05,PERCENT_95:.95,PERCENT_99:.99,QUADRATIC_THRESHOLD:1.5,EXPONENTIAL_THRESHOLD:3,VARIANCE_MULTIPLIER:4,VARIANCE_OFFSET:2},so={ONE_AND_HALF:1.5,DOUBLE:2,TRIPLE:3,QUADRUPLE:4,QUINTUPLE:5,TEN:10},Ro={MILLISECONDS_PER_SECOND:1e3,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,NEGATIVE_ONE:-1,ZERO:0,ONE:1,TWO:2,THREE:3,FIVE:5,TEN:10};var Io={MEMORY_LEAK_THRESHOLD:.1,DEFAULT_BENCHMARK_RUNS:100,DEFAULT_WARMUP_RUNS:10};var Co={IPV4_OCTET_MIN:1,IPV4_OCTET_MAX:255,IPV4_OCTET_COUNT:4,RANDOM_BYTE_MAX:256,DEFAULT_PROCESS_ID_MAX:1e4},po={EXCELLENT:50,GOOD:150,FAIR:400},lo={EXCELLENT:10,GOOD:2,FAIR:.5},uo={EXCELLENT:100,GOOD:75,FAIR:50,POOR:25,OFFLINE:0},Do={FAST:15e3,MEDIUM:3e4,SLOW:6e4,VERY_SLOW:9e4,OFFLINE:5e3},Lo={SHORT:300,MEDIUM:600,LONG:1800},go={SHORT:60,MEDIUM:300,LONG:900},yo={AGGRESSIVE:1e3,BALANCED:2e3,CONSERVATIVE:5e3},Mo={FEW:2,STANDARD:3,MANY:5},Uo={SHORT:1e3,LONG:2e3,MAX:3e4},Po={SMALL:1.5,MEDIUM:2,LARGE:2.5},fo={HUGE:50,LARGE:25,MEDIUM:10,SMALL:5,NONE:0},mo={HUGE:100,LARGE:50,MEDIUM:25,SMALL:10,NONE:0};var xo={CHART_BAR_MAX_LENGTH:40,CHART_SEPARATOR_LENGTH:60,DECIMAL_PRECISION:3},Bo={LOWERCASE_A:97,ALPHABET_SIZE:26,SPACE:32};var Ko={TWO:2,FIVE:5,NINE:9,TEN:10,TWENTY_FOUR:24,THIRTY_SIX:36,SIXTY:60,NINETY:90,HUNDERD:100,FIVE_THOUSAND:5e3,THOUSAND:1e3,THIRTY_SIX_HUNDERD:3600,THREE_HUNDERD:300,SIXTEEN:16,THIRTY_THOUSAND:3e4};var Xo={min:2,max:10,idleTimeoutMillis:3e4,acquireTimeoutMillis:1e4,scaling:{enabled:true,scaleUpThreshold:80,scaleDownThreshold:20,scaleInterval:3e4,maxScale:2}};var Zo={x:"https://x.com/Plyaz_",instagram:"https://instagram.com/plyaz_",linkedin:"https://linkedin.com/company/plyaz"},Jo={docs:"https://plyaz.gitbook.io/plyaz",community:"https://community.plyaz.co.uk",support:"mailto:help@plyaz.co.uk"},zo={INITIAL_POSTS_TO_SHOW:3,POSTS_INCREMENT:3,ANIMATION_DELAY:100};var Qo={FOCUS_CHECK_DELAY:100,FOCUS_TAB_COUNT:10,MIN_FOCUS_VISIBLE_TIME:200,MAX_FOCUS_WAIT_TIME:3e3,SCREEN_READER_DEBOUNCE:150,MIN_LARGE_TEXT_SIZE:18,MIN_LARGE_TEXT_BOLD_SIZE:14,MIN_NORMAL_TEXT_SIZE:14,MIN_TOUCH_TARGET_SIZE:44,MIN_INLINE_TARGET_SIZE:24,COLOR_CHANNEL_MAX:255,SRGB_THRESHOLD:.03928,SRGB_DIVISOR:12.92,SRGB_OFFSET:.055,SRGB_SCALE:1.055,SRGB_EXPONENT:2.4,LUMINANCE_RED:.2126,LUMINANCE_GREEN:.7152,LUMINANCE_BLUE:.0722,LUMINANCE_OFFSET:.05,CONTRAST_RATIO_AA:4.5,CONTRAST_RATIO_AA_LARGE:3,CONTRAST_RATIO_AAA:7,CONTRAST_RATIO_AAA_LARGE:4.5,CONTRAST_RATIO_GRAPHICS:3,PERCENTAGE_MAX:100,MAX_ESSENTIAL_ANIMATION_DURATION:5e3,REDUCED_MOTION_DURATION:1,MAX_FLASH_RATE:3,MIN_AUTO_UPDATE_INTERVAL:5,MIN_TIMEOUT_WARNING:20,DEFAULT_SESSION_TIMEOUT:20,EXTENDED_SESSION_TIMEOUT:120,MAX_BACKGROUND_AUDIO_LEVEL:-20,DEFAULT_CAPTION_OFFSET:50,MIN_CAPTION_FONT_SIZE:16,AUDIO_DESCRIPTION_DELAY:100,VALIDATION_DELAY:1e3,MAX_ERROR_MESSAGE_LENGTH:150,MIN_PASSWORD_LENGTH:8,MAX_ZOOM_WITHOUT_SCROLL:200,MIN_ZOOM_LEVEL:50,MAX_ZOOM_LEVEL:500,MAX_LINE_LENGTH:80,OPTIMAL_LINE_LENGTH:66,MIN_LINE_HEIGHT:1.5,MAX_PARAGRAPH_WIDTH:600},qo={BANNER:"banner",COMPLEMENTARY:"complementary",CONTENTINFO:"contentinfo",FORM:"form",MAIN:"main",NAVIGATION:"navigation",REGION:"region",SEARCH:"search",APPLICATION:"application",ARTICLE:"article",CELL:"cell",COLUMNHEADER:"columnheader",DEFINITION:"definition",DIRECTORY:"directory",DOCUMENT:"document",FEED:"feed",FIGURE:"figure",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTITEM:"listitem",MATH:"math",NOTE:"note",PRESENTATION:"presentation",ROW:"row",ROWGROUP:"rowgroup",ROWHEADER:"rowheader",SEPARATOR:"separator",TABLE:"table",TERM:"term",ALERT:"alert",ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GRIDCELL:"gridcell",LINK:"link",LISTBOX:"listbox",LOG:"log",MARQUEE:"marquee",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",OPTION:"option",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",SCROLLBAR:"scrollbar",SEARCHBOX:"searchbox",SLIDER:"slider",SPINBUTTON:"spinbutton",STATUS:"status",SWITCH:"switch",TAB:"tab",TABLIST:"tablist",TABPANEL:"tabpanel",TEXTBOX:"textbox",TIMER:"timer",TOOLBAR:"toolbar",TOOLTIP:"tooltip",TREE:"tree",TREEGRID:"treegrid",TREEITEM:"treeitem",COMMAND:"command",COMPOSITE:"composite",INPUT:"input",LANDMARK:"landmark",RANGE:"range",ROLETYPE:"roletype",SECTION:"section",SECTIONHEAD:"sectionhead",SELECT:"select",STRUCTURE:"structure",WIDGET:"widget",WINDOW:"window"},jo={ARIA_AUTOCOMPLETE:"aria-autocomplete",ARIA_CHECKED:"aria-checked",ARIA_DISABLED:"aria-disabled",ARIA_ERRORMESSAGE:"aria-errormessage",ARIA_EXPANDED:"aria-expanded",ARIA_HASPOPUP:"aria-haspopup",ARIA_HIDDEN:"aria-hidden",ARIA_INVALID:"aria-invalid",ARIA_LABEL:"aria-label",ARIA_LEVEL:"aria-level",ARIA_MODAL:"aria-modal",ARIA_MULTILINE:"aria-multiline",ARIA_MULTISELECTABLE:"aria-multiselectable",ARIA_ORIENTATION:"aria-orientation",ARIA_PLACEHOLDER:"aria-placeholder",ARIA_PRESSED:"aria-pressed",ARIA_READONLY:"aria-readonly",ARIA_REQUIRED:"aria-required",ARIA_SELECTED:"aria-selected",ARIA_SORT:"aria-sort",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUENOW:"aria-valuenow",ARIA_VALUETEXT:"aria-valuetext",ARIA_LIVE:"aria-live",ARIA_ATOMIC:"aria-atomic",ARIA_RELEVANT:"aria-relevant",ARIA_BUSY:"aria-busy",ARIA_DROPEFFECT:"aria-dropeffect",ARIA_GRABBED:"aria-grabbed",ARIA_ACTIVEDESCENDANT:"aria-activedescendant",ARIA_COLCOUNT:"aria-colcount",ARIA_COLINDEX:"aria-colindex",ARIA_COLSPAN:"aria-colspan",ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_DETAILS:"aria-details",ARIA_FLOWTO:"aria-flowto",ARIA_LABELLEDBY:"aria-labelledby",ARIA_OWNS:"aria-owns",ARIA_POSINSET:"aria-posinset",ARIA_ROWCOUNT:"aria-rowcount",ARIA_ROWINDEX:"aria-rowindex",ARIA_ROWSPAN:"aria-rowspan",ARIA_SETSIZE:"aria-setsize",ARIA_CURRENT:"aria-current",ARIA_DESCRIPTION:"aria-description",ARIA_KEYSHORTCUTS:"aria-keyshortcuts",ARIA_ROLEDESCRIPTION:"aria-roledescription"},et={TAB:"Tab",ENTER:"Enter",SPACE:" ",ESCAPE:"Escape",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",HOME:"Home",END:"End",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",TAB_KEYCODE:9,ENTER_KEYCODE:13,ESCAPE_KEYCODE:27,SPACE_KEYCODE:32,ARROW_LEFT_KEYCODE:37,ARROW_UP_KEYCODE:38,ARROW_RIGHT_KEYCODE:39,ARROW_DOWN_KEYCODE:40},ot={POLITE:"polite",ASSERTIVE:"assertive",OFF:"off"},tt={INITIAL_FOCUS:"[data-focus-initial], [autofocus]",FOCUSABLE_ELEMENTS:'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',INTERACTIVE_ELEMENTS:'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',SKIP_LINK:"[data-skip-link], .skip-link"};var at={ISO_COUNTRY_CODE_LENGTH:2,ISO_COUNTRY_CODE_ALPHA3_LENGTH:3,ISO_LANGUAGE_CODE_LENGTH:2,ISO_LANGUAGE_CODE_ALPHA3_LENGTH:3,ISO_CURRENCY_CODE_LENGTH:3,ISO_DATE_LENGTH:10,ISO_DATETIME_LENGTH:24,ISO_TIME_LENGTH:8,ISO_WEEK_DATE_LENGTH:8,BCP47_MIN_LENGTH:2,BCP47_WITH_REGION_LENGTH:5,RFC5646_MAX_LENGTH:35,ISO_NUMERIC_COUNTRY_CODE_LENGTH:3,ISO_639_3_LENGTH:3};var At={LOCALE_SEPARATOR:"-",BCP47_SEPARATOR:"-",CURRENCY_DECIMALS:2,CURRENCY_SYMBOL_BEFORE:true,THOUSANDS_SEPARATOR:",",DECIMAL_SEPARATOR:".",MAX_LOCALE_LENGTH:35,MIN_LOCALE_LENGTH:2,PERCENTAGE_DECIMALS:2,DEFAULT_FRACTION_DIGITS:2,MAX_FRACTION_DIGITS:20},it={ISO_DATE:"YYYY-MM-DD",ISO_DATETIME:"YYYY-MM-DDTHH:mm:ss.sssZ",ISO_TIME:"HH:mm:ss",US_DATE:"MM/DD/YYYY",EU_DATE:"DD/MM/YYYY",UK_DATE:"DD/MM/YYYY",JP_DATE:"YYYY/MM/DD",SHORT_DATE:"MMM DD",LONG_DATE:"MMMM DD, YYYY",FULL_DATE:"dddd, MMMM DD, YYYY",TIME_12H:"hh:mm A",TIME_24H:"HH:mm",TIME_12H_SECONDS:"hh:mm:ss A",TIME_24H_SECONDS:"HH:mm:ss",RELATIVE_TIME_THRESHOLD:86400,MONTH_YEAR:"MMMM YYYY",SHORT_MONTH_YEAR:"MMM YYYY",YEAR_ONLY:"YYYY"},_t={LTR:"ltr",RTL:"rtl",AUTO:"auto"};var Rt={INTERNATIONAL_PREFIX:"+",IDD_PREFIX:"00",US_COUNTRY_CODE:"1",UK_COUNTRY_CODE:"44",DE_COUNTRY_CODE:"49",FR_COUNTRY_CODE:"33",JP_COUNTRY_CODE:"81",CN_COUNTRY_CODE:"86",IN_COUNTRY_CODE:"91",BR_COUNTRY_CODE:"55",US_PHONE_LENGTH:10,UK_PHONE_LENGTH:10,MIN_PHONE_LENGTH:7,MAX_PHONE_LENGTH:15,E164_MAX_LENGTH:16,E164_MIN_LENGTH:8,US_AREA_CODE_LENGTH:3,US_EXCHANGE_CODE_LENGTH:3,US_LINE_NUMBER_LENGTH:4,MAX_EXTENSION_LENGTH:6,MAX_COUNTRY_CODE_LENGTH:3,MAX_NATIONAL_NUMBER_LENGTH:15},St={US_FORMAT:"(XXX) XXX-XXXX",UK_FORMAT:"XXXX XXX XXXX",INTERNATIONAL_FORMAT:"+X XXX XXX XXXX",E164_FORMAT:"+XXXXXXXXXXXX",EXTENSION_FORMAT:"ext. XXXX"};var ct={US_ZIP_LENGTH:5,US_ZIP_PLUS4_LENGTH:9,US_ZIP_SEPARATOR:"-",CA_POSTAL_CODE_LENGTH:6,UK_POSTCODE_MIN_LENGTH:5,UK_POSTCODE_MAX_LENGTH:8,DE_POSTAL_CODE_LENGTH:5,FR_POSTAL_CODE_LENGTH:5,JP_POSTAL_CODE_LENGTH:7,AU_POSTAL_CODE_LENGTH:4,BR_CEP_LENGTH:8,STATE_CODE_LENGTH:2,STATE_NAME_MAX_LENGTH:50,MAX_ADDRESS_LINE_LENGTH:100,MIN_ADDRESS_LINE_LENGTH:3,MAX_CITY_LENGTH:50,MIN_CITY_LENGTH:2,MAX_COUNTRY_LENGTH:56,MAX_BUILDING_NUMBER_LENGTH:10,MAX_UNIT_NUMBER_LENGTH:10,MAX_PO_BOX_LENGTH:10,MAX_ADDRESS_LINES:3},It={ADDRESS_LINE_1:"addressLine1",ADDRESS_LINE_2:"addressLine2",CITY:"city",STATE:"state",POSTAL_CODE:"postalCode",COUNTRY:"country",BUILDING_NUMBER:"buildingNumber",UNIT_NUMBER:"unitNumber",PO_BOX:"poBox",DISTRICT:"district",COUNTY:"county"};var c={USD:"USD",EUR:"EUR",GBP:"GBP",JPY:"JPY",CHF:"CHF",CAD:"CAD",AUD:"AUD",CNY:"CNY",INR:"INR",KRW:"KRW",SGD:"SGD",HKD:"HKD",TWD:"TWD",THB:"THB",IDR:"IDR",MYR:"MYR",PHP:"PHP",VND:"VND",BDT:"BDT",PKR:"PKR",LKR:"LKR",SEK:"SEK",NOK:"NOK",DKK:"DKK",PLN:"PLN",CZK:"CZK",HUF:"HUF",RON:"RON",BGN:"BGN",HRK:"HRK",RSD:"RSD",ISK:"ISK",BRL:"BRL",MXN:"MXN",ARS:"ARS",CLP:"CLP",COP:"COP",PEN:"PEN",UYU:"UYU",VES:"VES",BOB:"BOB",PYG:"PYG",CRC:"CRC",GTQ:"GTQ",HNL:"HNL",NIO:"NIO",PAB:"PAB",DOP:"DOP",JMD:"JMD",TTD:"TTD",BBD:"BBD",AED:"AED",SAR:"SAR",QAR:"QAR",KWD:"KWD",BHD:"BHD",OMR:"OMR",JOD:"JOD",ILS:"ILS",TRY:"TRY",IQD:"IQD",IRR:"IRR",LBP:"LBP",SYP:"SYP",ZAR:"ZAR",NGN:"NGN",EGP:"EGP",KES:"KES",GHS:"GHS",MAD:"MAD",TND:"TND",DZD:"DZD",ETB:"ETB",TZS:"TZS",UGX:"UGX",ZMW:"ZMW",BWP:"BWP",MUR:"MUR",NZD:"NZD",FJD:"FJD",PGK:"PGK",RUB:"RUB",UAH:"UAH",BYN:"BYN",KZT:"KZT",UZS:"UZS",AZN:"AZN",GEL:"GEL",AMD:"AMD",BTC:"BTC",ETH:"ETH",USDT:"USDT",USDC:"USDC"},Ct={NO_DECIMAL_CURRENCIES:["JPY","KRW","VND","IDR","CLP","ISK","TWD"],THREE_DECIMAL_CURRENCIES:["BHD","IQD","JOD","KWD","OMR","TND"],RESERVE_CURRENCIES:["USD","EUR","GBP","JPY","CNY"],G7_CURRENCIES:["USD","EUR","GBP","JPY","CAD"],DEFAULT_DECIMAL_PLACES:2};var lt={US:"US",CA:"CA",MX:"MX",BR:"BR",AR:"AR",CL:"CL",CO:"CO",PE:"PE",VE:"VE",EC:"EC",BO:"BO",PY:"PY",UY:"UY",GY:"GY",SR:"SR",GF:"GF",FK:"FK",CU:"CU",DO:"DO",HT:"HT",JM:"JM",TT:"TT",BB:"BB",BS:"BS",PR:"PR",GT:"GT",HN:"HN",SV:"SV",NI:"NI",CR:"CR",PA:"PA",BZ:"BZ",GB:"GB",FR:"FR",DE:"DE",IT:"IT",ES:"ES",PT:"PT",NL:"NL",BE:"BE",LU:"LU",CH:"CH",AT:"AT",IE:"IE",DK:"DK",SE:"SE",NO:"NO",FI:"FI",IS:"IS",PL:"PL",CZ:"CZ",SK:"SK",HU:"HU",RO:"RO",BG:"BG",GR:"GR",HR:"HR",SI:"SI",RS:"RS",BA:"BA",ME:"ME",MK:"MK",AL:"AL",XK:"XK",EE:"EE",LV:"LV",LT:"LT",BY:"BY",UA:"UA",MD:"MD",RU:"RU",CY:"CY",MT:"MT",AD:"AD",MC:"MC",SM:"SM",VA:"VA",LI:"LI",CN:"CN",JP:"JP",KR:"KR",KP:"KP",TW:"TW",HK:"HK",MO:"MO",IN:"IN",PK:"PK",BD:"BD",LK:"LK",NP:"NP",BT:"BT",MV:"MV",AF:"AF",TH:"TH",VN:"VN",MY:"MY",SG:"SG",ID:"ID",PH:"PH",BN:"BN",KH:"KH",LA:"LA",MM:"MM",TL:"TL",MN:"MN",KZ:"KZ",UZ:"UZ",TJ:"TJ",KG:"KG",TM:"TM",AZ:"AZ",GE:"GE",AM:"AM",SA:"SA",AE:"AE",QA:"QA",KW:"KW",BH:"BH",OM:"OM",YE:"YE",JO:"JO",LB:"LB",SY:"SY",IQ:"IQ",IR:"IR",IL:"IL",PS:"PS",TR:"TR",EG:"EG",LY:"LY",TN:"TN",DZ:"DZ",MA:"MA",EH:"EH",MR:"MR",ML:"ML",NE:"NE",TD:"TD",SD:"SD",SS:"SS",ER:"ER",DJ:"DJ",SO:"SO",ET:"ET",KE:"KE",UG:"UG",RW:"RW",BI:"BI",TZ:"TZ",MZ:"MZ",MW:"MW",ZM:"ZM",ZW:"ZW",BW:"BW",NA:"NA",ZA:"ZA",LS:"LS",SZ:"SZ",AO:"AO",CD:"CD",CG:"CG",GA:"GA",GQ:"GQ",CM:"CM",CF:"CF",NG:"NG",BJ:"BJ",TG:"TG",GH:"GH",BF:"BF",CI:"CI",LR:"LR",SL:"SL",GN:"GN",GW:"GW",SN:"SN",GM:"GM",CV:"CV",ST:"ST",MG:"MG",MU:"MU",SC:"SC",KM:"KM",RE:"RE",AU:"AU",NZ:"NZ",PG:"PG",FJ:"FJ",SB:"SB",VU:"VU",NC:"NC",PF:"PF",WS:"WS",TO:"TO",TV:"TV",NR:"NR",KI:"KI",PW:"PW",MH:"MH",FM:"FM",GU:"GU",MP:"MP",AS:"AS",CK:"CK",NU:"NU",TK:"TK",WF:"WF",PN:"PN",AQ:"AQ"},ut={"+1":["US","CA"],"+20":["EG"],"+27":["ZA"],"+30":["GR"],"+31":["NL"],"+32":["BE"],"+33":["FR"],"+34":["ES"],"+36":["HU"],"+39":["IT"],"+40":["RO"],"+41":["CH"],"+43":["AT"],"+44":["GB"],"+45":["DK"],"+46":["SE"],"+47":["NO"],"+48":["PL"],"+49":["DE"],"+51":["PE"],"+52":["MX"],"+53":["CU"],"+54":["AR"],"+55":["BR"],"+56":["CL"],"+57":["CO"],"+58":["VE"],"+60":["MY"],"+61":["AU"],"+62":["ID"],"+63":["PH"],"+64":["NZ"],"+65":["SG"],"+66":["TH"],"+7":["RU","KZ"],"+81":["JP"],"+82":["KR"],"+84":["VN"],"+86":["CN"],"+90":["TR"],"+91":["IN"],"+92":["PK"],"+93":["AF"],"+94":["LK"],"+95":["MM"],"+98":["IR"],"+212":["MA"],"+213":["DZ"],"+216":["TN"],"+218":["LY"],"+220":["GM"],"+221":["SN"],"+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"],"+254":["KE"],"+255":["TZ"],"+256":["UG"],"+257":["BI"],"+258":["MZ"],"+260":["ZM"],"+261":["MG"],"+263":["ZW"],"+264":["NA"],"+265":["MW"],"+266":["LS"],"+267":["BW"],"+268":["SZ"],"+248":["SC"],"+250":["RW"],"+251":["ET"],"+252":["SO"],"+253":["DJ"],"+852":["HK"],"+853":["MO"],"+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"]},Dt={EU:["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],NORTH_AMERICA:["US","CA","MX"],SOUTH_AMERICA:["AR","BO","BR","CL","CO","EC","GF","GY","PY","PE","SR","UY","VE"],G7:["US","CA","GB","FR","DE","IT","JP"],G20:["AR","AU","BR","CA","CN","FR","DE","IN","ID","IT","JP","KR","MX","RU","SA","ZA","TR","GB","US"],ASEAN:["BN","KH","ID","LA","MY","MM","PH","SG","TH","VN"],BRICS:["BR","RU","IN","CN","ZA"],OECD:["AU","AT","BE","CA","CL","CO","CR","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IE","IL","IT","JP","KR","LV","LT","LU","MX","NL","NZ","NO","PL","PT","SK","SI","ES","SE","CH","TR","GB","US"],COMMONWEALTH:["AG","AU","BS","BD","BB","BZ","BW","BN","CM","CA","CY","DM","FJ","GM","GH","GD","GY","IN","JM","KE","KI","LS","MW","MY","MV","MT","MU","MZ","NA","NR","NZ","NG","PK","PG","RW","KN","LC","VC","WS","SC","SL","SG","SB","ZA","LK","SZ","TZ","TO","TT","TV","UG","GB","VU","ZM"]},Lt={DE:{region:"eu"},FR:{region:"eu"},IT:{region:"eu"},ES:{region:"eu"},NL:{region:"eu"},BE:{region:"eu"},AT:{region:"eu"},SE:{region:"eu"},DK:{region:"eu"},FI:{region:"eu"},NO:{region:"eu"},PL:{region:"eu"},CZ:{region:"eu"},HU:{region:"eu"},SK:{region:"eu"},SI:{region:"eu"},HR:{region:"eu"},BG:{region:"eu"},RO:{region:"eu"},GR:{region:"eu"},PT:{region:"eu"},IE:{region:"eu"},LU:{region:"eu"},MT:{region:"eu"},CY:{region:"eu"},EE:{region:"eu"},LV:{region:"eu"},LT:{region:"eu"},GB:{region:"eu"},IS:{region:"eu"},LI:{region:"eu"},CH:{region:"eu"},US:{region:"us"},CA:{region:"ca"},CN:{region:"cn"},HK:{region:"cn"},MO:{region:"cn"},JP:{region:"jp"},KR:{region:"global"},TW:{region:"global"},SG:{region:"global"},MY:{region:"global"},TH:{region:"global"},IN:{region:"global"},ID:{region:"global"},PH:{region:"global"},VN:{region:"global"},AU:{region:"global"},NZ:{region:"global"},MX:{region:"global"},BR:{region:"global"},AR:{region:"global"},CL:{region:"global"},CO:{region:"global"},AE:{region:"global"},SA:{region:"global"},IL:{region:"global"},TR:{region:"global"},ZA:{region:"global"},EG:{region:"global"},NG:{region:"global"},KE:{region:"global"},RU:{region:"global"}};var dt={AMERICAS:["en-US","es-MX","pt-BR","en-CA","fr-CA"],EUROPE:["en-GB","de-DE","fr-FR","it-IT","es-ES","nl-NL"],ASIA_PACIFIC:["zh-CN","ja-JP","ko-KR","hi-IN","en-AU"],MIDDLE_EAST_AFRICA:["ar-SA","he-IL","tr-TR","en-ZA"]},yt={de:{region:"eu",country:"DE"},"de-de":{region:"eu",country:"DE"},"de-at":{region:"eu",country:"AT"},"de-ch":{region:"eu",country:"CH"},"it-ch":{region:"eu",country:"CH"},"fr-ch":{region:"eu",country:"CH"},fr:{region:"eu",country:"FR"},"fr-fr":{region:"eu",country:"FR"},"fr-be":{region:"eu",country:"BE"},es:{region:"eu",country:"ES"},"es-es":{region:"eu",country:"ES"},it:{region:"eu",country:"IT"},"it-it":{region:"eu",country:"IT"},nl:{region:"eu",country:"NL"},"nl-nl":{region:"eu",country:"NL"},"nl-be":{region:"eu",country:"BE"},pl:{region:"eu",country:"PL"},"pl-pl":{region:"eu",country:"PL"},pt:{region:"eu",country:"PT"},"pt-pt":{region:"eu",country:"PT"},sv:{region:"eu",country:"SE"},"sv-se":{region:"eu",country:"SE"},"sv-fi":{region:"eu",country:"FI"},da:{region:"eu",country:"DK"},"da-dk":{region:"eu",country:"DK"},fi:{region:"eu",country:"FI"},"fi-fi":{region:"eu",country:"FI"},"en-gb":{region:"eu",country:"GB"},"en-ie":{region:"eu",country:"IE"},"en-us":{region:"us",country:"US"},en:{region:"global",country:void 0},zh:{region:"cn",country:"CN"},"zh-cn":{region:"cn",country:"CN"},"zh-hans":{region:"cn",country:"CN"},"zh-hk":{region:"cn",country:"HK"},"zh-tw":{region:"global",country:"TW"},ja:{region:"jp",country:"JP"},"ja-jp":{region:"jp",country:"JP"},"en-ca":{region:"ca",country:"CA"},"fr-ca":{region:"ca",country:"CA"},"en-au":{region:"global",country:"AU"},"en-nz":{region:"global",country:"NZ"},ko:{region:"global",country:"KR"},"ko-kr":{region:"global",country:"KR"},"pt-br":{region:"global",country:"BR"},"es-mx":{region:"global",country:"MX"},"es-ar":{region:"global",country:"AR"},"es-cl":{region:"global",country:"CL"},"es-co":{region:"global",country:"CO"},"es-pe":{region:"global",country:"PE"},"es-VE":{region:"global",country:"VE"},"es-EC":{region:"global",country:"EC"},"es-UY":{region:"global",country:"UY"},"es-PY":{region:"global",country:"PY"},"es-BO":{region:"global",country:"BO"},"es-DO":{region:"global",country:"DO"},"es-GT":{region:"global",country:"GT"},"es-HN":{region:"global",country:"HN"},"es-NI":{region:"global",country:"NI"},"es-PA":{region:"global",country:"PA"},"es-CR":{region:"global",country:"CR"},"es-SV":{region:"global",country:"SV"},"zh-SG":{region:"global",country:"SG"},"en-SG":{region:"global",country:"SG"},"en-IN":{region:"global",country:"IN"},"hi-IN":{region:"global",country:"IN"},"en-PH":{region:"global",country:"PH"},"tl-PH":{region:"global",country:"PH"},"id-ID":{region:"global",country:"ID"},"ms-MY":{region:"global",country:"MY"},"en-MY":{region:"global",country:"MY"},"th-TH":{region:"global",country:"TH"},"vi-VN":{region:"global",country:"VN"},"ar-SA":{region:"global",country:"SA"},"ar-AE":{region:"global",country:"AE"},"ar-EG":{region:"global",country:"EG"},"ar-DZ":{region:"global",country:"DZ"},"ar-MA":{region:"global",country:"MA"},"he-IL":{region:"global",country:"IL"},"tr-TR":{region:"global",country:"TR"},"en-ZA":{region:"global",country:"ZA"},"af-ZA":{region:"global",country:"ZA"},"en-NG":{region:"global",country:"NG"},"en-KE":{region:"global",country:"KE"},"sw-KE":{region:"global",country:"KE"},"ru-RU":{region:"global",country:"RU"},"uk-UA":{region:"eu",country:"UA"},"be-BY":{region:"global",country:"BY"},"kk-KZ":{region:"global",country:"KZ"}};var Ut={"Europe/London":{region:"eu",country:"GB"},"Europe/Berlin":{region:"eu",country:"DE"},"Europe/Paris":{region:"eu",country:"FR"},"Europe/Rome":{region:"eu",country:"IT"},"Europe/Madrid":{region:"eu",country:"ES"},"Europe/Amsterdam":{region:"eu",country:"NL"},"Europe/Stockholm":{region:"eu",country:"SE"},"Europe/Helsinki":{region:"eu",country:"FI"},"Europe/Vienna":{region:"eu",country:"AT"},"Europe/Brussels":{region:"eu",country:"BE"},"Europe/Dublin":{region:"eu",country:"IE"},"Europe/Copenhagen":{region:"eu",country:"DK"},"Europe/Warsaw":{region:"eu",country:"PL"},"Europe/Prague":{region:"eu",country:"CZ"},"Europe/Budapest":{region:"eu",country:"HU"},"Europe/Bucharest":{region:"eu",country:"RO"},"Europe/Athens":{region:"eu",country:"GR"},"Europe/Lisbon":{region:"eu",country:"PT"},"Europe/Zagreb":{region:"eu",country:"HR"},"Europe/Ljubljana":{region:"eu",country:"SI"},"Europe/Bratislava":{region:"eu",country:"SK"},"Europe/Sofia":{region:"eu",country:"BG"},"Europe/Tallinn":{region:"eu",country:"EE"},"Europe/Riga":{region:"eu",country:"LV"},"Europe/Vilnius":{region:"eu",country:"LT"},"Europe/Luxembourg":{region:"eu",country:"LU"},"Europe/Malta":{region:"eu",country:"MT"},"Europe/Oslo":{region:"eu",country:"NO"},"Europe/Zurich":{region:"eu",country:"CH"},"Europe/Reykjavik":{region:"eu",country:"IS"},"Europe/Kiev":{region:"eu",country:"UA"},"Europe/Minsk":{region:"global",country:"BY"},"Europe/Moscow":{region:"global",country:"RU"},"America/Los_Angeles":{region:"us",country:"US",state:"ca"},"America/San_Francisco":{region:"us",country:"US",state:"ca"},"America/New_York":{region:"us",country:"US",state:"ny"},"America/Chicago":{region:"us",country:"US",state:"il"},"America/Denver":{region:"us",country:"US",state:"co"},"America/Phoenix":{region:"us",country:"US",state:"az"},"America/Detroit":{region:"us",country:"US",state:"mi"},"America/Atlanta":{region:"us",country:"US",state:"ga"},"America/Miami":{region:"us",country:"US",state:"fl"},"America/Dallas":{region:"us",country:"US",state:"tx"},"America/Houston":{region:"us",country:"US",state:"tx"},"America/Seattle":{region:"us",country:"US",state:"wa"},"America/Boston":{region:"us",country:"US",state:"ma"},"America/Philadelphia":{region:"us",country:"US",state:"pa"},"Asia/Shanghai":{region:"cn",country:"CN"},"Asia/Beijing":{region:"cn",country:"CN"},"Asia/Hong_Kong":{region:"cn",country:"HK"},"Asia/Macau":{region:"cn",country:"MO"},"Asia/Chongqing":{region:"cn",country:"CN"},"Asia/Urumqi":{region:"cn",country:"CN"},"Asia/Tokyo":{region:"jp",country:"JP"},"Asia/Osaka":{region:"jp",country:"JP"},"Asia/Bangkok":{region:"global",country:"TH"},"Asia/Jakarta":{region:"global",country:"ID"},"Asia/Manila":{region:"global",country:"PH"},"Asia/Kuala_Lumpur":{region:"global",country:"MY"},"Asia/Ho_Chi_Minh":{region:"global",country:"VN"},"Asia/Taipei":{region:"global",country:"TW"},"Asia/Kolkata":{region:"global",country:"IN"},"Asia/Delhi":{region:"global",country:"IN"},"Asia/Karachi":{region:"global",country:"PK"},"Asia/Dhaka":{region:"global",country:"BD"},"Asia/Colombo":{region:"global",country:"LK"},"Asia/Kathmandu":{region:"global",country:"NP"},"Pacific/Fiji":{region:"global",country:"FJ"},"Pacific/Guam":{region:"us",country:"GU"},"Pacific/Honolulu":{region:"us",country:"US",state:"hi"},"America/Toronto":{region:"us",country:"CA"},"America/Vancouver":{region:"us",country:"CA"},"America/Montreal":{region:"us",country:"CA"},"America/Edmonton":{region:"us",country:"CA"},"America/Winnipeg":{region:"us",country:"CA"},"America/Halifax":{region:"us",country:"CA"},"Australia/Sydney":{region:"global",country:"AU"},"Australia/Melbourne":{region:"global",country:"AU"},"Australia/Brisbane":{region:"global",country:"AU"},"Australia/Perth":{region:"global",country:"AU"},"Australia/Adelaide":{region:"global",country:"AU"},"Australia/Darwin":{region:"global",country:"AU"},"Australia/Hobart":{region:"global",country:"AU"},"Pacific/Auckland":{region:"global",country:"NZ"},"Pacific/Wellington":{region:"global",country:"NZ"},"Pacific/Christchurch":{region:"global",country:"NZ"},"Asia/Singapore":{region:"global",country:"SG"},"Asia/Seoul":{region:"global",country:"KR"},"Asia/Mumbai":{region:"global",country:"IN"},"Asia/Dubai":{region:"global",country:"AE"},"Asia/Riyadh":{region:"global",country:"SA"},"Asia/Jerusalem":{region:"global",country:"IL"},"Asia/Tel_Aviv":{region:"global",country:"IL"},"Asia/Istanbul":{region:"global",country:"TR"},"Asia/Tehran":{region:"global",country:"IR"},"Asia/Baghdad":{region:"global",country:"IQ"},"Asia/Kuwait":{region:"global",country:"KW"},"Asia/Doha":{region:"global",country:"QA"},"Asia/Muscat":{region:"global",country:"OM"},"Asia/Amman":{region:"global",country:"JO"},"Asia/Beirut":{region:"global",country:"LB"},"Asia/Damascus":{region:"global",country:"SY"},"America/Sao_Paulo":{region:"global",country:"BR"},"America/Rio_de_Janeiro":{region:"global",country:"BR"},"America/Brasilia":{region:"global",country:"BR"},"America/Mexico_City":{region:"global",country:"MX"},"America/Tijuana":{region:"global",country:"MX"},"America/Monterrey":{region:"global",country:"MX"},"America/Buenos_Aires":{region:"global",country:"AR"},"America/Santiago":{region:"global",country:"CL"},"America/Bogota":{region:"global",country:"CO"},"America/Lima":{region:"global",country:"PE"},"America/Caracas":{region:"global",country:"VE"},"America/La_Paz":{region:"global",country:"BO"},"America/Guayaquil":{region:"global",country:"EC"},"America/Montevideo":{region:"global",country:"UY"},"America/Asuncion":{region:"global",country:"PY"},"America/Santo_Domingo":{region:"global",country:"DO"},"America/Havana":{region:"global",country:"CU"},"America/Panama":{region:"global",country:"PA"},"America/Guatemala":{region:"global",country:"GT"},"America/Costa_Rica":{region:"global",country:"CR"},"America/San_Salvador":{region:"global",country:"SV"},"America/Tegucigalpa":{region:"global",country:"HN"},"America/Managua":{region:"global",country:"NI"},"America/Jamaica":{region:"global",country:"JM"},"America/Port-au-Prince":{region:"global",country:"HT"},"Africa/Johannesburg":{region:"global",country:"ZA"},"Africa/Cairo":{region:"global",country:"EG"},"Africa/Lagos":{region:"global",country:"NG"},"Africa/Nairobi":{region:"global",country:"KE"},"Africa/Casablanca":{region:"global",country:"MA"},"Africa/Algiers":{region:"global",country:"DZ"},"Africa/Tunis":{region:"global",country:"TN"},"Africa/Addis_Ababa":{region:"global",country:"ET"},"Africa/Dar_es_Salaam":{region:"global",country:"TZ"},"Africa/Kinshasa":{region:"global",country:"CD"},"Africa/Luanda":{region:"global",country:"AO"},"Africa/Kampala":{region:"global",country:"UG"},"Africa/Harare":{region:"global",country:"ZW"},"Africa/Accra":{region:"global",country:"GH"},"Africa/Dakar":{region:"global",country:"SN"},"Africa/Abidjan":{region:"global",country:"CI"},"Europe/":{region:"eu"},"America/":{region:"us"},"Asia/":{region:"asia"},"Africa/":{region:"global"},"Pacific/":{region:"global"}};var I={validation_error:{status:400,message:"errors.validation.error"},unauthorized:{status:401,message:"errors.auth.unauthorized"},payment_failed:{status:402,message:"errors.payment.failed"},forbidden:{status:403,message:"errors.auth.forbidden"},not_found:{status:404,message:"errors.common.notFound"},method_not_allowed:{status:405,message:"errors.common.methodNotAllowed"},user_already_exists:{status:409,message:"errors.user.alreadyExists"},unprocessable_entity:{status:422,message:"errors.validation.unprocessable"},too_many_requests:{status:429,message:"errors.rateLimit.tooManyRequests"},internal_server_error:{status:500,message:"errors.server.internal"},not_implemented:{status:501,message:"errors.server.notImplemented"},bad_gateway:{status:502,message:"errors.server.badGateway"},service_unavailable:{status:503,message:"errors.server.serviceUnavailable"},gateway_timeout:{status:504,message:"errors.server.gatewayTimeout"}},ht={InvalidInput:{type:"form",message:"Invalid input",timestamp:new Date().toISOString()},[I.internal_server_error.status]:{type:"server",message:"Something went wrong",timestamp:new Date().toISOString()},[I.unauthorized.status]:{type:"auth",message:"Please log in again",timestamp:new Date().toISOString()}},Kt=["GLOBAL","CONFIG","CLIENT","REQUEST","TEMPORARY"];var kt={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},Wt=["email","password","wallet","token","secret","ssn"],wt=[{target:"pino-pretty",options:{colorize:true}}];var Qt={timeout:E.THIRTY_SECONDS,unifiedStrategy:"interactive",revalidationStrategy:"balanced",strategy:"softFail",headers:{presets:["json"],autoDetectNetwork:true,requestClientHints:false},enrichedHeaders:{enabled:true,preset:"standard",includeDevice:false,includeNetwork:true,includePlatform:true,includeCompliance:true,respectDoNotTrack:true,autoDetectRegion:true,regionalPreset:"global",useTimezone:true},networkAware:{enabled:true,adaptConfig:true,requestClientHints:false},tracking:{enabled:true,operations:true,events:true,performanceMode:"minimal",queueStrategy:"batch",eventStrategy:"queued",telemetry:true},retryStrategy:"aggressive",encryption:{enabled:true,algorithm:"AES-GCM",autoDecrypt:true,target:["all"],key:void 0,fields:["*.email","*.ssn","*.taxId","*.nationalId","*.passport","*.driverLicense","*.governmentId","*.phone","*.phoneNumber","*.mobile","*.telephone","*.address.street","*.address.line1","*.address.line2","*.postalCode","*.zipCode","*.cardNumber","*.creditCard","*.debitCard","*.cvv","*.cvc","*.iban","*.accountNumber","*.routingNumber","*.swiftCode","*.sortCode","*.password","*.apiKey","*.secret","*.token","*.accessToken","*.refreshToken","*.privateKey","*.secretKey","*.wallet","*.walletAddress","*.mnemonic","*.seedPhrase","*.privateKeyHex","*.medicalRecord","*.medicalRecordNumber","*.healthInfo","*.diagnosis","*.prescription","*.healthInsurance","*.fingerprint","*.faceId","*.biometric","*.birthDate","*.dateOfBirth","*.dob","*.ipAddress","*.ip"]}},qt={timeout:E.THIRTY_SECONDS,unifiedStrategy:"interactive",revalidationStrategy:"balanced",strategy:"softFail",headers:{presets:["json"],autoDetectNetwork:true,requestClientHints:false},enrichedHeaders:{enabled:true,preset:"standard",includeDevice:true,includeNetwork:true,includePlatform:true,includeCompliance:true,respectDoNotTrack:true,autoDetectRegion:true,regionalPreset:"global",useTimezone:true},networkAware:{enabled:true,adaptConfig:true,requestClientHints:false},tracking:{enabled:true,operations:true,events:true,performanceMode:"full",queueStrategy:"batch",eventStrategy:"queued",telemetry:true},retryStrategy:"aggressive",encryption:{enabled:true,algorithm:"AES-GCM",autoDecrypt:true,target:["all"],key:void 0,fields:["*.email","*.ssn","*.taxId","*.nationalId","*.passport","*.driverLicense","*.governmentId","*.phone","*.phoneNumber","*.mobile","*.telephone","*.address.street","*.address.line1","*.address.line2","*.postalCode","*.zipCode","*.cardNumber","*.creditCard","*.debitCard","*.cvv","*.cvc","*.iban","*.accountNumber","*.routingNumber","*.swiftCode","*.sortCode","*.password","*.apiKey","*.secret","*.token","*.accessToken","*.refreshToken","*.privateKey","*.secretKey","*.wallet","*.walletAddress","*.mnemonic","*.seedPhrase","*.privateKeyHex","*.medicalRecord","*.medicalRecordNumber","*.healthInfo","*.diagnosis","*.prescription","*.healthInsurance","*.fingerprint","*.faceId","*.biometric","*.birthDate","*.dateOfBirth","*.dob","*.ipAddress","*.ip"]}},jt={timeout:E.TWO_MINUTES,unifiedStrategy:"interactive",revalidationStrategy:"balanced",strategy:"softFail",headers:{presets:["json"],autoDetectNetwork:true,requestClientHints:true},enrichedHeaders:{enabled:true,preset:"full",includeDevice:true,includeNetwork:true,includePlatform:true,includeCompliance:true,includePerformance:true,respectDoNotTrack:false,autoDetectRegion:true,regionalPreset:"global",useTimezone:true},networkAware:{enabled:false,adaptConfig:false,requestClientHints:false},tracking:{enabled:true,operations:true,events:true,performanceMode:"full",queueStrategy:"immediate",eventStrategy:"immediate",telemetry:false},retryStrategy:"conservative",encryption:{enabled:false,algorithm:"AES-GCM",autoDecrypt:true,target:["all"],key:void 0,fields:["*.email","*.ssn","*.taxId","*.nationalId","*.passport","*.driverLicense","*.governmentId","*.phone","*.phoneNumber","*.mobile","*.telephone","*.address.street","*.address.line1","*.address.line2","*.postalCode","*.zipCode","*.cardNumber","*.creditCard","*.debitCard","*.cvv","*.cvc","*.iban","*.accountNumber","*.routingNumber","*.swiftCode","*.sortCode","*.password","*.apiKey","*.secret","*.token","*.accessToken","*.refreshToken","*.privateKey","*.secretKey","*.wallet","*.walletAddress","*.mnemonic","*.seedPhrase","*.privateKeyHex","*.medicalRecord","*.medicalRecordNumber","*.healthInfo","*.diagnosis","*.prescription","*.healthInsurance","*.fingerprint","*.faceId","*.biometric","*.birthDate","*.dateOfBirth","*.dob","*.ipAddress","*.ip"]}};var tr={baseURL:"",timeout:E.THIRTY_SECONDS,retry:{attempts:3,delay:E.SECOND,maxDelay:E.THIRTY_SECONDS,backoff:1.5},cache:{ttl:60,stale:300},headers:{"Content-Type":"application/json",Accept:"application/json"},strategy:"softFail"},rr={enrichedHeaders:{enabled:true,preset:"standard"}};var Ar={SUPABASE_URL:globalThis.process.env.NEXT_PUBLIC_SUPABASE_URL??"",SUPABASE_ANON_KEY:globalThis.process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY??""},ir=globalThis.process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY??"";var O=25,A=30,cr=types.NOTIFICATION_CATEGORIES.TRANSACTIONAL,l={DEFAULT_MAX_ATTEMPTS:3,DEFAULT_INITIAL_DELAY_MS:1e3,MAX_DELAY_MS:3e4,BACKOFF_MULTIPLIER:2},u={DEFAULT_MAX_ATTACHMENTS:10,DEFAULT_MAX_SIZE_PER_ATTACHMENT:O*n.BYTES_PER_MB,DEFAULT_MAX_TOTAL_SIZE:O*n.BYTES_PER_MB,SENDGRID_MAX_SIZE:A*n.BYTES_PER_MB,SENDGRID_MAX_TOTAL_SIZE:A*n.BYTES_PER_MB,INFOBIP_MAX_SIZE:A*n.BYTES_PER_MB,INFOBIP_MAX_TOTAL_SIZE:A*n.BYTES_PER_MB,URL_FETCH_TIMEOUT_MS:3e4,URL_FETCH_MAX_RETRIES:3},D={DEFAULT_FAILURE_THRESHOLD:5,DEFAULT_TIMEOUT_MS:6e4,DEFAULT_SUCCESS_THRESHOLD:2},L={DEFAULT_MAX_SIZE:1e4,DEFAULT_CONCURRENCY:5,DEFAULT_PROCESSING_INTERVAL_MS:100},g={DEFAULT_REQUESTS_PER_SECOND:10,DEFAULT_BURST_ALLOWANCE:20,DEFAULT_WINDOW_MS:1e3},d={DEFAULT_LOCALE:"en",FALLBACK_LOCALE:"en",CACHE_TTL_MS:3e5,MAX_TEMPLATE_SIZE:n.BYTES_PER_MB},y={GSM7_SINGLE_MESSAGE_LIMIT:160,GSM7_MULTI_PART_SEGMENT_LIMIT:153,UCS2_SINGLE_MESSAGE_LIMIT:70,UCS2_MULTI_PART_SEGMENT_LIMIT:67,DEFAULT_MAX_SEGMENTS:10,WARNING_THRESHOLD_PERCENTAGE:90},M={DEFAULT_PRIORITY:"normal",MAX_SUBJECT_LENGTH:255,MAX_PUSH_TITLE_LENGTH:100,MAX_PUSH_BODY_LENGTH:500},U={DEFAULT_LEVEL:"info",MAX_LOG_SIZE:1e4},P={DEFAULT_INTERVAL_MS:3e4,DEFAULT_TIMEOUT_MS:5e3,MAX_ACCEPTABLE_LATENCY_MS:2e3},Ir={RETRY:l,ATTACHMENT:u,CIRCUIT_BREAKER:D,QUEUE:L,RATE_LIMIT:g,TEMPLATE:d,SMS:y,NOTIFICATION:M,LOGGING:U,HEALTH_CHECK:P};var ur="sha256",Dr="unknown",Lr={RETRYABLE_ERROR_RATIO:.5,USER_FACING_ERROR_RATIO:.3},gr=["token","secret","signature"],dr={MIN_SCORE:100},yr={CRITICAL:"critical",ERROR:"error",WARN:"warn"},Mr={RAW_BODY:"[REDACTED_RAW_BODY]",SENSITIVE:"[REDACTED]"},Ur={PAYMENTS:"payments",VALIDATION:"validation",FRAUD:"fraud-detector",WEBHOOK_PROCESSOR:"webhook-processor",FRAUD_DETECTED_ERROR:"FraudDetectedError",ROUTER_STRATEGY:"RouterStrategy",PAYMENT_GATEWAY:"PaymentGateway",PAYMENT_PROCESSOR:"PaymentProcessor",CAPTURE_PROCESSOR:"CaptureProcessor",CANCEL_PROCESSOR:"CancelProcessor",STATUS_PROCESSOR:"StatusProcessor"},Pr={GENERIC_SYSTEM_ERROR:"An unexpected error occurred while processing payment.",USER_FRIENDLY_SYSTEM_ERROR:"A payment system error occurred. Please try again later.",USER_FRIENDLY_ALT:"Payment error. Please try again.",SYSTEM:"An internal payment error occurred. Our team has been notified.",VALIDATION:"Some payment information is invalid. Please review your details.",AUTHENTICATION:"Your session has expired. Please log in again.",AUTHORIZATION:"You are not authorized to perform this payment action.",PROVIDER:"There was an issue communicating with the payment provider.",NETWORK:"Network error. Please try again later.",FRAUD:"Suspicious activity detected. Please contact support.",REFUND:"Refund could not be processed. Please try again later.",WEBHOOK:"Payment notification failed. We are investigating.",PROCESSING:"Payment is currently being processed. Please wait a moment.",COMPLIANCE:"This transaction violates compliance rules. Please contact support.",LIMITS:"The payment exceeds your transaction limit.",CONFIGURATION:"Payment configuration error. Please contact your administrator.",DEFAULT:"An unexpected error occurred while processing your payment.",INVALID_VALUE:"Invalid value provided",PROVIDER_GENERIC:"Provider error occurred",REFUND_NOT_ALLOWED:"Refund not allowed",REFUND_AUTHORIZATION:"Refund authorization failed",REFUND_PROCESSING:"Refund processing failed",STRIPE_GENERIC:"An unexpected error occurred while communicating with Stripe"},fr={[types.ERROR_SEVERITY.Low]:true,[types.ERROR_SEVERITY.Medium]:false,[types.ERROR_SEVERITY.High]:true,[types.ERROR_SEVERITY.Critical]:true},mr={GENERIC:"There was an error processing your payment. Please try again.",API_RESPONSE_GENERIC:"A processing error occurred."},Hr={DEFAULT_MESSAGE:"An error occurred while processing the webhook.",DEFAULT_USER_MESSAGE:"An error occurred while handling the webhook."},Gr={RETRY:"Retry transaction after delay.",NOTIFY_USER:"Notify user and suggest contacting support.",LOG_ONLY:"Log and continue monitoring."},Fr={NOT_ALLOWED:"Refund not allowed",AUTHORIZATION:"Refund authorization failed",PROCESSING:"Refund processing failed",DEFAULT_API_MESSAGE:"An error occurred during the refund process.",DEFAULT_USER_MESSAGE:"Refund could not be processed. Please try again or contact support."},xr={REQUIRED:"manager",CURRENT:"user"},Br={PROVIDER_ERROR_PREFIX:"Provider {provider} error",STRIPE_GENERIC:"An unexpected error occurred while communicating with Stripe.",WEBHOOK_SANITIZE_FAIL:"Failed to sanitize webhook payload",UNKNOWN_REFUND_TYPE:"Unknown refund error type: {type}",REDACTION_FAIL:"Failed to sanitize object."},Yr={PROVIDER:"provider",EVENT:"event"},br={API_CONNECTION:"api_connection_error",RATE_LIMIT:"rate_limit_error",INVALID_REQUEST:"invalid_request_error",CARD_ERROR:"card_error",AUTHENTICATION:"authentication_error",CARD_DECLINED:"card_declined"},hr={DEFAULT_API_MESSAGE:"An error occurred with the payment provider.",DEFAULT_USER_MESSAGE:"A payment provider error occurred. Please try again later."},Kr={DEFAULT_API_MESSAGE:"A security error occurred while processing the payment.",DEFAULT_USER_MESSAGE:"A security issue was detected with the payment. Please contact support.",FRAUD_DETECTED:{CODE:"FRAUD_DETECTED",DEFAULT_COMPONENT:"fraud-detector",USER_MESSAGE:"This transaction appears to be suspicious and has been blocked for your safety.",RISK_THRESHOLDS:{HIGH:70,CRITICAL:90}}};var Xr=1,Vr=0,kr=10,Wr=1e4,wr=0,Zr=1,Jr=.9,zr={PRIORITY:1,URGENT:0,MAX_LISTENERS:10,HANDLER_TIMEOUT_MS:1e4,SUCCESS_THRESHOLD:1,PARTIAL_SUCCESS_THRESHOLD:.9,EVENT_COUNT:0},$r={EMITTER:"event-emitter",PAYMENT_GATEWAY:"payment-gateway",SUBSCRIPTION_MANAGER:"subscription-manager",PROVIDER_ADAPTER:"provider-adapter"},Qr={HANDLER_FAILED:"HANDLER_FAILED",HANDLER_CRASHED:"HANDLER_CRASHED",HANDLER_TIMEOUT:"HANDLER_TIMEOUT"},qr={HANDLER_FAILED:"Handler execution failed",HANDLER_TIMEOUT:"Handler execution timed out"},jr={DEVELOPMENT:"development",PRODUCTION:"production",TEST:"test"},f=0,m=1,H=2,G=3,eE={NONE:f,CAPTURING_PHASE:m,AT_TARGET:H,BUBBLING_PHASE:G},oE={PRIORITY:"priority",URGENT:"urgent",CATEGORY:"category",TAGS:"tags",SOURCE:"source"},tE={COMPONENT:"component",ENVIRONMENT:"environment"},rE={ERROR:"error",INFO:"info",WARNING:"warning",CRITICAL:"critical"},EE=o(()=>[],"EmptyArray"),nE=o(()=>Date.now(),"CurrentTimestamp"),aE={FULFILLED:"fulfilled",REJECTED:"rejected"},TE={NORMALIZATION_FAILED:"Event normalization failed.",MAPPING_MISSING:"No mapping configuration found for provider.",MAPPING_RETRIEVE_FAILED:"Failed to retrieve provider mapping.",BUILD_NORMALIZED_DATA_FAILED:"Failed to build normalized payment data.",BUILD_UNIFIED_EVENT_FAILED:"Failed to build unified event.",EVENT_TYPE_MAPPING_FAILED:"Event type mapping failed.",STATUS_MAPPING_FAILED:"Status mapping failed.",PAYLOAD_EXTRACTION_FAILED:"Payload extraction failed.",requiredFileMissing:o(e=>`Required field "${e}" is missing.`,"requiredFileMissing")};var _E=1e3,sE=6e4,RE=3,SE={NO_PROVIDER:"NO_PROVIDER_SELECTED",PROVIDER_FAILURE:"PROVIDER_FAILURE",CIRCUIT_OPEN:"CIRCUIT_OPEN",UNKNOWN_ERROR:"UNKNOWN_ERROR"},NE={USER_ACTION:"contact_support",SYSTEM_ACTION:"manual_review"},cE={LOW:"low",MEDIUM:"medium",HIGH:"high"},IE={FALLBACK_USED:"fallback_used"},OE={AMOUNT:"request.amount",CURRENCY:"request.currency",USER_TYPE:"request.userType",REGION:"request.metadata.geoInfo.region"},F=(T=>(T.ASSIGNMENT="assignment",T.LOGICAL="logical",T.COMPARISON="comparison",T.ARITHMETIC="arithmetic",T.CONDITIONAL="conditional",T.CONCATENATE="concatenate",T))(F||{}),CE={INITIAL_PAYMENT_ATTEMPT:"Initial payment attempt",PAYMENT_OPERATION_FAILED:"Payment operation failed",NON_PAYMENT_OPERATION_FAILED:"Non-payment operation failed",ADAPTER_NOT_FOUND:"Adapter not found for provider:",NO_VALID_ADAPTER:"No valid provider adapter found"};var lE="2022-11-15",uE="v1.0.0",DE=0,LE=.029,gE=0,dE=.01,yE=100,ME={CREDIT_CARD:30,BANK_TRANSFER:500,BOLETO_BANCARIO:200,SEPA_DIRECT_DEBIT:50,IDEAL_BANK:50},UE={REDIRECT:10},PE=1,fE=100,mE=.9,HE=80,GE=2,FE=100,xE=1e3,BE=0,YE={REDIRECT:"redirect",WAIT:"wait",RETRY:"retry",CONTACT_SUPPORT:"contact_support"},bE={WEBHOOK_PENDING:"webhook_pending",MANUAL_REVIEW:"manual_review",AUTO_RETRY:"auto_retry"},hE={PAYMENT_INTENT_CREATED:"payment_intent.created",PAYMENT_INTENT_PROCESSING:"payment_intent.processing",PAYMENT_INTENT_REQUIRES_ACTION:"payment_intent.requires_action",PAYMENT_INTENT_SUCCEEDED:"payment_intent.succeeded",PAYMENT_INTENT_FAILED:"payment_intent.payment_failed",PAYMENT_INTENT_CANCELED:"payment_intent.canceled",PAYMENT_INTENT_EXPIRED:"payment_intent.expired",PAYMENT_INTENT_AUTHORIZED:"payment_intent.authorized",PAYMENT_INTENT_CAPTURED:"payment_intent.captured",PAYMENT_INTENT_HELD:"payment_intent.held",PAYMENT_INTENT_RELEASED:"payment_intent.released",CHARGE_REFUND_CREATED:"charge.refund.created",REFUND_UPDATED:"refund.updated",CHARGE_REFUND_SUCCEEDED:"charge.refund.succeeded",CHARGE_REFUND_FAILED:"charge.refund.failed",CHARGE_REFUND_CANCELED:"charge.refund.canceled",CHARGE_DISPUTE_CREATED:"charge.dispute.created",CHARGE_DISPUTE_UPDATED:"charge.dispute.updated",CHARGE_DISPUTE_CLOSED:"charge.dispute.closed",CHARGEBACK_RECEIVED:"chargeback.received",CHARGEBACK_RESPONDED:"chargeback.responded",CHARGE_DISPUTE_WON:"charge.dispute.won",CHARGE_DISPUTE_LOST:"charge.dispute.lost",PAYMENT_METHOD_ATTACHED:"payment_method.attached",PAYMENT_METHOD_UPDATED:"payment_method.updated",PAYMENT_METHOD_DETACHED:"payment_method.detached",PAYMENT_METHOD_EXPIRED:"payment_method.expired",SUBSCRIPTION_CREATED:"customer.subscription.created",SUBSCRIPTION_UPDATED:"customer.subscription.updated",SUBSCRIPTION_DELETED:"customer.subscription.deleted",INVOICE_PAYMENT_SUCCEEDED:"invoice.payment_succeeded",INVOICE_PAYMENT_FAILED:"invoice.payment_failed"},KE={minimumMinutes:5,maximumMinutes:120,typicalMinutes:30,factors:["default estimate"]},vE={minimumDays:1,maximumDays:5,typicalDays:3,affectedByHolidays:true},XE={SUCCEEDED:"succeeded",PROCESSING:"processing",REQUIRES_ACTION:"requires_action",REQUIRES_CONFIRMATION:"requires_confirmation",REQUIRES_PAYMENT_METHOD:"requires_payment_method",CANCELED:"canceled",FAILED:"failed",DECLINED:"declined",EXPIRED:"expired",AUTHORIZED:"authorized",CAPTURED:"captured",HELD:"held",REFUNDED:"refunded",PARTIALLY_REFUNDED:"partially_refunded",DISPUTED:"disputed",CHARGEBACK:"chargeback",CHARGEBACK_RESOLVED:"chargeback_resolved"},VE={TRANSACTION_ID:"data.object.id",AMOUNT:"data.object.amount",CURRENCY:"data.object.currency",STATUS:"data.object.status",PAYMENT_METHOD:"data.object.payment_method",METADATA:"data.object.metadata"},kE={INITIALIZE:"initialize",CREATE_PAYMENT:"createPayment",CAPTURE_PAYMENT:"capturePayment",CANCEL_PAYMENT:"cancelPayment",PROCESS_REFUND:"processRefund",GET_REFUND_STATUS:"getRefundStatus",GET_PAYMENT_STATUS:"getPaymentStatus",PROCESS_WEBHOOK:"processWebhook",VERIFY_WEBHOOK_SIGNATURE:"verifyWebhookSignature",CALCULATE_FEES:"calculateFees",GET_FEE_STRUCTURE:"getFeeStructure",GET_TRANSACTION:"getTransaction",WEBHOOK_PROCESS:"webhookProcess"},WE={MISSING_API_KEY:"Missing Stripe API key",UNKNOWN_EVENT:"unknown",MISSING_EVENT:"missing",INIT_FAILED:"Stripe SDK initialization failed",CREATE_PAYMENT_FAILED:"Failed to create payment intent",CAPTURE_PAYMENT_FAILED:"Failed to capture payment",CANCEL_PAYMENT_FAILED:"Failed to cancel payment",REFUND_FAILED:"Failed to process refund",REFUND_STATUS_FAILED:"Failed to retrieve refund status",GET_PAYMENT_STATUS_FAILED:"Failed to retrieve payment status",PROCESS_WEBHOOK_FAILED:"Failed to process webhook",VERIFY_WEBHOOK_FAILED:"Failed to verify webhook signature",CALCULATE_FEES_FAILED:"Failed to calculate fees",GET_FEE_STRUCTURE_FAILED:"Failed to get fee structure",GET_TRANSACTION_FAILED:"Failed to retrieve transaction details"};var r={REGISTRY:"ProviderRegistry",FACTORY:"ProviderFactory",FALLBACK:"FallbackHandler",AB_TESTING:"ABTesting"},zE={REGISTRY_GET_FACTORY:`${r.REGISTRY}.getFactory`,FACTORY_CREATE_ADAPTER:`${r.FACTORY}.createAdapter`,FACTORY_GET_CONFIG:`${r.FALLBACK}.getProviderConfig`,FACTORY_GET_OPTIMAL_ADAPTER:`${r.AB_TESTING}.getOptimalAdapter`},$E={providerAlreadyRegistered:o(e=>`[${r.REGISTRY}] Provider '${e}' is already registered. Overwriting.`,"providerAlreadyRegistered"),providerRegistered:o(e=>`[${r.FACTORY}] Registered provider: ${e}`,"providerRegistered"),providerNotRegistered:o(e=>`[${r.REGISTRY}] Provider '${e}' is not registered.`,"providerNotRegistered"),adapterInitFailed:o(e=>`[${r.FACTORY}] Failed to initialize adapter for ${e}`,"adapterInitFailed"),optimalAdapterFailed:o(e=>`[${r.FACTORY}] Failed to get optimal adapter for: ${e}`,"optimalAdapterFailed")},QE={KYC_VERIFICATION_REQUIRED:["Complete your KYC verification by submitting valid identification documents.","Wait for confirmation from our compliance team."],GEOGRAPHIC_RESTRICTION:["This transaction is not allowed from your current location.","Consider using a different payment method or location.","Contact support for more information if needed."],COMPLIANCE_ERROR:["Contact support for guidance regarding compliance requirements.","Ensure all your regulatory obligations are met before retrying."],PAYMENTS_PACKAGE_ERROR:["Verify your payment system configuration.","Check credentials and API keys.","Review deployment and integration.","Retry the operation if it is marked retryable."],PAYMENT_PROCESSING_ERROR:["Check the payment gateway status.","Verify the transaction details and retry if safe.","Contact support if the error persists."],PAYMENT_PROVIDER_ERROR:["Check provider availability and credentials.","Ensure configuration is correct.","Retry after a short delay or switch provider if possible."],REFUND_ERROR:["Verify the refund request and amounts.","Check if the refund has already been processed.","Retry the refund if it failed due to temporary issues.","Contact support for assistance if the issue persists."],PAYMENT_SECURITY_ERROR:["Ensure encryption and security keys are valid.","Check for possible fraud alerts.","Retry secure operations after resolving issues.","Contact support if suspicious activity is detected."],FRAUD_DETECTED_ERROR:["Do not attempt the transaction again until verified.","Contact support immediately to investigate possible fraud.","Review account activity and secure credentials.","Follow any additional instructions from the fraud investigation team."],PAYMENT_VALIDATION_ERROR:["Check that all required fields are provided.","Ensure data formats and types are correct.","Retry the transaction after correcting input data."],WEBHOOK_ERROR:["Verify webhook endpoint is correct and reachable.","Check the payload format matches the expected structure.","Ensure signature validation keys are correct.","Retry webhook delivery or contact support if persistent."]};var En=Object.values(c),nn={AMOUNT:"Amount must be a positive number with valid currency format.",CORE_FIELDS:"Missing required core fields: amount, paymentMethod, userId, userType, productId, productType.",CURRENCY:"Unsupported or missing currency code.",METADATA:"Invalid metadata structure or missing required metadata fields.",RISK_ASSESSMENT:"Invalid or inconsistent risk assessment fields.",SCHEDULING:"Invalid scheduling configuration.",REFUND_TRANSACTION_ID:"Transaction ID is required.",REFUND_PROVIDER:"Provider is required.",REFUND_AMOUNT:"Refund amount must be positive."},an={AMOUNT:"AmountValidator",CORE_FIELDS:"CoreFieldValidator",CURRENCY:"CurrencyValidator",METADATA:"MetadataValidator",RISK_ASSESSMENT:"RiskAssessmentValidator",SCHEDULING:"SchedulingValidator"},Tn=["amount","paymentMethod","userId","userType","productId","productType"],An=["monthly","quarterly","yearly"],_n=["low","medium","high"],sn=["daily","weekly","monthly","quarterly","yearly"],Rn=0,Sn=3;var t={core:"RouterStrategy",rules:"RuleEvaluator",config:"RoutingConfig",factory:"AdapterFactory",cache:"AdapterCache",provider:"ProviderSelector",region:"RegionResolver",compliance:"ComplianceChecker",abtest:"ABTestingModule",default:"DefaultProviderSelector"},cn={invalidProvider:o(()=>`[${t.core}] No valid provider found during routing.`,"invalidProvider"),providerSelected:o(e=>`[${t.provider}] Selected provider: ${e}`,"providerSelected"),fallbackToDefault:o(()=>`[${t.default}] Falling back to default provider.`,"fallbackToDefault"),adapterCached:o(e=>`[${t.cache}] Using cached adapter for ${e}`,"adapterCached"),adapterCreated:o(e=>`[${t.factory}] Created new adapter for ${e}`,"adapterCreated"),adapterCreationFailed:o(e=>`[${t.factory}] Failed to create adapter: ${String(e)}`,"adapterCreationFailed"),providerSelectionFailed:o(e=>`[${t.provider}] Provider selection failed: ${String(e)}`,"providerSelectionFailed"),invalidRuleExpression:o((e,a)=>`[${t.rules}] Custom rule '${e}' evaluation failed: ${String(a)}`,"invalidRuleExpression"),ruleFailed:o((e,a)=>`[${t.rules}] Rule '${e}' evaluation failed: ${String(a)}`,"ruleFailed"),invalidRoutingConfig:o(e=>`[${t.config}] Invalid routing configuration detected: ${String(e)}`,"invalidRoutingConfig"),missingRegionConfig:o(e=>`[${t.region}] Missing region configuration for '${e??"unknown"}'.`,"missingRegionConfig"),complianceCheckFailed:o((e,a)=>`[${t.compliance}] Compliance check failed for region '${e??"unknown"}': ${String(a)}`,"complianceCheckFailed")};var Cn={validationFailedPrefix:"refund-validation-failed"},pn={invalidInput:"Invalid provider or transaction ID",unknownError:"Unknown reconciliation error",descriptionFailed:"Reconciliation failed"},ln={validationErrorPattern:/^\[(.*?)\]\s(.*)$/},un={cancelProcessor:"Invalid input for cancellation",captureProcessor:"Invalid input for capture",statusProcessor:"Invalid input for payment status"};
|
|
6
|
-
Object.defineProperty(exports,"HTTP_STATUS",{enumerable:true,get:function(){return types.HTTP_STATUS}});exports.A11Y_CONSTANTS=
|
|
5
|
+
`,CARRIAGE_RETURN:"\r",FORM_FEED:"\f",VERTICAL_TAB:"\v",OPEN_PAREN:"(",CLOSE_PAREN:")",OPEN_BRACKET:"[",CLOSE_BRACKET:"]",OPEN_BRACE:"{",CLOSE_BRACE:"}",OPEN_ANGLE:"<",CLOSE_ANGLE:">"};var he={ARRAY_SPLIT_CENTER:.5,DEFAULT_PAGE_SIZE:10,DEFAULT_MAX_RETRIES:3,THREE_ITEMS:3};var ke={FNV_32_PRIME:16777619,FNV_32_OFFSET:2166136261,FNV_64_PRIME:BigInt("0x100000001b3"),FNV_64_OFFSET:BigInt("0xcbf29ce484222325"),MASK_32:4294967295,BITS_32:32,BITS_64:64},Ve={MAX_SAFE_SEED:2147483647,MAX_UINT32:4294967295},We={DEFAULT_BUCKET_COUNT:10,DEFAULT_PERCENTAGE_BUCKETS:100,HASH_SHIFT:5},we={SHA1_LENGTH:20,SHA256_LENGTH:32,SHA384_LENGTH:48,SHA512_LENGTH:64,SHA_BLOCK_SIZE:64,SHA512_BLOCK_SIZE:128},Ze={MD5_LENGTH:16,MD5_BLOCK_SIZE:64},Je={HEX:"hex",BASE64:"base64",BASE64URL:"base64url",BINARY:"binary",UTF8:"utf8"},ze={MD5:"md5",SHA1:"sha1",SHA256:"sha256",SHA384:"sha384",SHA512:"sha512",SHA3_256:"sha3-256",SHA3_384:"sha3-384",SHA3_512:"sha3-512",BLAKE2B:"blake2b",BLAKE2S:"blake2s",FNV1A_32:"fnv1a-32",FNV1A_64:"fnv1a-64"},$e={MURMUR3_32_SEED:0,MURMUR3_32_C1:3432918353,MURMUR3_32_C2:461845907,MURMUR3_32_R1:15,MURMUR3_32_R2:13,MURMUR3_32_M:5,MURMUR3_32_N:3864292196},Qe={CRC32_POLYNOMIAL:3988292384,CRC32_INITIAL:4294967295,CRC32_XOR_OUTPUT:4294967295,CRC16_POLYNOMIAL:40961,CRC16_INITIAL:0};var n={MILLISECOND:1,SECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,WEEK:6048e5,MONTH:2592e6,YEAR:31536e6,MILLISECONDS_PER_SECOND:1e3,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,DAYS_PER_WEEK:7,DAYS_PER_MONTH:30,DAYS_PER_YEAR:365,WEEKS_PER_YEAR:52,MONTHS_PER_YEAR:12,HUNDRED_MS:100,QUARTER_SECOND:250,HALF_SECOND:500,TWO_SECONDS:2e3,THREE_SECONDS:3e3,FIVE_SECONDS:5e3,TEN_SECONDS:1e4,THIRTY_SECONDS:3e4,TWO_MINUTES:12e4,FIVE_MINUTES:3e5,TEN_MINUTES:6e5,FIFTEEN_MINUTES:9e5,THIRTY_MINUTES:18e5,ONE_HOUR:36e5,TWO_HOURS:72e5,SIX_HOURS:216e5,TWELVE_HOURS:432e5,DEFAULT_TIMEOUT:5e3,DEFAULT_SHORT_TIMEOUT:1e3,DEFAULT_LONG_TIMEOUT:3e4,DEFAULT_RETRY_DELAY:100,DEFAULT_BACKOFF_BASE:1e3,DEFAULT_MAX_BACKOFF:3e4,DEFAULT_RETRY_ATTEMPTS:3,DEFAULT_DEBOUNCE_DELAY:50,DEFAULT_THROTTLE_DELAY:100,DEFAULT_ANIMATION_FRAME:16.67,DEFAULT_TRANSITION_DURATION:300,DEFAULT_CACHE_TTL:300,DEFAULT_SHORT_CACHE_TTL:60,DEFAULT_LONG_CACHE_TTL:3600,DEFAULT_SESSION_TIMEOUT:18e5,DEFAULT_IDLE_TIMEOUT:9e5,DEFAULT_POLL_INTERVAL:5e3,DEFAULT_HEARTBEAT_INTERVAL:3e4,DEFAULT_PORT:3e3,HTTP_PORT:80,HTTPS_PORT:443,WEBSOCKET_PORT:8080,DATABASE_PORT:5432,REDIS_PORT:6379,WEBSOCKET_CLOSE_NORMAL:1e3,WEBSOCKET_CLOSE_GOING_AWAY:1001,WEBSOCKET_CLOSE_PROTOCOL_ERROR:1002,WEBSOCKET_CLOSE_UNSUPPORTED:1003,WEBSOCKET_CLOSE_ABNORMAL:1006,WEBSOCKET_RETRY_DELAY:500,WEBSOCKET_PING_INTERVAL:3e4,WEBSOCKET_RECONNECT_DELAY:1e3,WEBSOCKET_MAX_RECONNECT_DELAY:3e4};var i={BINARY_BASE:2,OCTAL_BASE:8,DECIMAL_BASE:10,DUODECIMAL_BASE:12,HEX_BASE:16,BASE32:32,BASE36:36,BASE58:58,BASE62:62,BASE64:64,HEX_PAD_LENGTH:2,HEX_COLOR_LENGTH:6,HEX_COLOR_ALPHA_LENGTH:8,BITS_PER_BYTE:8,BITS_PER_NIBBLE:4,BYTES_PER_KB:1024,BYTES_PER_MB:1048576,BYTES_PER_GB:1073741824,CURRENCY_DECIMAL_PLACES:2,PERCENTAGE_DECIMAL_PLACES:2,COORDINATE_DECIMAL_PLACES:6,MAX_SAFE_INTEGER:9007199254740991,MIN_SAFE_INTEGER:-9007199254740991,MAX_INT32:2147483647,MIN_INT32:-2147483648,MAX_UINT16:65535,MAX_UINT8:255,DEGREES_FULL_CIRCLE:360,DEGREES_HALF_CIRCLE:180,DEGREES_RIGHT_ANGLE:90,DEGREES_PER_RADIAN:57.29577951308232,RADIANS_PER_DEGREE:.017453292519943295,PI:3.141592653589793,TWO_PI:6.283185307179586,HALF_PI:1.5707963267948966,E:2.718281828459045,GOLDEN_RATIO:1.618033988749895,SQRT2:1.4142135623730951,SQRT3:1.7320508075688772,LN2:.6931471805599453,LN10:2.302585092994046,LOG2E:1.4426950408889634,LOG10E:.4342944819032518},co={PERCENTAGE_MAX:100,HALF:.5,TENTH:.1,TWENTIETH:.05,PERCENT_95:.95,PERCENT_99:.99,QUADRATIC_THRESHOLD:1.5,EXPONENTIAL_THRESHOLD:3,VARIANCE_MULTIPLIER:4,VARIANCE_OFFSET:2},So={ONE_AND_HALF:1.5,DOUBLE:2,TRIPLE:3,QUADRUPLE:4,QUINTUPLE:5,TEN:10},Ro={MILLISECONDS_PER_SECOND:1e3,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,NEGATIVE_ONE:-1,ZERO:0,ONE:1,TWO:2,THREE:3,FIVE:5,TEN:10};var po={MEMORY_LEAK_THRESHOLD:.1,DEFAULT_BENCHMARK_RUNS:100,DEFAULT_WARMUP_RUNS:10};var Co={IPV4_OCTET_MIN:1,IPV4_OCTET_MAX:255,IPV4_OCTET_COUNT:4,RANDOM_BYTE_MAX:256,DEFAULT_PROCESS_ID_MAX:1e4},lo={EXCELLENT:50,GOOD:150,FAIR:400},Do={EXCELLENT:10,GOOD:2,FAIR:.5},Lo={EXCELLENT:100,GOOD:75,FAIR:50,POOR:25,OFFLINE:0},yo={FAST:15e3,MEDIUM:3e4,SLOW:6e4,VERY_SLOW:9e4,OFFLINE:5e3},go={SHORT:300,MEDIUM:600,LONG:1800},Uo={SHORT:60,MEDIUM:300,LONG:900},Mo={AGGRESSIVE:1e3,BALANCED:2e3,CONSERVATIVE:5e3},Po={FEW:2,STANDARD:3,MANY:5},mo={SHORT:1e3,LONG:2e3,MAX:3e4},fo={SMALL:1.5,MEDIUM:2,LARGE:2.5},Ho={HUGE:50,LARGE:25,MEDIUM:10,SMALL:5,NONE:0},Go={HUGE:100,LARGE:50,MEDIUM:25,SMALL:10,NONE:0};var Bo={CHART_BAR_MAX_LENGTH:40,CHART_SEPARATOR_LENGTH:60,DECIMAL_PRECISION:3},Yo={LOWERCASE_A:97,ALPHABET_SIZE:26,SPACE:32};var Xo={TWO:2,FIVE:5,NINE:9,TEN:10,TWENTY_FOUR:24,THIRTY_SIX:36,SIXTY:60,NINETY:90,HUNDERD:100,FIVE_THOUSAND:5e3,THOUSAND:1e3,THIRTY_SIX_HUNDERD:3600,THREE_HUNDERD:300,SIXTEEN:16,THIRTY_THOUSAND:3e4};var Vo={min:2,max:10,idleTimeoutMillis:3e4,acquireTimeoutMillis:1e4,scaling:{enabled:true,scaleUpThreshold:80,scaleDownThreshold:20,scaleInterval:3e4,maxScale:2}};var zo={x:"https://x.com/Plyaz_",instagram:"https://instagram.com/plyaz_",linkedin:"https://linkedin.com/company/plyaz"},$o={docs:"https://plyaz.gitbook.io/plyaz",community:"https://community.plyaz.co.uk",support:"mailto:help@plyaz.co.uk"},Qo={INITIAL_POSTS_TO_SHOW:3,POSTS_INCREMENT:3,ANIMATION_DELAY:100};var jo={FOCUS_CHECK_DELAY:100,FOCUS_TAB_COUNT:10,MIN_FOCUS_VISIBLE_TIME:200,MAX_FOCUS_WAIT_TIME:3e3,SCREEN_READER_DEBOUNCE:150,MIN_LARGE_TEXT_SIZE:18,MIN_LARGE_TEXT_BOLD_SIZE:14,MIN_NORMAL_TEXT_SIZE:14,MIN_TOUCH_TARGET_SIZE:44,MIN_INLINE_TARGET_SIZE:24,COLOR_CHANNEL_MAX:255,SRGB_THRESHOLD:.03928,SRGB_DIVISOR:12.92,SRGB_OFFSET:.055,SRGB_SCALE:1.055,SRGB_EXPONENT:2.4,LUMINANCE_RED:.2126,LUMINANCE_GREEN:.7152,LUMINANCE_BLUE:.0722,LUMINANCE_OFFSET:.05,CONTRAST_RATIO_AA:4.5,CONTRAST_RATIO_AA_LARGE:3,CONTRAST_RATIO_AAA:7,CONTRAST_RATIO_AAA_LARGE:4.5,CONTRAST_RATIO_GRAPHICS:3,PERCENTAGE_MAX:100,MAX_ESSENTIAL_ANIMATION_DURATION:5e3,REDUCED_MOTION_DURATION:1,MAX_FLASH_RATE:3,MIN_AUTO_UPDATE_INTERVAL:5,MIN_TIMEOUT_WARNING:20,DEFAULT_SESSION_TIMEOUT:20,EXTENDED_SESSION_TIMEOUT:120,MAX_BACKGROUND_AUDIO_LEVEL:-20,DEFAULT_CAPTION_OFFSET:50,MIN_CAPTION_FONT_SIZE:16,AUDIO_DESCRIPTION_DELAY:100,VALIDATION_DELAY:1e3,MAX_ERROR_MESSAGE_LENGTH:150,MIN_PASSWORD_LENGTH:8,MAX_ZOOM_WITHOUT_SCROLL:200,MIN_ZOOM_LEVEL:50,MAX_ZOOM_LEVEL:500,MAX_LINE_LENGTH:80,OPTIMAL_LINE_LENGTH:66,MIN_LINE_HEIGHT:1.5,MAX_PARAGRAPH_WIDTH:600},et={BANNER:"banner",COMPLEMENTARY:"complementary",CONTENTINFO:"contentinfo",FORM:"form",MAIN:"main",NAVIGATION:"navigation",REGION:"region",SEARCH:"search",APPLICATION:"application",ARTICLE:"article",CELL:"cell",COLUMNHEADER:"columnheader",DEFINITION:"definition",DIRECTORY:"directory",DOCUMENT:"document",FEED:"feed",FIGURE:"figure",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTITEM:"listitem",MATH:"math",NOTE:"note",PRESENTATION:"presentation",ROW:"row",ROWGROUP:"rowgroup",ROWHEADER:"rowheader",SEPARATOR:"separator",TABLE:"table",TERM:"term",ALERT:"alert",ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GRIDCELL:"gridcell",LINK:"link",LISTBOX:"listbox",LOG:"log",MARQUEE:"marquee",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",OPTION:"option",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",SCROLLBAR:"scrollbar",SEARCHBOX:"searchbox",SLIDER:"slider",SPINBUTTON:"spinbutton",STATUS:"status",SWITCH:"switch",TAB:"tab",TABLIST:"tablist",TABPANEL:"tabpanel",TEXTBOX:"textbox",TIMER:"timer",TOOLBAR:"toolbar",TOOLTIP:"tooltip",TREE:"tree",TREEGRID:"treegrid",TREEITEM:"treeitem",COMMAND:"command",COMPOSITE:"composite",INPUT:"input",LANDMARK:"landmark",RANGE:"range",ROLETYPE:"roletype",SECTION:"section",SECTIONHEAD:"sectionhead",SELECT:"select",STRUCTURE:"structure",WIDGET:"widget",WINDOW:"window"},ot={ARIA_AUTOCOMPLETE:"aria-autocomplete",ARIA_CHECKED:"aria-checked",ARIA_DISABLED:"aria-disabled",ARIA_ERRORMESSAGE:"aria-errormessage",ARIA_EXPANDED:"aria-expanded",ARIA_HASPOPUP:"aria-haspopup",ARIA_HIDDEN:"aria-hidden",ARIA_INVALID:"aria-invalid",ARIA_LABEL:"aria-label",ARIA_LEVEL:"aria-level",ARIA_MODAL:"aria-modal",ARIA_MULTILINE:"aria-multiline",ARIA_MULTISELECTABLE:"aria-multiselectable",ARIA_ORIENTATION:"aria-orientation",ARIA_PLACEHOLDER:"aria-placeholder",ARIA_PRESSED:"aria-pressed",ARIA_READONLY:"aria-readonly",ARIA_REQUIRED:"aria-required",ARIA_SELECTED:"aria-selected",ARIA_SORT:"aria-sort",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUENOW:"aria-valuenow",ARIA_VALUETEXT:"aria-valuetext",ARIA_LIVE:"aria-live",ARIA_ATOMIC:"aria-atomic",ARIA_RELEVANT:"aria-relevant",ARIA_BUSY:"aria-busy",ARIA_DROPEFFECT:"aria-dropeffect",ARIA_GRABBED:"aria-grabbed",ARIA_ACTIVEDESCENDANT:"aria-activedescendant",ARIA_COLCOUNT:"aria-colcount",ARIA_COLINDEX:"aria-colindex",ARIA_COLSPAN:"aria-colspan",ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_DETAILS:"aria-details",ARIA_FLOWTO:"aria-flowto",ARIA_LABELLEDBY:"aria-labelledby",ARIA_OWNS:"aria-owns",ARIA_POSINSET:"aria-posinset",ARIA_ROWCOUNT:"aria-rowcount",ARIA_ROWINDEX:"aria-rowindex",ARIA_ROWSPAN:"aria-rowspan",ARIA_SETSIZE:"aria-setsize",ARIA_CURRENT:"aria-current",ARIA_DESCRIPTION:"aria-description",ARIA_KEYSHORTCUTS:"aria-keyshortcuts",ARIA_ROLEDESCRIPTION:"aria-roledescription"},tt={TAB:"Tab",ENTER:"Enter",SPACE:" ",ESCAPE:"Escape",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",HOME:"Home",END:"End",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",TAB_KEYCODE:9,ENTER_KEYCODE:13,ESCAPE_KEYCODE:27,SPACE_KEYCODE:32,ARROW_LEFT_KEYCODE:37,ARROW_UP_KEYCODE:38,ARROW_RIGHT_KEYCODE:39,ARROW_DOWN_KEYCODE:40},rt={POLITE:"polite",ASSERTIVE:"assertive",OFF:"off"},nt={INITIAL_FOCUS:"[data-focus-initial], [autofocus]",FOCUSABLE_ELEMENTS:'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',INTERACTIVE_ELEMENTS:'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',SKIP_LINK:"[data-skip-link], .skip-link"};var Tt={ISO_COUNTRY_CODE_LENGTH:2,ISO_COUNTRY_CODE_ALPHA3_LENGTH:3,ISO_LANGUAGE_CODE_LENGTH:2,ISO_LANGUAGE_CODE_ALPHA3_LENGTH:3,ISO_CURRENCY_CODE_LENGTH:3,ISO_DATE_LENGTH:10,ISO_DATETIME_LENGTH:24,ISO_TIME_LENGTH:8,ISO_WEEK_DATE_LENGTH:8,BCP47_MIN_LENGTH:2,BCP47_WITH_REGION_LENGTH:5,RFC5646_MAX_LENGTH:35,ISO_NUMERIC_COUNTRY_CODE_LENGTH:3,ISO_639_3_LENGTH:3};var st={LOCALE_SEPARATOR:"-",BCP47_SEPARATOR:"-",CURRENCY_DECIMALS:2,CURRENCY_SYMBOL_BEFORE:true,THOUSANDS_SEPARATOR:",",DECIMAL_SEPARATOR:".",MAX_LOCALE_LENGTH:35,MIN_LOCALE_LENGTH:2,PERCENTAGE_DECIMALS:2,DEFAULT_FRACTION_DIGITS:2,MAX_FRACTION_DIGITS:20},_t={ISO_DATE:"YYYY-MM-DD",ISO_DATETIME:"YYYY-MM-DDTHH:mm:ss.sssZ",ISO_TIME:"HH:mm:ss",US_DATE:"MM/DD/YYYY",EU_DATE:"DD/MM/YYYY",UK_DATE:"DD/MM/YYYY",JP_DATE:"YYYY/MM/DD",SHORT_DATE:"MMM DD",LONG_DATE:"MMMM DD, YYYY",FULL_DATE:"dddd, MMMM DD, YYYY",TIME_12H:"hh:mm A",TIME_24H:"HH:mm",TIME_12H_SECONDS:"hh:mm:ss A",TIME_24H_SECONDS:"HH:mm:ss",RELATIVE_TIME_THRESHOLD:86400,MONTH_YEAR:"MMMM YYYY",SHORT_MONTH_YEAR:"MMM YYYY",YEAR_ONLY:"YYYY"},ct={LTR:"ltr",RTL:"rtl",AUTO:"auto"};var Rt={INTERNATIONAL_PREFIX:"+",IDD_PREFIX:"00",US_COUNTRY_CODE:"1",UK_COUNTRY_CODE:"44",DE_COUNTRY_CODE:"49",FR_COUNTRY_CODE:"33",JP_COUNTRY_CODE:"81",CN_COUNTRY_CODE:"86",IN_COUNTRY_CODE:"91",BR_COUNTRY_CODE:"55",US_PHONE_LENGTH:10,UK_PHONE_LENGTH:10,MIN_PHONE_LENGTH:7,MAX_PHONE_LENGTH:15,E164_MAX_LENGTH:16,E164_MIN_LENGTH:8,US_AREA_CODE_LENGTH:3,US_EXCHANGE_CODE_LENGTH:3,US_LINE_NUMBER_LENGTH:4,MAX_EXTENSION_LENGTH:6,MAX_COUNTRY_CODE_LENGTH:3,MAX_NATIONAL_NUMBER_LENGTH:15},Nt={US_FORMAT:"(XXX) XXX-XXXX",UK_FORMAT:"XXXX XXX XXXX",INTERNATIONAL_FORMAT:"+X XXX XXX XXXX",E164_FORMAT:"+XXXXXXXXXXXX",EXTENSION_FORMAT:"ext. XXXX"};var ut={US_ZIP_LENGTH:5,US_ZIP_PLUS4_LENGTH:9,US_ZIP_SEPARATOR:"-",CA_POSTAL_CODE_LENGTH:6,UK_POSTCODE_MIN_LENGTH:5,UK_POSTCODE_MAX_LENGTH:8,DE_POSTAL_CODE_LENGTH:5,FR_POSTAL_CODE_LENGTH:5,JP_POSTAL_CODE_LENGTH:7,AU_POSTAL_CODE_LENGTH:4,BR_CEP_LENGTH:8,STATE_CODE_LENGTH:2,STATE_NAME_MAX_LENGTH:50,MAX_ADDRESS_LINE_LENGTH:100,MIN_ADDRESS_LINE_LENGTH:3,MAX_CITY_LENGTH:50,MIN_CITY_LENGTH:2,MAX_COUNTRY_LENGTH:56,MAX_BUILDING_NUMBER_LENGTH:10,MAX_UNIT_NUMBER_LENGTH:10,MAX_PO_BOX_LENGTH:10,MAX_ADDRESS_LINES:3},pt={ADDRESS_LINE_1:"addressLine1",ADDRESS_LINE_2:"addressLine2",CITY:"city",STATE:"state",POSTAL_CODE:"postalCode",COUNTRY:"country",BUILDING_NUMBER:"buildingNumber",UNIT_NUMBER:"unitNumber",PO_BOX:"poBox",DISTRICT:"district",COUNTY:"county"};var e={USD:"USD",EUR:"EUR",GBP:"GBP",JPY:"JPY",CHF:"CHF",CAD:"CAD",AUD:"AUD",CNY:"CNY",INR:"INR",KRW:"KRW",SGD:"SGD",HKD:"HKD",TWD:"TWD",THB:"THB",IDR:"IDR",MYR:"MYR",PHP:"PHP",VND:"VND",BDT:"BDT",PKR:"PKR",LKR:"LKR",SEK:"SEK",NOK:"NOK",DKK:"DKK",PLN:"PLN",CZK:"CZK",HUF:"HUF",RON:"RON",BGN:"BGN",HRK:"HRK",RSD:"RSD",ISK:"ISK",BRL:"BRL",MXN:"MXN",ARS:"ARS",CLP:"CLP",COP:"COP",PEN:"PEN",UYU:"UYU",VES:"VES",BOB:"BOB",PYG:"PYG",CRC:"CRC",GTQ:"GTQ",HNL:"HNL",NIO:"NIO",PAB:"PAB",DOP:"DOP",JMD:"JMD",TTD:"TTD",BBD:"BBD",AED:"AED",SAR:"SAR",QAR:"QAR",KWD:"KWD",BHD:"BHD",OMR:"OMR",JOD:"JOD",ILS:"ILS",TRY:"TRY",IQD:"IQD",IRR:"IRR",LBP:"LBP",SYP:"SYP",ZAR:"ZAR",NGN:"NGN",EGP:"EGP",KES:"KES",GHS:"GHS",MAD:"MAD",TND:"TND",DZD:"DZD",ETB:"ETB",TZS:"TZS",UGX:"UGX",ZMW:"ZMW",BWP:"BWP",MUR:"MUR",NZD:"NZD",FJD:"FJD",PGK:"PGK",RUB:"RUB",UAH:"UAH",BYN:"BYN",KZT:"KZT",UZS:"UZS",AZN:"AZN",GEL:"GEL",AMD:"AMD",BTC:"BTC",ETH:"ETH",USDT:"USDT",USDC:"USDC"},Ct={NO_DECIMAL_CURRENCIES:["JPY","KRW","VND","IDR","CLP","ISK","TWD"],THREE_DECIMAL_CURRENCIES:["BHD","IQD","JOD","KWD","OMR","TND"],RESERVE_CURRENCIES:["USD","EUR","GBP","JPY","CNY"],G7_CURRENCIES:["USD","EUR","GBP","JPY","CAD"],DEFAULT_DECIMAL_PLACES:2};var Dt={US:"US",CA:"CA",MX:"MX",BR:"BR",AR:"AR",CL:"CL",CO:"CO",PE:"PE",VE:"VE",EC:"EC",BO:"BO",PY:"PY",UY:"UY",GY:"GY",SR:"SR",GF:"GF",FK:"FK",CU:"CU",DO:"DO",HT:"HT",JM:"JM",TT:"TT",BB:"BB",BS:"BS",PR:"PR",GT:"GT",HN:"HN",SV:"SV",NI:"NI",CR:"CR",PA:"PA",BZ:"BZ",GB:"GB",FR:"FR",DE:"DE",IT:"IT",ES:"ES",PT:"PT",NL:"NL",BE:"BE",LU:"LU",CH:"CH",AT:"AT",IE:"IE",DK:"DK",SE:"SE",NO:"NO",FI:"FI",IS:"IS",PL:"PL",CZ:"CZ",SK:"SK",HU:"HU",RO:"RO",BG:"BG",GR:"GR",HR:"HR",SI:"SI",RS:"RS",BA:"BA",ME:"ME",MK:"MK",AL:"AL",XK:"XK",EE:"EE",LV:"LV",LT:"LT",BY:"BY",UA:"UA",MD:"MD",RU:"RU",CY:"CY",MT:"MT",AD:"AD",MC:"MC",SM:"SM",VA:"VA",LI:"LI",CN:"CN",JP:"JP",KR:"KR",KP:"KP",TW:"TW",HK:"HK",MO:"MO",IN:"IN",PK:"PK",BD:"BD",LK:"LK",NP:"NP",BT:"BT",MV:"MV",AF:"AF",TH:"TH",VN:"VN",MY:"MY",SG:"SG",ID:"ID",PH:"PH",BN:"BN",KH:"KH",LA:"LA",MM:"MM",TL:"TL",MN:"MN",KZ:"KZ",UZ:"UZ",TJ:"TJ",KG:"KG",TM:"TM",AZ:"AZ",GE:"GE",AM:"AM",SA:"SA",AE:"AE",QA:"QA",KW:"KW",BH:"BH",OM:"OM",YE:"YE",JO:"JO",LB:"LB",SY:"SY",IQ:"IQ",IR:"IR",IL:"IL",PS:"PS",TR:"TR",EG:"EG",LY:"LY",TN:"TN",DZ:"DZ",MA:"MA",EH:"EH",MR:"MR",ML:"ML",NE:"NE",TD:"TD",SD:"SD",SS:"SS",ER:"ER",DJ:"DJ",SO:"SO",ET:"ET",KE:"KE",UG:"UG",RW:"RW",BI:"BI",TZ:"TZ",MZ:"MZ",MW:"MW",ZM:"ZM",ZW:"ZW",BW:"BW",NA:"NA",ZA:"ZA",LS:"LS",SZ:"SZ",AO:"AO",CD:"CD",CG:"CG",GA:"GA",GQ:"GQ",CM:"CM",CF:"CF",NG:"NG",BJ:"BJ",TG:"TG",GH:"GH",BF:"BF",CI:"CI",LR:"LR",SL:"SL",GN:"GN",GW:"GW",SN:"SN",GM:"GM",CV:"CV",ST:"ST",MG:"MG",MU:"MU",SC:"SC",KM:"KM",RE:"RE",AU:"AU",NZ:"NZ",PG:"PG",FJ:"FJ",SB:"SB",VU:"VU",NC:"NC",PF:"PF",WS:"WS",TO:"TO",TV:"TV",NR:"NR",KI:"KI",PW:"PW",MH:"MH",FM:"FM",GU:"GU",MP:"MP",AS:"AS",CK:"CK",NU:"NU",TK:"TK",WF:"WF",PN:"PN",AQ:"AQ"},Lt={"+1":["US","CA"],"+20":["EG"],"+27":["ZA"],"+30":["GR"],"+31":["NL"],"+32":["BE"],"+33":["FR"],"+34":["ES"],"+36":["HU"],"+39":["IT"],"+40":["RO"],"+41":["CH"],"+43":["AT"],"+44":["GB"],"+45":["DK"],"+46":["SE"],"+47":["NO"],"+48":["PL"],"+49":["DE"],"+51":["PE"],"+52":["MX"],"+53":["CU"],"+54":["AR"],"+55":["BR"],"+56":["CL"],"+57":["CO"],"+58":["VE"],"+60":["MY"],"+61":["AU"],"+62":["ID"],"+63":["PH"],"+64":["NZ"],"+65":["SG"],"+66":["TH"],"+7":["RU","KZ"],"+81":["JP"],"+82":["KR"],"+84":["VN"],"+86":["CN"],"+90":["TR"],"+91":["IN"],"+92":["PK"],"+93":["AF"],"+94":["LK"],"+95":["MM"],"+98":["IR"],"+212":["MA"],"+213":["DZ"],"+216":["TN"],"+218":["LY"],"+220":["GM"],"+221":["SN"],"+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"],"+254":["KE"],"+255":["TZ"],"+256":["UG"],"+257":["BI"],"+258":["MZ"],"+260":["ZM"],"+261":["MG"],"+263":["ZW"],"+264":["NA"],"+265":["MW"],"+266":["LS"],"+267":["BW"],"+268":["SZ"],"+248":["SC"],"+250":["RW"],"+251":["ET"],"+252":["SO"],"+253":["DJ"],"+852":["HK"],"+853":["MO"],"+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"]},yt={EU:["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],NORTH_AMERICA:["US","CA","MX"],SOUTH_AMERICA:["AR","BO","BR","CL","CO","EC","GF","GY","PY","PE","SR","UY","VE"],G7:["US","CA","GB","FR","DE","IT","JP"],G20:["AR","AU","BR","CA","CN","FR","DE","IN","ID","IT","JP","KR","MX","RU","SA","ZA","TR","GB","US"],ASEAN:["BN","KH","ID","LA","MY","MM","PH","SG","TH","VN"],BRICS:["BR","RU","IN","CN","ZA"],OECD:["AU","AT","BE","CA","CL","CO","CR","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IE","IL","IT","JP","KR","LV","LT","LU","MX","NL","NZ","NO","PL","PT","SK","SI","ES","SE","CH","TR","GB","US"],COMMONWEALTH:["AG","AU","BS","BD","BB","BZ","BW","BN","CM","CA","CY","DM","FJ","GM","GH","GD","GY","IN","JM","KE","KI","LS","MW","MY","MV","MT","MU","MZ","NA","NR","NZ","NG","PK","PG","RW","KN","LC","VC","WS","SC","SL","SG","SB","ZA","LK","SZ","TZ","TO","TT","TV","UG","GB","VU","ZM"]},gt={DE:{region:"eu"},FR:{region:"eu"},IT:{region:"eu"},ES:{region:"eu"},NL:{region:"eu"},BE:{region:"eu"},AT:{region:"eu"},SE:{region:"eu"},DK:{region:"eu"},FI:{region:"eu"},NO:{region:"eu"},PL:{region:"eu"},CZ:{region:"eu"},HU:{region:"eu"},SK:{region:"eu"},SI:{region:"eu"},HR:{region:"eu"},BG:{region:"eu"},RO:{region:"eu"},GR:{region:"eu"},PT:{region:"eu"},IE:{region:"eu"},LU:{region:"eu"},MT:{region:"eu"},CY:{region:"eu"},EE:{region:"eu"},LV:{region:"eu"},LT:{region:"eu"},GB:{region:"eu"},IS:{region:"eu"},LI:{region:"eu"},CH:{region:"eu"},US:{region:"us"},CA:{region:"ca"},CN:{region:"cn"},HK:{region:"cn"},MO:{region:"cn"},JP:{region:"jp"},KR:{region:"global"},TW:{region:"global"},SG:{region:"global"},MY:{region:"global"},TH:{region:"global"},IN:{region:"global"},ID:{region:"global"},PH:{region:"global"},VN:{region:"global"},AU:{region:"global"},NZ:{region:"global"},MX:{region:"global"},BR:{region:"global"},AR:{region:"global"},CL:{region:"global"},CO:{region:"global"},AE:{region:"global"},SA:{region:"global"},IL:{region:"global"},TR:{region:"global"},ZA:{region:"global"},EG:{region:"global"},NG:{region:"global"},KE:{region:"global"},RU:{region:"global"}};var Ut={AMERICAS:["en-US","es-MX","pt-BR","en-CA","fr-CA"],EUROPE:["en-GB","de-DE","fr-FR","it-IT","es-ES","nl-NL"],ASIA_PACIFIC:["zh-CN","ja-JP","ko-KR","hi-IN","en-AU"],MIDDLE_EAST_AFRICA:["ar-SA","he-IL","tr-TR","en-ZA"]},Mt={de:{region:"eu",country:"DE"},"de-de":{region:"eu",country:"DE"},"de-at":{region:"eu",country:"AT"},"de-ch":{region:"eu",country:"CH"},"it-ch":{region:"eu",country:"CH"},"fr-ch":{region:"eu",country:"CH"},fr:{region:"eu",country:"FR"},"fr-fr":{region:"eu",country:"FR"},"fr-be":{region:"eu",country:"BE"},es:{region:"eu",country:"ES"},"es-es":{region:"eu",country:"ES"},it:{region:"eu",country:"IT"},"it-it":{region:"eu",country:"IT"},nl:{region:"eu",country:"NL"},"nl-nl":{region:"eu",country:"NL"},"nl-be":{region:"eu",country:"BE"},pl:{region:"eu",country:"PL"},"pl-pl":{region:"eu",country:"PL"},pt:{region:"eu",country:"PT"},"pt-pt":{region:"eu",country:"PT"},sv:{region:"eu",country:"SE"},"sv-se":{region:"eu",country:"SE"},"sv-fi":{region:"eu",country:"FI"},da:{region:"eu",country:"DK"},"da-dk":{region:"eu",country:"DK"},fi:{region:"eu",country:"FI"},"fi-fi":{region:"eu",country:"FI"},"en-gb":{region:"eu",country:"GB"},"en-ie":{region:"eu",country:"IE"},"en-us":{region:"us",country:"US"},en:{region:"global",country:void 0},zh:{region:"cn",country:"CN"},"zh-cn":{region:"cn",country:"CN"},"zh-hans":{region:"cn",country:"CN"},"zh-hk":{region:"cn",country:"HK"},"zh-tw":{region:"global",country:"TW"},ja:{region:"jp",country:"JP"},"ja-jp":{region:"jp",country:"JP"},"en-ca":{region:"ca",country:"CA"},"fr-ca":{region:"ca",country:"CA"},"en-au":{region:"global",country:"AU"},"en-nz":{region:"global",country:"NZ"},ko:{region:"global",country:"KR"},"ko-kr":{region:"global",country:"KR"},"pt-br":{region:"global",country:"BR"},"es-mx":{region:"global",country:"MX"},"es-ar":{region:"global",country:"AR"},"es-cl":{region:"global",country:"CL"},"es-co":{region:"global",country:"CO"},"es-pe":{region:"global",country:"PE"},"es-VE":{region:"global",country:"VE"},"es-EC":{region:"global",country:"EC"},"es-UY":{region:"global",country:"UY"},"es-PY":{region:"global",country:"PY"},"es-BO":{region:"global",country:"BO"},"es-DO":{region:"global",country:"DO"},"es-GT":{region:"global",country:"GT"},"es-HN":{region:"global",country:"HN"},"es-NI":{region:"global",country:"NI"},"es-PA":{region:"global",country:"PA"},"es-CR":{region:"global",country:"CR"},"es-SV":{region:"global",country:"SV"},"zh-SG":{region:"global",country:"SG"},"en-SG":{region:"global",country:"SG"},"en-IN":{region:"global",country:"IN"},"hi-IN":{region:"global",country:"IN"},"en-PH":{region:"global",country:"PH"},"tl-PH":{region:"global",country:"PH"},"id-ID":{region:"global",country:"ID"},"ms-MY":{region:"global",country:"MY"},"en-MY":{region:"global",country:"MY"},"th-TH":{region:"global",country:"TH"},"vi-VN":{region:"global",country:"VN"},"ar-SA":{region:"global",country:"SA"},"ar-AE":{region:"global",country:"AE"},"ar-EG":{region:"global",country:"EG"},"ar-DZ":{region:"global",country:"DZ"},"ar-MA":{region:"global",country:"MA"},"he-IL":{region:"global",country:"IL"},"tr-TR":{region:"global",country:"TR"},"en-ZA":{region:"global",country:"ZA"},"af-ZA":{region:"global",country:"ZA"},"en-NG":{region:"global",country:"NG"},"en-KE":{region:"global",country:"KE"},"sw-KE":{region:"global",country:"KE"},"ru-RU":{region:"global",country:"RU"},"uk-UA":{region:"eu",country:"UA"},"be-BY":{region:"global",country:"BY"},"kk-KZ":{region:"global",country:"KZ"}};var mt={"Europe/London":{region:"eu",country:"GB"},"Europe/Berlin":{region:"eu",country:"DE"},"Europe/Paris":{region:"eu",country:"FR"},"Europe/Rome":{region:"eu",country:"IT"},"Europe/Madrid":{region:"eu",country:"ES"},"Europe/Amsterdam":{region:"eu",country:"NL"},"Europe/Stockholm":{region:"eu",country:"SE"},"Europe/Helsinki":{region:"eu",country:"FI"},"Europe/Vienna":{region:"eu",country:"AT"},"Europe/Brussels":{region:"eu",country:"BE"},"Europe/Dublin":{region:"eu",country:"IE"},"Europe/Copenhagen":{region:"eu",country:"DK"},"Europe/Warsaw":{region:"eu",country:"PL"},"Europe/Prague":{region:"eu",country:"CZ"},"Europe/Budapest":{region:"eu",country:"HU"},"Europe/Bucharest":{region:"eu",country:"RO"},"Europe/Athens":{region:"eu",country:"GR"},"Europe/Lisbon":{region:"eu",country:"PT"},"Europe/Zagreb":{region:"eu",country:"HR"},"Europe/Ljubljana":{region:"eu",country:"SI"},"Europe/Bratislava":{region:"eu",country:"SK"},"Europe/Sofia":{region:"eu",country:"BG"},"Europe/Tallinn":{region:"eu",country:"EE"},"Europe/Riga":{region:"eu",country:"LV"},"Europe/Vilnius":{region:"eu",country:"LT"},"Europe/Luxembourg":{region:"eu",country:"LU"},"Europe/Malta":{region:"eu",country:"MT"},"Europe/Oslo":{region:"eu",country:"NO"},"Europe/Zurich":{region:"eu",country:"CH"},"Europe/Reykjavik":{region:"eu",country:"IS"},"Europe/Kiev":{region:"eu",country:"UA"},"Europe/Minsk":{region:"global",country:"BY"},"Europe/Moscow":{region:"global",country:"RU"},"America/Los_Angeles":{region:"us",country:"US",state:"ca"},"America/San_Francisco":{region:"us",country:"US",state:"ca"},"America/New_York":{region:"us",country:"US",state:"ny"},"America/Chicago":{region:"us",country:"US",state:"il"},"America/Denver":{region:"us",country:"US",state:"co"},"America/Phoenix":{region:"us",country:"US",state:"az"},"America/Detroit":{region:"us",country:"US",state:"mi"},"America/Atlanta":{region:"us",country:"US",state:"ga"},"America/Miami":{region:"us",country:"US",state:"fl"},"America/Dallas":{region:"us",country:"US",state:"tx"},"America/Houston":{region:"us",country:"US",state:"tx"},"America/Seattle":{region:"us",country:"US",state:"wa"},"America/Boston":{region:"us",country:"US",state:"ma"},"America/Philadelphia":{region:"us",country:"US",state:"pa"},"Asia/Shanghai":{region:"cn",country:"CN"},"Asia/Beijing":{region:"cn",country:"CN"},"Asia/Hong_Kong":{region:"cn",country:"HK"},"Asia/Macau":{region:"cn",country:"MO"},"Asia/Chongqing":{region:"cn",country:"CN"},"Asia/Urumqi":{region:"cn",country:"CN"},"Asia/Tokyo":{region:"jp",country:"JP"},"Asia/Osaka":{region:"jp",country:"JP"},"Asia/Bangkok":{region:"global",country:"TH"},"Asia/Jakarta":{region:"global",country:"ID"},"Asia/Manila":{region:"global",country:"PH"},"Asia/Kuala_Lumpur":{region:"global",country:"MY"},"Asia/Ho_Chi_Minh":{region:"global",country:"VN"},"Asia/Taipei":{region:"global",country:"TW"},"Asia/Kolkata":{region:"global",country:"IN"},"Asia/Delhi":{region:"global",country:"IN"},"Asia/Karachi":{region:"global",country:"PK"},"Asia/Dhaka":{region:"global",country:"BD"},"Asia/Colombo":{region:"global",country:"LK"},"Asia/Kathmandu":{region:"global",country:"NP"},"Pacific/Fiji":{region:"global",country:"FJ"},"Pacific/Guam":{region:"us",country:"GU"},"Pacific/Honolulu":{region:"us",country:"US",state:"hi"},"America/Toronto":{region:"us",country:"CA"},"America/Vancouver":{region:"us",country:"CA"},"America/Montreal":{region:"us",country:"CA"},"America/Edmonton":{region:"us",country:"CA"},"America/Winnipeg":{region:"us",country:"CA"},"America/Halifax":{region:"us",country:"CA"},"Australia/Sydney":{region:"global",country:"AU"},"Australia/Melbourne":{region:"global",country:"AU"},"Australia/Brisbane":{region:"global",country:"AU"},"Australia/Perth":{region:"global",country:"AU"},"Australia/Adelaide":{region:"global",country:"AU"},"Australia/Darwin":{region:"global",country:"AU"},"Australia/Hobart":{region:"global",country:"AU"},"Pacific/Auckland":{region:"global",country:"NZ"},"Pacific/Wellington":{region:"global",country:"NZ"},"Pacific/Christchurch":{region:"global",country:"NZ"},"Asia/Singapore":{region:"global",country:"SG"},"Asia/Seoul":{region:"global",country:"KR"},"Asia/Mumbai":{region:"global",country:"IN"},"Asia/Dubai":{region:"global",country:"AE"},"Asia/Riyadh":{region:"global",country:"SA"},"Asia/Jerusalem":{region:"global",country:"IL"},"Asia/Tel_Aviv":{region:"global",country:"IL"},"Asia/Istanbul":{region:"global",country:"TR"},"Asia/Tehran":{region:"global",country:"IR"},"Asia/Baghdad":{region:"global",country:"IQ"},"Asia/Kuwait":{region:"global",country:"KW"},"Asia/Doha":{region:"global",country:"QA"},"Asia/Muscat":{region:"global",country:"OM"},"Asia/Amman":{region:"global",country:"JO"},"Asia/Beirut":{region:"global",country:"LB"},"Asia/Damascus":{region:"global",country:"SY"},"America/Sao_Paulo":{region:"global",country:"BR"},"America/Rio_de_Janeiro":{region:"global",country:"BR"},"America/Brasilia":{region:"global",country:"BR"},"America/Mexico_City":{region:"global",country:"MX"},"America/Tijuana":{region:"global",country:"MX"},"America/Monterrey":{region:"global",country:"MX"},"America/Buenos_Aires":{region:"global",country:"AR"},"America/Santiago":{region:"global",country:"CL"},"America/Bogota":{region:"global",country:"CO"},"America/Lima":{region:"global",country:"PE"},"America/Caracas":{region:"global",country:"VE"},"America/La_Paz":{region:"global",country:"BO"},"America/Guayaquil":{region:"global",country:"EC"},"America/Montevideo":{region:"global",country:"UY"},"America/Asuncion":{region:"global",country:"PY"},"America/Santo_Domingo":{region:"global",country:"DO"},"America/Havana":{region:"global",country:"CU"},"America/Panama":{region:"global",country:"PA"},"America/Guatemala":{region:"global",country:"GT"},"America/Costa_Rica":{region:"global",country:"CR"},"America/San_Salvador":{region:"global",country:"SV"},"America/Tegucigalpa":{region:"global",country:"HN"},"America/Managua":{region:"global",country:"NI"},"America/Jamaica":{region:"global",country:"JM"},"America/Port-au-Prince":{region:"global",country:"HT"},"Africa/Johannesburg":{region:"global",country:"ZA"},"Africa/Cairo":{region:"global",country:"EG"},"Africa/Lagos":{region:"global",country:"NG"},"Africa/Nairobi":{region:"global",country:"KE"},"Africa/Casablanca":{region:"global",country:"MA"},"Africa/Algiers":{region:"global",country:"DZ"},"Africa/Tunis":{region:"global",country:"TN"},"Africa/Addis_Ababa":{region:"global",country:"ET"},"Africa/Dar_es_Salaam":{region:"global",country:"TZ"},"Africa/Kinshasa":{region:"global",country:"CD"},"Africa/Luanda":{region:"global",country:"AO"},"Africa/Kampala":{region:"global",country:"UG"},"Africa/Harare":{region:"global",country:"ZW"},"Africa/Accra":{region:"global",country:"GH"},"Africa/Dakar":{region:"global",country:"SN"},"Africa/Abidjan":{region:"global",country:"CI"},"Europe/":{region:"eu"},"America/":{region:"us"},"Asia/":{region:"asia"},"Africa/":{region:"global"},"Pacific/":{region:"global"}};var p={validation_error:{status:400,message:"errors.validation.error"},unauthorized:{status:401,message:"errors.auth.unauthorized"},payment_failed:{status:402,message:"errors.payment.failed"},forbidden:{status:403,message:"errors.auth.forbidden"},not_found:{status:404,message:"errors.common.notFound"},method_not_allowed:{status:405,message:"errors.common.methodNotAllowed"},user_already_exists:{status:409,message:"errors.user.alreadyExists"},unprocessable_entity:{status:422,message:"errors.validation.unprocessable"},too_many_requests:{status:429,message:"errors.rateLimit.tooManyRequests"},internal_server_error:{status:500,message:"errors.server.internal"},not_implemented:{status:501,message:"errors.server.notImplemented"},bad_gateway:{status:502,message:"errors.server.badGateway"},service_unavailable:{status:503,message:"errors.server.serviceUnavailable"},gateway_timeout:{status:504,message:"errors.server.gatewayTimeout"}},vt={InvalidInput:{type:"form",message:"Invalid input",timestamp:new Date().toISOString()},[p.internal_server_error.status]:{type:"server",message:"Something went wrong",timestamp:new Date().toISOString()},[p.unauthorized.status]:{type:"auth",message:"Please log in again",timestamp:new Date().toISOString()}},Xt=["GLOBAL","CONFIG","CLIENT","REQUEST","TEMPORARY"];var wt={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},Zt=["email","password","wallet","token","secret","ssn"],Jt=[{target:"pino-pretty",options:{colorize:true}}];var jt={timeout:n.THIRTY_SECONDS,unifiedStrategy:"interactive",revalidationStrategy:"balanced",strategy:"softFail",headers:{presets:["json"],autoDetectNetwork:true,requestClientHints:false},enrichedHeaders:{enabled:true,preset:"standard",includeDevice:false,includeNetwork:true,includePlatform:true,includeCompliance:true,respectDoNotTrack:true,autoDetectRegion:true,regionalPreset:"global",useTimezone:true},networkAware:{enabled:true,adaptConfig:true,requestClientHints:false},tracking:{enabled:true,operations:true,events:true,performanceMode:"minimal",queueStrategy:"batch",eventStrategy:"queued",telemetry:true},retryStrategy:"aggressive",encryption:{enabled:true,algorithm:"AES-GCM",autoDecrypt:true,target:["all"],key:void 0,fields:["*.email","*.ssn","*.taxId","*.nationalId","*.passport","*.driverLicense","*.governmentId","*.phone","*.phoneNumber","*.mobile","*.telephone","*.address.street","*.address.line1","*.address.line2","*.postalCode","*.zipCode","*.cardNumber","*.creditCard","*.debitCard","*.cvv","*.cvc","*.iban","*.accountNumber","*.routingNumber","*.swiftCode","*.sortCode","*.password","*.apiKey","*.secret","*.token","*.accessToken","*.refreshToken","*.privateKey","*.secretKey","*.wallet","*.walletAddress","*.mnemonic","*.seedPhrase","*.privateKeyHex","*.medicalRecord","*.medicalRecordNumber","*.healthInfo","*.diagnosis","*.prescription","*.healthInsurance","*.fingerprint","*.faceId","*.biometric","*.birthDate","*.dateOfBirth","*.dob","*.ipAddress","*.ip"]}},er={timeout:n.THIRTY_SECONDS,unifiedStrategy:"interactive",revalidationStrategy:"balanced",strategy:"softFail",headers:{presets:["json"],autoDetectNetwork:true,requestClientHints:false},enrichedHeaders:{enabled:true,preset:"standard",includeDevice:true,includeNetwork:true,includePlatform:true,includeCompliance:true,respectDoNotTrack:true,autoDetectRegion:true,regionalPreset:"global",useTimezone:true},networkAware:{enabled:true,adaptConfig:true,requestClientHints:false},tracking:{enabled:true,operations:true,events:true,performanceMode:"full",queueStrategy:"batch",eventStrategy:"queued",telemetry:true},retryStrategy:"aggressive",encryption:{enabled:true,algorithm:"AES-GCM",autoDecrypt:true,target:["all"],key:void 0,fields:["*.email","*.ssn","*.taxId","*.nationalId","*.passport","*.driverLicense","*.governmentId","*.phone","*.phoneNumber","*.mobile","*.telephone","*.address.street","*.address.line1","*.address.line2","*.postalCode","*.zipCode","*.cardNumber","*.creditCard","*.debitCard","*.cvv","*.cvc","*.iban","*.accountNumber","*.routingNumber","*.swiftCode","*.sortCode","*.password","*.apiKey","*.secret","*.token","*.accessToken","*.refreshToken","*.privateKey","*.secretKey","*.wallet","*.walletAddress","*.mnemonic","*.seedPhrase","*.privateKeyHex","*.medicalRecord","*.medicalRecordNumber","*.healthInfo","*.diagnosis","*.prescription","*.healthInsurance","*.fingerprint","*.faceId","*.biometric","*.birthDate","*.dateOfBirth","*.dob","*.ipAddress","*.ip"]}},or={timeout:n.TWO_MINUTES,unifiedStrategy:"interactive",revalidationStrategy:"balanced",strategy:"softFail",headers:{presets:["json"],autoDetectNetwork:true,requestClientHints:true},enrichedHeaders:{enabled:true,preset:"full",includeDevice:true,includeNetwork:true,includePlatform:true,includeCompliance:true,includePerformance:true,respectDoNotTrack:false,autoDetectRegion:true,regionalPreset:"global",useTimezone:true},networkAware:{enabled:false,adaptConfig:false,requestClientHints:false},tracking:{enabled:true,operations:true,events:true,performanceMode:"full",queueStrategy:"immediate",eventStrategy:"immediate",telemetry:false},retryStrategy:"conservative",encryption:{enabled:false,algorithm:"AES-GCM",autoDecrypt:true,target:["all"],key:void 0,fields:["*.email","*.ssn","*.taxId","*.nationalId","*.passport","*.driverLicense","*.governmentId","*.phone","*.phoneNumber","*.mobile","*.telephone","*.address.street","*.address.line1","*.address.line2","*.postalCode","*.zipCode","*.cardNumber","*.creditCard","*.debitCard","*.cvv","*.cvc","*.iban","*.accountNumber","*.routingNumber","*.swiftCode","*.sortCode","*.password","*.apiKey","*.secret","*.token","*.accessToken","*.refreshToken","*.privateKey","*.secretKey","*.wallet","*.walletAddress","*.mnemonic","*.seedPhrase","*.privateKeyHex","*.medicalRecord","*.medicalRecordNumber","*.healthInfo","*.diagnosis","*.prescription","*.healthInsurance","*.fingerprint","*.faceId","*.biometric","*.birthDate","*.dateOfBirth","*.dob","*.ipAddress","*.ip"]}};var nr={baseURL:"",timeout:n.THIRTY_SECONDS,retry:{attempts:3,delay:n.SECOND,maxDelay:n.THIRTY_SECONDS,backoff:1.5},cache:{ttl:60,stale:300},headers:{"Content-Type":"application/json",Accept:"application/json"},strategy:"softFail"},Er={enrichedHeaders:{enabled:true,preset:"standard"}};var sr={SUPABASE_URL:globalThis.process.env.NEXT_PUBLIC_SUPABASE_URL??"",SUPABASE_ANON_KEY:globalThis.process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY??""},_r=globalThis.process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY??"";var O=25,_=30,ur=types.NOTIFICATION_CATEGORIES.TRANSACTIONAL,L={DEFAULT_MAX_ATTEMPTS:3,DEFAULT_INITIAL_DELAY_MS:1e3,MAX_DELAY_MS:3e4,BACKOFF_MULTIPLIER:2},y={DEFAULT_MAX_ATTACHMENTS:10,DEFAULT_MAX_SIZE_PER_ATTACHMENT:O*i.BYTES_PER_MB,DEFAULT_MAX_TOTAL_SIZE:O*i.BYTES_PER_MB,SENDGRID_MAX_SIZE:_*i.BYTES_PER_MB,SENDGRID_MAX_TOTAL_SIZE:_*i.BYTES_PER_MB,INFOBIP_MAX_SIZE:_*i.BYTES_PER_MB,INFOBIP_MAX_TOTAL_SIZE:_*i.BYTES_PER_MB,URL_FETCH_TIMEOUT_MS:3e4,URL_FETCH_MAX_RETRIES:3},g={DEFAULT_FAILURE_THRESHOLD:5,DEFAULT_TIMEOUT_MS:6e4,DEFAULT_SUCCESS_THRESHOLD:2},d={DEFAULT_MAX_SIZE:1e4,DEFAULT_CONCURRENCY:5,DEFAULT_PROCESSING_INTERVAL_MS:100},U={DEFAULT_REQUESTS_PER_SECOND:10,DEFAULT_BURST_ALLOWANCE:20,DEFAULT_WINDOW_MS:1e3},M={DEFAULT_LOCALE:"en",FALLBACK_LOCALE:"en",CACHE_TTL_MS:3e5,MAX_TEMPLATE_SIZE:i.BYTES_PER_MB},P={GSM7_SINGLE_MESSAGE_LIMIT:160,GSM7_MULTI_PART_SEGMENT_LIMIT:153,UCS2_SINGLE_MESSAGE_LIMIT:70,UCS2_MULTI_PART_SEGMENT_LIMIT:67,DEFAULT_MAX_SEGMENTS:10,WARNING_THRESHOLD_PERCENTAGE:90},m={DEFAULT_PRIORITY:"normal",MAX_SUBJECT_LENGTH:255,MAX_PUSH_TITLE_LENGTH:100,MAX_PUSH_BODY_LENGTH:500},f={DEFAULT_LEVEL:"info",MAX_LOG_SIZE:1e4},H={DEFAULT_INTERVAL_MS:3e4,DEFAULT_TIMEOUT_MS:5e3,MAX_ACCEPTABLE_LATENCY_MS:2e3},pr={RETRY:L,ATTACHMENT:y,CIRCUIT_BREAKER:g,QUEUE:d,RATE_LIMIT:U,TEMPLATE:M,SMS:P,NOTIFICATION:m,LOGGING:f,HEALTH_CHECK:H};var Lr="sha256",yr="unknown",gr={RETRYABLE_ERROR_RATIO:.5,USER_FACING_ERROR_RATIO:.3},dr=["token","secret","signature"],Ur={MIN_SCORE:100},Mr={CRITICAL:"critical",ERROR:"error",WARN:"warn"},Pr={RAW_BODY:"[REDACTED_RAW_BODY]",SENSITIVE:"[REDACTED]"},mr={PAYMENTS:"payments",VALIDATION:"validation",FRAUD:"fraud-detector",WEBHOOK_PROCESSOR:"webhook-processor",FRAUD_DETECTED_ERROR:"FraudDetectedError",ROUTER_STRATEGY:"RouterStrategy",PAYMENT_GATEWAY:"PaymentGateway",PAYMENT_PROCESSOR:"PaymentProcessor",CAPTURE_PROCESSOR:"CaptureProcessor",CANCEL_PROCESSOR:"CancelProcessor",STATUS_PROCESSOR:"StatusProcessor"},fr={GENERIC_SYSTEM_ERROR:"An unexpected error occurred while processing payment.",USER_FRIENDLY_SYSTEM_ERROR:"A payment system error occurred. Please try again later.",USER_FRIENDLY_ALT:"Payment error. Please try again.",SYSTEM:"An internal payment error occurred. Our team has been notified.",VALIDATION:"Some payment information is invalid. Please review your details.",AUTHENTICATION:"Your session has expired. Please log in again.",AUTHORIZATION:"You are not authorized to perform this payment action.",PROVIDER:"There was an issue communicating with the payment provider.",NETWORK:"Network error. Please try again later.",FRAUD:"Suspicious activity detected. Please contact support.",REFUND:"Refund could not be processed. Please try again later.",WEBHOOK:"Payment notification failed. We are investigating.",PROCESSING:"Payment is currently being processed. Please wait a moment.",COMPLIANCE:"This transaction violates compliance rules. Please contact support.",LIMITS:"The payment exceeds your transaction limit.",CONFIGURATION:"Payment configuration error. Please contact your administrator.",DEFAULT:"An unexpected error occurred while processing your payment.",INVALID_VALUE:"Invalid value provided",PROVIDER_GENERIC:"Provider error occurred",REFUND_NOT_ALLOWED:"Refund not allowed",REFUND_AUTHORIZATION:"Refund authorization failed",REFUND_PROCESSING:"Refund processing failed",STRIPE_GENERIC:"An unexpected error occurred while communicating with Stripe"},Hr={[types.ERROR_SEVERITY.Low]:true,[types.ERROR_SEVERITY.Medium]:false,[types.ERROR_SEVERITY.High]:true,[types.ERROR_SEVERITY.Critical]:true},Gr={GENERIC:"There was an error processing your payment. Please try again.",API_RESPONSE_GENERIC:"A processing error occurred."},Fr={DEFAULT_MESSAGE:"An error occurred while processing the webhook.",DEFAULT_USER_MESSAGE:"An error occurred while handling the webhook."},xr={RETRY:"Retry transaction after delay.",NOTIFY_USER:"Notify user and suggest contacting support.",LOG_ONLY:"Log and continue monitoring."},br={NOT_ALLOWED:"Refund not allowed",AUTHORIZATION:"Refund authorization failed",PROCESSING:"Refund processing failed",DEFAULT_API_MESSAGE:"An error occurred during the refund process.",DEFAULT_USER_MESSAGE:"Refund could not be processed. Please try again or contact support."},Br={REQUIRED:"manager",CURRENT:"user"},Yr={PROVIDER_ERROR_PREFIX:"Provider {provider} error",STRIPE_GENERIC:"An unexpected error occurred while communicating with Stripe.",WEBHOOK_SANITIZE_FAIL:"Failed to sanitize webhook payload",UNKNOWN_REFUND_TYPE:"Unknown refund error type: {type}",REDACTION_FAIL:"Failed to sanitize object."},hr={PROVIDER:"provider",EVENT:"event"},Kr={API_CONNECTION:"api_connection_error",RATE_LIMIT:"rate_limit_error",INVALID_REQUEST:"invalid_request_error",CARD_ERROR:"card_error",AUTHENTICATION:"authentication_error",CARD_DECLINED:"card_declined"},vr={DEFAULT_API_MESSAGE:"An error occurred with the payment provider.",DEFAULT_USER_MESSAGE:"A payment provider error occurred. Please try again later."},Xr={DEFAULT_API_MESSAGE:"A security error occurred while processing the payment.",DEFAULT_USER_MESSAGE:"A security issue was detected with the payment. Please contact support.",FRAUD_DETECTED:{CODE:"FRAUD_DETECTED",DEFAULT_COMPONENT:"fraud-detector",USER_MESSAGE:"This transaction appears to be suspicious and has been blocked for your safety.",RISK_THRESHOLDS:{HIGH:70,CRITICAL:90}}};var Vr=1,Wr=0,wr=10,Zr=1e4,Jr=0,zr=1,$r=.9,Qr={PRIORITY:1,URGENT:0,MAX_LISTENERS:10,HANDLER_TIMEOUT_MS:1e4,SUCCESS_THRESHOLD:1,PARTIAL_SUCCESS_THRESHOLD:.9,EVENT_COUNT:0},qr={EMITTER:"event-emitter",PAYMENT_GATEWAY:"payment-gateway",SUBSCRIPTION_MANAGER:"subscription-manager",PROVIDER_ADAPTER:"provider-adapter"},jr={HANDLER_FAILED:"HANDLER_FAILED",HANDLER_CRASHED:"HANDLER_CRASHED",HANDLER_TIMEOUT:"HANDLER_TIMEOUT"},en={HANDLER_FAILED:"Handler execution failed",HANDLER_TIMEOUT:"Handler execution timed out"},on={DEVELOPMENT:"development",PRODUCTION:"production",TEST:"test"},G=0,F=1,x=2,b=3,tn={NONE:G,CAPTURING_PHASE:F,AT_TARGET:x,BUBBLING_PHASE:b},rn={PRIORITY:"priority",URGENT:"urgent",CATEGORY:"category",TAGS:"tags",SOURCE:"source"},nn={COMPONENT:"component",ENVIRONMENT:"environment"},En={ERROR:"error",INFO:"info",WARNING:"warning",CRITICAL:"critical"},an=r(()=>[],"EmptyArray"),Tn=r(()=>Date.now(),"CurrentTimestamp"),An={FULFILLED:"fulfilled",REJECTED:"rejected"},sn={NORMALIZATION_FAILED:"Event normalization failed.",MAPPING_MISSING:"No mapping configuration found for provider.",MAPPING_RETRIEVE_FAILED:"Failed to retrieve provider mapping.",BUILD_NORMALIZED_DATA_FAILED:"Failed to build normalized payment data.",BUILD_UNIFIED_EVENT_FAILED:"Failed to build unified event.",EVENT_TYPE_MAPPING_FAILED:"Event type mapping failed.",STATUS_MAPPING_FAILED:"Status mapping failed.",PAYLOAD_EXTRACTION_FAILED:"Payload extraction failed.",requiredFileMissing:r(t=>`Required field "${t}" is missing.`,"requiredFileMissing")};var Sn=1e3,Rn=6e4,Nn=3,In={NO_PROVIDER:"NO_PROVIDER_SELECTED",PROVIDER_FAILURE:"PROVIDER_FAILURE",CIRCUIT_OPEN:"CIRCUIT_OPEN",UNKNOWN_ERROR:"UNKNOWN_ERROR"},un={USER_ACTION:"contact_support",SYSTEM_ACTION:"manual_review"},pn={LOW:"low",MEDIUM:"medium",HIGH:"high"},On={FALLBACK_USED:"fallback_used"},B=(s=>(s.ASSIGNMENT="assignment",s.LOGICAL="logical",s.COMPARISON="comparison",s.ARITHMETIC="arithmetic",s.CONDITIONAL="conditional",s.CONCATENATE="concatenate",s))(B||{}),Cn={INITIAL_PAYMENT_ATTEMPT:"Initial payment attempt",PAYMENT_OPERATION_FAILED:"Payment operation failed",NON_PAYMENT_OPERATION_FAILED:"Non-payment operation failed",ADAPTER_NOT_FOUND:"Adapter not found for provider:",NO_VALID_ADAPTER:"No valid provider adapter found"};var Dn="2022-11-15",Ln="v1.0.0",yn=0,gn=.029,dn=0,Un=.01,Mn=100,Pn={CREDIT_CARD:30,BANK_TRANSFER:500,BOLETO_BANCARIO:200,SEPA_DIRECT_DEBIT:50,IDEAL_BANK:50},mn={REDIRECT:10},fn=1,Hn=100,Gn=.9,Fn=80,xn=2,bn=100,Bn=1e3,Yn=0,hn={REDIRECT:"redirect",WAIT:"wait",RETRY:"retry",CONTACT_SUPPORT:"contact_support"},Kn={WEBHOOK_PENDING:"webhook_pending",MANUAL_REVIEW:"manual_review",AUTO_RETRY:"auto_retry"},vn={PAYMENT_INTENT_CREATED:"payment_intent.created",PAYMENT_INTENT_PROCESSING:"payment_intent.processing",PAYMENT_INTENT_REQUIRES_ACTION:"payment_intent.requires_action",PAYMENT_INTENT_SUCCEEDED:"payment_intent.succeeded",PAYMENT_INTENT_FAILED:"payment_intent.payment_failed",PAYMENT_INTENT_CANCELED:"payment_intent.canceled",PAYMENT_INTENT_EXPIRED:"payment_intent.expired",PAYMENT_INTENT_AUTHORIZED:"payment_intent.authorized",PAYMENT_INTENT_CAPTURED:"payment_intent.captured",PAYMENT_INTENT_HELD:"payment_intent.held",PAYMENT_INTENT_RELEASED:"payment_intent.released",CHARGE_REFUND_CREATED:"charge.refund.created",REFUND_UPDATED:"refund.updated",CHARGE_REFUND_SUCCEEDED:"charge.refund.succeeded",CHARGE_REFUND_FAILED:"charge.refund.failed",CHARGE_REFUND_CANCELED:"charge.refund.canceled",CHARGE_DISPUTE_CREATED:"charge.dispute.created",CHARGE_DISPUTE_UPDATED:"charge.dispute.updated",CHARGE_DISPUTE_CLOSED:"charge.dispute.closed",CHARGEBACK_RECEIVED:"chargeback.received",CHARGEBACK_RESPONDED:"chargeback.responded",CHARGE_DISPUTE_WON:"charge.dispute.won",CHARGE_DISPUTE_LOST:"charge.dispute.lost",PAYMENT_METHOD_ATTACHED:"payment_method.attached",PAYMENT_METHOD_UPDATED:"payment_method.updated",PAYMENT_METHOD_DETACHED:"payment_method.detached",PAYMENT_METHOD_EXPIRED:"payment_method.expired",SUBSCRIPTION_CREATED:"customer.subscription.created",SUBSCRIPTION_UPDATED:"customer.subscription.updated",SUBSCRIPTION_DELETED:"customer.subscription.deleted",INVOICE_PAYMENT_SUCCEEDED:"invoice.payment_succeeded",INVOICE_PAYMENT_FAILED:"invoice.payment_failed"},Xn={minimumMinutes:5,maximumMinutes:120,typicalMinutes:30,factors:["default estimate"]},kn={minimumDays:1,maximumDays:5,typicalDays:3,affectedByHolidays:true},Vn={SUCCEEDED:"succeeded",PROCESSING:"processing",REQUIRES_ACTION:"requires_action",REQUIRES_CONFIRMATION:"requires_confirmation",REQUIRES_PAYMENT_METHOD:"requires_payment_method",CANCELED:"canceled",FAILED:"failed",DECLINED:"declined",EXPIRED:"expired",AUTHORIZED:"authorized",CAPTURED:"captured",HELD:"held",REFUNDED:"refunded",PARTIALLY_REFUNDED:"partially_refunded",DISPUTED:"disputed",CHARGEBACK:"chargeback",CHARGEBACK_RESOLVED:"chargeback_resolved"},Wn={TRANSACTION_ID:"data.object.id",AMOUNT:"data.object.amount",CURRENCY:"data.object.currency",STATUS:"data.object.status",PAYMENT_METHOD:"data.object.payment_method",METADATA:"data.object.metadata"},wn={INITIALIZE:"initialize",CREATE_PAYMENT:"createPayment",CAPTURE_PAYMENT:"capturePayment",CANCEL_PAYMENT:"cancelPayment",PROCESS_REFUND:"processRefund",GET_REFUND_STATUS:"getRefundStatus",GET_PAYMENT_STATUS:"getPaymentStatus",PROCESS_WEBHOOK:"processWebhook",VERIFY_WEBHOOK_SIGNATURE:"verifyWebhookSignature",CALCULATE_FEES:"calculateFees",GET_FEE_STRUCTURE:"getFeeStructure",GET_TRANSACTION:"getTransaction",WEBHOOK_PROCESS:"webhookProcess"},Zn={MISSING_API_KEY:"Missing Stripe API key",UNKNOWN_EVENT:"unknown",MISSING_EVENT:"missing",INIT_FAILED:"Stripe SDK initialization failed",CREATE_PAYMENT_FAILED:"Failed to create payment intent",CAPTURE_PAYMENT_FAILED:"Failed to capture payment",CANCEL_PAYMENT_FAILED:"Failed to cancel payment",REFUND_FAILED:"Failed to process refund",REFUND_STATUS_FAILED:"Failed to retrieve refund status",GET_PAYMENT_STATUS_FAILED:"Failed to retrieve payment status",PROCESS_WEBHOOK_FAILED:"Failed to process webhook",VERIFY_WEBHOOK_FAILED:"Failed to verify webhook signature",CALCULATE_FEES_FAILED:"Failed to calculate fees",GET_FEE_STRUCTURE_FAILED:"Failed to get fee structure",GET_TRANSACTION_FAILED:"Failed to retrieve transaction details"};var jn={provider:types.PAYMENT_PROVIDER_TYPE.Stripe,displayName:types.PAYMENT_PROVIDER_TYPE.Stripe,enabled:true,environment:{current:"sandbox",apiUrls:{sandbox:"https://api.stripe.com",staging:"https://api.stripe.com",production:"https://api.stripe.com"},environmentOverrides:{sandbox:{payments:{enabled:true,subscriptions:true,preauthorization:true,cancellation:true,updates:true}}},debug:{enabled:true,logLevel:"debug",logRequests:true,logResponses:true}},credentials:{apiKey:globalThis.process.env.STRIPE_API_KEY??"",secretKey:globalThis.process.env.STRIPE_SECRET_KEY??"",additionalCredentials:{webhookSecret:globalThis.process.env.STRIPE_WEBHOOK_SECRET??"",merchantId:globalThis.process.env.STRIPE_MERCHANT_ID??""},rotation:{enabled:false,intervalDays:90,warningDays:10},encryption:{encrypted:false}},webhooks:{enabled:true,endpoints:{primary:"https://yourdomain.com/api/webhooks/stripe"},security:{signatureMethod:"hmac_sha256",signatureHeader:"Stripe-Signature",secret:globalThis.process.env.STRIPE_WEBHOOK_SECRET??"",timestampTolerance:300},events:{subscribed:["payment_intent.succeeded","payment_intent.payment_failed","charge.refunded","customer.subscription.created","customer.subscription.deleted"]},reliability:{retryEnabled:true,maxRetries:5,retryDelays:[n.SECOND,n.THREE_SECONDS,n.FIVE_SECONDS,n.TEN_SECONDS],timeout:1e4,deadLetterQueue:{enabled:true,retentionDays:7}}},features:{payments:{enabled:true,subscriptions:true,preauthorization:true,cancellation:true,updates:true},refunds:{enabled:true,partial:true,instant:true,scheduled:false},security:{threeDS:true,fraudDetection:true,velocityChecking:true,tokenization:true},customers:{profiles:true,savedMethods:true,authentication:true},marketplace:{enabled:true,splitPayments:true,connectedAccounts:true,instantPayouts:true},advanced:{multiCurrency:true,currencyConversion:true,smartRouting:true,costOptimization:true,abTesting:true}},fees:{baseFees:{percentage:2.9,fixed:30,currency:e.USD},methodFees:{[types.PAYMENT_METHOD.CreditCard]:{percentage:2.9,fixed:30,currency:e.USD},[types.PAYMENT_METHOD.DebitCard]:{percentage:2.9,fixed:30,currency:e.USD},[types.PAYMENT_METHOD.BankTransfer]:{percentage:.8,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.PaypalAccount]:{percentage:3.5,fixed:30,currency:e.USD},[types.PAYMENT_METHOD.CryptoBitcoin]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.CryptoEthereum]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.CryptoPolygon]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.CryptoOptimism]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.CryptoUsdc]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.CryptoUsdt]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.CryptoNativeToken]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.PixInstant]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.BoletoBancario]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.SepaDirectDebit]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.IdealBank]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.SofortBanking]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.AlipayDigital]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.WechatPayDigital]:{percentage:1,fixed:0,currency:e.USD},[types.PAYMENT_METHOD.ApplePay]:{percentage:2.9,fixed:30,currency:e.USD},[types.PAYMENT_METHOD.GooglePay]:{percentage:2.9,fixed:30,currency:e.USD},[types.PAYMENT_METHOD.SamsungPay]:{percentage:2.9,fixed:30,currency:e.USD}},volumeTiers:[{name:"Tier 1",minimumVolume:{amount:0,currency:e.USD},feeRates:{percentage:2.9,fixed:30,currency:e.USD}},{name:"Tier 2",minimumVolume:{amount:1e6,currency:e.USD},feeRates:{percentage:2.5,fixed:25,currency:e.USD}}],regionalFees:{EU:{percentage:2.5,fixed:30,currency:e.EUR},PK:{percentage:3,fixed:50,currency:e.PKR}},additionalFees:{crossBorder:{percentage:1},currencyConversion:{percentage:1,minimumFee:50},chargeback:{amount:1500,currency:e.USD},refund:{percentage:2.9,fixed:30}},calculation:{rounding:"nearest",minimumFee:{amount:50,currency:e.USD}}},limits:{amounts:{minimum:{[types.PAYMENT_METHOD.CreditCard]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.DebitCard]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.BankTransfer]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.PaypalAccount]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoBitcoin]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoEthereum]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoPolygon]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoOptimism]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoUsdc]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoUsdt]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.CryptoNativeToken]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.PixInstant]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.BoletoBancario]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.SepaDirectDebit]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.IdealBank]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.SofortBanking]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.AlipayDigital]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.WechatPayDigital]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.ApplePay]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.GooglePay]:{amount:50,currency:e.USD},[types.PAYMENT_METHOD.SamsungPay]:{amount:50,currency:e.USD}},maximum:{[types.PAYMENT_METHOD.CreditCard]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.DebitCard]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.BankTransfer]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.PaypalAccount]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoBitcoin]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoEthereum]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoPolygon]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoOptimism]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoUsdc]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoUsdt]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.CryptoNativeToken]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.PixInstant]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.BoletoBancario]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.SepaDirectDebit]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.IdealBank]:{amount:1e5,currency:e.USD},[types.PAYMENT_METHOD.SofortBanking]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.AlipayDigital]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.WechatPayDigital]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.ApplePay]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.GooglePay]:{amount:1e4,currency:e.USD},[types.PAYMENT_METHOD.SamsungPay]:{amount:1e4,currency:e.USD}}},velocity:{daily:{maxTransactions:5e3,maxAmount:{amount:5e6,currency:e.USD}},monthly:{maxTransactions:1e5,maxAmount:{amount:1e8,currency:e.USD}}},apiLimits:{requestsPerSecond:100,requestsPerMinute:6e3,requestsPerHour:36e4},providerSpecific:{}},performance:{timeouts:{connection:5e3,request:15e3,total:2e4},retries:{enabled:true,maxAttempts:3,strategy:"exponential",baseDelay:1e3,maxDelay:1e4,jitter:true,retryableStatusCodes:[types.HTTP_STATUS.REQUEST_TIMEOUT,types.HTTP_STATUS.TOO_MANY_REQUESTS,types.HTTP_STATUS.INTERNAL_SERVER_ERROR,types.HTTP_STATUS.BAD_GATEWAY,types.HTTP_STATUS.SERVICE_UNAVAILABLE,types.HTTP_STATUS.GATEWAY_TIMEOUT]},circuitBreaker:{enabled:true,failureThreshold:5,windowSize:6e4,timeout:3e4,minimumRequests:10},connectionPool:{maxConnections:50,minConnections:5,idleTimeout:3e4,validationInterval:6e4},caching:{enabled:true,ttl:{getPaymentStatus:60,getTransaction:60},maxSize:1e3,evictionStrategy:"lru"}},customSettings:{enableRadar:true,enableApplePay:true}};var a={REGISTRY:"ProviderRegistry",FACTORY:"ProviderFactory",FALLBACK:"FallbackHandler",AB_TESTING:"ABTesting"},nE={REGISTRY_GET_FACTORY:`${a.REGISTRY}.getFactory`,FACTORY_CREATE_ADAPTER:`${a.FACTORY}.createAdapter`,FACTORY_GET_CONFIG:`${a.FALLBACK}.getProviderConfig`,FACTORY_GET_OPTIMAL_ADAPTER:`${a.AB_TESTING}.getOptimalAdapter`},EE={providerAlreadyRegistered:r(t=>`[${a.REGISTRY}] Provider '${t}' is already registered. Overwriting.`,"providerAlreadyRegistered"),providerRegistered:r(t=>`[${a.FACTORY}] Registered provider: ${t}`,"providerRegistered"),providerNotRegistered:r(t=>`[${a.REGISTRY}] Provider '${t}' is not registered.`,"providerNotRegistered"),adapterInitFailed:r(t=>`[${a.FACTORY}] Failed to initialize adapter for ${t}`,"adapterInitFailed"),optimalAdapterFailed:r(t=>`[${a.FACTORY}] Failed to get optimal adapter for: ${t}`,"optimalAdapterFailed")},aE={KYC_VERIFICATION_REQUIRED:["Complete your KYC verification by submitting valid identification documents.","Wait for confirmation from our compliance team."],GEOGRAPHIC_RESTRICTION:["This transaction is not allowed from your current location.","Consider using a different payment method or location.","Contact support for more information if needed."],COMPLIANCE_ERROR:["Contact support for guidance regarding compliance requirements.","Ensure all your regulatory obligations are met before retrying."],PAYMENTS_PACKAGE_ERROR:["Verify your payment system configuration.","Check credentials and API keys.","Review deployment and integration.","Retry the operation if it is marked retryable."],PAYMENT_PROCESSING_ERROR:["Check the payment gateway status.","Verify the transaction details and retry if safe.","Contact support if the error persists."],PAYMENT_PROVIDER_ERROR:["Check provider availability and credentials.","Ensure configuration is correct.","Retry after a short delay or switch provider if possible."],REFUND_ERROR:["Verify the refund request and amounts.","Check if the refund has already been processed.","Retry the refund if it failed due to temporary issues.","Contact support for assistance if the issue persists."],PAYMENT_SECURITY_ERROR:["Ensure encryption and security keys are valid.","Check for possible fraud alerts.","Retry secure operations after resolving issues.","Contact support if suspicious activity is detected."],FRAUD_DETECTED_ERROR:["Do not attempt the transaction again until verified.","Contact support immediately to investigate possible fraud.","Review account activity and secure credentials.","Follow any additional instructions from the fraud investigation team."],PAYMENT_VALIDATION_ERROR:["Check that all required fields are provided.","Ensure data formats and types are correct.","Retry the transaction after correcting input data."],WEBHOOK_ERROR:["Verify webhook endpoint is correct and reachable.","Check the payload format matches the expected structure.","Ensure signature validation keys are correct.","Retry webhook delivery or contact support if persistent."]};var SE=Object.values(e),RE={AMOUNT:"Amount must be a positive number with valid currency format.",CORE_FIELDS:"Missing required core fields: amount, paymentMethod, userId, userType, productId, productType.",CURRENCY:"Unsupported or missing currency code.",METADATA:"Invalid metadata structure or missing required metadata fields.",RISK_ASSESSMENT:"Invalid or inconsistent risk assessment fields.",SCHEDULING:"Invalid scheduling configuration.",REFUND_TRANSACTION_ID:"Transaction ID is required.",REFUND_PROVIDER:"Provider is required.",REFUND_AMOUNT:"Refund amount must be positive."},NE={AMOUNT:"AmountValidator",CORE_FIELDS:"CoreFieldValidator",CURRENCY:"CurrencyValidator",METADATA:"MetadataValidator",RISK_ASSESSMENT:"RiskAssessmentValidator",SCHEDULING:"SchedulingValidator"},IE=["amount","paymentMethod","userId","userType","productId","productType"],uE=["monthly","quarterly","yearly"],pE=["low","medium","high"],OE=["daily","weekly","monthly","quarterly","yearly"],CE=0,lE=3;var E={core:"RouterStrategy",rules:"RuleEvaluator",config:"RoutingConfig",factory:"AdapterFactory",cache:"AdapterCache",provider:"ProviderSelector",region:"RegionResolver",compliance:"ComplianceChecker",abtest:"ABTestingModule",default:"DefaultProviderSelector"},LE={invalidProvider:r(()=>`[${E.core}] No valid provider found during routing.`,"invalidProvider"),providerSelected:r(t=>`[${E.provider}] Selected provider: ${t}`,"providerSelected"),fallbackToDefault:r(()=>`[${E.default}] Falling back to default provider.`,"fallbackToDefault"),adapterCached:r(t=>`[${E.cache}] Using cached adapter for ${t}`,"adapterCached"),adapterCreated:r(t=>`[${E.factory}] Created new adapter for ${t}`,"adapterCreated"),adapterCreationFailed:r(t=>`[${E.factory}] Failed to create adapter: ${String(t)}`,"adapterCreationFailed"),providerSelectionFailed:r(t=>`[${E.provider}] Provider selection failed: ${String(t)}`,"providerSelectionFailed"),invalidRuleExpression:r((t,T)=>`[${E.rules}] Custom rule '${t}' evaluation failed: ${String(T)}`,"invalidRuleExpression"),ruleFailed:r((t,T)=>`[${E.rules}] Rule '${t}' evaluation failed: ${String(T)}`,"ruleFailed"),invalidRoutingConfig:r(t=>`[${E.config}] Invalid routing configuration detected: ${String(t)}`,"invalidRoutingConfig"),missingRegionConfig:r(t=>`[${E.region}] Missing region configuration for '${t??"unknown"}'.`,"missingRegionConfig"),complianceCheckFailed:r((t,T)=>`[${E.compliance}] Compliance check failed for region '${t??"unknown"}': ${String(T)}`,"complianceCheckFailed")};var dE={validationFailedPrefix:"refund-validation-failed"},UE={invalidInput:"Invalid provider or transaction ID",unknownError:"Unknown reconciliation error",descriptionFailed:"Reconciliation failed"},ME={validationErrorPattern:/^\[(.*?)\]\s(.*)$/},PE={cancelProcessor:"Invalid input for cancellation",captureProcessor:"Invalid input for capture",statusProcessor:"Invalid input for payment status"};
|
|
6
|
+
Object.defineProperty(exports,"HTTP_STATUS",{enumerable:true,get:function(){return types.HTTP_STATUS}});exports.A11Y_CONSTANTS=jo;exports.ADDRESS_FIELDS=pt;exports.ADDRESS_FORMATS=ut;exports.ALCHEMY_CONFIG=k;exports.AMOUNT_DECIMALS=xn;exports.AMOUNT_DIVISOR=bn;exports.ANNOUNCEMENT_PRIORITY=rt;exports.ARIA_ATTRIBUTES=ot;exports.ARIA_ROLES=et;exports.ATTACHMENT_CONFIG=y;exports.BASE_ERRORS_RESPONSE=vt;exports.BATCH_SIZES=Ho;exports.BLOG=Qo;exports.CACHE_CLEANUP_INTERVAL_DEFAULT=ce;exports.CACHE_EVICTION_PERCENTAGE=Re;exports.CACHE_MAX_SIZE_DEFAULT=Se;exports.CACHE_STALE=Uo;exports.CACHE_TTL=go;exports.CHAR_CODES=Yo;exports.CIRCUIT_BREAKER_CONFIG=g;exports.CLERK_PUBLISHABLE_KEY=_r;exports.COLLECTION_CONSTANTS=he;exports.COMPONENTS=mr;exports.CONTRACTS=$;exports.CORE_FIELDS=IE;exports.COUNTRY_CALLING_CODES=Lt;exports.COUNTRY_CODES=Dt;exports.COUNTRY_REGIONS=yt;exports.COUNTRY_REGIONS_DETAILED=gt;exports.CRC_CONSTANTS=Qe;exports.CURRENCY_CODES=e;exports.CURRENCY_CODE_LENGTH=lE;exports.CURRENCY_INFO=Ct;exports.CUSTOM_RULE_OPERATER=B;exports.CurrentTimestamp=Tn;exports.DATE_FORMATS=_t;exports.DEDUPE_TIME=Mo;exports.DEFAULT_API_CLIENT_OPTIONS=Er;exports.DEFAULT_API_CONFIG=nr;exports.DEFAULT_BACKEND_CONFIG=Te;exports.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD=Nn;exports.DEFAULT_COUNTRY=ye;exports.DEFAULT_CROSS_BORDER_RATE=Un;exports.DEFAULT_CURRENCY=ge;exports.DEFAULT_ENVIRONMENT=yr;exports.DEFAULT_ERROR_EVENT_SCOPES=Xt;exports.DEFAULT_EVENT_COUNT=Jr;exports.DEFAULT_FRONTEND_CONFIG=Ae;exports.DEFAULT_HANDLER_TIMEOUT_MS=Zr;exports.DEFAULT_HMAC_ALGORITHM=Lr;exports.DEFAULT_LANGUAGE=de;exports.DEFAULT_LOCALE=S;exports.DEFAULT_MAX_LISTENERS=wr;exports.DEFAULT_NOTIFICATION_CATEGORY=ur;exports.DEFAULT_PARTIAL_SUCCESS_THRESHOLD=$r;exports.DEFAULT_PAYEMNT_PRIORITY=Vr;exports.DEFAULT_PLATFORM_RATE=dn;exports.DEFAULT_PRIORITY=Mn;exports.DEFAULT_PROCESSING_RATE=gn;exports.DEFAULT_PROCESSING_TIME=Xn;exports.DEFAULT_REFUND_LEVELS=Br;exports.DEFAULT_RETRY_DELAY_MS=Sn;exports.DEFAULT_SETTLEMENT_TIME=kn;exports.DEFAULT_SUCCESS_THRESHOLD=zr;exports.DEFAULT_URGENT=Wr;exports.DEVELOPMENT_CONFIG=or;exports.DEV_SUPPORTED_CHAINS=oe;exports.DISPLAY_CONSTANTS=Bo;exports.DOMAINS=Ce;exports.ERRORS_CODES=p;exports.EVENT_COMPONENT=qr;exports.EVENT_DEFAULTS=Qr;exports.EVENT_ENVIRONMENT=on;exports.EVENT_ERROR_CODE=jr;exports.EVENT_ERROR_MESSAGE=en;exports.EVENT_META_KEY=rn;exports.EVENT_NORMALIZER_MESSAGES=sn;exports.EVENT_PHASE=tn;exports.EVENT_RESULT_STATUS=En;exports.EVENT_SOURCE_FIELD=nn;exports.EmptyArray=an;exports.FACTORY_MESSAGES=Yr;exports.FALLBACK_NEXT_STEPS=un;exports.FALLBACK_REASON=In;exports.FEATURES=ie;exports.FEATURE_FLAG_CACHE_TTL_DEFAULT=_e;exports.FEATURE_FLAG_EVALUATION_REASONS=pe;exports.FEATURE_FLAG_FILE_FORMATS=Ie;exports.FEATURE_FLAG_FILE_PATHS=ue;exports.FEATURE_FLAG_PROVIDERS=Ne;exports.FILE_CHECK_INTERVAL_DEFAULT=se;exports.FIXED_FEES=Pn;exports.FNV_CONSTANTS=ke;exports.FOCUS_TRAP=nt;exports.FORMAT_CONSTANTS=xe;exports.HASH_ALGORITHMS=ze;exports.HASH_DISTRIBUTION_CONSTANTS=We;exports.HASH_ENCODING=Je;exports.HASH_SEED_CONSTANTS=Ve;exports.HEALTH_CHECK_CONFIG=H;exports.ISO_STANDARDS=Tt;exports.KEYBOARD_CODES=tt;exports.LANDING_PAGE_APP=Pe;exports.LOCALE_FORMATS=st;exports.LOCALE_REGIONS=Ut;exports.LOCALE_REGIONS_DETAILED=Mt;exports.LOGGER_LEVELS=wt;exports.LOGGER_TRANSPORT_CONFIGURATION=Jt;exports.LOGGING_CONFIG=f;exports.LOG_LEVELS=Mr;exports.MATH_CONSTANTS=co;exports.MAX_CIRCUIT_OPEN_MS=Rn;exports.MD5_CONSTANTS=Ze;exports.MIN_POSITIVE_AMOUNT=CE;exports.MULTIPLIERS=So;exports.MURMUR_CONSTANTS=$e;exports.NETWORK_CONSTANTS=Co;exports.NETWORK_SCORES=Lo;exports.NETWORK_TIMEOUTS=yo;exports.NEXT_STEP_EXPECTED_UPDATE_IN=mn;exports.NEXT_STEP_SYSTEM_ACTION=Kn;exports.NEXT_STEP_USER_ACTION=hn;exports.NOTIFICATION_CONFIG=m;exports.NOTIFICATION_PACKAGE_CONFIG=pr;exports.NUMBER_SYSTEM=i;exports.NUMERIC_CONSTANTS=Ro;exports.NUMERIX=Xo;exports.OAUTH_PROVIDERS=W;exports.PAGE_SIZES=Go;exports.PAYLOAD_KEYS=hr;exports.PAYMENT_ALERT_SEVERITY=Hr;exports.PAYMENT_ERROR_MESSAGES=fr;exports.PAYMENT_ERROR_RESOLUTION_STEPS=aE;exports.PAYMENT_GATEWAY_ERROR_MESSAGE=Cn;exports.PAYMENT_OPERATION=wn;exports.PAYMENT_PROCESSOR_PATTERN=ME;exports.PERFORMANCE_CONSTANTS=po;exports.PHASE_AT_TARGET=x;exports.PHASE_BUBBLING=b;exports.PHASE_CAPTURING=F;exports.PHASE_NONE=G;exports.PHONE_FORMATS=Rt;exports.PHONE_PATTERNS=Nt;exports.PROCESSING_ERROR_MESSAGES=Gr;exports.PROCESSOR_MESSAGES=PE;exports.PRODUCTION_CONFIG=jt;exports.PRODUCT_LINKS=$o;exports.PROD_SUPPORTED_CHAINS=j;exports.PROVIDER_CONTEXT=a;exports.PROVIDER_ENDPOINTS=nE;exports.PROVIDER_ERROR_MESSAGES=vr;exports.PROVIDER_MESSAGES=EE;exports.QUEUE_CONFIG=d;exports.RATE_LIMIT_CONFIG=U;exports.RECONCILIATION_MESSAGES=UE;exports.RECOVERY_STEPS=xr;exports.REDACTED=Pr;exports.REFUND_ERROR_MESSAGES=br;exports.REFUND_MESSAGES=dE;exports.RETRY_ATTEMPTS=Po;exports.RETRY_BACKOFF=fo;exports.RETRY_CONFIG=L;exports.RETRY_DELAYS=mo;exports.RISK_LEVEL=pn;exports.RISK_SCORE=Ur;exports.ROUTER_CONTEXT=E;exports.RTT_THRESHOLDS=lo;exports.SECURITY=He;exports.SECURITY_ERROR_MESSAGES=Xr;exports.SECURITY_FLAGS=On;exports.SENSITIVE_DATA=Zt;exports.SENSITIVE_KEYS=dr;exports.SETTLED_PROMISE_STATUS=An;exports.SHA_CONSTANTS=we;exports.SMS_CONFIG=P;exports.SOCIAL_LINKS=zo;exports.SPEED_THRESHOLDS=Do;exports.STAGING_CONFIG=er;exports.STAGING_SUPPORTED_CHAINS=ee;exports.STRING_CONSTANTS=Fe;exports.STRIPE_API_VERSION=Dn;exports.STRIPE_CONFIDENCE_HIGH=fn;exports.STRIPE_CONFIDENCE_MEDIUM=Gn;exports.STRIPE_DATA_PATHS=Wn;exports.STRIPE_ERROR_TYPES=Kr;exports.STRIPE_EVENT_TYPE=vn;exports.STRIPE_MAPPING_VERSION=Ln;exports.STRIPE_MESSAGES=Zn;exports.STRIPE_PAYMENT_INTENT_STATUS=Vn;exports.STRIPE_PRIORITY_HIGH=Hn;exports.STRIPE_PRIORITY_MEDIUM=Fn;exports.SUPABASE_CONFIG=sr;exports.SUPPORTED_CURRENCIES=SE;exports.SUPPORTED_LOCALES=R;exports.TEMPLATE_CONFIG=M;exports.TEXT_DIRECTION=ct;exports.THRESHOLDS=gr;exports.TIMESTAMP_FALLBACK=Yn;exports.TIMEZONE=De;exports.TIMEZONE_OFFSET=Le;exports.TIMEZONE_REGIONS=mt;exports.TIME_CONSTANTS=n;exports.UNIX_TIMESTAMP_MULTIPLIER=Bn;exports.VALIDATION_MESSAGES=RE;exports.VALIDATOR_NAMES=NE;exports.VALID_BILLING_CYCLES=uE;exports.VALID_RECURRENCE_FREQUENCIES=OE;exports.VALID_RISK_LEVELS=pE;exports.WEBHOOK_CONSTANTS=Fr;exports.WEB_APP=me;exports.ZERO_AMOUNT=yn;exports.dynamicPoolDefaultConfig=Vo;exports.isDev=N;exports.isProd=K;exports.isServer=h;exports.isTest=v;exports.routerMessages=LE;exports.stripeConfig=jn;//# sourceMappingURL=index.cjs.map
|
|
7
7
|
//# sourceMappingURL=index.cjs.map
|