function _regeneratorRuntime(){function i(n,t,i){return Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),n[t]}function it(n,t,i,r){var f=t&&t.prototype instanceof k?t:k,u=Object.create(f.prototype),e=new g(r||[]);return s(u,"_invoke",{value:ht(n,i,e)}),u}function b(n,t,i){try{return{type:"normal",arg:n.call(t,i)}}catch(n){return{type:"throw",arg:n}}}function k(){}function l(){}function f(){}function ft(n){["next","throw","return"].forEach(function(t){i(n,t,function(n){return this._invoke(t,n)})})}function y(n,t){function i(r,f,e,o){var c=b(n[r],n,f),h,s;if("throw"!==c.type)return h=c.arg,s=h.value,s&&"object"==_typeof(s)&&u.call(s,"__await")?t.resolve(s.__await).then(function(n){i("next",n,e,o)},function(n){i("throw",n,e,o)}):t.resolve(s).then(function(n){h.value=n;e(h)},function(n){return i("throw",n,e,o)});o(c.arg)}var r;s(this,"_invoke",{value:function(n,u){function f(){return new t(function(t,r){i(n,u,t,r)})}return r=r?r.then(f,f):f()}})}function ht(n,i,u){var f=rt;return function(e,o){var l,h,s;if(f===ut)throw new Error("Generator is already running");if(f===c){if("throw"===e)throw o;return{value:t,done:!0}}for(u.method=e,u.arg=o;;){if(l=u.delegate,l&&(h=et(l,u),h)){if(h===r)continue;return h}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if(f===rt)throw f=c,u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);if(f=ut,s=b(n,i,u),"normal"===s.type){if(f=u.done?c:st,s.arg===r)continue;return{value:s.arg,done:u.done}}"throw"===s.type&&(f=c,u.method="throw",u.arg=s.arg)}}}function et(n,i){var f=i.method,o=n.iterator[f],e,u;return o===t?(i.delegate=null,"throw"===f&&n.iterator.return&&(i.method="return",i.arg=t,et(n,i),"throw"===i.method)||"return"!==f&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+f+"' method")),r):(e=b(o,n.iterator,i.arg),"throw"===e.type)?(i.method="throw",i.arg=e.arg,i.delegate=null,r):(u=e.arg,u?u.done?(i[n.resultName]=u.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,r):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,r))}function ct(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]);2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]);this.tryEntries.push(t)}function d(n){var t=n.completion||{};t.type="normal";delete t.arg;n.completion=t}function g(n){this.tryEntries=[{tryLoc:"root"}];n.forEach(ct,this);this.reset(!0)}function nt(n){var i,r,f;if(n||""===n){if(i=n[h],i)return i.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return r=-1,f=function i(){for(;++r<n.length;)if(u.call(n,r))return i.value=n[r],i.done=!1,i;return i.value=t,i.done=!0,i},f.next=f}throw new TypeError(_typeof(n)+" is not iterable");}var a,v,o,e;_regeneratorRuntime=function(){return n};var t,n={},tt=Object.prototype,u=tt.hasOwnProperty,s=Object.defineProperty||function(n,t,i){n[t]=i.value},p="function"==typeof Symbol?Symbol:{},h=p.iterator||"@@iterator",ot=p.asyncIterator||"@@asyncIterator",w=p.toStringTag||"@@toStringTag";try{i({},"")}catch(t){i=function(n,t,i){return n[t]=i}}n.wrap=it;var rt="suspendedStart",st="suspendedYield",ut="executing",c="completed",r={};return a={},i(a,h,function(){return this}),v=Object.getPrototypeOf,o=v&&v(v(nt([]))),o&&o!==tt&&u.call(o,h)&&(a=o),e=f.prototype=k.prototype=Object.create(a),l.prototype=f,s(e,"constructor",{value:f,configurable:!0}),s(f,"constructor",{value:l,configurable:!0}),l.displayName=i(f,w,"GeneratorFunction"),n.isGeneratorFunction=function(n){var t="function"==typeof n&&n.constructor;return!!t&&(t===l||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,f):(n.__proto__=f,i(n,w,"GeneratorFunction")),n.prototype=Object.create(e),n},n.awrap=function(n){return{__await:n}},ft(y.prototype),i(y.prototype,ot,function(){return this}),n.AsyncIterator=y,n.async=function(t,i,r,u,f){void 0===f&&(f=Promise);var e=new y(it(t,i,r,u),f);return n.isGeneratorFunction(i)?e:e.next().then(function(n){return n.done?n.value:e.next()})},ft(e),i(e,w,"Generator"),i(e,h,function(){return this}),i(e,"toString",function(){return"[object Generator]"}),n.keys=function(n){var i=Object(n),t=[],r;for(r in i)t.push(r);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in i)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=nt,g.prototype={constructor:g,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(d),!n)for(var i in this)"t"===i.charAt(0)&&u.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function(){this.done=!0;var n=this.tryEntries[0].completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(n){function r(i,r){return o.type="throw",o.arg=n,f.next=i,r&&(f.method="next",f.arg=t),!!r}var f,e,i,o,s,h;if(this.done)throw n;for(f=this,e=this.tryEntries.length-1;e>=0;--e){if(i=this.tryEntries[e],o=i.completion,"root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev)if(s=u.call(i,"catchLoc"),h=u.call(i,"finallyLoc"),s&&h){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}},abrupt:function(n,t){for(var f,i,o,e=this.tryEntries.length-1;e>=0;--e)if(f=this.tryEntries[e],f.tryLoc<=this.prev&&u.call(f,"finallyLoc")&&this.prev<f.finallyLoc){i=f;break}return i&&("break"===n||"continue"===n)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null),o=i?i.completion:{},o.type=n,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,r):this.complete(o)},complete:function(n,t){if("throw"===n.type)throw n.arg;return"break"===n.type||"continue"===n.type?this.next=n.arg:"return"===n.type?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):"normal"===n.type&&t&&(this.next=t),r},finish:function(n){for(var t,i=this.tryEntries.length-1;i>=0;--i)if(t=this.tryEntries[i],t.finallyLoc===n)return this.complete(t.completion,t.afterLoc),d(t),r},"catch":function(n){for(var i,r,u,t=this.tryEntries.length-1;t>=0;--t)if(i=this.tryEntries[t],i.tryLoc===n)return r=i.completion,"throw"===r.type&&(u=r.arg,d(i)),u;throw new Error("illegal catch attempt");},delegateYield:function(n,i,u){return this.delegate={iterator:nt(n),resultName:i,nextLoc:u},"next"===this.method&&(this.arg=t),r}},n}function ownKeys(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function _objectSpread(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?ownKeys(Object(i),!0).forEach(function(t){_defineProperty(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function _defineProperty(n,t,i){return(t=_toPropertyKey(t))in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function _toPropertyKey(n){var t=_toPrimitive(n,"string");return"symbol"===_typeof(t)?t:String(t)}function _toPrimitive(n,t){var i,r;if("object"!==_typeof(n)||null===n)return n;if(i=n[Symbol.toPrimitive],void 0!==i){if(r=i.call(n,t||"default"),"object"!==_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===t?String:Number)(n)}function asyncGeneratorStep(n,t,i,r,u,f,e){try{var o=n[f](e),s=o.value}catch(n){return void i(n)}o.done?t(s):Promise.resolve(s).then(r,u)}function _asyncToGenerator(n){return function(){var t=this,i=arguments;return new Promise(function(r,u){function f(n){asyncGeneratorStep(e,r,u,f,o,"next",n)}function o(n){asyncGeneratorStep(e,r,u,f,o,"throw",n)}var e=n.apply(t,i);f(void 0)})}}function _typeof(n){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof(n)}function searchOnClickHeader(){var n=encodeURIComponent($("#globalSearchInput").val());n!=""&&(n=n.replace("*","%2A"),window.location.href="/utility/search-results#/search/"+n.trim())}!function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(i){return n.Bloodhound=t(i)}):"object"==typeof exports?module.exports=t(require("jquery")):n.Bloodhound=t(jQuery)}(this,function(n){var t=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(n){return!n||/^\s*$/.test(n)},escapeRegExChars:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(n){return"string"==typeof n},isNumber:function(n){return"number"==typeof n},isArray:n.isArray,isFunction:n.isFunction,isObject:n.isPlainObject,isUndefined:function(n){return"undefined"==typeof n},isElement:function(n){return!(!n||1!==n.nodeType)},isJQuery:function(t){return t instanceof n},toStr:function(n){return t.isUndefined(n)||null===n?"":n+""},bind:n.proxy,each:function(t,i){function r(n,t){return i(t,n)}n.each(t,r)},map:n.map,filter:n.grep,every:function(t,i){var r=!0;return t?(n.each(t,function(n,u){if(!(r=i.call(null,u,n,t)))return!1}),!!r):r},some:function(t,i){var r=!1;return t?(n.each(t,function(n,u){if((r=i.call(null,u,n,t)))return!1}),!!r):r},mixin:n.extend,identity:function(n){return n},clone:function(t){return n.extend(!0,{},t)},getIdGenerator:function(){var n=0;return function(){return n++}},templatify:function(t){function i(){return String(t)}return n.isFunction(t)?t:i},defer:function(n){setTimeout(n,0)},debounce:function(n,t,i){var r,u;return function(){var f,e,o=this,s=arguments;return f=function(){r=null;i||(u=n.apply(o,s))},e=i&&!r,clearTimeout(r),r=setTimeout(f,t),e&&(u=n.apply(o,s)),u}},throttle:function(n,t){var u,f,i,e,r,o;return r=0,o=function(){r=new Date;i=null;e=n.apply(u,f)},function(){var s=new Date,h=t-(s-r);return u=this,f=arguments,0>=h?(clearTimeout(i),i=null,r=s,e=n.apply(u,f)):i||(i=setTimeout(o,h)),e}},stringify:function(n){return t.isString(n)?n:JSON.stringify(n)},noop:function(){}}}(),u="0.11.1",f=function(){"use strict";function n(n){return n=t.toStr(n),n?n.split(/\s+/):[]}function i(n){return n=t.toStr(n),n?n.split(/\W+/):[]}function r(n){return function(i){return i=t.isArray(i)?i:[].slice.call(arguments,0),function(r){var u=[];return t.each(i,function(i){u=u.concat(n(t.toStr(r[i])))}),u}}}return{nonword:i,whitespace:n,obj:{nonword:r(i),whitespace:r(n)}}}(),i=function(){"use strict";function i(i){this.maxSize=t.isNumber(i)?i:100;this.reset();this.maxSize<=0&&(this.set=this.get=n.noop)}function r(){this.head=this.tail=null}function u(n,t){this.key=n;this.val=t;this.prev=this.next=null}return t.mixin(i.prototype,{set:function(n,t){var i,r=this.list.tail;this.size>=this.maxSize&&(this.list.remove(r),delete this.hash[r.key],this.size--);(i=this.hash[n])?(i.val=t,this.list.moveToFront(i)):(i=new u(n,t),this.list.add(i),this.hash[n]=i,this.size++)},get:function(n){var t=this.hash[n];if(t)return(this.list.moveToFront(t),t.val)},reset:function(){this.size=0;this.hash={};this.list=new r}}),t.mixin(r.prototype,{add:function(n){this.head&&(n.next=this.head,this.head.prev=n);this.head=n;this.tail=this.tail||n},remove:function(n){n.prev?n.prev.next=n.next:this.head=n.next;n.next?n.next.prev=n.prev:this.tail=n.prev},moveToFront:function(n){this.remove(n);this.add(n)}}),i}(),e=function(){"use strict";function r(n,r){this.prefix=["__",n,"__"].join("");this.ttlKey="__ttl__";this.keyMatcher=new RegExp("^"+t.escapeRegExChars(this.prefix));this.ls=r||i;!this.ls&&this._noop()}function u(){return(new Date).getTime()}function f(n){return JSON.stringify(t.isUndefined(n)?null:n)}function e(t){return n.parseJSON(t)}function o(n){for(var r,u=[],f=i.length,t=0;f>t;t++)(r=i.key(t)).match(n)&&u.push(r.replace(n,""));return u}var i;try{i=window.localStorage;i.setItem("~~~","!");i.removeItem("~~~")}catch(s){i=null}return t.mixin(r.prototype,{_prefix:function(n){return this.prefix+n},_ttlKey:function(n){return this._prefix(n)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=t.noop},_safeSet:function(n,t){try{this.ls.setItem(n,t)}catch(i){"QuotaExceededError"===i.name&&(this.clear(),this._noop())}},get:function(n){return this.isExpired(n)&&this.remove(n),e(this.ls.getItem(this._prefix(n)))},set:function(n,i,r){return t.isNumber(r)?this._safeSet(this._ttlKey(n),f(u()+r)):this.ls.removeItem(this._ttlKey(n)),this._safeSet(this._prefix(n),f(i))},remove:function(n){return this.ls.removeItem(this._ttlKey(n)),this.ls.removeItem(this._prefix(n)),this},clear:function(){for(var t=o(this.keyMatcher),n=t.length;n--;)this.remove(t[n]);return this},isExpired:function(n){var i=e(this.ls.getItem(this._ttlKey(n)));return t.isNumber(i)&&u()>i?!0:!1}}),r}(),r=function(){"use strict";function r(n){n=n||{};this.cancelled=!1;this.lastReq=null;this._send=n.transport;this._get=n.limiter?n.limiter(this._get):this._get;this._cache=n.cache===!1?new i(0):o}var u=0,f={},e=6,o=new i(10);return r.setMaxPendingRequests=function(n){e=n},r.resetCache=function(){o.reset()},t.mixin(r.prototype,{_fingerprint:function(t){return t=t||{},t.url+t.type+n.param(t.data||{})},_get:function(n,t){function o(n){t(null,n);r._cache.set(i,n)}function s(){t(!0)}function c(){u--;delete f[i];r.onDeckRequestArgs&&(r._get.apply(r,r.onDeckRequestArgs),r.onDeckRequestArgs=null)}var i,h,r=this;i=this._fingerprint(n);this.cancelled||i!==this.lastReq||((h=f[i])?h.done(o).fail(s):e>u?(u++,f[i]=this._send(n).done(o).fail(s).always(c)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(i,r){var f,u;r=r||n.noop;i=t.isString(i)?{url:i}:i||{};u=this._fingerprint(i);this.cancelled=!1;this.lastReq=u;(f=this._cache.get(u))?r(null,f):this._get(i,r)},cancel:function(){this.cancelled=!0}}),r}(),o=window.SearchIndex=function(){"use strict";function u(i){i=i||{};i.datumTokenizer&&i.queryTokenizer||n.error("datumTokenizer and queryTokenizer are both required");this.identify=i.identify||t.stringify;this.datumTokenizer=i.datumTokenizer;this.queryTokenizer=i.queryTokenizer;this.matchAnyQueryToken=i.matchAnyQueryToken;this.reset()}function f(n){return n=t.filter(n,function(n){return!!n}),n=t.map(n,function(n){return n.toLowerCase()})}function e(){var n={};return n[r]=[],n[i]={},n}function o(n){for(var i={},r=[],t=0,u=n.length;u>t;t++)i[n[t]]||(i[n[t]]=!0,r.push(n[t]));return r}function s(n,t){var i=0,r=0,u=[],f,e;for(n=n.sort(),t=t.sort(),f=n.length,e=t.length;f>i&&e>r;)n[i]<t[r]?i++:n[i]>t[r]?r++:(u.push(n[i]),i++,r++);return u}var i="c",r="i";return t.mixin(u.prototype,{bootstrap:function(n){this.datums=n.datums;this.trie=n.trie},add:function(n){var u=this;n=t.isArray(n)?n:[n];t.each(n,function(n){var o,s;u.datums[o=u.identify(n)]=n;s=f(u.datumTokenizer(n));t.each(s,function(n){for(var f,t=u.trie,s=n.split("");f=s.shift();)t=t[i][f]||(t[i][f]=e()),t[r].push(o)})})},get:function(n){var i=this;return t.map(n,function(n){return i.datums[n]})},search:function(n){var h,u,e=this;return h=f(this.queryTokenizer(n)),t.each(h,function(n){var t,f,h,o;if(u&&0===u.length&&!e.matchAnyQueryToken)return!1;for(t=e.trie,f=n.split("");t&&(h=f.shift());)t=t[i][h];if(t&&0===f.length)o=t[r].slice(0),u=u?s(u,o):o;else if(!e.matchAnyQueryToken)return u=[],!1}),u?t.map(o(u),function(n){return e.datums[n]}):[]},all:function(){var n=[],t;for(t in this.datums)n.push(this.datums[t]);return n},reset:function(){this.datums={};this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),u}(),s=function(){"use strict";function i(n){this.url=n.url;this.ttl=n.ttl;this.cache=n.cache;this.prepare=n.prepare;this.transform=n.transform;this.transport=n.transport;this.thumbprint=n.thumbprint;this.storage=new e(n.cacheKey)}var n;return n={data:"data",protocol:"protocol",thumbprint:"thumbprint"},t.mixin(i.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(t){this.cache&&(this.storage.set(n.data,t,this.ttl),this.storage.set(n.protocol,location.protocol,this.ttl),this.storage.set(n.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var i,t={};return this.cache?(t.data=this.storage.get(n.data),t.protocol=this.storage.get(n.protocol),t.thumbprint=this.storage.get(n.thumbprint),i=t.thumbprint!==this.thumbprint||t.protocol!==location.protocol,t.data&&!i?t.data:null):null},fromNetwork:function(n){function i(){n(!0)}function r(t){n(null,u.transform(t))}var t,u=this;n&&(t=this.prepare(this._settings()),this.transport(t).fail(i).done(r))},clear:function(){return this.storage.clear(),this}}),i}(),h=function(){"use strict";function n(n){this.url=n.url;this.prepare=n.prepare;this.transform=n.transform;this.indexResponse=n.indexResponse;this.transport=new r({cache:n.cache,limiter:n.limiter,transport:n.transport})}return t.mixin(n.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(n,t){function r(n,i){t(n?[]:u.transform(i))}var i,u=this;if(t)return n=n||"",i=this.prepare(n,this._settings()),this.transport.get(i,r)},cancelLastRequest:function(){this.transport.cancel()}}),n}(),c=function(){"use strict";function r(r){var f;return r?(f={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:t.identity,transform:t.identity,transport:null},r=t.isString(r)?{url:r}:r,r=t.mixin(f,r),!r.url&&n.error("prefetch requires url to be set"),r.transform=r.filter||r.transform,r.cacheKey=r.cacheKey||r.url,r.thumbprint=u+r.thumbprint,r.transport=r.transport?i(r.transport):n.ajax,r):null}function f(r){var u;if(r)return u={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:t.identity,transport:null},r=t.isString(r)?{url:r}:r,r=t.mixin(u,r),!r.url&&n.error("remote requires url to be set"),r.transform=r.filter||r.transform,r.prepare=e(r),r.limiter=o(r),r.transport=r.transport?i(r.transport):n.ajax,delete r.replace,delete r.wildcard,delete r.rateLimitBy,delete r.rateLimitWait,r}function e(n){function u(n,t){return t.url=i(t.url,n),t}function f(n,t){return t.url=t.url.replace(r,encodeURIComponent(n)),t}function e(n,t){return t}var t,i,r;return t=n.prepare,i=n.replace,r=n.wildcard,t?t:t=i?u:n.wildcard?f:e}function o(n){function f(n){return function(i){return t.debounce(i,n)}}function e(n){return function(i){return t.throttle(i,n)}}var i,u,r;return i=n.limiter,u=n.rateLimitBy,r=n.rateLimitWait,i||(i=/^throttle$/i.test(u)?e(r):f(r)),i}function i(i){return function(r){function f(n){t.defer(function(){u.resolve(n)})}function e(n){t.defer(function(){u.reject(n)})}var u=n.Deferred();return i(r,f,e),u}}return function(i){var e,u;return e={initialize:!0,identify:t.stringify,datumTokenizer:null,queryTokenizer:null,matchAnyQueryToken:!1,sufficient:5,indexRemote:!1,sorter:null,local:[],prefetch:null,remote:null},i=t.mixin(e,i||{}),!i.datumTokenizer&&n.error("datumTokenizer is required"),!i.queryTokenizer&&n.error("queryTokenizer is required"),u=i.sorter,i.sorter=u?function(n){return n.sort(u)}:t.identity,i.local=t.isFunction(i.local)?i.local():i.local,i.prefetch=r(i.prefetch),i.remote=f(i.remote),i}}();return function(){"use strict";function i(n){n=c(n);this.sorter=n.sorter;this.identify=n.identify;this.sufficient=n.sufficient;this.indexRemote=n.indexRemote;this.local=n.local;this.remote=n.remote?new h(n.remote):null;this.prefetch=n.prefetch?new s(n.prefetch):null;this.index=new o({identify:this.identify,datumTokenizer:n.datumTokenizer,queryTokenizer:n.queryTokenizer});n.initialize!==!1&&this.initialize()}var u;return u=window&&window.Bloodhound,i.noConflict=function(){return window&&(window.Bloodhound=u),i},i.tokenizers=f,t.mixin(i.prototype,{__ttAdapter:function(){function t(t,i,r){return n.search(t,i,r)}function i(t,i){return n.search(t,i)}var n=this;return this.remote?t:i},_loadPrefetch:function(){function u(n,r){return n?t.reject():(i.add(r),i.prefetch.store(i.index.serialize()),void t.resolve())}var t,r,i=this;return t=n.Deferred(),this.prefetch?(r=this.prefetch.fromCache())?(this.index.bootstrap(r),t.resolve()):this.prefetch.fromNetwork(u):t.resolve(),t.promise()},_initialize:function(){function t(){n.add(n.local)}var n=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(t),this.initPromise},initialize:function(n){return!this.initPromise||n?this._initialize():this.initPromise},add:function(n){return this.index.add(n),this},get:function(n){return n=t.isArray(n)?n:[].slice.call(arguments),this.index.get(n)},search:function(n,i,r){function e(n){var i=[];t.each(n,function(n){t.some(u,function(t){return f.identify(n)===f.identify(t)})||i.push(n)});f.indexRemote&&f.add(i);r(i)}var u,f=this;return i=i||t.noop,r=r||t.noop,u=this.sorter(this.index.search(n)),i(this.remote?u.slice():u),this.remote&&u.length<this.sufficient?this.remote.get(n,e):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return r.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),i}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){var t=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(n){return!n||/^\s*$/.test(n)},escapeRegExChars:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(n){return"string"==typeof n},isNumber:function(n){return"number"==typeof n},isArray:n.isArray,isFunction:n.isFunction,isObject:n.isPlainObject,isUndefined:function(n){return"undefined"==typeof n},isElement:function(n){return!(!n||1!==n.nodeType)},isJQuery:function(t){return t instanceof n},toStr:function(n){return t.isUndefined(n)||null===n?"":n+""},bind:n.proxy,each:function(t,i){function r(n,t){return i(t,n)}n.each(t,r)},map:n.map,filter:n.grep,every:function(t,i){var r=!0;return t?(n.each(t,function(n,u){if(!(r=i.call(null,u,n,t)))return!1}),!!r):r},some:function(t,i){var r=!1;return t?(n.each(t,function(n,u){if((r=i.call(null,u,n,t)))return!1}),!!r):r},mixin:n.extend,identity:function(n){return n},clone:function(t){return n.extend(!0,{},t)},getIdGenerator:function(){var n=0;return function(){return n++}},templatify:function(t){function i(){return String(t)}return n.isFunction(t)?t:i},defer:function(n){setTimeout(n,0)},debounce:function(n,t,i){var r,u;return function(){var f,e,o=this,s=arguments;return f=function(){r=null;i||(u=n.apply(o,s))},e=i&&!r,clearTimeout(r),r=setTimeout(f,t),e&&(u=n.apply(o,s)),u}},throttle:function(n,t){var u,f,i,e,r,o;return r=0,o=function(){r=new Date;i=null;e=n.apply(u,f)},function(){var s=new Date,h=t-(s-r);return u=this,f=arguments,0>=h?(clearTimeout(i),i=null,r=s,e=n.apply(u,f)):i||(i=setTimeout(o,h)),e}},stringify:function(n){return t.isString(n)?n:JSON.stringify(n)},noop:function(){}}}(),e=function(){"use strict";function n(n){var e,o;return o=t.mixin({},f,n),e={css:u(),classes:o,html:i(o),selectors:r(o)},{css:e.css,html:e.html,classes:e.classes,selectors:e.selectors,mixin:function(n){t.mixin(n,e)}}}function i(n){return{wrapper:'<span class="'+n.wrapper+'"><\/span>',menu:'<div class="'+n.menu+'"><\/div>'}}function r(n){var i={};return t.each(n,function(n,t){i[t]="."+n}),i}function u(){var n={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return t.isMsie()&&t.mixin(n.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),n}var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return n}(),o=function(){"use strict";function i(t){t&&t.el||n.error("EventBus initialized without el");this.$el=n(t.el)}var r,u;return r="typeahead:",u={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},t.mixin(i.prototype,{_trigger:function(t,i){var u;return u=n.Event(r+t),(i=i||[]).unshift(u),this.$el.trigger.apply(this.$el,i),u},before:function(n){var t,i;return t=[].slice.call(arguments,1),i=this._trigger("before"+n,t),i.isDefaultPrevented()},trigger:function(n){var t;this._trigger(n,[].slice.call(arguments,1));(t=u[n])&&this._trigger(t,[].slice.call(arguments,1))}}),i}(),r=function(){"use strict";function t(t,i,r,u){var f;if(!r)return this;for(i=i.split(n),r=u?s(r,u):r,this._callbacks=this._callbacks||{};f=i.shift();)this._callbacks[f]=this._callbacks[f]||{sync:[],async:[]},this._callbacks[f][t].push(r);return this}function r(n,i,r){return t.call(this,"async",n,i,r)}function u(n,i,r){return t.call(this,"sync",n,i,r)}function f(t){var i;if(!this._callbacks)return this;for(t=t.split(n);i=t.shift();)delete this._callbacks[i];return this}function e(t){var r,u,f,e,o;if(!this._callbacks)return this;for(t=t.split(n),f=[].slice.call(arguments,1);(r=t.shift())&&(u=this._callbacks[r]);)e=i(u.sync,this,[r].concat(f)),o=i(u.async,this,[r].concat(f)),e()&&h(o);return this}function i(n,t,i){function r(){for(var r,u=0,f=n.length;!r&&f>u;u+=1)r=n[u].apply(t,i)===!1;return!r}return r}function o(){return window.setImmediate?function(n){setImmediate(function(){n()})}:function(n){setTimeout(function(){n()},0)}}function s(n,t){return n.bind?n.bind(t):function(){n.apply(t,[].slice.call(arguments,0))}}var n=/\s+/,h=o();return{onSync:u,onAsync:r,off:f,trigger:e}}(),s=function(n){"use strict";function i(n,i,r){for(var u,f=[],e=0,o=n.length;o>e;e++)f.push(t.escapeRegExChars(n[e]));return u=r?"\\b("+f.join("|")+")\\b":"("+f.join("|")+")",i?new RegExp(u):new RegExp(u,"i")}var r={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(u){function o(t){var i,r,f;return(i=e.exec(t.data))&&(f=n.createElement(u.tagName),u.className&&(f.className=u.className),r=t.splitText(i.index),r.splitText(i[0].length),f.appendChild(r.cloneNode(!0)),t.parentNode.replaceChild(f,r)),!!i}function f(n,t){for(var i,r=0;r<n.childNodes.length;r++)i=n.childNodes[r],i.nodeType===3?r+=t(i)?1:0:f(i,t)}var e;u=t.mixin({},r,u);u.node&&u.pattern&&(u.pattern=t.isArray(u.pattern)?u.pattern:[u.pattern],e=i(u.pattern,u.caseSensitive,u.wordsOnly),f(u.node,o))}}(window.document),u=function(){"use strict";function i(i,r){i=i||{};i.input||n.error("input is missing");r.mixin(this);this.$hint=n(i.hint);this.$input=n(i.input);this.query=this.$input.val();this.queryWhenFocused=this.hasFocus()?this.query:null;this.$overflowHelper=e(this.$input);this._checkLanguageDirection();0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=t.noop)}function e(t){return n('<pre aria-hidden="true"><\/pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)}function o(n,t){return i.normalizeQuery(n)===i.normalizeQuery(t)}function f(n){return n.altKey||n.ctrlKey||n.metaKey||n.shiftKey}var u;return u={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},i.normalizeQuery=function(n){return t.toStr(n).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},t.mixin(i.prototype,r,{_onBlur:function(){this.resetInputValue();this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query;this.trigger("focused")},_onKeydown:function(n){var t=u[n.which||n.keyCode];this._managePreventDefault(t,n);t&&this._shouldTrigger(t,n)&&this.trigger(t+"Keyed",n)},_onInput:function(){this._setQuery(this.getInputValue());this.clearHintIfInvalid();this._checkLanguageDirection()},_managePreventDefault:function(n,t){var i;switch(n){case"up":case"down":i=!f(t);break;default:i=!1}i&&t.preventDefault()},_shouldTrigger:function(n,t){var i;switch(n){case"tab":i=!f(t);break;default:i=!0}return i},_checkLanguageDirection:function(){var n=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==n&&(this.dir=n,this.$hint.attr("dir",n),this.trigger("langDirChanged",n))},_setQuery:function(n,t){var i,r;i=o(n,this.query);r=i?this.query.length!==n.length:!1;this.query=n;t||i?!t&&r&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var n,i,r,f,e=this;return n=t.bind(this._onBlur,this),i=t.bind(this._onFocus,this),r=t.bind(this._onKeydown,this),f=t.bind(this._onInput,this),this.$input.on("blur.tt",n).on("focus.tt",i).on("keydown.tt",r),!t.isMsie()||t.isMsie()>9?this.$input.on("input.tt",f):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(n){u[n.which||n.keyCode]||t.defer(t.bind(e._onInput,e,n))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(n,t){this.setInputValue(n);this._setQuery(n,t)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(n){this.$input.val(n);this.clearHintIfInvalid();this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(n){this.$hint.val(n)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var n,t,i,r;n=this.getInputValue();t=this.getHint();i=n!==t&&0===t.indexOf(n);r=""!==n&&i&&!this.hasOverflow();!r&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var n=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=n},isCursorAtEnd:function(){var n,i,r;return n=this.$input.val().length,i=this.$input[0].selectionStart,t.isNumber(i)?i===n:document.selection?(r=document.selection.createRange(),r.moveStart("character",-n),n===r.text.length):!0},destroy:function(){this.$hint.off(".tt");this.$input.off(".tt");this.$overflowHelper.remove();this.$hint=this.$input=this.$overflowHelper=n("<div>")}}),i}(),f=function(){"use strict";function u(i,r){i=i||{};i.templates=i.templates||{};i.templates.notFound=i.templates.notFound||i.templates.empty;i.source||n.error("missing source");i.node||n.error("missing node");i.name&&!h(i.name)&&n.error("invalid dataset name: "+i.name);r.mixin(this);this.highlight=!!i.highlight;this.name=i.name||f();this.limit=i.limit||5;this.displayFn=e(i.display||i.displayKey);this.templates=o(i.templates,this.displayFn);this.source=i.source.__ttAdapter?i.source.__ttAdapter():i.source;this.async=t.isUndefined(i.async)?this.source.length>2:!!i.async;this._resetLastSuggestion();this.$el=n(i.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}function e(n){function i(t){return t[n]}return n=n||t.stringify,t.isFunction(n)?n:i}function o(i,r){function u(t){return n("<div>").text(r(t))}return{notFound:i.notFound&&t.templatify(i.notFound),pending:i.pending&&t.templatify(i.pending),header:i.header&&t.templatify(i.header),footer:i.footer&&t.templatify(i.footer),suggestion:i.suggestion||u}}function h(n){return/^[_a-zA-Z0-9-]+$/.test(n)}var i,f;return i={val:"tt-selectable-display",obj:"tt-selectable-object"},f=t.getIdGenerator(),u.extractData=function(t){var r=n(t);return r.data(i.obj)?{val:r.data(i.val)||"",obj:r.data(i.obj)||null}:null},t.mixin(u.prototype,r,{_overwrite:function(n,t){t=t||[];t.length?this._renderSuggestions(n,t):this.async&&this.templates.pending?this._renderPending(n):!this.async&&this.templates.notFound?this._renderNotFound(n):this._empty();this.trigger("rendered",this.name,t,!1)},_append:function(n,t){t=t||[];t.length&&this.$lastSuggestion.length?this._appendSuggestions(n,t):t.length?this._renderSuggestions(n,t):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(n);this.trigger("rendered",this.name,t,!0)},_renderSuggestions:function(n,t){var i;i=this._getSuggestionsFragment(n,t);this.$lastSuggestion=i.children().last();this.$el.html(i).prepend(this._getHeader(n,t)).append(this._getFooter(n,t))},_appendSuggestions:function(n,t){var i,r;i=this._getSuggestionsFragment(n,t);r=i.children().last();this.$lastSuggestion.after(i);this.$lastSuggestion=r},_renderPending:function(n){var t=this.templates.pending;this._resetLastSuggestion();t&&this.$el.html(t({query:n,dataset:this.name}))},_renderNotFound:function(n){var t=this.templates.notFound;this._resetLastSuggestion();t&&this.$el.html(t({query:n,dataset:this.name}))},_empty:function(){this.$el.empty();this._resetLastSuggestion()},_getSuggestionsFragment:function(r,u){var e,f=this;return e=document.createDocumentFragment(),t.each(u,function(t){var u,o;o=f._injectQuery(r,t);u=n(f.templates.suggestion(o)).data(i.obj,t).data(i.val,f.displayFn(t)).addClass(f.classes.suggestion+" "+f.classes.selectable);e.appendChild(u[0])}),this.highlight&&s({className:this.classes.highlight,node:e,pattern:r}),n(e)},_getFooter:function(n,t){return this.templates.footer?this.templates.footer({query:n,suggestions:t,dataset:this.name}):null},_getHeader:function(n,t){return this.templates.header?this.templates.header({query:n,suggestions:t,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=n()},_injectQuery:function(n,i){return t.isObject(i)?t.mixin({_query:n},i):i},update:function(t){function f(n){u||(u=!0,n=(n||[]).slice(0,i.limit),r=n.length,i._overwrite(t,n),r<i.limit&&i.async&&i.trigger("asyncRequested",t))}function o(u){u=u||[];!e&&r<i.limit&&(i.cancel=n.noop,i._append(t,u.slice(0,i.limit-r)),r+=u.length,i.async&&i.trigger("asyncReceived",t))}var i=this,e=!1,u=!1,r=0;this.cancel();this.cancel=function(){e=!0;i.cancel=n.noop;i.async&&i.trigger("asyncCanceled",t)};this.source(t,f,o);!u&&f([])},cancel:n.noop,clear:function(){this._empty();this.cancel();this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=n("<div>")}}),u}(),i=function(){"use strict";function i(i,r){function e(t){var i=u.$node.find(t.node).first();return t.node=i.length?i:n("<div>").appendTo(u.$node),new f(t,r)}var u=this;i=i||{};i.node||n.error("node is required");r.mixin(this);this.$node=n(i.node);this.query=null;this.datasets=t.map(i.datasets,e)}return t.mixin(i.prototype,r,{_onSelectableClick:function(t){this.trigger("selectableClicked",n(t.currentTarget))},_onRendered:function(n,t,i,r){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty());this.trigger("datasetRendered",t,i,r)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty());this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){function n(n){return n.isEmpty()}return t.every(this.datasets,n)},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var n=this.getActiveSelectable();n&&n.removeClass(this.classes.cursor)},_ensureVisible:function(n){var t,i,r,u;t=n.position().top;i=t+n.outerHeight(!0);r=this.$node.scrollTop();u=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10);0>t?this.$node.scrollTop(r+t):i>u&&this.$node.scrollTop(r+(i-u))},bind:function(){var r,i=this;return r=t.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,r),this.$node.on("mouseover",this.selectors.selectable,function(){i.setCursor(n(this))}),t.each(this.datasets,function(n){n.onSync("asyncRequested",i._propagate,i).onSync("asyncCanceled",i._propagate,i).onSync("asyncReceived",i._propagate,i).onSync("rendered",i._onRendered,i).onSync("cleared",i._onCleared,i)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.scrollTop(0);this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open);this._removeCursor()},setLanguageDirection:function(n){this.$node.attr("dir",n)},selectableRelativeToCursor:function(n){var i,r,u,t;return r=this.getActiveSelectable(),i=this._getSelectables(),u=r?i.index(r):-1,t=u+n,t=(t+1)%(i.length+1)-1,t=-1>t?i.length-1:t,-1===t?null:i.eq(t)},setCursor:function(n){this._removeCursor();(n=n&&n.first())&&(n.addClass(this.classes.cursor),this._ensureVisible(n))},getSelectableData:function(n){return n&&n.length?f.extractData(n):null},getActiveSelectable:function(){var n=this._getSelectables().filter(this.selectors.cursor).first();return n.length?n:null},getTopSelectable:function(){var n=this._getSelectables().first();return n.length?n:null},update:function(n){function r(t){t.update(n)}var i=n!==this.query;return i&&(this.query=n,t.each(this.datasets,r)),i},empty:function(){function n(n){n.clear()}t.each(this.datasets,n);this.query=null;this.$node.addClass(this.classes.empty)},destroy:function(){function i(n){n.destroy()}this.$node.off(".tt");this.$node=n("<div>");t.each(this.datasets,i)}}),i}(),h=function(){"use strict";function r(){i.apply(this,[].slice.call(arguments,0))}var n=i.prototype;return t.mixin(r.prototype,i.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),n.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),n.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(t){return this.$node.css("ltr"===t?this.css.ltr:this.css.rtl),n.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),r}(),c=function(){"use strict";function r(r,u){var f,e,o,s,h,c,l,a,v,y,p;r=r||{};r.input||n.error("missing input");r.menu||n.error("missing menu");r.eventBus||n.error("missing event bus");u.mixin(this);this.eventBus=r.eventBus;this.minLength=t.isNumber(r.minLength)?r.minLength:1;this.input=r.input;this.menu=r.menu;this.enabled=!0;this.active=!1;this.input.hasFocus()&&this.activate();this.dir=this.input.getLangDir();this._hacks();this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this);f=i(this,"activate","open","_onFocused");e=i(this,"deactivate","_onBlurred");o=i(this,"isActive","isOpen","_onEnterKeyed");s=i(this,"isActive","isOpen","_onTabKeyed");h=i(this,"isActive","_onEscKeyed");c=i(this,"isActive","open","_onUpKeyed");l=i(this,"isActive","open","_onDownKeyed");a=i(this,"isActive","isOpen","_onLeftKeyed");v=i(this,"isActive","isOpen","_onRightKeyed");y=i(this,"_openIfActive","_onQueryChanged");p=i(this,"_openIfActive","_onWhitespaceChanged");this.input.bind().onSync("focused",f,this).onSync("blurred",e,this).onSync("enterKeyed",o,this).onSync("tabKeyed",s,this).onSync("escKeyed",h,this).onSync("upKeyed",c,this).onSync("downKeyed",l,this).onSync("leftKeyed",a,this).onSync("rightKeyed",v,this).onSync("queryChanged",y,this).onSync("whitespaceChanged",p,this).onSync("langDirChanged",this._onLangDirChanged,this)}function i(n){var i=[].slice.call(arguments,1);return function(){var r=[].slice.call(arguments);t.each(i,function(t){return n[t].apply(n,r)})}}return t.mixin(r.prototype,{_hacks:function(){var r,i;r=this.input.$input||n("<div>");i=this.menu.$node||n("<div>");r.on("blur.tt",function(n){var u,f,e;u=document.activeElement;f=i.is(u);e=i.has(u).length>0;t.isMsie()&&(f||e)&&(n.preventDefault(),n.stopImmediatePropagation(),t.defer(function(){r.focus()}))});i.on("mousedown.tt",function(n){n.preventDefault()})},_onSelectableClicked:function(n,t){this.select(t)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(n,t,i,r){this._updateHint();this.eventBus.trigger("render",i,r,t)},_onAsyncRequested:function(n,t,i){this.eventBus.trigger("asyncrequest",i,t)},_onAsyncCanceled:function(n,t,i){this.eventBus.trigger("asynccancel",i,t)},_onAsyncReceived:function(n,t,i){this.eventBus.trigger("asyncreceive",i,t)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(n,t){var i;(i=this.menu.getActiveSelectable())&&this.select(i)&&t.preventDefault()},_onTabKeyed:function(n,t){var i;(i=this.menu.getActiveSelectable())?this.select(i)&&t.preventDefault():(i=this.menu.getTopSelectable())&&this.autocomplete(i)&&t.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onQueryChanged:function(n,t){this._minLengthMet(t)?this.menu.update(t):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(n,t){this.dir!==t&&(this.dir=t,this.menu.setLanguageDirection(t))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(n){return n=t.isString(n)?n:this.input.getQuery()||"",n.length>=this.minLength},_updateHint:function(){var f,i,n,e,o,s,r;f=this.menu.getTopSelectable();i=this.menu.getSelectableData(f);n=this.input.getInputValue();!i||t.isBlankString(n)||this.input.hasOverflow()?this.input.clearHint():(e=u.normalizeQuery(n),o=t.escapeRegExChars(e),s=new RegExp("^(?:"+o+")(.+$)","i"),r=s.exec(i.val),r&&this.input.setHint(n+r[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(n){this.input.setQuery(t.toStr(n))},getVal:function(){return this.input.getQuery()},select:function(n){var t=this.menu.getSelectableData(n);return t&&!this.eventBus.before("select",t.obj)?(this.input.setQuery(t.val,!0),this.eventBus.trigger("select",t.obj),this.close(),!0):!1},autocomplete:function(n){var i,t,r;return i=this.input.getQuery(),t=this.menu.getSelectableData(n),r=t&&i!==t.val,r&&!this.eventBus.before("autocomplete",t.obj)?(this.input.setQuery(t.val),this.eventBus.trigger("autocomplete",t.obj),!0):!1},moveCursor:function(n){var u,i,t,r,f;return u=this.input.getQuery(),i=this.menu.selectableRelativeToCursor(n),t=this.menu.getSelectableData(i),r=t?t.obj:null,f=this._minLengthMet()&&this.menu.update(u),f||this.eventBus.before("cursorchange",r)?!1:(this.menu.setCursor(i),t?this.input.setInputValue(t.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",r),!0)},destroy:function(){this.input.destroy();this.menu.destroy()}}),r}();!function(){"use strict";function r(t,i){t.each(function(){var t,r=n(this);(t=r.data(f.typeahead))&&i(t,r)})}function v(n,t){return n.clone().addClass(t.classes.hint).removeData().css(t.css.hint).css(p(n)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function y(n,t){n.data(f.attrs,{dir:n.attr("dir"),autocomplete:n.attr("autocomplete"),spellcheck:n.attr("spellcheck"),style:n.attr("style")});n.addClass(t.classes.input).attr({autocomplete:"off",spellcheck:!1});try{n.attr("dir")||n.attr("dir","auto")}catch(i){}return n}function p(n){return{backgroundAttachment:n.css("background-attachment"),backgroundClip:n.css("background-clip"),backgroundColor:n.css("background-color"),backgroundImage:n.css("background-image"),backgroundOrigin:n.css("background-origin"),backgroundPosition:n.css("background-position"),backgroundRepeat:n.css("background-repeat"),backgroundSize:n.css("background-size")}}function w(n){var r,i;r=n.data(f.www);i=n.parent().filter(r.selectors.wrapper);t.each(n.data(f.attrs),function(i,r){t.isUndefined(i)?n.removeAttr(r):n.attr(r,i)});n.removeData(f.typeahead).removeData(f.www).removeData(f.attr).removeClass(r.classes.input);i.length&&(n.detach().insertAfter(i),i.remove())}function l(i){var u,r;return u=t.isJQuery(i)||t.isElement(i),r=u?n(i).first():[],r.length?r:null}var a,f,s;a=n.fn.typeahead;f={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"};s={initialize:function(r,s){function p(){var e,d,p,w,b,k,g,nt,tt,it,rt;t.each(s,function(n){n.highlight=!!r.highlight});e=n(this);d=n(a.html.wrapper);p=l(r.hint);w=l(r.menu);b=r.hint!==!1&&!p;k=r.menu!==!1&&!w;b&&(p=v(e,a));k&&(w=n(a.html.menu).css(a.css.menu));p&&p.val("");e=y(e,a);(b||k)&&(d.css(a.css.wrapper),e.css(b?a.css.input:a.css.inputWithNoHint),e.wrap(d).parent().prepend(b?p:null).append(k?w:null));rt=k?h:i;g=new o({el:e});nt=new u({hint:p,input:e},a);tt=new rt({node:w,datasets:s},a);it=new c({input:nt,menu:tt,eventBus:g,minLength:r.minLength},a);e.data(f.www,a);e.data(f.typeahead,it)}var a;return s=t.isArray(s)?s:[].slice.call(arguments,1),r=r||{},a=e(r.classNames),this.each(p)},isEnabled:function(){var n;return r(this.first(),function(t){n=t.isEnabled()}),n},enable:function(){return r(this,function(n){n.enable()}),this},disable:function(){return r(this,function(n){n.disable()}),this},isActive:function(){var n;return r(this.first(),function(t){n=t.isActive()}),n},activate:function(){return r(this,function(n){n.activate()}),this},deactivate:function(){return r(this,function(n){n.deactivate()}),this},isOpen:function(){var n;return r(this.first(),function(t){n=t.isOpen()}),n},open:function(){return r(this,function(n){n.open()}),this},close:function(){return r(this,function(n){n.close()}),this},select:function(t){var i=!1,u=n(t);return r(this.first(),function(n){i=n.select(u)}),i},autocomplete:function(t){var i=!1,u=n(t);return r(this.first(),function(n){i=n.autocomplete(u)}),i},moveCursor:function(n){var t=!1;return r(this.first(),function(i){t=i.moveCursor(n)}),t},val:function(n){var i;return arguments.length?(r(this,function(i){i.setVal(t.toStr(n))}),this):(r(this.first(),function(n){i=n.getVal()}),i)},destroy:function(){return r(this,function(n,t){w(t);n.destroy()}),this}};n.fn.typeahead=function(n){return s[n]?s[n].apply(this,[].slice.call(arguments,1)):s.initialize.apply(this,arguments)};n.fn.typeahead.noConflict=function(){return n.fn.typeahead=a,this}}()});!function(){function ut(n,t){var i=window.getComputedStyle(n).transition;return i.includes("height")||i.includes("all ")||(i+=""===i?"height 0.25s ease-in-out":", height 0.25s ease-in-out"),t&&!i.includes("opacity")&&(i+=", opacity 0.35s linear"),i}function et(n,t){var i=it();n.id="btn-".concat(i);n.setAttribute("aria-controls","content-".concat(i));t.id="content-".concat(i);t.setAttribute("aria-labelledby","btn-".concat(i))}function ot(n){var t=n.currentTarget,i=document.getElementById(t.getAttribute("aria-controls"));"false"===t.getAttribute("aria-expanded")?function(n,t){n.setAttribute("aria-label","Close ".concat(n.innerText));(n.closest(".faq-item")||n.closest(".accordion__item")).classList.add("expanded");t.classList.add("expanded");c(t,n,!0)}(t,i):function(n,t){n.setAttribute("aria-label","Open ".concat(n.innerText));(n.closest(".faq-item")||n.closest(".accordion__item")).classList.remove("expanded");t.classList.remove("expanded");l(t,n,!0)}(t,i)}function yt(n){"Escape"===n.key&&ft.focus({focusVisible:!1,preventScroll:!0})}function v(n){var t=n.focusTarget,i=n.previousElem,u=n.focusContainer,f=n.focusFirstElement,e=n.focusCloseBtn;r={focusTarget:t,previousElem:i,focusContainer:u||t,focusCloseBtn:e};a||(t.tabindex||k(t)||t.setAttribute("tabindex","-1"),f?(st(t),r.lastFocus=document.activeElement):(t.focus({preventScroll:!0}),r.lastFocus=t),document.addEventListener("focus",ht,!0))}function g(){document.removeEventListener("focus",ht,!0);r.previousElem.focus({preventScroll:!0});setTimeout(function(){r={}},0)}var e=function(){return"object"==("undefined"==typeof Sitecore?"undefined":_typeof(Sitecore))&&!!(Sitecore&&Sitecore.PageModes&&Sitecore.PageModes.PageEditor)},h=function(n,t){t||(t=15);n.jquery&&"object"==_typeof(n)||(n=$(n));n.length&&($("html, body").animate({scrollTop:n.offset().top-t},800),n.focus())},ct,lt,nt,y;document.anchorScroll=h;var tt=1,it=function(){var n=Date.now()*tt;return tt+=1,n},rt={events:{},on:function(n,t){this.events[n]=this.events[n]||[];this.events[n].push(t)},off:function(n,t){if(this.events[n])for(var i=0;i<this.events[n].length;i+=1)if(this.events[n][i]===t){this.events[n].splice(i,1);break}},trigger:function(n,t){this.events[n]&&this.events[n].forEach(function(n){n(t)})}};document.events=rt;var t=rt,o=!1,s=function(n,t,i,r){i&&h(n);r?n.slideUp("fast"):n.addClass("expanded").attr("aria-expanded",!0);t.attr("aria-hidden",!1).hide().removeClass("visuallyhidden").slideDown(300);setTimeout(function(){t.css({opacity:1})},150)},p=function(n,t,i,r){n.removeClass("expanded").attr("aria-expanded",!1);var u=!1===i?{opacity:1}:{opacity:0};t.css(u).slideUp(300,function(){!1!==r&&t.addClass("visuallyhidden").show();t.attr("style","").attr("aria-hidden",!0)})},at=function(n,t,i,r){i&&h(n);r?n.slideUp("fast"):(n.classList.add("expanded"),n.setAttribute("aria-expanded",!0));$(t).attr("aria-hidden",!1).hide().removeClass("visuallyhidden").slideDown(300);setTimeout(function(){t.style.opacity=1},150)},vt=function(n,t,i,r){n.classList.remove("expanded");n.setAttribute("aria-expanded",!1);var u=!1===i?1:0;t.style.opacity=u;$(t).slideUp(300,function(){!1!==r&&(t.classList.add("visuallyhidden"),$(t).show());t.style="";t.setAttribute("aria-hidden",!0)})};var ft,f,w,c=function(n,t,i){var u,f,r;o="opening";u=getComputedStyle(n).paddingBottom;n.style.transition=ut(n,i);i&&(n.style.opacity=0);n.style.height="0px";n.style.overflow="hidden";n.style.paddingBottom="0px";n.style.paddingTop="0px";n.removeAttribute("hidden");f=n.scrollHeight;t&&(r=t.getAttribute("aria-label"),r&&(r=r.replace("Expand","Collapse"),t.setAttribute("aria-label",r)),t.setAttribute("aria-expanded",!0),t.classList.add("expanded"));n.style.height="".concat(f+parseInt(u,10),"px");i&&(n.style.opacity=1);n.style.paddingBottom="";n.style.paddingTop="";n.addEventListener("transitionend",function(){"closing"!==o&&(n.removeAttribute("style"),o=!1)},{once:!0})},l=function(n,t,i){var u,r;o="closing";u=n.scrollHeight;t&&(r=t.getAttribute("aria-label"),r&&(r=r.replace("Collapse","Expand"),t.setAttribute("aria-label",r)),t.setAttribute("aria-expanded",!1),t.classList.remove("expanded"));n.style.transition=ut(n,i);i&&(n.style.opacity=1);requestAnimationFrame(function(){n.style.height="".concat(u,"px");requestAnimationFrame(function(){n.style.height="0px";n.style.overflow="hidden";n.style.paddingBottom="0px";n.style.paddingTop="0px";i&&(n.style.opacity=0)})});n.addEventListener("transitionend",function(){"opening"!==o&&(n.removeAttribute("style"),n.setAttribute("hidden",""),o=!1)},{once:!0})},b=document.getElementById("a11y-announce");b||(b=function(){var n=document.createElement("div");return n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.setAttribute("id","a11y-announce"),n.classList.add("visuallyhidden"),document.body.appendChild(n),n}());var u={IgnoreUtilFocusChanges:!1,focusFirstDescendant:function(n){for(var i,t=0;t<n.childNodes.length;t+=1)if(i=n.childNodes[t],u.attemptFocus(i)||u.focusFirstDescendant(i))return!0;return!1},focusLastDescendant:function(n){for(var i,t=n.childNodes.length-1;t>=0;t-=1)if(i=n.childNodes[t],u.attemptFocus(i)||u.focusLastDescendant(i))return!0;return!1},attemptFocus:function(n){if(!u.isFocusable(n))return!1;u.IgnoreUtilFocusChanges=!0;try{n.focus()}catch(n){}return u.IgnoreUtilFocusChanges=!1,document.activeElement===n},isFocusable:function(n){if(n.tabindex<0||n.disabled)return!1;switch(n.nodeName){case"A":return!!n.href&&"ignore"!==n.rel;case"INPUT":return"hidden"!==n.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}},i=null,n={Utils:{},focus:{},triggerNames:".modalLink, .modalButton, .campaignModal"};n.Utils.checkOverflow=function(){i.classList.contains("modalContainer--visible")&&(n.Utils.isOverflow()?i.classList.add("modalContainer--overflow"):i.classList.remove("modalContainer--overflow"))};n.Utils.isOverflow=function(){var n=window.innerHeight;return i.children[0].clientHeight>=n};n.init=function(){var t=document.querySelectorAll(n.triggerNames),u=document.querySelectorAll(".modalContainer"),i=document.querySelectorAll(".campaignModalPopup"),r=document.querySelector("#find-a-doctor");(t.length||r)&&(n.build(u),n.bindEvents(t,r),i.length>0&&e()&&i.forEach(function(n){n.classList.add("modalShow","scEditorView");n.removeAttribute("hidden")}))};n.build=function(n,t){function r(n){var t=document.createElement("button"),i,r;t.type="button";t.classList.add("modalContainer__close");t.classList.add("icon-close");t.setAttribute("aria-label","Close");t.dataset.modalclose=!0;i=n.querySelector(".modalContainer__content");r=n.querySelector(".modalContainer__close");n.dataset.modalclose=!0;n.setAttribute("tabindex","-1");n.setAttribute("aria-modal","true");n.setAttribute("role","dialog");n.setAttribute("hidden","true");null!==i&&null===r&&i.prepend(t)}for(var i=0;i<n.length;i+=1)r(n[i]);t&&r(n)};n.bindEvents=function(t,i){for(var r=0;r<t.length;r+=1)t[r].addEventListener("click",n.handleClick);i&&document.addEventListener("click",function(t){t.target&&t.target.classList.contains("modalLink")&&n.handleClick(t)})};n.handleClick=function(t){t.preventDefault();var r=t.target.closest("a, button"),f=r.hasAttribute("href")?r.getAttribute("href").replace("#",""):r.dataset.modal,u=document.getElementById(f);if(!u)throw new Error('No element found with id="'.concat(f,'".'));u.classList.contains("modalContainer--visible")||(i=u,n.open())};n.handleKeyPress=function(n){"Escape"===n.key&&t.trigger("modalClose")};n.handleFocus=function(n){var r,t;r=n.target;t=i;u.IgnoreUtilFocusChanges||(t.contains(r)?u.lastFilterFocus=r:(u.focusFirstDescendant(t),u.lastFilterFocus===document.activeElement&&u.focusLastDescendant(t),u.lastFilterFocus=document.activeElement))};n.open=function(r){var o,f,e;if(n.focus.lastFocus=document.activeElement,!n.Utils.isBusy){if(n.Utils.isBusy=!0,!i){if(null===r)return;o=document.getElementById(r.replace("#",""));i=o}i.querySelector(".modalContainer__close")||n.build(i,!0);f=document.querySelector(".modalContainer--visible");f&&f.classList.remove("modalContainer--visible");document.body.classList.add("modal-enabled");i.classList.add("modalContainer--visible");i.removeAttribute("hidden");n.Utils.isBusy=!1;n.Utils.checkOverflow();document.addEventListener("focus",n.handleFocus,!0);t.on("windowResized",n.Utils.checkOverflow);t.on("modalClose",n.close);i.addEventListener("click",n.close);i.querySelector(".modalContainer__close").addEventListener("click",n.close);document.addEventListener("keydown",n.handleKeyPress,!0);e=i.querySelector(".form__firstFocus");e?e.focus():u.focusFirstDescendant(i)}};n.close=function(r){r&&!r.target.dataset.modalclose||n.Utils.isBusy||(n.Utils.isBusy=!0,document.body.classList.remove("modal-enabled"),i.classList.add("modalContainer--hiding"),i.classList.remove("modalContainer--visible"),setTimeout(function(){i.classList.remove("modalContainer--hiding");i.setAttribute("hidden","true")},300),t.off("windowResized",n._checkOverflow),t.off("modalClose",n.close),document.removeEventListener("focus",n.handleFocus,!0),i.removeEventListener("click",n.close),i.querySelector(".modalContainer__close").removeEventListener("click",n.close),document.removeEventListener("keydown",n.handleKeyPress,!0),n.Utils.isBusy=!1,n.focus.lastFocus.focus({preventScroll:!1}))};var a=!1,r={},k=function(n){if(n.tabindex<0||n.disabled)return!1;switch(n.nodeName){case"A":return!!n.href&&"ignore"!==n.rel;case"INPUT":return"hidden"!==n.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},d=function(n){if(!k(n))return!1;a=!0;try{n.focus({preventScroll:!0})}catch(n){}return a=!1,document.activeElement===n},st=function e(n){for(var i,t=0;t<n.childNodes.length;t+=1)if(i=n.childNodes[t],d(i)||e(i))return!0;return!1},pt=function e(n){for(var i,t=n.childNodes.length-1;t>=0;t-=1)if(i=n.childNodes[t],d(i)||e(i))return!0;return!1},ht=function(n){a||(r.focusContainer.contains(n.target)?r.lastFocus=n.target:(r.focusCloseBtn&&r.lastFocus!==r.focusCloseBtn?d(r.focusCloseBtn):st(r.focusContainer),r.lastFocus===document.activeElement&&pt(r.focusContainer),r.lastFocus=document.activeElement))};y=document.querySelectorAll("table");Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(n){var t=this;do{if(Element.prototype.matches.call(t,n))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),function(){function t(n){for(var i=document.querySelectorAll(".cookieBlock-".concat(n)),t=0;t<i.length;t++)i[t].classList.remove("cookieBlock-".concat(n))}if(document.querySelectorAll(".noCookieBlock").length)for(var n=0;n<3;n++)t(n+2);document.body.addEventListener("cookie:update",function(){var n=OptanonActiveGroups.replaceAll("C000","").split(",");n.pop();n.forEach(function(n){t(n)})})}(),function(){!function(){function t(n){n.preventDefault();var t=n.target.closest(".anchorlink, .smoothScroll"),i=t.dataset.target?t.dataset.target:t.getAttribute("href");!function(n){var t=n.getBoundingClientRect().top+window.scrollY-15;window.scrollTo({top:t,behavior:"smooth"});n.focus({preventScroll:!0});document.activeElement===n||(n.setAttribute("tabindex","-1"),n.focus({preventScroll:!0,focusVisible:!1}))}(t.classList.contains("toContainerTop")?t.parentElement:document.getElementById(i.replace("#","")))}var n=document.querySelectorAll(".anchorlink, .smoothScroll");n&&n.forEach(function(n){n.addEventListener("click",t)})}();var n=function(n){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var o,e=arguments.length,f=new Array(e),u=0;u<e;u++)f[u]=arguments[u];o=i&&!t;clearTimeout(t);t=setTimeout(function(){t=null;i||n.apply(void 0,f)},r);o&&n.apply(void 0,f)}}(function(){t.trigger("windowResized")},250);window.addEventListener("message",function(n){"https://osumc.jotform.com"===n.origin&&n.data&&n.data.includes("setHeight")&&t.trigger("windowResized")},!1);window.addEventListener("resize",n);e()&&document.body.classList.add("pageEditor"),function(){var n=document.querySelector("body");window.innerWidth>n.clientWidth+5?(n.classList.add("has-scrollbar"),n.setAttribute("style","--scroll-bar: ".concat(window.innerWidth-n.clientWidth,"px"))):n.classList.remove("has-scrollbar")}()}();document.querySelectorAll(".accordion__btn").forEach(function(n){if(n.closest(".accordion__label")){if(!n.closest(".accordion--link")){var i=n.closest(".accordion__label").nextElementSibling;et(n,i);n.addEventListener("click",ot)}}else!function(n){var i=n.closest(".accordions");i.classList.contains("legacy")||(i.classList.add("legacy"),t.trigger("legacyAccordion",document.URL))}(n)});document.querySelectorAll(".faq-Btn").forEach(function(n){var t=n.closest(".faq-title").nextElementSibling;et(n,t);n.addEventListener("click",ot)});document.querySelectorAll(".accordion__more").forEach(function(n){n.addEventListener("click",function(n){!function(n){var t,i=n.closest(".accordions").querySelectorAll(".accordion__item[hidden]");n.remove();i.forEach(function(n,t){c(n);0===t&&n.querySelector(".accordion__btn").focus()});t="".concat(i.length," accordion items added");b.innerHTML=t}(n.target)})});lt=(ct=$(".crmAccordion")).find("#crmAccordion__button");nt=ct.find("#crmAccordion__form");e()?nt.removeClass("visuallyhidden"):lt.on("click",function(n){n.preventDefault();s($(this).parent(),nt,!0,!0)}),function(){function r(n,t,i){var r=n,f=new RegExp("([?|&])".concat(t,"=.*?(&|#|$)"),"i"),u,e;return r.match(f)?r.replace(f,"$1".concat(t,"=").concat(i,"$2")):(u="",-1!==r.indexOf("#")&&(u=r.replace(/.*#/,"#"),r=r.replace(/#.*/,"")),e=-1!==r.indexOf("?")?"&":"?","".concat(r+e+t,"=").concat(i).concat(u))}var n=document.getElementById("donate__options"),t=null==n?void 0:n.querySelectorAll("select"),i=null==n?void 0:n.querySelector("#donate__button");n&&t&&i&&n.addEventListener("submit",function(n){n.preventDefault();var f=t[0].value,e=t[1].value,u=i.dataset.submiturl;u=r(u,"amount",f);"Monthly"===e&&(u=r(u,"recurring","true"));window.open(u,"_blank").focus()})}(),function(){function i(){n=$("#personalizationbanner");n.find(".btn__closeX").on("click",f)}function r(){n.hide().removeClass("visuallyhidden").slideDown()}function f(){n.slideUp(function(){$(this).addClass("visuallyhidden").show()});document.cookie=t+"=true"}function u(){for(var n,u=t+"=",r=document.cookie.split(";"),i=0;i<r.length;i++){for(n=r[i];" "==n.charAt(0);)n=n.substring(1);if(0===n.indexOf(u))return!0}return!1}var n,t="pBan";i();setTimeout(function(){n.length&&!u()&&"hidden"!==n.css("visibility")&&r()},1e3);n.on("lazyloaded",function(){i();u()||r()})}(),function(){var n=$(".addressMapLink");n.length&&(-1==navigator.platform.indexOf("iPhone")&&-1==navigator.platform.indexOf("iPod")&&-1==navigator.platform.indexOf("iPad")||n.each(function(){var n=$(this).attr("href");n=n.replace("https:","maps:");$(this).attr("href",n)}))}(),function(){var n=document.getElementById("find-a-doctor");n&&t.on("fadAlphabetClicked",function(){var t=n.querySelector(".fad__browsebyList");ft=n.querySelector(".alphabet .active");t.setAttribute("tabindex","-1");t.focus({focusVisible:!1,preventScroll:!0});t.addEventListener("keydown",yt)})}(),function(){function n(n){var t=n.siblings(".card[hidden]");n.slideUp("fast",function(){n.remove()});t.each(function(n){$(this).delay(20*n).queue(function(t){$(this).hide().removeAttr("hidden").slideDown("fast").find("a").removeAttr("tabindex");t();0===n&&$(this).find("a").first().focus()})})}function i(){$(".cards--collapsible").each(function(){var t=$(this),i=t.data("cardlimit")?t.data("cardlimit"):3,r=t.find(".card"),u=t.find(".display__more");r.length>i&&0===u.length&&function(t,i,r){i.slice(r).attr("hidden",!0).find("a").attr("tabindex","-1");t.append('<button class="display__more">View all '.concat(i.length," ").concat(t.data("cardtype")," +<\/button>"));t.find(".display__more").on("click",function(t){t.preventDefault();n($(this))})}(t,r,i)})}$(".cards__container").find(".display__more").on("click",function(t){t.preventDefault();n($(this))});$(".cards--collapsible").length&&i();t.on("cardsLoaded",i)}();$(".expandableLink").on("click",function(n){n.preventDefault();var t=$(this),i=n.target.dataset.expand?$("#".concat(n.target.dataset.expand)):t.siblings(".expandable__content"),r=!!t.hasClass("emailSignup__description"),u=!!n.target.dataset.expand;t.hasClass("expanded")?p(t,i,r):s(t,i,r,u)}),function(){function n(n){n.preventDefault();var t=n.target.closest(".expandLink"),i=t.dataset.expand?document.getElementById(t.dataset.expand):t.parentNode.querySelector(".expandable__content");t.classList.contains("expanded")?l(i,t):c(i,t)}document.querySelectorAll(".expandLink").forEach(function(t){t.addEventListener("click",n)})}(),function(){var n=$("#find-a-doctor");t.on("fadBrowsebyClicked",function(){var i=n.find(".fad__browseTopics .expanded"),t=n.find("#filter-view");i.length?function(n){n.css({opacity:0});n.hide().removeAttr("hidden").slideDown(300);document.querySelector("#filter-view").focus({preventScroll:!0});setTimeout(function(){h(n);n.css({opacity:1})},150)}(t):function(n){n.css({opacity:0}).slideUp(300,function(){n.attr("hidden",!0).show();n.attr("style","")})}(t)})}(),function(){function i(n,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=t||n.parentElement.querySelector(".filter__options");l(u,n,!0);f.removeEventListener("focusout",w);i||(f=null);document.removeEventListener("click",r,!0)}function n(){var n,t=null===(n=f)||void 0===n?void 0:n.querySelector(".filter__title");t&&i(t)}function e(t){"Escape"===t.key&&n()}function r(t){t.target.closest(".filter__item")!==f&&n()}function u(t,u){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.classList.contains("filtered")||("false"===t.getAttribute("aria-expanded")?function(t,i,u){var o=i||t.parentElement.querySelector(".filter__options");u||n();c(o,t,!0);f=t.closest(".filter__item");u&&o.querySelector(".zipFilterInput").focus();f.addEventListener("focusout",w);t.parentElement.addEventListener("keydown",e);document.addEventListener("click",r)}(t,u,o):i(t,u,o))}w=function(t){f.contains(t.relatedTarget)||n()};document.addEventListener("click",function(n){n.target.closest(".filter__title")&&u(n.target.closest(".filter__title"));n.target.closest(".filter__zip")&&u(n.target.closest(".filter__zip"),n.target.parentElement.querySelector(".filter__zipContainer"),!0)});t.on("filterClose",function(){n()})}();$("#marketingModal").length&&(function(){for(var n,i=document.cookie.split(";"),t=0;t<i.length;t++){for(n=i[t];" "==n.charAt(0);)n=n.substring(1);if(-1!=n.indexOf("marketing-modal="))return!0}return!1}()||(n.build(document.querySelectorAll("#marketingModal")),setTimeout(function(){n.open("marketingModal",function(){var n=new Date,t;n.setTime(n.getTime()+864e5);t="expires=".concat(n.toUTCString());document.cookie="marketing-modal=shown; ".concat(t)})},150)));n.init(),function(){var n=$('input.scfTelephoneTextBox, input[type="tel"]');n.attr("maxlength","14");n.keydown(function(n){-1!==$.inArray(n.keyCode,[46,8,9,27,13,110,190])||65==n.keyCode&&(!0===n.ctrlKey||!0===n.metaKey)||n.keyCode>=35&&n.keyCode<=40||(n.shiftKey||n.keyCode<48||n.keyCode>57)&&(n.keyCode<96||n.keyCode>105)&&n.preventDefault()});n.keyup(function(n){if(n.keyCode>47&&n.keyCode<58||n.keyCode<106&&n.keyCode>95){var t=this.value.length,i=$(this).val();3==t?$(this).val("("+i+") "):9==t&&$(this).val(i+"-")}})}(),function(){function i(){var n=$(this),t=n.find(".description");n.hasClass("expanded")||"block"===t.css("display")||s(n,t)}var t=$(".rankingsAwards"),n=t.find("article");t.length&&(n.on("mouseover",i),n.on("mouseleave",function(){var n=$(this),t=n.find(".description");n.hasClass("expanded")&&p(n,t,!0,!1)}),n.on("click",i))}();document.addEventListener("input",function(n){n.target.classList.contains("searchInput")&&function(n){var t=n.closest(".searchboxContainer").querySelector("button[type=submit]");n.value.length?t.removeAttribute("disabled"):t.setAttribute("disabled","disabled")}(n.target)},!1);$("#search-app").on("click",".filterbycategory",function(n){n.preventDefault();var t=$(this);t.hasClass("expanded")?p(t,t.siblings("ul"),!0,!1):s(t,t.siblings("ul"),!0)}),function(){function i(n){return"0".concat(n).slice(-2)}function r(n){var t=n.slider.closest(".quoteListing"),r;if(window.outerWidth<=700&&!t){var i=n.activeSlide.querySelector(".slide__video")||n.activeSlide.querySelector("img"),u=n.activeSlide.querySelector(".slide__content"),f=i?i.offsetHeight+u.offsetHeight:n.activeSlide.offsetHeight;n.activeSlide.closest(".splide__track").style.height="".concat(f,"px")}else t?(r=n.activeSlide.querySelector(".slide__content"),n.activeSlide.closest(".splide__track").style.height="".concat(r.offsetHeight,"px")):n.activeSlide.closest(".splide__track").style.height=""}var n=document.querySelectorAll(".splide"),u={type:"loop"};n&&_asyncToGenerator(_regeneratorRuntime().mark(function f(){return _regeneratorRuntime().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,function(){var n=document.createElement("script");return n.src="/_JS/vendor/splide.min.js",n.async=!0,document.body.append(n),new Promise(function(t){n.addEventListener("load",function(){t("splide loaded")})})}();case 2:n.forEach(function(n){var o,e=_objectSpread(_objectSpread({},u),n.dataset),s=n.querySelectorAll(".splide__slide"),f;e.interval&&(e.interval=(o=e.interval)/1e3<1?1e3*o:o);s.length<=1&&(e.type="slide",e.arrows=!1);f={newSlider:new Splide(n,e),slideImage:n.querySelector(".splide__slide img"),textSlides:n.querySelectorAll(".slide--text"),isHeroSlider:!!n.closest(".heroSlider"),slider:n};f.newSlider.on("ready",function(){(f=_objectSpread(_objectSpread({},f),{},{activeSlide:f.slider.querySelector("#".concat(f.newSlider.root.id,"-slide").concat(i(1))),pagination:n.querySelector(".splide__pagination"),arrows:n.querySelectorAll(".splide__arrow")})).newSlider.on("resized",function(){f.textSlides&&function(n){var t=n.slideImage;n.textSlides.forEach(function(n){n.style.height="".concat(t.offsetHeight,"px")})}(f);r(f);f.arrows&&function(n){var t=(n.slider.offsetHeight-n.pagination.scrollHeight)/2,i=n.activeSlide.querySelector(".slide__content");i&&window.outerWidth<=700&&(t-=i.offsetHeight/2);n.arrows.forEach(function(n){n.style.top="".concat(t,"px")})}(f)});t.on("tabChanged",function(t){t.querySelector(".splide")!==n||n.classList.contains("redrawn")||(f.newSlider.refresh(),n.classList.add("redrawn"))})});f.newSlider.on("move",function(n){f.activeSlide=f.slider.querySelector("#".concat(f.newSlider.root.id,"-slide").concat(i(n+1)));r(f)});f.newSlider.mount()});case 3:case"end":return f.stop()}},f)}))()}(),function(){function r(n){return n&&n.classList.contains("tab-btn")}function n(n){n.focus();n.click()}function u(n){var f=n.currentTarget.closest(".tabContainer"),e=f.querySelector('.tab-btn[aria-selected="true"]'),r=n.currentTarget;if(r!==e){r.removeAttribute("tabindex");r.setAttribute("aria-selected",!0);e.setAttribute("tabindex","-1");e.setAttribute("aria-selected",!1);var i=f.querySelector(".tabContainer__container"),o=i.querySelector(".tabContainer__content.active"),u=f.querySelector("#".concat(r.getAttribute("aria-controls")));i.style.height="".concat(o.offsetHeight,"px");o.classList.remove("active");o.setAttribute("hidden","");u.removeAttribute("hidden");u.classList.add("active");i.style.height="".concat(u.offsetHeight,"px");i.addEventListener("transitionend",function(){i.style.height=""});t.trigger("tabChanged",u)}}function f(t){var h=t.key,i=t.currentTarget.parentNode,u=i.parentNode.children,c=i.previousElementSibling,l=i.nextElementSibling,f=(c||{}).firstElementChild,e=(l||{}).firstElementChild,o=u[0].querySelector("button"),s=u[u.length-1].querySelector("button");switch(h){case"ArrowLeft":r(f)?n(f):n(s);t.preventDefault();break;case"ArrowRight":r(e)?n(e):n(o);t.preventDefault();break;case"Home":n(o);t.preventDefault();break;case"End":n(s);t.preventDefault()}}var i=document.querySelectorAll(".tabContainer");i&&i.forEach(function(n,t){n.querySelectorAll(".tab-btn").forEach(function(n){n.addEventListener("keydown",f);n.addEventListener("click",u)}),function(n,t){var r=n.querySelectorAll(".tab-btn"),i="tabContainer-".concat(t);n.id=i;r.forEach(function(n){var t=n.getAttribute("aria-controls"),r=n.closest(".tabContainer").querySelector("#".concat(t));n.id="".concat(i,"__").concat(n.id);n.setAttribute("aria-controls","".concat(i,"__").concat(t));r.id="".concat(i,"__").concat(t);r.setAttribute("aria-labelledby","".concat(i,"__").concat(r.getAttribute("aria-labelledby")))})}(n,t)})}(),function(){function e(){var t=n.ttBtn.querySelector(".tooltip__icon"),i=n.ttText.querySelector(".tooltip__arrow"),r=t.getBoundingClientRect().left+window.scrollX,u=n.ttText.getBoundingClientRect().left+window.scrollX;i.style.left=r-u-4+"px"}function i(){var t,r=n.ttText;n.ttBtn.removeEventListener("mouseleave",i);n.ttBtn.removeEventListener("blur",i);document.removeEventListener("click",i);n.ttBtn.setAttribute("aria-expanded",!1);n.ttBtn.style.zIndex="";null!==(t=n.ttLink)&&void 0!==t&&t.setAttribute("aria-expanded",!1);r.classList.remove("open");n={};r.style.opacity=0;setTimeout(function(){r.setAttribute("hidden",!0)},250)}function o(n){"Escape"===n.key&&(document.removeEventListener("keydown",o,!0),i())}function u(t,r){var u=t.target.parentNode.querySelector(".tooltip__btn"),s=t.target.parentNode.querySelector(".tooltip__link"),h=u.getAttribute("aria-describedby")?u.getAttribute("aria-describedby"):function(n){var t="tt-".concat(it()),r=n.querySelector(".tooltip__text"),u=n.querySelector(".tooltip__btn"),i=n.querySelector(".tooltip__link");return r.setAttribute("id",t),u.setAttribute("aria-describedby",t),null!=i&&i.setAttribute("aria-controls",t),t}(u.parentNode),f=u.parentNode.querySelector("#".concat(h));r&&n.ttText===f?i():n.ttText!==f&&(n.ttText&&n.ttText!==f&&i(),function(n){var t=n.ttBtn,u=n.ttLink,r=n.ttText;t.setAttribute("aria-expanded",!0);t.style.zIndex="101";null!=u&&u.setAttribute("aria-expanded",!0);r.removeAttribute("hidden");e();setTimeout(function(){r.classList.add("open");r.style.opacity=1},10);t.addEventListener("mouseleave",i);t.addEventListener("blur",i);document.addEventListener("click",i);document.addEventListener("keydown",o,!0)}(n={ttBtn:u,ttText:f,ttLink:s}))}function f(n){n.stopPropagation();u(n,!0)}var s=document.querySelectorAll(".hasTooltip"),r=document.querySelector("#find-a-doctor"),n={};(s.length||r)&&function(){var i=document.querySelectorAll(".tooltip__btn"),o=document.querySelectorAll(".tooltip__link");i.forEach(function(n){n.addEventListener("mouseenter",u);n.addEventListener("click",f,!0);n.addEventListener("focus",u)});o.forEach(function(n){n.addEventListener("click",f)});r&&(r.addEventListener("click",function(n){n.target.classList.contains("tooltip__link")&&f(n)}),r.addEventListener("mouseover",function(n){n.target.classList.contains("tooltip__btn")&&u(n)}),r.addEventListener("focus",function(n){n.target.classList.contains("tooltip__btn")&&u(n)},!0));t.on("windowResized",function(){Object.keys(n).length&&e()})}()}();$(".globalViewMore").on("click",function(n){n.preventDefault(),function(n){var t=n.parent().siblings(".visuallyhidden");n.slideUp("fast",function(){n.remove()});t.each(function(n){$(this).delay(20*n).queue(function(n){$(this).hide().removeClass("visuallyhidden").slideDown("fast");n()})})}($(this))}),function(){function e(n){"Escape"===n.key&&t.trigger("modalClose")}function r(){document.body.classList.remove("modal-enabled");var u=i.btnClicked.getAttribute("aria-label"),n=document.querySelector(".overlay");g();n.style.opacity=0;setTimeout(function(){n.remove()},250);vt(i.btnClicked,i.filterWindow,!0,!1);i.btnClicked.setAttribute("aria-label",u.replace("Close","Open"));n.removeEventListener("click",r);t.off("allClose",r);t.off("windowResized",r);t.off("modalClose",r);document.removeEventListener("keydown",e,!0)}function o(n,o){var s=u.querySelector(".blogMobileBtns").offsetHeight+15;n.style.top="".concat(s,"px");o.classList.contains("expanded")?r():(i={filterWindow:n,btnClicked:o},function(){var u=i.btnClicked.getAttribute("aria-label"),n;document.body.prepend(f);n=document.querySelector(".overlay");n.style.opacity=1;at(i.btnClicked,i.filterWindow,!1,!1,!0);i.btnClicked.setAttribute("aria-label",u.replace("Open","Close"));v({focusTarget:i.filterWindow,previousElem:i.btnClicked,focusCloseBtn:i.btnClicked});n.addEventListener("click",r);t.on("modalClose",r);t.on("allClose",r);t.on("windowResized",r);document.addEventListener("keydown",e,!0)}())}var u=document.querySelector(".blogLanding"),i={},f=document.createElement("div");f.classList.add("overlay");u&&u.addEventListener("click",function(t){var i;t.target.closest(".BlogModalLink")&&(t.preventDefault(),i=t.target,n.build(document.querySelector("#blog-services-modal")),n.open(i.dataset.modal));t.target.matches("a")&&t.target.closest("#blog-services-modal")&&n.close(t,!0);t.target.closest("#blogFilterBtn")&&o(u.querySelector("#blog-filters-container"),t.target.closest("button"));t.target.closest("#blogSearchBtn")&&o(u.querySelector("#blog-search-container"),t.target.closest("button"))})}(),function(){var n=$(".healthcareQuiz");if(n.length){var u=n.find(".healthcareQuiz__takeQuiz a"),i=n.find("#healthcareQuiz__questions"),r=n.find(".healthcareQuiz__submit"),t=n.find(".healthcareQuiz__incorrect");u.on("click",function(n){n.preventDefault();s($(".healthcareQuiz__takeQuiz"),i,!0,!0);i.find("input").prop("checked",!1)});r.on("click",function(n){n.preventDefault();var i=$("#healthcareQuiz__questions .question"),u=!0;i.find("p").removeClass("correct").removeClass("incorrect");t.addClass("visuallyhidden");$.each(i,function(n,t){var i=$(t).find("input:checked");i.hasClass("answer")?($(t).find("p").addClass("correct"),i.addClass("correct")):($(t).find("p").addClass("incorrect"),i.addClass("incorrect"),u=!1)});u?s(r,$(".healthcareQuiz__success"),!1,!0):(t.hide().removeClass("visuallyhidden").slideDown(),h(t))})}}(),function(){function i(i){if(t!==i){if(i)return t=!0,void(null==n||n.classList.add("navBar--isMobile"));t=!1;null==n||n.classList.remove("navBar--isMobile")}}function r(n){var f,s;if(!n)return!1;for(var h=window.getComputedStyle(n),e=parseFloat(h.gap),c=window.getComputedStyle(o),l=parseFloat(c.width),a=t&&n.closest(".navBar__mainNav")?l-8:0,v=n.getBoundingClientRect().width-10,u=n.querySelectorAll("& > li"),r=a,i=0;i<u.length;i+=1)f=window.getComputedStyle(u[i]),s=parseFloat(f.marginLeft)+parseFloat(f.marginRight),r+=u[i].getBoundingClientRect().width,e&&i>0&&(r+=e),r+=s;return r>=v}function u(){r(e)||r(f)||window.innerWidth<999?i(!0):i(!1)}var n=document.querySelector("#global-header"),f=document.querySelector(".navBar__mainNav > ul"),e=document.querySelector(".navBar__quickNav > ul"),o=document.querySelector("#globalSearch"),t=!1;u();window.addEventListener("resize",u)}(),function(){function i(o){"keydown"===(null==o?void 0:o.type)&&"Escape"!==(null==o?void 0:o.key)||(r.removeEventListener("click",i),document.removeEventListener("keydown",i),t.off("allClose",i),u.style.bottom="0",g(),n.classList.remove("icon-close","open"),n.classList.add("icon-search"),n.setAttribute("aria-expanded",!1),n.innerText="Open Search",r.style.opacity=0,setTimeout(function(){f&&f.removeAttribute("style");e&&e.removeAttribute("style");u.setAttribute("hidden","");r.remove()},250))}var r,n=document.getElementById("globalSearch"),u=document.getElementById("globalSearchBox"),f=document.getElementById("global-header"),e=document.getElementById("globalAlert"),o=document.createElement("div");o.classList.add("overlay");o.id="overlay";null==n||n.addEventListener("click",function(){n.classList.contains("open")?i():(t.trigger("allClose"),document.body.prepend(o),r=document.querySelector("#overlay"),setTimeout(function(){f&&(f.style.zIndex=1e3);e&&(e.style.zIndex=1001);r.style.opacity=1;u.removeAttribute("hidden");u.style.bottom="-90px";v({focusTarget:u.querySelector("input"),previousElem:n,focusContainer:document.getElementById("header-search")});n.classList.remove("icon-search");n.classList.add("icon-close","open");n.setAttribute("aria-expanded",!0);n.innerText="Close Search"},10),r.addEventListener("click",i),document.addEventListener("keydown",i),t.on("allClose",i))})}(),function(){function h(n){var u=n.querySelector(".navBar__link"),t=n.querySelector(".navBar__btn"),i=t.getAttribute("aria-controls"),r=document.getElementById(i);return{mmLink:u,mmBtn:t,mmID:i,mmListItem:n,mmContainer:r,mmContent:r.firstElementChild}}function u(){var n;if(null!==(n=document.querySelector(".mmOpen"))&&void 0!==n)return n.parentElement}function i(){var o=h(u());o.mmListItem.removeEventListener("mouseleave",n);o.mmListItem.removeEventListener("keydown",n);o.mmContainer.removeEventListener("focusout",r);t.off("allClose",i);clearTimeout(f[o.mmID]);o.mmBtn.setAttribute("aria-expanded",!1);o.mmLink.classList.remove("mmOpen");o.mmContent.style.opacity=0;o.mmContainer.style.height=0;e[o.mmID]=setTimeout(function(){o.mmContainer.setAttribute("hidden","")},200)}function c(c){"click"!==c.type||(c.preventDefault(),c.target.parentElement!==u())?o[c.target]=setTimeout(function(){!function(o){if(o!==u()){t.trigger("allClose");var c=h(o);clearTimeout(e[c.mmID]);c.mmBtn.setAttribute("aria-expanded",!0);c.mmContainer.removeAttribute("hidden");c.mmContainer.style.height="".concat(c.mmContent.offsetHeight,"px");c.mmLink.classList.add("mmOpen");c.mmContainer.tabindex||k(c.mmContainer)||c.mmContainer.setAttribute("tabindex","-1");f[c.mmID]=setTimeout(function(){c.mmContent.style.opacity=1},150);n=function(n){"keydown"===n.type&&"Escape"!==n.key||(s[n.target]=setTimeout(function(){i()},"keydown"===n.type?0:300))};r=function(t){c.mmContainer.contains(t.relatedTarget)||n(t)};c.mmListItem.addEventListener("mouseleave",n);c.mmListItem.addEventListener("keydown",n);c.mmContainer.addEventListener("focusout",r);t.on("allClose",i)}}("LI"===c.target.tagName?c.target:c.target.parentElement)},"click"===c.type?0:300):i()}var n,r,l=document.querySelectorAll("a.hasMegaMenu"),a=document.querySelectorAll("button.hasMegaMenu"),f=[],e=[],o=[],s=[];l.forEach(function(n){n.parentElement.addEventListener("mouseenter",function(n){clearTimeout(s[n.target]);c(n)});n.parentElement.addEventListener("mouseleave",function(n){clearTimeout(o[n.target])})});a.forEach(function(n){n.addEventListener("click",c,!0)})}(),function(){function i(){var o=document.getElementById("mobileNavOverlay"),s=n.getAttribute("aria-label").replace("Close","Open");document.removeEventListener("click",i);r.removeEventListener("click",h);e.removeEventListener("keydown",c);t.off("allClose",i);n.classList.remove("active");n.setAttribute("aria-expanded","false");n.setAttribute("aria-label",s);o.style.opacity=0;r.removeAttribute("style");setTimeout(function(){o.remove();u&&u.removeAttribute("style");f&&f.removeAttribute("style")},250)}function h(n){n.stopPropagation()}function c(n){"keydown"===n.type&&"Escape"!==n.key||i()}var n,s=document.querySelector(".miniNav__phoneMobile"),r=document.querySelector("#miniNavPhone"),e=document.querySelector(".miniNav__phoneContainer"),u=document.getElementById("global-header"),f=document.getElementById("globalAlert"),o=document.createElement("div");o.classList.add("overlay");o.id="mobileNavOverlay";null==s||s.addEventListener("click",function(s){(n=s.target.closest(".miniNav__phoneMobile")).classList.contains("active")?i():function(){document.body.prepend(o);var s=document.getElementById("mobileNavOverlay"),l=n.getAttribute("aria-label").replace("Open","Close");setTimeout(function(){r.style.display="block";u&&(u.style.zIndex=1e3);f&&(f.style.zIndex=1001);s.style.opacity=1;v({focusTarget:r,previousElem:n,focusContainer:e});n.classList.add("active");n.setAttribute("aria-label",l);n.setAttribute("aria-expanded","true");t.on("allClose",i);document.addEventListener("click",i);e.addEventListener("keydown",c)},10);r.addEventListener("click",h)}()})}(),function(){function r(){u.setAttribute("aria-expanded","false");n.setAttribute("inert","");n.removeAttribute("style");a.removeAttribute("style");document.body.style.overflow="";i.style.opacity=0;i.addEventListener("transitionend",function(){i.remove()},{once:!0});g();setTimeout(function(){e(h)},250);t.off("allClose",r);t.off("windowResized",o)}function s(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];l(n,t);t.closest(".hasChildren").classList.remove("expanded");i&&t.focus();setTimeout(function(){e(n)},250);n.removeEventListener("keydown",f);t.removeEventListener("keydown",f)}function f(n){var t=n.target.closest(".hasChildren.expanded").querySelector(".mobileNavChildBtn");"Escape"===n.key&&(n.stopImmediatePropagation(),s(document.getElementById(t.getAttribute("aria-controls")),t))}function k(n){var t=n.target.closest("button"),r=t.getAttribute("aria-controls"),i=document.getElementById(r);i&&("false"===t.getAttribute("aria-expanded")?function(n,t){c(n,t);t.closest(".hasChildren").classList.add("expanded");n.addEventListener("keydown",f);t.addEventListener("keydown",f)}(i,t):s(i,t))}var e,o,b=document.querySelector("#global-header"),h=document.querySelector("#mobileNav"),a=document.querySelector(".mobileNav__header"),u=document.querySelector("#hamburger"),n=document.querySelector("#mobileNavContent"),y=document.querySelector("#closeMobileNav"),p=document.querySelectorAll(".mobileNavChildBtn"),w=null==n?void 0:n.querySelectorAll('a[href^="#"]'),i=document.createElement("div");i.classList.add("overlay");i.id="overlay";o=function(){b.classList.contains("navBar--isMobile")||r()};e=function(n){n.querySelectorAll(".hasChildren").forEach(function(n){var t=n.querySelector(".mobileNavChildBtn"),i=n.querySelector('[aria-current="page"]');"true"!==t.getAttribute("aria-expanded")||i||s(n.querySelector(":scope > ul"),t,!1)})};null!=u&&u.addEventListener("click",function(){t.trigger("allClose");u.setAttribute("aria-expanded","true");h.after(i);setTimeout(function(){i.style.opacity=1},0);n.removeAttribute("inert");n.style.left=0;a.style.left=0;document.body.style.overflow="hidden";v({focusTarget:n,previousElem:u,focusFirstElement:!0});n.addEventListener("keydown",function(n){"Escape"===n.key&&r()});i.addEventListener("click",r);t.on("allClose",r);t.on("windowResized",o)});null!=y&&y.addEventListener("click",r);null!=p&&p.forEach(function(n){n.addEventListener("click",k)});null==w||w.forEach(function(n){n.addEventListener("click",function(){t.trigger("allClose")})})}();window.addEventListener("keydown",function e(n){9===n.keyCode&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",e))}),function(){function u(){document.querySelectorAll(".phoneLink").forEach(function(n){var i=n.textContent,t;n.querySelector("a")||(t=document.createElement("a"),t.href="tel:".concat(i),t.textContent=i,n.textContent="",n.appendChild(t))})}function n(){document.querySelectorAll(".btn__phone").forEach(function(n){!function(t){var i=t.querySelector("a"),r;if(i){for(r=i.parentNode;i.firstChild;)r.insertBefore(i.firstChild,i);r.removeChild(i)}!function(){var i=n.innerHTML,r=i.replace(/<\/?i[^>]*>/g,""),t=document.createElement("a");t.href="tel:".concat(r);t.innerHTML=i;Array.from(n.attributes).forEach(function(n){t.setAttribute(n.name,n.value)});n.replaceWith(t)}()}(n)})}var r=document.getElementById("loc-app"),i;"ontouchstart"in document.documentElement&&(u(),n(),i={childList:!0,subtree:!0},t.on("cardsLoaded",function(){n()}),t.on("kendoComplete",function(){var r,t=document.querySelector("#matching-doctors-wrapper");t=t.querySelector(".cards__container");(r=new MutationObserver(function(){r.disconnect();n()})).observe(t,i)}),r&&new MutationObserver(u).observe(r,i))}();document.querySelectorAll(".videoEmbed").forEach(function(n){var t,i=n.querySelector("img");n.setAttribute("role","button");"vimeo"===n.dataset.type.toLowerCase()&&i.classList.contains("vimeoImage")&&(t=_asyncToGenerator(_regeneratorRuntime().mark(function n(t,i,r){var u;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,function(){var n=_asyncToGenerator(_regeneratorRuntime().mark(function n(t,i){var f,r,u;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r="https://vimeo.com/api/oembed.json?url=https%3A//vimeo.com/".concat(t),i&&(r+="/".concat(i)),r+="&maxwidth=800&maxheight=450",n.prev=2,n.next=5,fetch(r);case 5:if((u=n.sent).ok){n.next=8;break}throw new Error("Response status: ".concat(u.status));case 8:return n.next=10,u.json();case 10:return f=n.sent,n.abrupt("return",f);case 14:return n.prev=14,n.t0=n.catch(2),n.abrupt("return",(console.error(n.t0.message),!1));case 17:case"end":return n.stop()}},n,null,[[2,14]])}));return function(){return n.apply(this,arguments)}}()(i,r);case 2:u=n.sent;t.src=u.thumbnail_url;t.classList.remove("vimeoImage");t.alt=u.title;t.dataset.title=u.title;case 4:case"end":return n.stop()}},n)})),function(){return t.apply(this,arguments)})(i,n.dataset.vid,n.dataset.hash)});document.addEventListener("click",function(n){if(n.target.closest(".videoEmbed")){var t=n.target.closest(".videoEmbed"),i=t.dataset.type.toLowerCase();n.preventDefault();"vimeo"===i?function(n){var i=n.dataset,e=i.vid,u=i.time,o=i.title,f=i.hash,r=u?"autoplay=1&#t=".concat(u.replace("s",""),"s"):"autoplay=1",t;f&&(r="h=".concat(f,"&").concat(r));"undefined"!=typeof OptanonActiveGroups&&-1===OptanonActiveGroups.indexOf("0004")&&(r+="&dnt=1");t=document.createElement("iframe");t.setAttribute("src","https://player.vimeo.com/video/".concat(e,"?").concat(r));t.setAttribute("frameborder","0");t.setAttribute("allow","autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media");t.setAttribute("title",o);n.replaceWith(t)}(t):function(n){var i=n.dataset,f=i.vid,r=i.time,e=r?"?start=".concat(r.replace("s",""),"&"):"?",t=document.createElement("iframe"),u="https://www.youtube.com";"undefined"!=typeof OptanonActiveGroups&&-1===OptanonActiveGroups.indexOf("0004")&&(u="https://www.youtube-nocookie.com");t.setAttribute("src","".concat(u,"/embed/").concat(f).concat(e,"autoplay=1&enablejsapi=1&rel=0&showinfo=0"));t.setAttribute("title","YouTube video player");t.setAttribute("frameborder","0");t.setAttribute("allowfullscreen","true");t.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share");n.replaceWith(t)}(t)}}),function(){try{y.forEach(function(n){n.setAttribute("role","table")});document.querySelectorAll("thead, tbody, tfoot").forEach(function(n){n.setAttribute("role","rowgroup")});document.querySelectorAll("tr").forEach(function(n){n.setAttribute("role","row")});document.querySelectorAll("td").forEach(function(n){n.setAttribute("role","cell")});document.querySelectorAll("th").forEach(function(n){n.setAttribute("role","columnheader");n.setAttribute("scope","col")});document.querySelectorAll("tbody th").forEach(function(n){n.setAttribute("role","rowheader");n.setAttribute("scope","row")})}catch(n){console.log("AddTableARIA(): ".concat(n))}}(),function(){try{y.forEach(function(n){var t=[],i=n.querySelectorAll("thead th"),r=n.querySelectorAll("tbody tr");i.forEach(function(n){var i=n.innerHTML;t.push(i)});r.forEach(function(n){for(var r=n.querySelectorAll("th, td"),i=0;i<r.length;i+=1)r[i].dataset.cell=t[i]})})}catch(n){console.log("ResponsiveCellHeaders(): ".concat(n))}}();y.forEach(function(n){if(!n.parentElement.classList.contains("table-wrapper")){var t=document.createElement("div");t.classList.add("table-wrapper");t.setAttribute("tabindex","0");t.setAttribute("role","region");n.parentNode.insertBefore(t,n);t.appendChild(n)}})}();$(function(){});$(function(){var n=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.whitespace,queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:"/utility/search-results_predict?keyword=%query",wildcard:"%query"}});$("#globalSearchInput").typeahead({minLength:3,hint:!1,highlight:!0,display:"value"},{name:"global-dataset",source:n});$("#globalSearchInput").bind("typeahead:select",function(n,t){window.location.href="/utility/search-results#/search/"+t.trim()})});$.fn.typeahead=jQuery.fn.typeahead.noConflict();$.fn.magnificPopup=jQuery.fn.magnificPopup