1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1672],{49871:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var o=n(28407),a=n(77810),r=n(35701),s=n(59146),c=n(73608),i=n(21052),l=n(7711),u=n(14905),m=n(34692),h=n(41863),d=n(73448),p=n(14729),f=n(37856),E=n(44741);const A=function(){const[e]=(0,r.ok)(),t=(0,l.A)(),n=e.f||d.dQ,{setError:A,clearError:_}=(0,p.HS)(d.hz),{formatMessage:y}=(0,m.A)();(0,a.useLayoutEffect)((()=>{if(null!=e&&e.amazonCheckoutSessionId){!function(e){g.apply(this,arguments)}(e.amazonCheckoutSessionId)}}),[]);const v=(0,E.A)({options:{customApiPathParameters:{apiName:"pwa-amazonpay",apiVersion:"v1",endpointPath:"oneComplete"},method:"POST"}});function g(){return(g=(0,o.A)((function*(e){try{var o;_();const n=yield v.mutateAsync({parameters:{c_amazonCheckoutSessionId:e,c_storefront:"pwa"}});(0,f.yC)(n),a=null==n||null===(o=n.response)||void 0===o?void 0:o.orderNo,t(`/checkout/confirmation/${a}`)}catch(e){A(d.uT,e||y(d.du)),console.error("Error processing checkout session:",e),t(n)}var a}))).apply(this,arguments)}return a.createElement(s.a,null,a.createElement("style",null,"body { \n height: 100vh;\n overflow: hidden;\n }"),a.createElement(c.E,{height:"80vh",width:"100%"}),a.createElement(u.A,null,a.createElement(i.E,{mt:"0.5em"},a.createElement(h.A,{defaultMessage:[{type:0,value:"Processing Amazon Payment..."}],id:"amazon_review.processing"}))))}}}]);
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.