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AAM,CAAC,CAAC;IACnD,SAAgB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACrC,SAAgB,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC7C,SAAgB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACvC,SAAgB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACvC,SAAgB,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACzC,SAAgB,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1C,SAAgB,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAClD,SAAgB,YAAY,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IACrD,SAAgB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACvC,SAAgB,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/C,SAAgB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACrC,SAAgB,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,SAAgB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3C,SAAgB,gBAAgB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACvD,SAAgB,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC7C,SAAgB,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;gBAEjC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;CAoBtC","file":"be.d.ts","sourcesContent":["/**\n *\tMIT License\n *\n *\tCopyright (c) 2019 - 2021 Toreda, Inc.\n *\n *\tPermission is hereby granted, free of charge, to any person obtaining a copy\n *\tof this software and associated documentation files (the \"Software\"), to deal\n *\tin the Software without restriction, including without limitation the rights\n *\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n *\tcopies of the Software, and to permit persons to whom the Software is\n *\tfurnished to do so, subject to the following conditions:\n\n * \tThe above copyright notice and this permission notice shall be included in all\n * \tcopies or substantial portions of the Software.\n *\n * \tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n *\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n *\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * \tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n *\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n *\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * \tSOFTWARE.\n *\n */\n\nimport {IsDate, isDateMake} from '../is/date';\nimport {IsDateTime, isDateTimeMake} from '../is/date/time';\nimport {IsEmail, isEmailMake} from '../is/email';\nimport {IsEmpty, isEmptyMake} from '../is/empty';\nimport {IsEqual, isEqualMake} from '../is/equal';\nimport {IsGT, isGTMake} from '../is/gt';\nimport {IsGTE, isGTEMake} from '../is/gte';\nimport {IsHexColorCode, isHexColorCodeMake} from '../is/hex-color-code';\nimport {IsLT, isLTMake} from '../is/lt';\nimport {IsLTE, isLTEMake} from '../is/lte';\nimport {IsNull, isNullMake} from '../is/null';\nimport {IsPort, isPortMake} from '../is/port';\nimport {IsSystemPort, isSystemPortMake} from '../is/system/port';\nimport {IsTime, isTimeMake} from '../is/time';\nimport {IsUndefined, isUndefinedMake} from '../is/undefined';\nimport {IsUrl, isUrlMake} from '../is/url';\n\nimport {IsIpv4Addr} from '../is/ipv4/addr';\nimport {IsIpv6Addr} from '../is/ipv6/addr';\nimport {Rule} from '../rule';\nimport {RuleMods} from './mods';\nimport {isIpv4AddrMake} from '../is/ipv4/addr/make';\nimport {isIpv6AddrMake} from '../is/ipv6/addr/make';\n\n/**\n * Rule chain matcher node with equality and type validation operations\n *\n * @category Rules\n */\nexport class RuleBe {\n\tpublic readonly ['null']: IsNull<RuleBe>;\n\tpublic readonly ['undefined']: IsUndefined<RuleBe>;\n\tpublic readonly date: IsDate<RuleBe>;\n\tpublic readonly dateTime: IsDateTime<RuleBe>;\n\tpublic readonly email: IsEmail<RuleBe>;\n\tpublic readonly empty: IsEmpty<RuleBe>;\n\tpublic readonly equalTo: IsEqual<RuleBe>;\n\tpublic readonly greaterThan: IsGT<RuleBe>;\n\tpublic readonly greaterThanOrEqual: IsGTE<RuleBe>;\n\tpublic readonly hexColorCode: IsHexColorCode<RuleBe>;\n\tpublic readonly lessThan: IsLT<RuleBe>;\n\tpublic readonly lessThanOrEqual: IsLTE<RuleBe>;\n\tpublic readonly time: IsTime<RuleBe>;\n\tpublic readonly url: IsUrl<RuleBe>;\n\tpublic readonly portNumber: IsPort<RuleBe>;\n\tpublic readonly systemPortNumber: IsSystemPort<RuleBe>;\n\tpublic readonly ipv4Addr: IsIpv4Addr<RuleBe>;\n\tpublic readonly ipv6Addr: IsIpv6Addr<RuleBe>;\n\n\tconstructor(rule: Rule, mods: RuleMods) {\n\t\tthis.greaterThan = isGTMake<RuleBe>(this, rule, mods);\n\t\tthis.greaterThanOrEqual = isGTEMake<RuleBe>(this, rule, mods);\n\t\tthis.lessThan = isLTMake<RuleBe>(this, rule, mods);\n\t\tthis.lessThanOrEqual = isLTEMake<RuleBe>(this, rule, mods);\n\t\tthis.equalTo = isEqualMake<RuleBe>(this, rule, mods);\n\t\tthis.undefined = isUndefinedMake<RuleBe>(this, rule, mods);\n\t\tthis.null = isNullMake<RuleBe>(this, rule, mods);\n\t\tthis.empty = isEmptyMake<RuleBe>(this, rule, mods);\n\t\tthis.date = isDateMake<RuleBe>(this, rule, mods);\n\t\tthis.time = isTimeMake<RuleBe>(this, rule, mods);\n\t\tthis.hexColorCode = isHexColorCodeMake<RuleBe>(this, rule, mods);\n\t\tthis.email = isEmailMake<RuleBe>(this, rule, mods);\n\t\tthis.url = isUrlMake<RuleBe>(this, rule, mods);\n\t\tthis.dateTime = isDateTimeMake<RuleBe>(this, rule, mods);\n\t\tthis.portNumber = isPortMake<RuleBe>(this, rule, mods);\n\t\tthis.systemPortNumber = isSystemPortMake<RuleBe>(this, rule, mods);\n\t\tthis.ipv4Addr = isIpv4AddrMake<RuleBe>(this, rule, mods);\n\t\tthis.ipv6Addr = isIpv6AddrMake<RuleBe>(this, rule, mods);\n\t}\n}\n"]}