PageSourceSearch

https://posttrade360nordic.com/_next/static/chunks/3-wzg2q4gi03c.js

js posttrade360nordic.com collected 2026-10-07 23:50:51 UTC 31,521 bytes, 189 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="937a1d31-20e0-ac65-9fb1-6b1e15504948")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,195988,(e,t,i)=>{let a="/my/payments";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(273728)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},273728,e=>{"use strict";var t=e.i(868532),i=e.i(5653),a=e.i(160144),r=e.i(546375);e.i(619396);var n=e.i(136754),s=e.i(402875),o=e.i(778333),l=e.i(281031),c=e.i(358040);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m=["size"];function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){var a,r,n;a=e,r=t,n=i[t],(r=function(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var a=i.call(e,t||"default");if("object"!=d(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}(r))in a?Object.defineProperty(a,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):a[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let y=function(e){var i=e.size,a=void 0===i?"1em":i,r=function(e,t){if(null==e)return{};var i,a,r=function(e,t){if(null==e)return{};var i={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;i[a]=e[a]}return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)i=n[a],-1===t.indexOf(i)&&({}).propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(e,m);return(0,t.jsxs)(c.f,u(u({},r),{},{width:a,height:a,viewBox:"0 0 64 64",children:[(0,t.jsx)("path",{d:"M50.8893 4H27.654V19.7644C27.654 20.8079 26.8081 21.6538 25.7647 21.6538H10.0002V57.301C10.0002 58.7915 11.2087 60 12.6993 60H50.8893C52.3799 60 53.5884 58.7915 53.5884 57.301V6.69905C53.5884 5.20848 52.3799 4 50.8893 4ZM40.2512 48.8178H24.868C23.8246 48.8178 22.9787 47.9719 22.9787 46.9285C22.9787 45.885 23.8246 45.0391 24.868 45.0391H40.2512C41.2946 45.0391 42.1405 45.885 42.1405 46.9285C42.1405 47.9719 41.2946 48.8178 40.2512 48.8178ZM40.2512 39.9299H24.868C23.8246 39.9299 22.9787 39.084 22.9787 38.0406C22.9787 36.9971 23.8246 36.1512 24.868 36.1512H40.2512C41.2946 36.1512 42.1405 36.9971 42.1405 38.0406C42.1405 39.084 41.2946 39.9299 40.2512 39.9299ZM40.2512 31.0422H24.868C23.8246 31.0422 22.9787 30.1963 22.9787 29.1529C22.9787 28.1094 23.8246 27.2635 24.868 27.2635H40.2512C41.2946 27.2635 42.1405 28.1094 42.1405 29.1529C42.1405 30.1963 41.2946 31.0422 40.2512 31.0422Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M23.8523 4C23.1366 4 22.4502 4.28427 21.944 4.79067L10.7907 15.9435C10.2845 16.4497 10 17.1362 10 17.8519V17.875H23.8753V4H23.8523Z",fill:"currentColor"})]}))};e.i(667981);var p=e.i(637063);let x=l.U.div.withConfig({displayName:"EmptyPayments__Container",componentId:"sc-d86d77d0-0"})`
3  display: flex;
4  flex-direction: column;
5  align-items: center;
6  flex-grow: 1;
7  text-align: center;
8  max-width: 360px;
9  margin: 0 auto;
10`,h=l.U.span.withConfig({displayName:"EmptyPayments__Circle",componentId:"sc-d86d77d0-1"})`
11  display: inline-block;
12  padding: 20px;
13  width: 80px;
14  height: 80px;
15  border-radius: 50%;
16  color: ${e=>e.theme.colors.brand};
17  background-color: ${e=>e.theme.colors.getBrand(10)};
18`,g=({viewerCanPay:e})=>{let{paymentApprovalsEnabled:a}=(0,p.f)();return(0,t.jsxs)(x,{className:"py-24 px-40 px-tablet-40 pt-tablet-40 pb-tablet-16",children:[(0,t.jsx)(h,{children:(0,t.jsx)(y,{size:40})}),(0,t.jsx)(i.f,{variant:"h6",as:"h2",className:"mt-16 mt-tablet-24 mb-8",children:(0,t.jsx)(o.f,{id:"myPayments.empty.sectionTitle",defaultMessage:"No invoices yet"})}),(0,t.jsx)(r.f,{variant:"s",color:"textSecondary",children:a?e?(0,t.jsx)(o.f,{id:"myPayments.empty.description.approved",defaultMessage:"Once you complete your ticket purchase, your confirmation document will be shown here."}):(0,t.jsx)(o.f,{id:"myPayments.empty.description.approvalRequired",defaultMessage:"Once your registration is approved and you complete your purchase, your confirmation document will be shown here."}):(0,t.jsx)(o.f,{id:"myPayments.empty.description",defaultMessage:"When we mark activity regarding payment, we will generate a confirmation document for you. Once they are generated, they will appear here."})})]})};var j=e.i(299037),b=e.i(34588),v=e.i(931414);let P=l.U.div.withConfig({displayName:"BillingInfo__Container",componentId:"sc-48a3703-0"})`
19  display: grid;
20  gap: 12px;
21  ${v.f.wrapped}
22
23  @media ${a.f.tablet} {
24    grid-template-columns: 1fr 1fr;
25    gap: 40px;
26  }
27`,w=(0,l.U)(r.f).withConfig({displayName:"BillingInfo__P",componentId:"sc-48a3703-1"})`
28  &:empty {
29    display: none !important;
30  }
31`,C=({payment:e})=>(0,t.jsxs)(P,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(r.f,{fontWeight:600,className:"mb-8",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.b
31illingInfo.billedTo",defaultMessage:"Billed To"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(w,{children:e.organisationName}),(0,t.jsx)(w,{children:e.name}),(0,t.jsx)(w,{children:e.address}),(0,t.jsxs)(w,{children:[e.zip," ",e.city]}),e.country&&(0,t.jsx)(w,{children:e.country.name})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(r.f,{fontWeight:600,className:"mb-8",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.billingInfo.dateIssued",defaultMessage:"Date issued"})}),(0,t.jsx)(r.f,{children:(0,t.jsx)(b.Q,{value:e.createdAt,year:"numeric",month:"short",day:"numeric"})})]})]});var M=e.i(272586),S=e.i(729948),N=e.i(716930),_=e.i(562057),k=e.i(266765);let O=(0,b.U)({id:"myPayments.invoice.downloadPDF",defaultMessage:"Download PDF"}),I=({...e})=>{let{formatMessage:i}=(0,k.f)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(_.f,{"aria-label":i(O),variant:"tertiary",className:"d-tablet-none",...e,children:(0,t.jsx)(S.f,{})}),(0,t.jsxs)(N.W,{variant:"tertiary",className:"d-none d-tablet-flex",...e,children:[(0,t.jsx)("span",{children:i(O)}),(0,t.jsx)(S.f,{})]})]})};var B=e.i(874902),D=e.i(501826),E=e.i(780433);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var T=["size"];function $(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function H(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?$(Object(i),!0).forEach(function(t){var a,r,n;a=e,r=t,n=i[t],(r=function(e){var t=function(e,t){if("object"!=U(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var a=i.call(e,t||"default");if("object"!=U(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==U(t)?t:t+""}(r))in a?Object.defineProperty(a,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):a[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):$(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let V=function(e){var i=e.size,a=void 0===i?"1em":i,r=function(e,t){if(null==e)return{};var i,a,r=function(e,t){if(null==e)return{};var i={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;i[a]=e[a]}return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)i=n[a],-1===t.indexOf(i)&&({}).propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(e,T);return(0,t.jsx)(c.f,H(H({},r),{},{width:a,height:a,viewBox:"0 0 64 64",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.5475 4.7566C31.3688 4.26184 32.3102 3.99976 33.2675 3.99976C35.1448 3.99976 36.8968 5.008 37.8408 6.63134L42.8115 15.1867L43.9888 17.2107H48V14.6896C48 13.2134 46.8053 12.0153 45.3333 12.0153H45.0907L41.9813 6.6665H45.3333C49.752 6.6665 53.3333 10.2582 53.3333 14.6896V17.6671C56.4407 18.7684 58.6667 21.7401 58.6667 25.2338V27.9082H53.3333V25.2338C53.3333 25.2018 53.3328 25.17 53.3317 25.1382C53.3327 25.1691 53.3333 25.2002 53.3333 25.2314V27.9058H47.9999C42.1093 27.9058 37.3333 32.6956 37.3333 38.6033C37.3333 44.511 42.1093 49.3008 47.9999 49.3008H53.3333V51.999C53.3333 51.9919 53.3333 51.9847 53.3333 51.9776V49.3032H58.6667V51.9776C58.6667 56.409 55.0853 60.0007 50.6667 60.0007H8C3.58133 60.0007 0 56.409 0 51.9776V38.6057V33.4103V29.2454V20.0384V14.6896C0 10.2582 3.58133 6.6665 8 6.6665H22.3627L13.48 12.0153H8C6.528 12.0153 5.33333 13.2134 5.33333 14.6896C5.33333 16.1659 6.528 17.364 8 17.364H9.59397L15.5688 13.7693L30.5475 4.7566ZM60.656 30.6665H50.6667C42.8027 30.6665 40 34.7887 40 38.6665C40 42.5443 42.8027 46.6997 50.6667 46.6997H60.6533C62.4987 46.6997 64 45.1212 64 43.2705V34.0228C64 32.1695 62.5013 30.6665 60.656 30.6665ZM48 41.4427C49.4728 41.4427 50.6667 40.2453 50.6667 38.7683C50.6667 37.2913 49.4728 36.0939 48 36.0939C46.5272 36.0939 45.3333 37.2913 45.3333 38.7683C45.3333 40.2453 46.5272 41.4427 48 41.4427Z",fill:"currentColor"})}))};var R=e.i(422701),A=e.i(978577);let L=(0,l.U)(B.f).withConfig({displayName:"getPaymentMethodBadge__StyledBadge",componentId:"sc-271e17a9-0"})`
32  --badge-text-color: ${({theme:e})=>e.colors.dark};
33  --badge-background-color: ${({theme:e})=>e.colors.light};
34`,z=e=>(0,t.jsxs)(L,{size:"s",isSquared:!0,color:"neutral",className:"flex-shrink-0",children:[(0,t.jsx)(E.f,{size:16}),(0,t.jsx)("span",{children:e})]}),Z=e=>(0,t.jsxs)(L,{size:"s",isSquared:!0,className:"flex-shrink-0",children:[(0,t.jsx)(D.f,{size:16}),(0,t.jsx)("span",{children:e})]}),q=e=>(0,t.jsxs)(L,{size:"s",isSquared:!0,color:"neutral",className:"flex-shrink-0",children:[(0,t.jsx)(V,{size:16}),(0,t.jsx)("span",{children:e})]}),F=(0,l.U)(B.f).withConfig({displayName:"getPaymentStatusBadge__RefundedBadge",componentId:"sc-68bb785e-0"})`
35  --badge-text-color: ${({theme:e})=>e.colors.light};
36  --badge-background-color: ${({theme:e})=>e.colors.getDark(75)};
37`,W=(0,l.U)(B.f).withConfig({displayName:"getPaymentStatusBadge__PaidBadge",componentId:"sc-68bb785e-1"})`
38  --badge-text-color: ${({theme:e})=>e.colors.getContrastText(e.colors.brand)};
39  --badge-background-color: ${({theme:e})=>e.colors.brand};
40`;var G=e.i(223146),K=e.i(551071),X=e.i(702838),J=e.i(651325);let Q=(0,b.U)({id:"myPayments.invoice.downloadPDF",defaultMessage:"Download PDF"}),Y=(0,J.forwardRef)(({...e},i)=>{let{formatMessage:a}=(0,k.f)();return(0,t.jsx)(X.f,{"aria-label":a(Q),ref:i,variant:"tertiary",...e,children:(0,t.jsx)(S.f,{})})});Y.displayName="IconReferenceButton";let ee=(0,J.forwardRef)(({...e},i)=>(0,t.jsxs)(G.f,{ref:i,variant:"tertiary",...e,children:[(0,t.jsx)("span",{children:(0,t.jsx)(o.f,{id:"myPayments.invoice.downloadPDF",defaultMessage:"Download PDF"})}),(0,t.jsx)(S.f,{})]}));ee.displayName="ReferenceButton";let et=({invoiceDownloadUrl:e,creditNoteDownloadUrl:i})=>(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)(K.f.LinkItem,{href:((0,M.f)().NEXT_PUBLIC_B2MD_API_BASE||"/api")+e,rel:"noopener noreferrer",children:(0,t.jsx)(o.f,{id:"myPayments.invoice",defaultMessage:"Invoice"})}),(0,t.jsx)(K.f.LinkItem,{href:((0,M.f)().NEXT_PUBLIC_B2MD_API_BASE||"/api")+i,rel:"noopener noreferrer",children:(0,t.jsx)(o.f,{id:"myPayments.creditNote",defaultMessage:"Credit note"})})]}),ei=({invoiceDownloadUrl:e,creditNoteDownloadUrl:i})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"d-tablet-none",children:(0,t.jsx)(K.f,{ReferenceComponent:Y,children:(0,t.jsx)(et,{invoiceDownloadUrl:e,creditNoteDownloadUrl:i})})}),(0,t.jsx)("div",{className:"d-none d-tablet-block",children:(0,t.jsx)(K.f,{ReferenceComponent:ee,children:(0,t.jsx)(et,{invoiceDownloadUrl:e,creditNoteDownloadUrl:i})})})]}),ea=l.U.div.withConfig({displayName:"PaymentHeader__Header",componentId:"sc-b613f9ef-0"})`
41  display: flex;
42  justify-content: space-between;
43  padding: 20px 24px;
44  background-color: ${({theme:e})=>e.colors.getContrast(3)};
45  border-radius: 16px 16px 0 0;
46  gap: 16px;
47
48  @media ${a.f.tablet} {
49    align-items: center;
50    gap: 40px;
51  }
52`,er=l.U.div.withConfig({displayName:"PaymentHeader__Badges",componentId:"sc-b613f9ef-1"})`
53  display: flex;
54  flex-wrap: wrap;
55  gap: 12px;
56`,en=({payment:e})=>(0,t.jsxs)(ea,{children:[(0,t.jsxs)("div",{className:"d-flex flex-column flex-tablet-row",children:[(0,t.jsx)(r.f,{fontWeight:600,className:"mb-12 mb-tablet-0 mr-tablet-12 hide-empty",children:e.invoiceId?(0,t.jsx)(o.f,{id:"myPayments.invoice.number",defaultMessage:"Invoice {number}",values:{number:e.invoiceId}}):(e=>{switch(e){case"PENDING":return(0,t.jsx)(o.f,{id:"myPayments.invoice.preliminaryBill",defaultMessage:"Preliminary bill"});case"FREE":return(0,t.jsx)(o.f,{id:"myPayments.invoice.confirmation",defaultMessage:"Registration confirmation"});default:return null}})(e.state)}),(0,t.jsxs)(er,{children:[(e=>{switch(e){case"PENDING":return(0,t.jsx)(B.f,{size:"s",isSquared:!0,isMonochrome:!0,className:"flex-shrink-0",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.status.pending",defaultMessage:"Pending"})});case"FREE":return(0,t.jsx)(B.f,{size:"s",isSquared:!0,className:"flex-shrink-0",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.status.free",defaultMessage:"Free"})});case"REFUNDED":return(0,t.jsx)(F,{size:"s",isSquared:!0,className:"flex-shrink-0",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.status.refunded",defaultMessage:"Refunded"})});case"COMPLETED":return(0,t.jsx)(W,{size:"s",isSquared:!0,className:"flex-shrink-0",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.status.paid",defaultMessage:"Paid"})});default:return null}})(e.state),((e,i)=>{if(i&&i!==A.b.Other){let e=(e=>{switch(e){case A.b.StripeCard:case A.b.MollieCard:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.creditCard",defaultMessage:"Credit card"}));case A.b.StripeSepaDebit:case A.b.MollieSepaDebit:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.sepaDebit",defaultMessage:"SEPA Direct Debit"}));case A.b.MollieBankTransfer:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.bankTransfer",defaultMessage:"Bank transfer"}));case A.b.StripeIdeal:case A.b.MollieIdeal:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.ideal",defaultMessage:"iDEAL"}));case A.b.StripeBancontact:case A.b.MollieBancontact:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.bancontact",defaultMessage:"Bancontact"}));case A.b.StripeSofort:case A.b.MollieSofort:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.sofort",defaultMessage:"Sofort"}));case A.b.StripeEps:case A.b.MollieEps:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.eps",defaultMessage:"EPS"}));case A.b.StripeGiropay:case A.b.MollieGiropay:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.giropay",defaultMessage:"Giropay"}));case A.b.StripeP24:case A.b.MollieP24:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.p24",defaultMessage:"Przelewy24"}));case A.b.StripeKlarna:case A.b.MollieKlarna:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.klarna",defaultMessage:"Klarna"}));case A.b.StripePaypal:case A.b.MolliePaypal:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.paypal",defaultMessage:"PayPal"}));case A.b.StripeApplePay:case A.b.MollieApplePay:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.applePay",defaultMessage:"Apple Pay"}));case A.b.StripeGooglePay:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.googlePay",defaultMessage:"Google Pay"}));case A.b.StripeLink:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.link",defaultMessage:"Link"}));case A.b.MollieKbc:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.kbc",defaultMessage:"KBC/CBC"}));case A.b.MollieBelfius:return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.belfius",defaultMessage:"Belfius"}));case A.b.MolliePaysafecard:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.paysafecard",defaultMessage:"paysafecard"}));case A.b.MollieVoucher:case A.b.MollieGiftCard:return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.voucher",defaultMessage:"Voucher"}));default:return null}})(i);if(e)return e}switch(e){case"CARD":case"MOLLIE_CARD":return z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.creditCard",defaultMessage:"Credit card"}));case"INVOICE":return Z((0,t.jsx)(o.f,{id:"myPayments.invoice.method.bankTransfer",defaultMessage:"Bank transfer"}));case"STRIPE_CHECKOUT":return q((0,t.jsx)(o.f,{id:"myPayments.invoice.method.stripe",defaultMessage:"Stripe"}));case"MOLLIE_CHECKOUT":return q((0,t.jsx)(o.f,{id:"myPayments.invoice.method.mollie",defaultMessage:"Mollie"}));default:return null}})(e.method,e.paymentMethodType)]})]}),e.viewerShouldSeeDownloadInvoiceButton?(0,t.jsx)(t.Fragment,{children:e.viewerShouldSeeDownloadCreditNote?(0,t.jsx)(ei,{invoiceDownloadUrl:e.invoiceDownloadUrl,creditNoteDownloadUrl:e.creditNoteDownloadUrl}):e.invoiceDownloadUrl?(0,t.jsx)(I,{rel:"noopener noreferrer",href:((0,M.f)().NEXT_PUBLIC_B2MD_API_BASE||"/api")+e.invoiceDownloadUrl}):null}):null]});var es=e.i(469366);let eo=(0,b.V)({discountPromo:{id:"myPayments.invoice.priceSummary.discountPromo",defaultMessage:"Promo code: {code}"},discountScopeTicketOnly:{id:"myPayments.invoice.priceSummary.discountScopeTicketOnly",defaultMessage:"(applies to ticket only)"}}),el=l.U.div.withConfig({displayName:"PriceSummary__Container",componentId:"sc-fdcbdf08-0"})`
57  overflow: auto;
58
59  max-width: calc(100vw - 32px);
60  @media ${a.f.tablet} {
61    max-width: calc(100vw - 48px);
62  }
63
64  @media ${a.f.laptop} {
65    --page-container-width: min(100vw, 1440px);
66    max-width: calc(var(--page-container-width) - 394px));
67  }
68`,ec=l.U.table.withConfig({displayName:"PriceSummary__Table",componentId:"sc-fdcbdf08-1"})`
69  margin-top: 40px;
70  width: 100%;
71  padding: 12px 24px;
72  border-spacing: 0;
73
74  th,
75  td {
76    padding: 12px 24px;
77    text-align: right;
78    width: fit-content;
79    min-width: 150px;
80  }
81
82  th:first-child,
83  td:first-child {
84    text-align: left;
85    min-width: 160px;
86    width: 100%;
87  }
88`,ed=l.U.thead.withConfig({displayName:"PriceSummary__Header",componentId:"sc-fdcbdf08-2"})`
89  text-transform: uppercase;
90  width: 100%;
91`,em=l.U.tr.withConfig({displayName:"PriceSummary__HeaderRow",componentId:"sc-fdcbdf08-3"})`
92  background-color: ${({theme:e})=>e.colors.getContrast(3)};
93  min-width: fit-content;
94`,ef=l.U.th.withConfig({displayName:"PriceSummary__HeaderItem",componentId:"sc-fdcbdf08-4"})`
95  font-size: 16px;
96  line-height: 24px;
97  font-weight: 600;
98`,eu=l.U.tr.withConfig({displayName:"PriceSummary__Row",componentId:"sc-fdcbdf08-5"})`
99  ${({$hasBorder:e,theme:t})=>e&&l.m`
100      td,
101      th {
102        border-bottom: 1px solid ${t.colors.separators};
103      }
104    `}
105
106  ${({$alignTop:e})=>e&&l.m`
107      td,
108      th {
109        vertical-align: top;
110      }
111    `}
112`,ey=({payment:e,hasBorder:i})=>{let a=(0,k.f)(),{promotionCode:n,price:s,currency:l}=e;return n?(0,t.jsxs)(eu,{"data-test":"my-payments-discount-row",$hasBorder:i,$alignTop:s.discountTicketOnly,children:[(0,t.jsxs)(es.f,{as:"td",children:[(0,t.jsx)(r.f,{children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.discount",defaultMessage:"Discount ({price})",values:{price:null!==n.absolute?(0,t.jsx)(b.Z,{value:n.absolute,style:"currency",currency:l.name}):null!==n.relative?(0,t.jsx)(b.Z,{value:.01*n.relative,style:"percent"}):null}})}),(0,t.jsx)(r.f,{variant:"s","data-test":"my-payments-promo-code",children:a.formatMessage(eo.discountPromo,{code:n.code})}),s.discountTicketOnly&&(0,t.jsx)(r.f,{variant:"s","data-test":"discount-scope-ticket-only",children:a.formatMessage(eo.discountScopeTicketOnly)})]}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:s.discount?-1*s.discount:0,style:"currency",currency:l.name})})]}):null},ep=({payment:e})=>{let i=e.tickets.nodes[0],a=e.addons.nodes,n=a.length-1,s=null!==e.price.vatPercentage,l=!!e.price.refund;return(0,t.jsx)(el,{children:(0,t.jsxs)(ec,{children:[(0,t.jsx)(ed,{children:(0,t.jsxs)(em,{children:[(0,t.jsx)(ef,{children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.item",defaultMessage:"Item"})}),(0,t.jsx)(ef,{children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.qty",defaultMessage:"Qty"})}),(0,t.jsx)(ef,{children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.price",defaultMessage:"Price"})}),(0,t.jsx)(ef,{children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.amount",defaultMessage:"Amount"})})]})}),(0,t.jsxs)("tbody",{children:[i&&(0,t.jsxs)(eu,{$hasBorder:0===a.length,children:[(0,t.jsx)(r.f,{as:"td",children:i.ticket.title}),(0,t.jsx)(r.f,{as:"td",children:i.quantity}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:i.ticket.amount,style:"currency",currency:e.currency.name})}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:i.ticket.amount,style:"currency",currency:e.currency.name})})]}),a.map(({quantity:i,addon:a},s)=>(0,t.jsxs)(eu,{$hasBorder:s===n,children:[(0,t.jsx)(r.f,{as:"td",children:a.name}),(0,t.jsx)(r.f,{as:"td",children:i}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:a.amount,style:"currency",currency:e.currency.name})}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:a.amount*i,style:"currency",currency:e.currency.name})})]},a.id)),(0,t.jsxs)(eu,{$hasBorder:!e.promotionCode&&!s&&!l,children:[(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.subtotal",defaultMessage:"Subtotal"})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:e.price.subtotal,style:"currency",currency:e.currency.name})})]}),(0,t.jsx)(ey,{payment:e,hasBorder:!s&&!l}),null!==e.price.vatPercentage&&(0,t.jsxs)(eu,{$hasBorder:!l,children:[(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.vat",defaultMessage:"VAT {percentage}%",values:{percentage:e.price.vatPercentage}})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:e.price.vatAmount,style:"currency",currency:e.currency.name})})]}),!!e.price.refund&&(0,t.jsxs)(eu,{$hasBorder:!0,children:[(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.refund",defaultMessage:"Refund"})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{}),(0,t.jsx)(r.f,{as:"td",children:(0,t.jsx)(b.Z,{value:-1*e.price.refund,style:"currency",currency:e.currency.name})})]}),(0,t.jsxs)(eu,{children:[(0,t.jsx)(r.f,{as:"td",fontWeight:600,children:(0,t.jsx)(o.f,{id:"myPayments.invoice.priceSummary.total",defaultMessage:"Total"})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{}),(0,t.jsx)(r.f,{as:"td",fontWeight:600,children:(0,t.jsx)(b.Z,{value:e.price.total,style:"currency",currency:e.currency.name})})]})]})]})})},ex=l.U.div.withConfig({displayName:"PaymentCard__Wrapper",componentId:"sc-90d0b3bd-0"})`
113  display: flex;
114  flex-direction: column;
115  gap: 24px;
116  padding: 20px 24px 0px;
117
118  @media ${a.f.tablet} {
119    flex-direction: row;
120  }
121
122  @media ${a.f.laptop} {
123    gap: 40px;
124  }
125`,eh=l.U.div.withConfig({displayName:"PaymentCard__PriceContainer",componentId:"sc-90d0b3bd-1"})`
126  flex-grow: 1;
127
128  @media ${a.f.tablet} {
129    text-align: right;
130  }
131`,eg=({payment:e})=>(0,t.jsxs)(j.f,{hasBorder:!0,className:"p-0 mb-24",children:[(0,t.jsx)(en,{payment:e}),(0,t.jsxs)(ex,{children:[(0,t.jsx)(C,{payment:e}),(0,t.jsxs)(eh,{children:[(0,t.jsx)(r.f,{fontWeight:600,className:"mb-8",children:(0,t.jsx)(o.f,{id:"myPayments.billingInfo.totalAmount",defaultMessage:"Total Amount"})}),(0,t.jsx)(i.f,{variant:"h4",as:"p",className:"flex-shrink-0",children:(0,t.jsx)(b.Z,{value:e.price.total,style:"currency",currency:e.currency.name})})]})]}),(0,t.jsx)(ep,{payment:e})]});var ej=e.i(639827);let eb=l.U.div.withConfig({displayName:"PaymentsLoading__Header",componentId:"sc-8c95b21b-0"})`
132  padding: 20px 24px;
133  background-color: ${({theme:e})=>e.colors.getDark(3)};
134  border-radius: 16px 16px 0 0;
135  height: 80px;
136`,ev=()=>(0,t.jsxs)(j.f,{hasBorder:!0,className:"p-0",children:[(0,t.jsx)(eb,{children:(0,t.jsx)(ej.f,{height:"40",width:"100%",children:(0,t.jsx)("rect",{y:"8",height:"24",width:"180",rx:"8"})})}),(0,t.jsx)("div",{className:"px-24 py-20",children:(0,t.jsxs)(ej.f,{height:"250",width:"100%",children:[(0,t.jsx)("rect",{y:"0",height:"24",width:"150",rx:"8"}),(0,t.jsx)("rect",{y:"32",height:"160",width:"190",rx:"8"}),(0,t.jsx)("rect",{x:"90%",y:"0",height:"24",width:"10%",rx:"8"}),(0,t.jsx)("rect",{x:"82%",y:"32",height:"40",width:"18%",rx:"8"})]})})]});var eP=e.i(837513);e.i(422185);var ew=e.i(585086);let eC=(0,l.U)(j.f).withConfig({displayName:"TicketCard__StyledCard",componentId:"sc-8b5c932f-0"})`
137  display: flex;
138  flex-direction: column;
139  gap: 16px;
140  background-color: ${({theme:e})=>e.colors.getBrand(5)};
141  border-color: ${({theme:e})=>e.colors.getBrand(15)};
142  padding: 0px;
143`,eM=(0,l.U)(ew.f).withConfig({displayName:"TicketCard__Description",componentId:"sc-8b5c932f-1"})`
144  max-width: 750px;
145`,eS=l.U.hr.withConfig({displayName:"TicketCard__Separator",componentId:"sc-8b5c932f-2"})`
146  border: 0;
147  border-top: 1px solid ${({theme:e})=>e.colors.getBrand(10)};
148`,eN=({ticket:e,currency:a})=>(0,t.jsxs)(eC,{hasBorder:!0,children:[(0,t.jsxs)("div",{className:"px-20 pt-20",children:[(0,t.jsxs)("div",{className:"d-flex align-items-start",children:[(0,t.jsx)(eP.f,{size:24,className:"mr-8 flex-shrink-0"}),(0,t.jsx)(r.f,{variant:"m",fontWeight:600,className:"text-wrap",children:e.title})]}),e.description&&(0,t.jsx)(eM,{className:"mt-12 text-wrap",children:e.description})]}),(0,t.jsx)(eS,{}),(0,t.jsxs)("div",{className:"px-20 pb-20",children:[(0,t.jsx)(r.f,{variant:"s",className:"mb-4",children:(0,t.jsx)(o.f,{id:"myPayments.ticket.price",defaultMessage:"Ticket price"})}),(0,t.jsx)(i.f,{variant:"h6",as:"p",children:e.amount?(0,t.jsx)(b.Z,{value:e.amount,style:"currency",currency:a}):(0,t.jsx)(es.f,{className:"text-uppercase",children:(0,t.jsx)(o.f,{id:"myPayments.ticket.price.free",defaultMessage:"Free"})})})]})]}),e_=l.U.div.withConfig({displayName:"Ticket__Container",componentId:"sc-a9147705-0"})`
149  @media ${a.f.laptop} {
150    position: sticky;
151    top: calc(var(--header_height) + 24px);
152    align-self: start;
153    margin-bottom: 40px;
154  }
155`,ek=({ticket:e,currency:a})=>(0,t.jsxs)(e_,{children:[(0,t.jsx)(i.f,{variant:"h6",as:"h2",className:"mb-12 mb-tablet-16 mt-tablet-8 mt-laptop-0",children:(0,t.jsx)(o.f,{id:"myPayments.ticket",defaultMessage:"Your ticket"})}),(0,t.jsx)(eN,{ticket:e,currency:a}),(0,t.jsx)(r.f,{variant:"s",color:"textSecondary",className:"mt-12",children:(0,t.jsx)(o.f,{id:"myPayments.ticket.modifyInfo",defaultMessage:"To modify your ticket, please get in touch with the event organizer."})})]}
155),eO=l.U.div.withConfig({displayName:"Payments__PaymentsWrapper",componentId:"sc-2a65d5b9-0"})`
156  display: grid;
157  grid-template-columns: 1fr;
158  margin-top: 24px;
159
160  @media ${a.f.tablet} {
161    margin-top: 32px;
162  }
163
164  @media ${a.f.laptop} {
165    gap: 24px;
166    grid-template-columns: ${({$showAsGrid:e})=>e?"minmax(min-content, 1048px) 320px":"1fr"};
167    height: 100%;
168  }
169`,eI=({payments:e,ticket:a,currency:r,viewerCanPay:n,loading:s})=>(0,t.jsx)("div",{children:(0,t.jsxs)(eO,{$showAsGrid:!!a,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(i.f,{variant:"h6",as:"h2",className:"mb-12 mb-tablet-16",children:(0,t.jsx)(o.f,{id:"myPaymenst.invoices",defaultMessage:"Invoices"})}),s?(0,t.jsx)(ev,{}):0===e.length?(0,t.jsx)(g,{viewerCanPay:n}):e.map(e=>(0,t.jsx)(eg,{payment:e},e.id))]}),a&&(0,t.jsx)(ek,{ticket:a,currency:r})]})});e.i(582455);var eB=e.i(934415),eD=e.i(484347),eE=e.i(520008),eU=e.i(444713);e.i(223771);var eT=e.i(323217),e$=e.i(908368),eH=e.i(325522),eV=e.i(402516),eR=e.i(985782),eA=e.i(118374),eL=e.i(832765),ez=e.i(656285),eZ=e.i(344054),eq=e.i(38308),eF=e.i(685259);let eW=l.U.div.withConfig({displayName:"payments__Root",componentId:"sc-c10a1704-0"})`
170  display: flex;
171  justify-content: center;
172  flex: 1;
173`,eG=l.U.div.withConfig({displayName:"payments__Container",componentId:"sc-c10a1704-1"})`
174  display: flex;
175  flex-direction: column;
176  flex-grow: 1;
177  background-color: ${({theme:e})=>e.colors.background};
178  padding: 24px 16px 32px;
179
180  @media ${a.f.tablet} {
181    padding: 40px 24px;
182  }
183
184  @media ${a.f.laptop} {
185    max-width: 1440px;
186  }
187`,eK=({locale:e,appMessages:a})=>{let l=(0,s.E)(),c=(0,ez.useRouter)(),{data:d,loading:m}=(0,R.rx)({variables:{euid:l}}),f=d?.viewer?.participantByEuid,u=(0,J.useRef)(!1);if((0,J.useEffect)(()=>{let{[eq.d]:e,...t}=c.query;"payment-approved"!==e||u.current||(eA.T.trackEvent("Payment approved clicked through email"),u.current=!0,c.replace({pathname:c.pathname,query:t},void 0,{shallow:!0}))},[c]),!f)return null;let y=f?.visiblePayments.nodes||[],p=f?.lastPayment?.mainTicket,x=d.eventByEuidV2.currency,h=f?.lastPayment?.state===A.r.Pending;return(0,t.jsx)(eE.U,{value:eF.n.MyPayments,children:(0,t.jsx)(n.f,{locale:e,appMessages:a,pageTitle:(0,b.U)({id:"header.myPayments.title",defaultMessage:"Payment & billing"}),children:(0,t.jsx)(eW,{children:(0,t.jsxs)(eG,{children:[(0,t.jsx)(i.f,{variant:"h5",className:"mb-8",children:(0,t.jsx)(o.f,{id:"myPayments.title",defaultMessage:"Payment & billing"})}),(0,t.jsx)(r.f,{color:"textSecondary",children:(0,t.jsx)(o.f,{id:"myPayments.description",defaultMessage:"Here you can manage your payment methods, view your billing history, and update your billing information."})}),f?.shouldSeePendingPaymentNotification&&(0,t.jsx)(eD.f,{className:"mt-24 mt-tablet-32 mb-0"}),f?.shouldSeeCompletePaymentNotification&&(0,t.jsx)(eB.f,{invoiceUrl:f?.lastPayment?.invoiceDownloadUrl,isOnPaymentPage:!0,className:"mt-24 mt-tablet-32 mb-0"}),(0,t.jsx)(eI,{payments:y,ticket:p,currency:x.name,viewerCanPay:h,loading:m})]})})})})};eK.getInitialProps=(0,eU.x)(async(e,t)=>{let i=(0,eZ.P)(e),{data:a,error:r}=await t.query({fetchPolicy:"network-only",query:R.Hv,variables:{euid:i,skipLayoutData:!e.req,includeInitialPropsData:!0}});if("Event"!==a.eventByEuidV2.__typename)return(0,eH.f)(e,a.eventByEuidV2);let{eventByEuidV2:n,viewer:s}=a,{id:o,websiteUrl:l}=n,c=s?.participantByEuid;if(e.req&&(e.req.loggerLabels={euid:i,eventId:o,userId:s?.id,isImpersonated:s?.isImpersonated,route:"My payments"}),r)throw r;let d=await (0,eR.f)(e),m=(0,eZ.W)(e.query.euid,e.asPath||"/my/payments");if(!s)return(0,eZ.w)(e,l,`sign-in?${eq.G}=${m}`),{};if(!c||!c.hasFinishedRegistration)return(0,eZ.w)(e,l,"sign-up"),{};if(c.shouldFinalizeSignup)return(0,eZ.w)(e,l,eZ.J.includes(i)?"opt-in":"password-setup"),{};if(c.shouldAcceptTermsAndConditions)return(0,eZ.w)(e,l,"accept-terms"),{};if(e.req){let e=(0,eV.y)(n);return{webSocketUrl:d,locale:e,appMessages:await (0,eL.f)(e,n),globalClassName:(0,eT.J)(n)}}return{}});let eX=(0,e$.f)(eK);e.s(["default",0,eX],273728)}]);
188
189//# debugId=937a1d31-20e0-ac65-9fb1-6b1e15504948

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.