ng2-validators
Advanced tools
Comparing version 1.6.1 to 1.7.0
@@ -8,9 +8,9 @@ System.registerDynamic("src/creditcard/creditcard-validators", ["./../util"], true, function($__require, exports, module) { | ||
var util_1 = $__require('./../util'); | ||
var visa = '(?:4[0-9]{12})(?:[0-9]{3})?$'; | ||
var americanExpress = '(?:3[47][0-9]{13})$'; | ||
var maestro = '(?:(?:5[0678]\\d\\d|6304|6390|67\\d\\d)\\d{8,15})$'; | ||
var jcb = '(?:(?:2131|1800|35\\d{3})\\d{11})$'; | ||
var discover = '(?:6(?:011|5[0-9]{2})(?:[0-9]{12}))$'; | ||
var dinersclub = '(?:3(?:0[0-5]|[68][0-9])[0-9]{11})$'; | ||
var mastercard = '(?:5[1-5][0-9]{14})$'; | ||
var visa = '^(?:4[0-9]{12})(?:[0-9]{3})?$'; | ||
var americanExpress = '^(?:3[47][0-9]{13})$'; | ||
var maestro = '^(?:(?:5[0678]\\d\\d|6304|6390|67\\d\\d)\\d{8,15})$'; | ||
var jcb = '^(?:(?:2131|1800|35\\d{3})\\d{11})$'; | ||
var discover = '^(?:6(?:011|5[0-9]{2})(?:[0-9]{12}))$'; | ||
var dinersclub = '^(?:3(?:0[0-5]|[68][0-9])[0-9]{11})$'; | ||
var mastercard = '^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$'; | ||
var CreditCardValidators = (function() { | ||
@@ -17,0 +17,0 @@ function CreditCardValidators() {} |
@@ -77,3 +77,3 @@ { | ||
}, | ||
"version": "1.6.1" | ||
"version": "1.7.0" | ||
} |
"use strict"; | ||
var util_1 = require('./../util'); | ||
var visa = '(?:4[0-9]{12})(?:[0-9]{3})?$'; | ||
var americanExpress = '(?:3[47][0-9]{13})$'; | ||
var maestro = '(?:(?:5[0678]\\d\\d|6304|6390|67\\d\\d)\\d{8,15})$'; | ||
var jcb = '(?:(?:2131|1800|35\\d{3})\\d{11})$'; | ||
var discover = '(?:6(?:011|5[0-9]{2})(?:[0-9]{12}))$'; | ||
var dinersclub = '(?:3(?:0[0-5]|[68][0-9])[0-9]{11})$'; | ||
var mastercard = '(?:5[1-5][0-9]{14})$'; | ||
var visa = '^(?:4[0-9]{12})(?:[0-9]{3})?$'; | ||
var americanExpress = '^(?:3[47][0-9]{13})$'; | ||
var maestro = '^(?:(?:5[0678]\\d\\d|6304|6390|67\\d\\d)\\d{8,15})$'; | ||
var jcb = '^(?:(?:2131|1800|35\\d{3})\\d{11})$'; | ||
var discover = '^(?:6(?:011|5[0-9]{2})(?:[0-9]{12}))$'; | ||
var dinersclub = '^(?:3(?:0[0-5]|[68][0-9])[0-9]{11})$'; | ||
var mastercard = '^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$'; | ||
var CreditCardValidators = (function () { | ||
@@ -102,2 +102,2 @@ function CreditCardValidators() { | ||
exports.CreditCardValidators = CreditCardValidators; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlZGl0Y2FyZC12YWxpZGF0b3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY3JlZGl0Y2FyZC12YWxpZGF0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxxQkFBbUIsV0FBVyxDQUFDLENBQUE7QUFFL0IsSUFBSSxJQUFJLEdBQUcsOEJBQThCLENBQUM7QUFDMUMsSUFBSSxlQUFlLEdBQUcscUJBQXFCLENBQUM7QUFDNUMsSUFBSSxPQUFPLEdBQUcsb0RBQW9ELENBQUM7QUFDbkUsSUFBSSxHQUFHLEdBQUcsb0NBQW9DLENBQUM7QUFDL0MsSUFBSSxRQUFRLEdBQUcsc0NBQXNDLENBQUM7QUFDdEQsSUFBSSxVQUFVLEdBQUcscUNBQXFDLENBQUM7QUFDdkQsSUFBSSxVQUFVLEdBQUcsc0JBQXNCLENBQUM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SkkJztcbmxldCBqY2IgPSAnKD86KD86MjEzMXwxODAwfDM1XFxcXGR7M30pXFxcXGR7MTF9KSQnO1xubGV0IGRpc2NvdmVyID0gJyg/OjYoPzowMTF8NVswLTldezJ9KSg/OlswLTldezEyfSkpJCc7XG5sZXQgZGluZXJzY2x1YiA9ICcoPzozKD86MFswLTVdfFs2OF1bMC05XSlbMC05XXsxMX0pJCc7XG5sZXQgbWFzdGVyY2FyZCA9ICcoPzo1WzEtNV1bMC05XXsxNH0pJCc7XG5cbmV4cG9ydCBjbGFzcyBDcmVkaXRDYXJkVmFsaWRhdG9ycyB7XG5cbiAgICBzdGF0aWMgaXNDcmVkaXRDYXJkKCk6IGFueSB7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiB2YWxpZGF0ZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7IFtrZXk6IHN0cmluZ106IGFueSB9IHtcbiAgICAgICAgICAgIGlmIChVdGlsLmlzTm90UHJlc2VudChjb250cm9sKSkgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIGlmIChuZXcgUmVnRXhwKGFtZXJpY2FuRXhwcmVzcyArICd8JyArXG4gICAgICAgICAgICAgICAgdmlzYSArICd8JyArXG4gICAgICAgICAgICAgICAgbWFlc3RybyArICd8JyArXG4gICAgICAgICAgICAgICAgamNiICsgJ3wnICtcbiAgICAgICAgICAgICAgICBkaXNjb3ZlciArICd8JyArXG4gICAgICAgICAgICAgICAgbWFzdGVyY2FyZCArICd8JyArXG4gICAgICAgICAgICAgICAgZGluZXJzY2x1YikudGVzdChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4geyAnY3JlZGl0Y2FyZCc6IHRydWUgfTtcbiAgICAgICAgfTtcbiAgICB9XG5cblxuICAgIHN0YXRpYyBhbWVyaWNhbkV4cHJlc3MoKTogYW55IHtcbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIHZhbGlkYXRlKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0ge1xuICAgICAgICAgICAgaWYgKFV0aWwuaXNOb3RQcmVzZW50KGNvbnRyb2wpKSByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgaWYgKG5ldyBSZWdFeHAoYW1lcmljYW5FeHByZXNzKS50ZXN0KGNvbnRyb2wudmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7ICdhbWVyaWNhbkV4cHJlc3MnOiB0cnVlIH07XG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgc3RhdGljIGRpbmVyc2NsdWIoKTogYW55IHtcbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIHZhbGlkYXRlKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0ge1xuICAgICAgICAgICAgaWYgKFV0aWwuaXNOb3RQcmVzZW50KGNvbnRyb2wpKSByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgaWYgKG5ldyBSZWdFeHAoZGluZXJzY2x1YikudGVzdChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4geyAnZGluZXJzY2x1Yic6IHRydWUgfTtcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZGlzY292ZXIoKTogYW55IHtcbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIHZhbGlkYXRlKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0ge1xuICAgICAgICAgICAgaWYgKFV0aWwuaXNOb3RQcmVzZW50KGNvbnRyb2wpKSByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgaWYgKG5ldyBSZWdFeHAoZGlzY292ZXIpLnRlc3QoY29udHJvbC52YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHsgJ2Rpc2NvdmVyJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cbiAgICBzdGF0aWMgamNiKCk6IGFueSB7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiB2YWxpZGF0ZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7IFtrZXk6IHN0cmluZ106IGFueSB9IHtcbiAgICAgICAgICAgIGlmIChVdGlsLmlzTm90UHJlc2VudChjb250cm9sKSkgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIGlmIChuZXcgUmVnRXhwKGpjYikudGVzdChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4geyAnamNiJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cbiAgICBzdGF0aWMgbWFlc3RybygpOiBhbnkge1xuICAgICAgICByZXR1cm4gZnVuY3Rpb24gdmFsaWRhdGUoY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB7XG4gICAgICAgICAgICBpZiAoVXRpbC5pc05vdFByZXNlbnQoY29udHJvbCkpIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICBpZiAobmV3IFJlZ0V4cChtYWVzdHJvKS50ZXN0KGNvbnRyb2wudmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7ICdtYWVzdHJvJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIHN0YXRpYyBtYXN0ZXJjYXJkKCk6IGFueSB7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiB2YWxpZGF0ZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7IFtrZXk6IHN0cmluZ106IGFueSB9IHtcbiAgICAgICAgICAgIGlmIChVdGlsLmlzTm90UHJlc2VudChjb250cm9sKSkgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIGlmIChuZXcgUmVnRXhwKG1hc3RlcmNhcmQpLnRlc3QoY29udHJvbC52YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHsgJ21hc3RlcmNhcmQnOiB0cnVlIH07XG4gICAgICAgIH07XG4gICAgfVxuXG5cbiAgICBzdGF0aWMgdmlzYSgpOiBhbnkge1xuICAgICAgICByZXR1cm4gZnVuY3Rpb24gdmFsaWRhdGUoY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB7XG4gICAgICAgICAgICBpZiAoVXRpbC5pc05vdFByZXNlbnQoY29udHJvbCkpIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICBpZiAobmV3IFJlZ0V4cCh2aXNhKS50ZXN0KGNvbnRyb2wudmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7ICd2aXNhJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cblxufVxuXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlZGl0Y2FyZC12YWxpZGF0b3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY3JlZGl0Y2FyZC12YW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XcgUmVnRXhwKGFtZXJpY2FuRXhwcmVzcyArICd8JyArXG4gICAgICAgICAgICAgICAgdmlzYSArICd8JyArXG4gICAgICAgICAgICAgICAgbWFlc3RybyArICd8JyArXG4gICAgICAgICAgICAgICAgamNiICsgJ3wnICtcbiAgICAgICAgICAgICAgICBkaXNjb3ZlciArICd8JyArXG4gICAgICAgICAgICAgICAgbWFzdGVyY2FyZCArICd8JyArXG4gICAgICAgICAgICAgICAgZGluZXJzY2x1YlxuICAgICAgICAgICAgICAgICkudGVzdChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4geyAnY3JlZGl0Y2FyZCc6IHRydWUgfTtcbiAgICAgICAgfTtcbiAgICB9XG5cblxuICAgIHN0YXRpYyBhbWVyaWNhbkV4cHJlc3MoKTogYW55IHtcbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIHZhbGlkYXRlKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0ge1xuICAgICAgICAgICAgaWYgKFV0aWwuaXNOb3RQcmVzZW50KGNvbnRyb2wpKSByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgaWYgKG5ldyBSZWdFeHAoYW1lcmljYW5FeHByZXNzKS50ZXN0KGNvbnRyb2wudmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7ICdhbWVyaWNhbkV4cHJlc3MnOiB0cnVlIH07XG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgc3RhdGljIGRpbmVyc2NsdWIoKTogYW55IHtcbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIHZhbGlkYXRlKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0ge1xuICAgICAgICAgICAgaWYgKFV0aWwuaXNOb3RQcmVzZW50KGNvbnRyb2wpKSByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgaWYgKG5ldyBSZWdFeHAoZGluZXJzY2x1YikudGVzdChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4geyAnZGluZXJzY2x1Yic6IHRydWUgfTtcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZGlzY292ZXIoKTogYW55IHtcbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIHZhbGlkYXRlKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0ge1xuICAgICAgICAgICAgaWYgKFV0aWwuaXNOb3RQcmVzZW50KGNvbnRyb2wpKSByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgaWYgKG5ldyBSZWdFeHAoZGlzY292ZXIpLnRlc3QoY29udHJvbC52YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHsgJ2Rpc2NvdmVyJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cbiAgICBzdGF0aWMgamNiKCk6IGFueSB7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiB2YWxpZGF0ZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7IFtrZXk6IHN0cmluZ106IGFueSB9IHtcbiAgICAgICAgICAgIGlmIChVdGlsLmlzTm90UHJlc2VudChjb250cm9sKSkgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIGlmIChuZXcgUmVnRXhwKGpjYikudGVzdChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4geyAnamNiJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cbiAgICBzdGF0aWMgbWFlc3RybygpOiBhbnkge1xuICAgICAgICByZXR1cm4gZnVuY3Rpb24gdmFsaWRhdGUoY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB7XG4gICAgICAgICAgICBpZiAoVXRpbC5pc05vdFByZXNlbnQoY29udHJvbCkpIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICBpZiAobmV3IFJlZ0V4cChtYWVzdHJvKS50ZXN0KGNvbnRyb2wudmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7ICdtYWVzdHJvJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIHN0YXRpYyBtYXN0ZXJjYXJkKCk6IGFueSB7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiB2YWxpZGF0ZShjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7IFtrZXk6IHN0cmluZ106IGFueSB9IHtcbiAgICAgICAgICAgIGlmIChVdGlsLmlzTm90UHJlc2VudChjb250cm9sKSkgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIGlmIChuZXcgUmVnRXhwKG1hc3RlcmNhcmQpLnRlc3QoY29udHJvbC52YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHsgJ21hc3RlcmNhcmQnOiB0cnVlIH07XG4gICAgICAgIH07XG4gICAgfVxuXG5cbiAgICBzdGF0aWMgdmlzYSgpOiBhbnkge1xuICAgICAgICByZXR1cm4gZnVuY3Rpb24gdmFsaWRhdGUoY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB7XG4gICAgICAgICAgICBpZiAoVXRpbC5pc05vdFByZXNlbnQoY29udHJvbCkpIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICBpZiAobmV3IFJlZ0V4cCh2aXNhKS50ZXN0KGNvbnRyb2wudmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7ICd2aXNhJzogdHJ1ZSB9O1xuICAgICAgICB9O1xuICAgIH1cblxufVxuXG4iXX0= |
@@ -70,2 +70,2 @@ "use strict"; | ||
exports.CreditCardValidatorDirective = CreditCardValidatorDirective; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlZGl0Y2FyZC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjcmVkaXRjYXJkLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBQXFELGVBQWUsQ0FBQyxDQUFBO0FBQ3JFLHNCQUF1RSxnQkFBZ0IsQ0FBQyxDQUFBO0FBRXhGLHNDQUFxQyx5QkFBeUIsQ0FBQyxDQUFBO0FBVS9EO0lBQUE7UUFDYSxlQUFVLEdBQVcsS0FBSyxDQUFDO0lBd0N4QyxDQUFDO0lBcENHLCtDQUFRLEdBQVI7UUFDSSxNQUFNLENBQUMsQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztZQUN0QixLQUFLLEtBQUs7Z0JBQ04sSUFBSSxDQUFDLFNBQVMsR0FBRyw0Q0FBb0IsQ0FBQyxZQUFZLEVBQUUsQ0FBQztnQkFDckQsS0FBSyxDQUFDO1lBQ1YsS0FBSyxpQkFBaUI7Z0JBQ2xCLElBQUksQ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RoaXMudmFsaWRhdG9yID0gQ3JlZGl0Q2FyZFZhbGlkYXRvcnMubWFlc3RybygpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnbWFzdGVyY2FyZCc6XG4gICAgICAgICAgICAgICAgdGhpcy52YWxpZGF0b3IgPSBDcmVkaXRDYXJkVmFsaWRhdG9ycy5tYXN0ZXJjYXJkKCk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICd2aXNhJzpcbiAgICAgICAgICAgICAgICB0aGlzLnZhbGlkYXRvciA9IENyZWRpdENhcmRWYWxpZGF0b3JzLnZpc2EoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgdGhpcy52YWxpZGF0b3IgPSBDcmVkaXRDYXJkVmFsaWRhdG9ycy5pc0NyZWRpdENhcmQoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuXG4gICAgfVxuXG4gICAgdmFsaWRhdGUoYzogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB7XG4gICAgICAgIHJldHVybiB0aGlzLnZhbGlkYXRvcihjKTtcbiAgICB9XG59Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlZGl0Y2FyZC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjcmVkaXRjYXJkLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBQXFELGVBQWUsQ0FBQyxDQUFBO0FBQ3JFLHNCQUF1RSxnQkFBZ0IsQ0FBQyxDQUFBO0FBRXhGLHNDQUFxQyx5QkFBeUIsQ0FBQyxDQUFBO0FBVS9EO0lBQUE7UUFDYSxlQUFVLEdBQVcsS0FBS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saWRhdG9yID0gQ3JlZGl0Q2FyZFZhbGlkYXRvcnMuZGlzY292ZXIoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2pjYic6XG4gICAgICAgICAgICAgICAgdGhpcy52YWxpZGF0b3IgPSBDcmVkaXRDYXJkVmFsaWRhdG9ycy5qY2IoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ21hZXN0cm8nOlxuICAgICAgICAgICAgICAgIHRoaXMudmFsaWRhdG9yID0gQ3JlZGl0Q2FyZFZhbGlkYXRvcnMubWFlc3RybygpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnbWFzdGVyY2FyZCc6XG4gICAgICAgICAgICAgICAgdGhpcy52YWxpZGF0b3IgPSBDcmVkaXRDYXJkVmFsaWRhdG9ycy5tYXN0ZXJjYXJkKCk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICd2aXNhJzpcbiAgICAgICAgICAgICAgICB0aGlzLnZhbGlkYXRvciA9IENyZWRpdENhcmRWYWxpZGF0b3JzLnZpc2EoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgdGhpcy52YWxpZGF0b3IgPSBDcmVkaXRDYXJkVmFsaWRhdG9ycy5pc0NyZWRpdENhcmQoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuXG4gICAgfVxuXG4gICAgdmFsaWRhdGUoYzogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB7XG4gICAgICAgIHJldHVybiB0aGlzLnZhbGlkYXRvcihjKTtcbiAgICB9XG59XG4iXX0= |
187289