1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[588],{1806:(e,t,o)=>{o.d(t,{A:()=>l});var a=o(21176),n=o(27001),r=o(58295),i=o(6029);let l=function(){var e=(0,r.A)().classes;return(0,i.jsx)("div",{className:"pt-2 desktop:px-6",children:(0,a.A)(4,function(){return(0,i.jsx)(n.A,{className:"".concat(e.resultItem," ").concat(e.resultItemSkeleton),animation:"wave"})})})}},22588:(e,t,o)=>{o.r(t),o.d(t,{default:()=>eB});var a=o(55729),n=o(4970),r=o(71430),i=o(71220),l=o(59129),c=o(78077),s=o(99571),p=o(30138),d=o(51324),u=o(97588),g=o(50885),m=o(50702),f=o(22480),h=o(46279),v=o(47809),A=o(933),b=o(54249),x=o(93976),C=o(58691),y=o(56121),S=o.n(y),I=o(2556),k=o(1983),j=o(99410),O=o(98226),T=o(17582),E=o(9718),w=o(93595),R=o(6029);let P=(0,w.A)((0,R.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var L=o(77148),D=o(99402),N=o(32820),M=o(66411),_=o(75238),z=o(16492),B=o(46720);function G(e){return(0,B.Ay)("MuiChip",e)}var U=(0,z.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],W=function(e){var t=e.classes,o=e.disabled,a=e.size,n=e.color,r=e.iconColor,i=e.onDelete,l=e.clickable,c=e.variant,s={root:["root",c,o&&"disabled","size".concat((0,D.A)(a)),"color".concat((0,D.A)(n)),l&&"clickable",l&&"clickableColor".concat((0,D.A)(n)),i&&"deletable",i&&"deletableColor".concat((0,D.A)(n)),"".concat(c).concat((0,D.A)(n))],label:["label","label".concat((0,D.A)(a))],avatar:["avatar","avatar".concat((0,D.A)(a)),"avatarColor".concat((0,D.A)(n))],icon:["icon","icon".concat((0,D.A)(a)),"iconColor".concat((0,D.A)(r))],deleteIcon:["deleteIcon","deleteIcon".concat((0,D.A)(a)),"deleteIconColor".concat((0,D.A)(n)),"deleteIcon".concat((0,D.A)(c),"Color").concat((0,D.A)(n))]};return(0,T.A)(s,G,t)},V=(0,_.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var o=e.ownerState,a=o.color,n=o.iconColor,r=o.clickable,i=o.onDelete,l=o.size,c=o.variant;return[(0,m.A)({},"& .".concat(U.avatar),t.avatar),(0,m.A)({},"& .".concat(U.avatar),t["avatar".concat((0,D.A)(l))]),(0,m.A)({},"& .".concat(U.avatar),t["avatarColor".concat((0,D.A)(a))]),(0,m.A)({},"& .".concat(U.icon),t.icon),(0,m.A)({},"& .".concat(U.icon),t["icon".concat((0,D.A)(l))]),(0,m.A)({},"& .".concat(U.icon),t["iconColor".concat((0,D.A)(n))]),(0,m.A)({},"& .".concat(U.deleteIcon),t.deleteIcon),(0,m.A)({},"& .".concat(U.deleteIcon),t["deleteIcon".concat((0,D.A)(l))]),(0,m.A)({},"& .".concat(U.deleteIcon),t["deleteIconColor".concat((0,D.A)(a))]),(0,m.A)({},"& .".concat(U.deleteIcon),t["deleteIcon".concat((0,D.A)(c),"Color").concat((0,D.A)(a))]),t.root,t["size".concat((0,D.A)(l))],t["color".concat((0,D.A)(a))],r&&t.clickable,r&&"default"!==a&&t["clickableColor".concat((0,D.A)(a),")")],i&&t.deletable,i&&"default"!==a&&t["deletableColor".concat((0,D.A)(a))],t[c],t["".concat(c).concat((0,D.A)(a))]]}})(function(e){var t=e.theme,o=e.ownerState,a="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,j.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},"&.".concat(U.disabled),{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"}),"& .".concat(U.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:a,fontSize:t.typography.pxToRem(12)}),"& .".concat(U.avatarColorPrimary),{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark}),"& .".concat(U.avatarColorSecondary),{color:(t.vars||t).palette.secondary.c
1ontrastText,backgroundColor:(t.vars||t).palette.secondary.dark}),"& .".concat(U.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}),"& .".concat(U.icon),(0,j.A)({marginLeft:5,marginRight:-6},"small"===o.size&&{fontSize:18,marginLeft:4,marginRight:-4},o.iconColor===o.color&&(0,j.A)({color:t.vars?t.vars.palette.Chip.defaultIconColor:a},"default"!==o.color&&{color:"inherit"}))),"& .".concat(U.deleteIcon),(0,j.A)({WebkitTapHighlightColor:"transparent",color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.26)"):(0,E.X4)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.4)"):(0,E.X4)(t.palette.text.primary,.4)}},"small"===o.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==o.color&&{color:t.vars?"rgba(".concat(t.vars.palette[o.color].contrastTextChannel," / 0.7)"):(0,E.X4)(t.palette[o.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[o.color].contrastText}})),"small"===o.size&&{height:24},"default"!==o.color&&{backgroundColor:(t.vars||t).palette[o.color].main,color:(t.vars||t).palette[o.color].contrastText},o.onDelete&&(0,m.A)({},"&.".concat(U.focusVisible),{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,E.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}),o.onDelete&&"default"!==o.color&&(0,m.A)({},"&.".concat(U.focusVisible),{backgroundColor:(t.vars||t).palette[o.color].dark}))},function(e){var t=e.theme,o=e.ownerState;return(0,j.A)({},o.clickable&&(0,m.A)((0,m.A)({userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,E.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}},"&.".concat(U.focusVisible),{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,E.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}),"&:active",{boxShadow:(t.vars||t).shadows[1]}),o.clickable&&"default"!==o.color&&(0,m.A)({},"&:hover, &.".concat(U.focusVisible),{backgroundColor:(t.vars||t).palette[o.color].dark}))},function(e){var t=e.theme,o=e.ownerState;return(0,j.A)({},"outlined"===o.variant&&(0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)({backgroundColor:"transparent",border:t.vars?"1px solid ".concat(t.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700])},"&.".concat(U.clickable,":hover"),{backgroundColor:(t.vars||t).palette.action.hover}),"&.".concat(U.focusVisible),{backgroundColor:(t.vars||t).palette.action.focus}),"& .".concat(U.avatar),{marginLeft:4}),"& .".concat(U.avatarSmall),{marginLeft:2}),"& .".concat(U.icon),{marginLeft:4}),"& .".concat(U.iconSmall),{marginLeft:2}),"& .".concat(U.deleteIcon),{marginRight:5}),"& .".concat(U.deleteIconSmall),{marginRight:3}),"outlined"===o.variant&&"default"!==o.color&&(0,m.A)((0,m.A)((0,m.A)({color:(t.vars||t).palette[o.color].main,border:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette[o.
1color].mainChannel," / 0.7)"):(0,E.X4)(t.palette[o.color].main,.7))},"&.".concat(U.clickable,":hover"),{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[o.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,E.X4)(t.palette[o.color].main,t.palette.action.hoverOpacity)}),"&.".concat(U.focusVisible),{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[o.color].mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,E.X4)(t.palette[o.color].main,t.palette.action.focusOpacity)}),"& .".concat(U.deleteIcon),{color:t.vars?"rgba(".concat(t.vars.palette[o.color].mainChannel," / 0.7)"):(0,E.X4)(t.palette[o.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[o.color].main}}))}),H=(0,_.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var o=e.ownerState.size;return[t.label,t["label".concat((0,D.A)(o))]]}})(function(e){var t=e.ownerState;return(0,j.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})});function X(e){return"Backspace"===e.key||"Delete"===e.key}var F=a.forwardRef(function(e,t){var o=(0,M.b)({props:e,name:"MuiChip"}),n=o.avatar,r=o.className,i=o.clickable,l=o.color,c=void 0===l?"default":l,s=o.component,p=o.deleteIcon,d=o.disabled,u=void 0!==d&&d,g=o.icon,m=o.label,f=o.onClick,h=o.onDelete,v=o.onKeyDown,A=o.onKeyUp,b=o.size,x=o.variant,C=o.tabIndex,y=o.skipFocusWhenDisabled,S=(0,k.A)(o,Y),I=a.useRef(null),T=(0,L.A)(I,t),E=function(e){e.stopPropagation(),h&&h(e)},w=!1!==i&&!!f||i,D=w||h?N.A:s||"div",_=(0,j.A)({},o,{component:D,disabled:u,size:void 0===b?"medium":b,color:c,iconColor:a.isValidElement(g)&&g.props.color||c,onDelete:!!h,clickable:w,variant:void 0===x?"filled":x}),z=W(_),B=D===N.A?(0,j.A)({component:s||"div",focusVisibleClassName:z.focusVisible},h&&{disableRipple:!0}):{},G=null;h&&(G=p&&a.isValidElement(p)?a.cloneElement(p,{className:(0,O.A)(p.props.className,z.deleteIcon),onClick:E}):(0,R.jsx)(P,{className:(0,O.A)(z.deleteIcon),onClick:E}));var U=null;n&&a.isValidElement(n)&&(U=a.cloneElement(n,{className:(0,O.A)(z.avatar,n.props.className)}));var F=null;return g&&a.isValidElement(g)&&(F=a.cloneElement(g,{className:(0,O.A)(z.icon,g.props.className)})),(0,R.jsxs)(V,(0,j.A)({as:D,className:(0,O.A)(z.root,r),disabled:!!w&&!!u||void 0,onClick:f,onKeyDown:function(e){e.currentTarget===e.target&&X(e)&&e.preventDefault(),v&&v(e)},onKeyUp:function(e){e.currentTarget===e.target&&(h&&X(e)?h(e):"Escape"===e.key&&I.current&&I.current.blur()),A&&A(e)},ref:T,tabIndex:void 0!==y&&y&&u?-1:C,ownerState:_},B,S,{children:[U||F,(0,R.jsx)(H,{className:(0,O.A)(z.label),ownerState:_,children:m}),G]}))}),K=o(60938),Q=o(51345),J=o(16486),q=o(59069),Z=o(21808);function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,a)}return o}var ee="SELECTIONS",et=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach(function(t){(0,m.A)(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}({},Z.oo),eo=o(92497),ea=o(70010),en=(0,eo.A)()(function(){return{activeChipContainer:{backgroundColor:ea.iL[ea.QU.PRIMARY],border:"0.1rem solid".concat(ea.LJ[ea.QU.ACCENT]),"&:hover, &:focus":{backgroundColor:ea.tj[ea.QU.ACCENT2],border:"0.1rem solid".concat(ea.tj[ea.QU.PRIMARY]),"& .MuiSvgIcon-root path":{stroke:ea.tj[ea.QU.PRIMARY]}},"&:active":{backgroundColor:ea.tj[ea.QU.ACCENT2],border:"0.1rem solid".concat(ea.tj[ea.QU.PRIMARY]),"& .MuiSvgIcon-root path":{stroke:ea.tj[ea.QU.PRIMARY]}},"& .MuiSvgIcon-root path":{stroke:ea.LJ[ea.QU.TERTIARY]}}
1,activeChipIcon:{"& .MuiChip-iconMedium":{width:"1.6rem",height:"1.6rem",left:".8rem",top:".8rem"},"& .MuiChip-deleteIconMedium":{"&:hover":{backgroundColor:"unset"}},"& .MuiSvgIcon-root path":{stroke:ea.LJ[ea.QU.TERTIARY]}},disabledChipContainer:{backgroundColor:ea.iL[ea.QU.PRIMARY],border:"0.1rem solid".concat(ea.LJ[ea.QU.ACCENT])},disabledChipIcon:{"& .MuiChip-iconMedium":{width:"1.6rem",height:"1.6rem",left:".8rem",top:".8rem"},"& .MuiChip-deleteIconMedium":{"&:hover":{backgroundColor:"unset"}},"& .MuiSvgIcon-root path":{stroke:ea.LJ[ea.QU.ACCENT]}}}}),er=["label","type","onClick","className","disabled","iconProps","analyticsTag","customCloseIcon"];function ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,a)}return o}function el(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(o),!0).forEach(function(t){(0,m.A)(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ei(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}var ec=function(e){return(0,R.jsx)(c.Ay,{type:c.og.CAPTION_REGULAR,color:c.nh.SECONDARY,overflow:"auto",children:e})},es=function(e){return(0,R.jsx)(c.Ay,{type:c.og.CAPTION_REGULAR,color:c.nh.DISABLED,children:e})},ep=(0,a.forwardRef)(function(e,t){var o,a=e.label,r=e.type,i=e.onClick,l=e.className,c=e.disabled,s=e.iconProps,p=e.analyticsTag,d=e.customCloseIcon,u=(0,C.A)(e,er),g=en().classes,m=function(e){return(0,R.jsx)(e,el({size:q.hS.SMALL},s))},f={};r===ee?f.onDelete=i:f.onClick=i;var h=c?"".concat(g.disabledChipContainer," ").concat(g.disabledChipIcon):"".concat(g.activeChipContainer," ").concat(g.activeChipIcon),v=p.dataDtm,A=void 0===v?I.EMPTY_STRING:v;return(0,R.jsx)(F,el(el({ref:t,classes:{root:"".concat(h," ").concat(l," ").concat(Q._.STAT_TEXT_LINK)},label:(0,R.jsx)("div",{children:(c?es:ec)(a)}),icon:"ACTIONS"===r?m(J.A):null,deleteIcon:r===ee?(o=n.A,d?(0,R.jsx)("div",{children:(0,R.jsx)("div",{children:d()})}):(0,R.jsx)(K.A,el(el({},s),{},{children:m(o)}))):null,"data-dtm":A,tabIndex:0},f),u))});ep.propTypes={label:S().string.isRequired,type:S().string,className:S().string,onClick:S().func,disabled:S().bool,clickable:S().bool,size:S().string,iconProps:S().object,analyticsTag:S().object},ep.defaultProps={type:"SUGGESTIONS",className:"",onClick:void 0,disabled:!1,clickable:!1,size:et.MEDIUM,iconProps:I.EMPTY_OBJECT,analyticsTag:I.EMPTY_OBJECT};var ed=o(73855),eu=o(52495),eg=o(53281),em=o(65797),ef=(0,eo.A)()(function(e){return(0,em.Ay)(e),{paper:{boxShadow:Z.iU[Z.xI.POPOVER],top:"50px !important",overflowX:"hidden !important",overflowY:"hidden !important"},searchLabel:{width:"80%",fontSize:"20px",lineHeight:"26px",fontWeight:"700",color:e.palette.primary.CB_DARK_GREEN},searchTextTitle:{fontSize:"14px",lineHeight:"22px",fontWeight:"700",color:e.palette.secondary.main,marginBottom:"16px"},detailsTextTitle:{fontSize:"20px",lineHeight:"26px",fontWeight:"700",marginBottom:"16px !important",color:e.palette.primary.CB_DARK_GREEN},focusVisible:{"&:focus-visible":{outline:"2px solid #0077d9",outlineOffset:"2px"}},csmTitle:{fontSize:"20px",lineHeight:"26px",fontWeight:"700",color:e.palette.primary.CB_DARK_GREEN},csmContinueSection:{borderTop:"1px solid #CDD8DB",display:"flex",justifyContent:"right",padding:"24px 0px 0px"},csmContinueButton:{fontSize:"16px",lineHeight:"24px",fontWeight:"700",padding:"12px 24px"},csmModalRoot:{height:"auto"},detailsSectionBorder:{borderTop:"1px solid ".concat(e.palette.backgrounds.grayDark)},editIcon:{marginLeft:"16px",color:"#6A8A92"},deleteTitle:{color:e.palette.primary.CB_DARK_GREEN,fontSize:"20px",lineHeight:"26px",marginBottom:"8px",fontWeight:"700"},deleteInfo:{fontSize:"16px",lineHeight:"20px",fontWeight:"300"},deleteName:{fontWeight:"700"},indicatorSubtext:{fontSize:"14px",lineHeight:"22px",fontWeight:"300",marginTop:"16px"},buttonDevider:{height:"24px",borderLeft:"1px solid ".concat(e.palette.backgrounds.grayDark),margin:"0px 16px"},vehicleCountText:{fontSize:"14px",lineHeight:"22px",color:e.palette.primary.CB_DARK_GREEN},fontweight700:{fontWeight:"700",marginRight:"4px"},createModalPaper:{height:"auto !important"},modalContainer:(0,m.A)({},e.breakpoints.down(em.LO[em.g7.SM]),{alignItems:"flex-end !important"}),saveSearchDetailsContainer:{zIndex:"2000 !important"},saveSearchcontainer:(0,m.A)({justifyContent:"flex-end !important"},e.breakpoints.down(em.LO[em.g7.SM]),{alignItems:"flex-end !important"}),saveSearchDetailsPaper:(0,m.A)({padding:"24px !important",height:"100% !important",borderRadius:"0px !important",margin:"0px !important",maxHeight:"none !important"},e.breakpoints.down(em.LO[em.g7.SM]),{maxHeight:"75% !important"}),w80:{width:"80px"},h80:{height:"80px"},wFull:{width:"100%"},wAutoImportant:{width:"auto"},flex:{display:"flex"},flexCol:{flexDirection:"column"},flexRow:{flexDirection:"row"},flexWrap:{flexWrap:"wrap"},alignCenter:{alignItems:"center"},justifyCenter:{justifyContent:"center"},justifyBetween:{justifyContent:"space-between"},justifyStart:{justifyContent:"flex-start"},justifyEnd:{justifyContent:"flex-end"},textCenter:{textAlign:"center"},wFit:{width:"fit-content"},top256:{top:"2.56rem"},gap2:{gap:"0.8rem"},gap4:{gap:"1rem"},gap8:{gap:"8px"},gap16:{gap:"16px"},gap24:{gap:"24px"},mt16:{marginTop:"16px"},mt24:{marginTop:"24px"}
1,mb16:{marginBottom:"16px"},mb24:{marginBottom:"24px"},ml16:{marginLeft:"16px"},ml24:{marginLeft:"24px"},p24:{padding:"24px"},pl16:{paddingLeft:"16px"},pr16:{paddingRight:"16px"},px16:{paddingLeft:"16px",paddingRight:"16px"},py24:{paddingTop:"24px",paddingBottom:"24px"},border:{borderWidth:"1px",borderStyle:"solid",borderColor:"#CDD8DB"},scrollDetails:{overflowY:"auto"},savedSearch:(0,m.A)({display:"flex",flexDirection:"column",gap:"0.8rem",marginBottom:"1.2rem"},e.breakpoints.up(em.LO[em.g7.LG]),{paddingLeft:"2.4rem",paddingRight:"2.4rem"}),topDesktopCloseIcon:(0,m.A)({top:"2.56rem !important"},e.breakpoints.up(em.LO[em.g7.LG]),{top:"2.4rem !important"})}});function eh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,a)}return o}let ev=function(){var e=ef(),t=e.classes,o=e.cx,n=(0,a.useContext)(b.A),r=n.list,i=n.triggerFetchListAPI,l=(0,x.FP)(),s=(0,A.ce)(l);(0,a.useEffect)(function(){s&&i()},[s,i]);var p=function(e){var t=(0,eu.Jb)(e);(0,v.B2)({page:eg.J2.SEARCH,query:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?eh(Object(o),!0).forEach(function(t){(0,m.A)(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):eh(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}({},t),options:{removeQuery:!0}})};return(0,R.jsx)(ed.A,{controllerProperty:s&&(0,h.A)(r)&&r.length>0,renderer:function(){return(0,R.jsxs)("div",{className:t.savedSearch,children:[(0,R.jsx)(c.Ay,{color:c.nh.SECONDARY,type:c.og.HEADING_5_BOLD,children:__("My Saved Searches")}),(0,R.jsx)("div",{className:o(t.flex,t.flexWrap,t.gap2),children:(0,f.A)(r,function(e){var t=e.filterName,o=e.filters;return(0,R.jsx)(ep,{label:t,onClick:function(){return p(o)}})})})]})}})};var eA=o(27997),eb=o(51832),ex=o(1806),eC=(0,eb.A)(function(){return o.e(178).then(o.bind(o,53797))},{loading:function(){return(0,R.jsx)(ex.A,{})}}),ey=o(71332),eS=o(94162),eI=o(25680),ek=o(65838),ej=o(44107),eO=o(80512),eT=(0,eo.A)()(function(e){return{icon:{fontSize:"1.6rem"},arrowIcon:{marginLeft:"1.6rem"},searchInput:{"& .MuiInput-input":{padding:"1rem 0",fontSize:"1.4rem",color:e.palette.typography.primary},"& .MuiInput-root":{height:"5rem",borderBottom:"0.1rem solid ".concat(e.palette.dividerNBorders.lightInput," !important")},"& .MuiInput-root:before":{borderBottom:"0.1rem solid ".concat(e.palette.dividerNBorders.lightInput," !important")},"& .MuiInput-root:after":{height:"5rem",borderBottom:"0.1rem solid ".concat(e.palette.dividerNBorders.lightInput," !important")}},defaultChips:{flexWrap:"wrap",gap:"0.5rem"}}}),eE=function(e){var t=e.placeholder,o=e.initialValue,r=e.value,l=e.onChange,s=e.additionalEndAdorment,p=e.onEnter,g=e.onClose,m=e.analyticsTag,f=(e.isbackEnabled,e.enableAutoFocus),h=(0,d.A)().desktop,v=eT().classes,A=void 0!==o,b=(0,a.useState)(o),x=b[0],C=b[1],y=function(e){C(e)},S=(0,a.useRef)(null);(0,a.useEffect)(function(){var e;f&&(null==S||null==(e=S.current)||e.focus())},[f]);var k=function(){A?(y(I.EMPTY_STRING),l(I.EMPTY_STRING)):l({target:{value:I.EMPTY_STRING}})},j=m.dataDtm,O=void 0===j?I.EMPTY_STRING:j,T=A?x:r;return(0,R.jsx)(ej.A,{inputRef:S,className:v.searchInput,fullWidth:!0,value:T,variant:"standard",InputProps:{startAdornment:(0,R.jsxs)(ek.A,{position:"start",children:[(0,R.jsx)(ed.A,{controllerProperty:h,renderer:function(){return(0,R.jsx)(eS.A,{className:v.icon})}}),(0,R.jsx)(ed.A,{controllerProperty:!h,renderer:function(){return(0,R.jsx)(i.A,{onClick:g,"aria-label":u.gb.LABEL,children:(0,R.jsx)(ey.A,{className:"".concat(v.icon," ").concat(v.arrowIcon)})})}})]}),endAdornment:(0,R.jsxs)(ek.A,{position:"end",children:[(0,R.jsx)(ed.A,{controllerProperty:h&&T.length>0,renderer:function(){return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(eO.Ay,{className:Q._.STAT_TEXT_LINK,type:eO.lP.PLAIN,onClick:k,"data-dtm":O,children:(0,R.jsx)(c.Ay,{type:c.og.CTA_SMALL_BOLD,color:c.nh.PRIMARY_CTA_BLUE,children:__("Clear")})}),(0,R.jsx)(eI.A,{classes:"ml-1 mr-1"})]})}}),function(e){if(h)return null;var t=!(e.length>0);return(0,R.jsx)(i.A,{onClick:k,"aria-label":u.Hz.LABEL,disabled:t,children:(0,R.jsx)(n.A,{size:q.hS.SMALL,className:"!mr-5 desktop:!mr-0 text-inherit"})})}(T),(0,R.jsx)(ed.A,{controllerProperty:h,renderer:function(){return s}})]}),placeholder:t},inputProps:{className:Q._.STAT_INPUT_FIELD,"data-dtm":O},onChange:function(e){if(!A)return void l(e);var t=e.target.value;y(t),l(t)},onKeyDown:function(e){13===e.keyCode&&(p(x),e.preventDefault())}})};eE.defaultProps={initialValue:void 0,value:I.EMPTY_STRING,onChange:p.A,placeholder:"",additionalEndAdorment:p.A,onEnter:p.A,isbackEnabled:!1,onClose:p.A,analyticsTag:I.EMPTY_OBJECT,enableAutoFocus:!0};var ew=o(49117),eR=o(96459),eP={textSuggestions:(0,eR.A)("textSuggestions"),imageSuggestions:(0,eR.A)("imageSuggestions")},eL={count:(0,eR.A)("count"),displayText:(0,eR.A)("displayText"),filters:(0,eR.A)("filters"),tenantId:(0,eR.A)("tenantId"),imgUrl:(0,eR.A)("imgUrl"),subText:(0,eR.A)("subText"),tag:(0,eR.A)("tag")},eD=["Vehicle","Dealership","VIN"],eN=(0,eo.A)()(function(e,t){var o=t.placeholder,a=(0,em.Ay)(e);return{dialogContainer:(0,m.A)({},a[em.g7.LG],{alignItems:"flex-start",backgroundColor:"".concat(e.palette.backgrounds.modalDarkB
1ackdrop,"b3")}),paper:(0,m.A)((0,m.A)((0,m.A)({padding:"0 !important"},a[em.g7.MD],{borderRadius:"0.8rem"}),a[em.g7.LG],{height:"auto",width:"90%",maxWidth:"90%",maxHeight:"56rem",marginTop:"5rem"}),a[em.g7.XXL],{width:"96%",maxWidth:"96%",marginTop:"8rem"}),container:{display:"flex",flexDirection:"column",overflow:"hidden",maxHeight:"100%"},resultsContainer:(0,m.A)({overflowX:"hidden",overflowY:"auto",flex:1},a[em.g7.LG],{maxHeight:"56.2rem"}),resultSection:{margin:"1rem 0"},searchInput:{position:"relative",zIndex:0,overflow:"hidden",":before":(0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)({content:'"'.concat(o,'"'),position:"absolute"},a[em.g7.XS],{left:"45px"}),a[em.g7.XXL],{left:"30px"}),"top","20px"),"color","#a9a9a9"),"whiteSpace","nowrap"),"fontSize","1.4rem"),"pointerEvents","none"),"zIndex",-1),':not([value=""])::before':{display:"none"}},fadeIn:{":before":{transition:"1.2s cubic-bezier(0,.98,1,-0.01)",transform:"translateY(-40px);"}},fadeOut:{":before":{transform:"translateY(30px);"}}}}),eM=o(62196),e_=function(e){var t=eM.G.isLoading(e),o=eM.G.isError(e),a=eM.G.isComplete(e),n=eM.G.data(e);return{isLoading:t,isError:o,isComplete:a,textSuggestions:eP.textSuggestions(n)}},ez=function(e){var t,o=e.open,p=e.onClose,m=e.onClick,f=e.onEnter,h=(0,a.useState)(eD[0]),v=h[0],A=h[1],b=(0,a.useState)(!0),x=b[0],C=b[1],y=(0,a.useCallback)(function(){var e=Math.floor(Math.random()*eD.length);C(!x),A(eD[e])},[x]);(0,a.useEffect)(function(){var e=setInterval(y,1200);return function(){return clearInterval(e)}},[y]);var S=eN({placeholder:__("Search by â".concat(v,"â"))}).classes,I=(0,d.A)().desktop,k=(0,ew.A)(),j=k.searchResult,O=k.localSearchText,T=k.onAuthSearchSubmit,E=k.onAutoSearch;k.onAutoSearchClear;var w=(0,a.useState)(O),P=w[0],L=w[1],D=e_(j),N=D.isLoading,M=D.textSuggestions,_=(0,s.A)(E,500),z=function(){p()},B={dataDtm:eA.k.SEARCH_MODAL},G=null!=(t=null==M?void 0:M.filter(function(e){var t;return null==e||null==(t=e.filters)||null==(t=t.dealerBac)||null==(t=t.values)?void 0:t.length}))?t:[],U=G.length>0;return(0,R.jsx)(l.A,{open:o,onClose:z,dialogClasses:{container:S.dialogContainer,paper:S.paper},mobileViewBreakpoint:g.g7.LG,showCloseIcon:!1,children:(0,R.jsxs)("div",{className:S.container,children:[(0,R.jsx)("div",{className:"desktop:mx-4 px-0 ",children:(0,R.jsx)("div",{className:"".concat(S.searchInput," ").concat(x?S.fadeIn:S.fadeOut),value:P||O,children:(0,R.jsx)(eE,{isbackEnabled:!I,initialValue:O,onEnter:function(e){T(e),f(e),p()},onChange:function(e){L(e),_(e)},onClose:z,placeholder:"",additionalEndAdorment:(0,R.jsx)(i.A,{onClick:z,"aria-label":u.gb.LABEL,children:(0,R.jsx)(n.A,{size:I?r.hS.MEDIUM:r.hS.SMALL,className:"!mr-5 desktop:!mr-0"})}),analyticsTag:B})})}),(0,R.jsx)("div",{className:S.resultsContainer,children:(0,R.jsxs)("div",{className:"flex flex-col px-4",children:[(0,R.jsx)(ev,{}),(N||U)&&(0,R.jsxs)(R.Fragment,{children:[U?(0,R.jsx)("div",{className:"flex flex-col desktop:px-6 py-2",children:(0,R.jsx)(c.Ay,{color:c.nh.SECONDARY,type:c.og.CAPTION_REGULAR,children:__("Dealership Suggestions:")})}):null,(0,R.jsx)(eC,{isLoading:N,suggestions:G,refText:O,onSelection:function(e){m(eL.filters(e)),p()},analyticsTag:B})]})]})})]})})};let eB=ez;ez.defaultProps={onClose:p.A,onClick:p.A,onEnter:p.A}},58295:(e,t,o)=>{o.d(t,{A:()=>r});var a=o(92497),n=o(33916);let r=(0,a.A)()(function(){return{resultItem:{height:"4.6rem"},resultItemSkeleton:{height:"3.2rem"},highlight:{fontWeight:n.sO[n.dv.BOLD]}}})}}]);
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.