1"use strict";(self.webpackChunkperksweb=self.webpackChunkperksweb||[]).push([[82],{4082:(je,S,y)=>{y.r(S),y.d(S,{PreviousOrderModule:()=>Fe});var e=y(5e3),P=y(9808),U=y(2444),k=y(383),N=y(1426),Q=y(1630),E=y(9573),J=y(1086),A=y(72),F=y(7932);function j(r,i){1&r&&e.GkF(0)}function Y(r,i){1&r&&e.GkF(0)}function L(r,i){1&r&&(e.TgZ(0,"span",28),e._uU(1,"\xb7"),e.qZA())}function B(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",null==t?null:t.OrderPaymentType," ")}}function $(r,i){if(1&r&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij(" Account #",null==t||null==t.Customer?null:t.Customer.AccountNumber," ")}}function H(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"article",16),e.NdJ("click",function(){const a=e.CHM(t).$implicit;return e.oxw(3).openOrderModal(a)}),e.TgZ(1,"div",17)(2,"div",18)(3,"b",19),e._uU(4),e.qZA(),e.TgZ(5,"span",20),e._uU(6),e.qZA()(),e.TgZ(7,"p",21),e._uU(8),e.YNc(9,L,2,0,"span",22),e.YNc(10,B,2,1,"span",23),e.qZA(),e.TgZ(11,"p",21),e._uU(12),e.ALo(13,"date"),e.qZA(),e.YNc(14,$,2,1,"p",24),e.qZA(),e.TgZ(15,"div",25)(16,"button",26),e.NdJ("click",function(n){const l=e.CHM(t).$implicit,d=e.oxw(3);return d.openOrderModal(l),d.stopPropagation(n)}),e._uU(17," Details "),e.qZA(),e.TgZ(18,"button",27),e.NdJ("click",function(n){const l=e.CHM(t).$implicit;return e.oxw(3).orderAgain(l,n)}),e._uU(19," Order again "),e.qZA()()()}if(2&r){const t=i.$implicit,o=e.oxw(3);e.xp6(4),e.hij("Order #",null==t?null:t.OrderId,""),e.xp6(2),e.Oqu(null==t?null:t.OrderStatus),e.xp6(2),e.hij(" ","Home"===(null==t?null:t.OrderPaymentDeliveryType)?"Home Delivery":"Store"===(null==t?null:t.OrderPaymentDeliveryType)?"Collection":"Eat In"," "),e.xp6(1),e.Q6J("ngIf",t.paymentInfo.OrderPayment.OrderPaymentBill),e.xp6(1),e.Q6J("ngIf",t.paymentInfo.OrderPayment.OrderPaymentBill),e.xp6(2),e.hij(" ",e.xi3(13,7,null==t?null:t.OrderPlaceTime,"medium")," "),e.xp6(2),e.Q6J("ngIf",(null==t||null==t.Customer?null:t.Customer.AccountNumber)&&o.accountNumberEnabled)}}function z(r,i){if(1&r&&(e.TgZ(0,"div",14),e.YNc(1,H,20,10,"article",15),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",t)}}function G(r,i){if(1&r&&(e.TgZ(0,"div",29),e._uU(1),e.qZA()),2&r){const t=e.oxw().empty;e.xp6(1),e.Oqu(t)}}function K(r,i){if(1&r&&(e.YNc(0,z,2,1,"div",12),e.YNc(1,G,2,1,"ng-template",null,13,e.W1O)),2&r){const t=i.$implicit,o=e.MAs(2);e.Q6J("ngIf",t.length)("ngIfElse",o)}}function V(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Account number"),e.qZA(),e.TgZ(3,"p",38),e._uU(4),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.Oqu(null==t.order||null==t.order.Customer?null:t.order.Customer.AccountNumber)}}function W(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.order.address)}}function X(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.branchAddress)}}function ee(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"firstPartOnly"),e.qZA()),2&r){const t=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,t.order.schedule))}}function te(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(3);e.xp6(1),e.Oqu(t.order.schedule)}}function re(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Schedule"),e.qZA(),e.TgZ(3,"p",38),e.YNc(4,ee,3,3,"span",23),e.YNc(5,te,2,1,"span",23),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.Q6J("ngIf",t.orderScheduleShowFirstPartOnly),e.xp6(1),e.Q6J("ngIf",!t.orderScheduleShowFirstPartOnly)}}function ie(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Notes"),e.qZA(),e.TgZ(3,"p",38),e._uU(4),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",null==t.order?null:t.order.paymentInfo.OrderPayment.Notes," ")}}function oe(r,i){if(1&r&&(e.ynx(0),e._uU(1),e.ALo(2,"percent"),e.BQk()),2&r){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,(null==t?null:t.RecipeDiscountAmount)/100,"1.0-2")," OFF ")}}function ne(r,i){if(1&r&&(e.ynx(0),e._uU(1),e.ALo(2,"currency"),e.BQk()),2&r){const t=e.oxw(2).$implicit,o=e.oxw(4);e.xp6(1),e.hij(" ",e.xi3(2,1,null==t?null:t.RecipeDiscountAmount,o.CurrencySymbol)," OFF ")}}const R=function(r,i){return{"background-color":r,color:i}};function ce(r,i){if(1&r&&(e.TgZ(0,"small",60),e.YNc(1,oe,3,4,"ng-container",23),e.YNc(2,ne,3,4,"ng-container",23),e.qZA()),2&r){const t=e.oxw().$implicit,o=e.oxw(4);e.Q6J("ngStyle",e.WLB(3,R,o.ExtraDiscountLabelBGColor||"#198754",o.ExtraDiscountLabelTextColor||"#FFFFFF")),e.xp6(1),e.Q6J("ngIf","Percentage"===(null==t?null:t.RecipeDiscountType)),e.xp6(1),e.Q6J("ngIf","Cash"===(null==t?null:t.RecipeDiscountType))}}function le(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij("",null==t?null:t.ExtraQuantity," \xd7 ")}}const M=function(r){return{color:r}};function ae(r,i){if(1&r&&(e.TgZ(0,"s",63),e._uU(1),e.ALo(2,"currency"),e.qZA()),2&r){const t=e.oxw(2).$implicit,o=e.oxw(4);e.Q6J("ngStyle",e.VKq(5,M,o.RecipeOldPriceTextColor)),e.xp6(1),e.Oqu(e.xi3(2,2,null==t?null:t.RecipeOldPrice,o.CurrencySymbol))}}function de(r,i){if(1&r&&(e.TgZ(0,"span",61),e.YNc(1,ae,3,7,"s",62),e._uU(2),e.ALo(3,"currency"),e.qZA()),2&r){const t=e.oxw().$implicit,o=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!!t.RecipeDiscountType||t.RecipeDiscountType&&(null==t?null:t.RecipeOldPrice)),e.xp6(1),e.hij(" ",e.gM2(3,2,null==t?null:t.ExtraPrice,o.CurrencySymbol,"symbol","1.2-2")," ")}}function ue(r,i){if(1&r&&(e.TgZ(0,"div",56)(1,"span",57),e.YNc(2,ce,3,6,"small",58),e.YNc(3,le,2,1,"span",23),e._uU(4),e.qZA(),e.YNc(5,de,4,7,"span",59),e.qZA()),2&r){const t=i.$implicit;e.xp6(2),e.Q6J("ngIf",t.RecipeDiscountType&&t.RecipeDiscountAmount),e.xp6(1),e.Q6J("ngIf",t.ExtraQuantity>1),e.xp6(1),e.hij(" ",null==t?null:t.ExtraTitle," "),e.xp6(1),e.Q6J("ngIf",!!t.RecipeDiscountAmount||t.ExtraPrice>0)}}function se(r,i){if(1&r&&(e.ynx(0),e._uU(1),e.ALo(2,"percent"),e.BQk()),2&r){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,(null==t?null:t.OrderRecipeDiscountAmount)/100,"1.0-2")," OFF ")}}function pe(r,i){if(1&r&&(e.ynx(0),e._uU(1),e.ALo(2,"currency"),e.BQk()),2&r){const t=e.oxw(2).$implicit,o=e.oxw(3);e.xp6(1),e.hij(" ",e.xi3(2,1,null==t?null:t.OrderRecipeDiscountAmount,o.CurrencySymbol)," OFF ")}}function _e(r,i){if(1&r&&(e.TgZ(0,"s",63),e._uU(1),e.ALo(2,"currency"),e.qZA()),2&r){const t=e.oxw(2).$implicit,o=e.oxw(3);e.Q6J("ngStyle",e.VKq(5,M,o.RecipeOldPriceTextColor)),e.xp6(1),e.Oqu(e.xi3(2,2,null==t?null:t.OrderRecipeOldPrice,o.CurrencySymbol))}}function me(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"small",64),e.YNc(2,se,3,4,"ng-container",23),e.YNc(3,pe,3,4,"ng-container",23),e.qZA(),e.YNc(4,_e,3,7,"s",62),e.BQk()),2&r){const t=e.oxw().$implicit,o=e.oxw(3);e.xp6(1),e.Q6J("ngStyle",e.WLB(4,R,o.RecipeDiscountLabelBGColor||"#198754",o.RecipeDiscountLabelTextColor||"#FFFFFF")),e.xp6(1),e.Q6J("ngIf","Percentage"===(null==t?null:t.OrderRecipeDiscountType)),e.xp6(1),e.Q6J("ngIf","Cash"===(null==t?null:t.OrderRecipeDiscountType)),e.xp6(1),e.Q6J("ngIf",!!t.OrderRecipeDiscountType||t.OrderRecipeDiscountType&&(null==t?null:t.OrderRecipeOldPrice))}}function ge(r,i){if(1&r&&(e.TgZ(0,"div",49)(1,"div",50)(2,"p",51)(3,"span",52),e._uU(4),e.qZA(),e._uU(5),e.qZA(),e.YNc(6,ue,6,4,"div",53),e.qZA(),e.TgZ(7,"div",54),e.YNc(8,me,5,7,"ng-container",23),e.TgZ(9,"b",55),e._uU(10),e.ALo(11,"currency"),e.qZA()()()),2&r){const t=i.$implicit,o=i.last,n=e.oxw(3);e.ekj("po-item--last",o),e.xp6(4),e.hij("",t.OrderRecipeQuantity," \xd7"),e.xp6(1),e.hij(" ",t.Recipe.RecipeTitle," "),e.xp6(1),e.Q6J("ngForOf",t.OrderRecipeExtraDetails),e.xp6(2),e.Q6J("ngIf",t.OrderRecipeDiscountType&&t.OrderRecipeDiscountAmount),e.xp6(2),e.hij(" ",e.gM2(11,7,t.OrderRecipeTotalPrice*t.OrderRecipeQuantity,n.CurrencySymbol,"symbol","1.2-2")," ")}}function ve(r,i){if(1&r&&(e.TgZ(0,"div",46)(1,"span",47),e._uU(2),e.qZA(),e.YNc(3,ge,12,12,"div",48),e.qZA()),2&r){const t=i.$implicit;e.xp6(2),e.hij(" ",null==t?null:t.category," "),e.xp6(1),e.Q6J("ngForOf",null==t?null:t.recipes)}}function xe(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij("",null==t?null:t.ExtraQuantity," \xd7 ")}}function ye(r,i){if(1&r&&(e.TgZ(0,"span",61),e._uU(1),e.ALo(2,"currency"),e.qZA()),2&r){const t=e.oxw().$implicit,o=e.oxw(4);e.xp6(1),e.hij(" ",e.gM2(2,1,null==t?null:t.ExtraPrice,o.CurrencySymbol,"symbol","1.2-2")," ")}}function fe(r,i){if(1&r&&(e.TgZ(0,"div",56)(1,"span",57),e.YNc(2,xe,2,1,"span",23),e._uU(3),e.qZA(),e.YNc(4,ye,3,6,"span",59),e.qZA()),2&r){const t=i.$implicit;e.xp6(2),e.Q6J("ngIf",t.ExtraQuantity>1),e.xp6(1),e.hij(" ",null==t?null:t.ExtraTitle," "),e.xp6(1),e.Q6J("ngIf",t.ExtraPrice>0)}}function Oe(r,i){if(1&r&&(e.TgZ(0,"b",55),e._uU(1),e.ALo(2,"currency"),e.qZA()),2&r){const t=e.oxw().$implicit,o=e.oxw(3);e.xp6(1),e.hij(" ",e.gM2(2,1,t.OrderProductTotalPrice*t.OrderDetailQuantity,o.CurrencySymbol,"symbol","1.2-2")," ")}}function Pe(r,i){if(1&r&&(e.TgZ(0,"div",49)(1,"div",50)(2,"p",51)(3,"span",52),e._uU(4),e.qZA(),e._uU(5),e.qZA(),e.YNc(6,fe,5,3,"div",53),e.qZA(),e.TgZ(7,"div",54),e.YNc(8,Oe,3,6,"b",65),e.qZA()()),2&r){const t=i.$implicit;e.ekj("po-item--last",i.last),e.xp6(4),e.hij("",t.OrderDetailQuantity," \xd7 "),e.xp6(1),e.hij(" ",t.Product.ProductTitle," "),e.xp6(1),e.Q6J("ngForOf",t.OrderProductExtraDetails),e.xp6(2),e.Q6J("ngIf",t.OrderProductTotalPrice)}}function he(r,i){if(1&r&&(e.TgZ(0,"div",46)(1,"span",47),e._uU(2),e.qZA(),e.YNc(3,Pe,9,6,"div",48),e.qZA()),2&r){const t=i.$implicit;e.xp6(2),e.hij(" ",null==t?null:t.category," "),e.xp6(1),e.Q6J("ngForOf",null==t?null:t.products)}}function Te(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Items"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.Oqu(e.gM2(5,1,t.itemsTotal,t.CurrencySymbol,"symbol","1.2-2"))}}function Ce(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Postage and packaging"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.PostageAndPackages,t.CurrencySymbol,"symbol","1.2-2")," ")}}function be(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Carrier bag charges"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.CarrierBagCharges,t.CurrencySymbol,"symbol","1.2-2")," ")}}function Ze(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Service charges"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.ServiceCharges,t.CurrencySymbol,"symbol","1.2-2")," ")}}function De(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"VAT"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.VatAmount,t.CurrencySymbol,"symbol","1.2-2")," ")}}function Ae(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Tip"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.TipAmount,t.CurrencySymbol,"symbol","1.2-2")," ")}}function Ie(r,i){if(1&r&&(e.TgZ(0,"div",37)(1,"p"),e._uU(2,"Priority order"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.PriorityOrderAmount,t.CurrencySymbol,"symbol","1.2-2")," ")}}function we(r,i){if(1&r&&(e.TgZ(0,"div",66)(1,"p"),e._uU(2," Promo discount "),e.TgZ(3,"small"),e._uU(4),e.qZA()(),e.TgZ(5,"p"),e._uU(6),e.ALo(7,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.Oqu(t.order.paymentInfo.OrderPayment.PromoCodeUsed),e.xp6(2),e.hij(" ",e.gM2(7,2,t.order.paymentInfo.OrderPayment.PromoDiscountAmount,t.CurrencySymbol,"symbol","1.2-2")," ")}}function qe(r,i){if(1&r&&(e.TgZ(0,"div",66)(1,"p"),e._uU(2,"Discount"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.DiscountAmount,t.CurrencySymbol,"symbol","1.2-2")," ")}}function Se(r,i){if(1&r&&(e.TgZ(0,"div",66)(1,"p"),e._uU(2,"Gift amount"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.GiftAmountBill,t.CurrencySymbol,"symbol","1.2-2")," ")}}function ke(r,i){if(1&r&&(e.TgZ(0,"div",66)(1,"p"),e._uU(2,"Balance"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.CustomerWalletBalance,t.CurrencySymbol,"symbol","1.2-2")," ")}}function Re(r,i){if(1&r&&(e.TgZ(0,"div",67)(1,"p"),e._uU(2,"Total"),e.qZA(),e.TgZ(3,"p"),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,t.order.paymentInfo.OrderPayment.OrderPaymentBill,t.CurrencySymbol,"symbol","1.2-2")," ")}}function Me(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().order=null}),e.TgZ(1,"div",31),e.NdJ("click",function(n){return e.CHM(t),e.oxw().stopPropagation(n)}),e.TgZ(2,"div",32)(3,"h2",33),e._uU(4),e.qZA(),e.TgZ(5,"button",34),e.NdJ("click",function(){return e.CHM(t),e.oxw().order=null}),e._uU(6," \xd7 "),e.qZA()(),e.TgZ(7,"div",35)(8,"div",36)(9,"div",37)(10,"p"),e._uU(11,"Delivery type"),e.qZA(),e.TgZ(12,"p",38),e._uU(13),e.qZA()(),e.YNc(14,V,5,1,"div",39),e.TgZ(15,"div",37)(16,"p"),e._uU(17,"Address"),e.qZA(),e.TgZ(18,"p",38),e.YNc(19,W,2,1,"span",23),e.YNc(20,X,2,1,"span",23),e.qZA()(),e.YNc(21,re,6,2,"div",39),e.TgZ(22,"div",37)(23,"p"),e._uU(24,"Placed"),e.qZA(),e.TgZ(25,"p",38),e._uU(26),e.ALo(27,"date"),e.qZA()(),e.YNc(28,ie,5,1,"div",39),e.qZA(),e.YNc(29,ve,4,2,"div",40),e.YNc(30,he,4,2,"div",40),e.TgZ(31,"div",41),e.YNc(32,Te,6,6,"div",39),e.YNc(33,Ce,6,6,"div",39),e.YNc(34,be,6,6,"div",39),e.YNc(35,Ze,6,6,"div",39),e.YNc(36,De,6,6,"div",39),e.YNc(37,Ae,6,6,"div",39),e.YNc(38,Ie,6,6,"div",39),e.YNc(39,we,8,7,"div",42),e.YNc(40,qe,6,6,"div",42),e.YNc(41,Se,6,6,"div",42),e.YNc(42,ke,6,6,"div",42),e.YNc(43,Re,6,6,"div",43),e.qZA()(),e.TgZ(44,"div",44)(45,"button",45),e.NdJ("click",function(n){e.CHM(t);const a=e.oxw();return a.orderAgain(a.savedOrder,n)}),e._uU(46," Order again "),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(4),e.hij(" Order #",null==t.order?null:t.order.OrderId," "),e.xp6(9),e.hij(" ","Home"===(null==t.order?null:t.order.OrderPaymentDeliveryType)?"Home Delivery":"Store"===(null==t.order?null:t.order.OrderPaymentDeliveryType)?"Collection":"Eat In"," "),e.xp6(1),e.Q6J("ngIf",(null==t.order||null==t.order.Customer?null:t.order.Customer.AccountNumber)&&t.accountNumberEnabled),e.xp6(
15),e.Q6J("ngIf",t.order.address),e.xp6(1),e.Q6J("ngIf",!t.order.address),e.xp6(1),e.Q6J("ngIf",t.order.schedule),e.xp6(5),e.hij(" ",e.xi3(27,22,null==t.order?null:t.order.OrderPlaceTime,"medium")," "),e.xp6(2),e.Q6J("ngIf",null==t.order?null:t.order.paymentInfo.OrderPayment.Notes),e.xp6(1),e.Q6J("ngForOf",t.order.RecipeDetail),e.xp6(1),e.Q6J("ngForOf",t.order.ProductDetail),e.xp6(2),e.Q6J("ngIf",t.itemsTotal),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.PostageAndPackages),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.CarrierBagCharges),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.ServiceCharges),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.VatAmount),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.TipAmount),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.PriorityOrderAmount),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.PromoDiscountAmount),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.DiscountAmount),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.GiftAmountBill),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.CustomerWalletBalance),e.xp6(1),e.Q6J("ngIf",t.order.paymentInfo.OrderPayment.OrderPaymentBill)}}function Ue(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",68),e.NdJ("click",function(){return e.CHM(t),e.oxw().showMessage=!1}),e.TgZ(1,"div",69),e.NdJ("click",function(n){return e.CHM(t),e.oxw().stopPropagation(n)}),e.TgZ(2,"h2",70),e._uU(3,"Those dishes aren't available"),e.qZA(),e.TgZ(4,"p",71),e._uU(5," Some items from this order are no longer on the menu, so we couldn't add them to your basket. "),e.qZA(),e.TgZ(6,"button",45),e.NdJ("click",function(){return e.CHM(t),e.oxw().showMessage=!1}),e._uU(7," Close "),e.qZA()()()}}const Ne=function(r){return{$implicit:r,empty:"Nothing in progress right now."}},Qe=function(r){return{$implicit:r,empty:"No past orders yet."}};let Ee=(()=>{class r{constructor(t,o,n,a,l,d){this._requestService=t,this._local=o,this._router=n,this.apiService=a,this.recipeService=l,this.spinner=d,this.itemsTotal=0,this.openOrders=[],this.closedOrders=[],this.RecipeOldPriceTextColor="#696868",this.RecipeDiscountLabelBGColor="#198754",this.RecipeDiscountLabelTextColor="white",this.ExtraDiscountLabelBGColor="#85d4afff",this.ExtraDiscountLabelTextColor="black",this.brandFlavor=window.location.pathname.split("/")[1]}ngOnInit(){this._local.get("access_token")&&this.getCustomerPreviousOrders(),this.webCustomerSub=this.apiService.getWebcustomer$.subscribe(t=>{var o,n,a,l,d,u,m,c,p,s,v,b,_,T,D,x,f,O,g,h,C,Z,I,w,q;!t||(this.accountNumberEnabled=null===(o=t.TemplateData)||void 0===o?void 0:o.AccountNumberEnabled,this.simpleCheckout=null===(n=t.TemplateData.CheckoutDetail)||void 0===n?void 0:n.simpleCheckout,this.newCheckout=null===(a=t.TemplateData.Checkout)||void 0===a?void 0:a.New,this.distributorLogin=null===(l=t.TemplateData.CheckoutDetail)||void 0===l?void 0:l.DistributorLogin,this.kgList=null===(d=t.TemplateData.AdditionalDetail)||void 0===d?void 0:d.PopupOnKgItems,this.branchAddress=t.BrandData.BrandBranch.BrandBranchAddress,this.SelectedButtonColor=t.TemplateData.DynamicStyle.SecondaryColors.SelectedButtonColor,this.SelectedButtonTextColor=t.TemplateData.DynamicStyle.SecondaryColors.SelectedButtonTextColor,this.CurrencySymbol=t.TemplateData.CurrencySymbol||"GBP",this.RecipeOldPriceTextColor=null===(p=null===(c=null===(m=null===(u=t.TemplateData)||void 0===u?void 0:u.Menu)||void 0===m?void 0:m.DiscountedItemsSettings)||void 0===c?void 0:c.Recipe)||void 0===p?void 0:p.RecipeOldPriceTextColor,this.RecipeDiscountLabelBGColor=null===(_=null===(b=null===(v=null===(s=t.TemplateData)||void 0===s?void 0:s.Menu)||void 0===v?void 0:v.DiscountedItemsSettings)||void 0===b?void 0:b.Recipe)||void 0===_?void 0:_.RecipeDiscountLabelBGColor,this.RecipeDiscountLabelTextColor=null===(f=null===(x=null===(D=null===(T=t.TemplateData)||void 0===T?void 0:T.Menu)||void 0===D?void 0:D.DiscountedItemsSettings)||void 0===x?void 0:x.Recipe)||void 0===f?void 0:f.RecipeDiscountLabelTextColor,this.ExtraDiscountLabelBGColor=null===(C=null===(h=null===(g=null===(O=t.TemplateData)||void 0===O?void 0:O.Menu)||void 0===g?void 0:g.DiscountedItemsSettings)||void 0===h?void 0:h.Extras)||void 0===C?void 0:C.ExtraDiscountLabelBGColor,this.ExtraDiscountLabelTextColor=null===(q=null===(w=null===(I=null===(Z=t.TemplateData)||void 0===Z?void 0:Z.Menu)||void 0===I?void 0:I.DiscountedItemsSettings)||void 0===w?void 0:w.Extras)||void 0===q?void 0:q.ExtraDiscountLabelTextColor)}),this.apiService.getbrandConfig$.subscribe(t=>{!t||(this.orderScheduleShowFirstPartOnly=null==t?void 0:t.OrderScheduleShowFirstPartOnly)}),this.recipeServiceSub=this.recipeService.data$.subscribe(t=>
1{!t||(this.data=t.CategoriesAndRecipes)})}ngOnDestroy(){this.webCustomerSub.unsubscribe(),this.recipeServiceSub.unsubscribe()}getCustomerPreviousOrders(){this.spinner.show();const a=this._local.get("CustomerId");this._requestService.postRequest(`api/Order/getCustomerOrders/${a}/0/0/10`,{BrandFlavor:this.brandFlavor}).subscribe({next:d=>{this.spinner.hide(),200==d.Info.Status?(d.Data.OpenOrders.forEach((c,p)=>{let s,v=c.paymentInfo.OrderPayment;s={OrderId:c.OrderId,OrderPlaceTime:c.OrderPlaceTime,OrderStatus:c.OrderStatus,OrderPaymentType:v.OrderPaymentType,OrderPaymentDeliveryType:v.OrderPaymentDeliveryType,OrderPaymentStatus:v.OrderPaymentStatus,OrderPaymentBill:v.OrderPaymentBill,address:c.paymentInfo.OrderDelivery.OrderDeliveryAddress,ProductDetail:c.ProductDetail,RecipeDetail:c.RecipeDetail,paymentInfo:c.paymentInfo,Customer:c.Customer},this.openOrders.push(s)}),d.Data.ClosedOrders.forEach(c=>{let p,s=c.paymentInfo.OrderPayment;p={OrderId:c.OrderId,OrderPlaceTime:c.OrderPlaceTime,OrderStatus:c.OrderStatus,OrderPaymentType:s.OrderPaymentType,OrderPaymentDeliveryType:s.OrderPaymentDeliveryType,OrderPaymentStatus:s.OrderPaymentStatus,OrderPaymentBill:s.OrderPaymentBill,address:c.paymentInfo.OrderDelivery.OrderDeliveryAddress,ProductDetail:c.ProductDetail,RecipeDetail:c.RecipeDetail,paymentInfo:c.paymentInfo,Customer:c.Customer},this.closedOrders.push(p)})):console.log("Not Logged In")},error:()=>{alert("Network Error! Something went wrong could not fetch orders")},complete:()=>{this.spinner.hide()}})}openOrderModal(t){this.order=Object.assign({},t),this.savedOrder=Object.assign({},t),this.itemsTotal=0;const o=this.order.paymentInfo.OrderDelivery.OrderDeliverySchedule?this.order.paymentInfo.OrderDelivery.OrderDeliverySchedule:this.order.paymentInfo.OrderPickup.OrderPickupSchedule;this.order.schedule="asap"==o?"ASAP":o,this.order.RecipeDetail.forEach((l,d)=>{if(this.itemsTotal+=l.OrderRecipeTotalPrice*l.OrderRecipeQuantity,"string"==typeof l.OrderRecipeExtraDetails){let u=JSON.parse(l.OrderRecipeExtraDetails);this.order.RecipeDetail[d].OrderRecipeExtraDetails=u}}),this.order.ProductDetail.forEach((l,d)=>{if(this.itemsTotal+=l.OrderProductTotalPrice*l.OrderDetailQuantity,"string"==typeof l.OrderProductExtraDetails){let u=JSON.parse(l.OrderProductExtraDetails);this.order.ProductDetail[d].OrderProductExtraDetails=u}});let n=[],a=[];if(this.order.ProductDetail.length){let l=this.order.ProductDetail.filter(u=>u),d=this.order.ProductDetail.filter(u=>u);l.forEach(u=>{d.forEach((m,c)=>{var p,s;(null===(p=null==u?void 0:u.Product)||void 0===p?void 0:p.ProductCategory)==(null===(s=null==m?void 0:m.Product)||void 0===s?void 0:s.ProductCategory)&&(a.push(m),d[c]=null)}),a.length&&n.push({category:u.Product.ProductCategory,products:a}),a=[]}),this.order.ProductDetail=n}if(n=[],a=[],this.order.RecipeDetail.length){let l=this.order.RecipeDetail.filter(u=>u),d=this.order.RecipeDetail.filter(u=>u);l.forEach(u=>{d.forEach((m,c)=>{var p,s;(null===(p=null==u?void 0:u.Recipe)||void 0===p?void 0:p.CategoryTitle)==(null===(s=null==m?void 0:m.Recipe)||void 0===s?void 0:s.CategoryTitle)&&(a.push(m),d[c]=null)}
1),a.length&&n.push({category:u.Recipe.CategoryTitle,recipes:a}),a=[]}),this.order.RecipeDetail=n}}orderAgain(t,o){var n,a,l;o.stopPropagation(),this._requestService.deliveryType$.next(t.OrderPaymentDeliveryType),this._requestService.updateCartCounter(),(null===(n=t.ProductDetail)||void 0===n?void 0:n.length)&&(this._local.remove("cartProductItems"),t.ProductDetail.forEach(c=>{let p=[];const s="string"==typeof c.OrderProductExtraDetails?JSON.parse(c.OrderProductExtraDetails):c.OrderProductExtraDetails;null==s||s.forEach(_=>{p.push({Title:_.ExtraTitle,Quantity:_.ExtraQuantity,Price:_.ExtraPrice,Image:_.Image,Key:_.Key,RecipeDiscountType:_.RecipeDiscountType,RecipeDiscountAmount:_.RecipeDiscountAmount,RecipeOldPrice:_.RecipeOldPrice,ExtraTitle:_.ExtraTitle,ExtraQuantity:_.ExtraQuantity,ExtraPrice:_.ExtraPrice})});const v=p.reduce((_,T)=>_+(T.Price||0),0);(c.Product.ProductOldPrice+v)*c.OrderDetailQuantity>0&&this.addToCartProduct(c,p)})),this._local.remove("cartRecipeItems"),null===(a=t.RecipeDetail)||void 0===a||a.forEach(c=>{var p;let s=null;for(const x of this.data){const f=x.Recipes.find(O=>O.RecipeId===c.Recipe.RecipeId&&c.OrderRecipeTotalPrice>0);if(f){s=f;break}}if(!s||!s.RecipeStock)return;let v=[];const b=JSON.parse((null===(p=s.RecipeExtraObject)||void 0===p?void 0:p.toString())||"{}"),_="string"==typeof c.OrderRecipeExtraDetails?JSON.parse(c.OrderRecipeExtraDetails):c.OrderRecipeExtraDetails;null==_||_.forEach(x=>{for(const f of Object.values(b)){let g,O=[];if(O=Array.isArray(f)?f:f.Extras,O.forEach(h=>{var C;g||((null===(C=h.Choose)||void 0===C?void 0:C.length)?g=h.Choose.find(Z=>Z.Item===x.ExtraTitle):h.Title===x.ExtraTitle&&(g=h))}),g){v.push({Image:x.Image,Key:x.Key,Title:g.Title||g.Item,Quantity:+(x.ExtraQuantity||1),Price:+g.Price,ExtraTitle:g.Title||g.Item,ExtraQuantity:+(x.ExtraQuantity||1),ExtraPrice:+g.Price,RecipeDiscountType:g.RecipeDiscountType,RecipeDiscountAmount:+g.RecipeDiscountAmount,RecipeOldPrice:+g.RecipeOldPrice});break}}});const T=v.reduce((x,f)=>x+(f.Price*f.Quantity||0),0);(s.RecipePrice+T)*c.OrderRecipeQuantity>0&&this.addToCartRecipes(s,c,v)}),(this._local.get("cartRecipeItems")?JSON.parse(this._local.get("cartRecipeItems")):[]).length||(null===(l=t.ProductDetail)||void 0===l?void 0:l.length)?this._router.navigateByUrl(this._requestService.setUrl(this.distributorLogin?"checkout":this.simpleCheckout?"order-checkout":this.newCheckout?"new-checkout":"checkout")):this.showMessage=!0}addToCartRecipes(t,o,n){if(!t.RecipeStock)return;let l,d=0;n.forEach(m=>{d+=m.Price*m.Quantity}),l={RecipeId:t.RecipeId,RecipeTitle:t.RecipeTitle,RecipePrice:t.RecipePrice+d,recipeTotal:(t.RecipePrice+d)*o.OrderRecipeQuantity,RecipeImage:t.RecipeImage,RecipeQuantity:o.OrderRecipeQuantity,IsDiscountedItem:t.isDiscountedItem,RecipeExtraObject:n,socialDiscountItem:null==t?void 0:t.socialDiscountItem,ForDelivery:null==t?void 0:t.ForDelivery,ForCollection:null==t?void 0:t.ForCollection,ForDineIn:null==t?void 0:t.ForDineIn,ForEatIn:null==t?void 0:t.ForEatIn,RecipeDiscountType:t.RecipeDiscountType,RecipeDiscountAmount:t.RecipeDiscountAmount,RecipeOldPrice:t.RecipeOldPrice};let u=this._local.get("cartRecipeItems")?JSON.parse(this._local.get("cartRecipeItems")):[];u.push(l),this._requestService.saveRecipeCartItems(u),this._requestService.storageChange.next()}addToCartProduct(t,o){let n,a=0;(o=o.map(d=>Object.assign(Object.assign({},d),{Price:Number(d.Price)||0}))).forEach(d=>{a+=d.Price}),n={ProductId:t.Product.ProductId,ProductTitle:t.Product.ProductTitle,ProductOldPrice:t.Product.ProductOldPrice+a,ProductNewPrice:t.Product.ProductNewPrice,ProductTotal:(t.Product.ProductOldPrice+a)*t.OrderDetailQuantity,ProductImageUrl:t.Product.ProductImageUrl,ProductUnits:t.Product.ProductUnits,IsDiscountedItem:!1,ProductQuantity:t.OrderDetailQuantity,ProductExtraObject:o,ForDelivery:!0,ForCollection:!0}
1,this.kgList&&"kg"==t.Product.ProductUnits.toLowerCase()&&(n.ProductQuantity=n.ProductQuantity.toFixed(1));let l=this._local.get("cartProductItems")?JSON.parse(this._local.get("cartProductItems")):[];l.push(n),this._requestService.saveProductCartItems(l)}stopPropagation(t){t.stopPropagation()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(N.s),e.Y36(Q.U),e.Y36(k.F0),e.Y36(E.s),e.Y36(J.j),e.Y36(A.t2))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-previous-order"]],decls:21,vars:10,consts:[[1,"po-page"],[1,"po-page__inner"],[1,"po-title"],[1,"po-sub"],[1,"po-group"],[1,"ui-section"],[1,"ui-section__title"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["orderList",""],["class","po-scrim",3,"click",4,"ngIf"],["class","ui-gateway-scrim",3,"click",4,"ngIf"],["bdColor","rgba(51, 51, 51, 0.8)","size","large","color","#dc3545","type","ball-scale-multiple"],["class","ui-list",4,"ngIf","ngIfElse"],["noOrders",""],[1,"ui-list"],["class","ui-card po-order",3,"click",4,"ngFor","ngForOf"],[1,"ui-card","po-order",3,"click"],[1,"po-order__main"],[1,"po-order__head"],[1,"po-order__id"],[1,"ui-tag"],[1,"po-order__meta"],["class","po-order__dot",4,"ngIf"],[4,"ngIf"],["class","po-order__meta",4,"ngIf"],[1,"po-order__actions"],["type","button",1,"ui-btn","ui-btn--ghost","ui-btn--sm",3,"click"],["type","button",1,"ui-btn","ui-btn--sm",3,"click"],[1,"po-order__dot"],[1,"ui-note"],[1,"po-scrim",3,"click"],["role","dialog","aria-modal","true","aria-labelledby","po-modal-title",1,"po-modal",3,"click"],[1,"po-modal__head"],["id","po-modal-title",1,"po-modal__title"],["type","button","aria-label","Close",1,"po-modal__close",3,"click"],[1,"po-modal__body"],[1,"ui-lines","po-facts"],[1,"ui-line"],[1,"po-facts__val"],["class","ui-line",4,"ngIf"],["class","po-cat",4,"ngFor","ngForOf"],[1,"ui-lines","po-totals"],["class","ui-line ui-line--ok",4,"ngIf"],["class","ui-line ui-line--total",4,"ngIf"],[1,"po-modal__foot"],["type","button",1,"ui-btn","ui-btn--block",3,"click"],[1,"po-cat"],[1,"ui-badge","ui-badge--sm","po-cat__name"],["class","po-item",3,"po-item--last",4,"ngFor","ngForOf"],[1,"po-item"],[1,"po-item__main"],[1,"po-item__title"],[1,"po-item__qty"],["class","po-extra",4,"ngFor","ngForOf"],[1,"po-item__side"],[1,"po-item__price"],[1,"po-extra"],[1,"po-extra__label"],["class","ui-badge ui-badge--sm po-extra__off",3,"ngStyle",4,"ngIf"],["class","po-extra__price",4,"ngIf"],[1,"ui-badge","ui-badge--sm","po-extra__off",3,"ngStyle"],[1,"po-extra__price"],["class","po-item__was",3,"ngStyle",4,"ngIf"],[1,"po-item__was",3,"ngStyle"],[1,"ui-badge","ui-badge--sm",3,"ngStyle"],["class","po-item__price",4,"ngIf"],[1,"ui-line","ui-line--ok"],[1,"ui-line","ui-line--total"],[1,"ui-gateway-scrim",3,"click"],["role","alertdialog","aria-modal","true",1,"ui-gateway-dialog",3,"click"],[1,"ui-gateway-dialog__title"],[1,"ui-gateway-dialog__msg"]],template:function(t,o){if(1&t&&(e.TgZ(0,"main",0)(1,"div",1)(2,"h1",2),e._uU(3,"My orders"),e.qZA(),e.TgZ(4,"p",3),e._uU(5,"Track what's on its way and reorder anything you've had before."),e.qZA(),e.TgZ(6,"section",4)(7,"div",5)(8,"h2",6),e._uU(9,"Open orders"),e.qZA()(),e.YNc(10,j,1,0,"ng-container",7),e.qZA(),e.TgZ(11,"section",4)(12,"div",5)(13,"h2",6),e._uU(14,"Past orders"),e.qZA()(),e.YNc(15,Y,1,0,"ng-container",7),e.qZA()()(),e.YNc(16,K,3,2,"ng-template",null,8,e.W1O),e.YNc(18,Me,47,25,"div",9),e.YNc(19,Ue,8,0,"div",10),e._UZ(20,"ngx-spinner",11)),2&t){const n=e.MAs(17);e.xp6(10),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(6,Ne,o.openOrders)),e.xp6(5),e.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",e.VKq(8,Qe,o.closedOrders)),e.xp6(3),e.Q6J("ngIf",o.order),e.xp6(1),e.Q6J("ngIf",o.showMessage)}},directives:[P.tP,P.O5,P.sg,P.PC,A.Ro],pipes:[P.uU,F.n,P.Zx,P.H9],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;background:var(--ui-ground);min-height:100vh}.po-page[_ngcontent-%COMP%]{display:block;padding:2rem 1rem 3rem}.po-page__inner[_ngcontent-%COMP%]{width:min(100%,820px);margin:0 auto}.po-title[_ngcontent-%COMP%]{margin:0;font-size:clamp(1.6rem,3vw,2.1rem);font-weight:var(--ui-w-title);color:var(--ui-ink)}.po-sub[_ngcontent-%COMP%]{margin:.4rem 0 1.75rem;color:var(--ui-ink-muted);font-size:.95rem}.po-group[_ngcontent-%COMP%] + .po-group[_ngcontent-%COMP%]{margin-top:2rem}.po-order[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}.po-order[_ngcontent-%COMP%]:hover{border-color:var(--ui-line-strong);box-shadow:var(--ui-shadow)}.po-order__main[_ngcontent-%COMP%]{min-width:0}.po-order__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:.35rem}.po-order__id[_ngcontent-%COMP%]{font-size:1rem;font-weight:var(--ui-w-title);color:var(--ui-ink)}.po-order__meta[_ngcontent-%COMP%]{margin:0;font-size:.88rem;color:var(--ui-ink-muted)}.po-order__dot[_ngcontent-%COMP%]{padding:0 .35rem}.po-order__actions[_ngcontent-%COMP%]{display:grid;grid-gap:.5rem;gap:.5rem;flex:0 0 auto;min-width:150px}.po-scrim[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background:var(--ui-scrim);backdrop-filter:blur(var(--ui-scrim-blur));-webkit-backdrop-filter:blur(var(--ui-scrim-blur))}.po-modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:min(100%,620px);max-height:calc(100vh - 2rem);border-radius:var(--ui-r-modal);background:var(--ui-ground);box-shadow:var(--ui-shadow);overflow:hidden}.po-modal__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border-bottom:1px solid var(--ui-hairline);background:var(--ui-card)}.po-modal__title[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;margin:0;font-size:1.15rem;font-weight:var(--ui-w-title);color:var(--ui-ink)}.po-modal__foot[_ngcontent-%COMP%]{flex:0 0 auto;padding:1rem 1.25rem;border-top:1px solid var(--ui-hairline);background:var(--ui-card)}.po-modal__close[_ngcontent-%COMP%]{flex:0 0 auto;width:34px;height:34px;display:inline-grid;place-items:center;border:0;border-radius:var(--ui-r-mini);background:transparent;color:var(--ui-ink-muted);font-size:1.5rem;line-height:1;cursor:pointer}.po-modal__close[_ngcontent-%COMP%]:hover{background:var(--ui-ground);color:var(--ui-ink)}.po-modal__body[_ngcontent-%COMP%]{padding:1.25rem;overflow-y:auto}.po-facts[_ngcontent-%COMP%]{border-top:0;padding-top:0;margin-bottom:1.25rem}.po-facts__val[_ngcontent-%COMP%]{color:var(--ui-ink);text-align:right;overflow-wrap:anywhere}.po-cat[_ngcontent-%COMP%] + .po-cat[_ngcontent-%COMP%]{margin-top:1.25rem}.po-cat__name[_ngcontent-%COMP%]{margin-bottom:.6rem}.po-item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid var(--ui-hairline)}.po-item--last[_ngcontent-%COMP%]{border-bottom:0}.po-item__main[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.po-item__title[_ngcontent-%COMP%]{margin:0;font-weight:var(--ui-w-label);color:var(--ui-ink)}.po-item__qty[_ngcontent-%COMP%]{color:var(--ui-accent);font-weight:var(--ui-w-title)}.po-item__side[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;
1gap:.25rem}.po-item__price[_ngcontent-%COMP%]{font-variant-numeric:tabular-nums;color:var(--ui-ink)}.po-item__was[_ngcontent-%COMP%]{font-size:.78rem}.po-extra[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;margin-top:.3rem;font-size:.82rem;color:var(--ui-ink-muted)}.po-extra__label[_ngcontent-%COMP%]{min-width:0}.po-extra__off[_ngcontent-%COMP%]{margin-right:.35rem}.po-extra__price[_ngcontent-%COMP%]{flex:0 0 auto;font-variant-numeric:tabular-nums}.po-totals[_ngcontent-%COMP%]{margin-top:1.5rem}.po-totals[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{display:inline;margin-left:6px;font-size:.78rem;font-weight:600;color:var(--ui-ink-muted);white-space:nowrap}@media (max-width: 575.98px){.po-page[_ngcontent-%COMP%]{padding:1.25rem .75rem 2.5rem}.po-order[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.po-order__actions[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;min-width:0}.po-modal__body[_ngcontent-%COMP%]{padding:1rem}.po-modal__foot[_ngcontent-%COMP%]{padding:.85rem 1rem}}']}),r})();var Je=y(5503);let Fe=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:e.qLn,useClass:U.r}],imports:[[P.ez,A.ef,Je.D,k.Bz.forChild([{path:"",component:Ee}])]]}),r})()}}]);
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.