1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[250],{3373:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/invoice",function(){return t(2438)}])},2438:function(n,e,t){"use strict";t.r(e);var r=t(7568),i=t(92),o=t(5893),s=t(7294),a=t(9008),u=t.n(a),d=t(1163),c=t(9274),f=t(7110),l=function(){var n=(0,d.useRouter)(),e=(0,s.useState)(null),t=e[0],a=e[1],l=(0,s.useState)(""),h=l[0],p=l[1],v=(0,s.useState)(!0),g=v[0],m=v[1];return(0,s.useEffect)((function(){if(n.isReady){var e=n.query.orderId;if("string"!==typeof e)return p("Order not found."),void m(!1);var t=!1,o=function(){var n=(0,r.Z)((function(){var n,r,o,s;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return m(!0),p(""),[4,(0,c.O)(e)];case 1:return n=i.sent(),r=n.error,o=n.data,s=n.message,t?[2]:(r||!o?(a(null),p(s||"Order not found.")):a(o),m(!1),[2])}}))}));return function(){return n.apply(this,arguments)}}();return o(),function(){t=!0}}}),[n.isReady,n.query]),g?(0,o.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"60vh"},children:(0,o.jsx)("img",{src:"/images/spinner.svg",alt:"Loading",width:192,height:192})}):h||!t?(0,o.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"60vh",fontFamily:"Arial, sans-serif",color:"#666"},children:(0,o.jsx)("p",{children:h||"Order not found."})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(u(),{children:[(0,o.jsx)("title",{children:"Invoice \u2013 Regal Flowers"}),(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,o.jsx)("style",{children:"\n body { background: #f5f5f5; }\n @media print {\n body { background: #fff; margin: 0; padding: 0; }\n .no-print { display: none !important; }\n header, footer, nav, .site-header, .site-footer, #site-nav { display: none !important; }\n }\n @page { margin: 12mm 10mm; size: A4 portrait; }\n "})]}),(0,o.jsx)("div",{children:(0,o.jsx)(f.Z,{receiptInvoiceOrder:t,type:"invoice"})})]})};l.noLayout=!0,e.default=l}},function(n){n.O(0,[816,774,888,179],(function(){return e=3373,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
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.