1import{u as e}from"./esnext-vendor.7EcvH7tF.js";import{B as s,hU as d,k as l,P as i}from"./hydrate.CvWSYK3c.js";import{Q as f,ab as u,cB as m}from"./utilities-previous.BNOUhCqt.js";import{u as p,S as h,f as g}from"./Page.iFMNx-gv.js";const y=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t,children:[e("path",{strokeWidth:2,d:"M49 25c0 13.255-10.745 24-24 24S1 38.255 1 25 11.745 1 25 1s24 10.745 24 24Z",style:{stroke:"currentColor"}}),e("path",{d:"M39 12 12 39m0-27 27 27",style:{stroke:"currentColor"}})]}),_=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t,children:[e("path",{strokeWidth:2,d:"M49 25c0 13.255-10.745 24-24 24S1 38.255 1 25 11.745 1 25 1s24 10.745 24 24Z",style:{stroke:"currentColor"}}),e("path",{strokeWidth:2,d:"m15 24.511 7.307 7.307L35.125 19",style:{stroke:"currentColor"}})]}),k=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t,children:[e("path",{strokeWidth:2,d:"M49 25c0 13.255-10.745 24-24 24S1 38.255 1 25 11.745 1 25 1s24 10.745 24 24Z",style:{stroke:"currentColor"}}),e("path",{strokeLinecap:"square",strokeWidth:2,d:"M25 11v19",style:{stroke:"currentColor"}}),e("path",{fillRule:"evenodd",d:"M25 39a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd",style:{fill:"currentColor"}})]}),S="GrCfj",x={AnimatedIcon:S},v={success:_,cancelled:y,warning:k},o="48px";function c({status:t,color:n="var(--x-default-color-accent)",animated:r=!1}){const a=v[t];return e(s,{maxBlockSize:o,maxInlineSize:o,minBlockSize:o,minInlineSize:o,className:r?x.AnimatedIcon:void 0,children:e(a,{focusable:"false","aria-hidden":"true",style:{color:n}})})}function O({children:t,status:n}){return e(l,{accessibilityRole:"header",direction:"inline",alignItems:"center",justifyContent:"start",gap:"base",className:d.ThankYouEntranceHeading,children:[e(c,{status:n,animated:n==="success"}),e(s,{children:t})]})}function C(){const{i18n:t,router:n}=f(),r=n.currentUrl.value.searchParams.get("expired")==="true";p({stage:h.Complete,id:"OffsitePaymentFailed"}),g("OffsitePaymentFailed");const a=r?t.translate("offsite_payment_failed.payment_link_expired_title"):t.translate("offsite_payment_failed.payment_not_processed_title");return e(m,{children:e(s,{padding:"none large-500",children:e(l,{gap:"large-300",alignItems:"center",children:[e(u,{children:a}),e(c,{status:"warning",color:"var(--x-default-color-critical)"}),e(l,{gap:"base",children:[e(i,{textAlign:"center",children:a}),e(i,{textAlign:"center",color:"subdued",fonts:"secondary",children:r?t.translate("offsite_payment_failed.payment_link_expired_text"):t.translate("offsite_payment_failed.payment_not_processed_text")})]})]})})})}const P=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"}));export{O as C,P as O,c as a};
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.