PageSourceSearch

https://axisxchange.com/static/js/4694.c6fc9ce0.chunk.js

js axisxchange.com collected 2026-10-02 01:23:57 UTC 15,801 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdiscovery_nissan=self.webpackChunkdiscovery_nissan||[]).push([[4694],{1724:(e,a,t)=>{t.d(a,{l:()=>b});var s=t(579),r=t(3033),n=t(6501),i=t(6712),l=t(8813),o=t(5043),d=t(4765),c=t(5003),u=t(7971);const p=(0,c.R)((function(e,a){const{children:t,placeholder:r,className:n,...i}=e;return(0,s.jsxs)(u.B.select,{...i,ref:a,className:(0,d.cx)("chakra-select",n),children:[r&&(0,s.jsx)("option",{value:"",children:r}),t]})}));p.displayName="SelectField";var h=t(3635),m=t(5158);const b=(0,c.R)(((e,a)=>{const t=(0,m.o)("Select",e),{rootProps:o,placeholder:d,icon:c,color:b,height:x,h:f,minH:v,minHeight:y,iconColor:j,iconSize:k,...A}=(0,r.M)(e),[C,w]=(0,i.l)(A,n.GF),_=(0,h.t)(w),R={width:"100%",height:"fit-content",position:"relative",color:b},I={paddingEnd:"2rem",...t.field,_focus:{zIndex:"unset",...t.field?._focus}};return(0,s.jsxs)(u.B.div,{className:"chakra-select__wrapper",__css:R,...C,...o,children:[(0,s.jsx)(p,{ref:a,height:f??x,minH:v??y,placeholder:d,..._,__css:I,children:e.children}),(0,s.jsx)(g,{"data-disabled":(0,l.s)(_.disabled),...(j||b)&&{color:j||b},__css:t.icon,...k&&{fontSize:k},children:c})]})}));b.displayName="Select";const x=e=>(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),f=(0,u.B)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),g=e=>{const{children:a=(0,s.jsx)(x,{}),...t}=e,r=(0,o.cloneElement)(a,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,s.jsx)(f,{...t,className:"chakra-select__icon-wrapper",children:(0,o.isValidElement)(a)?r:null})};g.displayName="SelectIcon"},2741:(e,a,t)=>{t.d(a,{A:()=>d});var s=t(5043),r=t(5371),n=t(6659),i=t(579);const l=(0,s.lazy)((async()=>{const{Bar:e}=await Promise.all([t.e(6361),t.e(6058)]).then(t.bind(t,6058)),a=(await Promise.all([t.e(6361),t.e(9042)]).then(t.bind(t,9042))).default,{Chart:s,CategoryScale:r,LinearScale:n,BarElement:l,Title:o,Tooltip:d,Legend:c}=await t.e(6361).then(t.bind(t,6361));return s.register(r,n,l,o,d,c,a),{default:a=>{let{chartData:t,chartOptions:s}=a;return(0,i.jsx)(e,{data:t,options:s})}}})),o=e=>{var a,t,o;let{chartData:d,chartOptions:c}=e;if(!d)return null;const u={clip:!1,layout:{padding:{right:45}},...c,plugins:{...null===c||void 0===c?void 0:c.plugins,datalabels:{anchor:"end",align:"right",color:"#1F2937",font:{weight:"bold",size:12},formatter:e=>void 0!==e&&null!==e?e:"",...null===c||void 0===c||null===(a=c.plugins)||void 0===a?void 0:a.datalabels}},scales:{x:{grace:"10%",grid:{display:!1},ticks:{display:!1},...null===c||void 0===c||null===(t=c.scales)||void 0===t?void 0:t.x},y:{grid:{display:!1},...null===c||void 0===c||null===(o=c.scales)||void 0===o?void 0:o.y}}};return(0,i.jsx)(s.Suspense,{fallback:(0,i.jsx)(r.s,{justify:"center",align:"center",h:"300px",children:(0,i.jsx)(n.y,{size:"lg",color:"orange.500",thickness:"3px"})}),children:(0,i.jsx)(l,{chartData:d,chartOptions:u})})},d=s.memo(o)},3169:(e,a,t)=>{t.d(a,{Z:()=>c});var s=t(579),r=t(3033),n=t(4765),i=t(5647),l=t(5003),o=t(5158),d=t(7971);const c=(0,l.R)((function(e,a){const{className:t,children:l,direction:c="column",justify:u,align:p,...h}=(0,r.M)(e),m=(0,o.o)("Card",e);return(0,s.jsx)(d.B.div,{ref:a,className:(0,n.cx)("chakra-card",t),__css:{display:"flex",flexDirection:c,justifyContent:u,alignItems:p,position:"relative",minWidth:0,wordWrap:"break-word",...m.container},...h,children:(0,s.jsx)(i.s,{value:m,children:l})})}))},3225:(e,a,t)=>{t.d(a,{MJ:()=>f,TP:()=>m,Uc:()=>x,eK:()=>g});var s=t(579),r=t(3194),n=t(3033),i=t(6417),l=t(8813),o=t(4765),d=t(5043),c=t(5003),u=t(5158),p=t(7971);const[h,m]=(0,i.q)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[b,x]=(0,i.q)({strict:!1,name:"FormControlContext"});const f=(0,c.R)((function(e,a){const t=(0,u.o)("Form",e),i=(0,n.M)(e),{getRootProps:c,htmlProps:m,...x}=function(e){const{id:a,isRequired:t,isInvalid:s,isDisabled:n,isReadOnly:i,...o}=e,c=(0,d.useId)(),u=a||`field-${c}`,p=`${u}-label`,h=`${u}-feedback`,m=`${u}-helptext`,[b,x]=(0,d.useState)(!1),[f,g]=(0,d.useState)(!1),[v,y]=(0,d.useState)(!1),j=(0,d.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{id:m,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ref:(0,r.Px)(e,(e=>{e&&g(!0)}))}}),[m]),k=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:a,"data-focus":(0,l.s)(v),"data-disabled":(0,l.s)(n),"data-invalid":(0,l.s)(s),"data-readonly":(0,l.s)(i),id:void 0!==e.id?e.id:p,htmlFor:void 0!==e.htmlFor?e.htmlFor:u}}),[u,n,v,s,i,p]),A=(0,d.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{id:h,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ref:(0,r.Px)(e,(e=>{e&&x(!0)})),"aria-live":"polite"}}),[h]),C=(0,d.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},...o,ref:e,role:"group","data-focus":(0,l.s)(v),"data-disabled":(0,l.s)(n),"data-invalid":(0,l.s)(s),"data-readonly":(0,l.s)(i)}}),[o,n,v,s,i]),w=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;
1return{...e,ref:a,role:"presentation","aria-hidden":!0,children:e.children||"*"}}),[]);return{isRequired:!!t,isInvalid:!!s,isReadOnly:!!i,isDisabled:!!n,isFocused:!!v,onFocus:()=>y(!0),onBlur:()=>y(!1),hasFeedbackText:b,setHasFeedbackText:x,hasHelpText:f,setHasHelpText:g,id:u,labelId:p,feedbackId:h,helpTextId:m,htmlProps:o,getHelpTextProps:j,getErrorMessageProps:A,getRootProps:C,getLabelProps:k,getRequiredIndicatorProps:w}}(i),f=(0,o.cx)("chakra-form-control",e.className);return(0,s.jsx)(b,{value:x,children:(0,s.jsx)(h,{value:t,children:(0,s.jsx)(p.B.div,{...c({},a),className:f,__css:t.container})})})}));f.displayName="FormControl";const g=(0,c.R)((function(e,a){const t=x(),r=m(),n=(0,o.cx)("chakra-form__helper-text",e.className);return(0,s.jsx)(p.B.div,{...t?.getHelpTextProps(e,a),__css:r.helperText,className:n})}));g.displayName="FormHelperText"},3635:(e,a,t)=>{t.d(a,{t:()=>i,v:()=>l});var s=t(8813),r=t(7246),n=t(3225);function i(e){const{isDisabled:a,isInvalid:t,isReadOnly:r,isRequired:n,...i}=l(e);return{...i,disabled:a,readOnly:r,required:n,"aria-invalid":(0,s.r)(t),"aria-required":(0,s.r)(n),"aria-readonly":(0,s.r)(r)}}function l(e){const a=(0,n.Uc)(),{id:t,disabled:s,readOnly:i,required:l,isRequired:o,isInvalid:d,isReadOnly:c,isDisabled:u,onFocus:p,onBlur:h,...m}=e,b=e["aria-describedby"]?[e["aria-describedby"]]:[];return a?.hasFeedbackText&&a?.isInvalid&&b.push(a.feedbackId),a?.hasHelpText&&b.push(a.helpTextId),{...m,"aria-describedby":b.join(" ")||void 0,id:t??a?.id,isDisabled:s??u??a?.isDisabled,isReadOnly:i??c??a?.isReadOnly,isRequired:l??o??a?.isRequired,isInvalid:d??a?.isInvalid,onFocus:(0,r.H)(a?.onFocus,p),onBlur:(0,r.H)(a?.onBlur,h)}}},4321:(e,a,t)=>{t.d(a,{A:()=>j});var s=t(5043),r=t(8662),n=t(202),i=t(6870),l=t(6773),o=t(2703),d=t(3935),c=t(1054),u=t(9542),p=t(5929),h=t(7516),m=t(2107),b=t(9900),x=t(5748),f=t(579);const g=[{label:"Cars Added",path:"/reports/carsadded"},{label:"Pickups Set",path:"/reports/pickupsset"},{label:"Contacts Attempted",path:"/reports/contactsattempted"},{label:"Cars Purchased",path:"/reports/carspurchased"},{label:"Q/A Submitted",path:"/reports/qasubmitted"},{label:"User Activity",path:"/reports/usersactivity"},{label:"Sources",path:"/reports/sources"},{label:"Average Discount",path:"/reports/averagediscount"}],v=e=>{let{label:a,active:t,onClick:s}=e;return(0,f.jsx)(r.$,{variant:"ghost",justifyContent:"flex-start",w:"100%",fontWeight:t?"bold":"medium",bg:t?"accent":"transparent",color:t?"white":"neutralDark",_hover:{bg:t?"accent":"secondary",color:t?"white":"neutralDark"},borderRadius:"md",onClick:s,children:a})},y=e=>{let{onClose:a}=e;const t=(0,b.zy)(),s=(0,b.Zp)();return(0,f.jsx)(n.T,{spacing:2,align:"stretch",children:g.map((e=>(0,f.jsx)(v,{label:e.label,active:t.pathname===e.path,onClick:()=>{return t=e.path,s(t),void(a&&a());var t}},e.path)))})};function j(){var e;const[a,t]=(0,s.useState)(!0),[r,n]=(0,s.useState)(0),{isOpen:b,onOpen:g,onClose:v}=(0,i.j)();(0,s.useEffect)((()=>{const e=()=>{const e=window.scrollY;t(e<80||e<r),n(e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[r]);const j=null===(e=(0,l.A)({base:!0,md:!0,lg:!1}))||void 0===e||e;return(0,f.jsx)(f.Fragment,{children:j?(0,f.jsxs)(f.Fragment,{children:[!b&&a&&(0,f.jsx)(o.K,{"aria-label":"Open menu",icon:(0,f.jsx)(x.In,{icon:"material-symbols:menu-rounded",width:"26",height:"26"}),onClick:g,position:"fixed",left:{base:"14px",md:"50px",lg:"14px"},marginTop:{base:"14px",md:"30px",lg:"14px"},top:a?"85px":"-60px",zIndex:"1200",bg:"white",color:"#595A5A",borderRadius:"full",boxShadow:"0 4px 14px rgba(0,0,0,0.08)",_hover:{transform:"scale(1.05)",boxShadow:"0 6px 18px rgba(0,0,0,0.12)",bg:"gray.50"},_active:{transform:"scale(0.96)"},transition:"all 0.2s ease",size:"md"}),(0,f.jsxs)(d._s,{isOpen:b,placement:"left",onClose:v,children:[(0,f.jsx)(c.m,{backdropFilter:"blur(4px)"}),(0,f.jsxs)(u.z,{maxW:"240px",children:[(0,f.jsx)(p.s,{}),(0,f.jsx)(h.c,{pt:12,children:(0,f.jsx)(y,{onClose:v})})]})]})]}):(0,f.jsx)(m.a,{w:"220px",minW:"220px",bg:"white",borderRight:"2px solid",borderColor:"#595A5A",p:4,minH:"100vh",children:(0,f.jsx)(y,{})})})}},4330:(e,a,t)=>{t.d(a,{b:()=>o});var s=t(579),r=t(4765),n=t(5647),i=t(5003),l=t(7971);const o=(0,i.R)((function(e,a){const{className:t,...i}=e,o=(0,n.Q)();return(0,s.jsx)(l.B.div,{ref:a,className:(0,r.cx)("chakra-card__body",t),__css:o.body,...i})}))},4694:(e,a,t)=>{t.r(a),t.d(a,{default:()=>b});var s=t(5043),r=t(5371),n=t(9081),i=t(5699),l=t(8662),o=t(1724),d=t(3169),c=t(4330),u=t(7189),p=t(4321),h=t(2741),m=t(579);
1function b(){const[e,a]=(0,s.useState)("Call Report"),[t,b]=(0,s.useState)("2025-06-02"),[x,f]=(0,s.useState)("2025-08-08"),g=[{name:"Adam Jess",Outgoing:64,Incoming:111},{name:"Cameron. O",Outgoing:89,Incoming:111},{name:"Paul Egle",Outgoing:0,Incoming:16}].filter((e=>e.Outgoing>0||e.Incoming>0)),v={labels:g.map((e=>e.name)),datasets:[{label:"Outgoing",data:g.map((e=>e.Outgoing)),backgroundColor:"#1B3A57",barThickness:void 0},{label:"Incoming",data:g.map((e=>e.Incoming)),backgroundColor:"#1F7A7A",barThickness:void 0}]};return(0,m.jsxs)(r.s,{minH:"100vh",border:{base:"none",md:"none",lg:"2px solid"},borderColor:{base:"transparent",md:"transparent",lg:"#595A5A"},borderRadius:{base:"none",md:"md"},boxShadow:"md",margin:{base:0,md:5},overflow:"hidden",children:[(0,m.jsx)(p.A,{activeItem:e,setActiveItem:a}),(0,m.jsxs)(r.s,{flex:"1",direction:"column",p:{base:3,sm:4,md:6},bg:"white",pt:{base:14,sm:14,md:6},minW:0,children:[(0,m.jsx)(n.E,{fontSize:{base:"lg",md:"xl"},textAlign:"center",color:"#fd6303",mb:{base:4,md:6},children:"Call Report"}),(0,m.jsxs)(r.s,{mt:6,gap:4,flexWrap:"wrap",justify:"center",children:[(0,m.jsx)(i.p,{type:"date",value:t,onChange:e=>b(e.target.value),w:"200px",border:"1px solid #595A5A",borderRadius:"0",size:"sm"}),(0,m.jsx)(i.p,{type:"date",value:x,onChange:e=>f(e.target.value),w:"200px",border:"1px solid #595A5A",borderRadius:"0",size:"sm"})]}),(0,m.jsx)(r.s,{mt:4,gap:3,justify:"center",flexWrap:"wrap",children:["This Week","This Month","Last Month","Last 3 Months"].map((e=>(0,m.jsx)(l.$,{size:"sm",border:"1px solid #595A5A",borderRadius:"0",variant:"ghost",children:e},e)))}),(0,m.jsx)(r.s,{mt:4,justify:"center",children:(0,m.jsxs)(o.l,{w:"200px",border:"1px solid #595A5A",borderRadius:"0",size:"sm",children:[(0,m.jsx)("option",{value:"all",children:"All Users"}),(0,m.jsx)("option",{value:"adam",children:"Adam Jess"}),(0,m.jsx)("option",{value:"cameron",children:"Cameron. O"}),(0,m.jsx)("option",{value:"paul",children:"Paul Egle"})]})}),(0,m.jsx)(d.Z,{mt:6,border:"1px solid",borderColor:"#595A5A",borderRadius:"md",boxShadow:"md",bg:"none",p:4,children:(0,m.jsx)(c.b,{p:0,children:(0,m.jsx)(h.A,{chartData:v,chartOptions:{indexAxis:"y",responsive:!0,maintainAspectRatio:!1,plugins:{legend:{position:"top",labels:{color:"#595A5A"}},tooltip:{callbacks:{label:e=>{const a=e.raw;return`${e.dataset.label}: ${0===a?"No data":a}`}}},datalabels:{color:"#ffffff",font:{weight:"700",size:12},anchor:"center",align:"center",clamp:!0}},scales:{x:{display:!1,grid:{display:!1}},y:{ticks:{color:"#595A5A"},grid:{display:!1},categoryPercentage:.6,barPercentage:.7}},elements:{bar:{borderSkipped:!1}}}})})}),(0,m.jsx)(r.s,{justify:"center",mt:4,children:(0,m.jsx)(u.N,{color:"blue.600",href:"#",fontWeight:"semibold",children:"Download detailed report"})})]})]})}},5647:(e,a,t)=>{t.d(a,{Q:()=>n,s:()=>r});var s=t(5290);const[r,n]=(0,s.Wh)("Card")},5699:(e,a,t)=>{t.d(a,{p:()=>c});var s=t(579),r=t(3033),n=t(4765),i=t(3635),l=t(5003),o=t(5158),d=t(7971);const c=(0,l.R)((function(e,a){const{htmlSize:t,...l}=e,c=(0,o.o)("Input",l),u=(0,r.M)(l),p=(0,i.t)(u),h=(0,n.cx)("chakra-input",e.className);return(0,s.jsx)(d.B.input,{size:t,...p,__css:c.field,ref:a,className:h})}));c.displayName="Input",c.id="Input"},6712:(e,a,t)=>{function s(e,a){const t={},s={};for(const[r,n]of Object.entries(e))a.includes(r)?t[r]=n:s[r]=n;return[t,s]}t.d(a,{l:()=>s})},6773:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(3108),r=t(2470);var n=t(7381),i=t(7841);function l(e,a){const t=function(e){const a=(0,s.Gv)(e)?e:{fallback:e??"base"},t=(0,i.D)().__breakpoints.details.map((e=>{let{minMaxQuery:a,breakpoint:t}=e;return{breakpoint:t,query:a.replace("@media screen and ","")}})),r=t.map((e=>e.breakpoint===a.fallback)),l=(0,n.U)(t.map((e=>e.query)),{fallback:r,ssr:a.ssr}).findIndex((e=>1==e));return t[l]?.breakpoint??a.fallback}((0,s.Gv)(a)?a:{fallback:a??"base"}),l=(0,i.D)();if(!t)return;const o=Array.from(l.__breakpoints?.keys||[]);return function(e,a){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.fi,s=Object.keys(e).indexOf(a);if(-1!==s)return e[a];let n=t.indexOf(a);for(;n>=0;){const a=t[n];if(e.hasOwnProperty(a)){s=n;break}n-=1}if(-1!==s)return e[t[s]]}(Array.isArray(e)?Object.fromEntries(Object.entries((0,r.a1)(e,o)).map((e=>{let[a,t]=e;return[a,t]}))):e,t,o)}},7189:(e,a,t)=>{t.d(a,{N:()=>d});var s=t(579),r=t(3033),n=t(4765),i=t(5003),l=t(5158),o=t(7971);const d=(0,i.R)((function(e,a){const t=(0,l.V)("Link",e),{className:i,isExternal:d,...c}=(0,r.M)(e);return(0,s.jsx)(o.B.a,{target:d?"_blank":void 0,rel:d?"noopener":void 0,ref:a,className:(0,n.cx)("chakra-link",i),...c,__css:t})}));d.displayName="Link"},7381:(e,a,t)=>{t.d(a,{U:()=>n});var s=t(5043),r=t(2923);function n(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ssr:t=!0,fallback:n}=a,{getWindow:i}=(0,r.O)(),l=Array.isArray(e)?e:[e];let o=Array.isArray(n)?n:[n];o=o.filter((e=>null!=e));
1const[d,c]=(0,s.useState)((()=>l.map(((e,a)=>({media:e,matches:t?!!o[a]:i().matchMedia(e).matches})))));return(0,s.useEffect)((()=>{const e=i();c(l.map((a=>({media:a,matches:e.matchMedia(a).matches}))));const a=l.map((a=>e.matchMedia(a))),t=e=>{c((a=>a.slice().map((a=>a.media===e.media?{...a,matches:e.matches}:a))))};return a.forEach((e=>{"function"===typeof e.addListener?e.addListener(t):e.addEventListener("change",t)})),()=>{a.forEach((e=>{"function"===typeof e.removeListener?e.removeListener(t):e.removeEventListener("change",t)}))}}),[i]),d.map((e=>e.matches))}}}]);
2//# sourceMappingURL=4694.c6fc9ce0.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.