PageSourceSearch

https://ticket.parc-spirou.com/_next/static/chunks/pages/renew/checkout-0821f8b2d3e1b544.js

js parc-spirou.com collected 2026-10-04 05:22:42 UTC 8,131 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9206],{37614:(e,l,n)=>{"use strict";n.d(l,{E:()=>A});var o=n(37876),t=n(46986),c=n(51572),a=n(62506),i=n(29171),r=n(13664),s=n(92345),u=n(81738),d=n(63306),g=n(34736),p=n(27058),h=n(57616),f=n(61154),b=n(13482),m=n(79444),x=n(59393),v=n(48230),_=n.n(v),k=n(14232),w=n(95623),j=n(69319),L=n(47090),N=n.n(L);let A=e=>{let{fullSizeSecondaryLogin:l}=e,{formatMessage:n,isKeyAvailable:v}=(0,g.M1)(),{behaviour:{loginWall:{loginBeforeGuestCheckout:L},signIn:{signinExternalLogin:A},loginMethodList:S,checkout:{checkoutAsGuestActive:y}},components:E}=(0,r.j)(),{isUserLogged:W}=(0,i.U)(),{routingInfo:{getNextPage:M},checkoutPageUrl:C}=(0,s.t)(),{goToPage:H}=(0,p.k)(),{checkBasketData:B}=(0,d.ZB)(),{showNotification:O}=(0,u.M)(),z=(0,k.useMemo)(()=>S.filter(e=>e!==f.xH.ExternalToken),[S]),F=(0,k.useMemo)(()=>z.includes(f.xH.ExternalLogin),[z]),I=(0,k.useMemo)(()=>!F&&z.length>0,[z,F]),R=(0,k.useMemo)(()=>{var e,l;return null!=(l=null==(e=M())?void 0:e.url)?l:"/"},[M]),V=(0,k.useCallback)(()=>{window.location.href=(0,x.KJ)(A)},[A]),P=(0,k.useMemo)(()=>I?(0,o.jsxs)(o.Fragment,{children:[!L&&(0,o.jsx)("span",{className:"".concat(N()["do-login-label-full"]," ").concat(l?"":N()["do-login-label-reduced"]),children:n("checkout.login.text")}),L&&v("checkout.login.description")&&(0,o.jsx)("span",{className:N()["do-login-label-full"],children:n("checkout.login.description")}),(0,o.jsx)(c.$n,{"aria-label":n("checkout.loginWall.bosLogin"),label:n("checkout.loginWall.bosLogin"),appearance:L?c.RD.Primary:c.RD.Secondary,iconAfter:(0,o.jsx)(j.A,{}),href:(0,m.pH)()+R,className:"".concat(N()["login-wall-button"]," ").concat(L||l?"":N()["or-option-button-reduced"])})]}):null,[I,L,l,n,v,R]),D=(0,k.useMemo)(()=>F?(0,o.jsxs)(o.Fragment,{children:[!L&&(0,o.jsx)("span",{className:"".concat(N()["do-login-label-full"]," ").concat(l?"":N()["do-login-label-reduced"]),children:n("checkout.login.text")}),L&&v("checkout.login.description")&&(0,o.jsx)("span",{className:N()["do-login-label-full"],children:n("checkout.login.description")}),(0,o.jsx)(c.$n,{label:n("checkout.loginWall.bosLogin"),"aria-label":n("checkout.loginWall.bosLogin"),appearance:L?c.RD.Primary:c.RD.Secondary,iconAfter:(0,o.jsx)(j.A,{}),className:"".concat(N()["login-wall-button"]," ").concat(L||l?"":N()["or-option-button-reduced"]),onClick:V})]}):null,[n,v,V,F,L,l]),G=(0,k.useMemo)(()=>!y||(null==B?void 0:B.forceLogin)?null:(0,o.jsxs)(o.Fragment,{children:[L&&(0,o.jsx)("span",{className:"".concat(N()["do-login-label-full"]," ").concat(l?"":N()["do-login-label-reduced"]),children:n("checkout.continueAsGuest.text")}),(0,o.jsx)(_(),{href:(0,m.pH)()+C,passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(c.$n,{label:n("checkout.continueAsGuest.button"),appearance:L?c.RD.Secondary:c.RD.Primary,iconAfter:(0,o.jsx)(w.A,{}),className:"".concat(N()["login-wall-button"]," ").concat(L&&!l?N()["or-option-button-reduced"]:"")})})]}),[n,C,y,L,l,null==B?void 0:B.forceLogin]),[T,U]=(0,k.useState)(!1);return(0,k.useEffect)(()=>{let e,l=(null==B?void 0:B.forceLogin)&&z.length>0||!y;if(W)e=R;else if(l){if(F)return V();I&&(e=R)}else!y||0!==z.length||(null==B?void 0:B.forceLogin)||(e=C);if(null==B?void 0:B.forceLogin){let e=B.orderItems.find(e=>e.forceLoginAtCheckout);(null==e?void 0:e.productNameInfo)&&O({message:n("checkout.forceLogin.message",{productName:(0,b.gm)(e.productNameInfo,{sectionTitle:!0})}),type:h._.Info},1e4)}e?H(e,{replace:!0}):U(!0)},[y,C,V,H,F,W,I,z.length,R,B,O,n]),T?(0,o.jsxs)(t.a,{className:N()["login-wall-step"],children:[(0,o.jsx)("h3",{children:n("checkout.loginWall.title")}),L?(0,o.jsxs)(o.Fragment,{children:[I?P:D," ",G]}):(0,o.jsxs)(o.Fragment,{children:[G," ",I?P:D]})]}):(0,o.jsx)(a.U,{show:!0,loader:(0,o.jsx)(E.Loader,{show:!0})})}},39426:(e,l,n)=>{"use strict";n.r(l),n.d(l,{default:()=>u});var o=n(37876),t=n(23326),c=n(81229),a=n(20051),i=n(37614),r=n(23366),s=n(79444);let u=()=>{let{additionalContent:{pageInfo:e,navigationButtons:l},customParams:n}=(0,r.H)(),u=(0,s.X_)(n.fullSizeSecondaryLogin);return(0,o.jsx)(c.L,{...l,children:(0,o.jsxs)(t.s,{...e,children:[(0,o.jsx)(a.p,{}),(0,o.jsx)(i.E,{fullSizeSecondaryLogin:u})]})})}},47090:e=>{e.exports={desktopBreakpointWidth:"769px",desktopBreakpointHeight:"660px",desktopBreakpointHeightCompact:"800px",desktopMaxViewport:"1280px","login-wall-step":"LoginWallStep_login-wall-step__LCmRp","continue-as-guest-label-reduced":"LoginWallStep_continue-as-guest-label-reduced__odC63","do-login-label-reduced":"LoginWallStep_do-login-label-reduced__YmUbu","continue-as-guest-label-full":"LoginWallStep_continue-as-guest-label-full__OojgB","do-login-label-full":"LoginWallStep_do-login-label-full__IrUI1","login-wall-button":"LoginWallStep_login-wall-button__rKGZ6","or-option-button-reduced":"LoginWallStep_or-option-button-reduced__xdrer"}},69319:(e,l,n)=>{"use strict";n.d(l,{A:()=>a});var o,t=n(14232);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var n=arguments[l];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let a=function(e){return t.createElement("svg",c({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),o||(o=t.createElement("path",{d:"M12.008 5.001c.406 0 .826.08 1.259.242.433.162.81.365 1.134.61.323.245.589.517.797.814.209.297.313.576.313.836v2.503c0 .594-.125 1.256-.375 1.986s-.62 1.283-1.11 1.658a1.171 1.171 0 0 0-.22.258 1.03 1.03 0 0 0-.156.65c.052.375.245.64.579.797l4.363 2.064.032.008.062.024.078.047.086.07.079.102.054.156.016.203V19l-13.998.016v-1.017c0-.26.14-.454.422-.579l4.395-2.08a.952.952 0 0 0 .571-.79.926.926 0 0 0-.367-.899c-.48-.386-.853-.946-1.119-1.681-.266-.735-.399-1.39-.399-1.963V7.503c0-.344.172-.711.517-1.102.344-.391.792-.722 1.345-.993.552-.271 1.1-.407 1.642-.407zm0-1.001c-.72 0-1.431.175-2.135.524-.704.35-1.275.798-1.713 1.345-.438.547-.657 1.092-.657 1.634v2.503c0 .678.16 1.457.477 2.338.318.881.79 1.577 1.416 2.088L5 16.512a.858.858 0 0 0-.11.047 3.28 3.28 0 0 0-.234.14 3.088 3.088 0 0 0-.305.22 1.23 1.23 0 0 0-.243.274.56.56 0 0 0-.109.305v1.517c0 .27.096.503.29.696.192.193.43.289.711.289h14.014a.949.949 0 0 0 .696-.29.949.949 0 0 0 .289-.695v-1.517a.608.608 0 0 0-.102-.321 1.08 1.08 0 0 0-.25-.282 4.471 4.471 0 0 0-.29-.21 1.604 1.604 0 0 0-.25-.142l-.093-.03-4.364-2.08c.626-.491 1.092-1.169 1.4-2.034.307-.866.461-1.663.461-2.393V7.503c0-.406-.133-.82-.399-1.243a4.567 4.567 0 0 0-1.024-1.134 5.308 5.308 0 0 0-1.455-.813A4.588 4.588 0 0 0 12.008 4z",fill:"#777"})))}},95623:(e,l,n)=>{"use strict";n.d(l,{A:()=>a});var o,t=n(14232);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var n=arguments[l];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let a=function(e){return t.createElement("svg",c({viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},e),o||(o=t.createElement("path",{d:"M16.5 10.4H16V8.494c0-1.157-.378-2.128-1.133-2.914-.755-.787-1.716-1.18-2.883-1.18-.77 0-1.463.185-2.078.555a3.76 3.76 0 0 0-1.414 1.484A4.323 4.323 0 0 0 8 8.494V10.4h-.5c-.552 0-1.023.195-1.414.586-.39.39-.586.862-.586 1.414v6c0 .552.195 1.023.586 1.414.39.39.862.586 1.414.586h9c.552 0 1.023-.195 1.414-.586.39-.39.586-.862.586-1.414v-6c0-.552-.195-1.023-.586-1.414A1.927 1.927 0 0 0 16.5 10.4zM9 8.494c0-.875.276-1.61.828-2.203.552-.594 1.271-.891 2.156-.891.886 0 1.61.294 2.172.883.563.588.844 1.325.844 2.21V10.4H9V8.494zm8.5 9.906a.998.998 0 0 1-1 1h-9a.961.961 0 0 1-.703-.297.961.961 0 0 1-.297-.703v-6c0-.27.099-.505.297-.703A.961.961 0 0 1 7.5 11.4h9c.27 0 .505.099.703.297a.961.961 0 0 1 .297.703v6zm-5.5-5a.966.966 0 0 0-.71.29.966.966 0 0 0-.29.71c0 .375.167.661.5.86v1.64c0 .135.05.253.148.352A.48.48 0 0 0 12 17.4a.48.48 0 0 0 .352-.148.48.48 0 0 0 .148-.352v-1.64c.333-.199.5-.485.5-.86a.966.966 0 0 0-.29-.71.966.966 0 0 0-.71-.29z",fill:"#FFF",fillRule:"evenodd"})))}},96955:(e,l,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/renew/checkout",function(){return n(39426)}])}},e=>{e.O(0,[9123,636,6593,8792],()=>e(e.s=96955)),_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.