1/*! For license information please see 1912.chunk.6b40c35bfb1036ddfc38.js.LICENSE.txt */ 2"use strict";(self.webpackChunknitro5_app=self.webpackChunknitro5_app||[]).push([[1912],{9531:(e,t,r)=>{r.d(t,{default:()=>v});var n=r(3696),l=r(4079),o=r(4739),a=r(7474),c=r(3532),i=r(774),s=r(8042),d=r(9503),m=r(2748),u=r(5542);function h(e){const{order:t,index:r}=e,a=(0,o.tO)(),i=(0,u.k)(),h={backgroundColor:r%2==0?c.ON:c.jT},[I,O]=(0,n.useState)(!1);return n.createElement(n.Fragment,null,n.createElement(p,{onClick:()=>(0,l.c88)(t.url),css:Object.assign({border:{bottom:{width:I?0:c.yL}}},h)},n.createElement(s.fh,null,i.formatDate(new Date(Date.parse(t.deliveryDate)).toLocaleDateString("sv-SE"))),n.createElement(s.fh,null,t.orderNumber),!a&&n.createElement(s.fh,null,t.orderedBy),!a&&n.createElement(s.fh,null,i.formatNumber(t.totalWeight,{minimumFractionDigits:2})," (",i.formatNumber(t.totalGrossWeight,{minimumFractionDigits:2}),")"),!a&&n.createElement(s.fh,null,i.formatPrice(t.orderValue,{symbol:""})),n.createElement(s.fh,null,n.createElement(f,{onClick:a?e=>(e.stopPropagation(),O(!I)):null},"delivered"===t.orderStatus&&n.createElement(m.Jl,{stroke:c._p,css:b}),t.orderStatusName)),a&&n.createElement(s.fh,{shrinking:!0},n.createElement(f,{onClick:e=>(e.stopPropagation(),O(!I))},n.createElement(d.A,{isUp:I,width:c.as})))),a&&I&&n.createElement(E,{css:Object.assign({border:{bottom:{width:c.yL}}},h)},n.createElement(g,{colSpan:4},n.createElement(y,null,n.createElement(s.q7,{name:(0,l.TlY)("/Account/Order/OrderedBy"),value:t.orderedBy}),n.createElement(s.q7,{name:(0,l.TlY)("/Account/Order/Weight"),value:`${i.formatNumber(t.totalWeight,{minimumFractionDigits:2})} (${i.formatNumber(t.totalGrossWeight,{minimumFractionDigits:2})})`}),n.createElement(s.q7,{name:(0,l.TlY)("/Account/Order/Price"),value:i.formatPrice(t.orderValue,{symbol:""})})))))}const p=(0,i.I4)(s.fI,{borderBottom:{width:c.yL,style:"solid",color:c.Ic},cursor:"pointer",whiteSpace:"nowrap"}),g=i.I4.td({paddingBottom:c.H8}),f=i.I4.div({display:"flex",alignItems:"center",justifyContent:"end",columnGap:(0,c.De)(c.q$,c.Nf.Px)}),E=i.I4.tr({width:"100%",borderBottom:{style:"solid",color:c.Ic}}),y=i.I4.div({display:"flex",flexWrap:"wrap",columnGap:c.Y,marginTop:0}),b={height:c.Y,width:c.Y};var I=r(7325),O=r(1120),w=r(3137),A=r(3538);function v(e){var t;const r=(0,o.tO)(),d=(0,n.useMemo)(()=>{const e=[];return e.push({content:(0,l.TlY)("/Account/Order/Date"),styles:S}),e.push({content:(0,l.TlY)("/Account/Order/Number")}),!r&&e.push({content:(0,l.TlY)("/Account/Order/OrderedBy")}),!r&&e.push({content:(0,l.TlY)("/Account/Order/Weight")}),!r&&e.push({content:(0,l.TlY)("/Account/Order/Total")}),e.push({content:(0,l.TlY)("/Account/Order/Status"),styles:(0,i.I4)({textAlign:"right"})}),r&&e.push({content:"",styles:s.zI}),e},[r]);return(null===(t=e.orders)||void 0===t?void 0:t.length)>0&&n.createElement(k,{appearanceWidth:"normal",hasGap:!0},n.createElement(a.A,{rounded:!0,spacing:"m",css:W},n.createElement(Y,null,n.createElement(x,null,n.createElement(T,null),n.createElement(N,null,(0,I.Jn)(e.block.title))),n.createElement(D,{to:e.allOrderLink},(0,l.TlY)("/Account/Order/AllOrder"))),n.createElement(s.Ay,{headingStyles:(0,i.I4)({padding:{top:0,bottom:c.q$},fontSize:c.Ni,color:c.eh,border:{bottom:{width:c.yL,style:"solid",color:c.Ql}}}),headings:d,css:B},e.orders.map((e,t)=>n.createElement(h,{key:t,order:e,index:t})))))}const T=(0,i.I4)(m.Z3,{height:c.as,width:c.as,marginRight:c.nU}),k=(0,i.I4)(O.x,{padding:{y:c.Y}}),Y=i.I4.div({display:"flex",justifyContent:"space-between",marginBottom:c.EX}),x=i.I4.div({display:"flex",alignItems:"flex-end"}),D=(0,i.I4)(w.A,(0,A.IA)({color:({colorTheme:e})=>e.primary.color,textDecoration:"underline"})),N=i.I4.div({fontWeight:c.IT.Bold,fontSize:c.uN}),S=(0,i.I4)({minWidth:60}),W={width:"100%"},B={width:"100%"}}}]); 3//# sourceMappingURL=1912.chunk.6b40c35bfb1036ddfc38.js.map
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.