{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/footer/footer.component.html","webpack:///./src/app/footer/footer.component.ts","webpack:///./src/app/pharmacy/pharmacy.component.html","webpack:///./src/app/pharmacy/pharmacy.component.ts","webpack:///./src/app/privacy/privacy.component.html","webpack:///./src/app/privacy/privacy.component.ts","webpack:///./src/app/search-nav/search.component.html","webpack:///./src/app/search-nav/search.component.ts","webpack:///./src/app/services/api.service.ts","webpack:///./src/app/services/common.service.ts","webpack:///./src/app/services/google-analytics-service.service.ts","webpack:///./src/app/services/index.ts","webpack:///./src/app/services/medicin.service.ts","webpack:///./src/app/services/prerequisite.service.ts","webpack:///./src/app/services/save.service.ts","webpack:///./src/app/shared/error-popup/error-popup.component.html","webpack:///./src/app/shared/error-popup/error-popup.component.ts","webpack:///./src/app/shared/loader-popup/loader-popup.component.html","webpack:///./src/app/shared/loader-popup/loader-popup.component.ts","webpack:///./src/app/terms/terms.component.html","webpack:///./src/app/terms/terms.component.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts","webpack:///./src/ordinal-date.pipe.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kGCVgY;;;y+BAAiG,uLAAgE,0BAA9J,uBAAkB,EAArB,YAAiG,EAA9F,SAAkB,GAAC,kBAAmB,EAAzC,YAAiG,EAA3E,SAAmB,2BAAzC,oMAAiG;kGAA0E;;;y+BAAiF,2LAAoE,0BAAlJ,uBAAkB,EAArB,YAAiF,EAA9E,SAAkB,GAAC,kBAAmB,EAAzC,YAAiF,EAA3D,SAAmB,2BAAzC,oMAAiF;kGA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,CAAC,SAAI,KAAK,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,UAAK,KAAK,CAAC,WAAW,EAAI,CAAC;IAC9G,CAAC;IAEF,6BAAG,GAAH,UAAI,CAAC;QACJ,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE;YAAE,OAAO,IAAI,CAAC;QACjC,QAAQ,CAAC,GAAG,EAAE,EAAE;YACd,KAAK,CAAC,CAAC,CAAE,OAAO,IAAI,CAAC;YACrB,KAAK,CAAC,CAAC,CAAE,OAAO,IAAI,CAAC;YACrB,KAAK,CAAC,CAAC,CAAE,OAAO,IAAI,CAAC;YACrB,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC;SACtB;IACH,CAAC;IACD,sBAAC;AAAD,CAAC","file":"main.f9fc94ce0e232d3aa4da.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n \r\n \"Fit\r\n \r\n
\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n

General

\r\n
    \r\n
  • \r\n \r\n {{ sign_in_user_email }}\r\n
  • \r\n
  • \r\n \"\"\r\n My Cards\r\n
  • \r\n
\r\n

Security

\r\n
    \r\n
  • \r\n \"\"\r\n Change Password\r\n
  • \r\n
  • \r\n \"\"\r\n Logout\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n {{ message.text }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

\r\n Sign up to save upto 80% on Prescriptions!\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

Sign Up to {{ _AppName }}

\r\n
\r\n \r\n \r\n
\r\n {{ sign_up_email_error }}\r\n
\r\n \r\n \r\n
\r\n {{ sign_up_password_error }}\r\n
\r\n \r\n \r\n
\r\n {{ sign_up_cpassword_error }}\r\n
\r\n
\r\n
\r\n Sign Up\r\n
\r\n
\r\n Already have an account?\r\n Sign In here\r\n
\r\n
\r\n \r\n

\r\n By tapping Sign Up below, you confirm that you accept the\r\n Terms of Use.\r\n

\r\n
\r\n\r\n
\r\n
\r\n

Sign In to {{ _AppName }}

\r\n
\r\n \r\n \r\n
\r\n {{ sign_in_email_error }}\r\n
\r\n \r\n \r\n
\r\n {{ sign_in_password_error }}\r\n
\r\n Forgot Password\r\n
\r\n
\r\n Sign In\r\n
\r\n
\r\n Don’t have account ?\r\n Sign up here\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n

\r\n Congratulations! Your Access Code is now verified.\r\n

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Change Password

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{ current_password_error }}\r\n
\r\n \r\n \r\n \r\n
\r\n {{ new_password_error }}\r\n
\r\n \r\n \r\n \r\n
\r\n {{ c_new_password_error }}\r\n {{ change_password_error }}\r\n
\r\n Reset Password\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \"\"\r\n

Your password has been changed successfuly

\r\n Go to Sign In\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Forgot Password

\r\n
\r\n
\r\n \r\n \r\n {{ forgot_email_error }}\r\n
\r\n
\r\n
\r\n \r\n \r\n {{ input_otp_error }}\r\n
\r\n
\r\n\r\n
Submit
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
Skip Group Number
\r\n

Group Number

\r\n
\r\n
\r\n PTRX\r\n \r\n
\r\n {{ input_groupnumber_error }}\r\n
Submit
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Reset Password

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{ reset_new_password_error }}\r\n
\r\n \r\n \r\n \r\n
\r\n {{ reset_c_new_password_error }}\r\n {{ reset_update_password_error }}\r\n
\r\n Reset\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

{{ SelectedDrug }}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ SelectedDrug }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ DrugType }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item.text }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ DrugDose }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ DrugQuant }}\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n \r\n
\r\n \r\n {{ ZipCodeMessage }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Find the Lowest Price\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n

Enter a quantity

\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ Quantity_error }}\r\n
Submit
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n

A Special Message

\r\n

{{ PopDescText }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n

Step 1 out of 2

\r\n

Sign Up today & Earn Cash Every Time!

\r\n \r\n \r\n \r\n
\r\n \r\n
{{step1error}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n

Step 2 out of 2

\r\n

Create Username & Password

\r\n \r\n \r\n \r\n \r\n
Please be sure to check your spam folder as well!
\r\n
{{ste2error}}
\r\n \r\n\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n

You have been registered successfully. Check your email to activate your account.

\r\n

Please be sure to check your spam folder as well!

Sign In Now\r\n
\r\n
\r\n
\r\n Already have an account?\r\n Sign in here\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, OnDestroy, OnInit } from \"@angular/core\";\r\nimport { RouterModule, Routes, NavigationEnd, NavigationStart, RoutesRecognized, ActivationStart, ActivationEnd } from \"@angular/router\";\r\nimport { Http, Response, Headers, RequestOptions } from \"@angular/http\";\r\nimport { DOCUMENT, Location } from '@angular/common'; // <--- Here\r\nimport { map } from \"rxjs/operators\";\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { Subscription, from } from \"rxjs\";\r\nimport { MedicinService } from \"./services/index\";\r\nimport { PrerequisiteService } from \"./services/prerequisite.service\";\r\nimport { CommonService } from \"./services/common.service\";\r\nimport { } from \"googlemaps\";\r\nimport { GoogleAnalyticsService } from \"./services/google-analytics-service.service\";\r\nimport { Observable } from \"rxjs/Observable\";\r\n// import { timingSafeEqual } from 'crypto';\r\nimport { SaveService } from './services/save.service';\r\nimport { DomSanitizer, Meta, Title } from '@angular/platform-browser';\r\nimport { ApiService } from \"./services/api.service\";\r\nimport { filter } from \"rxjs/internal/operators/filter\";\r\nimport * as $ from \"jquery\";\r\n// import { debug } from \"console\";\r\nconst branch = window['branch']\r\n\r\n\r\n@Component({\r\n selector: \"app-root\",\r\n templateUrl: \"./app.component.html\",\r\n styleUrls: [\"./app.component.css\"],\r\n providers: [MedicinService, PrerequisiteService, CommonService, GoogleAnalyticsService, SaveService, Meta, Title]\r\n})\r\nexport class AppComponent implements OnInit {\r\n public deeplink_url: any;\r\n public success_group_validate: Boolean = false;\r\n public current_first_name: any;\r\n public current_last_name: any;\r\n public current_email: any;\r\n public incorrect_email: any;\r\n public incorrect_fullname: any;\r\n public incorrect_groupnumber: boolean = false;\r\n public current_group_number: string = \"\";\r\n public group_number: Boolean = false;\r\n public groupnumber: boolean = false;\r\n\r\n public daffiliate: boolean = true;\r\n public mobsuccess: boolean = false;\r\n public mobNavSearch: boolean = false;\r\n //-------------Top Search Implement Start Here--------------------\r\n public DrugNameTypeSingle: boolean = false;\r\n public DrugFormSingle: boolean = false;\r\n public DrugDoseSingle: boolean = false;\r\n public ShowDisplay: boolean = false;\r\n public ShowDrugdetails: boolean = false;\r\n private SearchText: any;\r\n private accessloader: boolean = false\r\n public NoDrugsFound: boolean = false;\r\n public Quantity_error: string = \"\";\r\n public Quantity_Manual: string = '';\r\n public ManualQuantity_box: boolean = false;\r\n public searchtextbox_error: string = \"\";\r\n public Enter_Zip: boolean = false;\r\n public ShowRecentSearch: boolean = false;\r\n public SelectedDrug: string = \"\";\r\n selectedValue: string;\r\n optionlist: any[] = [];\r\n SerachList: any = [];\r\n DrugDetailsResponseData: any = [];\r\n DoseDescriptor_JSON: any;\r\n DrugDetails: any;\r\n values: any;\r\n hideme = [];\r\n coordinates: any = [];\r\n DrugTypeList: any = [];\r\n DrugDoseList: any = [];\r\n DrugQuantityList: any = [];\r\n _NameFilterForQuantity: any = [];\r\n DrugDoseDescriptorList: any = [];\r\n LocationPermission: any = [];\r\n FormDoseData: any = [];\r\n ResponseData: any = [];\r\n PresetDrugData: any = [];\r\n public DrugConfigList: any = [];\r\n DrugDoseListCount: any;\r\n BrandType: boolean = false;\r\n GenericType: boolean = false;\r\n IsPresetFound: boolean = false;\r\n public ShowBrandDetails: boolean = false;\r\n public ShowGenericDetails: boolean = false;\r\n public DoseFormSingle: any = false;\r\n public StrengthSingle: any = false;\r\n public ShowDetails: boolean = false;\r\n public DrugName: string = \"\";\r\n public DrugCat: string = \"\";\r\n public DrugDose: string = \"\";\r\n public DrugQuant: any;\r\n\r\n public DrugType: string = \"\";\r\n public _IsBack: string = \"No\";\r\n public unregisterBackButtonAction: any;\r\n public Latitude: string = \"\";\r\n public Longitude: string = \"\";\r\n public Swap_Drug_With_MultiSource: string = \"\";\r\n public _UserZip = \"\";\r\n public _CurrLocation: string = \"\";\r\n public ZipCodeMessage: string = \"\";\r\n public IsAutoLocation: string = \"N/A\";\r\n public PopupImage64: any;\r\n public PopDescText: any;\r\n public AffiliatePopUp: boolean = false;\r\n //-------------Top Search Impelmet End Here----------\r\n private email_REGEX = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/;\r\n\r\n private sign_in_error = \"\";\r\n private sign_up_error = \"\";\r\n private sign_in_email: string = \"\";\r\n private sign_in_password: string = \"\";\r\n private sign_in_email_error: string = \"\";\r\n private sign_in_password_error: string = \"\";\r\n public sign_in_user_email: string = \"\";\r\n\r\n private sign_up_email: string = \"\";\r\n private sign_up_password: string = \"\";\r\n private sign_up_cpassword: string = \"\";\r\n private sign_up_email_error: string = \"\";\r\n private sign_up_password_error: string = \"\";\r\n private sign_up_cpassword_error: string = \"\";\r\n\r\n private current_password: string = \"\";\r\n private new_password: string = \"\";\r\n private c_new_password: string = \"\";\r\n private current_password_error: string = \"\";\r\n private new_password_error: string = \"\";\r\n private c_new_password_error: string = \"\";\r\n\r\n private forgot_email: string = \"\";\r\n private forgot_email_error: string = \"\";\r\n\r\n private forgot_new_password: string = \"\";\r\n private forgot_new_password_error: string = \"\";\r\n\r\n public Email_OTP_Input: string = \"\";\r\n private input_otp: string = \"\";\r\n private input_otp_error: string = \"\";\r\n private _CurrentUserId: string = \"\";\r\n public change_password_error: string = \"\";\r\n\r\n private reset_new_password: string = \"\";\r\n private reset_c_new_password: string = \"\";\r\n private reset_new_password_error: string = \"\";\r\n private reset_c_new_password_error: string = \"\";\r\n private reset_update_password_error: string = \"\";\r\n\r\n showloginbox = false;\r\n signup_fields = false;\r\n signin_fields = false;\r\n resetpassword_Box = false;\r\n public isLoggedin: any = false;\r\n public notLoggedin: any = true;\r\n public menubar: any = true;\r\n public _AppName: string = \"\";\r\n public _AppEmail: string = \"\";\r\n messages: any[] = [];\r\n subscription: Subscription;\r\n\r\n SearchList: any = [];\r\n public DisplayBindList: boolean = false;\r\n changepassword: any = false;\r\n forgotpassword_box: any = false;\r\n otp_sent: any = false;\r\n public Group_Number_Box: boolean = false;\r\n public InputGroupNumber: string = \"\";\r\n public input_groupnumber_error: string = \"\";\r\n asideVisible: boolean;\r\n public logo: any;\r\n timiheader: boolean = false;\r\n signupform: any = false;\r\n step1signup: any = true;\r\n step2signup: any = false;\r\n fname: any = \"\";\r\n lname: any = \"\";\r\n phoneno: any = \"\";\r\n emailid: any = \"\";\r\n step1error: any = \"\";\r\n username: any = \"\";\r\n password: any = \"\";\r\n confirmpassword: any = \"\";\r\n checkboxconfirm: any = false;\r\n ste2error: any = \"\";\r\n signupsucess: any = false;\r\n loaderstart: any = false;\r\n baseurlbackoffice: any = \"\"\r\n constructor(\r\n public ApiService: ApiService,\r\n private ms: MedicinService,\r\n private rs: PrerequisiteService,\r\n public router: Router,\r\n private sidebarService: CommonService,\r\n private googleAnalyticsService: GoogleAnalyticsService,\r\n private location: Location,\r\n public SaveService: SaveService,\r\n public activatedRoute: ActivatedRoute,\r\n private sanitizer: DomSanitizer,\r\n private titleService: Title,\r\n private metaService: Meta,\r\n @Inject(DOCUMENT) private dom\r\n ) {\r\n window.localStorage.setItem('UserCharId', '100-4542');\r\n this.AffiliatePopUp = false;\r\n this.GetUserLoggedInStatus();\r\n window.localStorage.setItem('WhiteName', 'NuLifeSpan Rx');\r\n this._AppName = window.localStorage.getItem('WhiteName');\r\n this._AppEmail = window.localStorage.getItem('WhiteEmail');\r\n this.AppInitialize();\r\n this.subscription = this.ms.getMessage().subscribe(message => {\r\n if (message) {\r\n this.messages.push(message);\r\n } else {\r\n // clear messages when empty message received\r\n this.messages = [];\r\n }\r\n });\r\n\r\n this.router.routeReuseStrategy.shouldReuseRoute = function () {\r\n return false;\r\n }\r\n\r\n this.router.events.subscribe((evt) => {\r\n if (evt instanceof NavigationEnd) {\r\n // trick the Router into believing it's last link wasn't previously loaded\r\n this.router.navigated = false;\r\n // if you need to scroll back to top, here is the right place\r\n window.scrollTo(0, 0);\r\n }\r\n });\r\n\r\n\r\n this.sidebarService.sidebarVisibilityChange.subscribe(value => {\r\n this.menubar = false;\r\n this.DisplayBindList = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n });\r\n this.sidebarService.pharmacytoapp.subscribe(value => {\r\n this.menubar = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n });\r\n\r\n let stext = this.location.path().replace('/', '');\r\n if (stext === 'stext') {\r\n } else {\r\n // this.Page_Forward(stext);\r\n }\r\n router.events.subscribe((val) => {\r\n // see also \r\n $('.fnewss').hide();\r\n $('#newsvalidator').hide();\r\n $('.newsLetter').removeAttr('style');\r\n });\r\n }\r\n get apptoHome(): boolean {\r\n return this.sidebarService.apptoHome;\r\n }\r\n ngOnDestroy() {\r\n // unsubscribe to ensure no memory leaks\r\n this.subscription.unsubscribe();\r\n }\r\n updateCanonicalUrl(url: string) {\r\n const head = this.dom.getElementsByTagName('head')[0];\r\n var element: HTMLLinkElement = this.dom.querySelector(`link[rel='canonical']`) || null\r\n if (element == null) {\r\n element = this.dom.createElement('link') as HTMLLinkElement;\r\n head.appendChild(element);\r\n }\r\n element.setAttribute('rel', 'canonical')\r\n element.setAttribute('href', url)\r\n }\r\n removeGroupNumber() {\r\n this.groupnumber = false;\r\n }\r\n setGroupNumber() {\r\n this.accessloader = true\r\n this.incorrect_email =\r\n this.incorrect_groupnumber =\r\n this.incorrect_fullname = false;\r\n\r\n if (!!this.current_first_name && !!this.current_last_name) {\r\n //\r\n } else {\r\n this.incorrect_fullname = true;\r\n this.accessloader = false\r\n return 0;\r\n }\r\n\r\n if (!!this.current_email) {\r\n this.email_REGEX = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/;\r\n if (this.email_REGEX.test(this.current_email) == false) {\r\n this.incorrect_email = true;\r\n this.accessloader = false\r\n return 0;\r\n }\r\n } else {\r\n this.incorrect_email = true;\r\n this.accessloader = false\r\n return 0;\r\n }\r\n\r\n this.ms\r\n .GNValidate(window.localStorage.getItem('UserGroup'))\r\n .pipe(map((res) => res.json()))\r\n .subscribe(\r\n (data) => {\r\n if (data.length > 0) {\r\n if (!data[0].Status) {\r\n console.log(\"Incorrect group number\");\r\n this.incorrect_groupnumber = true;\r\n // this.input_groupnumber_error = \"* \" + data[0].StatusMessage;\r\n // $(\"#InputGroup\").parent().addClass(\"error_msg\");\r\n } else if (data[0].Status) {\r\n this.incorrect_email = this.incorrect_fullname = this.incorrect_groupnumber = false;\r\n window.localStorage.setItem(\"UserGroup\", data[0].GroupNumber.toUpperCase());\r\n window.localStorage.setItem(\"UserEmail\", this.current_email);\r\n window.localStorage.setItem(\"FirstName\", this.current_first_name);\r\n window.localStorage.setItem(\"LastName\", this.current_last_name);\r\n // this.ms.sendGrid(this.current_first_name, this.current_last_name, this.current_email, this.current_group_number, this.deeplink_url);\r\n\r\n this.checkGno_DeeplinkURL();\r\n try {\r\n\r\n this.AddUserToSendGrid(this.current_email, this.current_first_name, this.current_last_name, this.current_group_number, this.deeplink_url);\r\n\r\n } catch (error) {\r\n console.log(\"Incorrect gno\");\r\n this.incorrect_email = true;\r\n this.input_groupnumber_error = \"* Invalid Group Number\";\r\n\r\n }\r\n // this.success_group_validate = true;\r\n // setTimeout(() => {\r\n // this.success_group_validate = false;\r\n // this.groupnumber = false;\r\n // }, 4000);\r\n }\r\n } else {\r\n console.log(\"Incorrect gno\");\r\n\r\n this.input_groupnumber_error = \"* Invalid Group Number\";\r\n // window.localStorage.setItem(\"UserGroup\", \"False\");\r\n // $(\"#InputGroup\").parent().addClass(\"error_msg\");\r\n }\r\n this.accessloader = false\r\n },\r\n (error) => {\r\n this.accessloader = false\r\n }\r\n );\r\n // window.localStorage.setItem(\"UserGroup\", this.current_group_number);\r\n }\r\n\r\n header_full = false;\r\n littleAngleHeader = false;\r\n petPrescriptionsHeader = false;\r\n ngOnInit() {\r\n this.baseurlbackoffice = location.host == 'nulifespanrx.com' || location.host == 'www.nulifespanrx.com/' ? 'https://backoffice.nulifespanrx.com/consumerlogin' : 'https://dev-backoffice.nulifespanrx.com/consumerlogin'\r\n\r\n\r\n // Branch.io - DeepLinks\r\n branch.init('key_live_lbXolbDtIwF37r4MOW84yjaoqqo3SCSl', function (err, data) {\r\n let referral_link = data.data_parsed['~referring_link'];\r\n let group_no = data.data_parsed.Group_no;\r\n console.log('status of group no ====>' + group_no)\r\n // if (!group_no) {\r\n console.log(\"Branch Data Received\");\r\n console.log(data.data_parsed);\r\n console.log(\"Group Number: \", group_no.toUpperCase());\r\n window.localStorage.setItem(\"UserGroup\", group_no.toUpperCase());\r\n // } else {\r\n // console.log(\"Undefined Group Number\");\r\n // window.localStorage.setItem(\"UserGroup\", 'RXH1234');\r\n // }\r\n \r\n\r\n if (!!referral_link) {\r\n window.localStorage.setItem(\"DeepLinkURL\", referral_link);\r\n } else {\r\n console.log(\"Undefined Referral Link\")\r\n }\r\n });\r\n //if (window.location.host.split('.').length == 3 && window.location.host !== \"rxh.patientrxdiscount.com\") {\r\n // this.ms.setGroupOnInit().pipe(map(res => res.json()))\r\n // .subscribe(data => {\r\n // data.length ? window.localStorage.setItem(\"UserGroup\", data[0].groupNumber) : window.location.href = \"//nulifespanrx.com\";\r\n // });\r\n //}\r\n ;\r\n let getsubmitted = window.localStorage.getItem('formsubmitted')\r\n if (getsubmitted) {\r\n this.groupnumber = false;\r\n }\r\n $(document).on('click', '.serachlist ul li', () => {\r\n ;\r\n let getsubmittedd = window.localStorage.getItem('formsubmitted')\r\n if (getsubmittedd) {\r\n this.groupnumber = false;\r\n }\r\n else {\r\n this.groupnumber = true;\r\n }\r\n\r\n })\r\n\r\n this.router.events.subscribe(event => {\r\n let url = this.router.url;\r\n if (url == \"/fit-economy\" || url == \"/pricing\" || url == \"/terms\" || url == \"/privacy\" || url == \"/program\" || url == \"/drugs\") {\r\n $('body').addClass('menu-alter');\r\n } else {\r\n $('body').removeClass('menu-alter');\r\n }\r\n })\r\n\r\n this.router.events.subscribe(event => {\r\n let url = this.router.url;\r\n if (url == \"/Pharmacy\" || url == \"/MyCards\" || url == \"/termsofuse\" || url.includes('_branch_match_id')) {\r\n this.header_full = true;\r\n console.log('Header: ' + this.header_full);\r\n } else this.header_full = false;\r\n })\r\n\r\n this.router.events.subscribe(event => {\r\n // let url = this.router.url;\r\n // if (url == \"/littleAngleHands\") {\r\n // this.littleAngleHeader = true;\r\n // console.log('Header: ' + this.littleAngleHeader);\r\n // window.localStorage.setItem(\"UserGroup\", 'HELP777');\r\n // } \r\n if (event instanceof NavigationStart) {\r\n if (event.url === '/little-angel-hands') {\r\n this.littleAngleHeader = true\r\n } else {\r\n this.littleAngleHeader = false\r\n }\r\n }\r\n })\r\n this.router.events.subscribe(event => {\r\n let deeplnkurl = window.localStorage.getItem(\"DeepLinkURL\");\r\n let url = this.router.url;\r\n if (url == \"/little-angel-hands\") {\r\n if(!deeplnkurl) {\r\n window.localStorage.setItem(\"UserGroup\", 'HELP777');\r\n }\r\n }\r\n })\r\n this.router.events.subscribe(event => {\r\n let deeplnkurl = window.localStorage.getItem(\"DeepLinkURL\");\r\n let url = this.router.url;\r\n if (url == \"/Underinsured\") {\r\n if(!deeplnkurl) {\r\n window.localStorage.setItem(\"UserGroup\", 'RXH1234');\r\n }\r\n }\r\n })\r\n this.router.events.subscribe(event => {\r\n let url = this.router.url;\r\n let deeplnkurl = window.localStorage.getItem(\"DeepLinkURL\");\r\n if (url == \"/pet-prescriptions\") {\r\n if(!deeplnkurl) {\r\n window.localStorage.setItem(\"UserGroup\", 'PET123');\r\n }\r\n }\r\n })\r\n this.router.events.subscribe(event => {\r\n let url = this.router.url;\r\n let deeplnkurl = window.localStorage.getItem(\"DeepLinkURL\");\r\n if (url == \"/Home\" || url == \"/MyCards\") {\r\n if(!deeplnkurl) {\r\n window.localStorage.setItem(\"UserGroup\", 'RXH1234');\r\n }\r\n }\r\n })\r\n // this.router.events.subscribe(event => {\r\n // let url = this.router.url;\r\n // if (url == \"/petPrescriptions\") {\r\n // this.petPrescriptionsHeader = true;\r\n // console.log('Header: ' + this.petPrescriptionsHeader);\r\n // } else this.petPrescriptionsHeader = false;\r\n // })\r\n\r\n\r\n // this.router.events.subscribe((event: NavigationStart) => {\r\n // if (event.url !== \"/Pharmacy\") {\r\n // console.log(event.url);\r\n // this.header_full = false;\r\n // }\r\n // })\r\n\r\n\r\n try {\r\n if (window.location.pathname === '/domain-affiliate') {\r\n this.daffiliate = false;\r\n }\r\n }\r\n catch { }\r\n try {\r\n $(\"#newsvalidator\").text('').prev().removeAttr('syle');\r\n }\r\n catch { }\r\n\r\n $('.navbar-nav a').click(function () {\r\n $('.navbar-nav a').removeClass('home-active');\r\n });\r\n var path = window.location.pathname.split(\"/\").pop();\r\n if (path == '') {\r\n $('.navbar-nav li:first-child a').addClass('home-active');\r\n }\r\n this.logo = this.SaveService.getLogo();\r\n try {\r\n this.logo = this.SaveService.getLogo();\r\n let googleMapsScript = document.createElement('script')\r\n googleMapsScript.setAttribute('src', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyAuNL17CjdSdiDc3fQ46T6Sy2oB2UPuLB0')\r\n document.head.appendChild(googleMapsScript)\r\n }\r\n catch { }\r\n this.lastLoginStatus();\r\n try {\r\n $('.navbar-nav').removeClass('pad0');\r\n $('.navbar-nav').addClass('pad25');\r\n this.menubar = false;\r\n $('.navbar-nav').css({});\r\n $('.menu_main').css({ 'display': 'none' });\r\n }\r\n catch { }\r\n try {\r\n let status = window.localStorage.getItem('SkipSignup');\r\n if (status == 'loggedin') {\r\n this.isLoggedin = true;\r\n this.sign_in_user_email = window.localStorage.getItem('UserEmail');\r\n this.notLoggedin = false;\r\n } else {\r\n this.isLoggedin = false;\r\n this.notLoggedin = true;\r\n }\r\n }\r\n catch { }\r\n // return this.subscription;\r\n // signin_fields\r\n // signup_fields\r\n $(document).on(\"click\", \".userArea\", function () {\r\n $(\".sortby\").click();\r\n $(\".sortby\").click();\r\n });\r\n $(document).on(\"click\", \".input_box > div i\", function () {\r\n if (\r\n $(this)\r\n .parent()\r\n .find(\"input\")\r\n .attr(\"type\") == \"password\"\r\n ) {\r\n $(this)\r\n .parent()\r\n .find(\"input\")\r\n .attr(\"type\", \"text\");\r\n } else {\r\n $(this)\r\n .parent()\r\n .find(\"input\")\r\n .attr(\"type\", \"password\");\r\n }\r\n });\r\n $(window).on(\"click\", () => {\r\n this.menubar = false;\r\n this.ShowDisplay = false;\r\n this.DisplayBindList = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n this.hideme = [];\r\n });\r\n $(document).on(\"click\", \"header\", function () {\r\n $(\".type_list\").hide();\r\n });\r\n let vh = window.innerHeight * 0.01;\r\n // Then we set the value in the --vh custom property to the root of the document\r\n document.documentElement.style.setProperty('--vh', `${vh}px`);\r\n // For routes\r\n\r\n var self = this;\r\n $(document).on(\"click\", \"#CheckLoginState\", function () {\r\n console.log(\"click\");\r\n self.getLoginState();\r\n return 0;\r\n });\r\n\r\n this.router.events.subscribe(\r\n (event) => {\r\n if (event instanceof NavigationStart) {\r\n if (event.url === '/fit-economy') {\r\n this.timiheader = true\r\n } else {\r\n this.timiheader = false\r\n }\r\n }\r\n if (event instanceof ActivationEnd) {\r\n let data = event.snapshot.data\r\n if (data.canonical) {\r\n this.updateCanonicalUrl(window.location.origin + data.canonical);\r\n } else {\r\n this.updateCanonicalUrl(window.location.origin + this.router.url);\r\n }\r\n if (data.title) {\r\n this.titleService.setTitle(data.title)\r\n }\r\n if (data.description) {\r\n this.metaService.updateTag({ name: 'description', content: data.description })\r\n } else {\r\n this.metaService.removeTag(\"name='description'\")\r\n }\r\n if (data.robots) {\r\n this.metaService.updateTag({ name: 'robots', content: data.robots })\r\n } else {\r\n this.metaService.updateTag({ name: 'robots', content: \"follow,index\" })\r\n }\r\n if (data.ogUrl) {\r\n this.metaService.updateTag({ property: 'og:url', content: data.ogUrl })\r\n } else {\r\n this.metaService.updateTag({ property: 'og:url', content: this.router.url })\r\n }\r\n if (data.ogTitle) {\r\n this.metaService.updateTag({ property: 'og:title', content: data.ogTitle })\r\n } else {\r\n this.metaService.updateTag({ property: 'og:title', content: data.title })\r\n }\r\n if (data.ogDescription) {\r\n this.metaService.updateTag({ property: 'og:description', content: data.ogDescription })\r\n } else {\r\n this.metaService.updateTag({ property: 'og:description', content: data.description })\r\n }\r\n if (data.ogImage) {\r\n this.metaService.updateTag({ property: 'og:image', content: data.ogImage })\r\n } else {\r\n this.metaService.removeTag(\"property='og:image'\")\r\n }\r\n }\r\n });\r\n }\r\n\r\n AddUserToSendGrid(email, fname, lname, groupnumber, deeplink_url) {\r\n this.ApiService.addtocontact(email,\r\n fname,\r\n lname,\r\n groupnumber,\r\n deeplink_url\r\n )\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data[0].statuscode == 1) {\r\n\r\n window.localStorage.setItem(\"UserEmail\", email);\r\n window.localStorage.setItem(\"FirstName\", fname);\r\n window.localStorage.setItem(\"LastName\", lname);\r\n $(event.target).removeClass(\"loader\");\r\n if (!!deeplink_url) {\r\n console.log(\"has deeplink\");\r\n this.ApiService.SaveDeeplink(email,\r\n fname,\r\n lname,\r\n groupnumber,\r\n deeplink_url).pipe(map((res) => res.json()))\r\n .subscribe((data2) => {\r\n console.log(\"dl done\", data2);\r\n })\r\n }\r\n setTimeout(() => {\r\n let gn = window.localStorage.getItem(\"UserGroup\");\r\n this.group_number = !!gn ? false : true;\r\n }, 4500);\r\n\r\n this.success_group_validate = true;\r\n setTimeout(() => {\r\n this.success_group_validate = false;\r\n this.groupnumber = false;\r\n this.current_group_number = this.current_email = this.current_first_name = this.current_last_name = null;\r\n window.localStorage.setItem('formsubmitted', 'yes')\r\n }, 3000);\r\n }\r\n else {\r\n console.log(\"No result\");\r\n console.log(\"Data: \", data);\r\n }\r\n });\r\n }\r\n getLoginState() {\r\n let gn = window.localStorage.getItem(\"UserGroup\");\r\n this.group_number = !!gn ? false : true;\r\n\r\n this.incorrect_email =\r\n this.incorrect_groupnumber =\r\n this.incorrect_fullname = false;\r\n\r\n var user_email = window.localStorage.getItem(\"UserEmail\");\r\n var group_number = window.localStorage.getItem(\"UserGroup\");\r\n var first_name = window.localStorage.getItem(\"FirstName\");\r\n var last_name = window.localStorage.getItem(\"LastName\");\r\n // var skip_signup = window.localStorage.getItem(\"SkipSignup\");\r\n\r\n if (!!user_email) {\r\n this.current_email = user_email;\r\n }\r\n\r\n if (!!first_name) {\r\n this.current_first_name = first_name;\r\n }\r\n\r\n if (!!last_name) {\r\n this.current_last_name = last_name;\r\n }\r\n if (!!group_number) {\r\n this.current_group_number = group_number;\r\n }\r\n\r\n if (!!group_number && !!user_email && !!first_name && !!last_name) {\r\n // If Group Number, Email, First/Last name exists, Do nothing\r\n } else {\r\n this.groupnumber = true;\r\n }\r\n }\r\n Page_Forward(stext: string) {\r\n if (stext != '') {\r\n this.ms.GetDomainAffiliate(stext).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data.length > 0) {\r\n window.localStorage.setItem('UserGroup', data[0].group);\r\n window.localStorage.setItem('URLpcn', data[0].pcn);\r\n if (window.localStorage.getItem('AffiliatePopUpShown') != \"Yes\") {\r\n if (data[0].image64) {\r\n try {\r\n this.PopupImage64 = data[0].image64;\r\n this.PopDescText = data[0].desc;\r\n this.AffiliatePopUp = true;\r\n window.localStorage.setItem('AffiliatePopUpShown', 'Yes');\r\n }\r\n catch { }\r\n }\r\n }\r\n }\r\n else {\r\n }\r\n });\r\n }\r\n //if(apptext.toLowerCase()==\"atest\"){\r\n //this.router.navigate([\"/domain\"],{ state: { GN: 'PTRX5389',PCN:'HD' } });\r\n //}\r\n }\r\n\r\n imagetransform() {\r\n return this.sanitizer.bypassSecurityTrustResourceUrl('data:image/png;base64, ' + this.PopupImage64.replace(' ', '+'));\r\n }\r\n Close_Affiliate() {\r\n this.AffiliatePopUp = false;\r\n }\r\n slideToggle() {\r\n try {\r\n this.humbergMenu()\r\n }\r\n catch { }\r\n }\r\n humbergMenu() {\r\n if (window.innerWidth <= 768) {\r\n $('.mMenu').fadeToggle('slow');\r\n this.mobsuccess = false;\r\n // $('.mMenu').toggle('slow').animate({left:'0'});\r\n }\r\n }\r\n onResize(event) {\r\n if (window.innerWidth > 768) {\r\n $('.mMenu').hide();\r\n }\r\n }\r\n inputBoxMobile() {\r\n if (window.innerWidth <= 768) {\r\n this.mobNavSearch = !this.mobNavSearch;\r\n }\r\n }\r\n //check login status last time\r\n lastLoginStatus() {\r\n let getUserEmail = window.localStorage.getItem('UserEmail');\r\n let getUserId = window.localStorage.getItem('UserId');\r\n try {\r\n if (this.ms.IsNullOrEmptyField(getUserEmail) == false && this.ms.IsNullOrEmptyField(getUserId) == false) {\r\n this.ms.lastLoginStatus(getUserId, getUserEmail)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data.length > 0) {\r\n window.localStorage.setItem(\"UserId\", data[0].UserId);\r\n window.localStorage.setItem(\"UserCharId\", '100-4542');\r\n let DAGroup = window.localStorage.getItem(\"UserGroup\");\r\n if (!DAGroup) {\r\n // window.localStorage.setItem(\"UserGroup\", DAGroup);\r\n }\r\n window.localStorage.setItem(\"UserEmail\", data[0].UserEmail);\r\n window.localStorage.setItem(\"SkipSignup\", \"loggedin\");\r\n $(\".close_search_pharmacy_popup\").click();\r\n this.isLoggedin = true;\r\n this.notLoggedin = false;\r\n setTimeout(() => {\r\n $(\".homepage\").addClass(\"loggedin_header\");\r\n $(\".pharmacyPage\").addClass(\"loggedin_header\");\r\n }, 300);\r\n this.menubar = false;\r\n this.sign_in_user_email = window.localStorage.getItem(\r\n \"UserEmail\"\r\n );\r\n }\r\n else {\r\n this.menubar = false;\r\n this.router.navigate([\"/\"]);\r\n }\r\n },\r\n error => {\r\n });\r\n } else {\r\n\r\n }\r\n }\r\n catch {\r\n }\r\n\r\n }\r\n\r\n hidemenubar() {\r\n this.menubar = !this.menubar;\r\n $(\".type_list\").hide();\r\n if ($(window).width() <= 768) {\r\n if (this.menubar) {\r\n $(\".menu_main\").addClass(\"st-effect-10\");\r\n } else {\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n }\r\n } else {\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n }\r\n this.sidebarService.toggleapptohome();\r\n }\r\n\r\n getNotification(evt) {\r\n // Do something with the notification (evt) sent by the child!\r\n }\r\n\r\n openlogin_signup(event, val) {\r\n this.removeStyle(val);\r\n this.ClearErrorMessage();\r\n this.ms.Getsignup();\r\n if (val == \"sign_up\") {\r\n this.ms.Setsignup(true, true, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n }\r\n else if (val == \"my_cards\") {\r\n if (this.rs.GetUserLoggedInStatus() == \"signupscreen\") {\r\n this.ms.Setsignup(true, true, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n return false;\r\n }\r\n if (window.localStorage.getItem('UserGroup') == null || window.localStorage.getItem('UserGroup') == \"False\" || window.localStorage.getItem('UserGroup') == \"null\" || window.localStorage.getItem('UserGroup') == \"\") {\r\n this.Group_Number_Box = true;\r\n // $(\".TestGroup a\")[0].click();\r\n return false;\r\n }\r\n else {\r\n this.router.navigate([\"/MyCards\"]);\r\n }\r\n }\r\n else if (val == \"groupnumber\") {\r\n this.Group_Number_Box = true;\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n } else {\r\n this.ms.Setsignup(true, false, true);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n }\r\n // ie fix issue\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n var ff = ua.indexOf('Firefox');\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./) || edge > 0 || ff > 0) // If Internet Explorer, return version number\r\n {\r\n if (val == \"my_cards\" || val == \"home_screen\") {\r\n $(\".ie_fixed_add_n, #Signin_Signup_Header\").removeAttr(\"style\");\r\n }\r\n }\r\n }\r\n removesignup(event) {\r\n this.ms.Setsignup(false, false, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n ClearErrorMessage() {\r\n this.sign_in_email_error = \"\";\r\n this.sign_in_password_error = \"\";\r\n this.sign_up_email_error = \"\";\r\n this.sign_up_password_error = \"\";\r\n this.sign_up_cpassword_error = \"\";\r\n this.sign_in_email = \"\";\r\n this.sign_in_password = \"\";\r\n this.sign_up_email = \"\";\r\n this.sign_up_password = \"\";\r\n this.sign_up_cpassword = \"\";\r\n this.input_groupnumber_error = \"\";\r\n this.current_password_error = \"\";\r\n this.new_password_error = \"\";\r\n this.c_new_password_error = \"\";\r\n this.sign_in_error = null;\r\n this.sign_up_error = \"\";\r\n }\r\n ClearErrorMessage_InputGroup() {\r\n this.input_groupnumber_error = \"\";\r\n $(\"#InputGroup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n\r\n Keyup_ClearField(event: any) {\r\n this.sign_up_error = null;\r\n if (event.target.name == \"email_signin\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.sign_in_email_error = \"\";\r\n $(\"#email_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.sign_in_email_error = \"Email Id is required\";\r\n $(\"#email_signin\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"email_signup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.sign_up_email_error = \"\";\r\n $(\"#email_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.sign_up_email_error = \"Email Id is required\";\r\n $(\"#email_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"password_signin\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.sign_in_password_error = \"\";\r\n $(\"#password_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n // else {\r\n // this.sign_in_password_error = \"Password is required\";\r\n // $(\"#password_signin\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // }\r\n\r\n }\r\n else if (event.target.name == \"password_signup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.sign_up_password_error = \"\";\r\n $(\"#password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n // this.sign_up_password_error = \"Password is required\";\r\n // $(\"#password_signup\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n }\r\n // if (this.ms.IsNullOrEmptyField(this.sign_up_cpassword) == false)\r\n // this.sign_up_cpassword_error = \"\";\r\n } else if (event.target.name == \"c_password_signup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.sign_up_cpassword_error = \"\";\r\n $(\"#c_password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n // this.sign_up_cpassword_error = \"Confirm password is required\";\r\n // $(\"#c_password_signup\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n }\r\n if (this.ms.IsNullOrEmptyField(this.sign_up_password) == false)\r\n this.sign_up_cpassword_error = \"\";\r\n } else if (event.target.name == \"InputGroup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.input_groupnumber_error = \"\";\r\n $(\"#InputGroup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.input_groupnumber_error = \"Group number is required\";\r\n $(\"#InputGroup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"currentpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.current_password_error = \"\";\r\n $(\"#currentpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.current_password_error = \"Current password is required\";\r\n $(\"#currentpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"newpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.new_password_error = \"\";\r\n $(\"#newpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.new_password_error = \"New password is required\";\r\n $(\"#newpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"confirmpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.c_new_password_error = \"\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.c_new_password_error = \"Confirm password is required\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"forgotemail\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.forgot_email_error = \"\";\r\n $(\"#forgotemail\")\r\n .parent()\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n // else {\r\n // $(\"#forgotemail\")\r\n // .parent()\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // this.forgot_email_error = \"Email Id is required\";\r\n // }\r\n } else if (event.target.name == \"OTP\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.input_otp_error = \"\";\r\n $(\"#OTP\")\r\n .parent()\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n // else {\r\n // this.input_otp_error = \"6 digit code is required\";\r\n // $(\"#OTP\")\r\n // .parent()\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // }\r\n } else if (event.target.name == \"resetnewpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.reset_new_password_error = \"\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.reset_new_password_error = \"New password is required\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"resetconfirmpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == false) {\r\n this.reset_c_new_password_error = \"\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n } else {\r\n this.reset_c_new_password_error = \"Confirm new password is required\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n }\r\n }\r\n OnBlur_CheckPattern(event: any) {\r\n this.sign_up_error = null;\r\n this.email_REGEX = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/;\r\n if (this.email_REGEX.test(event.target.value) == false) {\r\n if (event.target.name == \"email_signin\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.sign_in_email_error = \"Email Id is required\";\r\n $(\"#email_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.indexOf(' ') > -1) {\r\n this.sign_in_email_error = \"Please enter a valid email address\";\r\n $(\"#email_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n }\r\n else {\r\n this.sign_in_email_error = \"Please enter a valid email address\";\r\n $(\"#email_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"email_signup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.sign_up_email_error = \"Email Id is required\";\r\n $(\"#email_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_up_email_error = \"Please enter a valid email address\";\r\n $(\"#email_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"password_signin\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.sign_in_password_error = \"Password is required\";\r\n $(\"#password_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_in_password_error = \"\";\r\n $(\"#password_signin\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"password_signup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.sign_up_password_error = \"Password is required\";\r\n $(\"#password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else if (event.target.value.length < 6) {\r\n this.sign_up_password_error = \"Minimum password length must be 6\";\r\n $(\"#password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_up_password_error = \"\";\r\n $(\"#password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"c_password_signup\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.sign_up_cpassword_error = \"Confirm Password is required\";\r\n $(\"#c_password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else if (event.target.value.length < 6) {\r\n this.sign_up_cpassword_error =\r\n \"Minimum confirm password length must be 6\";\r\n $(\"#c_password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_up_cpassword_error = \"\";\r\n $(\"#c_password_signup\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n }\r\n }\r\n }\r\n MakeSignIn() {\r\n let ValidField = 0;\r\n this.email_REGEX = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/;\r\n if (this.ms.IsNullOrEmptyField(this.sign_in_email) == true) {\r\n this.sign_in_email_error = \"Email Id is required\";\r\n $(\"#email_signin\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n if (this.email_REGEX.test(this.sign_in_email) == false) {\r\n this.sign_in_email_error = \"Please enter correct email address\";\r\n } else {\r\n this.sign_in_email_error = \"\";\r\n ValidField = ValidField + 1;\r\n }\r\n }\r\n if (this.ms.IsNullOrEmptyField(this.sign_in_password) == true) {\r\n this.sign_in_password_error = \"Password is required\";\r\n $(\"#password_signin\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_in_password_error = \"\";\r\n ValidField = ValidField + 1;\r\n }\r\n if (ValidField >= 2) {\r\n //this.googleAnalyticsService.eventEmitter(\"Account Page\", \"Login\", this.sign_in_email, 0); commented by shubh\r\n this.ms\r\n .LoginAccount(this.sign_in_email, this.sign_in_password)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].Success == false) {\r\n this.sign_in_error = data[0].StatusMessage;\r\n } else {\r\n if (this.ms.IsNullOrEmptyField(data[0].UserGroup) == true) {\r\n window.localStorage.setItem(\"UserEmail\", this.sign_in_email);\r\n window.localStorage.setItem(\"UserId\", data[0].UserId);\r\n window.localStorage.setItem(\"UserCharId\", data[0].UserCharId);\r\n this.Group_Number_Box = true;\r\n return false;\r\n }\r\n window.localStorage.setItem(\"UserId\", data[0].UserId);\r\n window.localStorage.setItem(\"UserCharId\", data[0].UserCharId);\r\n this.ms.PushCardList();\r\n let DAGroup = window.localStorage.getItem(\"UserGroup\");\r\n if (!DAGroup) {\r\n // window.localStorage.setItem(\"UserGroup\", DAGroup);\r\n }\r\n //window.localStorage.setItem(\"UserGroup\", data[0].UserGroup);\r\n window.localStorage.setItem(\"SkipSignup\", \"loggedin\");\r\n window.localStorage.setItem(\"UserEmail\", this.sign_in_email);\r\n this.sign_in_error = \"\";\r\n $(\".close_search_pharmacy_popup\").click();\r\n this.isLoggedin = true;\r\n this.notLoggedin = false;\r\n setTimeout(() => {\r\n $(\".homepage\").addClass(\"loggedin_header\");\r\n $(\".pharmacyPage\").addClass(\"loggedin_header\");\r\n }, 600);\r\n this.menubar = false;\r\n this.sign_in_user_email = window.localStorage.getItem(\r\n \"UserEmail\"\r\n );\r\n if (this.rs.GetUserLoggedInStatus() == \"groupscreen\") {\r\n this.Group_Number_Box = true;\r\n return false;\r\n }\r\n this.isLoggedin = true;\r\n this.notLoggedin = false;\r\n this.menubar = false;\r\n this.router.navigate([\"/Home\"]);\r\n }\r\n } else {\r\n this.sign_in_error = \"Please try aftersometime\";\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n MakeSignUp() {\r\n this.email_REGEX = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/;\r\n let ValidField = 0;\r\n\r\n if (this.ms.IsNullOrEmptyField(this.sign_up_email) == true) {\r\n this.sign_up_email_error = \"Email Id is required\";\r\n $(\"#email_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n if (this.email_REGEX.test(this.sign_up_email) == false) {\r\n this.sign_in_email_error = \"Please enter correct email or valid email\";\r\n $(\"#email_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_up_email_error = \"\";\r\n ValidField = ValidField + 1;\r\n }\r\n }\r\n if (this.ms.IsNullOrEmptyField(this.sign_up_password) == true) {\r\n this.sign_up_password_error = \"Password is required\";\r\n $(\"#password_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n if (\r\n this.ms.IsNullOrEmptyField(this.sign_up_cpassword) == false &&\r\n this.sign_up_password.toUpperCase() !=\r\n this.sign_up_cpassword.toUpperCase()\r\n ) {\r\n // this.sign_up_password_error = \"Minimum password length must be 6\";\r\n // $(\"#password_signup\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n } else {\r\n this.sign_up_password_error = \"\";\r\n ValidField = ValidField + 1;\r\n }\r\n }\r\n if (this.ms.IsNullOrEmptyField(this.sign_up_cpassword) == true) {\r\n this.sign_up_cpassword_error = \"Confirm Password is required\";\r\n $(\"#c_password_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n if (\r\n this.ms.IsNullOrEmptyField(this.sign_up_password) == false &&\r\n this.sign_up_password.toUpperCase() !=\r\n this.sign_up_cpassword.toUpperCase()\r\n ) {\r\n this.sign_up_cpassword_error = \"Passwords must match\";\r\n $(\"#c_password_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.sign_up_cpassword_error = \"\";\r\n ValidField = ValidField + 1;\r\n }\r\n }\r\n if (this.sign_up_password.length < 6 && this.sign_up_password.length > 0) {\r\n this.sign_up_password_error = \"Minimum password length must be 6\";\r\n $(\"#password_signup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n return false;\r\n }\r\n if (ValidField >= 3) {\r\n\r\n let gn = \"\";\r\n if (window.localStorage.getItem('UserGroup') == \"\" || window.localStorage.getItem('UserGroup') == null || window.localStorage.getItem('UserGroup') == undefined) {\r\n gn = \"\";\r\n }\r\n else {\r\n gn = window.localStorage.getItem('UserGroup').toUpperCase();\r\n }\r\n\r\n //this.googleAnalyticsService.eventEmitter(\"Account Page\", \"Signup\", this.sign_up_email, 0); Commented by shubh\r\n this.ms\r\n .CreateAccount(this.sign_up_email.trim(), this.sign_up_password, gn)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].Success == false) {\r\n this.sign_up_error = data[0].StatusMessage;\r\n } else {\r\n window.localStorage.setItem(\"UserId\", data[0].UserId);\r\n window.localStorage.setItem(\"UserCharId\", data[0].UserCharId);\r\n window.localStorage.setItem(\"UserEmail\", this.sign_up_email);\r\n window.localStorage.setItem(\"SkipSignup\", \"signupdone\");\r\n // window.localStorage.setItem(\"UserGroup\", this.sign_up_email);\r\n this.ms.PushCardList();\r\n this.sign_up_error = \"\";\r\n $(\".close_search_pharmacy_popup\").click();\r\n this.isLoggedin = true;\r\n this.notLoggedin = false;\r\n setTimeout(() => {\r\n $(\".homepage\").addClass(\"loggedin_header\");\r\n $(\".pharmacyPage\").addClass(\"loggedin_header\");\r\n }, 600);\r\n this.menubar = false;\r\n this.sign_in_user_email = window.localStorage.getItem(\r\n \"UserEmail\"\r\n );\r\n if (window.localStorage.getItem('UserGroup') == \"\" || window.localStorage.getItem('UserGroup') == null || window.localStorage.getItem('UserGroup') == undefined) {\r\n this.InputGroupNumber = \"\";\r\n this.Group_Number_Box = true;\r\n }\r\n else {\r\n this.InputGroupNumber = \"\";\r\n this.Group_Number_Box = false;\r\n }\r\n }\r\n } else {\r\n this.sign_up_error = \"Please try aftersometime\";\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n }\r\n checkGno_DeeplinkURL() {\r\n let gn = window.localStorage.getItem(\"UserGroup\");\r\n let dl = window.localStorage.getItem(\"DeepLinkURL\");\r\n\r\n this.current_group_number = !!gn ? gn : '';\r\n this.deeplink_url = !!dl ? dl : '';\r\n }\r\n SkipSignUp() {\r\n console.log(\"abc\");\r\n window.localStorage.setItem(\"SkipSignup\", \"signupskipped\");\r\n if ($(window).width() <= 768) {\r\n $(\".searchbox_home\").addClass(\"mobile_searchbox_home\");\r\n } else {\r\n $(\".searchbox_home\").removeClass(\"mobile_searchbox_home\");\r\n }\r\n if (\r\n window.localStorage.getItem(\"UserGroup\") == null ||\r\n window.localStorage.getItem(\"UserGroup\") == \"False\" ||\r\n window.localStorage.getItem(\"UserGroup\") == undefined\r\n ) {\r\n this.Group_Number_Box = true;\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n } else {\r\n this.Group_Number_Box = false;\r\n\r\n //this.events.publish('toggleMenu', 1);\r\n //this.navCtrl.push(HomePage)\r\n }\r\n this.showloginbox = false;\r\n this.signup_fields = false;\r\n this.signin_fields = false;\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n\r\n MakeSignOut() {\r\n window.localStorage.clear();\r\n this.isLoggedin = false;\r\n this.notLoggedin = true;\r\n setTimeout(() => {\r\n $(\".homepage\").removeClass(\"loggedin_header\");\r\n $(\".pharmacyPage\").removeClass(\"loggedin_header\");\r\n }, 600);\r\n this.menubar = true;\r\n //this.router.navigate(['/']);\r\n try {\r\n window.location.href = this.router[\"location\"][\"_platformStrategy\"][\"_platformLocation\"][\"location\"][\"origin\"];\r\n } catch { }\r\n }\r\n ForgotPassword() {\r\n this.otp_sent = false;\r\n this.forgot_email_error = null;\r\n this.input_otp_error = null;\r\n this.input_otp = null;\r\n this.reset_update_password_error = null;\r\n this.forgotpassword_box = true;\r\n }\r\n removeforgot(event) {\r\n this.otp_sent = false;\r\n this.forgot_email = '';\r\n this.forgotpassword_box = false;\r\n this.resetpassword_Box = false;\r\n }\r\n removegroup(event) {\r\n this.Group_Number_Box = false;\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n KeyUp_TypeDrug(Event: any) {\r\n if (Event.target.value.length >= 3) {\r\n this.ms\r\n .SearchDrugList(Event.target.value)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n this.SearchList = data[0][\"data\"];\r\n }\r\n if (this.SearchList.length > 0) {\r\n this.DisplayBindList = true;\r\n } else {\r\n this.DisplayBindList = false;\r\n }\r\n },\r\n error => { }\r\n );\r\n } else {\r\n this.DisplayBindList = false;\r\n }\r\n }\r\n GetUserLoggedInStatus() {\r\n if (this.rs.GetUserLoggedInStatus() == \"loggedin\") {\r\n this.isLoggedin = true;\r\n this.notLoggedin = false;\r\n this.sign_in_user_email = window.localStorage.getItem('UserEmail');\r\n this.menubar = false;\r\n }\r\n else {\r\n this.isLoggedin = false;\r\n this.notLoggedin = true;\r\n }\r\n }\r\n\r\n\r\n AppInitialize() {\r\n try {\r\n if (this.ms.IsNullOrEmptyField(window.localStorage.getItem('WhiteName')) == true || this.ms.IsNullOrEmptyField(window.localStorage.getItem('WhiteEmail')) == true)\r\n this.ms\r\n .GetWhiteParams()\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n window.localStorage.setItem('WhiteName', data[0].WhiteName);\r\n window.localStorage.setItem('WhiteEmail', data[0].WhiteEmail);\r\n this._AppName = data[0].WhiteName;\r\n this._AppEmail = data[0].WhiteEmail;\r\n }\r\n },\r\n error => {\r\n }\r\n );\r\n } catch {\r\n }\r\n }\r\n HomeScreen(val) {\r\n this.removeStyle(\"home_screen\");\r\n this.router.navigate([\"\"]);\r\n }\r\n MySavedCards() {\r\n this.removeStyle(\"home_screen\");\r\n this.router.navigate([\"/MyCards\"]);\r\n this.menubar = !this.menubar;\r\n }\r\n removeStyle(val) {\r\n // ie fix issue\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n var ff = ua.indexOf('Firefox');\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./) || edge > 0 || ff > 0) // If Internet Explorer, return version number\r\n {\r\n if (val == \"home_screen\" || val == 'sign_up' || val == 'sign_in') {\r\n $(\".ie_fixed_add_n, #Signin_Signup_Header\").removeAttr(\"style\");\r\n }\r\n }\r\n }\r\n removechangepass(event) {\r\n this.changepassword = false;\r\n this.otp_sent = false;\r\n this.forgot_email = '';\r\n this.current_password = null;\r\n this.new_password = null;\r\n this.c_new_password = null;\r\n this.resetpassword_Box = false;\r\n this.forgotpassword_box = false;\r\n this.changepassword = false;\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n showchangepass(event) {\r\n this.current_password_error = null;\r\n this.new_password_error = null;\r\n this.c_new_password_error = null;\r\n this.change_password_error = null;\r\n this.changepassword = true;\r\n $(\"input[type='password']\").val('');\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n }\r\n SkipGroupNumber() {\r\n window.localStorage.setItem(\"UserGroup\", this.rs.GNForOPT2());\r\n if ($(window).width() <= 768) {\r\n $(\".searchbox_home\").addClass(\"mobile_searchbox_home\");\r\n } else {\r\n $(\".searchbox_home\").removeClass(\"mobile_searchbox_home\");\r\n }\r\n this.UpdateuserGroup(\r\n window.localStorage.getItem(\"UserId\"),\r\n this.rs.GNForOPT2()\r\n );\r\n this.Group_Number_Box = false;\r\n $(\".close_search_pharmacy_popup\").click();\r\n //this.isLoggedin = false;\r\n this.GetUserLoggedInStatus()\r\n $(\"body\").removeAttr(\"style\");\r\n //this.SignupScreen();\r\n }\r\n _GrnumberValidate(e: any) {\r\n var keyCode = e.which ? e.which : e.keyCode;\r\n if (keyCode != 8 && keyCode != 0 && (keyCode < 48 || keyCode > 57)) {\r\n return false;\r\n }\r\n else if (e.target.value.length > 4) {\r\n return false;\r\n }\r\n }\r\n SubmitGroupNumber() {\r\n if (this.ms.IsNullOrEmptyField(this.InputGroupNumber) == true) {\r\n this.input_groupnumber_error = \"Group number is required\";\r\n $(\"#InputGroup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.ms\r\n .GNValidate(this.InputGroupNumber)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].StatusCode == \"False\") {\r\n window.localStorage.setItem(\"UserGroup\", \"False\");\r\n this.input_groupnumber_error = \"* \" + data[0].StatusMessage;\r\n $(\"#InputGroup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n window.localStorage.setItem(\"UserGroup\", data[0].StatusMessage);\r\n this.UpdateuserGroup(\r\n window.localStorage.getItem(\"UserId\"),\r\n this.InputGroupNumber\r\n //data[0].StatusMessage\r\n );\r\n this.Group_Number_Box = false;\r\n $(\"body\").removeAttr(\"style\");\r\n $(\".close_search_pharmacy_popup\").click();\r\n if (window.localStorage.getItem(\"signupskipped\") == \"signupskipped\" || window.localStorage.getItem('UserId') == null || window.localStorage.getItem('UserId') == '' || window.localStorage.getItem('UserId') == undefined) { this.isLoggedin = false; this.notLoggedin = true; }\r\n else { this.isLoggedin = true; this.notLoggedin = true; }\r\n }\r\n } else {\r\n this.input_groupnumber_error = \"* Invalid Group Number\";\r\n window.localStorage.setItem(\"UserGroup\", \"False\");\r\n $(\"#InputGroup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n }\r\n UpdateuserGroup(UserId, UserGroup) {\r\n try {\r\n if (\r\n window.localStorage.getItem(\"UserId\") == null ||\r\n window.localStorage.getItem(\"UserId\") == \"\" ||\r\n window.localStorage.getItem(\"UserId\") == undefined\r\n ) {\r\n return;\r\n } else {\r\n this.ms\r\n .UpdateGroupNumber(UserId, UserGroup)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].StatusCode == \"0\") {\r\n window.localStorage.setItem(\"UserGroup\", UserGroup);\r\n this.input_groupnumber_error = \"* \" + data[0].StatusMessage;\r\n $(\"#InputGroup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n window.localStorage.setItem(\"UserGroup\", UserGroup);\r\n this.Group_Number_Box = false;\r\n $(\".close_search_pharmacy_popup\").click();\r\n }\r\n } else {\r\n this.input_groupnumber_error = \"Please try after sometime.\";\r\n window.localStorage.setItem(\"UserGroup\", \"False\");\r\n $(\"#InputGroup\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n } catch { }\r\n }\r\n OnBlur_ChangePassword(event: any) {\r\n if (event.target.name == \"currentpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.current_password_error = \"Current password is required\";\r\n $(\"#currentpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.current_password_error = \"\";\r\n $(\"#currentpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"newpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.new_password_error = \"Current password is required\";\r\n $(\"#newpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length < 6) {\r\n this.new_password_error = \"Minimum password length must be 6!\";\r\n $(\"#newpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length >= 6 && (event.target.value.split(\" \").length - 1) > 0) {\r\n this.new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#newpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n return;\r\n }\r\n else {\r\n this.new_password_error = \"\";\r\n $(\"#newpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"confirmpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.c_new_password_error = \"Confirm password is required\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else if (event.target.value.length < 5) {\r\n this.c_new_password_error = \"Minimum password length must be 5!\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length >= 5 && (event.target.value.split(\" \").length - 1) > 0) {\r\n this.c_new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else {\r\n this.c_new_password_error = \"\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"forgotemail\") {\r\n this.Email_OTP_Input = \"Email\";\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.forgot_email_error = \"Email Id is required\";\r\n // $(\"#forgotemail\").parent().addClass(\"error_msg\");\r\n } else {\r\n this.forgot_email_error = \"\";\r\n // $(\"#forgotemail\").parent().removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"OTP\") {\r\n this.Email_OTP_Input = \"OTP\";\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.input_otp_error = \"6 digit code is required\";\r\n // $(\"#confirmpass\").parent().addClass(\"error_msg\");\r\n } else {\r\n this.input_otp_error = \"\";\r\n //$(\"#confirmpass\").parent().removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"resetnewpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.reset_new_password_error = \"New password is required\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length < 5) {\r\n this.reset_new_password_error = \"Minimum password length must be 5!\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length >= 5 && (event.target.value.split(\" \").length - 1) > 0) {\r\n this.reset_new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else {\r\n this.reset_new_password_error = \"\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n } else if (event.target.name == \"resetconfirmpass\") {\r\n if (this.ms.IsNullOrEmptyField(event.target.value) == true) {\r\n this.reset_c_new_password_error = \"Confirm new password is required\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length < 5) {\r\n this.reset_c_new_password_error = \"Minimum password length must be 5!\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (event.target.value.length >= 5 && (event.target.value.split(\" \").length - 1) > 0) {\r\n this.reset_c_new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else {\r\n this.reset_c_new_password_error = \"\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n }\r\n }\r\n }\r\n StopWhiteSpace(e: any) {\r\n var keyCode = e.which ? e.which : e.keyCode;\r\n if (keyCode == 32) {\r\n return false;\r\n }\r\n }\r\n UpdatePassWord() {\r\n let ValidField = 0;\r\n this.change_password_error = \"\";\r\n this.new_password_error = \"\";\r\n this.c_new_password_error = \"\";\r\n $(\"#currentpass\").parent().removeClass(\"error_msg\");\r\n $(\"#newpass\").parent().removeClass(\"error_msg\");\r\n $(\"#confirmpass\").parent().removeClass(\"error_msg\");\r\n //--------------current password-----------------\r\n if (this.ms.IsNullOrEmptyField(this.current_password) == true) {\r\n this.current_password_error = \"Current password is required\";\r\n $(\"#currentpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.current_password_error = \"\";\r\n $(\"#currentpass\").parent().removeClass(\"error_msg\");\r\n ValidField = ValidField + 1;\r\n }\r\n //--------------new password-----------------\r\n if (this.ms.IsNullOrEmptyField(this.new_password) == true) {\r\n this.new_password_error = \"New password is required\";\r\n $(\"#newpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n } else if (this.new_password.length < 6) {\r\n this.new_password_error = \"Minimum password length must be 6\";\r\n $(\"#newpass\").parent().addClass(\"error_msg\");\r\n return;\r\n }\r\n else if (this.new_password.length >= 6 && (this.new_password.split(\" \").length - 1) > 0) {\r\n this.new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#newpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n return;\r\n }\r\n else {\r\n if (this.ms.IsNullOrEmptyField(this.c_new_password) == false && this.new_password.toUpperCase() != this.c_new_password.toUpperCase()) {\r\n // this.new_password_error = \"New password & confirm new password must match!\";\r\n // $(\"#newpass\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // return;\r\n } else {\r\n this.new_password_error = \"\";\r\n $(\"#newpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n ValidField = ValidField + 1;\r\n }\r\n }\r\n //--------------confirm new password-----------------\r\n if (this.ms.IsNullOrEmptyField(this.c_new_password) == true) {\r\n this.c_new_password_error = \"Confirm password is required\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n // else if (this.c_new_password.length < 5) {\r\n // this.c_new_password_error = \"Minimum password length must be 5\";\r\n // $(\"#confirmpass\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // }\r\n else if (\r\n this.ms.IsNullOrEmptyField(this.new_password) == false &&\r\n this.new_password.toUpperCase() != this.c_new_password.toUpperCase()\r\n ) {\r\n this.c_new_password_error = \"New password & confirm new password must match!\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n else if (this.c_new_password.length >= 6 && (this.c_new_password.split(\" \").length - 1) > 0) {\r\n this.c_new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n // this.change_password_error=\"White spaces are not allowed in password!\";\r\n }\r\n else {\r\n this.c_new_password_error = \"\";\r\n $(\"#confirmpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n ValidField = ValidField + 1;\r\n }\r\n if (ValidField >= 3) {\r\n try {\r\n this.ms\r\n .ResetPassword(\r\n window.localStorage.getItem(\"UserId\"),\r\n this.current_password,\r\n this.c_new_password\r\n )\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].StatusCode == \"1\") {\r\n this.change_password_error = \"\";\r\n this.removechangepass(\"$event\");\r\n $(\".change_pwd_btn\")\r\n .addClass(\"success\")\r\n .text(\"Success\")\r\n .css(\"pointer-events\", \"none\");\r\n this.changepassword = false;\r\n } else {\r\n //Error\r\n this.change_password_error = data[0].StatusMessage;\r\n }\r\n } else {\r\n //Error\r\n this.change_password_error = \"Please try after sometime\";\r\n }\r\n },\r\n error => {\r\n //Error\r\n this.change_password_error = \"Please try after sometime\";\r\n }\r\n );\r\n } catch {\r\n //Error\r\n this.change_password_error = \"Please try after sometime\";\r\n }\r\n }\r\n }\r\n mobCloseToggle() {\r\n this.mobsuccess = false;\r\n }\r\n Submit_Email_OTP() {\r\n if (\r\n this.Email_OTP_Input == \"Email\" ||\r\n this.Email_OTP_Input == \"\" ||\r\n this.Email_OTP_Input == null\r\n ) {\r\n this.email_REGEX = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/\r\n if (this.ms.IsNullOrEmptyField(this.forgot_email) == true) {\r\n {\r\n this.forgot_email_error = \"Email Id is required\";\r\n $(\"#forgotemail\")\r\n .parent()\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else if (this.email_REGEX.test(this.forgot_email) == false) {\r\n {\r\n this.forgot_email_error = \"Please enter correct email address\";\r\n $(\"#forgotemail\")\r\n .parent()\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else {\r\n $(\"#forgotemail\")\r\n .parent()\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n //this.googleAnalyticsService.eventEmitter(\"Account Page\", \"Forgot Password\", this.forgot_email, 0); commented by shubh\r\n this.ms\r\n .RequestOTP_Forgotpassword(this.forgot_email)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].Message != \"OTP sent successfully.\") {\r\n this.forgot_email_error = data[0].Message;\r\n } else {\r\n $(\"#forgotemail\").prop(\"disabled\", true);\r\n this._CurrentUserId = data[0].UserId;\r\n this.otp_sent = true;\r\n }\r\n } else {\r\n this.forgot_email_error = \"Please try again\";\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n } else {\r\n if (this.ms.IsNullOrEmptyField(this.input_otp) == true) {\r\n this.input_otp_error = \"6 digit code is required\";\r\n } else {\r\n this.ms\r\n .VerifyOTP_Forgotpassword(this.input_otp, this._CurrentUserId)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].StatusCode == \"1\") {\r\n window.localStorage.setItem(\"UserCharId\", data[0].UserCharId);\r\n if (\r\n window.localStorage.getItem(\"UserGroup\") != null ||\r\n window.localStorage.getItem(\"UserGroup\") != undefined ||\r\n window.localStorage.getItem(\"UserGroup\") != \"\"\r\n ) {\r\n window.localStorage.setItem(\"UserGroup\", data[0].UserGroup);\r\n }\r\n this.reset_c_new_password_error = null;\r\n this.reset_update_password_error = null;\r\n this.reset_new_password_error = null;\r\n this.forgotpassword_box = false;\r\n this.reset_new_password = null;\r\n this.reset_c_new_password = null;\r\n this.resetpassword_Box = true;\r\n } else {\r\n this.input_otp_error = data[0].StatusMessage;\r\n $(\"#OTP\")\r\n .parent()\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n } else {\r\n this.input_otp_error = \"Please try again\";\r\n $(\"#OTP\")\r\n .parent()\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n }\r\n }\r\n ResetPassword() {\r\n this.reset_update_password_error = \"\";\r\n this.reset_new_password_error = \"\";\r\n this.reset_c_new_password_error = \"\";\r\n $(\"#resetnewpass\").parent().removeClass(\"error_msg\");\r\n $(\"#resetconfirmpass\").parent().removeClass(\"error_msg\");\r\n let ValidField = 0;\r\n //--------------new password-----------------\r\n if (this.ms.IsNullOrEmptyField(this.reset_new_password) == true) {\r\n this.reset_new_password_error = \"New password is required!\";\r\n $(\"#resetnewpass\").parent().addClass(\"error_msg\");\r\n } else if (this.reset_new_password.length < 6) {\r\n this.reset_new_password_error = \"Minimum password length must be 6!\";\r\n $(\"#resetnewpass\").parent().addClass(\"error_msg\");\r\n return;\r\n }\r\n else if (this.reset_new_password.length >= 6 && (this.reset_new_password.split(\" \").length - 1) > 0) {\r\n this.reset_new_password_error = \"White spaces are not allowed in password!\";\r\n $(\"#resetnewpass\").parent().addClass(\"error_msg\");\r\n return;\r\n }\r\n else {\r\n // if (\r\n // this.ms.IsNullOrEmptyField(this.reset_c_new_password) == false &&\r\n // this.reset_new_password.toUpperCase() !=\r\n // this.reset_c_new_password.toUpperCase()\r\n // ) {\r\n // this.reset_new_password_error = \"Passwords must match!\";\r\n // $(\"#resetnewpass\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // this.reset_update_password_error = \"\";\r\n // } else {\r\n this.reset_new_password_error = \"\";\r\n $(\"#resetnewpass\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n ValidField = ValidField + 1;\r\n // }\r\n }\r\n //--------------confirm new password-----------------\r\n if (this.ms.IsNullOrEmptyField(this.reset_c_new_password) == true) {\r\n this.reset_c_new_password_error = \"Confirm password is required!\";\r\n $(\"#resetconfirmpass\")\r\n .parent()\r\n .addClass(\"error_msg\");\r\n }\r\n // else if (this.reset_c_new_password.length < 5) {\r\n // this.reset_c_new_password_error = \"Minimum password length must be 5!\";\r\n // $(\"#resetconfirmpass\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // }\r\n // else if (this.reset_c_new_password.length >= 5 && (this.reset_c_new_password.split(\" \").length - 1) > 0) {\r\n // this.reset_c_new_password_error = \"White spaces are not allowed in password!\";\r\n // $(\"#resetconfirmpass\").parent().addClass(\"error_msg\");\r\n // }\r\n else {\r\n if (this.ms.IsNullOrEmptyField(this.reset_new_password) == false && this.reset_new_password.toUpperCase() != this.reset_c_new_password.toUpperCase()) {\r\n this.reset_c_new_password_error = \"New password & confirm new password must match!\";\r\n $(\"#resetconfirmpass\").parent().addClass(\"error_msg\");\r\n } else {\r\n this.reset_c_new_password_error = \"\";\r\n $(\"#resetconfirmpass\").parent().removeClass(\"error_msg\");\r\n ValidField = ValidField + 1;\r\n }\r\n }\r\n if (ValidField >= 2) {\r\n try {\r\n this.ms\r\n .VerifyOTP_Resetpassword(this._CurrentUserId, this.reset_new_password)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n if (data[0].StatusCode == \"1\") {\r\n this.ms.Setsignup(false, false, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n this.removechangepass(\"$event\");\r\n this.resetpassword_Box = false;\r\n $('.reset_button').addClass('success').text('Success');\r\n $(\"body\").removeAttr(\"style\");\r\n } else {\r\n this.reset_update_password_error = data[0].StatusMessage;\r\n }\r\n } else {\r\n this.reset_update_password_error = \"Please try again\";\r\n }\r\n },\r\n error => {\r\n this.reset_update_password_error = \"Please try again\";\r\n }\r\n );\r\n } catch {\r\n this.reset_update_password_error = \"Please try again\";\r\n }\r\n }\r\n }\r\n //----------------------------Top Search Implementation-------------------------------------------------------\r\n addActive_select(event, number, selected_value) {\r\n $(event.target)\r\n .parent()\r\n .find(\"li\")\r\n .removeClass(\"active\");\r\n event.target.classList.add(\"active\");\r\n this.hideme[number] = false;\r\n if (number == 0) {\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Details Pop Up\", \"Swap Drug Name\", this.SelectedDrug + \"<-->\" + selected_value, 0);commented by shubh\r\n this.SelectedDrug = selected_value\r\n .replace(\" (Generic Drug)\", \"\")\r\n .replace(\" (Brand Drug)\", \"\")\r\n .trim();\r\n window.localStorage.setItem(\"SelectedDrugName\", this.SelectedDrug);\r\n if (selected_value.indexOf(\"Generic Drug\") > -1) {\r\n this.DrugCat = \"Generic\";\r\n window.localStorage.setItem(\"IsBG\", this.DrugCat);\r\n } else {\r\n this.DrugCat = \"Brand\";\r\n window.localStorage.setItem(\"IsBG\", this.DrugCat);\r\n }\r\n this.UpdateDrugParamsWithSwaping(this.SelectedDrug, this.DrugCat);\r\n } else if (number == 1) {\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Details Pop Up\", \"Swap Drug Form\", this.DrugType + \"<-->\" + selected_value, 0);commented by shubh\r\n this.DrugType = selected_value;\r\n window.localStorage.setItem('DrugType', this.DrugType);\r\n this.UpdateDoseByFormTypeSwaping(this.DrugType);\r\n } else if (number == 2) {\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Details Pop Up\", \"Swap Drug Dosage\", this.DrugDose + \"<-->\" + selected_value, 0);commented by shubh\r\n this.DrugDose = selected_value;\r\n window.localStorage.setItem('DrugDose', this.DrugDose);\r\n } else if (number == 3) {\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Details Pop Up\", \"Swap Drug Quantity\", this.DrugQuant + \"<-->\" + selected_value, 0);commented by shubh\r\n this.DrugQuant = selected_value;\r\n window.localStorage.setItem('DrugQuant', this.DrugQuant);\r\n }\r\n else if (number == -3) {\r\n this.Quantity_Manual = null;\r\n this.ManualQuantity_box = true;\r\n }\r\n }\r\n CloseDrugDetails() {\r\n this.ShowDrugdetails = false;\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n TypeDrug(stext: any) {\r\n\r\n if (stext.keyCode == 13 || stext.key == \"Enter\") {\r\n stext.preventDefault();\r\n return false;\r\n }\r\n if (this.rs.GetUserLoggedInStatus() == \"signupscreen\") {\r\n $(\".login_btn a\")[0].click();\r\n this.ShowDrugdetails = false;\r\n return false;\r\n } else if (this.rs.GetUserLoggedInStatus() == \"groupscreen\") {\r\n this.ShowDisplay = false;\r\n this.ShowDrugdetails = false;\r\n this.Group_Number_Box = true;\r\n return false;\r\n } else {\r\n this.SearchText = stext.target.value;\r\n this.SearchDrug(this.SearchText);\r\n }\r\n }\r\n SearchDrug(stext: string) {\r\n if (stext.length >= 3) {\r\n // this.googleAnalyticsService.eventEmitter(\"Home Page\", \"Search Drug\", stext, 0);\r\n this.GetDrugList(stext);\r\n }\r\n else {\r\n this.DisplayBindList = false;\r\n this.NoDrugsFound = true;\r\n this.SearchList = [];\r\n }\r\n }\r\n\r\n GetDrugList(TypedText) {\r\n this.ms\r\n .SearchDrugList(TypedText)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n this.NoDrugsFound = false;\r\n this.SearchList = data;\r\n }\r\n else {\r\n setTimeout(() => {\r\n $('.heading').hide();\r\n }, 50);\r\n this.NoDrugsFound = true;\r\n this.SearchList = [];\r\n }\r\n if (this.SearchList.length > 0) {\r\n this.DisplayBindList = true;\r\n this.ShowDisplay = false;\r\n $('.heading').show();\r\n } else {\r\n this.DisplayBindList = false;\r\n this.ShowDisplay = false;\r\n }\r\n if (this.NoDrugsFound == true) {\r\n this.DisplayBindList = false;\r\n this.ShowDisplay = true;\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n DrugSetting(_Drugname: any) {\r\n try {\r\n if (\r\n window.localStorage.getItem(\"SearchItemList\") != null &&\r\n window.localStorage.getItem(\"SearchItemList\").length != 0 &&\r\n window.localStorage.getItem(\"SearchItemList\") != undefined\r\n ) {\r\n let RecentSearchListData = JSON.parse(\r\n window.localStorage.getItem(\"SearchItemList\")\r\n );\r\n let _RecentNameFilter = RecentSearchListData.filter(item => {\r\n return (\r\n item[\"RecentSearchName\"].toLowerCase() == _Drugname.toLowerCase()\r\n );\r\n });\r\n if (_RecentNameFilter.length == 0) {\r\n this.SerachList = [];\r\n window.localStorage.setItem(\"SearchItemList\", \"\");\r\n\r\n for (let x3 = 0; x3 < RecentSearchListData.length; x3++) {\r\n let TempItem = {\r\n RecentSearchName: RecentSearchListData[x3][\"RecentSearchName\"]\r\n };\r\n this.SerachList.push(TempItem);\r\n }\r\n let TempItem1 = {\r\n RecentSearchName: _Drugname\r\n };\r\n this.SerachList.push(TempItem1);\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n } else {\r\n this.SerachList = RecentSearchListData.filter(\r\n uname => uname[\"RecentSearchName\"] !== _Drugname\r\n );\r\n let TempItem1 = {\r\n RecentSearchName: _Drugname\r\n };\r\n this.SerachList.push(TempItem1);\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n }\r\n } else {\r\n let newItem = {\r\n RecentSearchName: _Drugname\r\n };\r\n this.SerachList = [];\r\n this.SerachList.push(newItem);\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n }\r\n }\r\n catch { }\r\n this._UserZip = window.localStorage.getItem('userZipCode')\r\n this.SelectedDrug = _Drugname;\r\n this.DrugComposition();\r\n this.ShowDisplay = false;\r\n this.DisplayBindList = false;\r\n }\r\n DrugComposition() {\r\n try {\r\n this.ClearErrorClass();\r\n this.ms\r\n .GetDrugDetails(this.SelectedDrug)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data[0][\"brand\"].length == 0 && data[0][\"generic\"].length == 0) {\r\n $(\".searchbox_box\").parent().removeClass(\"error_msg\").addClass(\"error_msg\");\r\n this.searchtextbox_error = \"Invalid drug name\";\r\n return false;\r\n }\r\n window.localStorage.setItem(\"SelectedDrugConfig\", JSON.stringify(data));\r\n this.DoseDescriptor_JSON = JSON.parse(this.rs.DrugDoseDescription());\r\n this.DrugDoseList = [];\r\n this.optionlist = [];\r\n this.DrugTypeList = [];\r\n if (data.length > 0) {\r\n this.DrugDetailsResponseData = data;\r\n this.DrugDetails = data;\r\n this.ResponseData = data;\r\n this.ShowDetails = true;\r\n this.ShowDrugdetails = true;\r\n this.Enter_Zip = false;\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n this.DrugName = this.SelectedDrug;\r\n if (data[0][\"brand_name_code\"] == \"Brand\") {\r\n // this.MsourceList.push({ value:\"BRAND\", text: \"Branded\" });\r\n this.DrugCat = \"Brand\";\r\n this.BrandType = true;\r\n try {\r\n this.DrugDoseList = [];\r\n this.optionlist = [];\r\n if (this.ResponseData.length > 0) {\r\n let _NameFilter = this.ResponseData[0][\"brand\"].filter(\r\n item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n for (let x of _NameFilter[0][\"types\"][0][\"strength\"]) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(\r\n item => {\r\n return (\r\n item[\"Dose\"].toLowerCase() == x.dose.toLowerCase()\r\n );\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n this.optionlist.push({\r\n value: _DoseFilter[0][\"Descrption\"],\r\n text: _DoseFilter[0][\"Descrption\"]\r\n });\r\n } else {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n }\r\n\r\n if (this.optionlist.length > 0) {\r\n this.DrugType = this.optionlist[0].value; /////DosageForm(TABS/CAPS/SOLN ....)\r\n }\r\n if (this.DrugDoseList.length > 0) {\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\"); //////// Strength & Strength Unit(10MG, 100MG/2ML .....)\r\n }\r\n\r\n this.selectedValue = this.DrugType;\r\n // window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n } catch { }\r\n } else {\r\n this.DrugCat = \"Generic\";\r\n this.BrandType = false;\r\n // window.localStorage.setItem(\"IsBG\", data[0][\"brand_name_code\"]);\r\n try {\r\n this.DrugDoseList = [];\r\n this.optionlist = [];\r\n if (this.ResponseData.length > 0) {\r\n let _NameFilter = this.ResponseData[0][\"generic\"].filter(\r\n item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n for (let x of _NameFilter[0][\"types\"][0][\"strength\"]) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(\r\n item => {\r\n return (\r\n item[\"Dose\"].toLowerCase() == x.dose.toLowerCase()\r\n );\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n this.optionlist.push({\r\n value: _DoseFilter[0][\"Descrption\"],\r\n text: _DoseFilter[0][\"Descrption\"]\r\n });\r\n } else {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n }\r\n if (this.optionlist.length > 0) {\r\n this.DrugType = this.optionlist[0].value;\r\n }\r\n if (this.DrugDoseList.length > 0) {\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n }\r\n\r\n this.selectedValue = this.DrugType;\r\n // window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n } catch { }\r\n if (this.DrugDoseList.length > 0) {\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n }\r\n }\r\n try {\r\n if (this.optionlist.length <= 1) {\r\n this.DrugFormSingle = true;\r\n }\r\n else {\r\n this.DrugFormSingle = false;\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugDoseList.length <= 1) {\r\n this.DrugDoseSingle = true;\r\n }\r\n else {\r\n this.DrugDoseSingle = false;\r\n }\r\n } catch { }\r\n this.InitQuantityList();\r\n this.DrugNameType();\r\n\r\n try {\r\n if (this.DrugName == undefined || this.DrugName == \"\" || this.DrugQuant == undefined || this.DrugQuant == \"\" || this.DrugDose == undefined || this.DrugDose == \"\" || this.DrugType == undefined || this.DrugType == \"\") {\r\n for (let xp of this.ResponseData[0][\"generic\"]) {\r\n if (xp[\"prerset\"].length > 0) {\r\n if (xp[\"prerset\"][0][\"DrugName\"].toLowerCase() == this.DrugName.toLowerCase()) {\r\n this.DrugQuant = xp[\"prerset\"][0][\"Quantity\"];\r\n this.DrugDose = xp[\"prerset\"][0][\"Strength\"].replace(\" \", \"\");\r\n this.DrugType = xp[\"prerset\"][0][\"DoseForm\"];\r\n this.DrugCat = \"Generic\";\r\n this.IsPresetFound = true;\r\n //window.localStorage.setItem(\"IsPresetAvail\", \"True\");\r\n // window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n // window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n // window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n } catch { }\r\n try {\r\n if (this.IsPresetFound == false) {\r\n //window.localStorage.setItem(\"IsPresetAvail\", \"False\");\r\n for (let xp of this.ResponseData[0][\"brand\"]) {\r\n if (xp[\"prerset\"].length > 0) {\r\n if (xp[\"prerset\"][0][\"DrugName\"].toLowerCase() == this.DrugName.toLowerCase()) {\r\n this.DrugQuant = xp[\"prerset\"][0][\"Quantity\"];\r\n this.DrugDose = xp[\"prerset\"][0][\"Strength\"].replace(\" \", \"\");\r\n this.DrugType = xp[\"prerset\"][0][\"DoseForm\"];\r\n this.DrugCat = \"Brand\";\r\n this.IsPresetFound = true;\r\n // window.localStorage.setItem(\"IsPresetAvail\", \"True\");\r\n // window.localStorage.setItem(\"DrugQuant\",this.DrugQuant);\r\n // window.localStorage.setItem(\"DrugQuant\",this.DrugQuant);\r\n // window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n // window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugTypeList.length <= 1) {\r\n this.DrugNameTypeSingle = true;\r\n }\r\n else {\r\n this.DrugNameTypeSingle = false;\r\n }\r\n } catch { }\r\n\r\n try {\r\n if (this.DrugDoseList.length > 0) {\r\n this.DrugDose = this.DrugDoseList[0];\r\n // window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n }\r\n } catch { }\r\n\r\n if (this.optionlist.length > 1) {\r\n this.DoseFormSingle = false;\r\n } else {\r\n this.DoseFormSingle = true;\r\n }\r\n\r\n if (this.DrugDoseList.length > 1) {\r\n this.StrengthSingle = false;\r\n } else {\r\n this.StrengthSingle = true;\r\n }\r\n if (this.DrugCat.toLocaleLowerCase() == \"generic\") {\r\n this.Swap_Drug_With_MultiSource = this.SelectedDrug + \" (Generic Drug)\";\r\n } else {\r\n this.Swap_Drug_With_MultiSource = this.SelectedDrug + \" (Brand Drug)\";\r\n }\r\n }\r\n },\r\n error => { }\r\n );\r\n } catch { }\r\n }\r\n InitQuantityList() {\r\n try {\r\n this.DrugQuantityList = [];\r\n let _DoseFilter_1 = this.DoseDescriptor_JSON.filter(item => {\r\n return item[\"Descrption\"].toLowerCase() == this.DrugType.toLowerCase();\r\n });\r\n let DoseForm = _DoseFilter_1[0][\"Dose\"];\r\n let APIResponse = this.ResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (this.DrugCat.toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n item => {\r\n return item[\"dose\"].toLowerCase() == DoseForm.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter(item => {\r\n return (item[\"Strength\"].toLowerCase().replace(/\\s/g, '') == this.DrugDose.toLowerCase().replace(/\\s/g, ''));\r\n });\r\n if (_StrengthFilter.length > 0) {\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n if (xqx.Quantity != 0) {\r\n this.DrugQuantityList.push(parseInt(xqx[\"Quantity\"]));\r\n }\r\n }\r\n }\r\n if (this.IsPresetFound == false) {\r\n if (this.DrugQuantityList.length > 0) {\r\n this.DrugQuant = this.DrugQuantityList[0];\r\n // 0\r\n }\r\n if (this.DrugQuant == \"\" || this.DrugQuant == null || this.DrugQuant == undefined) {\r\n if (this.DrugQuantityList.length > 0) {\r\n this.DrugQuant = this.DrugQuantityList[0];\r\n // window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n } else {\r\n this.DrugQuant = 10;\r\n // window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n } catch { }\r\n if (this.DrugQuant == undefined || this.DrugQuant == \"\" || this.DrugQuant == null) {\r\n this.DrugQuant = \"10\";\r\n }\r\n if (this.DrugQuantityList.length == 0) {\r\n this.DrugQuantityList.push(this.DrugQuant);\r\n }\r\n }\r\n DrugNameType() {\r\n try {\r\n this.DrugTypeList = [];\r\n for (let ik = 0; ik < this.ResponseData[0][\"generic\"].length; ik++) {\r\n try {\r\n if (this.ResponseData[0][\"generic\"][ik][\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()) {\r\n }\r\n this.DrugTypeList.push(\r\n this.ResponseData[0][\"generic\"][ik][\"sub_drug_name\"] + \" (Generic Drug)\");\r\n } catch { }\r\n }\r\n for (let jik = 0; jik < this.ResponseData[0][\"brand\"].length; jik++) {\r\n try {\r\n if (\r\n this.ResponseData[0][\"brand\"][jik][\"sub_drug_name\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n ) {\r\n }\r\n this.DrugTypeList.push(\r\n this.ResponseData[0][\"brand\"][jik][\"sub_drug_name\"] + \" (Brand Drug)\");\r\n } catch { }\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugTypeList.size <= 1) {\r\n this.DrugNameTypeSingle = true;\r\n }\r\n else {\r\n this.DrugNameTypeSingle = false;\r\n }\r\n } catch { }\r\n }\r\n ZipCodeValidate(event): boolean {\r\n this.ClearErrorClass();\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if (charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n return false;\r\n }\r\n $('#pick_location').prop(\"checked\", false);\r\n return true;\r\n }\r\n zipCodeLenthInit() {\r\n let zipLen = new String($(\"#getzipcodeTop\").val()).length;\r\n if (zipLen < 5) {\r\n $('#pick_location').prop('checked', false);\r\n }\r\n }\r\n ClearErrorClass() {\r\n this.ZipCodeMessage = \"\";\r\n $(\".PharmacyNear\").removeClass(\"error_msg\");\r\n }\r\n GetAutoLocation(e) {\r\n\r\n var AutoLocate = e.target.checked;\r\n if (AutoLocate == true) {\r\n try {\r\n this.ZipCodeMessage = \"\";\r\n $(\".PharmacyNear\").removeClass(\"error_msg\");\r\n //this.googleAnalyticsService.eventEmitter(\"Click for Auto Location\", \"User Current Co-Ordinate\", window.localStorage.getItem(\"_LocalLat\") + \",\" + window.localStorage.getItem(\"_LocalLang\"), 0);commented by shubh\r\n window.localStorage.setItem(\"UserLat\", window.localStorage.getItem(\"_LocalLat\"));\r\n window.localStorage.setItem(\"UserLong\", window.localStorage.getItem(\"_LocalLang\"));\r\n this.GetLatLongByCo_ordinate(window.localStorage.getItem(\"_LocalLat\"), window.localStorage.getItem(\"_LocalLang\"));\r\n } catch { }\r\n } else {\r\n this._UserZip = null;\r\n this.IsAutoLocation = \"Not Found\";\r\n this._CurrLocation = null;\r\n window.localStorage.setItem(\"UserLat\", null);\r\n window.localStorage.setItem(\"UserLong\", null);\r\n window.localStorage.setItem(\"userZipCode\", null);\r\n }\r\n }\r\n public getPosition1(): Observable {\r\n return Observable.create(observer => {\r\n navigator.geolocation.watchPosition((pos: Position) => {\r\n observer.next(pos);\r\n }),\r\n () => {\r\n console.log(\"Position is not available\");\r\n },\r\n {\r\n enableHighAccuracy: true\r\n };\r\n });\r\n }\r\n\r\n GetLatLongByCo_ordinate(lat: string, long: string) {\r\n if (lat == \"\" || lat == undefined || lat == null) {\r\n return false;\r\n }\r\n this.ms\r\n .GetLocationByLatLongWithSensor(lat, long)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n try {\r\n for (let ix of data.results) {\r\n if (ix[\"types\"][0] == \"street_address\") {\r\n let tempaddress = \"\";\r\n for (\r\n let ad = 1;\r\n ad < ix[\"formatted_address\"].split(\",\").length;\r\n ad++\r\n ) {\r\n if (\r\n tempaddress == \"\" ||\r\n tempaddress == null ||\r\n tempaddress == undefined\r\n ) {\r\n tempaddress = ix[\"formatted_address\"].split(\",\")[ad];\r\n } else {\r\n tempaddress =\r\n tempaddress + \",\" + ix[\"formatted_address\"].split(\",\")[ad];\r\n }\r\n }\r\n this._CurrLocation = tempaddress; //ix[\"formatted_address\"];\r\n window.localStorage.setItem(\r\n \"UserCurrentAddress\",\r\n this._CurrLocation\r\n );\r\n break;\r\n }\r\n }\r\n try {\r\n if (data.results.length > 0) {\r\n for (let ix of data.results[0][\"address_components\"]) {\r\n if (ix[\"types\"] == \"postal_code\") {\r\n window.localStorage.setItem(\"userZipCode\", ix[\"long_name\"]);\r\n this._UserZip = ix[\"long_name\"];\r\n this.IsAutoLocation = \"Found\";\r\n break;\r\n }\r\n }\r\n }\r\n } catch { }\r\n } catch { }\r\n });\r\n }\r\n GetLatLongByZipCode(ZipCode: string) {\r\n let _Zip = \"\";\r\n if (String(ZipCode).length == 4) {\r\n _Zip = \"0\" + String(ZipCode);\r\n }\r\n else {\r\n _Zip = String(ZipCode);\r\n }\r\n //--------------------Reset pharmacy search params--------------\r\n window.localStorage.setItem(\"SelectedDrugName\", this.SelectedDrug)\r\n window.localStorage.setItem(\"DrugType\", this.DrugType)\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose)\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuant)\r\n window.localStorage.setItem(\"IsBG\", this.DrugCat)\r\n window.localStorage.setItem(\"userZipCode\", _Zip)\r\n // window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n // window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n this.ms\r\n .GetCoordinatebyzip(_Zip)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n try {\r\n if (data.results.length > 0) {\r\n this._CurrLocation = data.results[0][\"formatted_address\"];\r\n window.localStorage.setItem(\"UserLat\", data.results[0].geometry.location.lat);\r\n window.localStorage.setItem(\"UserLong\", data.results[0].geometry.location.lng);\r\n window.localStorage.setItem(\"userZipCode\", _Zip);\r\n window.localStorage.setItem(\"UserCurrentAddress\", this._CurrLocation);\r\n let Pharmacy_Request_Params = window.localStorage.getItem(\"SelectedDrugName\") + \"|\" + window.localStorage.getItem(\"DrugType\") + \"|\" + window.localStorage.getItem(\"DrugDose\") + \"|\" + window.localStorage.getItem(\"DrugQuant\") + \"|\" + window.localStorage.getItem(\"IsBG\") + \"|\" + window.localStorage.getItem(\"userZipCode\");\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Details Pop Up\", \"Click to Load Pharmacy\", Pharmacy_Request_Params, 0);commented by shubh\r\n this.ShowDrugdetails = false;\r\n $(\"body\").removeAttr(\"style\");\r\n if (this.router.url.toLocaleLowerCase().indexOf('pharmacy') > -1) {\r\n let BaseURL = this.router[\"location\"][\"_platformStrategy\"][\"_platformLocation\"][\"location\"][\"origin\"];\r\n // this.router.url ==BaseURL+\"/Pharmacy\"\r\n window.location.href = BaseURL + \"/Pharmacy\";\r\n }\r\n else {\r\n this.router.navigate([\"/Pharmacy\"]);\r\n }\r\n } else {\r\n _Zip = String(ZipCode);\r\n this._UserZip = _Zip;\r\n this._CurrLocation = this._UserZip;\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n }\r\n } catch { }\r\n });\r\n }\r\n getLock() { }\r\n\r\n //+++--------------------------------Drug Details Popup UI-------------------------+++//\r\n UpdateDrugParamsWithSwaping(_drugname, _sourcetype) {\r\n try {\r\n this.DrugName = _drugname;\r\n window.localStorage.setItem(\"SelectedDrugName\", this.DrugName);\r\n if (_sourcetype.toLowerCase() == \"generic\") {\r\n let FilterItem = this.ResponseData[0][\"generic\"].filter(item => {\r\n return item[\"sub_drug_name\"].toLowerCase() == _drugname.toLowerCase();\r\n });\r\n if (FilterItem.length > 0) {\r\n this.optionlist = [];\r\n for (let x of FilterItem[0][\"types\"]) {\r\n try {\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(item => {\r\n return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n });\r\n if (_DoseFilter.length > 0) {\r\n this.optionlist.push({\r\n value: _DoseFilter[0][\"Descrption\"],\r\n text: _DoseFilter[0][\"Descrption\"]\r\n });\r\n } else {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n try {\r\n if (this.optionlist.length <= 1) {\r\n this.DrugFormSingle = true;\r\n }\r\n else {\r\n this.DrugFormSingle = false;\r\n }\r\n } catch { }\r\n this.UpdateDoseByFormTypeSwaping(this.optionlist[0].value);\r\n }\r\n } else {\r\n let FilterItem = this.ResponseData[0][\"brand\"].filter(item => {\r\n return item[\"sub_drug_name\"].toLowerCase() == _drugname.toLowerCase();\r\n });\r\n if (FilterItem.length > 0) {\r\n this.optionlist = [];\r\n for (let x of FilterItem[0][\"types\"]) {\r\n try {\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(item => {\r\n return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n });\r\n if (_DoseFilter.length > 0) {\r\n this.optionlist.push({\r\n value: _DoseFilter[0][\"Descrption\"],\r\n text: _DoseFilter[0][\"Descrption\"]\r\n });\r\n } else {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n this.UpdateDoseByFormTypeSwaping(this.optionlist[0].value);\r\n }\r\n }\r\n\r\n if (this.optionlist.length > 1) {\r\n this.DoseFormSingle = false;\r\n } else {\r\n this.DoseFormSingle = true;\r\n }\r\n if (this.DrugDoseList.length > 1) {\r\n this.StrengthSingle = false;\r\n } else {\r\n this.StrengthSingle = true;\r\n }\r\n this.DrugType = this.optionlist[0].value;\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n // window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n // window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n this.selectedValue = this.optionlist[0].value;\r\n } catch { }\r\n }\r\n UpdateDoseByFormTypeSwaping(_doseform) {\r\n let tempdoseform = \"\";\r\n try {\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(item => {\r\n return item[\"Descrption\"].toLowerCase() == _doseform.toLowerCase();\r\n });\r\n if (_DoseFilter.length > 0) {\r\n tempdoseform = _DoseFilter[0][\"Dose\"];\r\n } else {\r\n tempdoseform = _doseform;\r\n }\r\n } catch {\r\n tempdoseform = _doseform;\r\n }\r\n\r\n this.DrugType = _doseform;\r\n window.localStorage.setItem(\"DrugType\", _doseform);\r\n this.DrugDoseList = [];\r\n this.selectedValue = _doseform;\r\n try {\r\n if (this.ResponseData.length > 0) {\r\n if (this.DrugCat.toLowerCase() == \"generic\") {\r\n let _NameFilter = this.ResponseData[0][\"generic\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n let _it = -1;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n _it += 1;\r\n if (x.dose == tempdoseform) {\r\n for (let x of _NameFilter[0][\"types\"][_it][\"strength\"]) {\r\n if (this.ms.IsNullOrEmptyField(x[\"Strength\"]) == false) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n }\r\n break;\r\n }\r\n } catch { }\r\n }\r\n } else {\r\n let _NameFilter = this.ResponseData[0][\"brand\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n let _it = -1;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n _it += 1;\r\n if (x.dose == tempdoseform) {\r\n for (let x of _NameFilter[0][\"types\"][_it][\"strength\"]) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n break;\r\n }\r\n } catch { }\r\n }\r\n }\r\n if (this.DrugDoseList.length > 0) {\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n }\r\n else {\r\n this.DrugDose = \"\";\r\n }\r\n\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n window.localStorage.setItem(\"DrugType\", _doseform);\r\n this.selectedValue = _doseform;\r\n if (this.DrugDoseList.length <= 1) {\r\n this.StrengthSingle = true;\r\n } else {\r\n this.StrengthSingle = false;\r\n }\r\n }\r\n } catch { }\r\n this.UpdateDrugQuantityOnTopChange();\r\n }\r\n UpdateDrugQuantityOnTopChange() {\r\n try {\r\n this.DrugQuantityList = [];\r\n let _DoseFilter_1 = this.DoseDescriptor_JSON.filter(item => {\r\n return item[\"Descrption\"].toLowerCase() == this.DrugType.toLowerCase();\r\n });\r\n let DoseForm = _DoseFilter_1[0][\"Dose\"];\r\n let APIResponse = this.ResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (this.DrugCat.toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n item => {\r\n return item[\"dose\"].toLowerCase() == DoseForm.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter(item => {\r\n return (item[\"Strength\"].toLowerCase().replace(/\\s/g, '') == this.DrugDose.toLowerCase().replace(/\\s/g, ''));\r\n });\r\n if (_StrengthFilter.length > 0) {\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n if (xqx.Quantity != 0) {\r\n this.DrugQuantityList.push(parseInt(xqx[\"Quantity\"]));\r\n }\r\n }\r\n }\r\n this.DrugQuantityList.sort(function (a, b) { return a - b });\r\n if (this.DrugQuantityList.length > 0) {\r\n this.DrugQuant = this.DrugQuantityList[0];\r\n } else {\r\n this.DrugQuant = 10;\r\n }\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n }\r\n }\r\n } catch { }\r\n }\r\n DrugQuantityValidate(e: any) {\r\n this.Quantity_error = '';\r\n $(\"#Quantity_Manual\").parent().removeClass('error_msg');\r\n var keyCode = e.which ? e.which : e.keyCode;\r\n if (keyCode != 8 && keyCode != 0 && (keyCode < 48 || keyCode > 57)) {\r\n return false;\r\n }\r\n }\r\n SubmitQuantity() {\r\n if (this.Quantity_Manual == null || this.Quantity_Manual == \"\" || this.Quantity_Manual == undefined) {\r\n this.Quantity_error = 'Please enter a quantity';\r\n $(\"#Quantity_Manual\").parent().addClass('error_msg');\r\n return false;\r\n }\r\n else {\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Quantity Pop Up\", \"Drug Quantity\", this.DrugQuant + \"<-->\" + this.Quantity_Manual, 0);commented by shubh\r\n this.ManualQuantity_box = false;\r\n this.DrugQuant = this.Quantity_Manual;\r\n // window.localStorage.setItem('DrugQuant', this.DrugQuant);\r\n }\r\n }\r\n Redirect_LoadPharmacy() {\r\n this.zipCodeLenth();\r\n let getLenth = this._UserZip.length;\r\n if (getLenth < 5) {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n return false;\r\n }\r\n $(\".homepage, html\").removeAttr('style');\r\n this.Enter_Zip = false;\r\n if (this.ms.IsNullOrEmptyField(this._UserZip) == true) {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n } else {\r\n this.GetLatLongByZipCode(this._UserZip);\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n }\r\n zipCodeLenth() {\r\n let zipLen = $(\"#getzipcodeTop\").val();\r\n if (zipLen == '') {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n }\r\n }\r\n removileview() {\r\n $(\".searchbox_home\").removeClass(\"mobile_searchbox_home\");\r\n }\r\n // change icon in password field\r\n changeIcon(val) {\r\n var getId = `#status${val}`;\r\n var getChangeId = $(getId).attr('class');\r\n if (val == 1 || val == 2 || val == 3 || val == 4 || val == 5) {\r\n if (getChangeId === \"statusA eye_show\") {\r\n $(getId).removeClass('eye_show');\r\n return false;\r\n }\r\n $(getId).addClass('statusA eye_show');\r\n }\r\n }\r\n // go to top click on footer link\r\n onActivate(event) {\r\n window.scroll(0, 0);\r\n }\r\n CloseQuantity_Box() {\r\n this.ManualQuantity_box = false;\r\n }\r\n opensignupbox() {\r\n this.step1signup = true;\r\n this.step2signup=false;\r\n this.fname=\"\";\r\n this.lname=\"\";\r\n this.phoneno=\"\";\r\n this.emailid=\"\";\r\n this.step1error=\"\";\r\n this.username=\"\";\r\n this.password=\"\";\r\n this.confirmpassword=\"\";\r\n this.checkboxconfirm=false;\r\n this.ste2error=\"\";\r\n this.signupsucess=false;\r\n this.loaderstart=false;\r\n this.signupform = !this.signupform;\r\n }\r\n submitstep1() {\r\n let firstName = this.fname;\r\n let lastName = this.lname;\r\n let phoneNumber = this.phoneno.toString();\r\n let email = this.emailid;\r\n this.loaderstart = true;\r\n if (!firstName || !lastName || !phoneNumber || !email) {\r\n this.step1error = \"Please fill in all fields.\";\r\n this.loaderstart = false;\r\n return;\r\n }\r\n if (phoneNumber.length < 10) {\r\n this.step1error = \"Phone Number must be 10 digits\";\r\n this.loaderstart = false;\r\n return;\r\n }\r\n // Simple email validation\r\n var emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\r\n if (!emailRegex.test(email)) {\r\n this.step1error = \"Please enter a valid email address.\";\r\n this.loaderstart = false;\r\n return;\r\n }\r\n this.phonevalidate(phoneNumber)\r\n }\r\n clearerror() {\r\n this.step1error = \"\";\r\n this.ste2error = \"\";\r\n }\r\n phonevalidate(phoneno) {\r\n this.ApiService.GetPhoneNoValidate(phoneno)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data[0].code == \"1\") {\r\n this.ApiService.checkavailability(phoneno, this.emailid, \"\", false)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data[0].code == \"1\") {\r\n this.step1signup = false;\r\n this.step2signup = true;\r\n this.loaderstart = false;\r\n }\r\n else {\r\n this.step1error = data[0].message\r\n this.loaderstart = false;\r\n }\r\n })\r\n }\r\n else {\r\n this.step1error = data[0].message;\r\n this.loaderstart = false;\r\n }\r\n\r\n })\r\n }\r\n submitstep2() {\r\n this.loaderstart = true;\r\n var username = this.username;\r\n var password = this.password;\r\n var confirmpassword = this.confirmpassword;\r\n var checkboxconfirm = this.checkboxconfirm;\r\n\r\n if (!username || !password || !confirmpassword) {\r\n this.ste2error = 'Please fill in all fields.';\r\n this.loaderstart = false;\r\n return;\r\n }\r\n if (username.length < 5) {\r\n this.ste2error = 'Username must be at least 5 characters long';\r\n this.loaderstart = false;\r\n return;\r\n }\r\n if (password.length < 6) {\r\n this.ste2error = 'Password must be at least 6 characters long';\r\n this.loaderstart = false;\r\n return;\r\n }\r\n\r\n // Additional validation logic for password matching, etc.\r\n if (password !== confirmpassword) {\r\n this.ste2error = 'Password and Confirm Password must match.';\r\n this.loaderstart = false;\r\n return;\r\n }\r\n if (!checkboxconfirm) {\r\n this.ste2error = 'Please click the checkbox to agree our Terms & Conditions';\r\n this.loaderstart = false;\r\n return;\r\n }\r\n\r\n this.ApiService.checkusername(this.username)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data[0].code == \"0\") {\r\n this.ApiService.checkavailability(this.phoneno.toString(), this.emailid, this.username, true)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data[0].message == \"Available\") {\r\n this.ApiService.createuser(this.fname, this.lname, this.phoneno.toString(), this.emailid, this.username, this.password, location.host + \"/Signup\")\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data[0].message == \"Success\") {\r\n this.loaderstart = false;\r\n this.step2signup = false;\r\n this.signupsucess = true;\r\n }\r\n else {\r\n this.ste2error = data[0].message;\r\n }\r\n })\r\n\r\n }\r\n else {\r\n this.ste2error = data[0].message\r\n this.loaderstart = false;\r\n }\r\n })\r\n }\r\n else {\r\n this.ste2error = data[0].message;\r\n this.loaderstart = false;\r\n\r\n }\r\n })\r\n }\r\n}\r\n","import { BrowserModule } from \"@angular/platform-browser\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { ReactiveFormsModule } from \"@angular/forms\";\r\nimport { AppComponent } from \"./app.component\";\r\nimport { HomeComponent } from \"./home/home.component\";\r\nimport { RouterModule, Routes } from \"@angular/router\";\r\nimport { HttpClientModule } from \"@angular/common/http\";\r\nimport { HttpModule } from \"@angular/http\";\r\nimport { PharmacyComponent } from \"./pharmacy/pharmacy.component\";\r\nimport { MycardsComponent } from \"./mycards/mycards.component\";\r\nimport { AgmCoreModule } from \"@agm/core\";\r\nimport { GetcardComponent } from './getcard/getcard.component';\r\nimport { SearchComponent } from './search/search.component';\r\nimport { SearchNavComponent } from './search-nav/search.component';\r\nimport { SlickCarouselModule } from 'ngx-slick-carousel';\r\n\r\nimport { AboutUsComponent } from './about-us/about-us.component';\r\nimport { PricingComponent } from './pricing/pricing.component';\r\nimport { ContactUsComponent } from './contact-us/contact-us.component';\r\nimport { HeaderComponent } from './header/header.component';\r\nimport { FooterComponent } from './footer/footer.component';\r\nimport { AccordianComponent } from './accordian/accordian.component';\r\nimport { DownloadComponent } from './download/download.component';\r\nimport { HowWorksComponent } from './how-works/how-works.component';\r\nimport { HelpComponent } from './help/help.component';\r\nimport { TermsofuseComponent } from './termsofuse/termsofuse.component';\r\nimport { DomainAffiliateComponent } from './domain-affiliate/domain-affiliate.component';\r\nimport { CardComponent } from './card/card.component';\r\nimport { TermsComponent } from './terms/terms.component';\r\nimport {ComplianceesourcesComponent} from './compliance-resources/compliance.component';\r\nimport {LittleAngelHandsComponent} from './little-angel-hands/little-angel-hands.component';\r\nimport {PetPrescriptionsComponent} from './pet-prescriptions/pet-prescriptions.component';\r\nimport {OrdinalDatePipe} from '../ordinal-date.pipe';\r\n// import { NgxSlickCarouselModule } from 'ngx-slick-carousel';\r\n\r\n\r\n// Google ReCaptcha START\r\nimport {\r\n RECAPTCHA_SETTINGS,\r\n RecaptchaSettings,\r\n RecaptchaLoaderService,\r\n RecaptchaModule,\r\n} from 'ng-recaptcha';\r\n\r\nimport { ComplianceComponent } from './compliance/compliance.component';\r\nimport { PrivacyComponent } from './privacy/privacy.component';\r\nimport { ProgramDescriptionComponent } from './program-description/program-description.component';\r\nimport { DrugsComponent } from './drugs/drugs.component';\r\nimport { DownloadAppComponent } from './download-app/download-app.component';\r\nimport { TimifitComponent } from './timifit/timifit.component';\r\nimport { LoaderPopupComponent } from './shared/loader-popup/loader-popup.component';\r\nimport { ErrorPopupComponent } from './shared/error-popup/error-popup.component';\r\nimport { UnderinsuredComponent } from './underinsured/underinsured.component';\r\nimport { SafarilinkComponent } from './safarilink/safarilink.component';\r\nimport { ConsumersignupComponent } from './consumersignup/consumersignup.component';\r\nimport { HomeAccordianComponent } from './home-accordian/home-accordian.component';\r\nimport { PetsAccordianComponent } from './pets-accordian/pets-accordian.component';\r\n// import { PetPrescriptionsComponent } from './pet-prescriptions/pet-prescriptions.component';\r\n// import { LittleAngelHandsComponent } from './little-angel-hands/little-angel-hands.component';\r\n\r\nconst globalSettings: RecaptchaSettings = { siteKey: '6LcY2gUaAAAAAB1rIXaSuXip3Bl0HOdolscjgsmU' };\r\n\r\n// Google ReCaptcha END\r\n\r\n// const appRoutes: Routes = [\r\n// { path: \"\", component: HomeComponent, data: {\r\n// title: 'RxHacker | Save on Prescription Medications with our Discount Card',\r\n// description: 'Our discount card helps make prescription medications more affordable for everyone. No enrollment fees and no restrictions on usage. Save on your next prescription at participating pharmacies nationwide.'\r\n// }},\r\n// { path: \"Home\", component: HomeComponent, data: {\r\n// title: 'RxHacker | Save on Prescription Medications with our Discount Card',\r\n// description: 'Our discount card helps make prescription medications more affordable for everyone. No enrollment fees and no restrictions on usage. Save on your next prescription at participating pharmacies nationwide.'\r\n// }},\r\n// { path: \"Pharmacy\", component: PharmacyComponent},\r\n// { path: \"MyCards\", component: MycardsComponent, data: {\r\n// title: 'RxHacker | View Your Saved Prescription Discount Cards',\r\n// description: 'Our online platform makes it easy to view and access your saved prescription discount cards in one convenient location. No more searching through wallets and drawers - all of your cards are just a click away.'\r\n// }},\r\n// { path: 'aboutUs', component: AboutUsComponent},\r\n// { path: 'pricing', component: PricingComponent, data: {\r\n// title: 'Compare Prices on Prescription Medications',\r\n// description: 'Our search tool makes it easy to compare prices on prescription medications at pharmacies in your area. Simply enter your zip code and the name of the drug you need to find the best deals.'\r\n// }},\r\n// { path: 'contact', component: ContactUsComponent, data: {\r\n// title: 'RxHacker | Contact Us for More Information on Prescription Discounts',\r\n// description: 'Have questions about our prescription discount program? Need assistance finding the lowest prices on medications? Contact us and one of our friendly representatives will be happy to help.'\r\n// }},\r\n// { path: 'little-angel-hands', component: LittleAngelHandsComponent, data: {\r\n// title: 'RxHacker | Little Angle Hands Us for More Information on Prescription Discounts',\r\n// description: 'Have questions about our prescription discount program? Need assistance finding the lowest prices on medications? Contact us and one of our friendly representatives will be happy to help.'\r\n// }},\r\n// { path: 'pet-prescriptions', component: PetPrescriptionsComponent, data: {\r\n// title: 'RxHacker | Pet Prescriptions Component for More Information on Prescription Discounts',\r\n// description: 'Have questions about our prescription discount program? Need assistance finding the lowest prices on medications? Contact us and one of our friendly representatives will be happy to help.'\r\n// }},\r\n// { path: 'Underinsured', component: UnderinsuredComponent, data: {\r\n// title: 'RxHacker | Underinsured Us for More Information on Prescription Discounts',\r\n// description: 'Have questions about our prescription discount program? Need assistance finding the lowest prices on medications? Contact us and one of our friendly representatives will be happy to help.'\r\n// }},\r\n// { path: 'download-mobile-app', component: DownloadComponent },\r\n// { path: 'howItWorks', component: HowWorksComponent },\r\n// { path: 'help', component: HelpComponent },\r\n// { path: 'termsofuse', component: TermsofuseComponent },\r\n// { path: 'domain-affiliate', component: DomainAffiliateComponent },\r\n// { path: 'card/:id', component: CardComponent },\r\n// { path: 'Card/:id', component: CardComponent },\r\n// { path: 'terms', component: TermsComponent },\r\n// // { path: 'compliance', component: ComplianceComponent },\r\n// { path: 'compliance', component: ComplianceesourcesComponent },\r\n// { path: 'privacy', component: PrivacyComponent }, \r\n// { path: 'program', component: ProgramDescriptionComponent }, \r\n// { path: 'drugs', component: DrugsComponent, data: {\r\n// title: 'RxHacker | Find out which drugs are covered by our discount program',\r\n// description: 'Our discount program offers discounts on many common prescription medications. View the complete list of drugs covered by our program and start saving on your medication costs.'\r\n// }},\r\n// { path: 'download-app', component: DownloadAppComponent, data: {\r\n// title: 'RxHacker | Get the Best Deals on Prescription Medications with our App',\r\n// description: 'Our mobile app makes it easy to search for the lowest prices on prescription medications. Simply enter your zip code and the name of the drug you need, and our app will show you the cheapest prices at pharmacies near you.'\r\n// }},\r\n// { path: 'fit-economy', component: TimifitComponent, data: {\r\n// title: 'RxHacker | Get Fit and Earn Crypto with Our Move to Earn Program',\r\n// description: 'Our Move to Earn program rewards you for being active and reaching your fitness goals. Join the RxHacker network on Timifit to start earning crypto for your workouts and daily activity.'\r\n// }},\r\n// { path: 'safaridefault', component: SafarilinkComponent, data: {\r\n// title: 'RxHacker | Safari link'\r\n// }},\r\n// { path: 'timifit', redirectTo: '/fit-economy', pathMatch: 'full' },\r\n// { path: \"**\", component: HomeComponent }\r\n// ];\r\nconst appRoutes: Routes = [\r\n { path: \"\", redirectTo: \"Pharmacy\", pathMatch: \"full\" }, // Redirect empty path to Pharmacy without the trailing slash\r\n { path: \"Pharmacy\", component: PharmacyComponent, pathMatch: \"prefix\", data: { preserveQueryParams: true } }, // Preserve query params for the Pharmacy path\r\n { path: 'terms', component: TermsComponent },\r\n { path: 'privacy', component: PrivacyComponent }, \r\n { path: \"**\", redirectTo: \"Pharmacy\", pathMatch: \"full\" }, // Redirect all other paths to Pharmacy\r\n];\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n HomeComponent,\r\n AboutUsComponent,\r\n PricingComponent,\r\n ContactUsComponent,\r\n HeaderComponent,\r\n FooterComponent,\r\n PharmacyComponent,\r\n MycardsComponent,\r\n GetcardComponent,\r\n SearchComponent,\r\n SearchNavComponent,\r\n AccordianComponent,\r\n DownloadComponent,\r\n HowWorksComponent,\r\n HelpComponent,\r\n TermsofuseComponent,\r\n DomainAffiliateComponent,\r\n CardComponent,\r\n TermsComponent,\r\n ComplianceComponent,\r\n ComplianceesourcesComponent,\r\n PrivacyComponent,\r\n ProgramDescriptionComponent,\r\n DrugsComponent,\r\n OrdinalDatePipe,\r\n DownloadAppComponent,\r\n TimifitComponent,\r\n LoaderPopupComponent,\r\n ErrorPopupComponent,\r\n LittleAngelHandsComponent,\r\n PetPrescriptionsComponent,\r\n UnderinsuredComponent,\r\n SafarilinkComponent,\r\n ConsumersignupComponent,\r\n HomeAccordianComponent,\r\n PetsAccordianComponent\r\n ],\r\n imports: [\r\n RecaptchaModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes\r\n\r\n // { enableTracing: true } // <-- debugging purposes only\r\n ),\r\n BrowserModule,\r\n HttpClientModule,\r\n HttpModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n AgmCoreModule.forRoot({\r\n apiKey: \"AIzaSyAuNL17CjdSdiDc3fQ46T6Sy2oB2UPuLB0\"\r\n }),\r\n SlickCarouselModule,\r\n // NgxSlickCarouselModule\r\n ],\r\n providers: [{\r\n provide: RECAPTCHA_SETTINGS,\r\n useValue: globalSettings,\r\n }],\r\n \r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }","\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n

Get your discount card

\r\n
\r\n
\r\n \r\n Apple wallet\r\n
\r\n
\r\n \r\n Google wallet\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n

Terms of Use  | Privacy Policy  | © {{currentYear}} NuLifeSpan Rx LLC. All Rights Reserved.

\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

\r\n Sign up to save upto 80% on Prescriptions!\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

Sign Up to {{ _AppName }}

\r\n
\r\n \r\n \r\n
\r\n {{ sign_up_email_error }}\r\n
\r\n \r\n \r\n
\r\n {{ sign_up_password_error }}\r\n
\r\n \r\n \r\n
\r\n {{ sign_up_cpassword_error }}\r\n
\r\n
\r\n
\r\n Sign Up\r\n
\r\n
\r\n Already have an account?\r\n Sign In here\r\n
\r\n
\r\n \r\n

\r\n By tapping Sign Up below, you confirm that you accept the\r\n Terms of Use.\r\n

\r\n
\r\n\r\n
\r\n
\r\n

Sign In to {{ _AppName }}

\r\n
\r\n \r\n \r\n
\r\n {{ sign_in_email_error }}\r\n
\r\n \r\n \r\n
\r\n {{ sign_in_password_error }}\r\n
\r\n Forgot Password\r\n
\r\n
\r\n Sign In\r\n
\r\n
\r\n Don’t have account ?\r\n Sign up here\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from \"@angular/core\";\r\n\r\nimport * as $ from \"jquery\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { SaveService } from \"../services/save.service\";\r\nimport { ApiService } from \"../services/api.service\";\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { Subscription, from } from \"rxjs\";\r\nimport { RouterModule, Routes, NavigationEnd, NavigationStart, RoutesRecognized, ActivationStart, ActivationEnd } from \"@angular/router\";\r\nimport { MedicinService } from \"../services/index\";\r\nimport { PrerequisiteService } from \"../services/prerequisite.service\";\r\n\r\n\r\n@Component({\r\n selector: \"app-footer\",\r\n templateUrl: \"./footer.component.html\",\r\n styleUrls: [\"./footer.component.css\"],\r\n providers: [ApiService]\r\n})\r\nexport class FooterComponent implements OnInit {\r\n brandName;\r\n logo;\r\n isSuccess = false;\r\n newserror: any = \"\";\r\n news_sucess: any = false;\r\n sendno: any = \"\";\r\n sendmessageClass: any = \"\";\r\n sendmessageStatus: any = \"\";\r\n currentYear: number = new Date().getFullYear();\r\n subscription: Subscription;\r\n littleAngleFooter = false;\r\n petPrescriptionsFooter = false;\r\n showloginbox = false;\r\n signup_fields = false;\r\n signin_fields = false; \r\n otp_sent: any = false;\r\n forgotpassword_box: any = false;\r\n googlegenericpassval:any=\"\";\r\n applegenericpassval:any=\"\";\r\n android:any=true;\r\n ios:any=true;\r\n desktop:any=true;\r\n showemailpopup:any=false;\r\n\r\n private sign_in_error = \"\";\r\n private sign_up_error = \"\";\r\n private sign_in_email: string = \"\";\r\n private sign_in_password: string = \"\";\r\n private sign_in_email_error: string = \"\";\r\n private sign_in_password_error: string = \"\";\r\n public sign_in_user_email: string = \"\";\r\n public input_groupnumber_error: string = \"\";\r\n private input_otp: string = \"\";\r\n private reset_update_password_error: string = \"\";\r\n\r\n private sign_up_email: string = \"\";\r\n private sign_up_password: string = \"\";\r\n private sign_up_cpassword: string = \"\";\r\n private sign_up_email_error: string = \"\";\r\n private sign_up_password_error: string = \"\";\r\n private sign_up_cpassword_error: string = \"\";\r\n private input_otp_error: string = \"\";\r\n\r\n private current_password: string = \"\";\r\n private new_password: string = \"\";\r\n private c_new_password: string = \"\";\r\n private current_password_error: string = \"\";\r\n private new_password_error: string = \"\";\r\n private c_new_password_error: string = \"\";\r\n public Group_Number_Box: boolean = false;\r\n\r\n private forgot_email: string = \"\";\r\n private forgot_email_error: string = \"\";\r\n\r\n private forgot_new_password: string = \"\";\r\n private forgot_new_password_error: string = \"\";\r\n\r\n\r\n newsletter() {\r\n var mailformat = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n var newsLetterMail = $(\"input[name='email_']\").val();\r\n // if (newsLetterMail != \"\" && newsLetterMail.match(mailformat)) {\r\n if (newsLetterMail != \"\") {\r\n this.ApiService\r\n .addActiveContact(newsLetterMail, \"\", \"\", \"newsletter\")\r\n .pipe(map(res => res.json()))\r\n\r\n .subscribe(data => {\r\n $(\"input[name='email_']\").val(\"\");\r\n $('.fnewss').show();\r\n });\r\n } else if (!newsLetterMail.match(mailformat) && newsLetterMail != \"\") {\r\n $(\"#newsvalidator\")\r\n .css({ display: \"block\", color: \"#f19f57\" })\r\n .prev()\r\n .css(\"border-color\", \"#f19f57\");\r\n this.newserror = \"Please enter a valid email address\";\r\n } else {\r\n $(\"#newsvalidator\")\r\n .css({ display: \"block\", color: \"#f19f57\" })\r\n .prev()\r\n .css(\"border-color\", \"#f19f57\");\r\n this.newserror = \"Please enter a valid email address\";\r\n }\r\n }\r\n removeerror(event) {\r\n $(\"#newsvalidator\")\r\n .hide()\r\n .prev()\r\n .removeAttr(\"style\");\r\n $('.fnewss').hide();\r\n }\r\n\r\n constructor(\r\n private saveService: SaveService,\r\n private ApiService: ApiService,\r\n public router: Router,\r\n private ms: MedicinService,\r\n private rs: PrerequisiteService,\r\n ) { \r\n this.router.events.subscribe(event => {\r\n ;\r\n let url = this.router.url;\r\n if (url == \"/little-angel-hands\") {\r\n this.littleAngleFooter = true;\r\n console.log('footer: ' + this.littleAngleFooter);\r\n } else this.littleAngleFooter = false;\r\n })\r\n this.router.events.subscribe(event => {\r\n ;\r\n let url = this.router.url;\r\n if (url == \"/petPrescriptions\") {\r\n this.petPrescriptionsFooter = true;\r\n console.log('footer: ' + this.petPrescriptionsFooter);\r\n } else this.petPrescriptionsFooter = false;\r\n})\r\n }\r\n\r\n\r\n ngOnInit() {\r\n let userAgent = window.navigator.userAgent;\r\n let devicetype = this.GetUserAgent(userAgent);\r\n let browsername = this.GetBrowserName(userAgent);\r\n this.googlegeneric('023518', 'ARX', '100-4542')\r\n this.applegeneric('023518', 'ARX', '100-4542')\r\n// alert(devicetype + '--' + browsername);\r\n // --Chrome\r\n if(devicetype == \"Desktop\") {\r\n this.android=true;\r\n this.ios=true;\r\n }\r\n if(devicetype ==\"iPhone\") {\r\n this.android=false;\r\n this.ios=true;\r\n }\r\n if(devicetype ==\"Android\") {\r\n this.android=true;\r\n this.ios=false;\r\n }\r\n $(\".footer-nav a\").click(function () {\r\n $(\".navbar-nav a\").removeClass(\"home-active\");\r\n });\r\n this.brandName = this.saveService.getFooterBrandName();\r\n this.logo = this.saveService.getLogo();\r\n }\r\n GetBrowserName(UserAgent_Raw) {\r\n if (/Firefox/i.test(UserAgent_Raw)) {\r\n return 'Firefox';\r\n } else if (/Chrome/i.test(UserAgent_Raw)) {\r\n return 'Chrome';\r\n } else if (/Safari/i.test(UserAgent_Raw)) {\r\n return 'Safari';\r\n } else if (/MSIE|Trident/i.test(UserAgent_Raw)) {\r\n return 'Internet Explorer';\r\n } else if (/Edge/i.test(UserAgent_Raw)) {\r\n return 'Edge';\r\n } else if (/Opera|OPR/i.test(UserAgent_Raw)) {\r\n return 'Opera';\r\n } else if (/Brave/i.test(UserAgent_Raw)) {\r\n return 'Brave';\r\n } else if (/Vivaldi/i.test(UserAgent_Raw)) {\r\n return 'Vivaldi';\r\n } else if (/Yandex/i.test(UserAgent_Raw)) {\r\n return 'Yandex';\r\n } else if (/Chromium/i.test(UserAgent_Raw)) {\r\n return 'Chromium';\r\n } else {\r\n return 'Unknown';\r\n }\r\n}\r\n GetUserAgent(UserAgent_Raw) {\r\n if (/Mobi|Android/i.test(UserAgent_Raw)) {\r\n if (/iPhone|iPad|iPod/i.test(UserAgent_Raw)) {\r\n return 'iPhone';\r\n }\r\n else {\r\n return 'Android';\r\n }\r\n } else {\r\n return 'Desktop';\r\n }\r\n}\r\n removesignup(event) {\r\n this.ms.Setsignup(false, false, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n ForgotPassword() {\r\n this.otp_sent = false;\r\n this.forgot_email_error = null;\r\n this.input_otp_error = null;\r\n this.input_otp = null;\r\n this.reset_update_password_error = null;\r\n this.forgotpassword_box = true;\r\n }\r\n removeStyle(val) {\r\n // ie fix issue\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n var ff = ua.indexOf('Firefox');\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./) || edge > 0 || ff > 0) // If Internet Explorer, return version number\r\n {\r\n if (val == \"home_screen\" || val == 'sign_up' || val == 'sign_in') {\r\n $(\".ie_fixed_add_n, #Signin_Signup_Header\").removeAttr(\"style\");\r\n }\r\n }\r\n }\r\n ClearErrorMessage() {\r\n this.sign_in_email_error = \"\";\r\n this.sign_in_password_error = \"\";\r\n this.sign_up_email_error = \"\";\r\n this.sign_up_password_error = \"\";\r\n this.sign_up_cpassword_error = \"\";\r\n this.sign_in_email = \"\";\r\n this.sign_in_password = \"\";\r\n this.sign_up_email = \"\";\r\n this.sign_up_password = \"\";\r\n this.sign_up_cpassword = \"\";\r\n this.input_groupnumber_error = \"\";\r\n this.current_password_error = \"\";\r\n this.new_password_error = \"\";\r\n this.c_new_password_error = \"\";\r\n this.sign_in_error = null;\r\n this.sign_up_error = \"\";\r\n }\r\n openlogin_signup(event, val) {\r\n this.removeStyle(val);\r\n this.ClearErrorMessage();\r\n this.ms.Getsignup();\r\n if (val == \"sign_up\") {\r\n this.ms.Setsignup(true, true, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n }\r\n else if (val == \"my_cards\") {\r\n if (this.rs.GetUserLoggedInStatus() == \"signupscreen\") {\r\n this.ms.Setsignup(true, true, false);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n return false;\r\n }\r\n if (window.localStorage.getItem('UserGroup') == null || window.localStorage.getItem('UserGroup') == \"False\" || window.localStorage.getItem('UserGroup') == \"null\" || window.localStorage.getItem('UserGroup') == \"\") {\r\n this.Group_Number_Box = true;\r\n // $(\".TestGroup a\")[0].click();\r\n return false;\r\n }\r\n else {\r\n this.router.navigate([\"/MyCards\"]);\r\n }\r\n }\r\n else if (val == \"groupnumber\") {\r\n this.Group_Number_Box = true;\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n } else {\r\n this.ms.Setsignup(true, false, true);\r\n this.showloginbox = this.ms.Getsignup()[0];\r\n this.signup_fields = this.ms.Getsignup()[1];\r\n this.signin_fields = this.ms.Getsignup()[2];\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n }\r\n // ie fix issue\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n var ff = ua.indexOf('Firefox');\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./) || edge > 0 || ff > 0) // If Internet Explorer, return version number\r\n {\r\n if (val == \"my_cards\" || val == \"home_screen\") {\r\n $(\".ie_fixed_add_n, #Signin_Signup_Header\").removeAttr(\"style\");\r\n }\r\n }\r\n } \r\n removemsgerr(e) {\r\n this.sendmessageStatus = \"\";\r\n this.sendmessageClass = \"\";\r\n var val_old = e.target.value;\r\n var val = val_old.replace(/\\D/g, \"\");\r\n var len = val.length;\r\n if (len >= 1) {\r\n val = \"(\" + val.substring(0);\r\n }\r\n if (len >= 3) {\r\n val = val.substring(0, 4) + \")\" + \"-\" + val.substring(4);\r\n }\r\n if (len >= 6) {\r\n val = val.substring(0, 9) + \"-\" + val.substring(9);\r\n }\r\n if (val != val_old) {\r\n $(event.target)\r\n .focus()\r\n .val(\"\")\r\n .val(val);\r\n }\r\n }\r\n googlegeneric(bin, pcn, memberid){\r\n setTimeout(() => {\r\n this.ApiService.googlegeneric(bin, pcn, window.localStorage.getItem(\"UserGroup\"), memberid)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\nif(data[0].passlink != \"\") {\r\n this.googlegenericpassval = data[0].passlink\r\n}\r\n })\r\n }, 1500);\r\n }\r\n applegeneric(bin, pcn, memberid){\r\n setTimeout(() => {\r\n this.ApiService.applegeneric(bin, pcn, window.localStorage.getItem(\"UserGroup\"), memberid)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\nif(data[0].passlink != \"\") {\r\n this.applegenericpassval = data[0].passlink\r\n}\r\n })\r\n }, 1500);\r\n }\r\n openpass(url) {\r\n let userAgent = window.navigator.userAgent;\r\n let devicetype = this.GetUserAgent(userAgent);\r\n let browsername = this.GetBrowserName(userAgent);\r\n\r\n if(devicetype == \"Desktop\") {\r\n window.open(url)\r\n }\r\n \r\n if(devicetype ==\"Android\") {\r\n window.open(url)\r\n }\r\n if(devicetype ==\"iPhone\" && browsername == \"Safari\") {\r\n // window.open(url) \r\n this.showemailpopup=true;\r\n }\r\n if(devicetype ==\"iPhone\" && browsername != \"Safari\") {\r\n this.showemailpopup=true;\r\n }\r\n \r\n }\r\n sendmsg(val) {\r\n console.log(val);\r\n let mobUsPattern = \"^(([0-9]{3}) |[0-9]{3}-)[0-9]{3}-[0-9]{4}$\";\r\n\r\n ;\r\n if (val != \"\" && val.length >= 7) {\r\n let deeplink = window.localStorage.getItem(\"DeepLinkURL\");\r\n this.ApiService.sendSms(val, deeplink)\r\n .pipe(\r\n tap(\r\n data => {\r\n ;\r\n },\r\n error => {\r\n ;\r\n let errorData = (this.sendmessageStatus = JSON.parse(\r\n error._body\r\n ));\r\n if (errorData.code == \"21408\") {\r\n this.sendmessageStatus = \"Please enter a valid country code\";\r\n this.sendmessageClass = \"msgerror\";\r\n } else if (errorData.code == \"21211\") {\r\n this.sendmessageStatus = \"Please enter a valid phone number\";\r\n this.sendmessageClass = \"msgerror\";\r\n } else {\r\n this.sendmessageStatus = \"Please enter a valid phone number\";\r\n this.sendmessageClass = \"msgerror\";\r\n }\r\n }\r\n )\r\n )\r\n .subscribe(data => {\r\n this.sendmessageClass = \"Success_sent\";\r\n this.sendmessageStatus = \"Message Sent\";\r\n setTimeout(() => {\r\n this.sendmessageClass = \"\";\r\n this.sendmessageStatus = \"\";\r\n this.sendno = \"\";\r\n }, 6000);\r\n });\r\n } else {\r\n this.sendmessageStatus = \"Please enter a valid phone number\";\r\n this.sendmessageClass = \"msgerror\";\r\n }\r\n\r\n /*\r\n var phoneNumber = val // +919812345678, +442071234567\r\n var linkData = {\r\n campaign: 'Microsite form Data'\r\n };\r\n var linkOptions = {\r\n make_new_link: false // don't create a new deep link if one already exists (e.g. _branch_match_id is in the address bar)\r\n };\r\n (function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src=\"https://cdn.branch.io/branch-latest.min.js\";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})\r\n (window,document,\"script\",\"branch\",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},\"addListener applyCode autoAppIndex banner closeBanner closeJourney creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode trackCommerceEvent logEvent disableTracking\".split(\" \"), 0); \r\n // init Branch\r\n this.branch.init('key_test_kbVA7KLYjQr3IhziIq9prflaBwjkef5p');\r\n // document.getElementById(\"myBtn\").addEventListener(\"click\", function(){\r\n this.branch.sendSMS(val, linkData, linkOptions, function(err, data) {\r\n console.log(err);\r\n });\r\n */\r\n }\r\n slideToggle() {\r\n if (screen.width <= 767) {\r\n // $('.navbar-nav').slideToggle('slow');\r\n // $('.navbar').toggleClass('less'); \r\n if ($('.navbar').hasClass('less')) {\r\n $('#slide-icon').attr('src', 'assets/images/close.png').delay(\"slow\").fadeIn();\r\n } else {\r\n $('#slide-icon').attr('src', 'assets/images/menu.svg').delay(\"slow\").fadeIn();\r\n }\r\n }\r\n }\r\n signuppop() { \r\n debugger\r\n $('a.last.signUp')[0].click()\r\n };\r\n \r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

Pharmacies Available ({{PharmacyList.length}})

\r\n
\r\n
\r\n \r\n \r\n

Locate on Map

\r\n \r\n \r\n \r\n

\r\n
\r\n Sort By\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n Distance\r\n
  • \r\n
  • Price
  • \r\n
\r\n
    \r\n
  • Distance
  • \r\n
  • Price
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Sort By\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Sort by

\r\n \r\n
\r\n
    \r\n
  • Distance\r\n
  • \r\n \r\n
  • Price
  • \r\n
\r\n
    \r\n
  • \r\n Distance
  • \r\n \r\n
  • \r\n Price
  • \r\n
\r\n
Done
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Filters\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Filter

\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n {{ _DrugName }}\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item }}\r\n
  • \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n {{ _Type }}\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item.text }}\r\n
  • \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n {{ _Dose }}\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item }}\r\n
  • \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
{{ _Quant }}
\r\n
\r\n
    \r\n
  • \r\n {{ item.DisplayQuantity }}\r\n
  • \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ ZipCodeMessage }}\r\n
Update Search\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Reset\r\n \r\n
\r\n
\r\n\r\n

Sort by

\r\n
    \r\n
  • Distance\r\n
  • \r\n
  • Price
  • \r\n
\r\n
    \r\n\r\n
  • \r\n Distance
  • \r\n
  • \r\n Price
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n Apply Filter\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ item.PharmacyName }}

\r\n ${{ item.Price | number: '1.2' }}\r\n
\r\n
{{ item.Distance }} - Discount Card
\r\n
\r\n\r\n
\r\n \r\n
\r\n \"\"\r\n Search for a Medication\r\n Use the search bar above to find your medication discounts\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ SelectPharmacy }}\r\n
\r\n
{{ PAddress2 }}
\r\n {{ PharmacyPhone }}\r\n
\r\n
\r\n
\r\n
DRUG
\r\n
{{ Card_DrugName }}
\r\n
\r\n
\r\n
DOSAGE
\r\n
{{ Card_Dosage }}
\r\n
\r\n
\r\n
FORM
\r\n
8}\">{{ Card_DrugForm }}
\r\n
\r\n
\r\n
8}\" class=\"method_salt two\">\r\n
\r\n
bin
\r\n
{{ RXBin }}
\r\n
\r\n
\r\n
PCN
\r\n
{{ RXCPN }}
\r\n
\r\n
\r\n
Member ID
\r\n
{{ MemberId }}
\r\n
\r\n
\r\n
Group
\r\n
{{ GroupNumber }}
\r\n
\r\n
\r\n

This card is free. This is not insurance.

\r\n
\r\n \r\n \r\n
Send
\r\n
\r\n
\r\n {{ SendDiscountMessage }}\r\n
\r\n
\r\n {{ PharmacistHelpline }}\r\n
\r\n
\r\n Get Directions\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n

Enter a quantity

\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ Quantity_error }}\r\n
Submit
\r\n
\r\n
\r\n
","import { Component, OnInit } from \"@angular/core\";\r\nimport * as $ from \"jquery\";\r\nimport { Router } from \"@angular/router\";\r\n\r\nimport { MedicinService } from '../services/index';\r\nimport { PrerequisiteService } from '../services/prerequisite.service';\r\nimport { CommonService } from \"../services/common.service\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { } from 'googlemaps';\r\nimport { DECLARATION_VIEW } from '@angular/core/src/render3/interfaces/view';\r\nimport { detachEmbeddedView } from '@angular/core/src/view';\r\nimport { GoogleAnalyticsService } from \"../services/google-analytics-service.service\";\r\n\r\n@Component({\r\n selector: \"app-pharmacy\",\r\n templateUrl: \"./pharmacy.component.html\",\r\n styleUrls: [\"./pharmacy.component.scss\"],\r\n providers: [MedicinService, PrerequisiteService, GoogleAnalyticsService]\r\n})\r\nexport class PharmacyComponent implements OnInit {\r\n public Group_Number = window.localStorage.getItem(\"UserGroup\");\r\n public DrugNameTypeSingle: boolean = false;\r\n public DrugFormSingle: boolean = false;\r\n public DrugDoseSingle: boolean = false;\r\n public AppName: string = \"\";\r\n public LoggedIn: string = \"\";\r\n public ShowDrugdetails: boolean = true;\r\n sortbyddl: any = false;\r\n type_list = [];\r\n public UserInputEmail: string = \"\";\r\n //----Pharmacylist variables\r\n public List_Pharmacy_Available: boolean = true;\r\n public map_open: boolean = false;\r\n public filter_mbl_open: boolean = false;\r\n public pharmacy_list: any = [];\r\n public APICallCount: any = 0;\r\n public PharmacyList: any = [];\r\n public PharmacyList_CRX: any = [];\r\n public PharmacyList_DST: any = [];\r\n public PharmacyList_NVT: any = [];\r\n public PharmacyList_RXS: any = [];\r\n //------Call API Params\r\n public Quantity_error: string = \"\";\r\n public Quantity_Manual: string = '';\r\n public ManualQuantity_box: boolean = false;\r\n public MarkersList: any = [];\r\n public _SortType: string = \"Distance\";\r\n public IsPricesort = true;\r\n public IsDistancesort = false;\r\n public distancesort: any;\r\n public _Lat: string = \"\";\r\n public _Long: string = \"\";\r\n public _Quant: string = \"\";\r\n public _Dose: string = \"\";\r\n public _Type: string = \"\";\r\n public _DrugName: string = \"\";\r\n public _MultiSource: string = \"\";\r\n public _UserId: string = \"\";\r\n public _ZipCode: string = \"\";\r\n public _UserLocation: string = \"\";\r\n public RecentSavecard: string = \"\";\r\n public ZipCodeMessage: string = \"\";\r\n DoseDescriptor_JSON: any;\r\n DrugNameTypeList: any[] = [];\r\n DrugFormTypeList: any = [];\r\n DrugDoseTypeList: any = [];\r\n DrugQuantityTypeList: any = [];\r\n _NameFilterForQuantity: any = [];\r\n DrugDoseDescriptorList: any = [];\r\n LocationPermission: any = [];\r\n FormDoseData: any = [];\r\n PresetDrugData: any = [];\r\n public ConfigResponseData: any = [];\r\n //----Map Variables\r\n lat: number;\r\n lng: number;\r\n zoom: number = 12;\r\n //selectedMarker;\r\n //----Card variables\r\n public SelectPharmacy: string;\r\n public PharmacyName: string;\r\n public PharmacyPrice: string;\r\n public PharmacyContact: string;\r\n public MemberId: string;\r\n public RXBin: string;\r\n public RXCPN: string;\r\n public HelpLine: string;\r\n public DialNumber: string;\r\n public GroupNumber: string;\r\n public NoDefaultCard: Boolean = false;\r\n public PAddress1: string = \"\";\r\n public PAddress2: string = \"\";\r\n public PAddress3: string = \"\";\r\n public gpid: any;\r\n public multisource: any;\r\n public SavedCardList: any = [];\r\n public SavedCardList_Login: any = [];\r\n public unregisterBackButtonAction: any;\r\n public Quant_Type: string = '';\r\n public PharmacyPhone: string = \"\";\r\n public Card_Quantity: string = \"\";\r\n public Card_DrugName: string = \"\";\r\n public Card_Dosage: string = \"\";\r\n public Card_DrugForm: string = \"\";\r\n public PharmacyLat: string = \"\";\r\n public PharmacyLng: string = \"\";\r\n public IsSave: string = \"\";\r\n public PharmacyType: string = \"\";\r\n public DrugMultiSource: string = \"\";\r\n public SelectedCardId: string = \"\";\r\n public PharmacistHelpline: string = \"Pharmacist Helpline\"\r\n public PharmacistHL: string = \"\"\r\n public Card_Pharmacy_Distance: string = \"\"\r\n public Card_CardId: string = \"\"\r\n public Card_PharmacyId: string = \"\"\r\n public Card_UID: string = \"\";\r\n public Card_Pharmacy_Logo: string = \"\";\r\n public RXS_Walmart: string = \"\";\r\n public RXS_CVS: string = \"\";\r\n public Bin: string = \"\";\r\n public Pcn: string = \"\";\r\n public Plogo: string = \"\";\r\n //--------Drug Details Swaping--------------\r\n public Swap_Drug_Name: string = \"\";\r\n public Swap_Drug_Form: string = \"\";\r\n public Swap_Drug_Dose: string = \"\";\r\n public Swap_Drug_MultiSource: string = \"\";\r\n public Swap_Drug_With_MultiSource = \"\";\r\n public Swap_Drug_With_MultiSource_New = \"\";\r\n public _UserZip = \"\";\r\n public _CurrLocation: string = \"\";\r\n public Enter_Zip: boolean = false;\r\n //--------Share Discount card\r\n public SendDiscountMessage: string = \"\";\r\n public Card_Type: string = \"\";\r\n public getBrowser: string = \"\";\r\n\r\n constructor(public ms: MedicinService, public router: Router, private rs: PrerequisiteService, private sidebarService: CommonService, private googleAnalyticsService: GoogleAnalyticsService) {\r\n if (this.rs.GetUserLoggedInStatus() == \"signupscreen\") {\r\n this.router.navigate(['/']);\r\n }\r\n else {\r\n // this.AppName = window.localStorage.getItem('WhiteName');\r\n this.AppName = \"You're Here!\"\r\n this._Lat = window.localStorage.getItem('UserLat');\r\n this._Long = window.localStorage.getItem('UserLong');\r\n this._Quant = window.localStorage.getItem('DrugQuant');\r\n this._Dose = window.localStorage.getItem('DrugDose');\r\n this._Type = window.localStorage.getItem('DrugType');\r\n this._DrugName = window.localStorage.getItem('SelectedDrugName');\r\n this._MultiSource = window.localStorage.getItem('IsBG');\r\n this._UserId = window.localStorage.getItem('UserId');\r\n this._ZipCode = window.localStorage.getItem('userZipCode');\r\n this._UserLocation = window.localStorage.getItem('UserCurrentAddress');\r\n this.Card_DrugForm = this._Type;\r\n this.lat = parseFloat(this._Lat);\r\n this.lng = parseFloat(this._Long);\r\n this._UserZip = this._ZipCode;\r\n this._CurrLocation = this._UserZip;\r\n this.LoadPharmacyList();\r\n this.DrugConfiguration();\r\n\r\n if (this._MultiSource.toLocaleLowerCase() == \"generic\") {\r\n this.Swap_Drug_With_MultiSource_New = this._DrugName + ' (Generic Drug)'\r\n }\r\n else {\r\n this.Swap_Drug_With_MultiSource_New = this._DrugName + ' (Brand Drug)'\r\n }\r\n this.MemberId = window.localStorage.getItem('UserCharId');\r\n if (this.MemberId == null || this.MemberId == undefined || this.MemberId == \"\" || this.MemberId == \"null\") {\r\n this.MemberId = '100-4542';\r\n window.localStorage.setItem('UserCharId', '100-4542');\r\n }\r\n }\r\n }\r\n mapview: any = false;\r\n showcard: any = false;\r\n\r\n ngOnInit() {\r\n try {\r\n var str = window.location.href;\r\n var n = str.lastIndexOf('/');\r\n var result = str.substring(n + 1);\r\n if (result == 'Pharmacy') {\r\n $('.navbar-nav').addClass('pad0');\r\n } else {\r\n $('.pull-right').find('.navbar-nav').removeClass('pad25');\r\n }\r\n if ($(window).width() < 767) {\r\n $('body').removeAttr('style');\r\n }\r\n }\r\n catch { }\r\n // $('body').css({ 'pointer-events': 'none', 'opacity': '0.9' });\r\n\r\n // filter-left-sidebar-bg\r\n $(\".type_box\").click(function (e) {\r\n var $this = $(this)\r\n $(\".type_box\")\r\n .not($this)\r\n .parent().removeClass('filter-left-sidebar-bg show-list-always-mobile');\r\n\r\n $(this).removeClass('filter-left-sidebar-bg');\r\n $(this).parent().addClass('filter-left-sidebar-bg');\r\n\r\n $(this).removeClass('show-list-always-mobile');\r\n $(this).parent().addClass('show-list-always-mobile');\r\n });\r\n\r\n $(\".type_box\").click(function (e) {\r\n e.stopImmediatePropagation();\r\n var $this = $(this)\r\n .parent()\r\n .find(\".type_list\");\r\n $(\".filter_box .type_list\")\r\n .not($this)\r\n .hide();\r\n $this.toggle();\r\n\r\n });\r\n $(window).click(function () {\r\n $(\".type_list\").hide();\r\n });\r\n // var container_margin_left = $('.container')\r\n $(document).on('click', '.sortby_ddl ul li', function () {\r\n $(this).parent().find('li').removeClass('active');\r\n $(this).addClass('active');\r\n\r\n });\r\n $(window).on(\"click\", () => {\r\n this.sortbyddl = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n\r\n });\r\n // ie fix issue\r\n var ua = window.navigator.userAgent;\r\n var edge = ua.indexOf('Edge/');\r\n if (edge > 0) {\r\n $('.type_list').css({ 'max-height': '137px', 'overflow': 'hidden', 'overflow-y': 'scroll' });\r\n }\r\n }\r\n hideSortby() {\r\n this.ShowDrugdetails = !this.ShowDrugdetails;\r\n\r\n this.sortbyddl = !this.sortbyddl;\r\n $('.type_list').hide();\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n }\r\n get pharmacy_page(): boolean {\r\n return this.sidebarService.pharmacy_page;\r\n }\r\n hideothermenu() {\r\n this.sidebarService.togglepharmacy();\r\n this.sortbyddl = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n }\r\n convertstringtoint(price) {\r\n var s1 = price;\r\n var s2 = s1.substr(1);\r\n var numberValue = Number(s2);\r\n var res = s2.split(\".\");\r\n if (res.length == 1 || res[1].length < 3) {\r\n var pricevalue = numberValue.toFixed(2);\r\n }\r\n return pricevalue;\r\n }\r\n Showmapview() {\r\n this.map_open = !this.map_open;\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n var ff = ua.indexOf('Firefox');\r\n if (this.List_Pharmacy_Available == false) {\r\n return false;\r\n }\r\n this.mapview = !this.mapview;\r\n var header_container = $(\"#pharmacy_container\").css(\"margin-left\");\r\n var header_container_margin = parseInt(header_container);\r\n\r\n if (this.mapview) {\r\n this.getBrowser = null;\r\n //this.googleAnalyticsService.eventEmitter(\"Pharmacy Page\", \"Map View\", \"Show\", 0);commented by shubh\r\n $(\"#pharmacy_container\").css({\r\n \"max-width\": \"100%\",\r\n \"padding-left\": header_container_margin + 0,\r\n \"padding-right\": \"0\"\r\n }).addClass('map-card-font');\r\n //if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./) || edge > 0) // If Internet Explorer, return version number\r\n // {\r\n // this.getBrowser = '';\r\n // $('.ie_fixed_add_n').css({ 'position': 'fixed', 'width': '100%', 'z-index': '4' });\r\n // $('.ie_fixed_add_pharmacy_header').css({ 'position': 'fixed', 'top': 72, 'width': '100%', 'z-index': '2' });\r\n // $('.select_filterList_parent').css({ 'position': 'fixed', 'left': header_container_margin + 15, 'top': 140 });\r\n // $('.select_filterList_parent, .type_list').css('min-width', '212px');\r\n // $('.pharmacy_list').css({ 'position': 'absolute', 'top': 135, 'min-width': '419px', 'max-width': '419px', 'margin-left': $('.select_filterList_parent').width() + 15 });\r\n // var leftvalue = $('.pharmacy_list').width() + parseInt($('.select_filterList_parent').css('left')) + $('.select_filterList_parent').width() + 25;\r\n // setTimeout(() => {\r\n // $('.maps_box').css({ 'position': 'fixed', 'right': '0', 'left': leftvalue + 'px', 'top': 135 });\r\n\r\n // }, 600);\r\n // }\r\n } else {\r\n $(\".ie_fixed_add_n, .ie_fixed_add_pharmacy_header, .select_filterList_parent, .pharmacy_list, .maps_box\").removeAttr(\"style\");\r\n //this.googleAnalyticsService.eventEmitter(\"Pharmacy Page\", \"Map View\", \"Hide\", 0);commented by shubh\r\n $(\"#pharmacy_container\").removeAttr(\"style\").removeClass('map-card-font');\r\n $(\".pharmacy_list\").removeAttr(\"style\");\r\n }\r\n }\r\n\r\n LoadPharmacyList() {\r\n // ;\r\n try {\r\n // $(\".loaderscreen\").addClass(\"showloader\");\r\n // this.showloader = true;\r\n this.PharmacyList = [];\r\n this.MarkersList = [];\r\n this.APICallCount = 0;\r\n this.PharmacyList_CRX = [];\r\n this.PharmacyList_DST = [];\r\n this.PharmacyList_NVT = [];\r\n this.ms\r\n .GetPharmacyList(\r\n this._Lat,\r\n this._Long,\r\n \"\",\r\n this._Quant,\r\n this._Dose,\r\n this._Type,\r\n this._MultiSource,\r\n this._DrugName,\r\n this._UserId,\r\n this._ZipCode,\r\n this._UserLocation,\r\n \"RXS\"\r\n )\r\n .pipe(map((res) => res.json()))\r\n .subscribe(\r\n (data_CRX) => {\r\n this.PharmacyList_CRX = data_CRX;\r\n window.localStorage.setItem(\"SelectedDrugName\", this._DrugName);\r\n if (this.ms.IsNullOrEmptyField(this._MultiSource) == false) {\r\n window.localStorage.setItem(\"IsBG\", this._MultiSource);\r\n }\r\n if (data_CRX.length > 0) {\r\n this.PharmacyList = data_CRX;\r\n // this.PushItemToPharmacyList(data_CRX);\r\n this.APICallCount += 1;\r\n // window.localStorage.setItem('Pharmacydata', JSON.stringify(data_CRX))\r\n\r\n // this.showloader = true;\r\n //this.PharmacyList= data_CRX\r\n } else {\r\n this.APICallCount += 1;\r\n }\r\n this.LoaderDisplay();\r\n\r\n this.hide_filter_mobile_on();\r\n this.BindPharmacyList();\r\n },\r\n (error) => { }\r\n );\r\n } catch { }\r\n }\r\n LoaderDisplay() {\r\n //if (this.APICallCount >= 4) {\r\n setTimeout(() => {\r\n $('.update_btn').removeClass('loader');\r\n $('body').removeAttr('style');\r\n }, 50);\r\n if (this.PharmacyList.length > 0) {\r\n this.List_Pharmacy_Available = true;\r\n }\r\n else {\r\n this.List_Pharmacy_Available = false;\r\n }\r\n // }\r\n // else {\r\n // if (!$(\".update_btn\").hasClass(\"loader\")) {\r\n // $('.update_btn').addClass('loader');\r\n // }\r\n // }\r\n }\r\n NotFoundMessage() {\r\n if (this.PharmacyList_CRX.length <= 0 && this.PharmacyList_DST.length <= 0 && this.PharmacyList_NVT.length <= 0 && this.PharmacyList_RXS.length <= 0 && this.APICallCount >= 4) {\r\n setTimeout(() => {\r\n $('.update_btn').removeClass('loader');\r\n }, 600);\r\n this.PharmacyList = [];\r\n this.pharmacy_list = [];\r\n this.MarkersList = [];\r\n this.APICallCount = 0;\r\n }\r\n }\r\n ClearErrorMessage() {\r\n this.ZipCodeMessage = \"\";\r\n }\r\n\r\n GetLatLongByZipCode(ZipCode: string) {\r\n this.pharmacy_list = [];\r\n this.PharmacyList = [];\r\n this.MarkersList = [];\r\n this.APICallCount = 0;\r\n let _Zip = \"\";\r\n if (String(ZipCode).length == 4) {\r\n _Zip = \"0\" + String(ZipCode);\r\n }\r\n else {\r\n _Zip = String(ZipCode);\r\n }\r\n ZipCode = _Zip;\r\n this._ZipCode = ZipCode;\r\n this._UserLocation = ZipCode;\r\n this.ms.GetCoordinatebyzip(ZipCode).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n try {\r\n if (data.results.length > 0) {\r\n this._UserLocation = data.results[0][\"formatted_address\"];\r\n window.localStorage.setItem('UserLat', data.results[0].geometry.location.lat);\r\n window.localStorage.setItem('UserLong', data.results[0].geometry.location.lng);\r\n window.localStorage.setItem('userZipCode', ZipCode);\r\n window.localStorage.setItem('UserCurrentAddress', this._UserLocation);\r\n this._Lat = data.results[0].geometry.location.lat;\r\n this._Long = data.results[0].geometry.location.lng;\r\n this._ZipCode = ZipCode;\r\n let Pharmacy_Request_Params = this._DrugName + \"|\" + this._Type + \"|\" + this._Dose + \"|\" + this._Quant + \"|\" + this._MultiSource + \"|\" + this._ZipCode;\r\n //this.googleAnalyticsService.eventEmitter(\"Pharmacy Page\", \"Update Search\", Pharmacy_Request_Params, 0);commented by shubh\r\n try {\r\n this.lat = parseFloat(window.localStorage.getItem('UserLat'));\r\n this.lng = parseFloat(window.localStorage.getItem('UserLong'));\r\n this.zoom = 12;\r\n }\r\n catch { }\r\n this.LoadPharmacyList();\r\n this.DrugConfiguration();\r\n }\r\n else {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n setTimeout(() => {\r\n $('.update_btn').removeClass('loader');\r\n }, 600);\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n this.List_Pharmacy_Available = false;\r\n this._UserLocation = null;\r\n window.localStorage.setItem('UserLat', null);\r\n window.localStorage.setItem('UserLong', null);\r\n window.localStorage.setItem('userZipCode', \"\");\r\n window.localStorage.setItem('UserCurrentAddress', null);\r\n this.pharmacy_list = [];\r\n this.PharmacyList = [];\r\n this.MarkersList = [];\r\n this.APICallCount = 0;\r\n }\r\n }\r\n catch {\r\n }\r\n })\r\n }\r\n PushItemToPharmacyList(Plist: any[]) {\r\n try {\r\n for (let x3 of Plist) {\r\n let TempItem = {\r\n Uid: x3.Uid,\r\n SavedStatus: x3.SavedStatus,\r\n ResponseType: x3.ResponseType,\r\n Lat: x3.Lat,\r\n Long: x3.Long,\r\n Price: x3.Price,\r\n DrugName: x3.DrugName,\r\n Dosage: x3.Dosage,\r\n MultiSource: x3.MultiSourse,\r\n Type: x3.Type,\r\n Quantity: x3.Quantity,\r\n Address: x3.Address,\r\n Distance: x3.Distance,\r\n City: x3.City,\r\n PharmacyName: x3.PharmacyName,\r\n Phone: x3.Phone,\r\n State: x3.State,\r\n Fdistance: x3.Fdistance,\r\n CardId: x3.CardId,\r\n BIN: x3.BIN,\r\n PCN: x3.PCN,\r\n PBMPhone: x3.PBMPhone,\r\n LogoLink: x3.LogoLink,\r\n };\r\n this.PharmacyList.push(TempItem);\r\n }\r\n this.BindPharmacyList();\r\n\r\n } catch { }\r\n }\r\n BindPharmacyList() {\r\n try {\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Price <= b.Price ? -1 : 1);\r\n this.PharmacyList = this.PharmacyList.filter((set => f => !set.has(f.Address.trim()) && set.add(f.Address.trim()))(new Set));\r\n }\r\n catch { }\r\n try {\r\n this._SortType = window.localStorage.getItem('SortPharmacy');\r\n if (this._SortType == \"Distance\") {\r\n this._SortType = \"Distance\";\r\n window.localStorage.setItem('SortPharmacy', 'Distance');\r\n this.IsDistancesort = true;\r\n this.IsPricesort = false;\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Fdistance <= b.Fdistance ? -1 : 1);\r\n }\r\n else {\r\n this._SortType = \"Price\";\r\n window.localStorage.setItem('SortPharmacy', 'Price');\r\n this.IsDistancesort = false;\r\n this.IsPricesort = true;\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Price <= b.Price ? -1 : 1);\r\n }\r\n }\r\n catch { }\r\n // window.localStorage.setItem('Pharmacydata', JSON.stringify(this.PharmacyList));\r\n try {\r\n this.pharmacy_list = this.PharmacyList;\r\n for (var i = 0; i < this.PharmacyList.length; i++) {\r\n // this.PharmacyUIDList.push(this.PharmacyList[i][\"Uid\"]);\r\n // this.PharmacyPriceList.push('$' + this.PharmacyList[i][\"Price\"]);\r\n if (this.PharmacyList[i][\"Lat\"] != '' && this.PharmacyList[i][\"Lat\"] != null && this.PharmacyList[i][\"Lat\"] != undefined\r\n && this.PharmacyList[i][\"Lat\"] != '' && this.PharmacyList[i][\"Lat\"] != null && this.PharmacyList[i][\"Lat\"] != undefined) {\r\n this.MarkersList.push({ lat: this.PharmacyList[i][\"Lat\"], lng: this.PharmacyList[i][\"Long\"], Price: \"$\" + parseFloat(this.PharmacyList[i][\"Price\"]).toFixed(2), Id: this.PharmacyList[i][\"Uid\"], DrugName: this.PharmacyList[i][\"DrugName\"], Dosage: this.PharmacyList[i][\"Dosage\"], From: this.PharmacyList[i][\"Type\"], PAddress: this.PharmacyList[i][\"PharmacyName\"] + \"\\r\\n\" + this.PharmacyList[i][\"Address\"] + \", \" + this.PharmacyList[i][\"City\"] + \", \" + this.PharmacyList[i][\"State\"] });\r\n // this.MarkersList.push({ lat: this.PharmacyList[i][\"Lat\"], lng: this.PharmacyList[i][\"Long\"], Price: \"$\" + String(this.PharmacyList[i][\"Price\"]), Id: this.PharmacyList[i][\"Uid\"] });\r\n }\r\n }\r\n\r\n } catch { }\r\n if (this.pharmacy_list.length > 0) {\r\n this.List_Pharmacy_Available = true;\r\n }\r\n else {\r\n this.List_Pharmacy_Available = false;\r\n }\r\n }\r\n SortPharmacyList(SortParam: string) {\r\n this.sortbyddl = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n window.localStorage.setItem('SortPharmacy', SortParam);\r\n if (SortParam == \"Distance\") {\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Fdistance <= b.Fdistance ? -1 : 1);\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Fdistance <= b.Fdistance ? -1 : 1);\r\n //this.googleAnalyticsService.eventEmitter(\"Pharmacy Page\", \"Sort Pharmacy\", \"Distance\", 0);commented by shubh\r\n }\r\n else if (SortParam == \"Price\") {\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Price <= b.Price ? -1 : 1);\r\n this.PharmacyList = this.PharmacyList.sort((a, b) => a.Price <= b.Price ? -1 : 1);\r\n //this.googleAnalyticsService.eventEmitter(\"Pharmacy Page\", \"Sort Pharmacy\", \"Price\", 0);commented by shubh\r\n }\r\n this.pharmacy_list = this.PharmacyList;\r\n // window.localStorage.setItem('Pharmacydata', JSON.stringify(this.PharmacyList));\r\n this.MarkersList = [];\r\n this.lat = parseFloat(window.localStorage.getItem('UserLat'));\r\n this.lng = parseFloat(window.localStorage.getItem('UserLong'));\r\n this.zoom = 12;\r\n for (var i = 0; i < this.PharmacyList.length; i++) {\r\n if (this.PharmacyList[i][\"Lat\"] != '' && this.PharmacyList[i][\"Lat\"] != null && this.PharmacyList[i][\"Lat\"] != undefined\r\n && this.PharmacyList[i][\"Lat\"] != '' && this.PharmacyList[i][\"Lat\"] != null && this.PharmacyList[i][\"Lat\"] != undefined) {\r\n this.MarkersList.push({ lat: this.PharmacyList[i][\"Lat\"], lng: this.PharmacyList[i][\"Long\"], Price: \"$\" + parseFloat(this.PharmacyList[i][\"Price\"]).toFixed(2), Id: this.PharmacyList[i][\"Uid\"], DrugName: this.PharmacyList[i][\"DrugName\"], Dosage: this.PharmacyList[i][\"Dosage\"], From: this.PharmacyList[i][\"Type\"], PAddress: this.PharmacyList[i][\"PharmacyName\"] + \"\\r\\n\" + this.PharmacyList[i][\"Address\"] + \", \" + this.PharmacyList[i][\"City\"] + \", \" + this.PharmacyList[i][\"State\"] });\r\n // this.MarkersList.push({ lat: this.PharmacyList[i][\"Lat\"], lng: this.PharmacyList[i][\"Long\"], Price: \"$\" + String(this.PharmacyList[i][\"Price\"]), Id: this.PharmacyList[i][\"Uid\"] });\r\n }\r\n }\r\n }\r\n\r\n DrugConfiguration() {\r\n this.DrugNameType();\r\n // this.DrugFormType();\r\n // this.InitQuantityList();\r\n }\r\n DrugNameType() {\r\n try {\r\n if (\r\n window.localStorage.getItem(\"SelectedDrugName\") == null ||\r\n window.localStorage.getItem(\"SelectedDrugName\") == undefined\r\n ) {\r\n this._DrugName = \"Acetaminophen (Acetaminophen Extra Strength)\";\r\n } else {\r\n this._DrugName = window.localStorage.getItem(\"SelectedDrugName\");\r\n }\r\n if (\r\n window.localStorage.getItem(\"IsBG\") == null ||\r\n window.localStorage.getItem(\"IsBG\") == undefined\r\n ) {\r\n this._MultiSource = \"Generic\";\r\n } else {\r\n this._MultiSource = window.localStorage.getItem(\"IsBG\");\r\n }\r\n if (\r\n window.localStorage.getItem(\"DrugType\") == null ||\r\n window.localStorage.getItem(\"DrugType\") == undefined\r\n ) {\r\n this._Type = \"Tablet\";\r\n } else {\r\n this._Type = window.localStorage.getItem(\"DrugType\");\r\n }\r\n if (\r\n window.localStorage.getItem(\"DrugDose\") == null ||\r\n window.localStorage.getItem(\"DrugDose\") == undefined\r\n ) {\r\n this._Dose = \"325MG\";\r\n } else {\r\n this._Dose = window.localStorage.getItem(\"DrugDose\");\r\n }\r\n if (\r\n window.localStorage.getItem(\"DrugQuant\") == null ||\r\n window.localStorage.getItem(\"DrugQuant\") == undefined\r\n ) {\r\n this._Quant = \"30\";\r\n } else {\r\n this._Quant = window.localStorage.getItem(\"displayquantity\");\r\n }\r\n if (\r\n window.localStorage.getItem(\"displayquantity\") == null ||\r\n window.localStorage.getItem(\"displayquantity\") == undefined\r\n ) {\r\n window.localStorage.setItem(\"displayquantity\", \"30\")\r\n }\r\n \r\n if (\r\n window.localStorage.getItem(\"SelectedDrugConfig\") == null ||\r\n window.localStorage.getItem(\"SelectedDrugConfig\") == undefined ||\r\n JSON.parse(window.localStorage.getItem(\"SelectedDrugConfig\")).length == 0\r\n ) {\r\n \r\n this.ms\r\n .GetDrugDetails(this._DrugName)\r\n .pipe(map((res) => res.json()))\r\n .subscribe((data) => {\r\n \r\n this.ConfigResponseData = data;\r\n window.localStorage.setItem(\r\n \"SelectedDrugConfig\",\r\n JSON.stringify(data)\r\n );\r\n this._DrugName = data[0].drugname;\r\n this._Type = data[0].dose;\r\n this._Dose = data[0].strength;\r\n this._Quant = data[0].DisplayQuantity;\r\n window.localStorage.setItem(\"ndccode\", data[0].ndcode);\r\n window.localStorage.setItem(\"DrugQuant\", data[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", data[0].DisplayQuantity);\r\n for (\r\n let ik = 0;\r\n ik < this.ConfigResponseData[0][\"generic\"].length;\r\n ik++\r\n ) {\r\n try {\r\n if (\r\n this.ConfigResponseData[0][\"generic\"][ik][\r\n \"sub_drug_name\"\r\n ].toLowerCase() == this._DrugName.toLowerCase()\r\n ) {\r\n }\r\n this.DrugNameTypeList.push(\r\n this.ConfigResponseData[0][\"generic\"][ik][\"sub_drug_name\"] +\r\n \" (Generic Drug)\"\r\n );\r\n } catch { }\r\n }\r\n for (\r\n let jik = 0;\r\n jik < this.ConfigResponseData[0][\"brand\"].length;\r\n jik++\r\n ) {\r\n try {\r\n if (\r\n this.ConfigResponseData[0][\"brand\"][jik][\r\n \"sub_drug_name\"\r\n ].toLowerCase() == this._DrugName.toLowerCase()\r\n ) {\r\n }\r\n this.DrugNameTypeList.push(\r\n this.ConfigResponseData[0][\"brand\"][jik][\"sub_drug_name\"] +\r\n \" (Brand Drug)\"\r\n );\r\n } catch { }\r\n }\r\n try {\r\n if (this.DrugNameTypeList.length <= 1) {\r\n this.DrugNameTypeSingle = true;\r\n } else {\r\n this.DrugNameTypeSingle = false;\r\n }\r\n } catch { }\r\n this.DrugFormType();\r\n });\r\n } else {\r\n this.DrugNameTypeList = [];\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n for (\r\n let ik = 0;\r\n ik < this.ConfigResponseData[0][\"generic\"].length;\r\n ik++\r\n ) {\r\n try {\r\n if (\r\n this.ConfigResponseData[0][\"generic\"][ik][\r\n \"sub_drug_name\"\r\n ].toLowerCase() == this._DrugName.toLowerCase()\r\n ) {\r\n }\r\n\r\n this.DrugNameTypeList.push(\r\n this.ConfigResponseData[0][\"generic\"][ik][\"sub_drug_name\"] +\r\n \" (Generic Drug)\"\r\n );\r\n } catch { }\r\n }\r\n for (\r\n let jik = 0;\r\n jik < this.ConfigResponseData[0][\"brand\"].length;\r\n jik++\r\n ) {\r\n try {\r\n if (\r\n this.ConfigResponseData[0][\"brand\"][jik][\r\n \"sub_drug_name\"\r\n ].toLowerCase() == this._DrugName.toLowerCase()\r\n ) {\r\n }\r\n this.DrugNameTypeList.push(\r\n this.ConfigResponseData[0][\"brand\"][jik][\"sub_drug_name\"] +\r\n \" (Brand Drug)\"\r\n );\r\n } catch { }\r\n }\r\n try {\r\n if (this.DrugNameTypeList.length <= 1) {\r\n this.DrugNameTypeSingle = true;\r\n } else {\r\n this.DrugNameTypeSingle = false;\r\n }\r\n } catch { }\r\n this.DrugFormType();\r\n }\r\n } catch { }\r\n }\r\n DrugFormType() {\r\n try {\r\n this.DrugFormTypeList = [];\r\n this.DrugDoseTypeList = [];\r\n //this.DoseDescriptor_JSON = JSON.parse(this.rs.DrugDoseDescription());\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n // ;\r\n if (this.ConfigResponseData.length > 0) {\r\n // ;\r\n\r\n if (this._MultiSource.toUpperCase() == \"BRAND\") {\r\n let _NameFilter = this.ConfigResponseData[0][\"brand\"].filter(\r\n (item) => {\r\n\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this._DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n\r\n // let _DoseFilter1 = this.DoseDescriptor_JSON.filter((item) => {\r\n // return (\r\n // item[\"Descrption\"].toLowerCase() == this._Type.toLowerCase()\r\n // );\r\n // });\r\n // ;\r\n //if (_DoseFilter1.length > 0) {\r\n // if (\r\n // x[\"dose\"].toLowerCase() == _DoseFilter1[0][\"Dose\"].toLowerCase()\r\n // ) {\r\n if (x.dose == this._Type) {\r\n for (let x1 of x[\"strength\"]) {\r\n\r\n this.DrugDoseTypeList.push(x1[\"Strength\"]);\r\n }\r\n }\r\n // }\r\n //}\r\n }\r\n\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter((item) => {\r\n // return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n // });\r\n\r\n // if (x.dose == this._Type) {\r\n this.DrugFormTypeList.push({\r\n value: x.dose,\r\n text: x.dose,\r\n });\r\n // } else {\r\n // this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n // }\r\n } catch {\r\n this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n } else {\r\n\r\n let _NameFilter = this.ConfigResponseData[0][\"generic\"].filter(\r\n (item) => {\r\n\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this._DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n // ;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n\r\n // let _DoseFilter1 = this.DoseDescriptor_JSON.filter((item) => {\r\n // return (\r\n // item[\"Descrption\"].toLowerCase() == this._Type.toLowerCase()\r\n // );\r\n // });\r\n //if (_DoseFilter1.length > 0) {\r\n // if (\r\n // x[\"dose\"].toLowerCase() == _DoseFilter1[0][\"Dose\"].toLowerCase()\r\n // ) {\r\n if (x.dose == this._Type) {\r\n for (let x1 of x[\"strength\"]) {\r\n\r\n this.DrugDoseTypeList.push(x1[\"Strength\"]);\r\n }\r\n }\r\n //}\r\n }\r\n\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter((item) => {\r\n // return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n // });\r\n // if (x.dose == this._Type) {\r\n this.DrugFormTypeList.push({\r\n value: x.dose,\r\n text: x.dose,\r\n });\r\n // } else {\r\n // this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n // }\r\n } catch {\r\n this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n }\r\n this.InitQuantityList();\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugFormTypeList.length <= 1) {\r\n this.DrugFormSingle = true;\r\n } else {\r\n this.DrugFormSingle = false;\r\n if (this._Type == null || this._Type == undefined) {\r\n this._Type = this.DrugFormTypeList[0].value;\r\n }\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugDoseTypeList.length <= 1) {\r\n this.DrugDoseSingle = true;\r\n } else {\r\n this.DrugDoseSingle = false;\r\n }\r\n } catch { }\r\n\r\n if (this.DrugDoseTypeList.length == 0) {\r\n this.DrugDoseTypeList.push(this._Dose);\r\n }\r\n if (this.DrugFormTypeList.length == 0) {\r\n this.DrugFormTypeList.push({ value: this._Type, text: this._Type });\r\n }\r\n }\r\n\r\n InitQuantityList() {\r\n try {\r\n \r\n this.DrugQuantityTypeList = [];\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n // let _DoseFilter_1 = this.DoseDescriptor_JSON.filter((item) => {\r\n // return item[\"Descrption\"].toLowerCase() == this._Type.toLowerCase();\r\n // });\r\n\r\n let DoseForm = this._Type;\r\n let APIResponse = this.ConfigResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (this._MultiSource.toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(\r\n (item) => {\r\n \r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this._DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter((item) => {\r\n \r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this._DrugName.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n \r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n (item) => {\r\n \r\n return item[\"dose\"].toLowerCase() == DoseForm.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n \r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter((item) => {\r\n \r\n return (\r\n item[\"Strength\"].toLowerCase().replace(/\\s/g, \"\") ==\r\n this._Dose.toLowerCase().replace(/\\s/g, \"\")\r\n );\r\n });\r\n if (_StrengthFilter.length > 0) {\r\n \r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n \r\n if (xqx.Quantity != 0) {\r\n \r\n this.DrugQuantityTypeList.push(xqx);\r\n }\r\n }\r\n }\r\n if (window.localStorage.getItem(\"IsPresetAvail\") == \"False\") {\r\n if (this.DrugQuantityTypeList.length > 0) {\r\n if (\r\n window.localStorage.getItem(\"DrugQuant\") == \"\" ||\r\n window.localStorage.getItem(\"DrugQuant\") == null ||\r\n window.localStorage.getItem(\"DrugQuant\") == undefined\r\n ) {\r\n \r\n this._Quant = this.DrugQuantityTypeList[0].DisplayQuantity;\r\n window.localStorage.setItem('ndccode', this.DrugQuantityTypeList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityTypeList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n }\r\n // window.localStorage.setItem(\"DrugQuant\", this._Quant);\r\n }\r\n if (\r\n window.localStorage.getItem(\"DrugQuant\") == \"\" ||\r\n window.localStorage.getItem(\"DrugQuant\") == null ||\r\n window.localStorage.getItem(\"DrugQuant\") == undefined\r\n ) {\r\n if (this.DrugQuantityTypeList.length > 0) {\r\n \r\n this._Quant = this.DrugQuantityTypeList[0].DisplayQuantity;\r\n window.localStorage.setItem('ndccode', this.DrugQuantityTypeList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityTypeList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n } else {\r\n //this._Quant = \"10\";\r\n window.localStorage.setItem(\"DrugQuant\", this._Quant);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n }\r\n } else {\r\n this._Quant = window.localStorage.getItem(\"displayquantity\");\r\n \r\n }\r\n }\r\n }\r\n }\r\n } catch { }\r\n // if (\r\n // this._Quant == undefined ||\r\n // this._Quant == \"\" ||\r\n // this._Quant == null ||\r\n // this.DrugQuantityTypeList.length == 0\r\n // ) {\r\n // //this.DrugQuant=\"10\";\r\n // \r\n // window.localStorage.setItem(\"DrugQuant\", this._Quant);\r\n // //window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity); \r\n // }\r\n // if (this.DrugQuantityTypeList.length == 0) {\r\n // \r\n // this.DrugQuantityTypeList.push(parseInt(this.DrugQuantityTypeList[0].DisplayQuantity));\r\n \r\n // }\r\n }\r\n\r\n SelectMapMarker(event) {\r\n this.UserInputEmail = null;\r\n this.Card_Pharmacy_Logo = \"\";\r\n this.RXS_Walmart = \"\";\r\n this.RXS_CVS = \"\";\r\n this.SendDiscountMessage = \"\";\r\n this.PharmacistHelpline = \"Pharmacist Helpline\";\r\n let _phid = event;\r\n let _NameFilter = this.pharmacy_list.filter((item) => {\r\n return item[\"Uid\"].toLowerCase() == _phid.toLowerCase();\r\n });\r\n if (_NameFilter.length > 0) {\r\n this.GroupNumber = \"PTRX6632\";\r\n this.PharmacyType = _NameFilter[0].ResponseType;\r\n this.PAddress2 = _NameFilter[0].Address + \", \" + _NameFilter[0].City + \", \" + _NameFilter[0].State;\r\n this.PAddress1 = _NameFilter[0].Address;\r\n this.PAddress3 = _NameFilter[0].City + \", \" + _NameFilter[0].State;\r\n // if (_NameFilter[0].ResponseType == \"CRX\") {\r\n this.RXBin = _NameFilter[0].BIN;\r\n this.RXCPN = _NameFilter[0].PCN;\r\n this.HelpLine = _NameFilter[0].PBMPhone;\r\n this.DialNumber = this.HelpLine;\r\n // }\r\n // else if (_NameFilter[0].ResponseType == \"NVT\") {\r\n // this.RXBin = _NameFilter[0].BIN;\r\n // this.RXCPN = _NameFilter[0].PCN;\r\n // this.HelpLine = \"866-809-9382\";\r\n // this.DialNumber = \"8668099382\";\r\n // }\r\n // else if (_NameFilter[0].ResponseType == \"RXS\") {\r\n // this.RXBin = _NameFilter[0].BIN;\r\n // this.RXCPN = _NameFilter[0].PCN;\r\n // this.HelpLine = \"877-800-7820\";\r\n // this.DialNumber = \"8778007820\";\r\n // }\r\n // else {\r\n // this.RXBin = _NameFilter[0].BIN;\r\n // this.RXCPN = _NameFilter[0].PCN;\r\n // this.HelpLine = \"844-616-9490\";\r\n // this.DialNumber = \"8446169490\";\r\n // }\r\n this.PharmacyName = _NameFilter[0].PharmacyName;\r\n if (_NameFilter[0].PharmacyName == \"use at any major retail pharmacy and save!\") {\r\n this.SelectPharmacy = \"For \" + _NameFilter[0].PharmacyName;\r\n }\r\n else {\r\n this.SelectPharmacy = \"\" + _NameFilter[0].PharmacyName;\r\n }\r\n\r\n // if (_NameFilter[0].PharmacyName.toLowerCase().indexOf('walmart pharmacy') > -1) {\r\n // this.RXBin = \"610301\";\r\n // this.RXCPN = \"HD\";\r\n // }\r\n // if (_NameFilter[0].ResponseType == \"RXS\") {\r\n // if (_NameFilter[0].PharmacyName.toLowerCase().indexOf('walmart ') > -1) {\r\n // this.RXBin = \"610396\";\r\n // this.RXCPN = \"HD\";\r\n // this.Card_Pharmacy_Logo = _NameFilter[0].LogoLink;\r\n // this.RXS_Walmart = \"walmart\";\r\n // this.Plogo = _NameFilter[0].LogoLink;\r\n // }\r\n // else if (_NameFilter[0].PharmacyName.toLowerCase().indexOf('cvs pharmacy') > -1) {\r\n // this.RXBin = \"610301\";\r\n // this.RXCPN = \"HD\";\r\n // this.Card_Pharmacy_Logo = _NameFilter[0].LogoLink;\r\n // this.RXS_CVS = \"cvs\";\r\n // this.Plogo = _NameFilter[0].LogoLink;\r\n // }\r\n // }\r\n this.PharmacyPrice = \"$\" + _NameFilter[0].Price;\r\n this.PharmacyPhone = _NameFilter[0].Phone;\r\n this.Card_Dosage = _NameFilter[0].Dosage;\r\n this.Card_DrugName = _NameFilter[0].DrugName;\r\n this.Card_Quantity = _NameFilter[0].Quantity;\r\n this.PharmacyLat = _NameFilter[0].Lat;\r\n this.PharmacyLng = _NameFilter[0].Long;\r\n this.Card_Type = _NameFilter[0].Type;\r\n this.DrugMultiSource = _NameFilter[0].MultiSource;\r\n this.SelectedCardId = _NameFilter[0].CardId;\r\n this.PharmacistHL = this.HelpLine;\r\n this.Card_Pharmacy_Distance = _NameFilter[0].Distance;\r\n this.Card_CardId = _NameFilter[0].CardId;\r\n this.Card_PharmacyId = _NameFilter[0].Uid;\r\n this.GroupNumber = window.localStorage.getItem('UserGroup');\r\n this.MemberId = window.localStorage.getItem('UserCharId');\r\n\r\n if (this.rs.IsLoginRequired() == \"Yes\" && (window.localStorage.getItem('UserId') != null && window.localStorage.getItem('UserId') != \"\" && window.localStorage.getItem('UserId') != undefined) && window.localStorage.getItem('UserId') != \"null\") {\r\n this.DiscountCardSavedStatus_login(this._UserId, this.MemberId, this.PharmacyName, _NameFilter[0].ResponseType, _NameFilter[0].DrugName, _NameFilter[0].Price, _NameFilter[0].Quantity, _NameFilter[0].Dosage, this.Card_DrugForm,\r\n this.PharmacyPhone, this.PAddress1, this.PAddress3, this.DrugMultiSource);\r\n }\r\n else if (this.rs.IsLoginRequired() == \"No\" && window.localStorage.getItem('UserId') != null && window.localStorage.getItem('UserId') != undefined) {\r\n this.DiscountCardSavedStatus_login(this._UserId, this.MemberId, this.PharmacyName, _NameFilter[0].ResponseType, _NameFilter[0].DrugName, _NameFilter[0].Price, _NameFilter[0].Quantity, _NameFilter[0].Dosage, this.Card_DrugForm,\r\n this.PharmacyPhone, this.PAddress1, this.PAddress3, this.DrugMultiSource);\r\n }\r\n else if (this.rs.IsLoginRequired() == \"Yes\" && window.localStorage.getItem('SkipSignup') == 'signupskipped') {\r\n window.localStorage.setItem('SelectedPhamacyId', _NameFilter[0].Uid);\r\n this.IsSave = this.DiscountCardSavedStatus(_NameFilter[0].Uid, _NameFilter[0].CardId, this.Card_DrugName, this.PharmacyPrice, this.Card_Type, this.Card_Dosage, this.GroupNumber);\r\n this.showcard = true;\r\n }\r\n else {\r\n window.localStorage.setItem('SelectedPhamacyId', _NameFilter[0].Uid);\r\n this.IsSave = this.DiscountCardSavedStatus(_NameFilter[0].Uid, _NameFilter[0].CardId, this.Card_DrugName, this.PharmacyPrice, this.Card_Type, this.Card_Dosage, this.GroupNumber);\r\n this.showcard = true;\r\n }\r\n // this.showcard = true;\r\n // $('body').css('overflow', 'hidden');\r\n }\r\n }\r\n showDiscountcard(item: any, index) {\r\n this.UserInputEmail = null;\r\n this.Card_Pharmacy_Logo = \"\";\r\n this.RXS_Walmart = \"\";\r\n this.RXS_CVS = \"\";\r\n this.UserInputEmail = null;\r\n this.SendDiscountMessage = \"\";\r\n this.PharmacistHelpline = \"Pharmacist Helpline\";\r\n this.GroupNumber = window.localStorage.getItem(\"UserGroup\");\r\n this.PharmacyType = item.ResponseType;\r\n this.PAddress2 = item.Address.trim() + \", \" + item.City + \", \" + item.State;\r\n this.PAddress1 = item.Address.trim();\r\n this.PAddress3 = item.City + \", \" + item.State;\r\n this.Bin = item.BIN;\r\n this.Pcn = item.PCN;\r\n this.DialNumber = item.PBMPhone;\r\n this.Plogo = \"\";\r\n\r\n // if (item.ResponseType == \"CRX\") {\r\n // this.RXBin = \"015284\";\r\n // this.RXCPN = \"CRX\";\r\n // this.HelpLine = \"888-680-0827\";\r\n // this.DialNumber = \"8886800827\";\r\n // } else if (item.ResponseType == \"NVT\") {\r\n // this.RXBin = \"610602\";\r\n // this.RXCPN = \"HDX\";\r\n // this.HelpLine = \"866-809-9382\";\r\n // this.DialNumber = \"8668099382\";\r\n // } else if (item.ResponseType == \"RXS\") {\r\n // this.RXBin = \"023518\";\r\n // this.RXCPN = \"ARX\";\r\n // this.HelpLine = \"877-800-7820\";\r\n // this.DialNumber = \"8778007820\";\r\n // } else {\r\n // this.RXBin = \"600428\";\r\n // this.RXCPN = \"HRX\";\r\n // this.HelpLine = \"844-616-9490\";\r\n // this.DialNumber = \"8446169490\";\r\n // }\r\n this.PharmacyName = item.PharmacyName;\r\n if (item.PharmacyName == \"use at any major retail pharmacy and save!\") {\r\n // this.SelectPharmacy = \"For \" + item.PharmacyName;\r\n this.SelectPharmacy = item.PharmacyName;\r\n } else {\r\n // this.SelectPharmacy = \"at \" + item.PharmacyName;\r\n this.SelectPharmacy = item.PharmacyName;\r\n }\r\n // if (\r\n // item.ResponseType != \"RXS\" &&\r\n // item.PharmacyName.toLowerCase().indexOf(\"walmart pharmacy\") > -1\r\n // ) {\r\n // this.RXBin = item.BIN;\r\n // this.RXCPN = item.PCN;\r\n // }\r\n if (item.ResponseType == \"RXS\") {\r\n // if (item.PharmacyName.toLowerCase().indexOf(\"walmart \") > -1) {\r\n this.RXBin = item.BIN;\r\n this.RXCPN = item.PCN;\r\n this.HelpLine = item.PBMPhone;\r\n this.DialNumber = this.HelpLine;\r\n // this.Card_Pharmacy_Logo = item.LogoLink;\r\n // this.RXS_Walmart = \"walmart\";\r\n // this.Plogo = item.LogoLink;\r\n // } else if (item.PharmacyName.toLowerCase().indexOf(\"cvs pharmacy\") > -1) {\r\n // this.RXBin = \"023518\";\r\n // this.RXCPN = \"ARX\";\r\n // this.Card_Pharmacy_Logo = item.LogoLink;\r\n // this.RXS_CVS = \"cvs\";\r\n // this.Plogo = item.LogoLink;\r\n //}\r\n }\r\n // ;\r\n // this.PharmacyPrice = \"$\" + item.Price;\r\n this.PharmacyPrice = \"$\" + parseFloat(item.Price).toFixed(2);\r\n this.PharmacyPhone = item.Phone;\r\n this.Card_Dosage = item.Dosage;\r\n this.Card_DrugName = item.DrugName;\r\n this.Card_Quantity = item.DisplayQuantity;\r\n this.PharmacyLat = item.Lat;\r\n this.PharmacyLng = item.Long;\r\n this.DrugMultiSource = item.MultiSource;\r\n this.SelectedCardId = item.CardId;\r\n this.PharmacistHL = this.HelpLine;\r\n this.Card_Type = item.Type;\r\n this.Card_DrugForm = item.Type;\r\n this.Card_Pharmacy_Distance = item.Distance;\r\n this.Card_CardId = item.CardId;\r\n this.Card_PharmacyId = item.Uid;\r\n this.Card_UID = item.Uid;\r\n this.MemberId = '100-4542';\r\n window.localStorage.setItem('UserCharId', '100-4542')\r\n\r\n if (\r\n this.rs.IsLoginRequired() == \"Yes\" &&\r\n window.localStorage.getItem(\"UserId\") != null &&\r\n window.localStorage.getItem(\"UserId\") != \"\" &&\r\n window.localStorage.getItem(\"UserId\") != undefined &&\r\n window.localStorage.getItem(\"UserId\") != \"null\"\r\n ) {\r\n this.DiscountCardSavedStatus_login(\r\n this._UserId,\r\n this.MemberId,\r\n this.PharmacyName,\r\n item.ResponseType,\r\n item.DrugName,\r\n item.Price,\r\n item.Quantity,\r\n item.Dosage,\r\n this.Card_Type,\r\n this.PharmacyPhone,\r\n this.PAddress1,\r\n this.PAddress3,\r\n this.DrugMultiSource\r\n );\r\n } else if (\r\n this.rs.IsLoginRequired() == \"No\" &&\r\n window.localStorage.getItem(\"UserId\") != null &&\r\n window.localStorage.getItem(\"UserId\") != undefined\r\n ) {\r\n this.DiscountCardSavedStatus_login(\r\n this._UserId,\r\n this.MemberId,\r\n this.PharmacyName,\r\n item.ResponseType,\r\n item.DrugName,\r\n item.Price,\r\n item.Quantity,\r\n item.Dosage,\r\n this.Card_Type,\r\n this.PharmacyPhone,\r\n this.PAddress1,\r\n this.PAddress3,\r\n this.DrugMultiSource\r\n );\r\n } else if (\r\n this.rs.IsLoginRequired() == \"Yes\" &&\r\n window.localStorage.getItem(\"SkipSignup\") == \"signupskipped\"\r\n ) {\r\n window.localStorage.setItem(\"SelectedPhamacyId\", item.Uid);\r\n this.IsSave = this.DiscountCardSavedStatus(\r\n item.Uid,\r\n item.CardId,\r\n this.Card_DrugName,\r\n this.PharmacyPrice,\r\n this.Card_Type,\r\n this.Card_Dosage,\r\n this.GroupNumber\r\n );\r\n this.showcard = true;\r\n } else {\r\n window.localStorage.setItem(\"SelectedPhamacyId\", item.Uid);\r\n this.IsSave = this.DiscountCardSavedStatus(\r\n item.Uid,\r\n item.CardId,\r\n this.Card_DrugName,\r\n this.PharmacyPrice,\r\n this.Card_Type,\r\n this.Card_Dosage,\r\n this.GroupNumber\r\n );\r\n this.showcard = true;\r\n console.log(\"page group=> \" + this.GroupNumber)\r\n console.log(\"storage group=> \" + this.GroupNumber)\r\n }\r\n // this.showcard = true;\r\n this.GroupNumber\r\n // $('body').css('overflow', 'hidden');\r\n}\r\n CloseDrugDetails() {\r\n this.showcard = false;\r\n $('body').removeAttr('style');\r\n }\r\n\r\n //-------------------Swap Drug name, Drug Type, Drug Dose, Drug Quantity from left panel---------------------------\r\n SwapDrugname(DrugName: string) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Pharmacy Page\",\r\n \"Swap Drug Name\",\r\n DrugName,\r\n 0\r\n );commented by shubh*/\r\n let sdrug = DrugName.replace(\" (Generic Drug)\", \"\")\r\n .replace(\" (Brand Drug)\", \"\")\r\n .replace(\" (Mod)\", \"\")\r\n .trim();\r\n if (DrugName.indexOf(\"Generic Drug\") > -1) {\r\n\r\n this.Swap_Drug_Name = sdrug;\r\n this.Swap_Drug_MultiSource = \"Generic\";\r\n window.localStorage.setItem(\"IsBG\", \"Generic\");\r\n this._MultiSource = \"Generic\";\r\n this.Swap_Drug_With_MultiSource_New = DrugName;\r\n this._DrugName = sdrug;\r\n } else {\r\n\r\n this._DrugName = sdrug;\r\n this.Swap_Drug_Name = sdrug;\r\n this.Swap_Drug_MultiSource = \"Brand\";\r\n window.localStorage.setItem(\"IsBG\", \"Brand\");\r\n this._MultiSource = \"Brand\";\r\n this.Swap_Drug_With_MultiSource_New = DrugName;\r\n }\r\n this.UpdateDrugParamsWithSwaping();\r\n }\r\n\r\n SwapDrugForm(DrugType: string) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Pharmacy Page\",\r\n \"Swap Drug Form\",\r\n this._Type + \"<--->\" + DrugType,\r\n 0\r\n );commented by shubh*/\r\n let sdrug = this.Swap_Drug_With_MultiSource_New.replace(\r\n \" (Generic Drug)\",\r\n \"\"\r\n )\r\n .replace(\" (Brand Drug)\", \"\")\r\n .replace(\" (Mod)\", \"\")\r\n .trim();\r\n this.Swap_Drug_Name = sdrug;\r\n if (this.Swap_Drug_With_MultiSource_New.indexOf(\"Generic Drug\") > -1) {\r\n this.Swap_Drug_MultiSource = \"Generic\";\r\n } else {\r\n this.Swap_Drug_MultiSource = \"Brand\";\r\n }\r\n this.UpdateDoseByFormTypeSwaping(DrugType);\r\n }\r\n SwapDrugDose(_DrugDose: string) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Pharmacy Page\",\r\n \"Swap Drug Dose\",\r\n this._Dose + \"<--->\" + _DrugDose,\r\n 0\r\n );commented by shubh*/\r\n this._Dose = _DrugDose;\r\n this.UpdateDrugQuantityOnTopChangebydose(_DrugDose);\r\n }\r\n SwapDrugQuantity(_DrugQuantity: string, ndccode, displayquantity) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Pharmacy Page\",\r\n \"Swap Drug Quantity\",\r\n this._Quant + \"<--->\" + _DrugQuantity,\r\n 0\r\n );commented by shubh*/\r\n this._Quant = displayquantity;\r\n window.localStorage.setItem('ndccode', ndccode);\r\n window.localStorage.setItem(\"DrugQuant\", _DrugQuantity);\r\n window.localStorage.setItem(\"displayquantity\", displayquantity);\r\n \r\n }\r\n UpdateDrugParamsWithSwaping() {\r\n try {\r\n //this.DoseDescriptor_JSON = JSON.parse(this.rs.DrugDoseDescription());\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n if (this.Swap_Drug_MultiSource.toLowerCase() == \"generic\") {\r\n let FilterItem = this.ConfigResponseData[0][\"generic\"].filter(\r\n (item) => {\r\n\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.Swap_Drug_Name.toLowerCase()\r\n );\r\n }\r\n );\r\n if (FilterItem.length > 0) {\r\n\r\n this.DrugFormTypeList = [];\r\n for (let x of FilterItem[0][\"types\"]) {\r\n\r\n try {\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter((item) => {\r\n // return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n // });\r\n //if (_DoseFilter.length > 0) {\r\n this.DrugFormTypeList.push({\r\n value: x.dose,\r\n text: x.dose,\r\n });\r\n // } else {\r\n // this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n // }\r\n } catch {\r\n this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n\r\n this.UpdateDoseByFormTypeSwaping(this.DrugFormTypeList[0].value);\r\n }\r\n } else {\r\n let FilterItem = this.ConfigResponseData[0][\"brand\"].filter((item) => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.Swap_Drug_Name.toLowerCase()\r\n );\r\n });\r\n if (FilterItem.length > 0) {\r\n this.DrugFormTypeList = [];\r\n for (let x of FilterItem[0][\"types\"]) {\r\n try {\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter((item) => {\r\n // return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n // });\r\n // if (_DoseFilter.length > 0) {\r\n this.DrugFormTypeList.push({\r\n value: x.dose,\r\n text: x.dose,\r\n });\r\n // } else {\r\n // this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n // }\r\n } catch {\r\n this.DrugFormTypeList.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n this.UpdateDoseByFormTypeSwaping(this.DrugFormTypeList[0].value);\r\n }\r\n }\r\n this._Type = this.DrugFormTypeList[0].value;\r\n } catch { }\r\n\r\n try {\r\n if (this.DrugFormTypeList.length <= 1) {\r\n this.DrugFormSingle = true;\r\n } else {\r\n this.DrugFormSingle = false;\r\n }\r\n } catch { }\r\n }\r\n UpdateDoseByFormTypeSwaping(_doseform) {\r\n\r\n //this.DoseDescriptor_JSON = JSON.parse(this.rs.DrugDoseDescription());\r\n this.Swap_Drug_Form = _doseform;\r\n this._Type = _doseform;\r\n // this.Card_DrugForm = _doseform;\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n let tempdoseform = \"\";\r\n // try {\r\n // // let _DoseFilter = this.DoseDescriptor_JSON.filter((item) => {\r\n // // return item[\"Descrption\"].toLowerCase() == _doseform.toLowerCase();\r\n // // });\r\n // if (_DoseFilter.length > 0) {\r\n // tempdoseform = _DoseFilter[0][\"Dose\"];\r\n // } else {\r\n // tempdoseform = _doseform;\r\n // }\r\n // } catch {\r\n tempdoseform = _doseform;\r\n // }\r\n this.DrugDoseTypeList = [];\r\n try {\r\n if (this.ConfigResponseData.length > 0) {\r\n if (this.Swap_Drug_MultiSource.toLowerCase() == \"generic\") {\r\n let _NameFilter = this.ConfigResponseData[0][\"generic\"].filter(\r\n (item) => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.Swap_Drug_Name.toLowerCase()\r\n );\r\n }\r\n );\r\n let _it = -1;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n _it += 1;\r\n if (x.dose == tempdoseform) {\r\n for (let x of _NameFilter[0][\"types\"][_it][\"strength\"]) {\r\n if (this.ms.IsNullOrEmptyField(x[\"Strength\"]) == false) {\r\n this.DrugDoseTypeList.push(x[\"Strength\"]);\r\n }\r\n }\r\n break;\r\n }\r\n } catch { }\r\n }\r\n } else {\r\n let _NameFilter = this.ConfigResponseData[0][\"brand\"].filter(\r\n (item) => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.Swap_Drug_Name.toLowerCase()\r\n );\r\n }\r\n );\r\n let _it = -1;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n _it += 1;\r\n if (x.dose == tempdoseform) {\r\n for (let x of _NameFilter[0][\"types\"][_it][\"strength\"]) {\r\n if (this.ms.IsNullOrEmptyField(x[\"Strength\"]) == false) {\r\n this.DrugDoseTypeList.push(x[\"Strength\"]);\r\n }\r\n }\r\n break;\r\n }\r\n } catch { }\r\n }\r\n }\r\n if (this.DrugDoseTypeList.length > 0) {\r\n this.Swap_Drug_Dose = this.DrugDoseTypeList[0].replace(\" \", \"\");\r\n this._Dose = this.Swap_Drug_Dose;\r\n } else {\r\n this._Dose = \"\";\r\n }\r\n // this.DrugDose = this.DrugDoseList[0].replace(' ', '');\r\n // window.localStorage.setItem('DrugDose', this.DrugDose);\r\n // window.localStorage.setItem('DrugType', _doseform);\r\n // this.selectedValue = _doseform;\r\n // if (this.DrugDoseList.length <= 1) {\r\n // this.StrengthSingle = true;\r\n // }\r\n // else {\r\n // this.StrengthSingle = false;\r\n // }\r\n }\r\n } catch { }\r\n this.UpdateDrugQuantityOnTopChange(_doseform);\r\n try {\r\n if (this.DrugDoseTypeList.length <= 1) {\r\n this.DrugDoseSingle = true;\r\n } else {\r\n this.DrugDoseSingle = false;\r\n }\r\n } catch { }\r\n }\r\n UpdateDrugQuantityOnTopChange(DoseFormm) {\r\n\r\n try {\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n this.DrugQuantityTypeList = [];\r\n // let _DoseFilter_1 = this.DoseDescriptor_JSON.filter((item) => {\r\n // return (\r\n // item[\"Descrption\"].toLowerCase() == this.Swap_Drug_Form.toLowerCase()\r\n // );\r\n // });\r\n let DoseForm = DoseFormm;\r\n let APIResponse = this.ConfigResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (this.Swap_Drug_MultiSource.toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(\r\n (item) => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.Swap_Drug_Name.toLowerCase()\r\n );\r\n }\r\n );\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter((item) => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.Swap_Drug_Name.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n (item) => {\r\n\r\n return item[\"dose\"].toLowerCase() == DoseForm.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter((item) => {\r\n\r\n return (\r\n item[\"Strength\"].toLowerCase().replace(/\\s/g, \"\") ==\r\n this.Swap_Drug_Dose.toLowerCase().replace(/\\s/g, \"\")\r\n );\r\n });\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n if (xqx.Quantity != 0) {\r\n\r\n this.DrugQuantityTypeList.push(xqx);\r\n }\r\n }\r\n this.DrugQuantityTypeList.sort(function (a, b) {\r\n return a - b;\r\n });\r\n if (this.DrugQuantityTypeList.length > 0) {\r\n this._Quant = this.DrugQuantityTypeList[0].DisplayQuantity;\r\n window.localStorage.setItem('ndccode', this.DrugQuantityTypeList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityTypeList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n } else {\r\n this._Quant = \"10\";\r\n }\r\n // window.localStorage.setItem(\"DrugQuant\", this._Quant);\r\n // window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n }\r\n }\r\n } catch { }\r\n }\r\n UpdateDrugQuantityOnTopChangebydose(dosee) {\r\n\r\n try {\r\n this.ConfigResponseData = JSON.parse(\r\n window.localStorage.getItem(\"SelectedDrugConfig\")\r\n );\r\n this.DrugQuantityTypeList = [];\r\n // let _DoseFilter_1 = this.DoseDescriptor_JSON.filter((item) => {\r\n // return (\r\n // item[\"Descrption\"].toLowerCase() == this.Swap_Drug_Form.toLowerCase()\r\n // );\r\n // });\r\n let selectedmedicine = this._DrugName;\r\n let form = this._Type;\r\n let dose = dosee;\r\n let APIResponse = this.ConfigResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (window.localStorage.getItem('IsBG').toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(\r\n (item) => {\r\n\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n selectedmedicine.toLowerCase()\r\n );\r\n }\r\n );\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter((item) => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n selectedmedicine.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n (item) => {\r\n\r\n return item[\"dose\"].toLowerCase() == form.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter((item) => {\r\n\r\n return (\r\n item[\"Strength\"].toLowerCase().replace(/\\s/g, \"\") ==\r\n dose.toLowerCase().replace(/\\s/g, \"\")\r\n );\r\n });\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n if (xqx.Quantity != 0) {\r\n\r\n this.DrugQuantityTypeList.push(xqx);\r\n }\r\n }\r\n this.DrugQuantityTypeList.sort(function (a, b) {\r\n return a - b;\r\n });\r\n if (this.DrugQuantityTypeList.length > 0) {\r\n this._Quant = this.DrugQuantityTypeList[0].DisplayQuantity;\r\n window.localStorage.setItem('ndccode', this.DrugQuantityTypeList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityTypeList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n } else {\r\n this._Quant = \"10\";\r\n }\r\n // window.localStorage.setItem(\"DrugQuant\", this._Quant);\r\n // window.localStorage.setItem(\"displayquantity\", this.DrugQuantityTypeList[0].DisplayQuantity);\r\n }\r\n }\r\n } catch { }\r\n }\r\n OpenQuantity_Box() {\r\n this.Quantity_Manual = null;\r\n this.ManualQuantity_box = true;\r\n }\r\n\r\n CloseQuantity_Box() {\r\n this.ManualQuantity_box = false;\r\n }\r\n\r\n\r\n SubmitQuantity() {\r\n if (this.Quantity_Manual == null || this.Quantity_Manual == \"\" || this.Quantity_Manual == undefined) {\r\n this.Quantity_error = 'Please enter a quantity';\r\n $(\"#Quantity_Manual\").parent().addClass('error_msg');\r\n return false;\r\n }\r\n else {\r\n this.ManualQuantity_box = false;\r\n this._Quant = this.Quantity_Manual;\r\n window.localStorage.setItem('DrugQuant', this._Quant);\r\n }\r\n }\r\n DrugQuantityValidate(e: any) {\r\n this.Quantity_error = '';\r\n $(\"#Quantity_Manual\").parent().removeClass('error_msg');\r\n var keyCode = e.which ? e.which : e.keyCode;\r\n if (keyCode != 8 && keyCode != 0 && (keyCode < 48 || keyCode > 57)) {\r\n return false;\r\n }\r\n }\r\n ZipCodeValidate(event): boolean {\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if (charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n UpdatePharmacyList() {\r\n if (this.mapview == true) {\r\n $(\"#locate\").click();\r\n }\r\n let getLenth = this._ZipCode.length;\r\n if (getLenth < 5) {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n return false;\r\n }\r\n this.pharmacy_list = [];\r\n this.PharmacyList = [];\r\n this.MarkersList = [];\r\n this.APICallCount = 0;\r\n this.Enter_Zip = false;\r\n this.ZipCodeMessage = null;\r\n this.List_Pharmacy_Available = true;\r\n this._Quant = window.localStorage.getItem(\"DrugQuant\")\r\n \r\n if (this.ms.IsNullOrEmptyField(this._ZipCode) == true) {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n setTimeout(() => {\r\n // $(\".loaderscreen\").removeClass(\"showloader\");\r\n $('.update_btn').removeClass('loader');\r\n }, 600);\r\n return false;\r\n } else {\r\n // $(\"body\").css({ \"pointer-events\": \"none\", opacity: \"0.9\" });\r\n // $(\".loaderscreen\").addClass(\"showloader\");\r\n $('.update_btn').addClass('loader');\r\n window.localStorage.setItem(\"DrugQuant\", this._Quant);\r\n window.localStorage.setItem(\"DrugDose\", this._Dose);\r\n window.localStorage.setItem(\"DrugType\", this._Type);\r\n if (this.ms.IsNullOrEmptyField(this.Swap_Drug_Name) == true) {\r\n window.localStorage.setItem(\"SelectedDrugName\", this._DrugName);\r\n this.Swap_Drug_Name = this._DrugName;\r\n } else {\r\n window.localStorage.setItem(\"SelectedDrugName\", this.Swap_Drug_Name);\r\n }\r\n // this.Card_DrugForm = this._Type;\r\n if (this.ms.IsNullOrEmptyField(this.Swap_Drug_MultiSource) == false) {\r\n window.localStorage.setItem(\"IsBG\", this.Swap_Drug_MultiSource);\r\n } else {\r\n if (this.ms.IsNullOrEmptyField(this._MultiSource) == false) {\r\n window.localStorage.setItem(\"IsBG\", this._MultiSource);\r\n this.Swap_Drug_MultiSource = this._MultiSource;\r\n } else {\r\n this._MultiSource = this.Swap_Drug_MultiSource = window.localStorage.getItem(\r\n \"IsBG\"\r\n );\r\n }\r\n }\r\n this._CurrLocation = this._ZipCode.toString();\r\n this._UserZip = this._ZipCode;\r\n this.GetLatLongByZipCode(this._ZipCode);\r\n $('.update_btn').removeClass('loader');\r\n }\r\n\r\n }\r\n RedirectGoogleDirection() {\r\n try {\r\n let DirectionLink = 'https://www.google.com/maps/dir/?api=1&origin=' + this._Lat + ',' + this._Long + '&destination=' + this.PharmacyLat + ',' + this.PharmacyLng\r\n window.open(DirectionLink, \"_blank\");\r\n }\r\n catch { }\r\n }\r\n SaveCard() {\r\n if (this.IsSave != \"Remove\") {\r\n if (this.rs.IsLoginRequired() == \"Yes\" && (window.localStorage.getItem('UserId') != null && window.localStorage.getItem('UserId') != \"\" && window.localStorage.getItem('UserId') != undefined) && window.localStorage.getItem('UserId') != \"null\") {\r\n this.SaveUserSearchCards(window.localStorage.getItem('UserId'), window.localStorage.getItem('UserCharId'), this.PharmacyName, this.PharmacyType, this.Card_DrugName, this.PharmacyPrice, this.Card_Quantity, this.Card_Dosage, this.Card_DrugForm, this.PharmacyPhone, this.PAddress1, this.PAddress3, \"\", this.DrugMultiSource);\r\n //this.IsSave = \"Remove\";\r\n window.localStorage.setItem('SavedStatus', \"Remove\");\r\n }\r\n else if (this.rs.IsLoginRequired() == \"No\" && window.localStorage.getItem('UserId') != null && window.localStorage.getItem('UserId') != undefined) {\r\n this.SaveUserSearchCards(window.localStorage.getItem('UserId'), window.localStorage.getItem('UserCharId'), this.PharmacyName, this.PharmacyType, this.Card_DrugName, this.PharmacyPrice, this.Card_Quantity, this.Card_Dosage, this.Card_DrugForm, this.PharmacyPhone, this.PAddress1, this.PAddress3, \"\", this.DrugMultiSource);\r\n //this.IsSave = \"Remove\";\r\n window.localStorage.setItem('SavedStatus', \"Remove\");\r\n }\r\n else {\r\n try {\r\n if (window.localStorage.getItem('CardListLocally') != null || window.localStorage.getItem('CardListLocally') != undefined) {\r\n let CardListData = JSON.parse(window.localStorage.getItem('CardListLocally'));\r\n this.SavedCardList = [];\r\n for (let x3 of CardListData) {\r\n if (x3.CardId == undefined) {\r\n x3.CardId = \"-1\";\r\n }\r\n let TempItem = {\r\n PharmacyType: x3.PharmacyType,\r\n UserGroup: x3.UserGroup,\r\n PharmacyPhone: x3.PharmacyPhone,\r\n UserCharId: x3.UserCharId,\r\n PharmacyName: x3.PharmacyName,\r\n Address1: x3.Address1,\r\n Address2: x3.Address2,\r\n DrugName: x3.DrugName,\r\n Price: x3.Price,\r\n Quantity: x3.Quantity,\r\n Dose: x3.Dose,\r\n Form: x3.Form,\r\n GPId: x3.GPId,\r\n MultiSource: x3.MultiSource,\r\n Distance: x3.Distance,\r\n CardId: x3.CardId,\r\n PharmacyId: x3.PharmacyId,\r\n BIN: x3.BIN,\r\n PCN: x3.PCN,\r\n PBMPhone: x3.PBMPhone,\r\n LogoLink: x3.LogoLink\r\n };\r\n this.SavedCardList.push(TempItem);\r\n }\r\n }\r\n let newItem = {\r\n PharmacyType: this.PharmacyType,\r\n UserGroup: this.GroupNumber,\r\n PharmacyPhone: this.PharmacyPhone,\r\n UserCharId: this.MemberId,\r\n PharmacyName: this.PharmacyName,\r\n Address1: this.PAddress1,\r\n Address2: this.PAddress3,\r\n DrugName: this.Card_DrugName,\r\n Price: \"$\" + this.convertstringtoint(this.PharmacyPrice),\r\n Quantity: this.Card_Quantity,\r\n Dose: this.Card_Dosage,\r\n Form: this.Card_DrugForm,\r\n GPId: \"\",\r\n MultiSource: this.DrugMultiSource,\r\n Distance: this.Card_Pharmacy_Distance,\r\n CardId: this.Card_CardId,\r\n PharmacyId: this.Card_PharmacyId,\r\n BIN: this.RXBin,\r\n PCN: this.RXCPN,\r\n PBMPhone: this.DialNumber,\r\n LogoLink: this.Plogo\r\n };\r\n this.SavedCardList.push(newItem);\r\n // let myArrStr = JSON.stringify(this.SavedCardList);\r\n window.localStorage.setItem('CardListLocally', JSON.stringify(this.SavedCardList))\r\n this.IsSave = \"Remove\";\r\n window.localStorage.setItem('SavedStatus', \"Remove\");\r\n window.localStorage.setItem('SelectedCard', '-1')\r\n window.localStorage.setItem('SelectedPhamacyId', this.Card_PharmacyId);\r\n }\r\n catch { }\r\n }\r\n }\r\n else {\r\n if (this.rs.IsLoginRequired() == \"Yes\" && (window.localStorage.getItem('UserId') != null && window.localStorage.getItem('UserId') != \"\" && window.localStorage.getItem('UserId') != undefined) && window.localStorage.getItem('UserId') != \"null\") {\r\n this.ms.RemoveDiscountCard(window.localStorage.getItem('UserId'), this.MemberId, this.Card_DrugName, this.Card_Quantity, this.Card_DrugForm, this.Card_Dosage,\r\n this.convertstringtoint(this.PharmacyPrice), this.PharmacyName, this.PAddress1, this.PAddress3, this.PharmacyPhone, this.DrugMultiSource, this.PharmacyType).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data.length > 0) {\r\n if (data[0].Status = \"Success\") {\r\n this.IsSave = \"Save\";\r\n $('.button_sec > div:first-child').addClass('save').removeClass('saved');\r\n this.RemoveDiscountCard_login(this.SelectedCardId, this.Card_PharmacyId);\r\n }\r\n }\r\n });\r\n\r\n }\r\n else if (this.rs.IsLoginRequired() == \"No\" && window.localStorage.getItem('UserId') != null && window.localStorage.getItem('UserId') != undefined) {\r\n this.ms.RemoveDiscountCard(window.localStorage.getItem('UserId'), this.MemberId, this.Card_DrugName, this.Card_Quantity, this.Card_DrugForm, this.Card_Dosage,\r\n this.PharmacyPrice, this.PharmacyName, this.PAddress1, this.PAddress3, this.PharmacyPhone, this.DrugMultiSource, this.PharmacyType).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data.length > 0) {\r\n if (data[0].Status = \"Success\") {\r\n this.IsSave = \"Save\";\r\n $('.button_sec > div:first-child').addClass('save').removeClass('saved');\r\n this.RemoveDiscountCard_login(this.SelectedCardId, this.Card_PharmacyId);\r\n }\r\n }\r\n });\r\n\r\n }\r\n else {\r\n try {\r\n let Original_CardList = JSON.parse(window.localStorage.getItem('CardListLocally'));\r\n let Filter_CardList = Original_CardList.filter((item) => {\r\n return item[\"PharmacyId\"] != window.localStorage.getItem('SelectedPhamacyId');\r\n });\r\n window.localStorage.setItem('CardListLocally', JSON.stringify(Filter_CardList))\r\n this.IsSave = \"Save\";\r\n //this.navCtrl.setRoot(MyRxPage);\r\n }\r\n catch { }\r\n }\r\n }\r\n }\r\n SaveUserSearchCards(UserId: string, UserCharId: string, PharmacyName: string, PharmacyType: string, DrugName: string, Price: string, Quantity: string,\r\n Dose: string, Form: string, PharmacyPhone: string, Address1: string, Address2: string, gpid: string, multisource: string) {\r\n this.ms.SaveUserCards(UserId, UserCharId, PharmacyName, PharmacyType, DrugName, Price, Quantity, Dose, Form, PharmacyPhone, Address1, Address2, gpid, multisource, this.RXBin, this.RXCPN, this.DialNumber, this.Plogo).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data.length > 0) {\r\n if (data[0].Status == \"Success\") {\r\n this.SelectedCardId = data[0].CardId;\r\n this.IsSave = \"Remove\";\r\n $('.button_sec > div:first-child').addClass('saved').removeClass('save');\r\n try {\r\n if (window.localStorage.getItem('CardListLocally_Login') != null || window.localStorage.getItem('CardListLocally_Login') != undefined) {\r\n let CardListData = JSON.parse(window.localStorage.getItem('CardListLocally_Login'));\r\n this.SavedCardList_Login = [];\r\n for (let x3 of CardListData) {\r\n if (x3.CardId == undefined) {\r\n x3.CardId = \"-1\";\r\n }\r\n let TempItem = {\r\n UserId: x3.UserId,\r\n PharmacyType: x3.PharmacyType,\r\n UserGroup: x3.UserGroup,\r\n PharmacyPhone: x3.PharmacyPhone,\r\n UserCharId: x3.UserCharId,\r\n PharmacyName: x3.PharmacyName,\r\n Address1: x3.Address1,\r\n Address2: x3.Address2,\r\n DrugName: x3.DrugName,\r\n Price: x3.Price,\r\n Quantity: x3.Quantity,\r\n Dose: x3.Dose,\r\n Form: x3.Form,\r\n GPId: x3.GPId,\r\n MultiSource: x3.MultiSource,\r\n Distance: x3.Distance,\r\n CardId: x3.CardId,\r\n PharmacyId: x3.PharmacyId,\r\n UID: x3.UID\r\n };\r\n this.SavedCardList_Login.push(TempItem);\r\n }\r\n }\r\n let newItem = {\r\n UserId: UserId,\r\n PharmacyType: PharmacyType,\r\n UserGroup: \"\",\r\n PharmacyPhone: PharmacyPhone,\r\n UserCharId: UserCharId,\r\n PharmacyName: PharmacyName,\r\n Address1: Address1,\r\n Address2: Address2,\r\n DrugName: DrugName,\r\n Price: Price,\r\n Quantity: Quantity,\r\n Dose: Dose,\r\n Form: Form,\r\n GPId: \"\",\r\n MultiSource: multisource,\r\n Distance: \"\",\r\n CardId: this.SelectedCardId,\r\n PharmacyId: this.Card_PharmacyId,\r\n UID: this.Card_UID\r\n };\r\n this.SavedCardList_Login.push(newItem);\r\n window.localStorage.setItem('CardListLocally_Login', JSON.stringify(this.SavedCardList_Login))\r\n }\r\n catch { }\r\n }\r\n else {\r\n this.IsSave = \"Save\";\r\n $('.button_sec > div:first-child').addClass('save').removeClass('saved');\r\n }\r\n }\r\n });\r\n }\r\n PharmacyHelpLine() {\r\n this.PharmacistHelpline = this.HelpLine;\r\n }\r\n PrintMe() {\r\n this.PharmacistHelpline = this.HelpLine;\r\n setTimeout(() => {\r\n window.print();\r\n }, 600);\r\n }\r\n ClearMessage(event: any) {\r\n if (event.target.name == \"ShareEmail\") {\r\n this.SendDiscountMessage = \"\";\r\n $('.email_field').removeClass('error_msg');\r\n }\r\n $('.sendbtn').removeClass('success').text('Send');\r\n }\r\n clearClassMsg() {\r\n $('.email_field').removeClass('error_msg');\r\n this.SendDiscountMessage = \"\";\r\n }\r\n ShareDiscountCard() {\r\n $('.email_field').removeClass('error_msg');\r\n let email_REGEX = /[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/g;\r\n if (this.ms.IsNullOrEmptyField(this.UserInputEmail) == true) {\r\n this.SendDiscountMessage = \"Email is required\";\r\n $('.email_field').addClass('error_msg');\r\n return false;\r\n }\r\n else if (email_REGEX.test(this.UserInputEmail) == false) {\r\n $('.email_field').addClass('error_msg');\r\n this.SendDiscountMessage = \"Please enter correct email or valid email\";\r\n return false;\r\n }\r\n else {\r\n let LandingURL = window.location.host;\r\n $('.loadProcess').addClass('loader');\r\n $('.loadProcess').css({ 'display': 'block' });\r\n let ShareCard_Params = this.Card_DrugName + \"|\" + this.Card_DrugForm + \"|\" + this.Card_Dosage + \"|\" + this.Card_Quantity + \"|\" + this.PharmacyPrice + \"|\" + this.PharmacyName + \"|\" + this.PAddress1 + \"|\" + this.PAddress3 + \"|\" + this.UserInputEmail;\r\n //this.googleAnalyticsService.eventEmitter(\"Pharmacy Page\", \"Share Discount Card\", ShareCard_Params, 0);commented by shubh\r\n this.ms.SaveUserShareCard(window.localStorage.getItem('UserId'), this.MemberId, this.Card_DrugName, this.Card_Quantity, this.Card_DrugForm, this.Card_Dosage,\r\n this.PharmacyPrice, this.PharmacyName, this.PAddress1, this.PAddress3, this.PharmacyPhone, this.RXBin, this.RXCPN, this.GroupNumber,\r\n this.UserInputEmail, this.PharmacistHL, this._Lat + \",\" + this._Long, LandingURL).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n if (data.length > 0) {\r\n if (data[0].Status == \"Success\") {\r\n $('.loadProcess').css({ 'display': 'none' });\r\n $('.loadProcess').removeClass('loader');\r\n this.UserInputEmail = null;\r\n this.SendDiscountMessage = \"\";\r\n this.UserInputEmail = \"\";\r\n $('.sendbtn').addClass('success').text('Success');\r\n }\r\n else {\r\n this.SendDiscountMessage = data[0].Status;\r\n //$('.email_field').addClass('error_msg');\r\n }\r\n }\r\n else {\r\n this.SendDiscountMessage = \"Please try after sometime.\";\r\n //$('.email_field').addClass('error_msg');\r\n }\r\n });\r\n }\r\n }\r\n\r\n DiscountCardSavedStatus(UId: string, CardId: string, Drugname: string, Price: string, Form: string, Dose: string, groupno:string) {\r\n Price = '$'+Number(Price.replace('$', '')).toFixed(2).toString()\r\n \r\n try {\r\n this.DoseDescriptor_JSON = JSON.parse(\r\n this.rs.DrugDoseDescription()\r\n );\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(\r\n item => {\r\n return (\r\n item[\"Dose\"].toLowerCase() == Form.toLowerCase()\r\n );\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n Form = _DoseFilter[0][\"Descrption\"];\r\n }\r\n let LocalcardCardList = [];\r\n if (this.rs.IsLoginRequired() == \"Yes\" && window.localStorage.getItem('SkipSignup') == 'signupskipped') {\r\n try {\r\n LocalcardCardList = JSON.parse(window.localStorage.getItem('CardListLocally'));\r\n let _CardFilter = LocalcardCardList.filter((item) => {\r\n return item[\"PharmacyId\"].toLowerCase() == UId.toLowerCase()\r\n && item[\"DrugName\"].trim().toLowerCase() == Drugname.trim().toLowerCase()\r\n && item[\"Price\"] == Price\r\n && item[\"Form\"].trim().toLowerCase() == Form.trim().toLowerCase()\r\n && item[\"Dose\"].trim().toLowerCase() == Dose.trim().toLowerCase()\r\n && item[\"UserGroup\"] == groupno\r\n ;\r\n });\r\n if (_CardFilter.length > 0) {\r\n this.IsSave = \"Remove\";\r\n }\r\n else {\r\n this.IsSave = \"Save\";\r\n }\r\n } catch\r\n {\r\n return \"Save\";\r\n }\r\n }\r\n else {\r\n try {\r\n // LocalcardCardList = JSON.parse(window.localStorage.getItem('CardListLocally'));\r\n LocalcardCardList = JSON.parse(window.localStorage.getItem('CardListLocally'));\r\n let _CardFilter = LocalcardCardList.filter((item) => {\r\n return item[\"PharmacyId\"].toLowerCase() == UId.toLowerCase()\r\n && item[\"DrugName\"].trim().toLowerCase() == Drugname.trim().toLowerCase()\r\n && item[\"Price\"] == Price\r\n && item[\"Form\"].trim().toLowerCase() == Form.trim().toLowerCase()\r\n && item[\"Dose\"].trim().toLowerCase() == Dose.trim().toLowerCase()\r\n && item[\"UserGroup\"] == groupno\r\n ;\r\n });\r\n if (_CardFilter.length > 0) {\r\n return \"Remove\";\r\n }\r\n else {\r\n return \"Save\";\r\n }\r\n }\r\n catch {\r\n return \"Save\";\r\n }\r\n }\r\n } catch {\r\n return \"Save\";\r\n }\r\n }\r\n DiscountCardSavedStatus_login(UserId: string, UserCharId: string, PharmacyName: string, PharmacyType: string, DrugName: string, Price: string, Quantity: string,\r\n Dose: string, Form: string, PharmacyPhone: string, Address1: string, Address2: string, multisource: string) {\r\n let Card_Status = \"Save\";\r\n let LocalcardCardList = [];\r\n if (Price.toString().indexOf('$') > -1) {\r\n\r\n }\r\n else {\r\n Price = \"$\" + parseFloat(Price).toFixed(2);\r\n }\r\n try {\r\n this.ms.GetUserCards(UserId).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n let serverdata = JSON.stringify(data);\r\n window.localStorage.setItem('CardListLocally_Login', serverdata)\r\n try {\r\n LocalcardCardList = JSON.parse(window.localStorage.getItem('CardListLocally_Login'));\r\n let _CardFilter = LocalcardCardList.filter((item) => {\r\n return (\r\n //item[\"UserId\"] == UserId\r\n item[\"PharmacyType\"].toLowerCase() == PharmacyType.toLowerCase()\r\n && item[\"PharmacyPhone\"].toLowerCase() == PharmacyPhone.toLowerCase()\r\n && item[\"UserCharId\"].toLowerCase() == UserCharId.toLowerCase()\r\n && item[\"PharmacyName\"].toLowerCase() == PharmacyName.toLowerCase()\r\n && item[\"Address1\"].trim().toLowerCase() == Address1.trim().toLowerCase()\r\n && item[\"Address2\"].trim().toLowerCase() == Address2.trim().toLowerCase()\r\n && item[\"DrugName\"].toLowerCase() == DrugName.toLowerCase()\r\n && item[\"Price\"] == Price\r\n && item[\"Quantity\"] == parseInt(Quantity)\r\n && item[\"Dose\"].toLowerCase() == Dose.toLowerCase()\r\n && item[\"Form\"].toLowerCase() == Form.toLowerCase()\r\n && item[\"MultiSource\"].toLowerCase() == multisource.toLowerCase()\r\n );\r\n })\r\n if (_CardFilter.length > 0) {\r\n Card_Status = \"Remove\";\r\n this.IsSave = Card_Status;\r\n this.showcard = true;\r\n }\r\n else {\r\n Card_Status = \"Save\";\r\n this.IsSave = Card_Status;\r\n this.showcard = true;\r\n }\r\n } catch {\r\n Card_Status = \"Save\";\r\n this.IsSave = Card_Status;\r\n this.showcard = true;\r\n }\r\n });\r\n }\r\n catch {\r\n Card_Status = \"Save\";\r\n this.IsSave = Card_Status;\r\n this.showcard = true;\r\n }\r\n }\r\n RemoveDiscountCard_login(CardId: string, UId: string) {\r\n try {\r\n let Original_CardList_Login = JSON.parse(window.localStorage.getItem('CardListLocally_Login'));\r\n let Filter_CardList_Login = Original_CardList_Login.filter((item) => {\r\n return (item[\"UID\"] != UId);\r\n });\r\n window.localStorage.setItem('CardListLocally_Login', JSON.stringify(Filter_CardList_Login)\r\n )\r\n }\r\n catch { }\r\n }\r\n get isSidebarVisible(): boolean {\r\n return this.sidebarService.isSidebarVisible;\r\n }\r\n filteron_mobile() {\r\n this.filter_mbl_open = true;\r\n $('.select_filterList_parent').addClass('Show_filter_on_mobile');\r\n }\r\n hide_filter_mobile_on() {\r\n this.filter_mbl_open = false;\r\n $('.select_filterList_parent').removeClass('Show_filter_on_mobile');\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n

Privacy Policy

\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n Effective Date: {{date | ordinalDate}}\r\n

This Web site www.nulifespanrx.com and the NuLifeSpan Rx mobile app are owned and operated by NuLifeSpan Rx, LLC (“NuLifeSpan Rx,” “NuLifeSpan Rx,” “we,” “our,” and “us”). This Privacy Policy applies to:

\r\n
\r\n

all aspects of our prescription discount program (the “NuLifeSpan Rx Program” or the “NuLifeSpan Rx Program”), including;

\r\n

any physical card relating to the NuLifeSpan Rx Program, including any physical manifestation of our digital card (the “NuLifeSpan Rx Card”);

\r\n

our Web site;

\r\n

the NuLifeSpan Rx mobile application (the “NuLifeSpan Rx App”); and

\r\n

any physical card or software application (whether internet-based, mobile application, or the like) that posts a link to this Privacy Policy, as well as any features, ‎widgets, plug-ins, content, downloads or other services that are offered or such other NuLifeSpan Rx ‎online service or application (collectively, the “Services”).

\r\n
\r\n

This Privacy Policy will apply regardless of how you access ‎or use the Services, whether it be via physical card, computer, tablet, mobile device, smart watch, console, or otherwise.‎ By using the Services, including without limitation, accessing or using our Site, NuLifeSpan Rx Program, the NuLifeSpan Rx App, or the NuLifeSpan Rx Card, you consent to this Privacy Policy and our Terms and Conditions, including our collection, use, and sharing of your information, as described below. If you do not agree to these Terms and Conditions or our Privacy Policy, please exit our Services and do not use the NuLifeSpan Rx Program. If you have any questions regarding our policies or your use of the Services or any aspect thereof, please contact us at support@nulifespanrx.com.

\r\n

Information We Collect

\r\n

We collect information from you in several ways, including when you choose to share information with us by entering it through our Services, through the postings that you may make, through healthcare providers, through our marketing and data partners, through your pharmaceutical purchases when using the Services, through pharmacy benefit managers, and by using automated processes. This information includes information about the drugs purchased, such as pricing, the prescribing physician, the location of the pharmacy at which the drugs are purchased, and your birthdate among other things.

\r\n

Information You Provide to Us

\r\n

We may ask you and you may choose to provide certain personal information to us, such as your first and last name and e-mail address. We may collect this information in various places, including through our register and login pages, “Contact Us” page, or in other parts of our Services.

\r\n

Automated Information Collection

\r\n

We may automatically collect certain information when you use our Services. This information may include your IP address (or other unique device identifier, including one that we may assign); certain details about your browser, operating system, and hardware; your location, if available; the URL that referred you to our Services; your activities on our Services, including your preferences; and other logging information, such as the date and time of your use. We collect information about the prescriptions purchased using our Services and about the pharmacy through which they were purchased. We also collect the birthdate of individuals who purchase prescriptions through our Services. We may use a variety of tracking technologies to automatically collect information, such as cookies, web beacons, embedded scripts, browser fingerprinting, GPS, iBeacons, and ETags (or “entity tags”). A cookie (or “locally shared object”) is a data file placed on your device when you visit our Web site. Your browser, or other software (including Adobe Flash), may allow you to reject or remove cookies, but if you do so, some features of our Web site may not work properly, and we may not be able to remember your preferences the next time that you visit. We may also use web server logs to collect and store information about usage of our Services. When you use our Services through a mobile device, like a smartphone, we may also collect additional information from your device, including your location, device identifier, and information about your mobile network.

\r\n

User Accounts

\r\n

To use certain features of our Services you may need to create a personal username and password. You are responsible ‎for any interaction with our Services that takes place through your personal account, regardless of whether such use ‎is unauthorized or by a third party. Please keep your username and password secure and do not let anyone else ‎use your account information to access our Services.

\r\n

Analytics Services and Targeted Ads

\r\n

Our Services use third-party analytics services, including, but not necessarily limited to, Google Analytics. ‎These services may track details about your online activities over time and across different sites. ‎These services help us to improve our Services. You can learn more about Google Analytics and your choices below. While we do not serve you targeted advertisements, if you would like to learn more ‎about targeted ads that may be based on your online activities (and the choices that you may ‎exercise for certain sites and advertisers) you may wish to visit the Network Advertising Initiative or ‎the Digital Advertising Alliance Web sites. To opt out of being tracked by Google Analytics across all ‎Web sites, visit:‎ https://tools.google.com/dlpage/gaoptout.

\r\n

How We Use the Information That We Collect

\r\n

We use the information that we collect from you and others to provide you with the services requested, to facilitate your obtaining discount pricing on prescriptions, and to provide you information that may be of interest to you, such as services information, newsletters, and special offers. We may also use the information that we collect to customize your experience on our Services, to provide customer support, and to enforce our Terms and Conditions.

\r\n

How and When We Share Information with Third Parties

\r\n

We may share the information that we collect with third parties for a variety of purposes. These third parties include marketing and data partners, pharmacy benefit managers, and service providers that provide the underlying architecture for the NuLifeSpan Rx Program and/or otherwise help support our business. For example, we may share information with pharmacy benefit managers and healthcare providers in order to advise you of and facilitate your obtaining discount pricing on prescriptions, with our marketing and data partners to tailor our services to your preferences and to share relevant information with you, and with service providers to support our web platforms, mailing services and other business operations. We may also share information where required by law or to satisfy any applicable law, regulation, subpoena, government request, or other legal process. We may also share information with third parties, including law enforcement, to protect the NuLifeSpan Rx Program, and any of our Services, and to enforce our Terms and Conditions. We also reserve the right to share the information that we collect with our subsidiaries and affiliates and with any subsequent owner in the event of a merger, consolidation, sale of our assets, or other change in our business.

\r\n

Co-Branded Areas

\r\n

We may provide certain Services in association with third parties, such as promotional partners. These “co-branded areas” will identify the third party. If you choose to use these co-branded areas, we may share your information with the identified third party, and that third party may also collect information from you, in addition to the information that we collect, as described above. You should review the privacy policies of those identified third parties to understand how they collect and use information.

\r\n

Third-Party Sites & Services

\r\n

Links to Third-Party Sites

\r\n

Our Services may include links to third-party Web sites or other online services. We are not responsible for these other Web sites and services, and they may collect and use information about you. You should review the privacy policies for such third parties before using their Web sites or services to understand how they collect and use information.

\r\n

Third-Party Tracking and Do Not Track

\r\n

Third parties may use tracking technologies in connection with our Services, which may include the collection of information about your online activities over time and across third-party websites. This Privacy Policy does not apply to these third-party technologies because we may not control them and we are not responsible for them. Do Not Track is a technology that enables users to opt out of tracking by Web sites they do not visit. Currently, we do not monitor or take any action with respect to Do Not Track technology.

\r\n

Updating Your Information

\r\n

Our Services may allow you to update the information that we collect from you, such as the contact information. You may also request that we update your information by sending an e-mail to us at support@nulifespanrx.com. Our Services may also allow you to update your e-mail preferences.

\r\n

How We Protect Your Information

\r\n

We use commercially reasonable and industry standard security technologies and safeguards to protect the information that we collect and use. We also expect our service providers to protect information in the same manner. No data transmission over the Internet, mobile networks, wireless transmission or electronic storage of information can, however, be guaranteed 100% secure. Please note that we cannot guarantee the security of any information you transmit to us.

\r\n

Transfer of Information to the United States

\r\n

If you are from a non-U.S. country, please be aware that the personal information you submit, including information provided through our Services, is being sent to a location in the United States. The data protection laws in the United States may differ from those of the country in which you are located, and your personal information may be subject to access requests from governments, courts, or law enforcement in the United States according to laws of the United States. By providing such personal information, you are consenting to (and represent that you have authority to consent to), the transfer of such information to the United States for the uses and purposes described in this Privacy Policy.

\r\n

Children’s Privacy

\r\n

Our Services are intended for general audiences, and we do not knowingly seek or collect personal information from children under the age of 18. In accordance with the Child Online Privacy Protection Act, in the event that we learn that we have collected personal information from a child under age 13 without verification of parental consent, we will delete that information as quickly as possible. If you believe that we might have any personal information from or about a child, please contact us at support@nulifespanrx.com.

\r\n

California Privacy Rights

\r\n

If you are a resident of California you have additional rights under California law. Please review ‎our California Consumer Privacy Act Privacy Policy here for ‎more information about additional rights under California law.‎

\r\n

Residents of California may also, under §1798.83, known as the “Shine The Light” law, request ‎and obtain from us, once a year and free of charge, information about categories of personal ‎‎information (if any) we disclosed to third parties for direct marketing purposes and the names ‎and ‎addresses of all third parties with which we shared personal information in the immediately ‎preceding ‎calendar year. If you are a California resident and would like to make such a request, ‎please submit your ‎request clearly in writing to us using the contact information provided below.

\r\n

Privacy Policy Changes

\r\n

We reserve the right to change this Privacy Policy at any time and we will post notice of any such changes on our Web site. Your use of Services after the effective date constitutes your acceptance of the amended terms and conditions. We reserve the right to apply the amended terms to the information that we have already collected, subject to any legal constraints.

\r\n

Contact Us

\r\n

If you have any questions regarding our Privacy Policy, practices, or your use of our Services, please contact us at support@nulifespanrx.com or using the information below:

\r\n
\r\n NuLifeSpan Rx LLC
\r\n PO Box 1703
\r\n Allen, TX
\r\n 75013\r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-privacy',\r\n templateUrl: './privacy.component.html',\r\n styleUrls: ['./privacy.component.scss']\r\n})\r\nexport class PrivacyComponent implements OnInit {\r\n public date: any;\r\n constructor() { \r\n this.date = new Date();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n {{ searchtextbox_error }}\r\n
\r\n
\r\n
\r\n
No items found with this search
\r\n
Recent Searches
\r\n
    \r\n
  • \r\n {{ item.text }}\r\n
  • \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
    \r\n
  • \r\n {{ item.DrugName }}\r\n
  • \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n

{{ SelectedDrug }}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ SelectedDrug }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item }}\r\n
  • \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ DrugType }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item.text }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ DrugDose }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • \r\n {{ item }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ DrugQuant }}\r\n
\r\n \r\n
\r\n
\r\n
    \r\n
  • {{ item.DisplayQuantity }}
  • \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n \r\n
\r\n \r\n {{ ZipCodeMessage }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Find the Lowest Price\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild, HostListener } from '@angular/core';\r\nimport * as $ from 'jquery'\r\nimport { map } from \"rxjs/operators\";\r\nimport { Observable } from \"rxjs\";\r\nimport { Http, Headers } from \"@angular/http\";\r\nimport { Router, ActivatedRoute, NavigationExtras } from \"@angular/router\";\r\nimport { strictEqual } from \"assert\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { GoogleAnalyticsService } from \"../services/google-analytics-service.service\";\r\nimport { MedicinService } from \"../services/index\";\r\nimport { PrerequisiteService } from \"../services/prerequisite.service\";\r\nimport { CommonService } from \"../services/common.service\";\r\nimport { ApiService } from \"../services/api.service\";\r\nimport { SaveService } from \"../services/save.service\";\r\n// import { parse } from \"querystring\";\r\n\r\n@Component({\r\n selector: 'nav-search',\r\n templateUrl: './search.component.html',\r\n styleUrls: ['./search.component.css'],\r\n providers: [MedicinService, PrerequisiteService, CommonService, ApiService]\r\n})\r\nexport class SearchNavComponent {\r\n public SearchItemArray: any = [];\r\n PopularDrugs: any = [];\r\n SerachList: any = [];\r\n SearchList: any = [];\r\n loader: boolean = false;\r\n errorPopup: boolean = false;\r\n public ShowDisplay: boolean = false;\r\n public ShowDrugdetails: boolean = false;\r\n private SearchText: any;\r\n public SelectedDrug: string = \"\";\r\n public DisplayBindList: boolean = false;\r\n hideme = [];\r\n public errorShowDisplay: boolean = false;\r\n public daffiliate: boolean = true;\r\n //--------Click on drug ------------\r\n public NoDrugsFound: boolean = false;\r\n public searchtextbox_error: string = \"\";\r\n DrugDetails: any;\r\n coordinates: any = [];\r\n DrugDoseList: any = [];\r\n public DrugName: string = \"\";\r\n public DrugDose: string = \"\";\r\n public Latitude: string = \"\";\r\n public Longitude: string = \"\";\r\n\r\n public DrugNameTypeSingle: boolean = false;\r\n public DrugFormSingle: boolean = false;\r\n public DrugDoseSingle: boolean = false;\r\n public DrugCat: string = \"\";\r\n _NameFilterForQuantity: any = [];\r\n\r\n\r\n public Enter_Zip: boolean = false;\r\n public Quantity_error: string = \"\";\r\n public Quantity_Manual: string = '';\r\n public ManualQuantity_box: boolean = false;\r\n selectedValue: string;\r\n optionlist: any[] = [];\r\n DoseDescriptor_JSON: any;\r\n values: any;\r\n DrugTypeList: any = [];\r\n DrugQuantityList: any = [];\r\n LocationPermission: any = [];\r\n FormDoseData: any = [];\r\n ResponseData: any = [];\r\n PresetDrugData: any = [];\r\n public DrugConfigList: any = [];\r\n DrugDoseListCount: any;\r\n BrandType: boolean = false;\r\n GenericType: boolean = false;\r\n IsPresetFound: boolean = true;\r\n public ShowBrandDetails: boolean = false;\r\n public ShowGenericDetails: boolean = false;\r\n public DoseFormSingle: any = false;\r\n public StrengthSingle: any = false;\r\n public ShowDetails: boolean = false;\r\n public DrugQuant: any;\r\n public ndccode: any;\r\n public DrugType: string = \"\";\r\n public _IsBack: string = \"No\";\r\n public unregisterBackButtonAction: any;\r\n public Swap_Drug_With_MultiSource: string = \"\";\r\n public _UserZip: any = \"\";\r\n public _CurrLocation: string = \"\";\r\n public ZipCodeMessage: string = \"\";\r\n public IsAutoLocation: string = \"N/A\";\r\n DrugDetailsResponseData: any = [];\r\n public ShowRecentSearch: boolean = false;\r\n public Group_Number_Box: boolean = false;\r\n public getPopuphide: boolean = true;\r\n\r\n public toggle: boolean = true;\r\n pharmacypage: boolean = false;\r\n public enableClick: boolean;\r\n\r\n constructor(\r\n public http: Http,\r\n private ms: MedicinService,\r\n public rs: PrerequisiteService,\r\n private route: ActivatedRoute,\r\n public router: Router,\r\n private sidebarService: CommonService,\r\n private googleAnalyticsService: GoogleAnalyticsService,\r\n public SaveService: SaveService,\r\n public ApiService: ApiService\r\n ) { }\r\n ngOnInit() {\r\n this.ms\r\n .GetPopularDrug()\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n window.localStorage.setItem(\r\n \"PopularDrugList\",\r\n JSON.stringify(data)\r\n );\r\n this.PopularDrugs = data;\r\n },\r\n error => { }\r\n ),\r\n this.getPosition1().subscribe((pos: Position) => {\r\n this.coordinates = {\r\n latitude: +pos.coords.latitude,\r\n longitude: +pos.coords.longitude\r\n };\r\n window.localStorage.setItem('_LocalLat', this.coordinates.latitude);\r\n window.localStorage.setItem('_LocalLang', this.coordinates.longitude);\r\n });\r\n $(window).on(\"click\", () => {\r\n this.ShowDisplay = false;\r\n this.DisplayBindList = false;\r\n $(\".menu_main\").removeClass(\"st-effect-10\");\r\n this.hideme = [];\r\n });\r\n // ie fix\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./)) // If Internet Explorer, return version number\r\n {\r\n $('.headermenu').css({ 'padding-top': '11px' });\r\n }\r\n if (edge > 0) {\r\n }\r\n }\r\n\r\n checkLoginState() {\r\n var user_email = window.localStorage.getItem(\"UserEmail\");\r\n var group_number = window.localStorage.getItem(\"UserGroup\");\r\n var first_name = window.localStorage.getItem(\"FirstName\");\r\n var last_name = window.localStorage.getItem(\"LastName\");\r\n\r\n if (!!user_email && !!first_name && !!last_name && !!group_number) {\r\n return true\r\n } else {\r\n return false\r\n }\r\n }\r\n\r\n TypeDrug(stext: any) {\r\n this.SearchText = stext.target.value;\r\n if (this.SearchText == undefined || this.SearchText == \"\" || this.SearchText == null || this.SearchText.length < 3) {\r\n this.DisplayBindList = false;\r\n this.ShowDisplay = false;\r\n this.NoDrugsFound = false;\r\n this.SearchList = [];\r\n }\r\n else {\r\n this.SearchDrug(this.SearchText);\r\n }\r\n }\r\n SearchDrug(stext: string) {\r\n if (stext.length >= 3) {\r\n this.GetDrugList(stext);\r\n } else {\r\n this.DisplayBindList = false;\r\n this.ShowDisplay = false;\r\n this.NoDrugsFound = false;\r\n this.SearchList = [];\r\n }\r\n }\r\n CloseDrugDetails() {\r\n this.ShowDrugdetails = false;\r\n //this.ms.toggle = true;\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n GetDrugList(TypedText) {\r\n this.ms\r\n .SearchDrugList(TypedText)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if (data.length > 0) {\r\n this.NoDrugsFound = false;\r\n this.SearchList = data;\r\n }\r\n else {\r\n setTimeout(() => {\r\n $('.heading').hide();\r\n }, 50);\r\n this.NoDrugsFound = true;\r\n this.SearchList = [];\r\n }\r\n if (this.SearchList.length > 0) {\r\n this.DisplayBindList = true;\r\n this.ShowDisplay = false;\r\n $('.heading').show();\r\n } else {\r\n this.DisplayBindList = false;\r\n this.ShowDisplay = false;\r\n }\r\n if (this.NoDrugsFound == true) {\r\n\r\n this.DisplayBindList = false;\r\n this.ShowDisplay = true;\r\n this.SearchItemArray = [];\r\n this.PopularDrugs = [];\r\n this.ShowRecentSearch = true;\r\n try {\r\n if (this.SearchList.length != 0) {\r\n this.ShowRecentSearch = true;\r\n }\r\n }\r\n catch { }\r\n }\r\n },\r\n error => { }\r\n );\r\n }\r\n ShowHistory() {\r\n this.ShowDisplay = true;\r\n this.NoDrugsFound = false;\r\n this.searchtextbox_error = \"\";\r\n this.errorShowDisplay = false;\r\n $(\".searchbox_box\").parent().removeClass(\"error_msg\");\r\n let xarray: any = [];\r\n this.SearchItemArray = [];\r\n try {\r\n let iy = 0;\r\n if (window.localStorage.getItem(\"SearchItemList\") != null && window.localStorage.getItem(\"SearchItemList\").length != 0 && window.localStorage.getItem(\"SearchItemList\") != undefined) {\r\n let storageitem = JSON.parse(window.localStorage.getItem(\"SearchItemList\"));\r\n for (let ix = storageitem.length - 1; ix >= 0; ix--) {\r\n if (this.SearchItemArray.length >= 5) {\r\n break;\r\n } else {\r\n if (storageitem[ix][\"RecentSearchName\"] != \"\" && storageitem[ix][\"RecentSearchName\"] != \"\" && storageitem[ix][\"RecentSearchName\"] != undefined) {\r\n this.SearchItemArray.push({\r\n value: storageitem[ix][\"RecentSearchName\"],\r\n text: storageitem[ix][\"RecentSearchName\"]\r\n });\r\n }\r\n }\r\n }\r\n this.SerachList = [];\r\n // try{\r\n // if(this.SearchList.length != 0){\r\n // this.ShowRecentSearch=true;\r\n // }\r\n // }\r\n // catch{}\r\n for (let x3 = this.SearchItemArray.length - 1; x3 >= 0; x3--) {\r\n let TempItem = {\r\n RecentSearchName: this.SearchItemArray[x3].value\r\n };\r\n this.SerachList.push(TempItem);\r\n }\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n }\r\n if (this.SearchItemArray.length > 0) {\r\n this.ShowRecentSearch = true;\r\n } else {\r\n this.ShowRecentSearch = false;\r\n }\r\n } catch { }\r\n try {\r\n if (\r\n window.localStorage.getItem(\"PopularDrugList\") == \"\" ||\r\n window.localStorage.getItem(\"PopularDrugList\") == null ||\r\n window.localStorage.getItem(\"PopularDrugList\") == undefined\r\n ) {\r\n this.ms\r\n .GetPopularDrug()\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n window.localStorage.setItem(\r\n \"PopularDrugList\",\r\n JSON.stringify(data)\r\n );\r\n this.PopularDrugs = data;\r\n },\r\n error => { }\r\n );\r\n } else {\r\n this.PopularDrugs = JSON.parse(\r\n window.localStorage.getItem(\"PopularDrugList\")\r\n );\r\n }\r\n } catch { }\r\n $('#PS').show();\r\n this.ShowDisplay = true;\r\n if ($(window).width() <= 768) {\r\n $(\".searchbox_home\").addClass(\"mobile_searchbox_home\");\r\n } else {\r\n $(\".searchbox_home\").removeClass(\"mobile_searchbox_home\");\r\n }\r\n\r\n\r\n // ie fix\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf('Edge/');\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./) || edge > 0) // If Internet Explorer, return version number\r\n {\r\n setTimeout(() => {\r\n var contentsectionHeight = $('.ie_fixed_add_n').height();\r\n var checkscrollbar = $(document).height() - 315 > $(window).height();\r\n if (checkscrollbar == true) {\r\n $('.searchbox_home_parent').css({ 'margin-top': `-${contentsectionHeight}px`, 'transition': 'all 0.2s ease' })\r\n\r\n }\r\n }, 1000);\r\n } else {\r\n\r\n setTimeout(() => {\r\n var contentsectionHeight = $('.ie_fixed_add_n').height();\r\n var checkscrollbar = $(document).height() > $(window).height();\r\n if (checkscrollbar == true) {\r\n $('.searchbox_home_parent').css({ 'margin-top': `-${contentsectionHeight}px`, 'transition': 'all 0.2s ease' })\r\n\r\n }\r\n }, 500);\r\n }\r\n }\r\n // toggleme(){\r\n // this.ms.toggle = false;\r\n // }\r\n clearHeight() {\r\n setTimeout(() => {\r\n $('.searchbox_home_parent').css({ 'margin-top': '0', 'transition': 'all 0.2s ease' });\r\n }, 600)\r\n }\r\n removileview() {\r\n $(\".searchbox_home\").removeClass(\"mobile_searchbox_home\");\r\n }\r\n DrugSetting(_Drugname: any) {\r\n ;\r\n // if (this.checkLoginState()) {\r\n this._UserZip = $('.price_searcharea .zipbox input[type=\"tel\"]').val();\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Home Page\",\r\n \"Click Drug\",\r\n _Drugname,\r\n 0\r\n );commented by shubh*/\r\n this.searchtextbox_error = \"\";\r\n this.ZipCodeMessage = null;\r\n $(\".searchbox_box\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n this.SelectedDrug = _Drugname;\r\n this.removileview();\r\n try {\r\n if (this.rs.GetUserLoggedInStatus() == \"signupscreen\") {\r\n this.ShowDisplay = false;\r\n this.ShowDrugdetails = false;\r\n $(\".login_btn a\")[0].click();\r\n\r\n return false;\r\n } else if (this.rs.GetUserLoggedInStatus() == \"groupscreen\") {\r\n this.ShowDisplay = false;\r\n this.ShowDrugdetails = false;\r\n this.Group_Number_Box = true;\r\n return false;\r\n }\r\n\r\n if (\r\n window.localStorage.getItem(\"SearchItemList\") != null &&\r\n window.localStorage.getItem(\"SearchItemList\").length != 0 &&\r\n window.localStorage.getItem(\"SearchItemList\") != undefined\r\n ) {\r\n let RecentSearchListData = JSON.parse(\r\n window.localStorage.getItem(\"SearchItemList\")\r\n );\r\n let _RecentNameFilter = RecentSearchListData.filter(item => {\r\n return (\r\n item[\"RecentSearchName\"].toLowerCase() == _Drugname.toLowerCase()\r\n );\r\n });\r\n if (_RecentNameFilter.length == 0) {\r\n this.SerachList = [];\r\n window.localStorage.setItem(\"SearchItemList\", \"\");\r\n\r\n for (let x3 = 0; x3 < RecentSearchListData.length; x3++) {\r\n let TempItem = {\r\n RecentSearchName: RecentSearchListData[x3][\"RecentSearchName\"]\r\n };\r\n this.SerachList.push(TempItem);\r\n }\r\n let TempItem1 = {\r\n RecentSearchName: _Drugname\r\n };\r\n this.SerachList.push(TempItem1);\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n } else {\r\n this.SerachList = RecentSearchListData.filter(\r\n uname => uname[\"RecentSearchName\"] !== _Drugname\r\n );\r\n let TempItem1 = {\r\n RecentSearchName: _Drugname\r\n };\r\n this.SerachList.push(TempItem1);\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n }\r\n } else {\r\n let newItem = {\r\n RecentSearchName: _Drugname\r\n };\r\n this.SerachList = [];\r\n this.SerachList.push(newItem);\r\n window.localStorage.setItem(\r\n \"SearchItemList\",\r\n JSON.stringify(this.SerachList)\r\n );\r\n }\r\n } catch { }\r\n\r\n window.localStorage.setItem(\"SelectedDrugName\", _Drugname);\r\n this.SelectedDrug = _Drugname;\r\n this.DrugComposition();\r\n this.ShowDisplay = false;\r\n this.ShowRecentSearch = false;\r\n this.DisplayBindList = false;\r\n // }\r\n }\r\n DrugComposition() {\r\n \r\n this.loader = true;\r\n try {\r\n this.ms\r\n .GetDrugDetails(this.SelectedDrug)\r\n .pipe(map(res => res.json()))\r\n .subscribe(\r\n data => {\r\n if(data.length>0){\r\n if (\r\n data[0][\"brand\"].length == 0 &&\r\n data[0][\"generic\"].length == 0\r\n ) {\r\n $(\".searchbox_box\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n this.errorShowDisplay = true;\r\n this.searchtextbox_error = \"Invalid drug name\";\r\n return false;\r\n }\r\n window.localStorage.setItem(\r\n \"SelectedDrugConfig\",\r\n JSON.stringify(data)\r\n );\r\n this.DoseDescriptor_JSON = JSON.parse(\r\n this.rs.DrugDoseDescription()\r\n );\r\n this.DrugDoseList = [];\r\n this.optionlist = [];\r\n this.DrugTypeList = [];\r\n if (data.length > 0) {\r\n this.DrugDetailsResponseData = data;\r\n this.DrugDetails = data;\r\n this.ResponseData = data;\r\n this.ShowDetails = true;\r\n this.ShowDrugdetails = true;\r\n this.loader = false\r\n\r\n\r\n //this.ms.toggle = false;\r\n this.Enter_Zip = false;\r\n this.DrugType = data[0].dose;\r\n this.DrugDose = data[0].strength;\r\n this.DrugQuant = data[0].DisplayQuantity;\r\n this.ndccode = data[0].ndcode;\r\n window.localStorage.setItem(\"ndccode\", this.ndccode);\r\n window.localStorage.setItem(\"DrugQuant\", data[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", data[0].DisplayQuantity);\r\n $(\"body\").css(\"overflow\", \"hidden\");\r\n // this.DrugName = window.localStorage.getItem(\"SelectedDrugName\");\r\n this.DrugName = data[0].drugname;\r\n this.SelectedDrug = data[0].drugname;\r\n window.localStorage.setItem(\"SelectedDrugName\", this.DrugName);\r\n if (data[0][\"brand_name_code\"] == \"Brand\") {\r\n \r\n // this.MsourceList.push({ value:\"BRAND\", text: \"Branded\" });\r\n this.DrugCat = \"Brand\";\r\n this.BrandType = true;\r\n window.localStorage.setItem(\"IsBG\", \"BRAND\");\r\n try {\r\n this.DrugDoseList = [];\r\n this.optionlist = [];\r\n if (this.ResponseData.length > 0) {\r\n let _NameFilter = this.ResponseData[0][\"brand\"].filter(\r\n item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n for (let x of _NameFilter[0][\"types\"][0][\"strength\"]) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n let _DoseFilter = this.DoseDescriptor_JSON.filter(\r\n item => {\r\n return (\r\n item[\"Dose\"].toLowerCase() == x.dose.toLowerCase()\r\n );\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n this.optionlist.push({\r\n value: _DoseFilter[0][\"Descrption\"],\r\n text: _DoseFilter[0][\"Descrption\"]\r\n });\r\n } else {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n }\r\n\r\n // if (this.optionlist.length > 0) {\r\n // this.DrugType = this.optionlist[0].value; /////DosageForm(TABS/CAPS/SOLN ....)\r\n // }\r\n // if (this.DrugDoseList.length > 0) {\r\n // this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\"); //////// Strength & Strength Unit(10MG, 100MG/2ML .....)\r\n // }\r\n // setTimeout(() => {\r\n // $('.formm .active').click()\r\n // }, 600);\r\n\r\n this.selectedValue = this.DrugType;\r\n window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n } catch { }\r\n } else {\r\n \r\n this.DrugCat = \"Generic\";\r\n this.BrandType = false;\r\n window.localStorage.setItem(\"IsBG\", data[0][\"brand_name_code\"]);\r\n try {\r\n this.DrugDoseList = [];\r\n this.optionlist = [];\r\n if (this.ResponseData.length > 0) {\r\n\r\n let _NameFilter = this.ResponseData[0][\"generic\"].filter(\r\n item => {\r\n\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n );\r\n }\r\n );\r\n \r\n let index = _NameFilter[0].types.findIndex(x => x.dose ===this.ResponseData[0].dose);\r\n for (let x of _NameFilter[0][\"types\"][index].strength) {\r\n\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n\r\n try {\r\n\r\n\r\n this.optionlist.push({\r\n value: x.dose,\r\n text: x.dose\r\n });\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n }\r\n // if (this.optionlist.length > 0) {\r\n // this.DrugType = this.optionlist[0].value;\r\n // }\r\n // if (this.DrugDoseList.length > 0) {\r\n // this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n // }\r\n // setTimeout(() => {\r\n // $('.formm .active').click()\r\n // }, 600);\r\n\r\n this.selectedValue = this.DrugType;\r\n window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n } catch { }\r\n // if (this.DrugDoseList.length > 0) {\r\n // this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n // }\r\n // setTimeout(() => {\r\n // $('.formm .active').click()\r\n // }, 600);\r\n }\r\n try {\r\n if (this.optionlist.length <= 1) {\r\n this.DrugFormSingle = true;\r\n } else {\r\n this.DrugFormSingle = false;\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugDoseList.length <= 1) {\r\n this.DrugDoseSingle = true;\r\n } else {\r\n this.DrugDoseSingle = false;\r\n }\r\n } catch { }\r\n this.InitQuantityList();\r\n this.DrugNameType();\r\n\r\n try {\r\n if (\r\n this.DrugName == undefined ||\r\n this.DrugName == \"\" ||\r\n this.DrugQuant == undefined ||\r\n this.DrugQuant == \"\" ||\r\n this.DrugDose == undefined ||\r\n this.DrugDose == \"\" ||\r\n this.DrugType == undefined ||\r\n this.DrugType == \"\"\r\n ) {\r\n for (let xp of this.ResponseData[0][\"generic\"]) {\r\n if (xp[\"prerset\"].length > 0) {\r\n if (\r\n xp[\"prerset\"][0][\"DrugName\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n ) {\r\n this.DrugQuant = xp[\"prerset\"][0][\"Quantity\"];\r\n this.DrugDose = xp[\"prerset\"][0][\"Strength\"].replace(\r\n \" \",\r\n \"\"\r\n );\r\n this.DrugType = xp[\"prerset\"][0][\"DoseForm\"];\r\n this.DrugCat = \"Generic\";\r\n this.IsPresetFound = true;\r\n \r\n window.localStorage.setItem(\"IsPresetAvail\", \"True\");\r\n window.localStorage.setItem(\r\n \"DrugQuant\",\r\n this.DrugQuant\r\n );\r\n window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n } catch { }\r\n try {\r\n if (this.IsPresetFound == false) {\r\n window.localStorage.setItem(\"IsPresetAvail\", \"False\");\r\n for (let xp of this.ResponseData[0][\"brand\"]) {\r\n if (xp[\"prerset\"].length > 0) {\r\n if (\r\n xp[\"prerset\"][0][\"DrugName\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n ) {\r\n \r\n this.DrugQuant = xp[\"prerset\"][0][\"Quantity\"];\r\n this.DrugDose = xp[\"prerset\"][0][\"Strength\"].replace(\r\n \" \",\r\n \"\"\r\n );\r\n this.DrugType = xp[\"prerset\"][0][\"DoseForm\"];\r\n this.DrugCat = \"Brand\";\r\n this.IsPresetFound = true;\r\n window.localStorage.setItem(\"IsPresetAvail\", \"True\");\r\n \r\n window.localStorage.setItem(\r\n \"DrugQuant\",\r\n this.DrugQuant\r\n );\r\n window.localStorage.setItem(\r\n \"DrugQuant\",\r\n this.DrugQuant\r\n );\r\n window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugDoseList.length > 0) {\r\n // this.DrugDose = this.DrugDoseList[0];\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n }\r\n } catch { }\r\n\r\n if (this.optionlist.length > 1) {\r\n this.DoseFormSingle = false;\r\n } else {\r\n this.DoseFormSingle = true;\r\n }\r\n\r\n if (this.DrugDoseList.length > 1) {\r\n this.StrengthSingle = false;\r\n } else {\r\n this.StrengthSingle = true;\r\n }\r\n if (\r\n window.localStorage.getItem(\"IsBG\").toLocaleLowerCase() ==\r\n \"generic\"\r\n ) {\r\n this.Swap_Drug_With_MultiSource =\r\n this.SelectedDrug + \" (Generic Drug)\";\r\n } else {\r\n this.Swap_Drug_With_MultiSource =\r\n this.SelectedDrug + \" (Brand Drug)\";\r\n }\r\n }\r\n } else{\r\n this.loader = false\r\n this.errorPopup = true\r\n }\r\n },\r\n error => { }\r\n );\r\n } catch { }\r\n }\r\n InitQuantityList() {\r\n try {\r\n this.DrugQuantityList = [];\r\n // let _DoseFilter_1 = this.DoseDescriptor_JSON.filter(item => {\r\n // return item[\"Descrption\"].toLowerCase() == this.DrugType.toLowerCase();\r\n // });\r\n let DoseForm = this.DrugType;\r\n let APIResponse = this.ResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (this.DrugCat.toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n item => {\r\n return item[\"dose\"].toLowerCase() == DoseForm.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter(item => {\r\n return (\r\n item[\"Strength\"].toLowerCase().replace(/\\s/g, \"\") ==\r\n this.DrugDose.toLowerCase().replace(/\\s/g, \"\")\r\n );\r\n });\r\n if (_StrengthFilter.length > 0) {\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n if (xqx.Quantity != 0) {\r\n \r\n // this.DrugQuantityList.push(parseInt(xqx[\"Quantity\"]));\r\n this.DrugQuantityList.push(xqx);\r\n }\r\n }\r\n }\r\n if (this.IsPresetFound == false) {\r\n\r\n if (this.DrugQuantityList.length > 0) {\r\n \r\n this.DrugQuant = this.DrugQuantityList[0].DisplayQuantity;\r\n window.localStorage.setItem(\"ndccode\", this.DrugQuantityList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityList[0].DisplayQuantity);\r\n }\r\n if (\r\n window.localStorage.getItem(\"DrugQuant\") == \"\" ||\r\n window.localStorage.getItem(\"DrugQuant\") == null ||\r\n window.localStorage.getItem(\"DrugQuant\") == undefined\r\n ) {\r\n if (this.DrugQuantityList.length > 0) {\r\n \r\n this.DrugQuant = this.DrugQuantityList[0].DisplayQuantity;\r\n window.localStorage.setItem(\"ndccode\", this.DrugQuantityList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityList[0].DisplayQuantity);\r\n } else {\r\n this.DrugQuant = 10;\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityList[0].DisplayQuantity);\r\n }\r\n } else {\r\n this.DrugQuant = window.localStorage.getItem(\"DrugQuant\");\r\n }\r\n }\r\n }\r\n }\r\n } catch { }\r\n if (\r\n this.DrugQuant == undefined ||\r\n this.DrugQuant == \"\" ||\r\n this.DrugQuant == null ||\r\n this.DrugQuantityList.length == 0\r\n ) {\r\n this.DrugQuant = \"10\";\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n }\r\n if (this.DrugQuantityList.length == 0) {\r\n \r\n this.DrugQuantityList.push(parseInt(this.DrugQuant));\r\n }\r\n }\r\n DrugNameType() {\r\n try {\r\n this.DrugTypeList = [];\r\n for (let ik = 0; ik < this.ResponseData[0][\"generic\"].length; ik++) {\r\n try {\r\n if (\r\n this.ResponseData[0][\"generic\"][ik][\r\n \"sub_drug_name\"\r\n ].toLowerCase() == this.DrugName.toLowerCase()\r\n ) {\r\n }\r\n this.DrugTypeList.push(\r\n this.ResponseData[0][\"generic\"][ik][\"sub_drug_name\"] +\r\n \" (Generic Drug)\"\r\n );\r\n } catch { }\r\n }\r\n for (let jik = 0; jik < this.ResponseData[0][\"brand\"].length; jik++) {\r\n try {\r\n if (\r\n this.ResponseData[0][\"brand\"][jik][\"sub_drug_name\"].toLowerCase() ==\r\n this.DrugName.toLowerCase()\r\n ) {\r\n }\r\n this.DrugTypeList.push(\r\n this.ResponseData[0][\"brand\"][jik][\"sub_drug_name\"] +\r\n \" (Brand Drug)\"\r\n );\r\n } catch { }\r\n }\r\n try {\r\n let removeDuplicat = this.DrugTypeList;\r\n this.DrugTypeList = new Set(removeDuplicat);\r\n } catch { }\r\n } catch { }\r\n try {\r\n if (this.DrugTypeList.size <= 1) {\r\n this.DrugNameTypeSingle = true;\r\n } else {\r\n this.DrugNameTypeSingle = false;\r\n }\r\n } catch { }\r\n }\r\n //+++--------------------------------Drug Details Popup UI-------------------------+++//\r\n UpdateDrugParamsWithSwaping(_drugname, _sourcetype) {\r\n try {\r\n\r\n this.DrugName = _drugname;\r\n window.localStorage.setItem(\"SelectedDrugName\", this.DrugName);\r\n if (_sourcetype.toLowerCase() == \"generic\") {\r\n\r\n let FilterItem = this.ResponseData[0][\"generic\"].filter(item => {\r\n\r\n return item[\"sub_drug_name\"].toLowerCase() == _drugname.toLowerCase();\r\n });\r\n if (FilterItem.length > 0) {\r\n\r\n this.optionlist = [];\r\n for (let x of FilterItem[0][\"types\"]) {\r\n\r\n try {\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter(item => {\r\n // return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n // });\r\n\r\n //if (_DoseFilter.length > 0) {\r\n\r\n this.optionlist.push({\r\n value: x.dose,\r\n text: x.dose\r\n });\r\n // } else {\r\n // \r\n // this.optionlist.push({ value: x.dose, text: x.dose });\r\n // }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n try {\r\n if (this.optionlist.length <= 1) {\r\n this.DrugFormSingle = true;\r\n } else {\r\n this.DrugFormSingle = false;\r\n }\r\n } catch { }\r\n this.UpdateDoseByFormTypeSwaping(this.optionlist[0].value);\r\n }\r\n } else {\r\n let FilterItem = this.ResponseData[0][\"brand\"].filter(item => {\r\n return item[\"sub_drug_name\"].toLowerCase() == _drugname.toLowerCase();\r\n });\r\n if (FilterItem.length > 0) {\r\n this.optionlist = [];\r\n for (let x of FilterItem[0][\"types\"]) {\r\n try {\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter(item => {\r\n // return item[\"Dose\"].toLowerCase() == x.dose.toLowerCase();\r\n // });\r\n // if (_DoseFilter.length > 0) {\r\n this.optionlist.push({\r\n value: x.dose,\r\n text: x.dose\r\n });\r\n // } else {\r\n // this.optionlist.push({ value: x.dose, text: x.dose });\r\n // }\r\n } catch {\r\n this.optionlist.push({ value: x.dose, text: x.dose });\r\n }\r\n }\r\n this.UpdateDoseByFormTypeSwaping(this.optionlist[0].value);\r\n }\r\n }\r\n\r\n if (this.optionlist.length > 1) {\r\n this.DoseFormSingle = false;\r\n } else {\r\n this.DoseFormSingle = true;\r\n }\r\n if (this.DrugDoseList.length > 1) {\r\n this.StrengthSingle = false;\r\n } else {\r\n this.StrengthSingle = true;\r\n }\r\n this.DrugType = this.optionlist[0].value;\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n this.selectedValue = this.optionlist[0].value;\r\n // setTimeout(() => {\r\n // $('.formm .active').click()\r\n // }, 600);\r\n } catch { }\r\n }\r\n UpdateDoseByFormTypeSwaping(_doseform) {\r\n\r\n let tempdoseform = _doseform;\r\n // try {\r\n // let _DoseFilter = this.DoseDescriptor_JSON.filter(item => {\r\n // \r\n // return item[\"Descrption\"].toLowerCase() == _doseform.toLowerCase();\r\n // });\r\n // if (_DoseFilter.length > 0) {\r\n // \r\n // tempdoseform = _DoseFilter[0][\"Dose\"];\r\n // } else {\r\n // tempdoseform = _doseform;\r\n // }\r\n // } catch {\r\n // tempdoseform = _doseform;\r\n // }\r\n\r\n this.DrugType = _doseform;\r\n window.localStorage.setItem(\"DrugType\", _doseform);\r\n this.DrugDoseList = [];\r\n this.selectedValue = _doseform;\r\n try {\r\n if (this.ResponseData.length > 0) {\r\n if (this.DrugCat.toLowerCase() == \"generic\") {\r\n let _NameFilter = this.ResponseData[0][\"generic\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n let _it = -1;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n _it += 1;\r\n if (x.dose == tempdoseform) {\r\n for (let x of _NameFilter[0][\"types\"][_it][\"strength\"]) {\r\n if (this.ms.IsNullOrEmptyField(x[\"Strength\"]) == false) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n }\r\n break;\r\n }\r\n } catch { }\r\n }\r\n } else {\r\n let _NameFilter = this.ResponseData[0][\"brand\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n let _it = -1;\r\n for (let x of _NameFilter[0][\"types\"]) {\r\n try {\r\n _it += 1;\r\n if (x.dose == tempdoseform) {\r\n for (let x of _NameFilter[0][\"types\"][_it][\"strength\"]) {\r\n this.DrugDoseList.push(x[\"Strength\"]);\r\n }\r\n break;\r\n }\r\n } catch { }\r\n }\r\n }\r\n if (this.DrugDoseList.length > 0) {\r\n this.DrugDose = this.DrugDoseList[0].replace(\" \", \"\");\r\n // setTimeout(() => {\r\n // $('.formm .active').click()\r\n // }, 600);\r\n } else {\r\n this.DrugDose = \"\";\r\n }\r\n\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n window.localStorage.setItem(\"DrugType\", _doseform);\r\n this.selectedValue = _doseform;\r\n if (this.DrugDoseList.length <= 1) {\r\n this.StrengthSingle = true;\r\n } else {\r\n this.StrengthSingle = false;\r\n }\r\n }\r\n } catch { }\r\n try {\r\n if (this.DrugDoseList.length <= 1) {\r\n this.DrugDoseSingle = true;\r\n } else {\r\n this.DrugDoseSingle = false;\r\n }\r\n } catch { }\r\n this.UpdateDrugQuantityOnTopChange(_doseform);\r\n }\r\n UpdateDrugQuantityOnTopChange(_doseform) {\r\n\r\n try {\r\n this.DrugQuantityList = [];\r\n // let _DoseFilter_1 = this.DoseDescriptor_JSON.filter(item => {\r\n // return item[\"Descrption\"].toLowerCase() == this.DrugType.toLowerCase();\r\n // });\r\n let DoseForm = _doseform;\r\n let APIResponse = this.ResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (this.DrugCat.toLowerCase() == \"generic\") {\r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter(item => {\r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == this.DrugName.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n item => {\r\n return item[\"dose\"].toLowerCase() == DoseForm.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter(item => {\r\n return (\r\n item[\"Strength\"].toLowerCase().replace(/\\s/g, \"\") ==\r\n this.DrugDose.toLowerCase().replace(/\\s/g, \"\")\r\n );\r\n });\r\n if (_StrengthFilter.length > 0) {\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n if (xqx.Quantity != 0) {\r\n \r\n // this.DrugQuantityList.push(parseInt(xqx[\"Quantity\"]));\r\n this.DrugQuantityList.push(xqx);\r\n }\r\n }\r\n }\r\n this.DrugQuantityList.sort(function (a, b) {\r\n return a - b;\r\n });\r\n if (this.DrugQuantityList.length > 0) {\r\n \r\n this.DrugQuant = this.DrugQuantityList[0].DisplayQuantity;\r\n window.localStorage.setItem(\"ndccode\", this.DrugQuantityList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityList[0].DisplayQuantity);\r\n } else {\r\n this.DrugQuant = 10;\r\n }\r\n //window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n }\r\n }\r\n } catch { }\r\n }\r\n UpdateDrugQuantityOnTopChangebydose(dosee) {\r\n \r\n let selectedmedicine = this.SelectedDrug;\r\n let form = dosee;\r\n let dose = this.DrugType;\r\n try {\r\n this.DrugQuantityList = [];\r\n // let _DoseFilter_1 = this.DoseDescriptor_JSON.filter(item => {\r\n // return item[\"Descrption\"].toLowerCase() == this.DrugType.toLowerCase();\r\n // });\r\n // let DoseForm = _doseform;\r\n let APIResponse = this.ResponseData;\r\n this._NameFilterForQuantity = [];\r\n if (window.localStorage.getItem('IsBG').toLowerCase() == \"generic\") {\r\n \r\n this._NameFilterForQuantity = APIResponse[0][\"generic\"].filter(item => {\r\n \r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == selectedmedicine.toLowerCase()\r\n );\r\n });\r\n } else {\r\n this._NameFilterForQuantity = APIResponse[0][\"brand\"].filter(item => {\r\n \r\n return (\r\n item[\"sub_drug_name\"].toLowerCase() == selectedmedicine.toLowerCase()\r\n );\r\n });\r\n }\r\n if (this._NameFilterForQuantity.length > 0) {\r\n let _DoseFilter = this._NameFilterForQuantity[0][\"types\"].filter(\r\n item => {\r\n \r\n return item[\"dose\"].toLowerCase() == dose.toLowerCase();\r\n }\r\n );\r\n if (_DoseFilter.length > 0) {\r\n let _StrengthFilter = _DoseFilter[0][\"strength\"].filter(item => {\r\n \r\n return (\r\n item[\"Strength\"].toLowerCase().replace(/\\s/g, \"\") ==\r\n form.toLowerCase().replace(/\\s/g, \"\")\r\n );\r\n });\r\n if (_StrengthFilter.length > 0) {\r\n for (let xqx of _StrengthFilter[0][\"Quantity\"]) {\r\n \r\n if (xqx.Quantity != 0) {\r\n \r\n // this.DrugQuantityList.push(parseInt(xqx[\"Quantity\"]));\r\n this.DrugQuantityList.push(xqx);\r\n }\r\n }\r\n }\r\n this.DrugQuantityList.sort(function (a, b) {\r\n return a - b;\r\n });\r\n if (this.DrugQuantityList.length > 0) {\r\n \r\n this.DrugQuant = this.DrugQuantityList[0].DisplayQuantity;\r\n window.localStorage.setItem(\"ndccode\", this.DrugQuantityList[0].NDCCode);\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuantityList[0].Quantity);\r\n window.localStorage.setItem(\"displayquantity\", this.DrugQuantityList[0].DisplayQuantity);\r\n } else {\r\n this.DrugQuant = 10;\r\n }\r\n //window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n }\r\n }\r\n } catch { }\r\n }\r\n DrugQuantityValidate(e: any) {\r\n this.Quantity_error = \"\";\r\n $(\"#Quantity_Manual\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n var keyCode = e.which ? e.which : e.keyCode;\r\n if (keyCode != 8 && keyCode != 0 && (keyCode < 48 || keyCode > 57)) {\r\n return false;\r\n }\r\n }\r\n // SubmitQuantity() {\r\n // if (\r\n // this.Quantity_Manual == null ||\r\n // this.Quantity_Manual == \"\" ||\r\n // this.Quantity_Manual == undefined\r\n // ) {\r\n // this.Quantity_error = \"Please enter a quantity\";\r\n // $(\"#Quantity_Manual\")\r\n // .parent()\r\n // .addClass(\"error_msg\");\r\n // return false;\r\n // } else {\r\n // this.googleAnalyticsService.eventEmitter(\r\n // \"Drug Quantity Pop Up\",\r\n // \"Drug Quantity\",\r\n // this.DrugQuant + \"<-->\" + this.Quantity_Manual,\r\n // 0\r\n // );\r\n // this.ManualQuantity_box = false;\r\n // this.DrugQuant = this.Quantity_Manual;\r\n // window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n // }\r\n // }\r\n Redirect_LoadPharmacy() {\r\n this.zipCodeLenth();\r\n let getLenth = this._UserZip.length;\r\n if (getLenth < 5) {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n return false;\r\n }\r\n $(\".homepage, html\").removeAttr('style');\r\n this.Enter_Zip = false;\r\n if (this.ms.IsNullOrEmptyField(this._UserZip) == true) {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n } else {\r\n this.GetLatLongByZipCode(this._UserZip);\r\n this.CloseDrugDetails()\r\n $(\"body\").removeAttr(\"style\");\r\n }\r\n }\r\n ClearErrorMessage() {\r\n this.ZipCodeMessage = \"\";\r\n $(\".PharmacyNear\").removeClass(\"error_msg\");\r\n }\r\n\r\n GetLatLongByZipCode(ZipCode: string) {\r\n let _Zip = \"\";\r\n if (String(ZipCode).length == 4) {\r\n _Zip = \"0\" + String(ZipCode);\r\n }\r\n else {\r\n _Zip = String(ZipCode);\r\n }\r\n this.ms\r\n .GetCoordinatebyzip(_Zip)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n try {\r\n if (data.results.length > 0) {\r\n this._CurrLocation = data.results[0][\"formatted_address\"];\r\n window.localStorage.setItem(\r\n \"UserLat\",\r\n data.results[0].geometry.location.lat\r\n );\r\n window.localStorage.setItem(\r\n \"UserLong\",\r\n data.results[0].geometry.location.lng\r\n );\r\n window.localStorage.setItem(\"userZipCode\", _Zip);\r\n window.localStorage.setItem(\r\n \"UserCurrentAddress\",\r\n this._CurrLocation\r\n );\r\n window.localStorage.setItem(\"DrugQuant\", this.DrugQuant);\r\n let Pharmacy_Request_Params = window.localStorage.getItem(\"SelectedDrugName\") + \"|\" + window.localStorage.getItem(\"DrugType\") + \"|\" + window.localStorage.getItem(\"DrugDose\") + \"|\" + window.localStorage.getItem(\"DrugQuant\") + \"|\" + window.localStorage.getItem(\"IsBG\") + \"|\" + window.localStorage.getItem(\"userZipCode\");\r\n //this.googleAnalyticsService.eventEmitter(\"Drug Details Pop Up\", \"Click to Load Pharmacy\", Pharmacy_Request_Params, 0);commented by shubh\r\n this.router.navigate([\"/Pharmacy\"]);\r\n } else {\r\n _Zip = String(ZipCode);\r\n this._UserZip = _Zip;\r\n this._CurrLocation = this._UserZip;\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n }\r\n } catch { }\r\n });\r\n }\r\n zipCodeLenth() {\r\n let zipLen = $(\"#getzipcode\").val();\r\n if (zipLen == '') {\r\n this.ZipCodeMessage = \"Please enter valid zipcode\";\r\n $(\".PharmacyNear\").addClass(\"error_msg\");\r\n }\r\n }\r\n // ie fix issue\r\n setHeight(val) {\r\n var outHeight = $(\"body\").outerHeight();\r\n var hHome = $(\".homepage\").outerHeight();\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n var edge = ua.indexOf(\"Edge/\");\r\n if (val == \"focusin\") {\r\n if (hHome <= 749) {\r\n //$(\".homepage\").css({'height':`${outHeight}px`});\r\n }\r\n } else {\r\n $(\".homepage, html, body\").removeAttr(\"style\");\r\n }\r\n if (\r\n msie > 0 ||\r\n !!navigator.userAgent.match(/Trident.*rv\\:11\\./) ||\r\n edge > 0\r\n ) {\r\n // If Internet Explorer, return version number\r\n $(\"html\").css({ \"overflow-y\": \"hidden\" });\r\n if (val == \"focusin\") {\r\n var outHeight = $(\"body\").outerHeight();\r\n var hHome = $(\".homepage\").outerHeight();\r\n if (hHome <= 749) {\r\n $(\".homepage\").css({\r\n height: `${outHeight}px`,\r\n \"overflow-y\": \"hidden\"\r\n });\r\n setTimeout(() => {\r\n $(\".serachlist\").css({\r\n \"max-height\": \"205px\",\r\n \"min-height\": \"205px\"\r\n });\r\n }, 500);\r\n }\r\n } else if (val == \"focusout\") {\r\n $(\"html\").css({ \"overflow-y\": \"hidden\" });\r\n } else {\r\n $(\".homepage, html, body, .serachlist\").removeAttr(\"style\");\r\n }\r\n }\r\n }\r\n ZipCodeValidate(event): boolean {\r\n const charCode = event.which ? event.which : event.keyCode;\r\n if (charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n return false;\r\n }\r\n $(\"#pick_location\").prop(\"checked\", false);\r\n return true;\r\n }\r\n\r\n zipCodeLenthInit() {\r\n let zipLen = new String($(\"#getzipcode\").val()).length;\r\n if (zipLen < 5) {\r\n $(\"#pick_location\").prop(\"checked\", false);\r\n }\r\n }\r\n addActive_select(event, number, selected_value, ndc) {\r\n $(event.target)\r\n .parent()\r\n .find(\"li\")\r\n .removeClass(\"active\");\r\n event.target.classList.add(\"active\");\r\n this.hideme[number] = false;\r\n if (number == 0) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Drug Details Pop Up\",\r\n \"Swap Drug Name\",\r\n this.SelectedDrug + \"<-->\" + selected_value,\r\n 0\r\n );commented by shubh*/\r\n this.SelectedDrug = selected_value\r\n .replace(\" (Generic Drug)\", \"\")\r\n .replace(\" (Brand Drug)\", \"\")\r\n .trim();\r\n window.localStorage.setItem(\"SelectedDrugName\", this.SelectedDrug);\r\n if (selected_value.indexOf(\"Generic Drug\") > -1) {\r\n this.DrugCat = \"Generic\";\r\n window.localStorage.setItem(\"IsBG\", this.DrugCat);\r\n } else {\r\n this.DrugCat = \"Brand\";\r\n window.localStorage.setItem(\"IsBG\", this.DrugCat);\r\n }\r\n this.UpdateDrugParamsWithSwaping(this.SelectedDrug, this.DrugCat);\r\n } else if (number == 1) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Drug Details Pop Up\",\r\n \"Swap Drug Form\",\r\n this.DrugType + \"<-->\" + selected_value,\r\n 0\r\n );commented by shubh*/\r\n this.DrugType = selected_value;\r\n window.localStorage.setItem(\"DrugType\", this.DrugType);\r\n this.UpdateDoseByFormTypeSwaping(this.DrugType);\r\n } else if (number == 2) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Drug Details Pop Up\",\r\n \"Swap Drug Dosage\",\r\n this.DrugDose + \"<-->\" + selected_value,\r\n 0\r\n );commented by shubh*/\r\n this.DrugDose = selected_value;\r\n window.localStorage.setItem(\"DrugDose\", this.DrugDose);\r\n this.UpdateDrugQuantityOnTopChangebydose(selected_value)\r\n } else if (number == 3) {\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Drug Details Pop Up\",\r\n \"Swap Drug Quantity\",\r\n this.DrugQuant + \"<-->\" + selected_value,\r\n 0\r\n );commented by shubh*/\r\n this.DrugQuant = selected_value.DisplayQuantity;\r\n window.localStorage.setItem(\"DrugQuant\", selected_value.Quantity);\r\n window.localStorage.setItem(\"ndccode\", ndc); \r\n window.localStorage.setItem(\"displayquantity\", selected_value.DisplayQuantity); \r\n } else if (number == -3) {\r\n this.Quantity_Manual = null;\r\n this.ManualQuantity_box = true;\r\n }\r\n }\r\n GetAutoLocation(e) {\r\n var AutoLocate = e.target.checked;\r\n if (AutoLocate == true) {\r\n try {\r\n this.ZipCodeMessage = \"\";\r\n $(\".PharmacyNear\").removeClass(\"error_msg\");\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Click for Auto Location\",\r\n \"User Current Co-Ordinate\",\r\n window.localStorage.getItem(\"_LocalLat\") +\r\n \",\" +\r\n window.localStorage.getItem(\"_LocalLang\"),\r\n 0\r\n );commented by shubh*/\r\n window.localStorage.setItem(\r\n \"UserLat\",\r\n window.localStorage.getItem(\"_LocalLat\")\r\n );\r\n window.localStorage.setItem(\r\n \"UserLong\",\r\n window.localStorage.getItem(\"_LocalLang\")\r\n );\r\n this.GetLatLongByCo_ordinate(\r\n window.localStorage.getItem(\"_LocalLat\"),\r\n window.localStorage.getItem(\"_LocalLang\")\r\n );\r\n } catch { }\r\n } else {\r\n this._UserZip = \"\";\r\n this.IsAutoLocation = \"Not Found\";\r\n this._CurrLocation = \"\";\r\n window.localStorage.setItem(\"UserLat\", \"\");\r\n window.localStorage.setItem(\"UserLong\", \"\");\r\n window.localStorage.setItem(\"userZipCode\", \"\");\r\n }\r\n }\r\n GetLatLongByCo_ordinate(lat: string, long: string) {\r\n if (lat == \"\" || lat == undefined || lat == null) {\r\n return false;\r\n }\r\n this.ms\r\n .GetLocationByLatLongWithSensor(lat, long)\r\n .pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n try {\r\n for (let ix of data.results) {\r\n if (ix[\"types\"][0] == \"street_address\") {\r\n let tempaddress = \"\";\r\n for (\r\n let ad = 1;\r\n ad < ix[\"formatted_address\"].split(\",\").length;\r\n ad++\r\n ) {\r\n if (\r\n tempaddress == \"\" ||\r\n tempaddress == null ||\r\n tempaddress == undefined\r\n ) {\r\n tempaddress = ix[\"formatted_address\"].split(\",\")[ad];\r\n } else {\r\n tempaddress =\r\n tempaddress + \",\" + ix[\"formatted_address\"].split(\",\")[ad];\r\n }\r\n }\r\n this._CurrLocation = tempaddress; //ix[\"formatted_address\"];\r\n window.localStorage.setItem(\r\n \"UserCurrentAddress\",\r\n this._CurrLocation\r\n );\r\n break;\r\n }\r\n }\r\n try {\r\n if (data.results.length > 0) {\r\n for (let ix of data.results[0][\"address_components\"]) {\r\n if (ix[\"types\"] == \"postal_code\") {\r\n window.localStorage.setItem(\"userZipCode\", ix[\"long_name\"]);\r\n this._UserZip = ix[\"long_name\"];\r\n this.IsAutoLocation = \"Found\";\r\n break;\r\n }\r\n }\r\n }\r\n } catch { }\r\n } catch { }\r\n });\r\n // if(window.localStorage.getItem(\"userZipCode\")!=\"\"&&window.localStorage.getItem(\"userZipCode\")!=null&&window.localStorage.getItem(\"userZipCode\")!=undefined)\r\n // {\r\n // this.router.navigate(['/Pharmacy']);\r\n // }\r\n }\r\n public getPosition1(): Observable {\r\n return Observable.create(observer => {\r\n navigator.geolocation.watchPosition((pos: Position) => {\r\n observer.next(pos);\r\n }),\r\n () => {\r\n console.log(\"Position is not available\");\r\n },\r\n {\r\n enableHighAccuracy: true\r\n };\r\n });\r\n }\r\n removeforgot(event) {\r\n this.ManualQuantity_box = false;\r\n }\r\n ClickDrug() {\r\n this.ZipCodeMessage = null;\r\n if (this.rs.GetUserLoggedInStatus() == \"signupscreen\") {\r\n this.ShowDisplay = false;\r\n this.ShowDrugdetails = false;\r\n $(\"body\").removeAttr(\"style\");\r\n $(\".login_btn a\")[0].click();\r\n return false;\r\n } else if (this.rs.GetUserLoggedInStatus() == \"groupscreen\") {\r\n this.ShowDisplay = false;\r\n this.ShowDrugdetails = false;\r\n this.Group_Number_Box = true;\r\n return false;\r\n } else {\r\n if (this.ms.IsNullOrEmptyField(this.SelectedDrug) == true) {\r\n this.errorShowDisplay = true;\r\n this.searchtextbox_error = \"Type or search any drug\";\r\n $(\".searchbox_box\")\r\n .parent()\r\n .removeClass(\"error_msg\")\r\n .addClass(\"error_msg\");\r\n } else {\r\n this.errorShowDisplay = false;\r\n this.searchtextbox_error = \"\";\r\n $(\".searchbox_box\")\r\n .parent()\r\n .removeClass(\"error_msg\");\r\n /*this.googleAnalyticsService.eventEmitter(\r\n \"Home Page\",\r\n \"Click on Find Lowet Pharmacy Button\",\r\n this.SelectedDrug,\r\n 0\r\n );commented by shubh*/\r\n this.DrugSetting(this.SelectedDrug);\r\n }\r\n }\r\n }\r\n\r\n getCardHide() {\r\n // this.daffiliate = false;\r\n $(\"#daffiliate\").hide();\r\n }\r\n getCardShow() {\r\n // this.daffiliate = false;\r\n $(\"#daffiliate\").show();\r\n $(\"html\").removeAttr(\"style\");\r\n }\r\n errorPopupToggle(){\r\n this.errorPopup = !this.errorPopup\r\n }\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { Http, Response, Headers, RequestOptions, URLSearchParams } from \"@angular/http\";\r\nimport { HttpClient, HttpHeaders } from \"@angular/common/http\";\r\nimport { analyzeAndValidateNgModules, Type } from \"@angular/compiler\";\r\nimport { map } from \"rxjs/operators\";\r\nimport * as $ from \"jquery\";\r\n\r\n@Injectable({\r\n providedIn: \"root\"\r\n})\r\nexport class ApiService {\r\n BaseURL: string = \"https://rxhacker.23byt.es/api/v2/\";\r\n BaseURL1: string = \"https://rxhacker.23byt.es/api/v3/\";\r\n\r\n /* newsletter email save to google sheet functionality */\r\n googleSheetApi =\r\n \"https://script.google.com/macros/s/AKfycbzZKapInrPeLM9DG8JSChDkO7L3UdBQQwwOunrauCnQGBt67PFB/exec\";\r\n\r\n\r\n // SendGrid Implementation\r\n verifyEmail(email, fname, lname, groupnumber?, deeplink?) {\r\n const headers = new Headers();\r\n headers.append(\"authorization\", \"Bearer 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\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = { \"list_ids\": [\"508dfc01-28a3-4aae-a6ec-5b8bda699478\"], \"contacts\": [{ \"alternate_emails\": [], \"email\": email, \"first_name\": fname, \"last_name\": lname, \"custom_fields\": { \"w5_T\": groupnumber, \"w4_T\": deeplink } }] }\r\n // const body = new URLSearchParams();\r\n // body.set(\"filters[email]\", email);\r\n // body.set(\"list_ids\", \"a3950689-86d9-4513-bcb8-964b177042e0\");\r\n return this.http.put(\r\n \"https://api.sendgrid.com/v3/marketing/contacts\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n addtocontact(email, fname, lname, groupnumber?, deeplink?) {\r\n const headers = new Headers();\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"fname\":fname,\"lname\":lname,\"email\":email,\"groupnumber\":groupnumber,\"deeplink\":deeplink,\"memberid\":window.localStorage.getItem('UserCharId')}\r\n // const body = new URLSearchParams();\r\n // body.set(\"filters[email]\", email);\r\n // body.set(\"list_ids\", \"a3950689-86d9-4513-bcb8-964b177042e0\");\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+this.BaseURL1+\"subscribe\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n addToMailingList(email, fname, lname, groupnumber?, deeplink?) {\r\n const headers = new Headers();\r\n headers.append(\"authorization\", \"Bearer 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\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n\r\n let no_deeplink = {\r\n \"first_name\": fname,\r\n \"last_name\": lname,\r\n \"w4_T\": null,\r\n \"w5_T\": groupnumber,\r\n \"playstore\": 'https://play.google.com/store/apps/details?id=com.firebase.rxhacker&hl=en_IN',\r\n \"appstore\": 'https://apps.apple.com/us/app/rxhacker/id1450904899',\r\n \"member_id\": '100-4542'\r\n }\r\n\r\n let has_deeplink = {\r\n \"first_name\": fname,\r\n \"last_name\": lname,\r\n \"w4_T\": deeplink,\r\n \"w5_T\": groupnumber,\r\n \"member_id\": '100-4542'\r\n }\r\n let body = {\r\n \"personalizations\": [\r\n {\r\n \"to\": [\r\n {\r\n \"email\": email,\r\n \"name\": fname\r\n }\r\n ],\r\n \"dynamic_template_data\": !!deeplink ? has_deeplink : no_deeplink\r\n }\r\n ],\r\n \"from\": {\r\n \"email\": \"info@nulifespanrx.com\",\r\n \"name\": \"NuLifeSpan Rx\"\r\n },\r\n \"template_id\": \"d-67cfb18c2bca4140ba2e6a10a7536bb8\"\r\n }\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://api.sendgrid.com/v3/mail/send\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n // SaveDeeplink(email, fname, lname, groupnumber?, deeplink?) {\r\n // console.log(\"running SaveDeeplink\");\r\n\r\n // let headers = new Headers();\r\n // headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n // return this.http.post(this.BaseURL2 + 'savedl', 'Fname=' + fname + '&Lname=' + lname + '&Email=' + email + '&Gn=' + groupnumber + '&DeepLink=' + deeplink + '&UserAgent=WebApp',\r\n // { headers: headers });\r\n // }\r\n senddownloadlink(email) {\r\n const headers = new Headers();\r\n let dl = window.localStorage.getItem(\"DeepLinkURL\");\r\n headers.append(\"authorization\", \"Bearer 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\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\r\n \"personalizations\": [\r\n {\r\n \"to\": [\r\n {\r\n \"email\": email,\r\n \"name\": \"\"\r\n }\r\n ],\r\n dynamic_template_data: {\r\n link: !!dl ? dl : \"https://bit.ly/RxHacker\"\r\n }\r\n }\r\n ],\r\n \"from\": {\r\n \"email\": \"info@nulifespanrx.com\",\r\n \"name\": \"NuLifeSpan Rx\"\r\n },\r\n \"template_id\": \"d-aebc0ed5f61149e894a0d2f38573fa4f\"\r\n }\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://api.sendgrid.com/v3/mail/send\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n senddownloadlinkToEmail(email) {\r\n const headers = new Headers();\r\n let dl = window.localStorage.getItem(\"DeepLinkURL\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"name\":\"\",\"email\":email,\"message\":\"\"}\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+this.BaseURL1+\"downloadlink\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n SaveDeeplink(email, fname, lname, groupnumber, deeplink) {\r\n console.log(\"running SaveDeeplink\");\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL + 'savedl', 'Fname=' + fname + '&Lname=' + lname + '&Email=' + email + '&Gn=' + groupnumber + '&DeepLink=' + deeplink + '&UserAgent=Web',\r\n { headers: headers });\r\n }\r\n getpharmacycarousel(zipcode) {\r\n // console.log(\"running SaveDeeplink\");\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL1 + 'carouselpharmacies', 'ZipCode=' + zipcode,\r\n { headers: headers });\r\n }\r\n googlegeneric(bin, pcn, group, memberid) {\r\n const headers = new Headers();\r\n let dl = window.localStorage.getItem(\"DeepLinkURL\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"bin\":bin, \"pcn\":pcn, \"group\":group, \"memberid\":memberid, \"appname\":\"NuLifeSpan Rx\"}\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://passes.23byt.es/api/v1/pass/google_generic_pass\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n applegeneric(bin, pcn, group, memberid) {\r\n const headers = new Headers();\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"bin\":bin, \"pcn\":pcn, \"group\":group, \"memberid\":memberid, \"appname\":\"NuLifeSpan Rx\"}\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://passes.23byt.es/api/v1/pass/apple_generic_pass\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n GetPhoneNoValidate(PhoneNumber) {\r\n let baseurlbackoffice = location.host == 'nulifespanrx.com' || location.host == 'www.nulifespanrx.com/' ? 'https://backoffice.nulifespanrx.com' : 'https://dev-backoffice.nulifespanrx.com'\r\n const headers = new Headers();\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"PhoneNumber\":PhoneNumber}\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+baseurlbackoffice+\"/api/Account/GetPhoneNoValidate\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n checkavailability(Phone, Email, UserName, IsUserName) {\r\n let baseurlbackoffice = location.host == 'nulifespanrx.com' || location.host == 'www.nulifespanrx.com/' ? 'https://backoffice.nulifespanrx.com' : 'https://dev-backoffice.nulifespanrx.com'\r\n const headers = new Headers();\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"Phone\":Phone, \"Email\":Email, \"UserName\":UserName, \"IsUserName\":IsUserName}\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+baseurlbackoffice+\"/api/Account/checkavailability\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n createuser(Fname, Lname, Phone, Email, UserName, Password, SignupLink) {\r\n let baseurlbackoffice = location.host == 'nulifespanrx.com' || location.host == 'www.nulifespanrx.com/' ? 'https://backoffice.nulifespanrx.com' : 'https://dev-backoffice.nulifespanrx.com'\r\n const headers = new Headers();\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"Fname\":Fname, \"Lname\":Lname, \"Phone\":Phone, \"Email\":Email, \"UserName\":UserName, \"Password\":Password, \"SignupLink\":SignupLink, \"ObjectUid\":\"\", \"UserType\":\"consumer\", \"Url\":\"https://nulifespanrx.com\"}\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+baseurlbackoffice+\"/api/Consumer/CreateAccount_consumer\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n SendChromeemail(link, email) {\r\n let baseurlbackoffice = location.host == 'nulifespanrx.com' || location.host == 'www.nulifespanrx.com/' ? 'https://backoffice.nulifespanrx.com' : 'https://dev-backoffice.nulifespanrx.com'\r\n const headers = new Headers();\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = { \"Apple_passlink\":link, \"Email\":email}\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+baseurlbackoffice+\"/api/Consumer/Iphone_Chrome_Email\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n checkusername(username) {\r\n let baseurlbackoffice = location.host == 'nulifespanrx.com' || location.host == 'www.nulifespanrx.com/' ? 'https://backoffice.nulifespanrx.com' : 'https://dev-backoffice.nulifespanrx.com'\r\n const headers = new Headers();\r\n let dl = window.localStorage.getItem(\"DeepLinkURL\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n let body = {\"username\":username}\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+baseurlbackoffice+\"/api/Account/GetUserNameFilter\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n googleSheetData() {\r\n var googleSheetForm = $(\"#submit-to-google-sheet\");\r\n var jqxhr = $.ajax({\r\n url: this.googleSheetApi,\r\n method: \"GET\",\r\n dataType: \"json\",\r\n data: googleSheetForm.serialize()\r\n });\r\n }\r\n\r\n constructor(public http1: HttpClient, public http: Http) { }\r\n\r\n SearchDrugList(searchtext) {\r\n var Encode_DrugName = encodeURIComponent(searchtext);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL + \"searchdrug\",\r\n \"stext=\" + Encode_DrugName,\r\n {\r\n headers: headers\r\n }\r\n );\r\n }\r\n GetPopularDrug() {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL + \"populardrug\", \"DrugName=\" + \"test\", {\r\n headers: headers\r\n });\r\n }\r\n GetDrugDetails(DrugName) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL + \"drugcomponents\",\r\n \"DrugName=\" + Encode_DrugName,\r\n { headers: headers }\r\n );\r\n }\r\n addActiveContact(email, first_name, last_name, tags) {\r\n const headers = new Headers();\r\n headers.append(\"Accept\", \"*/*\");\r\n headers.append(\"Content-Type\", \"application/x-www-form-urlencoded\");\r\n headers.append(\"No-Auth\", \"True\");\r\n const body = new URLSearchParams();\r\n body.set(\"email\", email);\r\n body.set(\"first_name\", first_name);\r\n body.set(\"last_name\", last_name);\r\n body.set(\"tags\", tags);\r\n // headers.append(\r\n // \"Content-Type\",\r\n // \"application/x-www-form-urlencoded; charset=utf-8\"\r\n // );\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://valpaksi.api-us1.com/admin/api.php?api_action=contact_add&api_key=84747226ebba49bee437d9460570432594890916bcd02276a010033c5589579274b27e15&api_output=json\",\r\n body.toString(),\r\n { headers: headers }\r\n );\r\n }\r\n sendEmail(email, name, Message) {\r\n const headers = new Headers();\r\n headers.append(\"Accept\", \"*/*\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n headers.append(\r\n \"Authorization\",\r\n \"Bearer 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\"\r\n );\r\n let body = {\r\n from: {\r\n email: email,\r\n name: name\r\n },\r\n personalizations: [\r\n {\r\n to: [\r\n {\r\n email: \"info@nulifespanrx.com\"\r\n // email: \"manoj@23byt.es\"\r\n }\r\n ],\r\n dynamic_template_data: {\r\n name: name,\r\n email: email,\r\n message: Message\r\n }\r\n }\r\n ],\r\n template_id: \"d-fa1aa59d6ce94e03851509cc8b0510bf\"\r\n };\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://api.sendgrid.com/v3/mail/send\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n sendEmailContact(email, name, Message) {\r\n const headers = new Headers();\r\n headers.append(\"Accept\", \"*/*\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n \r\n let body = {\r\n \"name\":name,\"email\":email,\"message\":Message\r\n };\r\n return this.http.post(\r\n \"https://cors.23byt.es/\"+ this.BaseURL1+\"contact\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n sendEmailUser(email, name, Message) {\r\n \r\n const headers = new Headers();\r\n headers.append(\"Accept\", \"*/*\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n headers.append(\r\n \"Authorization\",\r\n \"Bearer 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\"\r\n );\r\n let body = {\r\n from: {\r\n email: email,\r\n name: name\r\n },\r\n personalizations: [\r\n {\r\n to: [\r\n {\r\n email: email\r\n }\r\n ],\r\n dynamic_template_data: {\r\n name: name,\r\n email: email,\r\n message: Message\r\n }\r\n }\r\n ],\r\n template_id: \"d-fa1aa59d6ce94e03851509cc8b0510bf\"\r\n };\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://api.sendgrid.com/v3/mail/send\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n sendHelp(email, name, Message) {\r\n const headers = new Headers();\r\n headers.append(\"Accept\", \"*/*\");\r\n headers.append(\"Content-Type\", \"application/json\");\r\n headers.append(\r\n \"Authorization\",\r\n // \"Bearer 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\"\r\n \"Bearer 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\"\r\n );\r\n let body = {\r\n from: {\r\n email: email,\r\n name: name\r\n },\r\n personalizations: [\r\n {\r\n to: [\r\n {\r\n email: \"info@nulifespanrx.com\"\r\n // email: \"narayan@23byt.es\"\r\n // email: \"abhay@23byt.es\"\r\n }\r\n ],\r\n dynamic_template_data: {\r\n receipt: true,\r\n name: name,\r\n email: email,\r\n Message: Message\r\n }\r\n }\r\n ],\r\n template_id: \"d-67cfb18c2bca4140ba2e6a10a7536bb8\"\r\n };\r\n // body.set(\"email\", email);\r\n // body.set(\"first_name\", first_name);\r\n // body.set(\"last_name\", last_name);\r\n // body.set(\"tags\", tags);\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://api.sendgrid.com/v3/mail/send\",\r\n body,\r\n { headers: headers }\r\n );\r\n }\r\n sendSms(mobileno, deeplink?) {\r\n let dl = window.localStorage.getItem(\"DeepLinkURL\");\r\n var output = mobileno.replace(/\\W+/g, \"\");\r\n output = \"+1\" + output;\r\n const headers = new Headers();\r\n headers.append(\"Accept\", \"*/*\");\r\n headers.append(\"Content-Type\", \"application/x-www-form-urlencoded\");\r\n headers.append(\r\n \"Authorization\",\r\n \"Basic \" +\r\n btoa(\r\n \"ACb8d8e490b15e18cdc6de483385f77234: 87c58ab499c23c69a4fd4e230d898187\"\r\n )\r\n );\r\n const body = new URLSearchParams();\r\n body.set(\"To\", output);\r\n body.set(\r\n \"Body\",\r\n \"Please use the link below to download NuLifeSpan Rx and start saving now! \\n \\n \" + (!!dl ? dl : \"https://bit.ly/RxHacker\")\r\n );\r\n body.set(\"From\", \"(469) 804-5822\");\r\n // headers.append(\r\n // \"Content-Type\",\r\n // \"application/x-www-form-urlencoded; charset=utf-8\"\r\n // );\r\n return this.http.post(\r\n \"https://cors.23byt.es/https://api.twilio.com/2010-04-01/Accounts/ACb8d8e490b15e18cdc6de483385f77234/Messages.json\",\r\n body.toString(),\r\n { headers: headers }\r\n );\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Subject } from \"rxjs/Subject\";\r\n\r\n@Injectable({\r\n providedIn: \"root\"\r\n})\r\nexport class CommonService {\r\n isSidebarVisible: boolean;\r\n apptoHome: boolean;\r\n pharmacy_page: boolean;\r\n\r\n sidebarVisibilityChange: Subject = new Subject();\r\n apptohome: Subject = new Subject();\r\n pharmacytoapp: Subject = new Subject();\r\n\r\n constructor() {\r\n this.sidebarVisibilityChange.subscribe(value => {\r\n this.isSidebarVisible = value;\r\n });\r\n this.apptohome.subscribe(value => {\r\n this.apptoHome = value;\r\n });\r\n this.apptohome.subscribe(value => {\r\n this.pharmacy_page = value;\r\n });\r\n }\r\n toggleSidebarVisibility() {\r\n this.sidebarVisibilityChange.next(!this.isSidebarVisible);\r\n }\r\n toggleapptohome() {\r\n this.apptohome.next(!this.apptoHome);\r\n }\r\n togglepharmacy() {\r\n this.pharmacytoapp.next(!this.pharmacy_page);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\ndeclare let ga: Function; // Declare ga as a function\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GoogleAnalyticsService {\r\n\r\n constructor() { }\r\n public eventEmitter(eventCategory: string, eventAction: string, eventLabel: string = null, eventValue: number = null) {\r\n ga('send', 'event', {\r\n eventCategory: eventCategory, eventLabel: eventLabel, eventAction: eventAction, eventValue: eventValue\r\n });\r\n\r\n }\r\n}\r\n","export * from './medicin.service';\r\n","import { Injectable, EventEmitter, Output } from '@angular/core';\r\nimport { Http, Response, Headers, RequestOptions } from \"@angular/http\";\r\nimport { HttpClient, HttpHeaders } from \"@angular/common/http\";\r\nimport { analyzeAndValidateNgModules, Type } from \"@angular/compiler\";\r\nimport { Observable, Subject } from \"rxjs\";\r\nimport { map } from \"rxjs/operators\";\r\nimport {\r\n prepareSyntheticListenerFunctionName,\r\n prepareSyntheticListenerName\r\n} from \"@angular/compiler/src/render3/util\";\r\n\r\n@Injectable({\r\n providedIn: \"root\"\r\n})\r\nexport class MedicinService {\r\n private subject = new Subject();\r\n APIResponse: any;\r\n BaseURL1: string = \"https://rxhacker.23byt.es/api/v1/\";\r\n BaseURL2: string = \"https://rxhacker.23byt.es/api/v2/\";\r\n BaseURL3: string = \"https://rxhacker.23byt.es/api/v3/\";\r\n GeoBaseURL: string = \"https://maps.googleapis.com/maps/api/geocode/json?\";\r\n GeoAPIKey = \"AIzaSyAuNL17CjdSdiDc3fQ46T6Sy2oB2UPuLB0\";\r\n DistanceBaseURL =\r\n \"https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&\";\r\n DistanceAPIKey = \"AIzaSyAuNL17CjdSdiDc3fQ46T6Sy2oB2UPuLB0\";\r\n\r\n // https://maps.googleapis.com/maps/api/js?key=AIzaSyAuNL17CjdSdiDc3fQ46T6Sy2oB2UPuLB0\r\n\r\n showloginbox = false;\r\n signup_fields = false;\r\n signin_fields = false;\r\n\r\n constructor(public http1: HttpClient, public http: Http) { }\r\n\r\n // Domain affiliate post pdf page call\r\n PostDomainPDF(ftext, Pdf64Code) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n var ftextE = encodeURIComponent(ftext);\r\n return this.http.post(this.BaseURL2 + \"Savepdf\", \"ftext=\" + ftextE + \"&pdf64=\" + Pdf64Code, { headers: headers });\r\n }\r\n // Domain affiliate post data page call\r\n PostDomainAffiliate(vender, group, pcn, subText, Image64Code, Desc) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n var venderE = encodeURIComponent(vender);\r\n var groupE = encodeURIComponent(group);\r\n var pcnE = encodeURIComponent(pcn);\r\n var subTextE = encodeURIComponent(subText);\r\n return this.http.post(this.BaseURL2 + \"SaveAffilliate\", \"vname=\" + venderE + \"&group=\" + groupE + \"&pcn=\" + pcnE + \"&ftext=\" + subTextE + \"&image64=\" + Image64Code + \"&desc=\" + Desc, { headers: headers });\r\n }\r\n // Domain affiliate get Data page call\r\n GetDomainAffiliate(stext) {\r\n var Gstext = encodeURIComponent(stext);\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL2 + 'GetAffilliate', 'stext=' + Gstext, { headers: headers });\r\n }\r\n // Domain affiliate search page call\r\n SearchDomainAffiliate(stext) {\r\n var Gstext = encodeURIComponent(stext);\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL2 + 'GetAffilliate', 'stext=' + Gstext, { headers: headers });\r\n }\r\n // FAQ get data\r\n GetFaq() {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL2 + 'faqs', 'DrugName=' + 'test',\r\n { headers: headers });\r\n }\r\n //Default Card Data\r\n GetDefaultCard(AppName) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL2 + 'defaultcard', 'AppName=' + AppName + '&AppType=WebApp',\r\n { headers: headers });\r\n }\r\n //check login status last time\r\n lastLoginStatus(getUserId, getUserEmail) {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL2 + \"VerifyUser\", \"UserId=\" + getUserId + \"&UserEmail=\" + getUserEmail, { headers: headers })\r\n }\r\n SearchDrugList(searchtext) {\r\n var Encode_DrugName = encodeURIComponent(searchtext);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL3 + \"searchdrug\",\r\n \"stext=\" + Encode_DrugName,\r\n {\r\n headers: headers,\r\n }\r\n );\r\n }\r\n GetPopularDrug() {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL3 + \"populardrug\", \"DrugName=\" + \"test\", {\r\n headers: headers,\r\n });\r\n }\r\n GetDrugDetails(DrugName) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL3 + \"drugcomponents\",\r\n \"DrugName=\" + Encode_DrugName,\r\n { headers: headers }\r\n );\r\n }\r\n GetCoordinatebyzip(ZipCode) {\r\n return this.http.get(\r\n this.GeoBaseURL + \"address=\" + ZipCode + \"&key=\" + this.GeoAPIKey\r\n );\r\n }\r\n GetLocationByLatLongWithSensor(Lat, Long) {\r\n return this.http.get(\r\n this.GeoBaseURL +\r\n \"latlng=\" +\r\n Lat +\r\n \",\" +\r\n Long +\r\n \"&sensor=true&key=\" +\r\n this.GeoAPIKey\r\n );\r\n }\r\n GetPharmacyList(\r\n Lat,\r\n Long,\r\n GPId,\r\n Quantity,\r\n Dosage,\r\n Type,\r\n MultiSource,\r\n DrugName,\r\n UserId,\r\n ZipCode,\r\n UserLocation,\r\n ResponseType\r\n ) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL3 + \"pharmacy\",\r\n \"Lat=\" +\r\n Lat +\r\n \"&Long=\" +\r\n Long +\r\n \"&GpId=\" +\r\n GPId +\r\n \"&Quant=\" +\r\n window.localStorage.getItem('DrugQuant') +\r\n \"&Dosage=\" +\r\n Dosage +\r\n \"&Type=\" +\r\n Type +\r\n \"&MultiSource=\" +\r\n MultiSource +\r\n \"&DrugName=\" +\r\n Encode_DrugName +\r\n \"&UserId=\" +\r\n UserId +\r\n \"&ZipCode=\" +\r\n ZipCode +\r\n \"&Userlocation=\" +\r\n UserLocation +\r\n \"&ResponseType=\" +\r\n ResponseType +\r\n \"&NDCCode=\"+window.localStorage.getItem('ndccode')+\r\n \"&DisplayQuant=\"+window.localStorage.getItem('displayquantity'),\r\n { headers: headers }\r\n );\r\n }\r\n CreateAccount(EmailId, Password, groupnumber) {\r\n try {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL1 + \"signup\",\r\n \"email=\" +\r\n EmailId +\r\n \"&password=\" +\r\n Password +\r\n \"&groupnumber=\" +\r\n groupnumber +\r\n \"&platform=web\",\r\n { headers: headers }\r\n );\r\n } catch { }\r\n }\r\n\r\n LoginAccount(EmailId, Password) {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL1 + \"signin\",\r\n \"email=\" + EmailId + \"&password=\" + Password,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n ForgotPassword(EmailId) {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL1 + \"passwordreset\", \"email=\" + EmailId, {\r\n headers: headers\r\n });\r\n }\r\n SaveUserCards(\r\n UserId,\r\n UserCharId,\r\n PharmacyName,\r\n PharmacyType,\r\n DrugName,\r\n Price,\r\n Quantity,\r\n Dose,\r\n Form,\r\n PharmacyPhone,\r\n Address1,\r\n Address2,\r\n GpId,\r\n MultiSource,\r\n Bin,\r\n Pcn,\r\n DialNumber,\r\n Plogo\r\n ) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n var Encode_PharmacyName = encodeURIComponent(PharmacyName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL1 + \"card\",\r\n \"UserId=\" +\r\n UserId +\r\n \"&UserCharId=\" +\r\n UserCharId +\r\n \"&PharmacyName=\" +\r\n Encode_PharmacyName +\r\n \"&PharmacyType=\" +\r\n PharmacyType +\r\n \"&DrugName=\" +\r\n Encode_DrugName +\r\n \"&Price=\" +\r\n Price +\r\n \"&Quantity=\" +\r\n Quantity +\r\n \"&Dose=\" +\r\n Dose +\r\n \"&Form=\" +\r\n Form +\r\n \"&PharmacyPhone=\" +\r\n PharmacyPhone +\r\n \"&Address1=\" +\r\n Address1 +\r\n \"&Address2=\" +\r\n Address2 +\r\n \"&GPId=\" +\r\n GpId +\r\n '&Bin=' +\r\n Bin +\r\n '&Pcn=' +\r\n Pcn +\r\n '&Pbmphone=' +\r\n DialNumber +\r\n '&Plogo=' +\r\n Plogo +\r\n \"&MultiSource=\" +\r\n MultiSource,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n GetUserCards(UserId) {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL1 + \"usercard\", \"UserId=\" + UserId, {\r\n headers: headers\r\n });\r\n }\r\n RemoveSavedCard(UserId, CardId) {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL2 + \"RemoveCard\",\r\n \"UserId=\" + UserId + \"&cardId=\" + CardId,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n setGroupOnInit() {\r\n var subdomain = window.location.host.split('.')[0];\r\n\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL2 + \"DomainReferral\",\r\n \"stext=\" + subdomain,\r\n { headers: headers }\r\n );\r\n }\r\n\r\n SaveUserShareCard(\r\n UserId,\r\n MemeberId,\r\n DrugName,\r\n Quantity,\r\n DrugForm,\r\n DrugDose,\r\n DrugPrice,\r\n PharmacyName,\r\n Address1,\r\n Address2,\r\n PPhone,\r\n Bin,\r\n PCN,\r\n GroupNumber,\r\n UserEmail,\r\n PHelpLine,\r\n Localuser,\r\n LandingUrl\r\n ) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n var Encode_PharmacyName = encodeURIComponent(PharmacyName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL2 + \"dc\",\r\n \"UId=\" +\r\n UserId +\r\n \"&MId=\" +\r\n MemeberId +\r\n \"&Dname=\" +\r\n Encode_DrugName +\r\n \"&Q=\" +\r\n Quantity +\r\n \"&Form=\" +\r\n DrugForm +\r\n \"&Dose=\" +\r\n DrugDose +\r\n \"&Price=\" +\r\n DrugPrice +\r\n \"&Pname=\" +\r\n Encode_PharmacyName +\r\n \"&Ad1=\" +\r\n Address1 +\r\n \"&Ad2=\" +\r\n Address2 +\r\n \"&Phone=\" +\r\n PPhone +\r\n \"&Bin=\" +\r\n Bin +\r\n \"&PCN=\" +\r\n PCN +\r\n \"&GN=\" +\r\n GroupNumber +\r\n \"&Email=\" +\r\n UserEmail +\r\n \"&HL=\" +\r\n PHelpLine +\r\n \"&User=\" +\r\n Localuser +\r\n \"&Subdomain=\" +\r\n LandingUrl,\r\n { headers: headers }\r\n );\r\n }\r\n SaveUserShareCardGeneric(\r\n UserId,\r\n MemeberId,\r\n DrugName,\r\n Quantity,\r\n DrugForm,\r\n DrugDose,\r\n DrugPrice,\r\n PharmacyName,\r\n Address1,\r\n Address2,\r\n PPhone,\r\n Bin,\r\n PCN,\r\n GroupNumber,\r\n UserEmail,\r\n PHelpLine,\r\n Localuser,\r\n LandingUrl\r\n ) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n var Encode_PharmacyName = encodeURIComponent(PharmacyName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n debugger\r\n return this.http.post(\r\n this.BaseURL2 + \"dc\",\r\n \"UId=\" +\r\n UserId +\r\n \"&MId=\" +\r\n MemeberId +\r\n \"&Dname=\" +\r\n \"genericcard\" +\r\n \"&Q=\" +\r\n Quantity +\r\n \"&Form=\" +\r\n DrugForm +\r\n \"&Dose=\" +\r\n DrugDose +\r\n \"&Price=\" +\r\n DrugPrice +\r\n \"&Pname=\" +\r\n Encode_PharmacyName +\r\n \"&Ad1=\" +\r\n Address1 +\r\n \"&Ad2=\" +\r\n Address2 +\r\n \"&Phone=\" +\r\n PPhone +\r\n \"&Bin=\" +\r\n Bin +\r\n \"&PCN=\" +\r\n PCN +\r\n \"&GN=\" +\r\n GroupNumber +\r\n \"&Email=\" +\r\n UserEmail +\r\n \"&HL=\" +\r\n PHelpLine +\r\n \"&User=\" +\r\n Localuser +\r\n \"&Subdomain=\" +\r\n LandingUrl,\r\n { headers: headers }\r\n );\r\n }\r\n RemoveDiscountCard(UserId, MemeberId, DrugName, Quantity, DrugForm, DrugDose, DrugPrice, PharmacyName, Address1, Address2, PPhone, MultiSource, PType) {\r\n var Encode_DrugName = encodeURIComponent(DrugName);\r\n var Encode_PharmacyName = encodeURIComponent(PharmacyName);\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(this.BaseURL2 + \"RemoveDiscountCard\",\r\n \"UId=\" + UserId + \"&MId=\" + MemeberId + \"&Dname=\" + Encode_DrugName + \"&Q=\" + Quantity + \"&Form=\" + DrugForm + \"&Dose=\" + DrugDose + \"&Price=\" + DrugPrice + \"&Pname=\" + Encode_PharmacyName + \"&Ad1=\" + Address1 + \"&Ad2=\" + Address2 + \"&Phone=\" + PPhone + \"&Ms=\" + MultiSource + \"&Type=\" + PType,\r\n { headers: headers }\r\n );\r\n }\r\n GNValidate(groupnumber) {\r\n let headers = new Headers();\r\n headers.append(\r\n \"Content-Type\",\r\n \"application/x-www-form-urlencoded; charset=utf-8\"\r\n );\r\n return this.http.post(\r\n this.BaseURL2 + \"checkgnstatus_app\",\r\n \"gn=\" + groupnumber+'&appname=nulifespanrx',\r\n \r\n { headers: headers }\r\n );\r\n }\r\n UpdateGroupNumber(UserId, GroupNumber) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL2 + 'updategn', 'UserId=' + UserId + '&UserGN=' + GroupNumber,\r\n { headers: headers });\r\n }\r\n PushCardList() {\r\n try {\r\n if (window.localStorage.getItem('CardListLocally') != null || window.localStorage.getItem('CardListLocally') != undefined) {\r\n let CardListData = JSON.parse(window.localStorage.getItem('CardListLocally'));\r\n for (let x3 of CardListData) {\r\n this.SaveUserCards(window.localStorage.getItem('UserId'), window.localStorage.getItem('UserCharId'), x3.PharmacyName, x3.PharmacyType, x3.DrugName, x3.Price, x3.Quantity, x3.Dose, x3.Form, x3.PharmacyPhone, x3.Address1, x3.Address2, x3.GPId, x3.MultiSource, x3.Bin, x3.PCN, x3.PBMPhone, x3.LogoLink).pipe(map(res => res.json()))\r\n .subscribe(data => {\r\n })\r\n }\r\n window.localStorage.setItem('CardListLocally', null);\r\n }\r\n }\r\n catch { }\r\n }\r\n ResetPassword(userid, cpassword, npassword) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL1 + 'passwordupdate', 'UserId=' + userid + '&CurrentPassword=' + cpassword + '&NewPassword=' + npassword,\r\n { headers: headers });\r\n }\r\n RequestOTP_Forgotpassword(EmailId) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL1 + 'otprequest', 'useremail=' + EmailId,\r\n { headers: headers });\r\n }\r\n VerifyOTP_Forgotpassword(OTP, UserId) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL1 + 'otpverify', 'OTP=' + OTP + '&UserId=' + UserId,\r\n { headers: headers });\r\n }\r\n VerifyOTP_Resetpassword(UserId, Password) {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL1 + 'forgetresetpassword', 'UserId=' + UserId + '&Password=' + Password,\r\n { headers: headers });\r\n }\r\n GetWhiteParams() {\r\n let headers = new Headers();\r\n headers.append('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');\r\n return this.http.post(this.BaseURL2 + 'whiteparam', 'stext=' + 'test',\r\n { headers: headers });\r\n }\r\n IsNullOrEmptyField(input: string) {\r\n if (input == \"\" || input == undefined || input == null) return true;\r\n else return false;\r\n }\r\n\r\n Setsignup(box, signup, signin) {\r\n this.showloginbox = box;\r\n this.signup_fields = signup;\r\n this.signin_fields = signin;\r\n }\r\n Getsignup() {\r\n let xyz: any = [];\r\n return (xyz = [this.showloginbox, this.signup_fields, this.signin_fields]);\r\n }\r\n\r\n sendMessage(message: string) {\r\n this.subject.next({ text: message });\r\n }\r\n\r\n clearMessages() {\r\n this.subject.next();\r\n }\r\n\r\n getMessage(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n // get your card \r\n\r\n\r\n}","import { Injectable } from '@angular/core';\r\n\r\n/*\r\nopt1: No refreral code\r\nopt2: Optional referral code\r\nopt3: Mandatory referral code\r\n*/\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PrerequisiteService {\r\n\r\n constructor() { }\r\n AppVersionType(): string {\r\n return \"opt1\";\r\n }\r\n DefaultGN(): string {\r\n if (this.AppVersionType() == \"opt1\") {\r\n if (window.localStorage.getItem('DevicePlatform') == \"android\") {\r\n return \"HDRX1234\";\r\n }\r\n else {\r\n return \"HDRX1234\";\r\n }\r\n }\r\n else {\r\n return \"HDRX1234\";\r\n }\r\n }\r\n GNForOPT2(): string {\r\n return \"HDRX1234\";\r\n }\r\n\r\n SplashImage() {\r\n if (this.AppVersionType() == \"opt1\")\r\n return 'assets/imgs/RxHacker.png';\r\n else if (this.AppVersionType() == \"opt2\")\r\n return 'assets/imgs/RxHacker.png';\r\n else\r\n return 'assets/imgs/RxHacker.png';\r\n }\r\n IsLoginRequired() {\r\n return \"No\";\r\n }\r\n randomMemberId() {\r\n let rand = Math.round(Math.random() * 796856320485);\r\n let rand_str = rand.toString().substring(0, 7);\r\n if (parseInt(rand_str) < 1000000) {\r\n this.randomMemberId();\r\n }\r\n return rand_str;\r\n }\r\n DrugDoseDescription() {\r\n let JsonStringStructure = \"[{\\\"Dose\\\":\\\"AEPB\\\",\\\"Descrption\\\":\\\"Aerosolpowderbreathactivated\\\"},{\\\"Dose\\\":\\\"AERB\\\",\\\"Descrption\\\":\\\"Aerosolbreathactivated\\\"},{\\\"Dose\\\":\\\"AERO\\\",\\\"Descrption\\\":\\\"Aerosol\\\"},{\\\"Dose\\\":\\\"AERP\\\",\\\"Descrption\\\":\\\"Aerosolpowder\\\"},{\\\"Dose\\\":\\\"AERS\\\",\\\"Descrption\\\":\\\"Aerosolsolution\\\"},{\\\"Dose\\\":\\\"BAR\\\",\\\"Descrption\\\":\\\"Bar\\\"},{\\\"Dose\\\":\\\"BEAD\\\",\\\"Descrption\\\":\\\"Beads\\\"},{\\\"Dose\\\":\\\"CAPS\\\",\\\"Descrption\\\":\\\"Capsule\\\"},{\\\"Dose\\\":\\\"CHEW\\\",\\\"Descrption\\\":\\\"Tabletchewable\\\"},{\\\"Dose\\\":\\\"CONC\\\",\\\"Descrption\\\":\\\"Concentrate\\\"},{\\\"Dose\\\":\\\"CP12\\\",\\\"Descrption\\\":\\\"Capsuleextendedrelease12hr\\\"},{\\\"Dose\\\":\\\"CP24\\\",\\\"Descrption\\\":\\\"Capsuleextendedrelease24hr\\\"},{\\\"Dose\\\":\\\"CPCR\\\",\\\"Descrption\\\":\\\"Capsuleextendedrelease\\\"},{\\\"Dose\\\":\\\"CPDR\\\",\\\"Descrption\\\":\\\"Capsuledelayedrelease\\\"},{\\\"Dose\\\":\\\"CPEP\\\",\\\"Descrption\\\":\\\"Capsuledelayedreleaseparticles\\\"},{\\\"Dose\\\":\\\"CPSP\\\",\\\"Descrption\\\":\\\"Capsulesprinkle\\\"},{\\\"Dose\\\":\\\"CSDR\\\",\\\"Descrption\\\":\\\"CSDR\\\"},{\\\"Dose\\\":\\\"CREA\\\",\\\"Descrption\\\":\\\"Cream\\\"},{\\\"Dose\\\":\\\"CRYS\\\",\\\"Descrption\\\":\\\"Crystals\\\"},{\\\"Dose\\\":\\\"DEVI\\\",\\\"Descrption\\\":\\\"Device\\\"},{\\\"Dose\\\":\\\"DISK\\\",\\\"Descrption\\\":\\\"Disk\\\"},{\\\"Dose\\\":\\\"DPRH\\\",\\\"Descrption\\\":\\\"Diaphragm\\\"},{\\\"Dose\\\":\\\"ELIX\\\",\\\"Descrption\\\":\\\"Elixir\\\"},{\\\"Dose\\\":\\\"EMUL\\\",\\\"Descrption\\\":\\\"Emulsion\\\"},{\\\"Dose\\\":\\\"ENEM\\\",\\\"Descrption\\\":\\\"Enema\\\"},{\\\"Dose\\\":\\\"EXTR\\\",\\\"Descrption\\\":\\\"Fluidextract\\\"},{\\\"Dose\\\":\\\"FILM\\\",\\\"Descrption\\\":\\\"Film\\\"},{\\\"Dose\\\":\\\"FLAK\\\",\\\"Descrption\\\":\\\"Flakes\\\"},{\\\"Dose\\\":\\\"FOAM\\\",\\\"Descrption\\\":\\\"Foam\\\"},{\\\"Dose\\\":\\\"GAS\\\",\\\"Descrption\\\":\\\"Gas\\\"},{\\\"Dose\\\":\\\"GEL\\\",\\\"Descrption\\\":\\\"Gel\\\"},{\\\"Dose\\\":\\\"GRAN\\\",\\\"Descrption\\\":\\\"Granules\\\"},{\\\"Dose\\\":\\\"GREF\\\",\\\"Descrption\\\":\\\"Granuleseffervescent\\\"},{\\\"Dose\\\":\\\"GUM\\\",\\\"Descrption\\\":\\\"Gum\\\"},{\\\"Dose\\\":\\\"IMPL\\\",\\\"Descrption\\\":\\\"Implant\\\"},{\\\"Dose\\\":\\\"INHA\\\",\\\"Descrption\\\":\\\"Inhaler\\\"},{\\\"Dose\\\":\\\"INJ\\\",\\\"Descrption\\\":\\\"Injectable\\\"},{\\\"Dose\\\":\\\"INST\\\",\\\"Descrption\\\":\\\"Insert\\\"},{\\\"Dose\\\":\\\"IUD\\\",\\\"Descrption\\\":\\\"Intrauterinedevice\\\"},{\\\"Dose\\\":\\\"KIT\\\",\\\"Descrption\\\":\\\"Kit\\\"},{\\\"Dose\\\":\\\"LEAV\\\",\\\"Descrption\\\":\\\"Leaves\\\"},{\\\"Dose\\\":\\\"LIQD\\\",\\\"Descrption\\\":\\\"Liquid\\\"},{\\\"Dose\\\":\\\"LOTN\\\",\\\"Descrption\\\":\\\"Lotion\\\"},{\\\"Dose\\\":\\\"LOZG\\\",\\\"Descrption\\\":\\\"Lozenge\\\"},{\\\"Dose\\\":\\\"LPOP\\\",\\\"Descrption\\\":\\\"Lollipop\\\"},{\\\"Dose\\\":\\\"LQCR\\\",\\\"Descrption\\\":\\\"Liquidextended-Release\\\"},{\\\"Dose\\\":\\\"MISC\\\",\\\"Descrption\\\":\\\"Miscellaneous\\\"},{\\\"Dose\\\":\\\"NEBU\\\",\\\"Descrption\\\":\\\"Nebulizationsolution\\\"},{\\\"Dose\\\":\\\"OIL\\\",\\\"Descrption\\\":\\\"Oil\\\"},{\\\"Dose\\\":\\\"OINT\\\",\\\"Descrption\\\":\\\"Ointment\\\"},{\\\"Dose\\\":\\\"PACK\\\",\\\"Descrption\\\":\\\"Packet\\\"},{\\\"Dose\\\":\\\"PADS\\\",\\\"Descrption\\\":\\\"Pads\\\"},{\\\"Dose\\\":\\\"PDEF\\\",\\\"Descrption\\\":\\\"Powdereffervescent\\\"},{\\\"Dose\\\":\\\"PLLT\\\",\\\"Descrption\\\":\\\"Pellet\\\"},{\\\"Dose\\\":\\\"POWD\\\",\\\"Descrption\\\":\\\"Powder\\\"},{\\\"Dose\\\":\\\"PSTE\\\",\\\"Descrption\\\":\\\"Paste\\\"},{\\\"Dose\\\":\\\"PT24\\\",\\\"Descrption\\\":\\\"Patch24hr\\\"},{\\\"Dose\\\":\\\"PT72\\\",\\\"Descrption\\\":\\\"Patch72hr\\\"},{\\\"Dose\\\":\\\"PTCH\\\",\\\"Descrption\\\":\\\"Patch\\\"},{\\\"Dose\\\":\\\"PTTW\\\",\\\"Descrption\\\":\\\"Patchbiweekly\\\"},{\\\"Dose\\\":\\\"PTWK\\\",\\\"Descrption\\\":\\\"Patchweekly\\\"},{\\\"Dose\\\":\\\"PUDG\\\",\\\"Descrption\\\":\\\"Pudding\\\"},{\\\"Dose\\\":\\\"RING\\\",\\\"Descrption\\\":\\\"Ring\\\"},{\\\"Dose\\\":\\\"SHAM\\\",\\\"Descrption\\\":\\\"Shampoo\\\"},{\\\"Dose\\\":\\\"SHEE\\\",\\\"Descrption\\\":\\\"Sheet\\\"},{\\\"Dose\\\":\\\"SOLG\\\",\\\"Descrption\\\":\\\"Gelformingsolution\\\"},{\\\"Dose\\\":\\\"SOLN\\\",\\\"Descrption\\\":\\\"Solution\\\"},{\\\"Dose\\\":\\\"SOLR\\\",\\\"Descrption\\\":\\\"Solutionreconstituted\\\"},{\\\"Dose\\\":\\\"SPRT\\\",\\\"Descrption\\\":\\\"Spirit\\\"},{\\\"Dose\\\":\\\"STCK\\\",\\\"Descrption\\\":\\\"Stick\\\"},{\\\"Dose\\\":\\\"STRP\\\",\\\"Descrption\\\":\\\"Strip\\\"},{\\\"Dose\\\":\\\"SUBL\\\",\\\"Descrption\\\":\\\"Tabletsublingual\\\"},{\\\"Dose\\\":\\\"SUPP\\\",\\\"Descrption\\\":\\\"Suppository\\\"},{\\\"Dose\\\":\\\"SUSP\\\",\\\"Descrption\\\":\\\"Suspension\\\"},{\\\"Dose\\\":\\\"SUSR\\\",\\\"Descrption\\\":\\\"Suspensionreconstituted\\\"},{\\\"Dose\\\":\\\"SWAB\\\",\\\"Descrption\\\":\\\"Swab\\\"},{\\\"Dose\\\":\\\"SYRP\\\",\\\"Descrption\\\":\\\"Syrup\\\"},{\\\"Dose\\\":\\\"TABS\\\",\\\"Descrption\\\":\\\"Tablet\\\"},{\\\"Dose\\\":\\\"TAMP\\\",\\\"Descrption\\\":\\\"Tampon\\\"},{\\\"Dose\\\":\\\"TAPE\\\",\\\"Descrption\\\":\\\"Tape\\\"},{\\\"Dose\\\":\\\"TAR\\\",\\\"Descrption\\\":\\\"Tar\\\"},{\\\"Dose\\\":\\\"TB12\\\",\\\"Descrption\\\":\\\"Tabletextendedrelease12hr\\\"},{\\\"Dose\\\":\\\"TB24\\\",\\\"Descrption\\\":\\\"Tabletextendedrelease24hr\\\"},{\\\"Dose\\\":\\\"TBCR\\\",\\\"Descrption\\\":\\\"Tabletextended-Release\\\"},{\\\"Dose\\\":\\\"TBDP\\\",\\\"Descrption\\\":\\\"Tabletdispersible\\\"},{\\\"Dose\\\":\\\"TBEC\\\",\\\"Descrption\\\":\\\"Tabletdelayedrelease\\\"},{\\\"Dose\\\":\\\"TBEF\\\",\\\"Descrption\\\":\\\"Tableteffervescent\\\"},{\\\"Dose\\\":\\\"TBSO\\\",\\\"Descrption\\\":\\\"Tabletsoluble\\\"},{\\\"Dose\\\":\\\"TEST\\\",\\\"Descrption\\\":\\\"Diagnostictest\\\"},{\\\"Dose\\\":\\\"THPK\\\",\\\"Descrption\\\":\\\"THPK\\\"},{\\\"Dose\\\":\\\"TINC\\\",\\\"Descrption\\\":\\\"Tincture\\\"},{\\\"Dose\\\":\\\"TROC\\\",\\\"Descrption\\\":\\\"Troche\\\"},{\\\"Dose\\\":\\\"WAFR\\\",\\\"Descrption\\\":\\\"Wafer\\\"},{\\\"Dose\\\":\\\"WAX\\\",\\\"Descrption\\\":\\\"Wax\\\"}]\";\r\n return JsonStringStructure;\r\n }\r\n GetUserLoggedInStatus() {\r\n if (this.AppVersionType() == \"opt1\") {\r\n window.localStorage.setItem('VersionGN', 'opt1');\r\n window.localStorage.setItem('SkipSignup', 'signupskipped');\r\n let getUG = window.localStorage.getItem('UserGroup');\r\n if (getUG == null) {\r\n // window.localStorage.setItem('UserGroup', \"\");\r\n }\r\n if (this.IsLoginRequired() == \"Yes\") {\r\n if (window.localStorage.getItem('UserId') == null || window.localStorage.getItem('UserId') == '' || window.localStorage.getItem('UserId') == undefined) {\r\n return \"signupscreen\";\r\n }\r\n }\r\n else {\r\n if (window.localStorage.getItem('SkipSignup') != 'signupskipped' && window.localStorage.getItem('SkipSignup') != 'loggedin' && window.localStorage.getItem('SkipSignup') != 'signupdone') {\r\n return \"signupscreen\";\r\n }\r\n }\r\n }\r\n else {\r\n if (window.localStorage.getItem('SkipSignup') == 'signupskipped') {\r\n if (window.localStorage.getItem('UserGroup') == null || window.localStorage.getItem('UserGroup') == \"False\" || window.localStorage.getItem('UserGroup') == undefined) {\r\n // window.localStorage.setItem('UserGroup', \"\");\r\n return \"signupscreen\";\r\n }\r\n }\r\n else {\r\n if (window.localStorage.getItem('UserId') == null || window.localStorage.getItem('UserId') == '' || window.localStorage.getItem('UserId') == undefined) {\r\n return \"signupscreen\";\r\n }\r\n else {\r\n if (window.localStorage.getItem('UserGroup') == null || window.localStorage.getItem('UserGroup') == \"False\" || window.localStorage.getItem('UserGroup') == \"null\" || window.localStorage.getItem('UserGroup') == \"\") {\r\n return \"groupscreen\";\r\n }\r\n else {\r\n return \"loggedin\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SaveService {\r\n\r\n /* logo */\r\n logo = '../assets/images/logo.png';\r\n\r\n /* brand name2 */\r\n brandName2 = 'NuLifeSpan Rx';\r\n\r\n /* brand name in footer */\r\n brandNameFooter = 'NuLifeSpan Rx';\r\n\r\n /* brand name */\r\n brandName = 'NuLifeSpan Rx';\r\n\r\n /* acceptSection logos */\r\n acceptSectionIcons = [\r\n { img: \"../assets/images/pharmacist_logo1.jpg\", alt: 'pharmacist_logo1' },\r\n { img: \"../assets/images/pharmacist_logo2.jpg\", alt: 'pharmacist_logo2' },\r\n { img: \"../assets/images/pharmacist_logo3.jpg\", alt: 'pharmacist_logo3' },\r\n // { img: \"../assets/images/pharmacist_logo4.jpg\", alt:'pharmacist_logo4'},\r\n { img: \"../assets/images/pharmacist_logo5.jpg\", alt: 'pharmacist_logo5' },\r\n // { img: \"../assets/images/pharmacist_logo6.jpg\", alt:'pharmacist_logo6'},\r\n // { img: \"../assets/images/pharmacist_logo7.jpg\", alt:'pharmacist_logo7'},\r\n { img: \"../assets/images/pharmacist_logo8.jpg\", alt: 'pharmacist_logo8' },\r\n { img: \"../assets/images/pharmacist_logo9.jpg\", alt: 'pharmacist_logo9' }\r\n ];\r\n\r\n /* accept section method */\r\n getAcceptSectionLogos() {\r\n return this.acceptSectionIcons;\r\n }\r\n\r\n /* brand name method */\r\n getBrandName() {\r\n return this.brandName;\r\n }\r\n\r\n /* brand name second method */\r\n getSecondBrandName() {\r\n return this.brandName2;\r\n }\r\n\r\n /* brand name in footer */\r\n getFooterBrandName() {\r\n return this.brandNameFooter;\r\n }\r\n\r\n /* logo method */\r\n getLogo() {\r\n return this.logo;\r\n }\r\n\r\n constructor() { }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

{{errorMsg}}

\r\n
\r\n
","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-error-popup',\r\n templateUrl: './error-popup.component.html',\r\n styleUrls: ['./error-popup.component.scss']\r\n})\r\nexport class ErrorPopupComponent implements OnInit {\r\n @Input() errorMsg: string;\r\n @Output() hidePopup = new EventEmitter(false)\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n hidePopupClick(){\r\n this.hidePopup.emit(true)\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-loader-popup',\r\n templateUrl: './loader-popup.component.html',\r\n styleUrls: ['./loader-popup.component.scss']\r\n})\r\nexport class LoaderPopupComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n

Terms and Conditions of Use

\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n Effective Date: {{date | ordinalDate}}\r\n

This Web site www.nulifespanrx.com and the NuLifeSpan Rx mobile app (NuLifeSpan Rx App”) are owned, operated and/or licensed by NuLifeSpan Rx, LLC (“NuLifeSpan Rx\", “we\", “our\", and “us”). Throughout these Terms and Conditions of Use (“Terms and Conditions”), the words “you” and “your” refer to the user using the Services (defined below).These Terms and Conditions set forth the legally binding terms for your use of the Services. By accessing or using this Web site or, more broadly, the Services in any manner, you agree to: (i) these Terms and Conditions, (ii) our Privacy Policy (the “Privacy Policy”), and (iii) any other legal notices, conditions or guidelines accessible through the Services. These Terms and Conditions apply to all of our Services. When we use the term “Services” in these Terms and Conditions, we mean (collectively):

\r\n
    \r\n
  • our Web site,
  • \r\n
  • any NuLifeSpan Rx mobile app,
  • \r\n
  • the NuLifeSpan Rx prescription discount program, as described below and here (“NuLifeSpan Rx Program”), and
  • \r\n
  • any other NuLifeSpan Rx service or application that posts a link to these Terms and Conditions, as well as any features, ‎widgets, ‎plug-ins, content, downloads or other services that are offered.
  • \r\n
\r\n

These Terms and Conditions will apply regardless of how you access ‎or ‎use the Services, whether it be via computer, tablet, mobile device, smart watch, console, mobile application, paper card, or otherwise.‎ By downloading the NuLifeSpan Rx App, accessing the Web site or using the Services you are agreeing to these Terms and Conditions, which includes a limited license, disclaimers of warranty, ‎limitations of liability and binding arbitration and class action and ‎jury waivers.‎ Accepting these Terms and Conditions is required to use the Services. If you do not agree to any of these Terms and Conditions, or the Privacy Policy, please do not use the Services and exit now.

\r\n

For the avoidance of doubt, the Program Description (found here) and the Privacy Policy (found here) are expressly incorporated into these Terms and Conditions must be read together with them.

\r\n

Important Legal Information about Privacy

\r\n

The terms and conditions of NuLifeSpan Rx’s Privacy Policy, which is available at https://www.nulifespanrx.com/privacy, apply to your use of the Services, form an integral part of your agreement with us, and are incorporated by reference into these Terms and Conditions. You should read the Privacy Policy carefully before you use our Services since, by using the Services, you will be agreeing to everything in these Terms and Conditions, including the terms contained in our Privacy Policy

\r\n

Modification to These Terms and Conditions of Use, and Our Services

\r\n

We may add to, update, delete from or modify the Services at any time in our sole discretion. We reserve the right, at any time and from time to time, for any reason, to change these Terms and Conditions. We may post or display notices of changes to these Terms and Conditions on the Web site or otherwise through our Services or may notify you of such changes. Once posted, these changes to these Terms and Conditions become effective immediately. If any change that we make is not acceptable to you, promptly stop using the Services. Any use by you of the Services after any changes to our Terms and Conditions become effective will signify your agreement to those changes. You should check back regularly and review these Terms and Conditions so that you are aware of the most current rights and obligations that apply to your agreement with us. Nothing in these Terms and Conditions grants you any rights or benefits under our contracts or relationships with third parties.

\r\n

IF YOU ARE A CONSUMER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

Access and Use of Services

\r\n

These Terms and Conditions apply to all users of the Services. We provide the Services Content, including all information, media, images, and text available through our Services (“Services Content”), as a courtesy to our users and intend it for general, informational and educational purposes only. All information provided through the Services is subject to change without notice. We permit you to access and use the Services Content for personal, non-commercial purposes only. You may download and print Services Content for the sole purposes of viewing, reading, and retaining the materials for non-commercial use. Any other copying, distribution, retransmission, or modification of Services and/or Services Content, whether in electronic or other form, is prohibited without our express prior written permission. You agree that you will not disassemble, ‎decompile, reverse engineer or otherwise modify the Services Content, any material on this Web site or any software supporting or part of the Services. Any unauthorized or prohibited use may subject the offender to civil liability and ‎criminal prosecution under applicable laws.‎

\r\n

User Accounts

\r\n

To use certain features of the Services you may need to create a personal username and password. You are responsible ‎for any use of the Services that takes place through your personal account, regardless of whether such use ‎is unauthorized or by a third party. Please keep your username and password secure and do not let anyone else ‎use your account information to access the Services.

\r\n

In some cases, you may receive, print or download our NuLifeSpan Rx prescription discount card (“NuLifeSpan Rx Card”) without registering with us or creating an account. You may also have received an NuLifeSpan Rx Card from a third-party marketing organization, with or without having provided that third party with your name or other identifying information. If you request to have an NuLifeSpan Rx Card emailed, texted, or mailed to your personal device or home address, you will be required to provide us with your name, email address, home address, and/or telephone number. The information that you provide will be used as set forth in these Terms and Conditions (including our Privacy Policy).

\r\n

Using the NuLifeSpan Rx Program via the NuLifeSpan Rx App requires the download of the NuLifeSpan Rx App from the Apple iTunes App Store or the Google Play Store. Downloading the NuLifeSpan Rx App is subject to the applicable end user license agreement and the information that you provide through the NuLifeSpan Rx App will be used as set forth in these Terms and Conditions (including our Privacy Policy).

\r\n

NuLifeSpan Rx prescription discount program

\r\n

For more information about our NuLifeSpan Rx Program, please see our NuLifeSpan Rx Program Description, which is available here: https://www.nulifespanrx.com/program.

\r\n

THE NuLifeSpan Rx PROGRAM IS NOT INSURANCE. THROUGH THE NuLifeSpan Rx PROGRAM, NuLifeSpan Rx PRESCRIPTION DISCOUNTS AND COUPONS CAN BE USED INSTEAD OF, BUT NOT IN CONJUNCTION WITH, INSURANCE. The NuLifeSpan Rx Program is not intended as a substitute for health insurance. The range of the discounts will vary depending on the prescription drug and the participating pharmacy. We cannot guarantee any discount we provide is the lowest price available. Only participating pharmacies will honor our NuLifeSpan Rx Program. You are required to pay for all prescription drugs at the time of purchase. NuLifeSpan Rx does not make payments to any pharmacy or health care provider. THE NuLifeSpan Rx PROGRAM DOES NOT MEET MINIMUM CREDITABLE COVERAGE REQUIREMENTS UNDER STATE HEALTHCARE INSURANCE COVERAGE REGULATIONS.

\r\n

IF YOU DO NOT HAVE HEALTH INSURANCE, you can use our NuLifeSpan Rx Program to obtain discounts for applicable brand name or generic prescriptions you or a household member pays for out-of-pocket, unless other restrictions apply. The NuLifeSpan Rx Program cannot be used simultaneously with other prescription drug discount cards or for prescriptions paid for through a health benefit or pharmacy benefit plan. IF YOU HAVE HEALTH INSURANCE, or any other funded benefit such as Medicaid or Medicare, you can use the NuLifeSpan Rx Program for certain prescriptions that are not covered by your plan when you would otherwise be purchasing those prescriptions without alternative coverage or discounts. You should confirm whether you are eligible to use the NuLifeSpan Rx Program if you are covered by health ‎insurance by checking with your health insurance provider.‎

\r\n

Please note that cash payments that you make for medications using the NuLifeSpan Rx Program might not count toward your prescription drug coverage out-of-pocket costs, but you can confirm that by contacting your health plan.

\r\n

NuLifeSpan Rx Program prescription discounts, coupons and prices shown are based on multiple sources, including published price lists, purchases, claims records, and data provided by pharmacies. NuLifeSpan Rx PROGRAM PRESCRIPTION DISCOUNTS AND PRICES MAY CHANGE AT ANY TIME. THE PRICES WE SHOW ARE OUR BEST ESTIMATE; WHILE WE BELIEVE OUR DATA TO BE GENERALLY ACCURATE, WE CANNOT GUARANTEE THAT THE PRICE WE DISPLAY WILL EXACTLY MATCH THE PRICE YOU RECEIVE AT THE PARTICIPATING PHARMACY. For an exact price, please contact the participating pharmacy.

\r\n

Not Medical Advice

\r\n

The Services, incorporating the NuLifeSpan Rx Program and any Services Content that provide medical or health information are for informational purposes only. The Services do not provide medical advice and are not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health professionals or providers with any questions you may have regarding a medical condition or medicine. Never disregard professional medical advice or delay in seeking it because of the Services.

\r\n

NuLifeSpan Rx does not recommend or endorse any specific prescription drug or pharmacy that may be mentioned in relation to any services provide through the Services. Reliance on any information provided by NuLifeSpan Rx or found through our Services is solely at your own risk.

\r\n

If you have or suspect that you have a medical problem or condition, please contact a qualified health care professional immediately.

\r\n

Eligibility

\r\n

You must be at least 18 years old to use the Services. By using the Services, you affirm that you are 18 years of age or ‎older and are fully able and competent to enter into the terms, conditions, obligations, affirmations, representations, ‎and warranties set forth in these Terms and Conditions, and to abide by and comply with these Terms and Conditions.

\r\n

Intellectual Property Rights

\r\n

Subject to your adherence to these Terms and Conditions, we grant you a limited non-exclusive, non-sublicensable, revocable, non-transferable license to access and use the Services, solely in connection with your personal, non-commercial use of our prescription discounting program at participating pharmacies and solely for the purpose of obtaining discounts (if available) on prescription drugs and related items at participating pharmacies in accordance with these Terms and Conditions. We expressly reserve any and all rights in the Services that are not expressly granted to you in the previous sentence.

\r\n

The Services, Services Content and the trademarks, service marks and logos contained therein (“Marks”), are owned by or licensed to NuLifeSpan Rx, subject to applicable intellectual property rights under United States and foreign laws and international conventions. You in no way will obtain any ownership interest or rights in the Services Content or Marks contained on this Web site or accessed through the Services. NuLifeSpan Rx reserves all rights not expressly granted in and to the Services and the Services Content. If you download or print a copy of the Services Content for personal or educational use, you must retain all copyright and other proprietary notices contained therein.

\r\n

Restrictions, Limitations and Conditions of Use

\r\n

You agree not to circumvent, disable or otherwise interfere with any security related features of the Services or features that prevent or restrict use or copying of any Services Content or enforce limitations on use of the Services or the Services Content.

\r\n

Any unauthorized use of our Services or Services Content for any purpose is prohibited. Our grant of rights to use the Services is on the condition that you use the Services in accordance with these Terms and Conditions. You may not use the Services for any unlawful purpose and you may not:

\r\n
    \r\n
  • access, solicit, collect or use any personally identifying information about any other users of the Services or anyone else;
  • \r\n
  • restrict or inhibit others from using the Services;
  • \r\n
  • transmit to or introduce through the Services any viruses, harmful software, or other modifications or changes to the Services or reverse engineer, decompile, disassemble, reverse assemble or modify any Services source or object code or any software or other services or processes accessible through any portion of the Services or Services Content;
  • \r\n
  • submit, upload, email or otherwise transmit any content or other materials, to or through the Services which (a) is threatening, abusive, defamatory, obscene, vulgar, offensive, or otherwise objectionable, or which may harm minors; (b) infringes or violates the rights of others, or (c) has an advertising, political marketing, promotional or other commercial purpose;
  • \r\n
  • engage in any activities that interfere with another user’s access to the Services or the proper operation of the Services; or
  • \r\n
  • distribute or copy any Services Content manually or by using any robot, scraper, crawler, or any other automatic device or process; frame or utilize framing techniques to enclose any Services Content; or use content from the Services in a manner that suggests an unauthorized association with any of our or our licensor’s products, services or brands.
  • \r\n
\r\n

NuLifeSpan Rx has no obligation to monitor your interaction with the Services, but reserves the right to review or monitor the Services and any user submissions in its sole discretion.

\r\n

Indemnification

\r\n

By accessing the Services, you agree to indemnify us and any parent, subsidiary or affiliated entities, and any third party providing or administering all or any portion of the [White Label] Program on our behalf, and the respective directors, officers, employees, agents and consultants of each, and hold them harmless from any and all third-party claims and expenses, including attorney’s fees, arising from your use of the Services or your violation of any term of these Terms and Conditions.

\r\n

IF YOU ARE A CONSUMER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

Disclaimer

\r\n

THE SERVICES, INCLUDING, WITHOUT LIMITATION, THE WEBSITE, THE NuLifeSpan Rx APP, AND NuLifeSpan Rx PROGRAM, ARE PROVIDED ON AN “AS-IS” AND “AS-AVAILABLE” BASIS WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF TITLE OR NON-INFRINGEMENT OR IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, WARRANTY ARISING BY COURSE OF TRADE, COURSE OF DEALING OR COURSE OF PERFORMANCE, ANY WARRANTY THAT THE SERVICES WILL MEET YOUR REQUIREMENTS OR ANY WARRANTY REGARDING THE QUALITY, CONTENT, ACCURACY OR VALIDITY OF THE INFORMATION OR DATA RESIDING ON OR PASSING THROUGH OR OVER OUR NETWORK. ALL SUCH WARRANTIES ARE HEREBY DISCLAIMED. NO ORAL OR WRITTEN ADVICE OR INFORMATION BY NuLifeSpan Rx’S OFFICERS, EMPLOYEES, AGENTS OR CONTRACTORS SHALL CREATE A WARRANTY, AND YOU MAY NOT RELY ON ANY SUCH INFORMATION.

\r\n

We do not warrant that the Services will be uninterrupted or error-free, that defects will be corrected, or that the Services or the server(s) that make them available (or any hyperlinked site) are free of viruses or other harmful components or that our Services, server(s), or hyperlinked sites will be accessible at all times. Further, we do not warrant that errors in the Services will be fixed by NuLifeSpan Rx. Reliance on any Services Content is done so entirely at your own risk with no liability to NuLifeSpan Rx or any third party providing or administering all or any portion of the NuLifeSpan Rx Program on our behalf. You assume the entire cost of all necessary servicing, repair or correction to any equipment you use to access the Services.

\r\n

To the extent that applicable law may not allow the exclusion of implied warranties, the above exclusions may not apply to you.

\r\n

Services Content, documents, information, graphics and other materials appearing on the Services may include technical inaccuracies, miscalculations, typographical errors, and out-of-date information and use of such documents, information, graphics or other materials is at your own risk.

\r\n

By using the Services, you acknowledge and agree that we will have no responsibility ‎or liability for any health care services provided to you or for the lack of any health care services provided to you. You are responsible for all payments to your doctors, ‎dentists, and pharmacists and any other health care and professional providers. We are not responsible for prescriptions written by your doctor, nurse, or any other health care provider, and are not responsible for any adverse effects ‎caused by the medicines you purchase using the NuLifeSpan Rx Program.

\r\n

IF YOU ARE A CONSUMER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

Consumer Protection Notice

\r\n

If you are a consumer, the provisions in these Terms and Conditions are ‎intended to be only as broad and ‎inclusive ‎as is permitted by the laws of your ‎state of residence. Certain states, like New Jersey, ‎have ‎heightened consumer ‎protection laws that may make certain portions of these Terms and Conditions ‎‎inapplicable ‎to you. Specifically, if you are a New Jersey consumer, certain ‎provisions do not ‎limit or waive your ‎rights as a consumer under New Jersey law. The provisions in these Terms and Conditions ‎are intended to be ‎only as broad ‎and inclusive as is permitted by the laws of the State of New ‎Jersey. No ‎provision of ‎these Terms and Conditions shall limit or waive your rights as a ‎consumer under the ‎law of your state of residence. ‎In any event, NuLifeSpan Rx reserves ‎all rights, defenses and ‎permissible limitations under the law of your ‎state of ‎residence.‎

\r\n

Limitation of Liability

\r\n

To the fullest extent permissible pursuant to applicable law, NuLifeSpan Rx and any parent, subsidiary or affiliated entities, and any third party providing or administering all or any portion of the NuLifeSpan Rx Program on our behalf, and the respective directors, officers, employees, agents and consultants (collectively the \"NuLifeSpan Rx Parties\") shall not be liable for any damages (including, but not limited to, direct, indirect, incidental, special or consequential damages), whether based on warranty, contract, tort, or any other legal theory, including, but not limited to, damages for loss of data or other damage to any other intangible property (even if the NuLifeSpan Rx Parties have been advised of the possibility of such damages) resulting from: (i) the use or inability to use the Services or Services Content; or (ii) the disclosure of, unauthorized access to, or alteration of any transmission or data.

\r\n

IF YOU ARE A CONSUMER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

Links to Other Websites and Services

\r\n

To the extent that the Services or this Web site contains links to other Web sites and outside services and resources, we do not control the availability and content of those Web sites, services or resources, nor do we necessarily review or endorse materials available at or through such other Web sites. Viewing other Web sites or utilizing outside services and resources is at your own risk. Accordingly, we encourage you to be aware when you leave our Services and to read the terms, conditions and privacy policy of each Web site that you visit. We shall not be liable for any loss or damage caused or allegedly caused by or in connection with use of or reliance on any content, goods or services available on or through any such Web site or resource.

\r\n

Other Restrictions on Conduct

\r\n

You must provide true and accurate information to our Services. You are prohibited from misrepresenting your information or tampering with our Services. You agree not to disrupt, modify or interfere with the functioning of our Services or any services provided on or through them. You further agree not to disrupt, modify or interfere with any software, hardware or servers associated with our Services, and you agree not to impede or interfere with others’ use of our Services. You also agree not to alter or tamper with any information or materials on, or associated with, our Services or services provided on or through it.

\r\n

You agree that any prescriptions or pharmaceutical products that you acquire or obtain through the Services and any services provided therein will be solely for your (or your family member’s or dependent’s, as applicable to whom the prescription is written for) personal use and not for resale to others. NuLifeSpan Rx may cancel, suspend, or terminate your access to our Services or any of our services at any time and for any reason, including any violation of these Terms and Conditions.

\r\n

Governing Law, Forum; Entire Agreement

\r\n

These Terms and Conditions are governed by the laws of the State of Delaware, without giving effect to principles of conflicts of law, except as may be otherwise provided in the Arbitration Agreement below. However the choice ‎of law provision regarding these terms is not intended to create any other substantive right to ‎assert claim except as provided through the Arbitration Agreement.‎ These Terms and Conditions, together with the Privacy Policy, and any other documents or polices referenced herein constitute the entire agreement between you and NuLifeSpan Rx regarding the use of the Services and the content and services provided through the Services.

\r\n

IF YOU ARE A CONSUMER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

Arbitration Agreement for Dispute Resolution; Information Resolution and Formal Resolution by Arbitration / Class Action Waiver

\r\n

In order to expedite and control the cost of disputes, you and NuLifeSpan Rx agree that any legal or equitable claim relating to the use of the Services or any services associated with or marketed as part of the Services (referred to as a “Claim”) will be resolved as follows:

\r\n

A. Informal Resolution:You and NuLifeSpan Rx will first attempt to resolve any Claim informally. In the event that any dispute between NuLifeSpan Rx and you arises out of or relates to: (i) these Terms and Conditions; (ii) the Services; or (iii) the NuLifeSpan Rx Program, you and we agree to try to promptly resolve any such dispute informally. Please send a written notice describing the dispute to support@NuLifeSpan Rx.com.

\r\n

B. Formal Resolution by Arbitration / Class Action Waiver.READ THE FOLLOWING ARBITRATION PROVISION CAREFULLY, IT LIMITS YOUR RIGHTS, INCLUDING THE RIGHT TO MAINTAIN A COURT ACTION. You agree that any dispute, controversy or Claim arising out of or relating to these Terms and Conditions, your use of the Services, or the NuLifeSpan Rx Program, or the determination of the scope or applicability of arbitration shall be governed as set forth below.

\r\n

If you and NuLifeSpan Rx cannot resolve a Claim informally, any Claim asserted by either party will be resolved only by binding arbitration (“Arbitration”). By agreeing to Arbitration, both you and NuLifeSpan Rx understand and agree that all processes, such as a court action or administrative proceeding, to settle disputes shall be decided by a single arbitrator and that you are waiving your rights to maintain other available resolution processes, such as a court action or administrative proceeding, to settle disputes. Instead of suing in court, both you and NuLifeSpan Rx each agree to settle disputes (except certain small claims as set forth below) only by Arbitration.

\r\n

ARBITRATION MEANS THAT YOU WAVE YOUR RIGHT TO A JURY TRIAL.

\r\n

The rules in Arbitration are different. There is no judge or jury, and review is limited, but an arbitrator can award the same damages and relief, and must honor the same limitations stated in these Terms and Conditions as a court would. The Arbitration will be conducted under the JAMS Streamlined Arbitration Rules Procedures (referred to as the “JAMS Rules”) and under the rules set forth in these Terms and Conditions. If there is a conflict between JAMS Rules and the rules set forth in these Terms and Conditions, the rules set forth in these Terms and Conditions will govern. In Arbitration you may seek any and all remedies otherwise available to you pursuant to the law of the governing state. If you decide to initiate Arbitration, NuLifeSpan Rx agrees to pay the Arbitration initiation fee and any additional deposit required by JAMS to initiate your Arbitration. You and NuLifeSpan Rx agree to pay the costs of the Arbitration proceedings, provided however that if you are a consumer you shall not be required to pay more than $250.00 of the fees or such amount as the JAMS Rules may later prescribe. All other fees, such as attorneys’ fees and expenses of travel to the Arbitration, will be paid in accordance with JAMS Rules. The arbitration will be held at a location in your home town area if possible, unless you and NuLifeSpan Rx both agree to another location or telephonic Arbitration. To initiate Arbitration, you or NuLifeSpan Rx must do the following things:

\r\n

(1) Write a demand for Arbitration. The demand must include a description of the Claim and the amount of damages sought to be recovered. You can find a copy of a Demand for Arbitration at www.jamsadr.com.

\r\n

(2) Send three copies of the Demand for Arbitration, plus the appropriate filing fee to: JAMS [to your local JAMS office] or to JAMS, 620 Eighth Ave., 34th Floor, New York, NY 10018.

\r\n

(3) Send one copy of the Demand for Arbitration to the other party.

\r\n

Special rules in the Arbitration Proceeding. (i) Except for errors of law, the arbitrator’s decision is final and binding on all parties and may be enforced in any Federal or State court that has jurisdiction. (ii) Neither you nor NuLifeSpan Rx shall be entitled to join or consolidate claims in Arbitration by or against other individuals or entities, or arbitrate any claim as a representative member of a class or in a private attorney general capacity.

\r\n

THIS MEANS THAT YOU WAIVE YOUR RIGHT TO INITIATE OR PARTICIPATE IN ANY CLASS OR CONSOLIDATED ACTION WHATSOEVER.

\r\n

Accordingly, you and NuLifeSpan Rx agree that the JAMS Class Action Procedures do not apply to our Arbitration. A court may sever any portion of this dispute resolution provision if it finds such unenforceable, except for the prohibition on class, representative and private attorney general arbitrations. Notwithstanding the obligation to arbitrate all Claims under these Terms and Conditions, you may assert an individual Claim in small claims court in lieu of Arbitration.

\r\n

IF YOU ARE A CONSUMER, HOWEVER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

Severability and Enforceability

\r\n

If any provision or portion of these Terms and Conditions is held illegal, invalid, or unenforceable (in whole or in part) it will not affect the legality, validity or enforceability of any other provisions or portions of these Terms and Conditions and will be modified to the minimum extent necessary to correct any deficiencies or replaced with a provision which is as close as is legally permissible to the provision found invalid or unenforceable.

\r\n

Termination/Exclusion/Waiver

\r\n

We reserve the right, in our sole discretion, to revoke any and all privileges associated with accessing and/or using the Services, and to take any other action we deem appropriate. We may terminate or suspend your use of the Services, for no reason or any reason whatsoever, including improper use of the Services or failure to comply with these Terms and Conditions. Our failure to enforce any term or condition of these Terms and Conditions shall not constitute a waiver ‎of any such term or condition, unless we provide such waiver expressly and in writing to ‎you.

\r\n

IF YOU ARE A CONSUMER, HOWEVER, THIS PROVISION SHALL NOT BE ‎CONSTRUED TO LIMIT YOUR RIGHTS UNDER CONSUMER PROTECTION LAWS OF ‎YOUR STATE OF RESIDENCE AS SET FORTH IN THE SECTION TITLED “CONSUMER PROTECTION NOTICE.”

\r\n

General

\r\n

We may assign, novate or subcontract any or all of our rights and obligations under these Terms and Conditions at any time.

\r\n

You acknowledge and agree that any questions, testimonials, comments, suggestions, ideas or other information provided by you to NuLifeSpan Rx shall become the sole property of us, with no obligation of confidentiality. NuLifeSpan Rx shall be entitled to the unrestricted use and dissemination of these submissions for any purpose, commercial or otherwise without any acknowledgement of or compensation to you.

\r\n

Glic Health LLC is the Administrator of the NuLifeSpan Rx prescription discount program with its office located at One Marina Park Drive, Suite 1410, Boston MA 02210. Toll Free at (844) 944-4542 and email at support@glichealth.com

\r\n

If you have any questions regarding these Terms and Conditions, please contact NuLifeSpan Rx at: PO Box 1703, Allen, TX 75013, or by e-mail: support@nulifespanrx.com

\r\n
\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-terms',\r\n templateUrl: './terms.component.html',\r\n styleUrls: ['./terms.component.scss']\r\n})\r\nexport class TermsComponent implements OnInit {\r\n public date: any;\r\n constructor() {\r\n this.date = new Date();\r\n // let latest_date = this.datepipe.transform(this.date, 'yyyy-MM-dd');\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: true,\r\n\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'ordinalDate'\r\n})\r\nexport class OrdinalDatePipe implements PipeTransform {\r\n transform(value: Date): string {\r\n if (!value) {\r\n return '';\r\n }\r\n let months= [\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\r\n \"August\",\"September\",\"October\",\"November\",\"December\"]\r\n return `${months[value.getMonth()]} ${value.getDate()}${this.nth(value.getDate())}, ${value.getFullYear()}`;\r\n }\r\n\r\n nth(d) {\r\n if (d > 3 && d < 21) return 'th'; \r\n switch (d % 10) {\r\n case 1: return \"st\";\r\n case 2: return \"nd\";\r\n case 3: return \"rd\";\r\n default: return \"th\";\r\n }\r\n}\r\n}"],"sourceRoot":""}