1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7446],{27484:function(e){var t,n,r,a,i,s,u,o,d,c,l,f,m,h,_,M,p,v,y,g,Y,D;e.exports=(t="millisecond",n="second",r="minute",a="hour",i="week",s="month",u="quarter",o="year",d="date",c="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},(_={})[h="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}},M="$isDayjsObject",p=function(e){return e instanceof Y||!(!e||!e[M])},v=function e(t,n,r){var a;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();_[i]&&(a=i),n&&(_[i]=n,a=i);var s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var u=t.name;_[u]=t,a=u}return!r&&a&&(h=a),a||!r&&h},y=function(e,t){if(p(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new Y(n)},(g={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+m(Math.floor(n/60),2,"0")+":"+m(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),a=t.clone().add(r,s),i=n-a<0,u=t.clone().add(r+(i?-1:1),s);return+(-(r+(n-a)/(i?a-u:u-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:s,y:o,w:i,d:"day",D:d,h:a,m:r,s:n,ms:t,Q:u})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}}).l=v,g.i=p,g.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},D=(Y=function(){function e(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[M]=!0}var m=e.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(g.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(l);if(r){var a=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return g},m.isValid=function(){return this.$d.toString()!==c},m.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return y(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<y(e)},m.$g=function(e,t,n){return g.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,t){var u=this,c=!!g.u(t)||t,l=g.p(e),f=function(e,t){var n=g.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},m=function(e,t){return g.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},h=this.$W,_=this.$M,M=this.$D,p="set"+(this.$u?"UTC":"");switch(l){case o:return c?f(1,0):f(31,11);case s:return c?f(1,_):f(0,_+1);case i:var v=this.$locale().weekStart||0,y=(h<v?h+7:h)-v;return f(c?M-y:M+(6-y),_);case"day":case d:return m(p+"Hours",0);case a:return m(p+"Minutes",1);case r:return m(p+"Seconds",2);case n:return m(p+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(e,i){var u,c=g.p(e),l="set"+(this.$u?"UTC":""),f=((u={}).day=l+"Date",u[d]=l+"Date",u[s]=l+"Month",u[o]=l+"FullYear",u[a]=l+"Hours",u[r]=l+"Minutes",u[n]=l+"Seconds",u[t]=l+"Milliseconds",u)[c],m="day"===c?this.$D+(i-this.$W):i;if(c===s||c===o){var h=this.clone().set(d,1);h.$d[f](m),h.init(),this.$d=h.set(d,Math.min(this.$D,h.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[g.p(e)]()},m.add=function(e,t){var u,d=this;e=Number(e);var c=g.p(t),l=function(t){var n=y(d);return g.w(n.date(n.date()+Math.round(t*e)),d)};if(c===s)return this.set(s,this.$M+e);if(c===o)return this.set(o,this.$y+e);if("day"===c)return l(1);if(c===i)return l(7);var f=((u={})[r]=6e4,u[a]=36e5,u[n]=1e3,u)[c]||1,m=this.$d.getTime()+e*f;return g.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",a=g.z(this),i=this.$H,s=this.$m,u=this.$M,o=n.weekdays,d=n.months,l=n.meridiem,m=function(e,n,a,i){return e&&(e[
1n]||e(t,r))||a[n].slice(0,i)},h=function(e){return g.s(i%12||12,e,"0")},_=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return g.s(t.$y,4,"0");case"M":return u+1;case"MM":return g.s(u+1,2,"0");case"MMM":return m(n.monthsShort,u,d,3);case"MMMM":return m(d,u);case"D":return t.$D;case"DD":return g.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return m(n.weekdaysMin,t.$W,o,2);case"ddd":return m(n.weekdaysShort,t.$W,o,3);case"dddd":return o[t.$W];case"H":return String(i);case"HH":return g.s(i,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return _(i,s,!0);case"A":return _(i,s,!1);case"m":return String(s);case"mm":return g.s(s,2,"0");case"s":return String(t.$s);case"ss":return g.s(t.$s,2,"0");case"SSS":return g.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},m.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},m.diff=function(e,t,d){var c,l=this,f=g.p(t),m=y(e),h=(m.utcOffset()-this.utcOffset())*6e4,_=this-m,M=function(){return g.m(l,m)};switch(f){case o:c=M()/12;break;case s:c=M();break;case u:c=M()/3;break;case i:c=(_-h)/6048e5;break;case"day":c=(_-h)/864e5;break;case a:c=_/36e5;break;case r:c=_/6e4;break;case n:c=_/1e3;break;default:c=_}return d?c:g.a(c)},m.daysInMonth=function(){return this.endOf(s).$D},m.$locale=function(){return _[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},m.clone=function(){return g.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},e}()).prototype,y.prototype=D,[["$ms",t],["$s",n],["$m",r],["$H",a],["$W","day"],["$M",s],["$y",o],["$D",d]].forEach(function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,Y,y),e.$i=!0),y},y.locale=v,y.isDayjs=p,y.unix=function(e){return y(1e3*e)},y.en=_[h],y.Ls=_,y.p={},y)},80790:function(e,t,n){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,n,r){var a=t[r];return Array.isArray(a)&&(a=a[n?0:1]),a.replace("%d",e)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(r,null,!0),r}(n(27484))},25054:function(e){e.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}}},67763:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
1d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},96023:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},10285:function(e){var t,n,r,a,i,s,u,o,d,c,l,f,m;e.exports=(t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,a=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},o=function(e){return(e=+e)+(e>68?1900:2e3)},d=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],l=function(e){var t=u[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var n,r=u.meridiem;if(r){for(var a=1;a<=24;a+=1)if(e.indexOf(r(a,0,t))>-1){n=a>12;break}}else n=e===(t?"pm":"PM");return n},m={A:[s,function(e){this.afternoon=f(e,!1)}],a:[s,function(e){this.afternoon=f(e,!0)}],Q:[r,function(e){this.month=3*(e-1)+1}],S:[r,function(e){this.milliseconds=100*+e}],SS:[a,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[a,d("day")],Do:[s,function(e){var t=u.ordinal;if(this.day=e.match(/\d+/)[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],w:[i,d("week")],ww:[a,d("week")],M:[i,d("month")],MM:[a,d("month")],MMM:[s,function(e){var t=l("months"),n=(l("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[s,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(e){this.year=o(e)}],YYYY:[/\d{4}/,d("year")],Z:c,ZZ:c},function(e,r,a){a.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var i=r.prototype,s=i.parse;i.parse=function(e){var r=e.date,i=e.utc,o=e.args;this.$u=i;var d=o[1];if("string"==typeof d){var c=!0===o[2],l=!0===o[3],f=o[2];l&&(f=o[2]),u=this.$locale(),!c&&f&&(u=a.Ls[f]),this.$d=function(e,r,a,i){try{if(["x","X"].indexOf(r)>-1)return new Date(("X"===r?1e3:1)*e);var s=(function(e){var r,a;r=e,a=u&&u.formats;for(var i=(e=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,n,r){var i=r&&r.toUpperCase();return n||a[r]||t[r]||a[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(n),s=i.length,o=0;o<s;o+=1){var d=i[o],c=m[d],l=c&&c[0],f=c&&c[1];i[o]=f?{regex:l,parser:f}:d.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;
1n+=1){var a=i[n];if("string"==typeof a)r+=a.length;else{var u=a.regex,o=a.parser,d=e.slice(r),c=u.exec(d)[0];o.call(t,c),e=e.replace(c,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}})(r)(e),o=s.year,d=s.month,c=s.day,l=s.hours,f=s.minutes,h=s.seconds,_=s.milliseconds,M=s.zone,p=s.week,v=new Date,y=c||(o||d?1:v.getDate()),g=o||v.getFullYear(),Y=0;o&&!d||(Y=d>0?d-1:v.getMonth());var D,$=l||0,S=f||0,w=h||0,L=_||0;return M?new Date(Date.UTC(g,Y,y,$,S,w,L+60*M.offset*1e3)):a?new Date(Date.UTC(g,Y,y,$,S,w,L)):(D=new Date(g,Y,y,$,S,w,L),p&&(D=i(D).week(p).toDate()),D)}catch(e){return new Date("")}}(r,d,i,a),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(c||l)&&r!=this.format(d)&&(this.$d=new Date("")),u={}}else if(d instanceof Array)for(var h=d.length,_=1;_<=h;_+=1){o[1]=d[_-1];var M=a.apply(this,o);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}_===h&&(this.$d=new Date(""))}else s.call(this,e)}})},21917:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cartes-cadeaux/confirm",function(){return n(49792)}])},49792:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return L},default:function(){return x}});var r=n(85893),a=n(450),i=n.n(a),s=n(18633),u=n(30643),o=n.n(u),d=n(46299),c=n(67294),l=n(9473),f=n(10156),m=n(27484),h=n.n(m),_=n(10285),M=n.n(_);n(80790),n(25054),n(67763),n(96023);var p=n(38637),v=n(65570),y=n(19588),g=n(29976),Y=n(37249);h().extend(M());var D=e=>{let{user:t,total:n}=e,{t:a,i18n:{language:i}}=(0,d.$G)("giftcard"),u=(0,l.I0)(),m=(0,l.v9)(v.rK),{accountInfos:_}=(0,l.v9)(f.t),{response:M,callApi:D}=(0,p.Z)();(0,c.useEffect)(()=>{m&&D(p.f.GET,"/api/users/account?locale=".concat(i))},[m]),(0,c.useEffect)(()=>{if(!M||!M.success||_)return;let{data:{user:e,historique:t,cashbackToken:n,abonnement:r,giftCard:a,resas:i}}=M;u((0,y.t)({userAccount:e,historique:t,cashbackToken:n,abonnement:r,giftCard:a,resas:i}))},[M,u]);let $=(0,c.useMemo)(()=>{let e=((null==t?void 0:t.giftCards)||[]).map(e=>e.dateSend).filter(Boolean);if(0===e.length)return null;let n=Array.from(new Set(e));if(n.length>1)return a("confirm.delivery_date_multiple");let r=h()(n[0],"DD/MM/YYYY",!0),s=(r.isValid()?r:h()(n[0])).locale(i).format("D MMMM YYYY");return a("confirm.delivery_date",{date:s})},[t,i,a]),S=(0,c.useMemo)(()=>{if(!_)return null;let e=h()().isAfter(_.abonnement.cardExpirationDate);return _.abonnement.cardNumber&&!e?(0,r.jsx)("div",{class:"m-alert m-alert--default",role:"alert",children:(0,r.jsxs)("div",{class:"m-alert__description",children:[(0,r.jsx)("p",{class:"m-alert__title",children:a("confirm.fees_title",{fees:(0,Y.QT)(n)})}),(0,r.jsx)("p",{class:"m-alert__text",children:a("confirm.fees_text")}),(0,r.jsx)(s.Link,{className:"m-link m-link--m m-link--dark",href:"/compte/tableau-de-bord",children:a("confirm.fees_link")})]})}):null},[_,a,n]);return(0,r.jsxs)("div",{className:o().wrapper,children:[(0,r.jsx)("div",{className:o().iconCircle,children:(0,r.jsx)(g.n,{weight:"bold"})}),(0,r.jsxs)("div",{className:o().content,children:[(0,r.jsx)("h1",{className:o().title,children:a("confirm.title")}),(0,r.jsxs)("div",{className:o().text,children:[(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:a("confirm.email_sent",{email:null==t?void 0:t.emailOffer})}}),$&&(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:$}})]})]}),S,(0,r.jsx)(s.Link,{href:"/",className:"m-button m-button--m m-button--secondary ".concat(o().backButton),children:a("confirm.back_to_home")})]})},$=n(43709),S=n(2962),w=n(70996),L=!0,x=()=>{let{cookiesAccepted:e}=(0,w.f)(),[t,n]=(0,c.useState)(),[a,u]=(0,c.useState)(!1),[o]=(0,$.Z)("cardsForm"),[d,l]=(0,c.useState)(0),f=(0,s.useRouter)();(0,c.useEffect)(()=>{if(o){let e=JSON.parse(o);n(e);let t=e.giftCards.reduce((e,t)=>e+t.amount,0);l(t)}u(!0)},[o,f]),(0,c.useEffect)(()=>{a&&!o&&f.push("/cartes-cadeaux/offrir")},[a,o]),(0,c.useEffect)(()=>{if(e){let e=document.createElement("script");return e.innerHTML='\n var _nAdztr = _nAdztr || [];\n (function () {\n _nAdztr.push(["setAdvertiserId", "2957"]);\n _nAdztr.push(["setTransactionId", \'carteCadeau\']);\n _nAdztr.push(["setAmount", \''.concat(d,"']);\n _nAdztr.push([\"setTr\"]);\n var u = \"https://notifpush.com/scripts/\";\n var s = document.createElement(\"script\");\n s.type = \"text/javascript\";\n s.defer = true;\n s.async = true;\n s.src = u + \"nadz-tr.js\";\n var p = document.getElementsByTagName(\"script\")[0];\n p.parentNode.insertBefore(s, p);\n })();\n if (window['NADZ_TRIGGERS'] != undefined) {\n var actions = window['NADZ_TRIGGERS'].getNa
1dzTriggerActions();\n actions.handleActions([\n ['setValue', 'carteCadeau', false],\n ['setValue', 'montantCarteCadeau', '").concat(d,"']\n ]);\n }\n else {\n var _nAdzqTriggers = _nAdzqTriggers || [];\n _nAdzqTriggers.push(['handleActions', [\n ['setValue', 'carteCadeau', false],\n ['setValue', 'montantCarteCadeau', '").concat(d,"']\n ]]);\n }\n "),e.type="text/javascript",document.body.appendChild(e),()=>{document.body.removeChild(e)}}},[]);let m=(0,c.useMemo)(()=>t||d?(0,r.jsx)(D,{user:t,total:d}):null,[t,d]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S.PB,{noindex:!0,nofollow:!0}),(0,r.jsx)("div",{className:i().main,children:m})]})}},10156:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r=e=>e.accountState},30643:function(e){e.exports={wrapper:"GiftCardConfirmRight_wrapper__00jsd",iconCircle:"GiftCardConfirmRight_iconCircle__Y_oGe",content:"GiftCardConfirmRight_content__vybJX",title:"GiftCardConfirmRight_title__2QVmq",text:"GiftCardConfirmRight_text__iXDGO",alert:"GiftCardConfirmRight_alert__qcYi4",alertText:"GiftCardConfirmRight_alertText__7u3Zf",alertLink:"GiftCardConfirmRight_alertLink__9oMeH",backButton:"GiftCardConfirmRight_backButton__0hz5n",fees:"GiftCardConfirmRight_fees__fTs8f",feesTitle:"GiftCardConfirmRight_feesTitle__ATMWC",feesText:"GiftCardConfirmRight_feesText__ITf_v",feesLink:"GiftCardConfirmRight_feesLink__nJFGn"}},450:function(e){e.exports={main:"GiftCardConfirm_main__68f3S"}},29976:function(e,t,n){"use strict";n.d(t,{J:function(){return u},n:function(){return s}});var r=n(67294),a=n(27589);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),s=r.forwardRef((e,t)=>r.createElement(a.Z,{ref:t,...e,weights:i}));s.displayName="CheckIcon";let u=s}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=21917)}),_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.