1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="eb9050aa-5541-5d96-a28e-5856011feac2")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9181],{39384:function(e,t,n){"use strict";n.r(t);var r=n(67294),i=n(2664),o=n(98456),a=n(73151),s=n(5222),c=n(99391),l=n(94461),u=n(18974),p=n(35944);class d extends r.PureComponent{static async getInitialProps(e){let{query:{token:t}}=e;return{token:t}}componentDidMount(){let{token:e}=this.props;this.props.exchangeSponsorCode(e)}redirect(){return this.props.sponsordata.url&&((0,l.lX)({origin:this.props.sponsordata.origin,sponsor:this.props.sponsordata.sponsor,partner:this.props.sponsordata.partner}),(0,s.uX)("",null,!0)),(0,p.tZ)("noscript",{})}render(){return this.redirect(),(0,p.tZ)(u.Z,{type:"NoIndex",current:{title:"1jour1vin : Vins et Champagnes au meilleur prix !",metaDescription:""},children:(0,p.tZ)("div",{style:{textAlign:"center",display:"block",marginTop:"15px !important"},children:(0,p.tZ)(o.Z,{style:{padding:"0",border:"none"},color:"secondary"})},0)})}}d.defaultProps={sponsordata:{},token:null};let v=e=>{let{account:{sponsordata:t}}=e;return{sponsordata:t}};t.default=(0,i.$j)(v,{exchangeSponsorCode:a.zb})((0,c.Z)(d))},18974:function(e,t,n){"use strict";n.d(t,{Z:function(){return eu}});var r={};n.r(r),n.d(r,{ActualitesVins:function(){return N},Appellation:function(){return P},AvisClients:function(){return C},Basic:function(){return v},Bio:function(){return k},Cart:function(){return $},CartPayment:function(){return J},CartShipping:function(){return q},Color:function(){return T},Guide:function(){return m},LandingPage:function(){return R},Login:function(){return b},NoIndex:function(){return V},Record:function(){return _},Region:function(){return h},Sale:function(){return G},Sales:function(){return j},Search:function(){return F},Vineyard:function(){return x}});var i=n(59499),o=n(67294),a=n(9008),s=n.n(a),c=n(11163),l=n(6883);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}let p="1jour1vin",d=function(e){let{query:t,asPath:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.split("?")[0];return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({title:p,metaTitle:(null==r?void 0:r.title)||p,metaDescription:"Vous cherchez des vins et champagnes au meilleur prix ? Sur 1jour1vin.com, achetez en ventes priv\xe9es des vins de producteurs fran\xe7ais et \xe9trangers.",keywords:"vin, vins, achat vin, achat vins, vente vin, vente vins",robots:"index, follow",canonical:`${l.WWW_URL}${o}`,image:"https://res.cloudinary.com/unjourunvin/logos/ogimage.jpg",url:`${l.WWW_URL}${o}`},r)};var v=d;let f=()=>({title:"Guide des vins | 1jour1vin.com",metaTitle:"Le guide des vins en ligne d'1jour1vin !",metaDescription:"Vous voulez conna\xeetre les r\xe9gions viticoles, les meilleures appellations et les plus beaux domaines ? Consultez le guide des vins d'1Jour1Vin.",keywords:"guide du vin, offrir bouteille de vin, offrir du vin, c\xf4te des vins",robots:"index, follow",image:"https://www.1jour1vin.com/img/generique/guide-achat-vin-rwd.jpg"});var m=f;let g=()=>({title:"1jour1vin.com - Connexion aux ventes priv\xe9es",canonical:l.WWW_URL});var b=g;let y=e=>e.Meta?{title:e.Meta.metaTitle,metaTitle:e.nom,metaDescription:e.Meta.metaDescription,keywords:e.Meta.keywords,robots:e.Meta.robots,image:e._embedded&&e._embedded.mediaregion&&e._embedded.mediaregion.value}:{};var h=y;let O=()=>({title:"1jour1vin.com - Connexion aux ventes priv\xe9es",robots:"noindex, nofollow",canonical:l.WWW_URL});var j=O;let w=e=>e.Meta?{title:e.Meta.metaTitle,metaTitle:`Appellation : ${e.name}`,metaDescription:e.Meta.metaDescription,keywords:e.Meta.keywords,robots:e.Meta.robots,image:e.image}:{};var P=w;let D=e=>e.Meta?{title:e.Meta.metaTitle,metaTitle:e.Meta.metaTitle,image:e.background,metaDescription:e.Meta.metaDescription,keywords:e.Meta.keywords,robots:e.Meta.robots,canonical:e.canonical}:{};var x=D;let W=e=>e.Meta?{title:e.Meta.metaTitle,metaTitle:e.Meta.metaTitle,metaDescription:e.Meta.metaDescription,keywords:e.Meta.keywords,robots:e.Meta.robots,image:e.imagepdt,noCanonical:!0}:{};var _=W;let Z=()=>({title:"Vin bio, vin naturel | 1jour1vin.com",canonical:l.WWW_URL});var k=Z;let M=e=>e.Meta?{title:e.Meta.metaTitle,metaTitle:e.Meta.metaTitle,metaDescription:e.Meta.metaDescription,keywords:e.Meta.keywords,robots:e.Meta.robots,canonical:l.WWW_URL}:{};var T=M;let S=()=>({title:"Avis 1jour1vin | +20000 avis clients 1jour1vin",metaTitle:"Avis 1jour1vin | +20000 avis clients 1jour1vin",metaDescription:"Retrouvez tous les avis de nos clients sur 1jour1vin, le pionnier des sites de vente priv\xe9e de vin.",robots:"index,follow"});
3var C=S;let L=()=>({title:"1jour1vin - Le pionner des sites de ventes priv\xe9es de vins",metaTitle:"1jour1vin - Le pionner des sites de ventes priv\xe9es de vins"});var R=L;let E=e=>{let{title:t}=e,n=t?`Nos Actus: ${t}`:"Toutes les actualit\xe9s vins d'1jour1vin",r=t?`Retrouvez sur 1Jour1Vin toutes les actualit\xe9s dans le domaine du vin. D\xe9couvrir notre article : ${t}.`:"Retrouvez toutes les actualit\xe9s du vin sur 1jour1vin le pionnier des sites de vente priv\xe9e de vin.";return{title:n,metaTitle:n,metaDescription:r,robots:"index,follow"}};var N=E;function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}let U=e=>(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e})({robots:"noindex"},e);var V=U;let z=()=>({title:"Panier 1jour1vin",robots:"noindex, nofollow",canonical:l.WWW_URL});var $=z;let X=()=>({title:"Livraison 1jour1vin",robots:"noindex, nofollow",canonical:l.WWW_URL});var q=X;let I=()=>({title:"Paiement 1jour1vin",robots:"noindex, nofollow",canonical:l.WWW_URL});var J=I;let B=e=>({title:e.title,robots:"noindex, nofollow"});var G=B;let H=()=>({title:"Recherche | 1jour1vin.com",robots:"noindex, nofollow"});var F=H,K=n(45697),Y=n.n(K),Q=n(2206);let ee=e=>{switch(!0){case e.endsWith("[lng]"):return"Home";case e.includes("guide-achat-vin")&&!e.includes("[record]"):return"Guide";case e.endsWith("[record]"):return"Product";case e.endsWith("[saleid]"):return"Listing";case e.includes("salesfiltered"):return"Search";case e.includes("/cart/"):return"Checkout";case e.endsWith("sales/[type]"):return"Sales";case e.includes("actualites-vin"):return"News";case e.endsWith("avis-clients"):return"Opinion";case e.startsWith("/[lng]/vin-"):return"Landing";default:return!1}},et=(e,t)=>!0===e.endsWith("[lng]")?"Home":t.split(" | ").shift(),en=e=>{let{pageName:t}=e,n=(0,c.useRouter)();return(0,o.useEffect)(()=>{if(t===p)return;let e=ee(n.pathname),r=et(n.pathname,t);e&&"Vin"!==r&&(0,Q.r)({dataLayer:{pageType:e,pageName:r}})},[n.asPath,t]),null};en.propTypes={pageName:Y().string.isRequired};var er=(0,o.memo)(en),ei=n(78478),eo=n(60392),ea=n(35944);function es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ec(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?es(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):es(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let el=e=>{let{type:t,current:n,children:i}=e,a=(0,c.useRouter)(),l=t?r[t](n):{},u=ec(ec({},v(a,n)),l),{setFrom:p,to:d}=(0,ei.Z)();(0,o.useEffect)(()=>{p({title:u.title,metaTitle:u.metaTitle,metaDescription:u.metaDescription})},[u.metaDescription,u.metaTitle,u.title,p]);let f=u.noCanonical?void 0:u.canonical||void 0;return(0,ea.BX)(ea.HY,{children:[(0,ea.BX)(s(),{children:[(0,ea.tZ)("meta",{charSet:"utf-8"}),(0,ea.tZ)("title",{children:(null==d?void 0:d.title)||u.title}),(0,ea.tZ)("meta",{name:"description",content:(null==d?void 0:d.metaDescription)||u.metaDescription}),(0,ea.tZ)("meta",{name:"keywords",content:u.keywords}),(0,ea.tZ)("meta",{property:"og:title",content:(null==d?void 0:d.metaTitle)||u.metaTitle}),(0,ea.tZ)("meta",{property:"og:description",content:(null==d?void 0:d.metaDescription)||u.metaDescription}),(0,ea.tZ)("meta",{property:"og:url",content:u.url}),(0,ea.tZ)("meta",{name:"robots",content:u.robots}),(0,ea.tZ)("meta",{property:"og:type",content:"article"}),(0,ea.tZ)("meta",{property:"og:image",content:(0,eo.LJ)(u.image,{preset:"banner",width:1200})}),f&&(0,ea.tZ)("link",{rel:"canonical",href:f},"canonical")]}),i,(0,ea.tZ)(er,{pageName:u.title})]})};el.defaultProps={current:{},type:null};var eu=el},99391:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(59499),i=n(67294),o=n(62286),a=n(11163),s=n(2664),c=n(48111),l=n(25675),u=n(27889),p=n(29501),d=n.n(p),v=n(5222),f=n(9973),m=n(35944);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){let t=t=>{let n=(0,a.useRouter)(),{ssrAuthenticated:s}=t;return(0,i.useEffect)(()=>{let e=s,r="";try{let i=(0,o.parseCookies)();void 0===e&&(e=!!(i.access_token&&i.refresh_token)),r=i.authdata}
3catch{if(void 0===e)return}let a=(0,u.K)(r);if(e)d().match(n.asPath,0)&&(0,v.uX)("/sales/ventes-privees"),"0"===a.idPays&&t.showDialog("complete");else if(d().match(n.asPath,1)&&(t.showDialog("signup",{target:"signup",origin:"acces_protege"}),(0,f.FS)()))return t.unAuthenticate()},[]),(0,m.tZ)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t))};return(0,s.$j)(null,{showDialog:l.vC,unAuthenticate:c.hZ})(t)}},27889:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});let r=e=>{try{let t=JSON.parse(e);if(t&&"object"==typeof t)return t}catch(n){}return!1}},9973:function(e,t,n){"use strict";n.d(t,{FS:function(){return r}});let r=()=>{try{let e="__1j1v_probe__";return localStorage.setItem(e,"1"),localStorage.removeItem(e),!0}catch{return!1}}},73151:function(e,t,n){"use strict";n.d(t,{O2:function(){return a},OO:function(){return l},qX:function(){return s},zb:function(){return c}});var r=n(18699),i=n(25675),o=n(40599);let a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Vos invitations ont bien \xe9t\xe9 envoy\xe9es.";return async o=>{let a=null;try{a=await r.Z.post("/invitations",e),o((0,i.Db)(n))}catch(s){a=s.response,o((0,i.Db)("Une erreur est survenue."))}t(a.data.validation_messages||a.data,a.status)}},s=()=>{let e=r.Z.get("/sponsor");return{type:o.T_,payload:e}},c=e=>{let t=r.Z.post("/sponsor",{code:e});return{type:o.Jt,payload:t}},l=()=>{let e=r.Z.get("/invitations");return{type:o.lq,payload:e}}},21212:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/landing/ic/[token]",function(){return n(39384)}])}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=21212)}),_N_E=e.O()}]); 4//# sourceMappingURL=[token]-ae6c6b26c7604c1f.js.map 5//# debugId=eb9050aa-5541-5d96-a28e-5856011feac2
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.