{"version":3,"sources":["jsdelivr-header.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/scanner/index.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/types.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/overlaySettings.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/successFrameGrabberRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/blinkIdMultiSideRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/blinkIdSingleSideRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/documentFaceRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/idBarcodeRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/mrtdCombinedRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/mrtdRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/passportRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/visaRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/usdlRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/recognizers/usdlCombinedRecognizer.js","/npm/@microblink/blinkid-capacitor@6.13.1/dist/esm/overlays/blinkidOverlays.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,+CCNA,IAAI,EAAwC,SAAU,EAAS,EAAY,EAAG,GAE1E,OAAO,IAAK,IAAM,EAAI,WAAU,SAAU,EAAS,GAC/C,SAAS,EAAU,GAAS,IAAM,EAAK,EAAU,KAAK,GAAQ,CAAG,MAAO,GAAK,EAAO,EAAG,CAAE,CACzF,SAAS,EAAS,GAAS,IAAM,EAAK,EAAiB,MAAE,GAAQ,CAAG,MAAO,GA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GAA0B,IAAI,EAAqB,EAC1F,G,qCXoLO,MACH,WAAA,CAAY,GAER,KAAK,UAAY,EAAgB,UAEjC,KAAK,SAAW,EAAgB,SAEhC,KAAK,SAAW,EAAgB,SAEhC,KAAK,0BAA4B,EAAgB,0BAEjD,KAAK,cAAgB,EAAgB,cAErC,KAAK,QAAU,EAAgB,QAE/B,KAAK,6BAA+B,EAAgB,6BAEpD,KAAK,qCAAuC,EAAgB,qCAE5D,KAAK,aAAe,EAAgB,aAEpC,KAAK,YAAc,EAAgB,YAEnC,KAAK,KAAO,EAAgB,KAE5B,KAAK,SAAW,EAAgB,SAEhC,KAAK,WAAa,EAAgB,WAElC,KAAK,cAAgB,EAAgB,cAErC,KAAK,kBAAoB,EAAgB,kBAEzC,KAAK,SAAW,EAAgB,SAEhC,KAAK,IAAM,EAAgB,IAE3B,KAAK,YAAkD,MAApC,EAAgB,YAAY,KAAe,IAAI,EAAK,EAAgB,aAAe,KAEtG,KAAK,YAAkD,MAApC,EAAgB,YAAY,KAAe,IAAI,EAAK,EAAgB,aAAe,KAEtG,KAAK,aAAoD,MAArC,EAAgB,aAAa,KAAe,IAAI,EAAK,EAAgB,cAAgB,KAEzG,KAAK,eAAiB,EAAgB,eAEtC,KAAK,iBAAmB,EAAgB,iBAExC,KAAK,yBAA2B,EAAgB,yBAEhD,KAAK,2BAA6B,EAAgB,2BAElD,KAAK,iBAAmB,EAAgB,iBAExC,KAAK,0BAAyE,MAA7C,EAAgB,0BAAoC,IAAI,EAA0B,EAAgB,2BAA6B,KAEhK,KAAK,MAAQ,EAAgB,MAC7B,KAAK,iCAAmC,EAAgB,gCAChE,G","file":"/npm/@microblink/blinkid-capacitor@6.13.1/dist/plugin.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@microblink/blinkid-capacitor@6.13.1/dist/plugin.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nimport { registerPlugin } from '@capacitor/core';\nconst BlinkIDplugin = registerPlugin('BlinkIDCapacitorPlugin');\nexport var ScanningStatus;\n(function (ScanningStatus) {\n    ScanningStatus[ScanningStatus[\"cancelled\"] = 0] = \"cancelled\";\n    ScanningStatus[ScanningStatus[\"succeeded\"] = 1] = \"succeeded\";\n})(ScanningStatus || (ScanningStatus = {}));\nexport class BlinkIDPlugin {\n    scanWithCamera(overlaySettings, recognizerCollection, license) {\n        return __awaiter(this, void 0, void 0, function* () {\n            let functions = [];\n            for (let recognizer of recognizerCollection.recognizerArray) {\n                let recognizerFunction = recognizer.createResultFromNative;\n                functions.push(recognizerFunction);\n                delete recognizer.createResultFromNative;\n            }\n            const response = yield BlinkIDplugin.scanWithCamera({ 'overlaySettings': overlaySettings, 'recognizerCollection': recognizerCollection, 'license': license });\n            const results = response.resultList;\n            const isCancelled = response.cancelled;\n            let resultsFromNative = [];\n            if (!isCancelled && results) {\n                for (let i = 0; i < results.length; ++i) {\n                    recognizerCollection.recognizerArray[i].createResultFromNative = functions[i];\n                    let result = recognizerCollection.recognizerArray[i].createResultFromNative(results[i]);\n                    if (result.resultState != 0 /* empty */) {\n                        resultsFromNative.push(result);\n                    }\n                }\n            }\n            return resultsFromNative;\n        });\n    }\n    scanWithDirectApi(license, recognizerCollection, frontImage, backImage) {\n        return __awaiter(this, void 0, void 0, function* () {\n            let functions = [];\n            for (let recognizer of recognizerCollection.recognizerArray) {\n                let recognizerFunction = recognizer.createResultFromNative;\n                functions.push(recognizerFunction);\n                delete recognizer.createResultFromNative;\n            }\n            const response = yield BlinkIDplugin.scanWithDirectApi({ 'license': license, 'recognizerCollection': recognizerCollection, 'frontImage': frontImage, 'backImage': backImage });\n            const results = response.resultList;\n            const isCancelled = response.cancelled;\n            let resultsFromNative = [];\n            if (!isCancelled && results) {\n                for (let i = 0; i < results.length; ++i) {\n                    recognizerCollection.recognizerArray[i].createResultFromNative = functions[i];\n                    let result = recognizerCollection.recognizerArray[i].createResultFromNative(results[i]);\n                    if (result.resultState != 0 /* empty */) {\n                        resultsFromNative.push(result);\n                    }\n                }\n            }\n            return resultsFromNative;\n        });\n    }\n}\n//# sourceMappingURL=index.js.map","/**\n * Represents a date extracted from image.\n */\nexport class Date {\n    constructor(nativeDate) {\n        this.day = nativeDate.day;\n        this.month = nativeDate.month;\n        this.year = nativeDate.year;\n        this.originalDateStringResult = nativeDate.originalDateStringResult;\n        this.isFilledByDomainKnowledge = nativeDate.isFilledByDomainKnowledge;\n    }\n}\n/**\n * Represents a date result with additional properties.\n */\nexport class DateResult {\n    constructor(nativeDateResult) {\n        this.date = new Date(nativeDateResult.date);\n        this.originalDateStringResult = nativeDateResult.originalDateStringResult;\n        this.isFilledByDomainKnowledge = nativeDateResult.isFilledByDomainKnowledge;\n    }\n}\n/**\n * Represents a point in image\n */\nexport class Point {\n    constructor(nativePoint) {\n        this.x = nativePoint.x;\n        this.y = nativePoint.y;\n    }\n}\n/**\n * Represents a quadrilateral location in the image\n */\nexport class Quadrilateral {\n    constructor(nativeQuad) {\n        this.upperLeft = new Point(nativeQuad.upperLeft);\n        this.upperRight = new Point(nativeQuad.upperRight);\n        this.lowerLeft = new Point(nativeQuad.lowerLeft);\n        this.lowerRight = new Point(nativeQuad.lowerRight);\n    }\n}\n/**\n * Represents rectangle location of each document field\n */\nexport class Rectangle {\n    constructor(nativeRect) {\n        this.x = nativeRect.x;\n        this.y = nativeRect.y;\n        this.width = nativeRect.width;\n        this.height = nativeRect.height;\n    }\n}\n/**\n * Represents document field location for three alphabets\n */\nexport class Location {\n    constructor(nativeLocation) {\n        this.latin = new Rectangle(nativeLocation.latin);\n        this.arabic = new Rectangle(nativeLocation.arabic);\n        this.cyrillic = new Rectangle(nativeLocation.cyrillic);\n        this.greek = new Rectangle(nativeLocation.greek);\n    }\n}\n/**\n * Represents document side for document field for three alphabets\n */\nexport class Side {\n    constructor(nativeSide) {\n        this.latin = nativeSide.latin;\n        this.arabic = nativeSide.arabic;\n        this.cyrillic = nativeSide.cyrillic;\n        this.greek = nativeSide.greek;\n    }\n}\n/**\n* Represents string results for three alphabets\n*/\nexport class StringResult {\n    constructor(nativeStringResult) {\n        this.description = nativeStringResult.description;\n        this.latin = nativeStringResult.latin;\n        this.arabic = nativeStringResult.arabic;\n        this.cyrillic = nativeStringResult.cyrillic;\n        this.greek = nativeStringResult.greek;\n        this.location = nativeStringResult.location != undefined ? new Location(nativeStringResult.location) : undefined;\n        this.side = nativeStringResult.side != undefined ? new Side(nativeStringResult.side) : undefined;\n    }\n}\n/**\n* Represents additional info on processing.\n* Information about missing fields, invalid characters, extra presented fields for each document field and image extraction failures can be obtained.\n*/\nexport class AdditionalProcessingInfo {\n    constructor(nativeAdditionalProcessingInfo) {\n        this.missingMandatoryFields = Object.values(nativeAdditionalProcessingInfo.missingMandatoryFields);\n        this.invalidCharacterFields = Object.values(nativeAdditionalProcessingInfo.invalidCharacterFields);\n        this.extraPresentFields = Object.values(nativeAdditionalProcessingInfo.extraPresentFields);\n        this.imageExtractionFailures = Object.values(nativeAdditionalProcessingInfo.imageExtractionFailures);\n    }\n}\n/**\n * Represents data extracted from the Driver's license.\n */\nexport class DriverLicenseDetailedInfo {\n    constructor(nativeDriverLicenseDetailedInfo) {\n        this.restrictions = nativeDriverLicenseDetailedInfo.restrictions;\n        this.endorsements = nativeDriverLicenseDetailedInfo.endorsements;\n        this.vehicleClass = nativeDriverLicenseDetailedInfo.vehicleClass;\n        this.vehicleClassesInfo = nativeDriverLicenseDetailedInfo.vehicleClassesInfo;\n        this.conditions = nativeDriverLicenseDetailedInfo.conditions;\n    }\n}\n/**\n * Represents data extracted from the Driver's license.\n */\nexport class VehicleClassInfo {\n    constructor(nativeVehicleClassInfo) {\n        this.vehicleClass = nativeVehicleClassInfo.vehicleClass;\n        this.licenceType = nativeVehicleClassInfo.licenceType;\n        this.effectiveDate = nativeVehicleClassInfo.effectiveDate;\n        this.expiryDate = nativeVehicleClassInfo.expiryDate;\n    }\n}\n/**\n * Gives more info on data match\n */\nexport class DataMatchResult {\n    constructor(nativeDataMatchResult) {\n        this.stateForWholeDocument = nativeDataMatchResult.stateForWholeDocument;\n        this.states = nativeDataMatchResult.states;\n    }\n}\n/**\n * Data-match state for document field\n */\nexport class DataMatchField {\n    constructor(nativeDataMatchState) {\n        this.state = nativeDataMatchState.state;\n    }\n}\n/** Represents the classification information. **/\nexport class ClassInfo {\n    constructor(nativeClassInfo) {\n        this.country = nativeClassInfo.country;\n        this.region = nativeClassInfo.region;\n        this.type = nativeClassInfo.type;\n        this.empty = nativeClassInfo.empty;\n        this.countryName = nativeClassInfo.countryName;\n        this.isoNumericCountryCode = nativeClassInfo.isoNumericCountryCode;\n        this.isoAlpha2CountryCode = nativeClassInfo.isoAlpha2CountryCode;\n        this.isoAlpha3CountryCode = nativeClassInfo.isoAlpha3CountryCode;\n    }\n}\n/**\n * Defines possible color and moire statuses determined from scanned image.\n */\nexport class ImageAnalysisResult {\n    constructor(nativeImageAnalysisResult) {\n        this.documentImageColorStatus = nativeImageAnalysisResult.documentImageColorStatus;\n        this.documentImageMoireStatus = nativeImageAnalysisResult.documentImageMoireStatus;\n        this.faceDetectionStatus = nativeImageAnalysisResult.faceDetectionStatus;\n        this.mrzDetectionStatus = nativeImageAnalysisResult.mrzDetectionStatus;\n        this.barcodeDetectionStatus = nativeImageAnalysisResult.barcodeDetectionStatus;\n        this.cardRotation = nativeImageAnalysisResult.cardRotation;\n        this.cardOrientation = nativeImageAnalysisResult.cardOrientation;\n        this.realIdDetectionStatus = nativeImageAnalysisResult.realIdDetectionStatus;\n        this.blurDetected = nativeImageAnalysisResult.blurDetected;\n        this.glareDetected = nativeImageAnalysisResult.glareDetected;\n    }\n}\n/** Defines the data extracted from the barcode. */\nexport class BarcodeResult {\n    constructor(nativeBarcodeResult) {\n        /** Type of the barcode scanned */\n        this.barcodeType = nativeBarcodeResult.barcodeType;\n        /** Byte array with result of the scan */\n        this.rawData = nativeBarcodeResult.rawData;\n        /** Retrieves content of scanned data */\n        this.stringData = nativeBarcodeResult.stringData;\n        /** Flag indicating uncertain scanning data */\n        this.uncertain = nativeBarcodeResult.uncertain;\n        /** The first name of the document owner. */\n        this.firstName = nativeBarcodeResult.firstName;\n        /** The middle name of the document owner. */\n        this.middleName = nativeBarcodeResult.middleName;\n        /** The last name of the document owner. */\n        this.lastName = nativeBarcodeResult.lastName;\n        /** The full name of the document owner. */\n        this.fullName = nativeBarcodeResult.fullName;\n        /** The additional name information of the document owner. */\n        this.additionalNameInformation = nativeBarcodeResult.additionalNameInformation;\n        /** The address of the document owner. */\n        this.address = nativeBarcodeResult.address;\n        /** The place of birth of the document owner. */\n        this.placeOfBirth = nativeBarcodeResult.placeOfBirth;\n        /** The nationality of the documet owner. */\n        this.nationality = nativeBarcodeResult.nationality;\n        /** The race of the document owner. */\n        this.race = nativeBarcodeResult.race;\n        /** The religion of the document owner. */\n        this.religion = nativeBarcodeResult.religion;\n        /** The profession of the document owner. */\n        this.profession = nativeBarcodeResult.profession;\n        /** The marital status of the document owner. */\n        this.maritalStatus = nativeBarcodeResult.maritalStatus;\n        /** The residential stauts of the document owner. */\n        this.residentialStatus = nativeBarcodeResult.residentialStatus;\n        /** The employer of the document owner. */\n        this.employer = nativeBarcodeResult.employer;\n        /** The sex of the document owner. */\n        this.sex = nativeBarcodeResult.sex;\n        /** The date of birth of the document owner. */\n        this.dateOfBirth = nativeBarcodeResult.dateOfBirth != null ? new Date(nativeBarcodeResult.dateOfBirth) : null;\n        /** The date of issue of the document. */\n        this.dateOfIssue = nativeBarcodeResult.dateOfIssue.Date != null ? new Date(nativeBarcodeResult.dateOfIssue) : null;\n        /** The date of expiry of the document. */\n        this.dateOfExpiry = nativeBarcodeResult.dateOfExpiry.Date != null ? new Date(nativeBarcodeResult.dateOfExpiry) : null;\n        /** The document number. */\n        this.documentNumber = nativeBarcodeResult.documentNumber;\n        /**  The personal identification number. */\n        this.personalIdNumber = nativeBarcodeResult.personalIdNumber;\n        /** The additional number of the document. */\n        this.documentAdditionalNumber = nativeBarcodeResult.documentAdditionalNumber;\n        /** The issuing authority of the document. */\n        this.issuingAuthority = nativeBarcodeResult.issuingAuthority;\n        /** The street address portion of the document owner. */\n        this.street = nativeBarcodeResult.street;\n        /** The postal code address portion of the document owner. */\n        this.postalCode = nativeBarcodeResult.postalCode;\n        /** The city address portion of the document owner. */\n        this.city = nativeBarcodeResult.city;\n        /** The jurisdiction code address portion of the document owner. */\n        this.jurisdiction = nativeBarcodeResult.jurisdiction;\n        /** The driver license detailed info. */\n        this.driverLicenseDetailedInfo = nativeBarcodeResult.driverLicenseDetailedInfo != null ? new DriverLicenseDetailedInfo(nativeBarcodeResult.driverLicenseDetailedInfo) : null;\n        /** Flag that indicates if barcode result is empty */\n        this.empty = nativeBarcodeResult.empty;\n        /** Document specific extended elements that contain all barcode fields in their original form. Currently this is only filled for AAMVACompliant documents. */\n        this.extendedElements = nativeBarcodeResult.extendedElements != null ? new BarcodeElements(nativeBarcodeResult.extendedElements) : null;\n    }\n}\nexport class BarcodeElements {\n    constructor(nativeBarcodeElements) {\n        this.empty = nativeBarcodeElements.empty;\n        this.values = nativeBarcodeElements.values;\n    }\n}\n/** Defines the data extracted from the visual inspection zone */\nexport class VizResult {\n    constructor(nativeVizResult) {\n        /** The first name of the document owner. */\n        this.firstName = nativeVizResult.firstName;\n        /** The last name of the document owner. */\n        this.lastName = nativeVizResult.lastName;\n        /** The full name of the document owner. */\n        this.fullName = nativeVizResult.fullName;\n        /** The additional name information of the document owner. */\n        this.additionalNameInformation = nativeVizResult.additionalNameInformation;\n        /** The localized name of the document owner. */\n        this.localizedName = nativeVizResult.localizedName;\n        /** The address of the document owner. */\n        this.address = nativeVizResult.address;\n        /** The additional address information of the document owner. */\n        this.additionalAddressInformation = nativeVizResult.additionalAddressInformation;\n        /** The one more additional address information of the document owner. */\n        this.additionalOptionalAddressInformation = nativeVizResult.additionalOptionalAddressInformation;\n        /** The place of birth of the document owner. */\n        this.placeOfBirth = nativeVizResult.placeOfBirth;\n        /** The nationality of the documet owner. */\n        this.nationality = nativeVizResult.nationality;\n        /** The race of the document owner. */\n        this.race = nativeVizResult.race;\n        /** The religion of the document owner. */\n        this.religion = nativeVizResult.religion;\n        /** The profession of the document owner. */\n        this.profession = nativeVizResult.profession;\n        /** The marital status of the document owner. */\n        this.maritalStatus = nativeVizResult.maritalStatus;\n        /** The residential stauts of the document owner. */\n        this.residentialStatus = nativeVizResult.residentialStatus;\n        /** The employer of the document owner. */\n        this.employer = nativeVizResult.employer;\n        /** The sex of the document owner. */\n        this.sex = nativeVizResult.sex;\n        /** The date of birth of the document owner. */\n        this.dateOfBirth = nativeVizResult.dateOfBirth.Date != null ? new Date(nativeVizResult.dateOfBirth) : null;\n        /** The date of issue of the document. */\n        this.dateOfIssue = nativeVizResult.dateOfIssue.Date != null ? new Date(nativeVizResult.dateOfIssue) : null;\n        /** The date of expiry of the document. */\n        this.dateOfExpiry = nativeVizResult.dateOfExpiry.Date != null ? new Date(nativeVizResult.dateOfExpiry) : null;\n        /** The document number. */\n        this.documentNumber = nativeVizResult.documentNumber;\n        /** The personal identification number. */\n        this.personalIdNumber = nativeVizResult.personalIdNumber;\n        /** The additional number of the document. */\n        this.documentAdditionalNumber = nativeVizResult.documentAdditionalNumber;\n        /** The additional personal identification number. */\n        this.additionalPersonalIdNumber = nativeVizResult.additionalPersonalIdNumber;\n        /** The issuing authority of the document. */\n        this.issuingAuthority = nativeVizResult.issuingAuthority;\n        /** The driver license detailed info. */\n        this.driverLicenseDetailedInfo = nativeVizResult.driverLicenseDetailedInfo != null ? new DriverLicenseDetailedInfo(nativeVizResult.driverLicenseDetailedInfo) : null;\n        /** Flag that indicates if barcode result is empty */\n        this.empty = nativeVizResult.empty;\n        this.documentOptionalAdditionalNumber = nativeVizResult.documentOptionalAdditionalNumber;\n    }\n}\n/**\n * Represents data extracted from MRZ (Machine Readable Zone) of Machine Readable Travel Document (MRTD).\n */\nexport class MrzResult {\n    constructor(nativeMRZResult) {\n        /**\n         * Type of recognized document. It is always one of the values represented by BlinkIDScanner.MRTDDocumentType\n         */\n        this.documentType = nativeMRZResult.documentType;\n        /** The primary indentifier. If there is more than one component, they are separated with space. */\n        this.primaryId = nativeMRZResult.primaryId;\n        /** The secondary identifier. If there is more than one component, they are separated with space. */\n        this.secondaryId = nativeMRZResult.secondaryId;\n        /**\n         * Three-letter or two-letter code which indicate the issuing State. Three-letter codes are based\n         * on Aplha-3 codes for entities specified in ISO 3166-1, with extensions for certain States. Two-letter\n         * codes are based on Alpha-2 codes for entities specified in ISO 3166-1, with extensions for certain States.\n         */\n        this.issuer = nativeMRZResult.issuer;\n        /** Holder's date of birth */\n        this.dateOfBirth = nativeMRZResult.dateOfBirth != null ? new Date(nativeMRZResult.dateOfBirth) : null;\n        /**\n         * The document number. Document number contains up to 9 characters.\n         * Element does not exist on US Green Card. To see which document was scanned use documentType property.\n         */\n        this.documentNumber = nativeMRZResult.documentNumber;\n        /**\n         * The nationality of the holder represented by a three-letter or two-letter code. Three-letter\n         * codes are based on Alpha-3 codes for entities specified in ISO 3166-1, with extensions for certain\n         * States. Two-letter codes are based on Aplha-2 codes for entities specified in ISO 3166-1, with\n         * extensions for certain States.\n         */\n        this.nationality = nativeMRZResult.nationality;\n        /**\n         * The gender of the card holder. Gender is specified by use of the single initial, capital letter F for female,\n         * M for male or <code>&lt;</code> for unspecified.\n         */\n        this.gender = nativeMRZResult.gender;\n        /**\n         * The document code. Document code contains two characters. For MRTD the first character shall\n         * be A, C or I. The second character shall be discretion of the issuing State or organization except\n         * that V shall not be used, and `C` shall not be used after `A` except in the crew member certificate.\n         * On machine-readable passports (MRP) first character shall be `P` to designate an MRP. One additional\n         * letter may be used, at the discretion of the issuing State or organization, to designate a particular\n         * MRP. If the second character position is not used for this purpose, it shall be filled by the filter\n         * character <code>&lt;</code>.\n         */\n        this.documentCode = nativeMRZResult.documentCode;\n        /** The date of expiry */\n        this.dateOfExpiry = nativeMRZResult.dateOfExpiry != null ? new Date(nativeMRZResult.dateOfExpiry) : null;\n        /**\n         * The first optional data. Contains empty if not available.\n         * Element does not exist on US Green Card. To see which document was scanned use the documentType property.\n         */\n        this.opt1 = nativeMRZResult.opt1;\n        /**\n         * The second optional data. Contains empty if not available.\n         * Element does not exist on Passports and Visas. To see which document was scanned use the documentType property.\n         */\n        this.opt2 = nativeMRZResult.opt2;\n        /**\n         * The alien number. Contains empty if not available.\n         * Exists only on US Green Cards. To see which document was scanned use the documentType property.\n         */\n        this.alienNumber = nativeMRZResult.alienNumber;\n        /**\n         * The application receipt number. Contains empty if not available.\n         * Exists only on US Green Cards. To see which document was scanned use the documentType property.\n         */\n        this.applicationReceiptNumber = nativeMRZResult.applicationReceiptNumber;\n        /**\n         * The immigrant case number. Contains empty if not available.\n         * Exists only on US Green Cards. To see which document was scanned use the documentType property.\n         */\n        this.immigrantCaseNumber = nativeMRZResult.immigrantCaseNumber;\n        /**\n         * The entire Machine Readable Zone text from ID. This text is usually used for parsing\n         * other elements.\n         * NOTE: This is available only if OCR result was parsed successfully.\n         */\n        this.mrzText = nativeMRZResult.mrzText;\n        /** true if Machine Readable Zone has been parsed, false otherwise. */\n        this.mrzParsed = nativeMRZResult.mrzParsed;\n        /** true if all check digits inside MRZ are correct, false otherwise. */\n        this.mrzVerified = nativeMRZResult.mrzVerified;\n        /**\n        * Sanitized field opt1\n        */\n        this.sanitizedOpt1 = nativeMRZResult.sanitizedOpt1;\n        /**\n        * Sanitized field opt2\n        */\n        this.sanitizedOpt2 = nativeMRZResult.sanitizedOpt2;\n        /**\n        * Sanitized field nationality\n        */\n        this.sanitizedNationality = nativeMRZResult.sanitizedNationality;\n        /**\n        * Sanitized field issuer\n        */\n        this.sanitizedIssuer = nativeMRZResult.sanitizedIssuer;\n        /**\n        * Sanitized document code\n        */\n        this.sanitizedDocumentCode = nativeMRZResult.sanitizedDocumentCode;\n        /**\n        * Sanitized document number\n        */\n        this.sanitizedDocumentNumber = nativeMRZResult.sanitizedDocumentNumber;\n        /**\n         * The current age of the document owner in years. It is calculated difference\n         * between now and date of birth. Now is current time on the device.\n         * @return current age of the document owner in years or -1 if date of birth is unknown.\n        */\n        this.age = nativeMRZResult.age;\n    }\n}\n/** Defines the dependents information */\nexport class DependentInfo {\n    constructor(nativeDependentInfo) {\n        this.dateOfBirth = nativeDependentInfo.dateOfBirth;\n        this.sex = nativeDependentInfo.sex;\n        this.documentNumber = nativeDependentInfo.documentNumber;\n        this.fullName = nativeDependentInfo.fullName;\n        this.empty = nativeDependentInfo.empty;\n    }\n}\n/**\n * RecognitionModeFilter is used to enable/disable recognition of specific document groups.\n * Setting is taken into account only if the right for that document is purchased.\n */\nexport class RecognitionModeFilter {\n    constructor() {\n        /** Enable scanning of MRZ IDs. Setting is taken into account only if the mrz_id right is purchased. */\n        this.enableMrzId = true;\n        /** Enable scanning of visa MRZ. Setting is taken into account only if the visa right is purchased. */\n        this.enableMrzVisa = true;\n        /** Enable scanning of Passport MRZ. Setting is taken into account only if the passport right is purchased. */\n        this.enableMrzPassport = true;\n        /** Enable scanning of Photo ID. Setting is taken into account only if the photo_id right is purchased. */\n        this.enablePhotoId = true;\n        /** Enable scanning of barcode IDs. Setting is taken into account only if the barcode right to scan that barcode is purchased. */\n        this.enableBarcodeId = true;\n        /** Enable full document recognition. Setting is taken into account only if the document right to scan that document is purchased. */\n        this.enableFullDocumentRecognition = true;\n    }\n}\n/**\n * ClassAnonymizationSettings is used to anonymize specific documents and fields.\n * It can be modified with countries, regions, document types, document fields and the partial document number anonymization.\n * See Country, Region, Type, FieldType and DocumentNumberAnonymizationSettings objects to get more information which settings can be anonymized.\n * Setting is taken into account if AnonymizationMode is set to ImageOnly,ResultFieldsOnly or FullResult.\n */\nexport class ClassAnonymizationSettings {\n}\n/**\n * DocumentNumberAnonymizationSettings is implemented with ClassAnonymizationSettings class.\n * It can partially anonymize the document number from the scanned document.\n */\nexport class DocumentNumberAnonymizationSettings {\n    constructor() {\n        this.prefixDigitsVisible = 0;\n        this.suffixDigitsVisible = 0;\n    }\n}\n/**\n * CustomClassRules represent custom rules of mandatory fields for each class of a document.\n * Setting the fields in the CustomClassRules will make them mandatory.\n * If CustomClassRules are not set, all of the default fields are mandatory.\n */\nexport class CustomClassRules {\n    constructor() {\n        this.detailedFieldTypes = [];\n    }\n}\n/**\n * DetailedFieldType represents a detailed field type used for custom mandatory fields.\n * Used with CustomClassRules. A field type (see FieldType for all fields) along with Alphabet type (see AlphabetType for all alphabets) is required.\n */\nexport class DetailedFieldType {\n}\n/**\n * ClassFilter represents the document filter used to determine which documents will be processed.\n * Document information (Country, Region, Type) is evaluated with the content set in the filter, and their inclusion or exclusion depends on the defined rules.\n *\n * The recognition results of the excluded documents will not be returned.\n * If using the standard BlinkID Overlay, an alert will be displayed that the document will not be scanned.\n *\n * By default, the ClassFilter is turned off, and all documents will be included.\n */\nexport class ClassFilter {\n}\n/**\n * FilteredClass represents the document class that is added in the ClassFilter.\n * By defining the rules of the ClassFilter, the entered class can be included or excluded from processing.\n *\n * See the ClassFilter class for more detailed information.\n */\nexport class FilteredClass {\n}\n/**\n * Extension factors relative to corresponding dimension of the full image. For example,\n * upFactor and downFactor define extensions relative to image height, e.g.\n * when upFactor is 0.5, upper image boundary will be extended for half of image's full\n * height.\n */\nexport class ImageExtensionFactors {\n    constructor() {\n        /** image extension factor relative to full image height in UP direction. */\n        this.upFactor = 0.0;\n        /** image extension factor relative to full image height in RIGHT direction. */\n        this.rightFactor = 0.0;\n        /** image extension factor relative to full image height in DOWN direction. */\n        this.downFactor = 0.0;\n        /** image extension factor relative to full image height in LEFT direction. */\n        this.leftFactor = 0.0;\n    }\n}\n/** Result of the data matching algorithm for scanned parts/sides of the document. */\nexport var DataMatchState;\n(function (DataMatchState) {\n    /** Data matching has not been performed. */\n    DataMatchState[DataMatchState[\"NotPerformed\"] = 0] = \"NotPerformed\";\n    /** Data does not match. */\n    DataMatchState[DataMatchState[\"Failed\"] = 1] = \"Failed\";\n    /** Data match. */\n    DataMatchState[DataMatchState[\"Success\"] = 2] = \"Success\";\n})(DataMatchState || (DataMatchState = {}));\n/**\n * Defines possible Android device camera video resolution preset\n */\nexport var AndroidCameraResolutionPreset;\n(function (AndroidCameraResolutionPreset) {\n    /** Will choose camera video resolution which is best for current device */\n    AndroidCameraResolutionPreset[AndroidCameraResolutionPreset[\"PresetDefault\"] = 0] = \"PresetDefault\";\n    /** Attempts to choose camera video resolution as closely as 480p */\n    AndroidCameraResolutionPreset[AndroidCameraResolutionPreset[\"Preset480p\"] = 1] = \"Preset480p\";\n    /** Attempts to choose camera video resolution as closely as 720p */\n    AndroidCameraResolutionPreset[AndroidCameraResolutionPreset[\"Preset720p\"] = 2] = \"Preset720p\";\n    /** Attempts to choose camera video resolution as closely as 1080p */\n    AndroidCameraResolutionPreset[AndroidCameraResolutionPreset[\"Preset1080p\"] = 3] = \"Preset1080p\";\n    /** Attempts to choose camera video resolution as closely as 2160p */\n    AndroidCameraResolutionPreset[AndroidCameraResolutionPreset[\"Preset2160p\"] = 4] = \"Preset2160p\";\n    /** Will choose max available camera video resolution */\n    AndroidCameraResolutionPreset[AndroidCameraResolutionPreset[\"PresetMaxAvailable\"] = 5] = \"PresetMaxAvailable\";\n})(AndroidCameraResolutionPreset || (AndroidCameraResolutionPreset = {}));\n/**\n * Defines possible iOS device camera video resolution preset\n */\nexport var iOSCameraResolutionPreset;\n(function (iOSCameraResolutionPreset) {\n    /** 480p video will always be used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"Preset480p\"] = 0] = \"Preset480p\";\n    /** 720p video will always be used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"Preset720p\"] = 1] = \"Preset720p\";\n    /** 1080p video will always be used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"Preset1080p\"] = 2] = \"Preset1080p\";\n    /** 4K video will always be used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"Preset4K\"] = 3] = \"Preset4K\";\n    /** The library will calculate optimal resolution based on the use case and device used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"PresetOptimal\"] = 4] = \"PresetOptimal\";\n    /** Device's maximal video resolution will be used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"PresetMax\"] = 5] = \"PresetMax\";\n    /** Device's photo preview resolution will be used */\n    iOSCameraResolutionPreset[iOSCameraResolutionPreset[\"PresetPhoto\"] = 6] = \"PresetPhoto\";\n})(iOSCameraResolutionPreset || (iOSCameraResolutionPreset = {}));\n//# sourceMappingURL=types.js.map","/**\n * Base class for all recognizers.\n * Recognizer is object that performs recognition of image\n * and updates its result with data extracted from the image.\n */\nexport class Recognizer {\n    constructor(recognizerType) {\n        this.recognizerType = recognizerType;\n    }\n}\n/**\n * Base class for all recognizer's result objects.\n * Recoginzer result contains data extracted from the image.\n */\nexport class RecognizerResult {\n    constructor(resultState) {\n        this.resultState = resultState;\n    }\n}\n/**\n * Represents a collection of recognizer objects.\n * @param recognizerArray Array of recognizer objects that will be used for recognition. Must not be empty!\n */\nexport class RecognizerCollection {\n    constructor(recognizerArray) {\n        this.recognizerArray = recognizerArray;\n        this.allowMultipleResults = false;\n        this.milisecondsBeforeTimeout = 0;\n    }\n}\n//# sourceMappingURL=recognizer.js.map","/** Base class for all overlay settings objects */\nexport class OverlaySettings {\n    constructor(overlaySettingsType) {\n        this.overlaySettingsType = overlaySettingsType;\n        this.useFrontCamera = false;\n        this.enableBeep = false;\n        this.language = null;\n        this.country = null;\n    }\n}\n//# sourceMappingURL=overlaySettings.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\n/**\n * Result object for SuccessFrameGrabberRecognizer.\n */\nexport class SuccessFrameGrabberRecognizerResult extends RecognizerResult {\n    constructor(nativeResult, slaveRecognizerResult) {\n        super(nativeResult.resultState);\n        this.successFrame = nativeResult.successFrame;\n        this.slaveRecognizerResult = slaveRecognizerResult;\n    }\n}\n/**\n * SuccessFrameGrabberRecognizer can wrap any other recognizer and obtain camera\n * frame on which the other recognizer finished recognition.\n */\nexport class SuccessFrameGrabberRecognizer extends Recognizer {\n    constructor(slaveRecognizer) {\n        super('SuccessFrameGrabberRecognizer');\n        this.slaveRecognizer = slaveRecognizer;\n        if (this.slaveRecognizer instanceof Recognizer == false) {\n            throw new Error(\"Slave recognizer must be Recognizer!\");\n        }\n        this.createResultFromNative = (nativeResult) => { return new SuccessFrameGrabberRecognizerResult(nativeResult, this.slaveRecognizer.createResultFromNative(nativeResult.slaveRecognizerResult)); };\n    }\n}\n//# sourceMappingURL=successFrameGrabberRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { Date, MrzResult, RecognitionModeFilter, ClassFilter, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for BlinkIdMultiSideRecognizer.\n */\nexport class BlinkIdMultiSideRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * The additional address information of the document owner.\n         */\n        this.additionalAddressInformation = nativeResult.additionalAddressInformation;\n        /**\n         * The additional name information of the document owner.\n         */\n        this.additionalNameInformation = nativeResult.additionalNameInformation;\n        /**\n         * The one more additional address information of the document owner.\n         */\n        this.additionalOptionalAddressInformation = nativeResult.additionalOptionalAddressInformation;\n        /**\n         * The address of the document owner.\n         */\n        this.address = nativeResult.address;\n        /**\n         * The current age of the document owner in years. It is calculated difference\n         * between now and date of birth. Now is current time on the device.\n         * @return current age of the document owner in years or -1 if date of birth is unknown.\n         */\n        this.age = nativeResult.age;\n        /**\n         * Additional info on processing of the back side.\n         */\n        this.backAdditionalProcessingInfo = nativeResult.backAdditionalProcessingInfo;\n        /**\n         * The back raw camera frame.\n         */\n        this.backCameraFrame = nativeResult.backCameraFrame;\n        /**\n         * Defines possible color and moire statuses determined from scanned back image.\n         */\n        this.backImageAnalysisResult = nativeResult.backImageAnalysisResult;\n        /**\n         * Status of the last back side recognition process.\n         */\n        this.backProcessingStatus = nativeResult.backProcessingStatus;\n        /**\n         * Defines the data extracted from the back side visual inspection zone.\n         */\n        this.backVizResult = nativeResult.backVizResult;\n        /**\n         * The barcode raw camera frame.\n         */\n        this.barcodeCameraFrame = nativeResult.barcodeCameraFrame;\n        /**\n         * Defines the data extracted from the barcode.\n         */\n        this.barcodeResult = nativeResult.barcodeResult;\n        /**\n         * This member indicates whether the barcode scanning step was utilized during the\n         * process.\n         * If the barcode scanning step was executed: a parsable barcode image will be stored in the\n         * `barcodeCameraFrame`.\n         * If the barcode scanning step was not executed: a parsable barcode image will be stored in the\n         * `fullDocumentImage`.\n         */\n        this.barcodeStepUsed = nativeResult.barcodeStepUsed;\n        /**\n         * The blood type of the document owner.\n         */\n        this.bloodType = nativeResult.bloodType;\n        /**\n         * The classification information.\n         */\n        this.classInfo = nativeResult.classInfo;\n        /**\n         * Detailed info on data match.\n         */\n        this.dataMatch = nativeResult.dataMatch;\n        /**\n         * The date of birth of the document owner.\n         */\n        this.dateOfBirth = nativeResult.dateOfBirth != null ? new Date(nativeResult.dateOfBirth) : null;\n        /**\n         * The date of expiry of the document.\n         */\n        this.dateOfExpiry = nativeResult.dateOfExpiry != null ? new Date(nativeResult.dateOfExpiry) : null;\n        /**\n         * Determines if date of expiry is permanent.\n         */\n        this.dateOfExpiryPermanent = nativeResult.dateOfExpiryPermanent;\n        /**\n         * The date of issue of the document.\n         */\n        this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null;\n        /**\n         * The additional number of the document.\n         */\n        this.documentAdditionalNumber = nativeResult.documentAdditionalNumber;\n        /**\n         * Returns DataMatchStateSuccess if data from scanned parts/sides of the document match,\n         * DataMatchStateFailed otherwise. For example if date of expiry is scanned from the front and back side\n         * of the document and values do not match, this method will return DataMatchStateFailed. Result will\n         * be DataMatchStateSuccess only if scanned values for all fields that are compared are the same.\n         */\n        this.documentDataMatch = nativeResult.documentDataMatch;\n        /**\n         * The document number.\n         */\n        this.documentNumber = nativeResult.documentNumber;\n        /**\n         * The one more additional number of the document.\n         */\n        this.documentOptionalAdditionalNumber = nativeResult.documentOptionalAdditionalNumber;\n        /**\n         * The transcription of the document subtype.\n         */\n        this.documentSubtype = nativeResult.documentSubtype;\n        /**\n         * The driver license detailed info.\n         */\n        this.driverLicenseDetailedInfo = nativeResult.driverLicenseDetailedInfo;\n        /**\n         * The manufacturing year..\n         */\n        this.eligibilityCategory = nativeResult.eligibilityCategory;\n        /**\n         * The employer of the document owner.\n         */\n        this.employer = nativeResult.employer;\n        /**\n         * Checks whether the document has expired or not by comparing the current\n         * time on the device with the date of expiry.\n         *\n         * @return true if the document has expired, false in following cases:\n         * document does not expire (date of expiry is permanent)\n         * date of expiry has passed\n         * date of expiry is unknown and it is not permanent\n         */\n        this.expired = nativeResult.expired;\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * face image location from the document if enabled with returnFaceImage property.\n         */\n        this.faceImageLocation = nativeResult.faceImageLocation;\n        /**\n         * side of document that face image is located on if enabled with returnFaceImage property.\n         */\n        this.faceImageSide = nativeResult.faceImageSide;\n        /**\n         * The father's name of the document owner.\n         */\n        this.fathersName = nativeResult.fathersName;\n        /**\n         * The first name of the document owner.\n         */\n        this.firstName = nativeResult.firstName;\n        /**\n         * Additional info on processing of the front side.\n         */\n        this.frontAdditionalProcessingInfo = nativeResult.frontAdditionalProcessingInfo;\n        /**\n         * The front raw camera frame.\n         */\n        this.frontCameraFrame = nativeResult.frontCameraFrame;\n        /**\n         * Defines possible color and moire statuses determined from scanned front image.\n         */\n        this.frontImageAnalysisResult = nativeResult.frontImageAnalysisResult;\n        /**\n         * Status of the last front side recognition process.\n         */\n        this.frontProcessingStatus = nativeResult.frontProcessingStatus;\n        /**\n         * Defines the data extracted from the front side visual inspection zone.\n         */\n        this.frontVizResult = nativeResult.frontVizResult;\n        /**\n         * back side image of the document if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentBackImage = nativeResult.fullDocumentBackImage;\n        /**\n         * front side image of the document if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage;\n        /**\n         * The full name of the document owner.\n         */\n        this.fullName = nativeResult.fullName;\n        /**\n         * The issuing authority of the document.\n         */\n        this.issuingAuthority = nativeResult.issuingAuthority;\n        /**\n         * The last name of the document owner.\n         */\n        this.lastName = nativeResult.lastName;\n        /**\n         * The localized name of the document owner.\n         */\n        this.localizedName = nativeResult.localizedName;\n        /**\n         * The manufacturing year.\n         */\n        this.manufacturingYear = nativeResult.manufacturingYear;\n        /**\n         * The marital status of the document owner.\n         */\n        this.maritalStatus = nativeResult.maritalStatus;\n        /**\n         * The mother's name of the document owner.\n         */\n        this.mothersName = nativeResult.mothersName;\n        /**\n         * The data extracted from the machine readable zone\n         */\n        this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;\n        /**\n         * The nationality of the documet owner.\n         */\n        this.nationality = nativeResult.nationality;\n        /**\n         * The personal identification number.\n         */\n        this.personalIdNumber = nativeResult.personalIdNumber;\n        /**\n         * The place of birth of the document owner.\n         */\n        this.placeOfBirth = nativeResult.placeOfBirth;\n        /**\n         * Defines status of the last recognition process.\n         */\n        this.processingStatus = nativeResult.processingStatus;\n        /**\n         * The profession of the document owner.\n         */\n        this.profession = nativeResult.profession;\n        /**\n         * The race of the document owner.\n         */\n        this.race = nativeResult.race;\n        /**\n         * Recognition mode used to scan current document.\n         */\n        this.recognitionMode = nativeResult.recognitionMode;\n        /**\n         * The religion of the document owner.\n         */\n        this.religion = nativeResult.religion;\n        /**\n         * The remarks on the residence permit.\n         */\n        this.remarks = nativeResult.remarks;\n        /**\n         * The residence permit type.\n         */\n        this.residencePermitType = nativeResult.residencePermitType;\n        /**\n         * The residential stauts of the document owner.\n         */\n        this.residentialStatus = nativeResult.residentialStatus;\n        /**\n         * Returns true if recognizer has finished scanning first side and is now scanning back side,\n         * false if it's still scanning first side.\n         */\n        this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;\n        /**\n         * The sex of the document owner.\n         */\n        this.sex = nativeResult.sex;\n        /**\n         * image of the signature if enabled with returnSignatureImage property.\n         */\n        this.signatureImage = nativeResult.signatureImage;\n        /**\n         * The specific document validity.\n         */\n        this.specificDocumentValidity = nativeResult.specificDocumentValidity;\n        /**\n         * The sponsor of the document owner.\n         */\n        this.sponsor = nativeResult.sponsor;\n        /**\n         * The vehicle owner.\n         */\n        this.vehicleOwner = nativeResult.vehicleOwner;\n        /**\n         * The eligibility category.\n         */\n        this.vehicleType = nativeResult.vehicleType;\n        /**\n         * The visa type.\n         */\n        this.visaType = nativeResult.visaType;\n        /**\n         * The dependents info.\n         */\n        this.dependentsInfo = nativeResult.dependentsInfo;\n    }\n}\n/**\n * Recognizer which can scan front and back side of the United States driver license.\n */\nexport class BlinkIdMultiSideRecognizer extends Recognizer {\n    constructor() {\n        super('BlinkIdMultiSideRecognizer');\n        /**\n         * Additional anonymization settings.\n         */\n        this.additionalAnonymization = [];\n        /**\n         * Allows barcode recognition to proceed even if the initial extraction fails.\n         * This only works for still images - video feeds will ignore this setting.\n         * If the barcode recognition is successful, the recognizer will still end in a valid state.\n         * This setting is applicable only to photo frames. For multi-side recognizers, it is permitted only for the back side.\n         *\n         *\n         */\n        this.allowBarcodeScanOnly = false;\n        /**\n         * Proceed with scanning the back side even if the front side result is uncertain.\n         * This only works for still images - video feeds will ignore this setting.\n         *\n         *\n         */\n        this.allowUncertainFrontSideScan = false;\n        /**\n         * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed\n         *\n         *\n         */\n        this.allowUnparsedMrzResults = false;\n        /**\n         * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed\n         * Unverified MRZ is parsed, but check digits are incorrect\n         *\n         *\n         */\n        this.allowUnverifiedMrzResults = true;\n        /**\n         * Defines whether sensitive data should be removed from images, result fields or both.\n         * The setting only applies to certain documents\n         *\n         *\n         */\n        this.anonymizationMode = 3 /* FullResult */;\n        /**\n         * Strictness level for blur detection.\n         *\n         *\n         */\n        this.blurStrictnessLevel = 1 /* Normal */;\n        /**\n         * Sets the ClassFilter that can determine whether the document should be processed or filtered out.\n         */\n        this.classFilter = new ClassFilter();\n        /**\n         * Enables the aggregation of data from multiple frames.\n         * Disabling this setting will yield higher-quality captured images, but it may slow down the scanning process due to the additional effort required to find the optimal frame.\n         * Enabling this setting will simplify the extraction process, but the extracted data will be aggregated from multiple frames instead of being sourced from a single frame.\n         *\n         *\n         */\n        this.combineFrameResults = true;\n        /**\n         * Get custom class rules.\n         */\n        this.customClassRules = [];\n        /**\n         * Skip processing of the blurred frames.\n         *\n         *\n         */\n        this.enableBlurFilter = true;\n        /**\n         * Skip processing of the glared frames.\n         *\n         *\n         */\n        this.enableGlareFilter = true;\n        /**\n         * Property for setting DPI for face images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.faceImageDpi = 250;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Strictness level for glare detection.\n         *\n         *\n         */\n        this.glareStrictnessLevel = 1 /* Normal */;\n        /**\n         * Configure the number of characters per field that are allowed to be inconsistent in data match.\n         *\n         *\n         */\n        this.maxAllowedMismatchesPerField = 0;\n        /**\n         * Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case\n         * padding edge and image edge are the same.\n         * Recommended value is 0.02f.\n         *\n         *\n         */\n        this.paddingEdge = 0.0;\n        /**\n         * Enable or disable recognition of specific document groups supported by the current license.\n         *\n         *\n         */\n        this.recognitionModeFilter = new RecognitionModeFilter();\n        /**\n         * Sets whether face image from ID card should be extracted\n         *\n         *\n         */\n        this.returnFaceImage = false;\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        /**\n         * Sets whether signature image from ID card should be extracted.\n         *\n         *\n         */\n        this.returnSignatureImage = false;\n        /**\n         * Configure the recognizer to save the raw camera frames.\n         * This significantly increases memory consumption.\n         *\n         *\n         */\n        this.saveCameraFrames = false;\n        /**\n         * Configure the recognizer to only work on already cropped and dewarped images.\n         * This only works for still images - video feeds will ignore this setting.\n         *\n         *\n         */\n        this.scanCroppedDocumentImage = false;\n        /**\n         * Scan only the data page ( page containing MRZ ) of the passport.\n         * If set to `false`, it will be required to scan the second page of certain passports.\n         *\n         *\n         */\n        this.scanPassportDataPageOnly = true;\n        /**\n         * Property for setting DPI for signature images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.signatureImageDpi = 250;\n        /**\n         * Skip back side capture and processing step when back side of the document is not supported\n         *\n         *\n         */\n        this.skipUnsupportedBack = false;\n        /**\n         * Defines whether result characters validatation is performed.\n         * If a result member contains invalid character, the result state cannot be valid\n         *\n         *\n         */\n        this.validateResultCharacters = true;\n        this.createResultFromNative = (nativeResult) => { return new BlinkIdMultiSideRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=blinkIdMultiSideRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { Date, MrzResult, RecognitionModeFilter, ClassFilter, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for BlinkIdSingleSideRecognizer.\n */\nexport class BlinkIdSingleSideRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * The additional address information of the document owner.\n         */\n        this.additionalAddressInformation = nativeResult.additionalAddressInformation;\n        /**\n         * The additional name information of the document owner.\n         */\n        this.additionalNameInformation = nativeResult.additionalNameInformation;\n        /**\n         * The one more additional address information of the document owner.\n         */\n        this.additionalOptionalAddressInformation = nativeResult.additionalOptionalAddressInformation;\n        /**\n         * Additional info on processing.\n         */\n        this.additionalProcessingInfo = nativeResult.additionalProcessingInfo;\n        /**\n         * The address of the document owner.\n         */\n        this.address = nativeResult.address;\n        /**\n         * The current age of the document owner in years. It is calculated difference\n         * between now and date of birth. Now is current time on the device.\n         * @return current age of the document owner in years or -1 if date of birth is unknown.\n         */\n        this.age = nativeResult.age;\n        /**\n         * The barcode raw camera frame.\n         */\n        this.barcodeCameraFrame = nativeResult.barcodeCameraFrame;\n        /**\n         * Defines the data extracted from the barcode.\n         */\n        this.barcodeResult = nativeResult.barcodeResult;\n        /**\n         * This member indicates whether the barcode scanning step was utilized during the\n         * process.\n         * If the barcode scanning step was executed: a parsable barcode image will be stored in the\n         * `barcodeCameraFrame`.\n         * If the barcode scanning step was not executed: a parsable barcode image will be stored in the\n         * `fullDocumentImage`.\n         */\n        this.barcodeStepUsed = nativeResult.barcodeStepUsed;\n        /**\n         * The blood type of the document owner.\n         */\n        this.bloodType = nativeResult.bloodType;\n        /**\n         * The raw camera frame.\n         */\n        this.cameraFrame = nativeResult.cameraFrame;\n        /**\n         * The classification information.\n         */\n        this.classInfo = nativeResult.classInfo;\n        /**\n         * The date of birth of the document owner.\n         */\n        this.dateOfBirth = nativeResult.dateOfBirth != null ? new Date(nativeResult.dateOfBirth) : null;\n        /**\n         * The date of expiry of the document.\n         */\n        this.dateOfExpiry = nativeResult.dateOfExpiry != null ? new Date(nativeResult.dateOfExpiry) : null;\n        /**\n         * Determines if date of expiry is permanent.\n         */\n        this.dateOfExpiryPermanent = nativeResult.dateOfExpiryPermanent;\n        /**\n         * The date of issue of the document.\n         */\n        this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null;\n        /**\n         * The additional number of the document.\n         */\n        this.documentAdditionalNumber = nativeResult.documentAdditionalNumber;\n        /**\n         * The document number.\n         */\n        this.documentNumber = nativeResult.documentNumber;\n        /**\n         * The one more additional number of the document.\n         */\n        this.documentOptionalAdditionalNumber = nativeResult.documentOptionalAdditionalNumber;\n        /**\n         * The transcription of the document subtype.\n         */\n        this.documentSubtype = nativeResult.documentSubtype;\n        /**\n         * The driver license detailed info.\n         */\n        this.driverLicenseDetailedInfo = nativeResult.driverLicenseDetailedInfo;\n        /**\n         * The manufacturing year..\n         */\n        this.eligibilityCategory = nativeResult.eligibilityCategory;\n        /**\n         * The employer of the document owner.\n         */\n        this.employer = nativeResult.employer;\n        /**\n         * Checks whether the document has expired or not by comparing the current\n         * time on the device with the date of expiry.\n         *\n         * @return true if the document has expired, false in following cases:\n         * document does not expire (date of expiry is permanent)\n         * date of expiry has passed\n         * date of expiry is unknown and it is not permanent\n         */\n        this.expired = nativeResult.expired;\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * face image location from the document if enabled with returnFaceImage property.\n         */\n        this.faceImageLocation = nativeResult.faceImageLocation;\n        /**\n         * side of document that face image is located on if enabled with returnFaceImage property.\n         */\n        this.faceImageSide = nativeResult.faceImageSide;\n        /**\n         * The father's name of the document owner.\n         */\n        this.fathersName = nativeResult.fathersName;\n        /**\n         * The first name of the document owner.\n         */\n        this.firstName = nativeResult.firstName;\n        /**\n         * full document image if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentImage = nativeResult.fullDocumentImage;\n        /**\n         * The full name of the document owner.\n         */\n        this.fullName = nativeResult.fullName;\n        /**\n         * Defines possible color and moire statuses determined from scanned image.\n         */\n        this.imageAnalysisResult = nativeResult.imageAnalysisResult;\n        /**\n         * The issuing authority of the document.\n         */\n        this.issuingAuthority = nativeResult.issuingAuthority;\n        /**\n         * The last name of the document owner.\n         */\n        this.lastName = nativeResult.lastName;\n        /**\n         * The localized name of the document owner.\n         */\n        this.localizedName = nativeResult.localizedName;\n        /**\n         * The manufacturing year.\n         */\n        this.manufacturingYear = nativeResult.manufacturingYear;\n        /**\n         * The marital status of the document owner.\n         */\n        this.maritalStatus = nativeResult.maritalStatus;\n        /**\n         * The mother's name of the document owner.\n         */\n        this.mothersName = nativeResult.mothersName;\n        /**\n         * The data extracted from the machine readable zone\n         */\n        this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;\n        /**\n         * The nationality of the documet owner.\n         */\n        this.nationality = nativeResult.nationality;\n        /**\n         * The personal identification number.\n         */\n        this.personalIdNumber = nativeResult.personalIdNumber;\n        /**\n         * The place of birth of the document owner.\n         */\n        this.placeOfBirth = nativeResult.placeOfBirth;\n        /**\n         * Defines status of the last recognition process.\n         */\n        this.processingStatus = nativeResult.processingStatus;\n        /**\n         * The profession of the document owner.\n         */\n        this.profession = nativeResult.profession;\n        /**\n         * The race of the document owner.\n         */\n        this.race = nativeResult.race;\n        /**\n         * Recognition mode used to scan current document.\n         */\n        this.recognitionMode = nativeResult.recognitionMode;\n        /**\n         * The religion of the document owner.\n         */\n        this.religion = nativeResult.religion;\n        /**\n         * The remarks on the residence permit.\n         */\n        this.remarks = nativeResult.remarks;\n        /**\n         * The residence permit type.\n         */\n        this.residencePermitType = nativeResult.residencePermitType;\n        /**\n         * The residential stauts of the document owner.\n         */\n        this.residentialStatus = nativeResult.residentialStatus;\n        /**\n         * The sex of the document owner.\n         */\n        this.sex = nativeResult.sex;\n        /**\n         * image of the signature if enabled with returnSignatureImage property.\n         */\n        this.signatureImage = nativeResult.signatureImage;\n        /**\n         * The specific document validity.\n         */\n        this.specificDocumentValidity = nativeResult.specificDocumentValidity;\n        /**\n         * The sponsor of the document owner.\n         */\n        this.sponsor = nativeResult.sponsor;\n        /**\n         * The vehicle owner.\n         */\n        this.vehicleOwner = nativeResult.vehicleOwner;\n        /**\n         * The eligibility category.\n         */\n        this.vehicleType = nativeResult.vehicleType;\n        /**\n         * The visa type.\n         */\n        this.visaType = nativeResult.visaType;\n        /**\n         * Defines the data extracted from the visual inspection zone\n         */\n        this.vizResult = nativeResult.vizResult;\n        /**\n         * The dependents info.\n         */\n        this.dependentsInfo = nativeResult.dependentsInfo;\n    }\n}\n/**\n * The Blink ID Recognizer is used for scanning Blink ID.\n */\nexport class BlinkIdSingleSideRecognizer extends Recognizer {\n    constructor() {\n        super('BlinkIdSingleSideRecognizer');\n        /**\n         * Additional anonymization settings.\n         */\n        this.additionalAnonymization = [];\n        /**\n         * Allows barcode recognition to proceed even if the initial extraction fails.\n         * This only works for still images - video feeds will ignore this setting.\n         * If the barcode recognition is successful, the recognizer will still end in a valid state.\n         * This setting is applicable only to photo frames. For multi-side recognizers, it is permitted only for the back side.\n         *\n         *\n         */\n        this.allowBarcodeScanOnly = false;\n        /**\n         * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed\n         *\n         *\n         */\n        this.allowUnparsedMrzResults = false;\n        /**\n         * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed\n         * Unverified MRZ is parsed, but check digits are incorrect\n         *\n         *\n         */\n        this.allowUnverifiedMrzResults = true;\n        /**\n         * Defines whether sensitive data should be removed from images, result fields or both.\n         * The setting only applies to certain documents\n         *\n         *\n         */\n        this.anonymizationMode = 3 /* FullResult */;\n        /**\n         * Strictness level for blur detection.\n         *\n         *\n         */\n        this.blurStrictnessLevel = 1 /* Normal */;\n        /**\n         * Sets the ClassFilter that can determine whether the document should be processed or filtered out.\n         */\n        this.classFilter = new ClassFilter();\n        /**\n         * Enables the aggregation of data from multiple frames.\n         * Disabling this setting will yield higher-quality captured images, but it may slow down the scanning process due to the additional effort required to find the optimal frame.\n         * Enabling this setting will simplify the extraction process, but the extracted data will be aggregated from multiple frames instead of being sourced from a single frame.\n         *\n         *\n         */\n        this.combineFrameResults = true;\n        /**\n         * Get custom class rules.\n         */\n        this.customClassRules = [];\n        /**\n         * Skip processing of the blurred frames.\n         *\n         *\n         */\n        this.enableBlurFilter = true;\n        /**\n         * Skip processing of the glared frames.\n         *\n         *\n         */\n        this.enableGlareFilter = true;\n        /**\n         * Property for setting DPI for face images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.faceImageDpi = 250;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Strictness level for glare detection.\n         *\n         *\n         */\n        this.glareStrictnessLevel = 1 /* Normal */;\n        /**\n         * Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case\n         * padding edge and image edge are the same.\n         * Recommended value is 0.02f.\n         *\n         *\n         */\n        this.paddingEdge = 0.0;\n        /**\n         * Enable or disable recognition of specific document groups supported by the current license.\n         *\n         *\n         */\n        this.recognitionModeFilter = new RecognitionModeFilter();\n        /**\n         * Sets whether face image from ID card should be extracted\n         *\n         *\n         */\n        this.returnFaceImage = false;\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        /**\n         * Sets whether signature image from ID card should be extracted.\n         *\n         *\n         */\n        this.returnSignatureImage = false;\n        /**\n         * Configure the recognizer to save the raw camera frames.\n         * This significantly increases memory consumption.\n         *\n         *\n         */\n        this.saveCameraFrames = false;\n        /**\n         * Configure the recognizer to only work on already cropped and dewarped images.\n         * This only works for still images - video feeds will ignore this setting.\n         *\n         *\n         */\n        this.scanCroppedDocumentImage = false;\n        /**\n         * Property for setting DPI for signature images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.signatureImageDpi = 250;\n        /**\n         * Defines whether result characters validatation is performed.\n         * If a result member contains invalid character, the result state cannot be valid\n         *\n         *\n         */\n        this.validateResultCharacters = true;\n        this.createResultFromNative = (nativeResult) => { return new BlinkIdSingleSideRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=blinkIdSingleSideRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { Quadrilateral, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for DocumentFaceRecognizer.\n */\nexport class DocumentFaceRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * Quadrangle represeting corner points of the document within the input image.\n         */\n        this.documentLocation = nativeResult.documentLocation != null ? new Quadrilateral(nativeResult.documentLocation) : null;\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * Quadrangle represeting corner points of the face image within the input image.\n         */\n        this.faceLocation = nativeResult.faceLocation != null ? new Quadrilateral(nativeResult.faceLocation) : null;\n        /**\n         * full document image if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentImage = nativeResult.fullDocumentImage;\n    }\n}\n/**\n * Class for configuring Document Face Recognizer Recognizer.\n *\n * Document Face Recognizer recognizer is used for scanning documents containing face images.\n */\nexport class DocumentFaceRecognizer extends Recognizer {\n    constructor() {\n        super('DocumentFaceRecognizer');\n        /**\n         * Type of docment this recognizer will scan.\n         *\n         *\n         */\n        this.detectorType = 0 /* TD1 */;\n        /**\n         * Property for setting DPI for face images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.faceImageDpi = 250;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Defines how many times the same document should be detected before the detector\n         * returns this document as a result of the deteciton\n         *\n         * Higher number means more reliable detection, but slower processing\n         *\n         *\n         */\n        this.numStableDetectionsThreshold = 6;\n        /**\n         * Sets whether face image from ID card should be extracted\n         *\n         *\n         */\n        this.returnFaceImage = false;\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        this.createResultFromNative = (nativeResult) => { return new DocumentFaceRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=documentFaceRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { Date, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for IdBarcodeRecognizer.\n */\nexport class IdBarcodeRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * The additional name information of the document owner.\n         */\n        this.additionalNameInformation = nativeResult.additionalNameInformation;\n        /**\n         * The address of the document owner.\n         */\n        this.address = nativeResult.address;\n        /**\n         * The current age of the document owner in years. It is calculated difference\n         * between now and date of birth. Now is current time on the device.\n         * @return current age of the document owner in years or -1 if date of birth is unknown.\n         */\n        this.age = nativeResult.age;\n        /**\n         * Type of the barcode scanned\n         *\n         *  @return Type of the barcode\n         */\n        this.barcodeType = nativeResult.barcodeType;\n        /**\n         * The city address portion of the document owner.\n         */\n        this.city = nativeResult.city;\n        /**\n         * The date of birth of the document owner.\n         */\n        this.dateOfBirth = nativeResult.dateOfBirth != null ? new Date(nativeResult.dateOfBirth) : null;\n        /**\n         * The date of expiry of the document.\n         */\n        this.dateOfExpiry = nativeResult.dateOfExpiry != null ? new Date(nativeResult.dateOfExpiry) : null;\n        /**\n         * The date of issue of the document.\n         */\n        this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null;\n        /**\n         * The additional number of the document.\n         */\n        this.documentAdditionalNumber = nativeResult.documentAdditionalNumber;\n        /**\n         * The document number.\n         */\n        this.documentNumber = nativeResult.documentNumber;\n        /**\n         * The document type deduced from the recognized barcode\n         *\n         *  @return Type of the document\n         */\n        this.documentType = nativeResult.documentType;\n        /**\n         * The employer of the document owner.\n         */\n        this.employer = nativeResult.employer;\n        /**\n         * The additional privileges granted to the driver license owner.\n         */\n        this.endorsements = nativeResult.endorsements;\n        /**\n         * Checks whether the document has expired or not by comparing the current\n         * time on the device with the date of expiry.\n         *\n         * @return true if the document has expired, false in following cases:\n         * document does not expire (date of expiry is permanent)\n         * date of expiry has passed\n         * date of expiry is unknown and it is not permanent\n         */\n        this.expired = nativeResult.expired;\n        /**\n         * Document specific extended elements that contain all barcode fields in their original form.\n         *\n         * Currently this is only filled for AAMVACompliant documents.\n         */\n        this.extendedElements = nativeResult.extendedElements;\n        /**\n         * The first name of the document owner.\n         */\n        this.firstName = nativeResult.firstName;\n        /**\n         * The full name of the document owner.\n         */\n        this.fullName = nativeResult.fullName;\n        /**\n         * The issuing authority of the document.\n         */\n        this.issuingAuthority = nativeResult.issuingAuthority;\n        /**\n         * The jurisdiction code address portion of the document owner.\n         */\n        this.jurisdiction = nativeResult.jurisdiction;\n        /**\n         * The last name of the document owner.\n         */\n        this.lastName = nativeResult.lastName;\n        /**\n         * The marital status of the document owner.\n         */\n        this.maritalStatus = nativeResult.maritalStatus;\n        /**\n         * The middle name of the document owner.\n         */\n        this.middleName = nativeResult.middleName;\n        /**\n         * The nationality of the documet owner.\n         */\n        this.nationality = nativeResult.nationality;\n        /**\n         * The personal identification number.\n         */\n        this.personalIdNumber = nativeResult.personalIdNumber;\n        /**\n         * The place of birth of the document owner.\n         */\n        this.placeOfBirth = nativeResult.placeOfBirth;\n        /**\n         * The postal code address portion of the document owner.\n         */\n        this.postalCode = nativeResult.postalCode;\n        /**\n         * The profession of the document owner.\n         */\n        this.profession = nativeResult.profession;\n        /**\n         * The race of the document owner.\n         */\n        this.race = nativeResult.race;\n        /**\n         * Byte array with result of the scan\n         */\n        this.rawData = nativeResult.rawData;\n        /**\n         * The religion of the document owner.\n         */\n        this.religion = nativeResult.religion;\n        /**\n         * The residential stauts of the document owner.\n         */\n        this.residentialStatus = nativeResult.residentialStatus;\n        /**\n         * The restrictions to driving privileges for the driver license owner.\n         */\n        this.restrictions = nativeResult.restrictions;\n        /**\n         * The sex of the document owner.\n         */\n        this.sex = nativeResult.sex;\n        /**\n         * The street address portion of the document owner.\n         */\n        this.street = nativeResult.street;\n        /**\n         * Retrieves string content of scanned data\n         */\n        this.stringData = nativeResult.stringData;\n        /**\n         * Flag indicating uncertain scanning data\n         * E.g obtained from damaged barcode.\n         */\n        this.uncertain = nativeResult.uncertain;\n        /**\n         * The type of vehicle the driver license owner has privilege to drive.\n         */\n        this.vehicleClass = nativeResult.vehicleClass;\n    }\n}\n/**\n * The ID Barcode Recognizer is used for scanning ID Barcode.\n */\nexport class IdBarcodeRecognizer extends Recognizer {\n    constructor() {\n        super('IdBarcodeRecognizer');\n        this.createResultFromNative = (nativeResult) => { return new IdBarcodeRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=idBarcodeRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { MrzResult, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for MrtdCombinedRecognizer.\n */\nexport class MrtdCombinedRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * Returns DataMatchStateSuccess if data from scanned parts/sides of the document match,\n         * DataMatchStateFailed otherwise. For example if date of expiry is scanned from the front and back side\n         * of the document and values do not match, this method will return DataMatchStateFailed. Result will\n         * be DataMatchStateSuccess only if scanned values for all fields that are compared are the same.\n         */\n        this.documentDataMatch = nativeResult.documentDataMatch;\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * back side image of the document if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentBackImage = nativeResult.fullDocumentBackImage;\n        /**\n         * front side image of the document if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage;\n        /**\n         * Returns the Data extracted from the machine readable zone.\n         */\n        this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;\n        /**\n         * Returns true if recognizer has finished scanning first side and is now scanning back side,\n         * false if it's still scanning first side.\n         */\n        this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;\n    }\n}\n/**\n * MRTD Combined recognizer\n *\n * MRTD Combined recognizer is used for scanning both front and back side of generic IDs.\n */\nexport class MrtdCombinedRecognizer extends Recognizer {\n    constructor() {\n        super('MrtdCombinedRecognizer');\n        /**\n         * Whether special characters are allowed\n         *\n         *\n         */\n        this.allowSpecialCharacters = false;\n        /**\n         * Whether returning of unparsed results is allowed\n         *\n         *\n         */\n        this.allowUnparsedResults = false;\n        /**\n         * Whether returning of unverified results is allowed\n         * Unverified result is result that is parsed, but check digits are incorrect.\n         *\n         *\n         */\n        this.allowUnverifiedResults = false;\n        /**\n         * Type of document this recognizer will scan.\n         *\n         *\n         */\n        this.detectorType = 0 /* TD1 */;\n        /**\n         * Property for setting DPI for face images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.faceImageDpi = 250;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Defines how many times the same document should be detected before the detector\n         * returns this document as a result of the deteciton\n         *\n         * Higher number means more reliable detection, but slower processing\n         *\n         *\n         */\n        this.numStableDetectionsThreshold = 6;\n        /**\n         * Sets whether face image from ID card should be extracted\n         *\n         *\n         */\n        this.returnFaceImage = false;\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        this.createResultFromNative = (nativeResult) => { return new MrtdCombinedRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=mrtdCombinedRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { MrzResult, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for MrtdRecognizer.\n */\nexport class MrtdRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * full document image if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentImage = nativeResult.fullDocumentImage;\n        /**\n         * Returns the Data extracted from the machine readable zone.\n         */\n        this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;\n    }\n}\n/**\n * Recognizer that can recognizer Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD)\n */\nexport class MrtdRecognizer extends Recognizer {\n    constructor() {\n        super('MrtdRecognizer');\n        /**\n         * Whether special characters are allowed\n         *\n         *\n         */\n        this.allowSpecialCharacters = false;\n        /**\n         * Whether returning of unparsed results is allowed\n         *\n         *\n         */\n        this.allowUnparsedResults = false;\n        /**\n         * Whether returning of unverified results is allowed\n         * Unverified result is result that is parsed, but check digits are incorrect.\n         *\n         *\n         */\n        this.allowUnverifiedResults = false;\n        /**\n         * Defines if glare detection should be turned on/off.\n         *\n         *\n         */\n        this.detectGlare = true;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        this.createResultFromNative = (nativeResult) => { return new MrtdRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=mrtdRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { MrzResult, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for PassportRecognizer.\n */\nexport class PassportRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * full document image if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentImage = nativeResult.fullDocumentImage;\n        /**\n         * The data extracted from the machine readable zone.\n         */\n        this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;\n    }\n}\n/**\n * Recognizer which can scan all passports with MRZ.\n */\nexport class PassportRecognizer extends Recognizer {\n    constructor() {\n        super('PassportRecognizer');\n        /**\n         * Defines whether to anonymize Netherlands MRZ\n         *\n         *\n         */\n        this.anonymizeNetherlandsMrz = true;\n        /**\n         * Defines if glare detection should be turned on/off.\n         *\n         *\n         */\n        this.detectGlare = true;\n        /**\n         * Property for setting DPI for face images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.faceImageDpi = 250;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Sets whether face image from ID card should be extracted\n         *\n         *\n         */\n        this.returnFaceImage = false;\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        this.createResultFromNative = (nativeResult) => { return new PassportRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=passportRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { MrzResult, ImageExtensionFactors, } from '../types';\n/* tslint:disable:no-unused-variable */\n/**\n * Result object for VisaRecognizer.\n */\nexport class VisaRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * full document image if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentImage = nativeResult.fullDocumentImage;\n        /**\n         * The data extracted from the machine readable zone.\n         */\n        this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;\n    }\n}\n/**\n * Recognizer which can scan all visas with MRZ.\n */\nexport class VisaRecognizer extends Recognizer {\n    constructor() {\n        super('VisaRecognizer');\n        /**\n         * Defines if glare detection should be turned on/off.\n         *\n         *\n         */\n        this.detectGlare = true;\n        /**\n         * Property for setting DPI for face images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.faceImageDpi = 250;\n        /**\n         * Property for setting DPI for full document images\n         * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception\n         *\n         *\n         */\n        this.fullDocumentImageDpi = 250;\n        /**\n         * Image extension factors for full document image.\n         *\n         * @see ImageExtensionFactors\n         *\n         */\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        /**\n         * Sets whether face image from ID card should be extracted\n         *\n         *\n         */\n        this.returnFaceImage = false;\n        /**\n         * Sets whether full document image of ID card should be extracted.\n         *\n         *\n         */\n        this.returnFullDocumentImage = false;\n        this.createResultFromNative = (nativeResult) => { return new VisaRecognizerResult(nativeResult); };\n    }\n}\n//# sourceMappingURL=visaRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { Date } from '../types';\n/**\n * Result object for UsdlRecognizer.\n */\nexport class UsdlRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        this.optionalElements = nativeResult.optionalElements;\n        this.rawData = nativeResult.rawData;\n        this.rawStringData = nativeResult.rawStringData;\n        this.uncertain = nativeResult.uncertain;\n        this.fields = nativeResult.fields;\n        this.firstName = nativeResult.firstName;\n        this.middleName = nativeResult.middleName;\n        this.lastName = nativeResult.lastName;\n        this.fullName = nativeResult.fullName;\n        this.nameSuffix = nativeResult.nameSuffix;\n        this.address = nativeResult.address;\n        this.documentNumber = nativeResult.documentNumber;\n        this.sex = nativeResult.sex;\n        this.restrictions = nativeResult.restrictions;\n        this.endorsements = nativeResult.endorsements;\n        this.vehicleClass = nativeResult.vehicleClass;\n        this.dateOfBirth = nativeResult.dateOfBirth != null ? new Date(nativeResult.dateOfBirth) : null;\n        this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null;\n        this.dateOfExpiry = nativeResult.dateOfExpiry != null ? new Date(nativeResult.dateOfExpiry) : null;\n        this.age = nativeResult.age;\n        this.street = nativeResult.street;\n        this.postalCode = nativeResult.postalCode;\n        this.city = nativeResult.city;\n        this.jurisdiction = nativeResult.jurisdiction;\n    }\n}\n/**\n * Recognizer that scan 2D barcodes from United States Driver License.\n */\nexport class UsdlRecognizer extends Recognizer {\n    constructor() {\n        super('UsdlRecognizer');\n        this.createResultFromNative = (nativeResult) => { return new UsdlRecognizerResult(nativeResult); };\n        this.nullQuietZoneAllowed = true;\n        this.uncertainDecoding = true;\n        this.enableCompactParser = false;\n    }\n}\n//# sourceMappingURL=usdlRecognizer.js.map","import { Recognizer, RecognizerResult } from '../recognizer';\nimport { ImageExtensionFactors, Date } from '../types';\n/**\n * Result object for UsdlCombinedRecognizer.\n */\nexport class UsdlCombinedRecognizerResult extends RecognizerResult {\n    constructor(nativeResult) {\n        super(nativeResult.resultState);\n        /**\n         * Returns true if data from scanned parts/sides of the document match,\n         * false otherwise. For example if date of expiry is scanned from the front and back side\n         * of the document and values do not match, this method will return false. Result will\n         * be true only if scanned values for all fields that are compared are the same.\n         */\n        this.documentDataMatch = nativeResult.documentDataMatch;\n        /**\n         * face image from the document if enabled with returnFaceImage property.\n         */\n        this.faceImage = nativeResult.faceImage;\n        /**\n         * full document image if enabled with returnFullDocumentImage property.\n         */\n        this.fullDocumentImage = nativeResult.fullDocumentImage;\n        /**\n         * Returns true if recognizer has finished scanning first side and is now scanning back side,\n         * false if it's still scanning first side.\n         */\n        this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;\n        /** Array of elements that are not part of AAMVA standard and are specific to each US state. */\n        this.optionalElements = nativeResult.optionalElements;\n        /** The raw bytes contained inside 2D barcode. */\n        this.rawData = nativeResult.rawData;\n        /** Raw string inside 2D barcode. */\n        this.rawStringData = nativeResult.rawStringData;\n        /** True if returned result is uncertain, i.e. if scanned barcode was incomplete (i.e. */\n        this.uncertain = nativeResult.uncertain;\n        /** Fields inside US Driver's licence. Available Keys are listed in UsdlKeys enum. */\n        this.fields = nativeResult.fields;\n        /** The first name of the United States driver license owner. */\n        this.firstName = nativeResult.firstName;\n        /** The middle name of the United States driver license owner. */\n        this.middleName = nativeResult.middleName;\n        /** The last name of the United States driver license owner. */\n        this.lastName = nativeResult.lastName;\n        /** The full name of the United States driver license owner. */\n        this.fullName = nativeResult.fullName;\n        /** The name suffix of the United States driver license owner. */\n        this.nameSuffix = nativeResult.nameSuffix;\n        /** The full address of the United States driver license owner. */\n        this.address = nativeResult.address;\n        /** The document number of the United States driver license. */\n        this.documentNumber = nativeResult.documentNumber;\n        /** The sex of the United States driver license owner. */\n        this.sex = nativeResult.sex;\n        /** The restrictions to driving privileges for the United States driver license owner. */\n        this.restrictions = nativeResult.restrictions;\n        /** The additional privileges granted to the United States driver license owner. */\n        this.endorsements = nativeResult.endorsements;\n        /** The type of vehicle the driver license owner has privilege to drive. */\n        this.vehicleClass = nativeResult.vehicleClass;\n        /** The date of birth of the United States driver license owner. */\n        this.dateOfBirth = nativeResult.dateOfBirth != null ? new Date(nativeResult.dateOfBirth) : null;\n        /** The date of issue of the United States driver license. */\n        this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null;\n        /** The date of expiry of the United States driver license. */\n        this.dateOfExpiry = nativeResult.dateOfExpiry != null ? new Date(nativeResult.dateOfExpiry) : null;\n        /**\n         * The current age of the document owner in years. It is calculated difference\n         * between now and date of birth. Now is current time on the device.\n         * @return current age of the document owner in years or -1 if date of birth is unknown.\n        */\n        this.age = nativeResult.age;\n    }\n}\n/**\n * USDL Combined Recognizer.\n *\n * USDL Combined recognizer is used for scanning both front and back side of US Driver's License.\n */\nexport class UsdlCombinedRecognizer extends Recognizer {\n    constructor() {\n        super('UsdlCombinedRecognizer');\n        this.createResultFromNative = (nativeResult) => { return new UsdlCombinedRecognizerResult(nativeResult); };\n        this.faceImageDpi = 250;\n        this.fullDocumentImageDpi = 250;\n        this.returnFaceImage = false;\n        this.returnFullDocumentImage = false;\n        this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();\n        this.numStableDetectionsThreshold = 6;\n    }\n}\n//# sourceMappingURL=usdlCombinedRecognizer.js.map","import { OverlaySettings } from '../overlaySettings';\nimport { AndroidCameraResolutionPreset, iOSCameraResolutionPreset } from '../types';\n/**\n * Class for setting up document overlay.\n * Document overlay is best suited for recognizers that perform ID document scanning.\n */\nexport class DocumentOverlaySettings extends OverlaySettings {\n    constructor() {\n        super('DocumentOverlaySettings');\n    }\n}\n/**\n * Class for setting up BlinkId overlay.\n * BlinkId overlay is best suited for recognizers that perform ID document scanning.\n */\nexport class BlinkIdOverlaySettings extends OverlaySettings {\n    constructor() {\n        super('BlinkIdOverlaySettings');\n        /**\n        * String: message that is shown while scanning first side of the document.\n        * If null, default value will be used.\n        */\n        this.firstSideInstructionsText = null;\n        /**\n        * String: instructions to flip document, shown when scanning of the first side is done, before scanning the second\n        * side of the document.\n        * If null, default value will be used.\n        */\n        this.flipInstructions = null;\n        /**\n        * String: instructions for the user to move the document closer.\n        * If null, default value will be used.\n        */\n        this.errorMoveCloser = null;\n        /**\n        * String: instructions for the user to move the document farther.\n        * If null, default value will be used.\n        */\n        this.errorMoveFarther = null;\n        /**\n        * String: title of the dialog, which is shown when scanned document sides are not from the same document.\n        * If null, default value will be used.\n        */\n        this.sidesNotMatchingTitle = null;\n        /**\n        * String: message inside dialog, which is shown when scanned document sides are not from the same document.\n        * If null, default value will be used.\n        */\n        this.sidesNotMatchingMessage = null;\n        /**\n        * String: title of the dialog, which is shown when unsupported document is scanned.\n        * If null, default value will be used.\n        */\n        this.unsupportedDocumentTitle = null;\n        /**\n        * String: message inside dialog, which is shown when unsupported document is scanned.\n        * If null, default value will be used.\n        */\n        this.unsupportedDocumentMessage = null;\n        /**\n        * String: title of the dialog, which is shown on timeout when scanning is stuck on the back document side.\n        * If null, default value will be used.\n        */\n        this.recognitionTimeoutTitle = null;\n        /**\n        * String: message inside dialog, which is shown on timeout when scanning is stuck on the back document side.\n        * If null, default value will be used.\n        */\n        this.recognitionTimeoutMessage = null;\n        /**\n        * String: text of the \"retry\" button inside dialog, which is shown on timeout when scanning is stuck on the back\n        * document side.\n        */\n        this.retryButtonText = null;\n        /**\n        * If true, BlinkIdCombinedRecognizer will check if sides do match when scanning is finished\n        * Default: true\n        */\n        this.requireDocumentSidesDataMatch = true;\n        /**\n        * Defines whether Document Not Supported dialog will be displayed in UI.\n        *\n        * Default: true\n        */\n        this.showNotSupportedDialog = true;\n        /**\n        * Defines whether glare warning will be displayed when user turn on a flashlight\n        *\n        * Default: true\n        */\n        this.showFlashlightWarning = true;\n        /**\n        * Option to configure back side scanning timeout.\n        *\n        * Default: 17000\n        */\n        this.backSideScanningTimeoutMilliseconds = 17000;\n        /**\n        * Message that is shown while scanning the barcode.\n        * If null, default value will be used.\n        */\n        this.scanBarcodeText = null;\n        /**\n        * Instructions for the user to move the document from the edge.\n        * If null, default value will be used.\n        */\n        this.errorDocumentTooCloseToEdge = null;\n        /**\n        * String: title of the dialog which is shown when the data on the document is not matching.\n        * If null, default value will be used.\n        */\n        this.showOnboardingInfo = true;\n        /**\n        * Defines whether introduction dialog is turned on by default.\n        *\n        * Default: false\n        */\n        this.showIntroductionDialog = false;\n        /**\n        * Option to configure onboarding button tooltip delay time.\n        *\n        * Default: 12000\n        */\n        this.onboardingButtonTooltipDelay = 12000;\n        /**\n        * (optional) if default overlay contains textual information, text will be localized to this language. Otherwise device langauge will be used\n        *\n        * example: \"en\"\n        */\n        this.language = null;\n        /**\n        * (optional) to be used with language variable, it defines the country locale\n        *\n        * example: \"US\" to use \"en_US\" on Android and en-US on iOS\n        */\n        this.country = null;\n        /**\n        * Defines whether torch button used for turning the flashlight on and off is shown on the screen during the scanning session.\n        *\n        * Default: true\n        */\n        this.showTorchButton = true;\n        /**\n        * Defines whether exit (cancel) button used for cancelling the scan is shown on the screen during the scanning session.\n        *\n        * Default: true\n        */\n        this.showCancelButton = true;\n        /**\n        * String: instructions for the user when blur has been detected on the document.\n        * If null, default value will be used.\n        */\n        this.errorBlurDetected = null;\n        /**\n        * String: instructions for the user when glare has been detected on the document.\n        * If null, default value will be used.\n        */\n        this.errorGlareDetected = null;\n        /**\n        * Defines possible iOS device camera video resolution preset.\n        *\n        * Default: PresetOptimal\n        */\n        this.iosCameraResolutionPreset = iOSCameraResolutionPreset.PresetOptimal;\n        /**\n        * Defines possible Android device camera video resolution preset.\n        *\n        * Default: PresetDefault\n        */\n        this.androidCameraResolutionPreset = AndroidCameraResolutionPreset.PresetDefault;\n        /**\n        * Option to set whether legacy camera API should be used even on Lollipop devices that support newer Camera2 API.\n        *\n        * Default: false\n        */\n        this.enableAndroidLegacyCameraApi = false;\n        /**\n        * String: Instructions to scan the passport, shown when scanning of the first side is done, before\n        * scanning the second side of the document.\n        *\n        * If null, default value will be used.\n        */\n        this.topPageInstructions = null;\n        /**\n        * String: Instructions to scan the passport, shown when scanning of the first side is done, before scanning the second\n        * side of the document.\n        *\n        * If null, default value will be used.\n        */\n        this.leftPageInstructions = null;\n        /**\n        * String: Instructions to scan the passport, shown when scanning of the first side is done, before scanning the second\n        * side of the document.\n        *\n        * If null, default value will be used.\n        */\n        this.rightPageInstructions = null;\n        /**\n        * String: Instructions to scan the passport, shown when scanning of the first side is done, before scanning the second\n        * side of the document.\n        *\n        * If null, default value will be used.\n        */\n        this.turnTopPageInstructions = null;\n        /**\n        * String: Instructions to scan the passport, shown when scanning of the first side is done, before scanning the second\n        * side of the document.\n        *\n        * If null, default value will be used.\n        */\n        this.turnLeftPageInstructions = null;\n        /**\n        * String: Instructions to scan the passport, shown when scanning of the first side is done, before scanning the second\n        * side of the document.\n        *\n        * If null, default value will be used.\n        */\n        this.turnRightPageInstructions = null;\n        /**\n        * String: Instructions for the user when wrong side of passport is being scanned.\n        *\n        * If null, default value will be used.\n        */\n        this.errorScanningWrongPageTop = null;\n        /**\n        * String: Instructions for the user when wrong side of passport is being scanned.\n        *\n        * If null, default value will be used.\n        */\n        this.errorScanningWrongPageLeft = null;\n        /**\n        * String: Instructions for the user when wrong side of passport is being scanned.\n        *\n        * If null, default value will be used.\n        */\n        this.errorScanningWrongPageRight = null;\n    }\n}\n/**\n * Class for setting up document verification overlay.\n * Document verification overlay is best suited for combined recognizers - recognizer that perform scanning of both sides of ID documents.\n */\nexport class DocumentVerificationOverlaySettings extends OverlaySettings {\n    constructor() {\n        super('DocumentVerificationOverlaySettings');\n        /**\n         * String: splash message that is shown before scanning the first side of the document, while starting camera.\n         * If null, default value will be used.\n         */\n        this.firstSideSplashMessage = null;\n        /**\n         * String: splash message that is shown before scanning the second side of the document, while starting camera.\n         * If null, default value will be used.\n         */\n        this.secondSideSplashMessage = null;\n        /**\n        * String: splash message that is shown after scanning the document.\n        * If null, default value will be used.\n        */\n        this.scanningDoneSplashMessage = null;\n        /**\n         * String: user instructions that are shown above camera preview while the first side of the\n         * document is being scanned.\n         * If null, default value will be used.\n         */\n        this.firstSideInstructions = null;\n        /**\n         * String: user instructions that are shown above camera preview while the second side of the\n         * document is being scanned.\n         * If null, default value will be used.\n         */\n        this.secondSideInstructions = null;\n        /**\n         * String: glare message that is shown if glare was detected while scanning document.\n         * If null, default value will be used.\n         */\n        this.glareMessage = null;\n    }\n}\n//# sourceMappingURL=blinkidOverlays.js.map"]}