{"version":3,"sources":["src/app/core/enums/generated/EligibilityStatusEnum.ts","src/app/core/enums/generated/PatientApplicationStatusEnum.ts","src/app/shared/generated/Models/Public/PatientApplicationVm.ts","node_modules/ngx-captcha/fesm2020/ngx-captcha.mjs","src/app/core/pages/rxconnects/meta-pixel/meta-pixel.component.ts","src/app/core/pages/rxconnects/patient-application/patient-application.component.ts","src/app/core/pages/rxconnects/patient-application/patient-application.component.html"],"sourcesContent":["// tslint:disable: quotemark\r\nexport enum EligibilityStatusEnum {\r\n\tIndigent = 1,\r\n\tUnderinsuredBenefitsExhausted = 2,\r\n\tUninsuredNoCoverage = 3\r\n}\r\n\r\nexport namespace EligibilityStatusEnum {\r\n\texport function toDescription(val: EligibilityStatusEnum) {\r\n\t\tswitch (val) {\r\n\t\t\tcase 1:\r\n\t\t\t\treturn \"At or below 200% of federal poverty level\";\r\n\t\t\tcase 2:\r\n\t\t\t\treturn \"Drug or health care benefits have been exhausted, or no drug coverage, including an inability to afford the out-of-pocket expenses for the drug prescribed\";\r\n\t\t\tcase 3:\r\n\t\t\t\treturn \"No health care coverage and not eligible for drug coverage under federal government program\";\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\texport function toDisplay(val: EligibilityStatusEnum) {\r\n\t\tswitch (val) {\r\n\t\t\tcase 1:\r\n\t\t\t\treturn \"Indigent (at or below 200% of federal poverty level)\";\r\n\t\t\tcase 2:\r\n\t\t\t\treturn \"Underinsured (drug or health care benefits have been exhausted, or no drug coverage, including an inability to afford the out-of-pocket expenses for the drug prescribed)\";\r\n\t\t\tcase 3:\r\n\t\t\t\treturn \"Uninsured (no health care coverage and not eligible for drug coverage under federal government program)\";\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n}\r\n","// tslint:disable: quotemark\r\nexport enum PatientApplicationStatusEnum {\r\n\tNew = 1,\r\n\tComplete = 2\r\n}\r\n\r\nexport namespace PatientApplicationStatusEnum {\r\n\texport function toDescription(val: PatientApplicationStatusEnum) {\r\n\t\tswitch (val) {\r\n\t\t\tcase 1:\r\n\t\t\t\treturn \"Open\";\r\n\t\t\tcase 2:\r\n\t\t\t\treturn \"Complete\";\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\texport function toDisplay(val: PatientApplicationStatusEnum) {\r\n\t\tswitch (val) {\r\n\t\t\tcase 1:\r\n\t\t\t\treturn \"Open\";\r\n\t\t\tcase 2:\r\n\t\t\t\treturn \"Complete\";\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n}\r\n","import { UntypedFormGroup, UntypedFormControl, UntypedFormArray, Validators } from '@angular/forms';\r\n\r\nimport { PcgTableColumn } from '../../../table/interfaces/pcg-table-column.interface';\r\n\r\n// tslint:disable:quotemark\r\n// tslint:disable:max-line-length\r\n// tslint:disable:whitespace\r\nexport class PatientApplicationVm {\r\n\tiD: number;\r\n\tfirstName?: string;\r\n\tlastName?: string;\r\n\taddressId?: number;\r\n\tsmartyAddress?: any;\r\n\tsmartyAddressString?: string;\r\n\taddress?: string;\r\n\tcity?: string;\r\n\tstate?: string;\r\n\tzip?: string;\r\n\tcountyId: number;\r\n\tcounty?: string;\r\n\thomePhone?: string;\r\n\tcellPhone?: string;\r\n\temailAddress?: string;\r\n\trepositoryId?: number;\r\n\trepository?: string;\r\n\teligibilityStatusId: number;\r\n\tsignature?: string;\r\n\tdateSigned: Date;\r\n\tisAttested?: boolean;\r\n\thoneyPot?: string;\r\n\tapplicationStatus: number;\r\n\r\n\tstatic get FormData() {\r\n\t\treturn this.getFormData();\r\n\t}\r\n\r\n\tstatic getFormData(validators = {}) {\r\n\t\treturn {\r\n\t\t\t'iD': new UntypedFormControl(0, [...(validators['iD'] ?? []), ...[Validators.required]]),\r\n\t\t\t'firstName': new UntypedFormControl(null, [...(validators['firstName'] ?? []), ...[Validators.required, Validators.maxLength(50)]]),\r\n\t\t\t'lastName': new UntypedFormControl(null, [...(validators['lastName'] ?? []), ...[Validators.required, Validators.maxLength(50)]]),\r\n\t\t\t'addressId': new UntypedFormControl(null, [...(validators['addressId'] ?? []), ...[]]),\r\n\t\t\t'smartyAddress': new UntypedFormControl(null, [...(validators['smartyAddress'] ?? []), ...[Validators.required]]),\r\n\t\t\t'smartyAddressString': new UntypedFormControl(null, [...(validators['smartyAddressString'] ?? []), ...[]]),\r\n\t\t\t'address': new UntypedFormControl(null, [...(validators['address'] ?? []), ...[]]),\r\n\t\t\t'city': new UntypedFormControl(null, [...(validators['city'] ?? []), ...[]]),\r\n\t\t\t'state': new UntypedFormControl(null, [...(validators['state'] ?? []), ...[]]),\r\n\t\t\t'zip': new UntypedFormControl(null, [...(validators['zip'] ?? []), ...[]]),\r\n\t\t\t'countyId': new UntypedFormControl(0, [...(validators['countyId'] ?? []), ...[Validators.required]]),\r\n\t\t\t'county': new UntypedFormControl(null, [...(validators['county'] ?? []), ...[]]),\r\n\t\t\t'homePhone': new UntypedFormControl(null, [...(validators['homePhone'] ?? []), ...[Validators.maxLength(14), Validators.pattern(\"(\\\\+\\\\d{1,3}\\\\s?)?((\\\\(\\\\d{3}\\\\)\\\\s?)|(\\\\d{3})(\\\\s|-?))(\\\\d{3}(\\\\s|-?))(\\\\d{4})(\\\\s?(([E|e]xt[:|.|]?)|x|X)(\\\\s?\\\\d+))?\")]]),\r\n\t\t\t'cellPhone': new UntypedFormControl(null, [...(validators['cellPhone'] ?? []), ...[Validators.required, Validators.maxLength(14), Validators.pattern(\"(\\\\+\\\\d{1,3}\\\\s?)?((\\\\(\\\\d{3}\\\\)\\\\s?)|(\\\\d{3})(\\\\s|-?))(\\\\d{3}(\\\\s|-?))(\\\\d{4})(\\\\s?(([E|e]xt[:|.|]?)|x|X)(\\\\s?\\\\d+))?\")]]),\r\n\t\t\t'emailAddress': new UntypedFormControl(null, [...(validators['emailAddress'] ?? []), ...[Validators.required, Validators.maxLength(50), Validators.email, Validators.pattern(\"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\\\.[a-z]{2,4}$\")]]),\r\n\t\t\t'repositoryId': new UntypedFormControl(null, [...(validators['repositoryId'] ?? []), ...[]]),\r\n\t\t\t'repository': new UntypedFormControl(null, [...(validators['repository'] ?? []), ...[]]),\r\n\t\t\t'eligibilityStatusId': new UntypedFormControl(0, [...(validators['eligibilityStatusId'] ?? []), ...[Validators.required]]),\r\n\t\t\t'signature': new UntypedFormControl(null, [...(validators['signature'] ?? []), ...[Validators.required, Validators.maxLength(50)]]),\r\n\t\t\t'dateSigned': new UntypedFormControl('', [...(validators['dateSigned'] ?? []), ...[Validators.required]]),\r\n\t\t\t'isAttested': new UntypedFormControl(null, [...(validators['isAttested'] ?? []), ...[Validators.required]]),\r\n\t\t\t'honeyPot': new UntypedFormControl(null, [...(validators['honeyPot'] ?? []), ...[]]),\r\n\t\t\t'applicationStatus': new UntypedFormControl(0, [...(validators['applicationStatus'] ?? []), ...[Validators.required]])\r\n\t\t};\r\n\t}\r\n\r\n\tstatic get Form() {\r\n\t\treturn new UntypedFormGroup(this.FormData);\r\n\t}\r\n\r\n\tstatic GetModel(fg: UntypedFormGroup): PatientApplicationVmFromFg {\r\n\t\treturn new PatientApplicationVmFromFg(fg);\r\n\t}\r\n}\r\n\r\nexport class PatientApplicationVmFromFg {\r\n\tconstructor(public fg: UntypedFormGroup) { }\r\n\r\n\r\n\tget iD(): number {\r\n\t\treturn this.fg.get('iD').value;\r\n\t}\r\n\tset iD(val) {\r\n\t\tthis.fg.get('iD').setValue(val);\r\n\t}\r\n\r\n\tget firstName(): string {\r\n\t\treturn this.fg.get('firstName').value;\r\n\t}\r\n\tset firstName(val) {\r\n\t\tthis.fg.get('firstName').setValue(val);\r\n\t}\r\n\r\n\tget lastName(): string {\r\n\t\treturn this.fg.get('lastName').value;\r\n\t}\r\n\tset lastName(val) {\r\n\t\tthis.fg.get('lastName').setValue(val);\r\n\t}\r\n\r\n\tget addressId(): number {\r\n\t\treturn this.fg.get('addressId').value;\r\n\t}\r\n\tset addressId(val) {\r\n\t\tthis.fg.get('addressId').setValue(val);\r\n\t}\r\n\r\n\tget smartyAddress(): any {\r\n\t\treturn this.fg.get('smartyAddress').value;\r\n\t}\r\n\tset smartyAddress(val) {\r\n\t\tthis.fg.get('smartyAddress').setValue(val);\r\n\t}\r\n\r\n\tget smartyAddressString(): string {\r\n\t\treturn this.fg.get('smartyAddressString').value;\r\n\t}\r\n\tset smartyAddressString(val) {\r\n\t\tthis.fg.get('smartyAddressString').setValue(val);\r\n\t}\r\n\r\n\tget address(): string {\r\n\t\treturn this.fg.get('address').value;\r\n\t}\r\n\tset address(val) {\r\n\t\tthis.fg.get('address').setValue(val);\r\n\t}\r\n\r\n\tget city(): string {\r\n\t\treturn this.fg.get('city').value;\r\n\t}\r\n\tset city(val) {\r\n\t\tthis.fg.get('city').setValue(val);\r\n\t}\r\n\r\n\tget state(): string {\r\n\t\treturn this.fg.get('state').value;\r\n\t}\r\n\tset state(val) {\r\n\t\tthis.fg.get('state').setValue(val);\r\n\t}\r\n\r\n\tget zip(): string {\r\n\t\treturn this.fg.get('zip').value;\r\n\t}\r\n\tset zip(val) {\r\n\t\tthis.fg.get('zip').setValue(val);\r\n\t}\r\n\r\n\tget countyId(): number {\r\n\t\treturn this.fg.get('countyId').value;\r\n\t}\r\n\tset countyId(val) {\r\n\t\tthis.fg.get('countyId').setValue(val);\r\n\t}\r\n\r\n\tget county(): string {\r\n\t\treturn this.fg.get('county').value;\r\n\t}\r\n\tset county(val) {\r\n\t\tthis.fg.get('county').setValue(val);\r\n\t}\r\n\r\n\tget homePhone(): string {\r\n\t\treturn this.fg.get('homePhone').value;\r\n\t}\r\n\tset homePhone(val) {\r\n\t\tthis.fg.get('homePhone').setValue(val);\r\n\t}\r\n\r\n\tget cellPhone(): string {\r\n\t\treturn this.fg.get('cellPhone').value;\r\n\t}\r\n\tset cellPhone(val) {\r\n\t\tthis.fg.get('cellPhone').setValue(val);\r\n\t}\r\n\r\n\tget emailAddress(): string {\r\n\t\treturn this.fg.get('emailAddress').value;\r\n\t}\r\n\tset emailAddress(val) {\r\n\t\tthis.fg.get('emailAddress').setValue(val);\r\n\t}\r\n\r\n\tget repositoryId(): number {\r\n\t\treturn this.fg.get('repositoryId').value;\r\n\t}\r\n\tset repositoryId(val) {\r\n\t\tthis.fg.get('repositoryId').setValue(val);\r\n\t}\r\n\r\n\tget repository(): string {\r\n\t\treturn this.fg.get('repository').value;\r\n\t}\r\n\tset repository(val) {\r\n\t\tthis.fg.get('repository').setValue(val);\r\n\t}\r\n\r\n\tget eligibilityStatusId(): number {\r\n\t\treturn this.fg.get('eligibilityStatusId').value;\r\n\t}\r\n\tset eligibilityStatusId(val) {\r\n\t\tthis.fg.get('eligibilityStatusId').setValue(val);\r\n\t}\r\n\r\n\tget signature(): string {\r\n\t\treturn this.fg.get('signature').value;\r\n\t}\r\n\tset signature(val) {\r\n\t\tthis.fg.get('signature').setValue(val);\r\n\t}\r\n\r\n\tget dateSigned(): Date {\r\n\t\treturn this.fg.get('dateSigned').value;\r\n\t}\r\n\tset dateSigned(val) {\r\n\t\tthis.fg.get('dateSigned').setValue(val);\r\n\t}\r\n\r\n\tget isAttested(): boolean {\r\n\t\treturn this.fg.get('isAttested').value;\r\n\t}\r\n\tset isAttested(val) {\r\n\t\tthis.fg.get('isAttested').setValue(val);\r\n\t}\r\n\r\n\tget honeyPot(): string {\r\n\t\treturn this.fg.get('honeyPot').value;\r\n\t}\r\n\tset honeyPot(val) {\r\n\t\tthis.fg.get('honeyPot').setValue(val);\r\n\t}\r\n\r\n\tget applicationStatus(): number {\r\n\t\treturn this.fg.get('applicationStatus').value;\r\n\t}\r\n\tset applicationStatus(val) {\r\n\t\tthis.fg.get('applicationStatus').setValue(val);\r\n\t}\r\n}\r\n","import * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, InjectFlags, Directive, Input, Output, forwardRef, Component, ViewChild, NgModule } from '@angular/core';\nimport { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nconst _c0 = [\"captchaWrapperElem\"];\nlet ScriptService = /*#__PURE__*/(() => {\n class ScriptService {\n constructor(zone) {\n this.zone = zone;\n this.scriptElemId = \"ngx-catpcha-script\";\n /**\r\n * Name of the global google recaptcha script\r\n */\n this.windowGrecaptcha = \"grecaptcha\";\n /**\r\n * Name of enterpise property in the global google recaptcha script\r\n */\n this.windowGrecaptchaEnterprise = \"enterprise\";\n /**\r\n * Name of the global callback\r\n */\n this.windowOnLoadCallbackProperty = \"ngx_captcha_onload_callback\";\n /**\r\n * Name of the global callback for enterprise\r\n */\n this.windowOnLoadEnterpriseCallbackProperty = \"ngx_captcha_onload_enterprise_callback\";\n this.globalDomain = \"recaptcha.net\";\n this.defaultDomain = \"google.com\";\n this.enterpriseApi = \"enterprise.js\";\n this.defaultApi = \"api.js\";\n }\n registerCaptchaScript(config, render, onLoad, language) {\n if (this.grecaptchaScriptLoaded(config.useEnterprise)) {\n // recaptcha script is already loaded\n // just call the callback\n if (config.useEnterprise) {\n this.zone.run(() => {\n onLoad(window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise]);\n });\n } else {\n this.zone.run(() => {\n onLoad(window[this.windowGrecaptcha]);\n });\n }\n return;\n }\n // we need to patch the callback through global variable, otherwise callback is not accessible\n // note: https://github.com/Enngage/ngx-captcha/issues/2\n if (config.useEnterprise) {\n window[this.getCallbackName(true)] = () => this.zone.run(onLoad.bind(this, window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise]));\n } else {\n window[this.getCallbackName(false)] = () => this.zone.run(onLoad.bind(this, window[this.windowGrecaptcha]));\n }\n // prepare script elem\n const scriptElem = document.createElement(\"script\");\n scriptElem.id = this.scriptElemId;\n scriptElem.innerHTML = \"\";\n scriptElem.src = this.getCaptchaScriptUrl(config, render, language);\n scriptElem.async = true;\n scriptElem.defer = true;\n // add script to header\n document.getElementsByTagName(\"head\")[0].appendChild(scriptElem);\n }\n cleanup() {\n const elem = document.getElementById(this.scriptElemId);\n if (elem) {\n elem.remove();\n }\n window[this.getCallbackName()] = undefined;\n window[this.windowGrecaptcha] = undefined;\n }\n /**\r\n * Indicates if google recaptcha script is available and ready to be used\r\n */\n grecaptchaScriptLoaded(useEnterprise) {\n if (!window[this.getCallbackName(useEnterprise)] || !window[this.windowGrecaptcha]) {\n return false;\n } else if (useEnterprise && window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise]) {\n return true;\n // if only enterprise script is loaded we need to check some v3's method\n } else if (window[this.windowGrecaptcha].execute) {\n return true;\n }\n return false;\n }\n /**\r\n * Gets global callback name\r\n * @param useEnterprise Optional flag for enterprise script\r\n * @private\r\n */\n getCallbackName(useEnterprise) {\n return useEnterprise ? this.windowOnLoadEnterpriseCallbackProperty : this.windowOnLoadCallbackProperty;\n }\n /**\r\n * Gets language param used in script url\r\n */\n getLanguageParam(hl) {\n if (!hl) {\n return \"\";\n }\n return `&hl=${hl}`;\n }\n /**\r\n * Url to google api script\r\n */\n getCaptchaScriptUrl(config, render, language) {\n const domain = config.useGlobalDomain ? this.globalDomain : this.defaultDomain;\n const api = config.useEnterprise ? this.enterpriseApi : this.defaultApi;\n const callback = this.getCallbackName(config.useEnterprise);\n return `https://www.${domain}/recaptcha/${api}?onload=${callback}&render=${render}${this.getLanguageParam(language)}`;\n }\n }\n /** @nocollapse */\n /** @nocollapse */ScriptService.ɵfac = function ScriptService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ScriptService)(i0.ɵɵinject(i0.NgZone));\n };\n ScriptService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ScriptService,\n factory: ScriptService.ɵfac,\n providedIn: \"root\"\n });\n return ScriptService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet BaseReCaptchaComponentDirective = /*#__PURE__*/(() => {\n class BaseReCaptchaComponentDirective {\n constructor(renderer, zone, injector, scriptService) {\n this.renderer = renderer;\n this.zone = zone;\n this.injector = injector;\n this.scriptService = scriptService;\n /**\r\n * Prefix of the captcha element\r\n */\n this.captchaElemPrefix = \"ngx_captcha_id_\";\n this.setupCaptcha = true;\n /**\r\n * Indicates if global domain 'recaptcha.net' should be used instead of default domain ('google.com')\r\n */\n this.useGlobalDomain = false;\n this.useEnterprise = false;\n /**\r\n * Type\r\n */\n this.type = \"image\";\n /**\r\n * Tab index\r\n */\n this.tabIndex = 0;\n /**\r\n * Called when captcha receives successful response.\r\n * Captcha response token is passed to event.\r\n */\n this.success = new EventEmitter();\n /**\r\n * Called when captcha is loaded. Event receives id of the captcha\r\n */\n this.load = new EventEmitter();\n /**\r\n * Called when captcha is reset.\r\n */\n this.reset = new EventEmitter();\n /**\r\n * Called when captcha is loaded & ready. I.e. when you need to execute captcha on component load.\r\n */\n this.ready = new EventEmitter();\n /**\r\n * Error callback\r\n */\n this.error = new EventEmitter();\n /**\r\n * Expired callback\r\n */\n this.expire = new EventEmitter();\n /**\r\n * Indicates if captcha should be set on load\r\n */\n this.setupAfterLoad = false;\n /**\r\n * If enabled, captcha will reset after receiving success response. This is useful\r\n * when invisible captcha need to be resolved multiple times on same page\r\n */\n this.resetCaptchaAfterSuccess = false;\n /**\r\n * Required by ControlValueAccessor\r\n */\n this.onChange = val => {};\n this.onTouched = val => {};\n /**\r\n * Indicates if captcha is loaded\r\n */\n this.isLoaded = false;\n }\n ngAfterViewInit() {\n this.control = this.injector.get(NgControl, undefined, InjectFlags.Optional)?.control;\n }\n ngAfterViewChecked() {\n if (this.setupCaptcha) {\n this.setupCaptcha = false;\n this.setupComponent();\n }\n }\n ngOnChanges(changes) {\n // cleanup scripts if language changed because they need to be reloaded\n if (changes && changes.hl) {\n // cleanup scripts when language changes\n if (!changes.hl.firstChange && changes.hl.currentValue !== changes.hl.previousValue) {\n this.scriptService.cleanup();\n }\n }\n if (changes && changes.useGlobalDomain) {\n // cleanup scripts when domain changes\n if (!changes.useGlobalDomain.firstChange && changes.useGlobalDomain.currentValue !== changes.useGlobalDomain.previousValue) {\n this.scriptService.cleanup();\n }\n }\n this.setupCaptcha = true;\n }\n /**\r\n * Gets captcha response as per reCaptcha docs\r\n */\n getResponse() {\n return this.reCaptchaApi.getResponse(this.captchaId);\n }\n /**\r\n * Gets Id of captcha widget\r\n */\n getCaptchaId() {\n return this.captchaId;\n }\n /**\r\n * Resets captcha\r\n */\n resetCaptcha() {\n this.zone.run(() => {\n // reset captcha using Google js api\n this.reCaptchaApi.reset();\n // required due to forms\n this.onChange(undefined);\n this.onTouched(undefined);\n // trigger reset event\n this.reset.next();\n });\n }\n /**\r\n * Gets last submitted captcha response\r\n */\n getCurrentResponse() {\n return this.currentResponse;\n }\n /**\r\n * Reload captcha. Useful when properties (i.e. theme) changed and captcha need to reflect them\r\n */\n reloadCaptcha() {\n this.setupComponent();\n }\n ensureCaptchaElem(captchaElemId) {\n const captchaElem = document.getElementById(captchaElemId);\n if (!captchaElem) {\n throw Error(`Captcha element with id '${captchaElemId}' was not found`);\n }\n // assign captcha alem\n this.captchaElem = captchaElem;\n }\n /**\r\n * Responsible for instantiating captcha element\r\n */\n renderReCaptcha() {\n // run outside angular zone due to timeout issues when testing\n // details: https://github.com/Enngage/ngx-captcha/issues/26\n this.zone.runOutsideAngular(() => {\n // to fix reCAPTCHA placeholder element must be an element or id\n // https://github.com/Enngage/ngx-captcha/issues/96\n setTimeout(() => {\n this.captchaId = this.reCaptchaApi.render(this.captchaElemId, this.getCaptchaProperties());\n this.ready.next();\n }, 0);\n });\n }\n /**\r\n * Called when captcha receives response\r\n * @param callback Callback\r\n */\n handleCallback(callback) {\n this.currentResponse = callback;\n this.success.next(callback);\n this.zone.run(() => {\n this.onChange(callback);\n this.onTouched(callback);\n });\n if (this.resetCaptchaAfterSuccess) {\n this.resetCaptcha();\n }\n }\n getPseudoUniqueNumber() {\n return new Date().getUTCMilliseconds() + Math.floor(Math.random() * 9999);\n }\n setupComponent() {\n // captcha specific setup\n this.captchaSpecificSetup();\n // create captcha wrapper\n this.createAndSetCaptchaElem();\n this.scriptService.registerCaptchaScript({\n useGlobalDomain: this.useGlobalDomain,\n useEnterprise: this.useEnterprise\n }, \"explicit\", grecaptcha => {\n this.onloadCallback(grecaptcha);\n }, this.hl);\n }\n /**\r\n * Called when google's recaptcha script is ready\r\n */\n onloadCallback(grecapcha) {\n // assign reference to reCaptcha Api once its loaded\n this.reCaptchaApi = grecapcha;\n if (!this.reCaptchaApi) {\n throw Error(`ReCaptcha Api was not initialized correctly`);\n }\n // loaded flag\n this.isLoaded = true;\n // fire load event\n this.load.next();\n // render captcha\n this.renderReCaptcha();\n // setup component if it was flagged as such\n if (this.setupAfterLoad) {\n this.setupAfterLoad = false;\n this.setupComponent();\n }\n }\n generateNewElemId() {\n return this.captchaElemPrefix + this.getPseudoUniqueNumber();\n }\n createAndSetCaptchaElem() {\n // generate new captcha id\n this.captchaElemId = this.generateNewElemId();\n if (!this.captchaElemId) {\n throw Error(`Captcha elem Id is not set`);\n }\n if (!this.captchaWrapperElem) {\n throw Error(`Captcha DOM element is not initialized`);\n }\n // remove old html\n this.captchaWrapperElem.nativeElement.innerHTML = \"\";\n // create new wrapper for captcha\n const newElem = this.renderer.createElement(\"div\");\n newElem.id = this.captchaElemId;\n this.renderer.appendChild(this.captchaWrapperElem.nativeElement, newElem);\n // when use captcha in cdk stepper then throwing error Captcha element with id 'ngx_captcha_id_XXXX' not found\n // to fix it checking ensureCaptchaElem in timeout so that its check in next call and its able to find element\n setTimeout(() => {\n // update captcha elem\n if (this.captchaElemId) {\n this.ensureCaptchaElem(this.captchaElemId);\n }\n }, 0);\n }\n /**\r\n * To be aligned with the ControlValueAccessor interface we need to implement this method\r\n * However as we don't want to update the recaptcha, this doesn't need to be implemented\r\n */\n writeValue(obj) {}\n /**\r\n * This method helps us tie together recaptcha and our formControl values\r\n */\n registerOnChange(fn) {\n this.onChange = fn;\n }\n /**\r\n * At some point we might be interested whether the user has touched our component\r\n */\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n /**\r\n * Handles error callback\r\n */\n handleErrorCallback() {\n this.zone.run(() => {\n this.onChange(undefined);\n this.onTouched(undefined);\n });\n this.error.next();\n }\n /**\r\n * Handles expired callback\r\n */\n handleExpireCallback() {\n this.expire.next();\n // reset captcha on expire callback\n this.resetCaptcha();\n }\n }\n /** @nocollapse */\n /** @nocollapse */BaseReCaptchaComponentDirective.ɵfac = function BaseReCaptchaComponentDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BaseReCaptchaComponentDirective)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(ScriptService));\n };\n BaseReCaptchaComponentDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: BaseReCaptchaComponentDirective,\n inputs: {\n siteKey: \"siteKey\",\n useGlobalDomain: \"useGlobalDomain\",\n useEnterprise: \"useEnterprise\",\n type: \"type\",\n hl: \"hl\",\n tabIndex: \"tabIndex\"\n },\n outputs: {\n success: \"success\",\n load: \"load\",\n reset: \"reset\",\n ready: \"ready\",\n error: \"error\",\n expire: \"expire\"\n },\n standalone: false,\n features: [i0.ɵɵNgOnChangesFeature]\n });\n return BaseReCaptchaComponentDirective;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nvar ReCaptchaType = /*#__PURE__*/function (ReCaptchaType) {\n ReCaptchaType[ReCaptchaType[\"InvisibleReCaptcha\"] = 0] = \"InvisibleReCaptcha\";\n ReCaptchaType[ReCaptchaType[\"ReCaptcha2\"] = 1] = \"ReCaptcha2\";\n return ReCaptchaType;\n}(ReCaptchaType || {});\nlet InvisibleReCaptchaComponent = /*#__PURE__*/(() => {\n class InvisibleReCaptchaComponent extends BaseReCaptchaComponentDirective {\n constructor(renderer, zone, injector, scriptService) {\n super(renderer, zone, injector, scriptService);\n this.renderer = renderer;\n this.zone = zone;\n this.injector = injector;\n this.scriptService = scriptService;\n /**\r\n * This size representing invisible captcha\r\n */\n this.size = 'invisible';\n /**\r\n * Theme\r\n */\n this.theme = 'light';\n /**\r\n * Badge\r\n */\n this.badge = 'bottomright';\n this.recaptchaType = ReCaptchaType.InvisibleReCaptcha;\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n }\n /**\r\n * Programatically invoke the reCAPTCHA check. Used if the invisible reCAPTCHA is on a div instead of a button.\r\n */\n execute() {\n // execute captcha\n this.zone.runOutsideAngular(() => this.reCaptchaApi.execute(this.captchaId));\n }\n captchaSpecificSetup() {}\n /**\r\n * Gets reCaptcha properties\r\n */\n getCaptchaProperties() {\n return {\n 'sitekey': this.siteKey,\n 'callback': response => this.zone.run(() => this.handleCallback(response)),\n 'expired-callback': () => this.zone.run(() => this.handleExpireCallback()),\n 'error-callback': () => this.zone.run(() => this.handleErrorCallback()),\n 'badge': this.badge,\n 'type': this.type,\n 'tabindex': this.tabIndex,\n 'size': this.size,\n 'theme': this.theme\n };\n }\n }\n /** @nocollapse */\n /** @nocollapse */InvisibleReCaptchaComponent.ɵfac = function InvisibleReCaptchaComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InvisibleReCaptchaComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(ScriptService));\n };\n InvisibleReCaptchaComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: InvisibleReCaptchaComponent,\n selectors: [[\"ngx-invisible-recaptcha\"]],\n viewQuery: function InvisibleReCaptchaComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.captchaWrapperElem = _t.first);\n }\n },\n inputs: {\n theme: \"theme\",\n badge: \"badge\"\n },\n standalone: false,\n features: [i0.ɵɵProvidersFeature([{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InvisibleReCaptchaComponent),\n multi: true\n }]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 2,\n vars: 0,\n consts: [[\"captchaWrapperElem\", \"\"]],\n template: function InvisibleReCaptchaComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", null, 0);\n }\n },\n encapsulation: 2\n });\n return InvisibleReCaptchaComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ReCaptcha2Component = /*#__PURE__*/(() => {\n class ReCaptcha2Component extends BaseReCaptchaComponentDirective {\n constructor(renderer, zone, injector, scriptService) {\n super(renderer, zone, injector, scriptService);\n this.renderer = renderer;\n this.zone = zone;\n this.injector = injector;\n this.scriptService = scriptService;\n /**\r\n * Name of the global expire callback\r\n */\n this.windowOnErrorCallbackProperty = 'ngx_captcha_error_callback';\n /**\r\n * Name of the global error callback\r\n */\n this.windowOnExpireCallbackProperty = 'ngx_captcha_expire_callback';\n /**\r\n * Theme\r\n */\n this.theme = 'light';\n /**\r\n * Size\r\n */\n this.size = 'normal';\n this.recaptchaType = ReCaptchaType.ReCaptcha2;\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n }\n ngOnDestroy() {\n window[this.windowOnErrorCallbackProperty] = {};\n window[this.windowOnExpireCallbackProperty] = {};\n }\n captchaSpecificSetup() {\n this.registerCallbacks();\n }\n /**\r\n * Gets reCaptcha properties\r\n */\n getCaptchaProperties() {\n return {\n 'sitekey': this.siteKey,\n 'callback': response => this.zone.run(() => this.handleCallback(response)),\n 'expired-callback': () => this.zone.run(() => this.handleExpireCallback()),\n 'error-callback': () => this.zone.run(() => this.handleErrorCallback()),\n 'theme': this.theme,\n 'type': this.type,\n 'size': this.size,\n 'tabindex': this.tabIndex\n };\n }\n /**\r\n * Registers global callbacks\r\n */\n registerCallbacks() {\n window[this.windowOnErrorCallbackProperty] = super.handleErrorCallback.bind(this);\n window[this.windowOnExpireCallbackProperty] = super.handleExpireCallback.bind(this);\n }\n }\n /** @nocollapse */\n /** @nocollapse */ReCaptcha2Component.ɵfac = function ReCaptcha2Component_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ReCaptcha2Component)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(ScriptService));\n };\n ReCaptcha2Component.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: ReCaptcha2Component,\n selectors: [[\"ngx-recaptcha2\"]],\n viewQuery: function ReCaptcha2Component_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.captchaWrapperElem = _t.first);\n }\n },\n inputs: {\n theme: \"theme\",\n size: \"size\"\n },\n standalone: false,\n features: [i0.ɵɵProvidersFeature([{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ReCaptcha2Component),\n multi: true\n }]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 2,\n vars: 0,\n consts: [[\"captchaWrapperElem\", \"\"]],\n template: function ReCaptcha2Component_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", null, 0);\n }\n },\n encapsulation: 2\n });\n return ReCaptcha2Component;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ReCaptchaV3Service = /*#__PURE__*/(() => {\n class ReCaptchaV3Service {\n constructor(scriptService, zone) {\n this.scriptService = scriptService;\n this.zone = zone;\n }\n /**\r\n * Executes reCaptcha v3/Enterprise with given action and passes token via callback. You need to verify\r\n * this callback in your backend to get meaningful results.\r\n *\r\n * For more information see https://developers.google.com/recaptcha/docs/v3\r\n * For enterprise see https://cloud.google.com/recaptcha-enterprise/docs\r\n *\r\n * @param siteKey Site key found in your google admin panel\r\n * @param action Action to log\r\n * @param callback Callback function to to handle token\r\n * @param config Optional configuration like useGlobalDomain to be provided\r\n * @param errorCallback Optional Callback function to handle errors\r\n */\n execute(siteKey, action, callback, config, errorCallback) {\n this.executeAsPromise(siteKey, action, config).then(callback).catch(error => errorCallback ? errorCallback(error) : console.error(error));\n }\n /**\r\n * Executes reCaptcha v3/Enterprise with given action and returns token via Promise. You need to verify\r\n * this token in your backend to get meaningful results.\r\n *\r\n * For more information see https://developers.google.com/recaptcha/docs/v3\r\n * For enterprise see https://cloud.google.com/recaptcha-enterprise/docs\r\n *\r\n * @param siteKey Site key found in your google admin panel\r\n * @param action Action to log\r\n * @param config Optional configuration like useGlobalDomain to be provided\r\n */\n executeAsPromise(siteKey, action, config) {\n return new Promise((resolve, reject) => {\n const configuration = config || {};\n const onRegister = grecaptcha => {\n this.zone.runOutsideAngular(() => {\n try {\n grecaptcha.execute(siteKey, {\n action\n }).then(token => this.zone.run(() => resolve(token)));\n } catch (error) {\n reject(error);\n }\n });\n };\n this.scriptService.registerCaptchaScript(configuration, siteKey, onRegister);\n });\n }\n }\n /** @nocollapse */\n /** @nocollapse */ReCaptchaV3Service.ɵfac = function ReCaptchaV3Service_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ReCaptchaV3Service)(i0.ɵɵinject(ScriptService), i0.ɵɵinject(i0.NgZone));\n };\n ReCaptchaV3Service.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ReCaptchaV3Service,\n factory: ReCaptchaV3Service.ɵfac,\n providedIn: \"root\"\n });\n return ReCaptchaV3Service;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet NgxCaptchaModule = /*#__PURE__*/(() => {\n class NgxCaptchaModule {}\n /** @nocollapse */\n /** @nocollapse */\n\n /** @nocollapse */NgxCaptchaModule.ɵfac = function NgxCaptchaModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NgxCaptchaModule)();\n };\n NgxCaptchaModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NgxCaptchaModule\n });\n NgxCaptchaModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [ScriptService, ReCaptchaV3Service],\n imports: [CommonModule]\n });\n return NgxCaptchaModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/*\r\n * Public API\r\n */\n\n/**\r\n * Generated bundle index. Do not edit.\r\n */\n\nexport { BaseReCaptchaComponentDirective, InvisibleReCaptchaComponent, NgxCaptchaModule, ReCaptcha2Component, ReCaptchaType, ReCaptchaV3Service, ScriptService };\n","import { DOCUMENT } from '@angular/common';\r\nimport { AfterViewInit, Component, Inject, Renderer2 } from '@angular/core';\r\nimport { UntilDestroy } from '@ngneat/until-destroy';\r\nimport { pcgSettings } from 'app/shared/generated/pcg-settings';\r\n\r\n@UntilDestroy()\r\n@Component({\r\n selector: 'meta-pixel',\r\n templateUrl: './meta-pixel.component.html',\r\n standalone: false\r\n})\r\n\r\n//Documentation link for Facebook Pixel:\r\n//https://developers.facebook.com/docs/facebook-pixel\r\n//https://developers.facebook.com/docs/meta-pixel/get-started\r\nexport class MetaPixelComponent implements AfterViewInit {\r\n\r\n\tconstructor(private renderer2: Renderer2, @Inject(DOCUMENT) private document: Document) { }\r\n\r\n\tngAfterViewInit() {\r\n\t\tif (pcgSettings.mode == 'Production') {\r\n\t\t\tlet script = this.renderer2.createElement('script');\r\n\t\t\tscript.type = `application/javascript`;\r\n\t\t\tscript.text = `\t\t\t\t\r\n !function(f,b,e,v,n,t,s)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(f.fbq)return;n=f.fbq=function(){n.callMethod?\r\n\t\t\t\t\tn.callMethod.apply(n,arguments):n.queue.push(arguments)\r\n\t\t\t\t};\r\n\t\t\t\tif(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\r\n\t\t\t\tn.queue=[];t=b.createElement(e);t.async=!0;\r\n\t\t\t\tt.src=v;s=b.getElementsByTagName(e)[0];\r\n\t\t\t\ts.parentNode.insertBefore(t,s)}(window, document,'script',\r\n\t\t\t\t'https://connect.facebook.net/en_US/fbevents.js');\r\n\t\t\t\tfbq('init', '974545107058270');\r\n\t\t\t\tfbq('track', 'PageView');\r\n\t\t\t`;\r\n\r\n\t\t\tlet noscript = this.renderer2.createElement('noscript');\r\n\t\t\tnoscript.innerHTML = ``;\r\n\r\n\t\t\tthis.renderer2.appendChild(this.document.body, this.renderer2.createComment('Start Facebook Pixel Code'));\r\n\t\t\tthis.renderer2.appendChild(this.document.body, script);\r\n\t\t\tthis.renderer2.appendChild(this.document.body, noscript);\r\n\t\t\tthis.renderer2.appendChild(this.document.body, this.renderer2.createComment('End Facebook Pixel Code'));\r\n\t\t}\r\n\t}\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { AfterViewInit, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { AbstractControl, UntypedFormControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { InvisibleReCaptchaComponent } from 'ngx-captcha';\r\n\r\nimport { EligibilityStatusEnum } from 'app/core/enums/generated/EligibilityStatusEnum';\r\nimport { SystemMessageService } from 'app/core/system-message/system-message-service';\r\nimport { PatientApplicationStatusEnum } from 'app/core/enums/generated/PatientApplicationStatusEnum';\r\nimport { validateForm } from 'app/shared/form-elements/form-validateForm.function';\r\nimport { PatientApplicationVm } from 'app/shared/generated/Models/Public/PatientApplicationVm';\r\nimport { environment } from 'environments/environment';\r\n\r\n@Component({\r\n selector: 'patient-application',\r\n templateUrl: './patient-application.component.html',\r\n styleUrls: ['./patient-application.component.scss'],\r\n standalone: false\r\n})\r\nexport class PatientApplicationComponent implements OnInit, AfterViewInit, OnDestroy {\r\n\r\n\t@ViewChild('captchaElem') captchaElem: InvisibleReCaptchaComponent;\r\n\tsiteKey: string = environment.siteKey; // should pick up environment specific siteKey\r\n\r\n\tpublic captchaIsLoaded = false;\r\n\tpublic captchaSuccess = false;\r\n\tpublic captchaResponse?: string;\r\n\tpublic captchaIsReady = false;\r\n\tpublic recaptcha: any = null;\r\n\tpublic execute: any;\r\n\temptyCaptcha: boolean = true;\r\n\thoneypotControl;\r\n\r\n\tid: number = 0;\r\n\tformGroup = PatientApplicationVm.Form;\r\n\tmodel = new PatientApplicationVm();\r\n\tcurrentDate: any = new Date();\r\n\tcanManualEntry = true;\r\n\tisSuccess = false;\r\n\tdisableSave = false;\r\n\tEligibilityStatusEnum = EligibilityStatusEnum;\r\n\tEligibilityDisplayText = \"Please indicate if you are: (check boxes that apply)\";\r\n\r\n\tphoneValidation = { pattern: \"Invalid phone number\" };\r\n\r\n\tconstructor(\r\n\t\tprivate route: ActivatedRoute\r\n\t\t, private httpClient: HttpClient\r\n\t\t, public router: Router\r\n\t\t, title: Title\r\n\t\t, private ms: SystemMessageService\r\n\t\t, private cdr: ChangeDetectorRef\r\n\t) { title.setTitle('Patient Application'); }\r\n\r\n\tngOnInit() {\r\n\t\tthis.getPatient();\r\n\r\n\t\tif (isNaN(this.id) || this.id == 0) {\r\n\t\t\tthis.setUpHoneyPot();\r\n\t\t\tthis.formGroup.addControl('recaptcha', new UntypedFormControl('', Validators.required));\r\n\t\t\tthis.formGroup.get('dateSigned').patchValue(this.currentDate.toLocaleString());\r\n\t\t\tthis.formGroup.get('applicationStatus').patchValue(PatientApplicationStatusEnum.New);\r\n\t\t\tthis.formGroup.get('eligibilityStatusId').setValue(null);\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tif (isNaN(this.id) || this.id == 0) {\r\n\t\t\tthis.captchaIsLoaded = true;\r\n\t\t\tthis.cdr.detectChanges();\r\n\t\t}\r\n\t}\r\n\r\n\tsetUpHoneyPot() {\r\n\t\tthis.formGroup.controls['honeyPot'].setValidators(this.requireFalse());\r\n\t\tthis.formGroup.updateValueAndValidity();\r\n\t}\r\n\r\n\trequireFalse(): ValidatorFn {\r\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\r\n\t\t\tif (control.value === true) { return { honeyPot: true }; }\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}\r\n\r\n\thandleReset() {\r\n\t\tthis.captchaSuccess = false;\r\n\t\tthis.captchaResponse = undefined;\r\n\t\tthis.cdr.detectChanges();\r\n\t}\r\n\r\n\thandleReady(): void {\r\n\t\tthis.captchaIsReady = true;\r\n\t\tthis.cdr.detectChanges();\r\n\t\tthis.execute = setInterval(() => {\r\n\t\t\tthis.captchaElem?.execute();\r\n\t\t\tthis.captchaElem?.getResponse() !== '' ? this.emptyCaptcha = false : this.emptyCaptcha = true;\r\n\t\t}, 5000);\r\n\t}\r\n\r\n\thandleLoad(): void {\r\n\t\tthis.captchaIsLoaded = true;\r\n\t\tthis.cdr.detectChanges();\r\n\t}\r\n\r\n\thandleSuccess(captchaResponse: string): void {\r\n\t\tthis.captchaSuccess = true;\r\n\t\tthis.captchaResponse = captchaResponse;\r\n\t\tthis.cdr.detectChanges();\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tclearInterval(this.execute);\r\n\t}\r\n\r\n\tgetPatient() {\r\n\t\tthis.route.paramMap.subscribe(map => {\r\n\t\t\tthis.id = parseInt(map.get('id'), 10);\r\n\r\n\t\t\tif (!isNaN(this.id) && this.id !== 0) {\r\n\t\t\t\tthis.httpClient.get(`api/RxConnects/Patient/GetPatientApplication/${this.id}`).subscribe((model: PatientApplicationVm) => {\r\n\t\t\t\t\tthis.formGroup.patchValue(model);\r\n\t\t\t\t\tthis.model = model;\r\n\t\t\t\t});\r\n\t\t\t\tthis.disableForm();\r\n\t\t\t} else {\r\n\t\t\t\tthis.formGroup.get('dateSigned').patchValue(this.currentDate.toLocaleString());\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tsavePatient() {\r\n\t\tif (this.formGroup.valid) {\r\n\t\t\tthis.ms.getHttpObservable(this, 'api/PatientApplication/SavePatient', this.formGroup).subscribe(msg => {\r\n\t\t\t\tif (msg.isSuccessful) {\r\n\t\t\t\t\tthis.isSuccess = true;\r\n\t\t\t\t\tthis.disableForm();\r\n\t\t\t\t} else { this.isSuccess = false; }\r\n\t\t\t});\r\n\t\t} else { validateForm(this.formGroup); }\r\n\t}\r\n\r\n\tdisableForm() {\r\n\t\tthis.formGroup.disable();\r\n\t\tthis.disableSave = true;\r\n\t\tclearInterval(this.execute);\r\n\t}\r\n\r\n\tupdateCounty() {\r\n\t\tconst address = this.formGroup.value.smartyAddress;\r\n\r\n\t\tif (address === null || address.countyName === null) { return; }\r\n\t\tthis.httpClient.get(`api/PatientApplication/GetCountyByName?countyName=${address.countyName}`).subscribe((countyId: number) => {\r\n\t\t\tif (countyId !== 0) {\r\n\t\t\t\tthis.formGroup.get('countyId').patchValue(countyId)\r\n\t\t\t\tdocument.getElementById('homePhone').focus();\r\n\t\t\t} else {\r\n\t\t\t\tthis.formGroup.get('countyId').patchValue(0)\r\n\t\t\t\tdocument.getElementById('countyId').focus();\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n","
\r\n\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t

PRESCRIPTION DRUG DONATION PROGRAM

\r\n\t\t\t

PATIENT APPLICATION

\r\n\t\t
\r\n\t
\r\n
\r\n
\r\n\t\r\n\t\r\n
\r\n\r\n
\r\n\t
\r\n\t\t
PATIENT INFORMATION
\r\n\t
\r\n\r\n\t
\r\n\t\t\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t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AAA,YAAAwG,EAAA1E,SAAA,EAsDI/B,EAAA,EAAA,EAAAC,EAAA,gBAAA,EAAA,EAAuB,iBAAA,EAAA,EACA,aAAA,EAAA,EAYvBD,EAAA,CAAA,EAAAC,EAAA,WAAA,EAAA,EAAkB,eAAA,EAAA,EAUnBD,EAAA,EAAAC,EAAA,cAAAwG,EAAA/D,eAAA,EAmBC1C,EAAA,CAAA,EAAAC,EAAA,WAAA,EAAA,EAAkB,eAAA,EAAA,EAWnBD,EAAA,EAAAC,EAAA,cAAAwG,EAAA/D,eAAA,EAsBE1C,EAAA,CAAA,EAAAC,EAAA,QAAA8G,EAAA,GAAAC,GAAAC,EAAA,GAAAC,EAAAT,EAAAjE,sBAAA2E,UAAAV,EAAAjE,sBAAA4E,QAAA,EAAAX,EAAAjE,sBAAA4E,QAAA,EAAAH,EAAA,GAAAC,EAAAT,EAAAjE,sBAAA2E,UAAAV,EAAAjE,sBAAA6E,6BAAA,EAAAZ,EAAAjE,sBAAA6E,6BAAA,EAAAJ,EAAA,GAAAC,EAAAT,EAAAjE,sBAAA2E,UAAAV,EAAAjE,sBAAA8E,mBAAA,EAAAb,EAAAjE,sBAAA8E,mBAAA,CAAA,CAAA,EAkEFtH,EAAA,EAAA,EAAAC,EAAA,OAAAwG,EAAAlE,WAAA,EAMiBvC,EAAA,EAAAC,EAAA,OAAA,CAAAwG,EAAAlE,WAAA,EAoClBvC,EAAA,CAAA,EAAAC,EAAA,OAAA,CAAAwG,EAAAlE,WAAA;kFDrPSxB,CAA2B,GAAA","names":["EligibilityStatusEnum","toDescription","val","toDisplay","PatientApplicationStatusEnum","toDescription","val","toDisplay","PatientApplicationVm","iD","firstName","lastName","addressId","smartyAddress","smartyAddressString","address","city","state","zip","countyId","county","homePhone","cellPhone","emailAddress","repositoryId","repository","eligibilityStatusId","signature","dateSigned","isAttested","honeyPot","applicationStatus","FormData","getFormData","validators","UntypedFormControl","Validators","required","maxLength","pattern","email","Form","UntypedFormGroup","GetModel","fg","PatientApplicationVmFromFg","constructor","get","value","val","setValue","_c0","ScriptService","zone","config","render","onLoad","language","scriptElem","elem","useEnterprise","hl","domain","api","callback","__ngFactoryType__","ɵɵinject","NgZone","ɵɵdefineInjectable","BaseReCaptchaComponentDirective","renderer","injector","scriptService","EventEmitter","val","NgControl","InjectFlags","changes","captchaElemId","captchaElem","grecaptcha","grecapcha","newElem","obj","fn","ɵɵdirectiveInject","Renderer2","Injector","ɵɵdefineDirective","ɵɵNgOnChangesFeature","ReCaptchaType","InvisibleReCaptchaComponent","response","ɵɵdefineComponent","rf","ctx","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵProvidersFeature","NG_VALUE_ACCESSOR","forwardRef","ɵɵInheritDefinitionFeature","ɵɵelement","ReCaptchaV3Service","scriptService","zone","siteKey","action","callback","config","errorCallback","error","resolve","reject","configuration","onRegister","grecaptcha","token","__ngFactoryType__","ɵɵinject","ScriptService","NgZone","ɵɵdefineInjectable","NgxCaptchaModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","MetaPixelComponent","renderer2","document","constructor","ngAfterViewInit","pcgSettings","mode","script","createElement","type","text","noscript","innerHTML","appendChild","body","createComment","ɵɵdirectiveInject","Renderer2","DOCUMENT","selectors","standalone","decls","vars","template","rf","ctx","encapsulation","__decorate","UntilDestroy","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ctx_r0","emptyCaptcha","ɵɵlistener","ɵɵrestoreView","_r2","ɵɵnextContext","ɵɵresetView","handleReset","handleReady","handleLoad","$event","handleSuccess","siteKey","PatientApplicationComponent","route","httpClient","router","ms","cdr","captchaElem","environment","captchaIsLoaded","captchaSuccess","captchaResponse","captchaIsReady","recaptcha","execute","honeypotControl","id","formGroup","PatientApplicationVm","Form","model","currentDate","Date","canManualEntry","isSuccess","disableSave","EligibilityStatusEnum","EligibilityDisplayText","phoneValidation","pattern","constructor","title","setTitle","ngOnInit","getPatient","isNaN","setUpHoneyPot","addControl","UntypedFormControl","Validators","required","get","patchValue","toLocaleString","PatientApplicationStatusEnum","New","setValue","ngAfterViewInit","detectChanges","controls","setValidators","requireFalse","updateValueAndValidity","control","value","honeyPot","undefined","setInterval","getResponse","ngOnDestroy","clearInterval","paramMap","subscribe","map","parseInt","disableForm","savePatient","valid","getHttpObservable","msg","isSuccessful","validateForm","disable","updateCounty","address","smartyAddress","countyName","countyId","document","getElementById","focus","ɵɵdirectiveInject","ActivatedRoute","HttpClient","Router","Title","SystemMessageService","ChangeDetectorRef","selectors","viewQuery","rf","ctx","ɵɵelement","ɵɵtemplate","PatientApplicationComponent_div_58_Template","PatientApplicationComponent_pcg_fixed_buttons_59_Template","PatientApplicationComponent_ngx_invisible_recaptcha_62_Template","ɵɵpureFunction3","_c2","ɵɵpureFunction2","_c1","toDisplay","Indigent","UnderinsuredBenefitsExhausted","UninsuredNoCoverage"],"x_google_ignoreList":[3]}