(function() { function bxBootstrap() { var re = /bot|crawl|slurp|spider|mediapartners|headlesschrome|snap-prefetch|remotasks|woorank|uptime\.com|facebookexternalhit|facebookcatalog/i; if (re.test(navigator.userAgent) || navigator.userAgent == '') { return; } if (!(window.bouncex&&bouncex.website)) { var pushedData = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.website = {"id":2606,"name":"Sears Home Services","cookie_name":"bounceClientVisit2606","domain":"searshomeservices.com","ct":"multi_cookie","ally":0,"ei":0,"tcjs":"","cjs":"// listener for lead_form_interacted CV\nif (!bouncex.vars.lead_form_interacted) {\n jQuery('form[class*=lead-sheet] input').click(function() {\n bouncex.setv('lead_form_interacted', true);\n bouncex.setBounceCookie();\n bouncex.reload_campaigns();\n });\n}\n\n/* SOTEC-3138 - revision to account for more phone CTAs */\nvar PAGELOAD_PHONE_CTA = '.ga-phone,.cta-phone,#dropdown_link_phone_number, [id=\"link_phone_number\"], a[href*=\"tel:+\"]',\n MOBILE_SCROLL_CTA = 'div[data-metric-id=\"bottom_bar_phone_number\"]',\n addClickListener = function(selector, view) {\n bouncex.on(jQuery(selector), 'click.wk-'+ view, function() {\n \tbouncex.setv('call_session', true);\n \tbouncex.setv('call_ever', true);\n bouncex.reload_campaigns();\n bouncex.off(jQuery(selector), 'click.wk-'+ view);\n });\n };\n \n/* CTAs available on page load */ \nbouncex.et.onVisible(PAGELOAD_PHONE_CTA, function(){\n addClickListener(PAGELOAD_PHONE_CTA, 'pageload'); \n});\n\n/* CTAs available on mobile scrolling down of the page. */\nbouncex.et.onVisible(MOBILE_SCROLL_CTA, function(){\n addClickListener(MOBILE_SCROLL_CTA, 'mobile-scroll-down'); \n});\n\n/*AK: 4*/ /*DR: https://www.wrike.com/open.htm?id=298068574*/\n\nbouncex.on(bouncex.document, 'click.bx-click', function(e) {\n/*\n var tfn = '1-' + window.shs.config.phoneNumber;\n var $selectedPlan = jQuery('.warranty-plan-select option:selected');\n var promo = jQuery('.single-line-promotion a[href*=first-month-free]').length > 0 && ['AZ', 'MA', 'IA', 'WA'].indexOf(jQuery('.state-select option:selected:eq(0)').val()) === -1;\n var cellCode = promo ? $selectedPlan.attr('data-promo-cell-code') : $selectedPlan.attr('data-cell-code');\n var url = \"https://enroll.searshomewarranty.com/enrollment/customer-info/cmpn/Sears/cellCode/\" + cellCode + \"?tfn=\" + tfn;\n*/\n bouncex.setVarAndReload('saved_checkout_url', 'https://www.searshomeservices.com/home-warranty/payments');\n \n if (!jQuery('#enroll-now .warranty-plan-select').hasClass('error')) {\n bouncex.setVarAndReload('hw_enroll_clicked', true); \n }\n}, 'button[data-metric-id=\"home_warranty_plans_page_plans_list_0_appliance_plan_select_plan_button\"]');\n\n\nbouncex.infoStore = {\n sessionStorageIdentifier: 'bxInfoStore',\n set: function(data) {\n var hashedData = bouncex.lz.compressToURI(JSON.stringify(data));\n try {\n sessionStorage.setItem(this.sessionStorageIdentifier, hashedData);\n } catch(e) {\n bouncex.err('session storage failure');\n }\n },\n \n get: function() {\n var info = sessionStorage.getItem(this.sessionStorageIdentifier);\n return info ? JSON.parse(bouncex.lz.decompressFromURI(info)) : '';\n },\n \n infoIsStored: function() {\n return !!sessionStorage.getItem(this.sessionStorageIdentifier);\n },\n \n populateFields: function(fields) {\n if (!this.infoIsStored()) return;\n \n var data = this.get();\n for (var field in fields) {\n if (fields.hasOwnProperty(field)) {\n fields[field].val(data[field]);\n }\n }\n }\n};\n\n","force_https":false,"waypoints":false,"content_width":0,"gai":"UA-24768790-8","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":{"gdpr":1,"gmp":0,"whitelist_check":0},"burls":[{"prop":"contains","val":"www.barbet.xyz/"},{"prop":"contains","val":"www.armadillo.xyz/"},{"prop":"contains","val":"searshomeservices.com/repair/microwave-repair-service/counter-top"},{"prop":"contains","val":"searshomeservices.com/repair/camcorder-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/dvd-player-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/garage-door-opener-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/home-theater-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/sewing-machine-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/television-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/vacuum-cleaner-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/chippers-shredders-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/log-splitter-repair"},{"prop":"contains","val":"searshomeservices.com/repair/power-yard-tool-repair-service"},{"prop":"contains","val":"searshomeservices.com/repair/lawn-mower/standard-walk-behind"},{"prop":"contains","val":"searshomeservices.com/repair/tiller"},{"prop":"contains","val":"searshomeservices.com/improve/garage-doors"},{"prop":"contains","val":"searshomeservices.com/maintain/maid-service"},{"prop":"contains","val":"searshomeservices.com/maintain/carpet-and-duct-cleaning-service"},{"prop":"contains","val":"searshomeservices.com/maintain/handyman-service"},{"prop":"contains","val":"cmpn=SEARS0819"},{"prop":"contains","val":"services.servicelive.com"},{"prop":"contains","val":"scheduler/partners/ae"},{"prop":"contains","val":"sid2=sem:ggl:HSRxsemgglnb"},{"prop":"contains","val":"sid2=sem:ggl:SHSxsemgglnb"}],"ple":false,"fbe":true,"mas":1,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"var appliancesTracked = {};\nvar schedulerTracked = false;\nvar CLEAN_URL = bouncex.utils.url.allowParams();\n \nvar brandPages = [\n\t'craftsman',\n\t'electrolux',\n\t'frigidaire',\n\t'ge',\n\t'jenn-air',\n\t'kenmore',\n\t'kitchenaid',\n\t'lg',\n\t'maytag',\n\t'samsung',\n\t'whirlpool'\n];\n\nvar hvacItems = [\n\t'air conditioner: window, over 11,500 btu',\n\t'air conditioner: window, room installed',\n\t'boiler',\n\t'central air conditioner',\n\t'central heating and cooling',\n\t'ductless mini-split',\n\t'furnace',\n\t'heat pump',\n\t'humidifier & dehumidifier',\n\t'water heater',\n\t'whole house dehumidifiers and humidifiers'\n];\n\nfunction trackScheduler() {\n\tif (schedulerTracked) { return true; }\n\tbouncex.setTimeout2(function(){\n\t\tpushRepairCategoryEvent(bouncex.vars.hvac_page);\n\t schedulerTracked = true;\n\t}, 700);\n}\n\nfunction pushRepairCategoryEvent(isHVAC) {\n\tbouncex.push(['view category', {\n\t\t'page:title': 'repair scheduler',\n\t\t'page:url': bouncex.utils.url.allowParams('serviceType, productName, zipCode'),\n\t\t// For separating HVAC items into their own series\n\t\t'page:hvac': isHVAC\n\t}]);\n}\n\nfunction trackAlternateHVACcategory() {\n\tvar appliance = getAppliance(),\n\t\tisHVAC = hvacItems.indexOf(appliance.toLowerCase()) > -1;\n\n\tif(isHVAC) {\n\t\tpushRepairCategoryEvent(isHVAC);\n\t}\n}\n\nfunction getAppliance() {\n\treturn bouncex.utils.url.getParam('productName') || jQuery('span[data-testid=\"appt_summary_product_data\"]:visible').first().text();\n}\n\nfunction getApplianceData(){\n var brand = jQuery('span[data-testid=\"appt_summary_brand_data\"]').first().text(),\n appliance = getAppliance();\n \n if (brand && appliance){\n appliance = appliance.toLowerCase();\n \treturn {\n \t\titem: brand + ' ' + appliance,\n \t\t// For separating HVAC items into their own series\n\t\t\t\thvac: hvacItems.indexOf(appliance) > -1,\n\t\t\t\t//For excluding prev appliances, not included in item event metadata\n\t\t\t\tappliance: appliance\n \t};\n }\n}\n\nfunction isSchedulerFlow(){\n return bouncex.utils.url.allowParams().indexOf('https://www.searshomeservices.com/scheduler/shs') > -1 || \n bouncex.utils.url.allowParams('scheduler').indexOf('https://www.searshomeservices.com/#scheduler') > -1;\n}\n\nfunction checkWarranty(){\n var dataLayer = bouncex.utils.getNestedProp('digitalData.event') || [];\n\n\tfor (var i = 0; i < dataLayer.length; i++) {\n\t\tvar eventAttributes = bouncex.utils.getNestedProp('attributes', '', dataLayer[i]);\n\t\t\n\t\tif (eventAttributes.schedulerStage === \"coverage\"){\n var coverage = eventAttributes.coverage.toLowerCase();\n \t\tif (coverage.indexOf('warranty') > -1 || coverage.indexOf('protection') > -1) {\n \t\tbouncex.push(['covered by warranty']);\n \t\treturn true;\n \t}\n return false;\n\t\t}\n\t}\n\treturn false;\n}\n\nfunction trackRepairAbandonStep() {\n\tbouncex.et.onVarChange('repair_abandon_step1_contact', function(oldVal, newVal){\n\t\tif(newVal === true) {\n\t\t\tbouncex.push(['repair_step1', {}]);\n\t\t\ttrackAlternateHVACcategory();\t\t}\n\t});\n\tbouncex.et.onVarChange('repair_abandon_step2_appointmenttimes', function(oldVal, newVal){\n\t\tif(newVal === true) {\n\t\t\tbouncex.push(['repair_step2', {}]);\n\t\t}\n\t});\n\tbouncex.et.onVarChange('repair_abandon_step3_diagnosticfee', function(oldVal, newVal){\n\t\tif(newVal === true) {\n\t\t\tbouncex.push(['repair_step3', {\n\t\t\t\t'diagnostic_fee_amount': jQuery('[data-testid=\"diagnostic_fee_amount\"]').text().replace(/[^0-9.]/g,'')\n\t\t\t}]);\t\t}\n\t});\n\tbouncex.et.onVarChange('repair_abandon_step4_appointmentdetails', function(oldVal, newVal){\n\t\tif(newVal === true) {\n\t\t\tbouncex.push(['repair_step4', {}]);\n\t\t}\n\t});\n}\n\nfunction trackAppliance(e) {\n\t// Users with items under warranty will be ineligible for emails\n\tif (checkWarranty()){ return;}\n\n bouncex.et.onVisible('span[data-testid=\"appt_summary_brand_data\"]', function(){\n \tvar data = getApplianceData();\n \tif (!data || appliancesTracked[data.appliance]){ return true; }\n \t\n\t\tbouncex.push(['view item', data]);\n \tappliancesTracked[data.appliance] = true;\n });\n\n}\n\nfunction getIonLeadFormCategory() {\n var markup = document.documentElement.innerHTML;\n var bxHeadline = markup.split('')[1];\n if (bxHeadline) {\n return bxHeadline.split('=').slice(1).join(' ').replace(/[\"'>]/g, '').replace(/\\s{2,}/g,' ').trim();\n } else {\n return document.title;\n }\n \n}\n\nfunction getHeader(){\n\tvar productName = jQuery('p.productname');\n\tif(productName.length > 0 && productName.text().includes('1 MONTH FREE')){\n\t\treturn productName.text().split('1 MONTH FREE - ')[1].trim();\n\t}else if(productName.length > 0 && productName.text().toLowerCase().includes(\"warranty\")){\n\t return productName.text().trim();\n\t}\n\treturn \"Sears Warranty\";\n}\n\nfunction getImprovementCategory() {\n var category = jQuery('.breadcrumb-item').last().text().trim() || jQuery('div[data-testid=consultation_scheduler] h2').text();\n \n if (category.toLowerCase().indexOf('improve') > -1) {\n return \"Home Improvement\";\n }\n \n return category;\n}\n\nfunction headerLoaded(){\n\treturn getHeader() !== false;\n}\n\nfunction whirlPoolInit() {\n\tvar symptomInfo = jQuery('[data-testid*=\"breadcrumb\"]').eq(-1).text().split(' '),\n\t\tappliance,\n\t\tsymptom;\n\n\tif (symptomInfo.length > 1) {\n\t\tappliance = symptomInfo.shift();\n\t\tsymptom = symptomInfo.join(' ');\n\t}\n\tif (appliance.indexOf('Refrigerator') > -1) {\n\t\tappliance = 'Fridge';\n\t}\n\tif (appliance && symptom) {\n\t\tbouncex.push(['view_whirlpool_symptom', {\n\t\t\t'appliance_name': appliance,\n\t\t\t'symptom_name': symptom,\n\t\t\t'symptom_url': CLEAN_URL\n\t\t}]);\n\t}\n}\n\nif (CLEAN_URL.indexOf('/symptom') > -1) {\n\twhirlPoolInit();\n}\n\nif (isSchedulerFlow()){\n\tbouncex.et.on(jQuery('main'), 'click', trackAppliance, '[data-testid=\"default-address-component\"] button:contains(\"Continue\")');\n\ttrackRepairAbandonStep();\n}\n\nif (bouncex.website.pts === 'home') {\n\tbouncex.et.on(jQuery(document), 'click', trackScheduler, 'button[title=Repair]');\n// \tbouncex.et.on(jQuery(document), 'click', trackAppliance, 'input[name=warrantyStatus]');\n}\n\nif (bouncex.website.pts === 'repair') {\n // leaving this prior to 6/22/22 -RL update for context on what it was triggering from before\n// \tbouncex.et.onVisible('a[data-testid=schedule_now_link] button', trackScheduler);\n\n // we're now triggering on page land\n\ttrackScheduler();\n\t\n// \tbouncex.et.on(jQuery(document), 'click', trackAppliance, 'input[name=warrantyStatus]');\n}\n\nif (bouncex.website.pts === 'blog') {\n\tvar schedulerButton = bouncex.vars.hvac_page ? '.button.cta-button.cta-scheduler.lead-sheet-link' : '.button.cta-button.cta-scheduler.scheduler-link';\n\tbouncex.et.on(jQuery(document), 'click', trackScheduler, schedulerButton);\n// \tbouncex.et.on(jQuery(document), 'click', trackAppliance, 'input[name=warrantyStatus]');\n}\n\nif ((bouncex.website.pts === 'promotions' || bouncex.website.pts === 'maintain') && bouncex.vars.hvac_page){\n\tbouncex.et.on(jQuery(document), 'click', trackScheduler, '.scheduler-link.button:not(.scheduler-link-standard)');\n// \tbouncex.et.on(jQuery(document), 'click', trackAppliance, 'input[name=warrantyStatus]');\n}\n\nif (bouncex.website.pts === 'improve') {\n\tbouncex.push(['view category', {\n\t\t'page:title': 'improve',\n\t\t'page:url': bouncex.utils.url.allowParams(),\n\t\t'page:category': getImprovementCategory()\n\t}]);\n}\n\nif (bouncex.website.pts === 'ion lead form') {\n bouncex.push(['view category', {\n \t'page:title': 'improve',\n \t'page:url': bouncex.utils.url.allowParams(['lst']),\n \t'page:category': getIonLeadFormCategory()\n }]);\n}\n\nif (bouncex.website.pts === 'warranty') {\n\tbouncex.et.onTrue(headerLoaded, function() {\n\t\tif (bouncex.vars.hw_enroll_offer) {\n\t\t\tbouncex.push(['view warranty', {\n\t\t\t\t'page:warranty': getHeader(),\n\t\t\t\t'page:url': bouncex.utils.url.allowParams(\"tfn\", window.location.href),\n\t\t\t\t\"page:offer_text\": bouncex.vars.hw_enroll_offer,\n\t\t\t}]);\n\t\t}\n\t});\n}\n\n// trackRepairAbandonStep();\n","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"blog":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/blog"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.hero-home, img[alt=\"home page hero\"]').length > 0;"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.hostname === 'www.searshomeservices.com';"}]]},"improve":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/improve"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/home-improvement"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"promotions"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"reviews"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.hostname === 'www.searshomeservices.com'"}]]},"ion lead form":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.ixp-container').length > 0;"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.hostname === 'www.searshomeservices.com';"}]]},"maintain":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/maintain"}]]},"promotions":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/promotions/"}]]},"repair":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/repair"}]]},"scheduler":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/scheduler/"}]]},"warranty":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.href.includes(\"enrollment\");"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/home-warranty"}]]}},"els":{"form_address_field":".lead-sheet-address","form_email_container":".lead-sheet-fieldset:eq(0)"},"vars":[{"name":"pagetype","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var p = '';\n if (window.location.href.indexOf('/repair') > -1) {\n p = 'repair';\n } else if (window.location.href.indexOf('/improve') > -1 && window.location.href.indexOf('promotions') === -1 && window.location.href.indexOf('reviews') === -1) {\n p = 'improve';\n } else if (jQuery('.hero-home').length > 0) {\n p = 'home';\n } else if (window.location.href.indexOf('/blog') > -1) {\n p = 'blog';\n } else if (jQuery('.ixp-container').length > 0){\n p = 'ion lead form';\n }\n return p || bouncex.website.pts;\n}());","trigger":""},{"name":"ibx_test","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"window.location.href.indexOf('ibx_test') > -1 || null;","trigger":""},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":""},{"name":"category","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var url = bouncex.utils.url.allowParams(),\n category = jQuery('span[itemprop=\"name\"], .breadcrumb-item:last, ol li a[data-testid*=\"breadcrumb\"]:not(:last):last').text().trim();\n if (url.indexOf('/maintain') > -1) {\n return category;\n }\n return bouncex.vars.catg_offer ? category : false;\n})();","trigger":""},{"name":"catg_offer","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n\tvar $promo = jQuery('.tp-wide-mini-hero-title,.tp-wide-mini-hero-subtitle,.tp-mobile-item-title,.tp-mobile-item-subtitle, [data-metric-id*=\"promotion\"] h1');\n\tif ($promo.length > 0) {\n\t\tvar promoText = $promo.text().replace(/\\s+/g, ' ').trim();\n\t\treturn promoText || false;\n }\n\treturn false;\n})();","trigger":""},{"name":"scheduler_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.SchedulerPopUpPortal .ReactModal__Overlay').length > 0 || window.location.pathname.indexOf('/scheduler/shs') > -1 || (window.location.pathname.indexOf('/repair-hero4') > -1 && jQuery('.mfp-frame:visible').length > 0);","trigger":""},{"name":"scheduler_interacted","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('.SchedulerPopUpPortal .ReactModal__Overlay').length > 0 || window.location.pathname.indexOf('/scheduler/shs') > -1 || (window.location.pathname.indexOf('/repair-hero4') > -1 && jQuery('.mfp-frame:visible').length > 0) || null;","trigger":""},{"name":"scheduler_completed","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"digitalData.schedulerInfo && digitalData.schedulerInfo.type === 'IHR' && digitalData.schedulerInfo.stage === 'Booking/Confirmed';","trigger":""},{"name":"lead_form_interacted","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.pagetype === 'scheduler' && bouncex.utils.validate.email(jQuery('input[name=email]').val()) || null;","trigger":""},{"name":"lead_form_completed","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'scheduler' ? jQuery('[data-testid=\"confirmed_order_number\"]').length > 0 && jQuery('h2:contains(\"Thank you for choosing\")').length > 0 : null;","trigger":""},{"name":"call_session","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":""},{"name":"call_ever","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":""},{"name":"hvac_page","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var hvacPages = [\n '/repair/hvac-repair-service',\n '/repair/hvac/central-air-conditioner-repair-service',\n '/repair/hvac/water-heater-repair-service',\n '/repair/hvac/humidifier-dehumidifier-repair-service',\n '/repair/hvac/gas-furnace-repair-service',\n '/repair/hvac/boiler-repair-service',\n '/repair/hvac/heat-pump-repair-service',\n '/repair/hvac-repair-service#scheduler',\n '/repair/hvac-air-conditioner',\n '/repair/heat-pump-repair-service',\n '/repair/hvac-air-conditioner/central-air',\n '/repair/gas-furnace-repair-service',\n '/repair/boiler-repair-service',\n '/repair/water-heater-repair-services',\n '/repair/humidifier-dehumidifier',\n '/promotions/maintain/hvac-repair-service-coupon',\n '/blog/hvac-savings-program',\n '/maintain/heating-cooling-maintenance',\n '/improve/heating-cooling-systems'\n ];\n return hvacPages.indexOf(window.location.pathname) > -1;\n}());","trigger":""},{"name":"brand_product_name","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'scheduler' && jQuery('p[data-testid=\"review_product_name\"], span[data-testid=\"confirmed_service_item\"], div[data-testid=\"appt_summary_product\"] span[data-testid=\"appt_summary_product_data\"]').first().text().trim() || null;","trigger":""},{"name":"average_customer_rating","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (jQuery('.aggregate-reviews small').length > 0 && jQuery('.aggregate-reviews small').text().split('out of') && jQuery('.aggregate-reviews small').text().split('out of')[0]) {\n return jQuery('.aggregate-reviews small').text().split('out of')[0].trim();\n }\n return jQuery('[data-testid=\"review_page_average_rating\"]').attr('data-metric-value') || false;\n})();","trigger":"pageload"},{"name":"test","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"hw_enroll_clicked","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('location.href', '').indexOf('/home-warranty/payments') > -1 || null;","trigger":"pageload"},{"name":"saved_checkout_url","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(jQuery('div:contains(\"Thank you for joining our email list\")').length > 0 && !jQuery('div:contains(\"Unable to proceed the request\")').length > 0) || null;","trigger":"pageload"},{"name":"hamburger_menu_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('html.offscreen-nav-open').length > 0;","trigger":"pageload"},{"name":"diagnostic_fee","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'scheduler' ? Number(jQuery('[data-testid=review_diagnostic_fee]:contains(\"$\"), h4[data-testid=\"diagnostic_fee_amount\"]').first().text().replace(/[^0-9.]/g, '')) || false : null;","trigger":"pageload"},{"name":"hw_enroll_offer","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(window.location.pathname.indexOf('/home-warranty/plans') > -1 && jQuery('.productname, [data-metric-id=\"home_warranty_plans_page_plans_list_hw_plans_list\"] h3:contains(\"$\")').first().text().trim().replaceAll(' / ', ' / ')) || 'an exclusive offer';","trigger":"pageload"},{"name":"repair_abandon_step1_contact","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('progress').val() === 0.5 && jQuery('#scheduler-4-container h2:contains(\"service address\"):visible').length > 0","trigger":"pageload"},{"name":"repair_abandon_step2_appointmenttimes","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('progress').val() === 0.5 && jQuery('#scheduler-4-container h2:contains(\"Today\"):visible').length > 0","trigger":"pageload"},{"name":"repair_abandon_step3_diagnosticfee","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('progress').val() === 0.5 && jQuery('#service-fee-partial-swipe-container:visible').length > 0","trigger":"pageload"},{"name":"repair_abandon_step4_appointmentdetails","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('[data-testid=\"contact-info\"]').length > 0","trigger":"pageload"},{"name":"diagnostic_fee_amount","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('[data-testid=\"diagnostic_fee_amount\"]').text().replace(/[^$0-9.]/g, '') || false;","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"assets.bounceexchange.com","bau":"api.bounceexchange.com","beu":"events.bouncex.net","ibx":{"tjs":"","cjs":"","miw":1,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"bxid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":1,"spatm":0,"preinit_cjs":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":1},"pde":true,"fmc":["US","CA"],"fme":true,"fmx":"","sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":0},"ga4_property_id":"","ga4_measurement_id":""} ; bouncex.tag = 'tag3'; bouncex.$ = window.jQuery; bouncex.env = 'production'; bouncex.restrictedTlds = {"casl":{"ca":1},"gdpr":{"ad":1,"al":1,"at":1,"ax":1,"ba":1,"be":1,"bg":1,"by":1,"xn--90ais":1,"ch":1,"cy":1,"cz":1,"de":1,"dk":1,"ee":1,"es":1,"eu":1,"fi":1,"fo":1,"fr":1,"uk":1,"gb":1,"gg":1,"gi":1,"gr":1,"hr":1,"hu":1,"ie":1,"im":1,"is":1,"it":1,"je":1,"li":1,"lt":1,"lu":1,"lv":1,"mc":1,"md":1,"me":1,"mk":1,"xn--d1al":1,"mt":1,"nl":1,"no":1,"pl":1,"pt":1,"ro":1,"rs":1,"xn--90a3ac":1,"ru":1,"su":1,"xn--p1ai":1,"se":1,"si":1,"sj":1,"sk":1,"sm":1,"ua":1,"xn--j1amh":1,"va":1,"tr":1}}; bouncex.client = { supportsBrotli: 0 }; bouncex.assets = {"ads":"060c82010be32c8940e5ef98bcf77a22","creativesBaseStyles":"a53944a2","gpsAuction":"1375a7b38c31e98d14fe7f396b72da14","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0704dae1eb637cbeb4a847506058402d"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_6459738026535cda4232dc813c61447d.js'); runtime.setAttribute('async', 'async'); runtime.setAttribute('onload', 'bouncex.initializeTag()'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_e6aef002e162dc3c3a947c6f327cd93d.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); var deviceGraphScript = document.createElement('script'); deviceGraphScript.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/cjs_min_3a843477d8e318f67237a66d0a58c542.js'); deviceGraphScript.setAttribute('async', 'async'); var dgAttrs = [{"Key":"id","Value":"c.js"},{"Key":"async","Value":"true"},{"Key":"data-apikey","Value":"2^HIykD"},{"Key":"data-cb","Value":"bouncex.dg.initPostDeviceGraph"},{"Key":"data-bx","Value":"1"},{"Key":"data-gm","Value":"1"},{"Key":"data-fire","Value":"1"}]; if (dgAttrs) { for (var i = 0; i < dgAttrs.length; i++) { deviceGraphScript.setAttribute(dgAttrs[i].Key, dgAttrs[i].Value); } } document.body.appendChild(deviceGraphScript); bouncex.initializeTag = function() {}; }; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();