PageSourceSearch

https://www.muhealth.org/sites/default/files/js/js_E8j7le_tsSO9CBJ…pcRkz-kehpQp1vT60qLeSF9G9nObsYJ4l4Cf3SVWIx0

js muhealth.org collected 2026-09-24 09:26:24 UTC 24,458 bytes, 6 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function($,Cookies){Drupal.behaviors.evariant={initialized:false,query:{},cookieName:'ctek_hcmacids',attach:function(context,settings){var self=this;if(!this.initialized){this.query=this.queryStringToObject(document.location.search.slice(1));if(this.query.hcmacid)this.storeHMACID(this.query.hcmacid);this.initialized=true;}if(this.query.hcmacid)$('a.evariant-hcmacid').each(function(){this.search=self.objectToQueryString(self.query);});},storeHMACID:function(hcmacid){var hcmacids={};try{hcmacids=JSON.parse(Cookies.get(this.cookieName));}catch(e){}hcmacids[hcmacid]=document.location.pathname;Cookies.set(this.cookieName,JSON.stringify(hcmacids),{expires:60*60*24*365});},queryStringToObject:function(queryString){return decodeURI(queryString).split('&').map(function(pair){var obj={};pair=pair.split('=');if(pair.length===2)obj[pair[0]]=pair[1];return obj;}).reduce(function(accumulator,currentValue){if(accumulator)return $.extend(accumulator,currentValue);return currentValue;});},objectToQueryString:function(obj){return Object.keys(obj).reduce(function(accumulator,currentValue){var pair=[currentValue,obj[currentValue]].join('=');if(accumulator)return [accumulator,pair].join('&');return pair;},'');}};})(jQuery,Cookies);;
3((d,h)=>{Drupal.behaviors.engagement={attach:function(e,a){var i=d(window),r=d(document);h.get("session_start")||h.set("session_start",Math.round(Date.now()/1e3)),d(".engagement-popup",e).each(function(){var a=d(this),t=a.attr("data-id"),e=a.attr("data-delay"),s=(e&&a.hide(),setTimeout(function(){a.show()},1e3*e),d("a",r).each(function(){this.hash==="#popup-"+t&&d(this).click(function(e){e.preventDefault(),a.addClass("active")})}),!1),o=a.attr("data-cookie-expiry");if(a.find(".close, .modal-backdrop").click(function(){s=!0,a.removeClass("active");var e={};0<o&&(e.expires=o),h.set("engagement-popup-"+t,"closed",e),h.set("session_start",Math.round(Date.now()/1e3))}),!h.get("engagement-popup-"+t)){var n=a.attr("data-scroll-depth"),c=86400;switch(o){case"14 days":o=14*c;break;case"7 days":o=7*c;break;case"never":o=1/0;break;case"no cookie":o=0;break;case"30 days":o=30*c}i.scroll(function(){var e;s||(e=100*i.scrollTop()/(r.height()-i.height()),n<=e&&!a.hasClass("active")&&a.addClass("active"))})}})},detach:function(e){d(".engagement-popup",e).each(function(){})}}})(jQuery,Cookies);;
4((n)=>{window.initTabs=function(t){var l=".tab-container";console.log("the tabs have initialized. the container is"+l),n(l+" ul.tab-nav").attr("role","tablist"),n(l+' [role="tablist"] li:not(.view-all)').attr("role","presentation"),n('[role="tablist"] a').attr({role:"tab",tabindex:"-1"}),n('[role="tablist"] a').each(function(){n(this).attr("aria-controls",n(this).attr("href").substring(1));}),n('[role="tablist"] li:first-child a').attr({"aria-selected":"true",tabindex:"0"}),n(l+" section").attr({role:"tabpanel"}),n(l+" section > *:first-child").attr({tabindex:"0"}),n('[role="tabpanel"]:not(:first-of-type)').attr({"aria-hidden":"true"}),n('[role="tab"]').on("keydown",function(t){var a,e=n(this),r=n(this).parents("li").prev().children('[role="tab"]'),i=n(this).parents("li").next().children('[role="tab"]');switch(t.key||t.keyCode){case "ArrowLeft":case 37:a=r;break;case "ArrowRight":case 39:a=i;break;default:a=!1;}a.length&&(e.attr({tabindex:"-1","aria-selected":null}),a.attr({tabindex:"0","aria-selected":!0}).focus()),n(l+' [role="tabpanel"]').attr("aria-hidden","true"),n("#"+n(document.activeElement).attr("href").substring(1)).attr("aria-hidden",null);}),n('[role="tab"]:not(.view-all)').on("click",function(t){t.preventDefault(),n('[role="tab"]').attr({tabindex:"-1","aria-selected":null}),n(this).attr({"aria-selected":!0,tabindex:"0"}),n(l+' [role="tabpanel"]').attr("aria-hidden","true"),n("#"+n(this).attr("href").substring(1)).attr("aria-hidden",null);});};})(jQuery);;
5((r,e,s,o,l,i,t)=>{var c=window.muhc={enquire:{lt768:{query:"screen and (max-width: 767px)",matched:l.observable(!1)},gt768:{query:"screen and (min-width: 768px)",matched:l.observable(!1)},lt992:{query:"screen and (max-width: 991px)",matched:l.observable(!1)},gt992:{query:"screen and (min-width: 992px)",matched:l.observable(!1)}},GlobalViewModel:function(){var i=this;i.showSearch=l.observable(!1),i.showNav=l.observable(!1),i.showSlick=l.observable(!0),i.focusSearch=l.observable(!1),i.keywords=l.observable(""),i.fourOhFourKeywords=l.observable(""),i._lastSearchToggle=null,i.closeSearch=function(e,t){var s,o;return i.showSearch()&&(s=0<(o=r(t.target)).closest(".search-toggle").length,o=0<o.closest("#global-search").length,s||o||i.toggleSearch(e,t)),!0;}
5,i.onSearchKeydown=function(e,t){return "Escape"!==t.key||!i.showSearch()||(i.toggleSearch(e,t),!1);},i.toggleSearch=function(e,t){var s=!i.showSearch();i.showSearch(s),s?(i.keywords(""),i.focusSearch(!0),t&&t.currentTarget&&(i._lastSearchToggle=t.currentTarget),"function"==typeof i.showNav&&i.showNav()&&i.showNav(!1)):(i.focusSearch(!1),(s=i._lastSearchToggle||document.querySelector("button.search-toggle"))&&s.focus());},i.showSearch.subscribe(function(e){var t=document.getElementById("global-search");t&&(e?t.removeAttribute("hidden"):t.setAttribute("hidden",""));}),i.throttledKeywords=i.keywords.extend({rateLimit:{timeout:250,method:"notifyWhenChangesStop"}}),i.throttledKeywords.subscribe(function(e){r.ajax("/search/overlay/",{data:{keywords:e}}).promise().then(function(e){for(var t in i.conditionsAndTreatments.removeAll(),i.doctors.removeAll(),i.locations.removeAll(),i.pages.removeAll(),e.conditionsAndTreatments)i.conditionsAndTreatments.push(e.conditionsAndTreatments[t]);for(var t in e.doctors)i.doctors.push(e.doctors[t]);for(var t in e.locations)i.locations.push(e.locations[t]);for(var t in e.pages)i.pages.push(e.pages[t]);});}),i.conditionsAndTreatments=l.observableArray(),i.doctors=l.observableArray(),i.locations=l.observableArray(),i.pages=l.observableArray(),i.search=function(){},i.toggleSlick=function(){i.showSlick(!i.showSlick());},i.doctorSearchViewModel=new c.DoctorSearchViewModel(),i.email=function(){document.location="mailto://?subject="+encodeURIComponent(document.title)+"&body="+document.location;},i.print=function(){window.print();};},DoctorSearchViewModel:function(){var o=this,e=[];o.savedDoctorsLoaded=l.observable(!1),i.get("muhc_saved_doctors")&&(e=JSON.parse(i.get("muhc_saved_doctors"))),o.savedDoctors=l.observableArray(e),o.savedDoctorsLoaded(!0),o.toggleDoctor=function(e,t){var t=r(t.target),s=t.data("id");-1===o.savedDoctors.indexOf(s)?o.savedDoctors.push(s):o.savedDoctors.remove(s),t.blur(),i.set("muhc_saved_doctors",JSON.stringify(o.savedDoctors()));};},ConditionsTreatmentsViewModel:function(){var s=this;s.isReady=l.observable(!0),s.state=l.observable(t.parse(document.location.search.replace("?",""))),s.keywords=l.observable(s.state().search||""),s.throttledKeywords=s.keywords.extend({rateLimit:{timeout:250,method:"notifyWhenChangesStop"}}),s.selectedLetter=l.observable(),s.results=l.observableArray([]),s.groupedResults=l.observableArray([]),s.isQuickBrowse=l.observable(!0),s.isLetter=l.observable(!1),s.isAll=l.observable(!1),s.isKeywords=l.observable(!1),s.throttledKeywords.subscribe(function(e){s.isReady()&&""!==e&&(e?(s.isReady(!1),s.isAll(!1),s.isQuickBrowse(!1),s.isLetter(!1),s.isKeywords(!0),s.results.removeAll(),s.groupedResults.removeAll(),r.ajax("/conditions-treatments/keywords/"+e).promise().then(function(e){for(var t in s.isReady(!0),e)s.results.push(e[t]);})):s.quickBrowse());}),s.keywords.valueHasMutated(),s.all=function(){s.isReady(!1),s.isAll(!0),s.isQuickBrowse(!1),s.isLetter(!1),s.isKeywords(!1),s.results.removeAll(),s.groupedResults.removeAll(),s.keywords(""),s.selectedLetter(""),r.ajax("/conditions-treatments/all").promise().then(function(e){for(var t in s.isReady(!0),e)e.hasOwnProperty(t)&&s.groupedResults.push({letter:t,results:e[t]});});},s.letter=function(e){s.isReady(!1),s.isAll(!1),s.isQuickBrowse(!1),s.isLetter(!0),s.isKeywords(!1),s.results.removeAll(),s.groupedResults.removeAll(),s.keywords(""),s.selectedLetter(e),r.ajax("/conditions-treatments/letter/"+e).promise().then(function(e){for(var t in s.isReady(!0),e)s.results.push(e[t]);});},s.quickBrowse=function(){s.isAll(!1),s.isQuickBrowse(!0),s.isLetter(!1),s.isKeywords(!1),s.results.removeAll(),s.groupedResults.removeAll(),s.keywords(""),s.selectedLetter("");};},WaitTimesViewModel:function(e){var t=this;t.isReady=l.observable(!1),t.waitTime=l.observable(""),t.asOfTime=l.observable(""),t.asOfDate=l.observable(""),t.locationName=e.locationName,t.locationId=e.locationId,t.update=function(){r.ajax(s.muhc_wait_times.api_url).promise().then(function(e){t.isReady(!0),t.waitTime(e.waitTimes[t.locationId]),t.asOfTime(moment(e.asOf).format("h:mma")),t.asOfDate(moment(e.asOf).format("M/D/YYYY"));});}
5,t.update(),setInterval(t.update,3e5);},EventsViewModel:function(e){var s=this;s.isReady=l.observable(!1),s.events=l.observableArray(),s.url=l.observable("//34.225.241.241"),r.ajax(s.url()+"/api/events").promise().then(function(e){s.isReady(!0),s.events.removeAll(),l.utils.arrayForEach(e.Events,function(e){var t=moment(e.StartsOn);e.month=t.format("MMM"),e.date=t.format("D"),e.time=t.format("h:mm A"),s.events.push(e);});});}};function d(){for(var e in o.register(c.enquire.lt768.query,{match:function(){},unmatch:function(){}}).register(c.enquire.gt768.query,{match:function(){},unmatch:function(){}}).register(c.enquire.lt992.query,{match:function(){},unmatch:function(){}}).register(c.enquire.gt992.query,{match:function(){},unmatch:function(){}}),c.enquire){var t,s;c.enquire.hasOwnProperty(e)&&(t=c.enquire[e],s=((e)=>function(){c.enquire[e].matched(!0);})(e),e=((e)=>function(){c.enquire[e].matched(!1);})(e),o.register(t.query,{match:s,unmatch:e}));}}function h(e){var t=r(".slideshow .slides",e),t=(t.parent("autoplay")?t.slick({dots:!1,autoplay:!0,autoplaySpeed:3e3,slidesToShow:1,slidesToScroll:1}):t.slick({dots:!1,slidesToShow:1,slidesToScroll:1}),r(".image-scroller .slides",e));t.parent("autoplay")?t.slick({dots:!1,autoplay:!0,autoplaySpeed:3e3,slidesToShow:3,slidesToScroll:1,variableWidth:!0,responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}]}):t.slick({dots:!1,slidesToShow:3,slidesToScroll:1,variableWidth:!0,responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}]});}function u(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var e=r(this.hash);if((e=e.length?e:r("[name="+this.hash.slice(1)+"]")).length)return r("html, body").animate({scrollTop:e.offset().top},1e3),!1;}r(".site-wrap a").on("click",function(e){var t,s=r(this).attr("href");-1!==s.indexOf("#accordion-item")&&(t="#"+(s=s.split("#"))[1],2<=s.length)&&(s=r(t).find("h2").next("div").prop("scrollHeight"),r(t).find("h2").addClass("active"),r(t).find("h2").next("div").css("max-height",s));});}function n(e){}function g(){r.fn.matchHeight._throttle=20;var e=setInterval(function(){r.fn.matchHeight._update(),r(window).trigger("resize");},20);setTimeout(function(){clearInterval(e);},400);}l.bindingHandlers.isSavedDoctor={update:function(e,t,s,o,i){l.utils.unwrapObservable(t());t=r(e),e=t.data("id");-1!==o.savedDoctors.indexOf(e)?t.addClass("btn-xlblue").removeClass("btn-yellow").text("Remove"):t.addClass("btn-yellow").removeClass("btn-xlblue").text("Save");}},l.bindingHandlers.removeSavedDoctor={update:function(e,t,s,o,i){l.utils.unwrapObservable(t());t=r(e),e=t.data("id");-1===o.savedDoctors.indexOf(e)&&t.parents(".doctor").remove();}},l.bindingHandlers.submitForm={init:function(e,t,s,o,i){var n=r(e);n.change(function(){n.parents("form").submit();});}},l.bindingHandlers.smoothScroll={init:function(e,t,s,o,i){var n=u.bind(e);r(e).click(n),l.utils.domNodeDisposal.addDisposeCallback(e,function(){r(e).off("click",n);});}},l.bindingHandlers.typeahead={update:function(e,s,t,o,i){var n=r(e);n.typeahead({delay:250,minLength:3,autoSelect:!1,source:function(e,t){r.ajax(l.unwrap(s().endpoint),{data:{keywords:n.val()}}).promise().then(t);}}).on("keyup",function(e){"Enter"!==e.key&&13!==e.keyCode||(0<(e=n.closest("form").find(".btn-search").click()).length?e.click():n.closest("form").submit());}),l.utils.domNodeDisposal.addDisposeCallback(e,function(){n.typeahead("destroy");});}},l.bindingHandlers.selectpicker={update:function(e,t,s,o,i){var n=[],e=r(e),s=(s().options?n=s().options():e.find("option").each(function(){n.push(r(this).attr("value"));}),l.utils.arrayIndexOf(n,s().value()));0<=s&&e.find("option:eq("+s+")").attr("selected","selected"),e.selectpicker("refresh");}},l.bindingHandlers.enterkey={init:function(e,s,t,o,i){return l.bindingHandlers.event.init.call(this,e,function(){var e={keyup:function(e,t){"Enter"!==t.key&&13!==t.keyCode||s().apply(e,arguments);}};return e;},t,o,i);}},l.bindingHandlers.toggle={init:function(e,t,s,o,i){var n=r(e),a=r(l.unwrap(t()));n.click(function(e){e.preventDefault(),n.toggleClass("active"),a.toggleClass("hidden"),g();});}},l.bindingHandlers.geolocate={init:function(e,t,s,o,i){var n=r(e),a=r(t().lat),l=r(t().lng);n.click(function(e){e.preventDefault(),navigator.geolocation.getCurrentPosition(function(e){a.val(e.coords.latitude),l.val(e.coords.longitude),n.parents("form").submit();},function(){},{timeout:5e3});});}},e.behaviors.muhc={_isInvokedByDocumentReady:!0,initOpenHours:n,attach:function(e){var t,o,s,i,n,a;this._isInvokedByDocumentReady&&(d(),l.components.register("conditions-treatments",{viewModel:c.ConditionsTreatmentsViewModel,template:{element:"conditions-treatments"}}),l.components.register("wait-times",{viewModel:c.WaitTimesViewModel,template:{element:"wait-times"}}),l.components.register("events",{viewModel:c.EventsViewModel,template:{element:"events"}}),l.applyBindings(new c.GlobalViewModel(),document.body),r(".modal").on("hidden.bs.modal",function(e){var t=r(this).find("iframe");t.attr("src",t.attr("src"));}),r(".location").click(function(){r(this).toggleClass("active"),r(this).siblings().removeClass("active"),g();}
5),r(".filter-toggle").click(function(){r(this).toggleClass("open"),r(".filters").toggleClass("open");}),r(".accordion h4").click(function(){var e=r(this).next("div").prop("scrollHeight"),t=r(this).next("p").prop("scrollHeight");r(this).toggleClass("active"),r(this).siblings().removeClass("active"),r(this).siblings("div").css("max-height",0),r(this).siblings("p").css("max-height",0),r(this).hasClass("active")?(r(this).next("div").css("max-height",e+20),r(this).next("p").css("max-height",t+40)):(r(this).next("div").css("max-height",0),r(this).next("p").css("max-height",0));}),r(".timeline .more").click(function(){var e=r(this).parent("div").prop("scrollHeight");console.log(e),r(this).parent("div").toggleClass("open"),r(this).parent("div").hasClass("open")?r(this).parent("div").css("max-height",e+20):r(this).parent("div").css("max-height",1e3);}),r(".follow").click(function(){r("body").toggleClass("scroll");}),r(".nav-toggle").click(function(){r("body").toggleClass("nav-open");}),r(window).scroll(r.debounce(2e3,!0,function(){r("#block-mobileapptcta .make-appt").fadeIn(150);})),r(window).scroll(r.debounce(2e3,function(){r("#block-mobileapptcta .make-appt").fadeOut(150);})),"/joint-replacement/assessment/thank-you"===window.location.pathname&&"function"==typeof gtag&&gtag("event","conversion",{send_to:"AW-315147685/Ayx-CKfM9ZgaEKWLo5YB",value:1,currency:"USD"}),"/joint-replacement/assessment"===window.location.pathname&&"function"==typeof gtag&&gtag("event","conversion",{send_to:"AW-315147685/m3HACOay-5gaEKWLo5YB",value:1,currency:"USD"}),this._isInvokedByDocumentReady=!1),r(".accordion-item h3").each(function(){var e=r(this).next("div").prop("scrollHeight");r(this).hasClass("open")?r(this).next("div").css("max-height",e+10):r(this).next("div").css("max-height",0),r(this).click(function(){var e=r(this).next("div").prop("scrollHeight");t=0==r(this).hasClass("open")?(void 0!==t&&(t.removeClass("open"),t.next("div").css("max-height",0),t=void 0),r(this).addClass("open"),r(this).next("div").css("max-height",e+10),r(this)):(r(this).removeClass("open"),void r(this).next("div").css("max-height",0));});}),r(".image-grid .pagination .dot").click(function(){var e=r(this).attr("id");r(this).addClass("active"),r(this).siblings().removeClass("active"),r(".slide-container > div").removeClass().addClass(e);}),r("input").blur(function(){""==r(this).val()?r(this).removeClass("not-empty"):r(this).addClass("not-empty");}),r('a[href*="//"]:not([href*="'+document.location.hostname+'"])',e).attr("target","_blank").addClass("external"),r(function(){r(".equal-match").matchHeight({target:r(".equal-match.match")}),r(".equal").matchHeight({}),r(".mobile-equal").matchHeight({});}),r(".selectpicker-static",a=e).selectpicker({selectedTextFormat:"static",dropupAuto:!1}),r(".selectpicker",a).selectpicker({dropupAuto:!1}),r(".treatments-list ul").mCustomScrollbar({theme:"dark-thick"}),r('a[href*="#"]:not([href="#"])',e).click(function(e){return u.bind(this)();}),r(window).scroll(function(){50<=r(window).scrollTop()?r("body").addClass("scroll"):r("body").removeClass("scroll");}),r(".mobile-slick",e).slick({dots:!1,arrows:!0,mobileFirst:!0,responsive:[{breakpoint:767,settings:"unslick"}]}),(o=r("#block-accreditation",a=e)).length&&(o.hasClass("accordions")?((a=o.find(".box2")).each(function(){var e=r(this),t=e.find(".js-accred-accordion-toggle"),s=e.find("h4");t.on("click",function(){e.hasClass("open")||(o.find(".box2").removeClass("open"),o.find(".box2 .paragraph > div").slideUp(500)),e.toggleClass("open"),e.find(".paragraph > div").slideToggle(500);}),s.on("click",function(){t.trigger("click");});}),a.first().find(".js-accred-accordion-toggle").trigger("click")):o.slick({adaptiveHeight:!0,autoplay:!0,autoplaySpeed:4e3,slide:".box2"})),r(".slick",e).each(function(){var i,e=r(this);e.hasClass("has-pager")?(i=r('<div class="pager"></div>'),e.before(i),e.on("init reInit afterChange",function(e,t,s,o){i.text((s||0)+1+" of "+t.slideCount);}),e.slick({dots:!0,autoplay:!0})):e.slick({dots:!0});}),r(".blog-slider .slides").each(function(){r(this).slick({slidesToShow:1,slidesToScroll:1,infinite:!1,fade:!0,adaptiveHeight:!0,prevArrow:r(".prev-slide"),nextArrow:r(".next-slide")});}),r(".layout.slider").each(function(){var e=r(this);e.hasClass("three")?e.slick({slidesToScroll:1,slidesToShow:3,responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1}
5}]}):e.hasClass("four")?e.slick({slidesToScroll:1,slidesToShow:2,responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1}}]}):e.hasClass("two")?e.slick({slidesToScroll:1,slidesToShow:2,responsive:[{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1}}]}):e.slick({slidesToScroll:1,slidesToShow:1,responsive:[{breakpoint:768,settings:{dots:!0,arrows:!1}}]});}),r(".slider-with-intro .slides").each(function(){var e=r(this),t="function"==typeof r.debounce?r.debounce(50,g):g;e.on("init setPosition afterChange",t),r(window).on("load",t),e.slick({slidesToShow:1,slidesToScroll:1,adaptiveHeight:!0,vertical:!0,swipe:!1});}),r(".media-embed .slick").each(function(){r(this).slick("unslick").slick({slidesToShow:1,slidesToScroll:1,adaptiveHeight:!0,dots:!1}).init();}),h(e),r(".slick-quote",e).slick({dots:!1,arrows:!0,appendArrows:".slick-quote .slick-list",infinite:!1,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}]}),h(e),r(".video-lightbox",e).each(function(e,t){r(t).find("[data-video-id]").modalVideo();}),a=e,s=new URLSearchParams(window.location.search).get("fascore"),a=a.querySelector("div.score.fascore span"),s&&a&&(a.textContent=s),initTabs(e),r.get("example_collection.json",function(e){r("#muhc-doctors-results-form .keyword-submit input").typeahead({source:e});},"json"),r(".meet",e).each(function(e,t){r(t).find("[data-video-id]").modalVideo();}),r(".meet .bio-toggle").click(function(){var e=r(this).prev("div").prop("scrollHeight")+4;r(this).toggleClass("open"),r(this).prev("div").css("max-height",0),r(this).hasClass("open")?r(this).prev("div").css("max-height",e+4):r(this).prev("div").css("max-height",0);}),0<navigator.userAgent.indexOf("Mac")&&r("body").addClass("mac-os"),(a=r(".doctor-profile section h2")).each(function(){var e;r(this).hasClass("active")&&(e=r(this).next("div").prop("scrollHeight")+30,r(this).next("div").css("max-height",e));}),a.click(function(){var e=r(this).next("div").prop("scrollHeight")+30;r(this).toggleClass("active"),r(this).siblings().removeClass("active"),r(this).siblings("div").css("max-height",0),r(this).hasClass("active")?r(this).next("div").css("max-height",e):r(this).next("div").css("max-height",0);}),r(".view-academics a").click(function(){var e=r("#academics h2 + div").prop("scrollHeight")+30;r("#academics h2").toggleClass("active"),r("#academics h2").hasClass("active")?r("#academics h2 + div").css("max-height",e):r("#academics h2 + div").css("max-height",0);}),s=e,window.innerWidth,(a=s.querySelector(".doctor-banner--details--conditions-wrapper"))&&50<(i=s.querySelector(".doctor-banner--conditions-list")).clientHeight&&((n=document.createElement("button")).classList.add("show-more"),n.innerHTML="Show More",a.appendChild(n),i.classList.add("more-hidden"),i.style.height="50px",n.addEventListener("click",function(){i.classList.remove("more-hidden"),i.style.height="auto",n.remove();})),r(".js-form-type-radio").addClass("radio"),r(".js-form-type-checkbox").addClass("checkbox"),r(".js-form-type-radio, .js-form-type-checkbox").removeClass("col-xs-12"),r(".more-toggle").click(function(){r("body").toggleClass("more-open");}),r(".more-locations-toggle").click(function(){r("body").toggleClass("more-locations-open");}),r(".miniMenu-toggle").click(function(){r("body").toggleClass("miniMenu-open"),r("body").removeClass("search-open");}),r(".parent .parent-toggle").click(function(){var e=r(".section-toggle").next("div").prop("scrollHeight");r(this).parent().toggleClass("open"),r(this).parent().hasClass("active-trail")&&(r(this).parent().toggleClass("open"),r(this).parent().removeClass("active-trail")),r(".section-toggle").hasClass("open")&&r(".section-toggle").next("div").css("max-height",e);}),r(".treatments-hide + .btn").click(function(){r(".treatments-hide").toggleClass("open");}),r("#block-getstarted-label + div, #block-getstarted-label").addClass("open"),r(".nav h4").click(function(){var e=r(this).next("div").prop("scrollHeight");r(this).toggleClass("open"),r(this).next("div").css("max-height",0),r(this).hasClass("open")?r(this).next("div").css("max-height",e):r
5(this).next("div").css("max-height",0);}),r(".media-toggle h4").click(function(){r(this).toggleClass("open"),r(this).next("div").toggleClass("open");}),r(".active-filter-toggle").click(function(){r(this).toggleClass("open"),r(".active-filters").toggleClass("open");}),r(".more-conditions .toggle").click(function(){r(this).toggleClass("open"),r(this).next("div").toggleClass("open");}),r(".links h3").click(function(){r(this).toggleClass("open"),r(this).next("ul").toggleClass("open");}),r(".social .more").click(function(){r(this).toggleClass("open"),r(this).parent().next(".share-more").toggleClass("open");}),r(".muhc-clinical-trials-form .tooltip-icon").click(function(){r(".tooltip-text").toggleClass("open");});}};})(jQuery,Drupal,drupalSettings,enquire,ko,Cookies,Qs);;
6function getWaitTimes(o,e){jQuery.getJSON(o,e);}function initMap(n){for(var o=n[0].coords[0],e=n[0].coords[1],a=[],i=new google.maps.Map(document.getElementById("clockwise-map"),{center:{lat:o,lng:e},disableDefaultUI:!0,scrollwheel:!1,zoom:9,zoomControl:!0}),l=new google.maps.InfoWindow({}),t=0;t<n.length;t++){Math.random();var s=n[t].coords[0],m=n[t].coords[1],s=new google.maps.Marker({position:new google.maps.LatLng(s,m),map:i,title:n[t].hospital_name});a.push(s),google.maps.event.addListener(s,"click",((e,t)=>function(){for(var o=0;o<a.length;o++)a[o].setIcon();l.setContent('<div class="map-tooltip"><h3>'+n[t].hospital_name_link+"</h3><p>Wait time: "+n[t].current_wait_hhmm+"</p></div>"),this.setIcon(),l.open(i,e);})(s,t));}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.