1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[979],{20055:(e,t,s)=>{"use strict";s.d(t,{u:()=>c});var r=s(37876),l=s(67637),n=s(23993);function c(e){let{widgets:t}=e;return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>{let s="".concat(e.id,"-").concat(t),c=l.Y[e.id];return c?e.invalid?null:(0,r.jsx)("div",{className:"widget",children:c.render({data:e})},s):"local"===n.cA||"dev"===n.cA?(0,r.jsxs)("div",{className:"my-4 bg-alternate-bg",children:["widget not found with id '",e.id,"'"]},s):null})})}s(14232)},31487:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>g,default:()=>_});var r=s(37876),l=s(41418),n=s(50142),c=s(73319),i=s(42377),a=s(96688),o=s(5715),d=s(45147),u=s(20055),x=s(46524),h=s(48769),m=s(60851),f=s(14232);function v(){let{cart:e}=(0,d._$)(),{profile:t}=(0,m.Ir)(),[s,l]=(0,f.useState)(null);return((0,f.useEffect)(()=>{let s=!1;return async function(){try{var r,n,c;let i=function(){try{let e=sessionStorage.getItem(d.ep);if(!e)return null;return JSON.parse(e)}catch(e){return null}}(),a=e.items.length>0,o=e.items.some(e=>null!==(0,h.v)(e)),u=null!=(r=null==i?void 0:i.items)?r:[],m=null!=(n=null==i?void 0:i.cartContainedSubscription)&&n;if(a&&o&&(u=await (0,h.il)(e.items),m=(0,x.b)(e.items)),s)return;let f=(0,h.IX)({hasUserSubscription:!!(null==t?void 0:t.hasSubscription),cartContainsSubscription:m,slot:"orderConfirmation"}),v=(0,h.Lw)(u,"orderConfirmation",f);l(null!=(c=null==v?void 0:v.widgets)?c:[])}catch(e){}finally{try{sessionStorage.removeItem(d.ep)}catch(e){}}}(),()=>{s=!0}},[]),s&&0!==s.length)?(0,r.jsx)("div",{className:"order-confirmation-recommendation mt-4",children:(0,r.jsx)(u.u,{widgets:s})}):null}var j=s(96513),p=s(41446),w=s(34846),b=s(77328),N=s.n(b),g=!0;let _=e=>{let{tenant:t,commonSettings:s}=e,{t:d}=(0,w.Bd)("checkoutSuccess");return(0,r.jsxs)("div",{className:"min-h-screen flex flex-col",children:[(0,r.jsx)(N(),{children:(0,r.jsx)("title",{children:d("title")})}),(0,r.jsx)(o.Y,{}),(e=>{var t,s;return(null==(s=j.TENANT_CLIENT_CONFIG[e])||null==(t=s.purchaseConfig)?void 0:t.flow)==="cart"})(t)&&(0,r.jsx)(n.N,{step:"confirmation"}),(0,r.jsxs)("div",{className:"grow",children:[(0,r.jsx)(c.M,{children:(0,r.jsx)("div",{className:"pt-20 pb-8",children:s.successfulPurchaseNotice?(0,r.jsx)(a.M,{html:s.successfulPurchaseNotice}):(0,r.jsxs)("div",{className:"flex flex-row space-x-4",children:[(0,r.jsx)(l.A,{className:(0,p.xW)("h-6 w-6 text-success")}),(0,r.jsx)("div",{children:(0,r.jsx)("h2",{children:d("heading")})})]})})}),(0,r.jsx)(v,{})]}),(0,r.jsx)(i.w,{})]})}},41418:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var r=s(14232);let l=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})},41724:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[tenant]/checkout/success",function(){return s(31487)}])},50142:(e,t,s)=>{"use strict";s.d(t,{N:()=>a});var r=s(37876),l=s(41446),n=s(34846),c=s(48230),i=s.n(c);function a(e){let{step:t="cart"}=e,{t:s}=(0,n.Bd)("checkout");return(0,r.jsxs)("div",{className:"w-[100vw] ml-[50%] translate-x-[-50%] color-set-menu flex flex-row justify-center space-x-10 sm:space-x-28",children:[(0,r.jsx)(o,{index:1,label:s("progress.cart"),active:"cart"===t,link:"/cart"}),(0,r.jsx)(o,{index:2,label:s("progress.checkout"),active:"checkout"===t}),(0,r.jsx)(o,{index:3,label:s("progress.confirmation"),active:"confirmation"===t})]})}function o(e){let{label:t,index:s,active:n,link:c}=e;return(0,r.jsxs)("div",{className:(0,l.xW)("flex flex-col items-center text-sm py-4"),children:[(0,r.jsx)("div",{className:(0,l.xW)("rounded-full py-[2px] font-bold mb-1",n?"bg-[#787878] border-double border-4 border-white":"bg-[#DDDDDD] border border-4 text-black border-menu-bg"),children:(0,r.jsx)("span",{className:(0,l.xW)("text-black block text-center w-[25px]",n?"text-white":""),children:c?(0,r.jsx)(i(),{href:c,children:s}):s})}
1),(0,r.jsx)("div",{className:(0,l.xW)(n?"":"opacity-60"),children:c?(0,r.jsx)(i(),{href:c,children:t}):t})]})}s(14232)}},e=>{e.O(0,[863,33,494,380,936,384,192,636,593,792],()=>e(e.s=41724)),_N_E=e.O()}]);
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.