PageSourceSearch

https://alamo-nu.vercel.app/_next/static/chunks/pages/revisar-c4f71c70d25540c8.js

js alamo-nu.vercel.app collected 2026-10-03 06:15:15 UTC 90,053 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[115],{1028:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/revisar",function(){return t(7980)}])},5073:function(e,i,t){"use strict";t.d(i,{e:function(){return a},Z:function(){return r}});var n=t(5893);t(7294);let l=t(5444).ZP.div.withConfig({componentId:"sc-8e84b5be-0"})([".service-errors{background:#feeeef;border:0.2rem solid #f55564;border-radius:0.5rem;margin-bottom:1rem;padding:0.5rem 0;width:100%;}.service-errors .service-error{align-items:center;color:#213b73;display:flex;font-size:1.4rem;justify-content:flex-start;margin-bottom:0;}.service-errors .service-error p{margin-bottom:0;margin-left:1rem;width:100%;}.service-errors .service-error p strong{color:#f55564;}.service-errors .message-priority--ERROR{align-items:center;color:#cc2839;display:inline-flex;font-size:1.4rem;font-weight:700;margin-right:0.8rem;}.service-errors .message-priority--ERROR:before{color:#cc2839;content:'\f138';display:inline-block;font-family:'icons89' !important;font-size:1.4rem;font-style:normal;font-weight:400 !important;line-height:1;padding:1rem;vertical-align:top;}.service-errors__description{font-size:1.4rem;margin-top:1.5rem;padding-left:3.5rem;padding-right:1.5rem;}.service-errors__description .link{text-decoration:underline;}"]);var o=t(1163);let a=e=>{let{type:i,message:t}=e;return(0,o.useRouter)(),(0,n.jsx)(l,{children:(0,n.jsx)("div",{className:"service-errors",children:(0,n.jsxs)("div",{className:"service-error",children:[(0,n.jsx)("span",{className:"message-priority--ERROR",children:i}),(0,n.jsx)("p",{children:t})]})})})};var r=a},7143:function(e,i,t){"use strict";t.d(i,{Z:function(){return a}});var n=t(5893),l=t(7294);let o=t(5444).ZP.div.withConfig({componentId:"sc-a1cc539c-0"})([".policy-tab{width:100%;}.policy-tab__toggler{align-items:center;background-color:#213b73;border-bottom:1px solid #c8ccd8;color:inherit;cursor:pointer;display:flex;height:5.4rem;position:relative;transition:background-color border-bottom 0.25s ease-in-out ease-in-out 0.25s;width:100%;will-change:background-color border-bottom;z-index:2;}.policy-tab__toggler .policy-tab__title{font-size:1.4rem;margin-left:2.1rem;transition:color 0.25s ease-in-out;will-change:color;text-align:left;}.policy-tab__toggler:after{align-items:center;border-radius:50%;color:#fef100;content:'\f120';display:inline-flex;flex-shrink:0;font-family:'icons89' !important;font-size:1.8rem;font-style:normal;font-weight:400 !important;height:1.8rem;justify-content:center;line-height:1;margin-left:auto;margin-right:1.4rem;vertical-align:top;width:1.8rem;}.policy-tab__toggler:focus{position:relative;}.policy-tab__toggler:focus:before{border:3px solid #389ad6;content:'';display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;}.policy-tab__toggler:focus:before{z-index:3;}.policy-tab__drawer{margin:0;max-height:300rem;opacity:1;padding:0;position:relative;transform:translateZ(1);transform-origin:top;transition-duration:0.25s;transition-property:padding,transform,max-height,margin-top,opacity;transition-timing-function:ease-in-out;will-change:auto;}@media print,screen and (min-width:80em){.policy-tab__toggler:after{content:'\f120';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;transition:opacity 0.25 ease-in-out;vertical-align:top;will-change:opacity;}.tab__toggler__open:after{transform:rotate(180deg);}.policy-tab__drawer{position:absolute;right:0;transition:none;}}.help-suggestion{padding-left:4rem;position:relative;}.help-suggestion:before{color:#cd94ff;content:'\f174';display:inline-block;font-family:'icons89' !important;font-size:2.5rem;font-style:normal;font-weight:400 !important;left:0;line-height:1;position:absolute;top:0.5rem;vertical-align:top;}.help-suggestion__title{color:#fff;display:block;font-weight:400;margin-bottom:0.5rem;}.help-suggestion__link{color:#fef100;}.help-suggestion__link:focus,.help-suggestion__link:hover{color:#fef100;}.policies-component{position:relative;width:100%;}.policies-component__group{min-height:30rem;}.policies-component__title{margin-bottom:2rem;}.policies-component__list > ul{list-style-type:none;margin:0 0 2.3rem;padding:0;}.policies-component__side-content{display:flex;flex-grow:1;position:relative;}.policies-component__background-art{align-items:center;bottom:0;display:flex;flex-grow:1;justify-content:center;left:0;overflow:hidden;padding-bottom:7.5rem;position:absolute;right:0;top:0;z-index:1;}.policies-component__background-art img{max-width:32.1rem;}@media print,screen and (min-width:80em){.policies-component__list{max-width:49.5rem;width:49.5rem;}}@media print,screen and (min-width:48em){.policies-component__group{dis
1play:flex;position:relative;}.policies-component__list{border-top:0.1rem solid #c8ccd8;flex-shrink:0;width:100%;z-index:2;}.policies-component__side-content{color:#fff;}}@media print,screen and (max-width:79.99875em){.policies-component__background-art{display:none;}}@media print,screen and (max-width:79.99875em) and (max-width:47.99875em){.policies-component__title{margin-bottom:0;}}@keyframes _1AQrV4KQStGK7DTZtryxFQ\\=\\={0%{transform:rotate(0);}50%{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:rotate(1turn);}to{transform:rotate(2turn);}}.review{margin:0 auto;max-width:100%;padding:2rem;width:128rem;}.review__policies-background{background-color:#005daa;width:100%;}@media print,screen and (max-width:79.99875em){.review{padding:2.5rem 1rem;}.policies-component__group{min-height:10rem;}}@media print,screen and (min-width:80em){.review{padding-top:5rem;}}.key-rental-facts{border-bottom:0.1rem solid #939db7;display:flex;margin-bottom:6.6rem;padding-bottom:3rem;}.key-rental-facts__image{max-width:11rem;}.key-rental-facts__heading{margin-top:1.5rem;}.key-rental-facts__copy{font-size:1.4rem;}@media print,screen and (max-width:47.99875em){.key-rental-facts{display:block;}.key-rental-facts__heading-wrapper{align-items:center;display:flex;}.key-rental-facts__image{float:left;height:6.4rem;width:6.4rem;}.key-rental-facts__copy{clear:both;}}ul{list-style-type:none;margin:0;padding:0;}.yellow a{color:var(--yellow) !important;text-decoration:none;}.card{background-color:transparent;border:0;}"]);var a=e=>{let{items:i=[]}=e,[t,a]=(0,l.useState)({}),r=e=>a(i=>({...i,[e]:!i[e]}));return(null==i?void 0:i.length)?(0,n.jsx)(o,{children:(0,n.jsx)("section",{className:"review__policies-background",children:(0,n.jsx)("div",{className:"review mb-5",children:(0,n.jsxs)("section",{id:"policies-component",className:"policies-component component-theme--light-blue",children:[(0,n.jsx)("h2",{className:"policies-component__title",children:"T\xe9rminos y condiciones"}),(0,n.jsx)("div",{className:"policies-component__group",children:(0,n.jsx)("div",{className:"col-12",children:(0,n.jsx)("ul",{className:"mb-5",children:i.map(e=>(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:"policy-tab",children:[(0,n.jsx)("h3",{className:"policy-tab__wrapper",children:(0,n.jsx)("button",{className:t[e.id]?"policy-tab__toggler tab__toggler__open":"policy-tab__toggler",type:"button","aria-expanded":!!t[e.id],onClick:()=>r(e.id),children:(0,n.jsx)("span",{className:"policy-tab__title",children:e.titulo})})}),(0,n.jsx)("div",{className:t[e.id]?"collapse show":"collapse",children:(0,n.jsx)("div",{className:"policy-tab__content card card-body",dangerouslySetInnerHTML:{__html:e.contenido}})})]})},e.id))})})})]})})})}):null}},9106:function(e,i,t){"use strict";var n=t(5893);t(7294);var l=t(4541);i.Z=e=>{let{tyc:i,classCode:t,variante:o="linea",className:a=""}=e,r=(0,l.r8)(i,t,"lista"===o?"resumen":"card");return r.length?"lista"===o?(0,n.jsx)("ul",{className:"montos-franquicia montos-franquicia--lista ".concat(a),children:r.map(e=>(0,n.jsxs)("li",{className:"montos-franquicia__renglon",children:[(0,n.jsx)("span",{className:"montos-franquicia__etiqueta",children:e.etiqueta}),(0,n.jsx)("span",{className:"montos-franquicia__monto formatted-price",children:(0,l.vW)(e.monto)})]},e.id))}):(0,n.jsx)("p",{className:"montos-franquicia montos-franquicia--linea ".concat(a),children:r.map(e=>"".concat(e.etiqueta," ").concat((0,l.vW)(e.monto))).join(" - ")}):null}},7980:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return z},default:function(){return A}});var n=t(5893),l=t(7294),o=t(6939),a=t(5980),r=t(9068),s=t(9755),d=t.n(s),c=t(2039);let m=t(5444).ZP.div.withConfig({componentId:"sc-17dbfa61-0"})(["@keyframes _8\\+IhcEguq2WEujRoCee6\\+w\\=\\={0%{transform:rotate(0);}50%{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:rotate(1turn);}to{transform:rotate(2turn);}}input,label{cursor:pointer;}input:not([type='checkbox']):not([type='radio']){cursor:text;}input,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;box-shadow:none;margin:0;}.dropdown:after{color:#84888b;content:'\f108';font-family:'icons89' !important;font-size:1rem;font-style:normal;font-weight:400 !important;line-height:1;position:absolute;right:1.2rem;top:4.4rem;vertical-align:top;}.field-control{background:#fff;position:relative;}.field-control:not(.field-control--radio){border-bottom:0.1rem solid #939db7;height:7.2rem;}.field-control:not(.field-control--radio):before{background-color:#d3d8e2;content:'';display:block;height:100%;left:0;position:absolute;top:0;width:0.6rem;}.field-control__label{color:#596c95;font-size:1.2rem;font-weight:700;left:1.6rem;line-height:1.5;pointer-events:none;position:absolute;top:1rem;}.field-control__label sup{font-size:1.2rem;font-weight:400;margin-left:0.2rem;top:auto;}.field-control--text input{background:none;border-radius:0;font-size:1.7rem;height:100%;max-height:7.2rem;padding:2.2rem 1rem 0 1.6rem;width:100%;}.field-control--text input:disabled{background:#f4f4f4;}.field-control--text input::-ms-clear{display:none;}
1.field-control__container{position:relative;}.field-control__container.fill{width:100%;}.field-control__container.fill .field-control{width:100%;}.field-control__container.dropdown:after{color:#84888b;content:'\f108';font-family:'icons89' !important;font-size:1rem;font-style:normal;font-weight:400 !important;line-height:1;position:absolute;right:1.2rem;top:4.4rem;vertical-align:top;}.checkbox-field{display:inline-flex;flex-wrap:wrap;position:relative;}.checkbox-field.light.checked .checkbox-field__label:before{background-color:#8c4c9e;color:#fef100;}.checkbox-field.checked .checkbox-field__label:before{font-family:'icons89' !important;font-weight:400 !important;content:'\f11f' !important;display:flex;font-style:normal;justify-content:center;line-height:1;vertical-align:middle;align-content:center;flex-wrap:wrap;}.checkbox-field input[type='checkbox']{display:block;height:4.5rem;left:0;opacity:0;position:absolute;top:0;width:4.5rem;z-index:1;}.checkbox-field__label{display:block;font-size:1.4rem;font-weight:400;line-height:1.5;padding-left:3.5rem;padding-top:0.5rem;position:relative;}.checkbox-field__label:before{border:0.2rem solid #fff;content:'';display:inline-block;height:2.7rem;left:0;line-height:1.5;position:absolute;top:0;width:2.7rem;}.checkbox-field__label sup{margin-left:0.2rem;top:-0.2rem;}.checkbox-field:disabled label{color:#e5e5e5;}.checkbox-field:disabled label:before{background:#e5e5e5;}.checkbox-field.fill{width:100%;}.checkbox-field.light .checkbox-field__label:before{background-color:#fff;border-color:#939db7;color:#fef100;}.vis-hidden{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;}.title{margin-bottom:1rem;}@media print,screen and (min-width:48em){.title{margin-bottom:2rem;}}.title__container{position:relative;}@media print,screen and (min-width:48em){.title__container{align-items:center;flex-direction:row;}.title__heading-text{text-align:left;}}.responsive-listbox{display:block;position:relative;}.responsive-listbox__toggler{background:transparent;color:#213b73;cursor:pointer;display:block;font-size:1.7rem;height:7.2rem;padding-left:1.6rem;padding-top:2rem;position:relative;text-align:left;width:100%;}.responsive-listbox__dropdown{background:#fff;display:none;min-width:20.9rem;width:100%;}.responsive-listbox__dropdown .responsive-listbox__mobile-header{align-items:center;border-bottom:0.1rem solid #213b73;color:#213b73;display:flex;flex-shrink:0;font-size:1.2rem;font-weight:700;justify-content:space-between;min-height:4.8rem;padding-left:1rem;padding-right:1rem;text-transform:uppercase;width:100%;z-index:1250;}.responsive-listbox__dropdown .responsive-listbox__mobile-header .responsive-listbox__close{color:#707787;cursor:pointer;font-weight:700;text-decoration:underline;text-transform:none;}.responsive-listbox__dropdown .scroll-down,.responsive-listbox__dropdown .scroll-up{background:#fff;cursor:pointer;height:2rem;opacity:0;transition:opacity 0.25s ease-in-out;width:100%;will-change:opacity;z-index:1;}.responsive-listbox__dropdown .scroll-down:after,.responsive-listbox__dropdown .scroll-up:after{align-items:center;color:#213b73;content:'\f10b';display:flex;font-family:'icons89' !important;font-size:1rem;font-style:normal;font-weight:400 !important;height:2.2rem;justify-content:center;line-height:1;vertical-align:top;}.responsive-listbox__dropdown .scroll-down:after{content:'\f108';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;vertical-align:top;}.responsive-listbox__list{-webkit-overflow-scrolling:touch;list-style:none;margin:0;overflow:hidden;overflow-x:hidden;overflow-y:auto;padding:0;position:relative;}.responsive-listbox__list > li{align-items:center;color:#213b73;display:flex;font-size:1.4rem;}.responsive-listbox__list > li[role='option']:not(.disabled){cursor:pointer;}.responsive-listbox__list > li[role='option']:not(.disabled)[aria-selected='true']{background-color:#5b2569;color:#fef100;}.responsive-listbox.fill{width:100%;}.responsive-listbox.fill .responsive-listbox__toggler{min-width:auto;width:100%;}@media print,screen and (min-width:48em) and (max-width:79.99875em){.responsive-listbox:not(.force-mobile) .responsive-listbox__dropdown{box-shadow:0 0.5rem 1rem -0.5rem rgba(0,0,0,0.5);position:absolute;width:20rem;}.responsive-listbox:not(.force-mobile) .responsive-listbox__dropdown .responsive-listbox__mobile-header{display:none;}.responsive-listbox:not(.force-mobile) .responsive-listbox__list{max-height:28rem;}.responsive-listbox:not(.force-mobile) .responsive-listbox__list > li{padding:0.3rem 2.1rem;}}@media print,screen and (min-width:48em){.responsive-listbox .responsive-listbox__dropdown{box-shadow:0 0.5rem 1rem -0.5rem rgba(0,0,0,0.5);position:absolute;}.responsive-listbox .responsive-listbox__dropdown .responsive-listbox__mobile-header{display:none;}.responsive-listbox .responsive-listbox__list{max-height:28rem;}.responsive-listbox .responsive-listbox__list > li{padding:0.3rem 2.1rem;}}.progress-bar{position:relative;z-index:250;}.progress-bar__overlay{background-color:rgba(35,30,32,0.5);display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:-1;}.progress-bar__container{position:relative;}.progress-bar__tabs{align-items:stretch;background-color:#213b73;display:flex;max-width:100%;overflow:hidden;}.progress-bar__section{border-top:0.5rem solid #213b73;display:flex;flex-direction:column;flex-grow:1;height:9rem;margin-left:0.2rem;position:relative;}.progress-bar__section:first-child{margin-left:0;}.progress-bar__section.completed .section__label:before{content:'\f11f';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;margin-right:0.7rem;vertical-align:top;vertical-align:inherit;}
1.progress-bar__section.enabled .section__button{cursor:pointer;}.progress-bar__section.enabled .section__button:after{bottom:3.5rem;content:'\f108';font-family:'icons89' !important;font-size:1.2rem;font-style:normal;font-weight:400 !important;line-height:1;line-height:inherit;position:absolute;right:1.5rem;vertical-align:top;vertical-align:initial;}.progress-bar .section__top{color:inherit;height:100%;line-height:inherit;padding:0 3rem 0.2rem;text-align:inherit;width:100%;}.progress-bar .section__label{align-items:center;display:flex;font-size:1.2rem;font-weight:700;opacity:0.75;}.progress-bar .section__values{display:flex;justify-content:space-between;margin-right:2.2rem;position:relative;}.progress-bar .section__value{display:block;height:4.2rem;}.progress-bar .section__value + .section__value:before{color:#fff;content:'\f107';font-family:'icons89' !important;font-size:1.2rem;font-style:normal;font-weight:400 !important;left:50%;line-height:1;line-height:inherit;opacity:0.5;position:absolute;top:0.4rem;transform:translateX(-50%);vertical-align:top;vertical-align:initial;}@media print,screen and (min-width:80em){.progress-bar .section__values{justify-content:unset;}.progress-bar .section__value + .section__value{margin-left:4.8rem;position:relative;}.progress-bar .section__value + .section__value:before{left:-3rem;transform:none;}}@media print,screen and (min-width:48em){.progress-bar__section:last-child{background-color:#07508e;}.progress-bar__section:not(.completed):not(.expanded){background-color:#07508e;}}@media print,screen and (max-width:47.99875em){.progress-bar-mobile__extra{max-width:22%;}.progress-bar-mobile__vehicle-name{max-width:50%;}}@media print,screen and (min-width:48em) and (max-width:79.99875em){.progress-bar__section{max-width:25%;}.progress-bar__section.enabled .section__button:after{bottom:3rem;right:0.5rem;}.progress-bar .section .section__label{font-size:1.2rem;white-space:nowrap;}.progress-bar .section__top{padding:1rem 0 0 3%;}.progress-bar .section__values .pickup-time,.progress-bar .section__values .return-time{overflow:visible;text-overflow:clip;white-space:normal;}.progress-bar .section__values.dates-times .section__value{max-width:40%;}.progress-bar .section__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}}@keyframes _1AQrV4KQStGK7DTZtryxFQ\\=\\={0%{transform:rotate(0);}50%{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:rotate(1turn);}to{transform:rotate(2turn);}}table{border-collapse:collapse;width:100%;}table td,table th{padding:0.6rem;}.review{margin:0 auto;max-width:100%;padding:2rem;width:128rem;}.review__title{margin-bottom:1rem;}.review__title .title__heading-text{text-align:left;}.review__section-header{margin-bottom:1.2rem;}.review__section-header__title{font-size:2.2rem;}.review__section-header__legend{font-size:1.2rem;font-weight:400;}.review__aside{margin-bottom:2rem;width:100%;}.review__main{display:flex;flex-direction:column;width:100%;}.review__form{width:100%;}.review__section-card{margin-bottom:1rem;padding:2rem 1rem;}.review__section-card__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem;}.review__section-card__title{font-size:2.2rem;}.review__section-card__title__optional-indicator{font-weight:400;}.review__section-card__field-row .checkbox-field,.review__section-card__field-row .field-control__container{margin-bottom:1rem;}.review__section-card__footer-legals{font-size:1.2rem;}.review__rental-requirements{margin-bottom:1.6rem;}.review__rental-requirements__title{font-weight:700;margin-bottom:0.4rem;}.review__rental-requirements ul{list-style:disc;margin:0;padding-left:1.8rem;}.review__rental-requirements li{padding-bottom:0.4rem;}.separar{margin-top:2rem;}.review__flight-information__description{font-size:1.4rem;}.review__flight-information__actions-group{display:flex;justify-content:center;padding-top:0.3rem;}.review__flight-information__actions-group .link--text{display:inline-flex;position:relative;}.review__flight-information__actions-group .link--text:not(:first-of-type){margin-left:2rem;}.review__flight-information__actions-group .link--text:not(:first-of-type):before{background:#939db7;bottom:0;content:'';display:block;height:2rem;left:-1rem;overflow:hidden;position:absolute;top:0;width:0.1rem;}.review__complete-reservation__total-row{margin-bottom:2rem;}@media print,screen and (max-width:79.99875em){.review{padding:2.5rem 1rem;}.review__section-header__legend{display:block;}}@media print,screen and (min-width:80em){.review{padding-top:5rem;}.review__title{margin-bottom:2rem;}.review__content{align-items:flex-start;display:flex;justify-content:space-between;}.review__section-header{align-items:flex-end;display:flex;justify-content:space-between;width:100%;}.review__aside{flex-grow:1;flex-shrink:1;max-width:39rem;}.review__main{flex-grow:1;flex-shrink:1;margin-left:3.3rem;max-width:calc(100% - 39rem);}.review__section-card{padding:3rem 5.5rem;}.review__section-card__header{align-items:flex-end;margin-bottom:1.5rem;}.review__section-card__field-row{display:flex;}
1.review__section-card__field-row .field-control__container{max-width:calc(50% - 0.5rem);}.review__section-card__field-row .field-control__container.first-child{margin-right:1rem;}.review__flight-information__actions-group{justify-content:flex-start;}.review__complete-reservation__total-row{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:1rem;}.review__complete-reservation__terms-row{margin-bottom:1.5rem;}.review__complete-reservation__prepay--submit-button{margin-bottom:2rem;min-width:28rem;}}@media print,screen and (max-width:47.99875em){.review .field-control__container:focus{z-index:auto;}}@media print{.header{border:none;}.rental-details__vehicle-information{position:relative;}}.rental-details__title{background:#1a3664;border-bottom:0.1rem solid rgba(147,157,183,0.5);padding-top:2rem;}.rental-details__content{display:none;}.rental-details__content--open{display:block;}.rental-details__card{background:#1a3664;margin-bottom:1rem;padding:2rem 0;}.rental-details__heading{font-size:2.2rem;font-weight:700;margin-bottom:1.4rem;margin-left:2rem;margin-right:2rem;}.rental-details__section{border-top:0.1rem solid rgba(147,157,183,0.5);margin-left:2rem;margin-right:2rem;padding-top:1.4rem;}.rental-details__section:first-child{border-top:none;padding-top:0;}.rental-details__section-label{display:flex;font-size:1.2rem;font-weight:700;justify-content:space-between;margin-bottom:1.2rem;min-height:2.2rem;text-transform:uppercase;word-break:break-word;}.rental-details__section-label-total{display:flex;white-space:nowrap;}.rental-details__section-label span{word-break:break-word;}.rental-details__section-label .link{font-size:1.4rem;font-weight:400;text-decoration:underline;}.rental-details__section-label .total{font-size:1.4rem;font-weight:400;}.rental-details__table-section-label{font-size:1.2rem;font-weight:700;margin-bottom:1.2rem;min-height:2.2rem;text-transform:uppercase;word-break:break-word;}.rental-details__locations table th:first-child,.rental-details__locations table td:first-child{padding-left:0;}.rental-details__locations table th:last-child,.rental-details__locations table td:last-child{padding-right:0;text-align:right;}.rental-details__table-section-label .link{font-size:1.4rem;font-weight:400;text-decoration:underline;}.rental-details__drawer-label{color:#fff;font-size:1.2rem;font-weight:700;}.rental-details__drawer-label:after{color:#fef100;content:'\f120';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;margin-left:1rem;vertical-align:top;}.rental-details__detail{margin-bottom:1.2rem;}.rental-details__key{font-size:1.2rem;font-weight:700;margin:0;opacity:0.75;}.rental-details__value{font-size:1.4rem;margin:0;}.rental-details .location-address__name{font-size:1.4rem;margin:0;}.rental-details .location-address__street{font-size:1.2rem;margin:0;}.rental-details .location-address__region{font-size:1.2rem;}.rental-details__mileage{margin-bottom:0.2rem;padding:1rem;}.rental-details__mileage-review-rental-details{background:#1a3664;}.rental-details__mileage p{font-size:1.4rem;margin:0;}.rental-details__unlimited-mileage:before{content:'\f115';display:inline-block;font-family:'icons89' !important;font-size:2.4rem;font-style:normal;font-weight:400 !important;line-height:1;margin-right:1rem;vertical-align:top;}.rental-details__unlimited-mileage span{font-weight:700;}.rental-details__vehicle-information{align-items:flex-start;align-items:center;display:flex;justify-content:space-between;}.rental-details__vehicle-name{font-weight:700;margin-bottom:0;}.rental-details__similar-make{font-size:1.4rem;margin-bottom:0;}.rental-details .vehicle-details-icon-list li{color:#fff;font-weight:400;}.rental-details__time-distance-daily{display:flex;justify-content:space-between;margin:0;}.rental-details__time-distance-daily__rate{font-size:1.4rem;}.rental-details__time-distance-daily__amount{flex-basis:12rem;font-size:1.4rem;text-align:right;}.rental-details__coupon-contract-empty{font-size:1.4rem;margin-bottom:1.2rem;}.rental-details__line-item-price{white-space:nowrap;}.rental-details__line-item-row tr{margin-bottom:0;}.rental-details__line-item-row td,.rental-details__line-item-row th{font-size:1.4rem;font-weight:400;}.rental-details__taxes-line-item-row{display:flex;flex-wrap:wrap;font-size:1.4rem;justify-content:space-between;}.rental-details__taxes-line-item-row td,.rental-details__taxes-line-item-row th{font-size:1.4rem;font-weight:400;}.rental-details__taxes-drawer{display:none;padding-bottom:2.4rem;}.rental-details__toggle-details-modal{font-size:1.4rem;font-weight:400;text-decoration:underline;}.rental-details__total-price{border-top:none;padding-top:0;}.rental-details__total-price .rental-details__section-label:not(.adjustments-label){font-size:1.7rem;font-weight:700;}.rental-details__total-price .total-label{border-top:0.1rem solid #939db7;padding-top:1.2rem;}.montos-franquicia--lista{list-style:none;margin:0;padding:0.6rem 0 0;}.montos-franquicia__renglon{display:flex;font-size:1.3rem;justify-content:space-between;padding-top:0.4rem;}.montos-franquicia__monto{padding-left:1.2rem;white-space:nowrap;}.rental-details__nota-franquicia{font-size:1.2rem;line-height:1.5;margin:0.8rem 0 0;text-align:justify;hyphens:auto;}.rental-details__nota-franquicia:last-child{margin-bottom:1.6rem;}.rental-details__cancellation-info{border-top:0.2rem solid #fff;margin-left:0;margin-right:0;padding-left:2rem;padding-right:2rem;}
1.rental-details__cancellation-description{display:flex;font-size:1.4rem;margin-bottom:0;}.rental-details__cancellation-description:before{color:#cd94ff;content:'\f11a';font-family:'icons89' !important;font-size:3rem;font-style:normal;font-weight:400 !important;line-height:1;margin:0.5rem 1.5rem 1.5rem 0;vertical-align:top;}.vehicle-details-icon-list{display:flex;flex-wrap:wrap;font-size:1.2rem;font-weight:700;justify-content:flex-start;margin-left:-0.9rem;min-width:16.2rem;}.vehicle-details-icon-list :last-child{margin-right:0 !important;}.vehicle-details-icon-list .vehicle-details-icon-list__icon{align-items:center;color:#213b73;display:flex;flex-shrink:0;margin:0 0.9rem 0.8rem;}.vehicle-details-icon-list .vehicle-details-icon-list__icon:before{font-size:1.6rem;margin-right:0.8rem;}.vehicle-details-icon-list .vehicle-details-icon-list__icon--sr-only{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;}.vehicle-details-icon-list .vehicle-details-icon-list__icon--transmission:before{content:'\f190';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;vertical-align:top;}.formatted-price{white-space:nowrap;}@media print{.header a:after{display:none;}}@keyframes f5eKAWGwoL2PH\\+pL8YnU0Q\\=\\={0%{stroke-dashoffset:339.292;}to{stroke-dashoffset:95;}}@keyframes jZnI3aLAXJ5snLypZyvjJQ\\=\\={0%{stroke-dashoffset:339.292;}to{stroke-dashoffset:70;}}@keyframes iIdNzm0drUkHDwKovmnJOA\\=\\={0%{stroke-dashoffset:339.292;}to{stroke-dashoffset:0;}}.additional-drivers__description,.additional-drivers__description--bold,.additional-drivers__other-driver{font-size:1.4rem;}.additional-drivers__description{margin-bottom:0.2rem;}.additional-drivers__description--bold{font-weight:700;}.additional-drivers__other-driver{margin-top:2rem;}.additional-drivers__learn-more{font-weight:400;text-decoration:underline;}.additional-drivers__type-cost{font-weight:700;margin:0 0.5rem;}.additional-drivers__add-driver{margin:2rem 0 0;}.in-path-upgrade{align-items:center;background-color:#213562;color:#fff;display:flex;flex-direction:row;height:100%;justify-content:center;position:relative;}.in-path-upgrade__car-details{align-items:center;display:flex;flex-direction:row;flex-grow:1;justify-content:space-between;width:100%;}.in-path-upgrade__description{font-size:1.7rem;}.in-path-upgrade__new-total{font-size:1.2rem;margin-top:1rem;}.in-path-upgrade__picture{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjMiIGhlaWdodD0iODIiIHZpZXdCb3g9IjAgMCAxNjMgODIiPgogICAgPGcgZmlsbD0iIzVBQjdFOCIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNNDEuMjIxIDMyLjg3OWMtLjYzNi0uNjMyLTIuMTc0LTEwLjc2My0zLjA3NC0xMC43NjMtLjkgMC0yLjQzOCAxMC4xMy0zLjA3NSAxMC43NjMtLjYzNy42MzItMTAuODE4IDIuMTQ2LTEwLjgxOCAzLjA0IDAgLjg5NSAxMC4xODEgMi40MjMgMTAuODE4IDMuMDU1LjYzNy42MzMgMi4xNzQgMTAuNzYzIDMuMDc1IDEwLjc2My45IDAgMi40MzgtMTAuMTMgMy4wNzQtMTAuNzYzLjYzNy0uNjMyIDEwLjgzMi0yLjE2IDEwLjgzMi0zLjA1NCAwLS44OTUtMTAuMTk1LTIuNDA5LTEwLjgzMi0zLjA0MU0yMC4xNiA1Ny4wNjFjLS4zMTktLjMxNi0xLjA4OC01LjM4MS0xLjUzOC01LjM4MS0uNDUgMC0xLjIxOSA1LjA2NS0xLjUzNyA1LjM4MS0uMzE4LjMxNi01LjQwOSAxLjA3My01LjQwOSAxLjUyIDAgLjQ0OCA1LjA5IDEuMjEyIDUuNDA5IDEuNTI4LjMxOC4zMTYgMS4wODcgNS4zODEgMS41MzcgNS4zODEuNDUgMCAxLjIyLTUuMDY1IDEuNTM4LTUuMzgxLjMxOC0uMzE2IDUuNDE1LTEuMDggNS40MTUtMS41MjcgMC0uNDQ4LTUuMDk3LTEuMjA1LTUuNDE1LTEuNTJNMTYxLjgyNyA5NS41MDdjLS4zMTktLjMxNi0xLjA4Ny01LjM4MS0xLjUzNy01LjM4MS0uNDUgMC0xLjIyIDUuMDY1LTEuNTM4IDUuMzgtLjMxOC4zMTctNS40MDkgMS4wNzQtNS40MDkgMS41MjEgMCAuNDQ3IDUuMDkgMS4yMTEgNS40MSAxLjUyOC4zMTcuMzE2IDEuMDg2IDUuMzggMS41MzcgNS4zOC40NSAwIDEuMjE4LTUuMDY0IDEuNTM3LTUuMzguMzE4LS4zMTcgNS40MTYtMS4wOCA1LjQxNi0xLjUyOCAwLS40NDctNS4wOTgtMS4yMDQtNS40MTYtMS41Mk0xNzAuNjY1IDc2LjIyYy0uMjU0LS4yNTMtLjg2Ny00LjI5Mi0xLjIyNi00LjI5Mi0uMzYgMC0uOTcyIDQuMDQtMS4yMjYgNC4yOTEtLjI1NC4yNTMtNC4zMTQuODU2LTQuMzE0IDEuMjEzIDAgLjM1NyA0LjA2Ljk2NiA0LjMxNCAxLjIxOC4yNTQuMjUyLjg2NyA0LjI5MSAxLjIyNiA0LjI5MXMuOTcyLTQuMDQgMS4yMjYtNC4yOTFjLjI1NC0uMjUyIDQuMzItLjg2MSA0LjMyLTEuMjE4cy00LjA2Ni0uOTYtNC4zMi0xLjIxMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEyIC0yMikiLz4KICAgIDwvZz4KPC9zdmc+Cg==);background-position:50%;background-repeat:no-repeat;background-size:contain;height:100%;}.in-path-upgrade.in-path-upgrade-review{justify-content:space-between;}
1.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__car-details{align-items:flex-start;flex-direction:column;font-size:medium;max-width:43rem;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__description{width:100%;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__cta-button{margin-top:1rem;width:15rem;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__new-total{margin-bottom:0;}@media print,screen and (max-width:47.99875em){.in-path-upgrade{flex-direction:column;}.in-path-upgrade__car-details{flex-direction:row;}.in-path-upgrade.in-path-upgrade-review{flex-direction:column;min-height:23rem;padding:1.5rem;width:100%;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__car-details{flex-direction:row;margin-bottom:2rem;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__description{font-size:1.4rem;margin-top:0;width:50%;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__picture{margin-top:-2rem;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__cta-button{width:100%;}.in-path-upgrade.in-path-upgrade-review .in-path-upgrade__new-total{margin-bottom:1rem;}}.in-res-oci-review-tile{border-top:0.1rem solid #c8ccd8;margin-top:2.5rem;padding-top:2.5rem;}.in-res-oci-review-tile__title{align-items:baseline;font-size:1.7rem;position:relative;}.in-res-oci-review-tile__title--inactive:before{content:'\f11e';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;opacity:0.3;vertical-align:top;}.in-res-oci-review-tile__title:before{font-size:1.5rem;left:-2.5rem;position:absolute;top:0.2rem;}.in-res-oci-review-tile__optional-copy{font-weight:400;}.in-res-oci-review-tile__activated-label{align-self:center;background-color:#178667;border:0.1rem solid #5fbea5;border-radius:0.5rem;color:#fff;font-size:1.2rem;font-weight:700;margin-left:1rem;padding:0 0.4rem;text-transform:uppercase;vertical-align:middle;}.in-res-oci-review-tile__activated-label--inactive{background-color:#e5e5e5;border:0.1rem dashed #84888b;color:#414a5f;}.in-res-oci-review-tile__description{font-size:1.4rem;margin-top:0.5rem;}@media print,screen and (max-width:79.99875em){.in-res-oci-review-tile{padding-left:3rem;padding-right:3rem;}.in-res-oci-review-tile__title{display:flex;flex-direction:column;}.in-res-oci-review-tile__activated-label{align-self:auto;margin:0.5rem 0;}.in-res-oci-review-tile__description{margin-bottom:3rem;}}.progress-bar{width:100%;}#revisar{background-color:VAR(--blue);color:var(--texto);}#revisar .container-fluid{padding:0;}#revisar button.link{color:var(--yellow);}#revisar .theme--light .link{color:#8c4c9e;}.dropdown > div{svg{display:none;}}.seleccionTipoDni{margin-top:11px;margin-left:0px;[class$='-control'],.rs__control{border:0px solid #d9d9d9;z-index:99999;}}[class$='-menu'],.rs__menu{z-index:999999999 !important;}#react-select-select8-listbox{z-index:99999;display:inline-block;box-shadow:0 0.5rem 1rem -0.5rem rgb(0 0 0 / 50%);}[class$='-listbox']{z-index:999;box-shadow:0 0.5rem 1rem -0.5rem rgb(0 0 0 / 50%);}[class*='indicatorSeparator']{display:none;}.airline-drop{transform:translateY(-42px);margin-left:8px;position:relative;z-index:999999999999;}.airline-drop{[class$='-menu']{z-index:999999999999 !important;box-shadow:0 0.5rem 1rem -0.5rem rgb(0 0 0 / 50%) !important;}}.airline-drop > div > div{border-width:0px;box-shadow:none;}.airline-drop > div > div:hover{border-width:0px;border-color:#fff;box-shadow:none;}.field-control__container{z-index:50;}.payment-section__secure-connection-message{align-items:center;border-top:0.1rem solid #c8ccd8;display:flex;padding-top:2rem;width:100%;}.payment-section__secure-connection-message:before{content:'\f158';font-family:'icons89' !important;font-style:normal;font-weight:400 !important;line-height:1;margin-right:1rem;vertical-align:top;}@media print,screen and (max-width:47.99875em){.payment-section__secure-connection-message{font-size:1.4rem;}}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}input[type='number']{-moz-appearance:textfield;appearance:textfield;}.css-1nmdiq5-menu,.rs__menu,.dlselect,.css-13cymwt-control,.rs__control{z-index:999 !important;}.do-not-close-tab-warning{padding:0.625em 0.625em 0em 0.625em;gap:0.625em;background-color:#F8B954;font-size:20px;border-radius:0.25em;display:flex;flex-shink:flex-start;margin:0em 2em 2em 0em;}input[type=\"radio\"]{appearance:radio;}.tooltip-container{position:relative;display:inline-block;}.tooltip-text{visibility:hidden;width:280px;background-color:#E5E5E5;color:#213B73;text-align:left;padding:12px;position:absolute;z-index:9999;top:125%;left:50%;margin-left:-140px;opacity:0;transition:opacity 0.3s ease 0s,visibility 0s linear 1s;font-size:14px;pointer-events:none;font-weight:400;box-shadow:0 4px 12px rgba(0,0,0,0.15);}@media (min-width:768px){.tooltip-text{margin-left:-280px;}}.svg-icon:hover + .tooltip-text{visibility:visible;opacity:1;transition:opacity 0.3s ease 0s;}.svg-icon{transition:opacity 0.2s;}.svg-icon:hover{opacity:0.7;}.input-with-tooltip{position:relative;display:inline-block;width:100%;}.input-tooltip-text{visibility:hidden;width:300px;background-color:#E5E5E5;color:#213B73;text-align:left;padding:12px;position:absolute;z-index:9999;top:100%;left:0;margin-top:5px;opacity:0;transition:opacity 0.3s ease 0s,visibility 0s linear 0.3s;font-size:14px;pointer-events:none;font-weight:400;box-shadow:0 4px 12px rgba(0,0,0,0.15);border-radius:4px;}.input-with-tooltip input:disabled:hover + .input-tooltip-text{visibility:visible;opacity:1;transition:opacity 0.3s ease 0s;}@media (max-width:767px){.input-tooltip-text{width:280px;left:50%;margin-left:-140px;}}"]);
1var u=t(7071),p=t(1163),v=t(4221),_=t(4541),h=t(5073),f=t(1643),g=t(3061),x=t(9106),b=t(6461),w=l.memo(e=>{var i,t,l,o,a,r,s,c,m,u,h,f,g,w,y,j,N,k,C,D,I,R,T,L,M,z,A;let{startDate:E,endDate:S,selectedFromTimeOption:P,selectedToTimeOption:F,RentalLocationID:q,RentalLocationIDDR:O,selectedCar:U,selectedRate:Y,PartnerDisplayName:H,tyc:Z}=e,Q=(0,p.useRouter)(),B=(0,_.Y2)(Z,null==U?void 0:null===(i=U.ClassCode)||void 0===i?void 0:i[0]);return(0,n.jsx)("div",{className:"review__aside",children:(0,n.jsx)("div",{className:"review__rental-details",children:(0,n.jsxs)("section",{className:"review-rental-details rental-details",children:[(0,n.jsx)("div",{className:"rental-details__title",children:(0,n.jsx)("div",{className:"rental-details__heading",children:"Detalles del alquiler"})}),(0,n.jsxs)("div",{className:"rental-details__content rental-details__content--open",children:[(0,n.jsxs)("div",{className:"rental-details__card",children:[(0,n.jsxs)("div",{className:"rental-details__section rental-details__dates-times",children:[(0,n.jsxs)("p",{className:"rental-details__section-label",children:[(0,n.jsx)("span",{children:"FECHAS Y HORAS"}),(0,n.jsx)("button",{className:"link",type:"button","aria-label":"Editar FECHAS Y HORAS","data-dtm-track":"rental_details|FECHAS Y HORAS|edit",onClick:()=>{Q.push("/")},children:"Editar"})]}),(0,n.jsxs)("div",{className:"rental-details__detail",children:[(0,n.jsx)("p",{className:"rental-details__key",children:"Recogida:"}),(0,n.jsx)("p",{className:"rental-details__value",children:"".concat((0,v.ji)(E),", ").concat((0,v.Fj)(E)," ").concat((0,v.ZY)(E),", ").concat((0,v.Nv)(E),", ").concat(null==P?void 0:P.value)})]}),(0,n.jsxs)("div",{className:"rental-details__detail",children:[(0,n.jsx)("p",{className:"rental-details__key",children:"Devoluci\xf3n:"}),(0,n.jsx)("p",{className:"rental-details__value",children:"".concat((0,v.ji)(S),", ").concat((0,v.Fj)(S)," ").concat((0,v.ZY)(S),", ").concat((0,v.Nv)(S),", ").concat(null==F?void 0:F.value)})]})]}),(0,n.jsxs)("div",{className:"rental-details__section rental-details__locations",children:[(0,n.jsxs)("p",{className:"rental-details__section-label",children:[(0,n.jsx)("span",{children:"OFICINA DE RECOGIDA Y DEVOLUCI\xd3N"}),(0,n.jsx)("button",{className:"link",type:"button","aria-label":"Edit LOCATIONS","data-dtm-track":"rental_details|LOCATIONS|edit",onClick:()=>{Q.push("/")},children:"Editar"})]}),(0,n.jsxs)("div",{className:"rental-details__detail",children:[(0,n.jsxs)("p",{className:"rental-details__key",children:[(null==O?void 0:O.name)?"Recogida":"Recogida y Devoluci\xf3n",":"]}),(0,n.jsx)("div",{className:"rental-details__value",children:(0,n.jsxs)("div",{className:"location-address",children:[(0,n.jsx)("p",{className:"location-address__name",children:null==q?void 0:q.name}),(0,n.jsx)("p",{className:"location-address__street",children:null==q?void 0:null===(t=q.AddressLine1)||void 0===t?void 0:t[0]}),(null==q?void 0:null===(l=q.AddressLine2)||void 0===l?void 0:l[0])&&(0,n.jsx)("p",{className:"location-address__street",children:null==q?void 0:null===(o=q.AddressLine2)||void 0===o?void 0:o[0]}),(0,n.jsx)("p",{className:"location-address__region",children:null==q?void 0:null===(a=q.AddressCity)||void 0===a?void 0:a[0]})]})})]}),(null==O?void 0:O.name)&&(0,n.jsxs)("div",{className:"rental-details__detail",children:[(0,n.jsx)("p",{className:"rental-details__key",children:"Devoluci\xf3n:"}),(0,n.jsx)("div",{className:"rental-details__value",children:(0,n.jsxs)("div",{className:"location-address",children:[(0,n.jsx)("p",{className:"location-address__name",children:null==O?void 0:O.name}),(0,n.jsx)("p",{className:"location-address__street",children:null==O?void 0:null===(r=O.AddressLine1)||void 0===r?void 0:r[0]}),(null==O?void 0:null===(s=O.AddressLine2)||void 0===s?void 0:s[0])&&(0,n.jsx)("p",{className:"location-address__street",children:null==O?void 0:null===(c=O.AddressLine2)||void 0===c?void 0:c[0]}),(0,n.jsx)("p",{className:"location-address__region",children:null==O?void 0:null===(m=O.AddressCity)||void 0===m?void 0:m[0]})]})})]})]})]}),(0,n.jsx)("div",{className:"rental-details__mileage rental-details__mileage-review-rental-details",children:(0,n.jsxs)("p",{className:"rental-details__unlimited-mileage",children:["Su alquiler incluye ",(0,n.jsx)("span",{children:"kilometraje ilimitado"})]})}),(0,n.jsxs)("div",{className:"rental-details__card",children:[(0,n.jsxs)("div",{className:"rental-details__section rental-details__vehicle",children:[(0,n.jsxs)("p",{className:"rental-details__section-label",children:[(0,n.jsx)("span",{children:"VEH\xcdCULO"}),(0,n.jsx)("button",{className:"link",type:"button","aria-label":"Editar VEH\xcdCULO","data-dtm-track":"rental_details|VEH\xcdCULO|edit",onClick:()=>{Q.push("/seleccion-auto")},children:"Editar"})]}),(0,n.jsxs)("div",{className:"rental-details__vehicle-information",children:[(0,n.jsxs)("div",{className:"rental-details__vehicle-stats",children:[(0,n.jsx)("p",{className:"rental-details__vehicle-name",children:null==U?void 0:null===(u=U.Title)||void 0===u?void 0:u[0]}),(0,n.jsx)("p",{className:"rental-details__similar-make",children:null==U?void 0:null===(h=U.ModelDesc)||void 0===h?void 0:h[0]})]}),(0,n.jsx)("div",{className:"rental-details__vehicle-image",children:(0,n.jsx)(d(),{"data-src":null==U?void 0:null===(f=U.ClassImageURL)||void 0===f?void 0:f[0],alt:"Toyota Aygo",src:null==U?void 0:null===(g=U.ClassImageURL)||void 0===g?void 0:g[0],width:206,height:110})})]}),(0,n.jsxs)("div",{className:"rental-details__time-distance-daily",children:[(0,n.jsxs)("p",{className:"rental-details__time-distance-daily__rate",children:[null==Y?void 0:null===(w=Y.RentalDays)||void 0===w?void 0:w[0]," d\xedas de Alquiler"]}
1),(0,n.jsx)("span",{className:"formatted-price rental-details__time-distance-daily__amount",children:"$ ".concat((0,v.r)(null==Y?void 0:null===(y=Y.RateCharge)||void 0===y?void 0:y[0]))})]}),(null==Y?void 0:null===(j=Y.RateDiscount)||void 0===j?void 0:j[0])&&(0,n.jsxs)("div",{className:"rental-details__time-distance-daily",children:[(0,n.jsxs)("p",{className:"rental-details__time-distance-daily__rate",children:["Descuento ",H||"pre-pago web"]}),(0,n.jsx)("span",{className:"formatted-price rental-details__time-distance-daily__amount",children:"$ ".concat((0,v.r)(null==Y?void 0:null===(N=Y.RateDiscount)||void 0===N?void 0:N[0]))})]})]}),(0,n.jsx)("div",{className:"rental-details__section rental-details__locations",children:(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{className:"rental-details__table-section-label",children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{align:"left",children:"EXTRAS"}),(0,n.jsx)("th",{align:"right",children:(0,n.jsx)("button",{className:"link",type:"button","aria-label":"Editar EXTRAS","data-dtm-track":"rental_details|EXTRAS|edit",onClick:()=>{Q.push("/seleccion-extras")},children:"Editar"})})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{className:"rental-details__line-item-row",children:[(0,n.jsx)("td",{align:"left",colSpan:"1",className:"rental-details__extra-name",children:"Protecci\xf3n CDW-TP inclu\xedda"}),(0,n.jsx)("td",{align:"right",children:(0,n.jsx)("span",{className:"formatted-price rental-details__extra-price",children:"Incluido"})})]}),null==Y?void 0:null===(C=Y.DailyExtra)||void 0===C?void 0:null===(k=C.filter(e=>{var i;return(null==e?void 0:null===(i=e.ExtraCode)||void 0===i?void 0:i[0])!==b.y4}))||void 0===k?void 0:k.map((e,i)=>{var t,l;return(0,n.jsxs)("tr",{className:"rental-details__line-item-row",children:[(0,n.jsx)("td",{align:"left",colSpan:"1",className:"rental-details__extra-name",children:null==e?void 0:null===(t=e.ExtraDesc)||void 0===t?void 0:t[0]}),(0,n.jsx)("td",{align:"right",children:(0,n.jsx)("span",{className:"formatted-price rental-details__extra-price",children:"$ ".concat((0,v.r)(null==e?void 0:null===(l=e.ExtraAmount)||void 0===l?void 0:l[0]))})})]},i)})]})]})}),(0,n.jsxs)("div",{className:"rental-details__section rental-details__taxes",children:[(null==Y?void 0:null===(R=Y.Taxes)||void 0===R?void 0:null===(I=R[0])||void 0===I?void 0:null===(D=I.Tax2Charge)||void 0===D?void 0:D[0])&&(0,n.jsxs)("p",{className:"rental-details__section-label",children:["Tasa de aeropuerto",(0,n.jsxs)("span",{className:"formatted-price total",children:["$"," ",(0,v.r)(null==Y?void 0:null===(M=Y.Taxes)||void 0===M?void 0:null===(L=M[0])||void 0===L?void 0:null===(T=L.Tax2Charge)||void 0===T?void 0:T[0])]})]}),(0,n.jsxs)("p",{className:"rental-details__section-label",children:["Total tasas e impuestos",(0,n.jsx)("span",{className:"formatted-price total",children:(0,v.C5)(Y)})]})]}),(0,n.jsxs)("div",{className:"rental-details__section rental-details__total-price",children:[(0,n.jsxs)("p",{className:"rental-details__section-label total-label",children:[(0,n.jsx)("span",{children:"Total estimado"}),(0,n.jsx)("span",{className:"rental-details__section-label-total",children:(0,n.jsxs)("span",{className:"total-price section__value formatted-price",children:["$"," ",(0,v.r)(null==Y?void 0:null===(z=Y.TotalCharges)||void 0===z?void 0:z[0])]})})]}),(0,n.jsxs)("div",{className:"rental-details__total-price-details",children:[(0,n.jsx)(x.Z,{tyc:Z,classCode:null==U?void 0:null===(A=U.ClassCode)||void 0===A?void 0:A[0],variante:"lista"}),B&&(0,n.jsx)("p",{className:"rental-details__nota-franquicia",children:B}),(0,n.jsxs)("p",{className:"rental-details__nota-franquicia",children:["M\xe1s informaci\xf3n y exclusiones en el siguiente enlace:"," ",(0,n.jsx)("a",{className:"yellow",href:"/condiciones-del-alquiler",target:"_blank",rel:"noreferrer",children:"Condiciones del alquiler"})]})]})]}),(0,n.jsxs)("div",{className:"rental-details__section rental-details__cancellation-info",children:[(0,n.jsx)("p",{className:"rental-details__section-label",children:(0,n.jsx)("span",{children:"INFORMACI\xd3N DE CANCELACI\xd3N"})}),(0,n.jsx)("p",{className:"rental-details__cancellation-description",children:(0,n.jsx)("span",{children:"Consulta los T\xe9rminos y condiciones del pago por adelantado para obtener m\xe1s informaci\xf3n."})})]})]})]})]})})})}),y=l.memo(e=>{let{airline:i,flightNumber:t,noFlight:l,noAirlineListed:o,errorMessage2:a,handleAirline:r,handleFlightNumber:s,handleNoFlight:d,handleNoAirlineListed:c}=e;return(0,n.jsxs)("section",{className:"review__section-card theme--light component-theme--light",children:[(0,n.jsx)("div",{className:"review__section-card__header",children:(0,n.jsx)("h3",{className:"review__section-card__title",children:"Informaci\xf3n del vuelo"})}),!o&&!l&&(0,n.jsxs)("div",{className:"review__flight-information",children:[(0,n.jsx)("p",{className:"review__flight-information__description",children:"Este aeropuerto cuenta con varias oficinas de Alamo. A\xf1ade los detalles de tu vuelo para que podamos atenderte mejor a tu llegada."}),a&&(0,n.jsx)(h.e,{type:"Error",message:a}),(0,n.jsxs)("div",{className:"review__section-card__field-row",children:[(0,n.jsxs)("div",{className:"field-control__c
1ontainer component-theme--light first-child fill",children:[(0,n.jsx)("div",{className:"responsive-listbox required",children:(0,n.jsx)("div",{className:"field-control field-control--text required",children:(0,n.jsx)("input",{label:"Compa\xf1ia a\xe9rea",required:"",id:"416ebe62-ba99-9198d",type:"text",autoComplete:"on",name:"airline_information.flight_number","aria-required":"true",onChange:e=>r(e),value:i||""})})}),(0,n.jsx)("label",{id:"label-416ebe62-ba99-9198",htmlFor:"416ebe62-ba99-9198",className:"field-control__label",children:"Nombre de la compa\xf1\xeda a\xe9rea"})]}),(0,n.jsx)("div",{className:"field-control__container component-theme--light fill",style:{zIndex:"10",position:"relative"},children:(0,n.jsxs)("div",{className:"field-control field-control--text required",children:[(0,n.jsx)("input",{label:"N\xfamero de vuelo",required:"",id:"416ebe62-ba99-9198",type:"text",autoComplete:"on",name:"airline_information.flight_number","aria-required":"true",onChange:e=>s(e),value:t||""}),(0,n.jsx)("label",{id:"label-416ebe62-ba99-9198",htmlFor:"416ebe62-ba99-9198",className:"field-control__label",children:"N\xfamero de vuelo"})]})})]}),(0,n.jsx)("div",{className:"review__flight-information__actions-group separar",children:(0,n.jsx)("button",{className:"link link--text",type:"button","aria-label":"No tengo vuelo",onClick:()=>d(),children:"No tengo vuelo"})})]}),l&&(0,n.jsx)("div",{className:"review__flight-information",children:(0,n.jsxs)("p",{className:"review__flight-information__description",children:["Seleccionaste: ",(0,n.jsx)("b",{children:"No tengo un vuelo."}),(0,n.jsxs)("a",{className:"link link--text",onClick:d,children:[" ","Editar"]})]})}),o&&(0,n.jsx)("div",{className:"review__flight-information",children:(0,n.jsxs)("p",{className:"review__flight-information__description",children:["Seleccionaste: ",(0,n.jsx)("b",{children:"Mi aerol\xednea no esta en el listado."}),(0,n.jsxs)("a",{className:"link link--text",onClick:c,children:[" ","Editar"]})]})})]})}),j=t(1876).Buffer;let N=[{value:"DNI",label:"DNI"},{value:"PASS",label:"PASS"}],k={option:(e,i)=>({...e,backgroundColor:i.isFocused?"#e6cced":"white",color:i.isFocused?"#8c4c9e":"#213b73"})},C=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);async function D(e,i){let t={RentalLocationID:e.RentalLocationID,RentalLocationIDDR:e.ReturnLocationID,ClassCodeDefault:"",PickupDateTime:e.PickupDateTime,ReturnDateTime:e.ReturnDateTime,Prepaid:"Y"},n=(await (0,v.SC)("../api/rat",{method:"POST",json:t,headers:{api_key:i},caller:"Revisar.getCarData"}).catch(e=>(console.error("Error en Revisar.getCarData al consultar la API rat: ",e),{}))).Payload[0].RateProduct.filter(i=>i.ClassCode[0]==e.ClassCode);return(0,v.Yj)(n[0])}async function I(e,i){let t=await (0,v.SC)("../api/loc",{method:"POST",json:"",headers:{api_key:i},caller:"Revisar.getLocation"}).catch(e=>(console.error("Error en Revisar.getLocation al consultar la API loc: ",e),{})),n={rental:(t=(0,v.WY)(t)).filter(i=>i.RentalLocationID==e.RentalLocationID)[0],return:""};if(e.RentalLocationID!=e.ReturnLocationID){let i=t.filter(i=>i.RentalLocationID==e.ReturnLocationID);n.return=i[0]}return n}async function R(e,i){var t,n,l,o,a,r,s,d;let c=[],m={RentalLocationID:null===(t=e.RentalLocationID)||void 0===t?void 0:t.RentalLocationID,PickupDateTime:e.PickupDateTime,ReturnDateTime:e.ReturnDateTime,RateID:null===(n=e.selectedCar)||void 0===n?void 0:n.RateID[0],ClassCode:null===(l=e.selectedCar)||void 0===l?void 0:l.ClassCode[0],ExtraCode:null!==(d=null===(a=e.selectedExtras)||void 0===a?void 0:null===(o=a.DailyExtra)||void 0===o?void 0:o.flatMap(e=>Array(e.quantity).fill(e.ExtraCode[0])))&&void 0!==d?d:[],DiscountPercent:(0,v.Rk)(e.selectedCar,e.when),ReturnLocationID:null===(r=e.RentalLocationIDDR)||void 0===r?void 0:r.RentalLocationID},u=await (0,v.SC)("../api/bil",{method:"POST",json:m,headers:{api_key:i},caller:"Revisar.getSelectedRate"}).catch(()=>({}));return(null==u?void 0:null===(s=u.Payload)||void 0===s?void 0:s.length)>0&&(c=null==u?void 0:u.Payload[0]),c}var T=e=>{var i,t,o,a,r,s,x,b,T,L,M,z,A,E,S,P,F,q,O,U,Y,H,Z,Q,B,V,J;
1let{setLoading:$,resultPayment:W,token:G,userData:K,tyc:X}=e,{state:ee,setRentalInfo:ei}=(0,l.useContext)(u.I),[et,en]=(0,l.useState)(""),[el,eo]=(0,l.useState)(""),[ea,er]=(0,l.useState)(""),[es,ed]=(0,l.useState)(""),[ec,em]=(0,l.useState)(""),[eu,ep]=(0,l.useState)(!1),ev=(0,p.useRouter)(),e_=(0,_.Bm)(X),[eh,ef]=(0,l.useState)({rentalInfo:{PartnerRate:"",PartnerName:"",RentalLocationID:{},RentalLocationIDDR:{},selectedCar:{},selectedExtras:{},selectedRate:{},selectedFromTimeOption:{},selectedToTimeOption:{},startDate:new Date,endDate:new Date,when:"",userForm:{},PickupDateTime:"",ReturnDateTime:"",flightNumber:"",airline:{},noFlight:!1,noAirlineListed:!1}}),{query:eg}=ev,[ex,eb]=(0,l.useState)(!0),[ew,ey]=(0,l.useState)(!0);(0,l.useEffect)(()=>{async function e(){let e=await R(ee.rentalInfo,G);ei({...ee.rentalInfo,selectedRate:e})}if($(!0),"y"===eg.PartnerRate){let e={};(0,v.Jl)(eg.PickupDateTime),async function(i){try{let t=await D(i,G),n=await I(i,G);e.PartnerRate=i.PartnerRate,e.PartnerName=i.PartnerName,e.selectedAgeOption="+21",e.when="n"===i.Prepay?"later":"now",e.RentalLocationID=n.rental,e.selectedCar=t,i.RentalLocationID!=i.ReturnLocationID&&(e.RentalLocationIDDR=n.return);let l=(0,v.Jl)(i.PickupDateTime);e.PickupDateTime=i.PickupDateTime,e.startDate=l.date,e.selectedFromTimeOption=l.selectedTimeOption;let o=(0,v.Jl)(i.ReturnDateTime);e.ReturnDateTime=i.ReturnDateTime,e.endDate=o.date,e.selectedToTimeOption=o.selectedTimeOption;let a=await R(e,G);e.selectedRate=a,ei(e),$(!1)}catch(e){console.error("Error en Revisar.fetchData ejecutando getCarData cuando la cotizaci\xf3n entra por partnerRate: ",e),$(!0),ei({}),ev.push("/")}}(eg,ee,ei)}else e(),$(!1)},[]),(0,l.useEffect)(()=>{if("y"!==eg.PartnerRate){var e,i,t,n,l,o,a,r,s;(null==ee?void 0:null===(t=ee.rentalInfo)||void 0===t?void 0:null===(i=t.selectedCar)||void 0===i?void 0:null===(e=i.ClassCode)||void 0===e?void 0:e[0])&&(null==ee?void 0:null===(l=ee.rentalInfo)||void 0===l?void 0:null===(n=l.RentalLocationID)||void 0===n?void 0:n.RentalLocationID)&&(null==ee?void 0:null===(o=ee.rentalInfo)||void 0===o?void 0:o.PickupDateTime)&&(null==ee?void 0:null===(a=ee.rentalInfo)||void 0===a?void 0:a.ReturnDateTime)&&(null==ee?void 0:null===(r=ee.rentalInfo)||void 0===r?void 0:r.selectedAgeOption)&&(null==ee?void 0:null===(s=ee.rentalInfo)||void 0===s?void 0:s.when)||ev.push("/")}},[eg.PartnerRate,null==ee?void 0:null===(i=ee.rentalInfo)||void 0===i?void 0:i.selectedCar,null==ee?void 0:null===(t=ee.rentalInfo)||void 0===t?void 0:t.RentalLocationID,null==ee?void 0:null===(o=ee.rentalInfo)||void 0===o?void 0:o.PickupDateTime,null==ee?void 0:null===(a=ee.rentalInfo)||void 0===a?void 0:a.ReturnDateTime,null==ee?void 0:null===(r=ee.rentalInfo)||void 0===r?void 0:r.selectedAgeOption,null==ee?void 0:null===(s=ee.rentalInfo)||void 0===s?void 0:s.when]),(0,l.useEffect)(()=>{var e,i,t,n;eW(null==ee?void 0:null===(e=ee.rentalInfo)||void 0===e?void 0:e.airline),eK(null==ee?void 0:null===(i=ee.rentalInfo)||void 0===i?void 0:i.flightNumber),e0(null==ee?void 0:null===(t=ee.rentalInfo)||void 0===t?void 0:t.noFlight),e2(null==ee?void 0:null===(n=ee.rentalInfo)||void 0===n?void 0:n.noAirlineListed)},[null==ee?void 0:null===(x=ee.rentalInfo)||void 0===x?void 0:x.airline,null==ee?void 0:null===(b=ee.rentalInfo)||void 0===b?void 0:b.flightNumber,null==ee?void 0:null===(T=ee.rentalInfo)||void 0===T?void 0:T.noFlight,null==ee?void 0:null===(L=ee.rentalInfo)||void 0===L?void 0:L.noAirlineListed]),(0,l.useEffect)(()=>{var e,i;eJ(null!==(i=null==ee?void 0:null===(e=ee.rentalInfo)||void 0===e?void 0:e.userForm)&&void 0!==i?i:{nPasajeroFrecuente:""})},[null==ee?void 0:null===(M=ee.rentalInfo)||void 0===M?void 0:M.userForm]),(0,l.useEffect)(()=>{ef(ee)},[ee]);let{PartnerRate:ej,PartnerName:eN,PartnerDisplayName:ek,PartnerBookingAgent:eC,RentalLocationID:eD,RentalLocationIDDR:eI,selectedCar:eR,selectedExtras:eT,selectedRate:eL,selectedFromTimeOption:eM,selectedToTimeOption:ez,startDate:eA,endDate:eE,when:eS,userForm:eP,PickupDateTime:eF,ReturnDateTime:eq,reservation:eO}=null==eh?void 0:eh.rentalInfo,[eU,eY]=(0,l.useState)(!1),[eH,eZ]=(0,l.useState)(!1),[eQ,eB]=(0,l.useState)(!1),[eV,eJ]=(0,l.useState)(eP),[e$,eW]=(0,l.useState)(""),[eG,eK]=(0,l.useState)(""),[eX,e0]=(0,l.useState)(!1),[e1,e2]=(0,l.useState)(!1),[e4,e5]=(0,l.useState)(!1);(0,l.useEffect)(()=>{e4&&(window.scrollTo(0,0),e5(!1))},[e4]);let e9=e=>{try{var i,t,n,l,o,a,r,s,d,c,m,u,p,v,_,h,f,g,x,b,w,y,j,N;let k=(null==eT?void 0:null===(t=eT.DailyExtra)||void 0===t?void 0:null===(i=t.filter(e=>null==e?void 0:e.selected))||void 0===i?void 0:i.map(e=>{var i,t,n,l;return{item_category:"extras",item_category2:(null==e?void 0:null===(i=e.ExtraType)||void 0===i?void 0:i[0])==="COV"?"coverage":"equipment",item_category3:(null==e?void 0:null===(t=e.ExtraDesc)||void 0===t?void 0:t[0])||null,item_name:(null==e?void 0:null===(n=e.ExtraDesc)||void 0===n?void 0:n[0])||null,price:parseFloat((null==e?void 0:null===(l=e.ExtraAmount)||void 0===l?void 0:l[0])||0),quantity:1}}))||[],C={event:"reservation_complete",type:"internal",ecommerce:{value:parseFloat((null==eL?void 0:null===(n=eL.TotalCharges)||void 0===n?void 0:n[0])||0),currency:"ARS",pickUpLocationCode:(null==ee?void 0:null===(o=ee.rentalInfo)||void 0===o?void 0:null===(l=o.RentalLocationID)||void 0===l?void 0:l.RentalLocationID)||null,dropOffLocationCode:(null==ee?void 0:null===(r=ee.rentalInfo)||void 0===r?void 0:null===(a=r.RentalLocationID)||void 0===a?void 0:a.RentalLocationID)||null,pickUpLocation:(null==ee?void 0:null===(c=ee.rentalInfo)||void 0===c?void 0:null===(d=c.RentalLocationID)||void 0===d?void 0:null===(s=d.RentalLocationName)||void 0===s?void 0:s[0])||null,dropOffLocation:(null==ee?void 0:null===(p=ee.rentalInfo)||void 0===p?void 0:null===(u=p.RentalLocationID)||void 0===u?void 0:null===(m=u.RentalLocationName)||void 0===m?void 0:m[0])||null,pickUpDate:(null==ee?void 0:null===(v=ee.rentalInfo)||void 0===v?void 0:v.startDate.toISOString())||null,dropOffDate:(null==ee?void 0:null===(_=ee.rentalInfo)||void 0===_?void 0:_.endDate.toISOString())||null,lengthOfRental:(null==ee?void 0:null===(b=ee.rentalInfo)||void 0===b?void 0:null===(x=b.selectedCar)||void 0===x?void 0:null===(g=x.TotalPricing)||void 0===g?void 0:null===(f=g[0])||void 0===f?void 0:null===(h=f.RentalDays)||void 0===h?void 0:h[0])||null,leadTime:null,contractId:null,customerType:"retail",payment:"now"===eS?"prepaid":"pay_later",country:"AR",reservationType:"y"===ej?"partner":"direct",reservationNumber:(null==e?void 0:null===(w=e.ConfirmNum)||void 0===w?void 0:w[0])||null,items:[{item_name:(null==eR?void 0:null===(y=eR.Title)||void 0===y?void 0:y[0])||null,item_category:(null==eR?void 0:null===(j=eR.ClassCode)||void 0===j?void 0:j[0])||null,price:parseFloat((null==eL?void 0:null===(N=eL.RateCharge)||void 0===N?void 0:N[0])||0),quantity:1,location_id:(null==eD?void 0:eD.RentalLocationID)||null},...k]}};window.dataLayer.push({ecommerce:null}),window.dataLayer.push(C)}catch(e){console.error("Error sending Google Analytics event:",e)}};async function e3(e){var i,t,n;let l=new FormData(document.getElementById("formulario"));l.append("rezNumber",e);let o={};l.forEach((e,i)=>{o[i]=e});let a={token:"3h1gl0b4l",marca:"AL",codigo_reserva:o.rezNumber,importe:null==eL?void 0:null===(i=eL.TotalCharges)||void 0===i?void 0:i[0],cliente_nombre:o.lastname+" "+o.name,cliente_email:o.email,cliente_identificacion:o.doc,url_retorno:"https://www.alamoargentina.com.ar/revisar?mobbex="+sessionStorage.mobbexTempID+"&rez="+o.rezNumber},r={ConfirmNum:"",PickupDateTime:eF,ReturnDateTime:eq,RentalLocationID:null==eD?void 0:eD.RentalLocationID,RentalLocationIDDR:(null==eI?void 0:eI.RentalLocationID)?null==eI?void 0:eI.RentalLocationID:"",RateID:null==eR?void 0:null===(t=eR.RateID)||void 0===t?void 0:t[0],OptInEmail:eU?"1":"0",DiscountPercent:(0,v.Rk)(eR,eS),ClassCode:null==eR?void 0:null===(n=eR.ClassCode)||void 0===n?void 0:n[0],ExtraCode:ii(),BookingAgent:e6(),BookedBy:K?"autogestion":"alamo web",RenterFirst:eV.name,RenterLast:eV.lastname,EmailAddress:eV.email,RenterHomePhone:eV.phone,RentalComments:(null==eV?void 0:eV.notas)||"",FrequentFlyer:(null==eV?void 0:eV.nPasajeroFrecuente)?"AA"+(null==eV?void 0:eV.nPasajeroFrecuente):"",Airline:e$||"",Flight:eG||"",DocType:"now"===eS?eV.DocType:"",DNI:"now"===eS?eV.doc:"",EmailDeals:eU?"Y":"N",Payment:"now"===eS?"Y":"N",CompanyNumber:(null==K?void 0:K.companyNumber)||"",CodResTemp:e||"",InsuranceCarrier:K?K.userName:"",InsurancePolicyNumber:K?K.userEmail:"",Prepaid:""!==K?"Y":""},s=j.from(JSON.stringify(r)).toString("base64");if(!await e8(e,s)){$(!1);return}try{let e=await (0,v.SC)("/api/get-mobbex-url",{method:"POST",json:a,caller:"Revisar.getMobbexUrl"});if(!(null==e?void 0:e.url))throw Error("La respuesta de la pasarela no trae la url del checkout");return window.location.href=e.url,e}catch(e){console.error("Error en Revisar.getMobbexUrl: ",e);return}}let e8=async(e,i)=>{var t,n,l,o,a,r,s,d,c,m,u,p,_,h,f,g,x,b,w,y,N,k,C,D,I,R,T,L,M,z,A,E,S,P,F,q,O,U,Y,H,Z,Q,B,V,J,$,W,G,K,X,ei,et,en,el,eo,ea,er,es,ed,ec,em,eu,ep,ev,e_,eh,ef,eg,ex,eb,ew,ej,eN,ek,eC,eD,eI,eR,eT,eL;let eM={PickupDateTime:null!==(ep=null===(t=ee.rentalInfo)||void 0===t?void 0:t.PickupDateTime)&&void 0!==ep?ep:null,ReturnDateTime:null!==(ev=null===(n=ee.rentalInfo)||void 0===n?void 0:n.ReturnDateTime)&&void 0!==ev?ev:null,RateAmount:null!==(e_=null===(a=ee.rentalInfo)||void 0===a?void 0:null===(o=a.selectedCar)||void 0===o?void 0:null===(l=o.RateAmount)||void 0===l?void 0:l[0])&&void 0!==e_?e_:null,PerHourCharge:null!==(eh=null===(d=ee.rentalInfo)||void 0===d?void 0:null===(s=d.selectedCar)||void 0===s?void 0:null===(r=s.PerHourCharge)||void 0===r?void 0:r[0])&&void 0!==eh?eh:null,DiscountPercent:null!==(ef=null===(u=ee.rentalInfo)||void 0===u?void 0:null===(m=u.selectedCar)||void 0===m?void 0:null===(c=m.DiscountPercent)||void 0===c?void 0:c[0])&&void 0!==ef?ef:null,RentalDays:null!==(eg=null===(h=ee.rentalInfo)||void 0===h?void 0:null===(_=h.selectedRate)||void 0===_?void 0:null===(p=_.RentalDays)||void 0===p?void 0:p[0])&&void 0!==eg?eg:null,RateCharge:null!==(ex=null===(x=ee.rentalInfo)||void 0===x?void 0:null===(g=x.selectedRate)||void 0===g?void 0:null===(f=g.RateCharge)||void 0===f?void 0:f[0])&&void 0!==ex?ex:null,RateDiscount:null!==(eb=null===(y=ee.rentalInfo)||void 0===y?void 0:null===(w=y.selectedRate)||void 0===w?void 0:null===(b=w.RateDiscount)||void 0===b?void 0:b[0])&&void 0!==eb?eb:null,TotalExtras:null!==(ew=null===(C=ee.rentalInfo)||void 0===C?void 0:null===(k=C.selectedRate)||void 0===k?void 0:null===(N=k.TotalExtras)||void 0===N?void 0:N[0])&&void 0!==ew?ew:null,Extras:null!==(ej=null===(R=ee.rentalInfo)||void 0===R?void 0:null===(I=R.selectedExtras)||void 0===I?void 0:null===(D=I.DailyExtra)||void 0===D?void 0:D.map(e=>{var i,t,n,l,o,a;return{ExtraCode:null!==(l=null==e?void 0:null===(i=e.ExtraCode)||void 0===i?void 0:i[0])&&void 0!==l?l:null,ExtraAmount:null!==(o=null==e?void 0:null===(t=e.ExtraAmount)||void 0===t?void 0:t[0])&&void 0!==o?o:null,ExtraCalcType:null!==(a=null==e?void 0:null===(n=e.ExtraCalcType)||void 0===n?void 0:n[0])&&void 0!==a?a:null}}))&&void 0!==ej?ej:[],TotalTaxes:null!==(eN=null===(M=ee.rentalInfo)||void 0===M?void 0:null===(L=M.selectedRate)||void 0===L?void 0:null===(T=L.TotalTaxes)||void 0===T?void 0:T[0])&&void 0!==eN?eN:null,Tax1Rate:null!==(ek=null===(P=ee.rentalInfo)||void 0===P?void 0:null===(S=P.selectedRate)||void 0===S?void 0:null===(E=S.Taxes)||void 0===E?void 0:null===(A=E[0])||void 0===A?void 0:null===(z=A.Tax1Rate)||void 0===z?void 0:z[0])&&void 0!==ek?ek:null,Tax1Charge:null!==(eC=null===(Y=ee.rentalInfo)||void 0===Y?void 0:null===(U=Y.selectedRate)||void 0===U?void 0:null===(O=U.Taxes)||void 0===O?void 0:null===(q=O[0])||void 0===q?void 0:null===(F=q.Tax1Charge)||void 0===F?void 0:F[0])&&void 0!==eC?eC:null,Tax2Rate:null!==(eD=null===(V=ee.rentalInfo)||void 0===V?void 0:null===(B=V.selectedRate)||void 0===B?void 0:null===(Q=B.Taxes)||void 0===Q?void 0:null===(Z=Q[0])||void 0===Z?void 0:null===(H=Z.Tax2Rate)||void 0===H?void 0:H[0])&&void 0!==eD?eD:null,Tax2Charge:null!==(eI=null===(K=ee.rentalInfo)||void 0===K?void 0:null===(G=K.selectedRate)||void 0===G?void 0:null===(W=G.Taxes)||void 0===W?void 0:null===($=W[0])||void 0===$?void 0:null===(J=$.Tax2Charge)||void 0===J?void 0:J[0])&&void 0!==eI?eI:null,Tax3Rate:null!==(eR=null===(el=ee.rentalInfo)||void 0===el?void 0:null===(en=el.
1selectedRate)||void 0===en?void 0:null===(et=en.Taxes)||void 0===et?void 0:null===(ei=et[0])||void 0===ei?void 0:null===(X=ei.Tax3Rate)||void 0===X?void 0:X[0])&&void 0!==eR?eR:null,Tax3Charge:null!==(eT=null===(ed=ee.rentalInfo)||void 0===ed?void 0:null===(es=ed.selectedRate)||void 0===es?void 0:null===(er=es.Taxes)||void 0===er?void 0:null===(ea=er[0])||void 0===ea?void 0:null===(eo=ea.Tax3Charge)||void 0===eo?void 0:eo[0])&&void 0!==eT?eT:null,TotalCharges:null!==(eL=null===(eu=ee.rentalInfo)||void 0===eu?void 0:null===(em=eu.selectedRate)||void 0===em?void 0:null===(ec=em.TotalCharges)||void 0===ec?void 0:ec[0])&&void 0!==eL?eL:null},ez=j.from(JSON.stringify(eM)).toString("base64");try{let t=await (0,v.SC)("/api/autogestion/reservations/storeProvisionalReservation",{method:"POST",json:{provisional_reservation_number:e,information:i,summary_rental_info:ez},caller:"Revisar.storeProvisionalReservation"});return null==t||t}catch(e){return ey(!1),console.error(e),!1}},e7=async()=>{var e;let i={ConfirmNum:"",PickupDateTime:eF,ReturnDateTime:eq,RentalLocationID:null==eD?void 0:eD.RentalLocationID,RentalLocationIDDR:(null==eI?void 0:eI.RentalLocationID)?null==eI?void 0:eI.RentalLocationID:"",RateID:null==eR?void 0:null===(e=eR.RateID)||void 0===e?void 0:e[0],OptInEmail:eU?"1":"0",DiscountPercent:(0,v.Rk)(eR,eS),ClassCode:eR.ClassCode[0],ExtraCode:ii(),BookingAgent:"y"===ej?eC||eN:"alamo w2",RenterFirst:eV.name,RenterLast:eV.lastname,EmailAddress:eV.email,RenterHomePhone:eV.phone,RentalComments:(null==eV?void 0:eV.notas)||"",FrequentFlyer:(null==eV?void 0:eV.nPasajeroFrecuente)?"AA"+(null==eV?void 0:eV.nPasajeroFrecuente):"",Airline:e$||"",Flight:eG||"",DocType:"now"===eS?eV.DocType:"",DNI:"now"===eS?eV.doc:"",EmailDeals:eU?"Y":"N",Payment:"now"===eS?"Y":"N",CodResTemp:"codtemp1"};try{let e=await (0,v.SC)("/api/prerez",{method:"POST",json:{rezData:i},headers:{api_key:G},caller:"Revisar.getInternalCode"});if(null==e?void 0:e.error)throw Error(e.error||"Error del servidor");return e}catch(e){console.error("Error en revisar.getInternalCode: ",e);return}},e6=()=>"y"===ej?eC||eN:""!==K?(null==K?void 0:K.companyName)||"":"alamo w2",ie=async()=>{if(!1!==eu)return[];{var e,i;let t={ConfirmNum:"",PickupDateTime:eF,ReturnDateTime:eq,RentalLocationID:null==eD?void 0:eD.RentalLocationID,RentalLocationIDDR:(null==eI?void 0:eI.RentalLocationID)?null==eI?void 0:eI.RentalLocationID:"",RateID:null==eR?void 0:null===(e=eR.RateID)||void 0===e?void 0:e[0],OptInEmail:eU?"1":"0",DiscountPercent:(0,v.Rk)(eR,eS),ClassCode:null==eR?void 0:null===(i=eR.ClassCode)||void 0===i?void 0:i[0],ExtraCode:ii(),BookingAgent:e6(),BookedBy:K?"autogestion":"alamo web",RenterFirst:eV.name,RenterLast:eV.lastname,EmailAddress:eV.email,RenterHomePhone:eV.phone,RentalComments:(null==eV?void 0:eV.notas)||"",FrequentFlyer:(null==eV?void 0:eV.nPasajeroFrecuente)?"AA"+(null==eV?void 0:eV.nPasajeroFrecuente):"",Airline:e$||"",Flight:eG||"",DocType:"now"===eS?eV.DocType:"",DNI:"now"===eS?eV.doc:"",EmailDeals:eU?"Y":"N",Payment:"now"===eS?"Y":"N",CompanyNumber:(null==K?void 0:K.companyNumber)||"",CodResTemp:(null==W?void 0:W.numeroReservaProvisorio)||"",InsuranceCarrier:K?K.userName:"",InsurancePolicyNumber:K?K.userEmail:"",Prepaid:""!==K?"Y":""},n=await (0,v.SC)("../api/postrez",{method:"POST",json:t,headers:{api_key:G},caller:"Revisar.postData"}).then(e=>(e9(e),e),e=>{console.error("Error en Revisar.postData al consultar la API postrez",e)});return ep(!0),n}},ii=()=>{var e,i;return null!==(i=null==eT?void 0:null===(e=eT.DailyExtra)||void 0===e?void 0:e.flatMap(e=>Array(e.quantity).fill(e.ExtraCode[0])))&&void 0!==i?i:[]},it=async()=>{if(!(null==eV?void 0:eV.name)||!(null==eV?void 0:eV.email)||!(null==eV?void 0:eV.phone)||!C(eV.email)||"now"===eS&&!(null==eV?void 0:eV.doc)||"now"===eS&&!(null==eV?void 0:eV.DocType)||!(null==eV?void 0:eV.lastname)||(null==eV?void 0:eV.frequentFlyer)&&!(null==eV?void 0:eV.nPasajeroFrecuente)){(null==eV?void 0:eV.name)?(null==eV?void 0:eV.lastname)?(null==eV?void 0:eV.email)?C(eV.email)?(null==eV?void 0:eV.phone)?"now"!==eS||(null==eV?void 0:eV.DocType)?"now"!==eS||(null==eV?void 0:eV.doc)?(null==eV?void 0:eV.nPasajeroFrecuente)||en("Por favor, ingresa tu n\xfamero de pasajero frecuente"):en("Por favor, ingresa tu n\xfamero de documento"):en("Por favor, ingresa tu tipo de documento"):en("Por favor, ingresa tu n\xfamero de tel\xe9fono"):en("Por favor, ingresa un correo electr\xf3nico v\xe1lido"):en("Por favor, ingresa tu correo electr\xf3nico"):en("Por favor, ingresa tu apellido"):en("Por favor, ingresa tu nombre"),e5(!0);return}if(!eH||!eQ&&"now"===eS){er("Por favor, acepta los t\xe9rminos y condiciones");return}if("now"===eS){$(!0);try{var e,i,t,n;let l=await e7();if(!l){$(!1),em("No se pudo generar el n\xfamero de reserva provisorio. Por favor, reintenta mas tarde."),e5(!0);return}let o=null===(n=l.get_nroRez_tmpResponse)||void 0===n?void 0:null===(t=n[0].get_nroRez_tmpResult)||void 0===t?void 0:null===(i=t[0].oReserva)||void 0===i?void 0:null===(e=i[0].codigo_reserva)||void 0===e?void 0:e[0];if(o){if(!await e3(o)){$(!1),em("No se pudo generar el enlace de pago. Por favor, reintenta mas tarde."),e5(!0);return}}else{$(!1),em("No se pudo generar el n\xfamero de reserva provisorio. Por favor, reintenta mas tarde."),e5(!0);return}}catch(e){console.error("Error en Revisar.handleConfirmReservation (prepago): ",e),$(!1),em("No se pudo iniciar el pago. Por favor, reintenta mas tarde."),e5(!0);return}}else{let e=await il();$(!1),e&&ev.push("/confirmacion")}},il=async()=>
1{if(!1===eu){var e;$(!0);let i=await ie();if(!i){eb(!1),$(!1),e5(!0);return}return(null==i?void 0:null===(e=i.ConfirmNum)||void 0===e?void 0:e[0])&&ei({...ee.rentalInfo,reservation:i}),i}},io=e=>{en(""),"doc"===e.target.name&&e.target.value.length>12&&(e.target.value=e.target.value.slice(0,12));let i={...eV,[e.target.name]:e.target.value};eJ(i),ei({...ee.rentalInfo,userForm:i})},ia=(0,l.useCallback)(e=>{eo(""),eW(e.target.value),ei(i=>({...i,airline:e.target.value}))},[ei]),ir=(0,l.useCallback)(e=>{eo(""),eK(e.target.value),ei(i=>({...i,flightNumber:e.target.value}))},[ei]),is=(0,l.useCallback)(()=>{eo(""),ei(e=>({...e,noFlight:!e.noFlight,airline:"",flightNumber:""}))},[ei]),id=(0,l.useCallback)(()=>{eo(""),ei(e=>({...e,noAirlineListed:!e.noAirlineListed,airline:"",flightNumber:""})),e2(e=>!e)},[ei]);return(0,n.jsx)(m,{children:(0,n.jsx)("div",{id:"revisar",className:"contenedor",children:(0,n.jsxs)("div",{className:"container-fluid",children:[(0,n.jsx)(c.Z,{step:5}),(0,n.jsxs)("div",{className:"review review--prepay",children:[(0,n.jsx)("div",{className:"title__container review__title",children:(0,n.jsx)("h1",{className:"title__heading-text",children:"Revisar y reservar"})}),ex&&ew?(0,n.jsxs)("div",{className:"review__content",children:[(0,n.jsx)(w,{startDate:eA,endDate:eE,selectedFromTimeOption:eM,selectedToTimeOption:ez,RentalLocationID:eD,RentalLocationIDDR:eI,selectedCar:eR,selectedRate:eL,PartnerDisplayName:ek,tyc:X}),(0,n.jsx)("section",{className:"review__main",children:(0,n.jsxs)("form",{className:"review__form",autoComplete:"off",noValidate:"",id:"formulario",children:[(0,n.jsxs)("div",{className:"review__section-header",children:[(0,n.jsx)("h2",{className:"review__section-header__title",children:"1. Informaci\xf3n"}),(0,n.jsx)("span",{className:"review__section-header__legend",children:"* indica que el campo es obligatorio"})]}),(0,n.jsxs)("section",{className:"review__section-card theme--light component-theme--light",children:[(0,n.jsx)("div",{className:"review__section-card__header",children:(0,n.jsx)("h3",{className:"review__section-card__title",children:"Datos del conductor"})}),ec&&(0,n.jsx)(h.e,{type:"Error",message:ec}),et&&(0,n.jsx)(h.e,{type:"Error",message:et}),(0,n.jsxs)("div",{className:"review__section-card__field-row",children:[(0,n.jsx)("div",{className:"field-control__container component-theme--light fill first-child",children:(0,n.jsxs)("div",{className:"field-control field-control--text required",children:[(0,n.jsx)("input",{label:"Nombre",required:"",autoComplete:"given-name",id:"name",type:"text",name:"name","aria-required":"true",value:null==eV?void 0:eV.name,onChange:io}),(0,n.jsxs)("label",{id:"Name",className:"field-control__label",children:["Nombre",(0,n.jsx)("sup",{"aria-hidden":"true",children:"*"})]})]})}),(0,n.jsx)("div",{className:"field-control__container component-theme--light fill",children:(0,n.jsxs)("div",{className:"field-control field-control--text required",children:[(0,n.jsx)("input",{label:"Apellidos",required:"",autoComplete:"family-name",id:"lastname",type:"text",name:"lastname","aria-required":"true",value:null==eV?void 0:eV.lastname,onChange:io}),(0,n.jsxs)("label",{id:"label-2da1e1de-9676-489c",htmlFor:"2da1e1de-9676-489c",className:"field-control__label",children:["Apellidos",(0,n.jsx)("sup",{"aria-hidden":"true",children:"*"})]})]})})]}),(0,n.jsxs)("div",{className:"review__section-card__field-row",children:[(0,n.jsx)("div",{className:"field-control__container component-theme--light fill first-child",children:(0,n.jsxs)("div",{className:"field-control field-control--text required",children:[(0,n.jsx)("input",{label:"N\xfamero de tel\xe9fono",required:"",autoComplete:"tel",id:"phone",type:"text",name:"phone","aria-required":"true",value:null==eV?void 0:eV.phone,onChange:io}),(0,n.jsxs)("label",{id:"label-e2542d93-36bf-5c6c",htmlFor:"e2542d93-36bf-5c6c",className:"field-control__label",children:["N\xfamero de tel\xe9fono",(0,n.jsx)("sup",{"aria-hidden":"true",children:"*"})]})]})}),(0,n.jsx)("div",{className:"field-control__container component-theme--light fill",children:(0,n.jsxs)("div",{className:"field-control field-control--text required",children:[(0,n.jsx)("input",{label:"Correo electr\xf3nico",required:"",autoComplete:"email",id:"email",type:"text",name:"email","aria-required":"true",value:null==eV?void 0:eV.email,onChange:io}),(0,n.jsxs)("label",{id:"label-b77ed90c-0e61-4075",htmlFor:"b77ed90c-0e61-4075",className:"field-control__label",children:["Correo electr\xf3nico",(0,n.jsx)("sup",{"aria-hidden":"true",children:"*"})]})]})})]}),"now"===eS&&(0,n.jsxs)("div",{className:"review__section-card__field-row",children:[(0,n.jsx)("div",{className:"field-control__c
1ontainer component-theme--light fill first-child dlselect",children:(0,n.jsx)("div",{className:"field-control field-control--text required responsive-listbox__toggler dropdown",children:(0,n.jsxs)("div",{className:"seleccionTipoDni",children:[(0,n.jsx)(f.ZP,{id:"select8",instanceId:"select8",classNamePrefix:"rs",defaultValue:(null==eh?void 0:null===(A=eh.rentalInfo)||void 0===A?void 0:null===(z=A.userForm)||void 0===z?void 0:z.DocType)?{label:null==eh?void 0:null===(S=eh.rentalInfo)||void 0===S?void 0:null===(E=S.userForm)||void 0===E?void 0:E.DocType,value:null==eh?void 0:null===(F=eh.rentalInfo)||void 0===F?void 0:null===(P=F.userForm)||void 0===P?void 0:P.DocType}:"",value:(null==eh?void 0:null===(O=eh.rentalInfo)||void 0===O?void 0:null===(q=O.userForm)||void 0===q?void 0:q.DocType)?{label:null==eh?void 0:null===(Y=eh.rentalInfo)||void 0===Y?void 0:null===(U=Y.userForm)||void 0===U?void 0:U.DocType,value:null==eh?void 0:null===(Z=eh.rentalInfo)||void 0===Z?void 0:null===(H=Z.userForm)||void 0===H?void 0:H.DocType}:"",onChange:e=>io({target:{name:"DocType",value:e.value}}),options:N,styles:k,placeholder:" ",noOptionsMessage:()=>"Seleccionar Tipo de Documento"}),(0,n.jsxs)("label",{id:"label-e2542d93-36bf-5c6c",htmlFor:"e2542d93-36bf-5c6c",className:"field-control__label",children:["Tipo de documento",(0,n.jsx)("sup",{"aria-hidden":"true",children:"*"})]})]})})}),(0,n.jsx)("div",{className:"field-control__container component-theme--light fill",children:(0,n.jsxs)("div",{className:"field-control field-control--text ",children:[(0,n.jsx)("input",{label:"N\xfamero de documento",required:"",autoComplete:"doc",id:"doc",name:"doc",type:(null==eh?void 0:null===(B=eh.rentalInfo)||void 0===B?void 0:null===(Q=B.userForm)||void 0===Q?void 0:Q.DocType)=="PASS"?"text":"number",maxLength:12,"aria-required":"true",value:null==eV?void 0:eV.doc,onChange:io}),(0,n.jsxs)("label",{id:"label-e2542d93-36bf-5c6c",htmlFor:"e2542d93-36bf-5c6c",className:"field-control__label",children:["N\xfamero de documento",(0,n.jsx)("sup",{"aria-hidden":"true",children:"*"})]})]})})]})," ",(0,n.jsx)("div",{className:"field-control__container component-theme--light fill first-child",children:(0,n.jsxs)("div",{className:"field-control field-control--text required",children:[(0,n.jsx)("input",{label:"Notas / Observaciones",required:"",autoComplete:"",id:"notas",type:"text",name:"notas","aria-required":"false",value:null==eV?void 0:eV.notas,onChange:io}),(0,n.jsx)("label",{id:"label-e2542d93-36bf-5c6c",htmlFor:"e2542d93-36bf-5c6c",className:"field-control__label",children:"Notas"})]})}),(0,n.jsxs)("div",{style:{marginBottom:"30px"},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",gap:"20px",padding:"15px 0 5px"},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)("h3",{style:{margin:0,paddingRight:"10px",fontSize:"14px"},children:"\xbfEs Usted socio del programa Aerol\xedneas Plus?"}),(0,n.jsxs)("div",{className:"tooltip-container",style:{position:"relative"},children:[(0,n.jsx)("svg",{className:"svg-icon",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M7.99967 1.8335C4.31967 1.8335 1.33301 4.82016 1.33301 8.50016C1.33301 12.1802 4.31967 15.1668 7.99967 15.1668C11.6797 15.1668 14.6663 12.1802 14.6663 8.50016C14.6663 4.82016 11.6797 1.8335 7.99967 1.8335ZM8.66634 11.8335H7.33301V7.8335H8.66634V11.8335ZM8.66634 6.50016H7.33301V5.16683H8.66634V6.50016Z",fill:"#BCBBBB"})}),(0,n.jsx)("div",{className:"tooltip-text",children:"Usa este campo para ingresar tu n\xfamero de pasajero frecuente de Aerol\xedneas Argentinas y suma Millas Aerol\xedneas Plus."})]})]}),(0,n.jsxs)("div",{style:{display:"flex",gap:"15px"},children:[(0,n.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"5px"},children:["S\xed",(0,n.jsx)("input",{type:"radio",name:"frecuente",checked:null==eV?void 0:eV.frequentFlyer,onChange:()=>{let e={...eV,frequentFlyer:!0};eJ(e),ei({...ee.rentalInfo,userForm:e})},style:{accentColor:"#83509A"}})]}),(0,n.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"5px"},children:["No",(0,n.jsx)("input",{type:"radio",name:"frecuente",checked:!(null==eV?void 0:eV.frequentFlyer),onChange:()=>{let e={...eV,nPasajeroFrecuente:"",frequentFlyer:!1};eJ(e),ei({...ee.rentalInfo,userForm:e})},style:{accentColor:"#83509A"}})]})]})]}
1),(0,n.jsx)("div",{className:"field-control__container component-theme--light fill",children:(0,n.jsxs)("div",{className:"field-control field-control--text required input-with-tooltip",children:[(0,n.jsx)("input",{disabled:!(null==eV?void 0:eV.frequentFlyer),label:"Pasajero frecuente",required:"",autoComplete:"",id:"n_pasajero_frecuente",type:"text",name:"nPasajeroFrecuente","aria-required":"false",value:null==eV?void 0:eV.nPasajeroFrecuente,onChange:e=>{if(/^\d*$/.test(e.target.value)){let i={...eV,[e.target.name]:e.target.value};eJ(i),ei({...ee.rentalInfo,userForm:i})}},maxLength:9}),!(null==eV?void 0:eV.frequentFlyer)&&(0,n.jsx)("div",{className:"input-tooltip-text",children:"Para ingresar tu n\xfamero de Pasajero Frecuente de Aerol\xedneas Argentinas selecciona S\xed en la pregunta de arriba."}),(0,n.jsx)("label",{id:"label-e2542d93-36bf-5c6c",htmlFor:"e2542d93-36bf-5c6c",className:"field-control__label",style:{lineHeight:"1"},children:"N\xfamero de pasajero frecuente exclusivo Aerol\xedneas Argentinas"})]})})]}),K?"":(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"review__section-card__field-row",children:(0,n.jsxs)("div",{className:eU?"checkbox-field light checked":"checkbox-field light ",children:[(0,n.jsx)("input",{name:"newsletter",id:"newsletter",type:"checkbox","aria-labelledby":"newsletter",onClick:()=>{eY(!eU)}}),(0,n.jsx)("label",{id:"newsletter",htmlFor:"newsletter",className:"checkbox-field__label",children:"Reg\xedstrese para recibir ofertas especiales de Alamo por correo electr\xf3nico"})]})}),(0,n.jsx)("p",{className:"review__section-card__footer-legals",children:"Al seleccionar esta casilla, te est\xe1s registrando para recibir ofertas especiales de Alamo por correo electr\xf3nico y expresas tu deseo de recibir promociones y ofertas por correo electr\xf3nico de Alamo Car Rental. Ten en cuenta que tus interacciones por correo electr\xf3nico pueden utilizarse para llevar a cabo an\xe1lisis y producir contenidos y anuncios personalizados en funci\xf3n de tus intereses. Recibir\xe1s algunas de las ofertas a trav\xe9s de publicidad en sitios que no son de Alamo, como las redes sociales y plataformas de publicidad digital. No hay ning\xfan cargo y puedes anular la suscripci\xf3n en cualquier momento (i) utilizando los enlaces proporcionados en los correos electr\xf3nicos, (ii) gestionando las preferencias en el perfil de Alamo Insiders o (iii) poni\xe9ndote en contacto con nosotros. Consulta nuestra pol\xedtica de privacidad y nuestra pol\xedtica de cookies para obtener m\xe1s informaci\xf3n."})]})]}),(null==eD?void 0:null===(V=eD.value)||void 0===V?void 0:V.substr(3,1))==="T"&&(0,n.jsx)(y,{airline:e$,flightNumber:eG,noFlight:eX,noAirlineListed:e1,errorMessage2:el,handleAirline:ia,handleFlightNumber:ir,handleNoFlight:is,handleNoAirlineListed:id}),(0,n.jsxs)("section",{className:"review__section-card theme--light component-theme--light",children:["now"===eS&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"review__section-card__header review__payment-pay-now-title-container",children:(0,n.jsx)("h3",{className:"review__section-card__title",children:"M\xe9todo de pago"})}),(0,n.jsx)("p",{className:"payment-section__secure-connection-message mb-5",children:(0,n.jsxs)("label",{children:["Tu informaci\xf3n se enviar\xe1 a trav\xe9s de una conexi\xf3n segura a"," "," ",(0,n.jsx)("a",{target:"_blanck",href:"https://mobbex.com",children:"Mobbex.com"})]})}),es&&(0,n.jsx)(h.e,{type:"Error",message:es}),(null==W?void 0:W.id)&&(null==W?void 0:W.code)!=200&&(null==W?void 0:W.code)!=3&&!es&&(0,n.jsx)(h.e,{type:"Error",message:"Pago no realizado: ".concat(null==W?void 0:W.status," - Reintente el pago.")}),(0,n.jsx)("div",{className:"row",children:(0,n.jsxs)("div",{className:"col-12 contenedor-tarjetas",children:[(0,n.jsxs)("div",{className:"col-xs-12 Resumen-Contenido-Header",children:[(0,n.jsx)("div",{children:"Pague ahora con una tarjeta de Cr\xe9dito / D\xe9bito"}),(0,n.jsx)("div",{children:(0,n.jsxs)("b",{children:["UN PAGO DE $"," ",(0,v.r)(null==eL?void 0:null===(J=eL.TotalCharges)||void 0===J?void 0:J[0],2)]})}),(0,n.jsx)("p",{className:"mt-2",children:(0,n.jsx)("i",{children:"Tarjetas habilitadas"})}),(0,n.jsx)("div",{style:{width:"100%",height:"2px",backgroundColor:"#ccc",display:"inline-block",padding:"0 15px",margin:"15px 0"}})]}),(0,n.jsxs)("div",{className:"col-10 d-flex align-items-center justify-content-around mb-3",children:[(0,n.jsx)(d(),{src:"/assets/img/tarjetas/visa.png",alt:"
1Visa",width:60,height:60}),(0,n.jsx)(d(),{src:"/assets/img/tarjetas/amex.png",alt:"American Express",width:60,height:60}),(0,n.jsx)(d(),{src:"/assets/img/tarjetas/mastercard.png",alt:"Master Card Credito",width:60,height:60})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:"*Promociones bancarias y cuotas solo v\xe1lidas para tarjetas emitidas en la rep\xfablica Argentina."}),(0,n.jsx)("a",{target:"_blank",href:"/promociones",rel:"noopener noreferrer",children:(0,n.jsx)("button",{className:"link link--text",type:"button","aria-label":"https://www.alamoargentina.com.ar/promociones",children:"https://www.alamoargentina.com.ar/promociones"})})]})]})}),(0,n.jsx)("div",{style:{width:"100%",height:"2px",backgroundColor:"#ccc",display:"inline-block",padding:"0 15px",margin:"25px 0"}})]}),(0,n.jsx)("div",{className:"review__section-card__header",children:(0,n.jsx)("h3",{className:"review__section-card__title"})}),ea&&(0,n.jsx)(h.e,{type:"Error",message:ea}),e_.map(e=>(0,n.jsxs)("div",{className:"review__rental-requirements",children:[(0,n.jsx)("p",{className:"review__rental-requirements__title",children:e.titulo}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e.contenido}})]},e.id)),(0,n.jsx)("div",{style:{width:"100%",display:"inline-block",padding:"0 15px",margin:"1px 0"}}),"now"===eS?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"do-not-close-tab-warning",children:[(0,n.jsx)("div",{style:{verticalAlign:"top",marginTop:"0.2em"},children:(0,n.jsx)(d(),{src:"/assets/icons/material-symbols--chat-info-sharp.svg",alt:"\xa1!",width:100,height:100})}),(0,n.jsxs)("p",{children:["Te pedimos ",(0,n.jsx)("b",{children:"que al continuar con el pago no cierres la ventana hasta que aparezca el detalle de la reserva."})," Es importante para terminar el proceso con \xe9xito."]})]}),(0,n.jsx)("div",{className:"review__section-card__field-row review__complete-reservation__terms-row",children:(0,n.jsxs)("div",{className:eQ?"checkbox-field light required checked":"checkbox-field light required",children:[(0,n.jsx)("input",{name:"payment_info.accept_payment_terms",id:"7f054c7e-f82d-e103",type:"checkbox","aria-labelledby":"label-7f054c7e-f82d-e103",onClick:()=>{er(""),eB(!eQ)}}),(0,n.jsxs)("label",{id:"label-7f054c7e-f82d-e103",htmlFor:"7f054c7e-f82d-e103",className:"checkbox-field__label",children:["He le\xeddo y acepto los"," ",(0,n.jsx)("a",{target:"_blank",href:"/condiciones-pagos-online",rel:"noopener noreferrer",children:(0,n.jsx)("button",{className:"link link--text",type:"button","aria-label":"T\xe9rminos y condiciones",children:"T\xe9rminos y condiciones de pagos online"})})," ",(0,n.jsx)("sup",{children:"*"})," "]})]})})]}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)("div",{className:"review__section-card__field-row review__complete-reservation__terms-row",children:(0,n.jsxs)("div",{className:eH?"checkbox-field light required checked":"checkbox-field light required",children:[(0,n.jsx)("input",{name:"payment_info.accept_rent_terms",id:"7f054c7e-f82d-e102",type:"checkbox","aria-labelledby":"label-7f054c7e-f82d-e102",onClick:()=>{er(""),eZ(!eH)}}),(0,n.jsxs)("label",{id:"label-7f054c7e-f82d-e102",htmlFor:"7f054c7e-f82d-e102",className:"checkbox-field__label",children:["He le\xeddo y acepto los"," ",(0,n.jsx)("a",{target:"_blank",href:"/condiciones-del-alquiler",rel:"noopener noreferrer",children:(0,n.jsx)("button",{className:"link link--text",type:"button","aria-label":"T\xe9rminos y condiciones",children:"T\xe9rminos y condiciones del alquiler"})})," ",(0,n.jsx)("sup",{children:"*"})," "]})]})}),(0,n.jsx)("a",{children:"now"===eS?(0,n.jsx)("button",{className:"button review__complete-reservation__prepay--submit-button",type:"button","aria-label":"Continuar con el pago","data-dtm-track":"review|pre_pay|continue_to_payment",onClick:it,children:"Continuar con el pago"}):(0,n.jsx)("button",{className:"button review__complete-reservation__prepay--submit-button",type:"button","aria-label":"Confirmar la reserva","data-dtm-track":"review|pre_pay|continue_to_payment",onClick:it,children:"Confirmar la reserva"})})]})]})})]}):(0,n.jsx)(g.Z,{title:"Algo salio mal",message:"Hubo un problema al generar la reserva. Por favor, comunicate con soporte."})]})]})})})},L=t(7143),M=t(6326),z=!0;function A(e){var i;let{tyc:t,resultPayment:s,metatags:d,token:c,userData:m}=e,{state:p,setRentalInfo:v}=(0,l.useContext)(u.Z),[h,f]=(0,l.useState)(!0);return(0,n.jsxs)(n.Fragment,{children:[h&&(0,n.jsx)(M.a,{}),(0,n.jsx)(o.Z,{metatags:d,userName:null==m?void 0:m.userName}),(0,n.jsx)(r.Z,{partner:null==p?void 0:null===(i=p.rentalInfo)||void 0===i?void 0:i.PartnerName,userName:null==m?void 0:m.userName}
1),(0,n.jsx)(T,{setLoading:f,resultPayment:s,token:c,userData:m,tyc:t}),(0,n.jsx)(L.Z,{items:(0,_.iU)(t)}),(0,n.jsx)(a.Z,{userData:m})]})}},4541:function(e,i,t){"use strict";t.d(i,{Bm:function(){return o},Ux:function(){return d},Y2:function(){return s},iU:function(){return l},r8:function(){return r},vW:function(){return c}}),t(5626);let n=(e,i)=>((null==e?void 0:e.items)||[]).filter(e=>(null==e?void 0:e.destino)===i).sort((e,i)=>{var t,n;return(null!==(t=null==e?void 0:e.order)&&void 0!==t?t:0)-(null!==(n=null==i?void 0:i.order)&&void 0!==n?n:0)}),l=e=>n(e,"web"),o=e=>n(e,"revisar"),a=(e,i)=>{if(!Array.isArray(e)||!e.length)return null;let t=String(i||"").trim().toUpperCase();if(t.length<2)return null;let n=e.filter(e=>((null==e?void 0:e.sipps)||[]).some(e=>String(e).toUpperCase()===t));if(1===n.length)return n[0];if(n.length>1)return null;let l=t.slice(0,2),o=e.filter(e=>((null==e?void 0:e.sipps)||[]).some(e=>String(e).toUpperCase().startsWith(l)));return 1===o.length?o[0]:null},r=function(e,i){var t,n;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"card",o=a(null==e?void 0:e.grupos,i);if(!o)return[];let r="resumen"===l?"en_resumen":"en_card";return[...((null==e?void 0:e.franquicias)||[]).filter(e=>null==e?void 0:e[r]).map(e=>{var i,t;return{id:e.id,etiqueta:e.etiqueta,order:null!==(t=e.order)&&void 0!==t?t:0,monto:null==o?void 0:null===(i=o.montos)||void 0===i?void 0:i[e.id]}}),...(null==e?void 0:null===(t=e.garantia)||void 0===t?void 0:t[r])?[{id:"GARANTIA",etiqueta:e.garantia.etiqueta,order:null!==(n=e.garantia.order)&&void 0!==n?n:0,monto:null==o?void 0:o.garantia}]:[]].filter(e=>Number.isFinite(e.monto)&&e.monto>0).sort((e,i)=>e.order-i.order)},s=(e,i)=>{let t=String((null==e?void 0:e.nota_resumen)||"").trim();if(!t)return"";let n=a(null==e?void 0:e.grupos,i);if(!n)return"";let l=!1,o=t.replace(/\{([A-Za-z0-9_]+)\}
1/g,(e,i)=>{var t;let o=null==n?void 0:null===(t=n.montos)||void 0===t?void 0:t[i];return!Number.isFinite(o)||o<=0?(l=!0,""):c(o)});return l?"":o},d=e=>{let i=/^(\d{4})-(\d{2})-(\d{2})$/.exec(String(e||"").trim());if(!i)return"";let[,t,n]=i,l=new Intl.DateTimeFormat("es-AR",{month:"long"}).format(new Date(Number(t),Number(n)-1,1));return"".concat(l," del ").concat(t)},c=e=>Number(e).toLocaleString("es-AR",{maximumFractionDigits:0})}},function(e){e.O(0,[714,64,44,643,775,900,822,888,774,179],function(){return e(e.s=1028)}),_N_E=e.O()}]);

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.