(()=>{var e={507:()=>{!function(e,t){var o,n,r,l,i,s=!1,u=0,a=0,f=0,c=!1;function d(){if(c&&null!=o){var n=o.hasClass("hidden"),r=s?e(t).scrollTop()+u>f:function(){if(!this.length)return!0;var o=e(t).scrollTop(),n=o+e(t).height();return!(f>o&&a<n)}();r&&n&&o.removeClass("hidden"),r||n||o.addClass("hidden")}}e(document).ready((function(){o=e(".js-enquiry-docking-bar"),s=o.hasClass("select"),n=e(".enquiry-form.vertical"),r=e(".enquiry-form.horizontal"),l=e(".select-cta-new .btn-select-badge");var t=e(".site-nav");u=t.outerHeight(),s?null!=l&&null!=l.offset()&&(a=l.offset().top,f=a+l.outerHeight()):null!=n&&null!=n.offset()&&(a=n.offset().top,f=a+n.outerHeight()),c=!0,d()})),e(t).on("scroll",(function(){var e;e=d,i||(i=!0,setTimeout((function(){e(),i=!1}),250))})),e("a.csn-btn",o).click((function(){var t=s?n.offset():r.offset();null!=t&&e("html, body").animate({scrollTop:t.top-180},750)}))}(jQuery,window)},9225:(e,t,o)=>{"use strict";o.r(t)}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var l=t[n]={exports:{}};return e[n](l,l.exports,o),l.exports}o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(507),o(9225)})();
//# sourceMappingURL=dockingbar-assets-0a44604122d251a8470c.js.map