!function(){var t=function(){var t=navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var a=t.indexOf("Trident/");if(a>0){var s=t.indexOf("rv:");return parseInt(t.substring(s+3,t.indexOf(".",s)),10)}return!1},e=function(t){var e=t.parentNode;if(e.classList)for(;!e.classList.contains("vc_row")&&!e.classList.contains("wpb_row");){if("HTML"===e.tagName){e=!1;break}e=e.parentNode}if(e!==!1)return e;e=t.parentNode;for(var a=!1;!a;){if(Array.prototype.forEach.call(e.classList,function(t){if(!a)return t.match(/row/g)?void(a=!0):void 0}),a)return e;if("HTML"===e.tagName)break;e=e.parentNode}return t.parentNode},a=function(t){var e=t.parentNode;if(e.classList)for(;!e.classList.contains("vc_column_container")&&!e.classList.contains("wpb_column");){if("HTML"===e.tagName){e=!1;break}e=e.parentNode}if(e!==!1)return e;e=t.parentNode;for(var a=!1;!a;){if(Array.prototype.forEach.call(e.classList,function(t){if(!a)return t.match(/column/g)?void(a=!0):void 0}),a)return e;if("HTML"===e.tagName)break;e=e.parentNode}return t.parentNode};window.gambitLoadRowSeparators=function(){var s;if(!document.querySelector("body").classList.contains("vc_editor")){s=document.querySelectorAll(".gambit_separator"),Array.prototype.forEach.call(s,function(s){if(t()&&t()<10)return void s.parentNode.removeChild(s);var r=a(s);r.classList.contains("vc_hidden-xs")&&s.classList.add("vc_hidden-xs"),r.classList.contains("vc_hidden-sm")&&s.classList.add("vc_hidden-sm"),r.classList.contains("vc_hidden-md")&&s.classList.add("vc_hidden-md"),r.classList.contains("vc_hidden-lg")&&s.classList.add("vc_hidden-lg");var n=e(s),i=s.getAttribute("class").indexOf("gambit_sep_top")!==-1;n.appendChild(s),n.classList.add("gambit_sep_parent"),n.classList.add(i?"gambit_sep_parent_top":"gambit_sep_parent_bottom"),n.style[i?"marginTop":"marginBottom"]=0;var o=s.querySelectorAll(".gambit_sep_main");Array.prototype.forEach.call(o,function(t){var e=getComputedStyle(n).backgroundColor;if("rgba(0, 0, 0, 0)"===e||"transparent"===e)e="#fff";else{var a=e.match(/rgba\(\s?\d+\s?,\s?\d+\s?,\s?\d+\s?,\s?(\d+)\s?\)/);a&&(a=parseFloat(a[1]),0===a&&(e="#fff"))}t.style.fill=e});var d,c,l=i?n.previousElementSibling:n.nextElementSibling,p=i?"padding-bottom":"padding-top",f=parseInt(s.getAttribute("data-height"),10)||200,m=parseInt(n.offsetWidth,10)/1600,u=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,g=u-parseInt(n.offsetWidth,10);d=g<100?f:f*m,l&&l.classList&&l.classList.contains("vc_row-full-width")&&(l=i?l.previousElementSibling:l.nextElementSibling),l&&(c=parseInt(getComputedStyle(l)[p],10)||0,l.style.cssText=p+": calc("+d+" / 1600 * 100vw + "+c+"px) !important;"+l.style.cssText,l.style[i?"marginBottom":"marginTop"]=0),s.setAttribute("class",s.getAttribute("class")+" gambit_sep_loaded"),s.style.display="block";var v=s.getAttribute("style");v=v.replace(/(display:\s?block)(\s*!\s?important)?(\s*[;"']?)/g,"$1 !important$3"),s.setAttribute("style",v);var b="display:block";t()&&t()<=11&&(b="display:block; overflow-y:hidden;"),s.style.cssText=b}),s=document.querySelectorAll(".gambit_sep_parent_bottom");var r=s.length+3;Array.prototype.forEach.call(s,function(t,e){t.style.cssText="z-index: "+(r-e)+" !important;"+t.style.cssText})}},"loading"!==document.readyState?window.gambitLoadRowSeparators():document.addEventListener("DOMContentLoaded",window.gambitLoadRowSeparators)}();