PageSourceSearch

https://axisxchange.com/static/js/7743.63cc8afd.chunk.js

js axisxchange.com collected 2026-09-24 14:39:07 UTC 12,018 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdiscovery_nissan=self.webpackChunkdiscovery_nissan||[]).push([[7743],{502:(e,t,s)=>{s.d(t,{d:()=>c});var n=s(5043),r=s(610),i=s(5614);function a(e,t){const s=e??"bottom",n={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[s];return n?.[t]??s}var o=s(482);var l=s(2325),d=s(6448);function c(e){const{theme:t}=(0,d.UQ)(),s=(0,l.NU)();return(0,n.useMemo)((()=>function(e,t){const s=s=>({...t,...s,position:a(s?.position??t?.position,e)}),n=e=>{const t=s(e),n=(0,i.q)(t);return o.Z.notify(n,t)};return n.update=(e,t)=>{o.Z.update(e,s(t))},n.promise=(e,t)=>{const s=n({...t.loading,status:"loading",duration:null});e.then((e=>n.update(s,{status:"success",duration:5e3,...(0,r.J)(t.success,e)}))).catch((e=>n.update(s,{status:"error",duration:5e3,...(0,r.J)(t.error,e)})))},n.closeAll=o.Z.closeAll,n.close=o.Z.close,n.isActive=o.Z.isActive,n}(t.direction,{...s,...e})),[e,t.direction,s])}},3225:(e,t,s)=>{s.d(t,{MJ:()=>g,TP:()=>m,Uc:()=>x,eK:()=>v});var n=s(579),r=s(3194),i=s(3033),a=s(6417),o=s(8813),l=s(4765),d=s(5043),c=s(5003),u=s(5158),p=s(7971);const[h,m]=(0,a.q)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[f,x]=(0,a.q)({strict:!1,name:"FormControlContext"});const g=(0,c.R)((function(e,t){const s=(0,u.o)("Form",e),a=(0,i.M)(e),{getRootProps:c,htmlProps:m,...x}=function(e){const{id:t,isRequired:s,isInvalid:n,isDisabled:i,isReadOnly:a,...l}=e,c=(0,d.useId)(),u=t||`field-${c}`,p=`${u}-label`,h=`${u}-feedback`,m=`${u}-helptext`,[f,x]=(0,d.useState)(!1),[g,v]=(0,d.useState)(!1),[y,b]=(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&&v(!0)}))}}),[m]),I=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:t,"data-focus":(0,o.s)(y),"data-disabled":(0,o.s)(i),"data-invalid":(0,o.s)(n),"data-readonly":(0,o.s)(a),id:void 0!==e.id?e.id:p,htmlFor:void 0!==e.htmlFor?e.htmlFor:u}}),[u,i,y,n,a,p]),R=(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]),N=(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]:{},...l,ref:e,role:"group","data-focus":(0,o.s)(y),"data-disabled":(0,o.s)(i),"data-invalid":(0,o.s)(n),"data-readonly":(0,o.s)(a)}}),[l,i,y,n,a]),k=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}}),[]);return{isRequired:!!s,isInvalid:!!n,isReadOnly:!!a,isDisabled:!!i,isFocused:!!y,onFocus:()=>b(!0),onBlur:()=>b(!1),hasFeedbackText:f,setHasFeedbackText:x,hasHelpText:g,setHasHelpText:v,id:u,labelId:p,feedbackId:h,helpTextId:m,htmlProps:l,getHelpTextProps:j,getErrorMessageProps:R,getRootProps:N,getLabelProps:I,getRequiredIndicatorProps:k}}(a),g=(0,l.cx)("chakra-form-control",e.className);return(0,n.jsx)(f,{value:x,children:(0,n.jsx)(h,{value:s,children:(0,n.jsx)(p.B.div,{...c({},t),className:g,__css:s.container})})})}));g.displayName="FormControl";const v=(0,c.R)((function(e,t){const s=x(),r=m(),i=(0,l.cx)("chakra-form__helper-text",e.className);return(0,n.jsx)(p.B.div,{...s?.getHelpTextProps(e,t),__css:r.helperText,className:i})}));v.displayName="FormHelperText"},3635:(e,t,s)=>{s.d(t,{t:()=>a,v:()=>o});var n=s(8813),r=s(7246),i=s(3225);function a(e){const{isDisabled:t,isInvalid:s,isReadOnly:r,isRequired:i,...a}=o(e);return{...a,disabled:t,readOnly:r,required:i,"aria-invalid":(0,n.r)(s),"aria-required":(0,n.r)(i),"aria-readonly":(0,n.r)(r)}}function o(e){const t=(0,i.Uc)(),{id:s,disabled:n,readOnly:a,required:o,isRequired:l,isInvalid:d,isReadOnly:c,isDisabled:u,onFocus:p,onBlur:h,...m}=e,f=e["aria-describedby"]?[e["aria-describedby"]]:[];return t?.hasFeedbackText&&t?.isInvalid&&f.push(t.feedbackId),t?.hasHelpText&&f.pu
1sh(t.helpTextId),{...m,"aria-describedby":f.join(" ")||void 0,id:s??t?.id,isDisabled:n??u??t?.isDisabled,isReadOnly:a??c??t?.isReadOnly,isRequired:o??l??t?.isRequired,isInvalid:d??t?.isInvalid,onFocus:(0,r.H)(t?.onFocus,p),onBlur:(0,r.H)(t?.onBlur,h)}}},5699:(e,t,s)=>{s.d(t,{p:()=>c});var n=s(579),r=s(3033),i=s(4765),a=s(3635),o=s(5003),l=s(5158),d=s(7971);const c=(0,o.R)((function(e,t){const{htmlSize:s,...o}=e,c=(0,l.o)("Input",o),u=(0,r.M)(o),p=(0,a.t)(u),h=(0,i.cx)("chakra-input",e.className);return(0,n.jsx)(d.B.input,{size:s,...p,__css:c.field,ref:t,className:h})}));c.displayName="Input",c.id="Input"},5973:(e,t,s)=>{s.d(t,{M:()=>f,Z:()=>m});var n=s(579),r=s(3033),i=s(6417),a=s(4765),o=s(4881),l=s(3019),d=s(5043),c=s(5003),u=s(5158),p=s(7971);const[h,m]=(0,i.q)({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),f=(0,c.R)((function(e,t){const s=(0,u.o)("Input",e),{children:i,className:c,...m}=(0,r.M)(e),f=(0,a.cx)("chakra-input__group",c),x={},g=(0,o.a)(i),v=s.field;g.forEach((e=>{s&&(v&&"InputLeftElement"===e.type.id&&(x.paddingStart=v.height??v.h),v&&"InputRightElement"===e.type.id&&(x.paddingEnd=v.height??v.h),"InputRightAddon"===e.type.id&&(x.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(x.borderStartRadius=0))}));const y=g.map((t=>{const s=(0,l.o)({size:t.props?.size||e.size,variant:t.props?.variant||e.variant});return"Input"!==t.type.id?(0,d.cloneElement)(t,s):(0,d.cloneElement)(t,Object.assign(s,x,t.props))}));return(0,n.jsx)(p.B.div,{className:f,ref:t,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...s.group},"data-group":!0,...m,children:(0,n.jsx)(h,{value:s,children:y})})}));f.displayName="InputGroup"},6668:(e,t,s)=>{s.d(t,{l:()=>c});var n=s(579),r=s(3033),i=s(4765),a=s(3225),o=s(5003),l=s(5158),d=s(7971);const c=(0,o.R)((function(e,t){const s=(0,l.V)("FormLabel",e),o=(0,r.M)(e),{className:c,children:p,requiredIndicator:h=(0,n.jsx)(u,{}),optionalIndicator:m=null,...f}=o,x=(0,a.Uc)(),g=x?.getLabelProps(f,t)??{ref:t,...f};return(0,n.jsxs)(d.B.label,{...g,className:(0,i.cx)("chakra-form__label",o.className),__css:{display:"block",textAlign:"start",...s},children:[p,x?.isRequired?h:m]})}));c.displayName="FormLabel";const u=(0,o.R)((function(e,t){const s=(0,a.Uc)(),r=(0,a.TP)();if(!s?.isRequired)return null;const o=(0,i.cx)("chakra-form__required-indicator",e.className);return(0,n.jsx)(d.B.span,{...s?.getRequiredIndicatorProps(e,t),__css:r.requiredIndicator,className:o})}));u.displayName="RequiredIndicator"},7189:(e,t,s)=>{s.d(t,{N:()=>d});var n=s(579),r=s(3033),i=s(4765),a=s(5003),o=s(5158),l=s(7971);const d=(0,a.R)((function(e,t){const s=(0,o.V)("Link",e),{className:a,isExternal:d,...c}=(0,r.M)(e);return(0,n.jsx)(l.B.a,{target:d?"_blank":void 0,rel:d?"noopener":void 0,ref:t,className:(0,i.cx)("chakra-link",a),...c,__css:s})}));d.displayName="Link"},7743:(e,t,s)=>{s.r(t),s.d(t,{default:()=>j});var n=s(5043),r=s(502),i=s(5371),a=s(9904),o=s(8846),l=s(2107),d=s(9081),c=s(3225),u=s(6668),p=s(5699),h=s(5973),m=s(9244),f=s(8662),x=s(7189),g=s(5748),v=s(9900),y=s(7667),b=s(579);const j=()=>{const{token:e}=(0,v.g)(),t=(0,v.Zp)(),s=(0,r.d)(),[j,I]=(0,n.useState)(""),[R,N]=(0,n.useState)(""),[k,_]=(0,n.use
1State)(""),[w,C]=(0,n.useState)(""),[S,q]=(0,n.useState)(!1),[E,F]=(0,n.useState)(!1),[P,M]=(0,n.useState)(!1),[B,H]=(0,n.useState)("");return(0,b.jsx)(i.s,{flexDirection:"column",width:"100wh",height:"100vh",justifyContent:"center",alignItems:"center",children:(0,b.jsxs)(a.B,{flexDir:"column",mb:"2",justifyContent:"center",alignItems:"center",children:[(0,b.jsx)(o.D,{color:"primary",children:"Complete Your Invitation"}),(0,b.jsx)(l.a,{minW:{base:"90%",md:"468px"},children:(0,b.jsx)("form",{onSubmit:async n=>{if(n.preventDefault(),H(""),e)if(j&&R&&k)if(k===w)try{M(!0);const n=await(0,y.Hu)(e,j,R,k),r=await n.json();n.ok?(s({title:"Account Created",description:"Your account has been successfully created.",status:"success",duration:3e3,isClosable:!0}),t("/login")):H(r.message||"Failed to complete invitation.")}catch(r){console.error("Error completing invite:",r),H("Something went wrong. Try again.")}finally{M(!1)}else H("Passwords do not match!");else H("All fields are required.");else H("Invalid or missing token.")},children:(0,b.jsxs)(a.B,{rounded:"lg",bg:"#ffffff",boxShadow:"lg",p:8,children:[(0,b.jsx)(d.E,{fontSize:"sm",mb:2,color:"gray.600",children:"Please provide your details to activate your account."}),(0,b.jsxs)(c.MJ,{isRequired:!0,children:[(0,b.jsx)(u.l,{children:"First Name"}),(0,b.jsx)(p.p,{placeholder:"Enter your first name",value:j,onChange:e=>I(e.target.value)})]}),(0,b.jsxs)(c.MJ,{isRequired:!0,children:[(0,b.jsx)(u.l,{children:"Last Name"}),(0,b.jsx)(p.p,{placeholder:"Enter your last name",value:R,onChange:e=>N(e.target.value)})]}),(0,b.jsxs)(c.MJ,{isRequired:!0,children:[(0,b.jsx)(u.l,{children:"New Password"}),(0,b.jsxs)(h.M,{children:[(0,b.jsx)(m.W,{pointerEvents:"none",children:(0,b.jsx)(g.In,{icon:"mdi:lock",color:"gray",width:"20",height:"20"})}),(0,b.jsx)(p.p,{type:S?"text":"password",placeholder:"Enter new password",value:k,onChange:e=>_(e.target.value)}),(0,b.jsx)(m.t,{width:"4.5rem",children:(0,b.jsx)(f.$,{h:"1.75rem",size:"sm",onClick:()=>q(!S),children:S?"Hide":"Show"})})]})]}),(0,b.jsxs)(c.MJ,{isRequired:!0,children:[(0,b.jsx)(u.l,{children:"Confirm Password"}),(0,b.jsxs)(h.M,{children:[(0,b.jsx)(m.W,{pointerEvents:"none",children:(0,b.jsx)(g.In,{icon:"mdi:lock",color:"gray",width:"20",height:"20"})}),(0,b.jsx)(p.p,{type:E?"text":"password",placeholder:"Confirm new password",value:w,onChange:e=>C(e.target.value)}),(0,b.jsx)(m.t,{width:"4.5rem",children:(0,b.jsx)(f.$,{h:"1.75rem",size:"sm",onClick:()=>F(!E),children:E?"Hide":"Show"})})]})]}),B&&(0,b.jsx)(d.E,{fontSize:"sm",color:B.includes("success")?"green.500":"red.500",children:B}),(0,b.jsx)(f.$,{type:"submit",bg:"primary",color:"white",isLoading:P,_hover:{bg:"white",borderColor:"primary",color:"primary",borderWidth:"1px"},children:"Create Account"}),(0,b.jsx)(x.N,{href:"/login",color:"primary",textAlign:"center",children:"Back to Login"})]})})})]})})}},8846:(e,t,s)=>{s.d(t,{D:()=>d});var n=s(579),r=s(3033),i=s(4765),a=s(5003),o=s(5158),l=s(7971);const d=(0,a.R)((function(e,t){const s=(0,o.V)("Heading",e),{className:a,...d}=(0,r.M)(e);return(0,n.jsx)(l.B.h2,{ref:t,className:(0,i.cx)("chakra-heading",e.className),...d,__css:s})}));d.displayName="Heading"},9244:(e,t,s)=>{s.d(t,{W:()=>c,t:()=>u});var n=s(579),r=s(4765),i=s(5973),a=s(7971),o=s(5003);const l=(0,a.B)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),d=(0,o.R)((function(e,t){const{placement:s="left",...r}=e,a=(0,i.Z)(),o=a.field,d="left"===s?"insetStart":"insetEnd",c={[d]:"0",width:o?.height??o?.h,height:o?.height??o?.h,fontSize:o?.fontSize,...a.element};return(0,n.jsx)(l,{ref:t,__css:c,...r})}));d.id="InputElement",d.displayName="InputElement";const c=(0,o.R)((function(e,t){const{className:s,...i}=e,a=(0,r.cx)("chakra-input__left-element",s);return(0,n.jsx)(d,{ref:t,placement:"left",className:a,...i})}));c.id="InputLeftElement",c.displayName="InputLeftElement";const u=(0,o.R)((function(e,t){const{className:s,...i}=e,a=(0,r.cx)("chakra-input__right-element",s);return(0,n.jsx)(d,{ref:t,placement:"right",className:a,...i})}));u.id="InputRightElement",u.displayName="InputRightElement"}}]);
2//# sourceMappingURL=7743.63cc8afd.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.