PageSourceSearch

https://molbubi.hu/assets/ReceiptDetailsPage-DGlerYhn.js

js molbubi.hu collected 2026-09-24 09:40:39 UTC 3,353 bytes, 1 lines download raw bytes

1import{j as t,B as n,T as o,L as C}from"./vendor-mui-SV2jZBhJ.js";import{u as w,a as N,c as _,b as E,V as P,z as A,P as S,W as B,X as j,w as M,B as O,Y as W}from"./main-CxZpl-xO.js";import{a as F}from"./vendor-react-DsHBsgbR.js";import"./vendor-mapbox-D8F1hoiy.js";function $(r){if(r){if(r.paymentTransactions&&r.paymentTransactions.length>0){for(const e of r.paymentTransactions)if(e&&e.__typename==="PaymentTransaction"&&e.transactionNumber&&e.status===W.Completed)return e.transactionNumber}if(r.walletTransactions&&r.walletTransactions.length>0){for(const e of r.walletTransactions)if(e&&e.id)return e.id}}}const K=()=>{var g;const{token:r}=F(),{t:e,i18n:v}=w(),{systemConfig:u}=N(),{data:d}=_(),{data:m,loading:T,error:R}=E(P,{variables:{token:r??""},skip:!r}),a=m==null?void 0:m.order,s=d==null?void 0:d.settings,i=s==null?void 0:s.title,l=u.contactEmail,p=u.colourKey,c=s==null?void 0:s.footer,k=A.get("urbanSharingAssetsUrl"),x=p?`${k}/v1/favicons/public-web/${p}/android-chrome-256x256.png`:null;if(T)return t.jsx(S,{variant:"detail"});if(R||!a)return t.jsx(n,{sx:{maxWidth:800,width:"100%",p:3,mx:"auto"},children:t.jsx(o,{variant:"h4",gutterBottom:!0,children:e("modules.ErrorPage.PageNotFound.heading","The page could not be found")})});const h=$(a),f=B[a.type];if(!f)throw new Error(`Renderer for ${a.type} not found`);const y=a.type===j.Verification||a.type===j.BusinessRegistrationFee&&a.amount===0,b=(g=a.company)==null?void 0:g.name;return t.jsxs(n,{children:[t.jsxs(n,{sx:{textAlign:"center",mb:3},children:[x&&t.jsx(n,{sx:{mb:1,mx:"auto",width:100},children:t.jsx("img",{src:x,alt:i||"",style:{width:"100%",height:"auto"}})}),i&&t.jsx(o,{variant:"body2",sx:{color:"text.primary",fontWeight:"normal"},children:i}),b&&t.jsx(o,{variant:"body2",sx:{color:"text.primary",fontWeight:"normal",mt:1},children:b})]}),!y&&t.jsxs(t.Fragment,{children:[t.jsx(o,{variant:"h5",component:"h1",gutterBottom:!0,sx:{mb:2},children:e("modules.Receipt.header","Receipt for purchase from {siteName}",{siteName:i||""})}),t.jsx(o,{variant:"body2",color:"text.secondary",paragraph:!0,children:e("modules.Receipt.orderNumber","Order #{id}",{id:a.id})})]}),t.jsx(n,{sx:{mb:3},children:t.jsx(f,{order:a})}),!y&&t.jsx(n,{sx:{mb:3},children:t.jsxs(n,{component:"ul",sx:{listStyle:"none",p:0,m:0},children:[h&&t.jsx(n,{component:"li",sx:{mb:1},children:t.jsx(o,{variant:"body2",children:e("transaction_number_str","Transaction number: {transactionNumber}",{transactionNumber:h})})}),a.completedAt&&t.jsx(n,{component:"li",sx:{mb:1},children:t.jsx(o,{variant:"body2",children:e("date_completed_at","Date: {completedAt}",{completedAt:M(a.completedAt,v.language)})})}),a.creditCardMasked&&t.jsx(n,{component:"li",sx:{mb:1},"data-testid":"Receipt__creditCardMasked",children:t.jsx(o,{variant:"body2",children:e("card_creditCardMasked","Card: {creditCardMasked}",{creditCardMasked:a.creditCardMasked})})})]})}),l&&t.jsx(o,{variant:"body2",align:"center",paragraph:!0,sx:{mb:3},children:e("modules.Receipt.contact","For customer service or other inquiries, please send us an email at {contactEmail}",{contactEmail:t.jsx(C,{href:`mailto:${l}`,children:l})})}),(c==null?void 0:c.aboutOperator)&&t.jsx(n,{sx:{textAlign:"center",fontWeight:"normal",fontSize:"0.875rem",color:"text.secondary"},children:t.jsx(O,{value:c.aboutOperator})})]})};export{K as ReceiptDetailsPage};

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.