PageSourceSearch

https://almujtamapharmacy.com/chunk-G2LSOLMV.js

js almujtamapharmacy.com collected 2026-09-24 11:02:16 UTC 68,785 bytes, 1 lines download raw bytes

1import{a as At}from"./chunk-CYEGPHBH.js";import{a as Bt}from"./chunk-5S7B5ABF.js";import"./chunk-2KWWFMVB.js";import"./chunk-WG74YMGF.js";import"./chunk-IISPHNXK.js";import"./chunk-G56NLZPR.js";import"./chunk-K4O2U6JG.js";import"./chunk-KXKVQCEY.js";import{i as Mt}from"./chunk-FM2IGEI7.js";import{a as Dt}from"./chunk-RR7GCDE7.js";import{c as Lt}from"./chunk-Y4USWBOI.js";import"./chunk-6TXPR7Z5.js";import"./chunk-H3VL5ZLV.js";import"./chunk-VHAVQNQZ.js";import"./chunk-POU3UHYU.js";import{b as wt}from"./chunk-6CGZU3LR.js";import"./chunk-P6RAARJR.js";import"./chunk-YA4LCL44.js";import"./chunk-LRSNC77N.js";import"./chunk-B2D3ZNIN.js";import"./chunk-ZMB7BYOX.js";import{b as Rt}from"./chunk-PG356IOX.js";import"./chunk-DJLXGYOT.js";import"./chunk-QZKGI55F.js";import"./chunk-67IT4HQ6.js";import"./chunk-FMUJOZ5C.js";import"./chunk-NEZAQWLG.js";import"./chunk-A7HQZSIJ.js";import"./chunk-LPDEKHC4.js";import"./chunk-5CZSBVZS.js";import"./chunk-2QHSH4C5.js";import"./chunk-GAM63QEV.js";import{a as Nt}from"./chunk-FHOHGYTL.js";import{a as kt}from"./chunk-2AE3E265.js";import{e as Tt}from"./chunk-CG7IIIZ2.js";import{b as mt}from"./chunk-OJI7DA27.js";import{b as gt,c as ft,d as vt,e as ht,f as F,j as Et,k as Ot,n as yt,o as St,p as It,q as Ft}from"./chunk-MA3UJZI3.js";import{e as Pt}from"./chunk-4ZBSEH5M.js";import{f as ut,j as Ct,k as xt}from"./chunk-BLUPBYQY.js";import{a as bt}from"./chunk-QP2R5HQV.js";import"./chunk-WO4YLV4Q.js";import"./chunk-N5KHQ3PY.js";import"./chunk-RAU6IMNR.js";import{j as _t,r as pt,t as st}from"./chunk-KMKRC7H4.js";import{$b as C,$c as P,Mc as l,Nc as I,Oc as p,Pc as T,Xc as B,ab as G,ac as x,ad as lt,bc as D,cb as k,cd as rt,dc as L,ec as A,fc as E,gc as a,ha as H,hb as n,hc as o,hd as u,ic as v,id as f,jd as M,kd as $,ld as K,mc as W,nc as X,oa as Z,pa as tt,pc as ot,sd as dt,ta as et,tb as S,ua as nt,vc as at,xc as m,za as R,zb as it,zd as ct}from"./chunk-WLVJBNFV.js";import"./chunk-HGJ4MBLN.js";var Ut=e=>({"p-0":e}),J=e=>({"height-116":e}),Q=e=>({"height-90":e}),zt=(e,_,t,i)=>({"config-price-after-discount":e,"config-price-color":_,"defult-price-color-after-discount":t,"text-decoration-line-through-v2":i}),Vt=e=>({"config-price-before-discount":e}),Y=e=>({"config-price-color":e}),Ht=(e,_)=>({"mat-error":e,"text-dark":_}),z=e=>[e];function $t(e,_){if(e&1&&(a(0,"h5",26),l(1),o()),e&2){let t,i=m(6);n(),p(" ",i.lang()=="en"?((t=i.environmentVariables())==null?null:t.FINAL_RECEIPT_MESSAGE_EN)||((t=i.environmentVariables())==null?null:t.FINAL_RECEIPT_MESSAGE_AR):((t=i.environmentVariables())==null?null:t.FINAL_RECEIPT_MESSAGE_AR)||((t=i.environmentVariables())==null?null:t.FINAL_RECEIPT_MESSAGE_EN)," ")}}function Yt(e,_){if(e&1&&(a(0,"h5",26),l(1),u(2,"translate"),o()),e&2){let t,i=m(6);n(),T(" ",f(2,2,"receipt.paymentSuccessfully1")," ",(t=i.environmentVariables())==null?null:t.APP_NAME," ")}}function qt(e,_){if(e&1&&(a(0,"div",9),C(1,$t,2,1,"h5",26)(2,Yt,3,4,"h5",26),v(3,"img",33),o()),e&2){let t,i=m(5);n(),x((t=i.environmentVariables())!=null&&t.FINAL_RECEIPT_MESSAGE_EN||(t=i.environmentVariables())!=null&&t.FINAL_RECEIPT_MESSAGE_AR?1:2)}}function jt(e,_){if(e&1&&(a(0,"p",12),l(1),u(2,"translate"),a(3,"span"),l(4),o()()),e&2){let t=m().$implicit,i=m(4);n(),p(" ",f(2,2,"orders.paymentMethod"),": "),n(3),I(i.lang()=="en"?t==null?null:t.payment_method_object.name:t==null?null:t.payment_method_object.name_ar)}}function Gt(e,_){if(e&1&&(a(0,"p",12),l(1),u(2,"translate"),a(3,"span"),l(4),o()()),e&2){let t=m().$implicit,i=m(4);n(),p(" ",f(2,2,"orders.paymentPlan"),": "),n(3),I(i.lang()=="en"?t.payment_installment_plan.name_en:t.payment_installment_plan.name_ar)}}function Wt(e,_){if(e&1&&(a(0,"p",12),l(1),u(2,"translate"),u(3,"number"),v(4,"app-currency"),o()),e&2){let t=m().$implicit;n(),T(" ",f(2,2,"orders.total_cash_amount"),": ",M(3,4,t.total,"1.2-2")," ")}}function Xt(e,_){if(e&1&&(a(0,"p",12),l(1),u(2,"translate"),o()),e&2){let t=m().$implicit,i=m(4);n(),T(" ",f(2,2,"receipt.timeSlot"),": ",i.lang()=="ar"?t==null?null:t.time_slot_ar:t==null?null:t.time_slot_en," ")}}function Kt(e,_){if(e&1&&(a(0,"p",12),l(1),u(2,"translate"),u(3,"number"),v(4,"app-currency"),o()),e&2){let t=m().$implicit;n(),T(" ",f(2,2,"account.PostponedDueAmount"),": ",M(3,4,t==null||t.invoice==null?null:t.invoice.postponed_amount,"1.2-2")," ")}}function Jt(e,_){e&1&&(l(0),u(1,"translate")),e&2&&p(" ",f(1,1,"ARSA.mobileNumber")," ")}function Qt(e,_){e&1&&(l(0),u(1,"translate")),e&2&&p(" ",f(1,1,"account.mobileNumber")," ")}function Zt(e,_){if(e&1&&(a(0,"span"),l(1),o()),e&2){let t,i=m(5);n(),p(" ",(t=i.environmentVariables())==null||t.localization==null?null:t.localization.phone_prefix," ")}}function te(e,_){if(e&1&&(a(0,"span"),l(1),o()),e&2){let t=m(5);n(),I(t.selectedCountry.phone_prefix)}}function ee(e,_){if(e&1&&(a(0,"div",15)(1,"div",12)(2,"h6",34),l(3),u(4,"translate"),o(),l(5),o()()),e&2){let t=m().$implicit;n(3),p(" ",f(4,2,"orders.orderNotes")," : "),n(2),p(" ",t==null?null:t.notes," ")}}function ne(e,_){e&1&&(a(0,"span",39),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"receipt.sku"),": "))}function ie(e,_){e&1&&(a(0,"span",39),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"receipt.barcode"),": "))}function oe(e,_){if(e&1&&(a(0,"p",41)(1,"span",47),l(2),o()()),e&2){let t=_.$implicit;n(2),T(" ",t==null||t.option==null?null:t.option.name,": ",t==null||t.values[0]==null?null:t.values[0].name," ")}}function ae(e,_){if(e&1&&L(0,oe,3,2,"p",41,D),e&2){let t=m().$implicit;A(t==null?null:t.options)}}function le(e,_){if(e&1&&(a(0,"p"),l(1),o()),e&2){let t=m().$implicit;n(),p(" ",t==null?null:t.amount)}}function re(e,_){if(e&1&&(a(0,"p"),l(1),o()),e&2){let t=m().$implicit,i=m(5);n(),T(" ",i.embryoService.getStepDisplayValue(t)," ",i.embryoService.getStepLabel(t))}}function de(e,_){if(e&1&&(a(0,"span",45)(1,"span",48),l(2),u(3,"translate"),o()()),e&2){let t,i=m().$implicit,r=m(5);n(),E("ngClass",P(4,Vt,(i==null?null:i.discount_price)&&((t=r.environmentVariables())==null?null:t.PRODUCT_PRICE_BEFORE_DISCOUNT_TEXT_COLOR))),n(),p(" ",f(3,2,"currency.freeItem")," ")}}function ce(e,_){if(e&1&&(a(0,"span",45)(1,"span",48),l(2),u(3,"number"),v(4,"app-currency"),o()()),e&2){let t,i=m().$implicit,r=m(5);n(),E("ngClass",P(5,Vt,(i==null?null:i.discount_price)&&((t=r.environmentVariables())==null?null:t.PRODUCT_PRICE_BEFORE_DISCOUNT_TEXT_COLOR))),n(),p(" ",M(3,2,i.discount_price,"1.2-2")," ")}}function _e(e,_){if(e&1&&(a(0,"div",17)(1,"div",35),v(2,"img",36),u(3,"altText"),o(),a(4,"div",37)(5,"p",38)(6,"span",39),l(7),u(8,"translate"),o(),a(9,"span",40),l(10),o()(),a(11,"p",41),C(12,ne,3,3,"span",39),a(13,"span"),l(14),o()(),a(15,"p",41),C(16,ie,3,3,"span",39),a(17,"span"),l(18),o()(),C(19,ae,2,0),o(),a(20,"div",42)(21,"h6"),l(22),u(23,"translate"),o(),C(24,le,2,1,"p"),C(25,re,2,2,"p"),o(),a(26,"div",43)(27,"h6"),l(28),u(29,"translate"),o(),a(30,"div",44),C(31,de,4,6,"span",45),C(32,ce,5,7,"span",45),a(33,"span",46),l(34),u(35,"number"),v(36,"app-currency"),o()()()()),e&2){let t,i,r,s,d=_.$implicit,g=m(5);n(2),E("src",d==null?null:d.image,k)("alt",$(3,19,d,g.lang(),"cart Image")),n(2),E("ngClass",P(32,J,d==null?null:d.discount_price)),n(3),p(" ",f(8,23,"receipt.productName")," : "),n(3),p(" ",g.lang()=="en"?d==null?null:d.name:d.name_ar," "),n(2),x(((t=g.environmentVariables())==null?null:t.SHOW_SKU_PRODUCT_DETAILS)===!0||((t=g.environmentVariables())==null?null:t.SHOW_SKU_PRODUCT_DETAILS)===null?12:-1),n(2),p(" ",d==null?null:d.sku," "),n(2),x(d!=null&&d.barcode&&((i=g.environmentVariables())==null?null:i.SHOW_BARCODE_PRODUCT_DETAILS)===!0?16:-1),n(2),p(" ",d==null?null:d.barcode," "),n(),x((r=g.environmentVariables())!=null&&r.SHOW_PRODUCT_VARIANTS_OPTIONS&&(d==null||d.options==null?null:d.options.length)>0?19:-1),n(),E("ngClass",P(34,Q,d==null?null:d.discount_price)),n(2),p(" ",f(23,25,"productDetails.quantity")," "),n(2),x(d!=null&&d.enable_step_package?-1:24),n(),x(d!=null&&d.enable_step_package?25:-1),n(3),p(" ",f(29,27,"checkout.price")," "),n(3),x(d.discount_price=="0.00"?31:-1),n(),x(d.discount_price!=="0.00"&&d.discount_price!==null&&(d==null?null:d.discount_price)!==0?32:-1),n(),E("ngClass",rt(36,zt,(d==null?null:d.discount_price)&&((s=g.environmentVariables())==null?null:s.PRODUCT_PRICE_AFTER_DISCOUNT_TEXT_COLOR),(s=g.environmentVariables())==null?null:s.PRODUCT_PRICE_TEXT_COLOR,!((s=g.environmentVariables())!=null&&s.PRODUCT_PRICE_AFTER_DISCOUNT_TEXT_COLOR)&&(d==null?null:d.discount_price),(d==null?null:d.discount_price)!==null)),n(),p(" ",M(35,29,d.price,"1.2-2")," ")}}function pe(e,_){if(e&1&&(a(0,"p",41)(1,"span",39),l(2),u(3,"translate"),o(),a(4,"span"),l(5),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"receipt.sku"),": "),n(3),p(" ",t==null?null:t.sku," ")}}function se(e,_){if(e&1&&(a(0,"p",41)(1,"span",39),l(2),u(3,"translate"),o(),a(4,"span"),l(5),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"receipt.barcode"),": "),n(3),p(" ",t==null?null:t.barcode," ")}}function me(e,_){if(e&1&&(a(0,"p",41)(1,"span",47),l(2),o()()),e&2){let t=_.$implicit;n(2),T(" ",t==null||t.option==null?null:t.option.name,": ",t==null||t.values[0]==null?null:t.values[0].name," ")}}function ue(e,_){if(e&1&&L(0,me,3,2,"p",41,D),e&2){let t=m().$implicit;A(t==null?null:t.options)}}function Ce(e,_){if(e&1&&(a(0,"p"),l(1),o()),e&2){let t=m().$implicit;n(),p(" ",t==null?null:t.missing," ")}}function xe(e,_){if(e&1&&(a(0,"div",49)(1,"div",35),v(2,"img",36),u(3,"altText"),o(),a(4,"div",37)(5,"p",38)(6,"span",39),l(7),u(8,"translate"),o(),a(9,"span",40),l(10),o()(),C(11,pe,6,4,"p",41),C(12,se,6,4,"p",41),C(13,ue,2,0),o(),a(14,"div",42)(15,"h6"),l(16),u(17,"translate"),o(),C(18,Ce,2,1,"p"),o()()),e&2){let t,i,r,s=_.$implicit,d=m(6);n(2),E("src",s==null?null:s.image,k)("alt",$(3,11,s,d.lang(),"cart Image")),n(2),E("ngClass",P(19,J,s==null?null:s.discount_price)),n(3),p(" ",f(8,15,"receipt.productName")," : "),n(3),p(" ",d.lang()=="en"?s==null?null:s.name:s.name_ar," "),n(),x(((t=d.environmentVariables())==null?null:t.SHOW_SKU_PRODUCT_DETAILS)===!0||((t=d.environmentVariables())==null?null:t.SHOW_SKU_PRODUCT_DETAILS)===null?11:-1),n(),x(s!=null&&s.barcode&&((i=d.environmentVariables())==null?null:i.SHOW_BARCODE_PRODUCT_DETAILS)===!0?12:-1),n(),x((r=d.environmentVariables())!=null&&r.SHOW_PRODUCT_VARIANTS_OPTIONS&&(s==null||s.options==null?null:s.options.length)>0?13:-1),n(),E("ngClass",P(21,Q,s==null?null:s.discount_price)),n(2),p(" ",f(17,17,"productDetails.quantity")," "),n(2),x(s!=null&&s.missing?18:-1)}}function ge(e,_){if(e&1&&(a(0,"p",41),l(1),u(2,"translate"),o(),L(3,xe,19,23,"div",49,D)),e&2){let t=m().$implicit;n(),p(" ",f(2,1,"receipt.missingProducts")," "),n(2),A(t==null?null:t.missing_items)}}function fe(e,_){if(e&1&&(a(0,"p",41)(1,"span",39),l(2),u(3,"translate"),o(),a(4,"span"),l(5),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"receipt.sku"),": "),n(3),p(" ",t==null?null:t.sku," ")}}function ve(e,_){if(e&1&&(a(0,"p",41)(1,"span",39),l(2),u(3,"translate"),o(),a(4,"span"),l(5),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"receipt.barcode"),": "),n(3),p(" ",t==null?null:t.barcode," ")}}function he(e,_){if(e&1&&(a(0,"p",41)(1,"span",47),l(2),o()()),e&2){let t=_.$implicit;n(2),T(" ",t==null||t.option==null?null:t.option.name,": ",t==null||t.values[0]==null?null:t.values[0].name," ")}}function be(e,_){if(e&1&&L(0,he,3,2,"p",41,D),e&2){let t=m().$implicit;A(t==null?null:t.options)}}function Ee(e,_){if(e&1&&(a(0,"p"),l(1),o()),e&2){let t=m().$implicit;n(),p(" ",t==null?null:t.returned," ")}}function Oe(e,_){if(e&1&&(a(0,"div",49)(1,"div",35),v(2,"img",36),u(3,"altText"),o(),a(4,"div",37)(5,"p",38)(6,"span",39),l(7),u(8,"translate"),o(),a(9,"span",40),l(10),o()(),C(11,fe,6,4,"p",41),C(12,ve,6,4,"p",41),C(13,be,2,0),o(),a(14,"div",42)(15,"h6"),l(16),u(17,"translate"),o(),C(18,Ee,2,1,"p"),o()()),e&2){let t,i,r,s=_.$implicit,d=m(6);n(2),E("src",s==null?null:s.image,k)("alt",$(3,11,s,d.lang(),"cart Image")),n(2),E("ngClass",P(19,J,s==null?null:s.discount_price)),n(3),p(" ",f(8,15,"receipt.productName")," : "),n(3),p(" ",d.lang()=="en"?s==null?null:s.name:s.name_ar," "),n(),x(((t=d.environmentVariables())==null?null:t.SHOW_SKU_PRODUCT_DETAILS)===!0||((t=d.environmentVariables())==null?null:t.SHOW_SKU_PRODUCT_DETAILS)===null?11:-1),n(),x(s!=null&&s.barcode&&((i=d.environmentVariables())==null?null:i.SHOW_BARCODE_PRODUCT_DETAILS)===!0?12:-1),n(),x((r=d.environmentVariables())!=null&&r.SHOW_PRODUCT_VARIANTS_OPTIONS&&(s==null||s.options==null?null:s.options.length)>0?13:-1),n(),E("ngClass",P(21,Q,s==null?null:s.discount_price)),n(2),p(" ",f(17,17,"productDetails.quantity")," "),n(2),x(s!=null&&s.returned?18:-1)}}function ye(e,_){if(e&1&&(a(0,"p",41),l(1),u(2,"translate"),o(),L(3,Oe,19,23,"div",49,D)),e&2){let t=m().$implicit;n(),p(" ",f(2,1,"receipt.returnProducts")," "),n(2),A(t==null?null:t.returned_items)}}function Pe(e,_){e&1&&v(0,"hr",18)}function Se(e,_){if(e&1&&(a(0,"div")(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"span"),l(6),u(7,"number"),v(8,"app-currency"),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.total_amount_discount")," "),n(4),p(" - ",M(7,4,t==null||t.invoice==null?null:t.invoice.total_amount_discount,"1.2-2")," ")}}function Me(e,_){e&1&&(a(0,"span"),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"orders.excVAT")," "))}function Re(e,_){if(e&1&&(a(0,"span",23),l(1),u(2,"number"),v(3,"app-currency"),o()),e&2){let t=m().$implicit;n(),p(" ",M(2,1,t.item_total_exc_vat+(t==null?null:t.item_total_discount_exc_vat),"1.2-2")," ")}}function Ie(e,_){if(e&1&&(a(0,"div",24)(1,"span",50),l(2),u(3,"translate"),o(),a(4,"span",50),l(5),u(6,"number"),o()()),e&2){let t,i=m().$implicit,r=m(4);
1n(2),I(f(3,3,"orders.youSaved")),n(3),T("",M(6,5,i.item_total_discount_exc_vat,"1.2-2")," ",r.lang()=="en"?(t=r.environmentVariables())==null?null:t.CURRENCY_CODE_EN:(t=r.environmentVariables())==null?null:t.CURRENCY_CODE_AR," ")}}function Fe(e,_){if(e&1&&(a(0,"div",25)(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),l(5),u(6,"number"),v(7,"app-currency"),o()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.discount")," "),n(3),p(" - ",M(6,4,t.discount,"1.2-2")," ")}}function Te(e,_){if(e&1&&(a(0,"div",26)(1,"h4"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"h4",48),l(6),u(7,"number"),v(8,"app-currency"),o()()),e&2){let t,i=m().$implicit,r=m(4);n(2),p(" ",f(3,3,"orders.loyalty_discount")," "),n(3),E("ngClass",P(8,Y,(t=r.environmentVariables())==null?null:t.PRODUCT_PRICE_TEXT_COLOR)),n(),p(" - ",M(7,5,i==null||i.invoice==null?null:i.invoice.loyalty_discount,"1.2-2")," ")}}function we(e,_){if(e&1&&(a(0,"div",27)(1,"h4"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"h4",48),l(6),u(7,"number"),v(8,"app-currency"),o()()),e&2){let t,i=m().$implicit,r=m(4);n(2),p(" ",f(3,3,"orders.wallet_paid_amount")," "),n(3),E("ngClass",P(8,Y,(t=r.environmentVariables())==null?null:t.PRODUCT_PRICE_TEXT_COLOR)),n(),p(" - ",M(7,5,i==null||i.invoice==null?null:i.invoice.wallet_paid_amount,"1.2-2")," ")}}function Ne(e,_){if(e&1&&(a(0,"div")(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),l(5),o()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.downpayment")," "),n(3),p(" ",t==null||t.installment==null?null:t.installment.down_payment," ")}}function ke(e,_){if(e&1&&l(0),e&2){let t=m(6);p(" ",t.environmentVariables().DELIVERY_FEES_LABEL_AR," ")}}function De(e,_){if(e&1&&l(0),e&2){let t=m(6);p(" ",t.environmentVariables().DELIVERY_FEES_LABEL_EN," ")}}function Le(e,_){e&1&&(l(0),u(1,"translate")),e&2&&p(" ",f(1,1,"orders.deliveryFees")," ")}function Ae(e,_){e&1&&(a(0,"span"),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"checkout.delivery_fees_text")," "))}function Be(e,_){e&1&&(a(0,"span"),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"checkout.freeDelivery")," "))}function Ve(e,_){if(e&1&&(a(0,"span"),l(1),v(2,"app-currency"),o()),e&2){let t=m(3).$implicit;n(),p(" +",t==null?null:t.delivery_fees," ")}}function Ue(e,_){if(e&1&&(C(0,Be,3,3,"span"),C(1,Ve,3,1,"span")),e&2){let t=m(2).$implicit;x((t==null?null:t.delivery_fees)==0?0:-1),n(),x((t==null?null:t.delivery_fees)!=0?1:-1)}}function ze(e,_){if(e&1&&(a(0,"span",51),l(1),o()),e&2){let t=m(3).$implicit;n(),p(" ",t==null?null:t.delivery_text_ar," ")}}function He(e,_){if(e&1&&(a(0,"span",51),l(1),o()),e&2){let t=m(3).$implicit;n(),p(" ",t==null?null:t.delivery_text_en," ")}}function $e(e,_){if(e&1&&(C(0,ze,2,1,"span",51),C(1,He,2,1,"span",51)),e&2){let t=m(2).$implicit,i=m(4);x(i.lang()=="ar"&&(t!=null&&t.delivery_text_ar)?0:-1),n(),x(i.lang()=="en"&&(t!=null&&t.delivery_text_en)?1:-1)}}function Ye(e,_){if(e&1&&(a(0,"div",20)(1,"p"),C(2,ke,1,1),C(3,De,1,1),C(4,Le,2,3),l(5," : "),o(),v(6,"span",21),C(7,Ae,3,3,"span"),v(8,"br"),C(9,Ue,2,2),o(),C(10,$e,2,2)),e&2){let t,i,r,s=m().$implicit,d=m(4);n(2),x(d.lang()=="ar"&&((t=d.environmentVariables())!=null&&t.DELIVERY_FEES_LABEL_AR)?2:-1),n(),x(d.lang()=="en"&&((i=d.environmentVariables())!=null&&i.DELIVERY_FEES_LABEL_EN)?3:-1),n(),x(d.lang()=="ar"&&!((r=d.environmentVariables())!=null&&r.DELIVERY_FEES_LABEL_AR)||d.lang()=="en"&&!((r=d.environmentVariables())!=null&&r.DELIVERY_FEES_LABEL_EN)?4:-1),n(3),x((s==null?null:s.delivery_text_en)!==null&&(s==null?null:s.delivery_text_ar)!==null?7:-1),n(2),x((s==null?null:s.delivery_text_en)==null&&(s==null?null:s.delivery_text_ar)==null?9:-1),n(),x((s==null?null:s.delivery_text_en)!==null&&(s==null?null:s.delivery_text_ar)!==null?10:-1)}}function qe(e,_){e&1&&(a(0,"span",52),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"orders.IncVAT")," "))}function je(e,_){if(e&1&&(a(0,"div",27)(1,"h4"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"h4",48),l(6),u(7,"number"),v(8,"app-currency"),o()(),a(9,"div",26)(10,"h4"),l(11),u(12,"translate"),o(),v(13,"span",21),a(14,"h4",48),l(15),u(16,"number"),v(17,"app-currency"),C(18,qe,3,3,"span",52),o()()),e&2){let t,i,r,s=m().$implicit,d=m(4);n(2),p(" ",f(3,7,"orders.online_paid_amount")," "),n(3),E("ngClass",P(17,Y,(t=d.environmentVariables())==null?null:t.PRODUCT_PRICE_TEXT_COLOR)),n(),p(" ",M(7,9,s==null||s.invoice==null?null:s.invoice.online_paid_amount,"1.2-2")," "),n(5),p(" ",f(12,12,"orders.total_cash_amount")," "),n(3),E("ngClass",P(19,Y,(i=d.environmentVariables())==null?null:i.PRODUCT_PRICE_TEXT_COLOR)),n(),p(" ",M(16,14,s.total,"1.2-2")," "),n(3),x((r=d.environmentVariables())!=null&&r.ENABLE_INCLUDING_VAT?18:-1)}}function Ge(e,_){if(e&1&&(a(0,"div",20)(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"span",53),l(6),v(7,"app-currency"),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.VAT")," : "),n(4),p(" ",t==null||t.invoice==null?null:t.invoice.tax_amount," ")}}function We(e,_){e&1&&(a(0,"span"),l(1),u(2,"translate"),o()),e&2&&(n(),p(" ",f(2,1,"orders.IncVAT")," "))}function Xe(e,_){if(e&1&&l(0),e&2){let t=m(6);p(" ",t.environmentVariables().PURCHASE_FEES_LABEL_AR," ")}}function Ke(e,_){if(e&1&&l(0),e&2){let t=m(6);p(" ",t.environmentVariables().PURCHASE_FEES_LABEL_EN," ")}}function Je(e,_){e&1&&(l(0),u(1,"translate")),e&2&&p(" ",f(1,1,"checkout.PurchaseFees")," ")}function Qe(e,_){if(e&1&&(a(0,"div",20)(1,"p",54),C(2,Xe,1,1),C(3,Ke,1,1),C(4,Je,2,3),l(5," : "),o(),v(6,"span",21),a(7,"span"),l(8),u(9,"number"),v(10,"app-currency"),o()()),e&2){let t,i,r,s,d=m().$implicit,g=m(4);n(),E("ngClass",lt(8,Ht,!((t=g.environmentVariables())!=null&&t.HIDE_PURCHASE_FEES_WARNING_STYLE),(t=g.environmentVariables())==null?null:t.HIDE_PURCHASE_FEES_WARNING_STYLE)),n(),x(g.lang()=="ar"&&((i=g.environmentVariables())!=null&&i.PURCHASE_FEES_LABEL_AR)?2:-1),n(),x(g.lang()=="en"&&((r=g.environmentVariables())!=null&&r.PURCHASE_FEES_LABEL_EN)?3:-1),n(),x(g.lang()=="ar"&&!((s=g.environmentVariables())!=null&&s.PURCHASE_FEES_LABEL_AR)||g.lang()=="en"&&!((s=g.environmentVariables())!=null&&s.PURCHASE_FEES_LABEL_EN)?4:-1),n(4),p(" ",M(9,5,d==null?null:d.purchase_fees,"1.2-2")," ")}}function Ze(e,_){if(e&1&&(a(0,"div",20)(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"span",53),l(6),v(7,"app-currency"),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.online_refunded")," : "),n(4),p(" ",t==null||t.invoice==null?null:t.invoice.refunded_online_paid_amount," ")}}function tn(e,_){if(e&1&&(a(0,"div",20)(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"span",53),l(6),v(7,"app-currency"),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.points_refunded")," : "),n(4),p(" ",t==null||t.invoice==null?null:t.invoice.refunded_loyalty_amount," ")}}function en(e,_){if(e&1&&(a(0,"div",20)(1,"p"),l(2),u(3,"translate"),o(),v(4,"span",21),a(5,"span",53),l(6),v(7,"app-currency"),o()()),e&2){let t=m().$implicit;n(2),p(" ",f(3,2,"orders.wallet_refunded")," : "),n(4),p(" ",t==null||t.invoice==null?null:t.invoice.refunded_wallet_amount," ")}}function nn(e,_){e&1&&(a(0,"h4",28)(1,"b"),l(2),u(3,"translate"),o()()),e&2&&(n(2),I(f(3,1,"orders.returned_Invoices")))}
1function on(e,_){if(e&1){let t=ot();a(0,"tr")(1,"td"),l(2),o(),a(3,"td"),l(4),o(),a(5,"td"),l(6),o(),a(7,"td")(8,"button",57),at("click",function(){let r=Z(t).$implicit,s=m(6);return tt(s.downloadPDF(r==null?null:r.invoice_url))}),l(9),u(10,"translate"),a(11,"mat-icon",58),l(12," downloading "),o()()()()}if(e&2){let t=_.$implicit;n(2),I(t==null?null:t.invoice_number),n(2),I(t==null?null:t.total),n(2),I(t==null||t.items==null?null:t.items.length),n(3),p(" ",f(10,4,"orders.downloadInvoice")," ")}}function an(e,_){if(e&1&&(a(0,"div",29)(1,"table",55)(2,"thead")(3,"tr")(4,"th",56),l(5),u(6,"translate"),o(),a(7,"th",56),l(8),u(9,"translate"),o(),a(10,"th",56),l(11),u(12,"translate"),o(),a(13,"th",56),l(14),u(15,"translate"),o()()(),a(16,"tbody"),L(17,on,13,6,"tr",null,D),o()()()),e&2){let t,i=m(5);n(5),I(f(6,4,"orders.invoice_number")),n(3),I(f(9,6,"orders.total_return")),n(3),I(f(12,8,"orders.total_items")),n(3),I(f(15,10,"orders.downloadInvoice")),n(3),A((t=i.order())==null?null:t.returned_invoice)}}function ln(e,_){e&1&&(a(0,"h4"),l(1," valU note "),o())}function rn(e,_){e&1&&(a(0,"h4"),l(1," Premium note "),o())}function dn(e,_){if(e&1&&(a(0,"p",63),l(1),o()),e&2){let t=m(2).$implicit;n(),p(" ",t==null?null:t.installment.installment_message," ")}}function cn(e,_){if(e&1&&(a(0,"div",30)(1,"div",59),C(2,ln,2,0,"h4"),C(3,rn,2,0,"h4"),o(),a(4,"div",60)(5,"div",20)(6,"div",61)(7,"div",62),C(8,dn,2,1,"p",63),o()()()()()),e&2){let t=m().$implicit,i=m(4);n(2),x((t==null?null:t.payment_method_object.id)===3?2:-1),n(),x((t==null?null:t.payment_method_object.id)===5?3:-1),n(5),x(i.lang()=="en"?8:-1)}}function _n(e,_){if(e&1&&(a(0,"a",69),l(1),o()),e&2){let t,i,r=m(8);E("href",B("tel:",(t=r.environmentVariables())==null?null:t.HOTPHONE),k),n(),p(" ",(i=r.environmentVariables())==null?null:i.HOTPHONE," ")}}function pn(e,_){if(e&1&&(a(0,"span"),l(1," Hotline:"),C(2,_n,2,3,"a",69),v(3,"br"),o()),e&2){let t,i=m(7);n(2),x((t=i.environmentVariables())!=null&&t.HOTPHONE?2:-1)}}function sn(e,_){if(e&1&&(a(0,"a",69),l(1),o()),e&2){let t,i,r=m(8);E("href",B("tel:",(t=r.environmentVariables())==null?null:t.HOTPHONE2),k),n(),p(" ",(i=r.environmentVariables())==null?null:i.HOTPHONE2," ")}}function mn(e,_){if(e&1&&(a(0,"span"),l(1," Hotline:"),C(2,sn,2,3,"a",69),v(3,"br"),o()),e&2){let t,i=m(7);n(2),x((t=i.environmentVariables())!=null&&t.HOTPHONE2?2:-1)}}function un(e,_){if(e&1&&(a(0,"div",63),v(1,"div",67),C(2,pn,4,1,"span"),C(3,mn,4,1,"span"),l(4," Email: "),a(5,"a",68),l(6),o(),v(7,"br"),l(8),o()),e&2){let t,i,r,s,d,g,O=m(6);n(),E("innerHTML",(t=O.environmentVariables())==null?null:t.ORDER_POLICY_TEXT_EN,G),n(),x((i=O.environmentVariables())!=null&&i.HOTPHONE?2:-1),n(),x((r=O.environmentVariables())!=null&&r.HOTPHONE2?3:-1),n(2),E("href",B("mailto:",(s=O.environmentVariables())==null?null:s.ONLINE_EMAIL),k),n(),p("",(d=O.environmentVariables())==null?null:d.ONLINE_EMAIL," "),n(2),p(" Thanks for shopping at ",(g=O.environmentVariables())==null?null:g.APP_NAME,"! ")}}function Cn(e,_){if(e&1&&(a(0,"a",71),l(1),o()),e&2){let t,i,r=m(7);E("href",B("tel:",(t=r.environmentVariables())==null?null:t.HOTPHONE),k),n(),p(" ",(i=r.environmentVariables())==null?null:i.HOTPHONE," ")}}function xn(e,_){if(e&1&&(a(0,"a",71),l(1),o()),e&2){let t,i,r=m(8);E("href",B("tel:",(t=r.environmentVariables())==null?null:t.HOTPHONE2),k),n(),p(" ",(i=r.environmentVariables())==null?null:i.HOTPHONE2," ")}}function gn(e,_){if(e&1&&(a(0,"span"),l(1," \u062E\u062F\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621: "),C(2,xn,2,3,"a",71),o()),e&2){let t,i=m(7);n(2),x((t=i.environmentVariables())!=null&&t.HOTPHONE2?2:-1)}}function fn(e,_){if(e&1&&(a(0,"div",63),v(1,"div",70)(2,"br"),l(3," \u062E\u062F\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621: "),C(4,Cn,2,3,"a",71),v(5,"br"),C(6,gn,3,1,"span"),v(7,"br"),l(8," \u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A: "),a(9,"a",68),l(10),o(),v(11,"br"),l(12),o()),e&2){let t,i,r,s,d,g,O=m(6);n(),E("innerHTML",(t=O.environmentVariables())==null?null:t.ORDER_POLICY_TEXT_AR,G),n(3),x((i=O.environmentVariables())!=null&&i.HOTPHONE?4:-1),n(2),x((r=O.environmentVariables())!=null&&r.HOTPHONE2?6:-1),n(3),E("href",B("mailto:",(s=O.environmentVariables())==null?null:s.ONLINE_EMAIL),
1k),n(),p(" ",(d=O.environmentVariables())==null?null:d.ONLINE_EMAIL," "),n(2),p(" \u0634\u0643\u0631\u0627\u064B \u0644\u062A\u0633\u0648\u0642\u0643 \u0639\u0644\u0649 ",(g=O.environmentVariables())==null?null:g.APP_NAME_AR," ! ")}}function vn(e,_){if(e&1&&(a(0,"div",31)(1,"div",59)(2,"h4"),l(3),u(4,"translate"),o()(),a(5,"div",60)(6,"div",20)(7,"div",61)(8,"div",64),C(9,un,9,7,"div",63),C(10,fn,13,7,"div",63),o()(),v(11,"div",65),a(12,"div",66),v(13,"br"),o()()()()),e&2){let t=m(5);n(3),p(" ",f(4,3,"orders.policyDelivery")," "),n(6),x(t.lang()=="en"?9:-1),n(),x(t.lang()=="ar"?10:-1)}}function hn(e,_){if(e&1&&(a(0,"button",72),l(1),u(2,"translate"),o()),e&2){let t,i=m(2).$implicit,r=m(4);E("routerLink",P(4,z,"/"+r.lang()+"/"+(!r.user()||(t=r.user())!=null&&t.is_guest?"/orders/order-history/":"account/order-history/")+i.uuid||r.id||r.order_id)),n(),p(" ",f(2,2,"receipt.trackOrder")," ")}}function bn(e,_){if(e&1&&(a(0,"button",72),l(1),u(2,"translate"),o()),e&2){let t,i=m(6);E("routerLink",P(4,z,"/"+i.lang()+"/"+(!i.user()||(t=i.user())!=null&&t.is_guest?"/orders/order-history/":"account/order-history/"))),n(),p(" ",f(2,2,"receipt.trackOrder")," ")}}function En(e,_){if(e&1&&(a(0,"div",32)(1,"button",72),l(2),u(3,"translate"),o(),C(4,hn,3,6,"button",72),C(5,bn,3,6,"button",72),o()),e&2){let t,i,r=m(5);n(),E("routerLink",P(6,z,"/"+r.lang()+"/")),n(),p(" ",f(3,4,"receipt.goToHome")," "),n(2),x(((t=r.dataOrders())==null?null:t.length)==1?4:-1),n(),x(((i=r.dataOrders())==null?null:i.length)>1?5:-1)}}function On(e,_){if(e&1&&(a(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"mat-card",7)(7,"div",8),C(8,qt,4,1,"div",9),a(9,"div")(10,"div",10)(11,"div",11)(12,"h6"),l(13),u(14,"translate"),o(),a(15,"p",12),l(16),u(17,"translate"),o(),a(18,"p",12),l(19),u(20,"translate"),u(21,"date"),u(22,"date"),o(),C(23,jt,5,4,"p",12),C(24,Gt,5,4,"p",12),C(25,Wt,5,7,"p",12),C(26,Xt,3,4,"p",12),C(27,Kt,5,7,"p",12),o(),a(28,"div",13)(29,"h6"),l(30),u(31,"translate"),o(),a(32,"p",14),l(33),o(),a(34,"p",12),l(35),o(),a(36,"p",12),C(37,Jt,2,3)(38,Qt,2,3),l(39," : "),C(40,Zt,2,1,"span"),C(41,te,2,1,"span"),l(42),o()(),C(43,ee,6,4,"div",15),o(),a(44,"h4"),l(45),u(46,"translate"),o(),W(47),a(48,"p",16),l(49),u(50,"translate"),o(),L(51,_e,37,41,"div",17,D),X(),v(53,"hr",18),C(54,ge,5,3),C(55,ye,5,3),C(56,Pe,1,0,"hr",18),C(57,Se,9,7,"div"),a(58,"div",19)(59,"div",20)(60,"p"),l(61),u(62,"translate"),C(63,Me,3,3,"span"),o(),v(64,"span",21),a(65,"span",22),l(66),u(67,"number"),v(68,"app-currency"),o(),C(69,Re,4,4,"span",23),C(70,Ie,7,8,"div",24),o(),C(71,Fe,8,7,"div",25),C(72,Te,9,10,"div",26),C(73,we,9,10,"div",27),C(74,Ne,6,4,"div"),C(75,Ye,11,6),C(76,je,19,21),C(77,Ge,8,4,"div",20),a(78,"div",20)(79,"p"),l(80),u(81,"translate"),C(82,We,3,3,"span"),o(),v(83,"span",21),a(84,"span"),l(85),u(86,"number"),v(87,"app-currency"),o()(),C(88,Qe,11,11,"div",20),C(89,Ze,8,4,"div",20),C(90,tn,8,4,"div",20),C(91,en,8,4,"div",20),o()()(),W(92),C(93,nn,4,3,"h4",28),C(94,an,19,12,"div",29),X(),C(95,cn,9,3,"div",30),C(96,vn,14,5,"div",31),C(97,En,6,8,"div",32),o()()()()()()()),e&2){let t,i,r,s,d,g,O,w,V,h,b,N,c=_.$implicit,U=_.$index,y=m(4);n(),E("ngClass",P(83,Ut,((t=y.dataOrders())==null?null:t.length)>1)),n(7),x(U==0?8:-1),n(5),p(" ",f(14,51,"receipt.summary")," "),n(3),T(" ",f(17,53,"orders.orderNumber")," : ",c.id," "),n(3),T(" ",f(20,55,"orders.date")," : ",y.lang()=="en"?K(21,57,c.date,"MMMM d, y","","en-US"):K(22,62,c.date,"MMMM d, y","","ar-EG")," "),n(4),x((c==null?null:c.payment_method)!=26?23:-1),n(),x(c&&c.payment_installment_plan&&c.payment_installment_plan!=null?24:-1),n(),x(c.total&&c.total!=0&&c.total!="0.00"?25:-1),n(),x(((i=y.environmentVariables())==null?null:i.SCHEDULE_ORDER_TYPE)=="time_slot"&&(c!=null&&c.time_slot_en)&&(c!=null&&c.time_slot_ar)?26:-1),n(),x(!(c==null||c.invoice==null)&&c.invoice.postponed_amount?27:-1),n(3),p(" ",f(31,67,"receipt.shipTo")," "),n(3),T(" ",(r=y.user())==null?null:r.name," ",(r=y.user())==null?null:r.last_name," "),n(2),p(" ",y.lang()=="en"?c==null||c.address==null?null:c.address.formatted_address_en:c==null||c.address==null?null:c.address.formatted_address_ar," "),n(2),x(((s=y.environmentVariables())==null?null:s.COUNTRY_CODE)=="SA"&&!((s=y.environmentVariables())!=null&&s.ENABLE_INTERNATIONAL_ADDRESS)?37:38),n(3),x((d=y.environmentVariables())!=null&&d.ENABLE_INTERNATIONAL_ADDRESS?-1:40),n(),x((g=y.environmentVariables())!=null&&g.ENABLE_INTERNATIONAL_ADDRESS?41:-1),n(),p(" ",c==null?null:c.phone," "),n(),x(c!=null&&c.notes?43:-1),n(2),p(" ",f(46,69,"receipt.orderDetails")," "),n(4),p(" ",f(50,71,"receipt.orderProducts")," "),n(2),A(c.items),n(3),x((c==null||c.missing_items==null?null:c.missing_items.length)>0?54:-1),n(),x((c==null||c.returned_items==null?null:c.returned_items.length)>0?55:-1),n(),x((c==null||c.missing_items==null?null:c.missing_items.length)>0?56:-1),n(),x(!(c==null||c.invoice==null)&&c.invoice.total_amount_discount?57:-1),n(4),p(" ",f(62,73,"orders.subtotal")," : "),n(2),x((O=y.environmentVariables())!=null&&O.ENABLE_INCLUDING_VAT?63:-1),n(3),p("",M(67,75,c.item_total_exc_vat,"1.2-2")," "),n(3),x(c!=null&&c.item_total_discount_exc_vat?69:-1),n(),x(c.item_total_discount_exc_vat?70:-1),n(),x(c.discount?71:-1),n(),x(!(c==null||c.invoice==null)&&c.invoice.loyalty_discount?72:-1),n(),x(!(c==null||c.invoice==null)&&c.invoice.wallet_paid_amount&&(c==null||c.invoice==null?null:c.invoice.wallet_paid_amount)!=0?73:-1),n(),x(c&&c.installment&&c.installment!=null&&(!(c==null||c.installment==null)&&c.installment.down_payment)?74:-1),n(),x((w=y.user())!=null&&w.branch?-1:75),n(),x(!(c==null||c.invoice==null)&&c.invoice.online_paid_amount&&(c==null||c.invoice==null?null:c.invoice.online_paid_amount)!="0"&&(c==null||c.invoice==null?null:c.invoice.online_paid_amount)!="0.00"&&c.total&&c.total!=0&&c.total!="0.00"?76:-1),n(),x((c==null||c.invoice==null?null:c.invoice.tax_amount)!=null&&((V=y.environmentVariables())!=null&&V.ENABLE_INCLUDING_VAT)?77:-1),n(3),p(" ",f(81,78,"orders.grandTotal")," : "),n(2),x((h=y.environmentVariables())!=null&&h.ENABLE_INCLUDING_VAT?82:-1),n(3),p(" ",M(86,80,c==null||c.invoice==null?null:c.invoice.total_invoice,"1.2-2")," "),n(3),x((c==null?null:c.purchase_fees)!=0&&(c==null?null:c.purchase_fees)!=null?88:-1),n(),x((c==null||c.invoice==null?null:c.invoice.refunded_online_paid_amount)!=null&&(c==null||c.invoice==null?null:c.invoice.refunded_online_paid_amount)!=0?89:-1),n(),x((c==null||c.invoice==null?null:c.invoice.refunded_loyalty_amount)!=null&&(c==null||c.invoice==null?null:c.invoice.refunded_loyalty_amount)!=0?90:-1),n(),x((c==null||c.invoice==null?null:c.invoice.refunded_wallet_amount)!=null&&(c==null||c.invoice==null?null:c.invoice.refunded_wallet_amount)!=0?91:-1),n(2),x(((b=y.order())==null||b.returned_invoice==null?null:b.returned_invoice.length)>0?93:-1),n(),x(((N=y.order())==null||N.returned_invoice==null?null:N.returned_invoice.length)>0?94:-1),n(),x((c==null?null:c.payment_method_object.id)===3||(c==null?null:c.payment_method_object.id)===5?95:-1),n(),x(U==y.dataOrders().length-1?96:-1),n(),x(U==y.dataOrders().length-1?97:-1)}}function yn(e,_){if(e&1&&L(0,On,98,85,"div",1,D),e&2){let t=m(3);A(t.dataOrders())}}function Pn(e,_){if(e&1&&(a(0,"div",73)(1,"div",74),v(2,"img",75),a(3,"h2",76),l(4),u(5,"translate"),o(),a(6,"p",76),l(7),o()(),a(8,"div",77)(9,"button",72),l(10),u(11,"translate"),o()()()),e&2){let t=m(4);n(4),p(" ",f(5,4,"failedOrderOnline")," "),n(3),I(t.errorMessage()),n(2),E("routerLink",P(8,z,"/"+t.lang()+"/checkout")),n(),p(" ",f(11,6,"returnToCheckOut")," ")}}function Sn(e,_){if(e&1&&(a(0,"div",73)(1,"div",74),v(2,"img",75),a(3,"h2",76),l(4),u(5,"translate"),o()(),a(6,"div",77)(7,"button",72),l(8),u(9,"translate"),o()()()),e&2){let t=m(5);n(4),p(" ",f(5,3,"orderNotFound")," "),n(3),E("routerLink",P(7,z,"/"+t.lang()+"/")),n(),p(" ",f(9,5,"notFound.goToHome")," ")}}function Mn(e,_){if(e&1&&(a(0,"div",73)(1,"div",74),v(2,"img",78),a(3,"h2",76),l(4),o(),a(5,"p",76),l(6),o()()()),e&2){let t=m(5);n(4),p(" ",t.payment_refreence()," "),n(2),I(t.payment_message())}}function Rn(e,_){if(e&1&&(C(0,Sn,10,9,"div",73),C(1,Mn,7,2,"div",73)),e&2){let t=m(4);x(t.payment()?-1:0),n(),x(t.payment()?1:-1)}}function In(e,_){if(e&1&&C(0,Pn,12,10,"div",73)(1,Rn,2,2),e&2){let t=m(3);x(t.orderNotFound()?1:0)}}function Fn(e,_){if(e&1&&C(0,yn,2,0)(1,In,2,1),e&2){let t=m(2);x(t.showSuccess()&&t.dataOrders()&&t.dataOrders().length>0?0:1)}}function Tn(e,_){e&1&&v(0,"app-loading")}function wn(e,_){if(e&1&&(a(0,"span",0),C(1,Tn,1,0,"app-loading"),o()),e&2){let t=m(2);n(),x(t.loaded()?1:-1)}}function Nn(e,_){if(e&1&&(a(0,"div"),C(1,Fn,2,1)(2,wn,2,1,"span",0),o()),e&2){let t=m();n(),x(t.loaded()?1:2)}}var _i=(()=>{class e{embryoService;router;route;checkoutService;translate;cd;confgServ;auth;metaService;dialog;marketingService;registerService;toast;storage;windowService;document=H(et);destroyRef=H(nt);deliveryDate;products;userDetails;todayDate=new Date;id;user=R(null);languageService=H(Ft);lang=this.languageService.currentLanguage;order=R(null);order_id;cartItems;success=R(!1);showSuccess=R(!1);loaded=R(!1);errorMessage=R("");environmentVariables=R(null);isGuest;orderNotFound=R(!1);payment_refreence=R("");payment_message=R("");payment=R(!1);orderrate;dataOrders=R([]);isLoadedFinish=R(!1);isThereIsRefranceId=R(!1);constructor(t,i,r,s,d,g,O,w,V,h,b,N,c,U,y){this.embryoService=t,this.router=i,this.route=r,this.checkoutService=s,this.translate=d,this.cd=g,this.confgServ=O,this.auth=w,this.metaService=V,this.dialog=h,this.marketingService=b,this.registerService=N,this.toast=c,this.storage=U,this.windowService=y,this.getInitilizingData(),this.auth.userEmit.pipe(F(this.destroyRef)).subscribe(q=>{this.user.set(q)}),dt(()=>{let q=this.lang(),j=this.environmentVariables();j&&(q=="en"?this.metaService.setTitle(`Receipt - ${j?.APP_NAME}`):this.metaService.setTitle(`\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0647 - ${j?.APP_NAME_AR}`))})}ngAfterViewInit(){let t=this.storage.getLocal("auth_user_crocs",null),i=this.storage.getLocal("vistorId"),s=this.dataOrders()?.order?.items.map(g=>({id:g.id,quantity:g.amount,price:g.price}));this.environmentVariables()?.criteoPixelId&&this.marketingService.eventCriteoq(t,i,"trackTransaction",s)}countries;selectedCountry;getCountries(){this.environmentVariables()?.ENABLE_INTERNATIONAL_ADDRESS&&this.registerService.getCountries().pipe(F(this.destroyRef)).subscribe(i=>{if(i?.code==200){this.countries=i.data;let r=this.user();r?this.selectedCountry=this.countries.find(s=>s.id===r.phone_country_id):this.selectedCountry=this.countries[0]}})}ngOnInit(){this.route.queryParams.pipe(F(this.destroyRef)).subscribe(t=>
1{if(this.order_id=t.order_id,t.reference_order&&(this.isThereIsRefranceId.set(!0),this.getrefrences(t.reference_order)),t.order_id)if(this.success.set(!1),t.is_success=="true")this.embryoService.productCartSub.next([]),this.embryoService.productCartCount.next(0),this.embryoService.getProductCart(),this.success.set(!0),this.showSuccess.set(!0),this.isGuest=this.auth.isGuest(),this.storage.removeLocal("wafferx_params"),this.storage.removeLocal("last_payment_method"),this.storage.removeLocal("last_promo_code"),this.getData(this.order_id),this.cd.detectChanges();else{this.showSuccess.set(!1),this.loaded.set(!0),this.errorMessage.set(t.message);let i=this.storage.getLocal("last_payment_method",null);this.marketingService.dataLayerDynamicEvent("payment_failed",{payment_type:i||null,reason:t.message||null}),this.storage.removeLocal("last_payment_method"),this.storage.removeLocal("last_promo_code")}else if(!t.order_id&&t.is_success&&t.payment_reference&&t.message){this.orderNotFound.set(!0),this.loaded.set(!0),this.payment.set(!0),this.payment_refreence.set(t.payment_reference),this.payment_message.set(t.message);let i=this.storage.getLocal("last_payment_method",null);this.marketingService.dataLayerDynamicEvent("payment_failed",{payment_type:i||null,reason:t.message||null}),this.storage.removeLocal("last_payment_method"),this.storage.removeLocal("last_promo_code")}else this.route.params.pipe(F(this.destroyRef)).subscribe(i=>{i.id?(this.id=i.id,this.isGuest=this.auth.isGuest(),this.getData(this.id),this.embryoService.productCartSub.next([]),this.embryoService.productCartCount.next(0),this.embryoService.getProductCart(),this.success.set(!0)):(this.showSuccess.set(!1),this.errorMessage.set(t.message),this.loaded.set(!0),this.isThereIsRefranceId()?this.isLoadedFinish.set(!1):this.isLoadedFinish.set(!0))})}),this.getOrderRate()}getInitilizingData(){this.confgServ.getenvConfig().pipe(F(this.destroyRef)).subscribe(t=>{this.environmentVariables.set(t),this.getCountries()})}getData(t){this.checkoutService.getOrderById(t).pipe(F(this.destroyRef)).subscribe({next:i=>{let r=this.environmentVariables();if(i.code===200){if(this.order.set(i.data),i.data.id&&!i.data.is_skip&&i.data.rate==null&&i.data.state_id==4&&this.openRate(),!i.data?.purchase_event_sent){let d=this.marketingService.generateRandomTenDigitNumber();if(r?.fbPixelId&&!r?.DISABLE_FB_CONVERSION_WEBSITE_CALL){let h=JSON.parse(localStorage.getItem("auth_user_crocs")||"{}"),b=h.profile?.primary_address||h.addresses?.[0],N={em:h.email,ph:h.phone,fn:b?.customer_first_name||h.name?.split(" ")[0],ln:b?.customer_last_name||h.last_name||h.name?.split(" ")[1],db:h.birthdate,ct:b?.city?.name,country:b?.area?.name,st:b?.address,language:localStorage.getItem("lang")||"en"};this.marketingService.fbTracking("track","Purchase",{value:i.data.total,external_id:this.storage.getLocal("auth_user_crocs")?.id,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,content_ids:i.data.items.map(c=>c.sku),contents:i.data.items.map(c=>({id:c.sku,quantity:c.amount})),content_type:"product",userData:N},d)}if(r?.KEPIXEL_WRITE_KEY){let h=JSON.parse(localStorage.getItem("auth_user_crocs")||"{}");if(h?.id){let b=h.profile?.primary_address||h.addresses?.[0];this.marketingService.kepixelIdentify(h.id?.toString(),{email:h.email,phone:h.phone,name:h.name,firstName:b?.customer_first_name||h.name?.split(" ")[0],lastName:b?.customer_last_name||h.last_name||h.name?.split(" ")[1],birthday:h.birthdate,language:localStorage.getItem("lang")||"en",address:b?{street:b.address,city:b.city?.name,country:b.area?.name}:""})}this.marketingService.kepixelTracking("Order Completed",{order_id:i.data.id,value:i.data.total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,products:i.data.items.map(b=>({id:b.sku,quantity:b.amount,price:b.discount_price?b.discount_price:b.price,name:b.name}))}),this.marketingService.kepixelLogs({order_id:i.data.id,value:i.data.total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,products:i.data.items.map(b=>({id:b.sku,quantity:b.amount,price:b.discount_price?b.discount_price:b.price,name:b.name}))}).pipe(F(this.destroyRef)).subscribe()}let g=h=>{let N=this.document.cookie.split("; ").filter(c=>c.startsWith(h+"="));if(N.length===0)return null;if(N.length===1)return N[0].split("=")[1]},O=g("_fbc"),w=g("_fbp"),V={view_type:"purchase",data:{custom_data:{value:i.data?.invoice?.total_invoice,external_id:this.storage.getLocal("auth_user_crocs",null)?.id,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,content_ids:i.data.items.map(h=>h.sku),contents:i.data.items.map(h=>({id:h.sku,quantity:h.amount,item_price:(h.discount_price?h.discount_price:h.price)/h.amount})),content_type:"product"},order_id:i.data.id},event_id:d,fbc:O,fbp:w};this.marketingService.conversionApi(V).pipe(F(this.destroyRef)).subscribe(h=>{})}r?.tiktokPixelId&&!i.data?.purchase_event_sent&&this.marketingService.ttqTracking("track","Purchase",{value:i.data.total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,content_type:"product",contents:i.data.items.map(d=>({content_id:d.sku,content_type:"product",content_name:d.name,quantity:d.amount,price:d.discount_price?d.discount_price:d.price}))}),i.data?.purchase_event_sent||this.marketingService.snapTracking("track","PURCHASE",{item_ids:i.data.items.map(d=>d.sku),price:i.data.total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy}),r?.GOOGLE_CONVERSION_ID&&this.marketingService.googleConversionTracking("conversion",r?.GOOGLE_CONVERSION_ID,r?.GOOGLE_CONVERSION_LABEL_PURCHASE,r?.GOOGLE_CONVERSION_TRANSACTION_ID);let s=this.storage.getLocal("orders_ids",[]);s.includes(i.data.id)||(s.push(i.data.id),this.storage.setLocal("orders_ids",
1s),i.data.user_agent=="web"&&!i.data?.purchase_event_sent&&(this.marketingService.GA4PurchaseEvent(i?.data,r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy),this.marketingService.dataLayerPurchaseEvent(i?.data,r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy))),this.dataOrders.update(d=>{let g=[...d];return g[0]=i.data,g}),this.user.set(this.storage.getLocal("auth_user_crocs",null)),this.showSuccess.set(!0),this.storage.removeLocal("wafferx_params"),this.loaded.set(!0)}else(i.code=404)?(this.loaded.set(!0),this.showSuccess.set(!1),this.orderNotFound.set(!0)):this.toast.error(`${i.message}`);this.isLoadedFinish.set(!0)}})}getrefrences(t){this.checkoutService.getReferenceById(t).pipe(F(this.destroyRef)).subscribe({next:i=>{let r=this.environmentVariables();if(i.code===200){for(let s=0;s<i.data?.length;s++){if(r?.fbPixelId&&!r?.DISABLE_FB_CONVERSION_WEBSITE_CALL){let d=JSON.parse(localStorage.getItem("auth_user_crocs")||"{}"),g=d.profile?.primary_address||d.addresses?.[0],O={em:d.email,ph:d.phone,fn:g?.customer_first_name||d.name?.split(" ")[0],ln:g?.customer_last_name||d.last_name||d.name?.split(" ")[1],db:d.birthdate,ct:g?.city?.name,country:g?.area?.name,st:g?.address,language:localStorage.getItem("lang")||"en"};this.marketingService.fbTracking("track","Purchase",{value:i.data[s].total,external_id:this.storage.getLocal("auth_user_crocs")?.id,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,content_ids:i.data[s].items.map(w=>w.sku),contents:i.data[s].items.map(w=>({id:w.sku,quantity:w.amount})),content_type:"product",userData:O})}if(r?.KEPIXEL_WRITE_KEY){let d=JSON.parse(localStorage.getItem("auth_user_crocs")||"{}");if(d?.id){let g=d.profile?.primary_address||d.addresses?.[0];this.marketingService.kepixelIdentify(d.id?.toString(),{email:d.email,phone:d.phone,name:d.name,firstName:g?.customer_first_name||d.name?.split(" ")[0],lastName:g?.customer_last_name||d.last_name||d.name?.split(" ")[1],birthday:d.birthdate,language:localStorage.getItem("lang")||"en",address:g?{street:g.address,city:g.city?.name,country:g.area?.name}:""})}this.marketingService.kepixelTracking("Order Completed",{order_id:i.data.id,value:i.data.total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,products:i.data.items.map(g=>({id:g.sku,quantity:g.amount,price:g.discount_price?g.discount_price:g.price,name:g.name}))}),this.marketingService.kepixelLogs({order_id:i.data.id,value:i.data.total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,products:i.data.items.map(g=>({id:g.sku,quantity:g.amount,price:g.discount_price?g.discount_price:g.price,name:g.name}))}).pipe(F(this.destroyRef)).subscribe()}r?.tiktokPixelId&&this.marketingService.ttqTracking("track","Purchase",{value:i.data[s].total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy,content_type:"product",contents:i.data[s].items.map(d=>({content_id:d.sku,content_type:"product",content_name:d.name,quantity:d.amount,price:d.discount_price?d.discount_price:d.price}))}),this.marketingService.snapTracking("track","PURCHASE",{item_ids:i.data[s].items.map(d=>d.sku),price:i.data[s].total,currency:r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy}),this.marketingService.dataLayerPurchaseEvent(i?.data[s],r?.CURRENCY_CODE_EN?r?.CURRENCY_CODE_EN:r?.tempCurrentCurrancy)}this.dataOrders.set(i.data),this.user.set(this.storage.getLocal("auth_user_crocs",null)),this.showSuccess.set(!0),this.storage.removeLocal("wafferx_params"),this.loaded.set(!0)}else(i.code=404)?(this.loaded.set(!0),this.showSuccess.set(!1),this.orderNotFound.set(!0)):this.toast.error(`${i.message}`);this.isLoadedFinish.set(!0)}})}getDataGuest(t){this.checkoutService.getOrderGuestById(t).pipe(F(this.destroyRef)).subscribe({next:i=>{i.code===200&&(this.dataOrders.update(r=>{let s=[...r];return s[0]=i.data,s}),this.showSuccess.set(!0),this.loaded.set(!0)),this.isLoadedFinish.set(!0)}})}getDeliveryDate(){this.deliveryDate=new Date,this.deliveryDate.setDate(this.deliveryDate.getDate()+5)}calculateProductSinglePrice(t,i){let r=0;
1return i||(i=1),r=t.price*i,r}calculateTotalPrice(){let t=0;if(this.embryoService.buyUserCartProducts&&this.embryoService.buyUserCartProducts.length>0){for(let i of this.embryoService.buyUserCartProducts)i.quantity||(i.quantity=1),t+=i.price*i.quantity;return t}return t}getTotalPrice(){let t=0;if(this.embryoService.buyUserCartProducts&&this.embryoService.buyUserCartProducts.length>0){for(let i of this.embryoService.buyUserCartProducts)i.quantity||(i.quantity=1),t+=i.price*i.quantity;return t+=this.embryoService.shipping+this.embryoService.tax,t}return t}goToHome(){this.embryoService.removeBuyProducts(),this.router.navigate(["/"+this.lang()+"/"])}getOrderRate(){this.embryoService.rateData.pipe(F(this.destroyRef)).subscribe(t=>{this.orderrate=t,console.log("orderRate",this.orderrate)})}openRate(t){if(this.dialog.openDialogs&&this.dialog.openDialogs.length>0)return!1;let i=this.order(),r=this.dialog.open(At,{data:{id:this.id,rate:this.orderrate?.rate,driver_rate:this.orderrate?.driver_rate,feedback:this.orderrate?.feedback,showSkip:!1,showExit:!0,isDisableRate:t,orderId:i?.id,items:i?.items},width:"500px",disableClose:!0}).afterClosed().pipe(F(this.destroyRef)).subscribe(s=>{})}downloadPDF(t){this.windowService.getWindow()?.open(t,"_blank")}static \u0275fac=function(i){return new(i||e)(S(It),S(Ct),S(ut),S(Et),S(gt),S(ct),S(Pt),S(Tt),S(Lt),S(Mt),S(St),S(Bt),S(Ot),S(bt),S(yt))};static \u0275cmp=it({type:e,selectors:[["app-FinalReceipt"]],decls:1,vars:1,consts:[[1,"loading-container"],["data-testid","checkout-order-success",1,"inner-container","mh-half"],[1,"bg-white","final-receipt-page","section-gap","final-receipt-block",3,"ngClass"],[1,"final-receipt"],[1,"container"],[1,"col-gap","fx-layout-row-wrap","fx-layout-align-center-center"],[1,"fx-flex-xs-100","fx-flex-sm-100","fx-flex-md-60","fx-flex-lg-60","fx-flex-xl-60"],[1,"pt-0"],["id","payment-receipt"],[1,"text-center","bg-grey","p-5","mat-card-pad-none"],[1,"col-gap","fx-layout-row-wrap","fx-layout-align-none"],[1,"fx-flex-xs-100","fx-flex-sm-50","fx-flex-md-50","fx-flex-lg-50","fx-flex-xl-50","mobile-info-card"],[1,"mb-1"],[1,"pb-4","fx-flex-xs-100","fx-flex-sm-50","fx-flex-md-50","fx-flex-lg-50","fx-flex-xl-50","mobile-info-card"],[1,"mb-1","text-capitalize"],[1,"fx-flex-xs-100","fx-flex-sm-100","fx-flex-md-100","fx-flex-lg-100","fx-flex-xl-100"],[1,"mb-0","mobile-section-title"],[1,"col-gap","fx-layout-row-wrap","fx-layout-align-start-center","fx-no-wrap"],[1,"dark-border","spacer"],[1,"text-right","mobile-totals-section"],[1,"fx-layout-row-wrap"],[1,"fx-flex"],[1,"mx-1"],[1,"line-through","mx-1",2,"color","red","display","inline-block","height","30px","font-size","13px !important","margin-top","3px"],[1,"you-saved-row"],[1,"d-flex","my-2"],[1,"mb-4"],[1,"mb-2"],[1,"mb-0","my-3"],[1,"block","mt-3"],[1,"payment-method-block"],[1,"delivay-policy"],[1,"btn-group"],["loading","lazy","src","assets/images/checked.png","width","64","height","64","alt","Success","title","Success"],[1,"title-block"],[1,"fx-flex-xs-20","fx-flex-sm-25","fx-flex-md-20","fx-flex-lg-20","fx-flex-xl-20"],["loading","lazy","width","100","loading","lazy","onError","this.src='./assets/images/placeholder200.jpg';","default","./assets/images/placeholder200.jpg","title","cart Image",1,"fit-contain",3,"src","alt"],[1,"fx-flex-xs-30","fx-flex-sm-25","fx-flex-md-35","fx-flex-lg-35","fx-flex-xl-35",3,"ngClass"],[1,"paragraph-block"],[1,"font-bold"],[1,"product-name"],[1,"mb-0"],[1,"fx-flex-xs-25","fx-flex-sm-25","fx-flex-md-20","fx-flex-lg-20","fx-flex-xl-20",3,"ngClass"],[1,"fx-flex-xs-25","fx-flex-sm-20","fx-flex-md-20","fx-flex-lg-20","fx-flex-xl-20","price-column-mobile"],[1,"price-wrapper"],[1,"price-free"],[1,"defult-price-color",2,"font-size","13px !important",3,"ngClass"],[1,"quantity"],[1,"defult-price-color",3,"ngClass"],[1,"col-gap"],[2,"color","green","font-size","14px !important"],[1,"delivery-text","mb-2"],[1,"inc-vat"],[2,"color","#949494"],[3,"ngClass"],[1,"table","table-striped","table-hover","text-center"],["scope","col"],["mat-raised-button","","color","primary",1,"float-right","btn","btn-owls","btn-rounded","btn-green","mx-2","py-1","my-2",3,"click"],["aria-hidden","false",1,"material-icons","download-invoice","mx-2"],[1,"block-title"],[1,"block","p-0"],[1,"col-md-5","full-width"],[1,"fx-layout-row-wrap","mobile-order-details-block"],["translate","",1,"no-margin","police","block-message"],[1,"fx-layout-row-wrap","order-details-block"],[1,"col-md-2"],[1,"col-md-5"],[1,"mb-2",3,"innerHTML"],[1,"danger-color","transformed-lowercase",3,"href"],[1,"danger-color",3,"href"],[3,"innerHTML"],[1,"hotphone",3,"href"],["mat-raised-button","","color","accent",1,"button-lg",3,"routerLink"],[1,"failed","text-center","bg-grey","p-5","mat-card-pad-none"],[1,"p-2","text-center"],["loading","lazy","src","assets/images/close.svg","width","100","alt","close icon image","t
1itle","close icon image",1,""],[1,"py-2","failed-order"],[1,"mt-2","p-1","media-width-button","btn-area"],["loading","lazy","src","assets/images/checked.png","width","100","alt","checked image","title","checked image",1,""]],template:function(i,r){i&1&&C(0,Nn,3,1,"div"),i&2&&x(r.isLoadedFinish()?0:-1)},dependencies:[_t,Dt,wt,Rt,mt,ht,ft,xt,Nt,vt,st,pt,kt],styles:["button[_ngcontent-%COMP%]{background-color:var(--brand-color)!important}.loading[_ngcontent-%COMP%]{display:block;margin:auto;height:100px;width:100px;margin-top:12%!important}.line-through[_ngcontent-%COMP%]{text-decoration:line-through;color:red!important;text-decoration-color:red!important}.you-saved-row[_ngcontent-%COMP%]{width:100%;text-align:end}.failed-order[_ngcontent-%COMP%]{font-family:var(--font-family-en)!important}.payment-method-block[_ngcontent-%COMP%]{border-bottom:1px solid #ded9d9;border-top:1px solid #ded9d9;padding:40px 20px 20px;margin-top:10px;margin-bottom:20px}.full-width[_ngcontent-%COMP%]{width:100%}.mobile-order-details-block[_ngcontent-%COMP%]{height:auto;line-height:25px;margin-bottom:0}.block-message[_ngcontent-%COMP%]{padding-top:15px;padding-bottom:15px;margin-bottom:0}.delivay-policy[_ngcontent-%COMP%]{border-bottom:1px solid #ded9d9;border-top:1px solid #ded9d9;padding:40px 20px 20px;margin-top:10px;margin-bottom:20px}.order-details-block[_ngcontent-%COMP%]{height:auto;line-height:25px;margin-bottom:0}.danger-color[_ngcontent-%COMP%]{color:#ea5959}.transformed-lowercase[_ngcontent-%COMP%]{text-transform:lowercase}.hotphone[_ngcontent-%COMP%]{color:#ea5959;direction:ltr;display:inline-block}.loading-container[_ngcontent-%COMP%]{display:block;margin:auto;width:100px}.btn-area[_ngcontent-%COMP%]{width:400px;margin:5px auto}.mh-half[_ngcontent-%COMP%]{min-height:50vh}.final-receipt-block[_ngcontent-%COMP%]{padding:3rem 0}.title-block[_ngcontent-%COMP%]{display:inline-block}.fit-contain[_ngcontent-%COMP%]{object-fit:contain;max-height:125px}.paragraph-block[_ngcontent-%COMP%]{margin-bottom:0;margin-top:14px}.height-116[_ngcontent-%COMP%]{height:fit-content}.height-90[_ngcontent-%COMP%]{height:90px}thead[_ngcontent-%COMP%]{text-align:center}thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border-bottom:0;border-top:0}tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:middle}@media(min-width:960px){.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid #eee}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){flex:0 0 100px!important;max-width:100px!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){flex:1 1 auto!important;max-width:none!important;
1min-width:200px}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){flex:0 0 100px!important;max-width:100px!important;text-align:center}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){flex:0 0 180px!important;max-width:180px!important;text-align:start}}.price-wrapper[_ngcontent-%COMP%]{display:inline;white-space:nowrap}.price-wrapper[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:inline;white-space:nowrap}.price-wrapper[_ngcontent-%COMP%]   .price-free[_ngcontent-%COMP%]{display:inline;margin-inline-start:5px}.price-wrapper[_ngcontent-%COMP%]   .price-free[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline}@media(max-width:599px){.final-receipt-block[_ngcontent-%COMP%]{padding:1rem 0!important}.inner-container[_ngcontent-%COMP%]{padding:0 8px}mat-card[_ngcontent-%COMP%]{padding:12px!important;box-shadow:0 2px 8px #0000001a!important;border-radius:12px!important}.bg-grey[_ngcontent-%COMP%]{padding:20px 12px!important;border-radius:12px;margin-bottom:16px;margin-left:auto;margin-right:auto;max-width:90%}.bg-grey[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:14px!important;line-height:1.4;margin-bottom:12px!important;padding:0 8px}.bg-grey[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:48px!important;height:48px!important}.mobile-info-card[_ngcontent-%COMP%]{background:#f8f9fa;border-radius:10px;padding:14px;margin-bottom:12px}.mobile-info-card[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{font-size:14px!important;font-weight:600;color:var(--brand-color, #333);margin-bottom:10px;padding-bottom:8px;border-bottom:2px solid var(--brand-color, #ddd)}.mobile-info-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:13px!important;margin-bottom:6px!important;color:#555}h4[_ngcontent-%COMP%]{font-size:16px!important;font-weight:600;margin:16px 0 12px!important}.mobile-section-title[_ngcontent-%COMP%]{font-size:13px!important;font-weight:500;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px!important;padding-bottom:8px;border-bottom:1px solid #eee}.mobile-product-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:12px;margin-bottom:10px;box-shadow:0 1px 3px #0000000d}.mobile-product-card[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]{width:70px;min-width:70px;height:70px;border-radius:8px;overflow:hidden;background:#f5f5f5;display:flex;align-items:center;justify-content:center}.mobile-product-card[_ngcontent-%COMP%]   .product-image-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}.mobile-product-card[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]{flex:1;padding-left:12px;min-width:0}.mobile-product-card[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{font-size:13px!important;font-weight:500;color:#333;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mobile-product-card[_ngcontent-%COMP%]   .product-details[_ngcontent-%COMP%]   .product-meta[_ngcontent-%COMP%]{font-size:11px!important;color:#888;margin-bottom:2px}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-end;margin-top:10px;padding-top:10px;border-top:1px dashed #eee}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]   .qty-section[_ngcontent-%COMP%]   .qty-label[_ngcontent-%COMP%]{font-size:10px;color:#888;text-transform:uppercase}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]   .qty-section[_ngcontent-%COMP%]   .qty-value[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:#333}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]   .price-section[_ngcontent-%COMP%]{text-align:end}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]   .price-section[_ngcontent-%COMP%]   .original-price[_ngcontent-%COMP%]{font-size:11px!important;color:#999;text-decoration:line-through;display:block}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]   .price-section[_ngcontent-%COMP%]   .final-price[_ngcontent-%COMP%]{font-size:14px!important;font-weight:600;color:var(--brand-color, #333)}.mobile-product-card[_ngcontent-%COMP%]   .product-qty-price[_ngcontent-%COMP%]   .price-section[_ngcontent-%COMP%]   .free-item[_ngcontent-%COMP%]{font-size:12px!important;color:#28a745;font-weight:500}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%]{display:flex!important;flex-wrap:wrap!important;background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:12px!important;margin-bottom:10px;gap:0!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){flex:0 0 70px!important;max-width:70px!important;margin-inline-end:12px}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1)   img[_ngcontent-%COMP%]{width:70px!important;height:70px!important;border-radius:8px;object-fit:contain}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){flex:1 1 calc(100% - 82px)!important;max-width:calc(100% - 82px)!important;min-width:0}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2)   .paragraph-block[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:4px!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2)   .paragraph-block[_ngcontent-%COMP%]   .font-bold[_ngcontent-%COMP%]{display:none}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2)   .paragraph-block[_ngcontent-%COMP%]   .product-name[_ng
1content-%COMP%]{font-size:13px!important;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2)   p.mb-0[_ngcontent-%COMP%]{font-size:11px!important;color:#888;margin-bottom:2px!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2)   p.mb-0[_ngcontent-%COMP%]   .font-bold[_ngcontent-%COMP%]{display:none}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){flex:0 0 50%!important;max-width:50%!important;margin-top:12px;padding-top:10px;border-top:1px dashed #eee}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3)   h6[_ngcontent-%COMP%]{font-size:10px!important;color:#888;text-transform:uppercase;margin-bottom:2px!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3)   p[_ngcontent-%COMP%]{font-size:14px!important;font-weight:600;margin:0!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){flex:0 0 50%!important;max-width:50%!important;margin-top:12px;padding-top:10px;border-top:1px dashed #eee;text-align:end!important}.col-gap.fx-layout-row-wrap.fx-layout-align-start-center.fx-no-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4)   h6[_ngcontent-%COMP%]{font-size:10px!important;color:#888;text-transform:uppercase;margin-bottom:2px!important}.price-column-mobile[_ngcontent-%COMP%]{text-align:end}.price-wrapper[_ngcontent-%COMP%]{display:flex!important;flex-direction:column!important;gap:2px;align-items:flex-end}.price-wrapper[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;font-size:12px!important;line-height:1.3}.price-wrapper[_ngcontent-%COMP%]   .price-free[_ngcontent-%COMP%]{display:block!important;margin-top:2px}.price-wrapper[_ngcontent-%COMP%]   .price-free[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px!important;font-weight:600;color:var(--brand-color, #333)}.text-decoration-line-through-v2[_ngcontent-%COMP%]{font-size:10px!important;color:#999!important;margin-bottom:2px}.mobile-totals-section[_ngcontent-%COMP%]{background:#f8f9fa;border-radius:10px;padding:14px;margin-top:16px}.mobile-totals-section[_ngcontent-%COMP%]   .total-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #eee}.mobile-totals-section[_ngcontent-%COMP%]   .total-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.mobile-totals-section[_ngcontent-%COMP%]   .total-row.grand-total[_ngcontent-%COMP%]{border-top:2px solid #ddd;margin-top:8px;padding-top:12px}.mobile-totals-section[_ngcontent-%COMP%]   .total-row.grand-total[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .mobile-totals-section[_ngcontent-%COMP%]   .total-row.grand-total[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:15px!important;font-weight:600;color:#333}.mobile-totals-section[_ngcontent-%COMP%]   .total-row[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:13px!important;margin:0!important;color:#555}.mobile-totals-section[_ngcontent-%COMP%]   .total-row[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:13px!important;font-weight:500}.text-right.mobile-totals-section[_ngcontent-%COMP%]{background:#f8f9fa;border-radius:10px;padding:12px!important;margin-top:12px;text-align:start!important;display:block!important}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex!important;flex-wrap:wrap!important;align-items:baseline;width:100%;padding:8px 0;border-bottom:1px solid #eee}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{border-bottom:none}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:13px!important;margin:0!important;flex-shrink:0;white-space:nowrap}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h4[_ngcontent-%COMP%]{font-size:13px!important;margin:0!important;white-space:nowrap}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .fx-flex[_ngcontent-%COMP%]{flex:1 1 auto!important;min-width:8px}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:13px!important;white-space:nowrap;flex-shrink:0}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:11px!important;white-space:nowrap}.text-right.mobile-totals-section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .line-through[_ngcontent-%COMP%]{font-size:11px!important;color:#999!important;height:auto!important;margin-top:0!important}.line-through[_ngcontent-%COMP%]{font-size:11px!important;color:#999!important}.delivay-policy[_ngcontent-%COMP%]{padding:16px!important;margin-top:16px!important;border-radius:10px;background:#f8f9fa}.delivay-policy[_ngcontent-%COMP%]   .block-title[_ngcontent-%COMP%]   h4[_ng
1content-%COMP%]{font-size:14px!important;margin-bottom:12px!important}.delivay-policy[_ngcontent-%COMP%]   .block-message[_ngcontent-%COMP%]{font-size:12px!important;line-height:1.6}.delivay-policy[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}.payment-method-block[_ngcontent-%COMP%]{padding:16px!important;margin:12px 0!important;border-radius:10px;background:#fff9e6}.payment-method-block[_ngcontent-%COMP%]   .block-title[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:14px!important}.btn-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;padding:16px 0}.btn-group[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%!important;margin:0!important;padding:12px 20px!important;font-size:14px!important;border-radius:8px!important}.failed[_ngcontent-%COMP%]{padding:24px 16px!important;border-radius:12px}.failed[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:80px!important;height:80px!important}.failed[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:18px!important;margin-top:16px!important}.failed[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px!important}.btn-area[_ngcontent-%COMP%]{width:100%!important;padding:0 16px}.btn-area[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%!important}.table[_ngcontent-%COMP%]{font-size:11px!important}.table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:8px 4px!important}.table[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:10px!important;padding:6px 8px!important}.table[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:14px!important;width:14px!important;height:14px!important}.hide-mobile[_ngcontent-%COMP%]{display:none!important}.show-mobile[_ngcontent-%COMP%]{display:block!important}.fx-flex-xs-25[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{font-size:10px!important;color:#888;text-transform:uppercase;margin-bottom:2px!important}.fx-flex-xs-25[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:13px!important;font-weight:500;margin:0!important}.fx-flex-xs-30[_ngcontent-%COMP%]   .paragraph-block[_ngcontent-%COMP%]{margin-top:0!important}.fx-flex-xs-30[_ngcontent-%COMP%]   .paragraph-block[_ngcontent-%COMP%]   .font-bold[_ngcontent-%COMP%]{display:none}.fx-flex-xs-30[_ngcontent-%COMP%]   .paragraph-block[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{font-size:12px!important;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fx-flex-xs-30[_ngcontent-%COMP%]   p.mb-0[_ngcontent-%COMP%]{font-size:10px!important;color:#888}.fx-flex-xs-30[_ngcontent-%COMP%]   p.mb-0[_ngcontent-%COMP%]   .font-bold[_ngcontent-%COMP%]{display:none}hr.dark-border[_ngcontent-%COMP%]{margin:16px 0!important;border-color:#eee}app-currency[_ngcontent-%COMP%]   app-currency-sar-icon[_ngcontent-%COMP%]{width:12px!important;height:12px!important}.title-block[_ngcontent-%COMP%]{font-size:13px!important}.mb-1[_ngcontent-%COMP%]{margin-bottom:4px!important}.mb-2[_ngcontent-%COMP%]{margin-bottom:8px!important}.mb-4[_ngcontent-%COMP%]{margin-bottom:12px!important}.pb-4[_ngcontent-%COMP%]{padding-bottom:12px!important}.p-5[_ngcontent-%COMP%]{padding:16px!important}.fx-flex-xs-20[_ngcontent-%COMP%]{flex:0 0 60px!important;max-width:60px!important}.fx-flex-xs-30[_ngcontent-%COMP%]{flex:1 1 auto!important;max-width:none!important;min-width:0}.fx-flex-xs-25[_ngcontent-%COMP%]{flex:0 0 auto!important;max-width:none!important;min-width:50px}.height-116[_ngcontent-%COMP%], .height-90[_ngcontent-%COMP%]{height:auto!important}}@media(min-width:600px)and (max-width:959px){.final-receipt-block[_ngcontent-%COMP%]{padding:2rem 0}mat-card[_ngcontent-%COMP%]{padding:20px!important}.col-gap[_ngcontent-%COMP%]{gap:12px!important}.fit-contain[_ngcontent-%COMP%]{max-height:100px}}"]})}return e})();export{_i as FinalReceiptComponent};

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.