PageSourceSearch

https://nucor-fastener.com/chunk-OTU367II.js

js nucor-fastener.com collected 2026-10-07 02:01:46 UTC 98,823 bytes, 1 lines download raw bytes

1import{a as Jt}from"./chunk-HH4C3EOR.js";import{a as X}from"./chunk-TMIQXNZK.js";import{a as Z}from"./chunk-RFW4J62X.js";import{a as Y}from"./chunk-THYHJHGM.js";import{a as te}from"./chunk-ZHXVT7RV.js";import{a as jt}from"./chunk-BJ3FJQUO.js";import{a as Ut}from"./chunk-4V2XQZUA.js";import"./chunk-ZFPIIN4G.js";import"./chunk-VFGSK2ZR.js";import{a as Kt}from"./chunk-BV62PJG7.js";import"./chunk-ODFNYISZ.js";import"./chunk-2BMXEA5H.js";import"./chunk-CSORHSSI.js";import"./chunk-BSCXHMPL.js";import{f as Gt}from"./chunk-4T6P23E3.js";import"./chunk-IRTQGZ5H.js";import{H as Yt,h as Bt}from"./chunk-OIC6T4BG.js";import{a as Zt,b as Xt}from"./chunk-TN5CNVPX.js";import"./chunk-QJQN7EZS.js";import"./chunk-PGRHYESF.js";import"./chunk-HVXUXUPP.js";import"./chunk-MP2EA2WC.js";import"./chunk-ARXRLFP2.js";import"./chunk-4ZP4OX7G.js";import{a as K}from"./chunk-F4BI5774.js";import"./chunk-7YYEU5PM.js";import{f as Wt}from"./chunk-5GXW27VC.js";import{d as Nt,g as zt,h as Rt,i as qt}from"./chunk-UHF6UGZY.js";import"./chunk-YFU6CWUS.js";import"./chunk-MTLSSLVV.js";import{a as G}from"./chunk-D6GKABZB.js";import{a as Ht}from"./chunk-ILEAUVHB.js";import{D as $t,c as kt,h as Dt,i as Tt,k as Ft,n as It,o as Vt,w as Lt,x as At,y as Qt}from"./chunk-7MVIDXE6.js";import"./chunk-A3GSJ6EL.js";import"./chunk-AR4CUNRG.js";import{d as Et,g as lt}from"./chunk-FIDUW7QL.js";import"./chunk-6XDXCMO7.js";import{e as R,f as yt,m as wt,p as St}from"./chunk-K7ULS6C4.js";import"./chunk-X34TSPSD.js";import"./chunk-QKRDQ354.js";import{$ as N,$b as l,A as mt,Ac as z,Cb as xt,Da as ft,Db as Mt,Dc as s,E as _t,Ec as E,Fc as h,Gc as rt,Ic as k,Jc as D,Kc as T,L as gt,Lc as A,Nc as Ot,Oc as vt,Pc as Q,R as ht,Ub as it,Vb as _,Wb as g,Xb as L,Yb as w,Zb as S,_b as x,ac as r,bc as O,f as V,fc as ot,g as U,gc as at,hd as bt,ic as y,ja as B,ka as ut,mb as c,mc as u,na as Ct,oc as d,sc as Pt,tc as W,ua as C,uc as j,va as f,wb as b}from"./chunk-TPFUSCPX.js";import{a as nt,b as pt,h as H}from"./chunk-VZXUKQ6R.js";var ee=(()=>{class o{constructor(t){this.ngZone=t,this.destroy$=new V,this.componentMetrics$=new U(new Map),this.idleComponents=new Set,this.detachedComponents=new Map,this.PERFORMANCE_THRESHOLDS={maxRenderTime:16,maxChangeDetectionCycles:50,idleThreshold:5e3,memoryThreshold:500*1024*1024},this.initializeGlobalOptimizations()}initializeGlobalOptimizations(){this.monitorIdleState(),this.monitorMemoryUsage(),this.setupPerformanceObservers()}registerComponent(t,e,n={}){let i=nt({onPush:!0,detachOnIdle:!0,manualDetection:!1,debounceTime:100},n),a={componentName:t,renderTime:0,changeDetectionCycles:0,lastRenderTime:new Date,averageRenderTime:0},m=this.componentMetrics$.value;return m.set(t,a),this.componentMetrics$.next(m),new ct(t,e,i,this)}updateComponentMetrics(t,e,n){let i=this.componentMetrics$.value,a=i.get(t);if(a){let m=a.changeDetectionCycles+n,M=(a.averageRenderTime*a.changeDetectionCycles+e*n)/m,P=pt(nt({},a),{renderTime:e,changeDetectionCycles:m,lastRenderTime:new Date,averageRenderTime:M});i.set(t,P),this.componentMetrics$.next(i),this.checkPerformanceThresholds(P)}}checkPerformanceThresholds(t){let e=[];t.renderTime>this.PERFORMANCE_THRESHOLDS.maxRenderTime&&e.push(`High render time: ${t.renderTime.toFixed(2)}ms`),t.changeDetectionCycles>this.PERFORMANCE_THRESHOLDS.maxChangeDetectionCycles&&e.push(`High change detection cycles: ${t.changeDetectionCycles}`),e.length>0&&(console.warn(`Performance warning for ${t.componentName}:`,e),window.dispatchEvent(new CustomEvent("componentPerformanceWarning",{detail:{metrics:t,warnings:e}})))}monitorIdleState(){let t,e=()=>{clearTimeout(t),this.reattachIdleComponents(),t=setTimeout(()=>{this.markComponentsAsIdle()},this.PERFORMANCE_THRESHOLDS.idleThreshold)},n=["mousedown","mousemove","keypress","scroll","touchstart"];this.ngZone.runOutsideAngular(()=>{let i=n.map(a=>mt(document,a));_t(...i).pipe(N(this.destroy$),gt(100)).subscribe(()=>{e()})}),e()}markComponentsAsIdle(){let t=this.componentMetrics$.value,e=Date.now()-this.PERFORMANCE_THRESHOLDS.idleThreshold;t.forEach((n,i)=>{if(n.lastRenderTime.getTime()<e){this.idleComponents.add(i);let a=this.detachedComponents.get(i);a&&a.detach()}})}
1reattachIdleComponents(){this.idleComponents.forEach(t=>{let e=this.detachedComponents.get(t);e&&e.reattach()}),this.idleComponents.clear()}monitorMemoryUsage(){"memory"in performance&&setInterval(()=>{let t=performance.memory,e=t.usedJSHeapSize/1024/1024,n=t.jsHeapSizeLimit/1024/1024,i=e/n*100;(t.usedJSHeapSize>this.PERFORMANCE_THRESHOLDS.memoryThreshold||i>70)&&(console.warn("High memory usage detected:",{used:e.toFixed(2)+" MB",limit:n.toFixed(2)+" MB",percentUsed:i.toFixed(1)+"%"}),"gc"in window&&i>80&&(console.log("Attempting manual garbage collection..."),window.gc()))},3e4)}setupPerformanceObservers(){if("PerformanceObserver"in window)try{new PerformanceObserver(e=>{for(let n of e.getEntries())if(n.entryType==="measure"&&n.name.startsWith("ng-component-")){let i=n.name.replace("ng-component-","");this.updateComponentMetrics(i,n.duration,1)}}).observe({entryTypes:["measure"]})}catch(t){console.warn("PerformanceObserver not supported for component optimization")}}getComponentMetrics(){return this.componentMetrics$.asObservable()}getPerformanceSummary(){let t=this.componentMetrics$.value,e=Array.from(t.values());return{totalComponents:e.length,averageRenderTime:e.reduce((n,i)=>n+i.averageRenderTime,0)/e.length,slowestComponent:e.reduce((n,i)=>i.averageRenderTime>n.averageRenderTime?i:n,e[0]),totalChangeDetectionCycles:e.reduce((n,i)=>n+i.changeDetectionCycles,0),idleComponents:this.idleComponents.size,detachedComponents:this.detachedComponents.size}}forceChangeDetection(t){let e=this.detachedComponents.get(t);e&&e.detectChanges()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(e){return new(e||o)(Ct(ft))}}static{this.\u0275prov=B({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})(),ct=class{constructor(p,t,e,n){this.componentName=p,this.changeDetectorRef=t,this.strategy=e,this.service=n,this.destroy$=new V,this.renderStartTime=0,this.setupOptimizations()}setupOptimizations(){this.service.detachedComponents.set(this.componentName,this.changeDetectorRef),this.strategy.onPush&&(this.changeDetectorRef.detach(),this.strategy.manualDetection&&this.strategy.debounceTime&&this.setupDebouncedChangeDetection())}setupDebouncedChangeDetection(){let p,t=()=>{clearTimeout(p),p=setTimeout(()=>{this.changeDetectorRef.detectChanges()},this.strategy.debounceTime)};this.detectChanges=t}markRenderStart(){this.renderStartTime=performance.now()}markRenderEnd(){if(this.renderStartTime>0){let p=performance.now()-this.renderStartTime;this.service.updateComponentMetrics(this.componentName,p,1),this.renderStartTime=0}}detectChanges(){this.markRenderStart(),this.changeDetectorRef.detectChanges(),this.markRenderEnd()}reattach(){this.changeDetectorRef.reattach()}detach(){this.changeDetectorRef.detach()}isDetached(){return(this.changeDetectorRef._lView?.[2]&4)!==0}destroy(){this.destroy$.next(),this.destroy$.complete(),this.service.detachedComponents.delete(this.componentName)}};var ne=(()=>{class o{constructor(){this.destroy$=new V,this.componentSubscriptions=new Map,this.componentDestroySubjects=new Map,this.memoryMetrics$=new U(new Map),this.subscriptionInfo=new Map,this.nextSubscriptionId=0,this.MEMORY_THRESHOLDS={maxSubscriptions:50,maxMemoryUsage:500*1024*1024,subscriptionLeakThreshold:20,cleanupInterval:3e4},this.startMemoryMonitoring(),this.startPeriodicCleanup()}registerComponent(t){if(!this.componentSubscriptions.has(t)){this.componentSubscriptions.set(t,new Map),this.componentDestroySubjects.set(t,new V);let e={componentName:t,subscriptionCount:0,memoryUsage:0,lastCleanup:new Date,leakWarnings:0},n=this.memoryMetrics$.value;n.set(t,e),this.memoryMetrics$.next(n)}return new dt(t,this)}addSubscription(t,e,n="unknown"){let i=`sub_${this.nextSubscriptionId++}`,a=this.componentSubscriptions.get(t);return a&&a.set(i,e),this.subscriptionInfo.set(i,{id:i,componentName:t,createdAt:new Date,isActive:!0,source:n}),this.updateSubscriptionCount(t),this.checkForMemoryLeaks(t),i}removeSubscription(t,e){let n=this.componentSubscriptions.get(t);if(n){let a=n.get(e);a&&!a.closed&&a.unsubscribe(),n.delete(e)}let i=this.subscriptionInfo.get(e);i&&(i.isActive=!1,this.subscriptionInfo.set(e,i)),this.updateSubscriptionCount(t)}getDestroySubject(t){let e=this.componentDestroySubjects.get(t);return e||(e=new V,this.componentDestroySubjects.set(t,e)),e}cleanupComponent(t){let e=this.componentSubscriptions.get(t);e&&(e.forEach(m=>{m.closed||m.unsubscribe()}),e.clear());let n=this.componentDestroySubjects.get(t);n&&(n.next(),n.complete());let i=this.memoryMetrics$.value,a=i.get(t);a&&(a.subscriptionCount=0,a.lastCleanup=new Date,i.set(t,a),this.memoryMetrics$.next(i)),this.componentSubscriptions.delete(t),this.componentDestroySubjects.delete(t)}updateSubscriptionCount(t){let e=this.componentSubscriptions.get(t),n=e?Array.from(e.values()).filter(m=>!m.closed).length:0,i=this.memoryMetrics$.value,a=i.get(t);a&&(a.subscriptionCount=n,i.set(t,a),this.memoryMetrics$.next(i))}checkForMemoryLeaks(t){let e=this.componentSubscriptions.get(t);if(e&&e.size>this.MEMORY_THRESHOLDS.subscriptionLeakThreshold){let n=this.memoryMetrics$.value,i=n.get(t);i&&(i.leakWarnings++,n.set(t,i),this.memoryMetrics$.next(n),console.warn(`Potential memory leak detected in ${t}: ${e.size} active subscriptions`),window.dispatchEvent(new CustomEvent("memoryLeakWarning",{detail:{componentName:t,subscriptionCount:e.size}})))}}startMemoryMonitoring(){"memory"in performance&&(this.memoryMonitorInterval=setInterval(()=>{let t=performance.memory,e=t.usedJSHeapSize,n=e/1024/1024,i=t.jsHeapSizeLimit/1024/1024,a=n/i*100,m=this.memoryMetrics$.value;m.forEach((M,P)=>{M.memoryUsage=e}),this.memoryMetrics$.next(m),(e>this.MEMORY_THRESHOLDS.maxMemoryUsage||a>70)&&(console.warn("High memory usage detected:",{used:n.toFixed(2)+" MB",threshold:(this.MEMORY_THRESHOLDS.maxMemoryUsage/1024/1024).toFixed(2)+" MB",percentUsed:a.toFixed(1)+"%",limit:i.toFixed(2)+" MB"}),a>80&&(console.log("Performing emergency cleanup..."),this.performEmergencyCleanup()))},3e4))}startPeriodicCleanup(){this.cleanupInterval=setInterval(()=>
1{this.performPeriodicCleanup()},this.MEMORY_THRESHOLDS.cleanupInterval)}performPeriodicCleanup(){this.componentSubscriptions.forEach((e,n)=>{let i=[];e.forEach((a,m)=>{a.closed&&i.push(m)}),i.forEach(a=>e.delete(a)),this.updateSubscriptionCount(n)});let t=Date.now()-1440*60*1e3;this.subscriptionInfo.forEach((e,n)=>{!e.isActive&&e.createdAt.getTime()<t&&this.subscriptionInfo.delete(n)})}performEmergencyCleanup(){console.log("Performing emergency memory cleanup..."),"gc"in window&&window.gc();let t=Date.now()-300*1e3;this.memoryMetrics$.value.forEach((n,i)=>{n.lastCleanup.getTime()<t&&(console.log(`Emergency cleanup for inactive component: ${i}`),this.cleanupComponent(i))})}getMemoryMetrics(){return this.memoryMetrics$.asObservable()}getMemorySummary(){let t=this.memoryMetrics$.value,e=Array.from(t.values());return{totalComponents:e.length,totalSubscriptions:e.reduce((n,i)=>n+i.subscriptionCount,0),averageSubscriptionsPerComponent:e.length>0?e.reduce((n,i)=>n+i.subscriptionCount,0)/e.length:0,componentsWithLeaks:e.filter(n=>n.leakWarnings>0).length,totalLeakWarnings:e.reduce((n,i)=>n+i.leakWarnings,0),currentMemoryUsage:e.length>0?e[0].memoryUsage:0}}getSubscriptionDetails(){return Array.from(this.subscriptionInfo.values())}forceCleanupAll(){Array.from(this.componentSubscriptions.keys()).forEach(e=>this.cleanupComponent(e))}ngOnDestroy(){clearInterval(this.memoryMonitorInterval),clearInterval(this.cleanupInterval),this.destroy$.next(),this.destroy$.complete(),this.forceCleanupAll()}static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275prov=B({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})(),dt=class{constructor(p,t){this.componentName=p,this.service=t,this.subscriptions=new Map}autoUnsubscribe(p,t){let e=this.service.getDestroySubject(this.componentName);return p.pipe(N(e),ht(()=>{}))}addSubscription(p,t){let e=this.service.addSubscription(this.componentName,p,t);return this.subscriptions.set(e,e),e}removeSubscription(p){this.service.removeSubscription(this.componentName,p),this.subscriptions.delete(p)}getSubscriptionCount(){return this.subscriptions.size}subscribe(p,t,e,n,i){let a=this.autoUnsubscribe(p,i).subscribe({next:t,error:e,complete:n});return this.addSubscription(a,i)}cleanup(){this.service.cleanupComponent(this.componentName),this.subscriptions.clear()}destroy(){this.cleanup()}};var ce=["MessageModal"],se=["DModal"],de=["xcelModal"],pe=()=>({standalone:!0}),J=o=>({disabled:o}),oe=o=>({active:o});function me(o,p){o&1&&(l(0,"div",3)(1,"div",40),O(2,"mat-spinner",41),l(3,"p"),s(4,"Loading products..."),r()()()),o&2&&(c(2),x("diameter",50))}function _e(o,p){o&1&&(O(0,"mat-spinner",43),l(1,"span",44),s(2,"Loading customers..."),r()),o&2&&x("diameter",24)}function ge(o,p){if(o&1&&(l(0,"option",35),s(1),r()),o&2){let t=p.$implicit;x("value",A(t.id)),c(),E(t.itemName)}}function he(o,p){o&1&&O(0,"mat-spinner",50),o&2&&x("diameter",20)}function ue(o,p){o&1&&O(0,"img",51)}function Ce(o,p){if(o&1){let t=y();l(0,"label",45),s(1,"Customers:"),r(),l(2,"select",46),T("ngModelChange",function(n){C(t);let i=d(2);return D(i.customerSelected,n)||(i.customerSelected=n),f(n)}),u("ngModelChange",function(){C(t);let n=d(2);return f(n.customerSelectedOrder(n.customerSelected))}),w(3,ge,2,3,"option",35,L),r(),l(5,"button",47),u("click",function(){C(t);let n=d(2);return f(n.Uploadxcel())}),s(6,"Upload Excel"),r(),l(7,"a",48),u("click",function(){C(t);let n=d(2);return f(n.productsExportToExcel())}),l(8,"div",49),_(9,he,1,1,"mat-spinner",50),_(10,ue,1,0,"img",51),r()()}if(o&2){let t=d(2);c(2),k("ngModel",t.customerSelected),c(),S(t.customers),c(4),z("disabled",t.isLoadingExport),c(2),g(t.isLoadingExport?9:-1),c(),g(t.isLoadingExport?-1:10)}}function fe(o,p){if(o&1&&(l(0,"div",13)(1,"div",42),_(2,_e,3,1),_(3,Ce,11,5),r()()),o&2){let t=d();c(2),g(t.isLoadingCustomers?2:-1),c(),g(t.isLoadingCustomers?-1:3)}}function xe(o,p){o&1&&(l(0,"div",6),O(1,"div",5),r())}function Me(o,p){o&1&&(l(0,"div",14),s(1," Please select filters and click submit to Place an Order "),r())}function Pe(o,p){o&1&&O(0,"mat-spinner",67),o&2&&x("diameter",16)}function Oe(o,p){o&1&&(l(0,"span"),s(1,"Save Sort"),r())}function ve(o,p){o&1&&(l(0,"span"),s(1,"Saving..."),r())}function be(o,p){if(o&1){let t=y();l(0,"a",94),u("click",function(){C(t);let n=d(2).$implicit,i=d(3);return f(i.desc("isDesc",n))}),O(1,"span",95),r()}}function ye(o,p){if(o&1){let t=y();l(0,"a",96),u("click",function(){C(t);let n=d(2).$implicit,i=d(3);return f(i.desc("!isDesc",n))}),O(1,"span",97),r()}}function we(o,p){if(o&1){let t=y();l(0,"li",101)(1,"a",105),u("click",function(){let n=C(t).$implicit,i=d(3).$implicit,a=d(3);return f(a.setProdDetailsPagination(n,i))}),s(2),r()()}if(o&2){let t=p.$implicit,e=d(3).$implicit,n=d(3);x("ngClass",Q(2,oe,n.prodDetailPager[e].currentPage===t)),c(2),E(t)}}function Se(o,p){if(o&1){let t=y();l(0,"ul",79)(1,"li",98)(2,"a",99),u("click",function(){C(t);let n=d(2).$implicit,i=d(3);return f(i.setProdDetailsPagination(1,n))}),O(3,"span",100),r()(),w(4,we,3,4,"li",101,L),l(6,"li",102)(7,"a",103),u("click",function(){C(t);let n=d(2).$implicit,i=d(3);return f(i.setProdDetailsPagination(i.prodDetailPager[n].totalPages,n))}),O(8,"span",104),r()()()}if(o&2){let t=d(2).$implicit,e=d(3);c(),x("ngClass",Q(2,J,e.prodDetailPager[t].currentPage===1)),c(3),S(e.prodDetailPager[t].pages),c(2),x("ngClass",Q(4,J,e.prodDetailPager[t].currentPage===e.prodDetailPager[t].totalPages))}}function Ee(o,p){o&1&&(l(0,"div",89)(1,"label"),s(2,"Select Quantity"),r()())}function ke(o,p){o&1&&(l(0,"div",86)(1,"label"),s(2,"Select Partial"),r()())}
1function De(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.itemId," ")}}function Te(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.itemId," ")}}function Fe(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.productDescription," ")}}function Ie(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.productDescription," ")}}function Ve(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.grade," ")}}function Le(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.grade," ")}}function Ae(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.finish," ")}}function Qe(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.finish," ")}}function $e(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.weightPerPiece," ")}}function Ne(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.weightPerPiece," ")}}function ze(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.kegQuantity," ")}}function Re(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.kegQuantity," ")}}function qe(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.qtyAvailable," ")}}function He(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.qtyAvailable," ")}}function Ue(o,p){if(o&1&&s(0),o&2){let t=d().$implicit;h(" ",t.capacityDate," ")}}function Be(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.capacityDate," ")}}function We(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.capacityDate," ")}}function je(o,p){if(o&1&&(_(0,Be,2,1,"span",107),_(1,We,2,1,"span")),o&2){let t=d().$implicit,e=d(5);g(e.searchValue!==""&&(t.capacityDate&&t.capacityDate.indexOf(e.searchValue)!==-1)?0:-1),c(),g(e.searchValue==""||!(t.capacityDate&&t.capacityDate.indexOf(e.searchValue)!==-1)?1:-1)}}function Ge(o,p){if(o&1&&(l(0,"span",109),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.customerPartNumber," ")}}function Ke(o,p){if(o&1&&(l(0,"span",110),s(1),r()),o&2){let t=d().$implicit;c(),h(" ",t.customerPartNumber," ")}}function Ye(o,p){o&1&&(l(0,"p"),s(1," Please Inquire"),r())}function Ze(o,p){if(o&1&&(l(0,"option",35),s(1),r()),o&2){let t=p.$implicit,e=d(3).$implicit;x("value",A(t)),c(),E(t*e.kegQuantity)}}function Xe(o,p){if(o&1){let t=y();l(0,"select",114),T("ngModelChange",function(n){C(t);let i=d(2).$implicit;
1return D(i.QuantityOrdered,n)||(i.QuantityOrdered=n),f(n)}),u("ngModelChange",function(){C(t);let n=d(2).$implicit,i=d(5);return f(i.AddProductToCart(n))}),l(1,"option",115),s(2,"0"),r(),w(3,Ze,2,3,"option",35,L),r()}if(o&2){let t=d(2).$implicit;k("ngModel",t.QuantityOrdered),c(3),S(t.KegQtys)}}function Je(o,p){if(o&1&&(l(0,"div",86)(1,"label"),s(2,"Select Quantity"),r(),_(3,Ye,2,0,"p"),_(4,Xe,5,1,"select",113),r()),o&2){let t=d().$implicit;c(3),g(t.noPrice?3:-1),c(),g(t.noPrice?-1:4)}}function tn(o,p){if(o&1&&(l(0,"option",35),s(1),r()),o&2){let t=p.$implicit;x("value",A(t.quantity)),c(),E(t.quantity)}}function en(o,p){if(o&1){let t=y();l(0,"select",117),T("ngModelChange",function(n){C(t);let i=d(2).$implicit;return D(i.partialOrder,n)||(i.partialOrder=n),f(n)}),u("ngModelChange",function(){C(t);let n=d(2).$implicit,i=d(5);return f(i.AddProductToCart(n))}),l(1,"option",115),s(2,"0"),r(),w(3,tn,2,3,"option",35,L),r()}if(o&2){let t=d(2).$implicit;k("ngModel",t.partialOrder),x("disabled",t.partialOrders.length===0),c(3),S(t.partialOrders)}}function nn(o,p){if(o&1&&(l(0,"div",111)(1,"label"),s(2,"Select Partial Quantity"),r(),_(3,en,5,2,"select",116),r()
1),o&2){let t=d().$implicit;c(3),g(t.noPrice?-1:3)}}function on(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.partNumber," ")}}function an(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.partNumber," ")}}function rn(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.description," ")}}function ln(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.description," ")}}function cn(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.boltGrade," ")}}function sn(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.boltGrade," ")}}function dn(o,p){if(o&1&&(l(0,"div",86)(1,"label"),s(2,"Grade"),r(),_(3,cn,2,1,"span",107),_(4,sn,2,1,"span"),r()),o&2){let t=d(2).$implicit,e=d(5);c(3),g(e.searchValue!==""&&(t.boltGrade&&t.boltGrade.toLowerCase().indexOf(e.searchValue)!==-1)?3:-1),c(),g(e.searchValue==""||!(t.boltGrade&&t.boltGrade.toLowerCase().indexOf(e.searchValue)!==-1)?4:-1)}}function pn(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.finish," ")}}function mn(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.finish," ")}}function _n(o,p){if(o&1&&(l(0,"div",88)(1,"label"),s(2,"Coating"),r(),_(3,pn,2,1,"span",107),_(4,mn,2,1,"span"),r()),o&2){let t=d(2).$implicit,e=d(5);c(3),g(e.searchValue!==""&&(t.finish&&t.finish.toString().toLowerCase().indexOf(e.searchValue)!==-1)?3:-1),c(),g(e.searchValue==""||!(t.finish&&t.finish.toString().toLowerCase().indexOf(e.searchValue)!==-1)?4:-1)}}function gn(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.weightPerUOM," ")}}function hn(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.weightPerUOM," ")}}function un(o,p){if(o&1&&(l(0,"div",88)(1,"label"),s(2,"Weight/EA"),r(),_(3,gn,2,1,"span",107),_(4,hn,2,1,"span"),r()),o&2){let t=d(2).$implicit,e=d(5);c(3),g(e.searchValue!==""&&(t.weightPerUOM&&t.weightPerUOM.toString().toLowerCase().indexOf(e.searchValue)!==-1)?3:-1),c(),g(e.searchValue==""||!(t.weightPerUOM&&t.weightPerUOM.toString().toLowerCase().indexOf(e.searchValue)!==-1)?4:-1)}}function Cn(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.kegQuantity," ")}}function fn(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.kegQuantity," ")}}function xn(o,p){if(o&1&&(l(0,"span",107),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.qtyAvailable," ")}}function Mn(o,p){if(o&1&&(l(0,"span"),s(1),r()),o&2){let t=d(2).$implicit;c(),h(" ",t.qtyAvailable," ")}}function Pn(o,p){if(o&1&&(l(0,"span",109),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.CustomerPartnum," ")}}function On(o,p){if(o&1&&(l(0,"span",110),s(1),r()),o&2){let t=d(3).$implicit;c(),h(" ",t.CustomerPartnum," ")}}function vn(o,p){if(o&1&&(l(0,"div",86)(1,"label"),s(2,"Customer Part#"),r(),_(3,Pn,2,1,"span",109),_(4,On,2,1,"span",110),r()),o&2){let t=d(2).$implicit,e=d(5);c(3),g(e.searchValue!==""&&(t.CustomerPartnum&&t.CustomerPartnum.toString().toLowerCase().indexOf(e.searchValue)!==-1)?3:-1),c(),g(e.searchValue==""||!(t.CustomerPartnum&&t.CustomerPartnum.toString().toLowerCase().indexOf(e.searchValue)!==-1)?4:-1)}}function bn(o,p){if(o&1&&(l(0,"option",35),s(1),r()),o&2){let t=p.$implicit,e=d(3).$implicit;x("value",A(t)),c(),E(t*e.kegQuantity)}}function yn(o,p){if(o&1){let t=y();l(0,"div",86)(1,"label"),s(2,"Select Quantity"),r(),l(3,"select",114),T("ngModelChange",function(n){C(t);let i=d(2).$implicit;
1return D(i.QuantityOrdered,n)||(i.QuantityOrdered=n),f(n)}),u("ngModelChange",function(){C(t);let n=d(2).$implicit,i=d(5);return f(i.AddProductToCart(n))}),l(4,"option",115),s(5,"0"),r(),w(6,bn,2,3,"option",35,L),r()()}if(o&2){let t=d(2).$implicit;c(3),k("ngModel",t.QuantityOrdered),c(3),S(t.KegQtys)}}function wn(o,p){if(o&1&&(l(0,"option",35),s(1),r()),o&2){let t=p.$implicit;x("value",A(t.quantity)),c(),E(t.quantity)}}function Sn(o,p){if(o&1){let t=y();l(0,"div",111)(1,"label"),s(2,"Select Partial Quantity"),r(),l(3,"select",117),T("ngModelChange",function(n){C(t);let i=d(2).$implicit;return D(i.partialOrders,n)||(i.partialOrders=n),f(n)}),u("ngModelChange",function(){C(t);let n=d(2).$implicit,i=d(5);return f(i.AddProductToCart(n))}),l(4,"option",115),s(5,"0"),r(),w(6,wn,2,3,"option",35,L),r()()}if(o&2){let t=d(2).$implicit;c(3),k("ngModel",t.partialOrders),x("disabled",t.partialOrders.length===0),c(3),S(t.partialOrders)}}function En(o,p){if(o&1&&(l(0,"div",112)(1,"div",106)(2,"div",83)(3,"div",84)(4,"div",85)(5,"div",86)(6,"label"),s(7,"Part#"),r(),_(8,on,2,1,"span",107),_(9,an,2,1,"span"),r(),l(10,"div",86)(11,"label"),s(12,"Desc"),r(),_(13,rn,2,1,"span",107),_(14,ln,2,1,"span"),r(),_(15,dn,5,2,"div",86),_(16,_n,5,2,"div",88),_(17,un,5,2,"div",88),l(18,"div",88)(19,"label"),s(20,"Keg Qty"),r(),_(21,Cn,2,1,"span",107),_(22,fn,2,1,"span"),r(),l(23,"div",88)(24,"label"),s(25,"Qty Avail."),r(),_(26,xn,2,1,"span",107),_(27,Mn,2,1,"span"),r(),_(28,vn,5,2,"div",86),_(29,yn,8,1,"div",86),_(30,Sn,8,2,"div",111),r()()()()()),o&2){let t=d(),e=t.$implicit,n=t.$index,i=d(5);c(2),z("altRow",n%2===0)("evenRow",n%2!==0),c(6),g(i.searchValue!==""&&(e.partNumber&&e.partNumber.toLowerCase().indexOf(i.searchValue)!==-1)?8:-1),c(),g(i.searchValue==""||!(e.partNumber&&e.partNumber.toLowerCase().indexOf(i.searchValue)!==-1)?9:-1),c(4),g(e.IsSearchBydescription?13:-1),c(),g(e.IsSearchBydescription?-1:14),c(),g(i.gradeHide?15:-1),c(),g(i.coatingHide?16:-1),c(),g(i.weightHide?17:-1),c(4),g(i.searchValue!==""&&(e.kegQuantity&&e.kegQuantity.toString().toLowerCase().indexOf(i.searchValue)!==-1)?21:-1),c(),g(i.searchValue==""||!(e.kegQuantity&&e.kegQuantity.toString().toLowerCase().indexOf(i.searchValue)!==-1)?22:-1),c(4),g(i.searchValue!==""&&(e.qtyAvailable&&e.qtyAvailable.toString().toLowerCase().indexOf(i.searchValue)!==-1)?26:-1),c(),g(i.searchValue==""||!(e.qtyAvailable&&e.qtyAvailable.toString().toLowerCase().indexOf(i.searchValue)!==-1)?27:-1),c(),g(i.customerParHide?28:-1),c(),g(!i.admin||i.admin&&i.isshadowing&&i.enterOrder?29:-1),c(),g(!i.admin||i.admin&&i.isshadowing&&i.enterOrder?30:-1)}}function kn(o,p){if(o&1&&(l(0,"div",91),ot(1),l(2,"div",106)(3,"div",83)(4,"div",84)(5,"div",85)(6,"div",86)(7,"label"),s(8,"Part#"),r(),_(9,De,2,1,"span",107),_(10,Te,2,1,"span"),r(),l(11,"div",108)(12,"label"),s(13,"Desc"),r(),_(14,Fe,2,1,"span",107),_(15,Ie,2,1,"span"),r(),l(16,"div",86)(17,"label"),s(18,"Grade"),r(),_(19,Ve,2,1,"span",107),_(20,Le,2,1,"span"),r(),l(21,"div",88)(22,"label"),s(23,"Coating"),r(),_(24,Ae,2,1,"span",107),_(25,Qe,2,1,"span"),r(),l(26,"div",88)(27,"label"),s(28,"Weight/EA"),r(),_(29,$e,2,1,"span",107),_(30,Ne,2,1,"span"),r(),l(31,"div",88)(32,"label"),s(33,"Keg Qty"),r(),_(34,ze,2,1,"span",107),_(35,Re,2,1,"span"),r(),l(36,"div",88)(37,"label"),s(38,"Qty Avail."),r(),_(39,qe,2,1,"span",107),_(40,He,2,1,"span"),r(),l(41,"div",86)(42,"label"),s(43,"ATP Date"),r(),_(44,Ue,1,1),_(45,je,2,2),r(),l(46,"div",86)(47,"label"),s(48,"Customer Part#"),r(),_(49,Ge,2,1,"span",109),_(50,Ke,2,1,"span",110),r(),_(51,Je,5,2,"div",86),_(52,nn,4,1,"div",111),r()()()(),at(),_(53,En,31,18,"div",112),r()),o&2){let t=p.$implicit,e=p.$index,n=d(5);c(3),z("altRow",e%2===0)("evenRow",e%2!==0),c(6),g(n.searchValue!==""&&(t.itemId&&t.itemId.toLowerCase().indexOf(n.searchValue)!==-1)?9:-1),c(),g(n.searchValue==""||!(t.itemId&&t.itemId.toLowerCase().indexOf(n.searchValue)!==-1)?10:-1),c(4),g(t.IsSearchBydescription?14:-1),c(),g(t.IsSearchBydescription?-1:15),c(4),g(n.searchValue!==""&&(t.grade&&t.grade.toLowerCase().indexOf(n.searchValue)!==-1)?19:-1),c(),g(n.searchValue==""||!(t.grade&&t.grade.toLowerCase().indexOf(n.searchValue)!==-1)?20:-1),c(4),g(n.searchValue!==""&&(t.finish&&t.finish.toString().toLowerCase().indexOf(n.searchValue)!==-1)?24:-1),c(),g(n.searchValue==""||!(t.finish&&t.finish.toString().toLowerCase().indexOf(n.searchValue)!==-1)?25:-1),c(4),g(n.searchValue!==""&&(t.weightPerPiece&&t.weightPerPiece.toString().toLowerCase().indexOf(n.searchValue)!==-1)?29:-1),c(),g(n.searchValue==""||!(t.weightPerPiece&&t.weightPerPiece.toString().toLowerCase().indexOf(n.searchValue)!==-1)?30:-1),c(4),g(n.searchValue!==""&&(t.kegQuantity&&t.kegQuantity.toString().toLowerCase().indexOf(n.searchValue)!==-1)?34:-1),c(),g(n.searchValue==""||!(t.kegQuantity&&t.kegQuantity.toString().toLowerCase().indexOf(n.searchValue)!==-1)?35:-1),c(4),g(n.searchValue!==""&&(t.qtyAvailable&&t.qtyAvailable.toString().toLowerCase().indexOf(n.searchValue)!==-1)?39:-1),c(),g(n.searchValue==""||!(t.qtyAvailable&&t.qtyAvailable.toString().toLowerCase().indexOf(n.searchValue)!==-1)?40:-1),c(4),g(t.capacityDate==""?44:-1),c(),g(t.capacityDate!=""?45:-1),c(4),g(n.searchValue!==""&&(t.customerPartNumber&&t.customerPartNumber.toString().toLowerCase().indexOf(n.searchValue)!==-1)?49:-1),c(),g(n.searchValue==""||!(t.customerPartNumber&&t.customerPartNumber.toString().toLowerCase().indexOf(n.searchValue)!==-1)?50:-1),c(),g(n.enterOrder?51:-1),c(),g(n.enterOrder?52:-1),c(),g(t.showDropDown==!1&&t.ShowDup?53:-1)}}
1function Dn(o,p){if(o&1){let t=y();l(0,"li",101)(1,"a",105),u("click",function(){let n=C(t).$implicit,i=d(3).$implicit,a=d(3);return f(a.setProdDetailsPagination(n,i))}),s(2),r()()}if(o&2){let t=p.$implicit,e=d(3).$implicit,n=d(3);x("ngClass",Q(2,oe,n.prodDetailPager[e].currentPage===t)),c(2),E(t)}}function Tn(o,p){if(o&1){let t=y();l(0,"ul",79)(1,"li",98)(2,"a",99),u("click",function(){C(t);let n=d(2).$implicit,i=d(3);return f(i.setProdDetailsPagination(1,n))}),O(3,"span",100),r()(),w(4,Dn,3,4,"li",101,L),l(6,"li",102)(7,"a",103),u("click",function(){C(t);let n=d(2).$implicit,i=d(3);return f(i.setProdDetailsPagination(i.prodDetailPager[n].totalPages,n))}),O(8,"span",104),r()()()}if(o&2){let t=d(2).$implicit,e=d(3);c(),x("ngClass",Q(2,J,e.prodDetailPager[t].currentPage===1)),c(3),S(e.prodDetailPager[t].pages),c(2),x("ngClass",Q(4,J,e.prodDetailPager[t].currentPage===e.prodDetailPager[t].totalPages))}}function Fn(o,p){if(o&1){let t=y();l(0,"div",52)(1,"div",5)(2,"div",8)(3,"div",53)(4,"span",54),s(5),r()(),l(6,"div",53)(7,"div",55)(8,"label",56),s(9,"Sort by:"),r(),l(10,"select",57),T("ngModelChange",function(n){C(t);let i=d(4);return D(i.sortOrder,n)||(i.sortOrder=n),f(n)}),u("ngModelChange",function(n){C(t);let i=d().$implicit,a=d(3);return f(a.sort(n,i,a.getSecuredProducts[i]))}),l(11,"option",58),s(12,"Part#"),r(),l(13,"option",59),s(14,"Desc"),r(),l(15,"option",60),s(16,"Grade"),r(),l(17,"option",61),s(18,"Coating"),r(),l(19,"option",62),s(20,"Weight/EA"),r(),l(21,"option",63),s(22,"Keg Qty"),r(),l(23,"option",64),s(24,"Qty Avail."),r(),l(25,"option",65),s(26,"Customer Part#"),r()(),l(27,"button",66),u("click",function(){C(t);let n=d(4);return f(n.savePageSortOrder())}),_(28,Pe,1,1,"mat-spinner",67),_(29,Oe,2,0,"span"),_(30,ve,2,0,"span"),r(),_(31,be,2,0,"a",68),_(32,ye,2,0,"a",69),r()()()(),l(33,"div",5)(34,"div",70)(35,"div",71)(36,"div",72)(37,"label",73),s(38,"Items to Display:"),r(),l(39,"select",74),u("change",function(n){C(t);let i=d().$implicit,a=d(3);return f(a.onProductDetailSelect(n.target.value,i))}),T("ngModelChange",function(n){C(t);let i=d().$implicit,a=d(3);return D(a.prodDetailPageSize[i],n)||(a.prodDetailPageSize[i]=n),f(n)}),l(40,"option",75),s(41,"10"),r(),l(42,"option",35),s(43,"20"),r(),l(44,"option",35),s(45,"50"),r()()()(),l(46,"div",76),s(47),r(),l(48,"div",77)(49,"nav",78),_(50,Se,9,6,"ul",79),r()()()(),l(51,"div",80)(52,"div",81)(53,"div",82)(54,"div",83)(55,"div",84)(56,"div",85)(57,"div",86)(58,"label"),s(59,"Part#"),r()(),l(60,"div",87)(61,"label"),s(62,"Desc"),r()(),l(63,"div",86)(64,"label"),s(65,"Grade"),r()(),l(66,"div",88)(67,"label"),s(68,"Coating"),r()(),l(69,"div",88)(70,"label"),s(71,"Weight/EA"),r()(),l(72,"div",88)(73,"label"),s(74,"Keg Qty"),r()(),l(75,"div",88)(76,"label"),s(77,"Qty Avail."),r()(),l(78,"div",86)(79,"label"),s(80,"ATP Date"),r()(),l(81,"div",86)(82,"label"),s(83,"Customer Part#"),r()(),_(84,Ee,3,0,"div",89),_(85,ke,3,0,"div",86),r()()()(),l(86,"div",90),w(87,kn,54,25,"div",91,it().trackByProduct,!0),r()()(),l(89,"div",5)(90,"div",92)(91,"div",71)(92,"div",72)(93,"label",93),s(94,"Items to Display:"),r(),l(95,"select",74),u("change",function(n){C(t);let i=d().$implicit,a=d(3);return f(a.onProductDetailSelect(n.target.value,i))}),T("ngModelChange",function(n){C(t);let i=d().$implicit,a=d(3);return D(a.prodDetailPageSize[i],n)||(a.prodDetailPageSize[i]=n),f(n)}),l(96,"option",75),s(97,"10"),r(),l(98,"option",35),s(99,"20"),r(),l(100,"option",35),s(101,"50"),r()()()(),l(102,"div",76),s(103),r(),l(104,"div",77)(105,"nav",78),_(106,Tn,9,6,"ul",79),r()()()()()}if(o&2){let t=d().$implicit,e=d(3);c(5),E(t),c(5),k("ngModel",e.sortOrder),c(17),x("disabled",e.isLoadingSave),c(),g(e.isLoadingSave?28:-1),c(),g(e.isLoadingSave?-1:29),c(),g(e.isLoadingSave?30:-1),c(),g(e.isDesc==1?31:-1),c(),g(e.isDesc==-1?32:-1),c(7),k("ngModel",e.prodDetailPageSize[t]),c(),x("value",10),c(2),x("value",20),c(2),x("value",50),c(3),rt(" ",e.totalProductCount[t]," items in ",e.totalProductPages[t]," pages "),c(3),g(e.prodDetailPager[t].pages&&e.prodDetailPager[t].pages.length?50:-1),c(34),g(!e.admin||e.admin&&e.isshadowing&&e.enterOrder?84:-1),c(),g(!e.admin||e.admin&&e.isshadowing&&e.enterOrder?85:-1),c(),z("virtual-scroll-container",e.shouldUseVirtualScrolling(e.prodDetailpagedItems[t]==null?null:e.prodDetailpagedItems[t].length)),c(),S(e.prodDetailpagedItems[t]),c(8),k("ngModel",e.prodDetailPageSize[t]),c(),x("value",10),c(2),x("value",20),c(2),x("value",50),c(3),rt(" ",e.totalProductCount[t]," items in ",e.totalProductPages[t]," pages "),c(3),g(e.prodDetailPager[t].pages&&e.prodDetailPager[t].pages.length?106:-1)}}
1function In(o,p){if(o&1&&(l(0,"div"),_(1,Fn,107,26,"div",52),O(2,"div"),r()),o&2){let t=p.$implicit,e=d(3);c(),g(e.totalProductCount[t]!=0?1:-1)}}function Vn(o,p){if(o&1&&w(0,In,3,1,"div",null,it().trackByProductType,!0),o&2){let t=d(2);S(t.ProductType)}}function Ln(o,p){if(o&1&&_(0,Vn,2,0),o&2){let t=d();g(t.ProductType.length>0?0:-1)}}function An(o,p){if(o&1&&(l(0,"option",35),s(1),r()),o&2){let t=p.$implicit;x("value",A(t.id)),c(),E(t.itemName)}}var ie=o=>{if(!o)return 0;let p={"1/8":"0.125","1/4":"0.25","3/8":"0.375","1/2":"0.5","5/8":"0.625","3/4":"0.75","7/8":"0.875"},t=o.toString().trim();for(let[n,i]of Object.entries(p))t=t.replace(n,i);let e=t.match(/[\d.]+/);return e?parseFloat(e[0]):0},ae=(()=>{class o{constructor(t,e,n,i,a,m,M,P,v,F,q,tt,et){this.paginationService=t,this.globalLoginService=e,this.filterService=n,this.mainService=i,this.mainProductsService=a,this.excelService=m,this.genericService=M,this.router=P,this.dynamicImportService=v,this.cdr=F,this.virtualScrollService=q,this.componentOptimization=tt,this.memoryManagement=et,this.IsSearchBySize=!0,this.showDefaultNotifications=!1,this.showSearch=!1,this.isFavorite=[],this.temp=[],this.getSecuredProducts=[],this.prodDetailPageSize=[],this.ProductType=[],this.isAddedToCart=[],this.customers=[],this.totalProductPages=new Array,this.totalProductCount=new Array,this.prodDetailpagedItems=new Array,this.prodDetailPager=new Array,this.isDesc=1,this.sortOrder="",this.searchVal="",this.searchValue="",this.getProducts=[],this.orginalProducts=[],this.customerSelected=0,this.isshadowing=!1,this.admin=!1,this.enterOrder=!1,this.addedProducts=[],this.quoteName="",this.quoteFlag=!1,this.userPageSettings=[],this.gradeHide=!1,this.coatingHide=!1,this.weightHide=!1,this.nextShopOrderHide=!1,this.nextShopQtyHide=!1,this.capacityDateHide=!1,this.customerParHide=!1,this.isColumnDeselect=!1,this.exceldatalength=0,this.diameters=[{description:"All Diameters",diameterCode:""},{description:"1/4",diameterCode:"0.250"},{description:"5/16",diameterCode:"0.312"},{description:"3/8",diameterCode:"0.375"},{description:"7/16",diameterCode:"0.438"},{description:"1/2",diameterCode:"0.500"},{description:"9/16",diameterCode:"0.563"},{description:"5/8",diameterCode:"0.625"},{description:"3/4",diameterCode:"0.750"},{description:"7/8",diameterCode:"0.875"},{description:"1",diameterCode:"1.000"},{description:"1 1/8",diameterCode:"1.125"},{description:"1 1/4",diameterCode:"1.250"},{description:"M6",diameterCode:"M6"},{description:"M8",diameterCode:"M8"},{description:"M10",diameterCode:"M10"},{description:"M12   ",diameterCode:"M12"},{description:"M14",diameterCode:"M14"},{description:"M16",diameterCode:"M16"},{description:"M20",diameterCode:"M20"},{description:"M24  ",diameterCode:"M24"}],this.lengths=[{description:"All Lengths",lengthCode:""},{description:"3/8",lengthCode:"0.375"},{description:"1/2",lengthCode:"0.500"},{description:"5/8",lengthCode:"0.625"},{description:"3/4",lengthCode:"0.750"},{description:"7/8",lengthCode:"0.875"},{description:"1",lengthCode:"1.000"},{description:"1 1/4",lengthCode:"1.250"},{description:"1 1/2",lengthCode:"1.500"},{description:"1 3/4",lengthCode:"1.750"},{description:"10",lengthCode:"10.000"},{description:"2",lengthCode:"2.000"},{description:"2 1/4",lengthCode:"2.250"},{description:"2 1/2",lengthCode:"2.500"},{description:"2 3/4",lengthCode:"2.750"},{description:"3",lengthCode:"3.000"},{description:"3 1/4",lengthCode:"3.250"},{description:"3 1/2",lengthCode:"3.500"},{description:"3 3/4",lengthCode:"3.750"},{description:"4",lengthCode:"4.000"},{description:"4 1/4",lengthCode:"4.250"},{description:"4 1/2",lengthCode:"4.500"},{description:"4 3/4",lengthCode:"4.750"},{description:"5",lengthCode:"5.000"},{description:"5 1/4",lengthCode:"5.250"},{description:"5 1/2",lengthCode:"5.500"},{description:"5 3/4",lengthCode:"5.750"},{description:"6",lengthCode:"6.000"},{description:"6 1/2",lengthCode:"6.500"},{description:"7",lengthCode:"7.000"},{description:"7 1/2",lengthCode:"7.500"},{description:"8",lengthCode:"8.000"},{description:"8 1/2",lengthCode:"8.500"},{description:"9",lengthCode:"9.000"},{description:"9 1/2",lengthCode:"9.500"},{description:"NA ",lengthCode:"NA "},{description:"M12",lengthCode:"M12"},{description:"M16",lengthCode:"M16"},{description:"M20",lengthCode:"M20"},{description:"M25",lengthCode:"M25"},{description:"M30",lengthCode:"M30"},{description:"M35",lengthCode:"M35"},{description:"M40",lengthCode:"M40"},{description:"M45",lengthCode:"M45"},{description:"M50",lengthCode:"M50"},{description:"M55",lengthCode:"M55"},{description:"M60",lengthCode:"M60"},{description:"M65",lengthCode:"M65"},{description:"M70",lengthCode:"M70"},{description:"M75",lengthCode:"M75"},{description:"M80",lengthCode:"M80"},{description:"M90",lengthCode:"M90"},{description:"M100",lengthCode:"M100"},{description:"M110",lengthCode:"M110"},{description:"M120",lengthCode:"M120"},{description:"M130",lengthCode:"M130"},{description:"M140",lengthCode:"M140"},{description:"M150",lengthCode:"M150"},{description:"M160",lengthCode:"M160"},{description:"M170",lengthCode:"M170"},{description:"M180",lengthCode:"M180"},{description:"M190",lengthCode:"M190"},{description:"M200",lengthCode:"M200"}],this.exclData=[],this.exclProducts=[],this.filterdProducts=[],this.productPrices=[],this.pageSize=10,this.noProducts=!1,this.destroy$=new V,this.isLoadingData=!1,this.isLoadingExport=!1,this.isLoadingSave=!1,this.isLoadingCustomers=!1,this.searchHighlightCache=new Map,this.trackByProduct=(I,$)=>$?.itemId||$?.id||I,this.trackByCustomer=(I,$)=>$?.id||I,this.trackByProductType=(I,$)=>$||I,this.filterService.secureProductSelectionChanged.pipe(N(this.destroy$)).subscribe(I=>{this.reLoadProducts(),this.cdr.markForCheck()}),this.datePipe=new wt("en-US")}isSearchHighlighted(t,e,n){if(!this.searchValue||this.searchValue.trim()==="")return!1;let i=`${n}-${e}-${this.searchValue}`;if(this.searchHighlightCache.has(i))return this.searchHighlightCache.get(i);let a=t?t.toString().toLowerCase().indexOf(this.searchValue.toLowerCase())!==-1:!1;return this.searchHighlightCache.set(i,a),a}clearSearchCache(){this.searchHighlightCache.clear()}debouncedUpdateFilter(t){this.searchDebounceTimer&&clearTimeout(this.searchDebounceTimer),this.searchDebounceTimer=setTimeout(()=>{this.updateFilter(t)},150)}ngOnInit(){this.componentOptimization.registerComponent("main-products",this.cdr,{onPush:!0,detachOnIdle:!0,debounceTime:100}),this.virtualScrollService.startPerformanceMonitoring();let t=new Date;
1t=this.datePipe.transform(t,"MM/dd/yyyy h:mm:ss a"),this.dateStart=t,this.quoteName="",this.kegQuantity=Array.from({length:500},(e,n)=>n+1),this.getCustomers(),this.isshadowing=this.filterService.isShadowing,this.admin=this.filterService.isadmin,this.enterOrder=this.filterService.enterOrder,this.pageSize=Number(localStorage.getItem("pageSize")),this.filterService.pageSize=this.pageSize}updateAuditLogsWithTime(t,e){this.genericService.updateAuditLogsWithTime(this.globalLoginService.loginUser,"Place an Order",t,e).subscribe(i=>{console.log(i)})}ngOnDestroy(){let t=new Date;t=this.datePipe.transform(t,"MM/dd/yyyy h:mm:ss a"),this.updateAuditLogsWithTime(this.dateStart,t),this.searchDebounceTimer&&clearTimeout(this.searchDebounceTimer),this.clearSearchCache(),this.destroy$.next(!0),this.destroy$.unsubscribe()}getCustomers(){this.userId=localStorage.getItem("Id"),this.userId&&(this.isLoadingCustomers=!0,this.cdr.detectChanges(),this.mainProductsService.GetCustomers(this.userId).subscribe(t=>{if(t){this.customers=t.filter(n=>n.customerType!="IA"),this.customerSelected=this.customers[0]?.id||0,this.isLoadingCustomers=!1,this.cdr.detectChanges(),this.productPrices=[];let e=[];e.length=0,this.customers.forEach(n=>{e.indexOf(n)<0&&e.push(n.id)}),this.customerSelected&&this.mainProductsService.GetProductsPrice(this.globalLoginService.loginUser,this.customerSelected).subscribe(n=>{this.productPrices=n,console.log("productPrices"),this.cdr.detectChanges()})}else this.isLoadingCustomers=!1,this.cdr.detectChanges()},t=>{console.error("Error loading customers:",t),this.isLoadingCustomers=!1,this.cdr.detectChanges()}))}reLoadProducts(){this.searchVal="",this.searchValue="",this.paginationService.pageSizeact=this.pageSize,this.searchVal=null,this.pageId=this.filterService.pageId,this.showDefaultNotifications=this.filterService.prodshowDefaultNotifications,this.getProducts.length!=0?(this.productsChangeFilter(),this.populateFliteredProducts(this.temp)):this.GetProductBar()}uniqueList(t){if(!t||t.length===0)return[];let e=new Map,n=[];for(let i of t)i&&i.quantity&&!e.has(i.quantity)&&(e.set(i.quantity,!0),n.push(i));return n}GetProductBar(){console.log("products Component GetProductBar"),this.isLoadingData=!0,this.cdr.detectChanges();let t=[];this.customers.forEach(n=>{t.push(n.id)}),this.customers.length==0&&t.push(0);let e=!1;if(this.filterService.productProducts.length==0&&(e=!0),this.filterService.productProducts.length==0&&e||this.filterService.productProducts.length!=0)this.mainService.GetProductGroups(this.globalLoginService.loginUser,this.userId,t).subscribe(n=>{try{if(n!=null){let i=[];if(i=n.products,i!=null&&i.length!=0&&(this.showSearch=!0,i.forEach(a=>{if(a.diameter.match(/[A-Za-z]/g)?a.diameterSort=a.diameter:a.diameterSort=ie(a.diameter).toFixed(2).toString(),a.diameter=="N/A"&&(a.diameterSort="N"),a.noPrice=!1,a.salesClassification=="STOCK"&&(a.noPrice=!0),a.isInquire==!0&&(a.noPrice=!0),a.length.match(/[A-Za-z]/g)?a.lengthSort=a.length:a.lengthSort=ie(a.length).toFixed(2).toString(),a.length=="10"&&(a.lengthSort="10.0"),a.length=="N/A"&&(a.lengthSort="N"),a.ProductSortOrder=a.diameterSort+a.lengthSort,a.partialOrders.length!=0&&(a.partialOrders=a.partialOrders.sort((m,M)=>m.quantity-M.quantity),a.partialOrders=this.uniqueList(a.partialOrders)),a.nextShopOrderDate!=""){let m=new Date(a.nextShopOrderDate);a.nextShopOrderDate=R(m,"MM/dd/yyyy","en_US")}if(a.capacityDate!=""){let m=new Date(a.capacityDate);a.capacityDate=R(m,"MM/dd/yyyy","en_US")}a.isInquire==!0&&(a.capacityDate="Please Inquire")})),this.getProducts=i,this.typeofProducts=i,this.orginalProducts=i,this.paginationService.pageSizeact=this.pageSize,this.filterService.CartItemShow.next(!0),this.admin&&!this.isshadowing){let a=[{id:0,itemName:"0"}];this.customers.push(a)}this.customerSelectedOrder(this.customers[0].id),this.customerSelected=this.customers[0].id}}catch(i){console.error("Error processing products:",i)}finally{this.isLoadingData=!1,this.cdr.detectChanges()}},n=>{console.error("Error loading products:",n),this.isLoadingData=!1,this.cdr.detectChanges()});else{this.getProducts=[],this.typeofProducts=[],this.orginalProducts=[];let n=[];if(this.paginationService.pageSizeact=this.pageSize,this.filterService.CartItemShow.next(!0),this.admin&&!this.isshadowing){let i=[{id:0,itemName:"0"}];this.customers.push(i)}this.customerSelectedOrder(this.customers[0].id),this.customerSelected=this.customers[0].id}}GetCartItems(){console.log("secure products Component GetCartItems"),this.mainService.GetCartItems(this.globalLoginService.loginUser).subscribe(t=>{t!=null&&(this.filterService.cartItems=t)},()=>{})}customerSelectedOrder(t){this.mainProductsService.GetProductsPrice(this.globalLoginService.loginUser,t).subscribe(e=>{this.productPrices=e,console.log("productPrices")}),this.orginalProducts.length==0||(this.getProducts=this.orginalProducts,this.isAddedToCart=[],this.getProducts.forEac
1h(e=>{if(e.IsAddedToCart=!1,e.nextShopOrderDate&&!isNaN(new Date(e.nextShopOrderDate).getTime())&&(e.nextShopOrderDate=R(e.nextShopOrderDate,"MM/dd/yyyy","en_US")),e.capacityDate&&!isNaN(new Date(e.capacityDate).getTime())&&(e.capacityDate=R(e.capacityDate,"MM/dd/yyyy","en_US")),e.QuantityOrdered=0,e.partialOrder=0,e.CartId=0,e.DefaultQty=0,e.defaultOrderQty=0,e.KegQtys=[],e.KegQtys=Array.from({length:500},(n,i)=>i+1),e.expanded=!1,e.customerPartNumber="",e.IsExcelData=!1,e.customerPartNumbers!=null&&e.customerPartNumbers.length!=0&&e.customerPartNumbers.forEach(n=>{n.customerAccount==t&&(e.customerPartNumber=n.customerPartNumber)}),e.defaultOrderQuantity!=0){if(e.defaultOrderQuantity!=0){if(e.kegQuantity<=e.defaultOrderQuantity){let n=0;n=Math.round(e.defaultOrderQuantity/e.kegQuantity);let i=0;if(i=n-1,e.KegQtys=Array.from({length:500-i},(a,m)=>m+n),e.qtyAvailable<e.defaultOrderQuantity&&e.qtyAvailable>0){let a=[],m=0;if(m=e.qtyAvailable/e.kegQuantity,m=Number(Math.floor(m)),a.push(m),e.KegQtys=a.concat(e.KegQtys),e.qtyAvailable>e.kegQuantity&&e.kegQuantity!=0){let M=Array.from({length:m-1},(P,v)=>v+1);e.KegQtys=M.concat(e.KegQtys)}}else{let a=0;if(a=e.qtyAvailable/e.kegQuantity,e.qtyAvailable>e.kegQuantity&&e.kegQuantity!=0){let m=Array.from({length:n-1},(M,P)=>P+1);e.KegQtys=m.concat(e.KegQtys)}}e.defaultOrderQty=n,e.DefaultQty=e.defaultOrderQuantity}}else if(e.defaultOrderQuantity==0&&e.kegQuantity<=e.defaultOrderQuantity){let n=0;n=Math.round(e.defaultOrderQuantity/e.kegQuantity);let i=0;if(i=n-1,e.KegQtys=Array.from({length:500-i},(a,m)=>m+n),e.qtyAvailable<e.defaultOrderQuantity&&e.qtyAvailable>0){let a=[],m=0;if(m=e.qtyAvailable/e.kegQuantity,a.push(m),e.KegQtys=a.concat(e.KegQtys),e.qtyAvailable>e.kegQuantity){let M=Array.from({length:m-1},(P,v)=>v+1);e.KegQtys=M.concat(e.KegQtys)}}else{let a=0;if(a=e.qtyAvailable/e.kegQuantity,e.qtyAvailable>e.kegQuantity){let m=Array.from({length:n-1},(M,P)=>P+1);e.KegQtys=m.concat(e.KegQtys)}}e.defaultOrderQty=n,e.DefaultQty=e.defaultOrderQuantity}}}),this.mainService.GetCartItems(this.globalLoginService.loginUser).subscribe(e=>{e!=null&&(this.filterService.cartItems=e,this.filterService.cartItems.forEach(n=>{this.getProducts.forEach(i=>{if(n.partNumber.replace(/\s/g,"")==i.itemId.replace(/\s/g,"")&&n.customerId==t&&(i.IsAddedToCart=!0,i.QuantityOrdered=n.quantityOrdered+n.quantityOrdered2+n.quantityOrdered3,i.CartId=n.cartId,i.partialOrder=n.partialOrder),Number(i.qtyAvailable)!=0){let a=i.KegQtys.filter(m=>m.pieces*i.kegQuantity!=Number(i.qtyAvailable))}})}))}),this.temp=this.getProducts,this.typeofProducts=this.getProducts,this.paginationService.pageSizeact=this.pageSize,this.productsChangeFilter(),this.populateFliteredProducts(this.getProducts),this.filterService.CartItemShow.next(!0))}updateFilter(t){let e=t.trim().toLowerCase();this.searchValue=e,this.clearSearchCache();let n=[];t.length<=0?(this.getProducts=this.temp,this.populateFliteredProducts(n)):this.temp.length==0&&(setTimeout(()=>{},300),this.noProducts=!0,this.GetProductBar());for(let i of this.temp){let a,m;m=(i.itemId?i.itemId.toLowerCase().indexOf(e)!==-1:!1)||(i.grade?i.grade.toLowerCase().indexOf(e)!==-1:!1)||(i.diameterText?i.diameterText.toLowerCase().indexOf(e)!==-1:!1)||(i.description?i.description.replace(/\s/g,"").toLowerCase().indexOf(e.replace(/\s/g,""))!==-1:!1)||(i.weightPerPiece?i.weightPerPiece.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.kegQuantity?i.kegQuantity.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.qtyAvailable?i.qtyAvailable.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.nextShopOrderQty?i.nextShopOrderQty.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.nextShopOrderDate?i.nextShopOrderDate.indexOf(e)!==-1:!1)||(i.capacityDate?i.capacityDate.indexOf(e)!==-1:!1)||(i.customerPartNumber?i.customerPartNumber.toLowerCase().indexOf(e)!==-1:!1)||(i.UnitPrice?i.UnitPrice.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.productDescription?i.productDescription.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.legacyPartNumber?i.legacyPartNumber.toString().toLowerCase().indexOf(e)!==-1:!1)||(i.finish?i.finish.toLowerCase().indexOf(e)!==-1:!1),m?(this.showSearch=!0,i.description&&i.description.replace(/\s/g,"").toLowerCase().indexOf(e.replace(/\s/g,""))!==-1&&e.length>0?i.IsSearchBydescription=!0:i.IsSearchBydescription=!1,a=i,n.push(a)):this.showSearch=!0}this.getProducts=n,this.populateFliteredProducts(n),this.cdr.markForCheck()}productsChangeFilter(){this.ProductType=[],this.ProductType.length=0,this.filterdProducts=[],this.filterService.productProducts.length!=0&&(this.filterService.productProducts=this.filterService.productProducts.sort((t,e)=>
1t.id-e.id)),this.filterService.productProducts.forEach(t=>{this.ProductType.indexOf(t)<0&&t.itemName!=="All Products"&&this.ProductType.push(t.itemName)})}populateFliteredProducts(t){if(this.ProductType.forEach(e=>{this.getSecuredProducts[e]=[]}),this.getSecuredProducts.length=0,this.ProductType.length=0,t.length!=0){t.forEach(a=>{this.filterService.productProducts.forEach(m=>{this.ProductType.indexOf(a.productGroupName)<0&&m.itemName==a.productGroupName&&this.ProductType.push(a.productGroupName)})});let e=[],n=[];n=this.filterService.productProducts,e=t.filter(a=>this.filterService.productProducts.some(m=>m.id==a.productGroupName)),this.filterService.productsGrades.length!=0&&(e=e.filter(a=>this.filterService.productsGrades.some(m=>m.id==a.grade))),this.filterService.productDiameter.length!=0&&(e=e.filter(a=>this.filterService.productDiameter.some(m=>m.itemName==a.diameter))),this.filterService.productLength.length!=0&&(e=e.filter(a=>this.filterService.productLength.some(m=>m.itemName==a.length))),this.filterService.productPitch.length!=0&&(e=e.filter(a=>this.filterService.productPitch.some(m=>m.itemName==a.threads))),this.filterService.productFinish.length!=0&&(e=e.filter(a=>this.filterService.productFinish.some(m=>m.itemName==a.finish))),this.filterdProducts=e;let i=new Map;n.forEach(a=>{i.set(a.itemName,a)}),e.forEach(a=>{let m=i.get(a.productGroupName);m&&this.getSecuredProducts[m.itemName].push(a)})}this.ProductType.sort((e,n)=>n>e?-1:1),this.ProductType.forEach(e=>{this.onProductDetailSelect(this.paginationService.pageSizeact,e),this.sort(this.sortOrder,e,this.getSecuredProducts[e])}),this.noProducts&&this.filterdProducts.length!=0&&(this.noProducts=!1,this.updateFilter(this.searchVal)),this.cdr.markForCheck()}onProductDetailSelect(t,e){this.prodDetailPageSize[e]=Number(t),this.paginationService.pageSizeact=this.prodDetailPageSize[e],this.setProdDetailsPagination(1,e)}setProdDetailsPagination(t,e){t<1||(this.paginationService.pageSizeact=this.prodDetailPageSize[e],this.prodDetailPager[e]=this.paginationService.getPager(this.getSecuredProducts[e].length,t),this.prodDetailpagedItems[e]=this.getSecuredProducts[e].slice(this.prodDetailPager[e].startIndex,this.prodDetailPager[e].endIndex+1),this.totalProductPages[e]=this.prodDetailPager[e].totalPages,this.totalProductCount[e]=this.prodDetailPager[e].totalItems)}sort(t,e,n){this.sortedBy=t;let i=this.isDesc;this.isDesc=i,n.sort(function(a,m){return a[t]<m[t]?-1*i:a[t]>m[t]?1*i:0}),this.setProdDetailsPagination(1,e)}desc(t,e){t==="isDesc"?this.isDesc=-1:this.isDesc=1,this.sort(this.sortedBy,e,this.getSecuredProducts[e])}DeleteCartItem(t){this.mainProductsService.DeleteCartItem(t,this.globalLoginService.loginUser).subscribe(e=>{this.filterService.isCartItemAdded="false",this.filterService.CartItemAdded.next(!0),this.comment="Product Item removed from Cart",this.DisplayMessageModal(this.comment)}),this.customerSelectedOrder(this.customerSelected)}addedProductList(t){let e=/^\s*(?=.*[1-9])\d*(?:\.\d{1,2})?\s*$/;if(this.customerSelected!=0)if(t.QuantityOrdered==="0"&&t.CartId!==0&&t.partialOrder===0||t.QuantityOrdered===0&&t.CartId!==0&&t.partialOrder==="0")this.DeleteCartItem(t.CartId),this.addedProducts=this.addedProducts.filter(n=>n.itemId!=t.itemId);else if(e.test(t.QuantityOrdered)&&t.QuantityOrdered>0||t.partialOrder){let n=[];n=this.addedProducts.filter(i=>i.itemId==t.itemId),n.length!=0?(this.addedProducts=this.addedProducts.filter(i=>i.itemId!=t.itemId),this.addedProducts.push(t)):this.addedProducts.push(t)}else this.addedProducts=this.addedProducts.filter(n=>n.itemId!=t.itemId);else this.comment="Please Select a Customer",this.DisplayMessageModal(this.comment)}addtoCartBtnClick(){this.addedProducts.length!=0?(this.addedProducts.forEach(t=>this.AddProductToCart(t)),this.router.navigate(["/checkout"])):(this.comment="Please select the quantity to order ",this.DisplayMessageModal(this.comment))}AddProductToCart(t){let e=/^\s*(?=.*[1-9])\d*(?:\.\d{1,2})?\s*$/;if(this.customerSelected!=0)if(t.QuantityOrdered==="0"&&t.CartId!==0&&t.partialOrder===0||t.QuantityOrdered===0&&t.CartId!==0&&t.partialOrder==="0")this.DeleteC
1artItem(t.CartId);else if(e.test(t.QuantityOrdered)&&t.QuantityOrdered>0||t.partialOrder){let n=!(t.IsAddedToCart||this.isAddedToCart[t.itemId]);this.isAddedToCart[t.itemId]=n,this.isAddedToCart[this.customerSelected]=this.customerSelected;let i="N";if(t.customerPartNumber&&(i="Y"),t.partialOrder!=0&&t.partialOrder!=""){let m=[];m=t.partialOrders.filter(M=>M.quantity==t.partialOrder),t.lotNumber=m[0].lotNumber}let a={};a.CartId=t.CartId,a.Description=t.productDescription,a.CustomerId=this.customerSelected,a.ItemId=t.itemId,a.Grade=t.grade,a.Coating=t.finish,a.Length=t.length,a.Diameter=t.diameter,a.Pitch=t.threads,a.ProductGroup=t.productGroupName,a.WeightEA=t.weightPerPiece,a.QtyAvailable=t.qtyAvailable,a.KegQty=t.kegQuantity,a.QuantityOrdered=t.QuantityOrdered,a.CapacityDate=t.capacityDate,a.CapacityQty=t.capacityQty,a.NextShopOrderDate=t.nextShopOrderDate,a.NextShopOrderQty=t.nextShopOrderQty,a.Login=this.globalLoginService.loginUser,a.CustPartNum=t.customerPartNumber,a.IsDefaultCustNum=i,a.LotNumber=t.lotNumber,a.PartialOrder=t.partialOrder,a.DefaultOrderQty=Number(t.defaultOrderQty),a.IsExcelUpload=!1,this.mainProductsService.addProductToCart(a).subscribe(m=>{this.isAddedToCart[t.itemId]=!0,this.filterService.isCartItemAdded="true",this.filterService.CartItemShow.next(!0),this.filterService.CartItemAdded.next(!0)})}else this.comment="Please select the quantity to order",this.DisplayMessageModal(this.comment);else this.comment="Please Select a Customer to order",this.DisplayMessageModal(this.comment)}AddExcelUploadToCart(t){let e={};e.CartId=t.CartId,e.CustomerId=this.customerSelected,e.PartNumber=t.PartNumber,e.QuantityOrdered=t.QuantityOrdered,e.Login=this.globalLoginService.loginUser,e.DefaultOrderQty=0,e.UserId=this.userId,e.IsExcelUpload=t.IsExcelUpload,this.exclProducts.push(e),this.isAddedToCart[t.itemId]=!0}productsExportToExcel(){console.log("Products Component ProductsExportToExcel"),this.isLoadingExport=!0,this.cdr.detectChanges(),this.mainProductsService.GetProductsExcel(this.globalLoginService.loginUser,this.userId,this.customerSelected,this.filterService.productProducts,this.filterService.productsGrades,this.filterService.productDiameter,this.filterService.productLength,this.filterService.productPitch,this.filterService.productFinish).subscribe(t=>{try{let n=new Uint8Array(atob(t).split("").map(i=>i.charCodeAt(0)));var e=new Blob([n],{type:".xls"});this.excelService.saveAsExcelFile(e,"Products"),this.safeModalOperation(this.MessageModal,"hide")}catch(n){console.error("Error processing Excel export:",n)}finally{this.isLoadingExport=!1,this.cdr.detectChanges()}},t=>{console.error("Error exporting to Excel:",t),this.isLoadingExport=!1,this.cdr.detectChanges()})}safeModalOperation(t,e){if(!t||!t.nativeElement){console.warn(`Modal element is undefined for operation: ${e}`);return}Wt.getOrCreateInstance(t.nativeElement)[e]()}manualModalOperation(t,e){if(t)if(e==="show"){if(t.style.display="block",t.classList.add("show"),document.body.classList.add("modal-open"),!document.querySelector(".modal-backdrop")){let n=document.createElement("div");n.className="modal-backdrop fade show",document.body.appendChild(n)}}else{t.style.display="none",t.classList.remove("show"),document.body.classList.remove("modal-open");let n=document.querySelector(".modal-backdrop");n&&n.remove()}}DisplayMessageModal(t){this.resultHeading="Warning",this.resultMessage=t,this.safeModalOperation(this.MessageModal,"show")}closeMessageModal(){this.resultHeading="",this.resultMessage="",this.comment="",this.quoteFlag=!1,this.safeModalOperation(this.MessageModal,"hide"),this.safeModalOperation(this.DModal,"hide")}addtoQuote(){this.quoteName="",console.warn("QuoteModal not available in secure-products component")}savePageSortOrder(){this.isLoadingSave=!0,this.cdr.detectChanges(),this.genericService.savePageSortOrder(this.globalLoginService.loginUser,7,this.sortOrder,this.isDesc).subscribe(t=>{console.log(t),this.isLoadingSave=!1,this.cdr.detectChanges()},t=>{console.log(t),this.isLoadingSave=!1,this.cdr.detectChanges()})}tempfunc(t,e,n,i){let a=i.checked;n==1?this.gradeHide=a:n==2?this.coatingHide=a:n==3?this.weightHide=a:n==4?this.nextShopOrderHide=a:n==5?this.nextShopQtyHide=a:n==6?this.capacityDateHide=a:n==7&&(this.customerParHide=a),a?this.isColumnDeselect=!1:this.isColumnDeselect=!0,n&&e&&t&&this.genericService.savePageSettings(t,e,n,a).subscribe(m=>{console.log(m)},m=>{console.log(m)})}
1showDup(t){this.getProducts.forEach(e=>{t.itemId.replace(/\s/g,"")==e.itemId.replace(/\s/g,"")&&(e.expanded===!0?(e.expanded=!1,e.ShowDup=!1):(e.expanded=!0,e.ShowDup=!0))})}Uploadxcel(){this.resultHeading="Upload Excel to place an order",this.safeModalOperation(this.xcelModal,"show")}incomingfile(t){return H(this,null,function*(){let e=[80,75,3,4],n=5*1024*1024,i=t.target.files?.[0];if(!i)return;if(i.size>n){this.comment="File must be under 5 MB.",this.DisplayMessageModal(this.comment);return}let a=yield i.slice(0,4).arrayBuffer(),m=new Uint8Array(a);if(!e.every((M,P)=>m[P]===M)){this.comment="Only .xlsx files are accepted.",this.DisplayMessageModal(this.comment);return}this.file=i})}Upload(){return H(this,null,function*(){if(this.file!=null)try{let t=yield this.dynamicImportService.loadExcelLibrary();this.exceldatalength=0;let e,n=new FileReader;n.onload=i=>H(this,null,function*(){e=n.result;let a=new t.Workbook;yield a.xlsx.load(e);let m=a.worksheets[0],M=m.getRow(1),P=[];M.eachCell({includeEmpty:!1},(v,F)=>{P[F-1]=String(v.value??"")}),this.exclData=[],m.eachRow((v,F)=>{if(F===1)return;let q={};v.eachCell({includeEmpty:!0},(tt,et)=>{let I=P[et-1];I&&(q[I]=tt.value)}),this.exclData.push(q)}),this.exclData.length==0?(this.safeModalOperation(this.xcelModal,"hide"),this.comment="Please upload excel with Part# and Order Quantity",this.DisplayMessageModal(this.comment)):(this.exclData.forEach(v=>{v.CartId=0,v.QuantityOrdered=v.QuantityOrdered,v.IsExcelUpload=!0,this.AddExcelUploadToCart(v)}),this.mainProductsService.addProductsToCart(this.exclProducts).subscribe(v=>{this.filterService.isCartItemAdded="true",this.filterService.CartItemShow.next(!0),this.filterService.CartItemAdded.next(!0),this.exceldatalength=this.exceldatalength+1,this.safeModalOperation(this.xcelModal,"hide"),this.router.navigate(["/checkout"])}))}),n.readAsArrayBuffer(this.file)}catch(t){console.error("Failed to load Excel library:",t),this.comment="Excel processing is not available. Please try again.",this.DisplayMessageModal(this.comment)}else this.safeModalOperation(this.xcelModal,"hide"),this.comment="Please upload excel with Part# and Order Quantity",this.DisplayMessageModal(this.comment)})}ProductUnitPrice(t,e,n,i){let a,m=[];m=this.productPrices.filter(P=>P.CustomerAccount==e&&P.ItemId==t);let M=[];m.forEach(P=>{M=P.productPricing,M.length!=0&&M!=null&&M.forEach(v=>{v.customerAccount==e&&v.pricingInfo.forEach(F=>{(n>=Number(F.quantityFrom)||n>=Number(F.quantityTo))&&(a=(F.price/1e3).toFixed(6))})})})}onVirtualScrollPerformance(t){console.log("Virtual scroll performance:",t)}calculateContainerHeight(){return Math.min(globalThis.window?.innerHeight-350||600,600)}shouldUseVirtualScrolling(t){return Z.shouldUseVirtualScrolling(t,120,50)}closeXcelModal(){this.safeModalOperation(this.xcelModal,"hide")}static{this.\u0275fac=function(e){return new(e||o)(b(Y),b(Ut),b(Ht),b(G),b(X),b(K),b(jt),b(Et),b(Jt),b(bt),b(Z),b(ee),b(ne))}}static{this.\u0275cmp=xt({type:o,selectors:[["app-main-products"]],viewQuery:function(e,n){if(e&1&&Pt(ce,5)(se,5)(de,5),e&2){let i;W(i=j())&&(n.MessageModal=i.first),W(i=j())&&(n.DModal=i.first),W(i=j())&&(n.xcelModal=i.first)}},standalone:!1,features:[Ot([G])],decls:100,vars:12,consts:[["MessageModal",""],["DModal",""],["xcelModal",""],[1,"loading-overlay"],[1,"row","whiteContainer"],[1,"col-12"],[1,"row"],[1,"row","mb-3"],[1,"row","sort-controls","justify-content-between","align-items-center"],[1,"col-12","col-md-5","col-lg-4"],["method","get",1,"search-form","d-flex"],["type","text","placeholder","Search Products...",1,"form-control","form-control-sm","text-input","flex-grow-1",2,"border","none !important",3,"ngModelChange","input","ngModel","ngModelOptions"],["mat-mini-fab","","type","button",1,"search-btn","mat-elevation-z0","text-muted","ml-2",3,"click"],[1,"col-12","col-md-7","col-lg-8"],["id","noDataDisplay",1,"Msg","align-items-center",2,"margin-top","20px"],["id","MessageModal","tabindex","-1","role","dialog","aria-labelledby","MessageModalLabel","aria-hidden","true",1,"modal","fade",3,"clickElsewhere"],["role","document",1,"modal-dialog",2,"max-width","500px"],[1,"modal-content"],[1,"modal-header","adminModal"],["id","newAddressModalLabel",1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body",2,"text-align","center","font-size","medium"],[1,"w-100"],[1,"modal-footer","adminModal"],["id","DModal","tabindex","-1","role","dialog","aria-labelledby","DModalLabel","aria-hidden","true",1,"modal","fade",3,"clickElsewhere"],["href","http://brightonbest.com","target","_blank"],["id","xcelModal","tabindex","-1","role","dialog","aria-labelledby","xcelModalLabel","aria-hidden","true",1,"modal","fade",3,"clickElsewhere"],["role","document",1,"modal-dialog",2,"max-width","900px"],["id","newDModalLabel",1,"modal-title"],[1,"modal-body"],["type","button","onclick"," window.open('assets/Products.xlsx')",1,"btn","btn-sm","btn-primary"],[1,"form-group"],["for","sort",1,"col-form-label","col-form-label-sm"],["id","sort",1,"form-control","form-control-sm","mainprod-alignment",2,"padding-right","10px",3,"ngModelChange","ngModel"],[3,"value"],[1,"col-12","col-sm-6"],["type","file","placeholder","Upload file","accept",".xlsx",1,"form-control",2,"padding","3px",3,"change"],[1,"col-6","col-sm-6"],["type","button",1,"btn","btn-sm","btn-primary",3,"click"],[1,"loading-content"],[3,"diameter"],[2,"display","inline-flex","align-items","center","white-space","nowrap","float","center"],[2,"margin-right","8px",3,"diameter"],[2,"margin-right","8px"],["for","customerSelect",2,"margin-bottom","0","margin-right","8px","flex-shrink","0"],["id","customerSelect",1,"form-control","form-control-sm",2,"min-width","120px","margin-right","8px",3,"ngModelChange","ngModel"],["type","button",1,"btn","btn-light","btn-sm",2,"border","1p
1x solid #ccc !important","flex-shrink","0","font-size","12px","padding","4px 8px","margin-right","8px",3,"click"],["href","javascript:void(0);",1,"download-link",2,"position","relative","display","inline-block","flex-shrink","0",3,"click"],[1,"export-button-content"],[1,"export-spinner",3,"diameter"],["src","../../../assets/images/microsoftexcel.svg","width","32","alt","Download Price Book","placement","right","ngbTooltip","Download Price Book"],["id","barangles",1,"row","prdcategory"],[1,"col-auto"],[1,"catheading"],[1,"d-flex","align-items-center","flex-nowrap",2,"white-space","nowrap"],["for","sort",1,"mb-0","mr-1",2,"flex-shrink","0"],["id","sort",1,"form-control","form-control-sm","mr-1",2,"min-width","120px",3,"ngModelChange","ngModel"],["selected","","value","itemId"],["value","productDescription"],["value","grade"],["value","finish"],["value","weightPerUOM"],["value","kegQuantity"],["value","qtyAvailable"],["value","customerPartNumber"],["type","button",1,"btn","btn-light","btn-sm","mr-1",2,"border","1px solid #ccc !important","flex-shrink","0","font-size","12px","padding","4px 8px",3,"click","disabled"],[1,"save-spinner",2,"display","inline-block","margin-right","4px",3,"diameter"],["title","Sort Desc",1,"sort","mr-1",2,"flex-shrink","0"],["title","Sort Asc",1,"sort",2,"flex-shrink","0"],[1,"row","align-items-center","pagination-container","align-items-disp"],[1,"col-5","col-md-auto","pagesize"],[1,"d-flex","align-items-center"],["for","pagesize",1,"me-2","text-nowrap"],["id","pagesize",1,"form-control","form-control-sm",3,"change","ngModelChange","ngModel"],["selected","",3,"value"],[1,"col-7","col-md","pagecount"],[1,"col-12","col-md-auto"],["aria-label","Pagination"],[1,"pagination","pagination-sm","flex-wrap"],[1,"col-12","row","g-0"],[1,"col-12","card-container","tabular",2,"padding","0"],[1,"col-12","card","vlabel","tabularheader"],[1,"card-body","row"],[1,"col"],[1,"row","g-0"],[1,"col-6","col-md-4","col-lg"],[1,"col-6","col-md-4","col-lg-2"],[1,"col-6","col-md-4","col-lg","text-lg-center"],[1,"col-6","col-md-4","col-lg",2,"width","fit-content","width","91px"],[1,"products-scroll-container",2,"max-height","calc(100vh - 350px)","overflow-y","auto","overflow-x","hidden"],[1,"product-item-container"],[1,"row","align-items-center","pagination-container"],["for","pagesize",1,"me-2"],["title","Sort Desc",1,"sort","mr-1",2,"flex-shrink","0",3,"click"],["aria-hidden","true",1,"oi","oi-sort-descending"],["title","Sort Asc",1,"sort",2,"flex-shrink","0",3,"click"],["aria-hidden","true",1,"oi","oi-sort-ascending"],[1,"page-item","disabled",3,"ngClass"],["tabindex","-1","title","Previous",1,"page-link",3,"click"],[1,"oi","oi-chevron-left"],[1,"page-item","active",3,"ngClass"],[1,"page-item",3,"ngClass"],["title","Next",1,"page-link",3,"click"],[1,"oi","oi-chevron-right"],[1,"page-link",3,"click"],[1,"card","hlabel"],[1,"searchTermHi"],[1,"col-6","col-md-4","col-lg-2",2,"text-wrap-mode","wrap"],[1,"searchTermHi",2,"word-wrap","break-word"],[2,"word-wrap","break-word","word-break","break-all"],[1,"col-6","col-md-4","col-lg",2,"margin-right","-17px"],[2,"background-color","#006325","padding","2px"],["id","sort",1,"form-control","form-control-sm",2,"width","fit-content","width","92px",3,"ngModel"],["id","sort",1,"form-control","form-control-sm",2,"width","fit-content","width","92px",3,"ngModelChange","ngModel"],["value","0"],["id","sort",1,"form-control","form-control-sm",3,"ngModel","disabled"],["id","sort",1,"form-control","form-control-sm",3,"ngModelChange","ngModel","disabled"]],template:function(e,n){if(e&1){let i=y();_(0,me,5,1,"div",3),ot(1),l(2,"div",4)(3,"div",5),O(4,"div",6),r()(),at(),l(5,"div",7)(6,"div",5)(7,"div",8)(8,"div",9)(9,"form",10)(10,"input",11),T("ngModelChange",function(m){return C(i),D(n.searchVal,m)||(n.searchVal=m),f(m)}),u("input",function(m){return n.updateFilter(m.target.value)}),r(),l(11,"button",12),u("click",function(m){return n.updateFilter(m.target.value)}),l(12,"mat-icon"),s(13,"search"),r()()()(),_(14,fe,4,2,"div",13),r()()(),_(15,xe,2,0,"div",6),_(16,Me,2,0,"div",14),_(17,Ln,1,1),l(18,"div",15,0),u("clickElsewhere",function(){return n.closeMessageModal()}),l(20,"div",16)(21,"div",17)(22,"div",18)(23,"h5",19),s(24),r(),l(25,"button",20),u("click",function(){return n.closeMessageModal()}),l(26,"span",21),s(27,"\xD7"),r()()(),l(28,"div",22)(29,"div",23),s(30,"\xA0"),r(),s(31),l(32,"div",23),s(33,"\xA0"),r()(),O(34,"div",24),r()()(),l(35,"div",25,1),u("clickElsewhere",function(){return n.closeMessageModal()}),l(37,"div",16)(38,"div",17)(39,"div",18)(40,"button",20),u("click",function(){return n.closeMessageModal()}),l(41,"span",21),s(42,"\xD7"),r()()(),l(43,"div",22)(44,"div",23),s(45,"\xA0"),r(),l(46,"p"),s(47,"This item requires a MOQ buy. Our master distributor Brighton-Best may have stock. Check their inventory at "),l(48,"a",26)(49,"u"),s(50,"brightonbest.com"),r()()(),l(51,"div",23),s(52,"\xA0"),r()()()()(),l(53,"div",27,2),u("clickElsewhere",function(){return n.closeMessageModal()}),l(55,"div",28)(56,"div",17)(57,"div",18)(58,"h5",29),s(59),r(),l(60,"button",20),u("click",function(){return n.closeXcelModal()}),l(61,"span",21),s(62,"\xD7"),r()()(),l(63,"div",30)(64,"div",6)(65,"div",5)(66,"div",5),s(67," When utilizing the excel upload feature please be sure quantities are in full keg/can quantities. "),r(),l(68,"div",5),s(69," Quantities not in full c
1arton amounts will be rounded up to the next full carton quantity, and D items will be rounded to the MOQ. "),r(),O(70,"br"),l(71,"div",5),s(72," Please note \u2013 the first line of your template download is pre-loaded to give example for what information need to be copied into the spreadsheet for a successful upload. Please copy over, or remove this line before uploading "),r(),O(73,"br"),l(74,"div",5),s(75,' After clicking "upload" you will be taken directly to the cart to view your uploaded order. '),r(),O(76,"br"),l(77,"div",5),s(78," Please note: Maximum of 200 lines per order on excel template. "),O(79,"br"),s(80," Depending on the amount of lines uploaded, this process may take a couple of minutes. "),r(),O(81,"br"),l(82,"div",5),s(83," Click here for download template \xA0 "),l(84,"button",31),s(85,"Download"),r(),s(86," \xA0 "),r(),l(87,"div",32)(88,"label",33),s(89,"Customers:"),r(),l(90,"select",34),T("ngModelChange",function(m){return C(i),D(n.customerSelected,m)||(n.customerSelected=m),f(m)}),u("ngModelChange",function(){return n.customerSelectedOrder(n.customerSelected)}),w(91,An,2,3,"option",35,n.trackByCustomer,!0),r()()(),l(93,"div",36)(94,"div",32)(95,"input",37),u("change",function(m){return n.incomingfile(m)}),r()()(),l(96,"div",38)(97,"div",32)(98,"button",39),u("click",function(){return n.Upload()}),s(99,"Upload"),r()()()()()()()()}e&2&&(g(n.isLoadingData?0:-1),c(10),k("ngModel",n.searchVal),x("ngModelOptions",vt(11,pe)),c(4),g(!n.admin||n.admin&&n.isshadowing?14:-1),c(),g(n.ProductType.length>0?15:-1),c(),g(n.ProductType.length==0?16:-1),c(),g(n.ProductType.length>0?17:-1),c(7),h("",n.resultHeading," Message"),c(7),h(" ",n.resultMessage," "),c(28),E(n.resultHeading),c(31),k("ngModel",n.customerSelected),c(),S(n.customers))},dependencies:[yt,Vt,At,Qt,kt,Lt,Dt,Tt,It,Ft,Zt,zt,Gt,Yt],styles:[`.h-100[_ngcontent-%COMP%]{height:100%!important}.w-100[_ngcontent-%COMP%]{width:100%!important}.mw-100[_ngcontent-%COMP%]{max-width:100%}.fw-300[_ngcontent-%COMP%]{font-weight:300}.fw-400[_ngcontent-%COMP%]{font-weight:400}.fw-500[_ngcontent-%COMP%]{font-weight:500}.lh[_ngcontent-%COMP%]{line-height:27px}.theme-container[_ngcontent-%COMP%]{max-width:1300px;margin:0 auto;width:100%}.light-block.mat-card[_ngcontent-%COMP%]{background:#00000008!important;box-shadow:none!important}.transition[_ngcontent-%COMP%]{-webkit-transition:.3s;-moz-transition:.3s;-ms-transition:.3s;transition:.3s}.text-truncate[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden!important}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.divider[_ngcontent-%COMP%]{border-top:1px solid rgba(204,204,204,.6)}.mat-icon-button[_ngcontent-%COMP%]   .mat-icon.mat-icon-xs[_ngcontent-%COMP%], .mat-icon.mat-icon-xs[_ngcontent-%COMP%]{font-size:14px;line-height:14px;height:14px;width:14px;vertical-align:middle}.mat-icon-button[_ngcontent-%COMP%]   .mat-icon.mat-icon-sm[_ngcontent-%COMP%], .mat-icon.mat-icon-sm[_ngcontent-%COMP%], .mat-nav-list[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .mat-list-icon.mat-icon-sm[_ngcontent-%COMP%]{font-size:18px;line-height:18px;height:18px;width:18px;vertical-align:middle}.mat-icon-button[_ngcontent-%COMP%]   .mat-icon.mat-icon-lg[_ngcontent-%COMP%], .mat-icon.mat-icon-lg[_ngcontent-%COMP%]{font-size:36px;line-height:36px;height:36px;width:36px;vertical-align:middle}.mat-icon-button[_ngcontent-%COMP%]   .mat-icon.mat-icon-xlg[_ngcontent-%COMP%], .mat-icon.mat-icon-xlg[_ngcontent-%COMP%]{font-size:48px;line-height:48px;height:48px;width:48px;vertical-align:middle}.mat-icon.caret[_ngcontent-%COMP%]{width:14px}.mat-button.flex-row-button[_ngcontent-%COMP%]   .mat-button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.mat-button-wrapper[_ngcontent-%COMP%]{pointer-events:none}.mat-list.reviews[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .mat-list-item-content[_ngcontent-%COMP%]{align-items:start}.mat-step-text-label[_ngcontent-%COMP%]{text-transform:uppercase}.mat-tab-label-content[_ngcontent-%COMP%]{font-size:16px}.mat-row[_ngcontent-%COMP%], .mat-header-row[_ngcontent-%COMP%]{border-bottom-color:#0000001f}.filter-sidenav[_ngcontent-%COMP%]   .mat-drawer-inner-container[_ngcontent-%COMP%]{height:auto;padding:2px;box-sizing:border-box}.filter-sidenav[_ngcontent-%COMP%]   .mat-drawer-inner-container[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0!important}.app-dropdown.mat-menu-panel[_ngcontent-%COMP%]{min-width:60px}.app-dropdown[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]{height:36px;line-height:36px;font-size:14px}.account-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:2px}.app-dropdown.account[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]{padding:0}.app-dropdown.account[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]{padding:16px}.app-dropdown.account[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:16px;border-radius:3px}.app-dropdown.account[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#fbc02d}
1.categories-dropdown.mat-menu-panel[_ngcontent-%COMP%]{max-height:350px}.categories-dropdown[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]{height:24px;line-height:24px;font-size:14px}.sub-category[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:30px}.sub-category[_ngcontent-%COMP%]   .sub-category[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:50px}.p-0[_ngcontent-%COMP%]{padding:0!important}.p-1[_ngcontent-%COMP%]{padding:10px!important}.p-2[_ngcontent-%COMP%]{padding:20px!important}.p-3[_ngcontent-%COMP%]{padding:30px!important}.py-1[_ngcontent-%COMP%]{padding:10px 0!important}.py-2[_ngcontent-%COMP%]{padding:20px 0!important}.py-3[_ngcontent-%COMP%]{padding:30px 0!important}.py-4[_ngcontent-%COMP%]{padding:40px 0!important}.py-5[_ngcontent-%COMP%]{padding:50px 0!important}.px-1[_ngcontent-%COMP%]{padding:0 10px!important}.px-2[_ngcontent-%COMP%]{padding:0 20px!important}.px-3[_ngcontent-%COMP%]{padding:0 30px!important}.px-4[_ngcontent-%COMP%]{padding:0 40px!important}.px-5[_ngcontent-%COMP%]{padding:0 50px!important}.pl-3[_ngcontent-%COMP%]{padding-left:30px}.m-0[_ngcontent-%COMP%]{margin:0!important}.mt-1[_ngcontent-%COMP%]{margin-top:10px!important}.mt-2[_ngcontent-%COMP%]{margin-top:20px!important}.mt-3[_ngcontent-%COMP%]{margin-top:30px!important}.mr-1[_ngcontent-%COMP%]{margin-right:10px!important}.d-block[_ngcontent-%COMP%]{display:block}.info-bar[_ngcontent-%COMP%]{margin-top:30px}.info-bar[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{height:100px}.info-bar[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-left:10px}.info-bar[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:500}.info-bar[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:13px}.social-icon[_ngcontent-%COMP%]{width:48px;height:48px;cursor:pointer;fill:#8f8f8f;outline:none}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]{height:32px;font-size:13px}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .sidenav-toggle[_ngcontent-%COMP%]{height:31px;line-height:31px;min-width:24px;padding:0;border-radius:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]{margin-right:-16px;text-transform:uppercase}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;font-weight:400;font-size:13px;line-height:31px;padding:0 10px;min-width:70px;border-radius:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]   a.mobile-menu-icon[_ngcontent-%COMP%]{min-width:36px}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]   .mat-icon.more[_ngcontent-%COMP%]{height:28px}.flag-menu-title[_ngcontent-%COMP%]{vertical-align:top!important;margin-left:3px}.top-menu-dropdown[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:middle;margin-right:8px}.cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]{padding:6px 14px;font-size:13px}.cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .mat-list[_ngcontent-%COMP%], .cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .mat-list[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .mat-list-item-content[_ngcontent-%COMP%]{padding:0}.cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .mat-list[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .mat-list-item-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:70px;margin-left:10px}.cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .mat-list[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .mat-list-text[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .mat-list[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:13px;font-weight:400}.cart-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .cart-dropdown-footer[_ngcontent-%COMP%]{font-size:14px}.app-menu-panel.mat-menu-panel[_ngcontent-%COMP%]{min-width:60px}.app-menu-panel.mat-menu-panel[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]:not(:empty){padding:0}.app-menu-panel.mat-menu-panel[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;text-transform:uppercase}.app-menu-panel.mat-menu-panel[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]   .mat-badge-small.mat-badge-above[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{top:8px}.app-menu-panel.mat-menu-panel.lang[_ngcontent-%COMP%]{min-width:41px}.app-menu-panel.mat-menu-panel.lang[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]{line-height:36px;height:36px;padding:0}.app-menu-panel.mat-menu-panel.lang[_ngcontent-%COMP%]   .mat-menu-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;margin:0 auto}.logo-toolbar.mat-toolbar-row[_ngcontent-%COMP%]{height:64px}.logo[_ngcontent-%COMP%]{font-size:28px;font-weight:900;text-transform:uppercase;text-decoration:none;color:inherit}.search-form[_ngcontent-%COMP%]{border-radius:22px;overflow:hidden}.search-form[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{height:40px;width:180px;border-radius:0}.search-form[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{border:0;outline:none;padding:0 34px 0 12px;border-left:1px solid #ccc}.search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]{margin-left:-20px;background:#fff!important;box-shadow:none!important;border:none!important}.search-dropdown.mat-menu-panel[_ngcontent-%COMP%]{border-radius:26px;max-width:100%;min-height:auto}.search-dropdown.mat-menu-panel[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]{padding:0}.top-cart[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:1.2}.top-navbar.mat-toolbar[_ngcontent-%COMP%]{height:48px;padding:32px}.top-navbar.mat-toolbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{min-width:70px;border-radius:0;padding:6px 16px}.cdk-overlay-pane.mega-menu-pane[_ngcontent-%COMP%]{left:0!important;width:100%}.cdk-overlay-pane.mega-menu-pane[_ngcontent-%COMP%]   .mat-menu-panel[_ngcontent-%COMP%]{width:100%;max-width:none;border-radius:0}.cdk-overlay-pane.mega-menu-pane[_ngcontent-%COMP%]   .mat-menu-panel[_ngcontent-%COMP%]   .mat-menu-content[_ngcontent-%COMP%]{padding:0}.cdk-overlay-pane.mega-menu-pane[_ngcontent-%COMP%]   .mega-menu-widget[_ngcontent-%COMP%]{position:relative}.cdk-overlay-pane.mega-menu-pane[_ngcontent-%COMP%]   .mega-menu-widget[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{position:absolute;top:10px;left:10px;font-weight:400}.cdk-overlay-pane.mega-menu-pane[_ngcontent-%COMP%]   .mega-menu-widget[_ngcontent-%COMP%]   .mat-chip-list[_ngcontent-%COMP%]{position:absolute;bottom:10px;left:10px}button.swipe-arrow[_ngcontent-%COMP%]{position:absolute;top:50%;margin-top:-22px;z-index:10;background-image:none}.swiper-pagination.white[_ngcontent-%COMP%]   .swiper-pagination-bullet[_ngcontent-%COMP%]{background:#fff}.swiper-pagination-bullet-active[_ngcontent-%COMP%]{width:12px;height:12px;vertical-align:-2px}.swiper-button-prev[_ngcontent-%COMP%]:after, .swiper-container-rtl[_ng
1content-%COMP%]   .swiper-button-next[_ngcontent-%COMP%]:after, .swiper-button-next[_ngcontent-%COMP%]:after, .swiper-container-rtl[_ngcontent-%COMP%]   .swiper-button-prev[_ngcontent-%COMP%]:after{content:none}.product-item[_ngcontent-%COMP%]{position:relative}.product-item[_ngcontent-%COMP%]   .mat-chip-list[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}.product-item[_ngcontent-%COMP%]   .mat-chip-list.list-view[_ngcontent-%COMP%]{left:10px}.product-item[_ngcontent-%COMP%]   .image-link[_ngcontent-%COMP%]{display:block}.product-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;margin-bottom:12px}.product-item[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{margin-bottom:4px}.product-item[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:block;color:inherit;text-decoration:none;font-weight:500;font-size:18px}.product-item[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{margin:12px 0}.product-item[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]{text-decoration:line-through;height:15px}.product-item[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]   .new-price[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.product-item[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{margin-top:18px}.old-price[_ngcontent-%COMP%]{text-decoration:line-through}.back-to-top[_ngcontent-%COMP%]{position:fixed;width:40px;height:40px;cursor:pointer;z-index:999999;right:20px;bottom:20px;opacity:.5;color:#fff;background-color:#000000bf;border-radius:4px}.back-to-top[_ngcontent-%COMP%]:hover{opacity:.9}@media(max-width:575px){.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]{padding:32px}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]{margin-right:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{min-width:56px}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .sidenav-toggle[_ngcontent-%COMP%]{min-width:52px}.search-form[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{width:160px}.search-form[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{width:140px}}@media(min-width:576px)and (max-width:767px){.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]{padding:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]{margin-right:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .sidenav-toggle[_ngcontent-%COMP%]{min-width:52px}}@media(min-width:768px)and (max-width:991px){.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]{padding:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .top-menu[_ngcontent-%COMP%]{margin-right:0}.top-toolbar.mat-toolbar-row[_ngcontent-%COMP%]   .sidenav-toggle[_ngcontent-%COMP%]{min-width:52px}}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0px;height:0px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#e1e1e1;border:0px none #ffffff;border-radius:0}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#ccc}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#666;border:0px none #ffffff;border-radius:0}[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#666}[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#333}[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.ps[_ngcontent-%COMP%]{-ms-touch-action:auto;touch-action:auto;overflow:hidden!important;-ms-overflow-style:none;position:relative}.ps__rail-x[_ngcontent-%COMP%]{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:7px;bottom:0;position:absolute}.ps__rail-y[_ngcontent-%COMP%]{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:7px;right:0;left:auto!important;position:absolute}.ps--active-x[_ngcontent-%COMP%] > .ps__rail-x[_ngcontent-%COMP%], .ps--active-y[_ngcontent-%COMP%] > .ps__rail-y[_ngcontent-%COMP%]{display:block;background-color:transparent}.ps[_ngcontent-%COMP%]:hover > .ps__rail-x[_ngcontent-%COMP%], .ps[_ngcontent-%COMP%]:hover > .ps__rail-y[_ngcontent-%COMP%], .ps--focus[_ngcontent-%COMP%] > .ps__rail-x[_ngcontent-%COMP%], .ps--focus[_ngcontent-%COMP%] > .ps__rail-y[_ngcontent-%COMP%], .ps--scrolling-x[_ngcontent-%COMP%] > .ps__rail-x[_ngcontent-%COMP%], .ps--scrolling-y[_ngcontent-%COMP%] > .ps__rail-y[_ngcontent-%COMP%]{opacity:.6}.ps__rail-x[_ngcontent-%COMP%]:hover, .ps__rail-y[_ngcontent-%COMP%]:hover, .ps__rail-x[_ngcontent-%COMP%]:focus, .ps__rail-y[_ngcontent-%COMP%]:focus{background-color:#eee;opacity:.9}.ps__thumb-x[_ngcontent-%COMP%]{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:4px;bottom:1px;position:absolute}.ps__thumb-y[_ngcontent-%COMP%]{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:4px;right:1px;position:absolute}.ps__rail-x[_ngcontent-%COMP%]:hover > .ps__thumb-x[_ngcontent-%COMP%], .ps__rail-x[_ngcontent-%COMP%]:focus > .ps__thumb-x[_ngcontent-%COMP%]{background-color:#999;height:7px}.ps__rail-y[_ngcontent-%COMP%]:hover > .ps__thumb-y[_ngcontent-%COMP%], .ps__rail-y[_ngcontent-%COMP%]:focus > .ps__thumb-y[_ngcontent-%COMP%]{background-color:#999;width:7px}@supports (-ms-overflow-style: none){.ps[_ngcontent-%COMP%]{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps[_ngcontent-%COMP%]{overflow:auto!important}}@media(min-width:1380px){.theme-container[_ngcontent-%COMP%]{max-width:94%}}@media(min-width:1920px){.theme-container[_ngcontent-%COMP%]{max-width:93%}}.sidenav[_ngcontent-%COMP%]   .mat-drawer-inner-container[_ngcontent-%COMP%]{overflow-x:hidden}#dashnavtoggle[_ngcontent-%COMP%], #filterstoggle[_ngcontent-%COMP%]{text-decoration:none;padding:5px}@media(min-width:992px){#dashnav[_ngcontent-%COMP%], #filter-items[_ngcontent-%COMP%], #sheetfilter-items[_ngcontent-%COMP%]{display:block}}.loading-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#050505cc;display:flex;justify-content:center;align-items:center;z-index:9999}.loading-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.loading-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:16px;font-size:16px;color:#fff;font-weight:500}
1.download-link.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}.download-link[_ngcontent-%COMP%]   .export-button-content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px}.download-link[_ngcontent-%COMP%]   .export-spinner[_ngcontent-%COMP%]     .mat-progress-spinner circle{stroke:#007bff}  .tooltip-inner{white-space:nowrap;max-width:none}.btn.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}.btn.disabled[_ngcontent-%COMP%]   .save-spinner[_ngcontent-%COMP%]{margin-right:8px}.btn.disabled[_ngcontent-%COMP%]   .save-spinner[_ngcontent-%COMP%]     .mat-progress-spinner circle{stroke:#fff}.sort-controls[_ngcontent-%COMP%]{margin-bottom:1rem}.sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]   .text-input[_ngcontent-%COMP%]{flex:1}.sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]{width:40px;height:40px;min-width:40px;border:none!important;outline:none!important;box-shadow:none!important}.sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]:focus, .sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]:active, .sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]:hover{border:none!important;outline:none!important}.sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .gap-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:.5rem}@media(min-width:992px){.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .gap-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:0}}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{min-width:120px;max-width:200px}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{white-space:nowrap}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .download-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;text-decoration:none}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .download-link[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:32px;height:auto;transition:transform .2s ease}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .download-link[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}@media(max-width:991px){.sort-controls[_ngcontent-%COMP%]   .search-form[_ngcontent-%COMP%]{margin-bottom:1rem}.sort-controls[_ngcontent-%COMP%]   .sorting[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]{justify-content:flex-end!important}}.pointer[_ngcontent-%COMP%]{cursor:pointer}#content[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{text-align:center}.favicon[_ngcontent-%COMP%]{width:100%}  .mat-checkbox-inner-container mat-checkbox-inner-container-no-side-margin{color:#006325!important}  .mat-checkbox{color:#006325!important}  .mat-checkbox-frame{border:2px solid white!important}  .mat-checkbox-inner-container-no-side-margin{background:#fff!important;color:#006325!important}  .custom-frame-products   .mat-checkbox-checkmark-path{stroke:#006325!important}  .custom-frame-products   .mat-checkbox-background{background:#fff!important}.form-group-tooptip[_ngcontent-%COMP%]{margin-bottom:0rem}.popContent[_ngcontent-%COMP%]{transform:translate(23px,-100px)}.popover[_ngcontent-%COMP%]   .bs-popover-top[_ngcontent-%COMP%]{position:absolute;top:0;left:0;will-change:transform;transform:translate(24px,-112px);max-width:400px;min-width:300px}.txtAlign[_ngcontent-%COMP%]{text-align:center}  .popover .popover-body{margin:0;width:auto;min-width:300px;max-width:400px;padding:.75rem;word-wrap:break-word}@media screen and (max-width:812px){.mainprod-alignment[_ngcontent-%COMP%]{width:181px!important}.align-downloadexcel[_ngcontent-%COMP%]{margin-left:0!important}.align-items-disp[_ngcontent-%COMP%]{margin-top:26px!important}.align-save-default[_ngcontent-%COMP%]{margin:5px 5px 5px 60px!important}}@media screen and (max-width:812px){.open-orders-alignment[_ngcontent-%COMP%]{margin-bottom:41px!important}.align-buttons[_ngcontent-%COMP%]{margin-left:61px!important}}
1@media screen and (min-width:1024px)and (max-width:1366px){.align-openordrs-bar[_ngcontent-%COMP%]{margin-top:37px!important}}input[_ngcontent-%COMP%]:invalid{box-shadow:0 0 5px 1px red}input[_ngcontent-%COMP%]:focus:invalid{outline:none}button[_ngcontent-%COMP%]:disabled{cursor:auto}.bbal[_ngcontent-%COMP%]{cursor:pointer}.tonsShipWidth[_ngcontent-%COMP%]{width:30%}a.disabled[_ngcontent-%COMP%]{color:gray;cursor:auto;text-decoration:underline}.mat-form-field[_ngcontent-%COMP%]   .mat-form-field-wrapper[_ngcontent-%COMP%]   .mat-form-field-flex[_ngcontent-%COMP%]   .mat-form-field-infix[_ngcontent-%COMP%]{width:110px}.mat-form-field-label[_ngcontent-%COMP%]{color:#000!important}.mat-form-field-underline[_ngcontent-%COMP%], .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#006325!important}.mat-select-arrow[_ngcontent-%COMP%]{color:#006325!important}.option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#006325!important}.mat-primary[_ngcontent-%COMP%]   .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#000!important}.container[_ngcontent-%COMP%], .pointer[_ngcontent-%COMP%]{cursor:pointer}.sort-settings[_ngcontent-%COMP%]{padding-left:3px!important}.label-issue[_ngcontent-%COMP%]{margin-top:10px;margin-right:10px}.dropdown-select[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:.5rem;width:fit-content;font-weight:700}#content[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .nested[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .nested[_ngcontent-%COMP%]{margin:10px 21px 0}@media(max-width:767px){#content[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .nested[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .nested[_ngcontent-%COMP%]{margin:0 5px!important;max-width:unset;flex:0 0 calc(100% - 10px);padding-left:5px;padding-right:5px}}.bs-popover-top[_ngcontent-%COMP%], .bs-popover-auto[x-placement^=top][_ngcontent-%COMP%]{width:auto;max-width:400px;min-width:300px}.popover-body[_ngcontent-%COMP%]{margin-left:12px;width:auto;min-width:300px;max-width:400px;padding:1rem;word-wrap:break-word}.hyperlink[_ngcontent-%COMP%]{color:#0000008c;text-decoration:underline}.form-inline[_ngcontent-%COMP%]   .form-check-input[_ngcontent-%COMP%]{position:relative;flex-shrink:0;margin-top:3px;margin-right:.25rem;margin-left:0}.checkboxtext[_ngcontent-%COMP%]{font-size:110%;display:inline}.modal-content-colmns[_ngcontent-%COMP%]{width:796px!important;margin-left:-112px!important}.btn-right[_ngcontent-%COMP%]{margin-left:88%}.checkbox-val[_ngcontent-%COMP%]{color:red}.select-options[_ngcontent-%COMP%]{margin-bottom:10px;margin-left:13px}.search-form[_ngcontent-%COMP%]{border-radius:22px;overflow:hidden;border:.5px solid!important;color:#006325;max-height:37px}.search-form[_ngcontent-%COMP%]   .search-btn[_ngcontent-%COMP%]{float:right;border:none!important}.search-form[_ngcontent-%COMP%]   button.mat-mini-fab.search-btn[_ngcontent-%COMP%]{border:none!important;outline:none!important;box-shadow:none!important}.search-form[_ngcontent-%COMP%]   button.mat-mini-fab.search-btn[_ngcontent-%COMP%]:focus, .search-form[_ngcontent-%COMP%]   button.mat-mini-fab.search-btn[_ngcontent-%COMP%]:active, .search-form[_ngcontent-%COMP%]   button.mat-mini-fab.search-btn[_ngcontent-%COMP%]:hover{border:none!important;outline:none!important}.btn-light[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.table-m-desc[_ngcontent-%COMP%]{margin-left:5px;margin-right:7px}.items-display[_ngcontent-%COMP%]{margin-right:7px}.search-bar[_ngcontent-%COMP%]{width:inherit}.email-icon[_ngcontent-%COMP%]{margin-top:10px!important;color:#006325!important}@media(max-width:768px){.form-inline-save-def[_ngcontent-%COMP%]{margin-top:19px}.pagecount[_ngcontent-%COMP%]{text-align:center!important}}.flex-wrap[_ngcontent-%COMP%]{margin:0 -5px!important}.text-input[_ngcontent-%COMP%]{height:36px}.dflt-save-btn[_ngcontent-%COMP%]{width:130px;height:32px}.badge-secondary[_ngcontent-%COMP%]{font-size:12px}.align-badges[_ngcontent-%COMP%]{margin-right:8%;margin-top:6px}.x-icon[_ngcontent-%COMP%]{color:#000;font-size:14px}.oi-sort-descending[_ngcontent-%COMP%], .oi-sort-ascending[_ngcontent-%COMP%]{font-size:21px}  .tooltip-inner{background-color:#006325}  .popover-header{color:#fff!important;text-align:center!important;background-color:#006325!important}.oi[_ngcontent-%COMP%]{color:#006325!important}select.form-control[_ngcontent-%COMP%], select.form-control-sm[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .5rem center;background-size:16px 12px;padding-right:2rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.whiteLink[_ngcontent-%COMP%]{color:inherit;text-decoration:underline}.whiteLink[_ngcontent-%COMP%]:hover{color:#fff!important;text-decoration:underline}`],changeDetection:0})}}return o}
1)();var Qn=[{path:"",component:ae}],wi=(()=>{class o{static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275mod=Mt({type:o})}static{this.\u0275inj=ut({providers:[lt,Y,X,K,Nt],imports:[St,lt.forChild(Qn),$t,Kt,Xt,qt,te,Rt,Bt]})}}return o})();export{wi as MainProductsModule};

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.