www.lianissanschenectady.com
Open in
urlscan Pro
199.232.197.191
Public Scan
Submitted URL: https://www.lianissancolonie.com/
Effective URL: https://www.lianissanschenectady.com/
Submission: On October 25 via api from US — Scanned from US
Effective URL: https://www.lianissanschenectady.com/
Submission: On October 25 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
Press Alt+1 for screen-reader mode, Alt+0 to cancelAccessibility Screen-Reader Guide, Feedback, and Issue Reporting Find your next... Español Sign In Sign in for the best experience Sign In Don't have an account?Create an Account New * New * Used * CPO Year * All * 2023 * 2024 * 2025 Nissan * Nissan Model * Altima * ARIYA * Armada * Frontier * Kicks * LEAF * Murano * Pathfinder * Rogue * Sentra * Titan * Titan XD * Versa * Z View Inventory NEW INVENTORY USED INVENTORY SCHEDULE SERVICE Lease a New 2025 Nissan Sentra SV CVT $281.15 Per month for 36 Months Plus tax. $2,693.15 Due At Signing Expires 11/04/2024 VIN:3N1AB8CV0SY242075 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2024 Nissan Murano SV AWD $241.60 Per month for 18 Months Plus tax. $4,661.60 Due At Signing Expires 11/04/2024 VIN:5N1AZ2BS7RC126111 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2024 Nissan Sentra SV CVT $267.13 Per month for 36 Months Plus tax. $2,762.13 Due At Signing Expires 11/04/2024 VIN:3N1AB8CV8RY391778 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2025 Nissan Kicks S FWD $270.47 Per month for 18 Months Plus tax. $2,642.47 Due At Signing Expires 11/04/2024 VIN:3N8AP6BA7SL318717 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2024 Nissan Altima 2.5 SV AWD Sedan $271.37 Per month for 36 Months Plus tax. $3,571.37 Due At Signing Expires 11/04/2024 VIN:1N4BL4DWXRN425754 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2025 Nissan Sentra SV CVT $281.15 Per month for 36 Months Plus tax. $2,693.15 Due At Signing Expires 11/04/2024 VIN:3N1AB8CV0SY242075 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2024 Nissan Murano SV AWD $241.60 Per month for 18 Months Plus tax. $4,661.60 Due At Signing Expires 11/04/2024 VIN:5N1AZ2BS7RC126111 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2024 Nissan Sentra SV CVT $267.13 Per month for 36 Months Plus tax. $2,762.13 Due At Signing Expires 11/04/2024 VIN:3N1AB8CV8RY391778 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2025 Nissan Kicks S FWD $270.47 Per month for 18 Months Plus tax. $2,642.47 Due At Signing Expires 11/04/2024 VIN:3N8AP6BA7SL318717 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2024 Nissan Altima 2.5 SV AWD Sedan $271.37 Per month for 36 Months Plus tax. $3,571.37 Due At Signing Expires 11/04/2024 VIN:1N4BL4DWXRN425754 Disclosure View details Email Offer Email Us Test Drive Get Financing Lease a New 2025 Nissan Sentra SV CVT $281.15 Per month for 36 Months Plus tax. $2,693.15 Due At Signing Expires 11/04/2024 VIN:3N1AB8CV0SY242075 Disclosure View details Email Offer Email Us Test Drive Get Financing SERVICE SPECIALS View All Service Specials Schedule Service Lia Nissan of Colonie Special ALL ACCESSORIES Installed 25% Off View Details Print Schedule Get Offer Lia Nissan of Colonie Special BRAKE SERVICE $100 Off Front and Rear Complete Brakes View Details Print Schedule Get Offer Lia Nissan of Colonie Special LIA PERKS 5% Back for all service & parts View Details Print Schedule Get Offer Lia Nissan of Colonie Special BATTERY INSPECTION Complimentary Our highly trained technicians will: Perform a thorough evaluation of your battery's health using the latest testing equipment, Visually assess your cable connections, and Recommend the exact fit for your Nissan if you need a new one. View Details Print Schedule Get Offer BUY 3 TIRES GET 1 FOR $1.00 $1.00 Service now & pay later with our low service-financing offers View Details Print Schedule Get Offer $40 OFF LIA 5K-MILE SERVICE $40 OFF Oil & Filter Change, MOA Oil Additive, CF5 Fuel System Cleaning, Multi-Point Inspection, Brake Inspection, Tire Rotation, Alignment Check, Battery Check, Fluid Top-Off 6 month complimentary roadside assistance voucher included View Details Print Schedule Get Offer $25 OFF ANY BG PREVENTATIVE any BG Preventative Maintenance Service $25 Off Including transmission, all-wheel drive, brake fluid exchange, and more View Details Print Schedule Get Offer WILD CARD Savings Up To $200 YOU SPEND YOU SAVE $100 - $249 10% Off $250 - $499 12% Off $500 - $999 15% Off View Details Print Schedule Get Offer Lia Nissan of Colonie Special BUY 3 ELIGIBLE TIRES Get 1 for $1 Offer valid September 1 - October 31, 2024 View Details Print Schedule Get Offer Lia Hyundai of Hartford Special SERVICE FINANCING OPTIONS Available Up to 72 Months View Details Print Schedule Get Offer Lia Nissan of Colonie Special OIL & FILTER CHANGE $79.95 View Details Print Schedule Get Offer Lia Nissan of Colonie Special ALIGNMENT SPECIAL Regularly priced at $139.00 $99.95 View Details Print Schedule Get Offer Lia Nissan of Colonie Special 4 WHEEL ALIGNMENT CHECK Complimentary View Details Print Schedule Get Offer Lia Nissan of Colonie Special ALL ACCESSORIES Installed 25% Off View Details Print Schedule Get Offer Lia Nissan of Colonie Special BRAKE SERVICE $100 Off Front and Rear Complete Brakes View Details Print Schedule Get Offer Lia Nissan of Colonie Special LIA PERKS 5% Back for all service & parts View Details Print Schedule Get Offer Lia Nissan of Colonie Special BATTERY INSPECTION Complimentary Our highly trained technicians will: Perform a thorough evaluation of your battery's health using the latest testing equipment, Visually assess your cable connections, and Recommend the exact fit for your Nissan if you need a new one. View Details Print Schedule Get Offer BUY 3 TIRES GET 1 FOR $1.00 $1.00 Service now & pay later with our low service-financing offers View Details Print Schedule Get Offer $40 OFF LIA 5K-MILE SERVICE $40 OFF Oil & Filter Change, MOA Oil Additive, CF5 Fuel System Cleaning, Multi-Point Inspection, Brake Inspection, Tire Rotation, Alignment Check, Battery Check, Fluid Top-Off 6 month complimentary roadside assistance voucher included View Details Print Schedule Get Offer $25 OFF ANY BG PREVENTATIVE any BG Preventative Maintenance Service $25 Off Including transmission, all-wheel drive, brake fluid exchange, and more View Details Print Schedule Get Offer WILD CARD Savings Up To $200 YOU SPEND YOU SAVE $100 - $249 10% Off $250 - $499 12% Off $500 - $999 15% Off View Details Print Schedule Get Offer Lia Nissan of Colonie Special BUY 3 ELIGIBLE TIRES Get 1 for $1 Offer valid September 1 - October 31, 2024 View Details Print Schedule Get Offer Lia Hyundai of Hartford Special SERVICE FINANCING OPTIONS Available Up to 72 Months View Details Print Schedule Get Offer Lia Nissan of Colonie Special OIL & FILTER CHANGE $79.95 View Details Print Schedule Get Offer Lia Nissan of Colonie Special ALIGNMENT SPECIAL Regularly priced at $139.00 $99.95 View Details Print Schedule Get Offer Lia Nissan of Colonie Special 4 WHEEL ALIGNMENT CHECK Complimentary View Details Print Schedule Get Offer Lia Nissan of Colonie Special ALL ACCESSORIES Installed 25% Off View Details Print Schedule Get Offer Lia Nissan of Colonie Special BRAKE SERVICE $100 Off Front and Rear Complete Brakes View Details Print Schedule Get Offer Lia Nissan of Colonie Special LIA PERKS 5% Back for all service & parts View Details Print Schedule Get Offer Lia Nissan of Colonie Special BATTERY INSPECTION Complimentary Our highly trained technicians will: Perform a thorough evaluation of your battery's health using the latest testing equipment, Visually assess your cable connections, and Recommend the exact fit for your Nissan if you need a new one. View Details Print Schedule Get Offer * 1 * 2 * 3 * 4 1 of 13 Today's Vehicle Inventory View All Inventory 800 2 2023 Nissan Armada Starting at $49,999 2 2023 Nissan LEAF Starting at $28,045 2 2023 Nissan Titan Starting at $61,000 1 2025 Nissan LEAF Starting at $29,035 1 2024 Nissan Titan XD Starting at $53,575 1 2023 Nissan Murano Starting at $33,750 150 2024 Nissan Rogue Starting at $30,650 81 2025 Nissan Rogue Starting at $32,720 76 2025 Nissan Kicks Starting at $23,725 65 2024 Nissan Pathfinder Starting at $35,496 55 2024 Nissan Frontier Starting at $34,670 53 2025 Nissan Frontier Starting at $35,695 53 2025 Nissan Sentra Starting at $22,755 50 2024 Nissan Sentra Starting at $21,630 45 2025 Nissan Altima Starting at $26,140 33 2024 Nissan Kicks Starting at $22,893 27 2024 Nissan Versa Starting at $18,245 26 2025 Nissan Pathfinder Starting at $41,010 20 2024 Nissan Murano Starting at $41,615 16 2024 Nissan Altima Starting at $25,620 11 2024 Nissan Z Starting at $51,703 10 2024 Nissan Titan Starting at $49,122 9 2024 Nissan ARIYA Starting at $45,193 5 2025 Nissan Versa Starting at $21,945 4 2024 Nissan Armada Starting at $58,426 2 2024 Nissan LEAF Starting at $35,754 2 2023 Nissan Armada Starting at $49,999 2 2023 Nissan LEAF Starting at $28,045 2 2023 Nissan Titan Starting at $61,000 1 2025 Nissan LEAF Starting at $29,035 1 2024 Nissan Titan XD Starting at $53,575 1 2023 Nissan Murano Starting at $33,750 150 2024 Nissan Rogue Starting at $30,650 81 2025 Nissan Rogue Starting at $32,720 76 2025 Nissan Kicks Starting at $23,725 65 2024 Nissan Pathfinder Starting at $35,496 55 2024 Nissan Frontier Starting at $34,670 53 2025 Nissan Frontier Starting at $35,695 53 2025 Nissan Sentra Starting at $22,755 50 2024 Nissan Sentra Starting at $21,630 45 2025 Nissan Altima Starting at $26,140 33 2024 Nissan Kicks Starting at $22,893 27 2024 Nissan Versa Starting at $18,245 26 2025 Nissan Pathfinder Starting at $41,010 20 2024 Nissan Murano Starting at $41,615 16 2024 Nissan Altima Starting at $25,620 11 2024 Nissan Z Starting at $51,703 10 2024 Nissan Titan Starting at $49,122 9 2024 Nissan ARIYA Starting at $45,193 5 2025 Nissan Versa Starting at $21,945 4 2024 Nissan Armada Starting at $58,426 2 2024 Nissan LEAF Starting at $35,754 2 2023 Nissan Armada Starting at $49,999 2 2023 Nissan LEAF Starting at $28,045 2 2023 Nissan Titan Starting at $61,000 1 2025 Nissan LEAF Starting at $29,035 1 2024 Nissan Titan XD Starting at $53,575 1 2023 Nissan Murano Starting at $33,750 * 1 * 2 * 3 * 4 * 5 RATE US AND READ REVIEWS -------------------------------------------------------------------------------- CAR SHOPPING FASTER AND EASIER Sign in to our website to experience the best online shopping experience... Schedule a test drive Never fill out a lead form....sign in and experience simple forms that are pre-populated with your information. Get your trade-in-value We will automatically do a valuation on your vehicle to use in your custom offers. Get pre-qualified for financing Effortless finance application with a pre-filled finance form. CREATE ACCOUNT SIGN IN A TRUSTED NISSAN DEALER IN SCHENECTADY, NY LIA NISSAN OF COLONIE Everything we do at Lia Nissan of Colonie is done with pride. We want to be your go-to Nissan dealer in NY, and we'll go to great lengths to ensure your satisfaction. We have a staff of auto financing professionals who can assist you in obtaining the finest Nissan lease or car loan for your needs, as well as an outstanding vehicle service and auto repair center to meet all of your automotive needs. Our commitment to you does not end with the purchase. If you have any questions, please contact us at any time, Lia Nissan of Colonie’s complete team is here to assist you! We are proud to provide Nissan sales and auto repair to Schenectady, NY but also the surrounding cities of Schenectady, Colonie, Amsterdam, Duanesburg, Albany, Latham and Troy and many more! If you want to buy a car from a dealership that cares about its customers, stop by Lia Nissan of Colonie and see for yourself! -------------------------------------------------------------------------------- Only Nissans that meet our high standards qualify for Certified Pre-Owned status. They must be less than six years old from the original in-service date, with less than 80,000 miles on the odometer. Plus, they must have a clean, non-branded title and, most important, pass a comprehensive 167 points Certified Pre-Owned inspection. FIND YOURS -------------------------------------------------------------------------------- NEW NISSAN AND USED CARS FOR SALE Finding the right-for-you used car isn't always easy - that's why we're always working to take in vehicles during trade-ins. We do everything in our power to keep our new and used inventory full of great cars and SUVs for shoppers to choose from while they're searching for their next vehicle. When you buy a new Nissan Altima, Rogue, Sentra, Maxima or Murano, or other Nissan vehicle from Lia Nissan of Colonie in Schenectady, you'll get a great vehicle at a great price, and you'll have the experience and dedication of our team behind you throughout the purchasing process and for the duration of your Nissan ownership. People love driving to our car dealership from all across Schenectady, NY because they know they'll get great customer service and great selection of new and used cars for sale. NISSAN SERVICE AND AUTO REPAIRS Our pursuit of customer satisfaction doesn’t end when you drive home in your new Nissan. We want your investment to last as long as possible, so we offer high-quality, affordable automotive maintenance whenever your car needs it. From the standard oil change to brake work, air filter replacements, tire rotations, and more, our skilled technicians are standing by to help at our Schenectady service center. Schedule your maintenance with Lia Nissan of Colonie to ensure your vehicle performs at its finest for miles ahead. To find out more about what our team can do for you, contact us at Lia Nissan of Colonie. If you'd like to see a vehicle in person, get directions for step-by-step driving instructions to our site, or give us a call. We’re looking forward to seeing you soon! LIA NISSAN OF COLONIE Contact Us 2233 Central Ave , Schenectady, NY 12304 Sales: 518-665-3198 Service: 518-975-3189 INVENTORY * New Vehicles * Used Vehicles * Certified Vehicles * Vehicles Under $10K SERVICE * Schedule Service * Service Specials FINANCING * Apply for Financing * Value My Trade Lia Nissan of Colonie Privacy Policy Terms Of Use Sitemap Sitemap Html Contact Us Nissan USA Opt-Out Website by Team Velocity® - Fueled by Apollo® | Copyright ©2024 function ready(e){"complete"===document.readyState||"interactive"===document.readyState?setTimeout(e,1):document.addEventListener("DOMContentLoaded",e)}if(ready((function(){new callrevu_track_dni})),void 0===window.autoid_loaded){var gHelperData={},gStaticElementInited=!1;function aihelper(){console.log(JSON.stringify(gHelperData,null," "))}gHelperData.swapped_numbers={},gHelperData.build_date=" 2024-09-09 16:49:23"}function callrevu_track_dni(){function e(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var r=0,n=e.length;r0)return console.log(`attempting to load ai debug script from: ${r}`),void $r(r,"aidebugscript_init");console.log("Ignoring non compliant script.")}if("boolean"==typeof window.autoid_loaded)return void console.log("Warning: AutoID Javascript file is included multiple times.");function n(e){return e.toString().replace(/\D/g,"")}window.autoid_loaded=!0;var o="ai-uuid",a="ai-sess",l="ai-page",c="ai-gid",u="ai-ddn",m="ai-dni",s=!1,d=null,f=null,_=null,v=null,p=null,g=null,h=" 2024-09-09 16:49:23",y=(Or()?"https://":"http://")+"ai.autoid.com",b=y+"/",w=function(){var e={cleaned:{},original:[]},t={},r=new RegExp("(\\()?([2-9]{1})([0-9]{2})(\\))?([-. ])?([0-9]{3})([-. ])?([0-9]{4})","gi"),i=document.body.innerHTML.match(r);Kr(i?"FindPhoneNumbers: matches found: "+i:"FindPhoneNumbers: no matches found.");if(!i)return e;for(var o=0;o10&&(l=l.slice(l.length-10)),t[l]=l}var c={},u=0;for(var m in t)c["num_"+ ++u]=t[m];return e.cleaned=c,Kr("FindPhoneNumbers: uniqnums: "+c),e}(),S=w.cleaned,k={},x="",q=!1,A=1e4,C=!1,T=4;const E=10,O=10,D=500;!function(e){C||(C=""!==Wr(mr("YWlibHVy")));if(!C)return;!function(){if(null!==document.getElementById("aiStylesheet"))return;var e=".aiBlur { filter: blur("+T+"px);}",t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.setAttribute("id","aiStylesheet"),t.appendChild(r),r.type="text/css",r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}();var t=[];for(var r in e){var i=e[r];(i.match(/[-. (]/g)||[]).length>1?(t.push(i),Kr(`[blurDniNumbers] Blurring matching number for: ${i}`)):Kr(`[blurDniNumbers] No matching number for: ${i}`)}!function(e){for(var t=document.querySelectorAll("body *"),r=0;r{oe(ne,1e3)}))}),1e3);break;case Ce:!function(){for(var e=document.querySelectorAll(".form-page-fieldset button.field-submit"),t=0;t0}),(function(){Kr("waitFor onReady - init_form_capture_for_dealer_eprocess "+new Date);var e=document.querySelectorAll("#modal_form_container input[type=submit]");Kr("js handler 4 forms found: "+e.length);for(var t=0;t form')}),(function(){Kr("waitFor onReady - init_form_capture_for_df 3 "+new Date);for(var e=document.querySelectorAll('.js-popup-content .mfp-content div:not(".hide") > form'),t=0;t5}),(function(){Kr("waitFor onReady - init_form_capture_for_rnd_interactive "+new Date);for(var e=document.querySelectorAll("form"),t=0;t2||document.querySelectorAll("#modal-container form").length>0}),(function(){Kr("waitFor onReady - init_form_capture_for_cobalt "+new Date);for(var e=document.querySelectorAll('#modal-container form [type="submit"]'),t=0;t2}),(function(){Kr("waitFor onReady - init_form_capture_for_cobalt "+new Date);for(var e=document.querySelectorAll('.dialog-show form [type="submit"]'),t=0;t0}),(function(){Kr("waitFor onReady - init_form_capture_for_remora "+new Date);for(var e=document.querySelectorAll(".form-modal .ui.primary.button"),t=0;t0}),(function(){Kr("waitFor onReady - init_form_capture_for_remora "+new Date);for(var e=document.querySelectorAll('form.form input[type="submit"]'),t=0;t2}),(function(){Kr("waitFor onReady - init_form_capture_for_naked_lime "+new Date);for(var e=document.querySelectorAll('.form-modal input[type="submit"]'),t=0;t4||r>0}),(function(){Kr("waitFor onReady - init_form_capture_for_rick_case "+new Date);for(var e=document.querySelectorAll(".x-window button"),t=0;t4||document.querySelectorAll(".form-header").length>0}),(function(){Kr("waitFor onReady - init_form_capture_for_dealer_spike "+new Date);for(var e=document.querySelectorAll('.modal-content form button[type="submit"]'),t=0;t4||document.querySelectorAll("#modalBox .form-header").length>0}),(function(){Kr("waitFor onReady 2 - init_form_capture_for_dealer_spike "+new Date);for(var e=document.querySelectorAll('#modalBox .modal-content form button[type="submit"]'),t=0;t4||document.querySelectorAll("#modalBox .form-header").length>0}),(function(){Kr("waitFor onReady 3 - init_form_capture_for_dealer_spike "+new Date);for(var e=document.querySelectorAll('#modalBox .modal-content form button[type="submit"]'),t=0;t9||document.querySelectorAll(".dl-dealer-details").length>0}),(function(){document.querySelectorAll(".dl-dealer-details").length>0&&(Kr("retriggering AI"),callrevu_track_dni())}),(function(){Kr("waitFor TIMEOUT EXITING - init_form_capture_for_goodman")}),1e4)}));break;case Zt:break;case or:gStaticElementInited||(gStaticElementInited=!0,ee("nav li.nav-static-element","click",(function(e){callrevu_track_dni()})),ee("ul.ng-scope li","click",(function(e){callrevu_track_dni()})),ee(".car-box","click",(function(e){var t=new Date;rn((function(){Kr("waitFor test condition - init_form_capture_for_nabthat");var e=((new Date).getTime()-t.getTime())/1e3;return Kr("seconds: "+e),e>6||document.querySelectorAll(".vdp-inner").length>0}),(function(){document.querySelectorAll(".vdp-inner").length>0&&callrevu_track_dni()}),(function(){Kr("waitFor TIMEOUT EXITING - init_form_capture_for_nabthat")}),5e3)})))}}()}),u),function(){if(function(){for(var e=!1,t=[Vt],r=0;r0&&G()})),ee(".gg-minimize.gg-close","click",(function(e){R=null})),function(){if(!gr(mt))return;rn((function(){return document.querySelectorAll(".lpview_form_textarea").length>0}),(function(){Kr("waitFor onReady - init_live_person_chat_capture done "+new Date),Kr("waitFor onReady Done - init_live_person_chat_capture "+new Date),ee("textarea.lpview_form_textarea","keyup",(function(e){13==(e.keyCode||e.which)&&G()})),ee("textarea.lpview_form_textarea","keypress",(function(e){var t=String.fromCharCode(e.keyCode);/[a-zA-Z0-9-_ ]/.test(t)&&(x+=t)}))}),(function(){Kr("waitFor TIMEOUT EXITING - init_live_person_chat_capture")}),6e3)}(),function(){for(var e=function(){var e=[],t=document.body.innerHTML.toLowerCase(),r=document.head.innerHTML.toLowerCase();-1===t.indexOf("boldchat")&&void 0===window._bcvmf||(chatProvider={},chatProvider.name="BoldChat",chatProvider.selectors=".bcStatic, .BoldChat_LiveChat, .bcFloat, #bt_send_table input",e.push(chatProvider));-1===t.indexOf("carnow.com")&&-1===t.indexOf("carNow.implementation")||(chatProvider={},chatProvider.name="CarNow",chatProvider.selectors=".cn-chat-trigger, a.cn-bar-btn, a#cncbbn, .carcode-widget_main-hub-button, .cn-chat, .cn-chat-bubble, .cn-fadeInLeftBig, #CarcodeWidgetHubWidgetsButtonWrapper, .cn-b13-chat",e.push(chatProvider));-1!==r.indexOf("contactatonce.com")&&(chatProvider={},chatProvider.name="ContactAtOnce",chatProvider.selectors=".lp_submit_button, .caoStandardChatAreaStyle, .lp_mobile .lp_header-content-wrapper",e.push(chatProvider));document.querySelectorAll("#conversations-corner").length>0&&(chatProvider={},chatProvider.name="Conversations",chatProvider.selectors="#conversations-simple-icon",e.push(chatProvider));-1!==r.indexOf("activengage.")&&(chatProvider={},chatProvider.name="ActiveEngage",chatProvider.selectors='.ae-container, .ae-bubble-launcher-content a[channel="chat"], #ActivEngageInvite, #ActivEngage1, #ActivEngageChatButton, .aeBarButtonNormal, .carcode-widget_hub-buttons .hub-button--live-chat, #ae-invite-container, .ae-btn.ae-default.ae-fill, .ae-launcher-container button[channel="chat"]',e.push(chatProvider));-1!==t.indexOf("clickandchat.com")&&(chatProvider={},chatProvider.name="Click and Chat",chatProvider.selectors=".ddc-integrations-chat",e.push(chatProvider));-1!==r.indexOf("carchat24")&&(chatProvider={},chatProvider.name="CarChat24",chatProvider.selectors='.cc24SMSstart, [id^="iconInvite_"]',e.push(chatProvider));-1!==t.indexOf("cdn.livechatinc")&&(chatProvider={},chatProvider.name="LiveChat",chatProvider.selectors="#livechat-compact-container, #livechat-eye-catcher, #full-view-button, #livechat-compact-view",e.push(chatProvider));-1!==r.indexOf("dealerinspire.com")&&(chatProvider={},chatProvider.name="Dealer Inspire",chatProvider.selectors=".conversations-cta-circle, #di-conversations-embed-root",e.push(chatProvider));if(gr(mt))chatProvider={},chatProvider.name="LivePerson",chatProvider.selectors=".LPMcontainer, .lp_minimized, #designstudio-button",e.push(chatProvider);else if(gr(nt))try{for(var n=document.getElementsByTagName("script"),i=0;i0&&e>5}),(function(){Kr("waitFor onReady - teardown_form_capture_for_dealer_dot_com "+new Date),le(document.querySelectorAll('form.gg-po-form button[type="submit"]'),_e),Kr("waitFor onReady Done - teardown_form_capture_for_dealer_dot_com "+new Date)}),(function(){Kr("waitFor TIMEOUT EXITING - teardown_form_capture_for_dealer_dot_com")}),6e3),ce()){Kr("waiting for modal to show");var i=".ui_dialog ",o=".ui-dialog ",a='[data-form-tracking-id*="EPRICE"]';rn((function(){var e=document.querySelectorAll(i+a),t=document.querySelectorAll(o+a);return Kr("waitFor onReady - teardown_form_capture_for_dealer_dot_com forms1: "+e.length),Kr("waitFor onReady - teardown_form_capture_for_dealer_dot_com forms2: "+t.length),e.length>0||t.length>0}),(function(){Kr("waitFor onReady - teardown_form_capture_for_dealer_dot_com "+new Date);var e=document.querySelectorAll(i+a+' [type="submit"]');le(e,_e),le(e=document.querySelectorAll(o+a+' [type="submit"]'),_e),Kr("waitFor onReady Done - teardown_form_capture_for_dealer_dot_com "+new Date)}),(function(){Kr("waitFor TIMEOUT EXITING - teardown_form_capture_for_dealer_dot_com")}),6e4)}}()}function W(e){var t=new Date;rn((function(){Kr("waitFor test condition - init_form_capture_for_volvo_cars 2");var e=((new Date).getTime()-t.getTime())/1e3;return Kr("seconds: "+e),e>5||document.querySelectorAll("#dealersListHolder").length>0}),(function(){Kr("waitFor onReady - init_form_capture_for_volvo_cars 2 "+new Date),callrevu_track_dni(),Kr("waitFor onReady Done - init_form_capture_for_volvo_cars 2 "+new Date)}),(function(){Kr("waitFor TIMEOUT EXITING - init_form_capture_for_volvo_cars 2")}),4e3)}function B(e){13===e.keyCode&&W()}function Z(){var e=document.querySelector(".x-window");if(null!==e){var t=e.querySelector(".x-window-header-text");H(e,t=t.innerText)}}function H(e,t){for(var r="&ai_form_name="+t,n=e.querySelectorAll("input, textarea"),i=0;i0}),(function(){Kr("waitFor onReady - delayed_fusionzone_capture "+new Date);var e=document.querySelector(".reveal-overlay form");null!==e&&(null!==e.querySelector(".button")&&(document.addEventListener?e.addEventListener("click",_e):document.attachEvent&&e.attachEvent("click",_e)));Kr("waitFor onReady Done - delayed_fusionzone_capture "+new Date)}),(function(){Kr("waitFor TIMEOUT EXITING - delayed_fusionzone_capture")}),6e3)}function U(e){var t=e.target.closest("form"),r="";if(null!==t)for(var n=t.querySelectorAll("input, textarea"),i=0;i0}),(function(){Kr("waitFor onReady - ari_networks_delayed_form_capture "+new Date);for(var e=document.querySelectorAll('button[type="submit"]'),t=0;t0){if(null!==(u=e.target.closest("section").querySelector(".FormSectionHeader"))){i+="&ai_form_name="+(s=vr(s=(s=u.innerText.trim()).toLowerCase()))}else{var o=e.target.closest(".form");null!==o&&(i+="&ai_form_name="+o.getAttribute("id"))}for(var a=e.target.closest("section").querySelectorAll("input, textarea"),l=0;l0){if(null!==(u=e.target.closest(".panel").querySelector(".panel-heading")))i+="&ai_form_name="+(s=vr(s=(s=u.innerText.trim()).toLowerCase()));for(a=e.target.closest(".panel").querySelectorAll("input, textarea"),l=0;l0){var u;if(null!==(u=e.target.closest(".ui-dialog").querySelector(".ui-dialog-titlebar .ui-dialog-title")))i+="&ai_form_name="+(s=vr(s=(s=u.innerText.trim()).toLowerCase()));for(a=e.target.closest(".ui-dialog").querySelector("fieldset").querySelectorAll("input, textarea"),l=0;l0}),(function(){Kr("waitFor onReady - motorWebDelayedFormCapture "+new Date);for(var e=document.querySelectorAll('input.submit, button[type="submit"]'),t=0;t4}),(function(){if(Kr("waitFor onReady - init_form_capture_aa "+new Date),null!==document.querySelector("#colorbox form")){var e=document.querySelector('#colorbox form input[name="SubmitButton"]');document.addEventListener?e.addEventListener("click",_e):document.attachEvent&&e.attachEvent("click",_e)}Kr("waitFor onReady Done - init_form_capture_for_aa "+new Date)}),(function(){Kr("waitFor TIMEOUT EXITING - init_form_capture_for_aa")}),6e3)}function ee(e,t,r,n){(n||document).addEventListener(t,te.bind(null,e,r))}function te(e,t,r){var n=r.target.closest(e);n&&t.call(n,r)}function re(){var e=document.querySelectorAll(".btn.dialog, li.dropdown");Kr("init_form_capture_for_dealer_dot_com ai found "+e.length+" dialog forms");for(var t=0;t0&&e>5}),(function(){Kr("waitFor onReady - init_form_capture_for_dealer_dot_com "+new Date),ae(document.querySelectorAll('form.gg-po-form button[type="submit"]'),_e),Kr("waitFor onReady Done - init_form_capture_for_dealer_dot_com "+new Date)}),(function(){}),6e3),ce()){Kr("waiting for modal to show");var i=".ui_dialog ",o=".ui-dialog ",a='[data-form-tracking-id*="EPRICE"]';rn((function(){var e=document.querySelectorAll(i+a),t=document.querySelectorAll(o+a);return Kr("waitFor onReady - init_popup_form_capture_for_dealer_dot_com forms1: "+e.length),Kr("waitFor onReady - init_popup_form_capture_for_dealer_dot_com forms2: "+t.length),e.length>0||t.length>0}),(function(){Kr("waitFor onReady - init_popup_form_capture_for_dealer_dot_com "+new Date);var e=document.querySelectorAll(i+a+' [type="submit"]');ae(e,_e),ae(e=document.querySelectorAll(o+a+' [type="submit"]'),_e),Kr("waitFor onReady Done - init_popup_form_capture_for_dealer_dot_com "+new Date)}),(function(){Kr("waitFor TIMEOUT EXITING - init_popup_form_capture_for_dealer_dot_com")}),6e4)}}function ne(){Kr(" scrolled throttled"),re()}let ie;const oe=(e,t)=>{ie||(ie=!0,setTimeout((()=>{e(),ie=!1}),t))};function ae(e,t){for(var r=0;r0&&t>2}),(function(){for(var e=document.querySelectorAll('.ui-dialog-content form [type="submit"], form button[type="submit"]'),t=0;t=0;j--)t.options[j].selected&&(r[r.length]=encodeURIComponent(t.name)+"="+encodeURIComponent(t.options[j].value));else("checkbox"!=t.type&&"radio"!=t.type||t.checked)&&(r[r.length]=encodeURIComponent(t.name)+"="+encodeURIComponent(t.value))}return r.join("&").replace(/%20/g,"+")}(e);Kr("form data: "+(t=ge(t)));var r=he(),n=function(e){var t="";switch(lr()){case Ae:t=function(e){var t="";try{if(null!==(r=e.querySelector('input[name="formTrackingName"]'))){t="&ai_form_name="+(i=r.value).trim()}else{var r=e.querySelector('input[name="form.id"]'),n=e.querySelector(".gg-po-menu .gg--active");if(null!==r)t="&ai_form_name="+vr((i=r.value).trim());else if(null!==n){t="&ai_form_name="+vr((i=n.textContent).trim())}else{null!==(r=e.getAttribute("data-form-tracking-id"))&&(t="&ai_form_name="+vr(r))}}}catch(e){}var i=dr(e,"first");null!==i&&(t+="&ai_first_name="+i);i=dr(e,"last"),null!==i&&(t+="&ai_last_name="+i);i=dr(e,"email"),null!==i&&(t+="&ai_email="+i);i=dr(e,"vin"),null!==i&&(t+="&ai_vin="+i);i=dr(e,"phone"),null!==i&&(t+="&ai_phone="+i);i=fr(e,"comment"),null!==i&&(t+="&ai_comments="+i);return Kr(" form data: "+t),t}(e);break;case er:t=function(e){var t="";return Kr(" form data: "+t),t}();break;case Ce:t=function(e){return document.querySelectorAll('meta[content="Orchard"]').length>0?function(e){var t="";try{var r;if(null!==(r=e.querySelector('input[name="FormName"]')))t="&ai_form_name="+(n=r.value.trim());else null!==(r=e.getAttribute("id"))&&(t="&ai_form_name="+r.trim())}catch(e){}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);if(n=dr(e,"full"),null!==n){var i=n.value.split(" ");t+="&ai_first_name="+i[0],void 0!==i[1]&&(t+="&ai_last_name="+i[1])}n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"vin"),null!==n&&(t+="&ai_vin="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e):function(e){var t="";try{var r=e.getAttribute("id");null!==r&&(t="&ai_form_name="+r.trim(),r.trim())}catch(e){}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e)}(e);break;case Te:t=function(e){var t="";try{var r;if(null!==(r=e.querySelector('input[name="formName"]')))t="&ai_form_name="+(n=r.value).trim();else null!==(r=e.getAttribute("id"))&&(t="&ai_form_name="+r.trim())}catch(e){}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"vin"),null!==n&&(t+="&ai_vin="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e);break;case Oe:t=function(e){var t="";try{var r;if(null!==(r=e.querySelector('input[name="form_name"]')))t="&ai_form_name="+vr((n=r.value).trim());else null!==(r=e.getAttribute("id"))&&(t="&ai_form_name="+vr(r.trim()))}catch(e){}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"vin"),null!==n&&(t+="&ai_vin="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e);break;case De:t=function(e){var t="";try{var r=e.getAttribute("name"),n=e.querySelector('input[type="submit"]').value,i=e.querySelector('select[name$="TypeOfRequest"]').value;void 0!==i?t="&ai_form_name="+vr(i.trim()):void 0!==n?t="&ai_form_name="+vr(n.trim()):void 0!==r&&(t="&ai_form_name="+vr(r.trim()))}catch(e){}var o=dr(e,"first"),a=dr(e,"full"),l=o||a;null!==l&&(t+="&ai_first_name="+l);l=dr(e,"last"),null!==l&&(t+="&ai_last_name="+l);l=dr(e,"email"),null!==l&&(t+="&ai_email="+l);l=dr(e,"vin"),null!==l&&(t+="&ai_vin="+l);l=dr(e,"phone"),null!==l&&(t+="&ai_phone="+l);l=fr(e,"comment"),null!==l&&(t+="&ai_comments="+l);return Kr(" form data: "+t),t}(e);break;case Le:t=function(e){var t="";try{var r=e.querySelector(".form_set_header");null!==r&&(t="&ai_form_name="+r.innerText.trim());var n=e.closest(".ui-dialog").querySelector(".ui-dialog-title");null!==n&&(t="&ai_form_name="+n.innerText.trim())}catch(e){}var i=dr(e,"first");null!==i&&(t+="&ai_first_name="+i);i=dr(e,"last"),null!==i&&(t+="&ai_last_name="+i);i=dr(e,"email"),null!==i&&(t+="&ai_email="+i);i=dr(e,"vin"),null!==i&&(t+="&ai_vin="+i);try{if(1==(o=e.querySelectorAll('input[id^="phone_home"]')).length)t+="&ai_phone="+vr(i=o[0].value);else if(3==o.length){t+="&ai_phone="+vr(o[0].value+o[1].value+o[2].value)}}catch(e){}try{var o=dr(e,"comment"),a=fr(e,"textarea"),l=fr(e,"comment"),c=o||a||l;null!==c&&(t+="&ai_comments="+c)}catch(e){}return Kr(" form data: "+t),t}(e);break;case Ne:t=function(e){var t="";try{var r=e.getAttribute("id"),n=e.closest("h1"),i=e.querySelector("fieldset > legend"),o=e.getAttribute("data-form-title"),a=document.querySelector(".action-buttons-share-form h3");null!==r?t="&ai_form_name="+vr(r):null!==o&&""!==o?t="&ai_form_name="+vr(o):null!==n?t="&ai_form_name="+vr(n.innerText.replace(/\s/g,"").toLowerCase()):null!==i?t="&ai_form_name="+vr(i.innerText.trim()):null!==a&&(t="&ai_form_name="+vr(a.innerText.trim()))}catch(e){console.log("an error "+e)}try{n=e.querySelector('input[id*="full_name"]'),i=e.querySelector('input[id="self_name"]');if(null!==(r=n||i)){for(var l=(m=r.value).split(" "),c="",u=0;u0?t="&ai_form_name="+vr(r=n):null!==i?t="&ai_form_name="+vr(r=i.textContent):null!==o?null!==(o=o.querySelector(".entry-title"))&&(t="&ai_form_name="+vr(r=o.textContent.trim())):null!==a&&(t="&ai_form_name="+vr(r="ask-a-question")),null===r){var l=e.getAttribute("action");if(null!==l)if(-1!==l.indexOf("parts-quote"))t="&ai_form_name="+vr("parts_quote"),r="parts_quote";else if(-1!==l.indexOf("schedule-test-drive"))t="&ai_form_name="+vr("schedule_test_drive"),r="schedule_test_drive";else if("/"===l){r=(c=e.getAttribute("class").trim().split(" "))[0]}else{var c;t="&ai_form_name="+vr(r=""==(c=l.split("/"))[0]?c[1]:c[0])}}}catch(e){}var u=dr(e,"first");null!==u&&(t+="&ai_first_name="+u);u=dr(e,"last"),null!==u&&(t+="&ai_last_name="+u);u=dr(e,"email"),null!==u&&(t+="&ai_email="+u);u=dr(e,"phone"),null!==u&&(t+="&ai_phone="+u);u=fr(e,"message"),null!==u&&(t+="&ai_comments="+u);return Kr(" form data: "+t),t}(e);break;case We:t=function(e){var t="";try{var r;if(null!==(r=e.getAttribute("data-form-id")))t="&ai_form_name="+vr(r);else null!==(r=e.getAttribute("id"))&&(t="&ai_form_name="+vr(r))}catch(e){}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=fr(e,"message"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e);break;case Be:t=function(e){var t="";try{null!==(n=e.getAttribute("data-form-tracking-id"))&&(t="&ai_form_name="+n.trim())}catch(e){}var r=dr(e,"first");null!==r&&(t+="&ai_first_name="+r);r=dr(e,"last"),null!==r&&(t+="&ai_last_name="+r);r=dr(e,"email"),null!==r&&(t+="&ai_email="+r);r=dr(e,"vin"),null!==r&&(t+="&ai_vin="+r);r=dr(e,"phone"),null!==r&&(t+="&ai_phone="+r);var n=fr(e,"message"),i=fr(e,"comment");null!==(r=n||i)&&(t+="&ai_comments="+r);return Kr(" form data: "+t),t}(e);break;case tt:t=function(e){var t="";try{var r=e.querySelector('input[name="sVMailSubject"]'),n=e.getAttribute("id");null!==r?t="&ai_form_name="+vr(r.value.trim()):null!==n&&(t="&ai_form_name="+vr(n.trim()))}catch(e){Kr(" error: "+e)}var i=dr(e,"first");null!==i&&(t+="&ai_first_name="+i);i=dr(e,"last"),null!==i&&(t+="&ai_last_name="+i);i=dr(e,"email"),null!==i&&(t+="&ai_email="+i);i=dr(e,"vin"),null!==i&&(t+="&ai_vin="+i);i=dr(e,"phone"),null!==i&&(t+="&ai_phone="+i);r=fr(e,"message"),n=fr(e,"comment");null!==(i=r||n)&&(t+="&ai_comments="+i);return Kr(" form data: "+t),t}(e);break;case rt:t=function(e){var t="";try{var r=e.querySelector('input[name="adSource"]'),n=e.getAttribute("id");null!==r?t="&ai_form_name="+vr(r.value.trim()):null!==n&&(t="&ai_form_name="+vr(n.trim()))}catch(e){Kr(" error: "+e)}var i=dr(e,"first");null!==i&&(t+="&ai_first_name="+i);i=dr(e,"last"),null!==i&&(t+="&ai_last_name="+i);i=dr(e,"email"),null!==i&&(t+="&ai_email="+i);try{if(null!==(r=document.querySelector(".infoinfovin")))t+="&ai_vin="+(i=r.innerText).trim()}catch(e){}try{r=e.querySelector('input[name="mobilePhone"]'),n=e.querySelector('input[name="homePhone"]');var o=e.querySelector('input[name="workPhone"]');if(null!==(a=r||n||o))""!==(i=a[0].value)&&"(___)___-____"!==i&&(t+="&ai_phone="+vr(i))}catch(e){}try{var a;r=e.querySelector('textarea[name="customComments"]'),n=e.querySelector("textarea#wsEmailFormEmailMessage");if(null!==(a=r||n))t+="&ai_comments="+vr(i=a.value)}catch(e){}return Kr(" form data: "+t),t}(e);break;case nt:t=function(e){var t="";try{null!==(n=e.getAttribute("action"))&&(t="&ai_form_name="+vr((n=n.split("/"))[1]))}catch(e){Kr(" error: "+e)}var r=dr(e,"first");null!==r&&(t+="&ai_first_name="+r);r=dr(e,"last"),null!==r&&(t+="&ai_last_name="+r);r=dr(e,"email"),null!==r&&(t+="&ai_email="+r);try{var n=dr(e,"tel");if(null!==n)""!==(r=n.value)&&"(___)___-____"!==r&&(t+="&ai_phone="+vr(r))}catch(e){}try{null!==fr(e,"message")&&(t+="&ai_comments="+r)}catch(e){}return Kr(" form data: "+t),t}(e);break;case it:t=function(e){var t="";try{null!==(n=e.getAttribute("action"))&&(t="&ai_form_name="+vr((n=n.split("/"))[1]))}catch(e){Kr(" error: "+e)}var r=dr(e,"name");null!==r&&(t+="&ai_first_name="+r);r=dr(e,"last"),null!==r&&(t+="&ai_last_name="+r);r=dr(e,"email"),null!==r&&(t+="&ai_email="+r);try{var n=e.querySelector('input[name="tel-57"]'),i=e.querySelector('input[name="tel-60"]'),o=null;if(null!==n)""!==(r=n.value)&&"(___)___-____"!==r&&(o=r);else if(null!==i){""!==(r=i.value)&&"(___)___-____"!==r&&(o=r)}null!==o&&(t+="&ai_phone="+vr(o))}catch(e){}r=fr(e,"message"),null!==r&&(t+="&ai_comments="+r);return Kr(" form data: "+t),t}(e);break;case et:t=function(e){var t="",r=-1!==e.className.indexOf("button");if(r){var n=e.closest("form");n&&(t=pr(n))}else t=pr(e);return t}(e);break;case at:t=function(e){var t="";try{var r=e.getAttribute("action");null!==r&&(t="&ai_form_name="+vr((r=r.split("/"))[1]))}catch(e){Kr("wsi error: "+e)}var n=dr(e,"name");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"number"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"message"),null!==n&&(t+="&ai_comments"+n);return Kr(" form data: "+t),t}(e);break;case Tt:case Ct:case st:t=function(e){var t="";try{var r=e.getAttribute("action").split("/");if(null!==r)""===(n=r[1])&&(n=r[r.length-1]),t="&ai_form_name="+vr(n)}catch(e){Kr("doing addFormDataForWSI error: "+e)}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);if(-1==t.indexOf("ai_first_name")){var i=Dr(document.location.host);i&&-1!==i.toLowerCase().indexOf("mathenytowtrucks")&&(t=function(e){var t="";try{var r=e.getAttribute("action").split("/");if(null!==r)""===(i=r[1])&&(i=r[r.length-1]),t="&ai_form_name="+vr(i)}catch(e){Kr("doing addFormDataForWSI error: "+e)}var n=e.closest(".modal-body");if(null===n)return t;e=n;var i=dr(e,"first");null!==i&&(t+="&ai_first_name="+i);i=dr(e,"last"),null!==i&&(t+="&ai_last_name="+i);i=dr(e,"email"),null!==i&&(t+="&ai_email="+i);i=dr(e,"phone"),null!==i&&(t+="&ai_phone="+i);i=dr(e,"comment"),null!==i&&(t+="&ai_comments="+i);return Kr(" form data: "+t),t}(e))}return Kr(" form data: "+t),t}(e);break;case lt:t=function(e){var t="";try{var r;if(null!==(r=e.getAttribute("id")))t="&ai_form_name="+vr(r);else null!==(r=e.querySelector("label"))&&(t="&ai_form_name="+vr(r.textContent))}catch(e){Kr(" error: "+e)}var n=dr(e,"name");if(null!==n){var i=n.split("%20");i.length>1&&(t+="&ai_first_name="+i[0],t+="&ai_last_name="+i[1])}n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"message"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e);break;case ct:t=function(e){var t="",r=null;try{null!==(o=e.getAttribute("id"))&&(t="&ai_form_name="+o.trim(),r=o.trim())}catch(e){}if(null===r)return t;var n={gform_1:{ai_first_name:"input_1",ai_phone:"input_2",ai_email:"input_3",ai_comments:"input_5"},gform_2:{ai_first_name:"input_1.3",ai_last_name:"input_1.6",ai_email:"input_2",ai_phone:"input_3",ai_comments:"input_5"}}[r];if(void 0===n)return Kr("Unknown form: "+r),t;for(var i in n)if(n.hasOwnProperty(i))try{var o,a=n[i];if(null!==(o=e.querySelector('[name="'+a+'"]')))t+="&"+i+"="+vr(o.value)}catch(e){}return Kr(" form data: "+t),t}(e);break;case mt:t=function(e){var t="";try{var r=!1,n=-1!==window.location.pathname.indexOf("booking"),i=-1!==window.location.pathname.indexOf("confirm");if(n&&i)r=!0,t="&ai_form_name="+vr("Confirm Booking");else{var o=e.getAttribute("id");null!==o&&(t="&ai_form_name="+vr(o),"user-location"===o&&function(e){try{var t=e.querySelector('input[id="address"]');if(null!==t)Kr("champion location finder value: "+t.value)}catch(e){}}(e))}}catch(e){Kr(" error: "+e)}var a=!1,l=!1;try{if(r){var c=document.querySelector(".personalInformation").innerText.split(" ");t+="&ai_first_name="+vr(c[0]),void 0!==c[1]&&(t+="&ai_last_name="+vr(c[1]),a=!0)}else{null!==(m=dr(e,"first"))&&(t+="&ai_first_name="+m)}}catch(e){}if(!a){null!==(m=dr(e,"last"))&&(t+="&ai_last_name="+m)}try{if(r)t+="&ai_email="+vr((u=document.querySelector(".contactInformation").innerHTML.split(" "))[0]),void 0!==u[1]&&(t+="&ai_phone="+vr(u[1]),l=!0);else null!==(m=dr(e,"email"))&&(t+="&ai_email="+m)}catch(e){}l||null!==(m=dr(e,"phone"))&&(t+="&ai_phone="+m);try{var u,m;if(r){if((u=document.querySelector(".addressInformation").innerHTML.split(" ")).length>0){var s=u[u.length-1].split(" ");t+="&ai_comments="+vr(s[s.length-1])}}else null!==(m=fr(e,"comment"))&&(t+="&ai_comments="+m)}catch(e){}return Kr(" form data: "+t),t}(e);break;case ut:break;case ze:t=function(e){var t="";try{var r=e.getAttribute("id");null!==r&&(t="&ai_form_name="+vr(r))}catch(e){Kr(" error: "+e)}var n=dr(e,"full");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e);break;case dt:t=function(e){var t="",r=null;try{null!==(o=e.getAttribute("id"))&&(t="&ai_form_name="+vr(o),r=o)}catch(e){}if(null===r)return t;var n={"ims-form-module-form-1":{ai_first_name:"list-response-form-1-item-1",ai_last_name:"list-response-form-1-item-2",ai_email:"list-response-form-1-item-3",ai_comments:"list-response-form-1-item-12"},"ims-form-module-form-2":{ai_first_name:"list-response-form-2-item-1",ai_last_name:"list-response-form-2-item-2",ai_email:"list-response-form-2-item-3",ai_comments:"list-response-form-2-item-12",phone:"list-response-form-2-item-4"},"ims-form-module-form-3":{ai_first_name:"list-response-form-3-item-1",ai_last_name:"list-response-form-3-item-2",ai_email:"list-response-form-3-item-3",ai_comments:"list-response-form-3-item-12",phone:"list-response-form-3-item-4"}}[r];if(void 0===n)return Kr("Unknown form: "+r),t;for(var i in n)if(n.hasOwnProperty(i))try{var o,a=n[i];if(null!==(o=e.querySelector('[id="'+a+'"]')))t+="&"+i+"="+vr(o.value)}catch(e){}return Kr(" form data: "+t),t}(e);break;case ft:t=function(e){var t="";try{var r=e.getAttribute("id");null!==r&&(t="&ai_form_name="+vr(r))}catch(e){Kr(" error: "+e)}var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);n=dr(e,"last"),null!==n&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"message"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e);break;case Xe:t=function(e){var t="",r=null;try{if(null!==(a=e.getAttribute("action"))){var n=a.split("/");t="&ai_form_name="+vr(r=""==n[0]?n[1]:n[0])}}catch(e){}if(null===r)return t;var i={"contact-us":{ai_first_name:"input_5",ai_last_name:"input_6",ai_email:"input_2",ai_phone:"input_3",ai_comments:"input_4"}}[r];if(void 0===i)return Kr("Unknown form: "+r),t;for(var o in i)if(i.hasOwnProperty(o))try{var a,l=i[o];if(null!==(a=e.querySelector('[name="'+l+'"]')))t+="&"+o+"="+vr(a.value)}catch(e){}return Kr(" form data: "+t),t}(e);break;case Ue:t=function(e){var t="";try{var r=e.closest(".form-modal");if(null!==r){var n=r.querySelector(".header");null!==n&&(t="&ai_form_name="+vr(n.innerText.trim()))}else{var i=e.querySelector("h2");if(null!==i)t="&ai_form_name="+vr(i.innerText.trim());else{var o=e.getAttribute("name");null!==o&&(t="&ai_form_name="+vr(o))}}}catch(e){console.log(" error: "+e)}var a=dr(e,"first"),l=dr(e,"full");if(null!==a)t+="&ai_first_name="+a;else if(null!==l){for(var c=(s=l).split("%20"),u="",m=0;m legend"),o=e.getAttribute("data-form-title"),a=document.querySelector(".action-buttons-share-form h3");null!==o&&(t=o),null!==n?t=n.innerText.replace(/\s/g,"").toLowerCase():null!==i?t=i.innerText:null!==a&&(t=a.innerText.trim())}catch(a){}try{if(null===t){var l=e.querySelector('input[name="FormName"]'),c=(n=e.querySelector('input[name="form_name"]'),i=e.getAttribute("data-form-id"),l||n||i);null!==c&&(t=c.value)}}catch(a){}try{if(null===t){var u=e.closest(".modal-dialog");if(null!==u){var m=u.querySelector(".modal-header .modal-title");if(null!==m)t=_=m.innerText.trim()}else{var s=e.closest(".form-modal");if(null!==s)null!==(d=s.querySelector(".header"))&&(t=d.innerText)}}}catch(a){}try{if(null===t)if(null!==(d=e.querySelector(".gform_title")))t=d.innerText;else if(-1!==e.className.indexOf("sc-CtfFt"))t="Contact Us";else if(null!==e.getAttribute("data-form-tracking-id")){t=e.getAttribute("data-form-tracking-id")}}catch(a){}try{if(null===t){var d=e.closest("#modalContentContainer"),f=e.closest(".formWrapper");if(null!==d)null!==(_=d.querySelector(".modalTitle"))&&(t=_.innerText);else if(null!==f){var _;null!==(_=f.querySelector(".title"))&&(t=_.innerText)}else{var v=e.closest(".ui-dialog").querySelector(".ui-dialog-title");null!==v&&(t=v.innerText)}}}catch(a){}try{if(null===t)if(null!==(l=e.getAttribute("action"))&&0!==l.indexOf("http")){var p=l.split("/");t=""==p[0]?p[1]:p[0]}}catch(a){}null===t?Kr("No form name found for catch all"):t=vr(t.trim());return t}(e);if(null===r)return Kr("bailing on form catch all. No form name found."),t;t="&ai_form_name="+r;var n=dr(e,"first");null!==n&&(t+="&ai_first_name="+n);null!==n&&null!==(n=dr(e,"last"))&&(t+="&ai_last_name="+n);n=dr(e,"email"),null!==n&&(t+="&ai_email="+n);n=dr(e,"phone"),null!==n&&(t+="&ai_phone="+n);n=fr(e,"comment"),null!==n&&(t+="&ai_comments="+n);return Kr(" form data: "+t),t}(e)}return t}(e);Kr("form capture: "+(t=(t=r+n+"&form="+t).substring(0,1e3))),gr(mt)&&console.log("[init_form_capture_for_champion_windows] form capture: "+t);var o={};o.ai_data=ye(),o.ai_form_data=n,N(0,o)}}function ge(e){var t="",r=/(applicant.ssn=)(.*?(?=&|$))/i;t=e.replace(r,"$1");r=/(applicant.dob=)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(applicant.contact.address.street=)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(LicenseNumber=)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(SSN=)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(MonthlySalary=)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(Employer=)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(income)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(salary)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(birthdate)(.*?(?=&|$))/i;t=t.replace(r,"$1");r=/(ssn)(.*?(?=&|$))/i;return t=t.replace(r,"$1")}function he(){var e="";for(var t in k){if(k.hasOwnProperty(t))e+="&"+t+"="+k[t]}return e}function ye(){var e={};for(var t in k)k.hasOwnProperty(t)&&(e[t]=k[t]);return e}function be(e){if(Array.prototype.reduce)return e.split("").reduce((function(e,t){return 0|(e=(e<<5)-e+t.charCodeAt(0))}),0);var t=0;if(0===e.length)return t;for(var r=0;rSe)return xe=we;++ke;var t=we,r=document.querySelectorAll("footer, .footer_bottom, #footer, .footer-bottom-container, .footer, #footer-bottom, .ddc-footer, .footer-bottom"),n="";r.forEach((function(e){const t=e.cloneNode(!0);t.querySelectorAll("style, script").forEach((e=>{e.remove()})),n+=t.innerHTML.toLowerCase()})),e||(e=document.getElementsByTagName("head")[0]);const i=e.cloneNode(!0);i.querySelectorAll("style, script").forEach((e=>{e.remove()}));let o=i.innerHTML.toLowerCase();const a=n+o;if(Kr("findHostingCompany attempt: "+ke),ur(a))t=Ae;else if(sr(a,tr))t=er;else if(sr(a,Ce))t=Ce;else if(sr(a,Te))t=Te;else if(sr(a,Oe))t=Oe;else if(sr(a,De))t=De;else if(sr(a,Le))t=Le;else if(sr(a,Ne))t=Ne;else if(sr(a,Fe)||sr(a,Me)||sr(a,Ve))t=Pe;else if(sr(a,je))t=je;else if(sr(a,Re))t=je;else if(sr(a,$e))t=Ye;else if(sr(a,We))t=We;else if(sr(a,Be))t=Be;else if(sr(a,Ze))t=Ze;else if(sr(a,Bt))t=Zt;else if(sr(a,Ht))t=Ht;else if(sr(a,Jt))t=Jt;else if(sr(a,He))t=He;else if(sr(a,Je))t=Je;else if(sr(a,Ue))t=Ue;else if(sr(a,Xe))t=Xe;else if(sr(a,ze))t=ze;else if(sr(a,Qe))t=Qe;else if(sr(a,Ke))t=Ke;else if(sr(a,et))t=et;else if(sr(a,tt))t=tt;else if(sr(a,rt))t=rt;else if(sr(a,nt))t=nt;else if(sr(a,it))t=it;else if(sr(a,ot))t=ot;else if(sr(a,at))t=at;else if(sr(a,Tt))t=Tt;else if(sr(a,Et))t=Tt;else if(sr(a,lt))t=lt;else if(sr(a,ct))t=ct;else if(sr(a,ut))t=ut;else if(sr(a,mt))t=mt;else if(sr(a,st))t=st;else if(sr(a,dt))t=dt;else if(sr(a,ft))t=ft;else if(sr(a,_t))t=_t;else if(sr(a,vt))t=vt;else if(sr(a,pt))t=pt;else if(sr(a,gt))t=gt;else if(sr(a,ht))t=yt;else if(sr(a,St))t=St;else if(sr(a,kt))t=kt;else if(sr(a,Dt))t=Dt;else if(sr(a,Lt))t=Lt;else if(sr(a,Nt))t=Nt;else if(sr(a,It))t=It;else if(sr(a,Pt))t=Ft;else if(sr(a,Mt))t=Vt;else if(sr(a,jt))t=Gt;else if(sr(a,$t))t=$t;else if(sr(a,Yt))t=Yt;else if(sr(a,Wt))t=Wt;else if(sr(a,Rt))t=Rt;else if(sr(a,wt[0])||sr(a,wt[1]))t=bt;else if(sr(a,Ut))t=Xt;else if(sr(a,zt))t=zt;else if(sr(a,Qt))t=Kt;else if(cr())t=xt;else if(sr(a,rr))t=rr;else if(sr(a,nr))t=nr;else if(sr(a,ir))t=ir;else if(sr(a,or))t=or;else if(sr(a,ar))t=ar;else{var l=be(document.location.host);Kr("domain hash: "+l);var c=-1!==Ot.indexOf(l);Kr("ti domain_found: "+c),c?t=Ct:c||(Kr("rv domain_found: "+(c=-1!==At.indexOf(l))),c&&(t=st))}if(t==we&&-1!==[59230855,-925097978,-981427314].indexOf(l)&&(t=qt),t==we){t=function(e){let t=we;if(ur(e))t=Ae;else if(sr(e,tr))t=er;else if(sr(e,Ce))t=Ce;else if(sr(e,Te))t=Te;else if(sr(e,Oe))t=Oe;else if(sr(e,De))t=De;else if(sr(e,Le))t=Le;else if(sr(e,Ne))t=Ne;else if(sr(e,Fe)||sr(e,Me)||sr(e,Ve))t=Pe;else if(sr(e,je))t=je;else if(sr(e,Re))t=je;else if(sr(e,$e))t=Ye;else if(sr(e,We))t=We;else if(sr(e,Be))t=Be;else if(sr(e,Ze))t=Ze;else if(sr(e,Bt))t=Zt;else if(sr(e,Ht))t=Ht;else if(sr(e,Jt))t=Jt;else if(sr(e,He))t=He;else if(sr(e,Je))t=Je;else if(sr(e,Ue))t=Ue;else if(sr(e,Xe))t=Xe;else if(sr(e,ze))t=ze;else if(sr(e,Qe))t=Qe;else if(sr(e,Ke))t=Ke;else if(sr(e,et))t=et;else if(sr(e,tt))t=tt;else if(sr(e,rt))t=rt;else if(sr(e,nt))t=nt;else if(sr(e,it))t=it;else if(sr(e,ot))t=ot;else if(sr(e,at))t=at;else if(sr(e,Tt))t=Tt;else if(sr(e,Et))t=Tt;else if(sr(e,lt))t=lt;else if(sr(e,ct))t=ct;else if(sr(e,ut))t=ut;else if(sr(e,mt))t=mt;else if(sr(e,st))t=st;else if(sr(e,dt))t=dt;else if(sr(e,ft))t=ft;else if(sr(e,_t))t=_t;else if(sr(e,vt))t=vt;else if(sr(e,pt))t=pt;else if(sr(e,gt))t=gt;else if(sr(e,ht))t=yt;else if(sr(e,St))t=St;else if(sr(e,kt))t=kt;else if(sr(e,Dt))t=Dt;else if(sr(e,Lt))t=Lt;else if(sr(e,Nt))t=Nt;else if(sr(e,It))t=It;else if(sr(e,Pt))t=Ft;else if(sr(e,Mt))t=Vt;else if(sr(e,jt))t=Gt;else if(sr(e,$t))t=$t;else if(sr(e,Yt))t=Yt;else if(sr(e,Wt))t=Wt;else if(sr(e,Rt))t=Rt;else if(sr(e,wt[0])||sr(e,wt[1]))t=bt;else if(sr(e,Ut))t=Xt;else if(sr(e,zt))t=zt;else if(sr(e,Qt))t=Kt;else if(cr())t=xt;else if(sr(e,rr))t=rr;else if(sr(e,nr))t=nr;else if(sr(e,ir))t=ir;else if(sr(e,or))t=or;else if(sr(e,ar))t=ar;else{var r=be(document.location.host);Kr("domain hash: "+r);var n=-1!==Ot.indexOf(r);Kr("ti domain_found: "+n),n?t=Ct:n||(Kr("rv domain_found: "+(n=-1!==At.indexOf(r))),n&&(t=st))}return Kr("expectedHostCompanyInDomainName: "+mr(t)),t}(Dr(document.location.host))}t==we&&window.top===window.self&&(t=lr(window.parent.document.body));const u=document.getElementsByClassName("copyrightProvider")[0],m=document.querySelector('meta[name="providerID"]');return void 0!==u?u.textContent.toLowerCase().indexOf(mr(yt))>-1?t=yt:u.textContent.toLowerCase().indexOf(mr(Ee))>-1&&(t=Te):null!==m&&(m.getAttribute("content").toLowerCase().indexOf(mr(Ie))>-1?t=Ne:m.getAttribute("content").toLowerCase().indexOf(mr(Ge))>-1?t=je:m.getAttribute("content").toLowerCase().indexOf("ddc")>-1&&(t=Ae)),"object"==typeof _dfaq&&_dfaq.toString().indexOf(mr(Ie)>-1)&&(t=Ne),xe=t,Kr("hosting_company: "+mr(t)),xe}function cr(){var e=!1,t=document.querySelector('meta[name="author"]');return t&&(e=t.getAttribute("content").toLowerCase()===mr(xt)),e}function ur(e){if(sr(e,qe))return!0;var t=!1,r=document.querySelector('meta[name="providerID"]');return null!==r&&(t="ddc"===r.content.toLowerCase()),t}function mr(e){var t="";try{"string"==typeof e&&(t=window.atob(e))}catch(t){Kr("Error converting: "+e+" Error: "+t)}return t}function sr(e,t){t=mr(t);return-1!==e.indexOf(t)}function dr(e,t){return _r(e,"input",t)}function fr(e,t){return _r(e,"textarea",t)}function _r(e,t,r){var n=null;try{var i=e.querySelector(`${t}[name*="${r}" i]`),o=e.querySelector(`${t}[id*="${r}" i]`),a=e.querySelector(`${t}[placeholder*="${r}" i]`),l=e.querySelector(`${t}[contactfield*="${r}" i]`),c=e.querySelector(`${t}[type*="${r}" i]`),u=e.querySelector(`${t}[aria-label*="${r}" i]`),m=e.querySelector(`${t}[class*="${r}" i]`),s=i||o||a||l||c||u||m;n=null!==s?s.value:function(e,t,r){for(var n=null,i=e.querySelectorAll("label.gfield_label"),o=0;o({name:e.measurement_id,value:t}))))}));const n=await Promise.all(r);return t.measurement_cookies=n,Kr("collectMeasurementIds: "+JSON.stringify(t)),t}async function br(){const e={ga_cookie:null,tid_cookie:null,t3website_cookie:null,utag_main_cookie:null,measurement_cookies:null},t=async function(){let e=null;return wr((function(){return e=Ar("_ga")||null,null!==e})).then((function(){const e=(t={},document.cookie.split(";").forEach((function(e){var r=e.split("="),n=r[0].trim(),i=r[1];t[n]=i})),t._ga.substring(6));var t;return Kr("[waitFor ga] google client id: "+e),e}),(function(e){Kr("[waitFor ga] Timed out looking for GA cookie.")}))}(),r=async function(){let e=null;return wr((function(){return e=Ar("TID")||null,null!==e})).then((function(){return e}),(function(){Kr("[waitFor tid] Timed out looking for TID cookie.")}))}(),n=async function(){let e=null,t=null;return await wr((function(){return t=Ar("t3website")||null,null!==t})).then((function(){if(null!==t)try{e=decodeURI(t)}catch(e){}return e}),(function(){Kr("[waitFor t3website] Timed out looking for t3website cookie.")}))}(),i=async function(){let e=null,t=null;return await wr((function(){return t=Ar("utag_main_v_id")||null,null!==t})).then((function(){if(null!==t)try{Kr("[find_utag_main_cookie_cookie] cookie: "+t);const r=t;Kr("[find_utag_main_cookie_cookie] cookie value: "+r),e=decodeURI(r)}catch(e){}return e}),(function(){Kr("[waitFor utag_main] Timed out looking for utag_main cookie.")}))}(),o=await Promise.all([t,r,n,i]);return e.ga_cookie=o[0],e.tid_cookie=o[1],e.t3website_cookie=o[2],e.utag_main_cookie=o[3],Kr("collectExtraCookies: "+JSON.stringify(e)),e}function wr(e,t){t||(t=8e3);var r,n,i=(r={},n=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.promise=n,r),o=!1,a=!1;const l=setTimeout((function(){o=!0,i.reject()}),t);return setTimeout((function t(){if(!o&&!a)return e()?(a=!0,clearTimeout(l),i.resolve()):void setTimeout(t,300)}),300),i.promise}function Sr(e,t,r,n,i){!function(e,t,r,n,i){gr(Ae)&&(e.is_ddc_domain=!0,e.last_retry=window.ddc_retry_counter===O-1);var d={method:"POST",mode:"cors",credentials:"omit",headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},body:JSON.stringify(e)},g=b+"ai";gHelperData.data_to_ai=e,kr(g,d,A).then((function(e){return e.json()})).then((function(e){Pr(),function(e,t,r,n,i){if(Kr("Success sending data to AI at "+Date()),gHelperData.data_from_ai=e,function(){gr(Vt)&&void 0!==window.performance&&(window.performance.mark("dni_started"),Kr("DNI started performance called for cars.com"))}(),e.maintenance_mode_enabled)console.log("ai is currently in maintenance mode: "+e.maintenance_text);else if(e.is_a_bot)Kr("bot detected by ai");else if(!0===e.disabled)console.log("Domain Disabled"),Gr();else{null!==e.generated_page_id&&(v=e.generated_page_id,function(e,t){var r=escape(t)+"; expires=0",n=e+"="+r+";domain=."+Er+"; path=/";Or()&&(n+=";SameSite=None; Secure");document.cookie=n}(l,v));var d=xr(f);d&&null!==e.generated_uuid?(f=e.generated_uuid,Tr(o,f,180),_=e.generated_sess,Cr(a,_,30)):d||(Tr(o,f,180),xr(_)&&null!==e.generated_sess&&(_=e.generated_sess),Cr(a,_,30)),gHelperData.data_to_ai.sid=_,I(f,_,v,p,cookies,t,r,n,i),s=e.is_mobile&&e.domain_settings.every_lead_package>0&&e.domain_settings.texting_modal;var g=e.result.global_id;if(k.gid!==g&&(Kr("updating gAIData gid from "+k.gid+" to "+g),k.gid=g),null!=e.ddn_result){if("string"==typeof e.ddn_result.message&&Kr("AI Message: *** "+e.ddn_result.message+" ***"),void 0!==e.ddn_result.dni_triggers_triggered&&(Kr("DNI_Trgger: data: "+JSON.stringify(e.ddn_result)),e.ddn_result.dni_triggers_triggered&&(Kr("[DNI Trigger] create cookie if it does not exist with timestamp: "+e.ddn_result.dni_triggered_at),Kr("[DNI Trigger] data.ddn_result.dni_triggered_session_length: "+e.ddn_result.dni_triggered_session_length),Cr(u,e.ddn_result.dni_triggered_until,e.ddn_result.dni_triggered_session_length))),e.ddn_result.hasOwnProperty("dni_campaign_numbers")){Kr("[DNI Trigger] Found DNI Campaign Numbers "+JSON.stringify(e.ddn_result.dni_campaign_numbers));const t=Object.keys(e.ddn_result.dni_campaign_numbers);for(var h in gHelperData.swapped_numbers={},t){const r=t[h],n=e.ddn_result.dni_campaign_numbers[r];Kr("wanting to swap static: "+r+" with "+n),Vr(r,JSON.stringify(n))}gHelperData.swapped_numbers=e.ddn_result.dni_campaign_numbers,Gr(e)}else if(e.ddn_result.hasOwnProperty("multisite_ddn")){for(var h in S){var y=S[h],w=e.ddn_result.multisite_ddn[y];Vr(y,JSON.stringify(w))}Gr(e)}else if(e.ddn_result.hasOwnProperty("singlesite_ddn")){for(var h in S){y=S[h],w=e.ddn_result.singlesite_ddn[y];Vr(y,JSON.stringify(w))}Gr(e)}else null!=e.ddn_result.num_1&&null!=e.ddn_result.static_1&&(Vr(JSON.stringify(e.ddn_result.static_1),JSON.stringify(e.ddn_result.num_1)),Vr(JSON.stringify(e.ddn_result.mobile_static_1),JSON.stringify(e.ddn_result.num_1))),null!=e.ddn_result.num_2&&null!=e.ddn_result.static_2&&(Vr(JSON.stringify(e.ddn_result.static_2),JSON.stringify(e.ddn_result.num_2)),Vr(JSON.stringify(e.ddn_result.mobile_static_2),JSON.stringify(e.ddn_result.num_2))),null!=e.ddn_result.num_3&&null!=e.ddn_result.static_3&&(Vr(JSON.stringify(e.ddn_result.static_3),JSON.stringify(e.ddn_result.num_3)),Vr(JSON.stringify(e.ddn_result.mobile_static_3),JSON.stringify(e.ddn_result.num_3))),null!=e.ddn_result.num_4&&null!=e.ddn_result.static_4&&(Vr(JSON.stringify(e.ddn_result.static_4),JSON.stringify(e.ddn_result.num_4)),Vr(JSON.stringify(e.ddn_result.mobile_static_4),JSON.stringify(e.ddn_result.num_4))),null!=e.ddn_result.num_5&&null!=e.ddn_result.static_5&&(Vr(JSON.stringify(e.ddn_result.static_5),JSON.stringify(e.ddn_result.num_5)),Vr(JSON.stringify(e.ddn_result.mobile_static_5),JSON.stringify(e.ddn_result.num_5))),Gr(e);!function(){var e=gHelperData.data_to_ai.sid,t=gHelperData.data_from_ai.session_length,r=jr();if(0===r.length)return;var n={sid:e,numbers:r},i=JSON.stringify(n);Kr("[createLocalDNICookie] setting dni cookie_value: "+i),Cr(m,i,t)}()}else Gr(e);Tr(c,g,1800),x=e.is_mobile,""!==Wr(mr("YWlhbGVydA=="))&&(alert("Build Date: "+gHelperData.build_date),alert("Detected as mobile device: "+x),alert("Replaced Numbers: "+JSON.stringify(jr())));let q=0===e.domain_settings.chat_hours.length,C=new Date;e.domain_settings.chat_hours.forEach((function(t){(function(e,t,r,n){let i=[1,2,4,8,16,32,64];r=6e4*r*-1;Kr(`[isWithinChatHours] locationTimezoneOffset: ${n=null===n?"+0000":n}`);const o=n=function(e){const t=e.substr(0,3),r=e.substr(3,e.length-1);return 36e5*`${t}.${r}`}(n);Kr(`[isWithinChatHours] totalOffset: ${o}`),Kr("[isWithinChatHours] totalOffset minutes: "+o/6e4),Kr("[isWithinChatHours] totalOffset hours: "+o/6e4/60);let a=new Date(e).toUTCString();Kr(`[isWithinChatHours] UTCDate: ${a}`);let l=new Date(a).getTime();Kr(`[isWithinChatHours] now with calculated offset: ${(e=new Date(l+o)).toUTCString()}`);let c=i[e.getUTCDay()];if((t.day_map&c)==c)try{let r=e.getUTCMinutes();r=r<10?"0"+r:r;let n=e.getUTCHours();n=n<10?"0"+n:n;let i=Number(`${n}${r}`);if(Kr(`[isWithinChatHours] hourRange.start_time: ${t.start_time}`),Kr(`[isWithinChatHours] hourRange.end_time: ${t.end_time}`),Kr(`[isWithinChatHours] currentTimeOfDay: ${i}`),Number(t.start_time)<=i&&Number(t.end_time)>=i)return!0}catch(e){console.log(e)}return!1})(C,t,C.getTimezoneOffset(),e.domain_settings.timezone_offset)&&(q=!0)}));const T=e.domain_settings.chat_enabled&&q;!function(e,t){if(Kr("[initChat] data: "+JSON.stringify(e)),t){var r=e.result.global_id,n=e.wid,i=f,o=e.generated_page_id,a=_;Kr("for chat gid "+r),Kr("for chat domain "+n),Kr("for chat domain_uuid "+i),Kr("for chat page_id "+o),Kr("for chat session_id "+a);var l=`//${"chat.autoid.com"}/chat.js${`?gid=${encodeURIComponent(r)}&d=${encodeURIComponent(n)}&duuid=${encodeURIComponent(i)}&pid=${encodeURIComponent(o)}&sid=${encodeURIComponent(a)}&aidebug=${sn()}`}`;$r(l,"aichat_init"),Kr(`[initChat] loaded ai chat init script: ${l}`)}}(e,T),function(e,t){if(Kr("[initBookNow] data: "+JSON.stringify(e)),e.domain_settings.book_now_enabled){const r=e.result.global_id,n=e.wid,i=f,o=e.generated_page_id,a=_;Kr("for book now gid "+r),Kr("for book now domain "+n),Kr("for book now domain_uuid "+i),Kr("for book now page_id "+o),Kr("for book now session_id "+a);const l=`//${"chat.autoid.com"}/book_now.js${`?gid=${encodeURIComponent(r)}&d=${encodeURIComponent(n)}&duuid=${encodeURIComponent(i)}&pid=${encodeURIComponent(o)}&sid=${encodeURIComponent(a)}&aidebug=${sn()}&chatIsEnabled=${t?"1":"0"}&displayFloatingButton=${e.domain_settings.book_now_browser_button_enabled?"1":"0"}`}`;Kr(`[initBookNow] attempting to load ai book now script from: ${l}`),$r(l,"ai_book_now"),Kr(`[initBookNow] loaded ai book now init script: ${l}`)}}(e,T),e.result.refpv&&async function(e,t,r,n){(async function(e,t,r){const n=await yr(r),i={pk:e,toe:t,ck:n};var o={method:"POST",mode:"cors",credentials:"omit",headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},body:JSON.stringify(i)},a=b+"ucc";kr(a,o,A)})(e,t,n),async function(e,t){const r=await br(),n={pk:e,toe:t,ck:r};var i={method:"POST",mode:"cors",credentials:"omit",headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},body:JSON.stringify(n)},o=b+"ucc";kr(o,i,A)}(e,t)}(e.result.refpv,e.result.reftoe,e.domain_settings.google_analytics4_measurement_id,e.domain_settings.measurement_ids)}var x}(e,t,r,n,i)})).catch((function(e){Kr(" fetch error: "+JSON.stringify(e)),Pr(),-1!==e.message.indexOf("timed out")?(console.log("Got timeout from AI: "+b),Kr("Timeout sending data to AI at "+Date())):Kr("Some other error sending data to AI at "+Date()+" "+e.message)}))}(e,t,r,n,i)}function kr(e,t,r){const n=new AbortController;t.signal=n.signal;const i=t;setTimeout((function(){n.abort()}),r);return fetch(e,i).then((function(e){if(!e.ok)throw new Error(e.status+": "+e.statusText);return e})).catch((function(e){if("AbortError"===e.name)throw new Error("Response to AI timed out after "+r+" milliseconds.");throw new Error(e.message)}))}function xr(e){return null==e||""==e||"undefined"==e||"NaN"==e}function qr(e){let t=null;try{const r=e.split(".");4===r.length?t=`${r[2]}.${r[3]}`:9===r.length&&(t=`${r[2]}.${r[5]}`)}catch(e){Kr(`[parseGACookieValues] error: ${e}`)}return Kr(`[parseGACookieValues] result: ${t}`),t}function Ar(e){var t,r,n,i=document.cookie.split(";");for(t=0;t2&&"string"==typeof t[2]&&t[2].length>0?t[2]:null}function Lr(e){if("number"==typeof e)return e;Math.trunc=Math.trunc||function(e){return isNaN(e)?NaN:e>0?Math.floor(e):Math.ceil(e)};var t=Nr(e);return Math.trunc(t)}function Nr(e){var t=e;return"string"==typeof e&&(t=e.replace(/[^\d.]/g,"")),t}function Ir(e,t){var r=e;"string"==typeof e&&(r=document.getElementById(e));for(var n=""+r.className;n.indexOf(t)>-1;)n=n.replace(t,"");r.className=n}function Pr(){if(C)for(var e=document.querySelectorAll(".aiBlur"),t=0;t0&&e(t,(function(e){var t=e.firstChild;if(t)do{if(3===t.nodeType&&-1!==t.nodeValue.indexOf(r)){var n=t.parentNode;n&&"script"!==n.tagName.toLowerCase()&&Mr(n,t,r)}}while(t=t.nextSibling)}))}catch(e){Kr("Error in blurText: "+e.message)}}function Mr(e,t,r){if(e.innerHTML.length-r.length<4)e.classList.add("aiBlur");else{e.normalize();var n=e.innerHTML,i=n.indexOf("aiBlur")>-1;if(null!==n&&!i){var o=e.innerHTML.replace(r,'$&');e.innerHTML=o}}}function Vr(t,r){if(null!=t&&null!=r&&"null"!=r){var n=t.substring(0,3),i=t.substring(3,6),o=t.substring(6,10),a=r.substring(0,3),l=r.substring(3,6),c=r.substring(6,10),u=new RegExp("(\\(?)"+n+"(\\))?([-. ]?)"+i+"([-. ]?)"+o,"g");document.title=document.title.replace(u,"$1"+a+"$2$3"+l+"$4"+c),function(t,r,n,i,o,a){try{var l=document.querySelectorAll(t);l.length>0&&e(l,(function(e){var t,l,c=e.firstChild,u=[];if(c)do{if(3===c.nodeType&&(l=(t=c.nodeValue).replace(r,n))!==t)if(gHelperData.swapped_numbers[o]=a,window.gATLEAST_ONE_NUMBER_WAS_SWAPPED=!0,!i&&/ Call ',l=' Text ',c=' ';c+=' '+a+' OR '+l+" ",c+=" ";var u=document.createElement("div");u.setAttribute("id","autoid_modal"),u.setAttribute("class","ai_modal");var m=' '+c+" ";u.innerHTML=m,document.body.appendChild(u);var s=document.createElement("div");s.setAttribute("id","autoid_modal_overlay"),document.body.appendChild(s),setTimeout((function(){window.onclick=function(e){e.target!==d&&"block"==d.style.display&&(d.style.display="none",f.style.display="none")}}),200);var d=document.getElementById("autoid_modal"),f=document.getElementById("autoid_modal_overlay");d.style.display="block",f.style.display="block"}(e)};t.addEventListener("click",r),t.addEventListener("touchstart",r)}function Wr(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)","i").exec(location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function Br(e){for(var t=document.cookie.split(";"),r={},n=0;n0?e.replace("rackcdn.comstock-images","rackcdn.com/stock-images"):0===e.indexOf("//vimg.remorainc.com")||0===e.indexOf("//cdn-ds.com")?"https:"+e:window.location.protocol+"//"+window.location.host+e:window.location.protocol+e}return(t=0==e.indexOf("http"))||(0!=e.indexOf("/")&&(e="/"+e),e=window.location.protocol+"//"+window.location.host+e),e}var tn=function(e,t){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;--r>=0&&t.item(r)!==this;);return r>-1});e&&e!==document;e=e.parentNode)if(e.matches(t))return e;return null};function rn(e,t,r,n){var i=n||3e3,o=(new Date).getTime(),a=!1,l=setInterval((function(){(new Date).getTime()-o0){for(var r=0;r0}),(function(){an()}),(function(){}),3e3)}.bind(null),"complete"===document.readyState?e():window.addEventListener?window.addEventListener("load",e):window.attachEvent&&window.attachEvent("onload",e)}}function cn(e){for(var t=null,r=document.querySelectorAll(".unit-attributes .row"),n=0;n0);return e||t||r||n}())e.type=Jr;else{if(i=null!==document.querySelector('meta[content="used"]'),o=null!==document.querySelector('a.ePriceBtn[data-epriceconfiglocation="UsedMobileVdp"]'),a=-1!==document.body.innerHTML.toLowerCase().indexOf("vdp-used"),!(i||o||a))return e;e.type=Ur}var t=document.querySelector("#vehicleImgLarge .item.active .row");if(null!==t?(t=t.getAttribute("href"),e.image_url=en(t)):null!==(t=document.querySelector(".carousel__item--hero img"))&&(t=t.getAttribute("src"),e.image_url=en(t)),"object"==typeof window.digitalData&&window.digitalData.page&&window.digitalData.page.pageInfo)e.make=window.digitalData.page.pageInfo.vehicleMake,e.model=window.digitalData.page.pageInfo.vehicleModel,e.year=window.digitalData.page.pageInfo.vehicleYear,e.trim=window.digitalData.page.pageInfo.vehicleTrim,e.vin=window.digitalData.page.pageInfo.vehicleVin,e.price=Lr(window.digitalData.page.pageInfo.tier3_vehicleMsrp),e.ext_color=window.digitalData.page.pageInfo.tier3_vehicleExteriorColor,e.int_color=window.digitalData.page.pageInfo.tier3_vehicleInteriorColor,e.stock_no=window.digitalData.page.pageInfo.tier3_vehicleStockNumber;else{var r=document.querySelector(".vinDisplay span"),n=document.querySelector(".sms-lead-modal");if(null!==r)e.vin=r.innerText;else if(null!==n)e.vin=n.getAttribute("vin");else try{e.stock_no=document.querySelector(".ePriceBtn").getAttribute("data-vin")}catch(e){Kr(" error:"+e.message)}e=function(e){try{var t=document.querySelectorAll('#content a[itemprop="url"]');if(t.length>0)for(var r=0;r1?(e.ext_color=a[0].trim(),e.int_color=a[1].trim()):0===i.indexOf("ext. color")?e.ext_color=o:0===i.indexOf("int. color")&&(e.int_color=o)}}}}catch(e){Kr("dealer on color error:"+e.message)}return e}();if(e.int_color=f.int_color,e.ext_color=f.ext_color,e.price=function(){var e=0;try{"undefined"!=typeof vehicleMSRP&&(e=Lr(vehicleMSRP)),"undefined"!=typeof vehiclePrice&&(e=Lr(vehiclePrice));var t=document.querySelector(".priceBlock");if(null!==t){var r=t.querySelectorAll(".priceBlockItem.priceBlockItemPrice");if(1===r.length)e=Lr(i=r[0].innerText.trim().toLowerCase());else if(r.length>1)for(var n=0;n1&&(e.mileage=Nr(c[1]))}}}catch(e){Kr("dealer on error:"+e.message)}}catch(e){Kr("dealeron inventory error:"+e.message)}return e}(e)}}var i,o,a;return e}();Qr(e)&&(e=function(){var e=zr();if(document.querySelectorAll('input[name="vin"]').length>0||document.querySelectorAll(".inventory-detail-pricing").length>0){var t=document.querySelector('meta[name="keywords"]');if(null!==t&&-1!==t.content.toLowerCase().indexOf("new "))e.type=Jr;else if(null!==t&&-1!==t.content.toLowerCase().indexOf("used "))e.type=Ur;else{if(void 0===window.DDC)return e;var r=window.DDC.siteSettings.pageAlias.toLowerCase(),n=-1!==r.indexOf("auto"),i=-1!==r.indexOf("details"),o=-1!==r.indexOf("showroom");if(!(n&&i||o||"inventory_details_media"===r))return e;if(e.type="showroom"===r||"auto_new_details"===r?Jr:Ur,void 0!==window.DDC.dataLayer&&void 0!==window.DDC.dataLayer.vehicles&&window.DDC.dataLayer.vehicles.length>0){var a=window.DDC.dataLayer.vehicles[0];"new"===a.inventoryType.toLowerCase()?e.type=Jr:"new"===a.inventoryType.toLowerCase()&&(e.type=Ur),void 0!==a.images&&a.images.length>0&&(e.image_url=en(a.images[0].uri)),e.vin=a.vin,e.year=a.modelYear,e.make=a.make,e.model=a.model,e.price=Lr(a.msrp),e.mileage=Nr(a.odometer),e.trim=a.trim}}if(void 0===e.image_url||""===e.image_url||null===e.image_url){var l=document.querySelector(".ddc-content.inventory-detail-media-tabs img"),c=document.querySelector(".ddc-content.inventory-detail-media-tabs .imageViewer img"),u=document.querySelector(".vehicle-media img.photo");null!==c?(l=c.getAttribute("src"),e.image_url=en(l)):null!==l?(l=l.getAttribute("src"),e.image_url=en(l)):null!==u&&(u=u.getAttribute("src"),e.image_url=en(u))}if(""===e.vin){var m=document.querySelector('input[name="vin"]');null!==m&&(e.vin=m.value)}if(""===e.make)try{var s=document.querySelector(".ddc-content.vehicle-media");if(null!==s)e.make=s.getAttribute("data-make"),e.model=s.getAttribute("data-model"),e.year=s.getAttribute("data-year");else for(var d=document.getElementsByTagName("script"),f=0;f0&&g>0?e.price=p0?e.price=p:g>0&&(e.price=g),e.type===Ur&&(e.mileage=Nr(DDC.dataLayer.vehicles[0].odometer))}else{var h=document.querySelector(".showroom-price");null!==h&&(e.price=Lr(h.getAttribute("data-showroom-price")))}}catch(e){Kr(" inventory error: "+e)}}return e}());Qr(e)&&(e=function(){var e=zr();if(1==document.querySelectorAll('meta[name="vehicle_id"]').length){if(document.querySelectorAll('link[itemprop="itemCondition"][href="http://schema.org/NewCondition"]').length>0)e.type=Jr;else{if(!(document.querySelectorAll('link[itemprop="itemCondition"][href="http://schema.org/UsedCondition"]').length>0))return e;e.type=Ur}var t=document.querySelector("img.preview_vehicle_image_item");if(t){image_src_1=t.getAttribute("data-src"),image_src_2=t.getAttribute("src");var r=null!==image_src_1?image_src_1:image_src_2;e.image_url=en(r)}else(t=document.querySelector(".focus-image img"))&&(t=t.getAttribute("src"),e.image_url=en(t));var n=document.querySelector('meta[itemprop="serialNumber"]');null!==n?e.vin=n.getAttribute("content"):void 0!==window.google_tag_params&&void 0!==window.google_tag_params.dynx_itemid&&(e.vin=window.google_tag_params.dynx_itemid);try{var i={},o=document.querySelectorAll(".details-overview_title"),a=document.querySelectorAll(".details-overview_data");if(o&&o.length==a.length)for(var l=0;l0&&"object"==typeof window.dataLayer){for(var t=0;t0){if(document.querySelectorAll('link[href*="/new"]').length>0)e.type=Jr;else{if(!(document.querySelectorAll('link[href*="/used"]').length>0))return e;e.type=Ur}var t=document.querySelector("#rg-gallery img"),r=document.querySelector(".rg-image img"),n=document.querySelector("#vehicleGallery img"),i=document.querySelector(".vdp-container img");if(null!==t||null!==r){var o=(t||r).getAttribute("src");e.image_url=en(o)}else if(null!==n){o=n.getAttribute("src");e.image_url=en(o)}else if(null!==i){o=i.getAttribute("src");e.image_url=en(o)}var a=document.querySelector('meta[itemprop="serialNumber"]');null!==a&&(e.vin=a.getAttribute("content"));try{if("object"==typeof fzDataLayer&&void 0!==fzDataLayer.vehicle&&""!==fzDataLayer.vehicle.vin)e.year=fzDataLayer.vehicle.year,e.make=fzDataLayer.vehicle.make,e.model=fzDataLayer.vehicle.model,e.trim=fzDataLayer.vehicle.trim;else{var l=document.querySelector(".vdp-container .vehicle-title h1").firstChild.nodeValue.trim().split(" ");e.year=l[0].trim(),e.make=l[1].trim(),e.model=l[2],l.length>2&&(e.model=l[2]+" "+l[3])}var c=document.querySelector("span.drivemotors");if(null!==c)e.price=Lr(c.getAttribute("data-price")),e.stock_no=c.getAttribute("data-stock-code"),e.int_color=c.getAttribute("data-int-color"),e.ext_color=c.getAttribute("data-ext-color");else{var u="Stock #:";if(-1!==(b=(g=document.body.innerHTML).indexOf(u))){var m=g.indexOf("",b+u.length);e.stock_no=g.substring(b+u.length,m).trim()}var s="Ext. Color:";if(-1!==(b=g.indexOf(s))){m=g.indexOf("",b+s.length);e.ext_color=g.substring(b+s.length,m).trim()}var d="Int. Color:";if(-1!==(b=g.indexOf(d))){m=g.indexOf("",b+d.length);e.int_color=g.substring(b+d.length,m).trim()}var f=document.querySelectorAll('[itemprop="price"]');if(f.length>0){var _=f[f.length-1];e.price=Lr(_.getAttribute("content"));for(var v=f.length-1;v>=0;v--){var p=f[v];if(null===tn(p,".incentivesGeneric")){e.price=p.getAttribute("content");break}}}else{var g,h="Internet Price:";if(-1!==(b=(g=document.body.innerHTML).indexOf(h))){m=g.indexOf("",b+h.length);e.price=Lr(g.substring(b+h.length,m).trim())}}if(e.type===Ur){var y="Mileage:";if(-1!==(b=g.indexOf(y))){m=g.indexOf("",b+y.length);e.mileage=Nr(g.substring(b+y.length,m))}else{var b;y="Mileage:";if(-1!==(b=g.indexOf(y))){var w='',S='',k=g.indexOf(w,b+y.length);if(-1!==k){var x=g.indexOf(S,k+w.length);e.mileage=Nr(g.substring(k+w.length,x))}}}}}}catch(e){Kr(" error:"+e.message)}}return e}());Qr(e)&&(e=function(){var e=zr();if(1==document.querySelectorAll(".vehicle-item--pricing").length&&1==document.querySelectorAll(".vehicle-details").length){if(document.querySelectorAll('body[id="new-cars"]').length>0)e.type=Jr;else{if(!(document.querySelectorAll('body[id="used-cars"]').length>0||document.querySelectorAll('body[id="certified-cars"]').length>0))return e;e.type=Ur}var t=document.querySelector(".flex-active-slide a");null!==t&&(t=t.getAttribute("href"),e.image_url=en(t));var r=document.querySelector(".vin[data-vin]");null!==r&&(e.vin=r.innerText);try{for(var n=document.querySelectorAll("script"),i=0;i0)e.type=Jr;else{if(!(document.querySelectorAll('link[itemprop="itemCondition"][href="http://schema.org/UsedCondition"]').length>0))return e;e.type=Ur}}catch(e){Kr(" error:"+e.message)}}}return e}());Qr(e)&&(e=function(){var e=zr();if(!gr(Ce))return e;if(document.querySelectorAll(".vehicleThumbnail").length>0){-1!==(i=document.location.pathname.toLowerCase()).indexOf("/inventory/")&&document.addEventListener("click",(function(e){var t=null!==tn(e.target,".vehicleThumbnail"),r=e.target.matches(".vehicleThumbnail");(t||r)&&rn((function(){var e=document.querySelector(".vehicle-details-page"),t=document.querySelector(".VehicleDetailsPage");return null!==e||null!==t}),(function(){callrevu_track_dni()}),(function(){}),3e3)}))}if(1==document.querySelectorAll(".vehicle-details-page #layout-details-main").length||1==document.querySelectorAll(".VehicleDetailsPage").length){var t,r,n=null===(f=document.querySelector('input[name="q_name_used"]'));if(n){var i,o=-1!==(i=document.location.pathname.toLowerCase()).indexOf("/new-"),a=-1!==i.indexOf("/used-")||-1!==i.indexOf("/certified-");if(o)e.type=Jr;else{if(!a)return e;e.type=Ur}}else{var l=f.value;if("false"==l)e.type=Jr;else{if("true"!=l)return e;e.type=Ur}}if(n)null!==(t=document.querySelector(".VehicleDetailsPage .image-gallery-image > img"))&&(t=t.getAttribute("src"),e.image_url=en(t));else null!==(t=document.querySelector(".large-image-link img"))&&(t=t.getAttribute("src"),e.image_url=en(t));if(n)null!==(r=document.querySelector('span[itemprop="vehicleIdentificationNumber"]'))&&(e.vin=r.firstChild.nodeValue);else null!==(r=document.querySelector("input[name='q_name_vin']"))&&(e.vin=r.value);try{n?(e.make=document.querySelector('span[itemprop="manufacturer"]').firstChild.nodeValue,e.model=document.querySelector('span[itemprop="model"]').firstChild.nodeValue,e.year=document.querySelector('span[itemprop="year"]').firstChild.nodeValue):(e.make=document.querySelector('input[name="q_name_make"]').value,e.model=document.querySelector('input[name="q_name_model"]').value,e.year=document.querySelector('input[name="q_name_autoyear"]').value)}catch(e){Kr("jazel error:"+e.message),setTimeout(nn,3e3)}if(n){var c=document.querySelectorAll(".vehiclePricing .row");if(c.length>0&&(e.price=Lr(c[c.length-1].innerText)),""==e.price)null!==(f=document.querySelector(".pricing_label"))&&(e.price=Lr(_.nextSibling.innerHTML))}else{null!==(v=document.querySelector("input[name='q_name_listedprice']"))&&(e.price=Lr(v.value))}if(n)try{var u=document.querySelector('span[itemprop="vehicleIdentificationNumber"]');if(null!==u)for(var m=u.parentElement.parentElement.querySelectorAll(".pv1"),s=0;s",l="Color:",c=o.innerHTML.indexOf(l),u="Interior:",m=o.innerHTML.indexOf(u);if(-1!==c)c+=l.length,-1!==(i=o.innerHTML.indexOf(a,c))&&(e.ext_color=o.innerHTML.substring(c,i).trim());if(-1!==m)m+=u.length,-1!==(i=o.innerHTML.indexOf(a,m))&&(e.int_color=o.innerHTML.substring(m,i).trim())}catch(e){Kr(" error:"+e.message)}}return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector("#vdp-banner")){var t=document.querySelector('link[itemprop="itemCondition"]');if(null!==t&&(-1!==(t=t.getAttribute("href").toLowerCase()).indexOf("new")?e.type=Jr:e.type=Ur),e.type==Hr)return e;var r=document.querySelector(".photo a");null!==r&&(r=r.getAttribute("href"),e.image_url=en(r));var n=document.querySelector('.schema__wrapper div[itemprop="vehicleIdentificationNumber"]');null!==n&&(e.vin=n.firstChild.nodeValue);try{e.year=document.querySelector('.schema__wrapper div[itemprop="productionDate"]').firstChild.nodeValue,e.make=document.querySelector('.schema__wrapper div[itemprop="manufacturer"] meta[itemprop="name"]').getAttribute("content"),e.model=document.querySelector('.schema__wrapper meta[itemprop="model"]').getAttribute("content")}catch(e){Kr(" error:"+e.message)}}return e}());Qr(e)&&(e=function(){var e=zr(),t="undefined"!=typeof mode&&"vdp"==mode.toLowerCase().trim(),r=1==document.querySelectorAll(".tabsarea_overflow").length;if(t||r){var n=document.querySelector('input[name="Vehicle_Type"]');if(!n)return e;var i=n.getAttribute("value").toLowerCase().trim();if(e.type="new"==i?Jr:Ur,e.type==Hr)return e;var o=document.querySelector("img.details_image_src");null!==o&&(o=o.getAttribute("src"),e.image_url=en(o));var a=document.querySelector('input[name="VIN"]');null!==a&&(e.vin=a.getAttribute("value").trim());try{if(e.year=document.querySelector('input[name="Year"]').getAttribute("value").trim(),e.make=document.querySelector('input[name="Make"]').getAttribute("value").trim(),e.model=document.querySelector('input[name="Model"]').getAttribute("value").trim(),e.stock_no=document.querySelector('input[name="Stock_Number"]').getAttribute("value").trim(),e.trim=document.querySelector('input[name="Trim"]').getAttribute("value").trim(),"undefined"!=typeof vehiclePrice)e.price=Lr(vehiclePrice);else{var l=document.querySelector(".details_secondary_price-low"),c=document.querySelector(".details_main_price");null!==l?e.price=Lr(l.innerText):null!==c&&(e.price=Lr(c.innerText))}if("undefined"!=typeof vehicleIntColor&&"undefined"!=typeof vehicleExtColor)e.int_color=vehicleIntColor,e.ext_color=vehicleExtColor;else if(1==document.querySelectorAll('div[name="vehicle data"]').length){var u=document.querySelectorAll('div[name="vehicle data"] .inventory_items:not(.bold)'),m=document.querySelectorAll('div[name="vehicle data"] .inventory_items.bold');if(u.length>0)for(var s=0;s0){var v=f[0].innerText.trim();e.price=Lr(v)}else if(null!==_&&_.length>0){v=_[0].innerText.trim();e.price=Lr(v)}}return e}(e)).type==Hr&&(e=function(e){try{for(var t=document.getElementsByTagName("script"),r=0;r0){var C=k[0].innerText.trim();e.price=Lr(C)}else if(x.length>0){C=x[0].innerText.trim();e.price=Lr(C)}else if(q.length>0){C=q[0].innerText.trim();e.price=Lr(C)}else if(A.length>0){C=A[0].innerText.trim();e.price=Lr(C)}}catch(e){Kr("error: "+e.message)}return e}(e));return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector(".unit-attributes")){var t="new"==cn("condition");e.type=t?Jr:Ur,e.vin=cn("vin"),e.stock_no=cn("stock #"),e.ext_color=cn("primary color"),e.year=cn("year"),e.make=cn("manufacturer"),e.model=cn("model");var r=document.querySelector(".unit-image-container img");if(null!==r&&(r=r.getAttribute("srcset"),e.image_url=en(r)),null!==(n=document.querySelector('span[itemprop="price"]'))){var n=n.innerText.trim();e.price=Lr(n)}}return e}());Qr(e)&&(e=function(){var e=zr(),t=1==document.querySelectorAll(".vehicle-detail-page").length,r="object"==typeof window.InventoryViewLabels;if(t&&r){var n="new"==window.InventoryViewLabels.InventoryViewTitle.toLowerCase();e.type=n?Jr:Ur;var i=document.querySelector("#stock-and-vin");null!==i&&(e.vin=i.getAttribute("data-vin"),e.stock_no=i.getAttribute("data-stock-number"));var o=document.querySelector(".vehicle-title");null!==o&&(o=o.innerHTML.trim().split(" "),e.year=o[0],e.make=o[1],e.model=o[2]);var a=document.querySelector(".hero-shot-frame img");if(null!==a&&(a=a.getAttribute("src"),e.image_url=en(a)),null!==(l=document.querySelector(".vehicle-price-default-price"))){var l=document.querySelector(l).innerText.trim();e.price=Lr(l)}}return e}());Qr(e)&&(e=function(){var e=zr();if("object"==typeof inventoryModel){var t="new"==inventoryModel.general.condition.desc.toLowerCase();if(e.type=t?Jr:Ur,void 0!==inventoryModel.general.identification)null!==("vin"==inventoryModel.general.identification.type.toLowerCase())&&(e.vin=inventoryModel.general.identification.value);null!==inventoryModel.general.stockNumber&&(e.stock_no=inventoryModel.general.stockNumber.desc),null!==inventoryModel.general.year&&(e.year=inventoryModel.general.year.desc),null!==inventoryModel.general.manufacturer&&(e.make=inventoryModel.general.manufacturer.desc),null!==inventoryModel.general.model&&(e.model=inventoryModel.general.model.desc);var r=document.querySelector(".model-image img");if(null!==r&&(r=r.getAttribute("src"),e.image_url=en(r)),null!==inventoryModel.general.msrp&&"object"==typeof inventoryModel.general.msrp){var n=Lr(inventoryModel.general.msrp.desc);isNaN(n)||(e.price=n)}}return e}());Qr(e)&&(e=an());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector(".vehicle-data")){var t=document.querySelector('span[itemprop="itemCondition"]');null!==t&&(t=t.innerText.toLowerCase().trim(),e.type="new"==t?Jr:Ur);var r=document.querySelector(".ws-make-an-offer");null!==r&&(e.make=r.getAttribute("data-make"),e.model=r.getAttribute("data-model"),e.year=r.getAttribute("data-year"),e.stock_no=r.getAttribute("data-stock_number"),e.vin=r.getAttribute("data-vin"),e.trim=r.getAttribute("data-trim"),e.ext_color=r.getAttribute("data-color"),e.price=Lr(r.getAttribute("data-price")),e.type===Ur&&(e.mileage=Nr(r.getAttribute("data-mileage"))));var n=document.querySelector("#carousel img");null!==n&&(n=n.getAttribute("src"),e.image_url=en(n))}return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector(".inventory-vdp")){var t=document.querySelector('meta[name="description"]');if(null!==t){0===t.getAttribute("content").trim().toLowerCase().indexOf("new")?e.type=Jr:e.type=Ur;var r=document.querySelector(".vehicle-title--make");null!==r&&(e.make=r.innerText.trim());var n=document.querySelector(".vehicle-title--model");null!==n&&(e.model=n.innerText.trim());var i=document.querySelector(".vehicle-title--year");null!==i&&(e.year=i.innerText.trim());var o=document.querySelector(".vehicle-title--trim");null!==o&&(e.trim=o.innerText.trim());var a=document.querySelectorAll(".vehicleIds__title"),l=document.querySelectorAll(".vehicleIds__value");if(2===a.length){a[0].innerText.trim().toLowerCase();e.stock_no=l[0].innerText.trim();a[1].innerText.trim().toLowerCase();e.vin=l[1].innerText.trim()}else{var c=document.querySelector('.vehicle-details__value[data-vehicle="stock"]');null!==c&&(e.stock_no=c.innerText.trim());var u=document.querySelector('.vehicle-details__value[data-vehicle="vin"]');null!==u&&(e.vin=u.innerText.trim())}null!==(s=document.querySelector('meta[property="og:image"]'))&&(e.image_url=en(s.getAttribute("content"))),void 0!==(m=window.display_price)&&(e.price=Lr(m));var m,s,d=document.querySelector(".title-vdp a");if(null!==d)if(e.stock_no=d.getAttribute("data-stock").trim(),e.make=d.getAttribute("data-make").trim(),e.model=d.getAttribute("data-model").trim(),e.year=d.getAttribute("data-year").trim(),e.vin=d.getAttribute("data-vin").trim(),null!==(m=document.querySelector("#vehiclePrice"))&&(m=m.value,e.price=Lr(m)),null!==(s=document.querySelector(".wrap-content-detail img"))&&(e.image_url=en(s.getAttribute("src"))),null!==(d=document.querySelector(".summarylist"))){var f="Exterior Color:",_="Interior Color:",v=(d=d.innerText).indexOf(f);if(-1!==v){var p=d.indexOf(_,v);-1!==p&&(e.ext_color=d.substring(v+f.length,p).trim())}var g=d.indexOf(_);-1!==g&&(e.int_color=d.substring(g+_.length,d.length).trim())}if(e.type===Ur){var h=document.querySelector(".miles");h&&(e.mileage=Nr(h.innerText))}}}return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector("#vehicle_details")){var t=document.querySelector(".breadcrumb");if(null!==t){var r;if(-1!==t.innerText.toLowerCase().indexOf("new")?e.type=Jr:e.type=Ur,null!==(r=document.querySelector(".item-info.stock div.value")))e.stock_no=r.innerText.trim();else if(null!==(r=document.querySelector(".stock"))){var n=r.innerText.trim().split(" ");e.stock_no=n[n.length-1]}var i=document.querySelector(".item-info.vin div.value");if(null!==i)e.vin=i.innerText.trim();else{var o=document.querySelector(".vin");if(null!==o){n=o.innerText.trim().split(" ");e.vin=n[n.length-1]}}var a=document.querySelector(".amount.final-price");null!==a&&(a=a.innerText,e.price=Lr(a));var l,c=document.querySelector(".lslide.active");if(null!==c&&(e.image_url=en(c.getAttribute("data-src"))),null!==(l=document.querySelector(".veh-details"))){var u="Exterior:",m=" ";if(-1!==(w=(l=l.innerText).indexOf(u)))-1!==(S=l.indexOf(m,w))&&(e.ext_color=l.substring(w+u.length,S).trim());var s="Interior:";if(-1!==(f=l.indexOf(s))){var d=" ";-1!==(_=l.indexOf(d,f))&&(e.int_color=l.substring(f+s.length,_).trim())}}else if(null!==(l=document.querySelector(".veh-details-block"))){u="Ext Color",m=" ";if(-1!==(w=(l=l.innerText).indexOf(u)))-1!==(S=l.indexOf(m,w))&&(e.ext_color=l.substring(w+u.length,S).trim());var f;s="Int Color";if(-1!==(f=l.indexOf(s))){var _;d=" ";-1!==(_=l.indexOf(d,f))&&(e.int_color=l.substring(f+s.length,_).trim())}}if(null!==(l=document.querySelector("#HL_ScriptCall"))){n=(l=l.getAttribute("src")).split("&");for(var v=0;v0)e.type=Jr;else{if(!(document.querySelectorAll('link[itemprop="itemCondition"][href="http://schema.org/UsedCondition"]').length>0))return e;e.type=Ur}var t=document.querySelector('[itemprop="sku"]');null!==t&&(e.stock_no=t.innerText.trim());var r=document.querySelector('[itemprop="productID"]');null!==r&&(e.vin=r.innerText.trim());var n=document.querySelector('.vehiclePriceDisplay[itemprop="price"]');null!==n&&(n=n.innerText,e.price=Lr(n));var i=document.querySelector('meta[property="og:image"]');null!==i&&(e.image_url=en(i.getAttribute("content")));var o=document.querySelector('[itemprop="color"]');null!==o&&(e.ext_color=o.innerText.trim());var a=document.querySelector('[itemprop="vehicleInteriorColor"]');if(a&&(e.int_color=a.innerText.trim()),e.type===Ur){var l=document.querySelector('[itemprop="mileageFromOdometer"]');null!==l&&(e.mileage=Nr(l.innerText.trim()))}vehicleYear&&(e.year=vehicleYear),vehicleMake&&(e.make=vehicleMake),vehicleModel&&(e.model=vehicleModel)}return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector("#vehicle-detail-container")){var t=document.querySelector('input[name="condition"]');if(null===t)return e;if("new"==t.value.trim().toLowerCase()?e.type=Jr:e.type=Ur,null!==(u=document.querySelector("#vehicle-detail-basic-info-container")))for(var r=u.querySelectorAll("dt"),n=u.querySelectorAll("dd"),i=0;i1?(e.ext_color=l[0].trim(),e.int_color=l[1].trim()):0===o.indexOf("ext. color")?e.ext_color=a:0===o.indexOf("int. color")&&(e.int_color=a)}}}var c=document.querySelector(".vdp-pricing-details .primaryPrice"),u=document.querySelector(".vdp-price-price ");null!==c?e.price=Lr(c.innerText):null!==u&&(e.price=Lr(u.innerText));var m=document.querySelector(".carousel img");null!==m&&(e.image_url=en(m.getAttribute("src")))}else null!==r&&(e=function(){var e=zr(),t=document.querySelector(".hook-title, .why_title, .entry-content > h1");if(null!==t)return e;var r=0==t.innerText.trim().toLowerCase().indexOf("new");e.type=r?Jr:Ur;var n=document.querySelector('[itemProp="vehicleIdentificationNumber"]');null!==n&&(e.vin=n.textContent.trim());null!==(n=document.querySelector('[itemProp="color"]'))&&(e.ext_color=n.textContent.trim());null!==(n=document.querySelector('[itemProp="vehicleInteriorColor"]'))&&(e.int_color=n.textContent.trim());null!==(n=document.querySelector('[itemprop="mileageFromOdometer"]'))&&(e.mileage=Nr(n.textContent.trim()));"object"==typeof digitaldata&&(e.year=digitaldata.vehicle.modelYear);null!==(n=document.querySelector('[itemProp="model"]'))&&(e.model=n.textContent.trim());e.make="Ford";var i=document.querySelectorAll('[class^="pricing_value_"].value');if(i.length>0)i=i.length>1?i[i.length-2]:i[i.length-1],e.price=Lr(i.innerText);else if(null!==document.querySelector(".vehiclePricing")){var o=document.querySelectorAll(".vehiclePricing .last_row div")[1];e.price=Lr(o.textContent)}var a=document.querySelectorAll(".dib.b.w6rem");if(a.length>0)for(var l=0;l0)for(var o=0;o0){for(var o={},a=0;a0)for(var t=document.querySelectorAll(".vehicle-body .vehicle-details .list-group-item"),r=0;r0))return e;e=function(e){for(var t=zr(),r=0;r0){var i,o=n[0],a=n[1];if(o)if(i=o.querySelectorAll("tr")){var l=i[i.length-1].querySelectorAll("td");e.int_color=l[l.length-1].textContent;var c=i[i.length-2].querySelectorAll("td");e.ext_color=c[c.length-1].textContent}if(a)if(i=a.querySelectorAll("tr")){var u=i[2].querySelectorAll("td");e.mileage=Nr(u[u.length-1].textContent)}}e.stock_no=t.getAttribute("data-stock").trim(),e.vin=t.getAttribute("data-vin").trim();var m=document.querySelector(".get-price-button");null!==m&&(e.price=Lr(m.getAttribute("data-price").trim())),e.year=t.getAttribute("data-year").trim(),e.make=t.getAttribute("data-make").trim(),e.model=t.getAttribute("data-model").trim(),e.image_url=en(t.getAttribute("data-vehicleimage").trim())}return e}());Qr(e)&&(e=function(){var e=zr(),t=document.querySelector("#hfVehicleType");if(null!==t&&"object"==typeof window.trackVehicle){-1!==t.getAttribute("value").toLowerCase().indexOf("new")?e.type=Jr:e.type=Ur}if(e.type===Hr)return e;if("object"==typeof window.trackVehicle){e.year=window.trackVehicle.Year,e.make=window.trackVehicle.Make,e.model=window.trackVehicle.Model,e.vin=window.trackVehicle.Vin;for(var r=document.querySelectorAll(".mvdp-details .dw-widget div"),n=0;n0){var c=l[l.length-1].textContent;e.price=Lr(c)}var u=document.querySelector("#w-vdpGallery-lgPhotos img");null!==u&&(e.image_url=en(u.getAttribute("src")))}return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector(".ddsVehicleInfo")&&"object"==typeof window.dt_vehicle){-1!==window.dt_vehicle.state_of_vehicle.toLowerCase().indexOf("new")?e.type=Jr:e.type=Ur}if(e.type===Hr)return e;e.year=window.dt_vehicle.year,e.make=window.dt_vehicle.make,e.model=window.dt_vehicle.model,e.vin=window.dt_vehicle.vin,e.trim=window.dt_vehicle.trim,"object"==typeof window.ddsVars&&"object"==typeof window.ddsVars.vehicle&&(e.stock_no=window.ddsVars.vehicle.stockNumber);e.price=Lr(window.dt_vehicle.price);var t=document.querySelector(".vdp-details-extcolorname");t&&(e.ext_color=t.textContent);var r=document.querySelector(".vdp-details-intcolorname");r&&(e.int_color=r.textContent);var n=document.querySelector(".vdp-details-mileagenumber");n&&(e.mileage=Nr(n.textContent));var i=document.querySelector(".vdp-image-container img");null!==i&&(e.image_url=en(i.getAttribute("src")));return e}());Qr(e)&&(e=function(){var e=zr();if(null!==document.querySelector(".vdp-main")){if(null!==(i=document.querySelector('[itemProp="itemCondition"]'))){var t=i.getAttribute("content").toLowerCase().trim();e.type="new"===t?Jr:Ur}}if(e.type===Hr)return e;try{if(null!==(i=document.querySelector('[itemProp="name"]'))){var r=i.getAttribute("content").trim();if(r){var n=r.split(" ");e.year=n[0]}}null!==(i=document.querySelector('[itemProp="brand"]'))&&(e.model=i.getAttribute("content").trim()),null!==(i=document.querySelector('[itemProp="model"]'))&&(e.make=i.getAttribute("content").trim()),null!==(i=document.querySelector('[itemProp="mpn"]'))&&(e.vin=i.getAttribute("content").trim()),null!==(i=document.querySelector('[itemProp="sku"]'))&&(e.stock_no=i.getAttribute("content").trim()),null!==(i=document.querySelector('[itemProp="price"]'))&&(e.price=Lr(i.getAttribute("content").trim())),(i=document.querySelector(".mileage-block"))&&(e.mileage=Nr(i.textContent));var i,o=document.querySelector(".img .source");if(null!==o)if(i=o.getAttribute("style")){n=i.split('"');e.image_url=en(n[1])}}catch(e){Kr("Error getting vdp data for nabthat: "+e.message)}return e}());return function(e,t){sn()&&console.log(e+JSON.stringify(t))}(" inventory:",e),e}())}()}function ignoreerror(){return!0}window.gATLEAST_ONE_NUMBER_WAS_SWAPPED=!1,window.onerror=ignoreerror(); Also of Interest * New Nissan Kicks Inventory * Nissan Rogue For Sale In Colonie, NY * Used Car, Truck and SUV Inventory Your Privacy & Cookies Language: EnglishSpanish / EspañolKorean / 한국어Vietnamese / Tiếng Việt NamTagalog / FilipinoChinese / 中文German / Deutsch We respect consumer privacy rights by letting visitors opt out of third-party tracking cookies and honoring user-enabled global privacy controls, like the GPC signal. This site deploys cookies and similar tracking technologies, including essential cookies for necessary website features, accessibility, and cookie preferences (which may interact directly with, or be shared with, third-party service providers), functional cookies for error reporting and to remember settings and deliver optional functionality (including live-chat and other tools, enabling data collection and sharing with third parties), analytics cookies for measuring website statistics and user interactions, and targeting cookies for cross-site retargeted advertising. You can reject targeting cookies by pressing ‘Deny targeting cookies’, but we still use essential, functional, and analytics cookies. By pressing ‘Allow All Cookies’, you consent to the use of all cookies and the sharing of information they collect with third parties. By continuing to use this site, you agree to our Privacy Policy, which includes an Arbitration Provision, and details the categories of personal information we collect, the purposes for which the information is used, and how to manage your privacy rights. Powered by ComplyAuto Powered by ComplyAuto Allow all cookiesDeny targeting cookiesCustomize cookie settings