1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7989],{3138:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/confirmacao",function(){return i(61194)}])},10867:(e,t,i)=>{"use strict";i.d(t,{D:()=>l});let l=async e=>{if("clipboard"in navigator)return await navigator.clipboard.writeText(e)}},21329:(e,t,i)=>{"use strict";i.d(t,{n:()=>g,A:()=>f});var l=i(7765),n=i(15977),s=i(79691),r=i(26244);let a=(0,r.I4)("div",{display:"flex",flexDirection:"column",margin:"$2 0",backgroundColor:"$neutralWhite100",borderRadius:"$sm",boxShadow:"$level1",cursor:"pointer","&.disabled":{backgroundColor:"$neutralWhite200"}}),o=(0,r.I4)("div",{display:"flex",alignItems:"center",height:"fit-content",padding:"$3","& svg":{marginRight:"0.625rem"},variants:{hasBorder:{true:{borderBottom:"$borderWidths$hairline solid $neutralWhite400"}}}}),d=(0,r.I4)("div",{flex:"1",display:"flex",alignItems:"center"}),c=(0,r.I4)("span",{marginTop:"0.3rem",svg:{fill:"$primary500"}}),p=(0,r.I4)("div",{display:"flex",flexDirection:"column",width:"100%",backgroundColor:"$neutralWhite100",color:"$neutralBlack500",fontSize:"$xs",marginRight:"$3",lineHeight:"14px","&.small":{fontSize:"$xxs"},"& span+span":{fontSize:"$xxxxs",color:"$neutralBlack300"},"&.disabled":{color:"$neutralBlack300",backgroundColor:"$neutralWhite200","& span+span":{color:"$neutralBlack300"}}}),u=(0,r.I4)("span",{fontSize:"$xxxxs",color:"$neutralBlack300","& div":{border:"none",lineHeight:"$medium",padding:"2px 0 0 0"}}),x=(0,r.I4)("span",{display:"flex",flexDirection:"row",alignItems:"center","span.badge":{marginLeft:"$8px",padding:"$4px $8px",color:"$primary600",backgroundColor:"$primary100",borderRadius:"$xs",fontSize:"$xxxs",fontWeight:"$book",lineHeight:"10px"}}
1),h=(0,r.I4)("span",{width:"1rem",height:"1rem",transform:"rotate(0)",transition:"ease all 500ms","&.arrow-open":{transform:"rotate(180deg)"}}),m=(0,r.I4)("div",{maxHeight:"0rem",height:"auto",overflow:"hidden",transition:"margin 500ms, max-height 1000ms",borderTopColor:"transparent",margin:"0 $3 0 $3",padding:"0 $2","&.open":{margin:"0 $3 $3 $3",maxHeight:"100rem",overflow:"hidden"}}),g=e=>{let{headerIcon:t,iconComponent:i,headerIconColor:r,headerTitle:g,headerBadge:f,smallTextTitle:j,headerSubtitle:C,children:v,sendInfoToDataLayer:y,isDisabled:b=!1,id:$,currentId:w,setCurrentId:I,cssData:L,openInit:A,hasBorder:E,noAccordeon:D=!1,onClickProp:T,hasDangerousTitle:_=!1,...S}=e;if(!g||!v)return null;if(D)return(0,l.jsx)(l.Fragment,{children:v});let[M,k]=(0,n.useState)(A||!1),B={smallTextTitle:j?"small":"",disabled:b?"disabled":""},N=String($).split(".")[0]||"";return(0,n.useEffect)(()=>{y&&M&&y()},[M]),(0,n.useEffect)(()=>{w&&$!==w&&k(!1)},[w]),(0,l.jsxs)(a,{...S,css:{...null==L?void 0:L.generalCss},className:b?"disabled":"undefined"!==N?N:"",children:[(0,l.jsxs)(o,{hasBorder:E,onClick:()=>{b||($&&I&&I($),T&&T(!M),k(!M))},css:{...null==L?void 0:L.headerCss},"data-testid":"accordion-header",children:[(0,l.jsxs)(d,{children:[t||i&&(0,l.jsxs)(c,{"data-testid":"accordion-header-icon",children:[!t&&i&&(0,l.jsx)(i,{width:(null==S?void 0:S.iconWidth)||"1.25rem",height:(null==S?void 0:S.iconHeight)||"1.25rem",color:r||""}),t&&!i&&t]}),(0,l.jsxs)(p,{className:"".concat(B.smallTextTitle," ").concat(B.disabled),children:[(0,l.jsxs)(x,{children:[_?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:g}}):g,f&&(0,l.jsx)("span",{className:"badge","data-testid":"accordion-header-badge",children:f})]}),C&&(0,l.jsx)(u,{children:C})]})]}),(0,l.jsx)(h,{className:M?"arrow-open":"",children:(0,l.jsx)(s.r,{width:(null==S?void 0:S.arrowWidth)||"1rem",height:(null==S?void 0:S.arrowHeight)||"1rem"})})]}),(0,l.jsx)(m,{css:{...null==L?void 0:L.style},className:M?"open":"","data-testid":"accordion-content",children:M&&v})]})},f=g},22272:(e,t,i)=>{"use strict";i.d(t,{t:()=>r});var l=i(7765),n=i(96072),s=i(21239);let r=e=>{let{fallback:t,children:i,onError:r}=e;return(0,l.jsx)(n.tH,{fallback:t,onError:(e,t)=>{s.v.error("ErrorBoundary caught an error",{errorMessage:(0,n.u1)(e),componentStack:null==t?void 0:t.componentStack}),null==r||r(e,t)},children:i})}},38939:(e,t,i)=>{"use strict";i.d(t,{C:()=>c,A:()=>p});var l=i(7765),n=i(15977),s=i(88263),r=i(58401),a=i(26244);let o=(0,a.I4)("div",{display:"flex",justifyContent:"space-between",position:"relative",width:"100%",alignItems:"center"}),d=(0,a.I4)("hr",{display:"inline-block",height:"1px",maxWidth:"calc(31% - $56px)",width:"100%",position:"relative",backgroundColor:"$neutralBlack100","@md":{maxWidth:"calc(31% - $16px)"},"@sm":{maxWidth:"calc(28% - $16px)"}}),c=e=>{let{steps:t,page:i}=e,{isMobile:a}=(0,s.S)();return(null==t?void 0:t.length)&&i?(0,l.jsx)(o,{"data-testid":"stepper",children:null==t?void 0:t.map((e,s)=>{let o=s+1,c=e.id===i,p=t.find(e=>e.id===i),u=(null==p?void 0:p.index)!==o&&p&&p.index>o,x=t.length>3;return(0,l.jsxs)(n.Fragment,{children:[o>1&&(0,l.jsx)(d,{"data-testid":"stepper-divider",style:x?{maxWidth:"calc(".concat(80/t.length,"% - 24px)")}:{}}),(0,l.jsx)(r.A,{text:e.text,textStatus:e.index,isSelected:c,isConfirmed:u,isMobile:a,id:e.id,direction:"center"})]},e.id)})}):null};c.displayName="Stepper";let p=c},39457:(e,t,i)=>{"use strict";i.d(t,{A:()=>r,b:()=>s});var l=i(7765);i(15977);var n=i(17148);let s=e=>{let{width:t,height:i,color:s,...r}=e;return(0,l.jsxs)(n.zP,{width:t||n.Ui,height:i||n.Pb,viewBox:"0 0 24 24",fill:s||"currentColor",xmlns:"http://www.w3.org/2000/svg",...r,children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:s||"currentColor",d:"M18 4.5H11C10.1716 4.5 9.5 5.17157 9.5 6V15C9.5 15.8284 10.1716 16.5 11 16.5H18C18.8284 16.5 19.5 15.8284 19.5 15V6C19.5 5.17157 18.8284 4.5 18 4.5ZM11 3C9.34315 3 8 4.34315 8 6V15C8 16.6569 9.34315 18 11 18H18C19.6569 18 21 16.6569 21 15V6C21 4.34315 19.6569 3 18 3H11Z"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:s||"currentColor",d:"M8 6C6.34315 6 5 7.34315 5 9V18C5 19.6569 6.34315 21 8 21H15C16.6569 21 18 19.6569 18 18V16.7746C17.5869 17.1443 17.0708 17.4012 16.5 17.497V18C16.5 18.8284 15.8284 19.5 15 19.5H8C7.17157 19.5 6.5 18.8284 6.5 18V9C6.5 8.17157 7.17157 7.5 8 7.5V6Z"})]})},r=s},41326:(e,t,i)=>{"use strict";i.d(t,{A:()=>r,i:()=>s});var l=i(7765);i(15977);var n=i(17148);let s=e=>{let{width:t,height:i,color:s,...r}=e;return(0,l.jsxs)(n.zP,{width:t||n.Ui,height:i||n.Pb,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[(0,l.jsx)("path",{d:"M7 0A7.008 7.008 0 0 0 .08 8.063a.51.51 0 0 0 1.006-.154A5.99 5.99 0 0 1 7 1.017 5.99 5.99 0 0 1 12.982 7c0 3.3-2.683 5.982-5.982 5.982-1.871 0-3.6-.85-4.742-2.335a.509.509 0 1 0-.807.622A6.958
16.958 0 0 0 7 14c3.86 0 7-3.14 7-7s-3.14-7-7-7Z",fill:s||"currentColor"}),(0,l.jsx)("path",{d:"M9.738 4.754 6.787 7.706l-1.29-1.291a.525.525 0 1 0-.743.743l1.66 1.661a.527.527 0 0 0 .744 0l3.323-3.322a.525.525 0 1 0-.743-.743",fill:s||"currentColor"})]})},r=s},42266:(e,t,i)=>{"use strict";i.d(t,{$r:()=>r,L2:()=>n,Nx:()=>s}),i(21239),i(37567),i(95352);var l=i(51509);let n=e=>{let t=(null==e?void 0:e.type)||l.L27;if(!e)throw Error("No payments found");return(null==e?void 0:e.paymentDetails)===null||0===Object.keys((null==e?void 0:e.paymentDetails)||{}).length?null==e?void 0:e.type:t},s=e=>n(e[0]),r=e=>{if(!e||e.length<=1)return;let t=e.map(e=>null==e?void 0:e.type);return t.every(e=>e===l.L27)?l.Xp6:t.includes(l.L27)&&t.includes(l.GFt)?l.Qh_:void 0}},47553:(e,t,i)=>{"use strict";i.d(t,{A:()=>g});var l=i(7765),n=i(74807),s=i.n(n),r=i(15977),a=i(14977),o=i(65618),d=i(88263),c=i(28167),p=i(74727),u=i(6417);let{publicRuntimeConfig:x}=s()(),{timeExpiredModal:h}=x,m={icon:o.G,css:{color:"white",backgroundColor:"white"},size:"md"},g=e=>{let{maxAge:t,createdAt:i,typeMethod:n,wrapperCss:s}=e,{cms:{content:{labels:o,expiredModalTimer:x}},pageData:g}=(0,d.S)();if(!o||!g||!x)return null;let f={...x,actions:[{...null==x?void 0:x.actions[0],href:"/",variant:"primary"}]},[j,C]=(0,r.useState)(!1),v=(0,r.useRef)(null),y=()=>{let e=(0,c.jH)(i).subtract(h,"minutes"),l=(0,c.jH)(i).add(h,"minutes"),s=(0,c.i$)({date:new Date,format:p.z.DATE_AND_HOUR}),r=t||new Date(String("wallet"===n?l:e)),a=(0,c.i$)({date:r,format:p.z.DATE_AND_HOUR}),o=(null==g?void 0:g.status)===u.Op.INCOMPLETE;(s>=a||o)&&C(!0)};return(0,r.useEffect)(()=>(j||(()=>{let e=setInterval(y,1e3);clearInterval(v.current),v.current=e})(),()=>{v.current&&clearInterval(v.current)}),[j]),(0,l.jsx)(a.l,{iconData:m,alignContent:"left",content:f,showDialog:j,setShowDialog:C,hideIconClose:!0,wrapperCss:s,dataTestId:"time-expired-modal"})}},53997:(e,t,i)=>{"use strict";i.d(t,{A:()=>r,p:()=>s});var l=i(7765);i(15977);var n=i(17148);let s=e=>{let{width:t,height:i,color:s,...r}=e;return(0,l.jsxs)(n.zP,{width:t||n.Ui,height:i||n.Pb,viewBox:"0 0 65 64",fill:s||"currentColor",xmlns:"http://www.w3.org/2000/svg",...r,children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.4776 8.34348L37.056 3.40743C34.0246 2.59518 31.6642 2.81722 29.9623 3.68876C28.2926 4.54381 26.9722 6.16897 26.2748 8.77169L20.7993 29.2067C20.0867 31.8663 20.4221 33.9347 21.4363 35.4957C22.4723 37.0902 24.407 38.4476 27.4486 39.2626L45.8702 44.1986C48.9725 45.0299 51.3203 44.8166 52.9932 43.9565C54.6318 43.114 55.9377 41.4891 56.6545 38.814L62.13 18.379C62.8315 15.7609 62.5176 13.7014 61.5155 12.1383C60.4948 10.5459 58.5695 9.17196 55.4776 8.34348ZM37.5529 1.55285L55.9745 6.4889C62.7642 8.30819 65.6013 12.8424 63.9846 18.876L58.5091 39.311C56.8659 45.4434 52.163 47.8725 45.3733 46.0532L26.9517 41.1172C20.2697 39.3267 17.3015 34.8422 18.9447 28.7097L24.4203 8.27475C26.037 2.24119 30.871 -0.237575 37.5529 1.55285Z",fill:"#FFBEB7"}),(0,l.jsx)("path",{d:"M43.7369 10.88H21.0793C12.2201 10.88 6.26172 17.0997 6.26172 26.3509V47.7019C6.26172 56.9269 12.2201 63.1467 21.0793 63.1467H43.7369C52.5961 63.1467 58.5284 56.9269 58.5284 47.7019V26.3509C58.5284 17.0997 52.5961 10.88 43.7369 10.88Z",fill:"#E62817"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.5544 11.2979C46.3562 11.023 45.0802 10.88 43.7369 10.88H21.0793C12.2201 10.88 6.26172 17.0997 6.26172 26.3509V47.7019C6.26172 56.9269 12.2201 63.1467 21.0793 63.1467H43.7369C52.5961 63.1467 58.5284 56.9269 58.5284 47.7019V26.3509C58.5284 18.5025 54.2587 12.8359 47.5544 11.2979ZM43.7369 14.72H21.0793C17.582 14.72 14.9184 15.9264 13.1214 17.8025C11.3108 19.6929 10.1017 22.5577 10.1017 26.3509V47.7019C10.1017 51.4793 11.309 54.3376 13.1198 56.2258C14.9172 58.1001 17.5818 59.3067 21.0793 59.3067H43.7369C47.2337 59.3067 49.8899 58.1007 51.68 56.2293C53.4846 54.3427 54.6884 51.4839 54.6884 47.7019V26.3509C54.6884 22.5531 53.4829 19.6877 51.6784 17.799C49.8887 15.9258 47.2335 14.72 43.7369 14.72Z",fill:"#BA1300"}),(0,l.jsx)("mask",{id:"path-4-inside-1_3050_15592",fill:"white",children:(0,l.jsx)("path",{d:"M37.2927 44.8683L32.2305 39.806L27.186 44.8504C26.3661 45.6704 25.047 45.6704 24.2271 44.8504C23.4072 44.0305 23.4072 42.7114 24.2271 41.8915L29.2715 36.8471L24.2271 31.8026C23.425 30.9649 23.425 29.6458 24.2449 28.8259C24.6389 28.4319 25.1718 28.2198 25.7244 28.202C26.277 28.2198 26.8117 28.4337 27.2039 28.8259L32.2483 33.8703L37.2749 28.8437C38.0949 28.0238 39.4139 28.0238 40.2338 28.8437C41.0538 29.6636 41.0538 30.9827 40.2338 31.8026L35.2072 36.8292L40.2695 41.8915C41.0894 42.7114 41.0894 44.0305 40.2695 44.8504C39.4495 45.6704 38.1305 45.6704 37.2927 44.8683Z"})}),(0,l.jsx)("path",{d:"M37.2927 44.8683L32.2305 39.806L27.186 44.8504C26.3661 45.6704 25.047 45.6704 24.2271 44.8504C23.4072 44.0305 23.4072 42.7114 24.2271 41.8915L29.2715 36.8471L24.2271 31.8026C23.425 30.9649 23.425 29.6458 24.2449 28.8259C24.6389 28.4319 25.1718 28.2198 25.7244 28.202C26.277 28.2198 26.8117 28.4337 27.2039 28.8259L32.2483 33.8703L37.2749 28.8437C38.0949 28.0238 39.4139 28.0238 40.2338 28.8437C41.0538 29.6636 41.0538 30.9827 40.2338 31.8026L35.2072 36.8292L40.2695 41.8915C41.0894 42.7114 41.0894 44.0305 40.2695 44.8504C39.4495 45.6704 38.1305 45.6704 37.2927 44.8683Z",fill:"white"}),(0,l.jsx)("path",{d:"M32.2305 39.806L32.5133 39.5232L32.2305 39.2403L31.9476 39.5232L32.2305 39.806ZM29.2715 36.8471L29.5544 37.1299L29.8372 36.8471L29.5544 36.5642L29.2715 36.8471ZM24.2271 31.8026L23.9381 32.0793L23.9443 32.0855L24.2271 31.8026ZM25.7244 28.202L25.7373 27.8022L25.7244 27.8018L25.7115 27.8022L25.7244 28.202ZM32.2483 33.8703L31.9655 34.1532L32.2483 34.436L32.5311 34.1532L32.2483 33.8703ZM35.2072 36.8292L34.9244 36.5464L34.6415 36.8292L34.9244 37.1121L35.2072 36.8292ZM37.5756 44.5854L32.5133 39.5232L31.9476 40.0888L37.0099 45.1511L37.5756 44.5854ZM31.9476 39.5232L26.9032 44.5676L27.4689 45.1333L32.5133 40.0888L31.9476 39.5232ZM26.9032 44.5676C26.2395 45.2313 25.1737 45.2313 24.5099 44.5676L23.9443 45.1333C24.9204 46.1094 26.4927 46.1094 27.4689 45.1333L26.9032 44.5676ZM24.5099 44.5676C23.8462 43.9039 23.8462 42.8381 24.5099 42.1743L23.9443 41.6087C22.9681 42.5848 22.9681 44.1571 23.9443 45.1333L24.5099 44.5676ZM24.5099 42.1743L29.5544 37.1299L28.9887 36.5642L23.9443 41.6087L24.5099 42.1743ZM29.5544 36.5642L24.5099 31.5198L23.9443 32.0855L28.9887 37.1299L29.5544 36.5642ZM24.516 31.526C23.8609 30.8417 23.8652 29.7713 24.5278 29.1087L23.9621 28.543C22.9848 29.5203 22.9891 31.088 23.9382 32.0793L24.516 31.526ZM24.5278 29.1087C24.8438 28.7927 25.2775 28.6166 25.7373 28.6018L25.7115 27.8022C25.0662 27.823 24.4339 28.0712 23.9621 28.543L24.5278 29.1087ZM25.7115 28.6018C26.1711 28.6166 26.6066 28.7943 26.921 29.1087L27.4867 28.543C27.0169 28.0732 26.3829 27.823 25.7373 27.8022L25.7115 28.6018ZM26.921 29.1087L31.9655 34.1532L32.5311 33.5875L27.4867 28.543L26.921 29.1087ZM32.5311 34.1532L37.5578 29.1265L36.9921 28.5609L31.9655 33.5875L32.5311 34.1532ZM37.5578 29.1265C38.2215 28.4628 39.2873 28.4628 39.951 29.1265L40.5167 28.5609C39.5405 27.5847 37.9682 27.5847 36.9921 28.5609L37.5578 29.1265ZM39.951 29.1265C40.6147 29.7903 40.6147 30.8561 39.951 31.5198L40.5167 32.0855C41.4928 31.1093 41.4928 29.537 40.5167 28.5609L39.951 29.1265ZM39.951 31.5198L34.9244 36.5464L35.4901 37.1121L40.5167 32.0855L39.951 31.5198ZM34.9244 37.1121L39.9866 42.1743L40.5523 41.6087L35.4901 36.5464L34.9244 37.1121ZM39.9866 42.1743C40.6504 42.8381 40.6504 43.9039 39.9866 44.5676L40.5523 45.1333C41.5285 44.1571 41.5285 42.5848 40.5523 41.6087L39.9866 42.1743ZM39.9866 44.5676C39.324 45.2302 38.2536 45.2345 37.5694 44.5793L37.0161 45.1572C38.0074 46.1063 39.575 46.1106 40.5523 45.1333L39.9866 44.5676Z",fill:"white",mask:"url(#path-4-inside-1_3050_15592)"})]})},r=s},57226:(e,t,i)=>{"use strict";i.d(t,{N:()=>n,r:()=>l});let l={HAPPY_PATH:"bnpl_happy_path",EMAIL_VALIDATION:"bnpl_email_validation",MANUAL_ANALYSIS:"bnpl_manual_analysis",PHONE_VALIDATION:"bnpl_phone_validation",DENIED:"bnpl_denied"},n="validation"},58401:(e,t,i)=>{"use strict";i.d(t,{L:()=>d,A:()=>c});var l=i(7765),n=i(19105),s=i(26244);
1let r=(0,s.I4)("span",{display:"flex",alignItems:"start",gap:"$8px",position:"relative",variants:{noGap:{true:{gap:"0"}},direction:{center:{alignItems:"center"},end:{alignItems:"end"}}}}),a=(0,s.I4)("span",{display:"flex",justifyContent:"center",alignItems:"center",width:"$24px",height:"$24px",color:"$neutralBlack100",fontSize:"$xxxs",fontWeight:"$bold",borderRadius:"$pill",border:"$borderWidths$hairline solid $neutralBlack100",backgroundColor:"transparent",variants:{status:{filled:{color:"$neutralWhite100",borderColor:"$success500",backgroundColor:"$success500"},selected:{color:"$neutralWhite100",borderColor:"$primary500",backgroundColor:"$primary500"}}}}),o=(0,s.I4)("span",{fontSize:"$xxs",maxWidth:"calc(100% - $32px)",color:"$neutralBlack100",whiteSpace:"nowrap",variants:{status:{filled:{color:"$neutralBlack500"},selected:{color:"$neutralBlack500"}}}}),d=e=>{let{text:t,textStatus:i,status:s,isSelected:d,isConfirmed:c,isMobile:p,direction:u,isDangerouslyText:x,id:h,css:m,cssText:g}=e;return t&&i?(0,l.jsxs)(r,{noGap:p&&!d,direction:u,css:{...m},className:"".concat(h," ").concat(d?"active":""),"data-testid":"stepper-item",children:[(0,l.jsx)(a,{status:s,...d&&{status:"selected"},...c&&{status:"filled"},"data-testid":"stepper-status",children:c?(0,l.jsx)(n.d,{width:"10px",height:"10px"}):i}),x?(0,l.jsx)(o,{status:s,css:{...g},dangerouslySetInnerHTML:{__html:t},...d&&{status:"selected"},...c&&{status:"filled"},"data-testid":"stepper-text"}):(0,l.jsxs)(o,{status:s,css:{...g},...d&&{status:"selected"},...c&&{status:"filled"},"data-testid":"stepper-text",children:[!p&&t,p&&d&&t]})]}):null};d.displayName="StepperItem";let c=d},61194:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>ia,default:()=>io});var l=i(7765),n=i(4165),s=i(53439),r=i(87880),a=i(15977),o=i(22272),d=i(88263),c=i(78013),p=i(70103),u=i(74980),x=i(40482),h=i(42266),m=i(34431),g=i(96836),f=i(92125),j=i(45267),C=i(51509),v=i(55770),y=i(27863),b=i(14420),$=i(12548),w=i(25852),I=i(72914),L=i(28453),A=i(22512),E=i(38939),D=i(58401),T=i(69134),_=i(39457),S=i(91704),M=i(10867),k=i(28167),B=i(59734),N=i(74727),R=i(99742),O=i(54360),P=i(47553),H=i(62257),W=i(43370);let z={width:"40px",height:"40px"},Y={width:"126px",height:"66px"},U={branch:!1,account:!1};var F=i(39062),Z=i(26244);let V=(0,F.i7)({"10%, 95%":{opacity:0}}),q=(0,F.i7)({"15%, 85%":{opacity:1}}),G=(0,Z.I4)("section",{maxWidth:"1200px",margin:"0 auto",padding:"0 $16px","@sm":{padding:"0"}}),X=(0,Z.I4)("div",{display:"flex",gap:"$24px",marginTop:"$40px",".etf-info, .etf-order":{width:"100%"},"@sm":{flexDirection:"column",margin:"$16px 0"}}),K=(0,Z.I4)("div",{padding:"$16px"}),Q=(0,Z.I4)("span",{"@xxs":{display:"none"}}),J=(0,Z.I4)("div",{marginBottom:"$16px"}),ee=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"$8px",marginBottom:"$16px"}),et=(0,Z.I4)("div",{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"}),ei=(0,Z.I4)("span",{width:"$40px",height:"$40px"}),el=(0,Z.I4)("div",{display:"flex",width:"100%",flexDirection:"column",gap:"$8px",fontSize:"$xxs",color:"$neutralBlack300"}),en=(0,Z.I4)("div",{display:"flex",flexDirection:"row",alignItems:"center",cursor:"pointer",".copied":{opacity:0,position:"relative",color:"$success500","@xxs":{marginLeft:"-$12px"}},".agency.copied":{marginLeft:"-120px","@xxs":{marginLeft:"-$12px"}},".account.copied":{marginLeft:"-106px","@xxs":{marginLeft:"-$12px"}},"&.animated":{".copying":{animation:"".concat(V," 3s ease 1")},".copied":{animation:"".concat(q," 3s ease 1")}}}),es=e=>{var t,i,n,s,r,o,d,c,p,u;let{pageData:x,unleashFlags:h,...m}=e,[g,f]=(0,a.useState)({isCopying:U});if((0,W.D)({pageData:x,setState:f,props:m,unleashFlags:h}),!m||!x||!m.electronicFundsTransfer)return null;let j=m.electronicFundsTransfer,C=x.payments[0],v=C.meta.shopperDocumentType,y=C.meta.shopperDocumentNumber.replace(/^(\d{3})(\d{3})(\d{3})(\d{2})$/,"$1.$2.$3-$4"),b=C.meta.shopperBankCode,F=C.meta,Z=(0,k.i$)({date:F.maxAge,format:N.z.SHORTDATE_AND_TIME}),V=(null!=(d=m.banks)?d:[]).filter(e=>{if(e.code===b)return e}),q=(e,t)=>{(0,M.D)(e),f({isCopying:{branch:"branch"===t,account:"account"===t}}),setTimeout(()=>f({isCopying:U}),4e3)};return(0,l.jsxs)(G,{children:[!m.isMobile&&(0,l.jsx)(E.C,{steps:null!=(c=m.stepper)?c:[],page:"confirmation"}),(0,l.jsxs)(X,{"data-testid":"electronic-funds-transfer-confirmation",children:[(0,l.jsxs)($.A,{shadow:"md",className:"etf-info",children:[(0,l.jsxs)(R.oJ,{children:[(0,l.jsx)("p",{children:j.etfOrderTitle}),(0,l.jsx)(I.A,{size:"16px",customSpin:!0})]}),(0,l.jsxs)(K,{children:[(0,l.jsx)(H.EY,{as:"p",size:"xs",align:"center",weight:"medium",children:j.eftOrderSuccessTitle}),(0,l.jsx)(H.EY,{size:"xs",align:"center",weight:"bold",children:Z}),(0,l.jsx)(R.QB,{children:(0,l.jsx)(w.v,{icon:(0,l.jsx)(T.s,{}),cssCustom:{...Y,mobile:{...Y}}})}),(0,l.jsxs)(et,{children:[(0,l.jsxs)(el,{children:[(0,l.jsx)(H.EY,{dangerouslySetInnerHTML:{__html:j.eftOrderFromAccount}}),(0,l.jsxs)(H.EY,{children:[v,": ",(0,l.jsx)("b",{children:y})]})]}),(0,l.jsx)(ei,{children:(0,S.u)(V[0].code,z)})]}),(0,l.jsx)(L.c,{size:"xs",css:{margin:"$24px 0"}}),(0,l.jsxs)(ee,{children:[(0,l.jsxs)(et,{children:[(0,l.jsxs)(el,{children:[(0,l.jsx)(H.EY,{dangerouslySetInnerHTML:{__html:j.eftOrderToAccount}}),(0,l.jsxs)(en,{css:{width:"100%"},className:(null==(t=g.isCopying)?void 0:t.branch)?"animated":"",onClick:()=>
1q(F.beneficiaryBranch,"branch"),"data-testid":"copy-text",children:[(0,l.jsx)(H.EY,{dangerouslySetInnerHTML:{__html:"".concat((0,B.p)(j.bankBranch,F))},"data-testid":"bank-branch"}),(0,l.jsxs)(H.EY,{className:"copying",isTextCopy:!0,children:[(0,l.jsx)(Q,{children:null==(i=m.labels)?void 0:i.copyAgency}),(0,l.jsx)(_.b,{})]}),(0,l.jsx)(H.EY,{className:"agency copied",children:j.copy})]})]}),(0,l.jsx)(ei,{children:(0,S.u)(V[0].code,z)})]}),(0,l.jsxs)(en,{className:(null==(n=g.isCopying)?void 0:n.account)?"animated":"",onClick:()=>q(F.beneficiaryAccount,"account"),"data-testid":"copy-text",children:[(0,l.jsx)(H.EY,{dangerouslySetInnerHTML:{__html:"".concat((0,B.p)(j.bankAccount,F))},"data-testid":"bank-account"}),(0,l.jsxs)(H.EY,{className:"copying",isTextCopy:!0,children:[(0,l.jsx)(Q,{children:null==(s=m.labels)?void 0:s.copyAccount}),(0,l.jsx)(_.b,{})]}),(0,l.jsx)(H.EY,{className:"account copied",children:j.copy})]}),(0,l.jsx)(H.EY,{dangerouslySetInnerHTML:{__html:"".concat((0,B.p)(j.bankHolderName,F))}}),(0,l.jsxs)(H.EY,{"data-testid":"total",children:[j.eftOrderTotal,(0,l.jsx)("b",{children:(0,k.Gl)().format(Number(C.amount))})]})]}),(0,l.jsx)(A._,{status:"warning",title:null==j||null==(r=j.inlineBanner)?void 0:r.title,text:(0,B.p)(null!=(p=null==j||null==(o=j.inlineBanner)?void 0:o.text)?p:"",null!=(u=null==m?void 0:m.customer)?u:{}),dangerouslyText:!0})]})]}),(0,l.jsxs)(H.hr,{children:[(0,l.jsx)(O.A,{labels:null==m?void 0:m.labels,orderId:null==x?void 0:x.id,...m}),(0,l.jsxs)($.A,{shadow:"md",className:"etf-order",css:{height:"100%"},children:[(0,l.jsx)(H.Y9,{children:(0,l.jsx)(H.EY,{color:"darkest",size:"xs",children:j.stepsTitle})}),(0,l.jsx)(K,{children:j.steps.map((e,t)=>(0,l.jsx)(J,{children:(0,l.jsx)(D.A,{text:e,textStatus:t+1,isSelected:!0})},e))})]})]})]}),(0,l.jsx)(P.A,{maxAge:F.maxAge,wrapperCss:(null==m?void 0:m.isMobile)?{margin:"16px",width:"auto"}:{}})]})},er=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"$4px",width:"100%",margin:"$8px $1px"}),ea=(0,Z.I4)("span",{fontSize:"$xxxs",fontWeight:"$medium",color:"$neutralBlack300",lineHeight:"$medium"}),eo=(0,Z.I4)("div",{width:"100%",height:"8px",borderRadius:"$pill",backgroundColor:"$neutralWhite400",overflow:"hidden"}),ed=(0,Z.I4)("div",{height:"100%",borderRadius:"$pill",transition:"all 600ms ease-in-out",variants:{variant:{default:{backgroundColor:"$primary500"},success:{backgroundColor:"$success500"},warning:{backgroundColor:"$warning500"},error:{backgroundColor:"$error500"}}},defaultVariants:{variant:"default"}}),ec=e=>{let{value:t,min:i=0,max:n=100,showLabel:s=!1,label:r,variant:a="default"}=e,o=Math.min(n,Math.max(i,t)),d=n===i?0:(o-i)/(n-i)*100,c=null!=r?r:"".concat(Math.round(d),"%");return(0,l.jsxs)(er,{"data-testid":"progress-bar",children:[s&&(0,l.jsx)(ea,{"data-testid":"progress-bar-label",children:c}),(0,l.jsx)(eo,{role:"progressbar","aria-valuenow":o,"aria-valuemin":i,"aria-valuemax":n,children:(0,l.jsx)(ed,{"data-testid":"progress-bar-fill",variant:a,style:{width:"".concat(d,"%")}})})]})};ec.displayName="ProgressBar";var ep=i(41326),eu=i(66173),ex=i(21937),eh=i(57226),em=i(19460),eg=i(22199),ef=i(63738),ej=i(91729);let eC=(0,Z.I4)(ej.A,{height:"40px",display:"flex",alignItems:"center",justifyContent:"center",gap:"$8px",fontSize:"$xxs",fontWeight:"$medium",paddingX:"$8"}),ev=(0,Z.I4)("div",{position:"fixed",top:0,left:0,width:"100vw",height:"100vh","@supports (height: 100dvh)":{height:"100dvh"},zIndex:190,backgroundColor:"$dark"}),ey=(0,Z.I4)("button",{position:"absolute",top:"$16px",right:"$16px",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",width:"$40px",height:"$40px",padding:0,border:"none",borderRadius:"50%",cursor:"pointer",backgroundColor:"$neutralWhite100",color:"$neutralBlack300",boxShadow:"$level2"}),eb=(0,Z.I4)("iframe",{display:"block",width:"100%",height:"100%",border:"none",backgroundColor:"transparent"}),e$=e=>{let{link:t,label:i,closeLabel:n,onClose:s}=e;return(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&s()},t=document.body.style.overflow;return document.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},[s]),(0,eg.createPortal)((0,l.jsxs)(ev,{role:"dialog","aria-modal":"true","aria-label":i,"data-testid":"pix-biometric-modal",children:[(0,l.jsx)(ey,{type:"button",onClick:s,"aria-label":n,"data-testid":"pix-biometric-close-button",children:(0,l.jsx)(ef.g,{width:"16px",height:"16px"})}),(0,l.jsx)(eb,{src:t,title:i,sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",allow:"camera; microphone","data-testid":"pix-biometric-iframe"})]}),document.body)},ew=e=>{let{link:t,disabled:i=!1,onOpen:n,label:s,closeLabel:r}=e,[o,d]=(0,a.useState)(!1),c=s||"Pague com Pix Biom\xe9trico";return(e=>{if(!e)return!1;try{let{protocol:t,hostname:i}=new URL(e),l=i.endsWith(".".concat("unico.io"));return"https:"===t&&l}catch(e){return!1}}
1)(t)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eC,{type:"button",variant:"secondary",fill:!0,disabled:i,onClick:()=>{i||(null==n||n(),d(!0))},"data-testid":"pix-biometric-button",children:c}),o&&(0,l.jsx)(e$,{link:t,label:c,closeLabel:r||"Fechar",onClose:()=>d(!1)})]}):null};var eI=i(59133);let eL=eI.$m[eI.$v.CHECKOUT.PAYMENTS_616_ENABLE_PIX_BIOMETRIC],eA=e=>{let{paymentType:t,store:i,unleashFlags:l}=e,n=(e=>{var t;return null==e||null==(t=e.pixBiometricTest)?void 0:t.name})(l),s=t===C.GFt&&(n===eL.CONTROLE||n===eL.BUTTON);return(0,a.useEffect)(()=>{s&&(0,y.lz)(i,ex.u.PIX_BIOMETRIC_TEST,n)},[s]),{showBiometricButton:s&&n===eL.BUTTON,sendBiometricButtonClick:()=>(0,y.lz)(i,ex.u.PIX_BIOMETRIC_BUTTON_CLICK,n)}};var eE=i(51588),eD=i(60560),eT=i(82569);let e_=e=>{let{orderId:t,store:i,deviceType:l,testVariant:n,timerToPay:s,minimalTimer:r}=e,o="pix-countdown-end-".concat(t),d=(0,eT.DP)(null!=s?s:"0:00"),c=(0,eT.DP)(null!=r?r:"0:00"),[p,u]=(0,a.useState)(()=>{if(!(0,eD.Bd)()||!s)return d;let e=sessionStorage.getItem(o);return e?Math.max(0,Math.floor((Number(e)-Date.now())/1e3)):(d>0&&sessionStorage.setItem(o,String(Date.now()+1e3*d)),d)});(0,a.useEffect)(()=>{if(p<=0)return;let e=setInterval(()=>{u(e=>e<=1?0:e-1)},1e3);return()=>clearInterval(e)},[]);let x=p<=0,h=d>0?Math.round(p/d*100):0;return(0,a.useEffect)(()=>{x&&!(0,eE.jJ)(ex.u.PIX_TIMER_EXPIRED)&&(0,y.s5)(i,ex.u.PIX_TIMER_EXPIRED,l,t,n)},[x]),{countdownSeconds:p,isMinimalTimer:p<=c,timerExpired:x,progressValue:h}};var eS=i(21329),eM=i(9441);let ek=(0,F.i7)({"10%, 95%":{opacity:0}}),eB=(0,F.i7)({"15%, 85%":{opacity:1}}),eN=(0,Z.I4)("div",{padding:"$16px"}),eR=(0,Z.I4)("span",{display:"flex",flexDirection:"column",gap:"$16px"});(0,Z.I4)("div",{display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"space-between"});let eO=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"10px",paddingBottom:"$24px",width:"100%","> h5":{textAlign:"center",fontSize:"$xxs",marginBottom:"$4"}}),eP=(0,Z.I4)("div",{display:"flex",flexDirection:"column",padding:"$16px"}),eH=(0,Z.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center"}),eW=(0,Z.I4)("img",{width:"171px",height:"171px",alignSelf:"center","&.isMobile":{marginBottom:"$24px"}}),ez=(0,Z.I4)(ej.A,{height:"40px",display:"flex",alignItems:"center",color:"$neutralWhite100",position:"relative",fontSize:"$xxs",alignSelf:"center",paddingX:"$8",".copied":{display:"block",opacity:0,position:"absolute",width:"auto",zIndex:-1},"&.animated":{".copying":{animation:"".concat(ek," 3s ease 1")},".copied":{animation:"".concat(eB," 3s ease 1"),zIndex:0}},"> .input-container":{width:"100%",flex:1,padding:"$3"},"&:disabled *":{color:"$neutralBlack100"}}),eY=(0,Z.I4)("div",{display:"grid",justifyContent:"center",gap:"10px",width:"100%",marginX:"auto","@sm":{width:"60vw"}}),eU=(0,Z.I4)("span",{display:"flex",alignItems:"center",justifyContent:"center",gap:"$8px",width:"auto",margin:"0 auto",color:"$neutralWhite100",fontWeight:"$medium",padding:"$2","&.success":{color:"$neutralWhite100",fill:"$neutralWhite100",alignContent:"center","> svg":{marginRight:"$2"}}}),eF=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"$8px",width:"100%",alignSelf:"start",marginBottom:"$24px"}),eZ=(0,Z.I4)("ul",{paddingLeft:"$32px",display:"flex",flexDirection:"column",gap:"$8px"}),eV=(0,Z.I4)("li",{fontSize:"$xxs",color:"$neutralBlack300"}),eq=(0,Z.I4)("div",{display:"flex",flexDirection:"column",width:"100%",margin:"$8px $2px","> span":{display:"flex",gap:"$2",alignItems:"center",color:"$neutralBlack100",fontSize:"$xxxs",marginBottom:"$6px","&.expired":{color:"$error500"}},"> strong":{fontSize:"$lg"}}),eG=(0,Z.I4)("div",{position:"relative","> svg":{position:"absolute",width:"24px",height:"24px",right:"24px",top:"50%",transform:"translate(0%, -50%)",fill:"$primary500",zIndex:99}}),eX=(0,Z.I4)(eM.A,{borderColor:"$neutralWhite500!important",height:"64px!important",borderRadius:"$md",paddingRight:"80px!important",color:"$neutralBlack300!important"}),eK={headerCss:{"+ div.open":{borderTop:"1px solid $neutralWhite400",margin:0},fontWeight:"500"},generalCss:{boxShadow:"none",border:"1px solid $neutralWhite400"}},eQ=e=>{var t;let{title:i,content:n,openInit:s=!1}=e;return(0,l.jsx)(eS.A,{"data-testid":"accordion-pix-installment",cssData:eK,headerTitle:i,openInit:s,children:null==(t=n.steps)?void 0:t.map((e,t)=>{let i=t+1;return(0,l.jsxs)("div",{style:{margin:"16px"},"data-testid":"pix-installment-steps",children:[(0,l.jsx)(D.L,{text:e.title,cssText:{fontWeight:"600",color:"$neutralBlack300"},textStatus:i,isSelected:!0}),(0,l.jsx)(eZ,{css:{...1===i&&{listStyle:"disc",paddingLeft:"48px"}},children:e.items.map(e=>(0,l.jsx)(eV,{children:e},e))})]},e.title)})})},eJ=e=>{let{title:t,steps:i}=e,n={wordWrap:"break-word",whiteSpace:"break-spaces"};return(0,l.jsxs)($.A,{shadow:"md",css:{height:"100%"},children:[(0,l.jsx)(H.Y9,{children:(0,l.jsx)(R.hE,{children:t})}
1),(0,l.jsx)(eN,{children:(0,l.jsx)(eR,{children:i.map((e,t)=>{let i=t+1;return(0,l.jsx)(D.A,{text:e,textStatus:i,...4!==i&&{direction:"center"},cssText:n,isSelected:!0},e)})})})]})},e0=e=>{var t,i,n,s,r,o,d,c,p,u,x,m;let{pix:g,pix_installment:f,pageData:j,isMobile:v=!1,unleashFlags:b,...w}=e,[L,E]=(0,a.useState)({isCopying:{qrcode:!1}}),D=v?em.d.MOBILE:em.d.DESKTOP,T=(0,eT.nX)(b),{countdownSeconds:S,isMinimalTimer:N,timerExpired:H,progressValue:z}=e_({orderId:null==j?void 0:j.id,store:null==j||null==(t=j.clientApplication)?void 0:t.store,deviceType:D,testVariant:T,timerToPay:null==g?void 0:g.timerToPay,minimalTimer:null==g?void 0:g.minimalTimer}),Y=null==j||null==(n=j.payments)||null==(i=n[0])?void 0:i.type,U=Y===C.a5K,F={pix_installment:(0,B.p)(null==f||null==(s=f.inlineBanner)?void 0:s.title,null!=(u=w.customer)?u:{}),pix:(0,B.p)(null==g||null==(r=g.inlineBanner)?void 0:r.text,null!=(x=w.customer)?x:{})};(0,a.useEffect)(()=>{var e,t,i,l,n;j&&U&&(0,y.k$)(null==j||null==(t=j.clientApplication)?void 0:t.store,eh.r.HAPPY_PATH,{status:null==j||null==(n=j.payments)||null==(l=n[0])||null==(i=l.meta)?void 0:i.bnplStatus,orderId:null==j?void 0:j.id,paymentType:Y}),(0,y.s5)(null==j||null==(e=j.clientApplication)?void 0:e.store,ex.u.PIX_PAGE_VIEWED,D,null==j?void 0:j.id,T)},[]),(0,W.D)({pageData:j,props:w,setState:E,unleashFlags:b});let{showBiometricButton:Z,sendBiometricButtonClick:V}=eA({paymentType:Y,store:null==j||null==(o=j.clientApplication)?void 0:o.store,unleashFlags:b});if(!j||!g||!f)return null;let q=j.payments[0],{meta:{base64:G,maxAge:X,plain:K,link:Q}}=q,J=(null==q||null==(d=q.meta)?void 0:d.incomingValue)||0,ee=U?J:null==j?void 0:j.totalAmount;if(!ee||ee<=0)return null;let et=(0,h.$r)(w.payments)===C.Qh_,ei={pix:g.inlineBanner.title},el=(e,t)=>{var i;(0,y.s5)(null==j||null==(i=j.clientApplication)?void 0:i.store,ex.u.PIX_CODE_COPIED,D,null==j?void 0:j.id,T),(0,M.D)(e),E({isCopying:{qrcode:"qrcode"===t}}),setTimeout(()=>E({isCopying:{qrcode:!1}}),3500)};return(0,l.jsxs)(l.Fragment,{children:[et&&(0,l.jsx)(R.An,{children:(0,l.jsx)(A._,{status:"info",title:g.splitCardPixInfoBanner})}),(0,l.jsxs)(R.HP,{"data-testid":"pix-confirmation",children:[(0,l.jsxs)($.A,{shadow:"md",className:"pix-qrcode",children:[(0,l.jsxs)(R.oJ,{children:[(0,l.jsx)("p",{children:g.orderTitleInfo}),(0,l.jsx)(I.A,{size:"16px",customSpin:!0})]}),(0,l.jsx)(eP,{children:(0,l.jsxs)(eH,{children:[(0,l.jsxs)(eO,{children:[!v&&(0,l.jsx)(eW,{src:"data:image/png;base64, ".concat(G),alt:Y}),v&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h5",{children:g.copyHeadText}),(0,l.jsxs)(eG,{children:[(null==(c=L.isCopying)?void 0:c.qrcode)?(0,l.jsx)(ep.i,{color:"#55B254",onClick:()=>el(K,"qrcode")}):(0,l.jsx)(_.b,{color:H?"#ccc":"primary",onClick:()=>!H&&el(K,"qrcode")}),(0,l.jsx)(eX,{value:K,height:"lg",fill:!0,disabled:H,readOnly:!0})]})]}),(0,l.jsxs)(eY,{children:[(0,l.jsxs)(ez,{className:(null==(p=L.isCopying)?void 0:p.qrcode)?"animated":"",onClick:()=>el(K,"qrcode"),disabled:H,fill:!0,id:"copy-qr-code-button","data-testid":"copy-qrcode-button",children:[(0,l.jsxs)(eU,{className:"copied success",children:[!v&&(0,l.jsx)(ep.i,{onClick:()=>el(K,"qrcode")}),g.copiedText]}),(0,l.jsxs)(eU,{className:"copying",children:[!v&&(0,l.jsx)(_.b,{size:16}),g.copyButton]})]}),Z&&(0,l.jsx)(ew,{link:Q,disabled:H,label:g.biometricButton,closeLabel:g.biometricButtonClose,onOpen:V})]})]}),(0,l.jsxs)(eq,{children:[(0,l.jsxs)("span",{className:H?"expired":"",children:[(0,l.jsx)(eu.A,{}),H?g.timerExpiredText:g.timerToPayText]}),(0,l.jsx)("strong",{children:(0,eT.zt)(S)}),(0,l.jsx)(ec,{value:z,variant:N?"error":"default"})]}),(0,l.jsxs)(eF,{children:[(0,l.jsx)(R.EY,{as:"p",dangerouslySetInnerHTML:{__html:null==g?void 0:g.favored}}),(0,l.jsxs)(R.EY,{as:"p",children:[g.orderValue," ",(0,l.jsx)("strong",{children:(0,k.Gl)().format(ee)})]})]}),v&&(0,l.jsx)(eW,{src:"data:image/png;base64, ".concat(G),className:"isMobile",alt:Y}),(0,l.jsx)(A._,{status:"warning",title:ei[Y],text:F[Y],dangerouslyText:!0,...U&&{...eT.JR}})]})})]}),(0,l.jsxs)(R.hr,{className:"pix-qrcode",children:[(0,l.jsx)(O.A,{orderId:null==j?void 0:j.id,...w,labels:null!=(m=w.labels)?m:{}}),(0,l.jsx)(()=>U?(0,l.jsx)(eQ,{title:null==f?void 0:f.card.title,content:null==f?void 0:f.card}):(0,l.jsx)(eJ,{title:g.stepsTitle,steps:null==g?void 0:g.steps}),{})]}),(0,l.jsx)(P.A,{maxAge:X,wrapperCss:(0,eT.c1)(v).timeExpiredModal})]})]})};var e2=i(14977),e1=i(53997),e4=i(94525),e3=i(47269),e5=i(55414);let e7=["3143","3144","3145","3146","3147"],e6={SIZE:200,LEVEL:"M",BG_COLOR:e5.zQ.colors.neutralWhite100,FG_COLOR:e5.zQ.colors.neutralBlack600,MARGIN_SIZE:2},e9=eI.$m[eI.$v.CHECKOUT.COMPRAS_557_NUBANK_FCC_MITIGATION],e8=e=>{let t=null==e?void 0:e.nupayFccMitigation;if((null==t?void 0:t.enabled)&&"disabled"!==t.name)return t.name};var te=i(61362),tt=i(17148);let ti=e=>{let{width:t,height:i,...n}=e;return(0,l.jsxs)(tt.zP,{width:t||tt.Ui,height:i||tt.Pb,viewBox:"0 0 48 48",fill:"#820AD1",xmlns:"http://www.w3.org/2000/svg",...n,children:[(0,l.jsx)("rect",{width:"48",height:"48",rx:"6",fill:"#820AD1"}),(0,l.jsxs)("g",{clipPath:"url(#clip0_359_9041)",children:[(0,l.jsx)("path",{d:"M12.1394 22.3541C12.1103 22.9329 12.1394 23.5232 12.1394 24.1021C12.1394 25.2712 12.1394 26.4404 12.1394 27.6096C12.1394 28.2926 12.1394 28.993 12.1394 29.676H15.2759C15.2759 29.676 15.2759 26.9324 15.2759 24.5709C15.2759 22.9792 15.2643 21.5669 15.2759 21.2775C15.334 19.8999 15.7115 18.997 16.4201 18.2619C16.3678 18.2619 16.3097 18.2561 16.2575 18.2561C14.7299 18.2561 13.2952 19.1301 12.5982 20.4787C12.2846 21.0749 12.1742 21.7116 12.1394 22.3541Z",fill:"white"}
1),(0,l.jsx)("path",{d:"M19.3303 17.0232C18.157 17.0232 17.158 17.4805 16.4087 18.2618C18.7436 18.2618 20.2596 19.8478 20.3409 22.3714C20.3584 22.9502 20.3642 26.0526 20.3642 26.0526V29.6759H23.5007C23.5007 29.6759 23.5007 27.1697 23.5007 24.7792C23.5007 23.2975 23.5123 22.0183 23.4077 21.1327C23.1231 18.6728 21.6071 17.0232 19.3303 17.0232Z",fill:"white"}),(0,l.jsx)("path",{d:"M35.8603 24.6461C35.8894 24.0673 35.8603 23.4769 35.8603 22.8981C35.8603 21.7289 35.8603 20.5597 35.8603 19.3906C35.8603 18.7076 35.8603 18.0072 35.8603 17.3242H32.7238C32.7238 17.3242 32.7238 20.0678 32.7238 22.4293C32.7238 24.021 32.7354 25.4333 32.7238 25.7227C32.6657 27.1003 32.2882 28.0032 31.5796 28.7383C31.6319 28.7383 31.6899 28.7441 31.7422 28.7441C33.2698 28.7441 34.7045 27.8701 35.4015 26.5215C35.7151 25.9253 35.8255 25.2944 35.8603 24.6461Z",fill:"white"}),(0,l.jsx)("path",{d:"M28.6697 29.9769C29.843 29.9769 30.842 29.5197 31.5913 28.7383C29.2564 28.7383 27.7404 27.1524 27.6591 24.6288C27.6417 24.05 27.63 22.6145 27.63 20.9475C27.63 19.1243 27.63 17.3242 27.63 17.3242L24.4935 17.33C24.4935 17.33 24.4935 19.8362 24.4935 22.2267C24.4935 23.7085 24.4819 24.9876 24.5865 25.8732C24.8769 28.3331 26.3929 29.9769 28.6697 29.9769Z",fill:"white"})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0_359_9041",children:(0,l.jsx)("rect",{width:"24",height:"13",fill:"white",transform:"translate(12 17)"})})})]})};var tl=i(3086);let tn=(0,Z.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center",gap:"$16px",padding:"$16px","@sm":{gap:"$16px"}}),ts=(0,Z.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center"}),tr=(0,Z.I4)("div",{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"$16px",width:"100%",paddingLeft:"$16px",p:{display:"flex",flexDirection:"column",gap:"$8px"}}),ta={width:"100%",textAlign:"center",fontWeight:"$medium"},to=function(e){let{cms:t,maxAge:i,customer:n,isMobile:s,paymentUrl:r,onOpenBankClick:a}=e,o=(0,tl.we)(n.documentNumber),d=(0,k.i$)({date:"".concat(i),format:N.z.SHORTDATE_AND_TIME});return(0,l.jsxs)(tn,{children:[(0,l.jsxs)(ts,{children:[(0,l.jsx)(H.EY,{as:"p",size:"xs",align:"center",weight:"medium",children:t.timeInfo}),(0,l.jsx)(H.EY,{size:"xs",align:"center",weight:"bold",children:d})]}),(0,l.jsx)(te.A,{children:(0,l.jsx)(T.s,{width:"8rem",height:"4rem"})}),(0,l.jsxs)(tr,{children:[(0,l.jsxs)("p",{children:[(0,l.jsx)(H.EY,{children:t.ownerDocumentInfo}),(0,l.jsxs)(H.EY,{children:[t.ownerDocument," ",(0,l.jsx)("strong",{children:o})]})]}),(0,l.jsx)(te.A,{children:(0,l.jsx)(ti,{height:"40px",width:"40px"})})]}),s&&(0,l.jsx)(ej.A,{as:"a",id:"open-bank",variant:"primary",size:"lg",css:ta,onClick:()=>{null==a||a(),globalThis.location.replace(r)},"data-testid":"open-bank",children:t.buttonOpenBank}),(0,l.jsx)(A._,{status:"warning",title:t.warning.title,text:(0,B.p)(t.warning.description,n),dangerouslyText:!0})]})};var td=i(36647);let tc=(0,Z.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center",gap:"$16px",width:"100%"}),tp=(0,Z.I4)("div",{display:"flex",backgroundColor:"$neutralWhite100",lineHeight:0}),tu=(0,Z.I4)("p",{color:"$neutralBlack350",fontSize:"$xxs",fontWeight:"$bold",lineHeight:"18px",textAlign:"center"}),tx=(0,Z.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"$8px",minHeight:"$200px"}),th={width:"100%",textAlign:"center",fontWeight:"$medium"},tm=function(e){let{cms:t,cmsV1:i,maxAge:n,customer:s,isMobile:r,paymentUrl:o,isExpired:d,onDeeplinkClick:c,onQrRendered:p}=e,u=(0,tl.we)(s.documentNumber),x=n?(0,k.i$)({date:"".concat(n),format:N.z.SHORTDATE_AND_TIME}):"",h=!o&&!d,m=!r&&!!o&&!d,g=r&&!!o&&!d;return(0,a.useEffect)(()=>{m&&(null==p||p())},[m]),(0,l.jsxs)(tn,{children:[x&&(0,l.jsxs)(ts,{children:[(0,l.jsx)(H.EY,{as:"p",size:"xs",align:"center",weight:"medium",children:t.timeInfo}),(0,l.jsx)(H.EY,{size:"xs",align:"center",weight:"bold",children:x})]}),r&&(0,l.jsx)(te.A,{children:(0,l.jsx)(T.s,{width:"8rem",height:"4rem","aria-hidden":"true"})}),h&&(0,l.jsxs)(tx,{role:"status","data-testid":"nupay-loading",children:[(0,l.jsx)(I.A,{size:"24px",customSpin:!0}),(0,l.jsx)(H.EY,{align:"center",children:i.loading})]}),d&&(0,l.jsx)(tx,{role:"status","data-testid":"nupay-expired",children:(0,l.jsx)(H.EY,{align:"center",children:i.expired})}),m&&(0,l.jsxs)(tc,{children:[(0,l.jsx)(tp,{"data-testid":"nupay-qrcode",children:(0,l.jsx)(td.h,{value:o,size:e6.SIZE,level:e6.LEVEL,bgColor:e6.BG_COLOR,fgColor:e6.FG_COLOR,marginSize:e6.MARGIN_SIZE,title:i.qrCodeAlt,role:"img","aria-label":i.qrCodeAlt})}),(0,l.jsx)(tu,{children:i.qrCodeCaption})]}),(0,l.jsxs)(tr,{children:[(0,l.jsxs)("p",{children:[(0,l.jsx)(H.EY,{children:t.ownerDocumentInfo}),(0,l.jsxs)(H.EY,{children:[t.ownerDocument," ",(0,l.jsx)("strong",{children:u})]})]}),(0,l.jsx)(te.A,{children:(0,l.jsx)(ti,{height:"40px",width:"40px"})})]}
1),g&&(0,l.jsx)(ej.A,{as:"a",id:"open-bank",href:o,variant:"primary",size:"lg",css:th,onClick:c,"data-testid":"open-bank",children:i.buttonOpenNupay}),(0,l.jsx)(A._,{status:"warning",title:t.warning.title,text:(0,B.p)(t.warning.description,s),dangerouslyText:!0})]})},tg=(0,Z.I4)("div",{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"$16px",borderBottom:"$borderWidths$hairline solid $neutralWhite400",h4:{color:"$neutralBlack500",fontWeight:"$medium"}}),tf=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"$16px",padding:"$16px"}),tj=function(e){let{cms:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(tg,{children:(0,l.jsx)("h4",{children:t.title})}),(0,l.jsx)(tf,{children:t.steps.map((e,t)=>(0,l.jsx)(D.L,{text:e,textStatus:t+1,isSelected:!0},e))})]})},tC=(0,Z.I4)("section",{display:"flex",gap:"$24px",margin:"0 auto",padding:"0 $16px",maxWidth:"1200px",paddingBottom:"13.938rem",section:{width:"100%",order:0},"@sm":{flexDirection:"column",padding:"$32px 0"}}),tv=e=>{if(!e)return;let t=new Date(e).getTime();if(!Number.isNaN(t))return Math.max(0,Math.ceil((t-Date.now())/1e3))},ty=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[i,l]=(0,a.useState)(()=>t&&0===tv(e));return(0,a.useEffect)(()=>{if(!t)return;let i=tv(e);if(l(0===i),!i)return;let n=setTimeout(()=>l(!0),1e3*i);return()=>clearTimeout(n)},[e,t]),{isExpired:i}},tb=e=>{var t,i,n,s;let{nupay:r,pageData:o,isMobile:d=!1,unleashFlags:c,...p}=e,u=(null==p?void 0:p.reduceTimeToUpdateStatusEnabled)?e3.fR.REDUCED:e3.fR.DEFAULT,[x,h]=(0,a.useState)(!1),[m,g]=(0,a.useState)({message:"",title:"",actions:[{id:"btn-modal-search",label:"Fazer nova busca",variant:"primary",href:null,actionType:"link"},{id:"btn-modal-close",label:"Fechar",variant:"tertiary"}]}),f=((e,t)=>e8(e)===e9.V1&&!!(null==t?void 0:t.paymentInfoV1)&&!!(null==t?void 0:t.paymentStepsV1))(c,r),j=e8(c),v=d?em.d.MOBILE:em.d.DESKTOP,b=null!=(n=null==p||null==(t=p.whitelabel)?void 0:t.name)?n:"",w=f?null!=(s=null==(i=o.payments[0])?void 0:i.meta)?s:{}:o.payments[0].meta,[L,A]=(0,a.useState)({maxAge:w.maxAge,paymentUrl:w.paymentUrl}),E=(0,a.useRef)(L.paymentUrl),{maxAge:D,paymentUrl:T}=L,{isExpired:_}=ty(D),{customer:S}=o,{paymentSteps:M,paymentInfo:k,errors:B,paymentInfoV1:N,paymentStepsV1:W}=r,z=e=>(0,y.kt)(b,e,v,null==o?void 0:o.id,j),Y=(0,a.useMemo)(()=>{try{let{itemsDetails:e}=o,{itemDetails:{arrival:{place:{slug:t}},departure:{place:{slug:i}}}}=e.filter(e=>{let{type:t}=e;return"ticket"===t})[0];return"".concat(C.Dnh,"/").concat(i,"/").concat(t)}catch(e){return null}},[o]),U=(0,a.useRef)(null),F=(0,a.useRef)(!1),Z=()=>{F.current=!0,U.current&&(clearInterval(U.current),U.current=null)},V=async()=>{if(!F.current)try{var e;let t=f&&!E.current,i=await (0,eT.Wg)(o,!!(null==c?void 0:c.gratuityDocumentsUpload),t);if(t){let e=(e=>{var t,i;let l=null==e||null==(i=e.success)||null==(t=i.payment)?void 0:t.meta;if(null==l?void 0:l.paymentUrl)return{paymentUrl:l.paymentUrl,maxAge:l.maxAge}})(i);e&&(E.current=e.paymentUrl,A(t=>{var i;return{...e,maxAge:null!=(i=e.maxAge)?i:t.maxAge}}))}let l=(0,eT.BS)(i),n=null==i?void 0:i.code,s=!!(null==i||null==(e=i.data)?void 0:e.canRebook)||!!n&&String(n)===String(e3.OR.BOOKING);p.setShowDialogRebooking(s),(!(null==c?void 0:c.gratuityDocumentsUpload)&&!i||(0,eT.bj)(s,l,i,!!(null==c?void 0:c.gratuityDocumentsUpload)))&&Z(),n&&l!==C.Opl.COMPLETED&&(e=>{e7.includes(e)&&(g({title:B[e].title,message:B[e].description,actions:[{id:"btn-modal-search",label:B[e].buttons.reSearch,variant:"primary",href:Y,actionType:"link"},{id:"btn-modal-close",label:B[e].buttons.close,variant:"tertiary"}]}),h(!0))})(n),l===C.Opl.COMPLETED&&(0,e4.z)({...p,myOrderUrl:(null==p?void 0:p.postPurchaseRedirectUrl)||(null==p?void 0:p.customMyOrderUrl)||(null==p?void 0:p.myOrderUrl)})}catch(e){Z()}};(0,a.useEffect)(()=>(z(ex.u.NUPAY_PAYMENT_SCREEN_VIEWED),f&&!E.current&&V(),U.current=setInterval(()=>V(),u),()=>{U.current&&(clearInterval(U.current),U.current=null)}),[]),(0,a.useEffect)(()=>{_&&z(ex.u.NUPAY_PAYMENT_EXPIRED)},[_]);let q=()=>z(ex.u.NUPAY_DEEPLINK_TAPPED),G=f?{title:W.title,steps:W[v]}:M;return(0,l.jsxs)(tC,{"data-testid":"nupay-confirmation",children:[(0,l.jsxs)($.A,{shadow:"md",children:[(0,l.jsxs)(R.oJ,{children:[(0,l.jsx)("p",{children:k.title}),(0,l.jsx)(I.A,{size:"16px",customSpin:!0})]}),f?(0,l.jsx)(tm,{cms:k,cmsV1:N,maxAge:D,customer:S,paymentUrl:T,isMobile:d,isExpired:_,onDeeplinkClick:q,onQrRendered:()=>z(ex.u.NUPAY_QR_RENDERED)}):(0,l.jsx)(to,{cms:k,maxAge:null!=D?D:"",customer:S,paymentUrl:null!=T?T:"",isMobile:d,onOpenBankClick:q})]}),(0,l.jsxs)(H.hr,{children:[(0,l.jsx)(O.A,{labels:null==p?void 0:p.labels,orderId:null==o?void 0:o.id,...p}),(0,l.jsx)($.A,{shadow:"md",css:{height:"100%"},children:(0,l.jsx)(tj,{cms:G})})]}),(0,l.jsx)(P.A,{maxAge:D,wrapperCss:d?{margin:"16px",width:"auto"}:{}}),(0,l.jsx)(e2.A,{iconData:{icon:e1.p,size:"lg"},content:m,showDialog:x,setShowDialog:()=>h(!1),hideIconClose:!0,isRelativeDialog:!1,dataTestId:"seat-map-dialog"})]})},t$=e=>e.pageData&&e.nupay?(0,l.jsx)(tb,{...e}):null,tw=(0,Z.I4)("section",{display:"flex",flexDirection:"column",gap:"$24px",margin:"0 auto",padding:"0 $16px",maxWidth:"1200px",paddingBottom:"13.938rem","@sm":{padding:"$32px 0"}}),tI=(0,Z.I4)("div",{width:"100%","@sm":{padding:"0 $16px"}}),tL=(0,Z.I4)("div",{display:"flex",gap:"$24px",width:"100%",section:{width:"100%",order:0},"@sm":{flexDirection:"column"}}),tA=(0,Z.I4)("div",{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"$16px",borderBottom:"$borderWidths$hairline solid $neutralWhite400",h4:{color:"$neutralBlack
1500",fontWeight:"$medium"}}),tE=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"$16px",padding:"$16px"}),tD={pending:"asyncOrderPending",processing:"asyncOrderProcessing",completed:"asyncOrderCompleted",canceled:"asyncOrderCanceled"},tT=["pending","processing"],t_=e=>{var t,i,n,s,r,o,d,c,p,u,x,h;let{pageData:m,picpayTravelHub:g,unleashFlags:f,...j}=e,[C,v]=(0,a.useState)({}),y=null==m?void 0:m.payments,b=null==y||null==(i=y[0])||null==(t=i.meta)?void 0:t.PAYMENT_URL,w=null==m?void 0:m.id,L=null==j?void 0:j.whitelabel,E=null==L||null==(s=L.themeStitches)||null==(n=s.colors)?void 0:n.primary500,T=E?{"& > span:first-of-type":{borderColor:E,backgroundColor:E}}:void 0;if((0,W.D)({pageData:m,setState:v,props:j,isFreeTicket:!1,unleashFlags:f}),(0,a.useEffect)(()=>{if(!b||!w)return;let e="".concat("picpay-travel-hub-redirected-").concat(w);window.sessionStorage.getItem(e)||(window.sessionStorage.setItem(e,"1"),window.location.href=b)},[b,w]),!b||!g)return null;let _=null!=(d=g.steps)?d:[],S=_.length>0,M=null!=(c=C.statusOrderText)?c:"pending",k=null!=(u=g[null!=(p=tD[M])?p:"asyncOrderPending"])?u:g.asyncOrderPending,N=tT.includes(M),P=null==(r=g.inlineBanner)?void 0:r.title,z=(null==(o=g.inlineBanner)?void 0:o.text)?(0,B.p)(g.inlineBanner.text,null!=(x=null==m?void 0:m.customer)?x:{}):void 0,Y=!!(P||z);return(0,l.jsxs)(tw,{"data-testid":"picpay-travel-hub-confirmation",children:[Y&&(0,l.jsx)(tI,{"data-testid":"picpay-travel-hub-inline-banner",children:(0,l.jsx)(A._,{status:"info",iconCentered:!0,dangerouslyText:!0,title:P,text:z})}),(0,l.jsxs)(tL,{children:[(0,l.jsx)($.A,{shadow:"md",children:(0,l.jsxs)(R.oJ,{"data-testid":"picpay-travel-hub-status-".concat(M),children:[(0,l.jsx)("p",{children:k}),N&&(0,l.jsx)(I.A,{size:"16px",customSpin:!0})]})}),(0,l.jsxs)(H.hr,{children:[(0,l.jsx)(O.A,{labels:null==j?void 0:j.labels,orderId:null!=(h=null==m?void 0:m.id)?h:"",...j}),S&&(0,l.jsxs)($.A,{shadow:"md",css:{height:"100%"},"data-testid":"picpay-travel-hub-payment-steps",children:[(0,l.jsx)(tA,{children:(0,l.jsx)("h4",{children:g.stepsTitle})}),(0,l.jsx)(tE,{children:_.map((e,t)=>(0,l.jsx)(D.L,{text:e,textStatus:t+1,isSelected:!0,css:T},e))})]})]})]})]})},tS=(0,F.i7)({"10%, 95%":{opacity:0}}),tM=(0,F.i7)({"15%, 85%":{opacity:1}}),tk=(0,Z.I4)("div",{padding:"$16px"}),tB=(0,Z.I4)("span",{display:"flex",flexDirection:"column",gap:"$16px"}),tN=(0,Z.I4)("div",{display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"space-between"}),tR=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"10px",paddingBottom:"$24px"}),tO=(0,Z.I4)("div",{display:"flex",flexDirection:"column",padding:"$16px"}),tP=(0,Z.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center"}),tH=(0,Z.I4)("img",{width:"171px",height:"171px"}),tW=(0,Z.I4)(ej.A,{height:"40px",display:"flex",alignItems:"center",color:"$neutralWhite100",position:"relative",fontSize:"$xxs",".copied":{display:"block",opacity:0,position:"absolute",width:"auto",zIndex:-1,overflow:"hidden"},"&.animated":{".copying":{animation:"".concat(tS," 3s ease 1")},".copied":{animation:"".concat(tM," 3s ease 1"),zIndex:0}}}),tz=(0,Z.I4)("div",{display:"grid",justifyContent:"center",gap:"10px",width:"100%",marginX:"auto"}),tY=(0,Z.I4)("span",{display:"flex",alignItems:"center",justifyContent:"center",gap:"$8px",width:"auto",margin:"0 auto",color:"$neutralWhite100",fontWeight:"$medium","&.success":{color:"$neutralWhite100"}}),tU=(0,Z.I4)("div",{display:"flex",flexDirection:"column",gap:"$8px",width:"100%",alignSelf:"start",marginBottom:"$24px"}),tF=(0,Z.I4)("ul",{paddingLeft:"$32px",display:"flex",flexDirection:"column",gap:"$8px"}),tZ=(0,Z.I4)("li",{fontSize:"$xxs",color:"$neutralBlack300"}),tV={headerCss:{"+ div.open":{borderTop:"1px solid $neutralWhite400",margin:0},fontWeight:"500"},generalCss:{boxShadow:"none",border:"1px solid $neutralWhite400"}},tq=e=>{var t;let{title:i,content:n,openInit:s=!1}=e;return(0,l.jsx)(eS.A,{"data-testid":"accordion-pix-installment",cssData:tV,headerTitle:i,openInit:s,children:null==(t=n.steps)?void 0:t.map((e,t)=>{let i=t+1;return(0,l.jsxs)("div",{style:{margin:"16px"},"data-testid":"pix-installment-steps",children:[(0,l.jsx)(D.L,{text:e.title,cssText:{fontWeight:"600",color:"$neutralBlack300"},textStatus:i,isSelected:!0}),(0,l.jsx)(tF,{css:{...1===i&&{listStyle:"disc",paddingLeft:"48px"}},children:e.items.map(e=>(0,l.jsx)(tZ,{children:e},e))})]},e.title)})})},tG=e=>{let{title:t,steps:i}=e;return(0,l.jsxs)($.A,{shadow:"md",css:{height:"100%"},children:[(0,l.jsx)(H.Y9,{children:(0,l.jsx)(R.hE,{children:t})}),(0,l.jsx)(tk,{children:(0,l.jsx)(tB,{children:i.map((e,t)=>{let i=t+1;return(0,l.jsx)(D.A,{text:e,textStatus:i,...4!==i&&{direction:"center"},isSelected:!0},e)})})})]})},tX=e=>{var t,i,n,s,r,o,d,c;let{pix:p,pix_installment:u,pageData:x,isMobile:m=!1,unleashFlags:g,...f}=e,[j,v]=(0,a.useState)({isCopying:{qrcode:!1}}),b=null==x||null==(t=x.payments)?void 0:t[0],{meta:w,type:L}=null!=b?b:{},{base64:E,maxAge:D,plain:T,link:S}=null!=w?w:{},H=L===C.a5K,z=(null==b||null==(i=b.meta)?void 0:i.incomingValue)||0,Y=H?z:null==x?void 0:x.totalAmount,U=(0,h.$r)(f.payments)===C.Qh_,F=m?em.d.MOBILE:em.d.DESKTOP,Z=(0,eT.nX)(g);e_({orderId:null==x?void 0:x.id,store:null==x||null==(n=x.clientApplication)?void 0:n.store,deviceType:F,testVariant:Z,timerToPay:null==p?void 0:p.timerToPay,minimalTimer:null==p?void 0:p.minimalTimer}),(0,W.D)({pageData:x,props:f,setState:v,unleashFlags:g});let{showBiometricButton:V,sendBiometricButtonClick:q}=eA({paymentType:L,store:null==x||null==(s=x.clientApplication)?void 0:s.store,unleashFlags:g});if((0,a.useEffect)(()=>
1{if(x&&H){var e,t,i,l;(0,y.k$)(null==x||null==(e=x.clientApplication)?void 0:e.store,eh.r.HAPPY_PATH,{status:null==x||null==(l=x.payments)||null==(i=l[0])||null==(t=i.meta)?void 0:t.bnplStatus,orderId:null==x?void 0:x.id,paymentType:L})}},[H,null==x?void 0:x.id]),(0,a.useEffect)(()=>{var e;(0,y.s5)(null==x||null==(e=x.clientApplication)?void 0:e.store,ex.u.PIX_PAGE_VIEWED,F,null==x?void 0:x.id,Z)},[]),!x||!p||!u||!Y||Y<=0)return null;let G={pix_installment:(0,B.p)(u.inlineBanner.title,null!=(o=f.customer)?o:{}),pix:(0,B.p)(p.inlineBanner.text,null!=(d=f.customer)?d:{})},X={pix:p.inlineBanner.title};return(0,l.jsxs)(l.Fragment,{children:[U&&(0,l.jsx)(R.An,{children:(0,l.jsx)(A._,{status:"info",title:p.splitCardPixInfoBanner})}),(0,l.jsxs)(R.HP,{"data-testid":"pix-confirmation",children:[(0,l.jsxs)($.A,{shadow:"md",className:"pix-qrcode",children:[(0,l.jsxs)(R.oJ,{children:[(0,l.jsx)("p",{children:p.orderTitleInfo}),(0,l.jsx)(I.A,{size:"16px",customSpin:!0})]}),(0,l.jsx)(tO,{children:(0,l.jsxs)(tP,{children:[(0,l.jsxs)(tR,{children:[(0,l.jsxs)(tN,{children:[(0,l.jsx)(R.EY,{weight:"medium",children:p.orderTimeInfo}),(0,l.jsx)(R.EY,{weight:"bold",children:(0,k.i$)({date:"".concat(D),format:N.z.SHORTDATE_AND_TIME})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(tH,{src:"data:image/png;base64, ".concat(E),alt:L}),(0,l.jsxs)(tz,{children:[(0,l.jsxs)(tW,{className:(null==(r=j.isCopying)?void 0:r.qrcode)?"animated":"",onClick:()=>((e,t)=>{var i;(0,y.s5)(null==x||null==(i=x.clientApplication)?void 0:i.store,ex.u.PIX_CODE_COPIED,F,null==x?void 0:x.id,Z),(0,M.D)(e),v({isCopying:{qrcode:"qrcode"===t}}),setTimeout(()=>v({isCopying:{qrcode:!1}}),3500)})(T,"qrcode"),fill:!0,id:"copy-qr-code-button","data-testid":"copy-qrcode-button",children:[(0,l.jsx)(tY,{className:"copied success",children:p.copiedText}),(0,l.jsxs)(tY,{className:"copying",children:[(0,l.jsx)(_.b,{size:16}),p.copyButton]})]}),V&&(0,l.jsx)(ew,{link:S,label:p.biometricButton,closeLabel:p.biometricButtonClose,onOpen:q})]})]})]}),(0,l.jsxs)(tU,{children:[(0,l.jsx)(R.EY,{as:"p",dangerouslySetInnerHTML:{__html:null==p?void 0:p.favored}}),(0,l.jsxs)(R.EY,{as:"p",children:[p.orderValue," ",(0,l.jsx)("strong",{children:(0,k.Gl)().format(Y)})]})]}),(0,l.jsx)(A._,{status:"warning",title:X[L],text:G[L],dangerouslyText:!0,...H&&{...eT.JR}})]})})]}),(0,l.jsxs)(R.hr,{children:[(0,l.jsx)(O.A,{orderId:null==x?void 0:x.id,...f,labels:null!=(c=f.labels)?c:{}}),(0,l.jsx)(()=>H?(0,l.jsx)(tq,{title:null==u?void 0:u.card.title,content:null==u?void 0:u.card}):(0,l.jsx)(tG,{title:p.stepsTitle,steps:null==p?void 0:p.steps}),{})]}),(0,l.jsx)(P.A,{maxAge:D,wrapperCss:(0,eT.c1)(m).timeExpiredModal})]})]})};var tK=i(74807),tQ=i.n(tK),tJ=i(65959),t0=i(25386);let t2=(0,Z.I4)("section",{display:"flex",gap:"$24px",margin:"0 auto",padding:"$16px",maxWidth:"1200px",paddingBottom:"13.938rem",".wallet-order, .wallet-details":{width:"100%"},"@sm":{padding:"$32px 0",flexDirection:"column"}}),t1=(0,Z.I4)("div",{padding:"$16px"});(0,Z.I4)("h2",{fontSize:"$md",color:"$neutralBlack300",fontWeight:"$medium",textAlign:"center",width:"100%",marginBottom:"$16px"});let t4=(0,Z.I4)("div",{display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"$16px",span:{display:"flex",alignItems:"center",fontSize:"$xxxs",fontWeight:"$bold",textAlign:"center",width:"170px",padding:"$6px",backgroundColor:"#05B0D9",color:"$neutralWhite100",borderTopRightRadius:"$sm",borderBottomRightRadius:"$sm",borderTopLeftRadius:"0",borderBottomLeftRadius:"0",height:"$32px"}}),t3=(0,Z.I4)("div",{display:"flex",cursor:"pointer"}),t5=(0,Z.I4)("div",{display:"flex",alignItems:"center",justifyContent:"center",width:"$40px",height:"$32px",backgroundColor:"$neutralWhite100",border:"$borderWidths$hairline solid #05B0D9",borderTopLeftRadius:"$sm",borderBottomLeftRadius:"$sm"}),{publicRuntimeConfig:t7}=tQ()(),{timeExpiredModal:t6}=t7,t9={width:"126px",height:"66px"},t8=e=>{var t,i,n,s,r,o,d,c,p,u,x,h,m;let{pageData:g,unleashFlags:f,...j}=e,[C,v]=(0,a.useState)(!1),y=(0,a.useState)({orderIdLoading:!1})[1],b=null==g||null==(t=g.payments)?void 0:t[0],L=null==b||null==(i=b.meta)?void 0:i.success,E=(0,k.jH)(null==g?void 0:g.createdAt).add(t6,"minutes"),_=(0,k.i$)({date:E,format:N.z.SHORTDATE_AND_TIME}),S=e=>{let t=new URL(null==e?void 0:e.newURL),i=new URL(L);t.hash.startsWith(null==i?void 0:i.hash)&&(window.location.href=(null==j?void 0:j.postPurchaseRedirectUrl)||(null==j?void 0:j.myOrderUrl)||"")};return((0,W.D)({setState:y,pageData:g,props:j,unleashFlags:f}),(0,a.useEffect)(()=>(window.addEventListener("hashchange",S),()=>{window.removeEventListener("hashchange",S)}),[]),(null==j?void 0:j.wallet)&&g&&j)?(0,l.jsxs)(t2,{"data-testid":"wallet-confirmation",children:[(0,l.jsxs)($.A,{shadow:"md",className:"wallet-order",children:[(0,l.jsxs)(R.oJ,{children:[(0,l.jsx)("p",{children:null==j||null==(s=j.wallet)||null==(n=s.labels)?void 0:n.orderTitle}),(0,l.jsx)(I.A,{size:"16px",customSpin:!0})]}
1),(0,l.jsxs)(t1,{children:[(0,l.jsx)(H.EY,{as:"p",size:"xs",align:"center",weight:"medium",children:j.wallet.labels.orderConfirmationTitle}),(0,l.jsx)(H.EY,{size:"xs",align:"center",weight:"bold",children:_}),(0,l.jsx)(R.QB,{children:(0,l.jsx)(w.v,{icon:(0,l.jsx)(T.s,{}),cssCustom:{...t9,mobile:{...t9}}})}),(0,l.jsx)(t4,{children:(0,l.jsxs)(t3,{className:"sandbox-button",onClick:()=>v(!0),"data-testid":"sandbox-button",children:[(0,l.jsx)(t5,{children:(0,l.jsx)(tJ.default,{src:null==(o=j.wallet)||null==(r=o.icon)?void 0:r.src,alt:null==(c=j.wallet)||null==(d=c.icon)?void 0:d.alt,width:"24",height:"16"})}),(0,l.jsx)(H.EY,{children:j.wallet.labels.mercadoPagoButton})]})}),(0,l.jsx)(A._,{status:"warning",title:null==(u=j.wallet.labels)||null==(p=u.inlineBanner)?void 0:p.title,text:(0,B.p)(null==(h=j.wallet.labels)||null==(x=h.inlineBanner)?void 0:x.text,null!=(m=null==j?void 0:j.customer)?m:{}),dangerouslyText:!0})]})]}),(0,l.jsxs)(H.hr,{children:[(0,l.jsx)(O.A,{labels:null==j?void 0:j.labels,orderId:null==g?void 0:g.id,...j}),(0,l.jsxs)($.A,{shadow:"md",className:"wallet-details",css:{height:"100%"},children:[(0,l.jsx)(H.Y9,{children:(0,l.jsx)(H.EY,{color:"darkest",size:"xs",children:j.wallet.labels.stepsTitle})}),(0,l.jsx)(t1,{children:j.wallet.labels.steps.map((e,t)=>(0,l.jsx)(D.A,{text:e,textStatus:t+1,css:{marginBottom:"$16px"},isSelected:!0,isDangerouslyText:!0},e))})]})]}),(0,l.jsx)(t0.A,{showModal:C,setShowModal:v,iframeCss:{minHeight:j.isMobile?"calc(100vh - 57px)":"60vh"},iframeUrl:b.meta.initPoint,dataTestId:"wallet-sandbox"}),(0,l.jsx)(P.A,{createdAt:g.createdAt,typeMethod:"wallet",wrapperCss:(null==j?void 0:j.isMobile)?{margin:"16px",width:"auto"}:{}})]}):null},ie=e=>{var t;let{setShowDialogRebooking:i}=e,{cms:n,cms:{content:{banks:s,labels:r,wallet:$,pix:w,pix_installment:I,electronicFundsTransfer:L,nupay:A,picpay_travel_hub:E,stepper:D,rebooking:T}},pageData:_,pageData:{customer:S,id:M,payments:k,orderToken:B},isMobile:N,whitelabel:R,device:O,unleashFlags:P}=(0,d.S)(),[W,z]=(0,a.useState)(0),[Y,U]=(0,a.useState)(!1),F=(0,a.useMemo)(()=>(0,f.wz)(document),[]),Z=(0,c.$y)(),V=(0,a.useRef)(!1),q=(0,u._W)(null==n?void 0:n.content,"reduceTimeToUpdateStatus.".concat(O),!1),G=(0,x.m)({orderId:M,orderToken:B,isFromCheckout:!0}),X=null==P?void 0:P.isPixAbandonedEnabled,K=R.name===j.GE,Q=(0,m.z)({myOrderUrl:G,isOrderMfeRedirectEnabled:K&&(null==P?void 0:P.isOrderMfeRedirectEnabled),isTripChange:null==_?void 0:_.isTripChange}),J={pageData:_,banks:s,labels:r,rebooking:T,wallet:$,pix:w,pix_installment:I,electronicFundsTransfer:L,nupay:A,picpayTravelHub:E,stepper:D,customer:S,id:M,payments:k,myOrderUrl:G,customMyOrderUrl:G,postPurchaseRedirectUrl:Q,isMobile:N,whitelabel:R,salesForceUserData:Z,reduceTimeToUpdateStatusEnabled:q,setShowDialogRebooking:i,user:F,unleashFlags:P},ee=(0,h.$r)(k)===C.Qh_,et=ee?k.find(e=>e.type===C.GFt):void 0,ei=et?{...J,pageData:{..._,payments:[et],totalAmount:Number(et.amount)}}:J,el=X?(0,l.jsx)(e0,{...ei}):(0,l.jsx)(tX,{...ei});(0,a.useEffect)(()=>{V.current||(V.current=!0,(0,p.lc)(v.U.SUCCESS,{orderId:M}),(0,y.L2)(R.name,v.U.SUCCESS,M,(0,y.vr)(_))),Z&&(0,g.Y)({countSalesForceDispatch:W,hasSalesForceError:Y,setCountSalesForceDispatch:z,setHasSalesForceError:U,salesForceService:(0,c.ow)(Z.userEmail,Z.userPhone,Z.pageType,R.name)})},[Z,Y]);let en={nupay:(0,l.jsx)(t$,{...J}),wallet:(0,l.jsx)(t8,{...J}),eletronic_funds_transfer:(0,l.jsx)(es,{...J}),direct:(0,l.jsx)(b.A,{isEnableUpdateStatus:!0,...J}),credit_card:(0,l.jsx)(b.A,{isEnableUpdateStatus:!0,...J}),google_pay:(0,l.jsx)(b.A,{isEnableUpdateStatus:!0,...J}),xfourfare:(0,l.jsx)(b.A,{isEnableUpdateStatus:!0,...J}),paypal:(0,l.jsx)(b.A,{isEnableUpdateStatus:!0,...J}),pix:el,pix_installment:(0,l.jsx)(tX,{...J}),picpay_travel_hub:(0,l.jsx)(t_,{...J})},er=ee?el:en[null==k||null==(t=k[0])?void 0:t.type],ea=!er,eo=er||(0,l.jsx)(b.A,{...J});return(0,a.useEffect)(()=>{ea&&(0,y.k$)(R.name,y.S0)},[ea]),(0,l.jsx)(H.Ym,{"data-testid":"confirmation-page-content",children:(0,l.jsx)(o.t,{fallback:(0,l.jsx)(b.A,{...J}),onError:()=>(0,y.k$)(R.name,y.S0),children:eo})})};
1ie.displayName="ConfirmationPageContent";var it=i(23254),ii=i(69375),il=i(76873),is=i(73569),ir=i(31100),ia=!0;let io=e=>{var t;let{cms:i,whitelabel:a,pageData:o,device:d,unleashFlags:c}=e,{seatItems:p,pageData:u,pageState:x,spinnerProps:h,showLoading:m,setShowLoading:g,dialogContent:f,setDialogContent:C,rebookingParams:v,shouldShowDialog:y}=(0,ir.A)({serverPageData:o,whitelabel:a,cms:i});return(0,l.jsxs)(il.A,{cms:i,whitelabel:a,pageData:u,device:d,unleashFlags:c,children:[((e,t,i,a)=>i!==j.GE&&"error"===e?(0,l.jsx)(ii.A,{}):"success"!==e?(0,l.jsx)(n.A,{hasOverlay:!0,showSpinner:!0,css:{width:"290px"},text:t.text,icon:t.icon}):(0,l.jsxs)(is.A,{children:[(0,l.jsx)(r.A,{css:{height:"72px"},$smCss:{paddingTop:"0",height:"$48px"}}),(0,l.jsx)(ie,{setShowDialogRebooking:a}),(0,l.jsx)(s.A,{})]}))(x,h,null==a?void 0:a.name,null==v?void 0:v.setShowDialogRebooking),y&&(0,l.jsx)(it.n,{seatItems:p,showDialog:v.showDialogRebooking,setShowDialog:v.setShowDialogRebooking,dialogContent:f,setDialogContent:C,showLoading:m,setShowLoading:g,rebookingCms:null==i||null==(t=i.content)?void 0:t.rebooking,type:"confirmation"})]})}},66173:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var l=i(7765);i(15977);var n=i(17148);let s=e=>{let{width:t,height:i,color:s,...r}=e;return(0,l.jsxs)(n.zP,{width:t||n.Ui,height:i||n.Pb,viewBox:"0 0 12 12",fill:s||"currentColor",xmlns:"http://www.w3.org/2000/svg",...r,children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 1.75C3.6565 1.75 1.75 3.6565 1.75 6C1.75 8.3435 3.6565 10.25 6 10.25C8.3435 10.25 10.25 8.3435 10.25 6C10.25 3.6565 8.3435 1.75 6 1.75ZM6 11C3.243 11 1 8.757 1 6C1 3.243 3.243 1 6 1C8.757 1 11 3.243 11 6C11 8.757 8.757 11 6 11Z",fill:s||"currentColor"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.71557 7.8462C7.65007 7.8462 7.58407 7.8292 7.52357 7.7937L5.63857 6.6692C5.52557 6.6012 5.45557 6.4787 5.45557 6.3467V3.9227C5.45557 3.7157 5.62357 3.5477 5.83057 3.5477C6.03807 3.5477 6.20557 3.7157 6.20557 3.9227V6.1337L7.90807 7.1487C8.08557 7.2552 8.14407 7.4852 8.03807 7.6632C7.96757 7.7807 7.84307 7.8462 7.71557 7.8462Z",fill:s||"currentColor"})]})}},69134:(e,t,i)=>{"use strict";i.d(t,{s:()=>s});var l=i(7765);i(15977);var n=i(17148);let s=e=>{let{width:t,height:i,color:s,...r}=e;return(0,l.jsxs)(n.zP,{width:t||n.Ui,height:i||n.Pb,viewBox:"0 0 122 62",fill:s||"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[(0,l.jsx)("path",{d:"M96 44.0693H109",stroke:"#FFC800",strokeWidth:"3"}),(0,l.jsx)("path",{d:"M126 51.0693L109 51.0693",stroke:"#FFC800",strokeWidth:"3"}),(0,l.jsx)("path",{d:"M114 44.0693H121",stroke:"#FFC800"}),(0,l.jsx)("path",{d:"M104 51.0693L96 51.0693",stroke:"#FFC800"}),(0,l.jsx)("path",{d:"M30 30.0693L17 30.0693",stroke:"#FFC800",strokeWidth:"3"}),(0,l.jsx)("path",{d:"M0 23.0693L17 23.0693",stroke:"#FFC800",strokeWidth:"3"}),(0,l.jsx)("path",{d:"M12 30.0693L5 30.0693",stroke:"#FFC800"}),(0,l.jsx)("path",{d:"M22 23.0693L30 23.0693",stroke:"#FFC800"}),(0,l.jsx)("path",{d:"M58.7882 5.85479L77.8067 10.9403C81.1514 11.8347 83.3814 13.3752 84.6011 15.3137C85.813 17.2397 86.123 19.7108 85.3265 22.6774L79.5663 44.1305C78.7548 47.1528 77.2455 49.1399 75.2375 50.194C73.2149 51.2557 70.5179 51.4594 67.1678 50.5636L48.1494 45.4781C44.8584 44.598 42.6203 43.0766 41.3845 41.139C40.1581 39.2161 39.8235 36.7341 40.6329 33.7197L46.393 12.2666C47.1874 9.30781 48.7179 7.32715 50.75 6.26457C52.796 5.19477 55.5026 4.97622 58.7882 5.85479Z",stroke:"#1A1A1A",strokeWidth:"1.98"}),(0,l.jsxs)("g",{filter:"url(#filter0_b_1001_25171)",children:[(0,l.jsx)("path",{d:"M76.4981 13.8211L45.2583 16.7626C36.1356 17.6216 30.6045 24.5909 31.5037 34.0977L32.7702 47.4886C33.6669 56.9685 40.407 62.7823 49.5297 61.9233L80.7695 58.9818C89.8922 58.1228 95.3964 51.1561 94.4997 41.6762L93.2332 28.2852C92.334 18.7785 85.6208 12.9621 76.4981 13.8211Z",fill:"url(#paint0_linear_1001_25171)"}),(0,l.jsx)("path",{d:"M45.4447 18.7338L76.6846 15.7923C80.7682 15.4078 84.1755 16.5192 86.6545 18.6632C89.1415 20.8143 90.8526 24.1435 91.2619 28.4709L92.5285 41.8618C92.9363 46.1743 91.8799 49.7573 89.8397 52.3318C87.806 54.8982 84.6668 56.6261 80.5831 57.0106L49.3432 59.9521C45.2591 60.3367 41.8436 59.2257 39.3574 57.0834C36.864 54.9349 35.1492 51.6131 34.7415 47.303L33.475 33.912C33.0659 29.5871 34.1279 25.997 36.1741 23.4183C38.2143 20.8472 41.360
17 19.1184 45.4447 18.7338Z",stroke:"#A528FF",strokeWidth:"3.96",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.8264 25.1497C61.1015 25.2269 60.5764 25.8771 60.6536 26.602L60.7639 27.6385C59.7399 27.8444 58.8408 28.1696 58.0665 28.6141C57.0284 29.2188 56.2537 29.9761 55.7423 30.886C55.2497 31.7938 55.0614 32.7928 55.1775 33.8829C55.2976 35.0107 55.6316 35.916 56.1795 36.599C56.7463 37.28 57.5255 37.8148 58.5173 38.2034C59.4734 38.5521 60.6257 38.82 61.9745 39.0073L62.5627 44.5314C62.2658 44.5072 61.9923 44.4599 61.7422 44.3895C61.1731 44.222 60.7108 43.9861 60.3552 43.6818C59.9977 43.3587 59.7435 43.0246 59.5927 42.6795C59.4827 42.5391 59.3569 42.429 59.2154 42.349C59.0906 42.2482 58.906 42.2109 58.6617 42.2369L56.1525 42.5041C55.9833 42.5221 55.8484 42.5935 55.7476 42.7183C55.6468 42.843 55.6055 42.99 55.6235 43.1592C55.7591 44.0761 56.1727 44.9255 56.8642 45.7073C57.5725 46.4682 58.5374 47.0498 59.7587 47.452C60.6719 47.7333 61.7237 47.8602 62.9142 47.8328L63.0295 48.9159C63.1067 49.6408 63.757 50.1659 64.4819 50.0887C65.2068 50.0115 65.7319 49.3613 65.6547 48.6363L65.539 47.5495C66.595 47.3407 67.5366 47.0218 68.3637 46.5928C69.5166 45.9948 70.3759 45.2285 70.9417 44.2939C71.5243 43.3384 71.7495 42.2404 71.6174 40.9999C71.4993 39.891 71.1673 39.0044 70.6214 38.3402C70.0734 37.6573 69.267 37.1349 68.202 36.773C67.1708 36.4227 65.872 36.1543 64.3058 35.9679L63.7486 30.7357C64.112 30.8005 64.4436 30.9113 64.7432 31.0681C65.4075 31.4155 65.8271 31.8746 66.0019 32.4452C66.1179 32.642 66.2551 32.7699 66.4134 32.8291C66.5718 32.8883 66.7262 32.9099 66.8765 32.8938L69.4985 32.6147C69.6864 32.5947 69.8214 32.5233 69.9034 32.4005C70.0021 32.2569 70.0435 32.1099 70.0275 31.9596C69.9467 31.3789 69.7051 30.8059 69.3027 30.2404C68.9171 29.6542 68.3862 29.131 67.7099 28.6707C67.0316 28.1917 66.2056 27.8425 65.2318 27.623C64.6609 27.4836 64.0479 27.4073 63.3928 27.394L63.2787 26.3225C63.2015 25.5976 62.5513 25.0725 61.8264 25.1497ZM61.1142 30.9283C60.6326 31.0723 60.2239 31.2722 59.888 31.528C59.3078 31.97 59.0597 32.5857 59.1437 33.3751C59.1998 33.9013 59.3972 34.327 59.7359 34.6521C60.0915 34.9564 60.6216 35.2041 61.3262 35.3952C61.4134 35.418 61.5037 35.4407 61.5971 35.4633L61.1142 30.9283ZM64.6782 39.4657L65.1907 44.2786C65.8946 44.0993 66.4435 43.8414 66.8373 43.5048C67.4659 42.9817 67.7392 42.3348 67.6572 41.5642C67.5991 41.0191 67.3745 40.6058 66.9834 40.3243C66.5903 40.024 66.0038 39.7824 65.2239 39.5993C65.0542 39.5539 64.8723 39.5094 64.6782 39.4657Z",fill:"#1A1A1A"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("filter",{id:"filter0_b_1001_25171",x:"15.5682",y:"-2.10257",width:"94.8665",height:"79.9497",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"7.92"}),(0,l.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_1001_25171"}),(0,l.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_1001_25171",result:"shape"})]}),(0,l.jsxs)("linearGradient",{id:"paint0_linear_1001_25171",x1:"30",y1:"18.1993",x2:"94.3373",y2:"15.645",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#F4F4F4"}),(0,l.jsx)("stop",{offset:"0.5",stopColor:"white"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#F4F4F4"})]})]})]})}},74727:(e,t,i)=>{"use strict";i.d(t,{TZ:()=>n,z:()=>l});let l={SHORTDATE_AND_TIME:"DD/MM/YYYY [\xe0s] HH:mm",LONGDATE_AND_TIME:"ddd, DD [de] MMMM [\xe0s] HH:mm",DATE_LONGMONTH_YEAR:"DD [de] MMMM [de] YYYY",DATE_AND_HOUR:"YYYY-MM-DD HH:mm:ss",TIME:"HH:mm",SHORTDATE:"DD/MM/YYYY",DATE_YMD:"YYYY-MM-DD",DATE_dDM:"ddd. DD MMM",DATE_DDM:"dddd. DD MMM"},n={UTC:"UTC"}},91704:(e,t,i)=>{"use strict";i.d(t,{u:()=>u});var l=i(7765),n=i(19007),s=i(1178),r=i(46200),a=i(6585),o=i(94859),d=i(12818),c=i(55330),p=i(73629);let u=(e,t)=>({341:(0,l.jsx)(d.k,{...t}),237:(0,l.jsx)(s.a,{...t}),"001":(0,l.jsx)(n.r,{...t}),104:(0,l.jsx)(a.l,{...t}),"033":(0,l.jsx)(p.z,{...t}),212:(0,l.jsx)(c.c,{...t}),"077":(0,l.jsx)(o.z,{...t}),218:(0,l.jsx)(r.I,{...t})})[e]},99742:(e,t,i)=>{"use strict";i.d(t,{An:()=>d,EY:()=>r,HP:()=>c,QB:()=>o,hE:()=>s,hr:()=>n,oJ:()=>a});var l=i(26244);let n=(0,l.I4)("div",{display:"flex",flexDirection:"column",gap:"$24px",width:"100%","@sm":{order:2,flexDirection:"column-reverse","& section:nth-of-type(1)":{order:1}}}
1),s=(0,l.I4)("h4",{fontWeight:"$medium",color:"$neutralBlack500",lineHeight:"22.4px"}),r=(0,l.I4)("span",{color:"$neutralBlack300",fontSize:"$xxs",lineHeight:"19.6px",variants:{weight:{medium:{fontWeight:"$medium",lineHeight:"22.4px"},bold:{fontWeight:"$bold",lineHeight:"22.4px"}}}}),a=(0,l.I4)("div",{display:"flex",padding:"$16px",flexDirection:"row",alignContent:"center",justifyContent:"space-between",borderBottom:"$borderWidths$hairline solid $neutralWhite400",p:{color:"$neutralBlack500",fontSize:"$xs",fontWeight:"$medium",lineHeight:"22.4px"},div:{display:"flex",alignItems:"center"}}),o=(0,l.I4)("div",{display:"flex",justifyContent:"center",marginTop:"$16px",marginBottom:"$16px"}),d=(0,l.I4)("div",{margin:"$16px auto",maxWidth:"1200px",padding:"0 $16px"}),c=(0,l.I4)("section",{display:"flex",gap:"$24px",margin:"0 auto",maxWidth:"1200px",padding:"0 $16px",section:{width:"100%",order:0},"@sm":{flexDirection:"column",padding:"0",margin:"$24px auto",".pix-qrcode":{order:1}}})}},e=>{e.O(0,[6593,8,8705,1116,9270,8593,6645,6667,956,8230,2925,6889,2077,7880,3439,4205,9893,6720,11,9075,7922,2371,4400,1395,948,636,8792],()=>e(e.s=3138)),_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.