{"version":3,"file":"dist/build-client/static/js/Pages-OrderConfirmation-OrderConfirmationPage.0025df7a.chunk.js","mappings":"iRAmCA,IAAMA,GAAaC,EAAAA,EAAAA,IAAI,CACrBC,GAAI,IAGAC,GAAYC,EAAAA,EAAAA,IAAO,MAAO,CAC9BC,EAAG,IACHC,EAAG,mBACHC,SAAU,WACVC,GAAI,IACJC,GAAI,GACJC,WAAY,uBACZC,SAAU,CACRC,MAAO,CACLC,QAAS,CACPC,gBAAiB,iCAEnBC,WAASC,EAAAA,EAAAA,GAAA,CACPF,gBAAiB,mCAAiC,KAAAG,OAC5CC,EAAAA,IAAkB,CACtBC,KAAM,mBAGVC,YAAa,CACXN,gBAAiB,eAEnBO,OAAQ,CACNP,gBAAiB,aAIvBQ,gBAAiB,CACfV,MAAO,aAILW,GAAenB,EAAAA,EAAAA,IAAOoB,EAAAA,GAAkB,CAC5CjB,SAAU,WACVkB,SAAU,SAEVH,gBAAiB,CACfV,MAAO,UACPc,KAAM,OAIV,IA1EA,SAAeC,GAUK,IATlBC,EAAOD,EAAPC,QACAC,EAAQF,EAARE,SACAC,EAAIH,EAAJG,KACAC,EAAQJ,EAARI,SACAC,EAAIL,EAAJK,KACAN,EAAIC,EAAJD,KACAzB,EAAG0B,EAAH1B,IACAgC,EAAMN,EAANM,OACGC,GAAIC,EAAAA,EAAAA,GAAAR,EAAAS,GAEHC,EAAOP,IAAQQ,EAAAA,EAAAA,GAAcR,GACjC,OACES,EAAAA,EAAAA,MAAChB,GAAYiB,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,CACXd,KAAMA,EACNzB,IAAKA,EACLW,MAAOoB,IACDD,GAAYH,GAAW,CAAEA,QAAAA,IAAS,IACxCG,SAAUA,EACVE,OAAQA,GACJC,GAAI,IAAAL,SAAA,CAEPQ,IAAQI,EAAAA,EAAAA,KAACJ,EAAI,CAACK,MAAO1C,EAAYY,MAAOoB,EAAMW,cAAc,IAC5Dd,GACDY,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AS4C,EACT3C,WAAYA,EACZC,MAAOA,EACPC,mBAAiB,MAGpB2C,IACClO,EAAAA,EAAAA,KAAC0O,EAAAA,EAAU,CACT9N,OAAQqN,EACRjI,QAASoI,EACTnI,MAAOkI,EACPjI,MAAOgI,EACPpI,WAAYuI,EACZtI,WAAYuI,QAKlBtO,EAAAA,EAAAA,KAAA6M,EAAAA,SAAA,KAIR,EAIM2B,GAAc7Q,EAAAA,EAAAA,IAAO,MAAO,CAChCuM,EAAG,EACH,iBAAkB,CAChBvF,KAAM,mBACN3G,GAAI,OACJ4G,GAAI,EACJ+J,GAAI,K","sources":["Atoms/Buttons/Button.tsx","Atoms/Divider/Divider.tsx","CustomerInformation/CustomerInformationApi.ts","Organisms/Hero/HeroModule.tsx","OrderComponent/OrderRowList.tsx","Organisms/OrderHistory/OrderHistory.tsx","Pages/OrderConfirmation/OrderConfirmationPage.tsx"],"sourcesContent":["import { BaseIconStyle } from '../Icons/IconBaseStyle';\r\nimport KexIconLoader from '../../Kex/KexIconLoader';\r\nimport { css, styled } from '../../stitches.config';\r\nimport BaseButtonStyled from './BaseButtonStyle';\r\nimport BaseButtonType from './BaseButtonType';\r\n\r\nfunction Button({\r\n  onClick,\r\n  children,\r\n  icon,\r\n  disabled,\r\n  type,\r\n  size,\r\n  css,\r\n  border,\r\n  ...rest\r\n}: BaseButtonType) {\r\n  var Icon = icon && KexIconLoader(icon);\r\n  return (\r\n    <StyledButton\r\n      size={size}\r\n      css={css}\r\n      color={type}\r\n      {...(!disabled && onClick && { onClick })}\r\n      disabled={disabled}\r\n      border={border}\r\n      {...rest}\r\n    >\r\n      {Icon && <Icon style={StyledIcon} color={type} onBackground={true} />}\r\n      {children}\r\n      <HoverLine color={type} />\r\n    </StyledButton>\r\n  );\r\n}\r\n\r\nconst StyledIcon = css({\r\n  mr: 2,\r\n});\r\n\r\nconst HoverLine = styled('div', {\r\n  h: 0.25,\r\n  w: 'calc(100% - 6px)',\r\n  position: 'absolute',\r\n  b: -0.75,\r\n  mx: 0.5,\r\n  transition: 'all $200 ease-in-out',\r\n  variants: {\r\n    color: {\r\n      primary: {\r\n        backgroundColor: '$buttonHoverBackgroundPrimary',\r\n      },\r\n      secondary: {\r\n        backgroundColor: '$buttonHoverBackgroundSecondary',\r\n        [`& ${BaseIconStyle}`]: {\r\n          fill: '$textSecondary',\r\n        },\r\n      },\r\n      transparent: {\r\n        backgroundColor: 'transparent',\r\n      },\r\n      accent: {\r\n        backgroundColor: '$accent',\r\n      },\r\n    },\r\n  },\r\n  defaultVariants: {\r\n    color: 'primary',\r\n  },\r\n});\r\n\r\nconst StyledButton = styled(BaseButtonStyled, {\r\n  position: 'relative',\r\n  overflow: 'hidden',\r\n  //Set default for button\r\n  defaultVariants: {\r\n    color: 'primary',\r\n    size: 'm',\r\n  },\r\n});\r\n\r\nexport default Button;\r\n","import { styled } from '../../stitches.config';\r\n\r\ntype PropTypes = {\r\n  type?: 'max' | 'vertical' | 'header' | 'headerLogo';\r\n  marginTop?: boolean;\r\n  noMargin?: boolean;\r\n  css?: any;\r\n};\r\n\r\nexport const Divider = ({\r\n  type,\r\n  marginTop,\r\n  noMargin,\r\n  css,\r\n  ...rest\r\n}: PropTypes) => {\r\n  return (\r\n    <BaseDivider\r\n      css={css}\r\n      type={type}\r\n      {...(marginTop && { marginTop })}\r\n      {...(noMargin && { noMargin })}\r\n      {...rest}\r\n    />\r\n  );\r\n};\r\n\r\nconst BaseDivider = styled('div', {\r\n  h: 0.25,\r\n  w: 16,\r\n  mt: 0,\r\n  mb: 6,\r\n  backgroundColor: '$grey100',\r\n  '@mediaMaxSmall': {\r\n    mt: 6,\r\n    mb: 3,\r\n  },\r\n  variants: {\r\n    type: {\r\n      max: {\r\n        w: '100%',\r\n        mx: 4,\r\n      },\r\n      vertical: {\r\n        w: 0.25,\r\n        h: '100%',\r\n        my: 0,\r\n        mx: 6,\r\n      },\r\n      header: {\r\n        opacity: 0.5,\r\n        h: 0,\r\n        w: 0,\r\n        my: 0,\r\n        mx: 3,\r\n      },\r\n      headerLogo: {\r\n        opacity: 0.5,\r\n        h: 0,\r\n        w: 0,\r\n        my: 0,\r\n        mx: 6,\r\n      },\r\n    },\r\n    marginTop: {\r\n      true: {\r\n        mt: 6,\r\n      },\r\n    },\r\n    noMargin: {\r\n      true: {\r\n        m: 0,\r\n      },\r\n    },\r\n  },\r\n});\r\n\r\nexport default Divider;\r\n","import CustomerInformationModel from '../MyPagesPage/Models/CustomerInformationModel';\r\nimport Fetcher from '../Shared/Common/Fetcher';\r\n\r\nlet abortController: AbortController = new AbortController();\r\n\r\nexport async function GetMyInformation(channelId: string, url: string) {\r\n  abortController.abort();\r\n  abortController = new AbortController();\r\n  const signal = abortController.signal;\r\n\r\n  const litiumContext = JSON.stringify({\r\n    channelSystemId: channelId,\r\n  });\r\n\r\n  return Fetcher<any, CustomerInformationModel>(\r\n    url,\r\n    signal,\r\n    (data, resolve) => {\r\n      resolve(data);\r\n    },\r\n    litiumContext\r\n  );\r\n}\r\n\r\nexport async function UpdateMyInformation(\r\n  channelId: string,\r\n  requestToken: string,\r\n  data: any,\r\n  url: any\r\n) {\r\n  const res = await fetch(url, {\r\n    method: 'POST',\r\n    headers: {\r\n      'Content-Type': 'application/json',\r\n      'litium-request-context': JSON.stringify({\r\n        channelSystemId: channelId,\r\n      }),\r\n      RequestVerificationToken: requestToken,\r\n    },\r\n    body: JSON.stringify(data),\r\n  });\r\n  const responseJson = await res.json();\r\n\r\n  return {\r\n    status: res.status,\r\n    ...responseJson,\r\n  };\r\n}\r\n","import Button from '../../Atoms/Buttons/Button';\r\nimport Divider from '../../Atoms/Divider/Divider';\r\nimport {\r\n  H1,\r\n  H2,\r\n  H3,\r\n  H4,\r\n  H5,\r\n  H6,\r\n} from '../../Atoms/Typography/Headings/Heading';\r\nimport KexLink from '../../Kex/KexLink';\r\nimport { styled } from '../../stitches.config';\r\nimport IImageModel from '../../Assets/Models/ImageModel.interface';\r\nimport TeaserLink from '../../Shared/Models/TeaserLink.interface';\r\n\r\ntype HeroModuleType = {\r\n  image?: IImageModel;\r\n  header?: string;\r\n  headerSize?: string;\r\n  summary?: string;\r\n  links?: TeaserLink[];\r\n  buttonType?: string;\r\n};\r\n\r\ntype HeaderObject = {\r\n  [key: string]: any;\r\n};\r\n\r\nfunction HeroModule({\r\n  header,\r\n  headerSize,\r\n  buttonType,\r\n  summary,\r\n  links,\r\n  image,\r\n}: HeroModuleType) {\r\n  const headerComponents: HeaderObject = {\r\n    H1: H1,\r\n    H2: H2,\r\n    H3: H3,\r\n    H4: H4,\r\n    H5: H5,\r\n    H6: H6,\r\n  };\r\n  const Header = headerComponents[headerSize as keyof HeaderObject];\r\n\r\n  return (\r\n    <ImageContainer css={{ backgroundImage: `url(${image?.src})` }}>\r\n      <ContentContainer>\r\n        <SummaryContainer>\r\n          <BackDrop>\r\n            <Header color=\"white\">{header}</Header>\r\n            <TextWrapper>\r\n              <StyledPreamble>{summary}</StyledPreamble>\r\n              {links && (\r\n                <ButtonContainer>\r\n                  {links.length > 0 &&\r\n                    links.map((item) => (\r\n                      <KexLink key={item.link?.href} {...item.link}>\r\n                        <Button type={buttonType?.toLowerCase()} size=\"m\">\r\n                          <StyledP>{item.linkText ?? item.link?.text}</StyledP>\r\n                        </Button>\r\n                      </KexLink>\r\n                    ))}\r\n                </ButtonContainer>\r\n              )}\r\n            </TextWrapper>\r\n          </BackDrop>\r\n        </SummaryContainer>\r\n      </ContentContainer>\r\n    </ImageContainer>\r\n  );\r\n}\r\n\r\nconst ImageContainer = styled('div', {\r\n  position: 'relative',\r\n  display: 'flex',\r\n  justifyContent: 'center',\r\n  backgroundPosition: 'center',\r\n  backgroundRepeat: 'no-repeat',\r\n  backgroundSize: 'cover',\r\n  height: '500px',\r\n  backgroundColor: 'rgba(24,24,24,0.4)',\r\n  backgroundBlendMode: 'multiply',\r\n});\r\n\r\nconst ContentContainer = styled('div', {\r\n  display: 'flex',\r\n  wh: '100%',\r\n  maxW: '$contentMaxWidth',\r\n  px: 4,\r\n  justifyContent: 'center',\r\n  '@mediaMinLarge': {\r\n    px: 8,\r\n  },\r\n});\r\n\r\nconst TextWrapper = styled('div', {\r\n  position: 'relative',\r\n  overflowY: 'hidden',\r\n  '& > p': {\r\n    m: 0,\r\n  },\r\n});\r\n\r\nconst SummaryContainer = styled('div', {\r\n  position: 'relative',\r\n  display: 'flex',\r\n  flexDirection: 'column',\r\n  w: '100%',\r\n  backgroundColor: 'transparent',\r\n  maxW: 248,\r\n  textAlign: 'center',\r\n  justifyContent: 'center',\r\n});\r\n\r\nconst BackDrop = styled('div', {\r\n  position: 'relative',\r\n  display: 'flex',\r\n  flexDirection: 'column',\r\n  justifyContent: 'center',\r\n  backgroundColor: 'transparent',\r\n  w: '100%',\r\n  maxW: 248,\r\n  t: 'auto',\r\n  l: 'auto',\r\n});\r\n\r\nconst ButtonContainer = styled('div', {\r\n  display: 'flex',\r\n  justifyContent: 'center',\r\n  mt: 6,\r\n  g: 4,\r\n  flexWrap: 'wrap',\r\n  '@mediaMinLarge': {\r\n    g: 6,\r\n  },\r\n});\r\n\r\nconst StyledPreamble = styled('p', {\r\n  m: 0,\r\n  color: '#fff',\r\n  fs: 8,\r\n  fontWeight: '$fw600',\r\n  lineHeight: '24px',\r\n  letterSpacing: '1px',\r\n});\r\n\r\nconst StyledP = styled('p', {\r\n  m: 0,\r\n});\r\n\r\nexport default HeroModule;\r\n","import React from 'react';\r\nimport Image from '../Atoms/Image/Image';\r\nimport OrderRowItem from '../Order/Models/OrderRowItem.interface';\r\nimport { useTranslationData } from '../Shared/Providers/TranslationProvider';\r\nimport { styled } from '../stitches.config';\r\n\r\ntype PropType = {\r\n  orderRows: any;\r\n};\r\n\r\nfunction OrderRowList({ orderRows }: PropType) {\r\n  const { 'productItem/size': sizeLabel } = useTranslationData();\r\n\r\n  return orderRows.map((product: OrderRowItem) => (\r\n    <React.Fragment key={product.name}>\r\n      <Item>\r\n        {product.image && (\r\n          <ImageWrapper>\r\n            <StyledImage src={product.image?.src} alt={product.name} />\r\n          </ImageWrapper>\r\n        )}\r\n        <Info>\r\n          <Details>\r\n            <DetailsTop>\r\n              <DetailTextBold>{`${product.quantityString} x `}</DetailTextBold>\r\n              <Title>{product.name}</Title>\r\n              {product.size && (\r\n                <Size>{`${' '}-${sizeLabel}: ${product.size}`}</Size>\r\n              )}\r\n            </DetailsTop>\r\n            <PriceText>{product.totalPrice}</PriceText>\r\n          </Details>\r\n        </Info>\r\n      </Item>\r\n    </React.Fragment>\r\n  ));\r\n}\r\n\r\nconst Item = styled('div', {\r\n  display: 'flex',\r\n  alignItems: 'center',\r\n  pt: 4,\r\n  '&:not(:last-child)': {\r\n    pb: 4,\r\n    borderBottom: '1px solid $primary',\r\n  },\r\n});\r\n\r\nconst Size = styled('span', { fs: 6 });\r\n\r\nconst StyledImage = styled(Image, {\r\n  objectFit: 'contain',\r\n  h: '100%',\r\n});\r\n\r\nconst ImageWrapper = styled('div', {\r\n  maxW: 8,\r\n  w: '100%',\r\n  h: 11.5,\r\n});\r\n\r\nconst Info = styled('div', {\r\n  display: 'flex',\r\n  w: '100%',\r\n  justifyContent: 'start',\r\n  ml: 4,\r\n  '@mediaMinMedium': {\r\n    justifyContent: 'space-between',\r\n  },\r\n});\r\n\r\nconst Title = styled('span', {\r\n  fs: 7,\r\n  fontWeight: '$fw700',\r\n  mb: 2,\r\n});\r\n\r\nconst Details = styled('div', {\r\n  display: 'flex',\r\n  flexDirection: 'column',\r\n});\r\n\r\nconst DetailsTop = styled('div', {\r\n  mb: 2.5,\r\n});\r\n\r\nconst DetailTextStyleBase = {\r\n  fs: 6,\r\n  mb: 1,\r\n  '&:last-of-type': {\r\n    mb: 2,\r\n  },\r\n};\r\n\r\nconst PriceText = styled('span', {\r\n  ...DetailTextStyleBase,\r\n  fontWeight: '$fw700',\r\n  lineHeight: '16px',\r\n});\r\n\r\nconst DetailTextBold = styled('span', {\r\n  ...DetailTextStyleBase,\r\n  fontWeight: '$fw700',\r\n  fs: 7,\r\n  lineHeight: '18px',\r\n});\r\n\r\nexport default OrderRowList;\r\n","import { useEffect, useState } from 'react';\r\nimport Divider from '../../Atoms/Divider/Divider';\r\nimport { GetMyInformation } from '../../CustomerInformation/CustomerInformationApi';\r\nimport KexLink from '../../Kex/KexLink';\r\nimport CustomerInformationModel from '../../MyPagesPage/Models/CustomerInformationModel.interface';\r\nimport OrderDetailsModel from '../../Order/Models/OrderDetailsModel.interface';\r\nimport OrderRowList from '../../OrderComponent/OrderRowList';\r\nimport { CheckoutSectionTitle } from '../../Pages/Checkout/CheckoutProductListing';\r\nimport useCurrentPage from '../../Shared/Hooks/useCurrentPage';\r\nimport PageModelBase from '../../Shared/Models/PageModelBase.interface';\r\nimport { useAppSettingsData } from '../../Shared/Providers/AppSettingsProvider';\r\nimport { useTranslationData } from '../../Shared/Providers/TranslationProvider';\r\nimport { useUserStateData } from '../../Shared/UserContextProvider/UserContextProvider';\r\nimport { styled } from '../../stitches.config';\r\n\r\ntype PropType = {\r\n  heading: string;\r\n  subHeading: string;\r\n  onClick?: () => void;\r\n  order: OrderDetailsModel;\r\n  orderConfirmation?: boolean;\r\n};\r\n\r\nfunction OrderInformation({\r\n  heading,\r\n  subHeading,\r\n  onClick,\r\n  order,\r\n  orderConfirmation,\r\n}: PropType) {\r\n  const { languageRoute } = useAppSettingsData();\r\n  const {\r\n    'common/backLink': backLinkLabel,\r\n    'common/total': totalLabel,\r\n    'checkoutPage/vatTotal': vatLabel,\r\n    'orderConfirmationPage/orderLines': orderLinesLabel,\r\n    'orderdetail.deliveryaddress': deliveryAddressLabel,\r\n    'common/freightInformationLabel': freightInformationLabel,\r\n    'checkoutPage/subtotal': subTotalLabel,\r\n  } = useTranslationData();\r\n\r\n  const { channelId } = useCurrentPage<PageModelBase>();\r\n\r\n  const { customerId } = useUserStateData();\r\n  const url = `/api/${languageRoute}/customer/GetMyInformation?customerId=${customerId}`;\r\n  const [customerInformation, setCustomerInformation] =\r\n    useState<CustomerInformationModel>();\r\n\r\n  useEffect(() => {\r\n    customerId &&\r\n      !orderConfirmation &&\r\n      GetMyInformation(channelId, url).then(\r\n        (data: any) => data && setCustomerInformation(data)\r\n      );\r\n  }, [channelId]);\r\n\r\n  return (\r\n    <>\r\n      <OrderHistoryComponentWrapper>\r\n        {!orderConfirmation && (\r\n          <BackLinkWrapper>\r\n            <BackLink onClick={onClick}>{backLinkLabel}</BackLink>\r\n          </BackLinkWrapper>\r\n        )}\r\n        <LeftSection>\r\n          <CheckoutSectionTitle>{heading}</CheckoutSectionTitle>\r\n          <IntroText\r\n            dangerouslySetInnerHTML={{\r\n              __html: subHeading,\r\n            }}\r\n          />\r\n          <OrderItemsTable>\r\n            <CheckoutSectionTitle>{orderLinesLabel}</CheckoutSectionTitle>\r\n            <OrderRowList orderRows={order.orderRows} />\r\n          </OrderItemsTable>\r\n        </LeftSection>\r\n\r\n        <RightSection>\r\n          <DeliverySection>\r\n            <DeliveryAddress>{deliveryAddressLabel}</DeliveryAddress>\r\n            {customerInformation ? (\r\n              <DeliveryAddressContainer>\r\n                <Item>{customerInformation?.companyName}</Item>\r\n                <Item>{customerInformation?.deliveryAddress?.street}</Item>\r\n                <Item>\r\n                  {customerInformation?.deliveryAddress?.postalCode},{' '}\r\n                  {customerInformation?.deliveryAddress?.city}\r\n                </Item>\r\n              </DeliveryAddressContainer>\r\n            ) : (\r\n              <DeliveryAddressContainer>\r\n                <Item>{order?.companyName}</Item>\r\n                <Item>\r\n                  {order.customerInfo?.firstName} {order.customerInfo?.lastName}\r\n                </Item>\r\n                <Item>{order.customerInfo?.address1}</Item>\r\n                <Item>\r\n                  {order.customerInfo?.zip} {order.customerInfo?.city}{' '}\r\n                </Item>\r\n              </DeliveryAddressContainer>\r\n            )}\r\n          </DeliverySection>\r\n          <BottomSection>\r\n            <ItemFlex>\r\n              <span>{subTotalLabel}</span>\r\n              <span>{order.totalPriceForItems}</span>\r\n            </ItemFlex>\r\n            <ItemFlex>\r\n              <span>{vatLabel}</span>\r\n              <span>{order.orderTotalVat}</span>\r\n            </ItemFlex>\r\n            <StyledDivider />\r\n            <TotalSumArea>\r\n              <span>{totalLabel}</span>\r\n              <span>{order.orderGrandTotal}</span>\r\n            </TotalSumArea>\r\n            <TotalSumArea>\r\n              <span>{freightInformationLabel}</span>\r\n            </TotalSumArea>\r\n          </BottomSection>\r\n        </RightSection>\r\n      </OrderHistoryComponentWrapper>\r\n    </>\r\n  );\r\n}\r\n\r\nconst DeliveryAddressContainer = styled('div', {\r\n  display: 'flex',\r\n  flexDirection: 'column',\r\n});\r\n\r\nconst OrderHistoryComponentWrapper = styled('div', {\r\n  display: 'grid',\r\n  g: 4,\r\n  gridTemplateColumns: '1fr',\r\n  wh: '100%',\r\n  justifyContent: 'center',\r\n  mx: 'auto',\r\n  '@mediaMinLarge': {\r\n    gridTemplateColumns: '6.5fr 3.5fr',\r\n    g: 8,\r\n    mx: 'auto',\r\n  },\r\n  maxW: '$contentMaxWidth',\r\n});\r\n\r\nconst IntroText = styled('div', {\r\n  fs: 6,\r\n  lineHeight: '20px',\r\n  mb: 4,\r\n  '@mediaMinLarge': {\r\n    fs: 8,\r\n  },\r\n});\r\n\r\nconst ItemFlex = styled('div', {\r\n  fs: 6,\r\n  display: 'flex',\r\n  variants: {\r\n    margin: {\r\n      true: {\r\n        mb: 4,\r\n      },\r\n    },\r\n  },\r\n  justifyContent: 'space-between',\r\n  '@mediaMinLarge': {\r\n    fs: 8,\r\n  },\r\n});\r\n\r\nconst DeliveryAddress = styled('div', {\r\n  mb: 2,\r\n  fs: 6,\r\n  fontWeight: '$fw700',\r\n  lineHeight: '20px',\r\n  '@mediaMinLarge': {\r\n    fs: 8,\r\n  },\r\n});\r\n\r\nconst BackLinkWrapper = styled('div', {\r\n  display: 'flex',\r\n});\r\n\r\nconst BackLink = styled(KexLink, {\r\n  fs: 8,\r\n  cursor: 'pointer',\r\n  textDecoration: 'underline',\r\n  pl: 4,\r\n});\r\n\r\nconst LeftSection = styled('div', {\r\n  backgroundColor: '$white',\r\n  p: 4,\r\n  '@mediaMinLarge': {\r\n    p: 8,\r\n  },\r\n});\r\n\r\nconst Item = styled('span', {\r\n  fs: 6,\r\n  lineHeight: '20px',\r\n  '@mediaMinLarge': {\r\n    fs: 8,\r\n  },\r\n});\r\n\r\nconst RightSection = styled('div', {\r\n  display: 'flex',\r\n  flexDirection: 'column',\r\n  g: 4,\r\n  '@mediaMinLarge': {\r\n    g: 8,\r\n  },\r\n});\r\n\r\nconst DeliverySection = styled('div', {\r\n  backgroundColor: '$white',\r\n  p: 4,\r\n  '@mediaMinLarge': {\r\n    p: 8,\r\n  },\r\n});\r\n\r\nconst TotalSumArea = styled('div', {\r\n  display: 'flex',\r\n  justifyContent: 'space-between',\r\n  fs: 6,\r\n  fontWeight: '$fw700',\r\n  lineHeight: '28px',\r\n  '@mediaMinLarge': {\r\n    fs: 8,\r\n  },\r\n});\r\n\r\nconst BottomSection = styled('div', {\r\n  backgroundColor: '$white',\r\n  p: 4,\r\n  '@mediaMinLarge': {\r\n    p: 8,\r\n  },\r\n});\r\n\r\nconst OrderItemsTable = styled('div', {\r\n  display: 'table',\r\n  w: '100%',\r\n  borderCollapse: 'collapse',\r\n  tableLayout: 'fixed',\r\n});\r\n\r\nconst StyledDivider = styled(Divider, {\r\n  width: '100%',\r\n  backgroundColor: '$borderHoverPrimary',\r\n  my: 4,\r\n});\r\n\r\nexport default OrderInformation;\r\n","import OrderConfirmationPageModel from '../../OrderConfirmation/Models/OrderConfirmationPageModel.interface';\r\nimport HeroModule from '../../Organisms/Hero/HeroModule';\r\nimport OrderInformation from '../../Organisms/OrderHistory/OrderHistory';\r\nimport useCurrentPage from '../../Shared/Hooks/useCurrentPage';\r\nimport { styled } from '../../stitches.config';\r\nimport { GetCart } from '../CartPage/Cart';\r\n\r\nfunction OrderConfirmationPage() {\r\n  const {\r\n    order,\r\n    pageHeading,\r\n    subHeading,\r\n    teaserHeader,\r\n    teaserImage,\r\n    teaserLinks,\r\n    teaserText,\r\n    teaserHeaderSize,\r\n    teaserButtonType,\r\n  } = useCurrentPage<OrderConfirmationPageModel>();\r\n\r\n  GetCart();\r\n\r\n  return (\r\n    <main>\r\n      {order ? (\r\n        <>\r\n          <PageWrapper>\r\n            <OrderInformation\r\n              heading={pageHeading}\r\n              subHeading={subHeading}\r\n              order={order}\r\n              orderConfirmation\r\n            />\r\n          </PageWrapper>\r\n          {teaserImage && (\r\n            <HeroModule\r\n              header={teaserHeader}\r\n              summary={teaserText}\r\n              links={teaserLinks}\r\n              image={teaserImage}\r\n              headerSize={teaserHeaderSize}\r\n              buttonType={teaserButtonType}\r\n            />\r\n          )}\r\n        </>\r\n      ) : (\r\n        <></>\r\n      )}\r\n    </main>\r\n  );\r\n}\r\n\r\nexport default OrderConfirmationPage;\r\n\r\nconst PageWrapper = styled('div', {\r\n  p: 4,\r\n  '@mediaMinLarge': {\r\n    maxW: '$contentMaxWidth',\r\n    mx: 'auto',\r\n    px: 8,\r\n    py: 16,\r\n  },\r\n});\r\n"],"names":["StyledIcon","css","mr","HoverLine","styled","h","w","position","b","mx","transition","variants","color","primary","backgroundColor","secondary","_defineProperty","concat","BaseIconStyle","fill","transparent","accent","defaultVariants","StyledButton","BaseButtonStyled","overflow","size","_ref","onClick","children","icon","disabled","type","border","rest","_objectWithoutProperties","_excluded","Icon","KexIconLoader","_jsxs","_objectSpread","_jsx","style","onBackground","Divider","marginTop","noMargin","BaseDivider","mt","mb","max","vertical","my","header","opacity","headerLogo","true","m","abortController","AbortController","GetMyInformation","_x","_x2","_GetMyInformation","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee","channelId","url","signal","litiumContext","wrap","_context","prev","next","abort","JSON","stringify","channelSystemId","abrupt","Fetcher","data","resolve","stop","UpdateMyInformation","_x3","_x4","_x5","_x6","_UpdateMyInformation","_callee2","requestToken","res","responseJson","_context2","fetch","method","headers","RequestVerificationToken","body","sent","json","status","ImageContainer","display","justifyContent","backgroundPosition","backgroundRepeat","backgroundSize","height","backgroundBlendMode","ContentContainer","wh","maxW","px","TextWrapper","overflowY","SummaryContainer","flexDirection","textAlign","BackDrop","t","l","ButtonContainer","g","flexWrap","StyledPreamble","fs","fontWeight","lineHeight","letterSpacing","StyledP","headerSize","buttonType","summary","links","image","Header","H1","H2","H3","H4","H5","H6","backgroundImage","src","length","map","item","_item$link","_item$linkText","_item$link2","KexLink","link","Button","toLowerCase","linkText","text","href","Item","alignItems","pt","pb","borderBottom","Size","StyledImage","Image","objectFit","ImageWrapper","Info","ml","Title","Details","DetailsTop","DetailTextStyleBase","PriceText","DetailTextBold","orderRows","sizeLabel","useTranslationData","product","_product$image","React","alt","name","quantityString","totalPrice","DeliveryAddressContainer","OrderHistoryComponentWrapper","gridTemplateColumns","IntroText","ItemFlex","margin","DeliveryAddress","BackLinkWrapper","BackLink","cursor","textDecoration","pl","LeftSection","p","RightSection","DeliverySection","TotalSumArea","BottomSection","OrderItemsTable","borderCollapse","tableLayout","StyledDivider","width","_customerInformation$","_customerInformation$2","_customerInformation$3","_order$customerInfo","_order$customerInfo2","_order$customerInfo3","_order$customerInfo4","_order$customerInfo5","heading","subHeading","order","orderConfirmation","languageRoute","useAppSettingsData","_useTranslationData","backLinkLabel","totalLabel","vatLabel","orderLinesLabel","deliveryAddressLabel","freightInformationLabel","subTotalLabel","useCurrentPage","customerId","useUserStateData","_useState","useState","_useState2","_slicedToArray","customerInformation","setCustomerInformation","useEffect","then","_Fragment","CheckoutSectionTitle","dangerouslySetInnerHTML","__html","OrderRowList","companyName","deliveryAddress","street","postalCode","city","customerInfo","firstName","lastName","address1","zip","totalPriceForItems","orderTotalVat","orderGrandTotal","_useCurrentPage","pageHeading","teaserHeader","teaserImage","teaserLinks","teaserText","teaserHeaderSize","teaserButtonType","GetCart","PageWrapper","OrderInformation","HeroModule","py"],"sourceRoot":""}