PageSourceSearch

https://go.avis.com.au/_next/_v/2.9.2.s15.31/_next/static/chunks/575.3cf68c1b40d21dce.js

js avis.com.au collected 2026-10-01 11:42:35 UTC 3,430 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[575],{70575:(t,e,o)=>{o.r(e),o.d(e,{PartnerOffersCardGridItem:()=>O});var r=o(47388),a=o(52949),i=o(46323),s=o(8516),l=o(81597),n=o(61872),d=o(99701),c=o(10431),p=o(79193),x=o(55301),h=o(90544),f=o(38831),m=o(15763),u=o(37514);let g={"& .MuiDialog-paper":{position:{xs:"fixed",sm:"absolute"},bottom:{xs:0,sm:"auto"},margin:0,width:{xs:"100%"},height:"auto",minHeight:{sm:"422px"},maxHeight:{sm:"768px"},maxWidth:{xs:"100%",sm:"656px"}},"& .MuiDialogTitle-root":{borderBottom:`1px solid ${x.J.lightgrey}`}},b={display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center"},y=({title:t,message:e,copyButtonLabel:o,copiedButtonLabel:i,onSuccess:s,testId:l,discountCodeLabel:d,discountCode:p})=>{let[x,h]=(0,n.useState)(!1),y=()=>{s()};return(0,r.jsx)(m.AbgDialog,{styles:{wrapper:g},hasCloseIcon:!0,testId:l,onClose:y,onBackdropClick:y,controls:(0,r.jsxs)(a.default,{sx:b,children:[(0,r.jsx)(c.Q,{variant:"bodySmallBold",color:"text.primary",children:`${d} ${p}`}),(0,r.jsx)(f.default,{fullWidth:!0,"data-testid":`${l}-${x?"copied":"copy"}-button`,className:"primary",onClick:()=>{navigator.clipboard.writeText(p).then(()=>{h(!0),setTimeout(()=>h(!1),3e3)}).catch(t=>{h(!1),console.error("Failed to copy:",t)})},endIcon:x&&(0,r.jsx)(u.S,{stroke:"#fff",strokeWidth:"1px"}),variant:"contained",sx:{flexBasis:"30%"},children:x?i:o})]}),isOpen:!0,title:t,children:(0,r.jsx)(c.Q,{htmlContent:e})})};var C=o(8061),j=o(37925);let k={position:"relative",top:"5%",width:"100%",height:"100%",display:"flex",justifyContent:"center","& img":{display:"block"}},w={backgroundColor:"rgba(31, 29, 29, 0.2)",display:"flex",alignItems:"center",justifyContent:"space-between",position:"absolute",bottom:0,left:0,right:0},I={marginBottom:"8px","& p":{margin:0}},v={"& p":{margin:0}},B={display:"flex",paddingRight:0,cursor:"pointer","&:hover":{borderColor:x.J.lowContrastStroke,backgroundColor:"transparent"}},O=t=>{let e,{aemAttributes:o,model:n}=t,{openRegularModal:f}=(0,j.V)(),m=(0,d.A)(n.i18n),u={title:m("partnerOffersGridItem.modal.headline.text"),message:n.modalDescription,copyButtonLabel:m("partnerOffersGridItem.modal.cta.copy.label"),copiedButtonLabel:m("partnerOffersGridItem.modal.cta.copied.label"),testId:"partner-offers",discountCode:n.discountCode,discountCodeLabel:m("partnerOffersGridItem.modal.discount.text")};return(0,r.jsx)(a.default,{"data-aue-type":"component",...o,children:(0,r.jsxs)(i.A,{raised:!1,elevation:0,sx:(e=n.backgroundColor,()=>({backgroundColor:e,width:"auto",height:"300px",position:"relative"})),children:[(0,r.jsx)(a.default,{sx:k,children:(0,r.jsx)(h.AemImage,{src:n?.logo?.source,alt:"partner-offers-card-logo",style:{objectFit:"contain"},width:150,height:126})}),(0,r.jsxs)(s.A,{sx:w,children:[(0,r.jsxs)(a.default,{children:[(0,r.jsx)(c.Q,{variant:"h5",fontWeight:700,color:"text.primaryInverse","data-testid":"partner-offer-title",...(0,C.Q)(n.headline),sx:I}),(0,r.jsx)(c.Q,{variant:"bodyRegularRegular",color:"text.primaryInverse","data-testid":"partner-offer-description",...(0,C.Q)(n.bodyContent),sx:v})]}),(0,r.jsx)(l.default,{sx:B,"aria-label":"More information","data-testid":"partner-offer-modal-button",onClick:()=>{f?.(y,u)},children:(0,r.jsx)(p.f,{sx:{color:x.J.white100,width:16,height:16},"data-testid":"arrow-right-image-card"})})]})]})},n.headline)}}}]);
2//# sourceMappingURL=575.3cf68c1b40d21dce.js.map

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.