1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bd4b5624-00d6-4b81-ae7e-d14afcbce06d",e._sentryDebugIdIdentifier="sentry-dbid-bd4b5624-00d6-4b81-ae7e-d14afcbce06d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2736],{1500:e=>{e.exports={container:"InProgressSign_container__xuvdQ",whiteBackground:"InProgressSign_whiteBackground__Y6SaZ",loadingSpinnerContainer:"InProgressSign_loadingSpinnerContainer__Mqx9O",loader:"InProgressSign_loader__WSuge",rotation:"InProgressSign_rotation__tPANS",subtext:"InProgressSign_subtext__4XXsu"}},24524:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/back-from-3ds-popup",function(){return t(91277)}])},54503:(e,n,t)=>{"use strict";t.d(n,{w:()=>f});var r=t(58103),o=t.n(r);t(14232);var i=t(76436),s=t(24803),a=t(63990),c=t(60910),u=t(3775),d=t(1500),l=t.n(d),p=t(37876),f=function(e){var n=e.LoaderComponent,t=void 0===n?i.A:n,r=e.title,d=e.subtitle,f=e.dataTestId,g=e.className;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:o()(l().whiteBackground,g)}),(0,p.jsxs)(s.X,{"data-testid":f,className:l().container,children:[(0,p.jsx)("div",{className:l().loadingSpinnerContainer,children:(0,p.jsx)(t,{})}),(0,p.jsxs)(a._,{children:[(0,p.jsx)(c.P,{className:l().title,children:r}),(0,p.jsx)(u.E,{className:l().subtext,children:d})]})]})]})}},61722:(e,n,t)=>{"use strict";t.d(n,{N:()=>o,y:()=>r});var r=["https://www.gstatic.com","https://www.googletagmanager.com","https://js.stripe.com"],o=["https://checkout.paypal.com/","https://paypal.com","https://r.stripe.com","https://pay.google.com","https://payments.braintree-api.com","https://checkoutshopper-live.adyen.com"]},85044:(e,n,t)=>{"use strict";t.d(n,{A:()=>w});var r=t(63857),o=t(60180),i=t.n(o),s=t(89099),a=t(14232),c=t(96758),u=t(54503),d=t(24827),l=t(61722),p=t(69291),f=t(46733),g=t(37876);function w(e){var n,o=e.appName,w=e.flowId,m=(0,s.useRouter)(),h=(0,a.useState)(!1),y=h[0],v=h[1],_=(0,a.useRef)(null),b=(0,a.useRef)(!1),x=(0,a.useRef)(!1),N=(0,a.useRef)(!1),S=m.query.flowId||w,j=o||(null==(n=d.i[S])?void 0:n.appName)||"ltxvideo";return((0,a.useEffect)(function(){var e=function(){window.opener&&!x.current&&(0,f.oE)(!1)};return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}},[]),(0,a.useEffect)(function(){if(!N.current&&m.isReady){N.current=!0;var e,n=function(e){console.error("[ThreeDsPopupPage]",e),(0,p.V$)({msg:"3DS popup could not start the challenge",details:{reason:e},type:p.jX.unknownError}),x.current||(x.current=!0,(0,f.Rq)({success:!1,error:e})),v(!0)};if(!window.opener)return void n("No opener window");var o={},s=function(){window.removeEventListener("message",c),clearInterval(o.retry),clearTimeout(o.timeout)},a=(e=(0,r.A)(i().mark(function e(r){var o,s,a,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([t.e(4365),t.e(4958),t.e(3416),t.e(9193)]).then(t.bind(t,99193));case 2:return o=e.sent.AdyenCheckout,s=r.action,a=r.config,e.next=7,o({environment:a.environment,clientKey:a.clientKey,countryCode:a.countryCode,paymentMethodsResponse:a.paymentMethods,onAdditionalDetails:function(e){var n,t=null==(n=e.data)||null==(n=n.details)?void 0:n.threeDSResult;x.current=!0,t?(0,f.Rq)({success:!0,paymentToken:t}):(0,f.Rq)({success:!1,error:"3DS verification failed"}),setTimeout(function(){return window.close()},1e3)},onError:function(e){x.current=!0,(0,f.Rq)({success:!1,error:e.message}),setTimeout(function(){return window.close()},1e3)}});case 7:if(c=e.sent,_.current){e.next=11;break}return n("3DS container not found"),e.abrupt("return");case 11:c.createFromAction(s).mount(_.current);case 12:case"end":return e.stop()}},e)})),function(n){return e.apply(this,arguments)}),c=function(e){if(!b.current&&(0,f.HY)(e,window.opener)){var t=e.data.payload;if(!(0,f.XR)(t)){s(),n("Missing 3DS action payload");return}if(!(0,f.ab)(t)){s(),n("3DS action data expired");return}b.current=!0,s(),a(t).catch(function(e){n("Failed to initialize 3DS: ".concat(e.message))})}};return window.addEventListener("message",c),(0,f.f)(),o.retry=setInterval(f.f,200),o.timeout=setTimeout(function(){s(),n("Timed out waiting for 3DS action")},5e3),s}},[m.isReady]),y)?(0,g.jsx)(c.A,{appName:j,dnsPrefetchOrigins:l.y,preconnectOrigins:l.N,flowName:w,children:(0,g.jsxs)("div",{style:{padding:"20px",textAlign:"center"},children:[(0,g.jsx)("h2",{children:"We couldn't verify your payment"}),(0,g.jsx)("p",{children:"Please close this window and try again."}),(0,g.jsx)("button",{onClick:function(){return window.close()},children:"Close"})]})}):(0,g.jsx)(c.A,{appName:j,dnsPrefetchOrigins:l.y,preconnectOrigins:l.N,flowName:w,children:(0,g.jsxs)("div",{style:{padding:"20px"},children:[(0,g.jsx)(u.w,{title:"Verifying Payment",subtitle:"Please complete the verification."}),(0,g.jsx)("div",{ref:_,id:"threeds-container",style:{marginTop:"20px"}})]})})}},91277:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});let r=t(85044).A}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=24524)),_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.