PageSourceSearch

https://taw.jensens.com/component---src-pages-[country-code]-resta…rder-id-payment-tsx-174732637de6cd610623.js

js jensens.com collected 2026-09-25 00:02:48 UTC 19,332 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkheaps_go_web_guest=self.webpackChunkheaps_go_web_guest||[]).push([[8691],{84931:function(e,r,t){t.d(r,{r:function(){return S}});var n=t(96540),o=t(94127),a=t(32821),s=t(90022),i=t(70924),c=t(32389),d=t(24755),u=t(2105),l=t(5763),m=t(54619);const y="order_paid",p="order_payment_canceled",S=e=>{let{renderChild:r,showPaymentFailedScreen:t,showPaymentSucceededScreen:S,order:h}=e;const{0:g,1:v}=(0,n.useState)(!1),{0:w,1:b}=(0,n.useState)(void 0),f=n.useRef(),P=n.useRef(w),C=e=>{P.current=e,b(e)},{t:_}=(0,c.useTranslation)(),{startCancelPaymentTimeout:A}=(0,o.d)(),{subscribe:x,sseSubscriber:I}=((e,r,t,o,S,h)=>{const{t:g}=(0,c.useTranslation)(),{language:v}=(0,d.useI18next)(),{0:w,1:b}=(0,n.useState)(),f=(0,l.M)();return(0,n.useEffect)((()=>{if(!r)return;const e=new a.A(r.order.sse_jwt,r.order._links.sse_subscribe);b(e)}),[r]),{subscribe:()=>(0,n.useEffect)((()=>{if(!w)return;const n=async n=>{const a=JSON.parse(n.data);if(a.type===y){try{const e=await f.checkout.retrieveOrderById(r.order.id,v);e&&((0,s.YS)(e.order),(0,u.X5)(e.order))}catch(c){(0,m.C)(c,{type:"business_logic",category:"invalid-state",context:{errorSource:"useOrderStatusSSE - order paid follow-up",orderId:r.order.id}})}o()}else{if(a.type!==p)return void(0,m.C)(new Error("Unknown SSE event type: "+a.type),{type:"business_logic",category:"invalid-state",context:{errorSource:"useOrderStatusSSE",eventType:a.type,orderId:r.order.id}});t(""+g(i.o.webPaymentFailed))}w.close(),h(!1),e.current&&(clearTimeout(e.current),S(void 0))};return w.addEventListener("message",n),()=>{w.removeEventListener("message",n),w.close()}}),[w]),sseSubscriber:w}})(P,h,t,S,C,v);x();const k=(0,n.useCallback)(((e,r)=>{const n=A(h.order.id,S,(r=>{t(r,e)}),r,(r=>{r&&t(""+_(i.o.paymentTimedOut),e),v(!1)}));v(!0),C(n)}),[I]);return(0,n.useEffect)((()=>{I&&(f.current=I)}),[I]),(0,n.useEffect)((()=>{window.scrollTo({top:0,behavior:"smooth"})}),[]),r({paymentProcessing:g,setPaymentProcessing:v,startTimeout:k,sseSubscriber:f,timeoutId:P,setTimeoutId:C})}},44792:function(e,r,t){t.r(r),t.d(r,{Head:function(){return oe},default:function(){return ne}});var n=t(96540),o=t(24755),a=t(73566),s=t(45814),i=t(87746),c=t(37095),d=t(22926),u=t(93591),l=t(23987),m=t(31268),y=t(54619);var p=t(58168),S=t(98587),h=t(84931),g=t(34448),v=t(63617),w=t(90022),b=t(32389),f=t(70924),P=t(20631),C=t(94127),_=t(97571),A=t(96687),x=t(37033);const I=e=>{let{hide:r,nextAction:t,startTimeout:a,setTimeoutId:s,timeoutId:i,paymentProcessing:c,setPaymentProcessing:u,sseSubscriber:l,showPaymentFailedScreen:p,showPaymentSucceededScreen:S,order:h}=e;const{0:g,1:I}=(0,n.useState)(!1),k=(0,d.useStripe)(),N=(0,d.useElements)(),{performStripeSCA:T,handleCancelPayment:Y}=(0,C.d)(),{language:F}=(0,o.useI18next)(),{t:E}=(0,b.useTranslation)();if(!k||!N)return null;const O=()=>{a((()=>{if(!g)return clearTimeout(i.current),O(),!0;var e;l&&(null==l||null===(e=l.current)||void 0===e||e.close())}))};return(0,x.Y)(v.g,{buttonText:"Order and pay "+(0,P.Au)(h.order.total_remaining_price.amount,h.order.total_remaining_price.currency,F),goBack:async()=>{var e;if(!c){null==l||null===(e=l.current)||void 0===e||e.close();try{await Y(h.order.id,S),r()}catch(t){const e=(0,m.u1)(t,E);(0,y.C)(t,{type:"network",target:"internal-api",category:"payment",step:"cancel-payment",provider:"stripe",context:{errorSource:"StripeCardPaymentForm - onBackClicked",errorMessage:e,orderId:h.order.id}}),p(e,"Stripe card")}}},title:E(f.o.webPayment),subtitle:E(f.o.webPaymentSubtitle),onSubmit:async()=>{(0,A.o)("stripe","transaction-started",{orderId:h.order.id}),u(!0),O();try{const e=N.getElement("card");if(!e){const e=new _.A({errorCode:"unknown_error",errorMessage:"Card element not found",translationKey:""});throw(0,y.C)(e,{type:"business_logic",category:"invalid-state",context:{errorSource:"StripeCardPaymentForm - missing card element",provider:"stripe",orderId:h.order.id}}),e}await T(t,k,{payment_method:{card:e}}),(0,A.o)("stripe","transaction-accepted",{orderId:h.order.id}),I(!0)}catch(e){(0,w.Km)(e);const r=await Y(h.order.id,S),t=(0,m.u1)(e,E);r&&p(t,"Stripe card")}finally{i.current&&(clearTimeout(i.current),s(void 0)),u(!1)}},formSubmissionLoading:c})};var k=t(25628),N=t(2105),T=t(5763);const Y=e=>{let{hide:r,nextAction:t,startTimeout:a,setTimeoutId:s,timeoutId:i,paymentProcessing:c,setPaymentProcessing:u,sseSubscriber:p,showPaymentFailedScreen:S,showPaymentSucceededScreen:h,order:g,adyenContext:v}=e;const{0:P,1:_}
1=(0,n.useState)(!1),{0:I,1:Y}=(0,n.useState)(!1),F=(0,d.useStripe)(),E=(0,d.useElements)(),{handleCancelPayment:O}=(0,C.d)(),{mutateAsync:R}=(0,l.f9)(),{t:L}=(0,b.useTranslation)(),{language:j}=(0,o.useI18next)(),B=(0,T.M)();if(!F||!E)return null;const M=()=>{a((()=>{if(!P)return clearTimeout(i.current),M(),!0;var e;p&&(null==p||null===(e=p.current)||void 0===e||e.close())}))};return(0,x.Y)(k.g,{goBack:async()=>{var e;if(!c){Y(!0),null==p||null===(e=p.current)||void 0===e||e.close();try{await O(g.order.id,h),r()}catch(t){const e=(0,m.u1)(t,L);(0,y.C)(t,{type:"network",target:"internal-api",category:"payment",step:"cancel-payment",provider:"adyen",context:{errorSource:"AdyenCardPaymentForm - onBackClicked",errorMessage:e,orderId:g.order.id}}),S(e,"Adyen card")}finally{Y(!1)}}},title:L(f.o.webPayment),subtitle:L(f.o.webPaymentSubtitle),onSubmit:async e=>{u(!0),M();try{const r=await R({url:t.payment_url,data:e});return(0,A.o)("adyen","payment-submitted",{orderId:g.order.id,resultCode:null==r?void 0:r.resultCode}),_(!0),r}catch(r){(0,w.Km)(r);const e=await O(g.order.id,h),t=(0,m.u1)(r,L);(0,y.C)(r,{type:"network",target:"internal-api",category:"payment",step:"provider-action",provider:"adyen",context:{errorSource:"AdyenCardPaymentForm - onSubmit",errorMessage:t,orderId:g.order.id,hasCancelled:e}}),e&&S(t,"Adyen card")}finally{i.current&&(clearTimeout(i.current),s(void 0)),u(!1)}},formSubmissionLoading:c,amount:g.order.total_remaining_price,countryCode:v.country_code,paymentDetailsUrl:t.payment_details_url,cancelPaymentLoading:I,clientKey:t.client_key,paymentMethodsUrl:v.payment_methods_url,onPaymentFailed:S,onPaymentCompleted:async()=>{(0,A.o)("adyen","payment-completed",{orderId:g.order.id});const e=await B.checkout.retrieveOrderById(g.order.id,j);e&&((0,w.YS)(e.order),(0,N.X5)(e.order)),h()}})};var F=t(24258),E=t(47033),O=t(12095);function R(e){let{action:r,payment_details_url:t,countryCode:a,client_key:s,showPaymentFailedScreen:i}=e;const c=(0,n.useRef)(null),d=(0,T.M)(),{language:u}=(0,o.useI18next)();return(0,n.useEffect)((()=>{if(!r)return;(async()=>{(await(0,E.m)({clientKey:s,locale:(0,O.ew)(u),countryCode:a,environment:(0,O.NB)(s),onAdditionalDetails:async(e,r,n)=>{const o=e.data;try{const e=await d.payments.postAdyenPaymentDetails({data:o,paymentDetailsUrl:t});n.resolve({resultCode:e.resultCode})}catch(a){(0,y.C)(a,{type:"network",target:"internal-api",category:"payment",step:"sca-challenge",provider:"adyen",context:{errorSource:"AdyenCardSCA - onAdditionalDetails"}}),n.reject()}},onError:e=>{(0,y.C)(e,{type:"network",target:"external-api",category:"payment",step:"sca-challenge",provider:"adyen",context:{errorSource:"AdyenCardSCA - onError"}}),i(e.message,"Adyen Card SCA")}})).createFromAction(r).mount(c.current)})()}),[r,t]),(0,x.Y)("div",{ref:c})}const L=["startTimeout","sseSubscriber"],j=["providerName","parameters"],B=["providerName"],M=["providerName"],U=["providerName"],K=e=>{let{nextAction:r,hide:t,showPaymentFailedScreen:o,showPaymentSucceededScreen:a,order:s,checkoutFormValues:i,deliveryAddress:c,adyenContext:d,isSca:u,countryCode:l}=e;return(0,x.Y)(h.r,{showPaymentFailedScreen:o,showPaymentSucceededScreen:a,order:s,renderChild:e=>{let{startTimeout:m,sseSubscriber:h}=e,v=(0,S.A)(e,L);const{phonenumberPrefix:w,address:b,city:f,email:P,firstName:C,floor:_,lastName:A,phoneNumber:k,postal:N,to:T}=i;switch(r.providerName){case"transpayrent":return(0,x.Y)(g.M2,(0,p.A)({},v,{hide:t,order:s,showPaymentFailedScreen:o,transpayrentGateway:u?"creditcard_sca":"creditcard",paymentProvider:Object.assign({},(J=r,(0,S.A)(J,j)),{parameters:Object.assign({phonenumberPrefix:w},c&&c,b&&{address:b},f&&{city:f},P&&{email:P},C&&{firstName:C},_&&{floor:_},A&&{lastName:A},k&&{phoneNumber:k},N&&{postal:N},T&&{to:T},r.parameters)}),showPaymentSucceededScreen:a,sseSubscriber:h,startTimeout:()=>{m("Transpayrent Card",(()=>{var e;null==h||null===(e=h.current)||void 0===e||e.close()}))}}));case"epay":return(0,x.Y)(F.W,(0,p.A)({},v,{hide:t,order:s,nextAction:(D=r,(0,S.A)(D,B)),sseSubscriber:h,showPaymentFailedScreen:o,showPaymentSucceededScreen:a,startTimeout:e=>{m("ePay Card",(()=>e()))}}));case"stripe":return(0,x.Y)(I,(0,p.A)({},v,{hide:t,order:s,nextAction:(K=r,(0,S.A)(K,M)),sseSubscriber:h,showPaymentFailedScreen:o,showPaymentSucceededScreen:a,startTimeout:e=>{m("Stripe Card",(()=>e()))}}));
1case"adyen":case"adyen_custom":return(0,x.Y)(n.Fragment,null,u?(0,x.Y)(R,{action:r.action,client_key:r.client_key,countryCode:(0,O.HR)(l),payment_details_url:r.payment_details_url,showPaymentFailedScreen:o}):(0,x.Y)(Y,(0,p.A)({},v,{hide:t,order:s,adyenContext:d,nextAction:(E=r,(0,S.A)(E,U)),sseSubscriber:h,showPaymentFailedScreen:o,showPaymentSucceededScreen:a,startTimeout:e=>{m("Adyen Card",(()=>e()))}})));default:return(0,y.C)(new Error("Unknown payment provider "+JSON.stringify(r.providerName)),{type:"business_logic",category:"unsupported-operation",context:{errorSource:"CardPaymentForm - renderChild",providerName:r.providerName}}),(0,x.Y)(n.Fragment,null)}var E,K,D,J}})};var D=t(90165),J=t(75598),Q=t(20982),W=t(80693),H=t(5404),V=t(51735);const q=()=>{const{t:e}=(0,b.useTranslation)(),[r,t]=n.useState(!1);return(0,n.useEffect)((()=>{const e=setTimeout((()=>{t(!0)}),W.qL);return()=>clearTimeout(e)})),(0,x.Y)("div",{className:"flex flex-col items-center justify-center w-screen h-[80vh] bg-backgroundBranded gap-6"},(0,x.Y)("div",{className:"flex flex-col w-[72px] h-[72px] items-center justify-center bg-ctaLight rounded-full text-ctaMain"},(0,x.Y)(J._B,null,(0,x.Y)(Q.g,{icon:D.z1,spin:!0,pulse:!0}))),(0,x.Y)(J._B,{className:"text-foreground-base"},e(f.o.comboOrderProcessing),"..."),r&&(0,x.Y)(H.d,{className:"w-[300px] mt-16",size:"large",onClick:async()=>{(0,V.O_)("payment_loader_manual_refresh"),window.location.reload()}},e(f.o.paymentComboTimoutCtaTitle)))};var G=t(70158);const X=e=>{let{src:r,providerName:t,startTimeout:a,sseSubscriber:s,showPaymentSucceededScreen:i,order:c,timeoutId:d,showPaymentFailedScreen:u}=e;const{0:l,1:p}=(0,n.useState)(!1),{handleCancelPayment:S}=(0,C.d)(c.order.id),h=(0,T.M)(),{t:g}=(0,o.useTranslation)(),{language:v}=(0,o.useI18next)(),{setInfoModalConfig:b}=(0,G.Dh)(),P=n.useRef(l),_=async()=>{var e;if("visible"!==document.visibilityState)return;if(!c.order.id)return void(0,y.C)(new Error("Order ID is undefined in checkIfOrderIsPaid!"),{type:"business_logic",category:"invalid-state",context:{errorSource:"WalletPaymentIFrame",providerName:t}});let r;try{r=await h.checkout.retrieveOrderById(c.order.id,v)}catch(n){const e=(0,m.u1)(n,g);return void b({title:g(f.o.comboPaymentErrorGenericHeader),description:e})}if(["paid","accepted","processing","manufacturing","ready","in_delivery","delivered"].includes((null===(e=r)||void 0===e?void 0:e.order.state)||""))r&&((0,w.YS)(r.order),(0,N.X5)(r.order)),i();else{if(d.current||!P.current)return;a(t,(()=>{var e;null==s||null===(e=s.current)||void 0===e||e.close()}))}},A=async e=>{const t=new URL(r),n=new URL(e.origin);if(t.hostname!==n.hostname)return;if("string"!=typeof e.data)return;if("rejected"===new URLSearchParams(e.data).get("message"))try{await S(c.order.id,i);const e=await h.checkout.retrieveOrderById(c.order.id,v);("in_checkout"===(null==e?void 0:e.order.state)||"new"===(null==e?void 0:e.order.state))&&u("Payment was rejected by user.")}catch(o){}};return(0,n.useEffect)((()=>(document.addEventListener("visibilitychange",_),window.addEventListener("message",A),()=>{document.removeEventListener("visibilitychange",_),window.removeEventListener("message",A)})),[]),(0,x.Y)("iframe",{src:r,className:"h-[70vh] md:h-[110vh]",onLoad:async e=>{try{var r,n,o;const c=null==e||null===(r=e.target)||void 0===r||null===(n=r.contentWindow)||void 0===n||null===(o=n.location)||void 0===o?void 0:o.href,d="https://jensens.heapsgo.com";c.includes(d)&&(i=!0,P.current=i,p(i),a(t,(()=>{var e;null==s||null===(e=s.current)||void 0===e||e.close()})))}catch(e){}var i},frameBorder:"0",scrolling:"no"})},z=e=>{let{src:r,providerName:t,showPaymentFailedScreen:o,showPaymentSucceededScreen:a,order:s}=e;return(0,x.Y)(h.r,{showPaymentFailedScreen:o,showPaymentSucceededScreen:a,order:s,renderChild:e=>{let{startTimeout:i,sseSubscriber:c,paymentProcessing:d,timeoutId:u}=e;return(0,x.Y)(n.Fragment,null,d?(0,x.Y)(q,null):(0,x.Y)(X,{src:r,order:s,providerName:t,showPaymentSucceededScreen:a,showPaymentFailedScreen:o,sseSubscriber:c,startTimeout:i,timeoutId:u}))}})};var Z=t(69386),$=t(63061),ee=t(23702);const re=e=>{let{showPaymentFailedScreen:r,showPaymentSucceededScreen:t,order:s,countryCode:i,slug:c,paymentProcessing:d,sseSubscriber:u}=e;const{0:l,1:p}
1=(0,n.useState)(!1),S=(0,n.useRef)(null),h=(0,n.useRef)(null),{language:g}=(0,o.useI18next)(),{handleCancelPayment:v}=(0,C.d)(),{navigate:w}=(0,o.useI18next)(),{t:b}=(0,o.useTranslation)();return(0,n.useEffect)((()=>{if(!(!!S.current&&!h.current))return;(async()=>{const e=(0,$.AY)();if(!e)return(0,y.C)(new Error("Swish payment attempted, but no action found in localStorage"),{type:"business_logic",category:"invalid-state",context:{errorSource:"AdyenSwishWalletQRScanner",shop:c,orderId:s.order.id}}),void r("Something went wrong with Swish payment","Swish");try{(await(0,E.m)({clientKey:e.clientKey,environment:(0,O.NB)(e.clientKey),locale:(0,O.ew)(g),countryCode:(0,O.HR)(i),onError:e=>{(0,y.C)(e,{type:"network",target:"external-api",category:"payment",step:"provider-action",provider:"adyen",context:{errorSource:"AdyenSwishWalletQRScanner - onError",shop:c,orderId:s.order.id}}),r(e.message,"Swish")}})).createFromAction(e.action).mount(S.current),(0,A.o)("adyen","swish-qr-shown",{shop:c,orderId:s.order.id})}catch(t){(0,y.C)(t,{type:"network",target:"external-api",category:"payment",step:"provider-action",provider:"adyen",context:{errorSource:"AdyenSwishWalletQRScanner - mount",shop:c,orderId:s.order.id}}),r("Something went wrong with Swish payment","Swish")}})()}),[]),(0,x.Y)(ee.l,{onBackClicked:async()=>{var e;d||(p(!0),null==u||null===(e=u.current)||void 0===e||e.close(),setTimeout((async()=>{try{await v(s.order.id,t),(0,$.Vb)(),w(a.J.checkout.base({countryCode:i,slug:c,orderId:s.order.id}))}catch(e){const t=(0,m.u1)(e,b);(0,y.C)(e,{type:"network",target:"internal-api",category:"payment",step:"cancel-payment",provider:"adyen",context:{errorSource:"AdyenSwishWalletQRScanner - onBackClicked",errorMessage:t,shop:c,orderId:s.order.id}}),r(t,"Swish wallet")}p(!1)}),1e3))},cancelPaymentLoading:l,formSubmissionLoading:!1,title:b(f.o.commonSwishPaymentTitle),subtitle:b(f.o.commonSwishPaymentDescription)},(0,x.Y)("div",{ref:S}))},te=e=>{let{showPaymentFailedScreen:r,showPaymentSucceededScreen:t,order:a,countryCode:s,slug:i}=e;const c=(0,n.useRef)(null),d=(0,n.useRef)(null),{language:u}=(0,o.useI18next)();return(0,n.useEffect)((()=>{if(!(!!c.current&&!d.current))return;(async()=>{const e=(0,$.AY)();if(!e)return void r("Something went wrong when trying to render the Swish QR code scanner");(await(0,E.m)({clientKey:e.clientKey,environment:(0,O.NB)(e.clientKey),locale:(0,O.ew)(u),countryCode:(0,O.HR)(s)})).createFromAction(e.action).mount(c.current)})()}),[s,u,i,r]),(0,x.Y)(h.r,{showPaymentFailedScreen:r,showPaymentSucceededScreen:t,order:a,renderChild:e=>{let{paymentProcessing:o,sseSubscriber:c,setPaymentProcessing:d}=e;return(0,x.Y)(n.Fragment,null,o?(0,x.Y)(q,null):(0,x.Y)(re,{sseSubscriber:c,showPaymentFailedScreen:r,showPaymentSucceededScreen:t,order:a,countryCode:s,slug:i,paymentProcessing:o,setPaymentProcessing:d}))}})};var ne=e=>{var r,t,i;let{params:p,location:{search:S}}=e;const{navigate:h}=(0,o.useI18next)(),g=new URLSearchParams(S),v=g.get("type"),w=g.get("phonenumberPrefix"),b=g.get("phoneNumber"),f=p[a.Q.countryCode],P=p[a.Q.slug],C=p[a.Q.orderId],{data:_,error:A,isLoading:I}=(0,l.Md)(C),{data:k,isLoading:N}=(0,l.mu)({orderId:C,supportedMethods:{adyen_custom:Array.from(new Set(["card"])),adyen:Array.from(new Set(["card"]))}}),{showPaymentSucceededScreen:T,showPaymentFailedScreen:Y}=(0,Z.V)({countryCode:f,slug:P,orderId:C}),F=null!=k&&k.adyen_custom?k.adyen_custom:null==k?void 0:k.adyen,E=null==_||null===(r=_.order)||void 0===r?void 0:r.payments,O=E&&(null===(t=E[0])||void 0===t?void 0:t.intents),R=O&&(null===(i=O[0])||void 0===i?void 0:i.next_action),L=R?"stripe"in(j=R)?Object.assign({providerName:"stripe"},j.stripe):"transpayrent"in j?Object.assign({providerName:"transpayrent"},j.transpayrent):"vipps_mobilepay"in j?Object.assign({providerName:"vipps_mobilepay"},j.vipps_mobilepay):"mobilepay_dk"in j?Object.assign({providerName:"mobilepay_dk"},j.mobilepay_dk):"adyen"in j?Object.assign({providerName:"adyen"},j.adyen):"adyen_custom"in j?Object.assign({providerName:"adyen_custom"},j.adyen_custom):"pensopay"in j?Object.assign({providerName:"pensopay"},j.pensopay):"epay"in j?Object.assign({providerName:"epay"},j.epay):((0,y.C)(new Error("Unknown next action type in formatNextAction: "+JSON.stringify(j)),{type:"business_logic",category:"unsupported-operation",context:{errorSource:"formatNextAction"}}),null):null;var j;const{t:B}=(0,o.useTranslation)();(0,n.useEffect)((()=>{v||h(a.J.checkout.base({countryCode:f,slug:P,orderId:C}))}),[v]),(0,m._o)(A,B);const M=null==_?void 0:_.order.customer;return(0,x.Y)(s.P,{hideAuth:!0,countryCode:p[a.Q.countryCode],hideAppCta:!0},I||N||!_||!L?(0,x.Y)(c.B,null):(0,x.Y)(d.Elements,{stripe:(0,u.A)()},"wallet"===v?(0,x.Y)(z,{order:_,providerName:L.providerName,showPaymentFailedScreen:Y,showPaymentSucceededScreen:T,src:"mobilePayAppRedirectUri"in L?L.mobilePayAppRedirectUri:"redirect_url"in L?L.redirect_url:""}):"swish-wallet"===v?(0,x.Y)(te,{order:_,countryCode:f,slug:P,showPaymentFailedScreen:Y,showPaymentSucceededScreen:T}):(0,x.Y)(K,{order:_,countryCode:f,isSca:"card_sca"===v,deliveryAddress:null==_?void 0:_.order.delivery_address,checkoutFormValues:Object.assign({},(null==_?void 0:_.order.delivery_address)&&(null==_?void 0:_.order.delivery_address),(null==M?void 0:M.first_name)&&{firstName:M.first_name},(null==M?void 0:M.email)&&{email:M.email},(null==M?void 0:M.last_name)&&{lastName:M.last_name},b&&{phoneNumber:b},{phonenumberPrefix:w||""}),nextAction:L,adyenContext:F,hide:()=>{h(a.J.checkout.base({countryCode:f,slug:P,orderId:C}))},showPaymentFailedScreen:Y,showPaymentSucceededScreen:T})))};const oe=()=>(0,x.Y)(i.b,{title:"Jensen's",description:{}.GATSBY_PARTNER_DESCRIPTION||"",image:"https://d2k768cqhh7osk.cloudfront.net/heapsgo/jensens/assets/logo_web.svg"})},63061:function(e,r,t){t.d(r,{A0:function(){return a},AY:function(){return o},Vb:function(){return s}});const n="hg::cache::adyenSwishAction",o=()=>{const e=localStorage.getItem(n);return e?JSON.parse(e):null},a=e=>{localStorage.setItem(n,JSON.stringify(e))},s=()=>{localStorage.removeItem(n)}}}]);
2//# sourceMappingURL=component---src-pages-[country-code]-restaurants-[slug]-checkout-order-id-payment-tsx-174732637de6cd610623.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.