',click:base.bind(this,this.togglePlay)}},togglePlay:function(a){var b=this.parent;a.preventDefault();b.togglePlay()}}),q=f.extend({render:function(){return{tag:"li",className:"option","aria-label":"Slide "+(this.number+1),onState:["selected",{selected:!0}],innerHTML:this.content||null,click:base.bind(this,this.selectOption)}},setupStates:function(){return{selected:this.selected||!1}},useCallBack:function(){"function"===typeof this.callBack&&this.callBack(this.option)},select:function(){this.state.set("selected",!0)},unselect:function(){this.state.set("selected",!1)},selectOption:function(a){a.preventDefault();this.select();this.unselect();this.useCallBack()}});f=f.extend({duration:7E3,beforeSetup:function(){this.defaultPathUrl=this.defaultPathUrl||"";var a=a||0;this.onNumber="undefined"!==typeof a?a:0;this.setAsBg=this.setAsBg||!1;this.options=[];this.timer=null},afterSetup:function(){this.selectPrimaryOption();this.addSlideshow();this.startTimer();this.getHeight()},render:function(){this.setupOptions();return{className:"slide-container",tabindex:"0",onState:["playing",{playing:!0}],children:[this.addButton("arrow-left",base.bind(this,this.selectPreviousOption)),this.addButton("arrow-right",base.bind(this,this.selectNextOption)),this.cache("slideContainerEle",{className:"slides",children:this.options}),{tag:"ul",className:"number-crumb-container",slider:this.cache("slideTab",new n),children:this.setupCrumbs()}]}},addButton:function(a,b){return{tag:"a","aria-label":"arrow-left"===a?"Previous slide":"Next slide",className:"arrow "+a,click:b}},setupStates:function(){return{playing:!1,inView:!1}},setupEvents:function(){return[["keydown",document,base.bind(this,this.keyPress)]]},addSlideshow:function(){var a=this.container;if(!a)return!1;var b=a.parentNode;if(!b)return!1;b.appendChild(this.panel);b.removeChild(a)},getHeight:function(){for(var a=100,b=this.options,c=0,d=b.length;ca&&(a=e)}this.slideContainerEle.style.minHeight=a+"px"},keyPress:function(a){var b=g.elementInViewport(this.panel),c=document.getElementsByTagName("form").length;if(b&&!c&&!document.body.classList.contains("modal-open"))switch(a.keyCode){case 32:a.preventDefault();this.togglePlay();break;case 37:this.selectPreviousOption();break;case 39:this.selectNextOption()}},getSlides:function(){return this.container.querySelectorAll(".single-slide")},setupOptions:function(){var a=[],b=this.getSlides(),c=b.length;if(0=this.size.width},update:function(){this.getElements();this.resize();this.checkScroll();return this},updatePosition:function(a){var b=a.element;a.position=base.position(b,0);a.size=base.getSize(b)},updateOptionPositions:function(){for(var a=this.options,b=a.length,c=0;c=c?this.animate(e,l):g>=c&&g<=d&&this.animate(e,l)}}return this},phoneSize:600,animate:function(a,b){var c=a.element,d=a.animation;window.setTimeout(function(){base.addClass(c,d).addClass(c,"animated")},b||0);this.removeOption(a);return this},ticking:!1,scroll:function(a){if(!this.ticking){var b=this;n(function(){b.checkScroll(a);b.ticking=!1});this.ticking=!0}},setupEvents:function(){this.callBack=base.bind(this,this.checkScroll);var a=base.bind(this,this.scroll),b=base.bind(this,this.resize),c=window;this.addEvents=function(){base.on("scroll",c,a,!1);base.on("resize",c,b)};this.removeEvents=function(){base.off("scroll",c,a,!1);base.off("resize",c,b)};this.addEvents();return this}});m.lazyAnimator=p})(bpApp);"use strict";var practiceData = typeof practiceData !== 'undefined' ? practiceData : { name: null, enabled: false };var AppointmentFormv2 = Form.extend( { className: 'form-appointment-modal', formTitle: 'Appointment Request', addFormBody: function () { var id = this.getId('optional-message'); var formBody = [ FirstLast, new PreferredContact, Row({ children: [ Column({ columns: '6', children: FloatingInput({ name: 'Date', label: 'Preferred Date', type: 'date', placeholder: 'mm/dd/yyyy', value: weekAway }) }), Column({ columns: '6', children: FloatingInput({ name: 'Time', label: 'Preferred Time', type: 'time', placeholder: '09:00 AM', value: '09:00' }) }) ] }), this.addLocations(), OptionalMessage({ id: id }), ]; if (practiceData && practiceData.enabled) { var privacyPolicyUrl = '/privacy-policy'; var consentLabel = practiceData.name ? `By checking this box I consent to receive text messages, calls, or emails from ${practiceData.name}. Check out our privacy policy.` : 'By checking this box I consent to receive text messages, calls, or emails. Check out our privacy policy.'; formBody.push(LabelCheckbox({ name: 'Contact Consent Opt-in', label: consentLabel, value: 'yes', id: 'Contact Consent Opt-in', required: true })); } formBody.push(this.addSubmit()); return formBody; }, beforeSetup: function () { var formsUrl = charlie.formsUrl; if (formsUrl && formsUrl.includes('formsUrl')) { this.success = this.success + '
Fill out our online patient forms before your appointment: Patient Forms'; } }, setupStates: function () { return { preferEmail: false }; } });"use strict";var ModalAppointmentRequest = ModalFormPanel.extend({ modalClassName: 'appointment-request', title: 'Request an Appointment', addBodyContent: function() { return new AppointmentFormv2({ formType: 'Modal' }); }, afterSetup: function() { if (charlie.appCode === '' || !charlie.apptRequest) { BpFormValidator.monitor(jQuery(this.form.panel)); } }, });"use strict";var SocialLink = Tag.extend(function(props){ return { tag: 'a', className: 'main-btn transition', href: props.href, target: '_blank', text: props.text }});var LeaveReviewForm = Modal.extend({ title: 'Leave a Review', modalClassName: 'waypoint-reviews', addBodyContent: function() { var links = charlie.socialLinks; var linkElements = []; for (const key in links) { if (links[key]) { linkElements.push(SocialLink({ href: links[key], text: key })); } } return linkElements; }});!function(r){"use strict";"function"==typeof define&&define.amd?define("parollerjs",["jquery"],r):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(require("jquery")):r(jQuery)}(function(g){"use strict";var v=!1,x=function(){v=!1},b=function(r,t){return r.css({"background-position":"center "+-t+"px"})},k=function(r,t){return r.css({"background-position":-t+"px center"})},y=function(r,t,o,n){return"none"!==n||(n=""),r.css({"-webkit-transform":"translateY("+t+"px)"+n,"-moz-transform":"translateY("+t+"px)"+n,transform:"translate(0,"+t+"px)"+n,transition:o,"will-change":"transform"})},z=function(r,t,o,n){return"none"!==n||(n=""),r.css({"-webkit-transform":"translateX("+t+"px)"+n,"-moz-transform":"translateX("+t+"px)"+n,transform:"translate("+t+"px, 0)"+n,transition:o,"will-change":"transform"})},M=function(r,t,o){var n=r.data("paroller-factor"),a=n||o.factor;if(t<576){var e=r.data("paroller-factor-xs"),i=e||o.factorXs;return i||a}if(t<=768){var c=r.data("paroller-factor-sm"),s=c||o.factorSm;return s||a}if(t<=1024){var u=r.data("paroller-factor-md"),f=u||o.factorMd;return f||a}if(t<=1200){var l=r.data("paroller-factor-lg"),d=l||o.factorLg;return d||a}if(t<=1920){var p=r.data("paroller-factor-xl"),h=p||o.factorXl;return h||a}return a},j=function(r,t){return Math.round(r*t)},X=function(r,t,o,n){return Math.round((r-o/2+n)*t)},q=function(r){return r.css({"background-position":"unset"})},T=function(r){return r.css({transform:"unset",transition:"unset"})};g.fn.paroller=function(h){var m=g(window).height(),w=g(document).height();h=g.extend({factor:0,factorXs:0,factorSm:0,factorMd:0,factorLg:0,factorXl:0,transition:"transform .1s ease",type:"background",direction:"vertical"},h);return this.each(function(){var o=g(this),n=g(window).width(),a=o.offset().top,e=o.outerHeight(),r=o.data("paroller-type"),t=o.data("paroller-direction"),i=o.data("paroller-transition"),c=o.css("transform"),s=i||h.transition,u=r||h.type,f=t||h.direction,l=0,d=j(a,l),p=X(a,l,m,e);"background"===u?"vertical"===f?b(o,d):"horizontal"===f&&k(o,d):"foreground"===u&&("vertical"===f?y(o,p,s,c):"horizontal"===f&&z(o,p,s,c)),g(window).on("resize",function(){var r=g(this).scrollTop();n=g(window).width(),a=o.offset().top,e=o.outerHeight(),l=M(o,n,h),d=Math.round(a*l),p=Math.round((a-m/2+e)*l),v||(window.requestAnimationFrame(x),v=!0),"background"===u?(q(o),"vertical"===f?b(o,d):"horizontal"===f&&k(o,d)):"foreground"===u&&r<=w&&(T(o),"vertical"===f?y(o,p,s):"horizontal"===f&&z(o,p,s))}),g(window).on("scroll",function(){var r=g(this).scrollTop(),t=g(document).scrollTop();l=0===t?0:M(o,n,h),d=Math.round((a-r)*l),p=Math.round((a-m/2+e-r)*l),v||(window.requestAnimationFrame(x),v=!0),"background"===u?"vertical"===f?b(o,d):"horizontal"===f&&k(o,d):"foreground"===u&&r<=w&&("vertical"===f?y(o,p,s,c):"horizontal"===f&&z(o,p,s,c))})})}});(function (bpApp, global) { "use strict"; var container = jQuery('#nav-scroll-container')[0], appNav = new bpApp.Navigation(); appNav.setup(container); var addModule = function (module) { return bpApp.addModule(module) }; var stickHeader = function () { var ele = jQuery('#sticky-header')[0]; if (!ele) { return !1 } var height = 400, heightElement = jQuery('#sticky-scroll-height'); if (heightElement[0]) { height = heightElement.height() } new bpApp.scrollHeader(ele, 'sticky', height) }; var desktopNav = function () { var ele = jQuery('.headerarea nav.main-nav-container')[0]; if (!ele) { return !1 } ele.setAttribute('aria-label', 'desktop navigation') }; var updateViewport = function () { var viewport = jQuery('meta[name="viewport"]'); if (!viewport) { return !1 } viewport = viewport[0]; viewport.setAttribute('content', "width=device-width, initial-scale=1, maximum-scale=5") }; addModule({ navHidden: !0, setup: function () { stickHeader(); desktopNav(); updateViewport(); this.addEvents() }, addEvents: function () { var self = this; var button = jQuery('#main-nav-toggle'); button.on('click', function () { self.toggleNav(); document.body.classList.toggle('menu-open') }) }, toggleNav: function () { var header = jQuery('.top-banner-row'), button = jQuery('#main-nav-toggle'), nav = jQuery('#main-nav-container'), footBar = jQuery('.bottom-bar'), address = jQuery('.bottom-bar.inner'); if (this.navHidden === !0) { this.navHidden = !1; header.addClass('opened nav-d'); nav.addClass('open'); button.addClass('nav-close'); footBar.addClass('nav-d'); if (jQuery(global).width() < 767) { address.css({ 'bottom': '60px', 'position': 'fixed' }) } else { address.css('position', 'fixed') } appNav.selectPrimaryGroup() } else { this.navHidden = !0; header.removeClass('opened nav-d'); nav.removeClass('open'); button.removeClass('nav-close'); footBar.removeClass('nav-d'); address.css({ 'position': 'relative', 'bottom': '0px' }) } } }); var bpSlideShow = addModule({ create: function (type, options) { type = type || 'controller'; switch (type) { case 'controller': this.controller(options); break; case 'office': this.office(options); break; case 'reviews': this.reviews(options); break } }, controller: function (slideOptions) { var container = jQuery('#slides')[0]; if (!container) { return !1 } var options = container.querySelectorAll('.single-slide'); var startNumber = this.getStart(options); var slideAnimationIn = this.tryProp(slideOptions, 'animationIn') || 'fadeIn'; var slideAnimationOut = this.tryProp(slideOptions, 'animationOut') || 'fadeOut'; var slideTimer = this.tryProp(slideOptions, 'duration') || 7000; var spotlight = new bpApp.SlideController({ onNumber: startNumber, defaultPathUrl: '', duration: slideTimer, animationIn: slideAnimationIn, animationOut: slideAnimationOut }); spotlight.setup(container) }, tryProp: function (options, property) { if (!options) { return } return options[property] }, getStart: function (options) { return Math.round(Math.random() * (options.length - 1)) }, createSlideShow: function (container, path, bg, options, duration) { container = jQuery('#' + container)[0]; duration = duration || 7000; var startNumber = this.getStart(options); var slideShow = new bpApp.SlideShow({ onNumber: startNumber, defaultPathUrl: path, slides: options, setAsBg: bg, duration: 7000 }); slideShow.setup(container); return slideShow }, addSlide: function (image, alt, title, content, className, url, crumbContent) { return { title: title, content: content, className: className, image: image, alt: alt, url: url, crumbContent: crumbContent } }, office: function (options, id) { id = id || 'tour'; this.createSlideShow(id, '/images/slideshow/', !1, options) }, reviews: function (options) { this.createSlideShow('reviews', '', !1, options) } }); var convertReviews = function (options) { if (!options) { return !1 } for (var i = 0, length = options.length; i < length; i++) { var option = options[i]; option.title = option.reviewer; option.className = 'reviews-section'; option.reviewerClassName = 'patient-name' } return options }; var _slideShow = bpSlideShow; global.DefaultSlider = function (options) { _slideShow.create('controller', options) }; global.OfficeSlider = function (options, id) { _slideShow.office(options, id) }; global.ReviewSlider = function (options) { options = convertReviews(options); _slideShow.create('reviews', options) }; addModule({ setup: function () { this.navModals(); this.externalLinks(); this.setupModals(); this.setupVideos() }, navModals: function () { var navModalItem = jQuery('li.data-modal a'); if (navModalItem.length === 0) { return !1 } navModalItem.each(function () { var self = jQuery(this); var navModalLink = self.attr('href').replace('#', ''); self.attr('data-modal', navModalLink); self.removeAttr('href'); self.attr('tabindex', 0) }) }, setupModals: function () { var attrName = 'data-modal', self = this; jQuery('[' + attrName + ']').each(function (index, element) { element = jQuery(element); element.attr('tabindex', 0); element.attr('role', 'button'); element.attr('aria-haspopup', !0); var modalName = element.attr(attrName); if (!modalName) { return !1 } element.attr('data-cta-name', modalName.toLowerCase()); element.on('click', function () { var modalClass = global[modalName]; if (!modalClass) { return !1 } bpApp.GA4Tracking('opened_modal'); var modal = new modalClass(); modal.setup(document.body); modal.display() }) }) }, setupVideos: function (attrName) { attrName = attrName || 'data-video-src'; var self = this; jQuery('[' + attrName + ']').each(function (index, element) { element = jQuery(element); var src = element.attr('data-video-src'); if (!src) { return !1 } element.on('click', function () { self.view(src) }) }) }, view: function (src) { var panel = new VideoPanel({ src: src }); panel.setup(document.body); panel.display() }, externalLinks: function () { var attrName = 'target', self = this; jQuery('[' + attrName + ']').each(function (index, element) { element = jQuery(element); element.append('') }) } }); bpApp.createBackgroundVideo = function (container, src) { return new bpApp.BackgroundVideo(container, src) }; addModule({ setup: function () { var IframeLoader = base.Class.extend({ heightAdded: !1, constructor: function (element) { this.element = element; if (element) { this.setup() } }, setup: function () { this.addEvents(); var self = this; setTimeout(function () { if (!self.heightAdded) { self.setHeight() } }, 2500) }, setHeight: function () { var iFrame = this.element; var doc = iFrame.contentDocument ? iFrame.contentDocument : iFrame.contentWindow.document; var height = 100; if (charlie.iframeHeight) { height = doc.body.scrollHeight + parseInt(charlie.iframeHeight) } else { height = doc.body.scrollHeight + 100 } if (height < 100) { height = 100 } iFrame.height = height }, addEvents: function () { var self = this; jQuery(this.element).on('load', function () { self.setHeight(); self.heightAdded = !0 }) } }); var iframes = document.querySelectorAll(".services-iframe"), length = iframes.length; for (var i = 0; i < length; i++) { new IframeLoader(iframes[i]) } } }); bpApp.exceptions = ['tab-description', 'tab-additional_information']; bpApp.addException = function (exception) { this.exceptions.push(exception) }; bpApp.imgExt = null; bpApp.getImageExt = function () { return (nextGenImages) ? 'webp' : 'jpg' }; bpApp.GA4Tracking = function (event) { event = event.replace(/ /g, "_").toLowerCase(); if (typeof gtag === 'function') { gtag('event', event) } }; addModule({ setup: function () { this.telTracking(); this.setupFancyBox(); this.setupAutoScroll(); this.loadDeferredImages(); this.lazyLoadViewport() }, telTracking: function () { jQuery("a[href^='tel:']").click(function () { bpApp.GA4Tracking('Click to Call') }) }, setupFancyBox: function () { if (!jQuery.fancybox) { return } jQuery(".pics").fancybox({ openEffect: 'elastic', closeEffect: 'elastic', helpers: { overlay: { locked: !1 } } }) }, setupAutoScroll: function () { var exceptions = bpApp.exceptions; var pattern = /^\//; jQuery('a[href*="#"]:not([href="#"])').click(function () { if (location.pathname.replace(pattern, '') === this.pathname.replace(pattern, '') && location.hostname === this.hostname) { var hash = this.hash.slice(1), index = jQuery.inArray(hash, exceptions); if (index === -1) { var target = jQuery(this.hash); target = target.length ? target : jQuery('[id=' + hash + ']'); if (target.length) { jQuery('html,body').animate({ scrollTop: target.offset().top }, 800); return !1 } } } }) }, loadDeferredImages: function () { var loadWebp = (nextGenImages === !0), ext = bpApp.getImageExt(); jQuery('body').addClass('loaded'); jQuery('img[data-src]').each(function (i, ele) { this.loading = "lazy"; var $ele = jQuery(this), src; if (loadWebp) { var dataSrc = String($ele.data('src')), fileExt = /\.jpg|\.png/ig; src = dataSrc.indexOf('.svg') !== -1 ? dataSrc : (dataSrc.replace(fileExt, '') + '.webp') } else { src = $ele.data('src') } ele.src = src }) }, lazyLoadViewport: function () { var att = 'data-map-src', maps = [].slice.call(document.querySelectorAll('iframe[' + att + ']')), active = !1; function lazyLoad() { maps.forEach(function (map) { map.loading = "lazy"; map.title = "Google Map"; bpApp.elementInViewport(map, function () { map.src = map.getAttribute(att); maps = maps.filter(function (iframe) { return iframe !== map }); if (maps.length === 0) { document.removeEventListener("scroll", lazyLoad); global.removeEventListener("resize", lazyLoad); global.removeEventListener("orientationchange", lazyLoad) } jQuery('.map-overlay').fadeOut() }) }) } document.addEventListener("scroll", lazyLoad, { passive: !0 }); global.addEventListener("resize", lazyLoad, { passive: !0 }); global.addEventListener("orientationchange", lazyLoad, { passive: !0 }) } })})(bpApp, window);"use strict";var practiceData = typeof practiceData !== 'undefined' ? practiceData : { name: null, enabled: false };var ContactForm = Form.extend( { className: 'contact-form', formTitle: 'Contact Form', addFormBody: function () { var formBody = [ FirstLast, new PreferredContact, FloatingTextarea({ name: 'Message', label: 'Message', className: 'appointment-message' }), ]; if (practiceData && practiceData.enabled) { var privacyPolicyUrl = '/privacy-policy'; var consentLabel = practiceData.name ? `By checking this box I consent to receive text messages, calls, or emails from ${practiceData.name}. Check out our privacy policy.` : 'By checking this box I consent to receive text messages, calls, or emails. Check out our privacy policy.'; formBody.push(LabelCheckbox({ name: 'Contact Consent Opt-in', label: consentLabel, value: 'yes', id: 'Contact Consent Opt-in', required: true })); } formBody.push(this.addSubmit()); return formBody; } });