function measureRowElementHeights(){$(".measure-me-parent").each(function(){measureColumns($(this))})}function measureColumns(n){function t(n,t,i,r){setTimeout(function(){var f=n.find(t),u;f.css("min-height","auto");f.css("height","auto");$(window).width()>=i&&(u=-1,f.each(function(){u=u>$(this).height()?u:$(this).height()+r}),f.each(function(){$(this).height(u);$(this).css("min-height",u)}))},100)}t(n,".measure-me-title",768,10);t(n,".measure-me-content-upper",768,10);t(n,".measure-me-content-lower",768,10);t(n,".measure-me-tab",768,0);t(n,".measure-me-misc",768,0);t(n,".measure-me",768,20);t(n,".measure-me-title-md",992,10);t(n,".measure-me-content-upper-md",992,10);t(n,".measure-me-content-lower-md",992,10);t(n,".measure-me-tab-md",992,0);t(n,".measure-me-misc-md",992,0);t(n,".measure-me-md",992,20);t(n,".measure-me-title-ms",480,10);t(n,".measure-me-content-upper-ms",480,10);t(n,".measure-me-content-lower-ms",480,10);t(n,".measure-me-tab-ms",480,0);t(n,".measure-me-misc-ms",480,0);t(n,".measure-me-ms",480,20);t(n,".measure-me-title-xs",320,10);t(n,".measure-me-content-upper-xs",320,10);t(n,".measure-me-content-lower-xs",320,10);t(n,".measure-me-tab-xs",320,0);t(n,".measure-me-misc-xs",320,0);t(n,".measure-me-xs",320,20)}function adjustProductMeasurements(){var n=$("#product-details").height(),t=$("#steps-to-apply").height(),i=t-n-20;$(window).outerWidth()>767?$("#product-accordian").css("margin-top",-i):$("#product-accordian").css("margin-top",20)}function iconPopups(){var n=1024;$(".hero-large-icons > i, .upsell-icons > i").each(function(){$(window).outerWidth()<n?$(this).popover({placement:"top",content:$(this).attr("popover-content")}):$(".hero-large-icons > i, .upsell-icons > i").popover("destroy");$(this).tooltip({placement:"bottom",title:$(this).attr("tooltip-title")})})}function EserveFunnelPropertyTypeSelectToCheckOut(n,t){return $(".priceInfoReplacement").html("Updating price..."),$.ajax({url:"/api/sitecore/CheckoutStart/EserveFunnelPropertyTypeSelectToCheckOut",type:"POST",data:JSON.stringify(n),contentType:"application/json; charset=utf-8",async:t,dataType:"json",success:function(n){responseData=n;$(".priceInfoReplacement").html(responseData.status)},error:function(){$(".priceInfoReplacement").html("Unable to get price information.  Please refresh the page and try again.")}}),responseData}function setBodyPadding(){if($("nav.navbar.navbar-fixed-top").prop("id")=="new-secure-header"){var r=$("nav.navbar.navbar-fixed-top"),n=r.outerHeight(!0),t=$("body");if(t.css("padding-top",n+1+"px"),t.find(".customer-account").hasClass("new-claims")){var n=$("nav").outerHeight(),u=$(".summary-strip").outerHeight(),i=10;$(window).width()<992?t.css("padding-top",n+u+i+"px"):t.css("padding-top",n+i+"px")}}}function toggleMaskClasses(){var n=setMaskHeight();$("#content-block").hasClass("content-block-off")?($(".cover-mask").addClass("mask-on"),$(".cover-mask").css("top",n+"px")):$(".cover-mask").removeClass("mask-on")}function setMaskHeight(){var n=$("#CL1_cookiewrap").height(),t=$("#header-block").height();return n+t}function $buo_f(){var n=document.createElement("script");n.src="//browser-update.org/update.min.js";document.body.appendChild(n)}function getHashParameters(n){var t,i,u,r;if(typeof n=="undefined"&&(n=window.location),t=new function(){},n.hash.length===0)return t;i=n.hash.substring(1).split("&");for(u in i)r=i[u].split("="),t[r[0]]=r[1];return t}function linkToAccordionPanel(){function i(n,t,i){durations=typeof t!="undefined"?t:1e3;i=typeof i!="undefined"?i:0;var r=n,u=r.offset();offsetTop=u.top+i;$("html, body").animate({scrollTop:offsetTop},t)}var t=getHashParameters(),n=t.panelID,r;n!==undefined&&(r=t.accordionID,$("#"+n).addClass("in"),$("a[href=#"+n+"]").removeClass("collapsed"),i($("#"+n),300,-60))}function checkFloatLabelHasValue(){$(".float-label-input").each(function(){var n=$(this);n.val()?$("select option:selected").length?n.closest(".float-field").removeClass("active"):n.closest(".float-field").addClass("active"):n.closest(".float-field").removeClass("active")})}function RedEyeTrackingEveryPage(){if(CookiebotMarketingAllowed(RedEyeTrackingEveryPage,[])!=!0)return"Marketing Denied";var n=encodeURIComponent(window.location.hostname),t=encodeURIComponent(window.location.pathname);RedEyeTracking(n+t,[])}function RedEyeTrackingProductMinimal(n,t,i,r,u){return RedEyeTrackingProduct(n,"","",t,i,r,u)}function RedEyeTrackingProductMinimalFlat(n,t,i,r,u){return RedEyeTrackingProduct(n,"","",t,i,r,u,"flat")}function RedEyeTrackingProduct(n,t,i,r,u,f,e,o){if(CookiebotMarketingAllowed(RedEyeTrackingProduct,[n,t,i,r,u,f,e,o])!=!0)return"Marketing Denied";var h=encodeURIComponent(window.location.hostname),c=encodeURIComponent(window.location.pathname),s={};if(s.quote_event="yes",s.quote_url=h+c,o&&(s.quote_url+=encodeURIComponent("?type="+o)),n)s.quote_product=encodeURIComponent(n);else return"Not enough information for RedEye";if(s.quote_desc=t?encodeURIComponent(t):encodeURIComponent(n),s.quote_image=i?i.includes("www")?encodeURIComponent(i):h+encodeURIComponent(i):"",r)s.quote_val=r.includes("p")?"0."+r.replace("p",""):r.replace(/\u00A3/g,"");else return"Not enough information for RedEye";if(u)s.quote_quarterly_val=u.includes("p")?"0."+u.replace("p",""):u.replace(/\u00A3/g,"");else return"Not enough information for RedEye";if(f)s.quote_annual_val=f.includes("p")?"0."+f.replace("p",""):f.replace(/\u00A3/g,"");else return"Not enough information for RedEye";if(e)s.quote_excess=e.includes("p")?"0."+e.replace("p",""):e.replace(/\u00A3/g,"");else return"Not enough information for RedEye";return RedEyeTracking("Quote-View",s)}function RedEyeTrackingCategory(n){var t,i,r;if(CookiebotMarketingAllowed(RedEyeTrackingCategory,[n])!=!0)return"Marketing Denied";if(t={},t.view_cat_event="view-cat-event",i=encodeURIComponent(window.location.hostname),r=encodeURIComponent(window.location.pathname),t.view_cat_url=i+r,n)t.view_cat_name=encodeURIComponent(n);else return"Not enough information for RedEye";return RedEyeTracking("category-viewed",t)}function RedEyeTracking(n,t){var i,r,u;if(CookiebotMarketingAllowed(RedEyeTracking,[n,t])!=!0)return"Marketing Denied";i="//reporting.homeserve.com/cgi-bin/rr/blank.gif?nourl="+n;for(r in t)u=t[r],i+="&"+r+"="+u;RedEyeTrackingSrc(i)}function RedEyeTrackingSrc(n){if(CookiebotMarketingAllowed(RedEyeTrackingSrc,[n])!=!0)return"Marketing Denied";$("#redeyetracking").remove();var t=$("<img />",{id:"redeyetracking"}).attr("src",n).css("display","none");return t.appendTo($("body")),n}function CookiebotMarketingAllowed(n,t){return typeof Cookiebot!="undefined"?Cookiebot.consent==null?!1:Cookiebot.consent.marketing?!0:(window.addEventListener("CookiebotOnAccept",function(){Cookiebot.consent.marketing&&n.apply(null,t)},!1),!1):!0}$(function(){$("[data-toggle=popover]").popover({trigger:"click"});$("body").on("click",function(n){$('[data-toggle="popover"]').each(function(){$(this).is(n.target)||$(this).has(n.target).length!==0||$(".popover").has(n.target).length!==0||$(this).popover("hide")})})});$(function(){$("a.slow-scroll").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=$(this.hash);if(n=n.length?n:$("[name="+this.hash.slice(1)+"]"),n.length)return $("html,body").animate({scrollTop:n.offset().top},1e3),!1}})});$("form").submit(function(){return $(this).valid()?($(".loading-feedback:enabled").button("loading"),$(".loading-feedback").toggleClass("loading-feedback-on"),!0):!1});$(document).ready(function(){var f=$("#CL1_lcLength").val(),e,t,o,i,s,n,r,u;$("#hided").click(function(){$("#CL1_disabledPopup").clearQueue();$("#CL1_disabledPopup").slideToggle("slow",function(){})});e=$("#CL1_lcAuto").val();t=$("#CL1_lcTimer").val();e=="1"&&t!==null&&$("#CookiesLegislation1_lsPopup").delay(t).fadeOut("300",function(){$.cookie("_hsCL","1",{expires:parseInt(f),path:"/"})});o=$("#CL1_dcAuto").val();i=$("#CL1_dcTimer").val();o=="1"&&i!==null&&$("#CL1_disabledPopup").delay(i).fadeOut("300",function(){});$("#hidels").click(function(){$("#CL1_lsPopup").clearQueue();$("#CL1_lsPopup").slideToggle("slow",function(){$.cookie("_hsCL","1",{expires:parseInt(f),path:"/"});$("CL1_cookiewrap").addClass("cookie-wrap-b");$("#CL1_cookiewrap").removeClass("cookie-wrap")})});jQuery.cookie=function(n,t,i){var f,r,e,o,u,s;if(typeof t!="undefined"){i=i||{};t===null&&(t="",i=$.extend({},i),i.expires=-1);f="";i.expires&&(typeof i.expires=="number"||i.expires.toUTCString)&&(typeof i.expires=="number"?(r=new Date,r.setTime(r.getTime()+i.expires*864e5)):r=i.expires,f="; expires="+r.toUTCString());var h=i.path?"; path="+i.path:"",c=i.domain?"; domain="+i.domain:"",l=i.secure?"; secure":"";document.cookie=[n,"=",encodeURIComponent(t),f,h,c,l].join("")}else{if(e=null,document.cookie&&document.cookie!="")for(o=document.cookie.split(";"),u=0;u<o.length;u++)if(s=jQuery.trim(o[u]),s.substring(0,n.length+1)==n+"="){e=decodeURIComponent(s.substring(n.length+1));break}return e}};typeof isPageEditor=="undefined"&&(isPageEditor=!1);s=$.cookie("_hsCL");s&&!isPageEditor&&$("#CL1_lsPopup").hide();n=window.navigator.cookieEnabled?!0:!1;typeof window.navigator.cookieEnabled!="undefined"||n||(document.cookie="testcookie",n=document.cookie.indexOf("testcookie")!=-1?!0:!1);r=document.getElementById("CL1_disabledPopup");u=document.getElementById("CL1_lsPopup");n?u!=null&&(u.className="cookie-wrap bg-grey-dark"):r!=null&&(r.className="cookie-wrap bg-grey-dark")});$(function(){measureRowElementHeights();$(window).resize(function(){measureRowElementHeights()})});$(function(){adjustProductMeasurements();iconPopups();$(window).resize(function(){adjustProductMeasurements();iconPopups()})});$(function(){$(".navbar-toggle").on("click",function(){$("#content-block").toggleClass("content-block-on");$("#content-block").toggleClass("content-block-off");toggleMaskClasses()});$(".cover-mask").on("click",function(){$(".navbar-collapse.collapse").removeClass("in");$("#content-block").removeClass("content-block-off").addClass("content-block-on");$(".cover-mask").removeClass("mask-on")});setBodyPadding();$(window).resize(function(){setBodyPadding()})}),function(n){typeof define=="function"&&define.amd&&define.amd.jQuery?define(["jquery"],n):n(jQuery)}(function(n){function ft(t){return t&&t.allowPageScroll===undefined&&(t.swipe!==undefined||t.swipeStatus!==undefined)&&(t.allowPageScroll=p),t.click!==undefined&&t.tap===undefined&&(t.tap=t.click),t||(t={}),t=n.extend({},n.fn.swipe.defaults,t),this.each(function(){var r=n(this),i=r.data(h);i||(i=new et(this,t),r.data(h,i))})}function et(ft,et){function di(t){if(!vu()&&!(n(t.target).closest(et.excludedElements,ot).length>0)){var u=t.originalEvent?t.originalEvent:t,f,e=r?u.touches[0]:u;return(ht=rt,r?ct=u.touches.length:t.preventDefault(),at=0,vt=null,bt=null,lt=0,kt=0,dt=0,yt=1,wt=0,st=pu(),si=bu(),br(),!r||ct===et.fingers||et.fingers===l||ui()?(er(0,e),wi=ni(),ct==2&&(er(1,u.touches[1]),kt=dt=or(st[0].start,st[1].start)),(et.swipeStatus||et.pinchStatus)&&(f=pt(u,ht))):f=!1,f===!1)?(ht=i,pt(u,ht),f):(et.hold&&(ki=setTimeout(n.proxy(function(){ot.trigger("hold",[u.target]);et.hold&&(f=et.hold.call(ot,u,u.target))},this),et.longTapThreshold)),ai(!0),null)}}function gi(n){var u=n.originalEvent?n.originalEvent:n,o,h,f,e,c;ht===t||ht===i||kr()||(h=r?u.touches[0]:u,f=dr(h),hi=ni(),r&&(ct=u.touches.length),et.hold&&clearTimeout(ki),ht=s,ct==2&&(kt==0?(er(1,u.touches[1]),kt=dt=or(st[0].start,st[1].start)):(dr(u.touches[1]),dt=or(st[0].end,st[1].end),bt=du(st[0].end,st[1].end)),yt=ku(kt,dt),wt=Math.abs(kt-dt)),ct===et.fingers||et.fingers===l||!r||ui()?(vt=tf(f.start,f.end),iu(n,vt),at=gu(f.start,f.end),lt=nu(),wu(vt,at),(et.swipeStatus||et.pinchStatus)&&(o=pt(u,ht)),(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)&&(e=!0,et.triggerOnTouchLeave&&(c=rf(this),e=uf(f.end,c)),!et.triggerOnTouchEnd&&e?ht=ir(s):et.triggerOnTouchLeave&&!e&&(ht=ir(t)),(ht==i||ht==t)&&pt(u,ht))):(ht=i,pt(u,ht)),o===!1&&(ht=i,pt(u,ht)))}function nr(n){var u=n.originalEvent;return r&&u.touches.length>0?(au(),!0):(kr()&&(ct=bi),hi=ni(),lt=nu(),ur()||!rr()?(ht=i,pt(u,ht)):et.triggerOnTouchEnd||et.triggerOnTouchEnd==!1&&ht===s?(n.preventDefault(),ht=t,pt(u,ht)):!et.triggerOnTouchEnd&&pr()?(ht=t,ri(u,ht,w)):ht===s&&(ht=i,pt(u,ht)),ai(!1),null)}function ii(){ct=0;hi=0;wi=0;kt=0;dt=0;yt=1;br();ai(!1)}function tr(n){var i=n.originalEvent;et.triggerOnTouchLeave&&(ht=ir(t),pt(i,ht))}function sr(){ot.unbind(ei,di);ot.unbind(oi,ii);ot.unbind(yi,gi);ot.unbind(pi,nr);ti&&ot.unbind(ti,tr);ai(!1)}function ir(n){var r=n,f=hr(),u=rr(),e=ur();return!f||e?r=i:u&&n==s&&(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)?r=t:!u&&n==t&&et.triggerOnTouchLeave&&(r=i),r}function pt(n,u){var f=undefined;return uu()||ar()?f=ri(n,u,g):(ru()||ui())&&f!==!1&&(f=ri(n,u,nt)),cu()&&f!==!1?f=ri(n,u,tt):lu()&&f!==!1?f=ri(n,u,it):hu()&&f!==!1&&(f=ri(n,u,w)),u===i&&ii(n),u===t&&(r?n.touches.length==0&&ii(n):ii(n)),f}function ri(r,s,h){var c=undefined;if(h==g){if(ot.trigger("swipeStatus",[s,vt||null,at||0,lt||0,ct,st]),et.swipeStatus&&(c=et.swipeStatus.call(ot,r,s,vt||null,at||0,lt||0,ct,st),c===!1))return!1;if(s==t&&lr()){if(ot.trigger("swipe",[vt,at,lt,ct,st]),et.swipe&&(c=et.swipe.call(ot,r,vt,at,lt,ct,st),c===!1))return!1;switch(vt){case u:ot.trigger("swipeLeft",[vt,at,lt,ct,st]);et.swipeLeft&&(c=et.swipeLeft.call(ot,r,vt,at,lt,ct,st));break;case f:ot.trigger("swipeRight",[vt,at,lt,ct,st]);et.swipeRight&&(c=et.swipeRight.call(ot,r,vt,at,lt,ct,st));break;case e:ot.trigger("swipeUp",[vt,at,lt,ct,st]);et.swipeUp&&(c=et.swipeUp.call(ot,r,vt,at,lt,ct,st));break;case o:ot.trigger("swipeDown",[vt,at,lt,ct,st]);et.swipeDown&&(c=et.swipeDown.call(ot,r,vt,at,lt,ct,st))}}}if(h==nt){if(ot.trigger("pinchStatus",[s,bt||null,wt||0,lt||0,ct,yt,st]),et.pinchStatus&&(c=et.pinchStatus.call(ot,r,s,bt||null,wt||0,lt||0,ct,yt,st),c===!1))return!1;if(s==t&&cr())switch(bt){case v:ot.trigger("pinchIn",[bt||null,wt||0,lt||0,ct,yt,st]);et.pinchIn&&(c=et.pinchIn.call(ot,r,bt||null,wt||0,lt||0,ct,yt,st));break;case y:ot.trigger("pinchOut",[bt||null,wt||0,lt||0,ct,yt,st]);et.pinchOut&&(c=et.pinchOut.call(ot,r,bt||null,wt||0,lt||0,ct,yt,st))}}return h==w?(s===i||s===t)&&(clearTimeout(li),clearTimeout(ki),fr()&&!eu()?(gt=ni(),li=setTimeout(n.proxy(function(){gt=null;ot.trigger("tap",[r.target]);et.tap&&(c=et.tap.call(ot,r,r.target))},this),et.doubleTapThreshold)):(gt=null,ot.trigger("tap",[r.target]),et.tap&&(c=et.tap.call(ot,r,r.target)))):h==tt?(s===i||s===t)&&(clearTimeout(li),gt=null,ot.trigger("doubletap",[r.target]),et.doubleTap&&(c=et.doubleTap.call(ot,r,r.target))):h==it&&(s===i||s===t)&&(clearTimeout(li),gt=null,ot.trigger("longtap",[r.target]),et.longTap&&(c=et.longTap.call(ot,r,r.target))),c}function rr(){var n=!0;return et.threshold!==null&&(n=at>=et.threshold),n}function ur(){var n=!1;return et.cancelThreshold!==null&&vt!==null&&(n=gr(vt)-at>=et.cancelThreshold),n}function tu(){return et.pinchThreshold!==null?wt>=et.pinchThreshold:!0}function hr(){return et.maxTimeThreshold?lt>=et.maxTimeThreshold?!1:!0:!0}function iu(n,t){if(et.allowPageScroll===p||ui())n.preventDefault();else{var i=et.allowPageScroll===d;switch(t){case u:(et.swipeLeft&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case f:(et.swipeRight&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case e:(et.swipeUp&&i||!i&&et.allowPageScroll!=k)&&n.preventDefault();break;case o:(et.swipeDown&&i||!i&&et.allowPageScroll!=k)&&n.preventDefault()}}}function cr(){var n=vr(),t=yr(),i=tu();return n&&t&&i}function ui(){return!!(et.pinchStatus||et.pinchIn||et.pinchOut)}function ru(){return!!(cr()&&ui())}function lr(){var n=hr(),t=rr(),i=vr(),r=yr(),u=ur();return!u&&r&&i&&t&&n}function ar(){return!!(et.swipe||et.swipeStatus||et.swipeLeft||et.swipeRight||et.swipeUp||et.swipeDown)}function uu(){return!!(lr()&&ar())}function vr(){return ct===et.fingers||et.fingers===l||!r}function yr(){return st[0].end.x!==0}function pr(){return!!et.tap}function fr(){return!!et.doubleTap}function fu(){return!!et.longTap}function wr(){if(gt==null)return!1;var n=ni();return fr()&&n-gt<=et.doubleTapThreshold}function eu(){return wr()}function ou(){return(ct===1||!r)&&(isNaN(at)||at<et.threshold)}function su(){return lt>et.longTapThreshold&&at<ut}function hu(){return!!(ou()&&pr())}function cu(){return!!(wr()&&fr())}function lu(){return!!(su()&&fu())}function au(){ci=ni();bi=event.touches.length+1}function br(){ci=0;bi=0}function kr(){var n=!1,t;return ci&&(t=ni()-ci,t<=et.fingerReleaseThreshold&&(n=!0)),n}function vu(){return!!(ot.data(h+"_intouch")===!0)}function ai(n){n===!0?(ot.bind(yi,gi),ot.bind(pi,nr),ti&&ot.bind(ti,tr)):(ot.unbind(yi,gi,!1),ot.unbind(pi,nr,!1),ti&&ot.unbind(ti,tr,!1));ot.data(h+"_intouch",n===!0)}function er(n,t){var i=t.identifier!==undefined?t.identifier:0;return st[n].identifier=i,st[n].start.x=st[n].end.x=t.pageX||t.clientX,st[n].start.y=st[n].end.y=t.pageY||t.clientY,st[n]}function dr(n){var i=n.identifier!==undefined?n.identifier:0,t=yu(i);return t.end.x=n.pageX||n.clientX,t.end.y=n.pageY||n.clientY,t}function yu(n){for(var t=0;t<st.length;t++)if(st[t].identifier==n)return st[t]}function pu(){for(var t=[],n=0;n<=5;n++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}function wu(n,t){t=Math.max(t,gr(n));si[n].distance=t}function gr(n){return si[n]?si[n].distance:undefined}function bu(){var n={};return n[u]=vi(u),n[f]=vi(f),n[e]=vi(e),n[o]=vi(o),n}function vi(n){return{direction:n,distance:0}}function nu(){return hi-wi}function or(n,t){var i=Math.abs(n.x-t.x),r=Math.abs(n.y-t.y);return Math.round(Math.sqrt(i*i+r*r))}function ku(n,t){var i=t/n*1;return i.toFixed(2)}function du(){return yt<1?y:v}function gu(n,t){return Math.round(Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2)))}function nf(n,t){var r=n.x-t.x,u=t.y-n.y,f=Math.atan2(u,r),i=Math.round(f*180/Math.PI);return i<0&&(i=360-Math.abs(i)),i}function tf(n,t){var i=nf(n,t);return i<=45&&i>=0?u:i<=360&&i>=315?u:i>=135&&i<=225?f:i>45&&i<135?o:e}function ni(){var n=new Date;return n.getTime()}function rf(t){t=n(t);var i=t.offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}function uf(n,t){return n.x>t.left&&n.x<t.right&&n.y>t.top&&n.y<t.bottom}var fi=r||c||!et.fallbackToMouseEvents,ei=fi?c?a?"MSPointerDown":"pointerdown":"touchstart":"mousedown",yi=fi?c?a?"MSPointerMove":"pointermove":"touchmove":"mousemove",pi=fi?c?a?"MSPointerUp":"pointerup":"touchend":"mouseup",ti=fi?null:"mouseleave",oi=c?a?"MSPointerCancel":"pointercancel":"touchcancel",at=0,vt=null,lt=0,kt=0,dt=0,yt=1,wt=0,bt=0,si=null,ot=n(ft),ht="start",ct=0,st=null,wi=0,hi=0,ci=0,bi=0,gt=0,li=null,ki=null;try{ot.bind(ei,di);ot.bind(oi,ii)}catch(ff){n.error("events not supported "+ei+","+oi+" on jQuery.swipe")}this.enable=function(){return ot.bind(ei,di),ot.bind(oi,ii),ot};this.disable=function(){return sr(),ot};this.destroy=function(){return sr(),ot.data(h,null),ot};this.option=function(t,i){if(et[t]!==undefined){if(i===undefined)return et[t];et[t]=i}else n.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}var u="left",f="right",e="up",o="down",v="in",y="out",p="none",d="auto",g="swipe",nt="pinch",w="tap",tt="doubletap",it="longtap",b="horizontal",k="vertical",l="all",ut=10,rt="start",s="move",t="end",i="cancel",r="ontouchstart"in window,a=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,c=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,h="TouchSwipe";n.fn.swipe=function(t){var r=n(this),i=r.data(h);if(i&&typeof t=="string"){if(i[t])return i[t].apply(this,Array.prototype.slice.call(arguments,1));n.error("Method "+t+" does not exist on jQuery.swipe")}else if(!i&&(typeof t=="object"||!t))return ft.apply(this,arguments);return r};n.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};n.fn.swipe.phases={PHASE_START:rt,PHASE_MOVE:s,PHASE_END:t,PHASE_CANCEL:i};n.fn.swipe.directions={LEFT:u,RIGHT:f,UP:e,DOWN:o,IN:v,OUT:y};n.fn.swipe.pageScroll={NONE:p,HORIZONTAL:b,VERTICAL:k,AUTO:d};n.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:l}});$(document).ready(function(){$(".carousel-inner").swipe({swipeLeft:function(){$(this).parent().carousel("next")},swipeRight:function(){$(this).parent().carousel("prev")},threshold:0});$(".carousel").carousel({interval:1e4})});var $buoop={notify:{i:-.01,f:-.01,o:-.01,s:-.01,c:-.01},insecure:!0,api:5};try{document.addEventListener("DOMContentLoaded",$buo_f,!1)}catch(e){window.attachEvent("onload",$buo_f)}(function(){"use strict";function t(n){var r=["Webkit","Moz","O","ms"],t,u=document.createElement("div"),i=n in u.style;if(!i)for(n=n.charAt(0).toUpperCase()+n.substr(1),t=0;t<r.length;t+=1)if(i=r[t]+n in u.style,i)break;return i}var n;t("fontFeatureSettings")||(n={guarantee:"&#xe9a9;",calendar_empty:"&#xe9aa;",calendar_event:"&#xe9ab;",calendar_today:"&#xe9ac;",other_other:"&#xe9ad;",tap_other_fast:"&#xe9ae;",tap_other_medium:"&#xe9af;",no_hidden_costs:"&#xe9a8;",gas_flame:"&#xe9a4;",smelly_drain:"&#xe9a5;",no_cold_water:"&#xe9a6;",other:"&#xe9a7;",other_menu:"&#xe9a7;",claims_go_back:"&#xe9a0;",upgrade_cover:"&#xe9a1;",appliance:"&#xe9a2;",new_appliance:"&#xe9a3;",leaking_radiator:"&#xe99f;",downstairs:"&#xe99d;",upstairs:"&#xe99e;",radio_button_on:"&#xe99b;",radio_button_off:"&#xe99c;",locks:"&#xe985;",keys:"&#xe985;",mice:"&#xe986;",rats:"&#xe986;",rodents:"&#xe986;",challenging_times:"&#xe987;",external:"&#xe988;",outside:"&#xe988;",internal:"&#xe989;",inside:"&#xe989;",roof_damage:"&#xe98a;",stop_tap:"&#xe98b;",leaking_boiler:"&#xe98c;",no_heating:"&#xe98d;",noisy_boiler:"&#xe98e;",noisy_radiator:"&#xe98f;",no_hot_water:"&#xe990;",no_lighting:"&#xe991;",no_power:"&#xe992;",no_electricity:"&#xe992;",sink:"&#xe993;",external_tap:"&#xe994;",tap:"&#xe994;",internal_tap:"&#xe995;",blockage:"&#xe996;",drain:"&#xe997;",toilet:"&#xe998;",loo:"&#xe998;",lavatory:"&#xe998;",book:"&#xe999;",manual:"&#xe999;",how_to_guide:"&#xe999;",leak:"&#xe99a;",add_to_calendar:"&#xe984;",compare_cover:"&#xe983;",cover_options:"&#xe983;",plus:"&#xe978;",add:"&#xe978;",included:"&#xe978;",compare:"&#xe92c;",arrow_back:"&#xe916;",arrow_downward:"&#xe934;",arrow_forward:"&#xe93c;",arrow_upward:"&#xe94e;",link:"&#xe900;",anchor:"&#xe900;",link_off:"&#xe906;",menu_other:"&#xe90c;",contact_email:"&#xe90d;",cross_outline:"&#xe90e;",notification_important:"&#xe90f;",pdf:"&#xe929;",phone_android:"&#xe92a;",phone_iphone:"&#xe92b;",place:"&#xe92f;",location:"&#xe92f;",remove:"&#xe931;",search:"&#xe933;",find:"&#xe933;",settings:"&#xe937;",smart_watch:"&#xe93b;",tablet_android:"&#xe942;",tablet_mac:"&#xe94c;",text_fields:"&#xe956;",input:"&#xe956;",thumbs_up:"&#xe957;",like:"&#xe957;",approved:"&#xe957;",tick_outline:"&#xe958;",username:"&#xe959;",devices:"&#xe95a;",devices_other:"&#xe95b;",electrics_usa:"&#xe95c;",error:"&#xe95d;",error_outlined:"&#xe95e;",excluded:"&#xe95f;",minus:"&#xe95f;",expand:"&#xe960;",expand_menu:"&#xe960;",heating_cooling:"&#xe961;",home:"&#xe962;",laptop_mac:"&#xe963;",licensed_technician:"&#xe964;",locked:"&#xe965;",more_menu:"&#xe966;",parts_labour:"&#xe967;","12_months_guarantee":"&#xe968;",twelve_months_guarantee:"&#xe96a;","24/7_helpline":"&#xe96b;",add_comment:"&#xe96c;",new_comment:"&#xe96c;",alert_outlined:"&#xe96d;",report_a_problem:"&#xe96d;",email_address_alternate:"&#xe982;",apps:"&#xe971;",applications:"&#xe971;",blog:"&#xe972;",homeserve_blog:"&#xe972;",collapse:"&#xe97d;",collapse_menu:"&#xe97d;",combo_plan:"&#xe97e;",combination_cover:"&#xe97e;",desktop_laptop:"&#xe97f;",desktop_mac:"&#xe980;",desktop_windows:"&#xe981;",chevron_right:"&#xe97c;",visibility_on:"&#xe97a;",visibility_off:"&#xe97b;",details_safe:"&#xe979;",details_secure:"&#xe979;",instagram_social_media:"&#xe977;",chevron_down:"&#xe975;",expand_down:"&#xe975;",chevron_up:"&#xe976;",collapse_up:"&#xe976;",next:"&#xe974;",notification:"&#xe973;",change_appointment:"&#xe96f;",cancel_appointment:"&#xe970;",star_half:"&#xe96e;",star_rating:"&#xe969;",arrow_right:"&#xe952;",arrow_left:"&#xe953;",arrow_up:"&#xe954;",arrow_down:"&#xe955;",navigation_bars:"&#xe951;",star:"&#xe941;",existing:"&#xe941;",customer_existing_password:"&#xe943;",customer_new_password:"&#xe944;",customer_confirm_password:"&#xe945;",customer_email_address:"&#xe946;",email_address:"&#xe946;",customer_name:"&#xe947;",customer_surname:"&#xe947;",customer_initial:"&#xe948;",customer_policy_number:"&#xe949;",customer_postcode:"&#xe94a;",customer_address:"&#xe94b;",card_payment_frequency:"&#xe94d;",customer_message:"&#xe94f;",customer_town:"&#xe950;",customer_city:"&#xe950;",video_chat:"&#xe93e;",smiley_face:"&#xe93f;",video_call:"&#xe940;",boiler_health_check:"&#xe93a;",payment_details:"&#xe93d;",card_details:"&#xe93d;",credit_card:"&#xe93d;",debit_card:"&#xe93d;",download_file:"&#xe939;",plus_new:"&#xe938;",add_new_item:"&#xe938;",add_a_policy:"&#xe92e;",new_policy:"&#xe92e;",next_step:"&#xe930;",cover_document:"&#xe932;",summary_of_cover:"&#xe932;",new_boiler:"&#xe935;",new_gas_boiler:"&#xe935;",plumbing_drainage_plus:"&#xe936;",register_details:"&#xe926;",postal_address:"&#xe92d;",home_address:"&#xe92d;",more_information_empty_circle:"&#xe927;",more_information_full_circle:"&#xe928;",is_not_included:"&#xe921;",main_exclusions:"&#xe921;",is_not_covered:"&#xe921;",close_panel:"&#xe921;",is_included:"&#xe922;",main_inclusions:"&#xe922;",is_correct:"&#xe922;",is_covered:"&#xe922;",session_expired:"&#xe923;",log_in:"&#xe924;",customer_login:"&#xe924;",log_out:"&#xe925;",customer_logout:"&#xe925;",make_a_payment:"&#xe91f;",cost_price:"&#xe91f;",appointment_time:"&#xe920;",youtube_social_media:"&#xe91a;",customer_offers:"&#xe91b;",facebook_social_media:"&#xe91c;",linked_in_social_media:"&#xe91d;",twitter_social_media:"&#xe91e;",make_a_claim:"&#xe917;",moving_home:"&#xe918;",change_address:"&#xe918;",online_video:"&#xe919;",aviva_next:"&#xe915;",houses_and_flats:"&#xe914;",gas_boiler:"&#xe901;",boiler_service:"&#xe902;",boiler_maintenance:"&#xe902;",gas_safety_inspection:"&#xe903;",electrical_emergency:"&#xe904;",electrics_electricals:"&#xe905;",gas_central_heating:"&#xe907;",gas_supply_pipe:"&#xe908;",leaking_gas_pipe:"&#xe908;",gas_emergency:"&#xe908;",customer_help_no_circle:"&#xe909;",customer_help_in_circle:"&#xe90a;",customer_help_empty_circle:"&#xe90b;",pests_and_infestation:"&#xe910;",plumbing_and_drainage:"&#xe911;",security_and_locks:"&#xe912;",water_supply_pipe:"&#xe913;",leaking_pipe:"&#xe913;",plumbing_emergency:"&#xe913;",apartment_or_flats:"&#xe61f;",customer_alert:"&#xe600;",gas_products:"&#xe601;",gas_insurance:"&#xe601;",boiler_products:"&#xe601;",boiler_cover:"&#xe601;",boiler_insurance:"&#xe601;",customer_call:"&#xe602;",live_chat:"&#xe603;",live_person:"&#xe603;",engineer_on_way:"&#xe605;",contact_details:"&#xe606;",contact_us:"&#xe607;",call_us:"&#xe607;",homeserve_cover:"&#xe608;",safe_and_secure:"&#xe608;",homeserve_customer:"&#xe609;",new_customer:"&#xe609;",customer_chat:"&#xe60a;",appointment_date:"&#xe60b;",edit_details:"&#xe60c;",update_my_details:"&#xe60c;",write_to_us:"&#xe60c;",existing_customer:"&#xe60e;",homeserve_logo:"&#xe60f;",combined_cover:"&#xe60f;",combined_insurance:"&#xe60f;",customer_policy:"&#xe610;",policy_document:"&#xe610;",customer_profile:"&#xe612;",customer_details:"&#xe612;",your_details:"&#xe612;",renew_my_policy:"&#xe613;",automatically_renew:"&#xe614;",auto_renew_policy:"&#xe615;",repair_maintenance:"&#xe616;",repair_job:"&#xe617;",repair_date:"&#xe618;",repair_appointment:"&#xe618;",sms:"&#xe619;",text_update:"&#xe619;",mobile_text:"&#xe61a;",landlord_solutions:"&#xe61b;",track_appointment:"&#xe61c;",track_claim:"&#xe61c;",plumbing_products:"&#xe61d;",internal_plumbing:"&#xe61d;",plumbing_cover:"&#xe61d;",plumbing_insurance:"&#xe61d;","0":0},delete n["0"],window.icomoonLiga=function(t){var e,r,f,i,u;for(t=t||document.getElementsByTagName("*"),t.length||(t=[t]),f=0;;f+=1){if(r=t[f],!r)break;if(e=r.className,/icon-hs-/.test(e)&&(i=r.innerHTML,i&&i.length>1)){for(u in n)n.hasOwnProperty(u)&&(i=i.replace(new RegExp(u,"g"),n[u]));r.innerHTML=i}}},window.icomoonLiga())})();!function(n,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t(require,exports,module):n.ouibounce=t()}(this,function(){return function(n,t){function f(n,t){return"undefined"==typeof n?t:n}function e(n){var i=864e5*n,t=new Date;return t.setTime(t.getTime()+i),"; expires="+t.toGMTString()}function w(){i.addEventListener("mouseleave",o);i.addEventListener("keydown",s)}function o(n){n.clientY>b||h("viewedOuibounceModal","true")&&!l||(r(),a())}function s(n){u||h("viewedOuibounceModal","true")&&!l||n.metaKey&&76==n.keyCode&&(u=!0,r(),a())}function h(n,t){var i=document.cookie.split("; ").reduce(function(n,t){var i=t.split("=");return n[i[0]]=i[1],n},{});return i[n]===t}function r(){n&&(n.style.display="block");c()}function c(n){var n=n||{};"undefined"!=typeof n.cookieExpire&&(v=e(n.cookieExpire));n.sitewide===!0&&(p=";path=/");"undefined"!=typeof n.cookieDomain&&(y=";domain="+n.cookieDomain);document.cookie="viewedOuibounceModal=true"+v+y+p;i.removeEventListener("mouseleave",o);i.removeEventListener("keydown",s)}var t=t||{},l=t.aggressive||!1,b=f(t.sensitivity,20),k=f(t.timer,1e3),a=t.callback||function(){},v=e(t.cookieExpire)||"",y=t.cookieDomain?";domain="+t.cookieDomain:"",p=t.sitewide===!0?";path=/":"",i=document.getElementsByTagName("html")[0],u;return setTimeout(w,k),u=!1,{fire:r,disable:c}}}),function(n){var t=!1,r,i;typeof define=="function"&&define.amd&&(define(n),t=!0);typeof exports=="object"&&(module.exports=n(),t=!0);t||(r=window.Cookies,i=window.Cookies=n(),i.noConflict=function(){return window.Cookies=r,i})}(function(){function n(){for(var n=0,r={},t,i;n<arguments.length;n++){t=arguments[n];for(i in t)r[i]=t[i]}return r}function t(i){function r(t,u,f){var o,c,l,s,v,e,h;if(typeof document!="undefined"){if(arguments.length>1){f=n({path:"/"},r.defaults,f);typeof f.expires=="number"&&(c=new Date,c.setMilliseconds(c.getMilliseconds()+f.expires*864e5),f.expires=c);f.expires=f.expires?f.expires.toUTCString():"";try{o=JSON.stringify(u);/^[\{\[]/.test(o)&&(u=o)}catch(w){}u=i.write?i.write(u,t):encodeURIComponent(String(u)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t));t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent);t=t.replace(/[\(\)]/g,escape);l="";for(s in f)f[s]&&(l+="; "+s,f[s]!==!0)&&(l+="="+f[s]);return document.cookie=t+"="+u+l}t||(o={});for(var y=document.cookie?document.cookie.split("; "):[],p=/(%[0-9A-Z]{2})+/g,a=0;a<y.length;a++){v=y[a].split("=");e=v.slice(1).join("=");e.charAt(0)==='"'&&(e=e.slice(1,-1));try{if(h=v[0].replace(p,decodeURIComponent),e=i.read?i.read(e,h):i(e,h)||e.replace(p,decodeURIComponent),this.json)try{e=JSON.parse(e)}catch(w){}if(t===h){o=e;break}t||(o[h]=e)}catch(w){}}return o}}return r.set=r,r.get=function(n){return r.call(r,n)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,i){r(t,"",n(i,{expires:-1}))},r.withConverter=t,r}return t(function(){})});$(window).width()>768&&!function(n,t){var i=n();n.fn.dropdownHover=function(r){return"ontouchstart"in document?this:(i=i.add(this.parent()),this.each(function(){function s(){u.parents(".navbar").find(".navbar-toggle").is(":visible")||(t.clearTimeout(h),t.clearTimeout(e),e=t.setTimeout(function(){i.find(":focus").blur();o.instantlyCloseOthers===!0&&i.removeClass("open");t.clearTimeout(e);u.attr("aria-expanded","true");f.addClass("open");u.trigger(l)},o.hoverDelay))}var h,e,u=n(this),f=u.parent(),c={delay:n(this).data("delay"),hoverDelay:n(this).data("hover-delay"),instantlyCloseOthers:n(this).data("close-others")},l="show.bs.dropdown",a="hide.bs.dropdown",o=n.extend(!0,{},{delay:0,hoverDelay:0,instantlyCloseOthers:!0},r,c);f.hover(function(n){return f.hasClass("open")||u.is(n.target)?void s(n):!0},function(){t.clearTimeout(e);h=t.setTimeout(function(){u.attr("aria-expanded","false");f.removeClass("open");u.trigger(a)},o.delay)});u.hover(function(n){return f.hasClass("open")||f.is(n.target)?void s(n):!0});f.find(".dropdown-submenu").each(function(){var r,i=n(this);i.hover(function(){t.clearTimeout(r);i.children(".dropdown-menu").show();i.siblings().children(".dropdown-menu").hide()},function(){var n=i.children(".dropdown-menu");r=t.setTimeout(function(){n.hide()},o.delay)})})}))};n(document).ready(function(){n('[data-hover="dropdown"]').dropdownHover()})}(jQuery,window);$(function(){linkToAccordionPanel()});$(function(){checkFloatLabelHasValue();$(window).on("load",function(){checkFloatLabelHasValue()});$(".float-label-input").on("input change",function(){var n=$(this).closest(".float-field");this.value?n.addClass("active"):n.removeClass("active")})});$(document).ready(function(){RedEyeTrackingEveryPage()})