https://www.hagerty.com/marketplace/_next/static/chunks/pages/crea…/confirmation-4d4717d81ea72873.js
1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="de2fe8d0-41e8-4ceb-b690-59ee416caecc",e._sentryDebugIdIdentifier="sentry-dbid-de2fe8d0-41e8-4ceb-b690-59ee416caecc")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6911,8198],{978:(e,i,t)=>{"use strict";t.d(i,{_:()=>n});let n=e=>"".concat(e.year," ").concat(e.make," ").concat(e.model)},7556:(e,i,t)=>{"use strict";t.d(i,{Q:()=>_});var n=t(77328),s=t.n(n);t(14232);var r=t(1756),a=t(42039),c=t(35400),o=t(10979),l=t.n(o),d=t(37876);let _=e=>{let{header:i}=e;return(0,d.jsxs)(a.P,{header:i||(0,d.jsx)(c.Y,{}),children:[(0,d.jsx)(s(),{children:(0,d.jsx)("title",{children:"Sell Your Vehicle"})}),(0,d.jsx)("div",{className:l()["sell-loading-page-template__content"],children:(0,d.jsx)(r.l.Loader,{})})]})}},10979:e=>{e.exports={"sell-loading-page-template__content":"SellLoadingPageTemplate_sell-loading-page-template__content__EoGGX"}},13287:(e,i,t)=>{"use strict";t.d(i,{Z:()=>o});var n=t(45105),s=t.n(n),r=t(14232),a=t(57186),c=t(37876);let o=()=>{let e="ZN_9vHeb7yYMJsv3AW",i="qualtricsScript-".concat(e,"-").concat((0,a.A)());(0,r.useEffect)(()=>()=>{let e=document.querySelector("#".concat(i));e&&e.remove()},[i]);let t='(function(){var g=function(e,h,f,g){\nthis.get=function(a){for(var a=a+"=",c=document.cookie.split(";"),b=0,e=c.length;b<e;b++){for(var d=c[b];" "==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return d.substring(a.length,d.length)}return null};\nthis.set=function(a,c){var b="",b=new Date;b.setTime(b.getTime()+6048E5);b="; expires="+b.toGMTString();document.cookie=a+"="+c+b+"; path=/; "};\nthis.check=function(){var a=this.get(f);if(a)a=a.split(":");else if(100!=e)"v"==h&&(e=Math.random()>=e/100?0:100),a=[h,e,0],this.set(f,a.join(":"));else return!0;var c=a[1];if(100==c)return!0;switch(a[0]){case "v":return!1;case "r":return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(":")),!c}return!0};\nthis.go=function(){if(this.check()){var a=document.createElement("script");a.type="text/javascript";a.src=g;document.body&&document.body.appendChild(a)}};\nthis.start=function(){var t=this;"complete"!==document.readyState?window.addEventListener?window.addEventListener("load",function(){t.go()},!1):window.attachEvent&&window.attachEvent("onload",function(){t.go()}):t.go()};};\ntry{(new g(100,"r","QSI_S_'.concat(e,'","').concat("https://zn9vheb7yymjsv3aw-hagerty.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_9vHeb7yYMJsv3AW",'")).start()}catch(i){}})();');return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(s(),{id:i,strategy:"afterInteractive",children:t}),(0,c.jsx)("div",{id:e})]})}},35400:(e,i,t)=>{"use strict";t.d(i,{Y:()=>_});var n=t(89099),s=t(94588),r=t(78851),a=t(68747),c=t(98024),o=t(53052),l=t(67327),d=t(37876);let _=e=>{let{activeStep:i,onTrackClose:t}=e,{push:_}=(0,n.useRouter)(),{isMember:u}=(0,l.A)();return(0,d.jsx)(r.h,{title:"Sell Vehicle",actions:(0,d.jsx)(c.K,{onClick:()=>{null==t||t(),_(s.J.myGarage)},variant:"text",color:"dark",size:"xxs",children:(0,d.jsx)(o.U,{})}),children:(0,d.jsxs)(a.C,{children:[(0,d.jsx)(a.C.Step,{active:"selectVehicle"===i,children:"Select Vehicle"}),(0,d.jsx)(a.C.Step,{active:"vehicleDetails"===i,children:"Vehicle Details"}),(0,d.jsx)(a.C.Step,{active:"price"===i,children:"Vehicle Price"}),(0,d.jsx)(a.C.Step,{active:"ownerInfo"===i,children:"Owner Info"}),!u&&(0,d.jsx)(a.C.Step,{active:"paymentInfo"===i,children:"Payment Info"})]})})}},39691:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>V});var n=t(66284);t(81232);var s=t(89099),r=t(3337),a=t(45585),c=t(28483),o=t(7556),l=t(35400);t(92595);var d=t(77328),_=t.n(d),u=t(48230),m=t.n(u),p=t(95824),h=t(978),g=t(82770),f=t(66707),b=t(94588),v=t(29026),y=t(78851),j=t(64377),x=t(42039),w=t(13287),S=t(19534),P=t(53024),N=t.n(P),O=t(37876);let C=e=>{var i,t;let{vehicle:n}=e,{isFeatureEnabled:s}=(0,g.h)(),r=(0,h._)(n),a=null==(i=n.listing)?void 0:i.askingPrice;return(0,f.a)("view",{_tag_name:"listing_complete",vehicle_year:n.year,vehicle_make:n.make,vehicle_model:n.model,vehicle_submodel:n.trim,listing_price:Number(a||0)/100,mg_vehicle_id:n.id,is_classified:(0,p.k)(n)?"classified":"not_listed"}),(0,O.jsxs)(x.P,{header:(0,O.jsx)(y.h,{title:"Sell Vehicle"}),children:[(0,O.jsx)(_(),{children:(0,O.jsx)("title",{children:"Sell Your Vehicle"})}),(0,O.jsxs)(j.x.Container,{centered:!0,className:N()["listing-submission-confirmation__container"],children:[(0,O.jsx)("div",{className:N()["listing-submission-confirmation__image-wrapper"],children:(0,O.jsx)(S.L,{variant:"big",className:N()["listing-submission-confirmation__vehicle-tile"],image:{alt:r,src:null==(t=n.mainPhoto)?void 0:t.url},name:r,badge:(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(S.L.Badge,{name:"Classified"}),s("MARKETPLACE_LISTING_APPROVAL")&&(0,O.jsx)(S.L.Badge,{name:"Pending Review",variant:"yellow"})]})})}),((e,i)=>i("MARKETPLACE_LISTING_APPROVAL")?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("h1",{className:N()["listing-submission-confirmation__title"],children:"Thank y
1ou, your classified listing has been submitted."}),(0,O.jsxs)("div",{className:N()["listing-submission-confirmation__desc"],children:[(0,O.jsx)("p",{className:N()["listing-submission-confirmation__info"],children:"Our team will review your listing and get back to you within 2-3 business days. In the meantime, please fill out details on your Garage page. We highly recommend adding pictures and a description so that people engage with your garage."}),(0,O.jsx)(m(),{href:b.J.myGarage,passHref:!0,legacyBehavior:!0,children:(0,O.jsx)("a",{children:(0,O.jsx)(v.$,{children:"My Garage"})})})]})]}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("h1",{className:N()["listing-submission-confirmation__title"],children:"Thank you, your classified listing is now available."}),(0,O.jsxs)("div",{className:N()["listing-submission-confirmation__desc"],children:[(0,O.jsx)("p",{className:N()["listing-submission-confirmation__info"],children:"Potential buyers can now see your vehicle and contact you. You're able to fill out more details on your vehicle at any time. We highly recommend adding pictures and a description so that people engage with your listing. You'll receive an email notification if there are new inquiries on your page."}),(0,O.jsx)(m(),{href:b.J.classified(e.id,e.year,e.make,e.model),passHref:!0,legacyBehavior:!0,children:(0,O.jsx)("a",{children:(0,O.jsx)(v.$,{children:"View Listing"})})})]})]}))(n,s)]}),(0,O.jsx)(w.Z,{})]})},L=()=>{let{query:{vehicleId:e}}=(0,s.useRouter)(),[{fetching:i,data:t,error:n}]=(0,r.cPM)({variables:{id:e}});return n?(0,O.jsx)(c.u,{error:n}):i||!t||t.hdcNextMyVehicle?i||!(null!=t&&t.hdcNextMyVehicle)?(0,O.jsx)(o.Q,{header:(0,O.jsx)(l.Y,{activeStep:"paymentInfo"})}):(0,O.jsx)(C,{vehicle:t.hdcNextMyVehicle}):(0,O.jsx)(a.c,{})};var k=t(88523);function I(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function A(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?I(Object(t),!0).forEach(function(i){(0,n.A)(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}let E=()=>(0,O.jsx)(L,{});E.getLayout=(e,i)=>(0,O.jsx)(k.Kp,A(A({},i),{},{children:e})),E.getInitialProps=async e=>k.Kp.getInitialProps(A(A({},e),{},{identity:{mode:"Required"}}));let V=E},45105:(e,i,t)=>{e.exports=t(26731)},53024:e=>{e.exports={"listing-submission-confirmation__container":"ListingSubmissionConfirmation_listing-submission-confirmation__container__uHC9d","listing-submission-confirmation__vehicle-tile-container":"ListingSubmissionConfirmation_listing-submission-confirmation__vehicle-tile-container__kQy_S","listing-submission-confirmation__vehicle-tile":"ListingSubmissionConfirmation_listing-submission-confirmation__vehicle-tile__FzH6n","listing-submission-confirmation__image-wrapper":"ListingSubmissionConfirmation_listing-submission-confirmation__image-wrapper___ezgL","listing-submission-confirmation__title":"ListingSubmissionConfirmation_listing-submission-confirmation__title__lsnB8","listing-submission-confirmation__desc":"ListingSubmissionConfirmation_listing-submission-confirmation__desc__frnl4","listing-submission-confirmation__info":"ListingSubmissionConfirmation_listing-submission-confirmation__info__gZR1w"}},68747:(e,i,t)=>{"use strict";t.d(i,{C:()=>o});var n=t(14232),s=t(49995),r=t(75076),a=t.n(r),c=t(37876);let o=e=>{let{children:i}=e;return(0,c.jsx)("div",{className:a().stepper,children:n.Children.toArray(i).map((e,i)=>(0,c.jsxs)(n.Fragment,{children:[e,(0,c.jsx)("div",{className:a().stepper__bar})]},i))})};o.Step=e=>{let{active:i,children:t}=e;return(0,c.jsx)("span",{className:(0,s.A)(a().stepper__step,{[a()["stepper__step--active"]]:i}),children:(0,c.jsx)("span",{className:a()["stepper__inner-step"],children:t})})}},71891:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/create-listing/[vehicleId]/confirmation",function(){return t(39691)}])},75076:e=>{e.exports={stepper:"Stepper_stepper___Wwzl",stepper__step:"Stepper_stepper__step__GTX_J","stepper__step--active":"Stepper_stepper__step--active__uGtQH","stepper__inner-step":"Stepper_stepper__inner-step__ywmAO",stepper__bar:"Stepper_stepper__bar__YZO1n"}},95824:(e,i,t)=>{"use strict";t.d(i,{k:()=>r});var n=t(91397);let s=[n.A6.Listed,n.A6.PendingSale,n.A6.PendingApproval],r=e=>!!e.listing&&s.includes(e.listing.status)}},e=>{e.O(0,[9207,7589,8513,9005,6762,6401,6937,9085,1736,6634,9138,9534,1252,636,6593,8792],()=>e(e.s=71891)),_N_E=e.O()}]);
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.