(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3750],{48141:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return O},default:function(){return b}});var n=t(82091),o=t(75505),c=t(95235),u=t(2784),s=t(98087),i=t(15820);function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var r=1;r({email:o.data?.customer.email})),[o.data?.customer.email]),l=t.loading||t.isLoggedIn&&o.loading,{0:f,1:y}=(0,u.useState)({loading:l,entry:c,customer:a,error:o.error,refetch:o.refetch});return(0,u.useEffect)((()=>{y((e=>d(d({},e),{},{loading:l,customer:a,entry:c,error:o.error})))}),[l,c,a,o.error]),f}(r,c.locale);let O,b;return t.loading||a.loading?(0,p.jsx)(o.GV,{}):(a.entry&&(O=(0,l.ZP)(a.entry,c.locale),b=a.customer),(0,p.jsx)(f.Td,{redirectUrl:"/orders",children:a.entry?(0,p.jsx)(o.P0,{order:O,customer:b}):(0,p.jsx)(f.mf,{customText:"Sorry, but we could not find that order. Please check your entry and try again."})}))}},55569:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/orders/[id]",function(){return t(48141)}])}},function(e){e.O(0,[5106,3759,1635,5505,9774,2888,179],(function(){return r=55569,e(e.s=r);var r}));var r=e.O();_N_E=r}]);