1Type.registerNamespace("Telerik.Web.UI"); 2(function(a,b){$telerik.toNotification=function(d){return d; 3}; 4$telerik.findNotification=$find; 5var c=Telerik.Web.Browser; 6a.registerEnum(b,"NotificationLoad",{PageLoad:0,FirstShow:1,EveryShow:2,TimeInterval:3}); 7a.registerEnum(b,"NotificationPosition",{TopLeft:11,TopCenter:12,TopRight:13,MiddleLeft:21,Center:22,MiddleRight:23,BottomLeft:31,BottomCenter:32,BottomRight:33}); 8a.registerEnum(b,"NotificationHorizontalPosition",{Left:1,Center:2,Right:3}); 9a.registerEnum(b,"NotificationVerticalPosition",{Top:1,Middle:2,Bottom:3}); 10a.registerEnum(b,"NotificationScrolling",{Auto:0,None:1,X:2,Y:3,Both:4,Default:5}); 11a.registerEnum(b,"NotificationAnimation",{None:0,Resize:1,Fade:2,Slide:4,FlyIn:8}); 12b.RadNotification=function(d){b.RadNotification.initializeBase(this,[d]); 13this._popupElement=$get(this.get_id()+"_popup"); 14this._titlebar=$get(this.get_id()+"_titlebar"); 15this._menuIcon=$get(this.get_id()+"_rnMenuIcon"); 16this._closeIcon=$get(this.get_id()+"_rnCloseIcon"); 17this._xmlPanel=$find(this.get_id()+"_XmlPanel"); 18this._titleMenu=$find(this.get_id()+"_TitleMenu"); 19this._position=b.NotificationPosition.BottomRight; 20this._visibleTitlebar=true; 21this._width=""; 22this._height=""; 23this._updateInterval=0; 24this._showInterval=0; 25this._loadContentOn=b.NotificationLoad.PageLoad; 26this._keepOnMouseOver=true; 27this._enabled=true; 28this._text=""; 29this._title=""; 30this._audioUrl=""; 31this._audioMimeType=""; 32this._audioElement=null; 33this._firstShow=true; 34this._autoCloseRef=null; 35this._horizontalPosition=b.NotificationHorizontalPosition.Right; 36this._verticalPosition=b.NotificationVerticalPosition.Bottom; 37this._cancelAutoClose=false; 38this._popupTouchScroll=null; 39this._canPlaySound=false; 40}; 41b.RadNotification.prototype={initialize:function(){b.RadNotification.callBaseMethod(this,"initialize"); 42var d=this.get_element().style.zIndex||$telerik.getCurrentStyle(this.get_element(),"zIndex"); 43if(!parseInt(d,10)){d=10000; 44}this.set_zIndex(d); 45this._addToDocument(); 46this._attachXmlPanelHandlers(); 47this._registerPopupHandlers(true); 48if(this.get_enableAriaSupport()){this._applyAriaSupport(); 49}if(this._shouldPlaySound()){this._renderAudioElement(); 50}if(this.get_visibleOnPageLoad()){setTimeout(Function.createDelegate(this,function(){this.show(); 51}),0); 52}},dispose:function(){this._stopTimer("_updateTimer"); 53this._stopTimer("_showTimer"); 54this.cancelAutoCloseDelay(); 55this._registerPopupHandlers(false); 56this._createTouchScrollExtender(false); 57if(this._popupBehavior){this._popupBehavior.dispose(); 58}var d=this.get_popupElement(); 59if(Sys&&Sys.WebForms){var e=Sys.WebForms.PageRequestManager.getInstance(); 60if(e&&e.get_isInAsyncPostBack()){$telerik.disposeElement(d); 61}}if(d&&d.parentNode){d.parentNode.removeChild(d); 62}b.RadNotification.callBaseMethod(this,"dispose"); 63},_attachXmlPanelHandlers:function(){var d=this._xmlPanel; 64d.add_responseEnding(Function.createDelegate(this,this._onResponseEnding)); 65d.add_responseEnded(Function.createDelegate(this,this._onResponseEnded)); 66d.add_responseError(Function.createDelegate(this,this._onResponseError)); 67},_registerPopupHandlers:function(d){this._registerMouseKeepHandlers(d); 68this._registerTitlebarHandlers(d); 69this._registerWindowResizeHandler(d); 70},_registerMouseKeepHandlers:function(d){var e=this.get_popupElement(); 71if(true==d&&this.get_keepOnMouseOver()){this._mouseEnterHandler=Function.createDelegate(this,this._onMouseEnter); 72$addHandler(e,"mouseover",this._mouseEnterHandler); 73this._mouseLeaveHandler=Function.createDelegate(this,this._onMouseLeave); 74$addHandler(e,"mouseout",this._mouseLeaveHandler); 75}else{if(this._mouseEnterHandler||this._mouseLeaveHandler){$clearHandlers(e); 76this._mouseEnterHandler=null; 77this._mouseLeaveHandler=null; 78}}},_registerTitlebarHandlers:function(d){if(true==d){if(this.get_showTitleMenu()&&this._menuIcon){this._showMenuHandler=Function.createDelegate(this,this._onMenuIconClick); 79$addHandler(this._menuIcon,"click",this._showMenuHandler); 80}if(this.get_showCloseButton()&&this._closeIcon){this._closeHandler=Function.createDelegate(this,this._close); 81$addHandler(this._closeIcon,"click",this._closeHandler); 82}}else{if(this._showMenuHandler&&this._menuIcon){$removeHandler(this._menuIcon,"click",this._showMenuHandler); 83}if(this._closeHandler&&this._closeIcon){$removeHandler(this._closeIcon,"click",this._closeHandler); 84}}},_registerWindowResizeHandler:function(d){if(d){this._onWindowResizeDelegate=Function.createDelegate(this,this._repositionOnResize); 85$addHandler(window,"resize",this._onWindowResizeDelegate); 86}else{if(this._onWindowResizeDelegate){$removeHandler(window,"resize",this._onWindowResizeDelegate); 87this._onWindowResizeDelegate=null; 88}}},_repositionOnResize:function(){if(this.isVisible()){var e=this.get_width(); 89var d=this.get_height(); 90if((e.toString().indexOf("%")>-1)||(d.toString().indexOf("%")>-1)){this.setSize(e,d); 91}this._show(); 92if($telerik.isIE9Mode){this._show(); 93}this._popupBehavior.pin(this.get_pinned()); 94}},_createAudioElement:function(){var d=document.createElement("audio"); 95d.setAttribute("src",this._audioUrl); 96d.setAttribute("preload","auto"); 97d.style.position="absolute"; 98d.style.left=0; 99d.style.top=0; 100this._soundPlayDelegate=Function.createDelegate(this,this._onSoundPlay); 101$telerik.onEvent(d,"play",this._soundPlayDelegate); 102this._audioElement=d; 103},_createObjectElement:function(){var e=document.createElement("embed"); 104e.setAttribute("id",this.get_id()+"_playAudio"); 105e.setAttribute("src",this._audioUrl); 106var d=(this.get_visibleOnPageLoad()&&this.get_animation()==b.NotificationAnimation.None); 107e.setAttribute("autostart",d); 108e.setAttribute("pluginspage","http://www.apple.com/quicktime/download/"); 109e.setAttribute("name","NotificationAudio"); 110e.setAttribute("enablejavascript","true"); 111e.setAttribute("type",this._audioMimeType); 112e.setAttribute("class","rnEmbed"); 113if($telerik.isIE7){this._moveIE7EmbedTag(e); 114}this._audioElement=e; 115this._canPlaySound=true; 116},_moveIE7EmbedTag:function(d){d.style.width="0px"; 117d.style.hegiht="0px"; 118d.style.position="absolute"; 119d.style.top="-99999px"; 120d.style.left="-99999px"; 121},_supportsAudio:function(){return this._audioElement&&this._audioElement.play&&this._audioElement.canPlayType&&this._audioElement.canPlayType(this._audioMimeType); 122},_shouldPlaySound:function(){return this._audioUrl!=""&&this._audioUrl.toString().toLowerCase()!="none"; 123},_onSoundPlay:function(){this._canPlaySound=true; 124$telerik.offEvent(this._audioElement,"play",this._soundPlayDelegate); 125},_renderAudioElement:function(){this._createAudioElement(); 126if(!this._supportsAudio()||!this._audioElement){this._createObjectElement(); 127}if(this._audioElement){this._getDefaultParent().appendChild(this._audioElement); 128}},_close:function(d){this._hide(true); 129return $telerik.cancelRawEvent(d); 130},_onMenuIconClick:function(d){if(this.get_titleMenu()){this.get_titleMenu().show(d); 131}return $telerik.cancelRawEvent(d); 132},_onMouseEnter:function(d){var g=$telerik.isMouseOverElementEx(this.get_popupElement(),d); 133if(g){this._cancelAutoClose=true; 134this.cancelAutoCloseDelay(); 135var f=this.get_popupElement(); 136if(this.get_animation()!=b.NotificationAnimation.None&&a){a(f).stop(true,true); 137}this._stopTimer("_showTimer"); 138f.style.position=this.get_pinned()?"fixed":"absolute"; 139$telerik.setVisible(f,true); 140}},_onMouseLeave:function(d){var f=$telerik.isMouseOverElementEx(this.get_popupElement(),d); 141if(!f){this._cancelAutoClose=false; 142this._resetAutoCloseDelay(); 143}},_onResponseEnding:function(e,d){this.raiseEvent("updating",d); 144},_onResponseEnded:function(g,d){var f=$get(this.get_id()+"_hiddenState"); 145if(f&&f.value&&g._isCallbackPanel){this.set_value(f.value); 146}var e=this.get_contentElement(); 147if(g._getWebServiceLoader()&&!g._isCallbackPanel&&e){e.innerHTML=d.get_content(); 148}this.raiseEvent("updated",d); 149this.setSize(this.get_width(),this.get_height()); 150this._setOverflow(); 151if(this.isVisible()){this._popupBehavior.pin(false); 152this._show(); 153this._popupBehavior.pin(this.get_pinned()); 154}},_onResponseError:function(e,d){this.raiseEvent("updateError",d); 155},show:function(){if(!this.get_enabled()){return; 156}if(this.isVisible()){if(this.get_animation()!=b.NotificationAnimation.None&&a){a(this.get_popupElement()).stop(true,true); 157}}this.setSize(this.get_width(),this.get_height()); 158this._setOverflow(); 159var d=new Sys.CancelEventArgs(); 160this.raiseEvent("showing",d); 161if(d.get_cancel()){return; 162}if(!this._popupBehavior){this._popupBehavior=$create(Telerik.Web.PopupBehavior,{id:(new Date()-100)+"PopupBehavior",parentElement:null,overlay:this._overlay,keepInScreenBounds:false}
162,null,null,this.get_popupElement()); 163}this._popupBehavior.pin(false); 164var e=this.get_loadContentOn(); 165if(e==b.NotificationLoad.EveryShow||(e==b.NotificationLoad.FirstShow&&this._firstShow)){this.update(); 166}this._firstShow=false; 167if(this.get_animation()==b.NotificationAnimation.None){this._show(); 168this._afterShow(); 169}else{this._playAnimation(); 170}},update:function(){if(!this.get_enabled()){return; 171}this._xmlPanel.set_value(this.get_value()); 172},_show:function(){var d=this.getBounds(); 173this._setPopupVisible(d.x,d.y); 174this.playSound(); 175var e=this.get_contentElement(); 176if(e){$telerik.repaintChildren(e); 177}},playSound:function(){var d=this._audioElement; 178if(this._shouldPlaySound()&&d){if(d.tagName.toLowerCase()=="embed"){setTimeout(function(){if(typeof(d.Play)!="undefined"){d.Play(); 179}},10); 180}else{d.play(); 181}}},userInitSound:function(){var d=this._audioElement; 182if(!this._shouldPlaySound()||!d){return; 183}d.play(); 184d.pause(); 185},verifySound:function(){return this._shouldPlaySound()&&this._canPlaySound; 186},moveTo:function(d,e){this._setPopupVisible(d,e); 187},_afterShow:function(){var e=this.get_width(); 188var d=this.get_height(); 189if((e.toString().indexOf("%")>-1)||(d.toString().indexOf("%")>-1)){this.setSize(e,d); 190}this._show(); 191this._popupBehavior.pin(this.get_pinned()); 192this._updateOpacity(); 193this._setOverflow(); 194this.raiseEvent("shown"); 195if(this.get_enableAriaSupport()){this.get_popupElement().setAttribute("aria-hidden","false"); 196}if(!this._cancelAutoClose){this._resetAutoCloseDelay(); 197}},_playAnimation:function(){var l=this.get_pinned(); 198this._popupBehavior.pin(l); 199var g=this.getBounds(); 200if(!l&&($telerik.isMobileSafari||$telerik.isSafari||$telerik.isChrome)){var i=window.pageYOffset; 201var h=window.pageXOffset; 202if(document.documentElement.scrollTop==0&&document.body.scrollTop>0){g.y+=i; 203}if(document.documentElement.scrollLeft==0&&document.body.scrollLeft>0){g.x+=h; 204}}var j=Function.createDelegate(this,function(){this._popupBehavior.pin(false); 205this._show(); 206this._afterShow(); 207}); 208var d=this.get_popupElement(); 209var m=this.get_position(); 210var f=this.get_animation(); 211if(this._verticalPosition!=2){var p=(this._verticalPosition==1?3:1); 212m=parseInt(p+""+this._horizontalPosition,10); 213}var n=f==b.NotificationAnimation.Resize; 214var o=$telerik.getBounds(document.documentElement); 215if(n){o.width=0; 216o.height=0; 217o.x=g.x; 218o.y=g.y; 219}else{o.width=g.width; 220o.height=g.height; 221}var e=this.get_animationDuration(); 222var k=this.get_opacity()/100; 223window.setTimeout(function(){b.Animations.playJQueryAnimation(d,f,o,g,m,null,j,e,k); 224},0); 225},hide:function(){if(!this.isVisible()){return; 226}this._hide(); 227},_hide:function(g){var h=this.get_popupElement(); 228var d=this.get_animation()!=b.NotificationAnimation.None; 229if(d&&a){a(h).stop(true,true); 230}var e=new Sys.CancelEventArgs(); 231e._manualClose=g?g:false; 232e.get_manualClose=function(){return this._manualClose; 233}; 234this.raiseEvent("hiding",e); 235if(e.get_cancel()){return; 236}if(d&&!g&&a){var f=Function.createDelegate(this,this._afterHide); 237a(h).fadeOut(this.get_animationDuration(),f); 238}else{this._afterHide(); 239}},_afterHide:function(){if(this.get_titleMenu()){this.get_titleMenu().hide(); 240}this._popupBehavior.hide(); 241this._popupBehavior.pin(false); 242this.cancelAutoCloseDelay(); 243if(this.get_keepOnMouseOver()){this._resetTimer("_showTimer",this.show,this.get_showInterval()); 244}this.raiseEvent("hidden"); 245if(this.get_enableAriaSupport()&&!this.isVisible()){this.get_popupElement().setAttribute("aria-hidden","true"); 246}},_setPopupVisible:function(f,g){if($telerik.isMobileSafari||$telerik.isSafari||$telerik.isChrome){var e=window.pageYOffset; 247var d=window.pageXOffset; 248if(document.documentElement.scrollTop==0&&document.body.scrollTop>0){g+=e; 249}if(document.documentElement.scrollLeft==0&&document.body.scrollLeft>0){f+=d; 250}}this._popupBehavior.set_x(f); 251this._popupBehavior.set_y(g); 252this._popupBehavior.show(); 253if(!this.get_width()){this.get_popupElement().style.width=""; 254}},_addToDocument:function(){var e=this.get_popupElement(); 255var d=this._getDefaultParent(); 256d.appendChild(e); 257if($telerik.isRightToLeft(d)){Sys.UI.DomElement.addCssClass(e,"rnRtl"); 258}},_getDefaultParent:function(){var d=this.get_formID(); 259var e=d?document.getElementById(d):null; 260if(!e){if(document.forms&&document.forms.length>0){e=document.forms[0]; 261}else{e=document.body; 262}}return e; 263},getBounds:function(){var g=this.get_popupElement(); 264var h=(g.style.display=="none")?true:false; 265if(h){g.style.visibility="hidden"; 266}g.style.display=""; 267var e=document.documentElement; 268this._popupBehavior.set_parentElement(e); 269var f=$telerik.getBounds(g); 270var d=this._getBoundsRelativeToBrowser(f); 271if(h){g.style.display="none"; 272g.style.visibility=""; 273}return d; 274},_getBoundsRelativeToBrowser:function(e){var d=this._horizontalPosition; 275var i=this._verticalPosition; 276var j=0; 277var k=0; 278var f=$telerik.getClientBounds(); 279var h=document.compatMode&&document.compatMode!="BackCompat"&&!c.edge; 280var g=$telerik.getScrollOffset(h?document.documentElement:document.body); 281if("fixed"!=this.get_popupElement().style.position){j+=g.x; 282k+=g.y; 283}switch(d){case 2:j+=-parseInt(e.width/2-f.width/2,10); 284break; 285case 1:break; 286case 3:default:j+=f.width; 287j-=e.width; 288break; 289}switch(i){case 2:k+=-parseInt((e.height-f.height)/2,10); 290break; 291case 1:break; 292case 3:default:k+=f.height; 293k-=e.height; 294break; 295}j+=this.get_offsetX(); 296k+=this.get_offsetY(); 297return new Telerik.Web.UI.Bounds(j,k,e.width,e.height); 298},get_popupElement:function(){return this._popupElement; 299},get_contentElement:function(){return $get(this.get_id()+"_C"); 300},get_position:function(){return this._position; 301},set_position:function(e){if(this._position!=e){this._position=e; 302}var d=this.get_position(); 303this._horizontalPosition=this._getSide(d,true); 304this._verticalPosition=this._getSide(d,false); 305},get_visibleTitlebar:function(){return this._visibleTitlebar; 306},set_visibleTitlebar:function(d){if(d!=this.get_visibleTitlebar()){this._visibleTitlebar=d; 307this._titlebar.style.display=d?"":"none"; 308if(this.get_enableAriaSupport()){this._titlebar.setAttribute("aria-hidden",!d); 309}this.set_height(this.get_height()); 310var e=this.get_popupElement(); 311if(d){Sys.UI.DomElement.removeCssClass(e,"rnNoTitleBar"); 312}else{Sys.UI.DomElement.addCssClass(e,"rnNoTitleBar"); 313}}},get_width:function(){return this._width; 314},set_width:function(g){var f=this.get_popupElement(); 315var e=parseInt(g,10); 316if(isNaN(e)||e<=0){return; 317}if(g.toString().indexOf("%")>-1){this._width=g;
318f.style.width=g; 319e=f.offsetWidth; 320}else{this._width=e; 321f.style.width=e+"px"; 322}var d=this.get_contentElement(); 323if(!d){return; 324}e-=$telerik.getPaddingBox(d).horizontal; 325d.style.width=(isNaN(e)||e<=0)?"":e+"px"; 326},get_height:function(){return this._height; 327},set_height:function(h){var f=this.get_popupElement(); 328var e=parseInt(h,10); 329if(isNaN(e)||e<=0){return; 330}if(h.toString().indexOf("%")>-1){this._height=h; 331f.style.height=h; 332e=f.offsetHeight; 333}else{this._height=e; 334f.style.height=e+"px"; 335}var d=this.get_contentElement(); 336if(!d){return; 337}e-=$telerik.getPaddingBox(d).vertical+$telerik.getBorderBox(f).vertical; 338var g=a(this._titlebar).height(); 339if(this.get_visibleTitlebar()&&this._titlebar&&!isNaN(e)&&e>g){e-=(g!=0?g+2:parseInt($telerik.getCurrentStyle(this._titlebar,"height"),10)); 340}d.style.height=(isNaN(e)||e<=0)?"":e+"px"; 341},get_showInterval:function(){return this._showInterval; 342},set_showInterval:function(d){if(d!=this.get_showInterval()&&!isNaN(parseInt(d,10))){this._showInterval=d; 343this._resetTimer("_showTimer",this.show,d); 344}},get_updateInterval:function(){return this._updateInterval; 345},set_updateInterval:function(d){if(d!=this.get_updateInterval()&&this.get_loadContentOn()==b.NotificationLoad.TimeInterval&&!isNaN(parseInt(d,10))){this._updateInterval=d; 346this._resetTimer("_updateTimer",this.update,this.get_updateInterval()); 347}},get_loadContentOn:function(){return this._loadContentOn; 348},set_loadContentOn:function(d){if(d!=this.get_loadContentOn()){if(this.get_loadContentOn()==b.NotificationLoad.TimeInterval){this._stopTimer("_updateTimer"); 349}this._loadContentOn=d; 350}},_stopTimer:function(d){if(this[d]){clearInterval(this[d]); 351this[d]=null; 352}},_resetTimer:function(f,d,e){this._stopTimer(f); 353if(e!=0){this[f]=setInterval(Function.createDelegate(this,d),e); 354}},get_keepOnMouseOver:function(){return this._keepOnMouseOver; 355},set_keepOnMouseOver:function(d){if(d!=this.get_keepOnMouseOver()){this._keepOnMouseOver=d; 356this._registerMouseKeepHandlers(d); 357}},get_enabled:function(){return this._enabled; 358},set_enabled:function(d){if(d!=this.get_enabled()){this._enabled=d; 359if(!d){this._stopTimer("_showTimer"); 360this._stopTimer("_updateTimer"); 361}else{this._resetTimer("_showTimer",this.show,this.get_showInterval()); 362this._resetTimer("_updateTimer",this.update,this.get_updateInterval()); 363}}},get_opacity:function(){return this._opacity; 364},set_opacity:function(d){if(this.get_opacity()!=d){this._opacity=d>100?100:d; 365this._opacity=d<0?0:d; 366this._updateOpacity(); 367}},_updateOpacity:function(){var e=this.get_popupElement(); 368var d=this.get_opacity(); 369if(d<100){var f=e.style; 370f.filter="alpha(opacity="+d+")"; 371f.opacity=(d/100); 372}else{if($telerik.isIE){e.style.removeAttribute("filter"); 373e.style.removeAttribute("opacity"); 374}else{e.style.filter=""; 375e.style.opacity=""; 376}}},get_title:function(){return this._title; 377},set_title:function(e){if(this._title!=e){this._title=e; 378var d=$telerik.getChildByClassName(this._titlebar,"rnTitleBarTitle",1); 379if(d){d.innerHTML=e; 380}}},get_text:function(){return this._text; 381},set_text:function(e){var d=$get(this.get_id()+"_simpleContentDiv"); 382if(this.get_text()!=e&&d){this._text=e; 383d.innerHTML=e; 384}},_getSide:function(f,e){var d=e?1:0; 385return parseInt((f+"").charAt(d),10); 386},_setOverflow:function(){var f=this.get_contentScrolling(); 387if(f==b.NotificationScrolling.Default){return; 388}var d=this.get_contentElement(); 389if(!d){return; 390}var g=""; 391var e=true; 392var h=b.NotificationScrolling; 393switch(f){case h.Auto:g="auto"; 394break; 395case h.None:g="hidden"; 396e=false; 397break; 398case h.X:g=""; 399d.style.overflowX="scroll"; 400d.style.overflowY="hidden"; 401break; 402case h.Y:g=""; 403d.style.overflowY="scroll"; 404d.style.overflowX="hidden"; 405break; 406case h.Both:g="scroll"; 407}if(g!=""){d.style.overflow=g; 408}if(e&&b.TouchScrollExtender._getNeedsScrollExtender()&&!this._popupTouchScroll){this._createTouchScrollExtender(true); 409}},_createTouchScrollExtender:function(f){var d=this.get_contentElement(); 410if(d){var e=this._popupTouchScroll; 411if(e){if(!f){e.dispose(); 412this._popupTouchScroll=null; 413}}else{if(f){this._popupTouchScroll=new b.TouchScrollExtender(d); 414this._popupTouchScroll.initialize(); 415}}}},_setDocumentOverflow:function(d){if(d){this._documentOverflowX=document.documentElement.style.overflowX; 416this._scrollY=document.documentElement.scrollTop; 417document.documentElement.style.overflowX="hidden"; 418}else{if(null!=this._documentOverflowX){document.documentElement.style.overflowX=this._documentOverflowX; 419this._documentOverflowX=null; 420if(this._scrollY){document.documentElement.scrollTop=this._scrollY; 421}this._scrollY=null; 422}}},_applyAriaSupport:function(){var d=this.get_popupElement(); 423d.setAttribute("role","alert"); 424d.setAttribute("aria-live","polite"); 425d.setAttribute("aria-atomic","true"); 426d.setAttribute("aria-hidden","true"); 427d.setAttribute("aria-relevant","additions text"); 428if(!this.get_visibleTitlebar()){this._titlebar.setAttribute("aria-hidden","true"); 429}else{this._titlebar.setAttribute("role","toolbar"); 430if(this._closeIcon){this._closeIcon.removeAttribute("href"); 431this._closeIcon.setAttribute("role","button"); 432}if(this._menuIcon){this._menuIcon.removeAttribute("href"); 433this._menuIcon.setAttribute("role","button"); 434}var e=$telerik.getChildByClassName(this._titlebar,"rnTitleBarTitle",1); 435if(e){e.setAttribute("id",this.get_id()+"_title"); 436d.setAttribute("aria-labelledby",e.id); 437}var f=$telerik.getChildByClassName(this._titlebar," rnCommands",1); 438if(f){f.setAttribute("role","presentation"); 439}}if(this._xmlPanel){d.setAttribute("aria-describedby",this._xmlPanel.get_id()); 440}},isVisible:function(){var d=this.get_popupElement(); 441return(d&&d.style.display!="none"); 442},setSize:function(e,d){this.set_width(e); 443this.set_height(d); 444},_resetAutoCloseDelay:function(){this.cancelAutoCloseDelay(); 445if(this.get_autoCloseDelay()!=0){this._autoCloseRef=window.setTimeout(Function.createDelegate(this,function(){this.hide(); 446}),this.get_autoCloseDelay()); 447}},cancelAutoCloseDelay:function(){if(this._autoCloseRef){window.clearTimeout(this._autoCloseRef); 448this._autoCloseRef=0; 449}},get_titleMenu:function(){return this._titleMenu; 450},get_zIndex:function(){return this._zIndex; 451},get_rippleZonesConfiguration:function(){return[{element:this._titlebar,initializeRipples:true,rippleConfigurations:[{containerSelector:".rnCloseIcon > a",rippleType:b.MaterialRippleType.Icon,iconRippleSizeFactor:0.54}]}]; 452},set_zIndex:function(e){var f=parseInt(e,10); 453if(isNaN(f)){return; 454}if(this._zIndex!=e){this._zIndex=f; 455this.get_popupElement().style.zIndex=f; 456var d=this.get_titleMenu(); 457if(d){d._getContextMenuElement().style.zIndex=d._originalZIndex=d._defaultZIndex=f+100; 458}}}}; 459a.registerControlProperties(b.RadNotification,{animation:b.NotificationAnimation.None,animationDuration:500,formID:null,offsetX:0,offsetY:0,pinned:true,overlay:false,contentScrolling:b.NotificationScrolling.Default,value:"",autoCloseDelay:3000,visibleOnPageLoad:false,showCloseButton:true,showTitleMenu:false,enableAriaSupport:false}); 460a.registerControlEvents(b.RadNotification,["hidden","hiding","shown","showing","updated","updateError","updating"]); 461Telerik.Web.UI.RadNotification.registerClass("Telerik.Web.UI.RadNotification",b.RadWebControl); 462})($telerik.$,Telerik.Web.UI);
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.