1"use strict";(self.webpackChunkheaps_go_web_guest=self.webpackChunkheaps_go_web_guest||[]).push([[8465],{57275:function(e,t){var n="check",r=[10003,10004],o="f00c",s="M440.1 103C450.3 112.4 450.3 127.6 440.1 136.1L176.1 400.1C167.6 410.3 152.4 410.3 143 400.1L7.029 264.1C-2.343 255.6-2.343 240.4 7.029 231C16.4 221.7 31.6 221.7 40.97 231L160 350.1L407 103C416.4 93.66 431.6 93.66 440.1 103V103z";t.mw={prefix:"far",iconName:n,icon:[448,512,r,o,s]},t.e6=t.mw},59678:function(e,t){var n="exclamation",r=[10069,10071,61738],o="M64 368c13.27 0 24-10.75 24-24v-288c0-13.25-10.73-23.99-24-23.99S40 42.75 40 56v288C40 357.3 50.73 368 64 368zM64 416c-17.67 0-32 14.33-32 32s14.33 32.01 32 32.01S96 465.7 96 448S81.67 416 64 416z";t.mw={prefix:"far",iconName:n,icon:[128,512,r,"21",o]},t.bx=t.mw},87746:function(e,t,n){n.d(t,{b:function(){return a}});var r=n(96540),o=n(64810),s=n(37033);const a=e=>{let{title:t,description:n,image:a=""}=e;const{site:c}=(0,o.useStaticQuery)("3000541721"),i="true"==={}.GATSBY_ENABLE_SEO,u=n||c.siteMetadata.description,d=""+(t||c.siteMetadata.title);return(0,s.Y)(r.Fragment,null,(0,s.Y)("title",null,d),!i&&(0,s.Y)("meta",{name:"robots",content:"noindex"}),(0,s.Y)("meta",{name:"description",content:u}),(0,s.Y)("meta",{property:"og:title",content:d}),(0,s.Y)("meta",{property:"og:description",content:u}),(0,s.Y)("meta",{property:"og:image",content:a}),(0,s.Y)("meta",{property:"og:type",content:"website"}),(0,s.Y)("meta",{name:"twitter:card",content:"summary"}),(0,s.Y)("meta",{name:"twitter:title",content:d}),(0,s.Y)("meta",{name:"twitter:description",content:u}),(0,s.Y)("meta",{name:"twitter:image",content:a}))}},42233:function(e,t,n){n.d(t,{q:function(){return d}});var r=n(59678),o=n(20982),s=n(96540),a=n(75598),c=n(43014),i=n(5404),u=n(37033);const d=e=>{let{header:t,subtitle:n,buttonOnClick:d,buttonText:l}=e;return(0,s.useEffect)((()=>{window.scrollTo({top:0,behavior:"smooth"})}),[]),(0,u.Y)("div",{className:"flex h-[75vh] items-center flex-col w-fit self-center pl-4 pr-4 md:pl-[100px] md:pr-[100px]"},(0,u.Y)("div",{className:"flex mt-[100px] mb-8 w-[72px] h-[72px] bg-tag-red-bg rounded-full justify-center items-center"},(0,u.Y)(o.g,{className:"text-foreground-error",fontSize:"40px",icon:r.bx})),(0,u.Y)(a._B,{className:"mb-4 text-foreground-base"},t),(0,u.Y)(c.YQ,{className:"text-center text-foreground-subtle w-auto md:w-[440px]"},n),(0,u.Y)(i.d,{className:"mt-16 w-full max-w-[350px]",size:"large",onClick:d},l))}},65964:function(e,t,n){n.d(t,{n:function(){return d}});var r=n(57275),o=n(20982),s=n(96540),a=n(75598),c=n(43014),i=n(5404),u=n(37033);const d=e=>{let{header:t,subtitle:n,additionalSubtitleComponent:d,buttonOnClick:l,buttonText:m}=e;return(0,s.useEffect)((()=>{window.scrollTo({top:0,behavior:"smooth"})}),[]),(0,u.Y)("div",{className:"px-4 md:px-[100px] h-[75vh] flex flex-col items-center"},(0,u.Y)("div",{className:"w-[72px] h-[72px] bg-tag-green-bg rounded-full justify-center items-center flex mt-[100px] mb-8"},(0,u.Y)(o.g,{className:"text-foreground-success",fontSize:"40px",icon:r.e6})),(0,u.Y)(a._B,{className:"mb-4"},t),(0,u.Y)(c.YQ,{className:"text-center text-foreground-base w-auto md:w-[440px]"},n),d&&d,(0,u.Y)(i.d,{className:"max-w-[350px] my-8",size:"large",onClick:l},m))}},44700:function(e,t,n){n.r(t),n.d(t,{Head:function(){return x},default:function(){return b}});var r=n(73566),o=n(45814),s=n(87746),a=n(65964),c=n(24755),i=n(37033);const u=e=>{let{orderId:t,countryCode:n,slug:o}=e;const{navigate:s}=(0,c.useI18next)();return(0,i.Y)(a.n,{buttonText:"Gå til kredit kort",buttonOnClick:()=>{s(r.J.checkout.creditCards.base({orderId:t,countryCode:n,slug:o}))},header:"Dit kort er tilføjet",subtitle:"Du kan nu bruge det til at betale for dine ordrer"})};var d=n(96540),l=n(32389),m=n(70924),f=n(42233),g=n(51735);const p=e=>{let{errorMessage:t,countryCode:n,orderId:o,slug:s}=e;const{t:a}=(0,l.useTranslation)(),{navigate:u}=(0,c.useI18next)();(0,d.useEffect)((()=>{(0,g.O_)("add_card_failed_screen_shown",{errorMessage:t,slug:s})}),[]);const p=a(m.o.webAddCardFailed),b=t||""+a(m.o.webCouldNotSaveCard);return(0,i.Y)(f.q,{header:p,subtitle:b,buttonText:a(m.o.comboVerifyStatusIncorrectTryAgain),buttonOnClick:()=>{u(r.J.checkout.creditCards.base({slug:s,orderId:o,countryCode:n}))}})};var b=e=>{let{params:t,location:n}=e;const s=new URLSearchParams(n.search),a=t[r.Q.orderId],c=t[r.Q.countryCode],d=t[r.Q.slug],l=s.get("status"),m=s.get("errorMessage");return(0,i.Y)(o.P,{countryCode:c},"success"===l?(0,i.Y)(u,{slug:d,countryCode:c,orderId:a}):(0,i.Y)(p,{errorMessage:m,countryCode:c,slug:d,orderId:a}))};const x=()=>(0,i.Y)(s.b,{title:"Jensen's",description:{}.GATSBY_PARTNER_DESCRIPTION||"",image:"https://d2k768cqhh7osk.cloudfront.net/heapsgo/jensens/assets/logo_web.svg"})}}]); 2//# sourceMappingURL=component---src-pages-[country-code]-restaurants-[slug]-checkout-order-id-credit-cards-status-tsx-dfae644ae6feb259ee45.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.