{0}',s_tmpl:'
{0}
{1}
{2}
{4}
',down:{css:"sa-related-stocks-down"},up:{css:"sa-related-stocks-up"},minThreshold:0}}function Te(e){for(var t=0,s=e.r.length;t{0}'}}function Re(e){var t=0,s=0,i=0,n=e.r;if(0<(e=n.length)){for(var a=e-1;0<=a;a--)75==n[a].m&&n[a].fd?(t=a,s++):76==n[a].m&&i++;0'+n.contentRating+"

":"",e.li.innerHTML+=a.app.format(o.s_tmpl,[s,i,n]),a.whatToWatch.push(e)):t.k&&o.insertPos&&o.insertPos>=a.currentPos&&(o.insertPos==a.currentPos&&(a.beforeNode=e.li),a.currentPos=a.currentPos+1)}function Ne(e){var t,s,i=this,n=i.whatToWatch,a=n.length,o=i.config,r=i.createElem;if(0=o.item.count&&(p.className+=" hide"),p.appendChild(n[c].li),l.appendChild(p)}t.appendChild(l),e.insertBefore(t,i.beforeNode)}i.whatToWatch=[],i.beforeNode=null,i.currentPos=0}function Le(){this.config={ctn:{css:"sa-wtw-ctn"},hd:{css:"sa-wtw-hd",text:"What to watch"},ul:{css:"sa-wtw-list"},itemClass:{css:"sa-wtw-item"},item:{count:6},s_tmpl:'
{0}
{1}
{2}'}}function Fe(e){var t=this.config,s=this.createElem;e.edit=e.li.appendChild(s(t.ctn,"span")),t.icon&&e.edit.appendChild(s(t.icon,"span")),t.text&&e.edit.appendChild(s(t.text,"span")),S.set(e.edit,"pos",e.idx)}function Pe(){this.config={ctn:{css:"sa-edit"},icon:{css:"sa-edit-icon"},text:{css:"sa-edit-text"}}}function Oe(e){var t=this.config.grps,s={},i=e.r,n=i.length;if(""===e.q&&0r&&i.splice(l.start+r,l.count-r)}}}function Be(e,t){var s=this,i=s.config,n=(t.fd,t.m,t.q);i.enabled&&""===n&&(t.m==D?s.history.push(e):t.m==G?s.trending.push(e):!s.beforeNode&&s.trending.length&&(s.beforeNode=e.li))}function He(e){var t,s,l=this,i=l.config;i.enabled&&(s=function(e,t){var s,i,n=l.createElem,a=l.trending,o=a.length,e=l.config.trending;if(0=i.showMultiCols)&&S.addClass(l.app.view.elems.sbForm.parentNode,"multi-cols"),l.history=[],l.trending=[],l.beforeNode=null}function Me(){this.config={trending:{ctn:{css:"sa-trending-ctn"},hd:{css:"sa-trending-hd",text:"Trending now"},ul:{css:"sa-trending-list"}},showMultiCols:8}}function qe(e,t){var s,i,n,a,o,r,l=this.config,c=t.d,p=t.fd,t=t.m;p&&(t==D&&(p.dispMrk&&(r=l.history.markers["m"+p.dispMrk])&&r.css&&(e.li.className+=" "+r.css),!l.showAnnotForHistory)||(i=e.li,o=this.createElem,n=p.title,a=p.subtitle,r=(o=(c&&c.subdn,n&&(c=o(l.title,"p"),l.concatSubTitle&&a&&(n+=" · "+a,a=""),c.innerHTML=n,i.className+=" quick-facts",i.appendChild(c)),a&&((c=o(l.subtitle,"p")).innerHTML=a,l.enableFlag&&p.flag&&((s=o({css:"sa-annot-flag"},"img")).onerror=function(e){s.style.display="none"},s.src=p.flag,c.appendChild(s)),i.appendChild(c)),l.markers))&&o["m"+t],0==e.idx&&r&&r.type&&(i.className+=" billboard "+r.type),l.richClass&&(n||a)&&(i.className+=" "+l.richClass)))}function Ue(){this.config={title:{css:"sa-annot-title"},subtitle:{css:"sa-annot-subtitle"},markers:{m41:{type:"weather"},m46:{type:"finance"},m48:{type:"sports"}},history:{markers:{m27:{css:"entity-sugg"},m30:{css:"public-company"}}}}}function De(e){var t,s,i,n,a=this.config,o=e.m,e=e.fd;46==o&&e&&(o=e.price,t=e.change,s=e.change_pct,i=a.zero.css,n=parseFloat(t),o)&&t&&s&&(n<0?i=a.down.css:0{0} · {1}{2}',fd_tmpl:'{0}{3} ({4})',icon:"sa-stk-icon",down:{css:"sa-stk-down"},up:{css:"sa-stk-up"},zero:{css:"sa-stk-zero"}}}function We(e){var t=this.config,s=e.m,e=e.fd;if(48==s&&e&&!e.subtitle){var i,n,a,o,r,l,c,s=e.t_logo,p=e.t_abbr||e.team,d=e.ot_logo,u=e.ot_abbr||e.oteam,f=e.team_points,h=e.opp_points,m=e.period&&"• Q"+e.period,g=e.timeleft,v=e.gametime&&new Date(1e3*e.gametime),y=e.live,b=e.game_cnt,_=b&&1 • '+i+" "+e.period),e.time_elapsed_display&&(m=e.is_halftime&&"true"==e.is_halftime?'Halftime':''+e.time_elapsed_display),e.qtype&&"lg"==e.qtype)if(t.enableNewLeagueTmpl)try{y?(n=g&&' '+g+"",a=''+t.liveIconText+"",e.title=C(t.league_l_tmpl,[p,s,f,h,d,u,m,n,a])):E?(o=v.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz}),r='',l=''+o+"",e.title=C(t.league_f_tmpl,[p,s,f,h,d,u,r+l])):(o=v.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz}),r=p.length+u.length+o.length+t.sepThreshold>t.maxLen?"":'',l=''+o+"",c=b&&1'+_+"":"",e.title=C(t.league_n_tmpl,[p,s,d,u,r+l+c]))}catch(e){}else e.title=C(t.league_tmpl,[p,u,v.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})]);else{try{e.title=y?C(t.l_tmpl,[f,h,u,m,g])+''+t.liveIconText+"":E?C(t.f_tmpl,[f,h,u,v.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz})]):C(t.n_tmpl,[u,v.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})])}catch(e){}s&&(e.imageUrl=s)}}}function Qe(e,t){var s=this.config,i=t.m,t=t.fd,e=e.li;s.enableNewLeagueTmpl&&48==i&&t&&t.qtype&&"lg"==t.qtype&&(e.className+=" league")}function Ye(){this.config={enableNewLeagueTmpl:!1,n_tmpl:"vs. {0} {1}",l_tmpl:"{0} - {1} vs. {2} {3} {4}",f_tmpl:"{0} - {1} vs. {2} {3}",league_tmpl:"{0} vs. {1} {2}",league_n_tmpl:'{0}vs{3}{4}',league_l_tmpl:'{0}{2} vs {3}{5}{6} {7} {8}',league_f_tmpl:'{0}{2} vs {3}{5}{6}',liveIconClass:"sa-ico-live",liveIconText:"",maxLen:60,sepThreshold:10}}function Ve(e){var t,s,i,n,a,o,r,l=this.config,c=e.m,e=e.fd;41==c&&e&&!e.subtitle&&(c=e.img_url||"",t=''+e.condition+"",s=e.degree,i=e.high_temp&&' H:'+e.high_temp+"°",n=e.low_temp&&"L:"+e.low_temp+"°",a=e.loc&&' '+e.loc,o=e.warning?'':"",r=this.app.format,l.enableHL?e.title=r(l.tmpl_hl,[c,s,o,t,i,n,a]):e.title=r(l.tmpl,[c,s,t,a]))}function ze(e,t){var s=this.config,i=t.m,n=t.fd&&t.fd.img_url;41==i&&s.enableThumb&&n&&(t.fd.imageUrl=n)}function Ze(){this.config={enableHL:!1,enableThumb:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function je(e){var t,s,i,n=this.config,a=e.m,o=e.d,r=(e=e.fd)&&e.show_subtitle?e.show_subtitle:0;a==K&&e&&!r&&(o&&"movie"==o.subdn?(s=e.year||"",a=e.genre&&e.genre[0]?e.genre[0]+" "+n.text.movie:n.text.movie,r=e.releaseDate?new Date(e.releaseDate):"",t=new Date,r&&t{1}{3}{4}{5}',label:{C:"Cancelled",S:"Scheduled",A0:"Delayed",A1:"Ontime",L0:"Arrived Late",L1:"Arrived"},descPrefix:{S:"Scheduled departure at",A:"Estimated arrival at",L:"Arrived at"}}}function st(e){var t=this.config,s=this.app.format,i=e.idx,n=e.m,e=e.fd;t.enabled&&53===n&&e&&0===i&&"1.00"===e.num&&(e.title=s(t.titleTpl,[e.fromUnit,e.title]))}function it(e,t){var s=this.config,i=t.idx,n=t.m,t=t.fd;s.enabled&&53===n&&0===i&&t&&(e.li.classList.add("sa-currency"),"1.00"!==t.num)&&e.li.classList.add("sa-currency-plural")}function nt(){this.config={titleTpl:"1 {0} = {1}"}}function at(e){var t=this.config,s=this.app.format,i=e.m,e=e.fd;t.enabled&&54===i&&e&&(i=e.resultUnitAbbr||e.resultUnit,e.title=s(t.titleTpl,[e.num,i]))}function ot(e,t){var s=this.config,i=t.idx,n=t.m,t=t.fd;s.enabled&&54===n&&0===i&&t&&e.li.classList.add("sa-unitconv")}function rt(){this.config={titleTpl:"{0} {1}"}}function lt(e){var t=this.config,s=e.r,i=s.length,n=""===e.q&&0s.minQuery&&e&&e.r&&e.r.length&&(o=e.sqpos)){for(var d="",u=e.r,f=0;fd.length?u[f].k:d;var h=h.config,m=t.createElem,g=m(h.sa,"div"),v=m(h.saList,"ul"),y=(h.boldTag,[d,e.q.substr(0,o)]);for(g.className+=" "+s.css,g.style.position="absolute",g.style.left="-9999px",n.saTray.appendChild(g).appendChild(v),f=0;fa.clientWidth-c){o=0;break}}else r=_+l}g.outerHTML=""}t.sqpos=o,t.toleft=r}function bt(e){var t=this.sqpos;t&&(e.k=e.k.substr(t),e.q=e.q.substr(t))}function _t(e){var e=e.parentNode,t=this,s=t.sqpos,i=t.toleft,n=t.config,a=t.app.view.elems.sbForm,o=n.formCSS;s?(e.className+=" "+n.css,e.style.left=i+"px",e.style.position="absolute",S.addClass(a,o)):Et.call(t)}function Et(){S.removeClass(this.app.view.elems.sbForm,this.config.formCSS)}function Ct(){this.config={css:"sa-subtray",formCSS:"sf-subtray",offset:5,delta:0,minQuery:0}}function wt(e,t){var s=t.m,i=this.idxs;""!==t.q||s in i||(i[s]=e.idx)}function St(e){var t,s=this,i=s.config,n=s.idxs,a=i.grps,o=s.createElem;for(t in n){var r,l=a["m"+t],c=(p=a[t])&&p.text||l&&l.text,p=p&&p.css||l&&l.css;c&&((l=o(i.hdr,"div")).appendChild(o(i.icon,"span")),r=l.appendChild(o(i.title,"span")),l.className+=p?" "+p:"",r.textContent=c,e.insertBefore(l,s.app.view.items[n[t]].li))}s.idxs={}}function Tt(){this.config={hdr:{css:"sa-grp-hdr"},icon:{css:"sa-grp-hdr-icon"},title:{css:"sa-grp-hdr-title"},grps:{m13:{text:"Recent Searches",css:"history"},m9:{text:"Trending Now",css:"trending"}}}}function It(){this.selectedIndex=-1}function xt(){function o(){var e=l.selectedIndex,t=d[e];0<=e&&d[e]&&(S.removeClass(t.li,c.css),l.app.notify(y,[t]))}function r(e){S.addClass(e.li,c.css),l.app.notify(v,[e])}var l=this,c=l.config,p=l.app.view,d=p.items,u=(e=p.elems).sbInput,n=e.saTray,e=S.ieVer,f=!1;S.ae(n,"mouseover",function(e){for(var t=e.target||e.srcElement;t&&t!=n;){var s=S.get(t,"pos"),i=s?p.items[s]:{};if(i&&t===i.li){o(),l.selectedIndex=s,r(i);break}t=t.parentNode}}),S.ae(n,"mouseout",function(e){o()}),S.ae(u,"keydown",function(e){var t=e.keyCode,s=l.selectedIndex;switch(t){case 38:case 40:if(d.length){o();for(var i,n=d.length;40==t?s<0||n-1<=s?s=0:s++:s<=0?s=n-1:s--,!(i=d[s]).li.parentNode;);l.selectedIndex=s,p.assistItem=i,u.value=i.data.k,r(i),S.stopPropagation(e),f=!0}break;case 9:case 39:if(9!=t||!c.useDefaultTab){var a=u.value.length;if(u.selectionEnd==a&&u.selectionStart==a){if(!d.length)return;(0<=s||u.value!==d[0].data.k)&&(u.value=(0<=s?d[s]:d[0]).data.k,p.show(),S.stopPropagation(e))}else 9==t&&(u.selectionEnd=u.selectionStart=u.value.length,S.stopPropagation(e))}}}),e&&(8===e&&S.ae(u,"propertychange",function(e){"value"===e.propertyName&&!0!==f&&p.show(),f=!1}),9===e)&&(l.onSelctionChange=function(e){w.activeElement===u&&p.show()})}function At(){var e=S.ieVer;e&&9===e&&!this.ie9_attached&&(S.ae(w,"selectionchange",this.onSelctionChange),this.ie9_attached=!0)}function Rt(){var e=S.ieVer;e&&9===e&&this.ie9_attached&&(S.de(w,"selectionchange",this.onSelctionChange),this.ie9_attached=!1)}function kt(){this.config={css:"highlight",useDefaultTab:!1}}function Nt(){var s=this,i=this.app.view;S.ae(w,"keydown",function(e){var t=w.activeElement;t&&t.tagName&&("input"===t.tagName.toLowerCase()||"textarea"===t.tagName.toLowerCase())||(t=i.elems.sbInput,27===e.keyCode&&t.value.length?(S.select(t,0,t.value.length),S.stopPropagation(e),i.show()):e.keyCode<=40||e.ctrlKey||e.metaKey||(s.config.emptyFirst?t.value="":(t.value=S.trim(t.value),""!==t.value&&(t.value+=" ")),S.setFocus(t)))})}function Lt(){}function Ft(e,t,s){var i,n=this.config,a=n.log,o=this.app,r=o.view.elems.sbInput,l=s.li,c=s.idx;t===s.edit&&s.data.m==D&&(t={query:s.data.k,action:"del",sa:1},s=o.config.shBE,S.merge(t,s.params),s=s.host+S.buildUrl(s.base,t),(i=new XMLHttpRequest).open("GET",s,!0),i.withCredentials=!0,i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.placeholder||(i.onreadystatechange=function(){var e=i.status;(4==i.readyState&&200<=e&&e<300||304===e||1223===e)&&(o.model.removeAt(c),n.fetchAfterRemove)&&setTimeout(function(){o.model.fetch()},n.delayBeforeFetch)}),i.send(null),n.placeholder&&((t=this.createElem(n.placeholder,"div")).innerHTML=n.placeholder.html,l.parentNode.replaceChild(t,l)),S.setFocus(r),e(),a)&&(a.pos=c+1,o.control.beacon("tapRmv",r,a))}function Pt(){this.config={delayBeforeFetch:300,placeholder:{css:"sa-sh-ph",html:'This search was removed Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function Ot(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(S.stopPropagation(e),a.value="",S.setFocus(a),i.show(),s.control.beacon("tapClr",o,t.config.log))}var t=this,s=t.app,i=s.view,n=i.elems,a=n.sbInput,o=n.sbClear;o&&(S.ae(o,"click",e),S.ae(o,"keydown",e))}function Bt(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}r.SA=(i=[],e.prototype={jsonp:function(e){var t=w.getElementsByTagName("head")[0],s=w.createElement("script");S.set(s,"type","text/javascript"),S.set(s,"src",e),t.appendChild(s),S.ae(s,"load",function(){t.removeChild(s)})},xhr:function(e,t){var s=new XMLHttpRequest;s.open("GET",e),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.onreadystatechange=function(){var e=s.status;(4==s.readyState&&200<=e&&e<300||304===e||1223===e)&&t(JSON.parse(s.response))},s.send(null)},createElem:V,getElemStyleValue:function(e,t){return C.getComputedStyle?C.getComputedStyle(e).getPropertyValue(t):e.currentStyle?(t=t.replace(/\-([a-z]){1}/g,function(e,t){return t.toUpperCase()}),e.currentStyle[t]):""},format:function(e,s){if(e)return e.replace(/{(\d+)}/g,function(e,t){return s&&void 0!==s[t]?s[t]:""}).trim()},on:function(e,t,s){var i;e&&t&&((i=this.listeners)[e]||(i[e]=[]),i[e].push({thisArg:s||this,fn:t}))},notify:function(e,s){var t=this.listeners;if(!t[e])return!1;t[e].forEach(function(e){var t=e.thisArg;(e=e.fn)&&e.apply&&1!=t.config.disable&&e.apply(t,s||[])})},init:function(e){var t,s,i,n,a=this,o=a.config,r=o.plugins={};for(n in a.view=t=new c.viewClass,a.model=s=new c.modelClass,a.control=i=new c.controlClass,p){var l=new p[n];r[n]=l.config=l.config||{},l.createElem=V,l.init(a)}"object"==typeof e&&S.merge(o,e),a.ready=t.init(a)&&s.init(a)&&i.init(a)}},n=e,c={ver:"assistjs-v1.0.269-searchfe_desktop",apps:i,plugs:p,add:function(e,t){p[e]=t},msg:{BEFORE_GET_ASSIST:l,BEFORE_DISPLAY_DATA:s,BEFORE_INIT_VIEW:d,AFTER_INIT_VIEW:u,BEFORE_PARSE_DATA:T,BEFORE_UPDATE_ASSIST:I,AFTER_UPDATE_LIST:x,AFTER_CREATE_ITEM:f,BEFORE_SHOW_SA:a,AFTER_RESET_VIEW:o,BEFORE_HIDE_VIEW:h,AFTER_HIDE_VIEW:m,AFTER_EXPANDED:A,AFTER_INIT_CONTROLLER:R,CLICK_ASSIST:k,BEFORE_QUERY_ASSIST:N,BEFORE_KEY_SUBMIT:L,BEFORE_BUTTON_SUBMIT:F,BEFORE_SUBMIT_QUERY:P,BEFORE_SB_FOCUS:O,AFTER_SB_FOCUS:B,BEFORE_SB_BLUR:H,AFTER_SB_BLUR:M,BEFORE_BEACON:g,AFTER_SET_YLC:q,AFTER_RESET_CONTROLLER:U,AFTER_ITEM_HIGHLIGHT:v,AFTER_ITEM_RESET_HIGHLIGHT:y},markers:{GOSSIP_MARKER_SEARCH_HISTORY:D,GOSSIP_MARKER_TRENDING:G,GOSSIP_MARKER_ENTERTAINMENTS:K,GOSSIP_MARKER_COMPANY:W,GOSSIP_MARKER_FLIGHT:32,GOSSIP_MARKER_WEATHER:41,GOSSIP_MARKER_PEOPLE_ALSO_SEARCH_FOR:Q,GOSSIP_MARKER_CURRENCYCONV:53,GOSSIP_MARKER_UNITCONV:54,GOSSIP_MARKER_PEOPLE_ALSO_ASK:72,GOSSIP_MARKER_FINANCE:46,GOSSIP_MARKER_SPORTS:48,GOSSIP_MARKER_RELATED_STOCKS:Y,GOSSIP_MARKER_WHAT_TO_WATCH:75,GOSSIP_MARKER_SHOPPING_REFINEMENT:76},init:function(e){var t,s=S.ieVer;return!(s&&s<8||((t=new n(this.initConfig?this.initConfig():{})).init(e),!t.ready))&&(t.config.customEvent&&8===s&&(w.documentElement.assistSelection=null),t.idx=i.length,i.push(t),void(!this.latency&&C.performance&&"function"==typeof C.performance.now&&(this.latency=C.performance.now())))}}),c.controlClass=(b="ylcAssist",_="ylcKey",E="ylcBtn",t.prototype={init:function(s){function n(e){h.pqstr="",h.pqstrl=0,h.pos=0;var t=p.sbForm.fr2,s=p.sbInput.value,i=r.data;switch(h.query=encodeURIComponent(s),h.qstrl=s.length,h.t_stmp=S.ts(),h.gprid=i.l&&i.l.gprid?i.l.gprid:"",h.n_sugg=i.r?i.r.length:0,t&&(h.fr2=t.value),l.assistItem&&(h.pos=l.assistItem.idx+1),e){case b:var n=l.lastInput;S.merge(h,c[b]),h.pqstr=n,h.pqstrl=n.length;break;case _:S.merge(h,c[_]);break;default:S.merge(h,c[E])}y(q),g.lastActn=h.t4}function a(e){var t=p.sbInput.value,s=l.assistItem,i=s&&s.data||{},n=i.d||{},n=(i=i.fd||{}).navUrl||"games"===n.dn&&i.url;if(!(t=p.mustHaveInput?p.mustHaveInput.value:t)||""===t||void 0!==t.trim&&""===t.trim())return!1;y(P),n&&(u.action=n),e?S.fireEvent(d,e,{data:s}):u.submit(),setTimeout(function(){o()},400)}function o(){d.blur(),l.reset(),y(U)}var r,l,c,p,d,u,e,f,h,t,i,m,g=this,v=S.ieVer,y=function(e,t){s.notify(e,t)};return g.model=r=s.model,g.view=l=s.view,g.config=c=s.config,g.customEvent=f=c.customEvent||{},g.setYlc=n,g.emit=y,g.submitForm=a,g.lastActn="",g.ylc=h={},S.merge(h,c.ylc),p=l.elems,d=p.sbInput,u=p.sbForm,e=p.sbSubmit,(!v||9<=v)&&S.ae(d,"input",function(){l.show()}),S.ae(d,"focus",function(e){y(O),c.sbScrollTop&&(w.body.scrollTop=0),y(B)}),S.ae(d,"blur",function(e){e.relatedTarget&&u.contains&&u.contains(e.relatedTarget)||(y(H),y(M))}),S.ae(d,"click",function(){l.triggered||l.show()}),S.ae(d,"keydown",function(e){switch(g.lastActn="key_"+e.keyCode,e.keyCode){case 13:e.preventDefault(),y(L),n(_),a(f.customKeyBoard);break;case 27:d.blur(),l.hide(),S.stopPropagation(e)}}),e?S.ae(e,"click",function(e){e.preventDefault(),y(F),n(E),a(f.customBtn)}):S.ae(u,"submit",function(){y(F),n(E),y(P),setTimeout(function(){o()},400)}),"ontouchstart"in C&&(m=function(e,t){return(/touch/.test(e.type)?(e.originalEvent||e).changedTouches[0]:e)["page"+t]},S.ae(w,"touchstart",function(e){l.shown&&(t=m(e,"X"),i=m(e,"Y"))}),S.ae(w,"touchend",function(e){l.shown&&(5<=Math.abs(m(e,"X")-t)||5<=Math.abs(m(e,"Y")-i))&&e.preventDefault()})),S.ae(w,"click",function(e){if(l.shown){for(var t=e.target||e.srcElement,s=!1;t;){if(t===u||t===p.saTray)return;var i=(i=S.get(t,"pos"))?l.items[i]:{};if(y(k,[function(){s=!0},t,i]),s)return;if(t===i.li)return d.value=i.data.k,l.assistItem=i,y(N),n(b),void a(f.customSelection);if((t=t.parentNode)===w)break}c.hideOnOutsideClick&&l.hide()}}),y(R),!0},submitFormByIndex:function(e,t){var s=this,t=t||"",i=s.view,n=i.elems.sbInput;item=i.items[e],customEvent=s.customEvent,item&&(n.value=item.data.k,i.assistItem=item,s.emit(N,[t]),s.setYlc(b),s.submitForm(customEvent.customSelection))},beacon:function(e,t,s){var i,n,a,o;s&&(i=(o=this).customEvent,n=o.config,o.model.app.notify(g,[s]),a="sa_rt"in s?{rt:s.sa_rt,q:s.cqry,la:o.lastActn,n:s.nitems,s:s._S}:{},o.lastActn=s.t4,i[e]?S.fireEvent(t,i[e],s):r.ULT?(t=(o=r.ULT).BEACON,n.saBeacon&&(o.BEACON=location.protocol+"//"+S.buildUrl(n.saBeacon,a)),o.beacon_click(s),o.BEACON=t):"function"==typeof r.SaBeacon&&r.SaBeacon(s))}},t),c.modelClass=(z.prototype={init:function(e){var t=this;return t.app=e,t.view=e.view,t.config=e.config,t.cbIdx=0,t.data={},!0},fetch:function(){var t=this,e=t.app,s="sacb"+t.cbIdx++,i={pq:(i=t.view).origQuery,command:i.elems.sbInput.value,t_stmp:S.ts()},n=t.config.saBE,a=e.cb;if(t.config.xhr||(i.callback="YAHOO.SA.apps["+e.idx+"].cb."+s),S.merge(i,n.params),!t.config.xhr){for(var o in a)a.hasOwnProperty(o)&&(a[o]=function(){});a[s]=function(e){t.read(e||{}),a[s]=function(){}}}e.notify(l,[i]),t.getAssist(n,i)},getAssistFromUrl:function(e,t){var s=this;s.config.xhr?s.app.xhr(e,function(e){t.command==(e=e||{}).q&&s.read(e||{})}):s.app.jsonp(e)},getAssist:function(e,t){this.getAssistFromUrl(e.host+S.buildUrl(e.base,t),t)},read:function(e){this.data=e,this.display()},removeAt:function(e){this.data.r.splice(e,1),this.display()},removeItems:function(e){for(var t=this.data,s=t.r.length-1;0<=s;s--)t.r[s].m==e&&t.r.splice(s,1);this.display()},display:function(){var e=this.data;this.app.notify(s,[e]),this.view.dropdown(e)}},z),c.viewClass=(Z.prototype={init:function(e){var t,s,i,n,a,o,r=this,l=(r.app=e,r.model=e.model,r.config=t=e.config,r.elems=s={},r.items=[],r.assistItem=null,e.notify(d),t.elems);for(o in l)s[o]||(s[o]=w.getElementById(l[o]));return i=s.sbInput,a=s.saTray,!!((n=s.sbForm)&&i&&a)&&(r.origQuery=r.lastInput=i.value,S.set(i,"role","combobox"),S.set(i,"aria-autocomplete","both"),S.set(i,"aria-expanded","false"),r.origAction=n.action,(!(a=i.autofocus)&&t.autofocus||a&&i.value.length)&&S.setFocus(i),e.notify(u),S.ae(C,"load",function(){w.body.dir&&"rtl"==w.body.dir&&(t.saAria.style.left="",t.saAria.style.right="-9999px"),s.saAria=w.body.appendChild(e.createElem(t.saAria,"div"))}),!0)},dropdown:function(e){var t=this,s=t.config,i=t.app,n=e&&e.r?e.r.length:0,a=w.body,o=t.elems,r=o.sbInput,l=o.saAria,c=o.saTray,p=((o=o.sbForm)||{}).parentElement,d=t.app.createElem,u=s.noQueryClass,f=s.typingClass,h=s.noResultClass,m=d(s.sa,"div"),g=d(s.saList,"ul");if(s.restoreScrollPosition&&!t.shown&&(t.previousScrollY=window.scrollY),S.addClass([a,p],f),""==e.q?s.addNoQueryClsToBody?S.addClass(a,u):S.addClass(c,u):S.removeClass([c,a],u),t.shown=!0,t.clearAssist(),n){m.appendChild(g),i.notify(T,[e]);for(var v=0;v"),i.notify(A)},show:function(){var e=this,t=e.config,s=e.elems.sbInput.value,i=s.length;e.app.notify(a),e.shown&&e.sameQuery()||(e.lastInput=s,it.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(i=e.elems).sbInput,s=i.saAria,i=i.sbForm,n=e.config,a=e.app;a.notify(h),S.removeClass(w.body,n.typingClass),i&&i.parentElement&&S.removeClass(i.parentElement,n.typingClass),S.removeClass(i,n.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,n.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&S.set(t,"aria-expanded","false"),s&&(S.set(s,"aria-expanded","false"),s.innerHTML="

"+e.config.saAria.closedText+"

"),a.notify(m)},clearAssist:function(){this.elems.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null},createItem:function(e){var t={idx:e.idx,data:e.origData},s=S.htmlEncode,i=this.config,n=this.app.createElem,a={},o=(i.highlight&&S.merge(a,i.highlight),e.highlight&&S.merge(a,e.highlight),n(i.saItem,"li"));return(n=(S.set(o,"pos",e.idx),n(i.saTitle,"span"))).innerHTML=e.t||(i.boldTag&&e.k&&e.q?S.bold(i.boldTag,s(e.k),s(e.q),a):s(e.k)),o.appendChild(n),t.li=o,t.title=n,this.app.notify(f,[t,e]),t},resetQuery:function(){this.elems.sbInput.value=this.origQuery},reset:function(){var e=this,t=e.config,s=e.elems.sbForm;t.resetQuery&&e.resetQuery(),e.hide(),s.action=e.origAction,e.app.notify(o)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput}},Z),c.initConfig=function(){return{elems:{sbForm:"sb-form",sbInput:"sb-input",sbSubmit:"sb-search",sbClear:"sb-clr",sbCancel:"sb-cancel",saTray:"sa-tray"},customEvent:{},sa:{css:"sa",attrs:{type:"normal"}},saList:{css:"sa-list",attrs:{role:"listbox"},style:{cursor:"pointer"}},saItem:{css:"sa-item",attrs:{role:"option"}},saTitle:{css:"sa-item-title"},saAria:{shownText:"new suggestions shown",closedText:"Suggestion box closed",css:"sa-aria-live-region",attrs:{"aria-live":"polite"},style:{position:"absolute",left:"-9999px"}},saBE:{host:"",base:"/sugg/gossip/gossip-us-ura/",params:{l:1,bm:3,output:"sd1",nresults:10}},shBE:{host:"",base:"/history"},minInput:0,maxInput:255,boldTag:"{s}",ylc:{_r:2},ylcAssist:{use_case:""},hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing",noResultClass:"sf-noResult"}},p.hideSbClr=(X.prototype={init:function(e){(this.app=e).on(a,j,this)}},X),p.entityFocus=($.prototype={init:function(e){(this.app=e).on(P,J,this)}},$),p.saFr2=(ae.prototype={init:function(e){var t=this;(t.app=e).on(u,ee,t),e.on(l,te,t),e.on(N,se,t),e.on(F,ie,t),e.on(L,ie,t),e.on(o,ne,t)}},ae),p.ipos=(le.prototype={init:function(e){(this.app=e).on(a,oe,this),e.on(l,re,this)}},le),p.ylcEncode=(de.prototype={init:function(e){(this.app=e).on(N,ce,this),e.on(P,pe,this)}},de),p.saTray=(fe.prototype={init:function(e){(this.app=e).on(d,ue,this)}},fe),p.saFlvr=(me.prototype={init:function(e){e.on(f,he,this)}},me),p.saOverlay=(ve.prototype={init:function(e){e.on(u,ge,this)}},ve),p.saPASF=(Ee.prototype={init:function(e){var t=this;t.pasf=[],t.relatedStocks=[],t.beforeNode=null,(t.app=e).on(l,ye,t),e.on(f,_e,t),e.on(x,be,t)}},Ee),p.saRelatedStocks=(Se.prototype={init:function(e){var t=this;t.pasf=[],t.relatedStocks=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(f,Ce,t),e.on(x,we,t)}},Se),p.saShoppingRefinement=(Ae.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(T,Te,t),e.on(f,Ie,t),e.on(x,xe,t)}},Ae),p.saWhatToWatch=(Le.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(s,Re,t),e.on(f,ke,t),e.on(x,Ne,t)}},Le),p.saEdit=(Pe.prototype={init:function(e){e.on(f,Fe,this)}},Pe),p.saEmptyState=(Me.prototype={init:function(e){var t=this;t.history=[],t.trending=[],t.beforeNode=null,(t.app=e).on(s,Oe,t),e.on(f,Be,t),e.on(x,He,t)}},Me),p.saAnnot=(Ue.prototype={init:function(e){e.on(f,qe,this)}},Ue),p.saStock=(Ke.prototype={init:function(e){(this.app=e).on(I,De,this),e.on(f,Ge,this)}},Ke),p.saSport=(Ye.prototype={init:function(e){(this.app=e).on(I,We,this),e.on(f,Qe,this)}},Ye),p.saWeather=(Ze.prototype={init:function(e){(this.app=e).on(I,Ve,this),e.on(f,ze,this)}},Ze),p.saEntertainments=(Xe.prototype={init:function(e){(this.app=e).on(I,je,this)}},Xe),p.saFlightStatus=(tt.prototype={init:function(e){(this.app=e).on(I,$e,this),e.on(f,et,this)}},tt),p.saCurrencyConverter=(nt.prototype={init:function(e){(this.app=e).on(I,st,this),e.on(f,it,this)}},nt),p.saUnitConverter=(rt.prototype={init:function(e){(this.app=e).on(I,at,this),e.on(f,ot,this)}},rt),p.saPreview=(mt.prototype={init:function(e){var t=this;t.disablePreview=!0,t.previewCol=null,t.firstItem=null,t.hoverDebounce=null,t.prevHoverIndex=-1,t.prevActiveIndex=-1,(t.app=e).on(s,lt,t),e.on(f,ct,t),e.on(x,pt,t),e.on(v,dt,t),e.on(y,ut,t),e.on(k,ft,t),e.on(m,ht,t)}},mt),p.saImg=(vt.prototype={init:function(e){e.on(f,gt,this)}},vt),p.saSubTray=(Ct.prototype={init:function(e){var t=this;t.app=e,t.sqpos=t.toleft=0,e.on(T,yt,t),e.on(I,bt,t),e.on(x,_t,t),e.on(m,Et,t)}},Ct),p.saGroup=(Tt.prototype={init:function(e){this.app=e,this.idxs={},e.on(f,wt,this),e.on(x,St,this)}},Tt),p.saPCActn=(kt.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(s,It,t),e.on(R,xt,t),e.on(B,At,t),e.on(M,Rt,t)}},kt),p.anykey=(Lt.prototype={init:function(e){(this.app=e).on(R,Nt,this)}},Lt),p.tapRmv=(Pt.prototype={init:function(e){(this.app=e).on(k,Ft,this)}},Pt),p.tapClr=(Bt.prototype={init:function(e){(this.app=e).on(R,Ot,this)}},Bt)}();if(window.YAHOO) { if(window.YAHOO.ULT) { window.YAHOO.ULT.BEACON = "https://geo.yahoo.com/t"}if(window.YAHOO.SB) { window.YAHOO.SB.config = {"beacon_host":"https:\/\/geo.yahoo.com\/t","i13n":{"spaceid":"96781307","mtestid":"","pvid":"zYEOujEwLjGczIP0En.ZigD0MzUuMgAAAACRbhVc","fr":"","query":"United Methodist Church"}}}} "),t.close()),!t)throw Error("base not supported");var r=t.createElement("base");r.href=i,t.getElementsByTagName("head")[0].appendChild(r);var n=t.createElement("a");return n.href=o,n.href}finally{e&&e.parentNode.removeChild(e)}}():o)||""),e=function(){if(!("defineProperties"in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(s){return!1}}()?this:document.createElement("a"),r=new f(t.search?t.search.substring(1):null);function n(){var e=t.href.replace(/#$|\?$|\?(?=#)/g,"");t.href!==e&&(t.href=e)}function a(){r._setList(t.search?c(t.search.substring(1)):[]),r._update_steps()}return r._url_object=e,Object.defineProperties(e,{href:{get:function(){return t.href},set:function(e){t.href=e,n(),a()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in t?t.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return t.protocol},set:function(e){t.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return t.username},set:function(e){t.username=e},enumerable:!0,configurable:!0},password:{get:function(){return t.password},set:function(e){t.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[t.protocol];return e?t.host.replace(e,""):t.host},set:function(e){t.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return t.hostname},set:function(e){t.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return t.port},set:function(e){t.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==t.pathname.charAt(0)?"/"+t.pathname:t.pathname},set:function(e){t.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return t.search},set:function(e){t.search!==e&&(t.search=e,n(),a())},enumerable:!0,configurable:!0},searchParams:{get:function(){return r},enumerable:!0,configurable:!0},hash:{get:function(){return t.hash},set:function(e){t.hash=e,n()},enumerable:!0,configurable:!0},toString:{value:function(){return t.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return t.valueOf()},enumerable:!1,configurable:!0}}),e}if(Object.defineProperties(f.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},"delete":{value:function(e){for(var t=0;t