1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="13d8f804-ff4b-4b8c-aa6f-6168fac92607",e._sentryDebugIdIdentifier="sentry-dbid-13d8f804-ff4b-4b8c-aa6f-6168fac92607")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7097],{9179:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Gift=void 0;let n=i(80263),a=r(i(60318)),o=i(77761);t.Gift=({title:e,brand:t,image:i,badge:r})=>(0,n.jsxs)(o.GiftWrapper,{"data-testid":"gift-item",children:[(0,n.jsx)(o.GiftImageWrapper,{children:(0,n.jsx)(o.GiftImage,{src:i,alt:`${t} - ${e}`})}),(0,n.jsxs)(o.GiftInfoWrapper,{children:[(0,n.jsx)(o.GiftBrand,{"data-testid":"gift-brand",children:t}),(0,n.jsx)(o.GiftTitle,{"data-testid":"gift-title",children:e}),r&&(0,n.jsx)(a.default,{"data-testid":"gift-badge",variant:"promotion",size:"large",isFilled:!1,children:r})]})]})},16139:function(e,t,i){var r,n,a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PromoEncartVariant=void 0;let o=i(80263),l=a(i(58146)),s=a(i(34740)),d=a(i(39665)),c=i(81814),p=i(53239),u=i(9179),f=i(65925),h=i(63862),g=i(99445);(r=n||(t.PromoEncartVariant=n={})).STANDARD="standard",r.PETIT_EXTRA="petit_extra",t.default=({imageUrl:e,text:t,link:i,title:r,LinkWrapper:a,isFullWidth:b,isExpandable:x=!0,onExpand:y,popinTitle:v,gifts:_,giftButtonText:m})=>{let[j,w]=(0,p.useState)(!1),[O,$]=(0,p.useState)(!1),M=a||(e=>(0,o.jsx)("a",Object.assign({},e))),T=r?n.PETIT_EXTRA:n.STANDARD,I=!!_&&_.length>0,P=I&&_.length>1,k=x&&!!(i||O||P),E=!x||j,W=(0,c.useContainer)("10"),D=()=>{k&&(y&&!j&&y(),w(e=>!e))};return(0,o.jsx)(c.ModalManagerProvider,{container:W,children:(0,o.jsxs)(g.PromoEncartWrapper,{"data-testid":"promo-encart",$isFullWidth:b,children:[(0,o.jsxs)(g.Header,{$variant:T,children:[(0,o.jsxs)(g.IconTitleWrapper,{$variant:T,children:[e&&(0,o.jsx)(g.IconWrapper,{children:(0,o.jsx)("img",{src:e,alt:"",role:"presentation"})}),r?(0,o.jsx)(g.TitleTypography,{children:r}):(0,o.jsx)(h.Message,{isExpanded:E,text:t,link:i,LinkWrapper:a,isExpandable:k,popinTitle:v,onHeightChange:$})]}),k&&(0,o.jsx)(g.ToggleButton,{onClick:D,children:j?(0,o.jsx)(d.default,{width:24,height:24,"data-testid":"message-close"}):(0,o.jsx)(s.default,{width:24,height:24,"data-testid":"message-open"})})]}),T===n.PETIT_EXTRA&&(0,o.jsx)(g.Body,{children:(0,o.jsx)(h.Message,{isExpanded:E,text:t,link:i,LinkWrapper:a,isExpandable:k,popinTitle:v,onHeightChange:$})}),(I&&!P||P&&E)&&(0,o.jsx)(g.GiftsSection,{"data-testid":"promo-encart-gifts",children:_.map((e,t)=>(0,o.jsx)(u.Gift,{title:e.title,brand:e.brand,image:e.image,badge:e.badge},t))}),P&&!E&&m&&(0,o.jsx)(g.GiftsButtonWrapper,{children:(0,o.jsx)(l.default,{variant:"text",size:"large",onClick:D,isFullWidth:!0,children:m})}),i&&E&&(0,o.jsx)(f.Link,{link:i,LinkWrapperComponent:M,popinTitle:v,hasTitle:!!r})]})})}},29491:function(e,t,i){var r=this&&this.__rest||function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;let a=i(80263),o=n(i(72113)),l=n(i(25469)),s=i(57952);t.Modal=e=>{var{children:t,handleClose:i,isOpen:n,maxWidth:d,title:c}=e,p=r(e,["children","handleClose","isOpen","maxWidth","title"]);return(0,a.jsx)(l.default,Object.assign({enableEscapeKeyDown:!0,open:n,onClose:i},p,{children:(0,a.jsxs)(s.ModalContainer,{"data-testid":"modal-container",$maxWidth:d,children:[(0,a.jsx)(s.ActionContainer,{onClick:i,"data-testid":"modal-close-button",children:(0,a.jsx)(o.default,{width:"24px",height:"24px"})}),(0,a.jsxs)(s.Container,{children:[(0,a.jsx)(s.Title,{children:c}),t]})]})}))}},57952:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IframeContainer=t.Title=t.ButtonContainer=t.ActionContainer=t.Container=t.ModalContainer=void 0;let n=r(i(2450));t.ModalContainer=n.default.div` 2 width: 90vw; 3 max-width: ${({$maxWidth:e})=>null!=e?e:1200}px; 4 height: auto; 5 max-height: 80vh; 6`,t.Container=n.default.div` 7 padding: ${({theme:e})=>e.space.s200}; 8 height: calc(100% - ${({theme:e})=>e.space.s400}); 9 display: flex; 10 flex-direction: column; 11`,t.ActionContainer=n.default.div` 12 position: absolute; 13 top: 15px; 14 left: 15px; 15 16 cursor: pointer; 17`,t.ButtonContainer=n.default.div` 18 display: flex; 19 justify-content: flex-end; 20 margin-top: ${({theme:e})=>e.space.s400}; 21`,t.Title=n.default.h3` 22 text-align: center; 23 24 margin: 0 ${({theme:e})=>e.space.s400}; 25 padding-bottom: ${({theme:e})=>e.space.s400}; 26 27 ${({theme:e})=>e.typography.heading.subheading}; 28`,t.IframeContainer=n.default.iframe` 29 width: 100%; 30 height: ${({$height:e})=>null!=e?e:250}px; 31 border: none; 32 border-radius: 4px; 33`},60520:function(e,t,i){var r=this&&this.__rest||function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i};Object.defineProperty(t,"__esModule",{value:!0}),t.IconBack=void 0;let n=i(80263);t.IconBack=e=>{var{title:t,titleId:i,height:a="30px",width:o="30px"}=e,l=r(e,["title","titleId","height","width"]);return(0,n.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 24 24","aria-labelledby":i},l,{children:[t?(0,n.jsx)("title",{id:i,children:t}):null,(0,n.jsx)("path",{fill:"#464650",fillRule:"evenodd",d:"M19.494 11.5H5.644l6.215-6.66a.499.499 0 1 0-.73-.682l-7 7.5c-.009.01-.008.023-.016.032a.5.5 0 0 0-.096.192q-.007.028-.012.057a.5.5 0 0 0 .028.247q.001.005.002.012c.005.012.018.017.023.03.021.038.04.078.071.112l7 7.5a.5.5 0 0 0 .706.024.5.5 0 0 0 .024-.706L5.644 12.5h13.85a.5.5 0 0 0 0-1"})]}))},t.default=t.IconBack},63862:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;let r=i(80263),n=i(53239),a=i(65569),o=i(99445);t.Message=({isExpanded:e,text:t,onHeightChange:i})=>{let l=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=()=>{if(l.current&&i){let e=parseInt(getComputedStyle(l.current).lineHeight);i(l.current.scrollHeight>e*a.MAX_NUMBER_OF_LINES)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[t,i]),(0,r.jsx)(o.TextTypography,{ref:l,$isExpanded:e,dangerouslySetInnerHTML:{__html:t}})}},65569:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_NUMBER_OF_LINES=t.MODAL_MAX_WIDTH=void 0,t.MODAL_MAX_WIDTH=480,t.MAX_NUMBER_OF_LINES=2},65925:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;let r=i(80263),n=i(53239),a=i(65569),o=i(99445),l=i(74275),s=i(57952),d=i(75185),c=i(29491);t.Link=({link:e,LinkWrapperComponent:t,popinTitle:i,hasTitle:p})=>{let[u,f]=(0,n.useState)(!1),[h,g]=(0,n.useState)(250),b=(0,n.useRef)(null);return(0,r.jsxs)(o.Body,{children:[(0,r.jsx)(l.LinkTitleWrapper,{$hasTitle:p,children:(0,r.jsx)(t,{onClick:e=>{e.preventDefault(),f(!0)},children:e.title})}),(0,r.jsx)(c.Modal,{isOpen:u,handleClose:()=>f(!1),title:i,maxWidth:a.MODAL_MAX_WIDTH,children:(0,r.jsx)(s.IframeContainer,{ref:b,src:e.url,onLoad:()=>{var e;if(b.current){let t=null==(e=null==b?void 0:b.current)?void 0:e.contentDocument;t&&g((0,d.getIframeHeight)(t.body,t.documentElement))}},$height:h,"data-testid":"modal-iframe"})})]})}},74275:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkTitleWrapper=void 0;let n=r(i(2450));t.LinkTitleWrapper=n.default.div` 34 // Calc (gap between icon and title + icon width of 24px): This aligns the link text with the start of the body text when there is no title 35 margin-left: ${({$hasTitle:e,theme:t})=>e?"0px":`calc(${t.space.s100} + 24px)`}; 36 & > a { 37 color: ${({theme:e})=>e.bloom.colors.ct.primary}; 38 ${({theme:e})=>e.typography.body.smallText}; 39 text-decoration: underline; 40 cursor: pointer; 41 } 42`},75185:(e,t)=>
42{Object.defineProperty(t,"__esModule",{value:!0}),t.getIframeHeight=void 0,t.getIframeHeight=(e,t)=>{var i,r,n;return Math.max(null!=(i=null==e?void 0:e.scrollHeight)?i:0,null!=(r=null==e?void 0:e.offsetHeight)?r:0,null!=(n=null==t?void 0:t.offsetHeight)?n:0)}},77761:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GiftTitle=t.GiftBrand=t.GiftInfoWrapper=t.GiftImage=t.GiftImageWrapper=t.GiftWrapper=void 0;let n=r(i(2450));t.GiftWrapper=n.default.div` 43 display: flex; 44 flex-direction: row; 45 gap: ${({theme:e})=>e.space.s200}; 46 align-items: center; 47 padding: ${({theme:e})=>e.space.s100}; 48 background: ${({theme:e})=>e.colors.white.s100}; 49 border-radius: ${({theme:e})=>e.radius.s200}; 50 box-sizing: border-box; 51 width: 100%; 52 53 @media (min-width: ${({theme:e})=>e.breakpoint.tablet}) { 54 width: 50%; 55 } 56`,t.GiftImageWrapper=n.default.div` 57 width: 88px; 58 height: 88px; 59`,t.GiftImage=n.default.img` 60 width: 100%; 61 height: 100%; 62 object-fit: cover; 63`,t.GiftInfoWrapper=n.default.div` 64 display: flex; 65 flex-direction: column; 66 gap: ${({theme:e})=>e.space.s50}; 67 align-items: flex-start; 68`,t.GiftBrand=n.default.span` 69 ${({theme:e})=>e.typography.body.textMain}; 70 color: ${({theme:e})=>e.colors.gray.s700}; 71`,t.GiftTitle=n.default.span` 72 ${({theme:e})=>e.typography.body.text}; 73 color: ${({theme:e})=>e.colors.gray.s800}; 74`},83526:function(e,t,i){var r,n=this&&this.__createBinding||(Object.create?function(e,t,i,r){void 0===r&&(r=i);var n=Object.getOwnPropertyDescriptor(t,i);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,n)}:function(e,t,i,r){void 0===r&&(r=i),e[r]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(r=function(e){return(r=Object.getOwnPropertyNames||function(e){var t=[];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[t.length]=i);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i=r(e),o=0;o<i.length;o++)"default"!==i[o]&&n(t,e,i[o]);return a(t,e),t}),l=this&&this.__rest||function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i};Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0;let s=i(80263),d=i(53239),c=o(i(85162)),p="https://static.vente-privee.com/vp5/_web/site/vp/_common/logos/";t.Logo=(0,d.forwardRef)(function(e,t){let{isLegacy:i,isTwoLine:r,isWhite:n,siteId:a,withParte:o,alt:u="logo"}=e,f=l(e,["isLegacy","isTwoLine","isWhite","siteId","withParte","alt"]),h=(0,d.useMemo)(()=>((e,t,i,r,n)=>{let a=t?"white":"black",o=i?"-legacy":"";return 66!==e&&69!==e||i?2===e||7===e?`${p}veepee${o}-gradient-${a}.svg`:`${p}veepee${o}-${a}.svg`:r?`${p}privalia${69===e?"-it":""}-parte-${a}${n?"-2-lines":""}.svg`:`${p}privalia-${a}.svg`})(a,n,i,o,r),[a,r,n,o]);return(0,s.jsx)(c.Logo,Object.assign({ref:t},f,{src:h,alt:u}))}),t.default=t.Logo},85162:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0;let n=r(i(2450));t.Logo=n.default.img` 75 display: inline-block; 76 height: 50px; 77 width: 100%; 78`},99445:function(e,t,i){var r,n=this&&this.__createBinding||(Object.create?function(e,t,i,r){void 0===r&&(r=i);var n=Object.getOwnPropertyDescriptor(t,i);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,n)}:function(e,t,i,r){void 0===r&&(r=i),e[r]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(r=function(e){return(r=Object.getOwnPropertyNames||function(e){var t=[];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[t.length]=i);return t})(e)}
78,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i=r(e),o=0;o<i.length;o++)"default"!==i[o]&&n(t,e,i[o]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.GiftsButtonWrapper=t.GiftsSection=t.ToggleButton=t.TextTypography=t.Body=t.TitleTypography=t.IconTitleWrapper=t.IconWrapper=t.Header=t.PromoEncartWrapper=void 0;let l=o(i(2450)),s=i(16139),d=i(65569);t.PromoEncartWrapper=l.default.div` 79 background: ${({theme:e})=>e.bloom.colors.bg.violet.light.default}; 80 81 border: 1px solid transparent; 82 border-radius: ${({theme:e})=>e.radius.s200}; 83 84 ${({$isFullWidth:e})=>e&&(0,l.css)` 85 width: 100%; 86 border: none; 87 border-radius: 0; 88 `} 89`,t.Header=l.default.div` 90 display: flex; 91 flex-direction: row; 92 align-items: ${({$variant:e})=>e===s.PromoEncartVariant.STANDARD?"flex-start":"center"}; 93 justify-content: space-between; 94 width: 100%; 95`,t.IconWrapper=l.default.div` 96 display: flex; 97 align-items: center; 98 99 > img { 100 flex-shrink: 0; 101 width: 24px; 102 height: 24px; 103 } 104`,t.IconTitleWrapper=l.default.div` 105 display: flex; 106 flex-direction: row; 107 align-items: ${({$variant:e})=>e===s.PromoEncartVariant.STANDARD?"flex-start":"center"}; 108 gap: ${({theme:e})=>e.space.s100}; 109 padding: ${({theme:e})=>e.space.s100} ${({theme:e})=>e.space.s200}; 110 box-sizing: border-box; 111`,t.TitleTypography=l.default.span` 112 ${({theme:e})=>e.typography.heading.small} 113 114 background: ${({theme:e})=>e.bloom.colors.gradients.promotions}; 115 -webkit-background-clip: text; 116 background-clip: text; 117 -webkit-text-fill-color: transparent; 118`,t.Body=l.default.div` 119 padding: ${({theme:e})=>e.space.s100} ${({theme:e})=>e.space.s200} ${({theme:e})=>e.space.s100} 120 ${({theme:e})=>e.space.s200}; 121`,t.TextTypography=l.default.p` 122 color: ${({theme:e})=>e.colors.gray.s700}; 123 ${({theme:e})=>(0,l.css)(e.typography.body.regularText)} 124 margin: 0; 125 126 ${({$isExpanded:e})=>!e&&(0,l.css)` 127 display: -webkit-box; 128 -webkit-line-clamp: ${d.MAX_NUMBER_OF_LINES}; 129 -webkit-box-orient: vertical; 130 overflow: hidden; 131 text-overflow: ellipsis; 132 `} 133 134 > b { 135 ${({theme:e})=>(0,l.css)(e.typography.body.boldText)} 136 } 137 138 @media (max-width: ${({theme:e})=>e.breakpoint.tablet}) { 139 ${({theme:e})=>(0,l.css)(e.typography.body.smallTextRegular)} 140 } 141`,t.ToggleButton=l.default.button` 142 background: none; 143 border: none; 144 cursor: pointer; 145 flex-shrink: 0; 146 width: 44px; 147 height: 44px; 148 display: flex; 149 align-items: center; 150 justify-content: center; 151 152 &:hover { 153 text-decoration: underline; 154 } 155`,t.GiftsSection=l.default.div` 156 display: flex; 157 flex-direction: row; 158 gap: ${({theme:e})=>e.space.s150}; 159 padding: ${({theme:e})=>e.space.s100} ${({theme:e})=>e.space.s200} ${({theme:e})=>e.space.s200} 160 ${({theme:e})=>e.space.s200}; 161 162 @media (max-width: ${({theme:e})=>e.breakpoint.tablet}) { 163 flex-direction: column; 164 } 165`,t.GiftsButtonWrapper=l.default.div` 166 display: flex; 167 justify-content: center; 168 padding: ${({theme:e})=>e.space.s100} ${({theme:e})=>e.space.s200} ${({theme:e})=>e.space.s200} 169 ${({theme:e})=>e.space.s200}; 170`}}]);
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.