Files
Express_console_build/build/static/js/7157.99d280ab.chunk.js

1 line
19 KiB
JavaScript

"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[7157],{23787:(e,r,o)=>{o.d(r,{FG:()=>p,nV:()=>x,pY:()=>g,pg:()=>h});var n=o(89379),i=o(80045),t=o(93230),s=o(2235),l=o(16491),c=o(82053),a=o(44414);const d=["children","scroll","onScroll","sx"],x=e=>{let{children:r,scroll:o=!1,onScroll:s,sx:l}=e,c=(0,i.A)(e,d);return(0,a.jsx)(t.A,(0,n.A)((0,n.A)({spacing:1.25,onScroll:s,sx:(0,n.A)((0,n.A)({p:1.5},o&&{maxHeight:"calc(100vh - 220px)",overflowY:"auto",overflowX:"hidden"}),l)},c),{},{children:r}))},h=e=>{let{accent:r="#662582",header:o,footer:i,selected:t=!1,onClick:c,children:d,sx:x}=e;return(0,a.jsxs)(s.A,{elevation:0,onClick:c,sx:(0,n.A)({position:"relative",overflow:"hidden",flexShrink:0,borderRadius:2.5,border:"1px solid",borderColor:t?r:"#e2e8f0",background:t?"".concat(r,"0a"):"#fff",boxShadow:"0 4px 14px rgba(15,23,42,0.05)",transition:"border-color 0.15s, box-shadow 0.15s"},x),children:[(0,a.jsx)(l.A,{sx:{position:"absolute",left:0,top:0,bottom:0,width:3,bgcolor:r}}),(0,a.jsxs)(l.A,{sx:{p:1.5,pl:2},children:[o,d,i]})]})},p=e=>{let{children:r,columns:o=2,sx:i}=e;return(0,a.jsx)(l.A,{sx:(0,n.A)({display:"grid",gridTemplateColumns:"repeat(".concat(o,", minmax(0, 1fr))"),gap:1,mt:1.25},i),children:r})},g=e=>{let{label:r,value:o,children:n,full:i=!1,align:t="left"}=e;return(0,a.jsxs)(l.A,{sx:{gridColumn:i?"1 / -1":"auto",minWidth:0,textAlign:t},children:[(0,a.jsx)(c.A,{sx:{fontSize:9.5,fontWeight:800,letterSpacing:.5,textTransform:"uppercase",color:"#94a3b8",lineHeight:1.4},children:r}),(0,a.jsx)(l.A,{sx:{mt:.25,minWidth:0},children:void 0!==n?n:(0,a.jsx)(c.A,{sx:{fontSize:13,fontWeight:600,color:"#0f172a"},noWrap:!0,children:null!==o&&void 0!==o?o:"\u2014"})})]})}},27001:(e,r,o)=>{o.d(r,{A:()=>l});var n=o(93230),i=o(16491),t=o(82053),s=o(44414);function l(e){let{title:r,subtitle:o,live:l=!1,action:c}=e;return(0,s.jsxs)(n.A,{direction:{xs:"column",sm:"row"},justifyContent:"space-between",alignItems:{xs:"flex-start",sm:"center"},spacing:1.5,sx:{mb:{xs:2,md:2.5}},children:[(0,s.jsxs)(i.A,{sx:{minWidth:0},children:[(0,s.jsx)(t.A,{variant:"h3",sx:{fontWeight:700,letterSpacing:"-0.02em",color:"grey.800"},children:r}),o&&(0,s.jsxs)(n.A,{direction:"row",alignItems:"center",spacing:.75,sx:{mt:.5},children:[l&&(0,s.jsx)(i.A,{sx:{width:7,height:7,borderRadius:"50%",bgcolor:"success.main",boxShadow:"0 0 0 3px rgba(16,185,129,0.18)"}}),(0,s.jsx)(t.A,{variant:"caption",sx:{color:"text.secondary",fontWeight:500},children:o})]})]}),c&&(0,s.jsx)(i.A,{sx:{flexShrink:0,width:{xs:"100%",sm:"auto"}},children:c})]})}},36803:(e,r,o)=>{o.d(r,{A:()=>x});var n=o(48089),i=o(50704),t=o(93230),s=o(16491),l=o(82053),c=o(82917),a=o(41413),d=o(44414);function x(e){let{title:r,value:o,icon:x,color:h="#662582",caption:p,loading:g=!1}=e;return(0,d.jsx)(n.A,{sx:{height:"100%"},children:(0,d.jsx)(i.A,{sx:{p:{xs:1.75,md:2},"&:last-child":{pb:{xs:1.75,md:2}}},children:(0,d.jsxs)(t.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,children:[(0,d.jsxs)(s.A,{sx:{minWidth:0,flex:1},children:[(0,d.jsx)(l.A,{variant:"body2",sx:{fontWeight:500,color:"text.secondary",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:r}),g?(0,d.jsx)(c.A,{variant:"rounded",sx:{width:72,height:30,mt:.5},animation:"wave"}):(0,d.jsx)(l.A,{sx:{mt:.25,fontWeight:700,letterSpacing:"-0.015em",color:"grey.800",lineHeight:1.15,fontSize:{xs:"1.375rem",md:"1.5rem"},whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:o}),p&&(0,d.jsx)(l.A,{variant:"caption",sx:{display:"block",mt:.5,color:"text.secondary"},children:p})]}),x&&(0,d.jsx)(a.A,{variant:"rounded",sx:{width:42,height:42,borderRadius:2,bgcolor:"".concat(h,"14"),color:h,flexShrink:0},children:x})]})})})}},56311:(e,r,o)=>{o.d(r,{A:()=>p});var n=o(89379),i=o(9950),t=o(2660),s=o(2046),l=o(83274),c=o(25333),a=o(97125),d=o(7762),x=o(52097),h=o(44414);const p=e=>{let{value:r,onChange:o,onDebouncedChange:p,debounceTime:g=500,placeholder:u="Search (ctrl+k)",sx:m}=e;const j=(0,i.useRef)(null),[b]=(0,x.d7)(r,g);return(0,i.useEffect)((()=>{p&&p(b)}),[b,p]),(0,i.useEffect)((()=>{const e=e=>{var r;"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),null===(r=j.current)||void 0===r||r.focus());"Escape"===e.key&&document.activeElement===j.current&&j.current.blur()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[]),(0,h.jsx)(t.A,{sx:(0,n.A)({},m),inputRef:j,placeholder:u,autoComplete:"off",value:r,fullWidth:!0,onChange:e=>o(e.target.value),startAdornment:(0,h.jsx)(s.A,{position:"start",sx:{mr:-.5},children:(0,h.jsx)(a.A,{})}),endAdornment:(0,h.jsx)(l.A,{title:"Clear",children:(0,h.jsx)(c.A,{sx:{visibility:r?"visible":"hidden"},onClick:()=>o(""),children:(0,h.jsx)(d.A,{})})})})}},59212:(e,r,o)=>{o.d(r,{A:()=>h});var n=o(89379),i=o(9950),t=o(93230),s=o(41413),l=o(77922),c=o(29925),a=o(26910),d=o(31222),x=o(44414);const h=(0,i.forwardRef)(((e,r)=>{let{setAppId:o,setLocoName:h,setPage:p,sx:g,textfeildSx:u,textfieldSx:m,pill:j=!1,accentColor:b="#6366f1",icon:A,placeholder:f="Select Zone",paperComponent:v}=e;const[w,S]=(0,i.useState)(JSON.parse(localStorage.getItem("applocations")||"[]"));(0,i.useEffect)((()=>{0===w.length&&(async()=>{try{const e=localStorage.getItem("userid");if(!e)return;const r=await a.A.get("".concat("https://jupiter.nearle.app/live/api/v1","/partners/getlocations/?userid=").concat(e));if(r.data.status){const e=[...r.data.details,{locationname:"All",applocationid:0}];localStorage.setItem("applocations",JSON.stringify(e)),S(e)}}catch(e){console.error("Error fetching locations in LocationAutocomplete:",e)}})()}),[w.length]);const k=e=>"".concat(b).concat(e),y=k("26"),C=k("18"),I=j?{cursor:"pointer","& .MuiOutlinedInput-root":{borderRadius:"10px",bgcolor:"#ffffff",fontWeight:600,color:"#0f172a",paddingRight:"8px",cursor:"pointer",transition:"border-color 0.15s, box-shadow 0.15s","& fieldset":{borderColor:"#e2e8f0",borderWidth:1},"&:hover fieldset":{borderColor:"#cbd5e1"},"&.Mui-focused":{boxShadow:"0 0 0 3px ".concat(y)},"&.Mui-focused fieldset":{borderColor:b,borderWidth:1.5}},"& .MuiAutocomplete-endAdornment .MuiSvgIcon-root":{color:"#94a3b8"}}:{},z=j&&(0,x.jsx)(t.A,{direction:"row",alignItems:"center",spacing:.75,sx:{pl:.5,mr:.25,flexShrink:0},children:(0,x.jsx)(s.A,{sx:{width:24,height:24,bgcolor:C,color:b,transition:"background-color 0.15s, color 0.15s"},children:A||(0,x.jsx)(d.HPi,{size:14})})});return(0,x.jsx)(l.A,{id:"location-autocomplete",options:w||[],getOptionLabel:e=>{var r;return null!==(r=null===e||void 0===e?void 0:e.locationname)&&void 0!==r?r:""},PaperComponent:v,sx:(0,n.A)({},g),onChange:(e,r,n)=>{"clear"===n?(null===o||void 0===o||o(0),null===h||void 0===h||h(""),null===p||void 0===p||p(0)):r&&(null===o||void 0===o||o(r.applocationid),null===h||void 0===h||h(r.locationname),null===p||void 0===p||p(0))},renderInput:e=>j?(0,x.jsx)(c.A,(0,n.A)((0,n.A)({},e),{},{inputRef:r,placeholder:f,InputProps:(0,n.A)((0,n.A)({},e.InputProps),{},{startAdornment:z}),sx:(0,n.A)((0,n.A)({},I),m||u||{})})):(0,x.jsx)(c.A,(0,n.A)((0,n.A)({},e),{},{inputRef:r,label:"Select Zones",sx:(0,n.A)({},m||u||{})}))})}))},96646:(e,r,o)=>{o.d(r,{r:()=>c});var n=o(9213),i=o(21671),t=o(82917),s=o(93230),l=o(44414);const c=e=>{let{rowsPerPage:r=5,col:o=1}=e;return(0,l.jsx)(l.Fragment,{children:Array.from(new Array(r)).map(((e,r)=>(0,l.jsxs)(n.A,{children:[(0,l.jsx)(i.A,{children:(0,l.jsx)(t.A,{variant:"circular",width:24,height:24})}),(0,l.jsx)(i.A,{children:(0,l.jsx)(t.A,{variant:"text",width:30})}),Array.from({length:o}).map(((e,r)=>(0,l.jsx)(i.A,{children:(0,l.jsxs)(s.A,{spacing:.5,children:[(0,l.jsx)(t.A,{variant:"text",width:100}),(0,l.jsx)(t.A,{variant:"text",width:80})]})},r))),(0,l.jsx)(i.A,{children:(0,l.jsx)(t.A,{variant:"text",width:150})}),(0,l.jsx)(i.A,{children:(0,l.jsx)(t.A,{variant:"rounded",width:60,height:24})}),(0,l.jsx)(i.A,{align:"center",children:(0,l.jsxs)(s.A,{direction:"row",spacing:1,justifyContent:"flex-end",children:[(0,l.jsx)(t.A,{variant:"circular",width:28,height:28}),(0,l.jsx)(t.A,{variant:"circular",width:28,height:28})]})})]},r)))})}},97157:(e,r,o)=>{o.r(r),o.d(r,{default:()=>Q});var n=o(89379),i=o(9950),t=o(2235),s=o(41413),l=o(82053),c=o(16491),a=o(14857),d=o(47223),x=o(60899),h=o(93230),p=o(1320),g=o(15769),u=o(69780),m=o(9213),j=o(21671),b=o(34075),A=o(31222),f=o(36150),v=o(52351),w=o(56311),S=o(59212),k=o(27001),y=o(36803),C=o(23787),I=o(96646),z=o(81425),W=o(44414);const R=14,M=10,P="0 12px 32px rgba(15, 23, 42, 0.12)",L="#0f172a",B="#64748b",N="#94a3b8",F="#e2e8f0",T="#cbd5e1",D="#f1f5f9",E="#ffffff",H="#f8fafc",J=(e,r)=>"".concat(e).concat(r),K=e=>J(e,"08"),O=e=>J(e,"18"),Y=e=>J(e,"55"),Z="#662582",G=e=>(0,W.jsx)(t.A,(0,n.A)((0,n.A)({},e),{},{sx:{mt:.75,borderRadius:2,boxShadow:P,border:"1px solid",borderColor:"divider",overflow:"hidden"}})),X=e=>{let{color:r,selected:o,size:n=24,children:i}=e;return(0,W.jsx)(s.A,{sx:{width:n,height:n,bgcolor:o?r:O(r),color:o?"#fff":r,transition:"background-color 0.15s, color 0.15s"},children:i})},$=e=>new Intl.NumberFormat("en-IN",{style:"currency",currency:"INR",minimumFractionDigits:2}).format(Number(e)||0),_=e=>new Intl.NumberFormat("en-IN",{minimumFractionDigits:2}).format(Number(e)||0),V=e=>{let{label:r}=e;return(0,W.jsx)(l.A,{component:"span",sx:{fontSize:13.5,fontWeight:700,color:L,whiteSpace:"nowrap",fontVariantNumeric:"tabular-nums"},children:r})},q=e=>{let{icon:r,label:o}=e;return(0,W.jsxs)(c.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:8,bgcolor:H,border:"1px solid ".concat(F),color:L,fontSize:12,fontWeight:600,whiteSpace:"nowrap"},children:[(0,W.jsx)(c.A,{component:"span",sx:{display:"inline-flex",color:N},children:r}),o]})},Q=()=>{const e=(0,a.A)(),r=(0,d.A)(e.breakpoints.down("md")),o=(0,i.useRef)(),[n,P]=(0,i.useState)(0),[Q,U]=(0,i.useState)("All"),[ee,re]=(0,i.useState)(""),[oe,ne]=(0,i.useState)(""),{data:ie=[],isLoading:te}=(0,f.I)({queryKey:["getallpricing",n],queryFn:z.OM,keepPreviousData:!0}),se=(0,i.useMemo)((()=>{if(!oe)return ie;const e=oe.toLowerCase().trim();return ie.filter((r=>[r.applocation,r.appname,r.slab,String(r.pricingid)].filter(Boolean).some((r=>String(r).toLowerCase().includes(e)))))}),[ie,oe]),le=(0,i.useMemo)((()=>{const e=ie.length;return{total:e,tenants:new Set(ie.map((e=>e.appname)).filter(Boolean)).size,avgBase:e?ie.reduce(((e,r)=>e+(Number(r.baseprice)||0)),0)/e:0}}),[ie]),ce=[{key:"total",label:"Total Pricing Slabs",color:Z,icon:A.x2E,value:le.total},{key:"tenants",label:"Tenants Priced",color:"#0ea5e9",icon:A.AYP,value:le.tenants},{key:"avg",label:"Avg Base Price",color:"#f59e0b",icon:A.X3k,value:$(le.avgBase)},{key:"zone",label:"Active Zone",color:"#10b981",icon:A.XXh,value:Q||"All Zones"}];return(0,W.jsxs)(W.Fragment,{children:[te&&(0,W.jsx)(v.A,{}),(0,W.jsx)(k.A,{title:"Pricing",subtitle:"Live \xb7 ".concat(Q||"All Zones"),live:!0,action:(0,W.jsx)(S.A,{locaName:Q,setAppId:P,setLocoName:U,pill:!0,accentColor:Z,icon:(0,W.jsx)(A.HPi,{size:14}),placeholder:"Select Zone",paperComponent:G,sx:{width:{xs:"100%",sm:280},zIndex:100}})}),(0,W.jsx)(x.Ay,{container:!0,spacing:{xs:2,md:2.5},sx:{mb:{xs:1.5,md:2}},children:ce.map((e=>{const r=e.icon;return(0,W.jsx)(x.Ay,{item:!0,xs:6,sm:6,md:3,children:(0,W.jsx)(y.A,{title:e.label,value:e.value,icon:(0,W.jsx)(r,{size:20}),color:e.color})},e.key)}))}),(0,W.jsx)(t.A,{elevation:0,sx:{mt:{xs:1.5,md:2},p:{xs:1,md:1.5},borderTopLeftRadius:R/8,borderTopRightRadius:R/8,borderBottomLeftRadius:0,borderBottomRightRadius:0,border:"1px solid",borderColor:F,borderBottom:0,background:"#fff"},children:(0,W.jsxs)(h.A,{direction:{xs:"column",sm:"row"},alignItems:{xs:"stretch",sm:"center"},justifyContent:"space-between",spacing:1.25,children:[(0,W.jsxs)(h.A,{direction:"row",alignItems:"center",spacing:1.25,children:[(0,W.jsx)(X,{color:Z,size:32,children:(0,W.jsx)(A.JL6,{size:18})}),(0,W.jsxs)(h.A,{children:[(0,W.jsx)(l.A,{variant:"caption",sx:{fontWeight:800,color:B,letterSpacing:.6,textTransform:"uppercase"},children:"Pricing Catalog"}),(0,W.jsxs)(l.A,{variant:"body2",sx:{color:L,fontWeight:700},children:[ie.length," total \xb7 ",se.length," shown"]})]})]}),(0,W.jsx)(c.A,{sx:{width:{xs:"100%",sm:280,lg:340},flex:{xs:"1 1 100%",sm:"0 0 auto"}},children:(0,W.jsx)(w.A,{value:ee,onChange:re,onDebouncedChange:ne,placeholder:"Search pricing (ctrl+k)",sx:{m:0,width:"100%",borderRadius:M+"px",bgcolor:E,"& fieldset":{borderColor:F,borderWidth:1},"&:hover fieldset":{borderColor:T},"&.Mui-focused fieldset":{borderColor:Z,borderWidth:1.5},"&.Mui-focused":{boxShadow:"0 0 0 3px ".concat((ae=Z,J(ae,"26")))}}})})]})}),(0,W.jsx)(t.A,{elevation:0,sx:{borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:R/8,borderBottomRightRadius:R/8,border:"1px solid",borderColor:F,overflow:"hidden",background:"#fff"},children:r?0!==se.length||te?(0,W.jsx)(C.nV,{scroll:!0,children:se.map(((e,r)=>{var o;return(0,W.jsxs)(C.pg,{accent:Z,header:(0,W.jsxs)(h.A,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:1,children:[(0,W.jsxs)(h.A,{direction:"row",alignItems:"center",spacing:1,sx:{minWidth:0},children:[(0,W.jsx)(X,{color:Z,size:36,children:(0,W.jsx)(A.Itr,{size:18})}),(0,W.jsxs)(h.A,{sx:{minWidth:0},children:[(0,W.jsx)(l.A,{variant:"subtitle2",sx:{fontWeight:700,color:L},noWrap:!0,children:e.appname||"\u2014"}),(0,W.jsxs)(l.A,{variant:"caption",sx:{color:B},children:["ID #",e.pricingid]})]})]}),(0,W.jsx)(l.A,{variant:"caption",sx:{fontWeight:700,color:N,flexShrink:0},children:String(r+1).padStart(2,"0")})]}),children:[(0,W.jsxs)(h.A,{direction:"row",spacing:.75,sx:{mt:1,flexWrap:"wrap",gap:.75},children:[e.applocation?(0,W.jsxs)(c.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:K("#10b981"),border:"1px solid ".concat(Y("#10b981")),color:"#10b981",fontSize:11,fontWeight:800},children:[(0,W.jsx)(A.JFD,{size:12})," ",e.applocation]}):null,(0,W.jsxs)(c.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:K("#0ea5e9"),border:"1px solid ".concat(Y("#0ea5e9")),color:"#0ea5e9",fontSize:11,fontWeight:800},children:[(0,W.jsx)(A.BJM,{size:12})," ",e.slab||"\u2014"]})]}),(0,W.jsxs)(C.FG,{children:[(0,W.jsx)(C.pY,{label:"Base Price",children:(0,W.jsx)(V,{color:Z,icon:(0,W.jsx)(A.bmp,{size:12}),label:$(e.baseprice)})}),(0,W.jsx)(C.pY,{label:"Price / KM",children:(0,W.jsx)(V,{color:"#10b981",icon:(0,W.jsx)(A.H4F,{size:12}),label:$(e.priceperkm)})}),(0,W.jsx)(C.pY,{label:"Min KM",children:(0,W.jsx)(V,{color:"#f59e0b",icon:(0,W.jsx)(A.xI$,{size:12}),label:"".concat(_(e.minkm)," km")})}),(0,W.jsx)(C.pY,{label:"Max KM",children:(0,W.jsx)(V,{color:"#ef4444",icon:(0,W.jsx)(A.xI$,{size:12}),label:"".concat(_(e.maxkm)," km")})}),(0,W.jsx)(C.pY,{label:"Min Orders",children:(0,W.jsxs)(h.A,{direction:"row",alignItems:"center",spacing:.5,children:[(0,W.jsx)(A.GdF,{size:14,color:N}),(0,W.jsx)(l.A,{variant:"subtitle2",sx:{fontWeight:700,color:L},children:null!==(o=e.minorder)&&void 0!==o?o:"\u2014"})]})})]})]},e.pricingid||"".concat(e.appname,"-").concat(r))}))}):(0,W.jsxs)(h.A,{alignItems:"center",spacing:1.5,sx:{py:6,px:2},children:[(0,W.jsx)(s.A,{sx:{width:64,height:64,bgcolor:O("#94a3b8"),color:N},children:(0,W.jsx)(A.JL6,{size:28})}),(0,W.jsx)(l.A,{variant:"subtitle1",sx:{fontWeight:700,color:L},children:"No pricing to show"}),(0,W.jsx)(l.A,{variant:"caption",sx:{color:B,textAlign:"center"},children:ee?"Try a different keyword.":"Pick a zone above to load the catalog."})]}):(0,W.jsx)(p.A,{ref:o,sx:{maxHeight:{xs:"calc(100vh - 220px)",md:"calc(100vh - 190px)"},"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-thumb":{backgroundColor:Y(Z),borderRadius:8,"&:hover":{backgroundColor:Z}},"&::-webkit-scrollbar-track":{backgroundColor:H}},children:(0,W.jsxs)(g.A,{stickyHeader:!0,sx:{minWidth:{xs:860,md:1080}},children:[(0,W.jsx)(u.A,{children:(0,W.jsxs)(m.A,{sx:{"& th":{backgroundColor:H,color:B,fontSize:{xs:10,md:11},fontWeight:800,letterSpacing:.6,textTransform:"uppercase",whiteSpace:"nowrap",borderBottom:"1px solid ".concat(F),py:{xs:1,md:1.25},px:{xs:1,md:2}}},children:[(0,W.jsx)(j.A,{children:"#"}),(0,W.jsx)(j.A,{children:"Tenant"}),(0,W.jsx)(j.A,{children:"Zone"}),(0,W.jsx)(j.A,{children:"Slab"}),(0,W.jsx)(j.A,{align:"center",children:"Base Price"}),(0,W.jsx)(j.A,{align:"center",children:"Min KM"}),(0,W.jsx)(j.A,{align:"center",children:"Price / KM"}),(0,W.jsx)(j.A,{align:"center",children:"Max KM"}),(0,W.jsx)(j.A,{align:"center",children:"Min Orders"})]})}),(0,W.jsxs)(b.A,{children:[te&&(0,W.jsx)(I.r,{col:5}),0!==se.length||te?se.map(((e,r)=>{var o;return(0,W.jsxs)(m.A,{sx:{transition:"background-color 0.15s","& td":{borderBottom:"1px solid ".concat(D),py:{xs:1,md:1.5},px:{xs:1,md:2}},"&:hover":{backgroundColor:H}},children:[(0,W.jsx)(j.A,{children:(0,W.jsx)(l.A,{variant:"caption",sx:{fontWeight:700,color:N},children:String(r+1).padStart(2,"0")})}),(0,W.jsx)(j.A,{children:(0,W.jsxs)(h.A,{direction:"row",alignItems:"center",spacing:1,children:[(0,W.jsx)(X,{color:Z,size:36,children:(0,W.jsx)(A.Itr,{size:18})}),(0,W.jsxs)(h.A,{children:[(0,W.jsx)(l.A,{variant:"subtitle2",sx:{fontWeight:700,color:L,whiteSpace:"nowrap"},children:e.appname||"\u2014"}),(0,W.jsxs)(l.A,{variant:"caption",sx:{color:B},children:["ID #",e.pricingid]})]})]})}),(0,W.jsx)(j.A,{children:e.applocation?(0,W.jsx)(q,{icon:(0,W.jsx)(A.JFD,{size:12}),label:e.applocation}):(0,W.jsx)(l.A,{variant:"caption",sx:{color:N},children:"\u2014"})}),(0,W.jsx)(j.A,{children:(0,W.jsx)(q,{icon:(0,W.jsx)(A.BJM,{size:12}),label:e.slab||"\u2014"})}),(0,W.jsx)(j.A,{align:"center",children:(0,W.jsx)(V,{color:Z,icon:(0,W.jsx)(A.bmp,{size:12}),label:$(e.baseprice),width:110})}),(0,W.jsx)(j.A,{align:"center",children:(0,W.jsx)(V,{color:"#f59e0b",icon:(0,W.jsx)(A.xI$,{size:12}),label:"".concat(_(e.minkm)," km"),width:90})}),(0,W.jsx)(j.A,{align:"center",children:(0,W.jsx)(V,{color:"#10b981",icon:(0,W.jsx)(A.H4F,{size:12}),label:$(e.priceperkm),width:110})}),(0,W.jsx)(j.A,{align:"center",children:(0,W.jsx)(V,{color:"#ef4444",icon:(0,W.jsx)(A.xI$,{size:12}),label:"".concat(_(e.maxkm)," km"),width:90})}),(0,W.jsx)(j.A,{align:"center",children:(0,W.jsxs)(h.A,{direction:"row",alignItems:"center",justifyContent:"center",spacing:.5,children:[(0,W.jsx)(A.GdF,{size:14,color:N}),(0,W.jsx)(l.A,{variant:"subtitle2",sx:{fontWeight:700,color:L,whiteSpace:"nowrap"},children:null!==(o=e.minorder)&&void 0!==o?o:"\u2014"})]})})]},e.pricingid||"".concat(e.appname,"-").concat(r))})):(0,W.jsx)(m.A,{children:(0,W.jsx)(j.A,{colSpan:9,sx:{py:6},children:(0,W.jsxs)(h.A,{alignItems:"center",spacing:1.5,children:[(0,W.jsx)(s.A,{sx:{width:64,height:64,bgcolor:O("#94a3b8"),color:N},children:(0,W.jsx)(A.JL6,{size:28})}),(0,W.jsx)(l.A,{variant:"subtitle1",sx:{fontWeight:700,color:L},children:"No pricing to show"}),(0,W.jsx)(l.A,{variant:"caption",sx:{color:B},children:ee?"Try a different keyword.":"Pick a zone above to load the catalog."})]})})})]})]})})})]});var ae}}}]);