1import{a as ke}from"./chunk-GT2VBHBV.js";import{a as Me}from"./chunk-FJBB6XS2.js";import{b as Ee}from"./chunk-BELZR25E.js";import{a as Te}from"./chunk-TMREZ3IP.js";import"./chunk-WHGZ3WUY.js";import"./chunk-6DBQOOYD.js";import{a as Pe}from"./chunk-2JVSSZRP.js";import{a as w}from"./chunk-ZYD2R6MX.js";import{a as Be}from"./chunk-AN6SECRI.js";import{a as De}from"./chunk-2SLCXJZC.js";import"./chunk-FKPVATVH.js";import{a as be}from"./chunk-6QCSDCUW.js";import{c as ye}from"./chunk-BKE57J57.js";import{a as Ie}from"./chunk-XIC6BDYF.js";import{a as Se}from"./chunk-RTOM6HI5.js";import{a as Ce}from"./chunk-PRVRB246.js";import"./chunk-ADPFY73H.js";import{a as xe}from"./chunk-LBNWNY6Z.js";import"./chunk-M7S3QZTP.js";import{$d as M,A as n,C as c,Dd as pe,E as H,Ea as V,Fc as K,Gc as Q,Hc as X,Ic as Y,Jc as Z,Ka as x,Kb as W,La as P,Lc as q,Ma as N,Mc as ee,N as p,Nc as te,O as d,Oc as ie,P as _,Pb as R,Pc as ne,Q as g,R as v,S as u,T as o,Ta as E,U as a,Uc as oe,V as b,Vc as re,Vd as de,Wc as ae,Wd as he,Xa as U,Yd as ue,aa as T,bd as se,ca as C,cd as le,ea as h,ee as fe,gc as G,hc as $,hd as ce,i as B,ib as j,j as D,jc as J,je as _e,le as ge,md as L,me as ve,qa as l,ra as f,sa as S,td as me,w as F,xa as k,ya as A,yb as z,za as O}from"./chunk-GD3BCZ7S.js";import"./chunk-YUQQ3TUO.js";import"./chunk-TCHG4T7D.js";import"./chunk-P5VRMAHN.js";import"./chunk-DVPICERD.js";import"./chunk-WWQTUTX2.js";import"./chunk-7AULNS6U.js";import"./chunk-YUNOCBLG.js";import"./chunk-ZYW6V3OP.js";import"./chunk-VGMJM2GZ.js";import"./chunk-LTNIK4PN.js";import"./chunk-2NIBOUWM.js";import"./chunk-I547WOKC.js";import"./chunk-NMFL75IO.js";import{h as I}from"./chunk-C4FLJMU7.js";var Ge=t=>({name:t});function $e(t,s){if(t&1){let e=T();o(0,"app-searchbar",39),C("selectedProperty",function(i){B(e);let m=h();return D(m.propertyGotSelected(i))}),a()}if(t&2){let e=h();u("hidden",!e.enableFavProperty)("elementID","enrollForVisitor")("propertiesList",e.propertiesList)("isFirstTimeDisabled",e.selectedCityOrHotelName)("selectedCityOrHotelName",e.selectedCityOrHotelName)("innerPageClasss",!0)}}function Je(t,s){if(t&1&&(o(0,"ion-segment-button",20)(1,"ion-label"),l(2),a()()),t&2){let e=h();u("value",e.memberBenefits==null?null:e.memberBenefits.tab1Title),n(2),f(e.memberBenefits==null?null:e.memberBenefits.tab1Title)}}function Ke(t,s){if(t&1&&(o(0,"ion-segment-button",21)(1,"ion-label"),l(2),a()()),t&2){let e=h();u("value",e.memberBenefits==null?null:e.memberBenefits.tab2Title),n(2),f(e.memberBenefits==null?null:e.memberBenefits.tab2Title)}}function Qe(t,s){if(t&1&&(o(0,"ion-segment-button",21)(1,"ion-label"),l(2),a()()),t&2){let e=h();u("value",e.memberBenefits==null?null:e.memberBenefits.tab3Title),n(2),f(e.memberBenefits==null?null:e.memberBenefits.tab3Title)}}function Xe(t,s){if(t&1&&(o(0,"li"),l(1),a()),t&2){let e=s.$implicit;n(),S(" ",e," ")}}function Ye(t,s){if(t&1&&(o(0,"div",40)(1,"h5",41),l(2),a(),o(3,"ul",42),g(4,Xe,2,1,"li",null,_),a()()),t&2){let e=s.$implicit;n(2),f(e==null?null:e.key),n(2),v(e==null?null:e.values)}}function Ze(t,s){if(t&1&&(o(0,"div",23),g(1,Ye,6,1,"div",40,_),a()),t&2){let e=h();u("ngClass",e.setClasses("secondBlock")),n(),v(e.memberBenefits==null?null:e.memberBenefits.tab1Features)}}function qe(t,s){if(t&1&&(o(0,"li"),l(1),a()),t&2){let e=s.$implicit;n(),S(" ",e," ")}}function et(t,s){if(t&1&&(o(0,"div",40)(1,"h5",41),l(2),a(),o(3,"ul",42),g(4,qe,2,1,"li",null,_),a()()),t&2){let e=s.$implicit;n(2),f(e==null?null:e.key),n(2),v(e==null?null:e.values)}}function tt(t,s){if(t&1&&(o(0,"div",23),g(1,et,6,1,"div",40,_),a()),t&2){let e=h();u("ngClass",e.setClasses("secondBlock")),n(),v(e.memberBenefits==null?null:e.memberBenefits.tab2Features)}}function it(t,s){if(t&1&&(o(0,"li"),l(1),a()),t&2){let e=s.$implicit;n(),S(" ",e," ")}}function nt(t,s){if(t&1&&(o(0,"div",40)(1,"h5",41),l(2),a(),o(3,"ul",42),g(4,it,2,1,"li",null,_),a()()),t&2){let e=s.$implicit;n(2),f(e==null?null:e.key),n(2),v(e==null?null:e.values)}}function ot(t,s){if(t&1&&(o(0,"div",23),g(1,nt,6,1,"div",40,_),a()),t&2){let e=h();u("ngClass",e.setClasses("secondBlock")),n(),v(e.memberBenefits==null?null:e.memberBenefits.tab3Features)}}function rt(t,s){t&1&&b(0,"ion-icon",27)}function at(t,s){t&1&&b(0,"ion-icon",28)}function st(t,s){if(t&1&&(o(0,"p"),l(1),a()),t&2){let e=h(2);n(),f(e.memberBenefits==null?null:e.memberBenefits.descriptionMedium)}}function lt(t,s){if(t&1&&(o(0,"li"),l(1),a()),t&2){let e=s.$implicit;n(),f(e)}}function ct(t,s){if(t&1&&(o(0,"ul",47),g(1,lt,2,1,"li",null,_),a()),t&2){let e=h(2);n(),v(e.memberBenefits==null?null:e.memberBenefits.moreFeatures)}}function mt(t,s){if(t&1&&(o(0,"li"),l(1),a()),t&2){let e=s.$implicit;n(),f(e)}}function pt(t,s){if(t&1&&(o(0,"ul",48),g(1,mt,2,1,"li",null,_),a()),t&2){let e=h(2);n(),v(e.memberBenefits==null?null:e.memberBenefits.keyFeatures)}}function dt(t,s){t&1&&b(0,"ion-icon",27)}function ht(t,s){t&1&&b(0,"ion-icon",28)}function ut(t,s){if(t&1){let e=T();o(0,"ion-card",29)(1,"ion-card-content",43)(2,"ion-list",44)(3,"ion-item",45)(4,"ion-label",46),p(5,st,2,1,"p"),p(6,ct,3,0,"ul",47),o(7,"h5"),l(8),x(9,"translate"),a(),p(10,pt,3,0,"ul",48),a()(),o(11,"ion-button",49),C("click",function(){B(e);let i=h();return D(i.expandText())}),p(12,dt,1,0,"ion-icon",27),p(13,ht,1,0,"ion-icon",28),a()()()()}if(t&2){let e=h();n(5),d(e.memberBenefits!=null&&e.memberBenefits.descriptionMedium?5:-1),n(),d(e.memberBenefits!=null&&e.memberBenefits.moreFeatures?6:-1),n(2),f(P(9,6,"signup_program_benefits.key_features")),n(2),d(e.memberBenefits!=null&&e.memberBenefits.keyFeatures?10:-1),n(2),d(e.isExpand1?-1:12),n(),d(e.isExpand1?13:-1)}}function ft(t,s){if(t&1){let e=T();o(0,"ion-item",45),b(1,"ion-img",52),o(2,"ion-label",33)(3,"p"),l(4),a(),o(5,"p",53),C("click",function(){let i=B(e).$implicit,m=h(2);return D(m.openTermsModal(i==null?null:i.benefitTerms))}),o(6,"ion-text",54),l(7),x(8,"translate"),a()()()()}if(t&2){let e=s.$implicit;n(),u("src",e==null?null:e.image),n(3),f(e==null?null:e.key),n(3),S(" ",P(8,3,"cardBenefit.termsCondition")," ")}}function bt(t,s){t&1&&b(0,"ion-icon",27)}function _t(t,s){t&1&&b(0,"ion-icon",28)}function gt(t,s){if(t&1){let e=T();o(0,"ion-card",30)(1,"ion-card-header",12)(2,"ion-card-title",12),l(3),a()(),o(4,"ion-card-content",43)(5,"ion-list",50),g(6,ft,9,5,"ion-item",45,_),a(),o(8,"ion-button",51),C("click",function(){B(e);let i=h();return D(i.expand())}),p(9,bt,1,0,"ion-icon",27),p(10,_t,1,0,"ion-icon",28),a()()()}if(t&2){let e=h();n(3),f(e.memberBenefits==null||e.memberBenefits.commonbenefits==null?null:e.memberBenefits.commonbenefits.benef
1itstitle),n(3),v(e.selectedPlanBenefits),n(3),d(e.isExpand?-1:9),n(),d(e.isExpand?10:-1)}}var Yt=(()=>{class t{constructor(e,r,i,m,y,Ae,Oe,Le,we,Fe,He,Ve,Ne,Ue,je,ze,We,Re){this.signupService=e,this.appState=r,this.analyticsService=i,this.homeService=m,this.spouseMembershipService=y,this.activate=Ae,this.modalCtrl=Oe,this.router=Le,this.commonServ=we,this.translate=Fe,this.alertService=He,this.modalController=Ve,this.activationService=Ne,this.navCtrl=Ue,this.membService=je,this.auth=ze,this.init=We,this.searchService=Re,this.isExpand=!1,this.isChecked=pe.boolFalseValue,this.ionicStorageData={},this.isExpand1=!1,this.isExpand2=!1,this.enableViewBenefitButton=!1,this.enableFavProperty=!1,this.favPropertySelected=!1,this.enableProceed=!1,this.environment=E}ngOnInit(){let e=this.appState.getAppData();e.appInitData&&e.appInitData.nationalProperty&&(this.selectedCountryId=e.appInitData.nationalProperty.countryId,this.selectedCityId=e.appInitData.nationalProperty.cityId,this.selectedPropertyId=e.appInitData.nationalProperty.propertyId,this.enableFavProperty=e.appInitData.nationalProperty.enableFavProperty),this.selectedLevel=this.activate.memberActivationCustomizationDetails.aemIdentifier[0].customerSets[0].levelID,this.selectedLevelId=this.activate.memberActivationCustomizationDetails.aemIdentifier[0].customerSets[0].levelID,this.userName=this.activate.memberActivationCustomizationDetails.memberFirstname+"\xA0"+this.activate.memberActivationCustomizationDetails.memberLastname,e&&e.appInitData&&(this.appInitData=e.appInitData,this.getMembershipInfo()),console.log("memberActivationAVData-->>",this.activate.memberActivationAVData),this.activate.memberActivationAVData.isfavHotelSelected?this.enableFavProperty=!1:this.enableFavProperty&&(E?.uiVersion==1?this.getCountries():this.fetchCityHotel(e.appInitData.propertyList))}fetchCityHotel(e){this.propertiesList=e,this.propertiesList.map(r=>{r.value=r.cityname,r.properties.map(i=>{i.cityId=r.cityid,i.cityName=r.cityname})}),console.log("propertiesList-->>",this.propertiesList),this.setCityOrHotel()}propertyGotSelected(e){if(console.log("propertyGotSelected ::>",e),e?.propertyid){this.propertyId=e?.propertyid,this.selectedCityOrHotel=e;let r={detail:{value:this.propertyId}};this.onSelectProperty(r)}else this.selectedCityOrHotel=void 0,this.selectedCityOrHotelName=void 0,this.favPropertySelected=!1,this.checkTerms()}setCityOrHotel(){this.propertiesList.length==1&&this.propertiesList[0].properties.length==1&&(console.log("single hotel--->>",this.propertiesList),this.selectedCityOrHotel=this.propertiesList[0]?.properties[0],this.searchResult=this.propertiesList[0]?.properties[0],this.propertyId=this.selectedCityOrHotel?.propertyid,this.selectedCityOrHotelName=this.selectedCityOrHotel?.value,this.searchLevelResult=this.selectedProperty.levels)}onSelectProperty(e){if(console.log("selected event -->>",e),e){this.favPropertySelected=!0,this.selectedProperty=this.selectedCityOrHotel,this.selectedPropertyId=this.selectedCityOrHotel.propertyid,this.selectedCityId=this.selectedCityOrHotel.cityId,console.log("selected property -->>",this.selectedProperty);let r={propertyIdentifier:this.selectedProperty.propertyIdentifier,customerSets:this.membershipDetails.aemIdentifier[0].customerSets[0]};this.createDynamicURL(r,this.membershipDetails.aemIdentifier[0].subBrandIdentifier),this.checkTerms()}}grow(e){switch(e){case"firstBlock":this.isExpand2=!this.isExpand2,this.setClasses("firstBlock");break;case"secondBlock":this.isExpand2=!this.isExpand2,this.setClasses("secondBlock");break}}setClasses(e){switch(e){case"firstBlock":let r="expandableContainer ";return r+=this.isExpand?"expandheight":"shrinkheight",r;case"secondBlock":let i="expandableContainer ";return i+=this.isExpand2?"expandheight":"shrinkheight",i}}expand(){this.isExpand=!this.isExpand;let e=document.getElementById("mainCardSubsciption");this.isExpand===!0?(e.style.maxHeight="100%",e.style.transition="max-height 0.2s linear"):(e.style.maxHeight="130px",e.style.transition="max-height 0.2s linear")}expandText(){this.isExpand1=!this.isExpand1;let e=document.getElementById("textCard");this.isExpand1===!0?(e.style.maxHeight="100%",e.style.transition="max-height 0.2s linear"):(e.style.maxHeight="50px",e.
1style.transition="max-height 0.2s linear")}getMembershipInfo(){this.aemData=null,this.signupService.getMemberShipDetails(this.selectedCountryId,this.selectedCityId,"",this.selectedPropertyId,this.selectedLevel.levelName,this.activate.memberActivationCustomizationDetails.aemIdentifier[0].customerSets[0].levelID,this.promocodeApiResponse,this.promocodeApiResponse).then(e=>{if(e){this.membershipDetails=e,this.appInitData.currency.forEach(i=>{i.currencyName==this.membershipDetails.currency&&(this.currency=i)}),this.spouseMembershipService.gstRate=this.membershipDetails.gst;let r={propertyIdentifier:e.aemIdentifier[0].propertyIdentifier,customerSets:e.aemIdentifier[0].customerSets[0]};this.createDynamicURL(r,e.aemIdentifier[0].subBrandIdentifier)}})}createDynamicURL(e,r){let i=this.homeService.createDynamicURL(e,r,"save");this.appState.saveLoginServiceData({aemUrl:i,aemIdentifier:JSON.stringify(e),subBrandIdentifier:r}),this.homeService.COMPLETE_AEM_DATA?(this.aemData=this.homeService.COMPLETE_AEM_DATA,this.memberBenefits=this.homeService.COMPLETE_AEM_DATA.onboarding.membershipBenefits,this.privacyData=this.homeService.welcomeScreenData?this.homeService.welcomeScreenData.privacy:this.homeService.COMPLETE_AEM_DATA.onboarding.privacyStatement,this.setUpBenefits()):this.homeService.getHomeAEMDetails(i).then(m=>{console.log("this.homeService.COMPLETE_AEM_DATA.onboarding.membershipBenefits;",this.homeService.COMPLETE_AEM_DATA),this.memberBenefits=this.homeService.COMPLETE_AEM_DATA.onboarding.membershipBenefits,this.aemData=this.homeService.COMPLETE_AEM_DATA,this.privacyData=this.homeService.welcomeScreenData?this.homeService.welcomeScreenData.privacy:this.homeService.COMPLETE_AEM_DATA.onboarding.privacyStatement,this.memberBenefits?.tab1Features.length!=0?this.benefitType=this.memberBenefits.tab1Title:this.memberBenefits?.tab2Features.length!=0?this.benefitType=this.memberBenefits.tab2Title:this.memberBenefits?.tab3Features.length!=0&&(this.benefitType=this.memberBenefits.tab3Title),this.setUpBenefits()}).catch(m=>{})}setUpBenefits(){this.selectedPlanBenefits=[],this.memberBenefits.subscriptionPlans.forEach(e=>{e.planTitle==this.membershipDetails.aemIdentifier[0].customerSets[0].level&&(console.log("element--->>",e),this.selectedPlanBenefits=[],e.planBenefits?.length&&(this.selectedPlanBenefits=this.selectedPlanBenefits.concat(e.planBenefits)),this.memberBenefits.commonbenefits.benefitListModel?.length&&(this.selectedPlanBenefits=this.selectedPlanBenefits.concat(this.memberBenefits.commonbenefits.benefitListModel)),console.log("selecte plan benefits -->",this.selectedPlanBenefits))})}onProceedProgramBenefits(){if(this.commonServ.internetStatus){this.commonServ.presentLoader(this.translate.instant("loader.unlockBenefit"));var e={isProgBenTnCChecked:String(this.isChecked),isMembershipActivated:"true",isMobileVerified:"true",isEmailVerified:"true",favHotel:""};this.activate.memberActivationAVData.isfavHotelSelected||(e.favHotel=this.selectedPropertyId),console.log("unlock request",e),this.signupService.postUnlockBenefits(e,this.activate.membershipNumber).then(r=>I(this,null,function*(){this.commonServ.dismissLoader(),r&&(this.appState.saveMembershipTypeID({membershipTypeID:this.activate.memberActivationCustomizationDetails.aemIdentifier[0].customerSets[0].levelID}),this.appState.saveMemberType({memberType:"member"}),this.homeService.COMPLETE_AEM_DATA&&this.homeService.COMPLETE_AEM_DATA.onboarding.activationPopup&&this.homeService.COMPLETE_AEM_DATA.onboarding.activationPopup.description1?(yield this.modalController.create({component:Pe,id:"WelcomeModalComponent"})).present():this.membershipSuccessHandle())})).catch(r=>{this.commonServ.dismissLoader(),this.errorHandlerUnlockBenefit(r)})}else this.commonServ.presentToast(this.translate.instant("toastMsg.checkInternet"))}errorHandlerUnlockBenefit(e){return I(this,null,function*(){this.alertService.errorAlertController(e)})}checkTerms(){this.enableFavProperty?this.favPropertySelected&&this.isChecked?this.enableProceed=!0:this.enableProceed=!1:this.enableProceed=this.isChecked}openTnC(e){this.commonServ.openInAppBrowser(e,"_blank")}openTermsModal(e){return I(this,null,function*(){(yield this.modalCtrl.create({component:ke,componentProps:{benefits:e[0]},mode:"ios",cssClass:"termsModal commonModal"})).present()})}membershipSuccessHandle(){let e=this.appState.getEncryptedMemberId(),r=be.wel
1comeToActionClose;M.appData.visitor&&M.appData.visitor.visitor=="visitor"&&(r["cd.section2"]="Guest Flow"),console.log("Analytic data::>",r),this.analyticsService.trackState(r["cd.pagename"],r,e),this.afterActivateMembership()}afterActivateMembership(){return I(this,null,function*(){this.commonServ.presentLoader(this.translate.instant("loader.fetchData")),this.homeService.getHomeCRMDetails().then(e=>{e?(this.homeService.setDefaultMembershipNumber(),this.ionicStorageData.aemUrl=this.homeService.aemUrl,this.ionicStorageData.isLoggedIn="true",this.ionicStorageData.currentUrlPath="tabs",this.appState.saveSignupServiceData(this.ionicStorageData),this.homeService.flow="signup",localStorage.setItem(E?.headers?.program_id+":isLoggedIn","true"),this.auth.authenticationState.next(!0),this.init.isAppInitLoaded.next(!0),this.navCtrl.navigateRoot("/tabs",{state:{isUserFirstTime:!0}}),this.commonServ.isLoggedIn=!0,this.commonServ.dismissLoader(),this.membService.getMembershipCRMDetails().then(r=>{},r=>{this.commonServ.dismissLoader(),this.homeService.handleAPIError(r)})):this.commonServ.dismissLoader()},e=>{this.commonServ.dismissLoader(),this.homeService.handleAPIError(e)})})}getCountries(){this.commonServ.presentLoader(this.translate.instant("loader.fetchData")),this.searchService.getCountryCityPropertiesApiFunc("Sign_Up","").then(e=>{this.commonServ.dismissLoader(),e&&(this.countries=e.countries,this.selectedCountryId=this.countries[0].countryid,this.selectedCountry=this.countries[0],this.cities=this.countries.find(r=>r.countryid===this.selectedCountryId).cities,this.propertiesList=this.countries[0]?.cities)})}static{this.\u0275fac=function(r){return new(r||t)(c(Se),c(M),c(ye),c(ve),c(Ie),c(w),c(L),c(z),c(fe),c(de),c(ge),c(L),c(w),c(J),c(Ce),c(xe),c(_e),c(Be))}}static{this.\u0275cmp=H({type:t,selectors:[["app-subscription-detail"]],decls:56,vars:36,consts:[[3,"mobile"],[1,"pageContentWrap"],[1,"webContainer"],[1,"ion-no-padding"],[1,"ion-align-items-stretch"],["size","12","size-md","6",1,"forWeb"],[1,"leftContent"],["src","assets/imgs/program_related/left-banner-common.webp","alt","",1,"fixedImage"],["size","12","size-md","6",1,"d-flex"],[1,"rightContent"],[1,"page-content"],["mode","md",1,"top-title"],["mode","md"],["lines","none",3,"hidden"],["for","other","color","primary"],[3,"hidden","elementID","propertiesList","isFirstTimeDisabled","selectedCityOrHotelName","innerPageClasss"],[1,"common-card","selection-card",3,"hidden"],[1,"proprty-content"],[1,"ca-benefit-logo",3,"src"],["color","primary","mode","md","scrollable","",1,"androidSegment",3,"ngModelChange","ngModel"],["mode","md","aria-pressed","true",3,"value"],["mode","md",3,"value"],[1,"cardManage"],["id","ca-segment-text",1,"ca-segment-text",3,"ngClass"],[1,"ion-text-center"],[1,"ion-justify-content-center"],[1,"expandBtn",3,"click"],["color","primary",1,"ca-down-arrow-yellow-icon"],["color","primary",1,"ca-up-arrow-yellow-icon"],[1,"common-card","experiences-card","p-0"],[1,"common-card","experiences-card","mt-0"],[1,"terms-item"],["mode","ios","slot","start",3,"ngModelChange","ionChange","checked","ngModel"],[1,"ion-text-wrap"],["color","primary",3,"click"],["mode","md","expand","block","color","primary",1,"btnWeb","forWeb",3,"click","disabled"],[1,"forWeb"],[1,"forApp"],["mode","md","expand","block","color","primary",1,"btnWeb",3,"click","disabled"],[3,"selectedProperty","hidden","elementID","propertiesList","isFirstTimeDisabled","selectedCityOrHotelName","innerPageClasss"],[1,"segment-content"],[1,"segment-header"],[1,"segment-inner"],[1,"p-0"],["mode","ios",1,"subsExp-list"],["lines","none"],["id","textCard",1,"ion-text-wrap","ion-text-center"],[1,"more-features"],[1,"key-features"],["expand","block","fill","clear",3,"click"],["mode","ios","id","mainCardSubsciption",1,"subsExp-list"],["expand","block","fill","clear",1,"expandBtn",3,"click"],[1,"list-icon",3,"src"],[1,"tc",3,"click"],["color","primary"]],template:function(r,i){if(r&1&&(b(0,"web-header",0),o(1,"ion-content")(2,"div",1)(3,"div",2)(4,"ion-grid",3)(5,"ion-row",4)(6,"ion-col",5)(7,"div",6),b(8,"img",7),a()(),o(9,"ion-col",8)(10,"div",9)(11,"ion-item-group",10)(12,"div")(13,"ion-card-header",11)(14,"ion-card-title",12),l(15),x(16,"translate"),a()(),o(17,"ion-item",13)(18,"ion-label",14),l(19),x(20,"translate"),a()(),p(21,$e,1,6,"app-searchbar",15),o(22,"ion-card",16)(23,"div",17),b(24,"img",18),o(25,"ion-segment",19),O("ngModelChange",function(y){return A(i.benefitType,y)||(i.benefitType=y),y}),p(26,Je,3,2,"ion-segment-button",20),p(27,Ke,3,2,"ion-segment-button",21),p(28,Qe,3,2,"ion-segment-button",21),a(),o(29,"ion-card-content",22)(30,"div"),p(31,Ze,3,1,"div",23)(32,tt,3,1,"div",23)(33,ot,3,1,"div",23),a()(),o(34,"div",24)(35,"ion-buttons",25)(36,"ion-button",26),C("click",function(){return i.grow("secondBlock")}),p(37,rt,1,0,"ion-icon",27),p(38,at,1,0,"ion-icon",28),a()()()()(),p(39,ut,14,8,"ion-card",29),p(40,gt,11,3,"ion-card",30),o(41,"div",31)(42,"ion-checkbox",32),O("ngModelChange",function(y){return A(i.isChecked,y)||(i.isChecked=y),y}),C("ionChange",function(){return i.checkTerms()}),a(),o(43,"ion-label",33),l(44),o(45,"ion-text",34),C("click",function(){return i.openTnC(i.memberBenefits==null?null:i.memberBenefits.linkUrl)}),l(46),a(),l(47),a()()()(),o(48,"ion-button",35),C("click",function(){return i.onProceedProgramBenefits()}),l(49),x(50,"translate"),a()()()()()(),b(51,"web-footer",36),a()(),o(52,"ion-footer",37)(53,"ion-button",38),C("click",function(){return i.onProceedProgramBenefits()}),l(54),x(55,"translate"),a()()),r&2){let m;u("mobile",!0),n(15),f(N(16,25,"subscriptionDetail.welcomeUser",V(34,Ge,i.userName))),n(2),u("hidden",!i.enableFavProperty),n(2),f(P(20,28,"app_benefits.select_fav_hotel")),n(2),d((i.environment==null?null:i.environment.uiVersion)==1?21:-1),n(),u("hidden",!(i.memberBenefits!=null&&i.memberBenefits.tab1Features.length||i.memberBenefits!=null&&i.memberBenefits.tab2Features.length)),n(2),u("src",i.memberBenefits==null?null:i.memberBenefits.iconThumbnail,F),n(),k("ngModel",i.benefitType),n(),d((i.memberBenefits==null?null:i.memberBenefits.tab1Features.length)!=0?26:-1),n(),d((i.memberBenefits==null?null:i.memberBenefits.tab2Features.length)!=0?27:-1),n(),d((i.memberBenefits==null?null:i.memberBenefits.tab3Features.length)!=0?28:-1),n(3),d((m=i.benefitType)===(i.memberBenefits==null?null:i.memberBenefits.tab1Title)?31:m===(i.memberBenefits==null?null:i.memberBenefits.tab2Title)?32:m===(i.memberBenefits==null?null:i.memberBenefits.tab3Title)?33:-1),n(6),d(i.isExpand2?-1:37),n(),d(i.isExpand2?38:-1),n(),d(i.memberBenefits!=null&&i.memberBenefits.commonbenefits?39:-1),n(),d(i.memberBenefits!=null&&i.memberBenefits.commonbenefits?40:-1),n(2),u("checked",i.isChecked),k("ngModel",i.isChecked),n(2),S(" ",i.memberBenefits==null?null:i.memberBenefits.declarationPrefix," "),n(2),S(" ",i.memberBenefits==null?null:i.memberBenefits.linkTitle," "),n(),S(" ",i.memberBenefits==null?null:i.memberBenefits.declarationSuffix," "),n(),u("disabled",!i.enableProceed),n(),S(" ",P(50,30,"enroll_model.proceed")," "),n(4),u("disabled",!i.enableProceed),n(),S(" ",P(55,32,"enroll_model.proceed")," ")}},dependencies:[j,U,G,W,R,$,ue,Ee,De,te,ne,se,ee,re,Z,q,oe,ae,Me,X,le,Y,K,Q,ce,me,Te,ie,he],styles:["ion-item[_ngcontent-%COMP%]{--ion-safe-area-left: 0px;--padding-end: 16px;--detail-icon-color: var(--ion-color-primary);--detail-icon-opacity: 1}.subsExp-list[_ngcontent-%COMP%]{max-height:fit-content}.more-features[_ngcontent-%COMP%]{border-top:1px solid #dbdbdb;margin-top:15px;padding-top:15px}.key-features[_ngcontent-%COMP%]{list-style-type:disc;padding-left:20px}.common-card[_ngcontent-%COMP%]{margin:10px auto;padding:20px 16px}.common-card.selection-card[_ngcontent-%COMP%]{padding:0}.common-card[_ngcontent-%COMP%], .ca__button--proceed[_ngcontent-%COMP%]{width:calc(100% - 32px)}.androidSegment[_ngcontent-%COMP%] ion-segment-button[_ngcontent-%COMP%]{min-width:60px!important;font-size:14px}.proprty-content[_ngcontent-%COMP%]{padding:20px 16px 5px}.proprty-content[_ngcontent-%COMP%] .ca-benefit-logo[_ngcontent-%COMP%]{margin:auto auto 10px;width:30%;display:block}.proprty-content[_ngcontent-%COMP%] .ca-segment-text[_ngcontent-%COMP%]{height:250px;transition:height .5s linear;overflow:auto}.proprty-content[_ngcontent-%COMP%] .ca-segment-text.expandheight[_ngcontent-%COMP%]{height:auto}.proprty-content[_ngcontent-%COMP%] .ca-segment-text[_ngcontent-%COMP%] .segment-inner[_ngcontent-%COMP%]{padding:20px 10px 0 18px;font-size:14px;list-style-type:disc}.proprty-content[_ngcontent-%COMP%] .ca-segment-text[_ngcontent-%COMP%] .segment-inner[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-bottom:15px;font-size:16px;color:var(--ion-color-medium)}.proprty-content[_ngcontent-%COMP%] .ca-segment-text[_ngcontent-%COMP%] .segment-inner[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{padding-bottom:10px}.segment-content[_ngcontent-%COMP%]{margin-bottom:8px}.segment-content[_ngcontent-%COMP%] .segment-header[_ngcontent-%COMP%]{font-size:14px;line-height:18px;margin:0 0 8px;color:var(--ion-text-color);font-weight:500}.top-title[_ngcontent-%COMP%]{padding:20px 16px 10px}ion-checkbox[_ngcontent-%COMP%]{--size: 20px;--background-checked: var(--ion-color-primary)}ion-checkbox[_ngcontent-%COMP%]::part(container){border-radius:6px;border:1px solid var(--ion-color-primary)}.terms-item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:0 16px}.terms-item[_ngcontent-%COMP%] ion-checkbox[_ngcontent-%COMP%]{align-self:flex-start;margin-top:5px;flex:none}.terms-item[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{margin:0;font-size:var(--global-body-font-size)}"]})}}return t})();export{Yt as SubscriptionDetailPage};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.