',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);(function(d){var e=base.Class.extend({constructor:function(a,b,c){this.header="string"===typeof a?document.getElementById(a):a;this.$header=jQuery(this.header);this.miniClassName=b;this.headerMinified=!1;this.distance="undefined"!==typeof c?c:300;this.$document=jQuery(document);this.$window=jQuery(window);this.setup()},setup:function(){if(!this.header)return!1;this.checkScroll();this.addScroll()},addScroll:function(){var a=this,b=function(){a.checkScroll()},c=this.$window;c.on("scroll",b);c.on("resize",b)},checkScroll:function(){var a=this.$window,b=a.scrollTop();this.$document.height();a.height();b>=this.distance?!1===this.headerMinified&&(this.$header.addClass(this.miniClassName),this.headerMinified=!0):!0===this.headerMinified&&(this.headerMinified=!1,this.$header.removeClass(this.miniClassName))},scrollToTop:function(){window.scrollTo(window.scrollX,0)}});d.scrollHeader=e})(bpApp);"use strict";var AppointmentFormv2 = Form.extend({ className: 'form-appointment-modal', formTitle: 'Appointment Request', addFormBody: function() { var id = this.getId('optional-message'); return [ 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 }), this.addSubmit() ]; }, 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(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')})}});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