PageSourceSearch

https://cdn.lafourche.fr/_next/static/chunks/4165.2fbb1cb051848f04.js

js lafourche.fr collected 2026-09-25 18:41:48 UTC 4,284 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4165],{14165:(e,t,s)=>{s.r(t),s.d(t,{default:()=>T});var n=s(6029),o=s(79002),a=s.n(o),l=s(93521),r=s(55729),i=s(78135),c=s(81278),d=s(42278),u=s(53718),b=s(92520),m=s(57615),h=s(57674),_=s(44620),p=s(42043),x=s(56461),f=s(22526),w=s(75581),j=s(52093),y=s(70758),g=s(51500),v=s(23772),k=s(11989),A=s(35133),N=s(90283);let T=(0,y.A)(e=>{let[t,s]=(0,r.useState)(!1),[o,y]=(0,r.useState)(!1),{getPath:T}=(0,x.A)(),E=(0,c.useRouter)(),{validatedCoupon:P,discountedPrice:R,isCouponValid:C}=(0,w.Ph)(),[,I]=(0,u.Fo)(_.At,""),{isMember:S,authUser:F}=(0,b.uM)(),{setPromotionCode:B}=(0,u.Rs)(!!S,null==F?void 0:F.email,m.Zl),{shoppingCart:L}=(0,h.UI)(),M=!!(L.hasGiftItem&&1===L.products.length),O=L.totalQuantity>0&&!M,{annualSubscriptionPrice:D}=(0,j.A)(),G=(0,p.useTranslations)("Global"),z=(null==P?void 0:P.id)||"",H=(null==P?void 0:P.code)||"";return(0,r.useEffect)(()=>{""!==z&&B({id:z,code:H})},[z,B]),(0,r.useEffect)(()=>{if(t&&S){let e=O?"/cart":T(f.Q.SUBSCRIPTION_CONFIRMATION);E.push(e)}},[t,S]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("section",{className:"jsx-6a01063914ba1f0b tw-p-8",children:[(0,n.jsx)("div",{className:"jsx-6a01063914ba1f0b title tw-mb-2 tw-text-center",children:(0,n.jsx)(l.RichText,{render:e.selectPaymentMethodTitle,htmlSerializer:(0,v.A)({className:"tw-lf-title tw-lf-title-sm tw-text-center desktop:tw-lf-title-md"})})}),e.isCouponFormDisplayed&&(0,n.jsx)(g.A,{headings:(0,n.jsx)("div",{className:"jsx-6a01063914ba1f0b tw-mb-4",children:(0,n.jsx)(l.RichText,{render:e.couponFormHeadings,htmlSerializer:(e,t,s)=>(null==s?void 0:s.includes("%PRICE%"))||(null==s?void 0:s.includes("%DATE%"))?(0,n.jsxs)(n.Fragment,{children:[C&&(null==s?void 0:s.includes("%PRICE%"))&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"line-through tw-lf-body-bold-md",children:(0,d.GP)(D)}),"\xa0"]}),(0,n.jsx)("span",{className:"tw-lf-body-bold-md",children:null==s?void 0:s.replace("%PRICE%",(0,d.GP)(R)).replace("%DATE%","")}),(0,n.jsx)("span",{className:"tw-lf-body-bold-md",children:null==s?void 0:s.replace("%PRICE%","").replace("%DATE%",(0,d.Yq)((0,d.Hr)()))})]}):null})}),openFormButtonText:e.couponLinkButton,submitButtonText:e.couponButton,onSuccessMessage:e.couponSuccess,onErrorMessage:e.couponError}),(0,n.jsx)(N.A,{isLoading:o,ibanAboveButtonText:e.ibanAboveButtonText,submitButtonLabel:e.buttonLabel,subscribeCallback:e=>{e?(y(!0),I(JSON.stringify({freeTrialStarted:!0,showModal:!0})),s(!0)):i.oR.error(G("errorOccurredTryAgain"))}}),e.securedPaymentWithLocker&&(0,n.jsxs)("div",{className:"jsx-6a01063914ba1f0b tw-flew tw-mt-2 tw-flex tw-justify-center",children:[(0,n.jsx)("span",{className:"jsx-6a01063914ba1f0b tw-lf-caption-regular tw-mr-1",children:e.securedPaymentWithLocker}),(0,n.jsx)(k.A,{size:A.y3.sm})]})]}),(0,n.jsx)(a(),{id:"6a01063914ba1f0b",children:"section.jsx-6a01063914ba1f0b{display:flex;flex-direction:column;justify-content:center;background-color:var(--white);border-radius:var(--rd-6);width:600px;margin:auto}strong{font-weight:600}section.jsx-6a01063914ba1f0b p{line-height:1.3em}@media(max-width:800px){section.jsx-6a01063914ba1f0b{background:none;border-radius:0;width:inherit;padding:0}}"})]})},e=>{let{prismicContent:t}=e,{below_button_text:s,button_label:n,cb_above_button_text:o,change_payment_method_label:a,iban_above_button_text:l,payment_method_selected_text:r,payment_method_selected_text_checkout:i,payment_method_selected_title:c,secured_payment_with_locker:d,select_payment_method_text:u,select_payment_method_text_checkout:b,select_payment_method_title:m,coupon_form_headings:h,is_coupon_form_displayed:_,coupon_link_button:p,coupon_input_placeholder:x,coupon_button:f,coupon_error:w,coupon_success:j}=t.primary;return{...t.primary,selectPaymentMethodTitle:m,selectPaymentMethodText:u,selectPaymentMethodTextCheckout:b,paymentMethodSelectedTitle:c,paymentMethodSelectedText:r,paymentMethodSelectedTextCheckout:i,changePaymentMethodLabel:a,securedPaymentWithLocker:d,cbAboveButtonText:o,ibanAboveButtonText:l,buttonLabel:n,belowButtonText:s,couponFormHeadings:h,isCouponFormDisplayed:_,couponButton:f,couponLinkButton:p,couponInputPlaceholder:x,couponError:w,
1couponSuccess:j}})}}]);
2//# sourceMappingURL=4165.2fbb1cb051848f04.js.map

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.