PageSourceSearch

https://kidshealth.org/etc.clientlibs/kidshealth/clientlibs/client…-8074c972212e0e68c9c0b0468d847a3a-lc.min.js

js kidshealth.org collected 2026-09-24 08:26:51 UTC 79,833 bytes, 169 lines download raw bytes

1'use strict';var EasyAutocomplete=function(a){a.Configuration=function(b){function d(f,g){function h(n,q){for(var u in q)void 0===n[u]&&f.log("Property '"+u+"' does not exist in EasyAutocomplete options API."),"object"===typeof n[u]&&-1===$.inArray(u,p)&&h(n[u],q[u])}h(e,g)}var e={data:"list-required",url:"list-required",dataType:"json",listLocation:function(f){return f},xmlElementName:"",getValue:function(f){return f},autocompleteOff:!0,placeholder:!1,ajaxCallback:function(){},matchResponseProperty:!1,
2list:{sort:{enabled:!1,method:function(f,g){f=e.getValue(f);g=e.getValue(g);return f<g?-1:f>g?1:0}},maxNumberOfElements:6,hideOnEmptyPhrase:!0,match:{enabled:!1,caseSensitive:!1,method:function(f,g){return-1<f.search(g)?!0:!1}},showAnimation:{type:"normal",time:400,callback:function(){}},hideAnimation:{type:"normal",time:400,callback:function(){}},onClickEvent:function(){},onSelectItemEvent:function(){},onLoadEvent:function(){},onChooseEvent:function(){},onKeyEnterEvent:function(){},onMouseOverEvent:function(){},
3onMouseOutEvent:function(){},onShowListEvent:function(){},onHideListEvent:function(){}},highlightPhrase:!0,theme:"",cssClasses:"",minCharNumber:0,requestDelay:0,adjustWidth:!1,ajaxSettings:{},preparePostData:function(f,g){return f},loggerEnabled:!0,template:"",categoriesAssigned:!1,categories:[{maxNumberOfElements:4}]},p=["ajaxSettings","template"];this.get=function(f){return e[f]};this.equals=function(f,g){var h=void 0!==e[f]&&null!==e[f]?!0:!1;return h&&e[f]===g?!0:!1};this.checkDataUrlProperties=
4function(){return"list-required"===e.url&&"list-required"===e.data?!1:!0};this.checkRequiredProperties=function(){for(var f in e)if("required"===e[f])return logger.error("Option "+f+" must be defined"),!1;return!0};this.printPropertiesThatDoesntExist=function(f,g){d(f,g)};(function(){"xml"===b.dataType&&(b.getValue||(b.getValue=function(u){return $(u).text()}),b.list||(b.list={}),b.list.sort||(b.list.sort={}),b.list.sort.method=function(u,v){u=b.getValue(u);v=b.getValue(v);return u<v?-1:u>v?1:0},
5b.list.match||(b.list.match={}),b.list.match.method=function(u,v){return-1<u.search(v)?!0:!1});if(void 0!==b.categories&&b.categories instanceof Array){for(var f=[],g=0,h=b.categories.length;g<h;g+=1){var n=b.categories[g],q;for(q in e.categories[0])void 0===n[q]&&(n[q]=e.categories[0][q]);f.push(n)}b.categories=f}})();(function(){function f(g,h){var n=g||{},q;for(q in g)void 0!==h[q]&&null!==h[q]&&("object"!==typeof h[q]||h[q]instanceof Array?n[q]=h[q]:f(g[q],h[q]));void 0!==h.data&&null!==h.data&&
6"object"===typeof h.data&&(n.data=h.data);return n}e=f(e,b)})();!0===e.loggerEnabled&&d(console,b);e.ajaxSettings=void 0!==b.ajaxSettings&&"object"===typeof b.ajaxSettings?b.ajaxSettings:{};(function(){if("list-required"!==e.url&&"function"!==typeof e.url){var f=e.url;e.url=function(){return f}}void 0!==e.ajaxSettings.url&&"function"!==typeof e.ajaxSettings.url&&(f=e.ajaxSettings.url,e.ajaxSettings.url=function(){return f});if("string"===typeof e.listLocation){var g=e.listLocation;"XML"===e.dataType.toUpperCase()?
7e.listLocation=function(n){return $(n).find(g)}:e.listLocation=function(n){return n[g]}}if("string"===typeof e.getValue){var h=e.getValue;e.getValue=function(n){return n[h]}}void 0!==b.categories&&(e.categoriesAssigned=!0)})()};return a}(EasyAutocomplete||{});EasyAutocomplete=function(a){a.Logger=function(){this.error=function(b){};this.warning=function(b){}};return a}(EasyAutocomplete||{});
8EasyAutocomplete=function(a){a.Constans=function(){var b={CONTAINER_CLASS:"easy-autocomplete-container",CONTAINER_ID:"eac-container-",WRAPPER_CSS_CLASS:"easy-autocomplete"};this.getValue=function(d){return b[d]}};return a}(EasyAutocomplete||{});
9EasyAutocomplete=function(a){a.ListBuilderService=function(b,d){function e(f,g){function h(){var v={},z;void 0!==f.xmlElementName&&(v.xmlElementName=f.xmlElementName);void 0!==f.listLocation?z=f.listLocation:void 0!==b.get("listLocation")&&(z=b.get("listLocation"));void 0!==z?"string"===typeof z?v.data=$(g).find(z):"function"===typeof z&&(v.data=z(g)):v.data=g;return v}function n(){var v={};void 0!==f.listLocation?"string"===typeof f.listLocation?v.data=g[f.listLocation]:"function"===typeof f.listLocation&&
10(v.data=f.listLocation(g)):v.data=g;return v}var q={};q="XML"===b.get("dataType").toUpperCase()?h():n();void 0!==f.header&&(q.header=f.header);void 0!==f.maxNumberOfElements&&(q.maxNumberOfElements=f.maxNumberOfElements);void 0!==b.get("list").maxNumberOfElements&&(q.maxListSize=b.get("list").maxNumberOfElements);if(void 0!==f.getValue)if("string"===typeof f.getValue){var u=f.getValue;q.getValue=function(v){return v[u]}}else"function"===typeof f.getValue&&(q.getValue=f.getValue);else q.getValue=b.get("getValue");
11return q}function p(f){var g=[];void 0===f.xmlElementName&&(f.xmlElementName=b.get("xmlElementName"));$(f.data).find(f.xmlElementName).each(function(){g.push(this)});return g}this.init=function(f){var g=[],h={};h.data=b.get("listLocation")(f);h.getValue=b.get("getValue");h.maxListSize=b.get("list").maxNumberOfElements;g.push(h);return g};this.updateCategories=function(f,g){if(b.get("categoriesAssigned")){f=[];for(var h=0;h<b.get("categories").length;h+=1){var n=e(b.get("categories")[h],g);f.push(n)}}return f};
12this.convertXml=function(f){if("XML"===b.get("dataType").toUpperCase())for(var g=0;g<f.length;g+=1)f[g].data=p(f[g]);return f};this.processData=function(f,g){for(var h=0,n=f.length;h<n;h+=1)f[h].data=d(b,f[h],g);return f};this.checkIfDataExists=function(f){for(var g=0,h=f.length;g<h;g+=1)if(void 0!==f[g].data&&f[g].data instanceof Array&&0<f[g].data.length)return!0;return!1}};return a}(EasyAutocomplete||{});
13EasyAutocomplete=function(a){a.proccess=function(b,d,e){function p(g,h){b.get("list").match.caseSensitive||("string"===typeof g&&(g=g.toLowerCase()),h=h.toLowerCase());return b.get("list").match.method(g,h)?!0:!1}a.proccess.match=p;var f=d.data;f=function(g,h){var n=[];if(b.get("list").match.enabled)for(var q=0,u=g.length;q<u;q+=1){var v=b.get("getValue")(g[q]);p(v,h)&&n.push(g[q])}else n=g;return n}(f,e);f=function(g){void 0!==d.maxNumberOfElements&&g.length>d.maxNumberOfElements&&(g=g.slice(0,d.maxNumberOfElements));
14return g}(f);f=function(g){b.get("list").sort.enabled&&g.sort(b.get("list").sort.method);return g}(f);return f=function(g){var h=[],n=[];$.each(g,function(q,u){-1==$.inArray(u.kh_value,h)&&(h.push(u.kh_value),n.push(u))});return n}(f)};return a}(EasyAutocomplete||{});
15EasyAutocomplete=function(a){a.Template=function(b){var d={basic:{type:"basic",method:function(p){return p},cssClass:""},description:{type:"description",fields:{description:"description"},method:function(p){return p+" - description"},cssClass:"eac-description"},iconLeft:{type:"iconLeft",fields:{icon:""},method:function(p){return p},cssClass:"eac-icon-left"},iconRight:{type:"iconRight",fields:{iconSrc:""},method:function(p){return p},cssClass:"eac-icon-right"},links:{type:"links",fields:{link:""},
16method:function(p){return p},cssClass:""},custom:{type:"custom",method:function(){},cssClass:""}},e=function(p){var f=p.fields;if("description"===p.type){var g=d.description.method;"string"===typeof f.description?g=function(h,n){return h+" - \x3cspan\x3e"+n[f.description]+"\x3c/span\x3e"}:"function"===typeof f.description&&(g=function(h,n){return h+" - \x3cspan\x3e"+f.description(n)+"\x3c/span\x3e"});return g}return"iconRight"===p.type?("string"===typeof f.iconSrc?g=function(h,n){return h+"\x3cimg class\x3d'eac-icon' src\x3d'"+
17n[f.iconSrc]+"' /\x3e"}:"function"===typeof f.iconSrc&&(g=function(h,n){return h+"\x3cimg class\x3d'eac-icon' src\x3d'"+f.iconSrc(n)+"' /\x3e"}),g):"iconLeft"===p.type?("string"===typeof f.iconSrc?g=function(h,n){return"\x3cimg class\x3d'eac-icon' src\x3d'"+n[f.iconSrc]+"' /\x3e"+h}:"function"===typeof f.iconSrc&&(g=function(h,n){return"\x3cimg class\x3d'eac-icon' src\x3d'"+f.iconSrc(n)+"' /\x3e"+h}),g):"links"===p.type?("string"===typeof f.link?g=function(h,n){return"\x3ca href\x3d'"+n[f.link]+"' \x3e"+
18h+"\x3c/a\x3e"}:"function"===typeof f.link&&(g=function(h,n){return"\x3ca href\x3d'"+f.link(n)+"' \x3e"+h+"\x3c/a\x3e"}),g):"custom"===p.type?p.method:d.basic.method};this.getTemplateClass=function(p){var f=function(){return""};return p&&p.type?p.type&&d[p.type]?function(){var g=d[p.type].cssClass;return function(){return g}}():f:f}(b);b=b&&b.type?b.type&&d[b.type]?e(b):d.basic.method:d.basic.method;this.build=b};return a}(EasyAutocomplete||{});
19EasyAutocomplete=function(a){a.main=function(b,d){function e(){x.parent().hasClass(z.getValue("WRAPPER_CSS_CLASS"))&&(x.next("."+z.getValue("CONTAINER_CLASS")).remove(),x.unwrap());(function(){var l=$("\x3cdiv\x3e"),r=z.getValue("WRAPPER_CSS_CLASS");m.get("theme")&&""!==m.get("theme")&&(r+=" eac-"+m.get("theme"));
19m.get("cssClasses")&&""!==m.get("cssClasses")&&(r+=" "+m.get("cssClasses"));""!==H.getTemplateClass()&&(r+=" "+H.getTemplateClass());l.addClass(r);x.wrap(l);!0===m.get("adjustWidth")&&(l=
20x.outerWidth(),x.parent().css("width",l))})();(function(){var l=$("\x3cdiv\x3e").addClass(z.getValue("CONTAINER_CLASS"));l.attr("id",p()).prepend($('\x3cul role\x3d"listbox"\x3e'));(function(){l.on("show.eac",function(){switch(m.get("list").showAnimation.type){case "slide":var r=m.get("list").showAnimation.time,A=m.get("list").showAnimation.callback;l.find("ul").slideDown(r,A);break;case "fade":r=m.get("list").showAnimation.time;A=m.get("list").showAnimation.callback;l.find("ul").fadeIn(r);A;break;
21default:l.find("ul").show()}m.get("list").onShowListEvent()}).on("hide.eac",function(){switch(m.get("list").hideAnimation.type){case "slide":var r=m.get("list").hideAnimation.time,A=m.get("list").hideAnimation.callback;l.find("ul").slideUp(r,A);break;case "fade":r=m.get("list").hideAnimation.time;A=m.get("list").hideAnimation.callback;l.find("ul").fadeOut(r,A);break;default:l.find("ul").hide()}m.get("list").onHideListEvent()}).on("selectElement.eac",function(){l.find("ul li").removeClass("selected");
22l.find("ul li").eq(C).addClass("selected");m.get("list").onSelectItemEvent()}).on("loadElements.eac",function(r,A,D){var w="";r=l.find("ul");r.empty().detach();E=[];var K=0,B=0;for(D=A.length;B<D;B+=1){var y=A[B].data;if(0!==y.length){void 0!==A[B].header&&0<A[B].header.length&&r.append("\x3cdiv class\x3d'eac-category' \x3e"+A[B].header+"\x3c/div\x3e");for(var I=0,T=y.length;I<T&&K<A[B].maxListSize;I+=1)w=$('\x3cli role\x3d"option"\x3e\x3cdiv class\x3d"eac-item"\x3e\x3c/div\x3e\x3c/li\x3e'),function(){var L=
23I,O=K,Q=A[B].getValue(y[L]);w.find(" \x3e div").on("click",function(){x.val(function(){return v(Q,"buildloop")}).trigger("change");C=O;q(O);m.get("list").onClickEvent();m.get("list").onChooseEvent()}).mouseover(function(){C=O;q(O);m.get("list").onMouseOverEvent()}).mouseout(function(){m.get("list").onMouseOutEvent()}).html(H.build(v(Q,"highlight"),y[L]))}(),r.append(w),E.push(y[I]),K+=1;n(I)}}l.append(r);m.get("list").onLoadEvent()})})();x.after(l);x.after(l)})();F=$("#"+p());m.get("placeholder")&&
24x.attr("placeholder",m.get("placeholder"))}function p(){var l=x.attr("id");return l=z.getValue("CONTAINER_ID")+l}function f(){U("autocompleteOff",!0)&&x.attr("autocomplete","off");(function(){x.focusout(function(){var l=x.val();m.get("list").match.caseSensitive||(l=l.toLowerCase());for(var r=0,A=E.length;r<A;r+=1){var D=m.get("getValue")(E[r]);m.get("list").match.caseSensitive||(D=D.toLowerCase());if(D===l){C=r;q(C);break}}})})();(function(){x.off("keyup").keyup(function(l){function r(D){if(!(D.length<
25m.get("minCharNumber"))){if("list-required"!==m.get("data")){var w=m.get("data"),K=J.init(w);K=J.updateCategories(K,w);K=J.processData(K,D);u(K,D);0<x.parent().find("li").length?g():h()}w=function(){var B={},y=m.get("ajaxSettings")||{},I;for(I in y)B[I]=y[I];return B}();if(void 0===w.url||""===w.url)w.url=m.get("url");if(void 0===w.dataType||""===w.dataType)w.dataType=m.get("dataType");void 0!==w.url&&"list-required"!==w.url&&(w.url=w.url(D),w.data=m.get("preparePostData")(w.data,D),$.ajax(w).done(function(B){var y=
26J.init(B);y=J.updateCategories(y,B);y=J.convertXml(y);if(!1!==m.get("matchResponseProperty")?"string"===typeof m.get("matchResponseProperty")?B[m.get("matchResponseProperty")]===D:"function"===typeof m.get("matchResponseProperty")?m.get("matchResponseProperty")(B)===D:1:1)y=J.processData(y,D),u(y,D);J.checkIfDataExists(y)&&0<x.parent().find("li").length?g():h();m.get("ajaxCallback")()}).fail(function(){M.warning("Fail to load response data")}).always(function(){}))}}switch(l.keyCode){case 27:h();
27x.trigger("blur");break;case 38:l.preventDefault();0<E.length&&0<C&&(--C,x.val(function(){return v(m.get("getValue")(E[C]),"case38")}),q(C));break;case 40:l.preventDefault();0<E.length&&C<E.length-1&&(C+=1,x.val(function(){return v(m.get("getValue")(E[C]),"case40")}),q(C));break;default:if(40<l.keyCode||8===l.keyCode){var A=x.val();!0!==m.get("list").hideOnEmptyPhrase||8!==l.keyCode||""!==A?0<m.get("requestDelay")?(void 0!==N&&clearTimeout(N),N=setTimeout(function(){r(A)},m.get("requestDelay"))):
28r(A):h()}}})})();(function(){x.on("keydown",function(l){l=l||window.event;if(38===l.keyCode)return suppressKeypress=!0,!1}).keydown(function(l){13===l.keyCode&&-1<C&&(x.val(function(){return v(m.get("getValue")(E[C]),"keycode13")}),m.get("list").onKeyEnterEvent(),m.get("list").onChooseEvent(),C=-1,h(),l.preventDefault())})})();x.off("keypress");(function(){x.focus(function(){""!==x.val()&&0<E.length&&(C=-1,g())})})();(function(){x.blur(function(){setTimeout(function(){C=-1;h()},250)})})()}function g(){F.trigger("show.eac");
29$("#q").attr("aria-expanded","true");$("#searchform").removeClass("noSuggs").addClass("suggs")}function h(){F.trigger("hide.eac");
29$("#q").attr("aria-expanded","false");$("#searchform").removeClass("suggs").addClass("noSuggs");$("#suggsAnnounce").empty()}function n(l){if("en"===$("html").attr("lang"))var r="",A=" search suggestion is available. Use the down arrow to select or press escape to exit the list or continue to type your query or press enter to submit your search.",D=" search suggestions are available. Use the up and down arrows to navigate the list, or press escape to exit the list, or continue to type your query and or press enter to submit your search.";
30else r="Hay ",A=' sugerencia de b\u00fasqueda. Utilizar las flechas hacia abajo para seleccionar o pulse "escape" para salir de la lista o contin\u00fae escribiendo su pregunta o pulse "intro" para enviar la b\u00fasqueda.',D=' sugerencias de b\u00fasqueda. Utilizar las flechas hacia arriba y hacia abajo para desplazarse por la lista o pulse "escape" para salir de la lista o contin\u00fae para escribir su pregunta y/o pulse "intro" para enviar la b\u00fasqueda';r=1==l?r+l+A:r+l+D;0<l?$("#suggsAnnounce").html(r):
31$("#suggsAnnounce").empty()}function q(l){F.trigger("selectElement.eac",l)}function u(l,r){$.uniqueSort(l);F.trigger("loadElements.eac",[l,r])}function v(l,r){return 0<l.indexOf("(for")?l.substr(0,l.indexOf("for")-1):0<l.indexOf("(para")?l.substr(0,l.indexOf("para")-1):0<l.indexOf(licName)?l.substr(0,l.indexOf(licName)-3):l}var z=new a.Constans,m=new a.Configuration(d),M=new a.Logger,H=new a.Template(d.template),J=new a.ListBuilderService(m,a.proccess),U=m.equals,x=b,F="",E=[],C=-1,N;a.consts=z;this.getConstants=
32function(){return z};this.getConfiguration=function(){return m};this.getContainer=function(){return F};this.getSelectedItemIndex=function(){return C};this.getItems=function(){return E};this.getItemData=function(l){return E.length<l||void 0===E[l]?-1:E[l]};this.getSelectedItemData=function(){return this.getItemData(C)};this.build=function(){e()};this.init=function(){0===x.length?M.error("Input field doesn't exist."):m.checkDataUrlProperties()?m.checkRequiredProperties()?(e(),f()):M.error("Will not work without mentioned properties."):
33M.error("One of options variables 'data' or 'url' must be defined.")}};a.eacHandles=[];a.getHandle=function(b){return a.eacHandles[b]};a.inputHasId=function(b){return void 0!==$(b).attr("id")&&0<$(b).attr("id").length?!0:!1};a.assignRandomId=function(b){do var d="eac-"+Math.floor(1E4*Math.random());while(0!==$("#"+d).length);elementId=a.consts.getValue("CONTAINER_ID")+d;$(b).attr("id",d)};a.setHandle=function(b,d){a.eacHandles[d]=b};return a}(EasyAutocomplete||{});
34(function(a){a.fn.easyAutocomplete=function(b){return this.each(function(){var d=a(this),e=new EasyAutocomplete.main(d,b);EasyAutocomplete.inputHasId(d)||EasyAutocomplete.assignRandomId(d);e.init();EasyAutocomplete.setHandle(e,d.attr("id"))})};a.fn.getSelectedItemIndex=function(){var b=a(this).attr("id");return void 0!==b?EasyAutocomplete.getHandle(b).getSelectedItemIndex():-1};a.fn.getItems=function(){var b=a(this).attr("id");return void 0!==b?EasyAutocomplete.getHandle(b).getItems():-1};a.fn.getItemData=
35function(b){var d=a(this).attr("id");return void 0!==d&&-1<b?EasyAutocomplete.getHandle(d).getItemData(b):-1};a.fn.getSelectedItemData=function(){var b=a(this).attr("id");return void 0!==b?EasyAutocomplete.getHandle(b).getSelectedItemData():-1}})(jQuery);
36var agt=navigator.userAgent.toLowerCase(),is_major=parseInt(navigator.appVersion),is_minor=parseFloat(navigator.appVersion),is_nav=-1!=agt.indexOf("mozilla")&&-1==agt.indexOf("spoofer")&&-1==agt.indexOf("compatible")&&-1==agt.indexOf("opera")&&-1==agt.indexOf("webtv"),is_nav2=is_nav&&2==is_major,is_nav3=is_nav&&3==is_major,is_nav4=is_nav&&4==is_major,is_nav4up=is_nav&&4<=is_major,is_navonly=is_nav&&(-1!=agt.indexOf(";nav")||-1!=agt.indexOf("; nav")),is_nav5=is_nav&&5==is_major,is_nav5up=is_nav&&5<=
37is_major,is_ie=-1!=agt.indexOf("msie"),is_ie3=is_ie&&4>is_major,is_ie4=is_ie&&4==is_major&&-1==agt.indexOf("msie 5.0"),is_ie4up=is_ie&&4<=is_major,is_ie5=is_ie&&4==is_major&&-1!=agt.indexOf("msie 5.0"),is_ie5up=is_ie&&!is_ie3&&!is_ie4,is_aol=-1!=agt.indexOf("aol"),is_aol3=is_aol&&is_ie3,is_aol4=is_aol&&is_ie4,is_opera=-1!=agt.indexOf("opera"),is_webtv=-1!=agt.indexOf("webtv"),is_js;
38is_js=is_nav2||is_ie3?1:is_nav3||is_opera?1.1:is_nav4&&4.05>
38=is_minor||is_ie4?1.2:is_nav4&&4.05<is_minor||is_ie5?1.3:is_nav5?1.4:is_nav&&5<is_major?1.4:is_ie&&5<is_major?1.3:0;
39var is_win=-1!=agt.indexOf("win")||-1!=agt.indexOf("16bit"),is_win95=-1!=agt.indexOf("win95")||-1!=agt.indexOf("windows 95"),is_win16=-1!=agt.indexOf("win16")||-1!=agt.indexOf("16bit")||-1!=agt.indexOf("windows 3.1")||-1!=agt.indexOf("windows 16-bit"),is_win31=-1!=agt.indexOf("windows 3.1")||-1!=agt.indexOf("win16")||-1!=agt.indexOf("windows 16-bit"),is_win98=-1!=agt.indexOf("win98")||-1!=agt.indexOf("windows 98"),is_winnt=-1!=agt.indexOf("winnt")||-1!=agt.indexOf("windows nt"),is_win32=is_win95||
40is_winnt||is_win98||4<=is_major&&"Win32"==navigator.platform||-1!=agt.indexOf("win32")||-1!=agt.indexOf("32bit"),is_os2=-1!=agt.indexOf("os/2")||-1!=navigator.appVersion.indexOf("OS/2")||-1!=agt.indexOf("ibm-webexplorer"),is_mac=-1!=agt.indexOf("mac"),is_mac68k=is_mac&&(-1!=agt.indexOf("68k")||-1!=agt.indexOf("68000")),is_macppc=is_mac&&(-1!=agt.indexOf("ppc")||-1!=agt.indexOf("powerpc")),is_sun=-1!=agt.indexOf("sunos"),is_sun4=-1!=agt.indexOf("sunos 4"),is_sun5=-1!=agt.indexOf("sunos 5"),is_suni86=
41is_sun&&-1!=agt.indexOf("i86"),is_irix=-1!=agt.indexOf("irix"),is_irix5=-1!=agt.indexOf("irix 5"),is_irix6=-1!=agt.indexOf("irix 6")||-1!=agt.indexOf("irix6"),is_hpux=-1!=agt.indexOf("hp-ux"),is_hpux9=is_hpux&&-1!=agt.indexOf("09."),is_hpux10=is_hpux&&-1!=agt.indexOf("10."),is_aix=-1!=agt.indexOf("aix"),is_aix1=-1!=agt.indexOf("aix 1"),is_aix2=-1!=agt.indexOf("aix 2"),is_aix3=-1!=agt.indexOf("aix 3"),is_aix4=-1!=agt.indexOf("aix 4"),is_linux=-1!=agt.indexOf("inux"),is_sco=-1!=agt.indexOf("sco")||
42-1!=agt.indexOf("unix_sv"),is_unixware=-1!=agt.indexOf("unix_system_v"),is_mpras=-1!=agt.indexOf("ncr"),is_reliant=-1!=agt.indexOf("reliantunix"),is_dec=-1!=agt.indexOf("dec")||-1!=agt.indexOf("osf1")||-1!=agt.indexOf("dec_alpha")||-1!=agt.indexOf("alphaserver")||-1!=agt.indexOf("ultrix")||-1!=agt.indexOf("alphastation"),is_sinix=-1!=agt.indexOf("sinix"),is_freebsd=-1!=agt.indexOf("freebsd"),is_bsd=-1!=agt.indexOf("bsd"),is_unix=-1!=agt.indexOf("x11")||is_sun||is_irix||is_hpux||is_sco||is_unixware||
43is_mpras||is_reliant||is_dec||is_sinix||is_aix||is_linux||is_bsd||is_freebsd,is_vms=-1!=agt.indexOf("vax")||-1!=agt.indexOf("openvms");function newWindow(a){window.open(a,"EmailToFriend","width\x3d650,height\x3d600,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes")}function newInvisibleWindow(a){window.open(a,"EmailToFriend","width\x3d0,height\x3d0,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes")}
44function popupWin(a,b,d,e){isNaN(parseInt(d))&&(d=600);isNaN(parseInt(e))&&(e=650);window.open(a,b,"width\x3d"+d+",height\x3d"+e+",scrollbars\x3dyes,resizable\x3dyes,status\x3dyes")}var audioOn=!1;function defineMySound(a,b){document.writeln("\x3cEMBED NAME\x3d'"+a+"' SRC\x3d'"+b+"' MASTERSOUND LOOP\x3d'false' AUTOSTART\x3d'false' AUTOREWIND\x3d'true' HIDDEN\x3d'true' WIDTH\x3d'0' HEIGHT\x3d'0'\x3e")}
45function audioDo(a,b){if(audioOn&&/^[a-zA-Z0-9_]+$/.test(b)&&(b=document[b],null!=b))if("stop"==a)b.stop();else if("Netscape"==navigator.appName)b.play();else{if(null==document.M){document.M=!1;for(var d in b)if("ActiveMovie"==d){document.M=!0;break}}document.M&&(b.SelectionStart=0);document.M&&b.play()}}function openBlankTargetWin(a){window.open(a,"_blank")}
46function validateQT(){return null!=document.SeekForm.SearchTextArea&&0==document.SeekForm.SearchTextArea.value.length||"Search here..."==document.SeekForm.SearchTextArea.value?(document.SeekForm.SearchTextArea.focus(),alert("Please enter a question or keyword to search."),!1):!0}function MM_swapImgRestore(){var a,b,d=document.MM_sr;for(a=0;d&&a<d.length&&(b=d[a])&&b.oSrc;a++)b.src=b.oSrc}
47function MM_preloadImages(){var a=document;if(a.images){a.MM_p||(a.MM_p=[]);var b,d=a.MM_p.length,e=MM_preloadImages.arguments;for(b=0;b<e.length;b++)0!=e[b].indexOf("#")&&(a.MM_p[d]=new Image,a.MM_p[d++].src=e[b])}}
48function MM_findObj(a,b){var d,e;b||(b=document);0<(d=a.indexOf("?"))&&parent.frames.length&&(b=parent.frames[a.substring(d+1)].document,a=a.substring(0,d));!(e=b[a])&&b.all&&(e=b.all[a]);for(d=0;!e&&d<b.forms.length;d++)e=b.forms[d][a];for(d=0;!e&&b.layers&&d<b.layers.length;d++)e=MM_findObj(a,b.layers[d].document);!e&&b.getElementById&&(e=b.getElementById(a));return e}
49function MM_swapImage(){var a,b=0,d,e=MM_swapImage.arguments;document.MM_sr=[];for(a=0;a<e.length-2;a+=3)null!=(d=MM_findObj(e[a]))&&(document.MM_sr[b++]=d,d.oSrc||(d.oSrc=d.src),d.src=e[a+2])}function printWindow(a){window.open(a,"Print","width\x3d700,height\x3d600,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes,toolbar\x3dyes,menubar\x3dyes")}function checkOutWindow(a){window.open(a,"CheckOut","width\x3d600,height\x3d400,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes")}
50function intializemarquee(){}function NewCPNNPNWindow(a,b){window.open(a,b,"width\x3d650,height\x3d430,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes")}function checkCookieNemours2(){var a=readTheCookie2("refNemours"),b=document.referrer.toLowerCase();"1"==a?createTheCookie2("refNemours","1",".5"):(-1<b.indexOf("nemours")||-1<b.indexOf("medlineplus")||-1<b.indexOf("nlm")||-1<b.indexOf("nih")||-1<b.indexOf("mobilewebby"))&&createTheCookie2("refNemours","1",".5")}
51function createTheCookie2(a,b,d){if(d){var e=new Date;e.setTime(e.getTime()+36E5*d);d=";
51 expires\x3d"+e}else d="";document.cookie=a+"\x3d"+b+d+"; path\x3d/"}function readTheCookie2(a){a+="\x3d";for(var b=document.cookie.split(";"),d=0;d<b.length;d++){for(var e=b[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(a))return e.substring(a.length,e.length)}return null}checkCookieNemours2();var isMobile=!1,pageLang=$("html").attr("lang");
52let isShrunk=0,currentScroll=$(window).scrollTop(),mobFooter=0,isMob=0;
53var closeSearchWords=function(){return"en"===pageLang?"Close Search":"Cerrar b\u00fasqueda"},openSearchWords=function(){return"en"===pageLang?"Open Search":"Abrir b\u00fasqueda"},openSearchLangWords=function(){return"en"===pageLang?"Open Search Language Selector":"Abrir el selector de b\u00fasqueda de idiomas"},closeSearchLangWords=function(){return"en"===pageLang?"Close Search Language Selector":"Cerrar el selector de b\u00fasqueda de idiomas"},customValidityWords=function(){return"en"===pageLang?
54"Please fill in this field.":"Por favor, complete este campo"},searchButtonSearchText=function(){return"en"===pageLang?"Search":"Buscar"},searchButtonCloseText=function(){return"en"===pageLang?"Close":"Cerrar"};
55if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.
55substr(0,
564)))isMobile=!0;function isValidSection(a){return/^[A-Za-z0-9_-]+$/.test(a)}function homePageHeight(){var a=$(window).height(),b=$("#kh-header").height(),d=$(".footer").height(),e=$(".hcCallout").outerHeight();e=parseInt(e)+160;a=parseInt(a)-parseInt(b)-parseInt(d);$(".homeBodyContainer").css("height",a).css("minHeight",e)}
57function mobileFooterAcc(){1==mobFooter?"none"!=$("ul.footerList").css("display")&&($("ul.footerList").css("display","none"),$("h5.footerColumnHeading").each(function(){var a=$(this).attr("id").slice(0,-1)+"UL";$(this).attr({"aria-controls":a,role:"button","aria-expanded":!1,tabindex:"0"}).addClass("mfClosed")})):0==mobFooter&&"block"!=$("ul.footerList").css("display")&&($("ul.footerList").css("display","block"),$("h5.footerColumnHeading").each(function(){$(this).removeAttr("aria-expanded role aria-controls tabindex").removeClass("mfClosed mfOpen")}))}
58function runOnStartAndResize(){isMob="block"==$("#kh-mob-icon").css("display")?1:0;mobFooter="column"==$("#footerRow3").css("flex-direction")?1:0;mobileFooterAcc()}$(window).resize(function(){"true"!=isEdit&&homePageHeight();buttonsHeight();runOnStartAndResize()});$(window).load(function(){homePageHeight()});
59function titleMe(){$(".hcCallout").each(function(a,b){a=$(this).children("a").first().text();b=$(this).children("p").first().text();if("es"===pageLang)if(-1<a.indexOf("adres"))var d="Para padres";else-1<a.indexOf("\u00f1os")?d="Para ni\u00f1os":-1<a.indexOf("dolescentes")?d="Para adolescentes":$(this).children("h2").remove();else-1<b.indexOf("logo")?d="Like our new look?":-1<a.indexOf("arents")?d="For Parents":-1<a.indexOf("ids")?d="For Kids":-1<a.indexOf("eens")?d="For Teens":a.indexOf("ducators")?
60d="For Educators":$(this).children("h2").remove();$(this).children("h2").text(d)})}function buttonsHeight(){if($(".kh-slide.active-slide").length){var a=$(".active-slide \x3e div \x3e img").height();a=Math.floor(parseInt(a)/2-25);$(".kh-slideshow-buttons").css("top",a)}}$(window).on("load",function(){buttonsHeight();$(".kh-slideshow-buttons").css("visibility","visible")});
61$(document).ready(function(){function a(){for(P=0;100>P;P++)window.clearTimeout(P)}function b(c){currentScroll=$(window).scrollTop();y.hasClass("shrunkenBody")||y.hasClass("shrunkenBodied")?(y.css({position:"fixed","touch-action":"none","-webkit-overflow-scrolling":"none","overscroll-behavior":"none",width:"100%",overflow:"",top:-c}),y.addClass("shrunkenBodied"),E.addClass("shrunkenHeaded"),isShrunk=1):$("html").addClass("fixBG")}function d(){y.hasClass("shrunkenBody")||y.hasClass("shrunkenBodied")?
62(y.css({position:"","touch-action":"","-webkit-overflow-scrolling":"","overscroll-behavior":"",width:"",overflow:"",top:""}),isShrunk=1):$("html").removeClass("fixBG");1==isShrunk&&(y.removeClass("shrunkenBodied").addClass("shrunkenBody"),E.removeClass("shrunkenHeaded").addClass("shrunkenHead"),$("html, body").scrollTop(currentScroll))}function e(c){$(w).removeClass("modalIn").addClass("modalOut");setTimeout(function(){$(w).hide()},200);d()}function p(c){1==isShrunk?(c=$(window).scrollTop(),b(c)):
63b();$(w).removeClass("modalOut").addClass("modalIn").show()}function f(){$(D).each(function(){$(this).hasClass("openTab")&&$(this).removeClass().attr("aria-expanded","false")});$(A).each(function(){$(this).hasClass("openNav")&&$(this).removeClass("openNav").addClass("closedNav")})}function g(c,k,t,G){1!=t&&(t=$(window).scrollTop(),e(t));$(k).removeClass("openTab").attr("aria-expanded","false");$(c).removeClass("openNav").addClass("closingNav");setTimeout(function(){$(c).removeClass("closingNav").addClass("closedNav")},
64200);$("body").hasClass("keyboardUser")&&$(k).focus()}function h(c,k,t){$(A).each(function(){$(this).is(c)||$(this).removeClass("openNav").addClass("closedNav")});$(D).each(function(){$(this).is(k)||$(this).attr("aria-expanded","false").removeClass("openTab")});var G="#tabTrap_"+t;$(".tabTrap").each(function(){if(!$(this).is(G)){var S="#"+$(this).attr("id");m(S,"-1","")}})}function n(c,k,t){h(c,k,t);$(l).removeClass("openSearchButt").addClass("closeSearchButt").attr("aria-expanded","fal
64se").text(searchButtonSearchText);
65$(r).attr("class","closedSearch");m("#tabTrap_search","-1");$(w).hasClass("modalIn")||p();$(k).addClass("openTab").attr("aria-expanded","true");$(c).removeClass("closedNav").addClass("openingNav");setTimeout(function(){$(c).removeClass("openingNav").addClass("openNav");$("body").hasClass("keyboardUser")&&$(c+" .kh-section-subnav-row2 ul li:first-child a").focus()},200)}function q(){a();f();M();m("#tabTrap_search","0","#kh-search-icon");$(w).hasClass("modalIn")||p();$(l).addClass("openSearchButt").attr("aria-expanded",
66"true").text(searchButtonCloseText);$(r).removeClass("closedSearch").addClass("openingSearch").show();setTimeout(function(){$(r).removeClass("openingSearch").addClass("openSearch")},200)}function u(){var c=$(window).scrollTop();$(l).removeClass("openSearchButt").addClass("closeSearchButt").attr("aria-expanded","false").text(searchButtonSearchText);1==isShrunk?e(c):e();$(r).removeClass("openSearch").addClass("closingSearch");setTimeout(function(){$(l).removeClass("closeSearchButt");$(r).removeClass("closingSearch").addClass("closedSearch")},
67200);m("#tabTrap_search","-1")}function v(){M();g("#kh-mob-menu","#kh-mob-icon");setTimeout(function(){$(w).removeClass("mobMenu4z")},200);$(".kh-section-subnav").removeClass("openNav").addClass("closedNav")}function z(c,k){var t=c&&c.charAt&&"#"===c.charAt(0)?c.substring(1):c;k=k&&k.charAt&&"#"===k.charAt(0)?k.substring(1):k;t=document.getElementById(t);k=document.getElementById(k);t&&k&&(t=$(t),k=$(k),t.hasClass("mfOpen")?(t.removeClass("mfOpen").addClass("mfClosed").attr("aria-expanded","false"),
68k.css("display","none"),R=$.grep(R,function(G){return G!=c})):t.hasClass("mfClosed")&&(t.removeClass("mfClosed").addClass("mfOpen").attr("aria-expanded","true"),k.css("display","block"),R.push(c)))}function m(c,k,t){if(void 0==t||null==t)t="";try{var G=document.querySelector(c);G&&(G.setAttribute("tabindex",k),G.setAttribute("data-focusto",t))}catch(S){}}function M(){$(".tabTrap").each(function(){$(this).attr("tabindex","-1")})}function H(c){"parents"===c&&($("#parents_tab").attr("tabindex",0),$("#teens_tab").attr("tabindex",
69-1),$("#kids_tab").attr("tabindex",-1));"kids"===c&&($("#parents_tab").attr("tabindex",-1),$("#teens_tab").attr("tabindex",-1),$("#kids_tab").attr("tabindex",0));"teens"===c&&($("#parents_tab").attr("tabindex",-1),$("#teens_tab").attr("tabindex",0),$("#kids_tab").attr("tabindex",-1))}function J(){var c="en"==$("#searchform input#q").attr("lang")?"english":"spanish";$("#searchform input[name\x3d'lang']").val(c)}function U(){$(".kh-mott-links li").removeClass("kh-mott-lastlink");$(".kh-mott-links:visible li").each(function(c){c==
70W-1&&$(this).addClass("kh-mott-lastlink");c>=W&&$(this).hide()});$("#kh-mott-toggle").attr("data-expanded","false");$("#kh-mott-toggle").hasClass("kh-mott-toggle-span")?$("#kh-mott-toggle").text("ver m\u00e1s").css("display","block"):$("#kh-mott-toggle").text("View more").css("display","block")}function x(c){$("#kh-mott-"+c+"-links li").length>W?U():$("#kh-mott-toggle").hide()}function F(c){$("#kh-mott-tabs li button").removeClass("kh-mott-active");$(".kh-mott-links:visible").hide();$("#parents_tab").attr("aria-selected",
71"false");$("#kids_tab").attr("aria-selected","false");$("#teens_tab").attr("aria-selected","false");$("#kh-mott-tabs li[data-section\x3d'"+c+"'] button").addClass("kh-mott-active");$("#kh-mott-tabs li[data-section\x3d'"+c+"'] button").attr("aria-selected","true");$("#kh-mott-"+c+"-links").show();x(c)}const E=$("#kh-header"),C=$("#kh-slideshow-next"),N=$("#kh-slideshow-prev"),l=$("#kh-search-icon"),r=$("#kh-search-area"),A=$(".kh-section-subnav");$("ul#kh-topnav-tabs");$("ul#kh-topnav-tabs li");const D=
72$("ul#kh-topnav-tabs li button"),w=$("#kh-background-overlay"),K=$("button#kh-mob-icon");$("#kh-mob-menu");var B=$("ul#kh-mob-menu-buttons li button");const y=$("body");$(w).removeClass().hide();var I=window.location.href;-1<navigator.userAgent.indexOf("CriOS")?y.addClass("CriOS"):y.addClass("notCriOS");runOnStartAndResize();$(".sansJSMott").hide();$("ul#kh-mott-tabs").css("display","flex");$(".JSMott").show();$("#kh-mott-kids-links").hide();$("#kh-mott-teens-links").hide();buttonsHeight();const T=
73$(".kh-slideshow").data("slidestotalcount");$("#totalcount").text(T);$("#slidenumber").text(1);N.css("visibility","hidden");C.click(function(){N.css("visibility","visible");let c=$(".active-slide").attr("id");var k=c.substring(11);k=parseInt(k)+1;k==T?C.css("visibility","hidden"):C.css("visibility","visible");$("#"+c).removeClass("active-slide");$("#slideNumber"+k).addClass("active-slide");$("#slidenumber").text(k)});N.click(function(){C.css("visibility","visible");var c=$(".active-slide").attr("id"),
74k=c.substring(11);k=parseInt(k)-1;1==k?N.css("visibility","hidden"):N.css("visibility","visible");$("#"+c).removeClass("active-slide");$("#slideNumber"+k).addClass("active-slide");$("#slidenumber").text(k)});titleMe();var L=$(".kh-landing-page ul#kh-slider-dots li"),O=$(".kh-landing-page ul#kh-slider-dots li button"),Q=$('.kh-landing-page .cmp-carousel [data-cmp-hook-carousel\x3d"item"]');Q.removeClass("waxOn");O.removeClass("activeDot");$("#slideNumber1").addClass("waxOn");$("#buttonDot1").addClass("activeDot");
75var X=$(L).length;$(".hcNext").click(function(c){c.preventDefault();c.stopPropagation();c=$(".waxOn").attr("id");c=parseInt(c.replace("slideNumber",""),10);var k=parseInt(c)+1;k>X&&(k=1);Q.removeClass("waxOn");$("#slideNumber"+k).addClass("waxOn");$("#buttonDot"+c).removeClass("activeDot");$("#buttonDot"+k).addClass("activeDot")});$(".hcPrev").click(function(c){c.preventDefault();c.stopPropagation();c=$(".waxOn").attr("id");c=parseInt(c.replace("slideNumber",""),10);var k=parseInt(c)-1;1>k&&(k=X);
76Q.removeClass("waxOn");$("#slideNumber"+k).addClass("waxOn");$("#buttonDot"+c).removeClass("activeDot");$("#buttonDot"+k).addClass("activeDot")});$(O).click(function(c){c.preventDefault();c.stopPropagation();c=parseInt($(this).attr("id").replace("buttonDot",""),10);$(O).removeClass();$(this).addClass("activeDot");Q.removeClass("waxOn");$("#slideNumber"+c).addClass("waxOn")});$(".khad-container").attr("tabindex","0");$(".khad-container .khad-button").attr("tabindex","-1");$(".khad-button").on({touchstart:function(){$(this).click()},
77touchend:function(){var c=this;setTimeout(function(){$(c).closest(".khad-container").removeClass("adHover adClickable")},1E3)}});$(".khad-container").on({touchstart:function(c){c.preventDefault();$(this).addClass("adHover");var k=this;$(k).data("buttTime",setTimeout(function(){$(k).addClass("adClickable")},1E3))},touchcancel:function(c){c.preventDefault();clearTimeout($(this).data("buttTime"));$(this).removeClass("adHover adClickable")},keyup:function(c){"Enter"===c.key&&$(this).find(".khad-button").click()}});
78$("html").on({touchstart:function(c){$(c.target).parents().andSelf().is(".khad-container")||$(".khad-container").removeClass("adHover adClickable")}});L=function(){var c="";if(-1<I.indexOf("/en/parents")||-1<I.indexOf("/es/parents"))c="parents";else if(-1<I.indexOf("/en/kids")||-1<I.indexOf("/es/kids"))c="kids";else if(-1<I.indexOf("/en/teens")||-1<I.indexOf("/es/teens"))c="teens";$("#khMainContainer").addClass(c);return c}();$('ul#kh-topnav-tabs li button[data-section\x3d"'+L+'"]').attr("data-status",
79"currentSection");L=document.getElementsByTagName("INPUT");for(var P=0;P<L.length;P++)L[P].oninvalid=function(c){c.target.setCustomValidity("");c.target.validity.valid||("es"===pageLang?c.target.setCustomValidity("Por favor, complete este campo"):c.target.setCustomValidity("Please fill out this field"))},L[P].oninput=function(c){c.target.setCustomValidity("")};$(window).resize(function(){});$(w).click(function(){a();"true"==$("#kh-search-icon").attr("aria-expanded")?u():"true"==$(K).attr("aria-expanded")?
80(v(),$("#kh-mob-menu").removeClass().addClass("closedNav"),$("#kh-mob-icon").removeClass().attr("aria-expanded","fal
80se")):"true"==$("#kh-parents-tab").attr("aria-expanded")?g("#kh-parents-subnav","#kh-parents-tab"):"true"==$("#kh-kids-tab").attr("aria-expanded")?g("#kh-kids-subnav","#kh-kids-tab"):"true"==$("#kh-teens-tab").attr("aria-expanded")&&g("#kh-teens-subnav","#kh-teens-tab");if(E.hasClass("shrunkenHead")||E.hasClass("shrunkenHeaded")){var c=$(window).scrollTop();d(c)}else d();$(w).removeClass().hide();
81M()});$(D).click(function(){var c=$(this).attr("data-section");if(isValidSection(c)){var k=document.getElementById("kh-"+c+"-tab"),t=document.getElementById("kh-"+c+"-subnav"),G=document.getElementById("tabTrap_"+c);k&&t&&G&&(k="#kh-"+c+"-tab",t="#kh-"+c+"-subnav",G="#tabTrap_"+c,$(t).hasClass("openingNav")||$(k).hasClass("closingNav")||($(k).hasClass("openTab")?(g(t,k),m(G,"-1")):(n(t,k,c),m(G,"0",k))))}});$(l).click(function(){$(l).hasClass("openSearchButt")?u():q()});$(K).click(function(){"true"==
82$(this).attr("aria-expanded")?(g("#kh-mob-menu","#kh-mob-icon"),setTimeout(function(){$(w).removeClass("mobMenu4z")},200),m("#tabTrap_mm","-1")):($(w).addClass("mobMenu4z"),n("#kh-mob-menu","#kh-mob-icon","burgerButt"),m("#tabTrap_mm","0","#mob-menu-close"))});$("#mob-menu-close").click(function(){v()});$(".kh-mob-back button").on("focusout keydown",function(c){c.stopPropagation;if("Tab"===c.key&&c.shiftKey)return $("#mob-menu-close").focus(),!1});$("#mob-menu-close").on("focusout keydown",function(c){var k,
83t;$("ul#kh-mob-menu-buttons li button").each(function(){if("true"==$(this).attr("aria-expanded")){var G=$(this).data("section");k="#"+G+"Back";t="#kh-"+G+"-subnav \x3e div \x3e div.kh-section-subnav-row3 \x3e ul \x3e li:last-child a"}});"Tab"===c.key&&(c.shiftKey?$(t).focus():$(k).focus())});$(".kh-mob-back button").click(function(){var c=$(this).attr("data-section");if(isValidSection(c)){var k="#mob-butt-"+c,t="#kh-"+c+"-subnav";c="#tabTrap_"+c;$(t).hasClass("openingNav")||$(k).hasClass("closingNav")||
84!$(k).hasClass("openTab")||(m(c,"-1"),m("#tabTrap_mm","0","#mob-menu-close"),g(t,k,!0),$(k).focus())}});$(B).click(function(){var c=$(this).attr("data-section");if(isValidSection(c)){var k="#mob-butt-"+c,t="#kh-"+c+"-subnav",G="#"+c+"Back",S="#tabTrap_"+c;$(t).hasClass("openingNav")||$(k).hasClass("closingNav")||($(k).hasClass("openTab")?(g(t,k,!0),m(S,"-1")):(n(t,k,c),m(S,"0",G)))}});let R=[];$(".footerColumnHeading").on({click:function(c){c.preventDefault();c="#"+$(this).attr("id");var k="#"+$(this).attr("aria-controls");
85z(c,k)},keyup:function(c){if("Enter"===c.key){c.preventDefault();c="#"+$(this).attr("id");var k="#"+$(this).attr("aria-controls");z(c,k)}}});$(document).keydown(function(c){if("Escape"===c.key)if(c.preventDefault(),"true"==$("#kh-search-icon").attr("aria-expanded"))$("#searchform").hasClass("suggs")?$("#searchform").removeClass("suggs"):$("#q").val()?$("#q").val(""):u();else if("true"==$(K).attr("aria-expanded"))"true"==$("#mob-butt-parents").attr("aria-expanded")?g("#kh-parents-subnav","#mob-butt-parents",
86!0):"true"==$("#mob-butt-kids").attr("aria-expanded")?g("#kh-kids-subnav","#mob-butt-kids",!0):"true"==$("#mob-butt-teens").attr("aria-expanded")?g("#kh-teens-subnav","#mob-butt-teens",!0):v();else if("true"==$("#kh-parents-tab").attr("aria-expanded"))g("#kh-parents-subnav","#kh-parents-tab");else if("true"==$("#kh-kids-tab").attr("aria-expanded"))g("#kh-kids-subnav","#kh-kids-tab");else if("true"==$("#kh-teens-tab").attr("aria-expanded"))g("#kh-teens-subnav","#kh-teens-tab");else{if(0!==R.length){c=
87R[R.length-1];var k=c.slice(0,-1)+"UL";z(c,k)}}else"Tab"===c.key?($("body").removeClass("mouseUser"),$("body").addClass("keyboardUser")):"Enter"===c.key?$("#q").is(":focus")&&(c.preventDefault(),searchurl()):"ArrowRight"===c.key?$("#parents_tab").is(":focus")?$("#kids_tab").length?($("#kids_tab").focus(),F("kids"),H("kids")):$("#teens_tab").length&&($("#teens_tab").focus(),F("teens"),H("teens")):$("#kids_tab").is(":focus")?$("#teens_tab").length?($("#teens_tab").focus(),F("teens"),H("teens")):$("#parents_tab").length&&
88($("#parents_tab").focus(),F("parents"),H("parents")):$("#teens_tab").is(":focus")&&($("#parents_tab").length?($("#parents_tab").focus(),F("parents"),H("parents")):$("#kids_tab").length&&($("#kids_tab").focus(),F("kids"),H("kids"))):"ArrowLeft"===c.key&&
88($("#parents_tab").is(":focus")?$("#teens_tab").length?($("#teens_tab").focus(),F("teens"),H("teens")):$("#kids_tab").length&&($("#kids_tab").focus(),F("kids"),H("kids")):$("#kids_tab").is(":focus")?$("#parents_tab").length?($("#parents_tab").focus(),
89F("parents"),H("parents")):$("#teens_tab").length&&($("#teens_tab").focus(),F("teens"),H("teens")):$("#teens_tab").is(":focus")&&($("#kids_tab").length?($("#kids_tab").focus(),F("kids"),H("kids")):$("#parents_tab").length&&($("#parents_tab").focus(),F("parents"),H("parents"))))});$(window).scroll(function(){var c=$(window).scrollTop();var k=1==isMob?30:50;c>=k?(y.addClass("shrunkenBody"),E.addClass("shrunkenHead"),isShrunk=1):c<k&&(y.removeClass("shrunkenBody"),E.removeClass("shrunkenHead"),isShrunk=
900);if(y.hasClass("shrunkenBodied")||y.hasClass("shrunkenHead"))isShrunk=1});$(document).mousedown(function(){$("body").removeClass("keyboardUser");$("body").addClass("mouseUser")});$(document).on({touchstart:function(){}});$("#kh-search-lang-select").blur(function(){$("#kh-search-lang-select").removeClass("hugMe")});$(".tabTrap").focus(function(){var c=$(this).attr("data-focusto");try{var k=document.querySelector(c);k&&k.focus()}catch(t){}});$("#skippy").click(function(){$("#searchform input#q").blur();
91$(w).hide()});$("#searchButton").on("keydown",function(c){"13"==c.keyCode&&searchurl();"9"==c.keyCode&&$("#kh-search-icon").attr("tabindex","0")});B=$("#kh-topnav-tabs li button").parent().attr("data-section");$("#kh-topnav-tabs li button").length||(B="p");if(isValidSection(B)){var V=encodeURIComponent(B);J();$("#kh-search-lang-esp").click(function(){$("#searchform input#q").attr({placeholder:"Buscar",lang:"es"}).val("");$("#searchform").attr("action","/es/"+V+"/");J()});$("#kh-search-lang-eng").click(function(){$("#searchform input#q").attr({placeholder:"Search",
92lang:"en"}).val("");$("#searchform").attr("action","/en/"+V+"/");J()});$("#searchLangSelector").change(function(){var c="",k=$("#q").val();$("select option:selected").each(function(){c=$(this).val()});"spanish"===c?($("#searchform input#q").attr({placeholder:"Buscar",lang:"es"}).val(""),$("#searchform").attr("action","/es/"+V+"/"),J()):"english"===c&&($("#searchform input#q").attr({placeholder:"Search",lang:"en"}).val(""),$("#searchform").attr("action","/en/"+V+"/"),J());$("#q").val(k)});$("#langRadios").focusin(function(){$("#langRadios").attr("class",
93"hugMe")});$("#langRadios").focusout(function(){$("#langRadios").attr("class","noBorder")});window.addEventListener("orientationchange",function(){$("#searchform input#q").blur()},!1);$(document).on("keypress",function(c){13==c.which&&($(".addthis_button_facebook button").is(":focus")&&$(".at-icon-facebook").click(),$(".addthis_button_twitter button").is(":focus")&&$(".at-icon-twitter").click(),$(".addthis_button_pinterest button").is(":focus")&&$(".at-icon-pinterest").click(),$(".addthis_button_email button").is(":focus")&&
94$(".at-icon-email").click())});0==$("ul.kh-mott-links li").length?$("div#kh-mott-box").hide():(0==$("ul#kh-mott-teens-links li").length&&($("ul#kh-mott-tabs li[data-section\x3d'teens']").remove(),$("#teens_panel").hide()),0==$("ul#kh-mott-kids-links li").length&&($("ul#kh-mott-tabs li[data-section\x3d'kids']").remove(),$("#kids_panel").hide()),0==$("ul#kh-mott-parents-links li").length&&($("ul#kh-mott-tabs li[data-section\x3d'parents']").remove(),$("#parents_panel").hide()),$("div#kh-mott-box").show());
95var W=5;0<$(".kh-mott-active").length?x($(".kh-mott-active").closest("li").attr("data-section")):x($("#kh-mott-tabs").text().toLowerCase());$("#kh-mott-toggle").click(function(){"true"!=$("#kh-mott-toggle").attr("data-expanded")?($(".kh-mott-links:visible li").show(),$(".kh-mott-links li").removeClass("kh-mott-lastlink"),$(".kh-mott-links li:last-child").addClass("kh-mott-lastlink"),$("#kh-mott-toggle").attr("data-expanded","true"),$("#kh-mott-toggle").hasClass("kh-mott-toggle-span")?$("#kh-mott-toggle").text("ver menos").show():
96$("#kh-mott-toggle").text("View less").show()):U()});$("#kh-mott-tabs button").click(function(){var c=$(this).parent("li").attr("data-section");isValidSection(c)&&(c==$(".kh-mott-active").attr("data-section")||$(this).parent("li").hasClass("kh-mott-inactive")||F(c))});1<$("#kh-mott-tabs li:not('.kh-mott-inactive')").length&&$("#kh-mott-tabs li:not('.kh-mott-inactive') button").css("cursor","pointer");isMobile&&$("#mainContentContainer").hasClass("kh-article-page")&&(B=$("#kh-partner-a
96d").detach(),
97$("#khcontent p:eq(1)").parents().hasClass("kh-slideshow-slide-info")?(console.log("isslide"),$(".slideshow:eq(0)").after(B)):(console.log("notslide"),$("#khcontent p:eq(1)").after(B)),B=null,$("#kh-partner-ad").css("margin-bottom","20px"));(-1<document.referrer.toLowerCase().indexOf("nemours")||-1<document.referrer.toLowerCase().indexOf("medlineplus")||-1<document.referrer.toLowerCase().indexOf("nlm")||-1<document.referrer.toLowerCase().indexOf("nih")||-1<document.referrer.toLowerCase().indexOf("mobilewebby"))&&
98$("#kh-partner-ad").css("display","none");$(".kh-category-title").click(function(){"true"!=$(this).attr("aria-expanded")?($(this).closest(".kh-category-name").next(".kh-category-list").show(),$(this).attr("aria-expanded","true")):($(this).closest(".kh-category-name").next(".kh-category-list").hide(),$(this).attr("aria-expanded","false"))});$(".jumpTo a").length&&$(".jumpTo a").attr("tabindex","-1");void 0!=$("#kh-mott-tabs button")&&0<$("#kh-mott-tabs button").length&&!$($("#kh-mott-tabs button")[0]).hasClass("kh-mott-active")&&
99$("#kh-mott-tabs button")[0].click();void 0!=$("#searchLangSelector")&&0<$("#searchLangSelector").length&&("en"==pageLang?($("#searchLangSelector option[value\x3d'english']").attr("selected","selected"),$("#searchLangSelector option[value\x3d'spanish']").removeAttr("selected"),$("#searchLangSelector").change()):"es"==pageLang&&($("#searchLangSelector option[value\x3d'spanish']").attr("selected","selected"),$("#searchLangSelector option[value\x3d'english']").removeAttr("selected"),$("#searchLangSelector").change()));
100void 0!=$("ul#kh-topnav-tabs")&&0<$("ul#kh-topnav-tabs").length&&("en"==pageLang?($($("ul#kh-topnav-tabs")[0]).addClass("kh-english"),$($("ul#kh-topnav-tabs")[0]).removeClass("kh-spanish")):"es"==pageLang&&($($("ul#kh-topnav-tabs")[0]).addClass("kh-spanish"),$($("ul#kh-topnav-tabs")[0]).removeClass("kh-english")))}});$(document).ready(function(){"localhost"===location.hostname&&$("#searchform").attr({actionpath:"/content/kidshealth/us/en/searchresults.html",action:"/en/parents/"});$("#q").focus(function(){closePopup()})});
101function searchurl(){var a=$("#searchLangSelector option:selected").text(),b=$("#q").val();""===b?("English"==a?($("#validationfield").css("display","inline-block"),$("#validationMessage").text("Please fill out this Field")):($("#validationfield").css("display","inline-block"),$("#validationMessage").text("Por favor, complete este campo")),setTimeout(closePopup,3E3)):(localStorage.setItem("searchsourceurl",location.pathname),a=$("#searchLangSelector option:selected").text(),localStorage.setItem("language",
102a),"English"==a?(a=document.getElementById("searchform").getAttribute("actionpath"),a=a.replace("/es/","/en/")):(a=document.getElementById("searchform").getAttribute("actionpath"),a=a.replace("/en/","/es/")),b="?q\x3d".concat(encodeURIComponent(b)),a=a.concat(b),a=a.concat("\x26start\x3d0"),a=a.concat("#"),window.location.assign(a))}
103function addRemovalButton(){var a=document.createElement("button");a.setAttribute("type","button");a.setAttribute("aria-label","Clear search");var b=document.createAttribute("onclick");b.value="emptyMyBox(); return false;";a.setAttributeNode(b);b=document.createAttribute("onsubmit");b.value="submitHandle();";a.setAttributeNode(b);b=document.createAttribute("class");b.value="clearSearch";a.setAttributeNode(b);b=document.createAttribute("id");b.value="clearSearch";a.setAttributeNode(b);(b=document.getElementById("q"))&&
104b.insertAdjacentElement("afterend",a)}window.addEventListener("load",function(){addRemovalButton()});function emptyMyBox(){var a=document.getElementById("q");a.value="";a.focus()}function submitHandle(){event.preventDefault();13===event.keyCode&&searchurl()}function closePopup(){$("#validationfield").fadeOut()}(function(a,b,d){a(document).on("foundation-contentloaded",function(e){void 0!=a("span.cq-FileUpload-label")&&a("span.cq-FileUpload-label").html("Drop an asset here")})})($,$(document),Granite.author);
105var KHAdLanguage="en",licName="KidsHealth",RSLanguage="",RSVoice="";"es"==KHAdLanguage?(RSLanguage="es_us",RSVoice="es_us_penelope"):(RSLanguage="en_us",RSVoice="Kate");
106var theRSURL_new=encodeURIComponent(document.location.href),rsAudioTitle_new=document.title.replace(/ |'|\?/g,"_"),readSpeakerDownloadLink_new="https://app-na.readspeaker.com/cgi-bin/rsent?customerid\x3d5202\x26amp;lang\x3d"+RSLanguage+"\x26amp;readid\x3dkhcontent_article\x26amp;url\x3d"+theRSURL_new+"\x26amp;audiofilename\x3dKidsHealth_"+rsAudioTitle_new+"\x26amp;save\x3d1";
107function sanitizeHTML(a){return String(a).replace(/&/g,"\x26amp;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26#x27;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;")}window.rsConf||(window.rsConf={});window.rsConf.ui||(window.rsConf.ui={});
107window.rsConf.ui.rsbtnClass="rsbtn_kidshealth";var rsUA=navigator.userAgent;rsUA=rsUA.toLowerCase();
108-1!=rsUA.indexOf("ipad")?window.rsConf.ui.player=['\x3cspan class\x3d"rsbtn_box"\x3e','\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_pause rsimg rspart rsbutton" title\x3d"Pause"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3ePause\x3c/span\x3e',"\t\x3c/button\x3e",'\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_stop rsimg rspart rsbutton" title\x3d"Stop"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eStop\x3c/span\x3e',"\t\x3c/button\x3e",'\t\x3ca href\x3d"'+sanitizeHTML(readSpeakerDownloadLink_new)+
109'" target\x3d"rs" class\x3d"kh_rs_download rsimg rspart rsbutton" title\x3d"mp3"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3emp3\x3c/span\x3e',"\t\x3c/a\x3e",'\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_settings rsimg rspart rsbutton" title\x3d"Settings"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eSettings\x3c/span\x3e',"\t\x3c/button\x3e",'\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_closer rsimg rspart rsbutton" title\x3d"Close player"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eClose\x3c/span\x3e',
110"\t\x3c/button\x3e",'\t\x3cspan class\x3d"rsdefloat"\x3e\x3c/span\x3e',"\x3c/span\x3e"]:window.rsConf.ui.player=['\x3cspan class\x3d"rsbtn_box"\x3e','\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_pause rsimg rspart rsbutton" title\x3d"Pause"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3ePause\x3c/span\x3e',"\t\x3c/button\x3e",'\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_stop rsimg rspart rsbutton" title\x3d"Stop"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eStop\x3c/span\x3e',
111"\t\x3c/button\x3e",'\t\x3cspan class\x3d"rsbtn_progress_container rspart"\x3e','\t\t\x3cspan class\x3d"rsbtn_progress_played"\x3e\x3c/span\x3e',"\t\x3c/span\x3e",'\t\x3cbutton onclick\x3d"ariaVolume();" onfocus\x3d"ariaVolume();" onblur\x3d"ariaVolume();" onfocusout\x3d"ariaVolume();" id\x3d"thisRSVolume" class\x3d"rsbtn_volume rsimg rspart rsbutton" title\x3d"Volume" aria-expanded\x3d"false" tabindex\x3d"0"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eVolume\x3c/span\x3e',"\t\x3c/button\x3e",
112'\t\x3cspan class\x3d"rsbtn_volume_container rspart" id\x3d"thisRSVolumneContainer" style\x3d"display: none"\x3e','\t\t\x3cspan class\x3d"rsbtn_volume_slider"\x3e\x3c/span\x3e',"\t\x3c/span\x3e",'\t\x3ca href\x3d"'+sanitizeHTML(readSpeakerDownloadLink_new)+'" target\x3d"rs" class\x3d"kh_rs_download rsimg rspart rsbutton" title\x3d"mp3"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3emp3\x3c/span\x3e',"\t\x3c/a\x3e",'\t\x3cbutton onclick\x3d"javascript:void(0);" class\x3d"rsbtn_settings rsimg rspart rsbutton" title\x3d"Settings"\x3e',
113'\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eSettings\x3c/span\x3e',"\t\x3c/button\x3e",'\t\x3cbutton class\x3d"rsbtn_closer rsimg rspart rsbutton" title\x3d"Close player"\x3e','\t\t\x3cspan class\x3d"rsbtn_btnlabel"\x3eClose\x3c/span\x3e',"\t\x3c/button\x3e",'\t\x3cspan class\x3d"rsdefloat"\x3e\x3c/span\x3e',"\x3c/span\x3e"];window.rsConf.ui.popupbutton=[""];
114function makeTheRSLinkEN(){document.write('\x3ca onclick\x3d"rsUsed(\'1\')" rel\x3d"nofollow" class\x3d"rsbtn_play rsen" title\x3d"Listen to this page using ReadSpeaker" href\x3d"https://app-na.readspeaker.com/cgi-bin/rsent?customerid\x3d5202\x26amp;lang\x3den_us\x26amp;readid\x3dkhcontent_article\x26amp;url\x3d'+theRSURL+'"\x3e\x3cspan class\x3d"rsbtn_left rspart"\x3e\x3cspan class\x3d"rsbtn_text"\x3e\x3cspan class\x3d"readspeakerLauncher"\x3eListen\x3c/span\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"rsbtn_right rsplay rspart"\x3e\x3c/span\x3e\x3c/a\x3e')}
115function makeTheRSLinkES(){document.write('\x3ca onclick\x3d"rsUsed(\'1\')" rel\x3d"nofollow" class\x3d"rsbtn_play rses" title\x3d"Escucha esta p\u00e1gina utilizando ReadSpeaker" href\x3d"https://app-na.readspeaker.com/cgi-bin/rsent?customerid\x3d5202\x26amp;
115lang\x3des_us\x26amp;readid\x3dkhcontent_article\x26amp;url\x3d'+theRSURL+'"\x3e\x3cspan class\x3d"rsbtn_left rspart"\x3e\x3cspan class\x3d"rsbtn_text"\x3e\x3cspan class\x3d"readspeakerLauncher"\x3eEscuchar\x3c/span\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"rsbtn_right rsplay rspart"\x3e\x3c/span\x3e\x3c/a\x3e')}
116var isit=0,readspeakered=0;function rsUsed(a){readspeakered=1==a?1:2}function closepage(){1==readspeakered&&ReadSpeaker.q(function(){rspkr.ui.getActivePlayer()&&rspkr.ui.getActivePlayer().close()})}
117function showhide1(a,b,d){for(var e=1;e<=b;e++){document.getElementById("NavigatePage"+e).style.display="none";var p=document.getElementById("navi_pagenumber_"+e);p.style.fontWeight="normal";p.style.textDecoration="underline";p.style.fontSize="10px";p.style.color="#06c"}document.getElementById(a).style.display="";a=document.getElementById(d);a.style.fontWeight="bold";a.style.textDecoration="none";a.style.fontSize="14px";a.style.color="#666666";window.location="#"}
118function setDivStyleToNone(a){document.getElementById("NavigatePage"+a).style.display="none"}function showImage(a,b,d){html="\x3cimg alt\x3d'"+b+"' src\x3d'"+a+"'border\x3d'0'\x3e"+d;document.write(html)}function ariaVolume(){window.setTimeout(ariaVolumeMAIN,500)}
119function ariaVolumeMAIN(){var a=document.getElementById("thisRSVolume");a.getAttribute("aria-expanded");var b=document.getElementById("thisRSVolumneContainer"),d=b.style.display;null!==b?"none"===d?a.setAttribute("aria-expanded","false"):"block"===d&&a.setAttribute("aria-expanded","true"):a.setAttribute("aria-expanded","false")}$(document).keydown(function(a){32==a.keyCode&&$(".rsbtn_play").is(":focus")&&($(".rsbtn_play").click(),a.preventDefault())});
120function closeWindow(){window.open("","_parent","");window.close()}function delay(){for(i=0;1E5>i;i++);}function KH_unloadFunctions(){}function gamRefresh(a){}function clearText(a){a.defaultValue==a.value?a.value="":""==a.value&&(a.value=a.defaultValue)}
121function licTabSwitcher(a){_licTabParents=document.getElementById("licTabParents");_licTabKids=document.getElementById("licTabKids");_licTabTeens=document.getElementById("licTabTeens");_licNavParentsLinks=document.getElementById("licNavParentsLinks");_licNavKidsLinks=document.getElementById("licNavKidsLinks");_licNavTeensLinks=document.getElementById("licNavTeensLinks");_licTabParentsButton=document.getElementById("licTabParentsButton");_licTabKidsButton=document.getElementById("licTabKidsButton");
122_licTabTeensButton=document.getElementById("licTabTeensButton");"Parents"==a?(null!=_licTabParentsButton&&"true"==_licTabParentsButton.getAttribute("aria-expanded")?_licTabParentsButton.setAttribute("aria-expanded","false"):(null!=_licTabParentsButton&&_licTabParentsButton.setAttribute("aria-expanded","true"),null!=_licTabKidsButton&&_licTabKidsButton.setAttribute("aria-expanded","false"),null!=_licTabTeensButton&&_licTabTeensButton.setAttribute("aria-expanded","false")),"licTabActive"==_licTabParents.className?
123_licTabParents.className="licTabWasActive":(null!=_licTabTeens&&(_licTabTeens.className="licTabWasActive"),_licTabParents.className="licTabActive",null!=_licTabKids&&(_licTabKids.className="licTabWasActive")),"none"==_licNavParentsLinks.style.display||""==_licNavParentsLinks.style.display?(_licNavParentsLinks.style.display="block",null!=_licNavKidsLinks&&(_licNavKidsLinks.style.display="none"),null!=_licNavTeensLinks&&(_licNavTeensLinks.style.display="none")):_licNavParentsLinks.style.display="none"):
124"Teens"==a?(null!=_licTabTeensButton&&"true"==_licTabTeensButton.getAttribute("aria-expanded")?_licTabTeensButton.setAttribute("aria-expanded","false"):(null!=_licTabParentsButton&&_licTabParentsButton.setAttribute("aria-expanded","false"),null!=_licTabKidsButton&&_licTabKidsButton.setAttribute("aria-expanded","false"),null!=_licTabTeensButton&&_licTabTeensButton.setAttribute("aria-expanded","true")),"licTabActive"==_licTabTeens.className?_licTabTeens.className="licTabWasActive":(null!=_licTabParents&&
125(_licTabParents.className="licTabWasActive"),null!=_licTabKids&&(_licTabKids.className="licTabWasActive"),_licTabTeens.className="licTabActive"),"none"==_licNavTeensLinks.style.display||""==_licNavTeensLinks.style.display?(null!=_licNavParentsLinks&&(_licNavParentsLinks.style.display="none"),null!=_licNavKidsLinks&&(_licNavKidsLinks.style.display="none"),_licNavTeensLinks.style.display="block"):_licNavTeensLinks.style.display="none"):(null!=_licTabKidsButton&&"true"==_licTabKidsButton.getAttribute("aria-expanded")?
126_licTabKidsButton.setAttribute("aria-expanded","false"):(null!=_licTabParentsButton&&_licTabParentsButton.setAttribute("aria-expanded","false"),null!=_licTabKidsButton&&_licTabKidsButton.setAttribute("aria-expanded","true"),null!=_licTabTeensButton&&_licTabTeensButton.setAttribute("aria-expanded","false")),"licTabActive"==_licTabKids.className?_licTabKids.className="licTabWasActive":(null!=_licTabParents&&(_licTabParents.className="licTabWasActive"),_licTabKids.className="licTabActive",null!=_licTabTeens&&
127(_licTabTeens.className="licTabWasActive")),"none"==_licNavKidsLinks.style.display||""==_licNavKidsLinks.style.display?(null!=_licNavParentsLinks&&(_licNavParentsLinks.style.display="none"),_licNavKidsLinks.style.display="block",null!=_licNavTeensLinks&&(_licNavTeensLinks.style.display="none")):_licNavKidsLinks.style.display="none")}
128function tehWindow(a,b,d,e,p,f,g,h,n,q){window.open(a,b,"width\x3d"+d+",height\x3d"+e+",scrollbars\x3d"+p+",toolbar\x3d"+f+"resizable\x3d"+g+",top\x3d"+h+",left\x3d"+n+",status\x3d"+q)}function clearText(a){a.defaultValue==a.value?a.value="":""==a.value&&(a.value=a.defaultValue)}function articleFontSize(a){fontSize=document.getElementById("khcontent");fontSize.style.fontSize=a}
129function setWhatOthersWant(a){var b=null;window.XMLHttpRequest?b=new XMLHttpRequest:window.ActiveXObject&&(b=new ActiveXObject("Microsoft.XMLHTTP"));b.onreadystatechange=function(){if(4==b.readyState)if(200==b.status){var d=b.responseXML;i=0;for(html="";0<=i;)whatOthersWantText=d.getElementsByTagName("whatotherswant_text")[i],whatOthersWantURL=d.getElementsByTagName("whatotherswant_url")[i],null!=whatOthersWantText&&null!=whatOthersWantURL?(whatOthersWantText=whatOthersWantText.firstChild.data,whatOthersWantURL=
130whatOthersWantURL.firstChild.data,html+='\x3cli class\x3d"test999"\x3e\x3ca href\x3d"'+whatOthersWantURL+'"\x3e'+whatOthersWantText+"\x3c/li\x3e",i++):i=-1;d=document.getElementById("whatOthersWant");null!=d&&(d.innerHTML=html)}else document.getElementById("whatOthersWant").innerHTML="Error: returned status code "+b.status+" "+b.statusText};"Parents"==a?b.open("GET","/misc/xml/mothership/whatotherswant_Parents.xml",!0):"Teens"==a?b.open("GET","/misc/xml/mothership/whatotherswant_Teens.xml",!0):b.open("GET",
131"/misc/xml/mothership/whatotherswant_Kids.xml",!0);b.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.send(" ")}var KHcopyDate="2020",Server_Month="04",Server_Year="2020";function initializeSplat(){"undefined"!=typeof Tooltip&&Tooltip.init()}function newPageStyles(){null!=document.getElementById("subCatLinks")&&(toggleLayer("subCatLinks"),toggleClass("subCatHeaderLink","subCatOpen","subCatClosed"))}
132function pageBreakerGD(){for(var a=document.getElementsByTagName("div"),b=0;b<a.length;b++)"pageNavi"==a[b].className&&(a[b].style.display="block");a=document.getElementById("pageCountNumberBox");null!=a&&(a.style.display="block")}
133function remHash(){var a=window.location.hash,b=window.location.href;0<=a.toLowerCase().indexOf("cat")&&(console.log("has cat"),window.location.replace("#"),"function"==typeof window.history.replaceState&&history.replaceState({},"",window.location.href.slice(0,-1)));console.log(a);console.log(b)}$(document).ready(function(){initializeSplat();runOnLoad();$("#khcontent_category").length?anchorsAway():remHash()});function closeWindow(){window.open("","_parent","");window.close()}
134function delay(){for(i=0;1E5>i;i++);}function KH_unloadFunctions(){}function toggleLayer(a){document.getElementById?(a=document.getElementById(a).style,a.display=a.display?"":"none"):document.all?(a=document.all[a].style,a.display=a.display?"":"none"):document.layers&&(a=document.layers[a].style,a.display=a.display?"":"none")}
135function toggleBackground(a){document.getElementById?(a=document.getElementById(a).style,a.backgroundImage="url(/etc.clientlibs/kidshealth/clientlibs/clientlib-site/resources/images/licensees/standard_licensee/images/articleShrink.gif)"):document.all?(a=document.all[a].style,a.backgroundImage="url(/etc.clientlibs/kidshealth/clientlibs/clientlib-site/resources/images/licensees/standard_licensee/images/articleShrink.gif)"):document.layers&&(a=document.layers[a].style,a.backgroundImage="url(/etc.clientlibs/kidshealth/clientlibs/clientlib-site/resources/images/licensees/standard_licensee/images/articleShrink.gif)")}
136function toggleClass(a,b,d){identity=document.getElementById(a);class_name=identity.className;identity.className=class_name==b?d:b}function gamRefresh(a){}function clearText(a){a.defaultValue==a.value?a.value="":""==a.value&&(a.value=a.defaultValue)}
137function licTabSwitcher(a){_licTabParents=document.getElementById("licTabParents");_licTabKids=document.getElementById("licTabKids");_licTabTeens=document.getElementById("licTabTeens");_licNavParentsLinks=document.getElementById("licNavParentsLinks");_licNavKidsLinks=document.getElementById("licNavKidsLinks");_licNavTeensLinks=document.getElementById("licNavTeensLinks");"Parents"==a?("licTabActive"==_licTabParents.className?_licTabParents.className="licTabWasActive":(null!=_licTabTeens&&(_licTabTeens.className=
138"licTabWasActive"),_licTabParents.className="licTabActive",null!=_licTabKids&&(_licTabKids.className="licTabWasActive")),"none"==_licNavParentsLinks.style.display||""==_licNavParentsLinks.style.display?(_licNavParentsLinks.style.display="block",null!=_licNavKidsLinks&&(_licNavKidsLinks.style.display="none"),null!=_licNavTeensLinks&&(_licNavTeensLinks.style.display="none")):_licNavParentsLinks.style.display="none"):"Teens"==a?("licTabActive"==_licTabTeens.className?_licTabTeens.className="licTabWasActive":
139(null!=_licTabParents&&(_licTabParents.className="licWasTabActive"),null!=_licTabKids&&(_licTabKids.className="licTabWasActive"),_licTabTeens.className="licTabActive"),"none"==_licNavTeensLinks.style.display||""==_licNavTeensLinks.style.display?(null!=_licNavParentsLinks&&(_licNavParentsLinks.style.display="none"),null!=_licNavKidsLinks&&(_licNavKidsLinks.style.display="none"),_licNavTeensLinks.style.display="block"):_licNavTeensLinks.style.display="none"):("licTabActive"==_licTabKids.className?_licTabKids.className=
140"licTabWasActive":(null!=_licTabParents&&(_licTabParents.className="licTabWasActive"),_licTabKids.className="licTabActive",null!=_licTabTeens&&(_licTabTeens.className="licTabWasActive")),"none"==_licNavKidsLinks.style.display||""==_licNavKidsLinks.style.display?(null!=_licNavParentsLinks&&(_licNavParentsLinks.style.display="none"),_licNavKidsLinks.style.display="block",null!=_licNavTeensLinks&&(_licNavTeensLinks.style.display="none")):_licNavKidsLinks.style.display="none")}
141function tehWindow(a,b,d,e,p,f,g,h,n,q){window.open(a,b,"width\x3d"+d+",height\x3d"+e+",scrollbars\x3d"+p+",toolbar\x3d"+f+"resizable\x3d"+g+",top\x3d"+h+",left\x3d"+n+",status\x3d"+q)}function adShot(a,b){document.getElementById(b).style.display=a}
142$(document).ready(function(){var a=$("#kh-search").data("search-endpoint")||"";$("#q").easyAutocomplete({url:function(b){return""!==b?a+"/suggest?fq\x3d_lw_data_source_s:(%22typeaheadkidshealthds%22)\x26q\x3d"+b+"\x26rows\x3d20\x26wt\x3djson\x26omitHeader\x3dtrue":a+"/suggest?fq\x3d_lw_data_source_s:(%22typeaheadkidshealthds%22)\x26q\x3dempty\x26rows\x3d20\x26wt\x3djson\x26omitHeader\x3dtrue"},requestDelay:300,listLocation:function(b){return b.response.docs},getValue:function(b){var d="en"==$("#searchform input#q").attr("lang")?
143"english":"spanish";return b.kh_language_s===d?b.kh_value[0]:""},ajaxSettings:{dataType:"json",data:{dataType:"json"}},list:{sort:{enabled:!0},match:{enabled:!0},onClickEvent:function(){$("#searchButton").click()},onKeyEnterEvent:function(){$("#searchButton").click()},showAnimation:{type:"fade",time:400,callback:function(){}},hideAnimation:{type:"slide",time:400,callback:function(){}}}})});
144$(window).load(function(){function a(){window.parent.$("span[data-text\x3d'Licensee'] button span.coral-Select-button-text").on("DOMSubtreeModified",function(p){p=$(window.parent.$("span[data-text\x3d'Licensee'] ul").find("li.is-highlighted")[0]).attr("data-value");b&&"LIC Preview"!=p&&window.open(p,"_blank");
144window.parent.$("span[data-text\x3d'Licensee'] button span.coral-Select-button-text").off("DOMSubtreeModified")})}var b=!1,d=window.location.href;if(d.includes("/homepage.html")||d.includes("/searchresults.html")||
145d.includes("/splats/")||d.includes("/parents.html")||d.includes("/teens.html")||d.includes("/kids.html"))window.parent.$("span[data-text\x3d'Licensee']").css("display","none");else if(d=window.outerHeight-200,window.parent.$("span[data-text\x3d'Licensee']").css("display","block"),window.parent.$("span[data-text\x3d'Licensee'] select.coral-Select-select--native").css("display","none"),window.parent.$("span[data-text\x3d'Licensee'] button.coral-Select-button").css("color","#fafafa"),window.parent.$("span[data-text\x3d'Licensee'] button.coral-Select-button").css("background",
146"#4b4b4b"),window.parent.$("span[data-text\x3d'Licensee'] ul.coral-SelectList").css("max-height",d),d=window.parent.$("span[data-text\x3d'Licensee'] button"),$(d).click(function(){b=!0;a()}),void 0!=$(".medicalcoding")&&""!=$(".medicalcoding").html()){window.parent.$("#medicalbutton").show();var e=$($(".medicalcoding")[0]).html();window.parent.$("#medicalbutton").click(function(){e=e.replace("/editor.html/","/");window.open(e+".html","_blank")})}else window.parent.$("#medicalbutton").hide()});
147function runOnLoad(){}
148$(document).ready(function(){document.cookie="khStickierCat\x3d; expires\x3dThu, 01-Jan-70 00:00:01 GMT;";mottleyCrew();mottleyWho();$("#khcontent").hasClass("catPage")&&(catClicker(),catPicker());$("#kids_tab").click(function(){setActiveMott("kid");setInactiveMott("parent");setInactiveMott("teen")});$("#teens_tab").click(function(){setActiveMott("teen");setInactiveMott("parent");setInactiveMott("kid")});$("#parents_tab").click(function(){setActiveMott("parent");setInactiveMott("teen");setInactiveMott("kid")})});
149function mottleyCrew(){$("#parents_tab").length&&$("#PKTtabParents").css("display","block");$("#kids_tab").length&&$("#PKTtabKids").css("display","block");$("#teens_tab").length&&$("#PKTtabTeens").css("display","block")}function mottClearance(){}
150function setInactiveMott(a){var b="#"+a+"s_tab";a="#relatedArticlesList"+(a.charAt(0).toUpperCase()+a.slice(1))+"s";$(b).attr("aria-selected","false");$(b).attr("tabindex","-1");$(b).closest("li").removeClass("current");$(b).closest("li").addClass("wascurrent");$(a).css("display","none")}
151function setActiveMott(a){var b="#"+a+"s_tab";a="#relatedArticlesList"+(a.charAt(0).toUpperCase()+a.slice(1))+"s";$(b).attr("aria-selected","true");$(b).attr("tabindex","0");$(b).closest("li").removeClass("wascurrent");$(b).closest("li").addClass("current");$(a).css("display","block")}function sectionFromTab(){}
152function mottleyWho(){"parent"===KHAdSection?$("#parents_tab").length?(setActiveMott("parent"),setInactiveMott("kid"),setInactiveMott("teen")):$("#kids_tab").length?(setActiveMott("kid"),setInactiveMott("parent"),setInactiveMott("teen")):$("#teens_tab").length&&(setActiveMott("teen"),setInactiveMott("parent"),setInactiveMott("kid")):"kid"===KHAdSection?$("#kids_tab").length?(setActiveMott("kid"),setInactiveMott("parent"),setInactiveMott("teen")):$("#teens_tab").length?(setActiveMott("teen"),setInactiveMott("parent"),
153setInactiveMott("kid")):$("#parents_tab").length&&(setActiveMott("parent"),setInactiveMott("kid"),setInactiveMott("teen")):"teen"===KHAdSection&&($("#teens_tab").length?(setActiveMott("teen"),setInactiveMott("kid"),setInactiveMott("parent")):$("#kids_tab").length?(setActiveMott("kid"),setInactiveMott("parent"),setInactiveMott("teen")):$("#parents_tab").length&&(setActiveMott("parent"),setInactiveMott("kid"),setInactiveMott("teen")))}
154function adShot(a,b){document.getElementById(b).style.display=a}function toggleLayer(a){document.getElementById?(a=document.getElementById(a).style,a.display=a.display?"":"none"):document.all?(a=document.all[a].style,a.display=a.display?"":"none"):document.layers&&(a=document.layers[a].style,a.display=a.display?"":"none")}
155function toggleBackground(a){document.getElementById?(a=document.getElementById(a).style,a.backgroundImage="url(/etc.clientlibs/kidshealth/clientlibs/clientlib-site/resources/images/licensees/standard_licensee/images/articleShrink.gif)"):document.all?(a=document.all[a].style,a.backgroundImage="url(/etc.clientlibs/kidshealth/clientlibs/clientlib-site/resources/images/licensees/standard_licensee/images/articleShrink.gif)"):document.layers&&(a=document.layers[a].style,a.backgroundImage="url(/etc.clientlibs/kidshealth/clientlibs/clientlib-site/resources/images/licensees/standard_licensee/images/articleShrink.gif)")}
156function toggleClass(a,b,d){identity=document.getElementById(a);class_name=identity.className;identity.className=class_name==b?d:b}function checkCookieNemours2(){var a=readTheCookie2("refNemours"),b=document.referrer.toLowerCase();"1"==a?createTheCookie2("refNemours","1",".5"):(-1<b.indexOf("nemours")||-1<b.indexOf("medlineplus")||-1<b.indexOf("nlm")||-1<b.indexOf("nih")||-1<b.indexOf("mobilewebby"))&&createTheCookie2("refNemours","1",".5")}
157function createTheCookie2(a,b,d){if(d){var e=new Date;e.setTime(e.getTime()+36E5*d);d="; expires\x3d"+e}else d="";document.cookie=a+"\x3d"+b+d+"; path\x3d/"}function readTheCookie2(a){a+="\x3d";for(var b=document.cookie.split(";"),d=0;d<b.length;d++){for(var e=b[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(a))return e.substring(a.length,e.length)}return null}checkCookieNemours2();
158function createCookie(a,b,d){"khStickierCat"==a&&(location.hash="khsc");if(d){var e=new Date;e.setTime(e.getTime()+864E5*d);d="; expires\x3d"+e.toGMTString()}else d="";document.cookie=a+"\x3d"+b+d+"; path\x3d/"}function readCookie(a){a+="\x3d";for(var b=document.cookie.split(";"),d=0;d<b.length;d++){for(var e=b[d];" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(a))return e.substring(a.length,e.length)}return null}
159function anchorsAway(){var a=window.location.hash;null!=a&&catLoad(a,1)}function catLoad(a,b){var d=a+"List";$(a).attr("aria-expanded","true");$(d).css("display","block");1!==b&&setTimeout(function(){$("html, body").animate({scrollTop:$(a).parent("h2").offset().top+-60},0)},500)}function catClicker(){$(".linkFromCat").click(function(a){a=$(this).parent().parent().attr("id").replace("List","");sessionStorage.setItem("remCat","#"+a)})}
160function catPicker(){if(-1==window.location.href.indexOf("#")){var a=null!=sessionStorage.getItem("remCat")?sessionStorage.getItem("remCat"):null;null!=a&&catLoad(a)}}function thisCatGotCooked(a){}
160function stickyCatCookie(){}function hideCats(){}function printWindow(a){window.open(a,"Print","width\x3d700,height\x3d600,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes,toolbar\x3dyes,menubar\x3dyes")}
161function printWindow1(a){a=location.href;var b=".prt-en";-1!=a.search("/es")&&(b=".prt-es");var d=a.indexOf(".html");var e=a.substr(d);b=b.concat(e);a=a.slice(0,d);a=a.concat(b);window.open(a,"Print","width\x3d700,height\x3d600,scrollbars\x3dyes,resizable\x3dyes,status\x3dyes,toolbar\x3dyes,menubar\x3dyes")}function toggleMyAttribute(a,b,d,e){a=document.getElementById(a);var p=a.getAttribute(b);a.setAttribute(b,p==d?e:d)}function mnFocus(a){$("#"+a).focus()}
162function mnBorder(a){$(a).css("border-color","#cb3742")}function clearErrors(){$(".newsletterErrorMessage").remove();$("#00NQP000005WevV").css("border-color","#878d9b");$("#00NQP000005Wbzp").css("border-color","#878d9b");$("#00NQP000005Wf1x").css("border-color","#878d9b");$("#newsletterSignupForm #email").css("border-color","#878d9b");$(".g-recaptcha \x3e div[0]").css("border-color","#878d9b")}
163$(document).ready(function(){const a=$("#00NQP000005WgFl"),b=$("#00NQP000005WgIz"),d=$("#00NQP000005WgNp"),e=$("#00NQP000005WevV"),p=$("#00NQP000005Wbzp"),f=$("#00NQP000005Wf1x"),g=document.getElementById("newsletterSignupForm");if(g){var h=new URLSearchParams(window.location.search);for(const [n,q]of h.entries())if("external_id"===n.toLowerCase()){h=document.createElement("input");h.type="hidden";h.name="00N4w00000JBMtP";h.id="marketing_code";h.value=q;g.appendChild(h);break}}e.on("change",function(){a.prop("checked",
1640!==this.selectedIndex)});p.on("change",function(){b.prop("checked",0!==this.selectedIndex)});f.on("change",function(){d.prop("checked",0!==this.selectedIndex)});$("#newsletterSignupForm").on("submit",function(n){n.preventDefault();n=a.prop("checked");let q=b.prop("checked"),u=d.prop("checked"),v=$("#email");clearErrors();if(!1===n&&!1===q&&!1===u)return $("#milestonesPregnancy").prepend('\x3cdiv tabindex\x3d"0" id\x3d"ff1" class\x3d"newsletterErrorMessage" role\x3d"alert"\x3ePlease select at least one newsletter\x3c/div\x3e'),
165$("#ff1").focus(),!1;if(!0===n&&0===e[0].selectedIndex)return $("#milestonesPregnancy \x3e .milestonesSelectRow").prepend('\x3ca class\x3d"newsletterErrorMessage" id\x3d"ff2" onclick\x3d"mnFocus(\'00NQP000005WevV\')" tabindex\x3d"0" role\x3d"alert"\x3ePlease select your week of pregnancy\x3c/a\x3e'),mnBorder("#00NQP000005WevV"),$("#ff2").focus(),!1;if(!0===q&&0===p[0].selectedIndex)return $("#milestonesBaby \x3e .milestonesSelectRow").prepend('\x3ca class\x3d"newsletterErrorMessage" id\x3d"ff3" onclick\x3d"mnFocus(\'00NQP000005Wbzp\')" tabindex\x3d"0" role\x3d"alert"\x3ePlease select your baby\'s age\x3c/a\x3e'),
166mnBorder("#00NQP000005Wbzp"),$("#ff3").focus(),!1;if(!0===u&&0===f[0].selectedIndex)return $("#milestonesToddler \x3e .milestonesSelectRow").prepend('\x3ca class\x3d"newsletterErrorMessage" id\x3d"ff4" onclick\x3d"mnFocus(\'00NQP000005Wf1x\')" tabindex\x3d"0" role\x3d"alert"\x3ePlease select your child\'s age\x3c/a\x3e'),mnBorder("#00NQP000005Wf1x"),$("#ff4").focus(),!1;if(!v.val())return $("#milestonesEmail label").after('\x3ca class\x3d"newsletterErrorMessage" id\x3d"ff5" onclick\x3d"mnFocus(\'email\')" tabindex\x3d"0" role\x3d"alert"\x3ePlease enter your email address\x3c/a\x3e'),
167mnBorder("#email"),$("#ff5").focus(),!1;if(!grecaptcha.getResponse())return $("#captchaContainer").prepend('\x3cdiv tabindex\x3d"0" id\x3d"ffC" class\x3d"newsletterErrorMessage" role\x3d"alert"\x3ereCAPTCHA validation failed. Please try again.\x3c/div\x3e'),$("#ffC").focus(),!1;n=(new URLSearchParams(new FormData(this))).toString();$.ajax({url:"/content/kidshealth/services/post-form-data",method:"POST",data:n,success:function(z){"success"===z.status?z.redirect&&(window.location.href=z.redirect):"error"===
168z.status&&("400"===z.statusCode?(grecaptcha.reset(),$("#captchaContainer").prepend('\x3cdiv tabindex\x3d"0" id\x3d"ffC" class\x3d"newsletterErrorMessage" role\x3d"alert"\x3ereCAPTCHA validation failed. Please try again.\x3c/div\x3e'),$("#ffC").focus()):"500"===z.statusCode&&($(".milestonesPrivacy").after('\x3ca class\x3d"newsletterErrorMessage" id\x3d"ffE" onclick\x3d"mnFocus(\'milestonesSubmit\')" tabindex\x3d"0" role\x3d"alert"\x3e'+z.message+"\x3c/a\x3e"),$("#ffE").focus()))},error:function(z,
169m,M){$(".milestonesPrivacy").after('\x3ca class\x3d"newsletterErrorMessage" id\x3d"ffE2" onclick\x3d"mnFocus(\'milestonesSubmit\')" tabindex\x3d"0" role\x3d"alert"\x3eSorry, an unexpected error occurred. Please try again later.\x3c/a\x3e');$("#ffE2").focus()}})})});$(document).on("keyup",".newsletterErrorMessage",function(a){"Enter"!==a.key&&13!==a.keyCode||this.click()});

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