We use cookies to enhance your on-site experience. By continuing, you agree to our use of cookies.
\n
\n
\n \n
\n
\n
\n\n'})],e)}()},"./src/components/guarantee-sub-ds/guarantee-sub-ds.ts":(e,t,n)=>{n.r(t),n.d(t,{GuaranteeSubDsComponent:()=>a});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(){this.yesButtonText="YES I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobileText="YES I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobileText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButton="YES I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButton="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobile="YES I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobile="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.buttonList=[{buttonId:"AmazonPayButton",walletId:"walletWidgetDiv",isPlaceOrder:!0}],this.component_type=1,this.button_emitter=new o.EventEmitter,this.amazonPaymentEmitter=new o.EventEmitter,this.showImage=!0,this.isAmazon=!1,this.isPlaceOrder=!0,this.AmazonPayAuthorized=!1,this.guaranteeImg="https://images.thenewgutfix.com/90_day.png",this.text="Hello World"}return e.prototype.nextPage=function(e){this.button_value=!!e,this.button_emitter.emit(this.button_value)},i([(0,o.Output)(),r("design:type",o.EventEmitter)],e.prototype,"button_emitter",void 0),i([(0,o.Output)(),r("design:type",o.EventEmitter)],e.prototype,"amazonPaymentEmitter",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"showImage",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"isAmazon",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"isPlaceOrder",void 0),i([(0,o.Input)(),r("design:type",Object)],e.prototype,"amazonButton",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"AmazonPayAuthorized",void 0),e=i([(0,o.Component)({selector:"guarantee-sub-ds",template:'\n\n\n \n \x3c!-- First step button, only shown IF amazon is authorized already, will reander wallet on click --\x3e\n \n\n \n \n \n \x3c!-- Amazon Pay Wallet Widget --\x3e\n \n \n \n \n\n \x3c!-- amazon place order button, place action here to pay and proceed--\x3e\n \n\n
\n As always, you\'re protected by our 100% Money-Back Guarantee.\n That means you have a full 90 days to try any Gundry MD product,\n and experience the amazing difference for yourself completely risk-free.\n
\n
\n
\n \n
\n
\n\n'}),r("design:paramtypes",[])],e)}()},"./src/components/guarantee/guarantee.ts":(e,t,n)=>{n.r(t),n.d(t,{GuaranteeComponent:()=>s});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./src/providers/amazon-pay/amazonPay.ts"),r=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(){function e(e){this.amazonPay=e,this.component_type=1,this.yesButtonText="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobileText="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobileText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButton="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButton="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobile="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobile="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.isAmazon=!1,this.isPlaceOrder=!0,this.showImage=!0,this.buttonId="",this.walletId="",this.button_emmiter=new o.EventEmitter,this.amazonPaymentEmitter=new o.EventEmitter,this.AmazonPayAuthorized=!1,this.guaranteeImg="https://images.thenewgutfix.com/90_day.png"}return e.prototype.nextPage=function(e){this.button_value=!!e,this.button_emmiter.emit(this.button_value)},e.prototype.payWithAmazon=function(){this.amazonPaymentEmitter.emit()},r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonMobileText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonMobileText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButton",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButton",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonMobile",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonMobile",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"isAmazon",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"isPlaceOrder",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showImage",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"buttonId",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"walletId",void 0),r([(0,o.Output)(),a("design:type",o.EventEmitter)],e.prototype,"button_emmiter",void 0),r([(0,o.Output)(),a("design:type",o.EventEmitter)],e.prototype,"amazonPaymentEmitter",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"amazonButton",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"AmazonPayAuthorized",void 0),e=r([(0,o.Component)({selector:"guarantee",template:'\n\n
\n \n \n \n \n \n \n \n \n
\n \n\n\n \n\n
\n
\n
\n \n\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n As always, you\'re protected by our 100% Money-Back Guarantee. That means you have a full 90 days to try any Gundry MD product, and experience the amazing difference for yourself completely risk-free.\n
\n'}),a("design:paramtypes",[o.ElementRef])],e)}()},"./src/components/page-footer/page-footer-base.ts":(e,t,n)=>{n.r(t),n.d(t,{PageFooterComponentBase:()=>r});var o=n("./node_modules/console-browserify/index.js"),i="footer",r=function(){return function(e,t){var n=this;this.sanitizer=e,this.contentApi=t,this.IS_ENABLED_CMS=window.process_env.IS_ENABLED_CMS,this.pageContent="",this.IS_ENABLED_CMS&&this.contentApi.getPageContent(i).subscribe(function(e){if(e&&e.content){var t=e.content;return n.pageContent=n.sanitizer.bypassSecurityTrustHtml(t),o.log("this.pageContent",n.pageContent)}n.IS_ENABLED_CMS=!1})}}()},"./src/components/page-footer/page-footer.ts":(e,t,n)=>{n.r(t),n.d(t,{PageFooterComponent:()=>d});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./node_modules/@angular/platform-browser/esm5/platform-browser.js"),r=n("./src/components/page-footer/page-footer-base.ts"),a=n("./src/providers/touchcr-api-content/touchcr-api-content.ts"),s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.sanitizer=t,o.contentApi=n,o}return s(t,e),t=l([(0,o.Component)({selector:"page-footer",template:'
'}),c("design:paramtypes",[i.DomSanitizer,a.TouchcrApiContentProvider])],t)}(r.PageFooterComponentBase)},"./src/components/page-header/page-header-base.ts":(e,t,n)=>{n.r(t),n.d(t,{PageHeaderComponentBase:()=>r});var o=n("./node_modules/console-browserify/index.js"),i="header",r=function(){return function(e,t){var n=this;this.sanitizer=e,this.contentApi=t,this.IS_ENABLED_CMS=window.process_env.IS_ENABLED_CMS,this.pageContent="",this.IS_ENABLED_CMS&&this.contentApi.getPageContent(i).subscribe(function(e){if(e&&e.content){var t=e.content;return n.pageContent=n.sanitizer.bypassSecurityTrustHtml(t),o.log("this.pageContent",n.pageContent)}n.IS_ENABLED_CMS=!1})}}()},"./src/components/page-header/page-header.ts":(e,t,n)=>{n.r(t),n.d(t,{PageHeaderComponent:()=>d});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./node_modules/@angular/platform-browser/esm5/platform-browser.js"),r=n("./src/components/page-header/page-header-base.ts"),a=n("./src/providers/touchcr-api-content/touchcr-api-content.ts"),s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.sanitizer=t,o.contentApi=n,o}return s(t,e),t=l([(0,o.Component)({selector:"page-header",template:'
\n
\n \n
\n
\n \n TouchCR Generic Funnel template\n \n
\n
\n\n
\n \n
'}),c("design:paramtypes",[i.DomSanitizer,a.TouchcrApiContentProvider])],t)}(r.PageHeaderComponentBase)},"./src/components/payment-form/payment-form-base.ts":(e,t,n)=>{n.r(t),n.d(t,{PaymentFormComponentBase:()=>c});var o,i=n("./node_modules/@angular/core/esm5/core.js"),r=n("./node_modules/@angular/forms/esm5/forms.js"),a=n("./node_modules/ionic-angular/index.js"),s=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},l=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};!function(e){e[e.NUMBER="number"]="NUMBER",e[e.CODE="code"]="CODE",e[e.EXP_MONTH="expmonth"]="EXP_MONTH",e[e.EXP_YEAR="expyear"]="EXP_YEAR"}(o||(o={}));var c=function(){function e(t){this.ccProvider=t,this.FIELDS=o,this.card=e.DEFAULT_CARD,this.firstValidation=!0,this.cardDetails={},this.submittedPaymentForm=!1,this.monthArray=[],this.yearArray=[],this.linkForm=new i.EventEmitter}return e.prototype.ngOnInit=function(){var e=this;setTimeout(function(){e.paymentForm.controls[e.FIELDS.NUMBER].setValidators([e.cardNumberValidator(e),e.cardTypeValidator(e),r.Validators.required]),e.paymentForm.controls[e.FIELDS.EXP_MONTH].setValidators([e.expirationDateValidator(e),r.Validators.required]),e.paymentForm.controls[e.FIELDS.EXP_YEAR].setValidators([e.expirationDateValidator(e),r.Validators.required]),e.linkForm.emit(e.paymentForm)},0)},e.prototype.findCard=function(){var t=this.ccProvider.getCards(this.removeNonNumberCharacters(String(this.cardDetails.card)));1===t.length?this.card=t[0]:this.card=e.DEFAULT_CARD,this.formatInputData(this.FIELDS.NUMBER)},e.prototype.formatInputData=function(e){if(this.FIELDS.hasOwnProperty(e))if(e===this.FIELDS.NUMBER){var t=this.removeNonNumberCharacters(String(this.cardDetails.card)),n=[];if(t.length>0)for(var i=t,r=0;r0&&n.push(s[0]),i=i.substring(this.card.gaps[r])}this.paymentForm.controls[this.FIELDS.NUMBER].setValue(n.join(" "))}else e===o.CODE&&this.paymentForm.controls[this.FIELDS.CODE].setValue(this.removeNonNumberCharacters(String(this.cardDetails.cardccv)))},e.prototype.removeNonNumberCharacters=function(e){return e?e.replace(/\D/g,""):e},e.prototype.cardTypeValidator=function(e){return function(t){return e.ccProvider.isTypeValid(String(e.card.type))?null:{invalidType:{value:t.value}}}},e.prototype.cardNumberValidator=function(e){return function(t){return e.ccProvider.isNumberValid(e.removeNonNumberCharacters(String(e.cardDetails.card)),e.card.numberLength)?null:{invalidNumber:{value:t.value}}}},e.prototype.expirationDateValidator=function(e){return function(t){if(e.firstValidation){e.firstValidation=!e.firstValidation;var n=t.parent;n.controls[e.FIELDS.EXP_MONTH]===t?n.controls[e.FIELDS.EXP_YEAR].updateValueAndValidity():n.controls[e.FIELDS.EXP_YEAR]===t&&n.controls[e.FIELDS.EXP_MONTH].updateValueAndValidity(),e.firstValidation=!e.firstValidation}return e.ccProvider.isExpirationDateValid(String(e.cardDetails.expmonth),String(e.cardDetails.expyear))?null:{cardExpired:{value:t.value}}}},e.DEFAULT_CARD={gaps:[4,4,4,4],numberLength:16,codeLength:3},s([(0,i.ViewChild)("paymentForm"),l("design:type",r.NgForm)],e.prototype,"paymentForm",void 0),s([(0,i.Input)(),l("design:type",a.Content)],e.prototype,"mContent",void 0),s([(0,i.Input)(),l("design:type",Object)],e.prototype,"cardDetails",void 0),s([(0,i.Input)(),l("design:type",Boolean)],e.prototype,"submittedPaymentForm",void 0),s([(0,i.Input)(),l("design:type",Array)],e.prototype,"monthArray",void 0),s([(0,i.Input)(),l("design:type",Array)],e.prototype,"yearArray",void 0),s([(0,i.Output)(),l("design:type",Object)],e.prototype,"linkForm",void 0),e}()},"./src/components/payment-form/payment-form-spanish.ts":(e,t,n)=>{n.r(t),n.d(t,{PaymentFormSpanishComponent:()=>u});var o,i=n("./node_modules/@angular/core/esm5/core.js"),r=n("./src/components/payment-form/payment-form-base.ts"),a=n("./src/providers/credit-card/credit-card.ts"),s=n("./node_modules/@angular/forms/esm5/forms.js"),l=n("./src/providers/checkout-language/checkout-language.ts"),c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},p=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};!function(e){e[e.NUMBER="number"]="NUMBER",e[e.CODE="code"]="CODE",e[e.EXP_MONTH="expmonth"]="EXP_MONTH",e[e.EXP_YEAR="expyear"]="EXP_YEAR"}(o||(o={}));var u=function(e){function t(t){var n=e.call(this,t)||this;return n.ccProvider=t,n.textPattern="[,.[/A-Za-z0-9 -]*",n.nameOnCardPattern="[,.&[/A-Za-z0-9 -]*",n.cardName="",n.cardType="",n.language="spanish",n.cardBrands=[],n.errorImage="assets/img/icon-warning-pointer.gif",n.paymentCard="assets/img/payment-card.png",n.languageSet=l.CheckoutLanguageProvider.getCheckoutLanguages(n.language),n.cardBrands=Object.keys(a.CreditCardProvider.CARDS).map(function(e){return{type:a.CreditCardProvider.CARDS[e].type,name:"American Express"==a.CreditCardProvider.CARDS[e].name?"Amex":a.CreditCardProvider.CARDS[e].name}}),n}return c(t,e),t.prototype.ngOnInit=function(){var e=this;setTimeout(function(){e.languageSet=l.CheckoutLanguageProvider.getCheckoutLanguages(e.language),e.paymentFormSpanish.controls[e.FIELDS.NUMBER].setValidators([e.cardNumberValidator(e),e.cardTypeValidator(e),e.cardTypeNumberValidator(e),s.Validators.required]),e.paymentFormSpanish.controls[e.FIELDS.EXP_MONTH].setValidators([e.expirationDateValidator(e),s.Validators.required]),e.paymentFormSpanish.controls[e.FIELDS.EXP_YEAR].setValidators([e.expirationDateValidator(e),s.Validators.required]),e.linkForm.emit(e.paymentFormSpanish)},0)},t.prototype.cardTypeNumberValidator=function(e){return function(t){return e.cardType===e.card.type?null:{invalidTypeNumber:{value:t.value}}}},t.prototype.forceTypeNumberValidation=function(){this.paymentFormSpanish.controls[this.FIELDS.NUMBER].updateValueAndValidity()},t.prototype.formatInputData=function(e){this.FIELDS.hasOwnProperty(e)&&(e===this.FIELDS.NUMBER?this.paymentFormSpanish.controls[this.FIELDS.NUMBER].setValue(this.removeNonNumberCharacters(String(this.cardDetails.card))):e===o.CODE&&this.paymentFormSpanish.controls[this.FIELDS.CODE].setValue(this.removeNonNumberCharacters(String(this.cardDetails.cardccv))))},d([(0,i.ViewChild)("paymentFormSpanish"),p("design:type",s.NgForm)],t.prototype,"paymentFormSpanish",void 0),d([(0,i.Input)(),p("design:type",String)],t.prototype,"cardName",void 0),d([(0,i.Input)(),p("design:type",String)],t.prototype,"cardType",void 0),d([(0,i.Input)(),p("design:type",String)],t.prototype,"language",void 0),t=d([(0,i.Component)({selector:"payment-form-spanish",template:'\n Credit card\n\n\n\n \n \n\n \n\n'}),p("design:paramtypes",[a.CreditCardProvider])],t)}(r.PaymentFormComponentBase)},"./src/components/payment-form/payment-form.ts":(e,t,n)=>{n.r(t),n.d(t,{PaymentFormComponent:()=>p});var o,i=n("./node_modules/@angular/core/esm5/core.js"),r=n("./src/components/payment-form/payment-form-base.ts"),a=n("./src/providers/credit-card/credit-card.ts"),s=n("./node_modules/@angular/forms/esm5/forms.js"),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};!function(e){e[e.NUMBER="number"]="NUMBER",e[e.CODE="code"]="CODE",e[e.EXP_MONTH="expmonth"]="EXP_MONTH",e[e.EXP_YEAR="expyear"]="EXP_YEAR"}(o||(o={}));var p=function(e){function t(t){var n=e.call(this,t)||this;return n.ccProvider=t,n.textPattern="[,.[/A-Za-z0-9 -]*",n.nameOnCardPattern="[,.&[/A-Za-z0-9 -]*",n.cardName="",n.cardType="",n.cardBrands=[],n.errorImage="assets/img/icon-warning-pointer.gif",n.paymentCard="assets/img/payment-card.png",n.cardBrands=Object.keys(a.CreditCardProvider.CARDS).map(function(e){return{type:a.CreditCardProvider.CARDS[e].type,name:"American Express"==a.CreditCardProvider.CARDS[e].name?"Amex":a.CreditCardProvider.CARDS[e].name}}),n}return l(t,e),t.prototype.ngOnInit=function(){var e=this;setTimeout(function(){e.paymentForm.controls[e.FIELDS.NUMBER].setValidators([e.cardNumberValidator(e),e.cardTypeValidator(e),e.cardTypeNumberValidator(e),s.Validators.required]),e.paymentForm.controls[e.FIELDS.EXP_MONTH].setValidators([e.expirationDateValidator(e),s.Validators.required]),e.paymentForm.controls[e.FIELDS.EXP_YEAR].setValidators([e.expirationDateValidator(e),s.Validators.required]),e.linkForm.emit(e.paymentForm)},0)},t.prototype.cardTypeNumberValidator=function(e){return function(t){return e.cardType===e.card.type?null:{invalidTypeNumber:{value:t.value}}}},t.prototype.forceTypeNumberValidation=function(){this.paymentForm.controls[this.FIELDS.NUMBER].updateValueAndValidity()},t.prototype.formatInputData=function(e){this.FIELDS.hasOwnProperty(e)&&(e===this.FIELDS.NUMBER?this.paymentForm.controls[this.FIELDS.NUMBER].setValue(this.removeNonNumberCharacters(String(this.cardDetails.card))):e===o.CODE&&this.paymentForm.controls[this.FIELDS.CODE].setValue(this.removeNonNumberCharacters(String(this.cardDetails.cardccv))))},c([(0,i.Input)(),d("design:type",String)],t.prototype,"cardName",void 0),c([(0,i.Input)(),d("design:type",String)],t.prototype,"cardType",void 0),t=c([(0,i.Component)({selector:"payment-form",template:'\n Credit card\n\n\n\n \n \n\n \n\n'}),d("design:paramtypes",[a.CreditCardProvider])],t)}(r.PaymentFormComponentBase)},"./src/components/pp-upsell-product-box-conversion/pp-upsell-product-box-conversion.ts":(e,t,n)=>{n.r(t),n.d(t,{PPUpsellProductBoxConversionComponent:()=>a});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(){this.title="",this.showTitle=!0,this.image="assets/img/No-Image-Available.jpg",this.imageAlt="",this.subTitle="",this.regularPrice=0,this.instantSavings=0,this.yourPrice=0,this.regularPriceText="Regular Price",this.instantSavingsText="Instant Savings",this.yourPriceText="Your Price",this.auxImg=null,this.auxImgAlt="",this.iso3Code="GBP",this.disclaimer="*This is an estimated conversion rate provided for your convenience. Your actual conversion rate will be determined by your bank.",this.rateConversion=.84}return i([(0,o.Input)(),r("design:type",String)],e.prototype,"title",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"showTitle",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"image",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"imageAlt",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"subTitle",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"regularPrice",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"instantSavings",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"yourPrice",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"regularPriceText",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"instantSavingsText",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"yourPriceText",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"auxImg",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"auxImgAlt",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"iso3Code",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"disclaimer",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"rateConversion",void 0),e=i([(0,o.Component)({selector:"pp-upsell-product-box-conversion",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n\n'}),r("design:paramtypes",[])],e)}()},"./src/components/upsell-downsell-product-box-conversion/upsell-downsell-product-box-conversion.ts":(e,t,n)=>{n.r(t),n.d(t,{UpsellDownsellProductBoxConversionComponent:()=>a});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(){this.yesButtonTextProduct="Yes! Add to My Order",this.noButtonTextProduct="NO THANKS",this.nextPageEvent=new o.EventEmitter,this.amazonPaymentEmitter=new o.EventEmitter,this.showImage=!0,this.isAmazon=!1,this.isPlaceOrder=!0,this.AmazonPayAuthorized=!1,this.i=0,this.iso3Code="GBP",this.disclaimer="*This is an estimated conversion rate provided for your convenience. Your actual conversion rate will be determined by your bank.",this.rateConversion=.84}return e.prototype.nextPage=function(e){this.nextPageEvent.emit(e)},e.prototype.payWithAmazon=function(){this.amazonPaymentEmitter.emit()},i([(0,o.Input)(),r("design:type",String)],e.prototype,"yesButtonTextProduct",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"noButtonTextProduct",void 0),i([(0,o.Input)(),r("design:type",Object)],e.prototype,"product",void 0),i([(0,o.Output)(),r("design:type",o.EventEmitter)],e.prototype,"nextPageEvent",void 0),i([(0,o.Output)(),r("design:type",o.EventEmitter)],e.prototype,"amazonPaymentEmitter",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"showImage",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"isAmazon",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"isPlaceOrder",void 0),i([(0,o.Input)(),r("design:type",Object)],e.prototype,"amazonButton",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"AmazonPayAuthorized",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"i",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"iso3Code",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"disclaimer",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"rateConversion",void 0),e=i([(0,o.Component)({selector:"upsell-downsell-product-box-conversion",template:'\n \n \n \n \n \n \n
\n \n \n \n \n'}),s("design:paramtypes",[i.FunnelSettingsExtenderProvider,r.UrlsProvider])],e)}()},"./src/components/upsell-guarantee/upsell-guarantee.ts":(e,t,n)=>{n.r(t),n.d(t,{PPUpsellGuaranteeComponent:()=>s});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./src/providers/amazon-pay/amazonPay.ts"),r=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(){function e(e){this.amazonPay=e,this.yesButtonText="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobileText="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobileText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButton="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButton="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobile="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobile="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.buttonYes="",this.showButtonYes=!0,this.buttonNo="",this.showButtonNo=!0,this.description="",this.showDescription=!1,this.image="",this.imageAlt="",this.showImage=!0,this.isAmazon=!1,this.AmazonPayAuthorized=!1,this.showModalButton=!1,this.eventEmitter=new o.EventEmitter,this.amazonPaymentEmitter=new o.EventEmitter,this.buttonValue=!1}return e.prototype.nextPage=function(e){this.buttonValue=!!e,this.eventEmitter.emit(this.buttonValue)},e.prototype.payWithAmazon=function(){this.amazonPaymentEmitter.emit()},e.prototype.showDialog=function(){var e=document.getElementById("modal_1");e.classList.remove("hhidden"),e.classList.add("sshow"),document.body.classList.add("ghModel-open")},r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonMobileText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonMobileText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButton",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButton",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonMobile",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonMobile",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"buttonYes",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showButtonYes",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"buttonNo",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showButtonNo",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"description",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showDescription",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"image",void 0),r([(0,o.Input)(),a("design:type",String)],e.prototype,"imageAlt",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showImage",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"isAmazon",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"amazonButton",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"AmazonPayAuthorized",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showModalButton",void 0),r([(0,o.Output)(),a("design:type",o.EventEmitter)],e.prototype,"eventEmitter",void 0),r([(0,o.Output)(),a("design:type",o.EventEmitter)],e.prototype,"amazonPaymentEmitter",void 0),e=r([(0,o.Component)({selector:"upsell-guarantee",template:'\n \n \n \n\n\n \n\n \x3c!-- this is here incase the user refreshes the page, it will force the user to re-authtenticate with Amazon Pay --\x3e\n \n\n \x3c!-- First step button, only shown IF amazon is authorized already, will reander wallet on click --\x3e\n \n\n \x3c!-- amazon place order button, place action here to pay and proceed--\x3e\n \n\n\n \n \n \n \x3c!-- Amazon Pay Wallet Widget --\x3e\n \n \n \n \n\n \n \n \n
{{ description }}
\n \n \n \n \n \n \n \n\n'}),a("design:paramtypes",[i.AmazonPay])],e)}()},"./src/components/upsell-product-box-full-conversion/upsell-product-box-full-conversion.ts":(e,t,n)=>{n.r(t),n.d(t,{PPUpsellProductBoxFullConversionComponent:()=>a});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(){this.title="",this.image="assets/img/No-Image-Available.jpg",this.imageAlt="",this.additionalImage="assets/img/gundry-body.png",this.regularPrice=0,this.instantSavings=0,this.yourPrice=0,this.regularPriceText="Regular Price",this.instantSavingsText="Instant Savings",this.yourPriceText="Your Price",this.iso3Code="GBP",this.disclaimer="*This is an estimated conversion rate provided for your convenience. Your actual conversion rate will be determined by your bank.",this.rateConversion=.84}return i([(0,o.Input)(),r("design:type",String)],e.prototype,"title",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"image",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"imageAlt",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"additionalImage",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"regularPrice",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"instantSavings",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"yourPrice",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"regularPriceText",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"instantSavingsText",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"yourPriceText",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"iso3Code",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"disclaimer",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"rateConversion",void 0),e=i([(0,o.Component)({selector:"upsell-product-box-full-conversion",template:'\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n\n'}),r("design:paramtypes",[])],e)}()},"./src/components/upsell-product-box/upsell-product-box.ts":(e,t,n)=>{n.r(t),n.d(t,{UpsellProductBoxComponent:()=>a});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(){this.yesButtonText="YES I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobileText="YES I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobileText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.isAmazon=!1,this.isPlaceOrder=!0,this.showImage=!0,this.main_title="Title",this.subtitle="Subtitle",this.product_image="https://images.thenewgutfix.com/Total_Restore.png",this.reg_price=100,this.product_savings=10,this.special_price=114,this.AmazonPayAuthorized=!1,this.component_type=1,this.button_emitter=new o.EventEmitter,this.amazonPaymentEmitter=new o.EventEmitter,this.text="Hello World"}return e.prototype.nextPage=function(e){this.button_value=!!e,this.button_emitter.emit(this.button_value)},e.prototype.payWithAmazon=function(){this.amazonPaymentEmitter.emit()},i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"isAmazon",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"isPlaceOrder",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"showImage",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"main_title",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"subtitle",void 0),i([(0,o.Input)(),r("design:type",String)],e.prototype,"product_image",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"reg_price",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"product_savings",void 0),i([(0,o.Input)(),r("design:type",Number)],e.prototype,"special_price",void 0),i([(0,o.Input)(),r("design:type",Object)],e.prototype,"buttonId",void 0),i([(0,o.Input)(),r("design:type",Object)],e.prototype,"walletId",void 0),i([(0,o.Input)(),r("design:type",Object)],e.prototype,"amazonButton",void 0),i([(0,o.Input)(),r("design:type",Boolean)],e.prototype,"AmazonPayAuthorized",void 0),i([(0,o.Output)(),r("design:type",o.EventEmitter)],e.prototype,"button_emitter",void 0),i([(0,o.Output)(),r("design:type",o.EventEmitter)],e.prototype,"amazonPaymentEmitter",void 0),e=i([(0,o.Component)({selector:"upsell-product-box",template:'\n
\n Right now, I want to show you a unique opportunity to get the most out\n of Total Restore – and save big at the same time. \n
\n
\n
\n\n'}),r("design:paramtypes",[])],e)}()},"./src/components/yes-no-upsell/yes-no-upsell.ts":(e,t,n)=>{n.r(t),n.d(t,{YesNoUpsellComponent:()=>s});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./src/providers/amazon-pay/amazonPay.ts"),r=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(){function e(e){this.amazonPay=e,this.yesButtonText="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobileText="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobileText="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButton="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButton="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.yesButtonMobile="YES! I WANT THIS SPECIAL ADDED TO MY ORDER",this.noButtonMobile="NO THANKS, I UNDERSTAND THAT I WON'T SEE THIS OFFER AGAIN",this.isAmazon=!1,this.showImage=!0,this.component_type=1,this.button_emitter=new o.EventEmitter,this.amazonPaymentEmitter=new o.EventEmitter,this.AmazonPayAuthorized=!1,this.guaranteeImg="https://images.thenewgutfix.com/90_day.png"}return e.prototype.nextPage=function(e){this.button_value=!!e,this.button_emitter.emit(this.button_value)},e.prototype.payWithAmazon=function(){this.amazonPaymentEmitter.emit()},r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonMobileText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonMobileText",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButton",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButton",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"yesButtonMobile",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"noButtonMobile",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"isAmazon",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"showImage",void 0),r([(0,o.Output)(),a("design:type",o.EventEmitter)],e.prototype,"button_emitter",void 0),r([(0,o.Output)(),a("design:type",o.EventEmitter)],e.prototype,"amazonPaymentEmitter",void 0),r([(0,o.Input)(),a("design:type",Object)],e.prototype,"amazonButton",void 0),r([(0,o.Input)(),a("design:type",Boolean)],e.prototype,"AmazonPayAuthorized",void 0),e=r([(0,o.Component)({selector:"yes-no-upsell",template:'\n
\n
\n\n\n \x3c!-- this is here incase the user refreshes the page, it will force the user to re-authtenticate with Amazon Pay --\x3e\n \n\n \x3c!-- First step button, only shown IF amazon is authorized already, will reander wallet on click --\x3e\n \n \n \x3c!-- amazon place order button, place action here to pay and proceed--\x3e\n \n \n \n \n \n \n \x3c!-- Amazon Pay Wallet Widget --\x3e\n \n \n \n \n \n\n
\n
\n\n\n\n
\n
\n \n \n \x3c!--\n\n \n \n --\x3e \n\n
\n\n
\n\n \n \n \n\n \x3c!--\n \n \n--\x3e\n
\n
\n\n'}),a("design:paramtypes",[i.AmazonPay])],e)}()},"./src/directives/directives.module.ts":(e,t,n)=>{n.r(t),n.d(t,{DirectivesModule:()=>s});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./src/directives/move-on-change-length/move-on-change-length.ts"),r=n("./src/directives/fix-scroll-on-mobile-ios/fix-scroll-on-mobile-ios.ts"),a=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},s=function(){function e(){}return e=a([(0,o.NgModule)({declarations:[i.MoveOnChangelengthDirective,r.FixScrollOnMobileiOSDirective],imports:[],exports:[i.MoveOnChangelengthDirective,r.FixScrollOnMobileiOSDirective]})],e)}()},"./src/directives/fix-scroll-on-mobile-ios/fix-scroll-on-mobile-ios.ts":(e,t,n)=>{n.r(t),n.d(t,{FixScrollOnMobileiOSDirective:()=>c});var o=n("./node_modules/@angular/core/esm5/core.js"),i=n("./node_modules/ionic-angular/index.js"),r=n("./node_modules/console-browserify/index.js"),a=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},s=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function e(){this.position=window.innerHeight*t.COORDINATE_MULTIPLIER,this.windowWidth=window.innerWidth,this.scrollContentElement=null}var t;return t=e,e.prototype.ngOnInit=function(){this.mContent&&(this.scrollContentElement=this.mContent._elementRef.nativeElement.getElementsByClassName(t.SCROLL_CONTENT_CLASS)[0])},e.prototype.onResize=function(){this.windowWidth!=window.innerWidth&&(this.windowWidth=window.innerWidth,this.position=window.innerHeight*t.COORDINATE_MULTIPLIER)},e.prototype.onFocus=function(e){this.setCorrectPosition(e)},e.prototype.setCorrectPosition=function(e){var n=e.getAttribute("type");this.isAppleMobileDevice()&&(this.iOSversion()[0]<=14||this.iOSversion()[0]<=15&&this.iOSversion()[1]<=3)&&t.TAGS_TO_MONITOR.indexOf(e.tagName.toString().toLowerCase())>-1&&(n&&t.TYPES_OF_INPUT_TO_IGNORE.indexOf(n.toString().toLowerCase())<0||!n)&&(e.scrollIntoView({behavior:"smooth",block:"start"}),this.scrollContentElement&&(this.scrollContentElement.scrollTop+=this.position),setTimeout(function(){try{window.scroll(0,0)}catch(e){r.log(e)}e.style.webkitTransform="scale(0.999)",setTimeout(function(){e.style.webkitTransform="scale(1.0)"},100)},200))},e.prototype.isAppleMobileDevice=function(){var e,n,o=!1,i=navigator.platform.toString().toLowerCase();try{for(var r=l(t.DEVICE_TYPES),a=r.next();!a.done;a=r.next()){var s=a.value;if(i.indexOf(s)>-1){o=!0;break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return o},e.prototype.iOSversion=function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]}},e.TAGS_TO_MONITOR=["input","select","textarea"],e.TYPES_OF_INPUT_TO_IGNORE=["checkbox","radio","button","file","submit","reset","image"],e.DEVICE_TYPES=["iphone","ipad"],e.COORDINATE_MULTIPLIER=-.15,e.SCROLL_CONTENT_CLASS="scroll-content",a([(0,o.Input)(),s("design:type",i.Content)],e.prototype,"mContent",void 0),a([(0,o.HostListener)("window:resize"),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"onResize",null),a([(0,o.HostListener)("focus",["$event.target"]),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],e.prototype,"onFocus",null),e=t=a([(0,o.Directive)({selector:"[fixScrollOnMobileiOS]"}),s("design:paramtypes",[])],e)}()},"./src/directives/move-on-change-length/move-on-change-length.ts":(e,t,n)=>{n.r(t),n.d(t,{MoveOnChangelengthDirective:()=>d});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=48,s=57,l=96,c=105,d=function(){function e(e,t){this.element=e,this.renderer=t}return e.prototype.onKeyDown=function(e){var t=e.keyCode,n=this.element.nativeElement.children[0],o=this.element.nativeElement.nextElementSibling?this.element.nativeElement.nextElementSibling.children[0]:void 0,i=this.element.nativeElement.previousElementSibling?this.element.nativeElement.previousElementSibling.children[0]:void 0;if(8===t&&(n.attributes.fullFeald.value="0",i&&this.element.nativeElement.attributes.minlength)){var r=Number(this.element.nativeElement.attributes.minlength.value);if(n.value.length===r)(d=this.renderer.selectRootElement(i)).focus(),4===d.value.length&&(d.attributes.fullFeald.value="full")}if((t>=a&&t<=s||t>=l&&t<=c)&&o&&this.element.nativeElement.attributes.maxlength){var d,p=Number(this.element.nativeElement.attributes.maxlength.value);if(n.value.length===p)(d=this.renderer.selectRootElement(o)).focus(),"full"===n.attributes.fullFeald.value&&(d.value=e.key,n.attributes.fullFeald.value="0")}},i([(0,o.HostListener)("keyup",["$event"]),r("design:type",Function),r("design:paramtypes",[KeyboardEvent]),r("design:returntype",void 0)],e.prototype,"onKeyDown",null),e=i([(0,o.Directive)({selector:"[move-on-change-length]"}),r("design:paramtypes",[o.ElementRef,o.Renderer2])],e)}()},"./src/providers/checkout-language/checkout-language.ts":(e,t,n)=>{n.r(t),n.d(t,{CheckoutLanguageProvider:()=>a});var o=n("./node_modules/@angular/core/esm5/core.js"),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(){}return e.getCheckoutLanguages=function(e){return this.languages[e]||this.languages.english},e.languages={english:{breadCrumbsTabsCartContents:"Cart Contents",breadCrumbsTabsCheckout:"Checkout",breadCrumbsTabsConfirmation:"Confirmation",requiredFieldsInstructions:"Required fields are in bold.",safeOrderAnchorText:"Your order is safe and secure",safeOrderAnchorLink:"../safe-order",sectionTitleBillingInformation:'Billing Information',sectionTitleShipping:'Shipping',sectionTitlePaymentInformation:'Payment Information',sectionTitleComments:'Comments',inputLabelFirstName:"First Name",inputLabelLastName:"Last Name",inputLabelPhone:"Phone",inputLabelEmail:"Email",inputLabelConfirmEmail:"Confirm email",inputLabelAddress:"Address",inputLabelAddress2:"Address 2",inputLabelCity:"City",inputLabelZip:"ZIP/Postal Code",inputLabelCountry:"Country",inputLabelState:"State",inputLabelShipToName:"Ship to Name",inputLabelDefaultState:"-Choose a State-",inputLabelShipToDifferentAddress:"Ship to a different address?",shippingMethodDefaultOption:"-Choose a Shipping Method-",shippingMethodUSPSOption:"Standard USPS (2-7 Business Days) - ",priceSectionSubtotal:"Subtotal",priceSectionSavings:"Savings",priceSectionSalesTax:"Sales Tax",priceSectionShipping:"Shipping:",priceSectionCouponDiscount:"Coupon discount",priceSectionTotal:"Total",couponSectionInputLabel:"Coupon code (optional)",couponApplyButtonText:"Apply",amazonContainer1CheckboxLabel:"Required: check box below",amazonContainer2LogOut:"Amazon logout",inputLabelRememberInfo:"Remember my Information",paymentTabTitle:"Credit card",inputLabelPaymentCardName:"Name on Card",inputLabelPaymentCardType:"Card Type",inputLabelPaymentCardNumber:"Card Number",inputLabelPaymentCardExpiration:"Expiration Date",inputLabelPaymentCardExpirationMonth:"Month",inputLabelPaymentCardExpirationYear:"Year",inputLabelPaymentCardCVV2:"CVV2",inputLabelPaymentCardWhatIsCVV2:"What is this?",inputLabelPaymentCardWhatIsCVV2Link:"../what-is-this",commentsSectionText1:"I authorize Gundry MD to charge me for the order total. I further affirm that the name and personal information provided on this form are true and correct. I further declare that I have read, understand and accept Gundry MD's",termsConditionsAnchorText:"Terms and Conditions",termsConditionsLink:"terms",commentsSectionAdditionalText1:"as published on their website. By pressing the Submit Order button below, I agree to pay Gundry MD",commentsSectionText2:"By clicking 'Submit Order', you agree that Nucific has permission to utilize automated technology to call you about our products/services at the phone number(s) above; including any wireless numbers provided. Consent is not mandatory to purchase, and you may place product orders by calling our Customer Support at 888-679-5520 instead of clicking the submit button.",inputLabelSubmitButton:"Submit Order",errorsCheckCouponError:"Sorry, the coupon code you have entered is invalid. Please check the code and try again.",errorsCheckErrorsText:"Please сheck the following errors",errorsFirstNameRequired:"First Name is a required field.",errorsFirstNameInvalid:"First Name contains invalid characters.",errorsLastNameRequired:"Last Name is a required field.",errorsLastNameInvalid:"Last Name contains invalid characters.",errorsPhoneRequired:"Phone is a required field.",errorsPhoneInvalid:"Phone contains invalid characters.",errorsEmailRequired:"Email is a required field.",errorsEmailInvalid:"Email address is invalid.",errorsConfirmEmailRequired:"Confirm Email is a required field.",errorsConfirmEmailInvalid:"Confirm Email address is invalid.",errorsConfirmEmailNotMatching:"Confirm Email does not match Email.",errorsAddressRequired:"Address is a required field.",errorsAddressInvalid:"Address contains invalid characters.",errorsCityRequired:"City is a required field.",errorsCityInvalid:"City contains invalid characters.",errorsZipRequired:"ZIP/Postal Code is a required field.",errorsZipInvalid:"ZIP/Postal Code contains invalid characters.",errorsCountryRequired:"Country is a required field.",errorsStateRequired:"State is a required field.",errorsShipToNameRequired:"Ship to Name is a required field.",errorsShipToNameInvalid:"Ship to Name contains invalid characters.",errorsShippingAddressRequired:"Address is a required field.",errorsShippingAddressInvalid:"Address contains invalid characters.",errorsShippingCityRequired:"City is a required field.",errorsShippingCityInvalid:"City contains invalid characters.",errorsShippingZipRequired:"ZIP/Postal Code is a required field.",errorsShippingZipInvalid:"ZIP/Postal Code contains invalid characters.",errorsShippingCountryRequired:"Country is a required field.",errorsShippingStateRequired:"State is a required field.",errorsPaymentNameRequired:"Name on Card is a required field.",errorsPaymentNameInvalid:"Name on Card contains invalid characters.",errorsPaymentCardRequired:"Card Number is a required field.",errorsPaymentCardInvalid:"Invalid credit card number.",errorsPaymentExpMonthRequired:"Expiration Month is a required field.",errorsPaymentExpYearRequired:"Expiration Year is a required field.",errorsPaymentCardExpired:"Expiration Date is invalid. Card has expired.",errorsPaymentCCV2Required:"CVV2 is a required field.",errorsPaymentCCV2Invalid:"CVV2 is invalid."},spanish:{breadCrumbsTabsCartContents:"Contenido del carrito",breadCrumbsTabsCheckout:"Finalizar compra",breadCrumbsTabsConfirmation:"Confirmación",requiredFieldsInstructions:"Los campos obligatorios están en negrita.",safeOrderAnchorText:"Su pedido es seguro",safeOrderAnchorLink:"../safe-order-spanish",sectionTitleBillingInformation:'Información de Facturación',sectionTitleShipping:'Envío',sectionTitlePaymentInformation:'Información del pago',sectionTitleComments:'Comentarios',inputLabelFirstName:"Nombre",inputLabelLastName:"Apellido",inputLabelPhone:"Teléfono",inputLabelEmail:"Correo Electrónico",inputLabelConfirmEmail:"Confirmar correo electrónico",inputLabelAddress:"Dirección",inputLabelAddress2:"Dirección 2",inputLabelCity:"Ciudad",inputLabelZip:"ZIP/Código postal",inputLabelCountry:"País o Región",inputLabelState:"Estado",inputLabelShipToName:"Envío a nombre",inputLabelDefaultState:"Estado",inputLabelShipToDifferentAddress:"Envia a una dirección diferente?",shippingMethodDefaultOption:"Opción predeterminada del método de envío",shippingMethodUSPSOption:"USPS estándar (2-7 días hábiles) - ",shippingInternationalMethodUSPSOption:"USPS estándar (15-28 días hábiles) - ",priceSectionSubtotal:"Total",priceSectionSavings:"Ahorros",priceSectionSalesTax:"Impuesto de venta",priceSectionShipping:"Envió",priceSectionCouponDiscount:"cupón de descuento",priceSectionTotal:"Total",couponSectionInputLabel:"Código de cupón (opcional)",couponApplyButtonText:"aplicar",amazonContainer1CheckboxLabel:"marque la casilla de abajo",amazonContainer2LogOut:"'Cerrar sesión",inputLabelRememberInfo:"Recuerda mi información",paymentTabTitle:"Tarjeta de crédito",inputLabelPaymentCardName:"Nombre en la tarjeta",inputLabelPaymentCardType:"Tipo de tarjeta",inputLabelPaymentCardNumber:"Número de tarjeta",inputLabelPaymentCardExpiration:"Fecha de caducidad",inputLabelPaymentCardExpirationMonth:"Mes",inputLabelPaymentCardExpirationYear:"Año",inputLabelPaymentCardCVV2:"CVV2",inputLabelPaymentCardWhatIsCVV2:"Que es esto?",inputLabelPaymentCardWhatIsCVV2Link:"../what-is-this-spanish",commentsSectionText1:"Autorizo a Gundry MD a que me cobre el total del pedido. Además, afirmo que el nombre y la información personal proporcionados en este formulario son verdaderos y correctos. Además, declaro que he leído, entiendo y acepto los términos comerciales de Gundry MD's ",termsConditionsAnchorText:"Términos y Condiciones",termsConditionsLink:"terms-spanish",commentsSectionAdditionalText1:"como se publican en su sitio web. Al presionar el botón Enviar pedido a continuación, acepto pagar Gundry MD.",commentsSectionText2:"Al hacer clic en 'Enviar pedido', acepta que Nucific tiene permiso para utilizar tecnología automatizada para llamarlo sobre nuestros productos / servicios al número (s) de teléfono anterior; incluidos los números inalámbricos proporcionados. El consentimiento no es obligatorio para la compra, y puede realizar pedidos de productos llamando a nuestro Servicio de atención al cliente al 888-679-5520 en lugar de hacer clic en el botón Enviar.",inputLabelSubmitButton:"Enviar Pedido",errorsCheckCouponError:"error de cupón",errorsCheckErrorsText:"'error de texto",errorsFirstNameRequired:"Primer nombre requerido",errorsFirstNameInvalid:"Nombre inválido",errorsLastNameRequired:"Apellido requerido",errorsLastNameInvalid:"Apellido inválido",errorsPhoneRequired:"Teléfono requerido",errorsPhoneInvalid:"Teléfono inválido",errorsEmailRequired:"Correo electrónico requerido",errorsEmailInvalid:"Correo electrónico inválido",errorsConfirmEmailRequired:"confirmación de correo electrónico requerido",errorsConfirmEmailInvalid:"confirmación de correo electrónico inválido",errorsConfirmEmailNotMatching:"correo electrónico no coincide",errorsAddressRequired:"Domicilio requerido",errorsAddressInvalid:"Domicilio inválido",errorsCityRequired:"Ciudad requerido",errorsCityInvalid:"Ciudad inválido",errorsZipRequired:"Código postal requerido",errorsZipInvalid:"Código postal inválido",errorsCountryRequired:"País requerido",errorsStateRequired:"Estado requerido",errorsShipToNameRequired:"Enviar a nombre requerido",errorsShipToNameInvalid:"Enviar a nombre inválido",errorsShippingAddressRequired:"dirección de envío requerida",errorsShippingAddressInvalid:"dirección de envío inválido",errorsShippingCityRequired:"ciudad de envío requerida",errorsShippingCityInvalid:"ciudad de envío inválido",errorsShippingZipRequired:"Zip de envío requerido",errorsShippingZipInvalid:"Zip de envío inválido",errorsShippingCountryRequired:"país de envío requerido",errorsShippingStateRequired:"estado de envío requerido ",errorsPaymentNameRequired:"nombre de pago requerido",errorsPaymentNameInvalid:"nombre de pago inválido",errorsPaymentCardRequired:"tarjeta de pago requerida",errorsPaymentCardInvalid:"tarjeta de pago inválido",errorsPaymentExpMonthRequired:"mes de vencimiento requerido",errorsPaymentExpYearRequired:"año de vencimiento requerido",errorsPaymentCardExpired:"tarjeta de pago vencida",errorsPaymentCCV2Required:"CCV2 requerido",errorsPaymentCCV2Invalid:"CCV2 inválido"}},e=i([(0,o.Injectable)(),r("design:paramtypes",[])],e)}()},"./src/providers/constants/constants.ts":(e,t,n)=>{n.r(t),n.d(t,{PARAM:()=>o,OBTCR:()=>i,AOBTCR:()=>r,TBATCR:()=>a,FBTCR:()=>s,ATBATCR:()=>l,AZEMTCR:()=>c,REVTCR:()=>d,YAHTCR:()=>p,AOLTCR:()=>u,AYAHTCR:()=>m,YTTCR:()=>g,TBAMSNTCR:()=>f,ADV:()=>y,ADVERT:()=>h,OPT:()=>v,DBTCR:()=>b,DB:()=>_,RMGEM:()=>I,AOL:()=>C,AFF:()=>S,VMXGUN:()=>w,YHTCR:()=>P,BRIGHTCOVE_CLASS:()=>x,COOKIE_RETURNING_USER:()=>A,COOKIE_GUNDRY_NAME:()=>O,HIDE_ELEMENT_CLASS:()=>T,CITATIONS_ID:()=>R,VSL_CITATIONS_ID:()=>E,SECONDBUTTONYAH:()=>D,STUDY_ID:()=>L,LEARN_ID:()=>j,DISCLAIMER_ID:()=>N,VIDEO_STYLE_REL:()=>M,VIDEO_STYLE_HREF:()=>F,VIDEO_CUSTOM_STYLES:()=>B});var o="n",i="obtcr",r="aobtcr",a="tbatcr",s="fbtcr",l="atbatcr",c="azemtcr",d="revtcr",p="yahtcr",u="aoltcr",m="ayahtcr",g="yttcr",f="tbamsntcr",y="Advertorial",h="Advertisement",v="opt",b="dbtcr",_="db",I="rmgem",C="aol",S="aff",w="vmxgun",P="yhtcr",x="brightcove-player-Gundry-MD",A="returningUser",O="gundryMDUserVisited",T="hide-element",R="citations-list",E="vslCitations-link",D="secondButtonYah",L="study-paragraph",j="learn-section",N="revcontent-disclaimer",M="stylesheet",F="/assets/styles/html5-skin.min.css",B=".oo-control-bar {\n\tvisibility: visible !important;\n}\n.oo-start-screen-linear-gradient {\n\tdisplay: none;\n}"}}]);