PageSourceSearch

https://www.vaidepromo.com.br/_next/static/chunks/2241-2eeff027e60de14b.js

js vaidepromo.com.br collected 2026-09-25 20:48:08 UTC 30,201 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2241],{27648:function(e,t,n){n.d(t,{default:function(){return i.a}});var r=n(72972),i=n.n(r)},62465:function(e,t,n){let r;n.d(t,{h:function(){return et}}),n(7431);var i,s,a,l,o=n(57437),d=n(2265);n(82814);var u=n(98778);n(96776);let c={"vdp-palette":"_vdp-palette_1xp33_1","seguro-chip-pallete":"_seguro-chip-pallete_1xp33_109",container:"_container_1xp33_217"},h=({children:e,className:t,palette:n="vdp-palette"})=>(0,o.jsx)("div",{className:(0,u.c)(c.container,t,c[n]),children:e});var f=n(29960);let v={},p=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=r??("object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,s={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{(v?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,i,s);return s},C=e=>e?p(e):p;var x={exports:{}},y={},_={exports:{}},j={};x.exports=function(){if(l)return y;l=1;var e=(a||(a=1,_.exports=function(){if(s)return j;s=1;var e="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},t=d.useState,n=d.useEffect,r=d.useLayoutEffect,i=d.useDebugValue;function a(t){var n=t.getSnapshot;t=t.value;try{var r=n();return!e(t,r)}catch{return!0}}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?function(e,t){return t()}:function(e,s){var l=s(),o=t({inst:{value:l,getSnapshot:s}}),d=o[0].inst,u=o[1];return r(function(){d.value=l,d.getSnapshot=s,a(d)&&u({inst:d})},[e,l,s]),n(function(){return a(d)&&u({inst:d}),e(function(){a(d)&&u({inst:d})})},[e]),i(l),l};return j.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:l,j}()),_.exports),t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useSyncExternalStore,r=d.useRef,i=d.useEffect,o=d.useMemo,u=d.useDebugValue;return y.useSyncExternalStoreWithSelector=function(e,s,a,l,d){var c=r(null);if(null===c.current){var h={hasValue:!1,value:null};c.current=h}else h=c.current;var f=n(e,(c=o(function(){function e(e){if(!i){if(i=!0,n=e,e=l(e),void 0!==d&&h.hasValue){var s=h.value;if(d(s,e))return r=s}return r=e}if(s=r,t(n,e))return s;var a=l(e);return void 0!==d&&d(s,a)?(n=e,s):(n=e,r=a)}var n,r,i=!1,o=void 0===a?null:a;return[function(){return e(s())},null===o?void 0:function(){return e(o())}]},[s,a,l,d]))[0],c[1]);return i(function(){h.hasValue=!0,h.value=f},[f]),u(f),f},y}();var m=x.exports;let b=(0,f.g)(m),g={},{useDebugValue:w}=d,{useSyncExternalStoreWithSelector:M}=b,$=!1,S=e=>e,H=e=>{(g?"production":void 0)!=="production"&&"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?C(e):e,n=(e,n)=>(function(e,t=S,n){(g?"production":void 0)!=="production"&&n&&!$&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),$=!0);let r=M(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return w(r),r})(t,e,n);return Object.assign(n,t),n},L=(r=e=>({isOpen:!1,setIsOpen:t=>e(()=>({isOpen:t}))}))?H(r):H,D={"vdp-palette":"_vdp-palette_qdh9z_1","seguro-chip-pallete":"_seguro-chip-pallete_qdh9z_109",content:"_content_qdh9z_217",container:"_container_qdh9z_441",overlay:"_overlay_qdh9z_451",body:"_body_qdh9z_478",bodyInner:"_bodyInner_qdh9z_498"},k=({tabContent:e,children:t,className:n,childrenClassName:r,bottomSheetClassName:i,palette:s="vdp-palette",onOverlayClick:a=()=>{}})=>{var l,c;let{isOpen:f,setIsOpen:v}=L(),p=(0,d.useRef)(null),C=(0,d.useRef)(null),[x,y]=(0,d.useState)((null==(l=C.current)?void 0:l.clientHeight)??0),_=x+((null==(c=null==p?void 0:p.current)?void 0:c.clientHeight)??0)+64>window.innerHeight?"70svh":x;return(0,d.useEffect)(()=>{var e;y((null==(e=C.current)?void 0:e.clientHeight)??x)},[C,x,y,f]),(0,o.jsxs)("div",{className:(0,u.c)(D.container,n,D[s]),children:[(0,o.jsx)("button",{type:"button",tabIndex:-1,"aria-hidden":!f,onClick:()=>{v(!1),a()},className:D.overlay}),(0,o.jsxs)("div",{className:D.content,children:[(0,o.jsx)("div",{ref:p,children:(0,o.jsx)(h,{className:(0,u.c)(i),palette:s,children:e})}),(0,o.jsx)("div",{className:(0,u.c)(r,D.body),style:f?{maxHeight:_}:{},children:(0,o.jsx)("div",{ref:C,className:D.bodyInner,children:t})})]})]})};n(812);let R=({size:e=24,color:t})=>(0,o.jsxs)("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:t,xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.04 2.49139H1.96045V1.49139H14.04V2.49139Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.55078 13.8563V1.99139H3.55078V13.8563C3.55078 13.9292 3.60989 13.9883 3.6828 13.9883H12.3168C12.3898 13.9883 12.4489 13.9292 12.4489 13.8563V1.99139H13.4489V13.8563C13.4489 14.4815 12.942 14.9883 12.3168 14.9883H3.6828C3.0576 14.9883 2.55078 14.4815 2.55078 13.8563Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.91455 11.9441V4.47168H6.9
11455V11.9441H5.91455Z",fill:"#005AA3"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.07275 11.9441V4.47168H10.0728V11.9441H9.07275Z",fill:"#005AA3"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5721 1.87964H5.42773V0.879639H10.5721V1.87964Z"})]}),V=({size:e=24,color:t})=>(0,o.jsx)("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:t,xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4837 10.9186C13.2884 11.1138 12.9718 11.1138 12.7766 10.9186L8.00023 6.14224L3.22391 10.9186C3.02865 11.1138 2.71207 11.1138 2.51681 10.9186C2.32155 10.7233 2.32155 10.4067 2.51681 10.2114L8.00022 4.72803L13.4837 10.2114C13.6789 10.4067 13.6789 10.7233 13.4837 10.9186Z"})}),N=({iata:e,city:t,isCalloutOpen:n,onOpenCalloutClick:r,onDeleteFareClick:i})=>(0,o.jsxs)("div",{className:"_container_1i6j2_217",children:[(0,o.jsxs)("div",{className:"_content_1i6j2_217",onClick:r,children:[(0,o.jsx)("button",{"data-testid":"open-callout-button",className:(0,u.c)({_open_1i6j2_278:n}),children:(0,o.jsx)(V,{})}),(0,o.jsxs)("p",{children:[(0,o.jsx)("b",{children:"Continue sua compra"}),(0,o.jsxs)("span",{children:["Sua viagem para ",t," (",e,")"]})]})]}),(0,o.jsx)("button",{"data-testid":"delete-fare-button",onClick:i,className:"_delete_1i6j2_217",children:(0,o.jsx)(R,{})})]});n(48073),n(11111);var O=n(18640),Z=n(18684),E=n(29165),Y=n(61432),T=n(97695);let z={actions:"_actions_9ay6b_1",header:"_header_9ay6b_1",content:"_content_9ay6b_1",container:"_container_9ay6b_1",overlay:"_overlay_9ay6b_25",blur:"_blur_9ay6b_41",title:"_title_9ay6b_64",closeIcon:"_closeIcon_9ay6b_74",body:"_body_9ay6b_80",withHeader:"_withHeader_9ay6b_96",withActions:"_withActions_9ay6b_99"},I=({title:e,status:t,children:n,actions:r,onClose:i,className:s,overlayClassName:a,zIndex:l=999,hasHeader:u=!0,displayCloseButton:c=!0,backgroundVariant:h="default"})=>{var f,v,p,C;let x=(0,d.useRef)(null);(0,d.useEffect)(()=>{"u">typeof document&&document.body&&(t?document.body.style.overflow="hidden":document.body.style.overflow="auto")},[t]);let y=e=>{x.current&&!x.current.contains(e.target)&&(null==i||i())};return"u">typeof document&&document.body?O.F.createPortal((0,o.jsxs)("div",{"aria-hidden":!t,style:{zIndex:l},className:z.container,children:[(0,o.jsx)("div",{role:"button",tabIndex:0,className:(0,Z.l)(z.overlay,a,{[z.blur]:"blur"===h}),onClick:y,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&y(e)}}),(0,o.jsxs)("div",{className:(0,Z.l)(z.content,s),ref:x,children:[(0,o.jsx)(E.f,{value:u,children:(0,o.jsxs)("div",{className:z.header,children:[(0,o.jsx)(E.f,{value:!!e,children:(0,o.jsx)("strong",{className:z.title,children:e})}),(0,o.jsx)(E.f,{value:c,children:(0,o.jsx)("button",{type:"button","data-testid":"modal-close-button",onClick:i,className:z.closeIcon,children:(0,o.jsx)(Y.r,{})})})]})}),(0,o.jsx)("div",{className:(0,Z.l)(z.body,{[z.withHeader]:u,[z.withActions]:!!r}),children:n}),(0,o.jsx)(E.f,{value:!!r,children:(0,o.jsxs)("div",{className:z.actions,children:[(0,o.jsx)(E.f,{value:null==r?void 0:r.primary,children:(0,o.jsx)(T.B,{variant:"solid",label:(null==(f=null==r?void 0:r.primary)?void 0:f.label)??"Label",onClick:null==(v=null==r?void 0:r.primary)?void 0:v.action})}),(0,o.jsx)(E.f,{value:null==r?void 0:r.secondary,children:(0,o.jsx)(T.B,{variant:"link",label:(null==(p=null==r?void 0:r.secondary)?void 0:p.label)??"Label",onClick:null==(C=null==r?void 0:r.secondary)?void 0:C.action})})]})})]})]}),document.body):(0,o.jsx)(o.Fragment,{})},F=({Fare:e,isOpen:t,closeModal:n,deleteFare:r})=>(0,o.jsx)(I,{zIndex:100001,onClose:n,status:t,title:"Abandonar pesquisa",children:(0,o.jsxs)("div",{className:"_content_634z6_217",children:[(0,o.jsx)("span",{children:"Tem certeza que deseja abandonar essa pesquisa?"}),e]}),className:"_abandonFareModal_634z6_217",actions:{primary:{label:"Cancelar",action:n},secondary:{label:"Excluir",action:()=>{r(),n()}}}});n(19984);let A=({size:e=24,color:t})=>(0,o.jsxs)("svg",{width:e,height:e,viewBox:"0 0 16 17",fill:t,xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1753 8.69293C13.1753 8.96907 12.9514 9.19293 12.6753 9.19293L3.32479 9.19293C3.04865 9.19293 2.82479 8.96908 2.82479 8.69293C2.82479 8.41679 3.04864 8.19293 3.32479 8.19293L12.6753 8.19293C12.9514 8.19293 13.1753 8.41679 13.1753 8.69293Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.03918 13.3287C7.84392 13.1335 7.84392 12.8169 8.03918 12.6216L12.3215 8.33929C12.5168 8.14403 12.8333 8.14403 13.0286 8.33929C13.2239 8.53455 13.2239 8.85114 13.0286 9.0464L8.74629 13.3287C8.55103 13.524 8.23444 13.524 8.03918 13.3287Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.03951 4.05707C8.23477 3.8618 8.55136 3.8618 8.74662 4.05706L13.0289 8.33938C13.2242 8.53464 13.2242 8.85122 13.0289 9.04649C12.8337 9.24175 12.5171 9.24175 12.3218 9.04649L8.03951 4.76417C7.84425 4.56891 7.84425 4.25233 8.03951 4.05707Z"})]}),B=({size:e=24,color:t})=>(0,o.jsxs)("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:t,xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.0261 5.23752C3.0261 4.98899 3.22758 4.78752 3.4761 4.78752L13.1742 4.78752C13.4228 4.78752 13.6242 4.98899 13.6242 5.23752C13.6242 5.48605 13.4228 5.68752 13.1742 5.68752L3.4761 5.68752C3.22757 5.68752 3.0261 5.48605 3.0261 5.23752Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.55693 2.15689C6.73266 2.33262 6.73266 2.61755 6.55693 2.79328L3.79443 5.55578C3.6187 5.73151 3.33377 5.73151 3.15804 5.55578C2.9823 5.38004 2.9823 5.09511 3.15804 4.91938L5.92053 2.15689C6.09627 1.98115 6.38119 1.98115 6.55693 2.15689Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.55682 8.31821C6.38108 8.49395 6.09615 8.49395 5.92042 8.31821L3.15804 5.55578C2.9823 5.38004 2.9823 5.09511 3.15804 4.91938C3.33377 4.74364 3.61859 4.74359 3.79432 4.91932L6.55682 7.68182C6.73255 7.85755 6.73255 8.14248 6.55682 8.31821Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.974
11 10.7625C12.9741 11.011 12.7726 11.2125 12.5241 11.2125L2.82598 11.2125C2.57745 11.2125 2.37598 11.011 2.37598 10.7625C2.37598 10.514 2.57745 10.3125 2.82598 10.3125L12.5241 10.3125C12.7726 10.3125 12.9741 10.514 12.9741 10.7625Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.44327 13.8431C9.26754 13.6674 9.26754 13.3825 9.44327 13.2068L12.2058 10.4443C12.3815 10.2685 12.6664 10.2685 12.8422 10.4443C13.0179 10.62 13.0179 10.9049 12.8422 11.0807L10.0797 13.8431C9.90393 14.0189 9.61901 14.0189 9.44327 13.8431Z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.44338 7.68182C9.61912 7.50609 9.90404 7.50609 10.0798 7.68182L12.8422 10.4443C13.0179 10.62 13.0179 10.9049 12.8422 11.0807C12.6664 11.2564 12.3816 11.2564 12.2059 11.0807L9.44338 8.31822C9.26765 8.14248 9.26765 7.85756 9.44338 7.68182Z"})]});var q=n(39409),W=n(7124),P={exports:{}};f.c,i=function(){var e="millisecond",t="second",n="minute",r="hour",i="week",s="month",a="quarter",l="year",o="date",d="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},f="en",v={};v[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var p="$isDayjsObject",C=function(e){return e instanceof j||!(!e||!e[p])},x=function e(t,n,r){var i;if(!t)return f;if("string"==typeof t){var s=t.toLowerCase();v[s]&&(i=s),n&&(v[s]=n,i=s);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var l=t.name;v[l]=t,i=l}return!r&&i&&(f=i),i||!r&&f},y=function(e,t){if(C(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new j(n)},_={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,s),a=n-i<0,l=t.clone().add(r+(a?-1:1),s);return+(-(r+(n-i)/(a?i-l:l-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(d){return({M:s,y:l,w:i,d:"day",D:o,h:r,m:n,s:t,ms:e,Q:a})[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};_.l=x,_.i=C,_.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var j=function(){function h(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[p]=!0}var f=h.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(u);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return _},f.isValid=function(){return this.$d.toString()!==d},f.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return y(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<y(e)},f.$g=function(e,t,n){return _.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,a){var d=this,u=!!_.u(a)||a,c=_.p(e),h=function(e,t){var n=_.w(d.$u?Date.UTC(d.$y,t,e):new Date(d.$y,t,e),d);return u?n:n.endOf("day")},f=function(e,t){return _.w(d.toDate()[e].apply(d.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),d)},v=this.$W,p=this.$M,C=this.$D,x="set"+(this.$u?"UTC":"");switch(c){case l:return u?h(1,0):h(31,11);case s:return u?h(1,p):h(0,p+1);case i:var y=this.$locale().weekStart||0,j=(v<y?v+7:v)-y;return h(u?C-j:C+(6-j),p);case"day":case o:return f(x+"Hours",0);case r:return f(x+"Minutes",1);case n:return f(x+"Seconds",2);case t:return f(x+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,a){var d,u=_.p(i),c="set"+(this.$u?"UTC":""),h=((d={}).day=c+"Date",d[o]=c+"Date",d[s]=c+"Month",d[l]=c+"FullYear",d[r]=c+"Hours",d[n]=c+"Minutes",d[t]=c+"Seconds",d[e]=c+"Milliseconds",d)[u],f="day"===u?this.$D+(a-this.$W):a;if(u===s||u===l){var v=this.clone().set(o,1);
1v.$d[h](f),v.init(),this.$d=v.set(o,Math.min(this.$D,v.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[_.p(e)]()},f.add=function(e,a){var o,d=this;e=Number(e);var u=_.p(a),c=function(t){var n=y(d);return _.w(n.date(n.date()+Math.round(t*e)),d)};if(u===s)return this.set(s,this.$M+e);if(u===l)return this.set(l,this.$y+e);if("day"===u)return c(1);if(u===i)return c(7);var h=((o={})[n]=6e4,o[r]=36e5,o[t]=1e3,o)[u]||1,f=this.$d.getTime()+e*h;return _.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),s=this.$H,a=this.$m,l=this.$M,o=n.weekdays,u=n.months,h=n.meridiem,f=function(e,n,i,s){return e&&(e[n]||e(t,r))||i[n].slice(0,s)},v=function(e){return _.s(s%12||12,e,"0")},p=h||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(c,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return _.s(t.$y,4,"0");case"M":return l+1;case"MM":return _.s(l+1,2,"0");case"MMM":return f(n.monthsShort,l,u,3);case"MMMM":return f(u,l);case"D":return t.$D;case"DD":return _.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,o,2);case"ddd":return f(n.weekdaysShort,t.$W,o,3);case"dddd":return o[t.$W];case"H":return String(s);case"HH":return _.s(s,2,"0");case"h":return v(1);case"hh":return v(2);case"a":return p(s,a,!0);case"A":return p(s,a,!1);case"m":return String(a);case"mm":return _.s(a,2,"0");case"s":return String(t.$s);case"ss":return _.s(t.$s,2,"0");case"SSS":return _.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,o,d){var u,c=this,h=_.p(o),f=y(e),v=(f.utcOffset()-this.utcOffset())*6e4,p=this-f,C=function(){return _.m(c,f)};switch(h){case l:u=C()/12;break;case s:u=C();break;case a:u=C()/3;break;case i:u=(p-v)/6048e5;break;case"day":u=(p-v)/864e5;break;case r:u=p/36e5;break;case n:u=p/6e4;break;case t:u=p/1e3;break;default:u=p}return d?u:_.a(u)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return v[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=x(e,t,!0);return r&&(n.$L=r),n},f.clone=function(){return _.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},h}(),m=j.prototype;return y.prototype=m,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",s],["$y",l],["$D",o]].forEach(function(e){m[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,j,y),e.$i=!0),y},y.locale=x,y.isDayjs=C,y.unix=function(e){return y(1e3*e)},y.en=v[f],y.Ls=v,y.p={},y},P.exports=i();var U=P.exports;let J=(0,f.g)(U);var K=n(9461);let Q=({departureTrip:e,returnTrip:t,isRoundTrip:n,passengers:r,totalPrice:i,storedDate:s,showPriceAdjustWarning:a=!0})=>(0,o.jsxs)("div",{className:"_container_11k5y_217",children:[(0,o.jsxs)("p",{className:"_cities_11k5y_217",children:[(0,o.jsx)("b",{children:e.origin}),n?(0,o.jsx)(B,{color:"#373737"}):(0,o.jsx)(A,{color:"#373737"}),(0,o.jsx)("b",{children:t.origin})]}),(0,o.jsxs)("p",{className:"_tripDetails_11k5y_217",children:[(0,o.jsxs)("span",{children:[J(e.date).format("DD/MM/YYYY"),(0,o.jsxs)(K.n,{value:n,children:[" - ",J(t.date).format("DD/MM/YYYY")]})]}),(0,o.jsxs)("span",{children:[(0,o.jsx)(W.i,{size:16,color:"#373737"})," ",r.adult," adulto",r.adult>1&&"s",(0,o.jsxs)(K.n,{value:r.child,children:[", ",r.child," crian\xe7a",r.child&&r.child>1&&"s"]}),(0,o.jsxs)(K.n,{value:r.infant,children:[", ",r.infant," beb\xea",r.infant&&r.infant>1&&"s"]})]})]}),(0,o.jsxs)("div",{className:"_price_11k5y_217",children:[(0,o.jsx)("span",{children:"Pre\xe7o total"}),(0,o.jsx)("b",{children:void 0===i?"":new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(i).replace("-","- ")})]}),(0,o.jsxs)("p",{className:"_search_11k5y_274",children:["Pesquisado dia ",J(s).format("DD/MM/YYYY")," \xe0s"," ",J(s).format("HH:mm")]}),(0,o.jsx)(K.n,{value:a,children:(0,o.jsxs)("div",{className:"_priceAdjustWarning_11k5y_217",children:[(0,o.jsx)(q.t,{color:"#c12828",size:18}),"O pre\xe7o da passagem pode variar, corra!"]})})]});n(62694);let G=({onBuyClick:e,onCancelClick:t})=>(0,o.jsxs)("div",{className:"_actionButtons_79jo1_217",children:[(0,o.jsx)(T.B,{onClick:e,label:"Comprar"}),(0,o.jsx)(T.B,{onClick:t,label:"Cancelar",variant:"link",className:"_cancelButton_79jo1_231"})]});n(61229);let X={overlayButton:"_overlayButton_vk27d_217",expanded:"_expanded_vk27d_230",overlayHeader:"_overlayHeader_vk27d_235",overlayHeaderExpanded:"_overlayHeaderExpanded_vk27d_243",modalContent:"_modalContent_vk27d_248",show:"_show_vk27d_256",overlayFuss:"_overlayFuss_vk27d_261"},ee=({onClick:e,isExpanded:t,children:n,header:r})=>(0,o.jsxs)(o.Fragment,{children:[t&&(0,o.jsx)("div",{className:X.overlayFuss,"data-testid":"button-overlay-fuss",onClick:()=>e()}),(0,o.jsxs)("div",{className:(0,u.c)(X.overlayButton,{[X.expanded]:t}),children:[(0,o.jsx)("div",{className:(0,u.c)(X.overlayHeader,{[X.overlayHeaderExpanded]:t}),children:r}),(0,o.jsx)("div",{"aria-hidden":!t,"data-testid":"button-overlay-content",className:(0,u.c)(X.modalContent,{[X.show]:t}),children:n})]})]}),et=({iata:e,deleteFare:t,onBuyClick:n,...r})=>{let[i,s]=(0,d.useState)(!1),[a,l]=(0,d.useState)(!1),{isOpen:u,setIsOpen:c}=L();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(F,{isOpen:i,closeModal:()=>s(!1),deleteFare:()=>{l(!1),t()},Fare:(0,o.jsx)(Q,{...r,showPriceAdjustWarning:!1})}),(0,o.jsx)("div",{className:"_mobile_1enjq_217",children:(0,o.jsx)(k,{bottomSheetClassName:"_bottomSheet_1enjq_235",tabContent:(0,o.jsx)(N,{city:r.returnTrip.origin,iata:e,isCalloutOpen:u,onOpenCalloutClick:()=>c(!u),onDeleteFareClick:()=>s(!0)}),children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Q,{...r,showPriceAdjustWarning:!1}),(0,o.jsx)(G,{onBuyClick:()=>{c(!1),n()},onCancelClick:()=>c(!1)})]})})}),(0,o.jsx)("div",{className:"_desktop_1enjq_226",children:(0,o.jsx)(ee,{isExpanded:a,onClick:()=>l(e=>!e),header:(0,o.jsx)(N,{city:r.returnTrip.origin,iata:e,isCalloutOpen:a,onOpenCalloutClick:()=>l(e=>!e),onDeleteFareClick:()=>s(!0)}),children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Q,{...r,showPriceAdjustWarning:!1}),(0,o.jsx)(G,{onBuyClick:()=>{l(!1),n()},onCancelClick:()=>l(!1)})]})})})]})}},56314:function(e,t,n){n.d(t,{Y:function(){return i}});var r=n(57437);let i=({size:e=24,color:t})=>(0,r.jsxs)("svg",{width:e,height:e,viewBox:"0 0 18 18",fill:t,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.01562 11.6906C6.01562 11.4123 6.24119 
111.1868 6.51943 11.1868H9.19716C9.4754 11.1868 9.70096 11.4123 9.70096 11.6906V15.2996C9.70096 15.5779 9.4754 15.8034 9.19716 15.8034H6.51943C6.24119 15.8034 6.01562 15.5779 6.01562 15.2996V11.6906ZM7.02323 12.1944V14.7958H8.69335V12.1944H7.02323Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.70996 2.70034C2.70996 2.42209 2.93552 2.19653 3.21377 2.19653H12.5035C12.7817 2.19653 13.0073 2.42209 13.0073 2.70034V15.2986C13.0073 15.5769 12.7817 15.8024 12.5035 15.8024H3.21377C2.93552 15.8024 2.70996 15.5769 2.70996 15.2986V2.70034ZM3.71757 3.20414V14.7948H11.9997V3.20414H3.71757Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.03418 15.2987C1.03418 15.0205 1.25974 14.7949 1.53798 14.7949H16.4611C16.7394 14.7949 16.965 15.0205 16.965 15.2987C16.965 15.577 16.7394 15.8025 16.4611 15.8025H1.53798C1.25974 15.8025 1.03418 15.577 1.03418 15.2987Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4248 11.6906C5.4248 11.4123 5.65037 11.1868 5.92861 11.1868H9.78945C10.0677 11.1868 10.2933 11.4123 10.2933 11.6906C10.2933 11.9688 10.0677 12.1944 9.78945 12.1944H5.92861C5.65037 12.1944 5.4248 11.9688 5.4248 11.6906Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.65137 8.23793C4.65137 7.95969 4.87693 7.73413 5.15517 7.73413H7.13159C7.40983 7.73413 7.6354 7.95969 7.6354 8.23793V10.1918C7.6354 10.47 7.40983 10.6956 7.13159 10.6956H5.15517C4.87693 10.6956 4.65137 10.47 4.65137 10.1918V8.23793ZM5.65898 8.74174V9.68795H6.62779V8.74174H5.65898Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.08203 8.23793C8.08203 7.95969 8.30759 7.73413 8.58584 7.73413H10.5623C10.8405 7.73413 11.0661 7.95969 11.0661 8.23793V10.1918C11.0661 10.47 10.8405 10.6956 10.5623 10.6956H8.58584C8.30759 10.6956 8.08203 10.47 8.08203 10.1918V8.23793ZM9.08964 8.74174V9.68795H10.0585V8.74174H9.08964Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.65137 4.87172C4.65137 4.59348 4.87693 4.36792 5.15517 4.36792H7.13159C7.40983 4.36792 7.6354 4.59348 7.6354 4.87172V6.82555C7.6354 7.10379 7.40983 7.32935 7.13159 7.32935H5.15517C4.87693 7.32935 4.65137 7.10379 4.65137 6.82555V4.87172ZM5.65898 5.37553V6.32174H6.62779V5.37553H5.65898Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.08203 4.87172C8.08203 4.59348 8.30759 4.36792 8.58584 4.36792H10.5623C10.8405 4.36792 11.0661 4.59348 11.0661 4.87172V6.82555C11.0661 7.10379 10.8405 7.32935 10.5623 7.32935H8.58584C8.30759 7.32935 8.08203 7.10379 8.08203 6.82555V4.87172ZM9.08964 5.37553V6.32174H10.0585V5.37553H9.08964Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2984 9.71903C14.9338 9.71903 14.6385 10.0145 14.6385 10.3782V11.2998C14.6385 11.6635 14.9338 11.9589 15.2984 11.9589C15.6626 11.9589 15.9575 11.6639 15.9575 11.2998V10.3782C15.9575 10.014 15.6626 9.71903 15.2984 9.71903ZM13.6309 10.3782C13.6309 9.45707 14.3782 8.71143 15.2984 8.71143C16.219 8.71143 16.9651 9.45752 16.9651 10.3782V11.2998C16.9651 12.2204 16.219 12.9665 15.2984 12.9665C14.3782 12.9665 13.6309 12.2209 13.6309 11.2998V10.3782Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2977 12.0718C15.576 12.0718 15.8016 12.2973 15.8016 12.5756V15.2678C15.8016 15.5461 15.576 15.7716 15.2977 15.7716C15.0195 15.7716 14.7939 15.5461 14.7939 15.2678V12.5756C14.7939 12.2973 15.0195 12.0718 15.2977 12.0718Z"})]})},96446:function(e,t,n){n.d(t,{e:function(){return i}});var r=n(57437);let i=({size:e=24,color:t})=>(0,r.jsx)("svg",{width:e,height:e,viewBox:"0 0 28 28",fill:t,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.5284 2.56773V2.56773L17.685 7.41105C17.4584 7.63765 17.1334 7.73568 16.8193 7.67215L3.86497 5.05218C3.75586 5.05951 3.62965 5.08097 3.51224 5.1171C3.37616 5.15897 3.31519 5.20069 3.30338 5.20877V5.20877L2.2744 6.23691C2.15147 6.35984 2.11839 6.50249 2.1491 6.64993C2.18048 6.80054 2.27979 6.94759 2.43421 7.03656L12.3603 10.8318C12.6629 10.9475 12.8864 11.2087 12.954 11.5256C13.0216 11.8425 12.9241 12.172 12.6949 12.4012L7.70481 17.3913C7.50413 17.592 7.22468 17.6932 6.94204 17.6675L3.76319 17.3785C3.56143 17.3854 3.41346 17.4486 3.33265 17.5111L2.57032 18.5021L6.78679 21.032C6.92138 21.1127 7.03403 21.2254 7.11478 21.36L9.56677 25.4467L10.3152 24.6982C10.385 24.6284 10.4669 24.4678 10.4748 24.2369L10.1858 21.0579C10.1601 20.7753 10.2613 20.4958 10.462 20.2952L15.4521 15.3051C15.6806 15.0766 16.0091 14.9789 16.3254 15.0456C16.6416 15.1122 16.9028 15.334 17.0197 15.6353L20.8358 25.4687C20.8414 25.4832 20.8466 25.4977 20.8515 25.5124C20.866 25.5561 20.9382 25.6621 21.1408 25.7026C21.3338 25.7412 21.508 25.6872 21.6163 25.5788L22.6437 24.5515C22.6882 24.507 22.737 24.467 22.7893 24.4321C22.8018 24.4238 22.8284 24.3989 22.8462 24.3409C22.8548 24.313 22.859 24.284 22.859 24.2577C22.859 24.231 22.8548 24.2146 22.853 24.2094C22.8407 24.1723 22.8306 24.1346 22.8229 24.0963L20.181 11.034C20.1175 10.7199 20.2155 10.3948 20.4421 10.1682L25.2855 5.32488C26.0862 4.52417 26.0862 3.36843 25.2855 2.56772C24.4849 1.7671 23.3292 1.767 22.5284 2.56773ZM26.6378 1.21535C25.0903 -0.332244 22.7237 -0.332155 21.1761 1.21535L16.6955 5.69589L4.13606 3.15578C4.07367 3.14316 4.01016 3.13681 3.9465 3.13681C3.63029 3.13681 3.27869 3.18797 2.94979 3.28918C2.6343 3.38625 2.24971 3.55692 1.94944 3.85717L0.922055 4.88457V4.88457C-0.340831 6.14745 0.234684 8.07623 1.61088 8.76433C1.63895 8.77836 1.6677 8.79101 1.69701 8.80222L10.2999 12.0916L6.66917 15.7223L3.88633 15.4693C3.85754 15.4666 3.82865 15.4653 3.79974 15.4653C3.16973 15.4653 2.46288 15.6722 1.94936 16.1858C1.92014 16.215 1.89285 16.2461 1.86765 16.2788L0.399977 18.1868C0.233663 18.403 0.167596 18.6799 0.218397 18.9479C0.269198 19.2159 0.432031 19.4495 0.66593 19.5898L5.59782 22.5489L8.55695 27.4809C8.70845 27.7334 8.96784 27.902 9.2601 27.938C9.55236 27.9739 9.8449 27.8733 10.0531 27.665L11.6674 26.0507V26.0507C12.1809 25.5373 12.3879 24.8303 12.3879 24.2003C12.3879 24.1714 12.3866 24.1426 12.384 24.1138L12.131 21.3308L15.7674 17.6945L19.0456 26.1422C19.3308 26.9636 20.0582 27.4364 20.7657 27.5779C21.4899 27.7228 22.3432 27.5567 22.9687 26.9312L23.9396 25.9602C24.6864 25.4022 24.9118 24.4316 24.6878 23.6697L22.1573 11.1578L26.6378 6.67724C28.1855 5.12965 28.1855 2.76294 26.6378 1.21535Z",fill:"white"})})},20717:function(e,t,n){n.d(t,{T:function(){return s}});var r=n(56857),i=n(4241);function s(){var e;if(typeof localStorage>"u")return;let t=(0,i.rV)("cartData");return!t||("object"==typeof(e={...t})&&null!==e?["iata","departureTrip","returnTrip","isRoundTrip","passengers","totalPrice","storedDate","pricingSellKey","journeySellKey","searchUrl"].every(t=>void 0!==e[t])?e.returnTrip.date<(0,r.d)().format("YYYY-MM-DD"):(console.error("CartData object has not required properties:",e),1):(console.error("Invalid CartData object:",e),1))?void 0:t}}}]);

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.