1"use strict";(self.webpackChunkegardesh=self.webpackChunkegardesh||[]).push([[424],{424:(S,g,c)=>{c.r(g),c.d(g,{PublicReservePayComponent:()=>ae,ReserveBankService:()=>k});var v=c(5627),i=c(6905),f=c(4544),d=c(1949),I=c(2191),m=c(6289),y=c(3267),b=c(5749),n=c(5050),R=c(5806),u=c(9710),x=c(2993),l=c(969),h=c(8434),e=c(1360),P=c(9417),F=c(8426),j=c(9621),$=c(3412),E=c(4848),D=c(5262),w=c(3165),L=c(2432),N=c(2122);let k=(()=>{class s{constructor(r,o,a,t){this._httpClient=r,this.stateService=o,this._sharedService=a,this.environment=t}ipgProvider(r){return new Promise((o,a)=>{this._httpClient.post(`${this.environment.baseURL}/list`,{take:10,skip:0,sort:null,group:null,aggregate:null,data:{},providerQualifier:"ipgProviderGridProvider"}).subscribe({next:t=>o(t.data),error:t=>a(t)})})}getIpgProviderNoLogin(){return new Promise((r,o)=>{this._httpClient.post(`${this.environment.baseURL}/unAuthorized/getIpgProviderNoLogin`,{take:10,skip:0,sort:null,group:null,aggregate:null,data:{bankIpgFlag:1},providerQualifier:"ipgProviderGridProvider"}).subscribe({next:a=>r(a.result.data),error:a=>o(a)})})}getReserveDetail(r){return this._httpClient.get(`${this.environment.baseURL}/reserve/getReserveDetail/${r}`)}getReserveDetailNoLogin(r){return this._httpClient.get(`${this.environment.baseURL}/unAuthorized/getReserveDetailNoLogin/${r}`)}saveReserveRequest(r){return new Promise((o,a)=>{this._httpClient.post(`${this.environment.baseURL}/normalReserve/saveNormalReserve`,r).subscribe({next:t=>o(t.result),error:t=>a(t)})})}getWalletInfo(r){return this._sharedService.getWalletInfo(r)}getWalletBalance(r){return this._sharedService.getWalletBalance(r)}calcDiscount(r){return new Promise((o,a)=>{this._httpClient.post(`${this.environment.baseURL}/discount/calcDiscount`,r).subscribe({next:t=>o(t.result),error:t=>a(t)})})}passengerPay(r){return new Promise((o,a)=>{this._httpClient.post(`${this.environment.baseURL}/passengerPay/pay`,r).subscribe({next:t=>o(t.result),error:t=>a(t)})})}passengerPayTour(r){return new Promise((o,a)=>{this._httpClient.post(`${this.environment.tour_services_url}/tourPayPassenger/pay`,r).subscribe({next:t=>o(t.result),error:t=>a(t)})})}checkPhoneNumberByReserveId(r){return this._httpClient.post(`${this.environment.baseURL}/unAuthorized/checkPhoneNumberByReserveId`,r)}static#e=this.\u0275fac=function(o){return new(o||s)(e.KVO(w.Qq),e.KVO(L.d),e.KVO(N.d),e.KVO("environment"))};static#r=this.\u0275prov=e.jDH({token:s,factory:s.\u0275fac})}return s})();var B=c(5467),G=c(7530),T=c(9298),A=c(2782),X=c(1283);const W=["reserveForm"],M=()=>({format:"yyyy/MM/DD"}),z=s=>({"!ax-border-primary-500 ax-text-primary-700 ax-grayscale-0":s});function J(s,p){1&s&&(e.j41(0,"h3",11),e.EFF(1),e.nI1(2,"translate"),e.nI1(3,"async"),e.nI1(4,"translate"),e.nI1(5,"async"),e.k0s()),2&s&&(e.R7$(),e.Lme("",e.bMT(3,4,e.bMT(2,2,"hotel.hotelInfo"))," / ",e.bMT(5,8,e.bMT(4,6,"hotel.room")),""))}function V(s,p){1&s&&(e.j41(0,"h3",11),e.EFF(1,"\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0631\u0632\u0631\u0648"),e.k0s())}function U(s,p){1&s&&(e.j41(0,"ax-chips",42),e.nI1(1,"translate"),e.nI1(2,"async"),e.j41(3,"ax-prefix"),e.nrm(4,"ax-icon",43),e.k0s()()),2&s&&e.Y8G("color","secondary")("text",e.bMT(2,4,e.bMT(1,2,"myReservations.onlineReserve"))||"")}function Y(s,p){1&s&&(e.j41(0,"h3",17),e.EFF(1),e.nI1(2,"translate"),e.nI1(3,"async"),e.k0s()),2&s&&(e.R7$(),e.JRh(e.bMT(3,3,e.bMT(2,1,"myReservations.youreReserveInformation"))))}function O(s,p){if(1&s&&(e.j41(0,"div",44)(1,"div",45)(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"span"),e.EFF(5),e.j41(6,"small"),e.EFF(7),e.nI1(8,"translate"),e.nI1(9,"async"),e.k0s()()()),2&s){const r=p.$implicit,o=e.XpG();e.R7$(3),e.JRh(r.roomTypeName),e.R7$(2),e.SpI(" ",o.getRounded(r.roomSellingPrice,o.reserve.exchangePrice)," "),e.R7$(2),e.JRh(null===o._platformService.getDefaultMoneyTypeId()?e.bMT(9,5,e.bMT(8,3,"common.currency")):"$")}}function Q(s,p){if(1&s&&(e.j41(0,"div",38)(1,"p"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"async"),e.k0s(),e.j41(5,"p"),e.EFF(6),e.nI1(7,"number"),e.j41(8,"small"),e.EFF(9),e.nI1(10,"translate"),e.nI1(11,"async"),e.k0s()()(),e.nrm(12,"hr")),2&s){const r=e.XpG();e.R7$(2),e.Lme("",null==r.reserve||null==r.reserve.roomList?null:r.reserve.roomList.length," ",e.bMT(4,6,e.bMT(3,4,"common.room")),":"),e.R7$(4),e.SpI(" ",e.bMT(7,8,r.reserve.sumSellingCurrency)," "),e.R7$(3),e.JRh(null===r._platformService.getDefaultMoneyTypeId()?e.bMT(11,12,e.bMT(10,10,"common.currency")):"$")}}function H(s,p){if(1&s&&(e.j41(0,"div",38)(1,"p"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"async"),e.k0s(),e.j41(5,"p"),e.EFF(6),e.nI1(7,"number"),e.j41(8,"small"),e.EFF(9),e.nI1(10,"translate"),e.nI1(11,"async"),e.k0s()()()),2&s){const r=e.XpG();e.R7$(2),e.SpI("",e.bMT(4,5,e.bMT(3,3,"hotel-list.discount")),":"),e.R7$(4),e.SpI(" ",e.bMT(7,7,r.priceAfterDiscount)," "),e.R7$(3),e.JRh(null===r._platformService.getDefaultMoneyTypeId()?e.bMT(11,11,e.bMT(10,9,"common.currency")):"$")}}function K(s,p){1&s&&e.nrm(0,"ax-loading")}function Z(s,p){if(1&s){const r=e.RV6();e.j41(0,"div",30)(1,"ax-form-field")(2,"ax-label"),e.EFF(3),e.nI1(4,"translate"),e.nI1(5,"async"),e.k0s(),e.j41(6,"ax-text-box",46),e.mxI("valueChange",function(a){e.eBV(r);const t=e.XpG();return e.DH7(t.discountCode,a)||(t.discountCode=a),e.Njj(a)}),e.j41(7,"ax-prefix")(8,"ax-button",40),e.nI1(9,"translate"),e.nI1(10,"async"),e.bIt("onClick",function(){e.eBV(r);const a=e.XpG();return e.Njj(a.onPaymentDiscountClick())}),e.DNE(11,K,1,0,"ax-loading",41),e.k0s()()()()()}if(2&s){const r=e.XpG();e.R7$(3),e.JRh(e.bMT(5,7,e.bMT(4,5,"hotel-list.discountCode"))),e.R7$(3),e.R50("value",r.discountCode),e.R7$(2),e.Y8G("text",e.bMT(10,11,e.bMT(9,9,"hotel-list.discountCode")))("disabled",r.isLoading),e.R7$(3),e.Y8G("ngIf",r.isLoading)}}function q(s,p){if(1&s){const r=e.RV6();e.j41(0,"div",47),e.bIt("click",function(){const a=e.eBV(r).$implicit,t=e.XpG();return e.Njj(t.handleSelectedIpg(a))}),e.nrm(1,"ax-icon",48),e.j41(2,"div",49)(3,"p",50),e.EFF(4),e.k0s(),e.j41(5,"p",33),e.EFF(6),e.nI1(7,"translate"),e.nI1(8,"async"),e.nI1(9,"number"),e.nI1(10,"translate"),e.nI1(11,"async"),e.k0s()(),e.nrm(12,"ax-check-box",51),e.k0s()}if(2&s){const r=p.$implicit,o=e.XpG();e.Y8G("ngClass",e.eq3(16,z,r.active)),e.R7$(),e.Y8G("ngClass",r.icon),e.R7$(3),e.JRh(r.ipgName),e.R7$(2),e.SpI(" ","wallet"===r.code?e.bMT(8,8,e.bMT(7,6,"bank.currentCredit"))+e.bMT(9,10,o.walletBalance)+e.bMT(11,14,e.bMT(10,12,"common.currency")):r.ownerName," "),e.R7$(6),e.Y8G("ngModel",r.active)("readonly",!0)}}function ee(s,p){if(1&s){const r=e.RV6();e.j41(0,"div",36)(1,"div"),e.EFF(2," \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 "),e.j41(3,"span",17),e.EFF(4," \u067e\u0631\u062f\u0627\u062e\u062a \u0627\u0642\u0633\u0627\u0637\u06cc\u060c \u06
17e\u0631\u062f\u0627\u062e\u062a \u0627\u0632 \u06a9\u06cc\u0641 \u067e\u0648\u0644"),e.k0s(),e.EFF(5," \u060c \u06cc\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 "),e.j41(6,"span",17),e.EFF(7,"\u06a9\u062f \u062a\u062e\u0641\u06cc\u0641"),e.k0s(),e.EFF(8," \u060c \u0644\u0637\u0641\u0627\u064b \u0628\u0627 \u0647\u0645\u0627\u0646 "),e.j41(9,"span",17),e.EFF(10,"\u0634\u0645\u0627\u0631\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u062f\u0631 \u0631\u0632\u0631\u0648 \u062b\u0628\u062a \u0634\u062f\u0647"),e.k0s(),e.EFF(11," \u0627\u0633\u062a "),e.j41(12,"p",52),e.EFF(13),e.k0s(),e.j41(14,"a",37),e.bIt("click",function(){e.eBV(r);const a=e.XpG();return e.Njj(a.loginPopup())}),e.EFF(15," \u0648\u0627\u0631\u062f \u0633\u0627\u0645\u0627\u0646\u0647 \u0634\u0648\u06cc\u062f "),e.k0s()()()}if(2&s){const r=e.XpG();e.R7$(13),e.JRh(r.reservePhoneNumber)}}function re(s,p){1&s&&e.nrm(0,"ax-loading")}let ae=(()=>{class s extends n.Vc{constructor(r){super(),this.environment=r,this._calendarService=(0,e.WQX)(u.dC),this._storageService=(0,e.WQX)($.n),this._reserveBankService=(0,e.WQX)(k),this._dialogService=(0,e.WQX)(I.TG),this._router=(0,e.WQX)(F.Ix),this._platformService=(0,e.WQX)(E.f),this.translateService=(0,e.WQX)(x.KF),this.activeRouter=(0,e.WQX)(F.nX),this.dataConfigService=(0,e.WQX)(D.e),this.popupService=(0,e.WQX)(B.rz),this._UserProfileService=(0,e.WQX)(A.c),this.env=this.environment.picturesNameURL,this.reserve={},this.walletBalance=0,this.matchPhone=(0,e.vPA)(!1),this.reservePhoneNumber="",this.ipgList=[],this.confirmedHotelRules=!1,this.picturesURL=this.environment.picturesURL,this.reserveDetail={},this.reserveDetailNoLogin={},this.settingData=this.dataConfigService.config(),this.activeRouterService=this.activeRouter.queryParams.subscribe({next:o=>this.reserveId=Number(o.reserveId)}),this.userProfile=this._storageService.get("USER_PROFILE")}getReserveDetail(){this._reserveBankService.getReserveDetail(this.reserveId).subscribe({next:r=>{this.reserve={...r.result,roomList:r.result.reserveRoomResponseList}}})}getReserveDetailNoLogin(){this._reserveBankService.getReserveDetailNoLogin(this.reserveId).subscribe({next:r=>{this.reserve={...r.result}}})}ngOnInit(){this.checkPhoneNumberByReserveId(),this.reserve.startDate=this._calendarService.convert(this.reserve.startDate).date,this.reserve.endDate=this._calendarService.convert(this.reserve.endDate).date}getIPGProvider(){this._reserveBankService.ipgProvider({ownerId:1900010}).then(o=>{this.ipgList=o,this.ipgList?.length&&this.ipgList.forEach((a,t)=>{a.active=0===t,a.image="./assets/images/pay/smamn-kish.png",a.icon="fa-solid fa-credit-card"}),this.ipgList.unshift({active:!(o?.length>0),ipgName:this.translateService.translateSync("bank.payWallet"),icon:"fa-solid fa-wallet",ownerName:":0 "+(null===this._platformService.getDefaultMoneyTypeId()?"\u0631\u06cc\u0627\u0644":"$")+this.translateService.translateSync("bank.payWallet"),code:"wallet"})})}getIpgProviderNoLogin(){this._reserveBankService.getIpgProviderNoLogin().then(r=>{this.ipgList=r,this.ipgList?.length&&this.ipgList.forEach((o,a)=>{o.active=0===a,o.image="./assets/images/pay/smamn-kish.png",o.icon="fa-solid fa-credit-card"})})}handleSelectedIpg(r){this.ipgList.forEach(o=>{o.active=!1}),r.active=!0}getWalletInfo(){this._reserveBankService.getWalletInfo({hotelId:null,agencyId:this.settingData.agencyId,guestProfileId:this.userProfile.userAccountId,walletTypeId:1}).then(o=>{this.getWalletBalance(o)})}getWalletBalance(r){this._reserveBankService.getWalletBalance(r).then(o=>{this.walletBalance=o})}onPaymentDiscountClick(){const r={reserveId:this.reserveId,discountCode:this.discountCode};return this.isLoading||(this.isLoading=!0,this._reserveBankService.calcDiscount(r).then(o=>{this.priceAfterDiscount=0,o.forEach(t=>{this.priceAfterDiscount+=t.priceAfterDiscount});const a=`\u062a\u062e\u0641\u06cc\u0641 \u0634\u0645\u0627 \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0627\u0639\u0645\u0627\u0644 \u0634\u062f \u0645\u0628\u0644\u063a \u062a\u062e\u0641\u06cc\u0641 \u0634\u0645\u0627 ${this.priceAfterDiscount} ${null===this._platformService.getDefaultMoneyTypeId()?"\u0631\u06cc\u0627\u0644":"$"} \u0627\u0633\u062a`;this._dialogService.confirm(this.translateService.translateSync("bank.priceDiscount"),a,"success")}).finally(()=>this.isLoading=!1)),!1}
1onPaymentClick(){const r=this.ipgList.filter(o=>!0===o.active)[0];if(!1===this.confirmedHotelRules)this._dialogService.alert(this.translateService.translateSync("common.attention"),this.translateService.translateSync("bank.eRule"),"danger");else{const o={reserveId:this.reserveId?this.reserveId:this.reserve.reserveId,reserveTypeId:1,discountCode:this.discountCode,targetId:null,paymentTypeId:"wallet"===r.code?2:1,ipgProviderId:r.ipgId,paymentSubjectId:1,hotelId:this.reserve.hotelId,agencyId:this.reserve.agencyId,guarantorId:this.reserve.guarantorId,guestProfileId:this.userProfile.userAccountId};if(this.isLoading)return!1;this.isLoading=!0,this._reserveBankService.passengerPay(o).then(a=>{a&&a.token&&"wallet"!=r.code?window.location.href=a.token:a?this._dialogService.alert(this.translateService.translateSync("common.congratulations"),this.translateService.translateSync("bank.successPayment"),"success").then(()=>{this.handleNavigatedSuccessPage(a,"/reserve-booked")}):this.handleNavigatedSuccessPage(a,"/reserve-confirm")}).finally(()=>this.isLoading=!1)}return!1}handleNavigatedSuccessPage(r,o){this._router.navigate([this._platformService.siteLanguage()+o],{queryParams:{hotelId:r.hotelId,reserveNumber:r.reserveNumber||null,agencyId:r.agencyId,reserveId:r.reserveId,ipgFlag:r.ipgFlag}})}rulePopup(){this.popupService.open(G.n,{title:this.translateService.translateSync("myReservations.rule"),size:"lg",data:{popup:!0}})}ngOnDestroy(){this.activeRouterService&&this.activeRouterService.unsubscribe()}getRounded(r,o){return parseFloat(((r||0)/(o||1)).toFixed(2))}checkPhoneNumberByReserveId(){this._reserveBankService.checkPhoneNumberByReserveId({reserveId:this.reserveId,phoneNumber:this.userProfile.username}).subscribe({next:o=>{this.matchPhone.set(o.result.validatePhoneUser),this.reservePhoneNumber=o.result.phoneNumber,this.userProfile&&this.matchPhone()?(this.getReserveDetail(),this.getWalletInfo(),this.getIPGProvider()):(this.getReserveDetailNoLogin(),this.getIpgProviderNoLogin())}})}loginPopup(){this.popupService.open(X.p,{size:"sm",closeButton:!0}).then(r=>{r&&document.location.reload()})}static#e=this.\u0275fac=function(o){return new(o||s)(e.rXU("environment"))};static#r=this.\u0275cmp=e.VBU({type:s,selectors:[["travel-btc-workspace-public-reserve-pay"]],viewQuery:function(o,a){if(1&o&&e.GBs(W,5),2&o){let t;e.mGM(t=e.lsd())&&(a.reserveForm=t.first)}},features:[e.Jv_([k]),e.Vt3],decls:128,vars:135,consts:[["reserveForm",""],["validationMessageMode","tooltip"],[1,"ax-container","ax-m-auto","ax-py-8"],[1,"ax-mb-1","ax-mt-1"],[1,"ax-flex","ax-w-full","ax-items-center","ax-justify-center","max-[460px]:ax-justify-between","max-[270px]:ax-justify-center"],[3,"status","title","isFirst","icon"],[3,"status","title","icon"],[3,"status","title","icon","isLast"],[1,"ax-grid","ax-grid-cols-6","ax-gap-4"],[1,"ax-col-span-6","xl:ax-col-span-2"],[1,"ax-sticky","ax-top-0"],[1,"ax-p-4","ax-font-bold"],[1,"ax-flex","ax-flex-col","ax-card"],[1,"ax-relative","ax-flex"],[1,"ax-flex","ax-flex-col","ax-gap-4","ax-px-4","ax-pt-4"],[3,"color","text",4,"ngIf"],[1,"ax-flex","ax-items-center","ax-gap-1"],[1,"ax-font-bold"],[1,"ax-my-4"],[1,"ax-flex","ax-flex-col","ax-gap-4","ax-px-4"],[1,"ax-flex","ax-items-center","ax-justify-between","ax-gap-4"],[1,"ax-flex","ax-items-center","ax-gap-2"],[1,"ax-text-neutral-400"],[1,"ax-flex","ax-flex-col","ax-gap-2","ax-px-4","ax-pb-4"],["class","ax-flex ax-w-full ax-items-center ax-justify-between",4,"ngFor","ngForOf"],[1,"ax-mt-4","ax-flex","ax-flex-col","ax-gap-4","ax-p-4","ax-card"],[1,"ax-flex","ax-items-center","ax-justify-between","ax-font-bold"],["class","ax-flex ax-items-center ax-justify-between",4,"ngIf"],[1,"ax-col-span-6","xl:ax-col-span-4"],[1,"ax-flex","ax-flex-col","ax-p-4","ax-card"],[1,"ax-flex","ax-items-center","ax-gap-4"],[1,"ax-flex","ax-flex-col","ax-gap-4"],[1,"ax-flex","ax-flex-col","ax-gap-2"],[1,"ax-text-sm"],[1,"ax-flex","ax-gap-4","ax-overflow-auto","ax-pb-2"],["class","ax-relative ax-flex ax-min-w-fit ax-cursor-pointer ax-flex-col ax-items-center ax-justify-between ax-p-4 ax-grayscale ax-card",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"ax-mt-4","ax-flex","ax-flex-col","ax-gap-4","!ax-bg-warning-lighter","ax-p-4","ax-card"],[1,"ax-cursor-pointer","ax-text-primary-500",3,"click"],[1,"ax-flex","ax-items-center","ax-justify-between"],[3,"valueChange","value"],["color","primary",3,"onClick","text","disabled"],[4,"ngIf"],[3,"color","text"],[1,"fa-solid","fa-stars"],[1,"ax-flex","ax-w-full","ax-items-center","ax-justify-between"],[1,"ax-flex","ax-gap-2"],["dir","ltr",3,"valueChange","value"],[1,"ax-relative","ax-flex","ax-min-w-fit","ax-cursor-pointer","ax-flex-col","ax-items-center","ax-justify-between","ax-p-4","ax-grayscale","ax-card",3,"click","ngClass"],[1,"ax-mb-6","ax-text-5xl","ax-text-primary-500",3,"ngClass"],[1,"ax-flex","ax-flex-col","ax-items-center","ax-gap-1"],[1,"ax-text-sm","ax-font-bold"],[1,"ax-absolute","ax-start-1","ax-top-1",3,"ngModel","readonly"],[1,"ax-text-center","ax-px-2","ax-font-bold",2,"direction","ltr","display","inline-block"]],template:function(o,a){if(1&o){const t=e.RV6();e.j41(0,"ax-form",1,0)(2,"section",2)(3,"div",3)(4,"div",4),e.nrm(5,"travel-btc-workspace-public-form-step",5),e.nI1(6,"translate"),e.nI1(7,"async"),e.nrm(8,"travel-btc-workspace-public-form-step",6),e.nI1(9,"translate"),e.nI1(10,"async"),e.nrm(11,"travel-btc-workspace-public-form-step",6),e.nI1(12,"translate"),e.nI1(13,"async"),e.nrm(14,"travel-btc-workspace-public-form-step",7),e.nI1(15,"translate"),e.nI1(16,"async"),e.k0s()(),e.nrm(17,"br"),e.j41(18,"div",8)(19,"aside",9)(20,"div",10),e.DNE(21,J,6,10,"h3",11)(22,V,2,0,"h3",11),e.j41(23,"div",12)(24,"div",13)(25,"div",14),e.DNE(26,U,5,6,"ax-chips",15),e.j41(27,"div",16)(28,"h3",17),e.EFF(29),e.k0s()()()(),e.nrm(30,"hr",18),e.j41(31,"div",19),e.DNE(32,Y,4,5,"h3",17),e.j41(33,"div",20)(34,"div",21)(35,"span"),e.EFF(36),e.nI1(37,"translate"),e.nI1(38,"async"),e.k0s(),e.j41(39,"span"),e.EFF(40),e.nI1(41,"format"),e.nI1(42,"async"),e.k0s()(),e.j41(43,"span",22),e.EFF(44,"|"),e.k0s(),e.j41(45,"div",21)(46,"span"),e.EFF(47),e.nI1(48,"translate"),e.nI1(49,"async"),e.k0s(),e.j41(50,"span"),e.EFF(51),e.nI1(52,"format"),e.nI1(53,"async"),e.k0s()()()(),e.nrm(54,"hr",18),e.j41(55,"div",23),e.DNE(
156,O,10,7,"div",24),e.k0s()(),e.j41(57,"div",25),e.DNE(58,Q,13,14),e.j41(59,"div",26)(60,"p"),e.EFF(61),e.nI1(62,"translate"),e.nI1(63,"async"),e.k0s(),e.j41(64,"p"),e.EFF(65),e.nI1(66,"number"),e.j41(67,"small"),e.EFF(68),e.nI1(69,"translate"),e.nI1(70,"async"),e.k0s()()(),e.DNE(71,H,12,13,"div",27),e.nrm(72,"hr"),e.j41(73,"div",26)(74,"p"),e.EFF(75),e.nI1(76,"translate"),e.nI1(77,"async"),e.k0s(),e.j41(78,"p"),e.EFF(79),e.nI1(80,"number"),e.j41(81,"small"),e.EFF(82),e.nI1(83,"translate"),e.nI1(84,"async"),e.k0s()()()()()(),e.j41(85,"aside",28)(86,"h3",11),e.EFF(87),e.nI1(88,"translate"),e.nI1(89,"async"),e.k0s(),e.j41(90,"div",29),e.DNE(91,Z,12,13,"div",30),e.nrm(92,"hr",18),e.j41(93,"div",31)(94,"div",32)(95,"h3",17),e.EFF(96),e.nI1(97,"translate"),e.nI1(98,"async"),e.k0s(),e.j41(99,"p",33),e.EFF(100),e.nI1(101,"translate"),e.nI1(102,"async"),e.k0s()(),e.j41(103,"div",34),e.DNE(104,q,13,18,"div",35),e.k0s()()(),e.DNE(105,ee,16,1,"div",36),e.j41(106,"div",25)(107,"p"),e.EFF(108),e.nI1(109,"translate"),e.nI1(110,"async"),e.j41(111,"a",37),e.bIt("click",function(){return e.eBV(t),e.Njj(a.rulePopup())}),e.EFF(112),e.nI1(113,"translate"),e.nI1(114,"async"),e.k0s(),e.EFF(115),e.nI1(116,"translate"),e.nI1(117,"async"),e.k0s(),e.j41(118,"div",38)(119,"ax-check-box",39),e.mxI("valueChange",function(C){return e.eBV(t),e.DH7(a.confirmedHotelRules,C)||(a.confirmedHotelRules=C),e.Njj(C)}),e.j41(120,"ax-label"),e.EFF(121),e.nI1(122,"translate"),e.nI1(123,"async"),e.k0s()(),e.j41(124,"ax-button",40),e.nI1(125,"translate"),e.nI1(126,"async"),e.bIt("onClick",function(){return e.eBV(t),e.Njj(a.onPaymentClick())}),e.DNE(127,re,1,0,"ax-loading",41),e.k0s()()()()()()()}2&o&&(e.R7$(5),e.Y8G("status","done")("title",e.bMT(7,47,e.bMT(6,45,"profile.roomSelect")))("isFirst",!0)("icon","step1"),e.R7$(3),e.Y8G("status","done")("title",e.bMT(10,51,e.bMT(9,49,"profile.completeInformation")))("icon","step2"),e.R7$(3),e.Y8G("status","current")("title",e.bMT(13,55,e.bMT(12,53,"profile.confirmAndPay")))("icon","step3"),e.R7$(3),e.Y8G("status","undone")("title",e.bMT(16,59,e.bMT(15,57,"profile.completeThePurchase")))("icon","step4")("isLast",!0),e.R7$(7),e.vxM(a.userProfile&&a.matchPhone()?21:22),e.R7$(5),e.Y8G("ngIf",a.reserve.onlineReserveFlag),e.R7$(3),e.JRh(null==a.reserve?null:a.reserve.hotelName),e.R7$(3),e.vxM(a.userProfile&&a.matchPhone()?32:-1),e.R7$(4),e.SpI("",e.bMT(38,63,e.bMT(37,61,"myReservations.entryDate")),":"),e.R7$(4),e.JRh(e.bMT(42,69,e.brH(41,65,a.reserve.startDate,"datetime",e.lJ4(133,M)))),e.R7$(7),e.SpI("",e.bMT(49,73,e.bMT(48,71,"myReservations.exitDate")),":"),e.R7$(4),e.JRh(e.bMT(53,79,e.brH(52,75,a.reserve.endDate,"datetime",e.lJ4(134,M)))),e.R7$(5),e.Y8G("ngForOf",a.reserve.roomList),e.R7$(2),e.vxM(a.userProfile&&a.matchPhone()?58:-1),e.R7$(3),e.SpI("",e.bMT(63,83,e.bMT(62,81,"myReservations.totalCosts")),":"),e.R7$(4),e.SpI(" ",e.bMT(66,85,a.getRounded(a.reserve.sumSellingPrice,a.reserve.exchangePrice))," "),e.R7$(3),e.JRh(null===a._platformService.getDefaultMoneyTypeId()?e.bMT(70,89,e.bMT(69,87,"common.currency")):"$"),e.R7$(3),e.Y8G("ngIf",a.priceAfterDiscount),e.R7$(4),e.SpI("",e.bMT(77,93,e.bMT(76,91,"myReservations.remainedPassenger")),":"),e.R7$(4),e.SpI(" ",e.bMT(80,95,a.getRounded(a.reserve.remainedPassenger,a.reserve.exchangePrice)-(a.priceAfterDiscount||0))," "),e.R7$(3),e.JRh(null===a._platformService.getDefaultMoneyTypeId()?e.bMT(84,99,e.bMT(83,97,"common.currency")):"$"),e.R7$(5),e.JRh(e.bMT(89,103,e.bMT(88,101,"bank.methodPayment"))),e.R7$(4),e.vxM(a.userProfile&&a.matchPhone()?91:-1),e.R7$(5),e.JRh(e.bMT(98,107,e.bMT(97,105,"wallet.onlinePeyment"))),e.R7$(4),e.JRh(e.bMT(102,111,e.bMT(101,109,"bank.portPayment"))),e.R7$(4),e.Y8G("ngForOf",a.ipgList),e.R7$(),e.vxM(a.userProfile&&a.matchPhone()?-1:105),e.R7$(3),e.SpI(" ",e.bMT(110,115,e.bMT(109,113,"bank.doingMethod"))," "),e.R7$(4),e.JRh(e.bMT(114,119,e.bMT(113,117,"bank.eRule"))),e.R7$(3),e.SpI(" ",e.bMT(117,123,e.bMT(116,121,"bank.accepted"))," "),e.R7$(4),e.R50("value",a.confirmedHotelRules),e.R7$(2),e.JRh(e.bMT(123,127,e.bMT(122,125,"bank.acceptRule"))),e.R7$(3),e.Y8G("text",e.bMT(126,131,e.bMT(125,129,"wallet.payment")))("disabled",a.isLoading),e.R7$(3),e.Y8G("ngIf",a.isLoading))},dependencies:[h.MD,h.YU,h.Sq,h.bT,h.Jj,h.QX,P.YN,P.BC,P.vS,j.n,v.yS,v.B3,x.zi,x.Q8,i.p,i.C,b.cL,b.rE,y.M,y.X,m.u1,m.$d,m.V6,d.hw,d.Xi,d.Pn,u.Vs,R.s$,R.lb,f.d,f.i,T.lj,T.xR],encapsulation:2,data:{animation:[(0,l.hZ)("collapse",[(0,l.wk)("open",(0,l.iF)({visibility:"visible",height:"*"})),(0,l.wk)("close",(0,l.iF)({visibility:"hidden",height:"0px"})),(0,l.kY)("open <=> close",(0,l.i0)(200))])]}})}return s})()},4544:(S,g,c)=>{c.d(g,{d:()=>b,i:()=>y});var v=c(7627),i=c(1360),f=c(8434);const d=[[["ax-prefix"]],[["ax-suffix"]]],I=["ax-prefix","ax-suffix"];function m(n,R){if(1&n&&(i.j41(0,"div",0),i.EFF(1),i.k0s()),2&n){const u=i.XpG();i.R7$(),i.JRh(u.text())}}let y=(()=>{class n extends v.ul{constructor(){super(...arguments),this.text=(0,i.geq)(""),this.look=(0,i.geq)("solid"),this.size=(0,i.geq)("ax-md")}get __hostClass(){return`ax-${this.color} ax-${this.look()} ${this.size()}`}static#e=this.\u0275fac=(()=>{let u;return function(l){return(u||(u=i.xGo(n)))(l||n)}})();static#r=this.\u0275cmp=i.VBU({type:n,selectors:[["ax-chips"]],hostVars:2,hostBindings:function(x,l){2&x&&i.HbH(l.__hostClass)},inputs:{tabIndex:"tabIndex",color:"color",text:[1,"text"],look:[1,"look"],size:[1,"size"]},outputs:{text:"textChange",look:"lookChange",size:"sizeChange"},features:[i.nM4([v.dn]),i.Vt3],ngContentSelectors:I,decls:3,vars:1,consts:[[1,"ax-chips-text"]],template:function(x,l){1&x&&(i.NAR(d),i.SdG(0),i.DNE(1,m,2,1,"div",0),i.SdG(2,1)),2&x&&(i.R7$(),i.vxM(l.text()?1:-1))},styles:[".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}
1ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"],encapsulation:2,changeDetection:0})}return n})(),b=(()=>{class n{static#e=this.\u0275fac=function(x){return new(x||n)};static#r=this.\u0275mod=i.$C({type:n});static#a=this.\u0275inj=i.G2t({imports:[f.MD]})}return n})()}}]);
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.