').text(item.label));\n\n return li.appendTo(ul);\n };\n\n healthConditionAutocompleteInput.autocomplete('widget').attr({\n 'role': 'listbox',\n 'aria-labelledby': 'health-list',\n });\n\n const toggleSources = () =>\n toggleAutocompleteValuesBasedOnInput(\n healthConditionAutocompleteInput,\n allHealthLabelsForAutocomplete,\n defaultHealthLabelsForAutocomplete,\n 'Popular Searches'\n );\n healthConditionAutocompleteInput.on('focus', () => {\n toggleSources();\n healthConditionAutocompleteInput.autocomplete('search');\n instructionsHealthList.setAttribute('aria-hidden', false);\n });\n\n healthConditionAutocompleteInput.on('blur', () => {\n instructionsHealthList.setAttribute('aria-hidden', true);\n });\n\n healthConditionAutocompleteInput.on('input', debounce(toggleSources, 150));\n\n healthConditionAutocompleteInput.on('autocompleteopen', () => {\n let autocompleteMenu = healthConditionAutocompleteInput.autocomplete('widget');\n\n if (autocompleteMenu.length) {\n const menuId = autocompleteMenu.attr('id');\n healthConditionAutocompleteInput.attr({\n 'aria-controls': menuId,\n 'aria-expanded': true,\n });\n }\n });\n\n healthConditionAutocompleteInput.on('autocompleteclose', () => {\n healthConditionAutocompleteInput.removeAttr('aria-controls');\n healthConditionAutocompleteInput.attr('aria-expanded', false);\n });\n\n const menuWidth = searchFormSize.length\n ? searchFormSize.outerWidth()\n : healthConditionAutocompleteInput.outerWidth();\n // Set the autocomplete menu size as the input/wrapper.\n jQuery.ui.autocomplete.prototype._resizeMenu = function () {\n this.menu.element.outerWidth(menuWidth);\n };\n }\n\n static async fetchAndRenderHealthConditions(health, query) {\n const container = document.getElementById('health-list-results');\n container.innerHTML = '';\n\n const searchType = 'Health Condition Search';\n const eventProperties = {\n eventCategory: searchType,\n eventAction: query,\n eventURL: window.location.href,\n };\n\n let result;\n try {\n const response = await fetch(myevUrl(`/health-conditions/${health.health_id}`));\n result = await response.json();\n pushGTMCustomEvent(searchType, eventProperties);\n } catch (e) {\n eventProperties.eventAction += ' - no results';\n pushGTMCustomEvent(searchType, eventProperties);\n return HealthConditions.renderNoResults(query, container);\n }\n\n await HealthConditions.renderHealth(result, container, health);\n HealthConditions.renderSuggestions(health, container);\n }\n\n static async loadDependencies() {\n const { Accordion } = await import('foundation-sites/js/foundation.accordion');\n Foundation.plugin(Accordion, 'Accordion');\n }\n\n static async renderHealth(health, container, baseHealthQuery) {\n const { condition } = health;\n const accordion = jQuery('
');\n const item = jQuery('
');\n const heading = jQuery(`\n
\n \n ${condition.disorder_name} ${condition.subdisorder_name}\n
\n \n `);\n\n const meta = jQuery('
');\n\n const metaDescription = jQuery(`\n
\n
\n ${condition.lay_term} (${condition.category})\n
\n Gene: ${condition.gene}
\n \n Inheritance type: ${condition.moi}\n
\n \n `);\n\n const description = jQuery(\n `
${condition.consumer_brief_description_required}
`\n );\n\n const citationsLinks = [1, 2, 3, 4, 5]\n .map((i) =>\n condition[`reference_${i}_text`]\n ? `
${condition[`reference_${i}_text`]}`\n : ''\n )\n .join(' ');\n const citations = citationsLinks ? jQuery(`
Citations:
${citationsLinks}
`) : '';\n\n meta.append(metaDescription, description, citations);\n\n if (window.embarkConditionDisclaimerStrings) {\n maybeAddDisclaimer(baseHealthQuery, meta, embarkConditionDisclaimerStrings, 'healthList');\n }\n\n item.append(heading, meta);\n accordion.append(item);\n jQuery(container).append(accordion);\n container.focus();\n\n new Foundation.Accordion(accordion, {\n allowAllClosed: true,\n });\n // if any magellan links were added in JS enable them.\n if (jQuery('.disclaimer--header, .disclaimerDescriptionText').length) {\n jQuery(document).foundation();\n }\n }\n\n static renderSuggestions({ breed_display_names }, container) {\n if (container.getAttribute('data-hide-breed-suggestions') === 'true') {\n return;\n }\n const suggestions = document.createElement('ul');\n suggestions.classList.add('breed-suggestions');\n const heading = document.createElement('li');\n heading.innerHTML = '
Seen in breeds:
';\n suggestions.appendChild(heading);\n\n breed_display_names.split(',').forEach((breed) => {\n const suggestion = document.createElement('a');\n suggestion.dataset.breedName = breed;\n suggestion.innerText = breed;\n suggestion.addEventListener('click', HealthConditions.breedSuggestionClickHandler);\n const item = document.createElement('li');\n item.appendChild(suggestion);\n suggestions.appendChild(item);\n });\n\n container.appendChild(suggestions);\n }\n\n static async breedSuggestionClickHandler(e) {\n e.preventDefault();\n const { breedName } = e.target.dataset;\n await BreedHealthConditions.setupViewFor(breedName);\n\n // Scroll to the breed conditions form when a breed is clicked\n const breedConditionsFrom = document.querySelector('.breed-health-search');\n if (breedConditionsFrom) {\n jQuery('html,body').animate({\n scrollTop: breedConditionsFrom.offsetTop,\n });\n }\n }\n\n static renderNoResults(query, container) {\n container.innerHTML = `\n
\n
No conditions found for ${query}. However, you will still receive results for all health conditions on our\n health list.\n Please contact breeders@embarkvet.com if you have questions.\n
\n `;\n container.focus();\n }\n}\n"],"names":["HealthConditions","init","loadDependencies","response","fetch","myevUrl","identifiableHealth","json","healthDisplayName","health","disorder_name","subdisorder_name","allHealthLabelsForAutocomplete","map","instructionsHealthList","document","getElementById","healthConditionAutocompleteInput","jQuery","searchWrapper","querySelector","searchFormSize","find","searchButton","clearButton","addEventListener","val","innerHTML","onSelect","value","filter","item","length","container","renderNoResults","fetchAndRenderHealthConditions","catch","_error","on","e","keyCode","key","defaultHealthLabelsForAutocomplete","window","embark_popular_health_conditions","topPadding","data","autocomplete","source","delay","minLength","select","event","ui","appendTo","position","my","generateIdFromLabel","label","replace","toLowerCase","substring","_renderItem","ul","li","attr","id","role","append","text","toggleSources","toggleAutocompleteValuesBasedOnInput","setAttribute","debounce","autocompleteMenu","menuId","removeAttr","menuWidth","outerWidth","prototype","_resizeMenu","menu","element","query","searchType","eventProperties","eventCategory","eventAction","eventURL","location","href","result","health_id","pushGTMCustomEvent","renderHealth","renderSuggestions","Accordion","Foundation","plugin","baseHealthQuery","condition","accordion","heading","meta","metaDescription","lay_term","category","gene","moi","description","consumer_brief_description_required","citationsLinks","i","join","citations","embarkConditionDisclaimerStrings","maybeAddDisclaimer","focus","allowAllClosed","foundation","breed_display_names","getAttribute","suggestions","createElement","classList","add","appendChild","split","forEach","breed","suggestion","dataset","breedName","innerText","breedSuggestionClickHandler","preventDefault","target","BreedHealthConditions","setupViewFor","breedConditionsFrom","animate","scrollTop","offsetTop"],"mappings":";;;;;;;;;;AAQO,MAAMA,gBAAgB,CAAC;EAC5B,aAAaC,IAAIA,GAAG;IAClB,MAAMD,gBAAgB,CAACE,gBAAgB,EAAE;IACzC,MAAMC,QAAQ,GAAG,MAAMC,KAAK,CAACC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC9D,MAAMC,kBAAkB,GAAG,MAAMH,QAAQ,CAACI,IAAI,EAAE;IAChD,MAAMC,iBAAiB,GAAIC,MAAM,IAAK;MACpC,OAAQ,GAAEA,MAAM,CAACC,aAAc,IAAGD,MAAM,CAACE,gBAAiB,EAAC;KAC5D;IACD,MAAMC,8BAA8B,GAAGN,kBAAkB,CAACO,GAAG,CAACL,iBAAiB,CAAC;IAChF,MAAMM,sBAAsB,GAAGC,QAAQ,CAACC,cAAc,CAAC,0BAA0B,CAAC;IAClF,MAAMC,gCAAgC,GAAGC,MAAM,CAACH,QAAQ,CAACC,cAAc,CAAC,aAAa,CAAC,CAAC;IACvF,MAAMG,aAAa,GAAGD,MAAM,CAACH,QAAQ,CAACK,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAC1E,MAAMC,cAAc,GAAGF,aAAa,CAACG,IAAI,CAAC,mBAAmB,CAAC;IAC9D,MAAMC,YAAY,GAAGR,QAAQ,CAACC,cAAc,CAAC,oBAAoB,CAAC;IAClE,MAAMQ,WAAW,GAAGT,QAAQ,CAACC,cAAc,CAAC,mBAAmB,CAAC;IAEhE,IAAIQ,WAAW,EAAE;MACfA,WAAW,CAACC,gBAAgB,CAAC,OAAO,EAAE,MAAM;QAC1CR,gCAAgC,CAACS,GAAG,CAAC,EAAE,CAAC;QACxCX,QAAQ,CAACC,cAAc,CAAC,qBAAqB,CAAC,CAACW,SAAS,GAAG,EAAE;OAC9D,CAAC;;IAGJ,MAAMC,QAAQ,GAAIC,KAAK,IAAK;MAC1B,MAAMpB,MAAM,G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