import * as __typia_transform__assertGuard from "typia/lib/internal/_assertGuard.js";
import { createAssert, createIs } from "typia";
export const isTronNetworkAlias = (() => { return input => null !== input && undefined !== input && ("mainnet" === input || "shasta" === input || "nile" === input || "string" === typeof input && RegExp(/^custom:(.*)/).test(input)); })();
export const assertBankAccountType = (() => { const _iv1 = new Set(["ar", "au", "bcr-pay", "bd", "bf", "bj", "ca", "card", "ci", "ck", "cl", "clabe", "cn", "co", "cr", "cz", "dk", "duit-now", "eg", "fo", "fps", "gg", "gh", "gi", "gl", "gm", "gn", "gt", "hk-fps", "iban-swift", "id", "il", "im", "interac", "je", "jm", "jo", "jp", "ke", "ki", "kr", "lk", "ma", "ng", "np", "nz", "pay-now", "pe", "ph", "pix", "pk", "sn", "sv", "tg", "th", "tn", "tr", "tv", "tz", "uae", "ug", "upi", "us", "vn", "za", "zm"]); const _av2 = new Set(["ar", "au", "bcr-pay", "bd", "bf", "bj", "ca", "card", "ci", "ck", "cl", "clabe", "cn", "co", "cr", "cz", "dk", "duit-now", "eg", "fo", "fps", "gg", "gh", "gi", "gl", "gm", "gn", "gt", "hk-fps", "iban-swift", "id", "il", "im", "interac", "je", "jm", "jo", "jp", "ke", "ki", "kr", "lk", "ma", "ng", "np", "nz", "pay-now", "pe", "ph", "pix", "pk", "sn", "sv", "tg", "th", "tn", "tr", "tv", "tz", "uae", "ug", "upi", "us", "vn", "za", "zm"]); const __is = input => true === _iv1.has(input); let _errorFactory; return (input, errorFactory) => {
    if (false === __is(input)) {
        _errorFactory = errorFactory;
        ((input, _path, _exceptionable = true) => true === _av2.has(input) || __typia_transform__assertGuard._assertGuard(true, {
            method: "createAssert",
            path: _path + "",
            expected: "(\"ar\" | \"au\" | \"bcr-pay\" | \"bd\" | \"bf\" | \"bj\" | \"ca\" | \"card\" | \"ci\" | \"ck\" | \"cl\" | \"clabe\" | \"cn\" | \"co\" | \"cr\" | \"cz\" | \"dk\" | \"duit-now\" | \"eg\" | \"fo\" | \"fps\" | \"gg\" | \"gh\" | \"gi\" | \"gl\" | \"gm\" | \"gn\" | \"gt\" | \"hk-fps\" | \"iban-swift\" | \"id\" | \"il\" | \"im\" | \"interac\" | \"je\" | \"jm\" | \"jo\" | \"jp\" | \"ke\" | \"ki\" | \"kr\" | \"lk\" | \"ma\" | \"ng\" | \"np\" | \"nz\" | \"pay-now\" | \"pe\" | \"ph\" | \"pix\" | \"pk\" | \"sn\" | \"sv\" | \"tg\" | \"th\" | \"tn\" | \"tr\" | \"tv\" | \"tz\" | \"uae\" | \"ug\" | \"upi\" | \"us\" | \"vn\" | \"za\" | \"zm\")",
            value: input
        }, _errorFactory))(input, "$input", true);
    }
    return input;
}; })();
export const assertMobileWalletAccountType = (() => { const _iv1 = new Set(["airtel-money", "bkash", "easy-paisa", "finja-wallet", "jazz-cash", "mtn-mobile-money", "nagad", "naya-pay", "paypal", "rocket", "sada-pay", "venmo"]); const _av2 = new Set(["airtel-money", "bkash", "easy-paisa", "finja-wallet", "jazz-cash", "mtn-mobile-money", "nagad", "naya-pay", "paypal", "rocket", "sada-pay", "venmo"]); const __is = input => true === _iv1.has(input); let _errorFactory; return (input, errorFactory) => {
    if (false === __is(input)) {
        _errorFactory = errorFactory;
        ((input, _path, _exceptionable = true) => true === _av2.has(input) || __typia_transform__assertGuard._assertGuard(true, {
            method: "createAssert",
            path: _path + "",
            expected: "(\"airtel-money\" | \"bkash\" | \"easy-paisa\" | \"finja-wallet\" | \"jazz-cash\" | \"mtn-mobile-money\" | \"nagad\" | \"naya-pay\" | \"paypal\" | \"rocket\" | \"sada-pay\" | \"venmo\")",
            value: input
        }, _errorFactory))(input, "$input", true);
    }
    return input;
}; })();
export const isAssetLocationLike = (() => { const _iv1 = new Set(["bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:uae", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv2 = new Set(["ar", "au", "bcr-pay", "bd", "bf", "bj", "ca", "card", "ci", "ck", "cl", "clabe", "cn", "co", "cr", "cz", "dk", "duit-now", "eg", "fo", "fps", "gg", "gh", "gi", "gl", "gm", "gn", "gt", "hk-fps", "iban-swift", "id", "il", "im", "interac", "je", "jm", "jo", "jp", "ke", "ki", "kr", "lk", "ma", "ng", "np", "nz", "pay-now", "pe", "ph", "pix", "pk", "sn", "sv", "tg", "th", "tn", "tr", "tv", "tz", "uae", "ug", "upi", "us", "vn", "za", "zm"]); const _iv3 = new Set(["airtel-money", "bkash", "easy-paisa", "finja-wallet", "jazz-cash", "mtn-mobile-money", "nagad", "naya-pay", "paypal", "rocket", "sada-pay", "venmo"]); const _io0 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu0(input.chain)); const _io1 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io2 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io3 = input => "solana" === input.type && "string" === typeof input.genesisHash; const _io4 = input => "bitcoin" === input.type && "string" === typeof input.magicBytes; const _io5 = input => "tron" === input.type && (null !== input.networkAlias && undefined !== input.networkAlias && ("mainnet" === input.networkAlias || "shasta" === input.networkAlias || "nile" === input.networkAlias || "string" === typeof input.networkAlias && RegExp(/^custom:(.*)/).test(input.networkAlias))); const _io6 = input => "object" === typeof input.account && null !== input.account && _io7(input.account) && "bank-account" === input.type; const _io7 = input => true === _iv2.has(input.type); const _io8 = input => "object" === typeof input.account && null !== input.account && _io9(input.account) && "mobile-wallet" === input.type; const _io9 = input => true === _iv3.has(input.type); const _iu0 = input => (() => {
    if ("keeta" === input.type)
        return _io1(input);
    else if ("evm" === input.type)
        return _io2(input);
    else if ("solana" === input.type)
        return _io3(input);
    else if ("bitcoin" === input.type)
        return _io4(input);
    else if ("tron" === input.type)
        return _io5(input);
    else
        return false;
})(); const _iu1 = input => (() => {
    if ("chain" === input.type)
        return _io0(input);
    else if ("mobile-wallet" === input.type)
        return _io8(input);
    else if ("bank-account" === input.type)
        return _io6(input);
    else
        return false;
})(); return input => null !== input && undefined !== input && (true === _iv1.has(input) || "string" === typeof input && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^chain:solana:(.*)/).test(input) || RegExp(/^chain:bitcoin:(.*)/).test(input) || RegExp(/^chain:tron:(.*)/).test(input)) || "object" === typeof input && null !== input && _iu1(input)); })();
//# sourceMappingURL=location.generated.js.map