{"version":3,"sources":["webpack:///./src/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.types.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.types.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.store.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.vue?953a","webpack:///./src/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.validations.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.ts?55ed","webpack:///./src/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.vue","webpack:///./src/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.vue?0f92","webpack:///./src/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.validations.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.ts?8021","webpack:///./src/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.vue","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.vue?10b3","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.ts?947d","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.ts","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.vue","webpack:///./src/common/ApiService/HttpVerb.ts","webpack:///./src/utils/loaderUtils.ts","webpack:///./src/common/ApiService/ApiService.ts","webpack:///./src/utils/toastUtils.ts","webpack:///./src/mixins/StoreModuleMixin.ts","webpack:///./src/assets/icons/tick-alt.svg","webpack:///./src/forms/FormElements/Common/DebugModel/DebugModel.vue?e5eb","webpack:///./src/forms/FormElements/Common/DebugModel/DebugModel.ts?409e","webpack:///./src/forms/FormElements/Common/DebugModel/DebugModel.ts","webpack:///./src/forms/FormElements/Common/DebugModel/DebugModel.vue","webpack:///./src/assets/icons/arrow.svg","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.vue?f8be","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.ts?17ae","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.ts","webpack:///./src/forms/FormElements/Rows/NameRow/NameRow.vue","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue?1796","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.ts?e3dd","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.ts","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.vue","webpack:///./src/forms/FormElements/Inputs/CheckInput/CheckInput.vue?db59","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.ts?df49","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.ts","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue","webpack:///./src/forms/FormElements/Rows/CheckBoxRow/CheckBox.validation.ts","webpack:///./src/forms/FormElements/Mixins/NewsletterOptinMixin.ts","webpack:///./src/utils/contentConst.ts","webpack:///./src/components/TitleHeader/TitleHeader.vue?ddcb","webpack:///./src/components/TitleHeader/TitleHeader.ts?46e7","webpack:///./src/components/TitleHeader/TitleHeader.ts","webpack:///./src/components/TitleHeader/TitleHeader.vue","webpack:///./src/modules/EmailSignUpModule/EmailSignUpModule.api.ts","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.vue?8970","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.validation.ts","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.ts?2c50","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.ts","webpack:///./src/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.vue"],"names":["names","TermsAndConditions","TopTravelInterests","HowDidYouHearAboutUs","WhatIsYourAgeGroup","GenerallyDoYouTravel","UserPerson","UserEmail","NewsletterOptin","DisneyOptin","SUBMIT_FORM","SUBMIT_FOLLOW_UP_FORM","SET_FORM_IS_SUBMITTED","SET_FOLLOW_UP_FORM_IS_SUBMITTED","SET_TRANSACTION_ID","SET_FOLLOW_UP_TRANSACTION_ID","actions","model","commit","result","IsOk","Item","transaction_id","Email","state","EmailSubmitted","mutations","email","IsSubmitted","HideSecondStep","nextTick","scrollTo","IsFollowUpSubmitted","id","FollowUpTransactionID","registerModule","data","namespaced","store","checkboxValidation","BaseValidation","addModel","dropdownValidation","validations","getRules","messages","getMessages","getModel","buttonStylePrimaryDarkBlack","PrimaryDarkBlack","tellAboutYourSelfList","Text","Value","isAge","fullOption","option","ReferralSource","AgeGroup","TravelPreference","EmailSignUpFollowUpForm","components","DebugModel","CheckBoxRow","DropdownRow","ButtonRow","FormValidationMixin","component","_vm","this","_h","$createElement","_c","_self","_e","staticClass","_v","attrs","on","submit","removeTitle","disneyOptinContent","EmailSignUpForm","NameRow","EmailRow","TermsAndConditionsRow","NewsletterOptinMixin","shouldShowOptinCheckBox","BottomText","domProps","_s","CtaButtonText","postForm","getAction","postFollowUpSubmitted","itinerariesLink","destinationsLink","submitPayload","submitIdentifyPayload","followUpPayload","followUpIdentifyPayload","bookingUrl","$store","getters","BookingUrl","currentLink","PageUri","BaseUrl","destItem","URL","window","location","origin","searchParams","get","Title","Link","Links","Center","$props","p","Subtitle","isSubmittedChanged","SegmentElement","sendEvent","formSubmitted","submitForm","getRecaptchaToken","RecaptchaResponse","referring_domain","first_name","FirstName","last_name","LastName","natgeo_disney_marketing_optin","undefined","serverPayload","locale","getLocale","getIsLanding","previous_page_name","getPrevPageName","page_name","getPageName","fbclid","split","email_md5","mscklid","gclid","eea_uk_optin","country_code","res","AnalyticsPayload","JSON","stringify","isFollowUpSubmittedChanged","fullPayload","followUpSubmitted","referral_source","topic_interests","age_group","travel_preference","emailSignUpFollowUpFormMounted","nonInteraction","created","siteKey","mounted","navLinksData","Data","Items","find","item","toLowerCase","includes","$attrs","contentLinkId","hideCaptcha","EmailSignUpModule","TitleHeader","props","CTAButtonText","ThankYou","TermsAndConditionsLink","PrivacyPolicyLink","StoreModuleMixin","RecaptchaMixin","directives","name","rawName","value","IsSubscribed","expression","titleHeaderData","HowDidYouHearAboutUsOptions","HttpVerb","hideLoader","service","options","cancelTokens","cache","defaultOptions","verb","GET","cancel","showLoading","returnData","handleErrors","cacheResults","redirectUrl","call","method","key","getCacheKey","Promise","resolve","axiosParams","createAxiosParams","addDataToParams","addCancelToken","request","a","then","r","handleError","href","toString","redirectObject","error","response","resp","errorCode","status","errors","Object","values","ModelState","forEach","err","Array","isArray","msg","push","Type","ToastType","Danger","length","Message","Error","captcha_score","error_message","message","ExceptionMessage","baseURL","url","headers","params","callMetaName","tokens","source","CancelToken","cancelToken","token","stopOnSuccess","finally","catch","HandleStatusObject","success","fail","showToastMessage","delay","dispatch","getStoreModuleState","instance","getStoreModulePath","$route","vuexModuleStore","$options","parent","$parent","modulePath","getter","$storeModulePath","action","payload","getMutation","mutation","module","exports","functional","render","children","classNames","class","style","staticStyle","rest","assign","concat","_l","titleList","type","Number","default","String","TextRow","RowValidationMixin","label","subModel","disabled","idPrefix","firstNameLength","lastNameLength","mappedToArray","checkValue","custom","$emit","checked","change","event","target","newArray","found","indexOf","splice","Boolean","CheckInput","Tick","Fragment","InputValidationMixin","isChecked","list","FieldWrapper","ErrorWrapper","noGutters","getModelNamesFromList","generateFieldId","hideLabel","displayAsColumn","getCurrentMessage","Disabled","callback","$$v","$set","_t","path","disneyOptin","rules","modelValue","validationsArr","required","val","DISNEY_OPTIN_HTML","TitleHeaderComponent","Arrow","extend","tag","i","EmailSignUpService","submitEmailSignUp","POST","set","expires","hasAccepted","hasAcceptedAdditionalIntegrationsCookie","script","document","createElement","src","head","appendChild","submitEmailSignUpFollowUp","P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,iCCpD5D,I,uCCIazT,G,cAAQ,CACnBuX,QAAS,YCLoI,ECS/I,uE,OACE,EAAAvX,MAAQA,E,EAWV,OAZmD,iBASjD,sBAAI,0BAAW,C,IAAf,WACE,QAASoE,KAAKoT,OAAOC,M,gCAPvB,aADC,e,gCAGD,aADC,e,wCAGD,aADC,e,iCANkBrS,EAAqB,aADzC,YAAU,CAAExB,WAAY,CAAEE,YAAW,QACjBsB,GAArB,CAAmD,YAAO4N,EAAA,I,OCDtD9O,EAAY,YACd,EJTW,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACK,MAAM,CAAC,QAAUT,EAAIuT,WAAW,KAAOvT,EAAInE,OAASmE,EAAInE,MAAMuX,QAAQ,SAAWpT,EAAI+O,WAAW,CAAG/O,EAAIwT,YAA2fxT,EAAImR,GAAG,QAArf/Q,EAAG,IAAI,CAACG,YAAY,eAAe,CAACP,EAAIQ,GAAG,iEAAiEJ,EAAG,IAAI,CAACG,YAAY,wCAAwCE,MAAM,CAAC,OAAS,SAAS,IAAM,sBAAsB,KAAOT,EAAIyT,YAAY,CAACzT,EAAIQ,GAAG,qCAAqCR,EAAIQ,GAAG,mBAAmBJ,EAAG,IAAI,CAACG,YAAY,wCAAwCE,MAAM,CAAC,OAAS,SAAS,IAAM,sBAAsB,KAAOT,EAAImH,oBAAoB,CAACnH,EAAIQ,GAAG,4BAA2C,IAC9sB,IIWpB,EACA,KACA,KACA,MAIa,IAAAT,E","file":"35.adfa9d1b70e685e3c51c.js","sourcesContent":["import { names as personNames } from '@/common/interfaces/dto/Person';\nimport SelectItem from '@/common/interfaces/SelectItem';\nimport { RecaptchaResponse } from '@/forms/FormElements/Mixins/RecaptchaMixin';\n\nexport interface EmailSignUpUser extends RecaptchaResponse {\n TopTravelInterests: string[];\n HowDidYouHearAboutUs: string;\n WhatIsYourAgeGroup: string;\n GenerallyDoYouTravel: string;\n\n ReferralSource?: string;\n AgeGroup?: string;\n TravelPreference?: string;\n AnalyticsPayload?: string;\n}\n\nexport interface SelectItemAge extends SelectItem {\n isAge?: Boolean;\n}\n\nconst formNames = {\n TermsAndConditions: 'TermsAndConditions',\n\n TopTravelInterests: 'TopTravelInterests',\n\n HowDidYouHearAboutUs: 'HowDidYouHearAboutUs',\n WhatIsYourAgeGroup: 'WhatIsYourAgeGroup',\n GenerallyDoYouTravel: 'GenerallyDoYouTravel',\n};\n\nexport const names = {\n ...personNames,\n ...formNames,\n};\n","import Person, { names as personNames } from '@/common/interfaces/dto/Person';\n\nexport interface EmailSignUpUser {\n Person?: Person;\n Email: string;\n AnalyticsPayload?: string;\n}\n\nconst formNames = {\n UserPerson: 'Person',\n UserEmail: 'Email',\n TermsAndConditions: 'TermsAndConditions',\n NewsletterOptin: 'NewsletterOptin',\n DisneyOptin: 'DisneyOptin',\n};\n\nexport const names = {\n ...personNames,\n ...formNames,\n};\n","import {Module, ActionTree, MutationTree, Store} from 'vuex';\nimport { RootState } from '@/store/types';\nimport { registerSubModule } from '@/utils/vueUtils';\n\nimport { EmailSignUpViewModel } from '@/modules/EmailSignUpModule/EmailSignUpModule.types';\nimport { EmailSignUpUser } from '@/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.types';\n\nimport {\n submitEmailSignUp,\n submitEmailSignUpFollowUp\n} from '@/modules/EmailSignUpModule/EmailSignUpModule.api';\nimport Vue from 'vue';\nimport VueScrollTo from 'vue-scrollto';\nimport { TransactionId } from '@/plugins/utm/SegmentElement';\n\nexport interface EmailSignUpModuleState extends TransactionId {\n IsSubmitted: boolean;\n IsFollowUpSubmitted: boolean;\n EmailSubmitted: string;\n HideSecondStep: boolean;\n FollowUpTransactionID: number;\n}\n\nexport const SUBMIT_FORM = 'SUBMIT_FORM';\nexport const SUBMIT_FOLLOW_UP_FORM = 'SUBMIT_FOLLOW_UP_FORM';\nexport const SET_FORM_IS_SUBMITTED = 'SET_FORM_IS_SUBMITTED';\nexport const SET_FOLLOW_UP_FORM_IS_SUBMITTED = 'SET_FOLLOW_UP_FORM_IS_SUBMITTED';\nexport const SET_TRANSACTION_ID = 'SET_TRANSACTION_ID';\nexport const SET_FOLLOW_UP_TRANSACTION_ID = 'SET_FOLLOW_UP_TRANSACTION_ID';\n\nconst actions: ActionTree = {\n async [SUBMIT_FORM]({ state, commit }, model: EmailSignUpUser) {\n //console.log('submitted', model);\n const result = await submitEmailSignUp(model);\n if (result.IsOk) {\n //console.log('from server', result);\n commit(SET_TRANSACTION_ID, result.Item.transaction_id);\n commit(SET_FORM_IS_SUBMITTED, model.Email);\n } else {\n //console.log('error', result);\n }\n },\n async [SUBMIT_FOLLOW_UP_FORM]({ state, commit }, model: EmailSignUpUser) {\n //console.log('follow up submitted', model);\n model.Email = state.EmailSubmitted;\n const result = await submitEmailSignUpFollowUp(model);\n if (result.IsOk) {\n //console.log('from server', result);\n commit(SET_FOLLOW_UP_TRANSACTION_ID, result.Item.transaction_id)\n commit(SET_FOLLOW_UP_FORM_IS_SUBMITTED);\n } else {\n //console.log('error', result);\n }\n },\n};\n\nconst mutations: MutationTree = {\n [SET_FORM_IS_SUBMITTED](state, email: string) {\n state.IsSubmitted = true;\n state.EmailSubmitted = email;\n if (!state.HideSecondStep) Vue.nextTick(() => VueScrollTo.scrollTo('#app'));\n },\n [SET_FOLLOW_UP_FORM_IS_SUBMITTED](state) {\n state.IsFollowUpSubmitted = true;\n },\n [SET_TRANSACTION_ID](state, id: number) {\n state.transaction_id = id;\n },\n [SET_FOLLOW_UP_TRANSACTION_ID](state, id: number) {\n state.FollowUpTransactionID = id;\n },\n};\n\nconst registerModule = registerSubModule(\n (data: EmailSignUpViewModel) => {\n return {\n namespaced: true,\n state: {\n IsSubmitted: false,\n IsFollowUpSubmitted: false,\n EmailSubmitted: '',\n HideSecondStep: data.HideSecondStep,\n transaction_id: 0,\n FollowUpTransactionID: 0,\n },\n actions,\n mutations,\n } as Module;\n },\n 'EmailSignUpModule',\n);\n\nexport default (store: Store, data: EmailSignUpViewModel) => {\n return registerModule(store, data)\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.IsFollowUpSubmitted)?_c('form',{staticClass:\"email-follow-up__form\"},[_c('div',{staticClass:\"lex-row\"},[_c('div',{staticClass:\"lex-col--size-12 lex-col-md--size-8\"},[_c('p',{staticClass:\"text--small color--steel push-v--mobile--small push-t--mobile--small\"},[_vm._v(\"\\n Please select your interests (optional)\\n \")]),_c('CheckBoxRow',{staticClass:\"push-v--mobile--small\",attrs:{\"list\":_vm.tellAboutYourSelfList,\"displayAsColumn\":true,\"name\":_vm.names.TopTravelInterests}}),_c('DropdownRow',{staticClass:\"col\",attrs:{\"label\":\"How did you hear about us?\",\"placeholder\":\" \",\"list\":_vm.HowDidYouHearAboutUs,\"name\":_vm.names.HowDidYouHearAboutUs},on:{\"fullOption\":_vm.fullOption}}),_c('DropdownRow',{staticClass:\"col\",attrs:{\"label\":\"What is your age group?\",\"placeholder\":\" \",\"list\":_vm.WhatIsYourAgeGroup,\"name\":_vm.names.WhatIsYourAgeGroup},on:{\"fullOption\":_vm.fullOption}}),_c('DropdownRow',{staticClass:\"col\",attrs:{\"label\":\"Generally, do you travel...\",\"placeholder\":\" \",\"list\":_vm.GenerallyDoYouTravel,\"name\":_vm.names.GenerallyDoYouTravel},on:{\"fullOption\":_vm.fullOption}}),_c('ButtonRow',{staticClass:\"email-follow-up__button\",attrs:{\"label\":\"Submit\"},on:{\"click\":_vm.submit}})],1)])]):_vm._e(),(_vm.IsFollowUpSubmitted)?_c('p',{staticClass:\"email-follow-up__thank-you-text\"},[_vm._v(\"Thank you, your preferences have been recorded.\")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import BaseValidation from '@/forms/Validations/BaseValidation';\n\nimport { names } from './EmailSignUpFollowUpForm.types';\n\nconst checkboxValidation = new BaseValidation([]);\ncheckboxValidation.addModel(names.TopTravelInterests, []);\n\nconst dropdownValidation = new BaseValidation([]);\ndropdownValidation.addModel(names.HowDidYouHearAboutUs, '');\ndropdownValidation.addModel(names.WhatIsYourAgeGroup, '');\ndropdownValidation.addModel(names.GenerallyDoYouTravel, '');\n\nexport default () => {\n const validations = [\n dropdownValidation,\n checkboxValidation\n ];\n\n return {\n validations: BaseValidation.getRules(validations),\n messages: BaseValidation.getMessages(validations),\n model: BaseValidation.getModel(validations),\n };\n};\n","import { Component, Mixins, Prop } from 'vue-property-decorator';\n\nimport CheckBoxRow from '@/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue';\nimport DebugModel from '@/forms/FormElements/Common/DebugModel/DebugModel.vue';\nimport DropdownRow from '@/forms/FormElements/Rows/DropdownRow/DropdownRow.vue';\nimport ButtonRow from '@/forms/FormElements/Rows/ButtonRow/ButtonRow.vue';\n\nimport { EmailSignUpUser, names, SelectItemAge } from './EmailSignUpFollowUpForm.types';\nimport SelectItem from '@/common/interfaces/SelectItem';\nimport Message from '@/forms/Validations/Message';\nimport getValidation from '@/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.validations';\nimport { CtaButtonStyle } from '@/common/interfaces/CtaLinkItem';\n\nimport FormValidationMixin from '@/forms/FormElements/Mixins/FormValidationMixin';\n\nconst { validations, model, messages } = getValidation();\n\n@Component({\n validations,\n components: {\n DebugModel,\n CheckBoxRow,\n DropdownRow,\n ButtonRow,\n },\n})\nexport default class EmailSignUpFollowUpForm extends Mixins(FormValidationMixin) {\n names = names;\n\n model: EmailSignUpUser = model;\n\n messages: Message[] = messages;\n\n buttonStylePrimaryDarkBlack = CtaButtonStyle.PrimaryDarkBlack;\n\n tellAboutYourSelfList: SelectItem[] = [\n { Text: 'Bird Watching', Value: 'Bird Watching' },\n { Text: 'Cultural Travel', Value: 'Cultural Travel' },\n { Text: 'Gourmet Dining', Value: 'Gourmet Dining' },\n { Text: 'Kayaking', Value: 'Kayaking' },\n { Text: 'Photography', Value: 'Photography' },\n { Text: 'Scuba/Snorkeling/Swimming', Value: 'Scuba/Snorkeling/Swimming' },\n { Text: 'Walking/Hiking', Value: 'Walking/Hiking' },\n { Text: 'Whale Watching', Value: 'Whale Watching' },\n { Text: 'Wildlife Observation', Value: 'Wildlife Observation' },\n ];\n @Prop()\n readonly HowDidYouHearAboutUs!: SelectItem[];\n @Prop()\n readonly IsFollowUpSubmitted!: string;\n\n WhatIsYourAgeGroup: SelectItemAge[] = [\n { Text: '18 & under', Value: '1', isAge: true },\n { Text: '19 - 45', Value: '2', isAge: true },\n { Text: '46 - 54', Value: '3', isAge: true },\n { Text: '55 - 64', Value: '4', isAge: true },\n { Text: '65 - 79', Value: '5', isAge: true },\n { Text: '80+', Value: '6', isAge: true },\n ];\n\n GenerallyDoYouTravel: SelectItem[] = [\n { Text: 'Travel Solo', Value: '1' },\n { Text: 'Travel with Companion', Value: '2' },\n { Text: 'Travel with Family', Value: '3' },\n ];\n\n fullOption(option: SelectItemAge) {\n if (option.Value === model.HowDidYouHearAboutUs) {\n model.ReferralSource = option.Text;\n }\n else if (option.isAge && option.Value === model.WhatIsYourAgeGroup) {\n model.AgeGroup = option.Text;\n }\n else if (option.Value === model.GenerallyDoYouTravel) {\n model.TravelPreference = option.Text;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./EmailSignUpFollowUpForm.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./EmailSignUpFollowUpForm.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmailSignUpFollowUpForm.vue?vue&type=template&id=c3141d28&\"\nimport script from \"./EmailSignUpFollowUpForm.ts?vue&type=script&lang=ts&\"\nexport * from \"./EmailSignUpFollowUpForm.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./EmailSignUpFollowUpForm.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:\"email-sign-up__form\"},[_c('div',{staticClass:\"lex-row\"},[_c('div',{staticClass:\"lex-col--size-12 lex-col-md--size-8\"},[_c('NameRow',{attrs:{\"name\":_vm.names.UserPerson,\"idPrefix\":\"-Signup\"}}),_c('EmailRow',{attrs:{\"name\":_vm.names.UserEmail,\"idPrefix\":\"-Signup\"}}),(_vm.shouldShowOptinCheckBox && _vm.BottomText)?_c('CheckBoxRow',{staticClass:\"newsletter-optin newsletter-optin-shared\",attrs:{\"custom\":true,\"name\":_vm.names.NewsletterOptin}},[_c('div',{staticClass:\"newsletter-optin-shared__content\",domProps:{\"innerHTML\":_vm._s(_vm.BottomText)}})]):(_vm.BottomText)?_c('div',{staticClass:\"newsletter-optin\",domProps:{\"innerHTML\":_vm._s(_vm.BottomText)}}):_vm._e(),(_vm.isUSAGeo)?_c('CheckBoxRow',{staticClass:\"newsletter-optin newsletter-optin-shared newsletter-optin-shared_mt\",attrs:{\"custom\":true,\"name\":_vm.names.DisneyOptin}},[_c('div',{staticClass:\"newsletter-optin-shared__content\",domProps:{\"innerHTML\":_vm._s(_vm.disneyOptinContent)}})]):_vm._e(),_c('ButtonRow',{staticClass:\"email-sign-up__button\",attrs:{\"label\":_vm.CtaButtonText || 'Send me offers'},on:{\"click\":_vm.submit}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import BaseValidation from '@/forms/Validations/BaseValidation';\nimport NameValidation from '@/forms/FormElements/Rows/NameRow/NameRow.validation';\nimport EmailValidation from '@/forms/FormElements/Rows/EmailRow/EmailRow.validation';\n\nimport { names } from './EmailSignUpForm.types';\nimport CheckBoxValidation from '@/forms/FormElements/Rows/CheckBoxRow/CheckBox.validation';\n\nexport default () => {\n const validations = [\n NameValidation('', { removeTitle: true }),\n EmailValidation(),\n CheckBoxValidation(),\n ];\n\n return {\n validations: BaseValidation.getRules(validations),\n messages: BaseValidation.getMessages(validations),\n model: BaseValidation.getModel(validations),\n };\n};\n","import { Component, Mixins, Prop } from 'vue-property-decorator';\n\nimport EmailRow from '@/forms/FormElements/Rows/EmailRow/EmailRow.vue';\nimport NameRow from '@/forms/FormElements/Rows/NameRow/NameRow.vue';\nimport DebugModel from '@/forms/FormElements/Common/DebugModel/DebugModel.vue';\nimport ButtonRow from '@/forms/FormElements/Rows/ButtonRow/ButtonRow.vue';\nimport CheckBoxRow from '@/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue';\nimport TermsAndConditionsRow from '@/forms/FormElements/Rows/TermsAndConditionsRow/TermsAndConditionsRow.vue';\n\nimport { EmailSignUpUser, names } from './EmailSignUpForm.types';\nimport Message from '@/forms/Validations/Message';\nimport getValidation from '@/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.validations';\nimport { CtaButtonStyle } from '@/common/interfaces/CtaLinkItem';\n\nimport FormValidationMixin from '@/forms/FormElements/Mixins/FormValidationMixin';\nimport NewsletterOptinMixin from '@/forms/FormElements/Mixins/NewsletterOptinMixin';\nimport { DISNEY_OPTIN_HTML } from '@/utils/contentConst';\nimport { isUSAIP } from '@/store';\n\nconst { validations, model, messages } = getValidation();\n\n@Component({\n validations,\n components: {\n DebugModel,\n NameRow,\n EmailRow,\n TermsAndConditionsRow,\n ButtonRow,\n CheckBoxRow,\n },\n})\nexport default class EmailSignUpForm extends Mixins(FormValidationMixin, NewsletterOptinMixin) {\n names = names;\n\n model: EmailSignUpUser = model;\n\n messages: Message[] = messages;\n\n buttonStylePrimaryDarkBlack = CtaButtonStyle.PrimaryDarkBlack;\n\n disneyOptinContent = DISNEY_OPTIN_HTML;\n\n @Prop()\n readonly BottomText!: string;\n\n @Prop()\n readonly CtaButtonText!: string;\n\n get isUSAGeo() {\n return isUSAIP()\n }\n}\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./EmailSignUpForm.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--0!./EmailSignUpForm.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmailSignUpForm.vue?vue&type=template&id=b59a23a8&\"\nimport script from \"./EmailSignUpForm.ts?vue&type=script&lang=ts&\"\nexport * from \"./EmailSignUpForm.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./EmailSignUpForm.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.IsSubscribed || _vm.state.IsSubmitted),expression:\"!IsSubscribed || state.IsSubmitted\"}],staticClass:\"lex-container email-sign-up\"},[_c('TitleHeader',{attrs:{\"p\":_vm.titleHeaderData,\"tag\":'h2'}}),(!_vm.state.IsSubmitted)?_c('EmailSignUpForm',{attrs:{\"BottomText\":_vm.p.BottomText,\"CtaButtonText\":_vm.p.CtaButtonText},on:{\"submit\":_vm.submitForm}}):_vm._e(),(_vm.state.IsSubmitted && !_vm.state.HideSecondStep)?_c('EmailSignUpFollowUpForm',{attrs:{\"IsFollowUpSubmitted\":_vm.state.IsFollowUpSubmitted,\"HowDidYouHearAboutUs\":_vm.p.HowDidYouHearAboutUsOptions},on:{\"hook:mounted\":_vm.emailSignUpFollowUpFormMounted,\"submit\":_vm.followUpSubmitted}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./EmailSignUpModule.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./EmailSignUpModule.ts?vue&type=script&lang=ts&\"","import TitleHeader from '@/components/TitleHeader/TitleHeader.vue';\n\nimport StoreModuleMixin from '@/mixins/StoreModuleMixin';\nimport EmailSignUpFollowUpForm\n from '@/modules/EmailSignUpModule/EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.vue';\nimport {EmailSignUpUser} from '@/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.types';\n\nimport EmailSignUpForm from '@/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.vue';\nimport {\n EmailSignUpModuleState,\n SUBMIT_FOLLOW_UP_FORM,\n SUBMIT_FORM\n} from '@/modules/EmailSignUpModule/EmailSignUpModule.store';\nimport {EmailSignUpViewModel} from '@/modules/EmailSignUpModule/EmailSignUpModule.types';\nimport { GET_MODULES } from '@/store/modules/modulesLoadModule';\nimport { PAGE_META, PageMeta } from '@/store/modules/metadataModule';\n\nimport {getComponentProps} from '@/utils/vueUtils';\nimport {Component, Mixins, Watch} from 'vue-property-decorator';\nimport { SegmentElement, SegmentTrackEvents } from '@/plugins/utm/SegmentElement';\nimport { EmailSignUpUser as EmailSignUpFollowUpUser } from './EmailSignUpFollowUpForm/EmailSignUpFollowUpForm.types';\nimport { getFormPayload, isSSR, scriptToHead } from '@/utils/commonUtils';\nimport Cookies from 'js-cookie';\nimport RecaptchaMixin from '@/forms/FormElements/Mixins/RecaptchaMixin';\nimport { getCFCountry, shouldShowOptIn } from '@/store';\n@Component({\n components: {\n EmailSignUpForm,\n EmailSignUpFollowUpForm,\n TitleHeader,\n },\n props: getComponentProps({\n Title: 'Email Sign Up',\n Subtitle: \"Get inbox inspiration you'll look forward to: photos, videos, live webinar invites, special offers, and updates. Fields in bold with an asterisk (*) are required.\",\n CTAButtonText: 'Send me offers',\n ThankYou: '

Thank you

',\n TermsAndConditionsLink: '/terms-conditions',\n PrivacyPolicyLink: '/privacy-policy',\n BottomText: 'I authorize Lindblad Expeditions to email me; however, I am able to unsubscribe at any time. For more details, see our Privacy Policy.',\n }),\n})\nexport default class EmailSignUpModule extends Mixins(StoreModuleMixin, RecaptchaMixin) {\n state!: EmailSignUpModuleState;\n postForm: (model: EmailSignUpUser) => void = this.getAction(SUBMIT_FORM);\n postFollowUpSubmitted: (model: EmailSignUpFollowUpUser) => void = this.getAction(SUBMIT_FOLLOW_UP_FORM);\n\n itinerariesLink: string = '';\n destinationsLink: string = '';\n\n get titleHeaderData() {\n const bookingUrl = this.$store.getters[PAGE_META].BookingUrl;\n const currentLink = this.$store.state.PageUri.BaseUrl;\n const urlbookingUrl = new URL(window.location.origin + bookingUrl);\n const destItem = urlbookingUrl.searchParams.get('destinations.name');\n\n return this.state.IsSubmitted\n ? {\n Title: \"Thank you for subscribing\",\n Text: \"You will get an email verifying your subscription.\",\n Link: {},\n Links: [\n {\n Title: \"View \" + (destItem || \"All\") + \" Itineraries\",\n Link: destItem ? currentLink + \"#itineraries\" : (this.itinerariesLink || \"/itineraries\")\n },\n {\n Title: \"View All Destinations\",\n Link: this.destinationsLink || \"/destinations/\"\n },\n ],\n Center: true,\n }\n :\n {\n Title: this.$props.p.Title,\n Text: this.$props.p.Subtitle,\n Link: {},\n Center: false,\n };\n }\n\n submitPayload: any = {};\n submitIdentifyPayload = {};\n\n followUpPayload = {};\n followUpIdentifyPayload = {};\n\n @Watch('state.IsSubmitted')\n isSubmittedChanged() {\n this.submitPayload.transaction_id = this.state.transaction_id\n SegmentElement.sendEvent(SegmentTrackEvents.formSubmitted, this.submitPayload)\n }\n\n async submitForm(model) {\n model.RecaptchaResponse = await this.getRecaptchaToken()\n SegmentElement.sendEvent('formSubmissionAttempted', this.submitPayload)\n const referring_domain = Cookies.get('referring_domain')\n this.submitIdentifyPayload = {\n first_name: model.FirstName,\n last_name: model.LastName,\n email: model.Email,\n }\n const natgeo_disney_marketing_optin = model.DisneyOptin !== undefined ? model.DisneyOptin : null;\n const serverPayload = {\n ...this.submitPayload,\n ...this.submitIdentifyPayload,\n locale: SegmentElement.getLocale(),\n ...(!SegmentElement.getIsLanding() && { previous_page_name: SegmentElement.getPrevPageName() }),\n page_name: SegmentElement.getPageName(),\n ...(referring_domain && { referring_domain }),\n ...(Cookies.get('_fbc') && { fbclid: Cookies.get('_fbc').split('.')[3] }),\n ...(Cookies.get('email_md5') && { email_md5: Cookies.get('email_md5') }),\n ...(Cookies.get('_uetmsclkid') && { mscklid: Cookies.get('_uetmsclkid').split('_uet')[1] }),\n ...(Cookies.get('_gcl_aw') && { gclid: Cookies.get('_gcl_aw').split('.')[2] }),\n ...(shouldShowOptIn() && { eea_uk_optin: true }),\n natgeo_disney_marketing_optin,\n country_code: getCFCountry(),\n }\n const res = {\n ...model,\n AnalyticsPayload: JSON.stringify(serverPayload)\n }\n this.postForm(res);\n }\n\n get IsSubscribed() {\n const HideSecondStep = this.state?.HideSecondStep;\n if (isSSR() && HideSecondStep) return true;\n if (isSSR() && !HideSecondStep) return false;\n return Cookies.get('newsletterSubscribed') && HideSecondStep;\n }\n\n @Watch('state.IsFollowUpSubmitted')\n isFollowUpSubmittedChanged() {\n const fullPayload = {\n ...this.followUpIdentifyPayload,\n ...this.followUpPayload,\n transaction_id: this.state.FollowUpTransactionID,\n }\n SegmentElement.sendEvent(SegmentTrackEvents.formSubmitted, fullPayload)\n }\n \n async followUpSubmitted(model: EmailSignUpFollowUpUser) {\n model.RecaptchaResponse = await this.getRecaptchaToken()\n SegmentElement.sendEvent('formSubmissionAttempted', this.followUpPayload)\n this.followUpIdentifyPayload = {\n referral_source: model.ReferralSource,\n topic_interests: model.TopTravelInterests,\n age_group: model.AgeGroup,\n travel_preference: model.TravelPreference,\n }\n const fullPayload = {\n ...this.followUpIdentifyPayload,\n ...this.followUpPayload\n }\n\n const serverPayload = {\n ...fullPayload,\n ...(!SegmentElement.getIsLanding() && { previous_page_name: SegmentElement.getPrevPageName() }),\n locale: SegmentElement.getLocale(),\n page_name: SegmentElement.getPageName(),\n email: (this.submitIdentifyPayload as any).email,\n first_name: (this.submitIdentifyPayload as any).first_name,\n last_name: (this.submitIdentifyPayload as any).last_name,\n ...(Cookies.get('_fbc') && { fbclid: Cookies.get('_fbc').split('.')[3] }),\n ...(Cookies.get('email_md5') && { email_md5: Cookies.get('email_md5') }),\n ...(Cookies.get('_uetmsclkid') && { mscklid: Cookies.get('_uetmsclkid').split('_uet')[1] }),\n ...(Cookies.get('_gcl_aw') && { gclid: Cookies.get('_gcl_aw').split('.')[2] }),\n }\n\n const res = {\n ...model,\n AnalyticsPayload: JSON.stringify(serverPayload),\n }\n this.postFollowUpSubmitted(res)\n }\n\n emailSignUpFollowUpFormMounted() {\n SegmentElement.sendEvent('formViewed', {...this.followUpPayload, nonInteraction: 1})\n }\n\n created() {\n this.siteKey = '6Lelwv4eAAAAAHavTU2624NBQb8SDFnhmZzpvgZH';\n }\n\n mounted() {\n const navLinksData = this.$store.getters[GET_MODULES][0].Data.Items ? this.$store.getters[GET_MODULES][0].Data.Items[0].Items[0].Link : null // Take actual links from nav state\n if (navLinksData) {\n this.itinerariesLink = navLinksData.find(item => item.Title.toLowerCase().includes('itineraries'))?.Link;\n this.destinationsLink = navLinksData.find(item => item.Title.toLowerCase().includes('destinations'))?.Link;\n }\n this.submitPayload = getFormPayload('EmailSignUp', this.$attrs.contentLinkId);\n this.followUpPayload = getFormPayload('EmailSignUpInterestsForm', this.$attrs.contentLinkId + '-2');\n if (Cookies.get('newsletterSubscribed') && this.state.HideSecondStep) {\n this.hideCaptcha();\n } else {\n SegmentElement.sendEvent('formViewed', {...this.submitPayload, nonInteraction: 1})\n }\n }\n}\n","import { render, staticRenderFns } from \"./EmailSignUpModule.vue?vue&type=template&id=1039d75b&\"\nimport script from \"./EmailSignUpModule.ts?vue&type=script&lang=ts&\"\nexport * from \"./EmailSignUpModule.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./EmailSignUpModule.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum HttpVerb {\n GET = 'GET',\n POST = 'POST',\n DELETE = 'DELETE',\n PUT = 'PUT',\n PATCH = 'PATCH',\n}\n","import { HIDE_LOADER, SHOW_LOADER } from '@/store/modules/overlayModule';\nimport { getStore } from '@/store/index';\n\nexport const hideLoader = () => {\n getStore().commit(HIDE_LOADER);\n};\n\nexport const showLoader = () => {\n getStore().commit(SHOW_LOADER);\n};\n","import axios, { AxiosRequestConfig, CancelTokenSource, AxiosPromise, AxiosError } from 'axios';\nimport ApiServiceOptions from './ApiServiceOptions';\nimport { HttpVerb } from './HttpVerb';\nimport HandleStatusParams from './HandleStatusParams';\nimport { isLocal, devRoot, isString, isSSR } from '@/utils/commonUtils';\nimport { hideLoader, showLoader } from '@/utils/loaderUtils';\nimport { showToastMessage } from '@/utils/toastUtils';\nimport ToastType from '@/common/interfaces/enums/ToastType';\nimport { SegmentElement } from '@/plugins/utm/SegmentElement';\n\nexport const defaultErrorMessage = 'Something went wrong!';\n\nexport default class ApiService {\n private options: ApiServiceOptions;\n private cancelTokens: { [id: string]: CancelTokenSource } = {};\n private cache: { [key: string]: any } = {};\n constructor(service: string, options?: ApiServiceOptions) {\n const defaultOptions: ApiServiceOptions = {\n verb: HttpVerb.GET,\n cancel: true,\n showLoading: true,\n returnData: false,\n handleErrors: true,\n cacheResults: false,\n redirectUrl: false,\n };\n if (isLocal()) {\n service = `${devRoot}${service}`;\n }\n if (isSSR()) {\n service = `${devRoot}${service}`;\n }\n\n this.options = { service, ...defaultOptions, ...options };\n }\n\n call(method: string, data?: {}, options?: ApiServiceOptions): Promise {\n options = { ...this.options, ...options };\n\n let key = '';\n if (options.cacheResults) {\n key = this.getCacheKey(method, data);\n if (this.cache[key] !== undefined) {\n return Promise.resolve(this.cache[key]);\n }\n }\n\n const axiosParams = this.createAxiosParams(method, options);\n\n this.addDataToParams(axiosParams, data);\n\n if (options.cancel) {\n this.addCancelToken(axiosParams);\n }\n\n let request = axios.request(axiosParams);\n\n if (options.showLoading) {\n this.showLoading(request, options.redirectUrl !== true);\n }\n\n if (options.handleErrors) {\n request.then((r) => r, this.handleError);\n }\n\n if (options.returnData) {\n request = request.then((r) => r.data);\n }\n\n if (options.cacheResults) {\n request.then((r) => {\n this.cache[key] = r;\n });\n }\n\n if (options.redirectUrl) {\n request.then((r) => {\n if (isString(options.redirectUrl)) {\n window.location.href = options.redirectUrl.toString();\n } else {\n const redirectObject: { redirectUrl: string } = r as any;\n if (redirectObject.redirectUrl) window.location.href = redirectObject.redirectUrl;\n }\n });\n }\n\n return request;\n }\n\n private getCacheKey(method: string, data?: {}) {\n return `${method}:${JSON.stringify(data)}`;\n }\n\n private handleError(error: AxiosError) {\n if (error && error.response) {\n const resp = error.response;\n const errorCode = resp.status;\n if (errorCode === 400) {\n if (resp.data) {\n let errors = Object.values(resp.data?.ModelState || resp.data);\n if (isString(resp.data)) {\n errors = [resp.data];\n }\n\n const messages = [];\n errors.forEach((err) => {\n if (Array.isArray(err)) {\n err.forEach((msg) => {\n messages.push({\n Text: msg,\n Type: ToastType.Danger,\n });\n });\n } else {\n messages.push({\n Text: err,\n Type: ToastType.Danger,\n });\n }\n });\n if (messages.length) showToastMessage(messages);\n }\n }\n if (errorCode === 401) {\n if (resp.data.Message) {\n window.location.href = resp.data.Message;\n }\n }\n if (errorCode > 401 && errorCode < 500) {\n if (resp.data.Message) {\n showToastMessage([\n {\n Text: resp.data.Message,\n Type: ToastType.Danger,\n },\n ]);\n }\n }\n\n if (errorCode === 406 && resp.data.Data.Error && resp.data.Data.Error.toLowerCase().includes('captcha')) {\n if (resp.data.Data.Item) {\n SegmentElement.sendEvent('errorReceived', {\n captcha_score: resp.data.Data.Item,\n error_message: resp.data.Data.Error,\n }, true)\n }\n showToastMessage([\n {\n Text: resp.data.Data.Error,\n Type: ToastType.Danger,\n },\n ]);\n }\n\n if (errorCode >= 500 && errorCode < 600) {\n let message = resp.data.ExceptionMessage;\n if (!message && isString(resp.data)) {\n message = resp.data;\n }\n\n if (message) {\n showToastMessage([\n {\n Text: message,\n Type: ToastType.Danger,\n },\n ]);\n }\n }\n }\n }\n\n private createAxiosParams(method: string, options: ApiServiceOptions) {\n const axiosParams: AxiosRequestConfig = {\n method: options.verb,\n baseURL: options.service,\n url: method,\n headers: options.headers,\n };\n\n return axiosParams;\n }\n\n private addDataToParams(params: AxiosRequestConfig, data?: {}) {\n if (data) {\n if (params.method === HttpVerb.GET) {\n params.params = data;\n } else {\n params.data = data;\n }\n }\n }\n\n private addCancelToken(params: AxiosRequestConfig) {\n const callMetaName: string = `${params.method},${params.baseURL},${params.url}`;\n\n const tokens = this.cancelTokens;\n\n if (tokens[callMetaName] !== undefined) {\n tokens[callMetaName].cancel();\n }\n\n const source = axios.CancelToken.source();\n tokens[callMetaName] = source;\n\n params.cancelToken = source.token;\n }\n\n private showLoading(request: AxiosPromise, stopOnSuccess: boolean = true) {\n if (request) {\n showLoader();\n if (stopOnSuccess) {\n request.finally(() => {\n hideLoader();\n });\n } else {\n request.catch(() => {\n hideLoader();\n });\n }\n }\n }\n\n static HandleStatusObject(params: HandleStatusParams) {\n // const { response, success, fail, errorMessage, toastParams } = params;\n const { response, success, fail } = params;\n\n const status = (response as any).data || response;\n if (status.IsOk) {\n if (success) {\n success(status.Item);\n }\n } else {\n if (fail) {\n fail(status.error, status.Item);\n }\n\n // showErrorToast(errorMessage || status.Error || defaultErrorMessage, toastParams);\n }\n\n return status.IsOk;\n }\n}\n","import { getStore } from '@/store/index';\nimport { SHOW_TOAST } from '@/store/modules/toastModule';\nimport NotificationToast from '@/common/interfaces/modules/NotificationToast';\n\nexport const showToastMessage = (messages: NotificationToast[], delay: number = 5000) => {\n getStore().dispatch(SHOW_TOAST, [messages, delay]);\n};\n","import Vue from 'vue';\nimport Component from 'vue-class-component';\nimport { DispatchOptions, CommitOptions } from 'vuex';\n\nexport function getStoreModuleState(instance: Vue) {\n return instance.$store.state[getStoreModulePath(instance)];\n}\n\nexport function getStoreModulePath(instance: Vue) {\n // @ts-ignore\n if (instance.$route?.params?.store) return instance.$route.params.store;\n\n if (instance.$attrs.vuexModuleStore) return instance.$attrs.vuexModuleStore;\n\n let options: any = instance.$options;\n let parent = instance.$parent;\n while (parent && !options.modulePath && !parent.$attrs.vuexModuleStore) {\n options = parent.$options;\n parent = parent.$parent;\n }\n\n return options.modulePath || parent?.$attrs.vuexModuleStore;\n}\n\n@Component({})\nexport default class StoreModuleMixin extends Vue {\n getters(getter: string) {\n return this.$store.getters[`${this.$storeModulePath}/${getter}`];\n }\n\n getAction(action: string) {\n return (payload?: any, options?: DispatchOptions) => {\n return this.$store.dispatch(`${this.$storeModulePath}/${action}`, payload, options);\n };\n }\n\n getMutation(mutation: string) {\n return (payload?: any, options?: CommitOptions) => {\n this.$store.commit(`${this.$storeModulePath}/${mutation}`, payload, options);\n };\n }\n\n get state() {\n return this.$store.state[this.$storeModulePath];\n }\n\n get $storeModulePath() {\n const path = getStoreModulePath(this);\n\n return path;\n }\n}\n","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"viewBox\":\"0 0 45 45\",\"xmlns\":\"http://www.w3.org/2000/svg\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M16.532 33.269l-8.166-8.166a1.25 1.25 0 011.768-1.768l6.398 6.399 17.367-17.367a1.249 1.249 0 111.768 1.767L16.532 33.269z\"}})])\n )\n }\n }\n ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"debug-model\"},_vm._l((_vm.model),function(value,key){return _c('li',{key:key},[(value && value.toString() === '[object Object]')?[_vm._v(\"\\n \"+_vm._s(key)+\"\\n \"),_c('DebugModel',{attrs:{\"model\":value}})]:[_c('span',[_vm._v(\"\\n \"+_vm._s(key)+\":\\n \"),_c('b',[_vm._v(_vm._s(value))])])]],2)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./DebugModel.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./DebugModel.ts?vue&type=script&lang=ts&\"","import Vue from 'vue';\nimport { Prop, Component } from 'vue-property-decorator';\n\n@Component({ name: 'DebugModel' })\nexport default class DebugModel extends Vue {\n @Prop()\n readonly model!: object;\n}\n","import { render, staticRenderFns } from \"./DebugModel.vue?vue&type=template&id=3c7d4fda&\"\nimport script from \"./DebugModel.ts?vue&type=script&lang=ts&\"\nexport * from \"./DebugModel.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./DebugModel.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 34\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M19.697 9.338L9.994 0l-.725.697-.001.001-8.98 8.64a.961.961 0 00.013 1.385 1.056 1.056 0 001.439.012l7.227-6.954v29.231c0 .546.46.988 1.027.988s1.026-.442 1.026-.988V3.782l7.227 6.953c.193.186.454.29.726.29.273 0 .534-.104.726-.29a.968.968 0 00.301-.698.968.968 0 00-.301-.699\"}})])\n )\n }\n }\n ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lex-row name-row\"},[(_vm.label)?_c('label',{staticClass:\"field-wrapper__label name-row__label lex-col--size-12\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.showTitle)?_c('div',{staticClass:\"lex-col--size-4 lex-col-md--size-2\"},[_c('DropdownRow',{staticClass:\"select-wrapper\",attrs:{\"label\":\"Title\",\"subModel\":_vm.subModel,\"name\":_vm.names.Title,\"list\":_vm.titleList,\"placeholder\":\" \",\"disabled\":_vm.disabled}})],1):_vm._e(),(_vm.showTitle)?_c('div',{staticClass:\"lex-col--size-9 lex-d-md-none\"}):_vm._e(),_c('div',{staticClass:\"lex-col--size-6 lex-col-md--size-5\"},[_c('TextRow',{attrs:{\"idPrefix\":_vm.idPrefix,\"label\":\"First Name\",\"subModel\":_vm.subModel,\"name\":_vm.names.FirstName,\"placeholder\":\" \",\"maxlength\":_vm.firstNameLength,\"disabled\":_vm.disabled}})],1),_c('div',{staticClass:\"lex-col--size-6 lex-col-md--size-5\"},[_c('TextRow',{attrs:{\"idPrefix\":_vm.idPrefix,\"label\":\"Last Name\",\"subModel\":_vm.subModel,\"name\":_vm.names.LastName,\"placeholder\":\" \",\"maxlength\":_vm.lastNameLength,\"disabled\":_vm.disabled}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./NameRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./NameRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport TextRow from '@/forms/FormElements/Rows/TextRow/TextRow.vue';\nimport DropdownRow from '@/forms/FormElements/Rows/DropdownRow/DropdownRow.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\n\nimport { names } from './NameRow.validation';\n\n@Component({ components: { TextRow, DropdownRow } })\nexport default class NameRow extends mixins(RowValidationMixin) {\n names = names;\n @Prop({ type: Number, default: 14 })\n readonly firstNameLength: number;\n @Prop({ type: Number, default: 18 })\n readonly lastNameLength: number;\n @Prop({ type: [String, Number], default: '' })\n readonly idPrefix!: string;\n\n get showTitle() {\n return this.model[names.Title] !== undefined;\n }\n\n titleList = [\n { Text: 'Mr.', Value: 'Mr.' },\n { Text: 'Mrs.', Value: 'Mrs.' },\n { Text: 'Miss.', Value: 'Miss.' },\n { Text: 'Ms.', Value: 'Ms.' },\n { Text: 'Dr.', Value: 'Dr.' },\n ];\n}\n","import { render, staticRenderFns } from \"./NameRow.vue?vue&type=template&id=1a9c193d&\"\nimport script from \"./NameRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./NameRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./NameRow.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{ 'field-wrapper checkbox-wrapper': !_vm.noGutters },attrs:{\"id\":!_vm.getModelNamesFromList ? _vm.generateFieldId : ''}},[(_vm.label && !_vm.hideLabel)?_c('label',{staticClass:\"field-wrapper__label\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),_c('div',{class:['lex-checkboxes', { 'lex-checkboxes--row': !_vm.displayAsColumn }]},[_vm._l((_vm.options),function(item){return _c('div',{key:item.Value,staticClass:\"lex-checkboxes__item\"},[_c('label',{staticClass:\"lex-checkbox\",class:{\n error: !!_vm.getCurrentMessage(_vm.name),\n disabled: _vm.disabled || item.Disabled,\n }},[(_vm.getModelNamesFromList)?[_c('CheckInput',{attrs:{\"id\":_vm.generateFieldId + '-' + item.Value,\"checkValue\":item.Value},model:{value:(_vm.model[item.Value]),callback:function ($$v) {_vm.$set(_vm.model, item.Value, $$v)},expression:\"model[item.Value]\"}})]:[_c('CheckInput',{attrs:{\"checked\":_vm.checked,\"id\":_vm.generateFieldId + '-' + item.Value,\"checkValue\":item.Value,\"custom\":_vm.custom},model:{value:(_vm.model[_vm.name]),callback:function ($$v) {_vm.$set(_vm.model, _vm.name, $$v)},expression:\"model[name]\"}})],_c('span',{staticClass:\"lex-checkbox__text\"},[_vm._v(_vm._s(item.Text))]),_vm._t(\"default\")],2)])}),_c('ErrorWrapper',{attrs:{\"message\":_vm.getCurrentMessage(_vm.name)}})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckInput.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckInput.ts?vue&type=script&lang=ts&\"","import { Component, Prop, Ref, Watch } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport { Fragment } from 'vue-fragment';\n\nimport InputValidationMixin from '@/forms/FormElements/Mixins/InputValidationMixin';\n\nimport Tick from '@/assets/icons/tick-alt.svg?inline';\n\n@Component({ components: { Tick, Fragment } })\nexport default class CheckInput extends mixins(InputValidationMixin) {\n @Prop(String)\n readonly id!: string;\n\n @Prop()\n readonly value!: any[] | any;\n\n @Prop({ type: Boolean, default: false })\n readonly checked?: Boolean;\n\n @Prop()\n readonly custom?: Boolean;\n\n @Prop()\n readonly checkValue!: any;\n\n get mappedToArray() {\n return Array.isArray(this.value);\n }\n\n get isChecked() {\n if (this.mappedToArray) {\n return this.value.includes(this.checkValue);\n }\n return this.value;\n }\n\n mounted() {\n if (this.custom) {\n this.$emit('input', this.checked);\n }\n }\n\n change(event: any) {\n const checked = event.target.checked;\n if (this.mappedToArray) {\n const newArray = [...this.value];\n const found = newArray.indexOf(this.checkValue);\n if (found !== -1) {\n newArray.splice(found, 1);\n } else {\n newArray.push(this.checkValue);\n }\n\n this.$emit('input', newArray);\n } else {\n this.$emit('input', checked);\n }\n }\n}\n","import { render, staticRenderFns } from \"./CheckInput.vue?vue&type=template&id=3cba175c&\"\nimport script from \"./CheckInput.ts?vue&type=script&lang=ts&\"\nexport * from \"./CheckInput.ts?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Fragment',[_c('input',{attrs:{\"type\":\"checkbox\",\"id\":_vm.id},domProps:{\"checked\":_vm.checked,\"value\":_vm.value},on:{\"change\":_vm.change}}),_c('span',{staticClass:\"lex-checkbox__tick\",class:{ 'lex-checkbox__tick--checked': _vm.isChecked }},[(_vm.isChecked)?_c('Tick'):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckBoxRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./CheckBoxRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport FieldWrapper from '@/forms/FormElements/Common/FieldWrapper/FieldWrapper.vue';\nimport ErrorWrapper from '@/forms/FormElements/Common/ErrorWrapper/ErrorWrapper.vue';\nimport CheckInput from '@/forms/FormElements/Inputs/CheckInput/CheckInput.vue';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\nimport SelectItem from '@/common/interfaces/SelectItem';\n\n@Component({ components: { CheckInput, FieldWrapper, ErrorWrapper } })\nexport default class CheckBoxRow extends mixins(RowValidationMixin) {\n @Prop({ type: Array as () => SelectItem[] })\n readonly list!: SelectItem[];\n\n @Prop(Boolean)\n readonly getModelNamesFromList!: boolean;\n\n @Prop(Boolean)\n readonly displayAsColumn!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly noGutters!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly hideLabel!: boolean;\n\n @Prop({ type: Boolean, default: false })\n readonly checked?: boolean;\n\n @Prop()\n readonly custom?: Boolean;\n\n get options() {\n return this.list || [{ Text: this.label, Value: true }];\n }\n}\n","import { render, staticRenderFns } from \"./CheckBoxRow.vue?vue&type=template&id=13cbf32c&\"\nimport script from \"./CheckBoxRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./CheckBoxRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckBoxRow.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import BaseValidation from '@/forms/Validations/BaseValidation';\nimport { isUSAIP, shouldShowOptIn } from '@/store';\n\nexport const names = {\n NewsletterOptin: 'NewsletterOptin',\n DisneyOptin: 'DisneyOptin',\n}\n\nexport default (path: string = '') => {\n const newsletterOptin = {\n name: names.NewsletterOptin,\n rules: { \n required: (val) => {\n if (shouldShowOptIn()) return val\n return true\n }\n },\n messages: {\n required: 'Please check the optin',\n },\n modelValue: false,\n }\n const disneyOptin = { name: names.DisneyOptin, rules: {}, messages: {}, modelValue: false }\n const validationsArr: any[] = [newsletterOptin]\n if (isUSAIP()) validationsArr.push(disneyOptin)\n return (\n new BaseValidation(\n validationsArr,\n path,\n )\n)}","import { shouldShowOptIn } from '@/store';\nimport Vue from 'vue';\nimport Component from 'vue-class-component';\n\n@Component\nexport default class NewsletterOptinMixin extends Vue {\n get shouldShowOptinCheckBox() {\n return shouldShowOptIn()\n }\n}\n","export const DISNEY_OPTIN_HTML = `\nCheck here to also opt in to receive updates, special offers, and other information from National Geographic Expeditions and The Walt Disney Family of Companies. By opting in you agree that you are a U.S. resident and agree to The Walt Disney Family of Companies'\nTerms of Use and acknowledge that you have read their\nPrivacy Policy and\nUS State Privacy Rights Notice.\n`","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title-header\",class:{ 'title-header--center': _vm.p.Center }},[_c('div',{staticClass:\"title-header__lockup\"},[(_vm.p.Link.Title)?_c('div',{staticClass:\"title-header__link push-v--mobile--small\"},[_c('Arrow',{staticClass:\"title-header__arrow\"}),_c('a',{staticClass:\"cta\",attrs:{\"href\":_vm.p.Link.Link}},[_vm._v(_vm._s(_vm.p.Link.Title))])],1):_vm._e(),(_vm.tag === 'h2')?_c('h2',{staticClass:\"title-header__title push-v--mobile--x-small\"},[_vm._v(_vm._s(_vm.p.Title))]):_c('h1',{staticClass:\"title-header__title push-v--mobile--x-small\"},[_vm._v(_vm._s(_vm.p.Title))]),(_vm.p.Text)?_c('p',{staticClass:\"title-header__text h5\"},[_vm._v(_vm._s(_vm.p.Text))]):_vm._e(),(_vm.p.Links)?_vm._l((_vm.p.Links),function(Link,i){return _c('div',{key:i,staticClass:\"push-v--mobile--small push-t--mobile--small\"},[_c('a',{staticClass:\"cta\",attrs:{\"href\":Link.Link}},[_vm._v(_vm._s(Link.Title))])])}):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./TitleHeader.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./TitleHeader.ts?vue&type=script&lang=ts&\"","import { Component, Vue } from 'vue-property-decorator';\nimport { TitleHeader } from '@/common/interfaces/TitleHeader';\nimport Arrow from '@/assets/icons/arrow.svg?inline';\n\nconst TitleHeaderProps = Vue.extend({\n props: {\n p: Object as () => TitleHeader,\n tag: { type: String, default: 'h1' }\n }\n});\n\n@Component({\n components: {\n Arrow,\n },\n})\nexport default class TitleHeaderComponent extends TitleHeaderProps {}\n","import { render, staticRenderFns } from \"./TitleHeader.vue?vue&type=template&id=5e058fe0&\"\nimport script from \"./TitleHeader.ts?vue&type=script&lang=ts&\"\nexport * from \"./TitleHeader.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./TitleHeader.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { EmailSignUpUser } from '@/modules/EmailSignUpModule/EmailSignUpForm/EmailSignUpForm.types';\nimport ApiService from '@/common/ApiService/ApiService';\nimport { HttpVerb } from '@/common/ApiService/HttpVerb';\nimport { AxiosResponse } from 'axios';\nimport Cookies from 'js-cookie';\nimport { isInUSTimezone } from 'in-us'\n\nconst EmailSignUpService = new ApiService('/api/EmailSignUpService/', {\n showLoading: true,\n});\n\nexport const submitEmailSignUp = (model: EmailSignUpUser): Promise => {\n return EmailSignUpService.call('EmailSignUp', model, {\n verb: HttpVerb.POST,\n returnData: false,\n }).then((res: AxiosResponse) => {\n if (res.status == 200) {\n Cookies.set('newsletterSubscribed', true, { expires: 365 });\n \n const hasAccepted = hasAcceptedAdditionalIntegrationsCookie()\n if (hasAccepted === true || (typeof hasAccepted === 'undefined' && isInUSTimezone())) {\n const script = document.createElement('script')\n script.src = `//cdn.datasteam.io/js/D2CA27E6C1BB02.js?conversion=true`\n document.head.appendChild(script)\n }\n\n return { IsOk: true, Item: res.data, Error: null };\n }\n return { IsOk: false, Item: null, Error: res.data };\n });\n};\n\nexport const submitEmailSignUpFollowUp = (model: EmailSignUpUser): Promise => {\n return EmailSignUpService.call('UpdateEmailSignUp', model, {\n verb: HttpVerb.PATCH,\n returnData: false,\n }).then((res: AxiosResponse) => {\n if (res.status == 200) {\n window.scrollTo({\n top: 0,\n behavior: 'smooth'\n });\n return { IsOk: true, Item: res.data, Error: null };\n }\n return { IsOk: false, Item: null, Error: res.data };\n });\n};\n\nexport const hasAcceptedAdditionalIntegrationsCookie = (): boolean => {\n const cookies = Cookies.get('tracking-preferences') || Cookies.get('tracking-preferences-stg')\n if (!cookies) return undefined\n const preferences = JSON.parse(cookies)\n return preferences.custom?.['Additional Integrations'] || false\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CheckBoxRow',{attrs:{\"checked\":_vm.isAccepted,\"name\":_vm.names && _vm.names.CheckTC,\"subModel\":_vm.subModel}},[(!_vm.hasTextSlot)?_c('p',{staticClass:\"text--small\"},[_vm._v(\"\\n I acknowledge that I have read and understood the\\n \"),_c('a',{staticClass:\"cta cta--long-text-links font-inherit\",attrs:{\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"href\":_vm.TermsLink}},[_vm._v(\"reservation terms & conditions \")]),_vm._v(\"\\n and\\n \"),_c('a',{staticClass:\"cta cta--long-text-links font-inherit\",attrs:{\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"href\":_vm.PrivacyPolicyLink}},[_vm._v(\"cancellation policy\")])]):_vm._t(\"text\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { requireWithDefault } from '@/forms/Validations/CommonRules';\n\nimport BaseValidation from '@/forms/Validations/BaseValidation';\n\nexport const names = {\n CheckTC: 'CheckTC',\n};\n\nexport interface TCModel {\n CheckTC: boolean;\n}\n\nexport default (path: string = '') =>\n new BaseValidation(\n [\n {\n name: names.CheckTC,\n rules: { required: requireWithDefault(false) },\n messages: {\n required: 'Please check T&C',\n },\n modelValue: false,\n },\n ],\n path,\n );\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--0!./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"","import { Component, Prop } from 'vue-property-decorator';\nimport { mixins } from 'vue-class-component';\n\nimport RowValidationMixin from '@/forms/FormElements/Mixins/RowValidationMixin';\nimport CheckBoxRow from '@/forms/FormElements/Rows/CheckBoxRow/CheckBoxRow.vue';\n\nimport { names } from './TermsAndConditionsRow.validation';\n\n@Component({ components: { CheckBoxRow } })\nexport default class TermsAndConditionsRow extends mixins(RowValidationMixin) {\n names = names;\n @Prop()\n TermsLink!: string;\n @Prop()\n PrivacyPolicyLink!: string;\n @Prop()\n isAccepted?: Boolean;\n\n get hasTextSlot() {\n return !!this.$slots.text\n }\n}\n","import { render, staticRenderFns } from \"./TermsAndConditionsRow.vue?vue&type=template&id=a9a6491e&\"\nimport script from \"./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./TermsAndConditionsRow.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./TermsAndConditionsRow.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}